/* Dental Solutions. Edit content in content/*.json; this file is presentation only.
   Palette: midnight navy (the colour of Dr. Gaba's scrubs), champagne gold, pearl white.
   Type: Fraunces for headings, Manrope for reading. */
@layer reset, base, components, sections, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
  body { margin: 0; }
  h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, address, table, caption { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, svg, iframe { display: block; max-width: 100%; }
  img { height: auto; }
  address { font-style: normal; }
  button, input, select, textarea { font: inherit; color: inherit; }
  table { border-collapse: collapse; }
  th { text-align: left; font-weight: inherit; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
  }
}

@layer base {
  :root {
    --white: #FFFFFF;
    --pearl: #FAF8F4;          /* page */
    --ivory: #F3EEE4;          /* alternate sections */
    --ivory-2: #E9E1D1;
    --ink: #13213A;            /* body text */
    --navy: #14294A;           /* brand */
    --navy-2: #0F1F38;         /* dark sections */
    --navy-3: #0A1528;         /* footer */
    --muted: #55607A;
    --line: #E4DCCD;
    --gold: #C6A15B;           /* decoration, fills on navy */
    --gold-light: #E3CB97;
    --gold-ink: #77561F;       /* gold text on light backgrounds */
    --link: #1C3C6B;
    --danger: #A12F1B;
    --focus: var(--navy);

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Manrope", "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;

    --step--1: clamp(0.86rem, 0.84rem + 0.1vw, 0.92rem);
    --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
    --step-1: clamp(1.15rem, 1.07rem + 0.4vw, 1.38rem);
    --step-2: clamp(1.4rem, 1.22rem + 0.85vw, 1.9rem);
    --step-3: clamp(1.85rem, 1.45rem + 1.9vw, 2.8rem);
    --step-4: clamp(2.3rem, 1.5rem + 3.3vw, 3.85rem);

    --space-section: clamp(4rem, 2.8rem + 4.8vw, 7rem);
    --curve: clamp(1.5rem, 4.5vw, 4rem);
    --radius-s: 10px;
    --radius-m: 18px;
    --radius-l: 28px;
    --shadow-1: 0 1px 2px rgb(19 33 58 / 0.05), 0 10px 24px -14px rgb(19 33 58 / 0.22);
    --shadow-2: 0 2px 6px rgb(19 33 58 / 0.06), 0 28px 56px -26px rgb(19 33 58 / 0.42);

    /* Fine gold line drawing of a tooth, used as a watermark on dark sections */
    --tooth-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23C6A15B' stroke-width='0.22'%3E%3Cpath d='M17 7c-5.5 0-9 4-9 10.5 0 5.5 2.5 8.5 3.5 13l2 9.5c.6 2.6 4.2 2.6 4.8 0l2-8.5c.6-2.4 4.8-2.4 5.4 0l2 8.5c.6 2.6 4.2 2.6 4.8 0l2-9.5c1-4.5 3.5-7.5 3.5-13C40 11 36.5 7 31 7c-3 0-4.8 1.8-7 1.8S20 7 17 7z'/%3E%3C/svg%3E");
  }

  html { scroll-padding-top: 1.5rem; }

  body {
    font-family: var(--sans);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--ink);
    background: var(--pearl);
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 560;
    font-variation-settings: "SOFT" 30;
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-wrap: balance;
    color: var(--navy);
  }
  h2 { font-size: var(--step-3); }
  h3 { font-size: var(--step-1); font-weight: 600; font-variation-settings: "SOFT" 30; line-height: 1.3; letter-spacing: 0; }
  p { text-wrap: pretty; }

  a { color: var(--link); text-decoration-thickness: 0.07em; text-underline-offset: 0.22em; }
  a:hover { text-decoration-thickness: 0.14em; }

  :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

  blockquote > p::before { content: "\201C"; }
  blockquote > p::after { content: "\201D"; }

  .wrap { width: min(100% - clamp(2.5rem, 8vw, 6rem), 74rem); margin-inline: auto; }
}

@layer components {
  .skip {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--navy); color: var(--white); padding: 0.7rem 1rem; border-radius: var(--radius-s);
  }
  .skip:focus { top: 1rem; }

  .icon, .mark, .ticon { flex: none; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
    min-height: 2.9rem; padding: 0.65em 1.35em;
    border: 1.5px solid transparent; border-radius: 999px;
    font-family: var(--sans); font-weight: 700; font-size: 0.95em; letter-spacing: 0.01em; line-height: 1.15;
    text-decoration: none; text-align: center; cursor: pointer;
    transition: background-color 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
  }
  .btn:active { transform: translateY(1px); }
  .btn-lg { min-height: 3.4rem; padding-inline: 1.7em; font-size: 1em; }
  .btn-block { width: 100%; }
  .btn-primary { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 12px 24px -14px rgb(20 41 74 / 0.9); }
  .btn-primary:hover { background: var(--navy-2); border-color: var(--gold); }
  .btn-ink { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .btn-ink:hover { background: var(--navy-2); border-color: var(--gold); }
  .btn-outline { border-color: rgb(20 41 74 / 0.3); color: var(--navy); background: rgb(255 255 255 / 0.7); }
  .btn-outline:hover { border-color: var(--gold); background: var(--white); }
  .section-dark .btn-primary, .book .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy-3); box-shadow: 0 12px 24px -14px rgb(198 161 91 / 0.8); }
  .section-dark .btn-primary:hover, .book .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

  .text-link { font-weight: 700; }

  /* Top line: live opening status */
  .topline { background: var(--navy-3); color: #D8DFEA; font-size: var(--step--1); --focus: var(--gold); }
  .topline-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; padding-block: 0.35rem; }
  .status { display: flex; align-items: center; gap: 0.55rem; line-height: 1.3; }
  .status-dot { flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #8E98AA; }
  .status[data-state="open"] .status-dot { background: #5BE3A5; box-shadow: 0 0 0 3px rgb(91 227 165 / 0.25); }
  .status[data-state="closed"] .status-dot { background: var(--gold); }
  .topline-call { display: none; align-items: center; gap: 0.4rem; color: var(--gold-light); font-weight: 700; text-decoration: none; white-space: nowrap; }
  .topline-call:hover { text-decoration: underline; }
  @media (min-width: 34rem) { .topline-call { display: inline-flex; } }

  /* Header */
  .site-header {
    position: relative; z-index: 20; padding-block: 0.95rem;
    background: rgb(255 255 255 / 0.94); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .header-row { position: relative; display: flex; align-items: center; gap: 1rem 1.75rem; }
  .brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-right: auto; color: var(--navy); text-decoration: none; line-height: 1; }
  .brand-name { display: flex; flex-direction: column; gap: 0.28rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; font-variation-settings: "SOFT" 30; }
  .brand-sub { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-ink); }
  .nav-list { display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; }
  .nav-list a {
    display: block; padding-block: 0.45rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
    border-bottom: 2px solid transparent;
  }
  .nav-list a:hover, .nav-list a[aria-current] { border-bottom-color: var(--gold); }
  .nav-toggle { display: none; }
  .nav-book { display: none; }

  @media (max-width: 59.99rem) {
    .js .nav-toggle {
      display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0 1.15rem;
      background: transparent; border: 1.5px solid rgb(20 41 74 / 0.3); border-radius: 999px;
      font-weight: 700; cursor: pointer; color: var(--navy);
    }
    .js .nav-list {
      display: none; position: absolute; z-index: 30; top: calc(100% + 0.95rem); left: 0; right: 0;
      flex-direction: column; gap: 0; padding: 0.5rem;
      background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-2); border-top: 3px solid var(--gold);
    }
    .js .nav.is-open .nav-list { display: flex; }
    .js .nav-list a { padding: 0.85rem 1rem; border-bottom: 0; border-radius: var(--radius-s); font-size: var(--step-1); }
    .js .nav-list a:hover, .js .nav-list a[aria-current] { background: var(--ivory); }
    html:not(.js) .header-row { flex-wrap: wrap; }
  }
  @media (max-width: 33.99rem) {
    .header-cta { display: none; }
    .nav-book { display: block; }
    .brand-name { font-size: 1.25rem; }
  }

  /* Masthead: pearl-to-ivory field with gold line-work and a smile-shaped lower edge */
  .masthead {
    position: relative; overflow: hidden;
    background:
      radial-gradient(48rem 26rem at 90% 10%, rgb(198 161 91 / 0.16), transparent 62%),
      radial-gradient(40rem 30rem at 0% 100%, rgb(20 41 74 / 0.06), transparent 60%),
      linear-gradient(180deg, #FFFFFF 0%, var(--ivory) 100%);
    border-radius: 0 0 50% 50% / 0 0 var(--curve) var(--curve);
  }
  .masthead::after { /* hairline gold edge following the curve */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    border-bottom: 1.5px solid rgb(198 161 91 / 0.55);
    border-radius: inherit;
  }

  /* Inner page intro */
  .page-intro { padding-block: clamp(1.5rem, 3vw, 2.75rem) calc(var(--curve) + clamp(2rem, 3.5vw, 3rem)); }
  .page-intro-grid { display: grid; gap: 2rem 3.5rem; align-items: center; }
  @media (min-width: 56rem) { .page-intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
  .page-intro h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 520; line-height: 1.05; letter-spacing: -0.015em; max-width: 18ch; }
  .page-icon {
    display: inline-grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 1.1rem;
    border-radius: 50%; background: var(--navy); color: var(--gold); box-shadow: 0 0 0 6px rgb(198 161 91 / 0.18);
  }
  .lead.page-lede { margin-top: 1.2rem; color: var(--ink); max-width: 56ch; }
  .page-intro-photo { position: relative; padding: 0 0 1rem 1rem; }
  .page-intro-photo::before { content: ""; position: absolute; inset: 1rem 1rem 0 0; border: 1.5px solid var(--gold); border-radius: var(--radius-l); }
  .page-intro-photo img {
    position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l);
    box-shadow: var(--shadow-2); background: var(--ivory);
  }
  .crumbs { margin-bottom: clamp(1.1rem, 2.5vw, 1.75rem); font-size: var(--step--1); }
  .crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
  .crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--gold-ink); }
  .crumbs a { color: var(--ink); }

  .lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 52ch; }

  /* Treatment cards */
  .tcards { display: grid; gap: 1.35rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr)); }
  .tcards > li { display: flex; }
  .tcard {
    position: relative; display: flex; flex-direction: column; width: 100%; padding: 2rem 1.75rem 1.6rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
    color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  }
  .tcard::after { /* gold rule that draws in on hover */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
  }
  .tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold-light); }
  .tcard:hover::after { transform: scaleX(1); }
  .tcard-icon {
    display: grid; place-items: center; width: 4.4rem; height: 4.4rem; margin-bottom: 1.35rem;
    border-radius: 50%; background: var(--navy); color: var(--gold); box-shadow: 0 0 0 6px var(--ivory);
  }
  .tcard-name { font-size: var(--step-1); }
  .tcard-text { margin-top: 0.5rem; color: var(--muted); line-height: 1.55; flex: 1; font-size: 0.97em; }
  .tcard-more { margin-top: 1.2rem; font-weight: 700; font-size: var(--step--1); letter-spacing: 0.02em; color: var(--gold-ink); text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.25em; }

  /* Patient quotes */
  .quote p { font-family: var(--serif); font-style: italic; font-weight: 380;  line-height: 1.55; }
  .quote footer { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; font-size: var(--step--1); font-weight: 700; color: var(--ink); }
  .avatar {
    display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
    background: var(--ivory); color: var(--gold-ink); border: 1px solid var(--gold-light); font-weight: 800; font-size: 0.9rem;
  }

  /* Numbered steps on treatment pages */
  .steps { counter-reset: step; }
  .steps li {
    counter-increment: step; position: relative;
    display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1rem; padding-bottom: 1.5rem;
  }
  .steps li::before {
    content: counter(step); grid-row: 1 / span 2;
    display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: var(--navy); color: var(--gold-light); font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
  }
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; left: 1.3rem; top: 2.8rem; bottom: 0.2rem; width: 1.5px; background: var(--gold-light);
  }
  .steps h3 { grid-column: 2; padding-top: 0.3rem; }
  .steps p { grid-column: 2; margin-top: 0.3rem; color: var(--muted); max-width: 58ch; }

  /* FAQ */
  .faq-list { display: grid; gap: 0.75rem; }
  .faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); }
  .faq[open] { box-shadow: var(--shadow-1); border-color: var(--gold-light); }
  .faq summary {
    position: relative; cursor: pointer; list-style: none;
    padding: 1.15rem 3.6rem 1.15rem 1.4rem;
    font-weight: 700; line-height: 1.4; color: var(--navy);
  }
  .faq summary::-webkit-details-marker { display: none; }
  /* The second content value gives the glyph an empty text alternative, so it is not read out with the question. */
  .faq summary::after {
    content: "+"; content: "+" / ""; position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%;
    display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
    border: 1px solid var(--gold); color: var(--gold-ink); font-size: 1.2rem; font-weight: 500; line-height: 1;
  }
  .faq[open] summary::after { content: "\2212"; content: "\2212" / ""; background: var(--navy); border-color: var(--navy); color: var(--gold-light); }
  .faq p { padding: 0 1.4rem 1.3rem; color: var(--muted); max-width: 64ch; }
  @media (min-width: 56rem) { .faq-columns { grid-template-columns: 1fr 1fr; align-items: start; } }

  /* Bulleted lists inside articles */
  .ticks li { position: relative; padding-left: 2rem; }
  .ticks li + li { margin-top: 0.7rem; }
  .ticks li::before {
    content: ""; position: absolute; left: 0; top: 0.22em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
    background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3CB97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
  }
  .ticks-card { padding: 1.6rem 1.7rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); }

  /* Floating WhatsApp button (wide screens; phones have the bottom bar) */
  .wa-float { display: none; }
  @media (min-width: 48rem) {
    .wa-float {
      position: fixed; z-index: 40; right: 1.5rem; bottom: 1.5rem;
      display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%;
      background: #1FA855; color: var(--white); box-shadow: 0 12px 28px -10px rgb(0 0 0 / 0.45), 0 0 0 4px rgb(255 255 255 / 0.9);
      transition: transform 0.15s;
    }
    .wa-float:hover { transform: scale(1.06); }
  }

  /* Mobile quick contact bar */
  .actionbar { display: none; }
  @media (max-width: 47.99rem) {
    /* keeps keyboard focus and in-page jumps clear of the fixed bar */
    html { scroll-padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
    body { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px)); }
    .actionbar {
      position: fixed; z-index: 40; inset: auto 0 0 0;
      display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
      padding-bottom: env(safe-area-inset-bottom, 0px);
      background: var(--navy-3); border-top: 1.5px solid var(--gold); --focus: var(--gold);
    }
    .actionbar a {
      display: flex; align-items: center; justify-content: center; gap: 0.5rem;
      min-height: 3.75rem; color: var(--white); text-decoration: none; font-weight: 700; font-size: var(--step--1);
    }
    .actionbar a + a { border-left: 1px solid rgb(255 255 255 / 0.14); }
    .actionbar a:first-child { background: var(--gold); color: var(--navy-3); }
    .actionbar a:focus-visible { outline-offset: -4px; }
  }

  /* Footer */
  .site-footer {
    background: var(--navy-3);
    color: #C3CCDA; font-size: var(--step--1); line-height: 1.7; --focus: var(--gold);
    border-top: 3px solid var(--gold);
  }
  .site-footer a { color: #EEF1F6; text-decoration: none; }
  .site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
  .footer-grid { display: grid; gap: 2.25rem 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
  @media (min-width: 60rem) { .footer-grid { grid-template-columns: 1.15fr 1fr 1.4fr 1fr; } }
  .footer-name { display: flex; align-items: center; gap: 0.6rem; color: var(--white); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1; }
  .footer-hi { margin-top: 0.5rem; color: var(--gold-light); font-family: "Nirmala UI", "Noto Sans Devanagari", "Kohinoor Devanagari", sans-serif; }
  .footer-brand p + p { margin-top: 0.6rem; }
  .footer-small { opacity: 0.85; }
  .footer-h { margin-bottom: 0.7rem; color: var(--gold-light); font-family: var(--sans); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.3; }
  .site-footer address + p, .site-footer p + .plain { margin-top: 0.5rem; }
  .footer-base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 2rem;
    padding-block: 1.25rem 1.75rem; border-top: 1px solid rgb(198 161 91 / 0.25);
  }
  .footer-base a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 0.2em; }
}

@layer sections {
  .section { padding-block: var(--space-section); }
  .section-tight { padding-block: calc(var(--space-section) * 0.6); }
  .section-flush { padding-top: 0; }
  .section-mist { background: var(--ivory); }
  .section-dark {
    position: relative; isolation: isolate; overflow: clip; color: #D9E0EC; --focus: var(--gold);
    background:
      radial-gradient(40rem 24rem at 100% 0%, rgb(198 161 91 / 0.14), transparent 65%),
      linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  }
  .section-dark::before { /* faint gold tooth line-art watermark */
    content: ""; position: absolute; z-index: -1; width: 24rem; height: 24rem; right: -4rem; top: -3rem;
    background: var(--tooth-line) center / contain no-repeat; opacity: 0.4; pointer-events: none;
  }
  .section-dark h2, .section-dark h3 { color: var(--white); }
  .section-dark .lead { color: #BFC9D9; }
  .section-dark a:not(.btn) { color: var(--gold-light); }
  .section-dark .btn-outline { color: var(--white); border-color: rgb(255 255 255 / 0.45); background: transparent; }
  .section-dark .btn-outline:hover { background: rgb(255 255 255 / 0.08); border-color: var(--gold); }

  .section-head { max-width: 46rem; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
  .section-head h2::after, .rating-card h2::after, .visit-card h2::after { /* short gold rule with a diamond */
    content: ""; display: block; width: 4.5rem; height: 9px; margin-top: 0.85rem;
    background:
      linear-gradient(var(--gold), var(--gold)) left center / 3.6rem 1.5px no-repeat,
      linear-gradient(45deg, transparent 40%, var(--gold) 40% 60%, transparent 60%) right center / 9px 9px no-repeat;
    background-image:
      linear-gradient(var(--gold), var(--gold)),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0l5 5-5 5-5-5z' fill='%23C6A15B'/%3E%3C/svg%3E");
    background-size: 3.6rem 1.5px, 9px 9px;
    background-position: left center, right center;
  }
  .section-head .lead { margin-top: 1rem; }
  .section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }

  /* ---------- Hero ---------- */
  .hero { position: relative; padding-block: clamp(2rem, 4.5vw, 4rem) calc(var(--curve) + clamp(3.75rem, 6vw, 5.25rem)); }
  .hero-grid { display: grid; gap: 3rem 4rem; align-items: center; }
  @media (min-width: 56rem) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

  .hero-voice { font-family: var(--serif); font-size: var(--step-4); line-height: 1.04; margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); color: var(--navy); }
  .hero-voice > span { display: block; }
  .hero-voice .tense { font-weight: 600; font-variation-settings: "SOFT" 0, "wght" 600; letter-spacing: -0.008em; }
  .hero-voice .calm {
    margin-top: 0.06em; text-wrap: balance; /* never leaves one word alone on the last line */
    font-style: italic; font-weight: 320; letter-spacing: -0.01em; color: var(--gold-ink);
    font-variation-settings: "SOFT" 100, "wght" 320;
  }
  .hero-voice .ln { display: block; white-space: nowrap; }
  /* Until the script has fixed the line breaks, the answer holds its final space but is not shown,
     so the page below it never moves. It then appears tense and softens. */
  .js .hero-voice[data-exhale]:not(.is-measuring):not(.is-locked):not(.is-static) .calm { visibility: hidden; }
  .hero-voice.is-locked .calm { animation: exhale 2.4s cubic-bezier(0.22, 0.7, 0.18, 1) 0.8s both; }
  @keyframes exhale {
    from { font-variation-settings: "SOFT" 0, "wght" 600; color: var(--navy); }
    to { font-variation-settings: "SOFT" 100, "wght" 320; color: var(--gold-ink); }
  }

  .hero-h1 { font-family: var(--sans); font-size: var(--step--1); font-weight: 800; letter-spacing: 0.08em; line-height: 1.4; color: var(--gold-ink); max-width: 40ch; }
  .hero-text { margin-top: 0.75rem; max-width: 50ch; font-size: var(--step-1); line-height: 1.6; color: #3B4762; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
  .hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.6rem; font-size: var(--step--1); font-weight: 700; color: var(--navy); }
  .hero-chips li { display: inline-flex; align-items: center; gap: 0.45rem; }
  .hero-chips .icon { color: var(--gold-ink); }

  .hero-figure { position: relative; max-width: 27rem; margin-inline: auto; padding: 1.5rem 1.5rem 1.5rem 0; }
  .hero-arcs { position: absolute; z-index: 0; inset: -12% -22% auto auto; width: 125%; color: var(--gold); opacity: 0.75; pointer-events: none; }
  .hero-figure::before { /* offset gold outline arch */
    content: ""; position: absolute; z-index: 0; inset: 0 0 0 1.5rem; border: 1.5px solid var(--gold);
    border-radius: 999px 999px var(--radius-l) var(--radius-l);
  }
  .hero-photo-frame {
    position: relative; z-index: 1; border-radius: 999px 999px var(--radius-l) var(--radius-l); overflow: hidden;
    box-shadow: var(--shadow-2); background: var(--navy); border: 6px solid var(--white);
  }
  .hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
  .hero-badge {
    position: absolute; z-index: 2; display: grid; gap: 0.15rem; padding: 0.85rem 1.1rem;
    background: rgb(255 255 255 / 0.96); border: 1px solid var(--gold-light); border-radius: 16px; box-shadow: var(--shadow-2);
    color: var(--ink); text-decoration: none; line-height: 1.1;
  }
  .hero-badge-rating { left: -1.5rem; bottom: 3.5rem; }
  .hero-badge-rating:hover .badge-small { text-decoration: underline; }
  .hero-badge-years { right: -0.5rem; top: 4rem; text-align: center; background: var(--navy); border-color: var(--navy); }
  .hero-badge-years .badge-big { color: var(--gold-light); }
  .hero-badge-years .badge-small { color: #C9D2E2; }
  .badge-stars { display: inline-flex; gap: 1px; color: var(--gold); }
  .badge-big { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--navy); }
  .badge-small { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
  @media (max-width: 33.99rem) {
    .hero-badge-rating { left: -0.5rem; }
    .hero-badge-years { right: 0; }
  }

  /* Quick facts bar, lifted over the curved edge of the masthead */
  .quickbar {
    position: relative; z-index: 3; margin-top: calc(-1 * clamp(3rem, 5vw, 4rem));
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-2); overflow: hidden;
    border-top: 3px solid var(--gold);
  }
  .quickbar-item { display: flex; gap: 0.95rem; padding: 1.4rem 1.55rem; }
  .quickbar-item + .quickbar-item { border-top: 1px solid var(--line); }
  @media (min-width: 56rem) { .quickbar-item + .quickbar-item { border-top: 0; border-left: 1px solid var(--line); } }
  .quickbar-icon { display: grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--navy); color: var(--gold-light); }
  .quickbar-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; color: var(--gold-ink); }
  .quickbar-value { font-weight: 600; line-height: 1.45; color: var(--navy); }
  .quickbar-value a { color: var(--navy); text-decoration: none; font-family: var(--serif); font-size: 1.35em; font-weight: 600; }
  .quickbar-link { display: inline-block; margin-top: 0.25rem; font-size: var(--step--1); font-weight: 700; }

  /* Highlights band */
  .highlights { display: grid; gap: 1.75rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); }
  .highlight { position: relative; padding-left: 1.25rem; border-left: 1.5px solid rgb(198 161 91 / 0.5); }
  .highlight h3 { margin-top: 1rem; font-size: var(--step-1); }
  .highlight p { margin-top: 0.35rem; color: var(--muted); font-size: var(--step--1); line-height: 1.6; }
  .highlight-icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-ink); background: var(--white); }

  /* ---------- What is bothering you? ---------- */
  .problems { --n: 8; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(0.75rem, 2vw, 1.25rem); box-shadow: var(--shadow-1); }
  .problem-btn {
    position: relative; display: block; width: 100%; padding: 0.95rem 2.75rem 0.95rem 1rem;
    background: none; border: 0; border-radius: var(--radius-s);
    font-family: var(--sans); font-size: var(--step-0); font-weight: 600; line-height: 1.35; text-align: left; color: var(--ink);
  }
  .problem + .problem .problem-btn { border-top: 1px solid var(--line); }
  .problem-panel { padding: 0.25rem 1rem 1.5rem; }
  .problem-panel > * + * { margin-top: 0.9rem; }
  .problem-means { font-family: var(--serif); font-size: var(--step-1); line-height: 1.4; font-weight: 450; color: var(--navy); }
  .problem-note { padding: 0.8rem 1rem; border-radius: var(--radius-s); background: #FBF3E3; border-left: 3px solid var(--gold); font-weight: 600; }
  .problem-links { font-size: var(--step--1); }
  .problem-links a { font-weight: 700; }
  .problem-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }

  .js .problem-btn { cursor: pointer; }
  .js .problem-btn:hover { background: var(--pearl); }
  .js .problem-btn::after {
    content: "+"; content: "+" / ""; position: absolute; right: 1rem; top: 50%; translate: 0 -50%;
    font-size: 1.4rem; font-weight: 400; line-height: 1; color: var(--gold-ink);
  }
  .js .problem-btn[aria-expanded="true"] { font-weight: 800; color: var(--navy); }
  .js .problem-btn[aria-expanded="true"]::after { content: "\2212"; content: "\2212" / ""; }
  html:not(.js) .problem-btn { cursor: default; font-weight: 800; }

  @media (min-width: 56rem) {
    .js .problems {
      display: grid; column-gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start;
      grid-template-columns: minmax(17rem, 5fr) 7fr;
      grid-template-rows: repeat(var(--n), auto) 1fr;
    }
    .js .problem { display: contents; }
    .js .problem-h { grid-column: 1; }
    .js .problem + .problem .problem-btn { border-top: 0; }
    .js .problem-btn { margin-block: 1px; padding: 0.85rem 1rem 0.85rem 1.35rem; }
    .js .problem-btn::after, .js .problem-btn[aria-expanded="true"]::after { content: none; }
    .js .problem-btn::before { content: ""; position: absolute; left: 0.45rem; top: 0.75rem; bottom: 0.75rem; width: 3px; border-radius: 2px; background: transparent; }
    .js .problem-btn[aria-expanded="true"] { background: var(--ivory); }
    .js .problem-btn[aria-expanded="true"]::before { background: var(--gold); }
    .js .problem-panel {
      grid-column: 2; grid-row: 1 / -1; align-self: stretch; position: relative; overflow: hidden;
      background: radial-gradient(28rem 18rem at 100% 0%, rgb(198 161 91 / 0.22), transparent 65%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
      color: #D9E0EC; border-radius: var(--radius-m); padding: clamp(1.75rem, 3.5vw, 2.6rem); --focus: var(--gold);
    }
    .js .problem-panel .problem-means { font-size: var(--step-2); line-height: 1.3; color: var(--white); }
    .js .problem-panel a:not(.btn) { color: var(--gold-light); }
    .js .problem-panel .problem-note { background: rgb(255 255 255 / 0.07); color: var(--white); }
    .js .problem-panel .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy-3); }
    .js .problem-panel .btn-primary:hover { background: var(--gold-light); }
    .js .problem-panel .btn-outline { color: var(--white); border-color: rgb(255 255 255 / 0.45); background: transparent; }
  }
  .problem-panel[hidden] { display: none; }
  html:not(.js) .problem-panel[hidden] { display: block; } /* without the script every answer is simply listed */

  /* ---------- Doctor ---------- */
  .doctor-grid { display: grid; gap: 2.75rem clamp(2rem, 5vw, 4.5rem); align-items: center; }
  @media (min-width: 56rem) { .doctor-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
  .doctor-figure { position: relative; max-width: 30rem; padding: 0 0 1.4rem 1.4rem; }
  .doctor-figure::before { content: ""; position: absolute; inset: 1.4rem 1.4rem 0 0; border-radius: var(--radius-l); background: var(--navy); }
  .doctor-figure::after { content: ""; position: absolute; inset: 2.4rem 2.4rem 1rem 1rem; border-radius: calc(var(--radius-l) - 6px); border: 1.5px solid var(--gold); pointer-events: none; }
  .doctor-photo { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow-2); }
  .doctor-fallback { position: relative; z-index: 1; padding: 3rem 2rem; border-radius: var(--radius-l); background: var(--white); }
  .doctor-fallback p { font-family: var(--serif); font-size: var(--step-2); font-style: italic; line-height: 1.3; }
  .doctor-fallback footer { margin-top: 0.9rem; font-size: var(--step--1); font-weight: 700; color: var(--muted); }
  .doctor-role { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; color: var(--gold-ink); margin-bottom: 0.5rem; }
  .doctor-copy h2::after { content: ""; display: block; width: 3.6rem; height: 1.5px; margin-top: 0.85rem; background: var(--gold); }
  .doctor-copy .lead { margin-top: 1.1rem; max-width: 54ch; color: #3B4762; }
  .cred-h { margin-top: 1.9rem; font-size: var(--step-1); }
  .creds { display: grid; gap: 0.65rem; margin-top: 0.9rem; }
  .creds li { display: flex; gap: 0.75rem; align-items: flex-start; line-height: 1.5; }
  .creds .icon { margin-top: 0.15rem; padding: 3px; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--navy); color: var(--gold-light); stroke-width: 3; }
  .principles-h { margin-top: clamp(3.25rem, 6vw, 4.75rem); margin-bottom: 1.35rem; font-size: var(--step-2); }
  .principle-list { display: grid; gap: 1.35rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
  .principle { position: relative; padding: 1.75rem 1.7rem; background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-1); border-top: 3px solid var(--gold); }
  .principle-claim { font-family: var(--serif); font-size: var(--step-1); font-weight: 600; line-height: 1.2; color: var(--navy); }
  .principle blockquote { margin-top: 0.85rem; }
  .principle blockquote p { font-family: var(--serif); font-style: italic; font-weight: 380; line-height: 1.6; color: #3B4762; }
  .principle blockquote footer { margin-top: 0.75rem; font-size: var(--step--1); font-weight: 700; color: var(--muted); }

  /* ---------- Clinic gallery ---------- */
  .gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: 1 / -1; }
  @media (min-width: 56rem) {
    .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 15rem; }
    .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
  }
  .gallery figure { position: relative; height: 100%; border-radius: var(--radius-m); overflow: hidden; background: var(--ivory); }
  .gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(10 21 40 / 0.55)); pointer-events: none; }
  .gallery img { width: 100%; height: 100%; min-height: 10rem; object-fit: cover; transition: transform 0.5s; }
  .gallery figure:hover img { transform: scale(1.04); }
  .gallery figcaption {
    position: absolute; z-index: 1; left: 1rem; bottom: 0.9rem; color: var(--white);
    font-family: var(--serif); font-size: 1.05rem; font-weight: 500;
  }
  .gallery figcaption::before { content: ""; display: block; width: 1.75rem; height: 1.5px; margin-bottom: 0.4rem; background: var(--gold); }

  /* ---------- First visit journey ---------- */
  .journey { counter-reset: step; display: grid; gap: 1rem; }
  .journey li {
    counter-increment: step; position: relative; padding: 1.6rem 1.45rem;
    background: rgb(255 255 255 / 0.04); border: 1px solid rgb(198 161 91 / 0.3); border-radius: var(--radius-m);
  }
  .journey li::before {
    content: counter(step, decimal-leading-zero); display: block; margin-bottom: 0.9rem;
    font-family: var(--serif); font-size: 2.2rem; font-weight: 400; font-style: italic; line-height: 1; color: var(--gold);
  }
  .journey h3 { font-size: var(--step-0); font-weight: 600; }
  .journey p { margin-top: 0.45rem; color: #BFC9D9; font-size: var(--step--1); line-height: 1.6; }
  @media (min-width: 60rem) { .journey { grid-template-columns: repeat(5, 1fr); } }
  @media (min-width: 40rem) and (max-width: 59.99rem) { .journey { grid-template-columns: repeat(2, 1fr); } }

  /* ---------- Reviews ---------- */
  .reviews-grid { display: grid; gap: 2rem clamp(2rem, 4vw, 3.5rem); align-items: start; }
  @media (min-width: 56rem) { .reviews-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
  .rating-card { padding: clamp(1.6rem, 3vw, 2.3rem); background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
  .rating-card h2 { font-size: var(--step-2); }
  .rating-score { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.9rem; }
  .rating-value { font-family: var(--serif); font-size: 4.2rem; font-weight: 500; line-height: 0.9; letter-spacing: -0.02em; color: var(--navy); }
  .rating-side { display: grid; gap: 0.25rem; }
  .rating-of { font-weight: 700; }
  .rating-meta { margin-top: 0.5rem; color: var(--muted); font-size: var(--step--1); }
  .rating-table { width: 100%; margin-top: 1.25rem; font-size: var(--step--1); }
  .rating-table th { white-space: nowrap; padding: 0.2rem 0.75rem 0.2rem 0; color: var(--muted); }
  .rating-bar { width: 100%; padding-block: 0.2rem; }
  .rating-bar svg { display: block; width: 100%; height: 0.45rem; }
  .rating-bar .bar-bg { fill: var(--ivory-2); }
  .rating-bar .bar-fg { fill: var(--gold-ink); }
  .rating-count { padding-left: 0.75rem; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
  .rating-other { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--step--1); }
  .rating-other a { font-weight: 800; }
  .rating-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
  .quote-featured {
    position: relative; overflow: hidden; padding: clamp(1.9rem, 3.5vw, 2.75rem); color: var(--white); border-radius: var(--radius-l);
    background: radial-gradient(30rem 18rem at 100% 0%, rgb(198 161 91 / 0.2), transparent 65%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  }
  .quote-featured p { font-size: var(--step-2); line-height: 1.4; font-weight: 340; }
  .quote-featured footer { color: var(--white); font-size: var(--step-0); }
  .quote-featured .avatar { background: var(--gold); color: var(--navy-3); border-color: var(--gold); }
  .quote-mark { display: block; margin-bottom: 0.8rem; color: var(--gold); }
  .quote-list { display: grid; gap: 1rem; margin-top: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
  .quote-list li { display: flex; }
  .quote-list .quote {
    display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%;
    padding: 1.5rem; background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-1); border-left: 3px solid var(--gold);
  }

  /* ---------- Visit ---------- */
  .visit-grid { display: grid; gap: 1.5rem; }
  @media (min-width: 56rem) { .visit-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
  .visit-card { padding: clamp(1.6rem, 3vw, 2.3rem); background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-1); border-top: 3px solid var(--gold); }
  .visit-card > * + * { margin-top: 1rem; }
  .visit-address { margin-top: 1.25rem; font-family: var(--serif); font-size: var(--step-1); font-weight: 500; line-height: 1.4; color: var(--navy); }
  .visit-extra { color: var(--muted); font-size: var(--step--1); }
  .visit-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
  .hours { width: 100%; margin-top: 1.75rem; }
  .hours caption { text-align: left; font-family: var(--serif); font-weight: 600; font-size: var(--step-1); padding-bottom: 0.5rem; color: var(--navy); }
  .hours th, .hours td { padding: 0.5rem 0; border-top: 1px solid var(--line); }
  .hours td { text-align: right; font-variant-numeric: tabular-nums; }
  .hours tr.is-today th, .hours tr.is-today td { font-weight: 800; color: var(--navy); }
  .hours tr.is-today th::after { content: " (today)"; font-weight: 500; color: var(--gold-ink); }
  .contact-list { margin-top: 1.75rem; }
  .contact-list > div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding-block: 0.55rem; border-top: 1px solid var(--line); }
  .contact-list dt { color: var(--muted); }
  .map { position: relative; min-height: 24rem; border-radius: var(--radius-l); overflow: hidden; background: var(--ivory); box-shadow: var(--shadow-1); border: 6px solid var(--white); }
  .map iframe { width: 100%; height: 100%; min-height: 24rem; border: 0; filter: saturate(0.85); }

  /* ---------- Book ---------- */
  .book-grid { display: grid; gap: 2.5rem clamp(2rem, 5vw, 4.5rem); }
  @media (min-width: 56rem) { .book-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
  .book-grid.book-grid-single { grid-template-columns: minmax(0, 1fr); }
  .book-copy h2::after { content: ""; display: block; width: 3.6rem; height: 1.5px; margin-top: 0.85rem; background: var(--gold); }
  .book-copy .lead { margin-top: 1.1rem; }
  .book-direct { margin-top: 1.75rem; }
  .book-direct a { display: inline-flex; align-items: center; gap: 0.6rem; padding-block: 0.3rem; font-family: var(--serif); font-size: var(--step-2); font-weight: 500; text-decoration: none; }
  .section-dark .book-direct a { color: var(--white); }
  .book-direct .icon { color: var(--gold); }
  .book-direct a:hover { text-decoration: underline; text-decoration-thickness: 0.06em; }
  .book-hours { margin-top: 1rem; color: #BFC9D9; }
  .book-form, .book-nojs {
    background: var(--white); color: var(--ink); border-radius: var(--radius-l);
    padding: clamp(1.5rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-2); --focus: var(--navy); border-top: 4px solid var(--gold);
  }
  html:not(.js) .book-form { display: none; }
  .js .book-nojs { display: none; }
  .book-nojs p { margin-bottom: 1rem; }
  .field + .field, .field + .field-row, .field-row + .field { margin-top: 1.1rem; }
  .field-row { display: grid; gap: 1.1rem; }
  @media (min-width: 34rem) { .field-row { grid-template-columns: 1fr 1fr; } }
  .field-row .field + .field { margin-top: 0; }
  .field label { display: block; margin-bottom: 0.35rem; font-weight: 700; color: var(--navy); }
  .optional { font-weight: 500; color: var(--muted); font-size: var(--step--1); }
  .field input, .field select, .field textarea {
    display: block; width: 100%; min-height: 3.1rem; padding: 0.6rem 0.9rem;
    background: var(--pearl); border: 1.5px solid #6E7A93; border-radius: var(--radius-s);
  }
  .field textarea { min-height: 5.5rem; resize: vertical; }
  .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--navy); background: var(--white); }
  .field [aria-invalid="true"] { border-color: var(--danger); }
  .field-error { margin-top: 0.35rem; color: var(--danger); font-size: var(--step--1); font-weight: 600; }
  .book-form .btn { margin-top: 1.5rem; }
  .book-form .btn-primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .book-form .btn-primary:hover { background: var(--navy-2); border-color: var(--gold); }
  .form-note { margin-top: 0.8rem; font-size: var(--step--1); color: var(--muted); }
  .form-status { margin-top: 0.8rem; font-weight: 700; }
  .form-status:empty { margin: 0; } /* stays in the page so screen readers announce the message when it arrives */

  /* ---------- Treatment article ---------- */
  .article-grid { display: grid; gap: 3rem clamp(2rem, 5vw, 4.5rem); padding-block: calc(var(--space-section) * 0.7) var(--space-section); }
  @media (min-width: 60rem) {
    .article-grid { grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; }
    .side { position: sticky; top: 1.5rem; }
  }
  .article { max-width: 46rem; }
  .article > * + * { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
  .article h2 { font-size: var(--step-2); line-height: 1.15; margin-bottom: 1.15rem; }
  .article section > p + p { margin-top: 0.9rem; }
  .article section > p { max-width: 66ch; }
  .steps-article { margin-top: 1.4rem; }
  .options { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
  .options > div { padding: 1.3rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); border-left: 3px solid var(--gold); }
  .options dt { font-family: var(--serif); font-weight: 600; font-size: 1.08em; color: var(--navy); }
  .options dd { margin-top: 0.3rem; color: var(--muted); font-size: var(--step--1); line-height: 1.6; }
  .quote-article {
    padding: clamp(1.6rem, 3vw, 2.3rem); color: var(--white); border-radius: var(--radius-l);
    background: radial-gradient(26rem 16rem at 100% 0%, rgb(198 161 91 / 0.2), transparent 65%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  }
  .quote-article p { font-size: var(--step-1); line-height: 1.5; }
  .quote-article footer { color: var(--gold-light); }
  .side-card { background: var(--white); border-radius: var(--radius-l); padding: 1.7rem; box-shadow: var(--shadow-2); border-top: 4px solid var(--gold); }
  .side-h { font-size: var(--step-1); line-height: 1.2; }
  .side-card > p { margin-top: 0.6rem; font-size: var(--step--1); color: var(--muted); }
  .side-actions { display: grid; gap: 0.6rem; margin-top: 1.2rem; justify-items: stretch; }
  .side-actions .text-link { justify-self: start; }
  .side-address { padding-top: 1rem; margin-top: 1.2rem; border-top: 1px solid var(--line); }

  /* ---------- All procedures ---------- */
  .procedure-groups { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); align-items: start; }
  .procedure-group { padding: 1.6rem; background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-1); border-top: 3px solid var(--gold); }
  .procedure-group h3 { padding-bottom: 0.6rem; margin-bottom: 0.3rem; border-bottom: 1px solid var(--line); }
  .procedure-group h3 a { color: var(--navy); text-decoration: none; }
  .procedure-group h3 a:hover { text-decoration: underline; }
  .procedure-group li { padding-block: 0.45rem; border-bottom: 1px solid var(--line); line-height: 1.45; font-size: var(--step--1); }
  .procedure-group li:last-child { border-bottom: 0; }

  .cta-row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
    padding: clamp(1.9rem, 4vw, 2.9rem); background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-1); border-left: 4px solid var(--gold);
  }
  .cta-row .lead { margin-top: 0.6rem; }
  .cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
}

@layer utilities {
  .sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .plain li + li { margin-top: 0.15rem; }
  .break { overflow-wrap: anywhere; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }

  @media print {
    .topline, .nav, .header-cta, .actionbar, .wa-float, .map, .book-form, .skip, .hero-arcs { display: none !important; }
    .masthead { background: none; border-radius: 0; }
    body { background: #fff; padding-bottom: 0; }
    .section-dark, .site-footer { background: none; color: #000; }
    .section-dark h2, .section-dark h3, .section-dark a:not(.btn), .site-footer a { color: #000; }
  }
}
