/* ==========================================================================
   home-additions.css
   Styles for four homepage blocks:
     1. .la-bookbar   slim consultation bar, sits under the hero/trust strip
     2. .la-icoone    ICOONE flagship feature band
     3. .la-why       combined physician-led + differentiator strip
     4. .la-closing   final CTA band above the footer

   HOW COLORS WORK HERE
   Every color is written as var(--token, #fallback). design-system.css defines
   all of these tokens, so the real brand palette wins; the fallbacks are just
   belt-and-braces if this file is ever loaded on its own.

   All class names are prefixed .la- so nothing here can collide with existing
   site CSS.
   ========================================================================== */


/* --------------------------------------------------------------------------
   Shared bits
   -------------------------------------------------------------------------- */

/* Standard page gutter + max width, matching the rest of the site. */
.la-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Small uppercase label that sits above a heading. */
.la-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* The short gold rule that precedes eyebrow text. */
.la-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

/* Primary button. Uses the same brushed-gold pill as every other CTA on the
   site (hero, nav, footer) rather than a flat gold rectangle, so these four
   blocks don't read as bolted on. The gradient + pill + shadow trio is the
   site's standard button recipe — see the inline styles in index.html. */
.la-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  color: var(--text-on-gold, #252019);
  background-image: var(--gold-sheen), var(--gold-metal);
  background-repeat: no-repeat;
  background-size: 100% 240%, 100% 100%;
  background-position: 0% var(--lit, 50%), 0 0;
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill, 999px);
  box-shadow: var(--shadow-metal);
  transition: background-position 160ms ease;
}

/* Outlined button, for the secondary action beside .la-btn. */
.la-btn--ghost {
  background-image: none;
  background-color: transparent;
  border: 1px solid currentColor;
  color: inherit;
  box-shadow: none;
}

.la-btn--ghost:hover,
.la-btn--ghost:focus-visible {
  background-color: rgba(var(--glow-rgb), 0.14);
}

/* Visible keyboard focus on every interactive element in these blocks. */
.la-bookbar a:focus-visible,
.la-icoone a:focus-visible,
.la-why a:focus-visible,
.la-closing a:focus-visible {
  outline: 2px solid var(--gold-leaf, #C9A24B);
  outline-offset: 3px;
}


/* --------------------------------------------------------------------------
   1. Consultation bar
   A slim band, not a section. It should read as a ribbon under the hero,
   never as a competing block of content.
   -------------------------------------------------------------------------- */

.la-bookbar {
  background: var(--champagne, #E4D3C8);
  border-top: 1px solid rgba(var(--ink-rgb), 0.10);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.10);
}

.la-bookbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

.la-bookbar__text {
  margin: 0;
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--espresso, #252019);
}

.la-bookbar__text strong {
  font-weight: 600;
}

/* The credited-consultation note, quieter than the main line. */
.la-bookbar__note {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--taupe, #6B6155);
}

.la-bookbar__actions {
  display: flex;
  align-items: center;
  gap: 10px 20px;
  flex-wrap: wrap;
}

/* Plain-text phone link sitting beside the button. */
.la-bookbar__tel {
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--espresso, #252019);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.35);
}

.la-bookbar__tel:hover,
.la-bookbar__tel:focus-visible {
  border-bottom-color: var(--gold-antique, #A17C3A);
}


/* --------------------------------------------------------------------------
   2. ICOONE feature band
   Dark, so it separates cleanly from the cream sections above and below and
   reads as the one flagship moment on the page.
   -------------------------------------------------------------------------- */

.la-icoone {
  position: relative;
  overflow: hidden;
  background: var(--bg-band-dark, #252019);
  color: var(--text-band-body, #D8CFC0);
}

/* Soft gold wash in the upper right, echoing the hero treatment. */
.la-icoone::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    70% 90% at 85% 10%,
    rgba(var(--glow-rgb), 0.22),
    rgba(var(--glow-rgb), 0) 58%
  );
  pointer-events: none;
}

.la-icoone__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  /* stretch, not center: this is what lets the photo mosaic grow to the full
     height of the copy column beside it instead of floating as a short strip. */
  align-items: stretch;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.la-icoone .la-eyebrow {
  color: var(--accent-band, #C9A24B);
}

.la-icoone__title {
  margin: 0 0 20px;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  color: var(--text-band-title, #F3EEE5);
}

.la-icoone__body {
  margin: 0 0 16px;
  max-width: 46ch;
  font-size: var(--fs-body, 16px);
  line-height: 1.65;
  color: var(--text-band-muted, #C9C0B2);
}

/* Short spec line: FDA-cleared, non-invasive, no downtime. */
.la-icoone__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.la-icoone__specs li {
  padding: 5px 12px;
  border: 1px solid rgba(var(--glow-rgb), 0.35);
  border-radius: var(--radius-sm, 2px);
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-band, #C9A24B);
}

.la-icoone__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

/* Three treatment photos as a mosaic: one wide anchor across the top, two
   beneath it. Together they are TALLER than the copy beside them, so with the
   align-items:stretch above it is the photos that set the height of the band —
   which is the point. They are big because they define the band, not because
   they were given a bigger fixed size.

   The shapes are pinned with aspect-ratio rather than left to fr rows. Earlier
   this used fr rows with no ratios, and the row heights silently resolved from
   each <img>'s width/height ATTRIBUTES — so correcting one attribute reshaped
   the whole mosaic and re-cropped the photos. Ratios here mean the framing is
   decided in CSS and cannot drift. */
.la-icoone__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

/* The anchor, spanning both columns. DOM order decides which photo lands here —
   first one wins. 3:2 is the native ratio of the ICOONE shoot, so the widest
   photo in the set is shown uncropped. */
.la-icoone__gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
}

.la-icoone__gallery img:nth-child(n + 2) {
  aspect-ratio: 1 / 1;
}

.la-icoone__gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm, 2px);
}


/* --------------------------------------------------------------------------
   3. Why L'Ateleir
   Physician oversight and the three reasons-to-choose, combined into one
   light section so the page doesn't gain two separate credibility blocks.
   -------------------------------------------------------------------------- */

.la-why {
  background: var(--porcelain, #F7F4EF);
}

.la-why__inner {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.la-why .la-eyebrow {
  color: var(--gold-deep, #7A5C3E);
}

.la-why__title {
  margin: 0 0 20px;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  color: var(--espresso, #252019);
}

/* The physician-oversight statement. Deliberately set larger than the
   three points below it, because it is the load-bearing claim. */
.la-why__lead {
  margin: 0 0 40px;
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  color: var(--taupe, #6B6155);
}

.la-why__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 40px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.la-why__points li {
  border-top: 1px solid rgba(var(--ink-rgb), 0.14);
  padding-top: 16px;
}

.la-why__points h3 {
  margin: 0 0 8px;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--espresso, #252019);
}

.la-why__points p {
  margin: 0;
  font-size: var(--fs-body, 16px);
  line-height: 1.6;
  color: var(--taupe, #6B6155);
}

/* Provider byline: small headshot, name, credentials, link to About. */
.la-why__provider {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(var(--ink-rgb), 0.14);
  padding-top: 24px;
}

.la-why__provider img {
  flex: none;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

.la-why__provider p {
  margin: 0;
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--taupe, #6B6155);
}

.la-why__provider strong {
  display: block;
  font-weight: 600;
  color: var(--espresso, #252019);
}

.la-why__provider a {
  margin-left: auto;
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep, #7A5C3E);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}


/* --------------------------------------------------------------------------
   4. Closing CTA
   Last thing before the footer. One sentence, two buttons, nothing else.
   -------------------------------------------------------------------------- */

.la-closing {
  background: var(--bg-band-dark, #252019);
  border-top: 1px solid rgba(var(--glow-rgb), 0.28);
  color: var(--text-band-body, #D8CFC0);
  text-align: center;
}

.la-closing__inner {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.la-closing__title {
  margin: 0 0 14px;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: var(--text-band-title, #F3EEE5);
}

.la-closing__body {
  margin: 0 auto 28px;
  max-width: 48ch;
  font-size: var(--fs-body, 16px);
  line-height: 1.65;
  color: var(--text-band-muted, #C9C0B2);
}

.la-closing__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  /* ICOONE band stacks: copy first, photo mosaic beneath. */
  .la-icoone__inner {
    grid-template-columns: 1fr;
  }

  /* Full width once stacked, so the anchor can go cinematic without becoming
     absurdly tall. The pair stay square. */
  .la-icoone__gallery img:first-child {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .la-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Book bar goes left-aligned and stacked rather than squeezed. */
  .la-bookbar__inner {
    justify-content: flex-start;
  }

  /* Full-width buttons are easier to hit on a phone. */
  .la-bookbar__actions .la-btn,
  .la-closing__actions .la-btn {
    width: 100%;
  }

  /* Push the About link onto its own line instead of the far right. */
  .la-why__provider a {
    margin-left: 0;
  }
}


/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .la-btn {
    transition: none;
  }
}
