/* Service detail pages: shared GHK-Cu layout with neutral facts and a service menu (owner approval October 20, 2026). */
/* Search measures the internal header into --search-header-height, so anchors clear it when enlarged text makes it taller. */
.service-detail-page .ghk-cu-potential [id] {
  scroll-margin-top: calc(var(--search-header-height, var(--internal-header-height, 78px)) + 1rem);
}

/* Enlarged text: long hero words and closing headings wrap instead of being clipped. */
.service-detail-page .ghk-cu-hero h1 span {
  hyphens: auto;
  overflow-wrap: break-word;
  white-space: normal;
}

.service-detail-page .ghk-cu-closing-panel > div {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}

.service-detail-page .ghk-cu-closing h2 {
  hyphens: auto;
}

.service-detail-page .ghk-cu-potential-grid + .ghk-cu-potential-grid {
  margin-top: 1.1rem;
}

.service-detail-page .ghk-cu-potential-grid > li {
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.15rem 1.2rem;
}

.service-detail-page .ghk-cu-potential-grid h3 {
  font-size: clamp(1.32rem, 1.7vw, 1.5rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.service-detail-page .ghk-cu-potential-grid p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.service-detail-page .ghk-cu-potential-grid .svc-menu-route {
  color: var(--champagne-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-detail-page .ghk-cu-potential-grid .svc-menu-price {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1;
}

.service-detail-page .svc-menu-price strong {
  font-weight: inherit;
}

/* Serif figures read unevenly with tabular spacing (e.g. "15–60 minutes"). */
.service-detail-page .ghk-cu-facts dd {
  font-variant-numeric: normal;
}

/* The two fact cells stack when the column is too narrow for them (enlarged text). */
.service-detail-page .ghk-cu-guidance-column--experience {
  container-type: inline-size;
}

@container (max-width: 17rem) {
  .service-detail-page .ghk-cu-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-detail-page .ghk-cu-facts div + div {
    border-left: 0;
    border-top: 1px solid rgba(159, 126, 63, 0.22);
    margin-top: 0.6rem;
    padding-left: 0;
  }
}

.service-detail-page .ghk-cu-potential-grid .svc-menu-row {
  border-top: 1px solid rgba(159, 126, 63, 0.2);
  padding-top: 0.6rem;
  width: 100%;
}

.service-detail-page .svc-menu-row strong {
  color: var(--charcoal);
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.service-detail-page .ghk-cu-guidance-list li {
  align-items: start;
  padding-block: 0.8rem;
}

.service-detail-page .ghk-cu-guidance-list h3 {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.service-detail-page .ghk-cu-guidance-list p {
  font-size: 0.86rem;
  line-height: 1.58;
  margin: 0.2rem 0 0;
}

.service-detail-page .ghk-cu-closing-panel p:not(.ghk-cu-section-label) {
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 34rem;
}

.service-detail-page .svc-actions {
  display: flex;
  margin-top: 1.2rem;
}

/* Menu cards with their own action (shots): the action sits at the bottom of every card in a row. */
.service-detail-page .ghk-cu-potential-grid > li > .svc-actions {
  margin-top: auto;
  padding-top: 0.75rem;
}

.service-detail-page .svc-actions .button {
  gap: 0.8rem;
  max-width: 100%;
  min-height: 46px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding-inline: 1.35rem;
  text-align: center;
  white-space: normal;
  width: fit-content;
}

.service-detail-page :is(.ghk-cu-section-copy, .ghk-cu-guidance-column, .ghk-cu-faq-list, .ghk-cu-potential-grid, .svc-concierge-copy) a:not(.button) {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(159, 126, 63, 0.46);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.service-detail-page a[href^="tel:"] {
  white-space: nowrap;
}

.service-detail-page :is(.ghk-cu-section-copy, .ghk-cu-guidance-column, .ghk-cu-faq-list, .ghk-cu-potential-grid, .svc-concierge-copy) a:not(.button):is(:hover, :focus-visible) {
  color: var(--champagne-dark);
  text-decoration-color: currentColor;
}

@media (min-width: 901px) {
  .service-detail-page .svc-menu-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .service-detail-page .svc-actions .button {
    justify-content: center;
    min-height: 48px;
    width: 100%;
  }

  /* Same spacing at default text size; capped so enlarged text keeps room for CTA words. */
  .service-detail-page .ghk-cu-closing-panel {
    padding: min(1.55rem, 24.8px);
  }

  .service-detail-page :is(.ghk-cu-hero-actions, .svc-actions, .ghk-cu-closing) .button {
    gap: min(0.8rem, 12.8px);
    padding-inline: min(1.35rem, 21.6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-detail-page :is(.ghk-cu-section-copy, .ghk-cu-guidance-column, .ghk-cu-faq-list, .ghk-cu-potential-grid, .svc-concierge-copy) a:not(.button) {
    transition: none;
  }
}

/* Art-directed photos: <picture> fills its frame like a bare <img>. */
.service-detail-page :is(.ghk-cu-hero-visual, .svc-photo-band-frame) picture {
  display: block;
  height: 100%;
}

/* Every service hero ships a dedicated 4:3 crop (<picture>) for wherever the hero turns landscape. */
@media (max-width: 900px) {
  .service-detail-page .ghk-cu-hero-visual {
    aspect-ratio: 4 / 3;
  }

  .service-detail-page .ghk-cu-hero-visual img {
    object-position: center;
  }
}

/* IV Concierge: copy and Book beside an at-home photo; the photo leads on phones. */
.service-detail-page .svc-concierge-panel {
  display: grid;
  gap: clamp(1.5rem, 3.4vw, 2.75rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.service-detail-page .svc-concierge-visual {
  box-shadow: 0 12px 30px rgba(73, 54, 22, 0.08);
}

@media (max-width: 759px) {
  .service-detail-page .svc-concierge-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-detail-page .svc-concierge-visual {
    order: -1;
  }
}

/* Decorative photo band (Botox): mirrors the education frame, wide on desktop and 3:2 on phones. */
.service-detail-page .svc-photo-band {
  padding-top: clamp(2.8rem, 4vw, 3.8rem);
}

.service-detail-page .svc-photo-band-frame {
  aspect-ratio: 21 / 9;
  border: 1px solid rgba(159, 126, 63, 0.25);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(73, 54, 22, 0.08);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.service-detail-page .svc-photo-band-frame::after {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: inherit;
  content: "";
  inset: 5px;
  pointer-events: none;
  position: absolute;
}

.service-detail-page .svc-photo-band-frame img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 759px) {
  .service-detail-page .svc-photo-band-frame {
    aspect-ratio: 3 / 2;
  }
}
