.hero {
    position: relative; isolation: isolate; width: 100%;
    min-height: 100vh; min-height: 100svh; overflow: hidden;
    display: flex; flex-direction: column;
    background:
      radial-gradient(60% 70% at 68% 55%, rgba(139,153,250,.30), rgba(139,153,250,0) 70%),
      linear-gradient(180deg, #fdfdff 0%, #f2f4fe 55%, #e2e6fd 100%);
  }


  /* ---------- copy ---------- */
  .copy {
    position: relative; z-index: 5; flex: 1;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: clamp(28px, 6vh, 64px) var(--gutter) clamp(40px, 7vh, 80px);
  }
  .badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
    padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #2c2d3a;
    background: rgba(255,255,255,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(60,75,190,.12), 0 0 0 1px rgba(255,255,255,.9) inset;
  }
  .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 4px rgba(62,207,142,.2); }
  h1 {
    font-family: "Inter Tight", sans-serif; font-weight: 500;
    font-size: clamp(54px, min(7.8vw, 14vh), 120px); line-height: .96; letter-spacing: -.048em;
  }
  h1 em { font-style: normal; background: linear-gradient(95deg, #6578ee 0%, #a28bfa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .lede { margin-top: 30px; max-width: 420px; font-size: 16px; line-height: 1.55; color: var(--soft); }
  .cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 32px; }
  .btn-primary { gap: 10px; }
  .btn-primary svg { width: 13px; height: 13px; transition: transform .2s; }
  .btn-primary:hover svg { transform: translate(2px,-2px); }
  .cta-secondary { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 220px; padding-top: 13px; }
  .text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
    padding-bottom: 3px; border-bottom: 1.5px solid rgba(101,120,238,.45); transition: border-color .2s, gap .2s; }
  .text-link svg { width: 14px; height: 12px; color: var(--accent-deep); }
  .text-link:hover { border-color: var(--accent-deep); gap: 11px; }
  .cta-note { font-size: 12px; line-height: 1.45; color: var(--soft); }
  .proof { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
  .proof .avatars span { width: 34px; height: 34px; }
  .proof .score { font-size: 22px; }
  .proof small { display: block; font-size: 12.5px; color: var(--soft); margin-top: 4px; }

  /* ---------- photo stage ---------- */
  /* portrait cut-out sits right of centre, bottom-anchored so the shoulders bleed off the hero */
  .hero { --sh: 87svh; --sw: calc(var(--sh) * 0.75); --inset: max(0px, calc(var(--gutter) - 3vw)); --halo: calc(var(--sw) * 1.12); }
  /* a single disc sized to the subject, centred on her, so her hair breaks out of the top */
  .halo {
    position: absolute; z-index: 0; bottom: calc(var(--sh) * .08);
    right: calc(var(--inset) + var(--sw) / 2 - var(--halo) / 2);
    width: var(--halo); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, #f6f7ff 0%, #dfe3ff 55%, #c6cefc 100%);
    box-shadow: 0 0 0 1px rgba(127,144,248,.38), 0 0 0 clamp(16px,1.9vw,30px) rgba(190,200,253,.22);
  }
  .stage { position: absolute; z-index: 1; right: var(--inset); bottom: 0; height: 87%; aspect-ratio: 1086 / 1448; }
  .stage img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom;
    filter: drop-shadow(0 24px 40px rgba(70,85,200,.18)); }

  /* ---------- floating cards ---------- */
  .card {
    position: absolute; z-index: 4;
    background: rgba(255,255,255,.7); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border-radius: 20px; padding: 14px 18px;
    box-shadow: 0 18px 50px rgba(70,85,200,.18), 0 0 0 1px rgba(255,255,255,.85) inset;
  }
  .card-b { right: calc(var(--inset) - 30px); top: 43%; background: rgba(255,255,255,.94); animation: float 7s ease-in-out infinite; }
  .card-c { right: calc(var(--inset) + var(--sw) * .68); bottom: 9vh; display: flex; align-items: center; gap: 12px; animation: float 8s ease-in-out -3s infinite; }
  .tick { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
  .tick svg { width: 15px; height: 15px; }
  .card-c b { display: block; font-family: "Inter Tight", sans-serif; font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .copy > :nth-child(2) { animation-delay: .08s; } .copy > :nth-child(3) { animation-delay: .16s; }
  .copy > :nth-child(4) { animation-delay: .24s; } .copy > :nth-child(5) { animation-delay: .32s; }
  @media (prefers-reduced-motion: reduce) { .copy > *, .card { animation: none; } }
  .avatars { display: flex; }
  .avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px; overflow: hidden; }
  .avatars span:first-child { margin-left: 0; }
  .avatars img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .score { font-family: "Inter Tight", sans-serif; font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
  .stars { color: #f5b942; font-size: 12px; letter-spacing: 2px; margin-top: 3px; }
  .card small { display: block; font-size: 11.5px; color: var(--soft); margin-top: 2px; }
  .card-b .k { font-size: 11.5px; color: var(--soft); display: flex; align-items: center; gap: 8px; }
  .card-b .v { font-family: "Inter Tight", sans-serif; font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin-top: 6px; }

  /* ---------- responsive ---------- */
  @media (max-width: 1360px) {
    .card-c { display: none; }
  }
  @media (max-width: 900px) {
    nav { grid-template-columns: 1fr auto; }
    .links { display: none; }
    .hero { min-height: 0; }
    .brand { white-space: nowrap; font-size: 17px; }
    .nav-cta .btn { display: none; }
    .copy { order: 1; flex: none; padding-top: 40px; padding-bottom: 0; }
    h1 { font-size: clamp(46px, 13vw, 84px); }
    /* phone: the portrait becomes a wide framed shot with one reassurance chip on its edge */
    .halo, .card-b { display: none; }
    .stage { order: 2; position: relative; right: auto; bottom: auto; height: auto; width: auto; aspect-ratio: 1 / 1; max-width: 520px; margin: 28px var(--gutter) 0; border-radius: 32px; overflow: hidden;
      background: radial-gradient(circle at 50% 32%, #f6f7ff 0%, #dfe3ff 58%, #c6cefc 100%); box-shadow: 0 0 0 1px rgba(127,144,248,.32); }
    .stage img { object-fit: cover; object-position: 50% 0%; filter: none; }
    .card-c { order: 3; display: flex; position: relative; right: auto; bottom: auto; width: fit-content; margin: -30px var(--gutter) 32px calc(var(--gutter) + 14px); z-index: 3; animation: none; }
  }


  .sec, .help { scroll-margin-top: 12px; }
  /* ---------- help section ---------- */
  .help { padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(24px, 3vw, 40px);
    background: linear-gradient(180deg, #e2e6fd 0%, #f1f3ff 38%, #fafaff 100%); border-top: 1px solid rgba(101,120,238,.16); }
  .help h2 { font-family: "Inter Tight", sans-serif; font-weight: 500; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.04em; max-width: 18em; text-wrap: balance; }
  .help-grid { margin-top: clamp(32px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
  .help-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 44px; min-height: clamp(190px, 17vw, 250px);
    padding: clamp(22px, 2.2vw, 30px); border-radius: 28px; color: var(--ink); text-decoration: none;
    background: rgba(255,255,255,.82); box-shadow: 0 0 0 1px rgba(101,120,238,.13), 0 12px 36px rgba(70,85,200,.08);
    transition: transform .25s, box-shadow .25s, background .25s; }
  .help-card:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 0 0 1px rgba(101,120,238,.3), 0 22px 50px rgba(70,85,200,.18); }
  .help-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #eceeff; color: var(--accent-deep); transition: background .25s, color .25s; }
  .help-icon svg { width: 34px; height: 34px; }
  .help-card:hover .help-icon { background: var(--accent); color: #fff; }
  .help-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
  .help-foot h3 { font-family: "Inter Tight", sans-serif; font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.08; letter-spacing: -.025em; }
  .help-go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-deep);
    box-shadow: 0 0 0 1px rgba(101,120,238,.3) inset; transition: background .25s, color .25s, transform .25s; }
  .help-go svg { width: 13px; height: 13px; }
  .help-card:hover .help-go { background: var(--accent); color: #fff; transform: rotate(0deg) translate(1px,-1px); }
  @media (max-width: 900px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .help-grid { grid-template-columns: 1fr; } .help-card { min-height: 0; gap: 28px; } }


  /* ---------- page story: team, reviews, prices, visit, faq, close ---------- */
  .sec, .final-wrap { background: #fafaff; padding: clamp(56px, 7vw, 104px) var(--gutter) 0; }
  .sec h2, .final h2 { font-family: "Inter Tight", sans-serif; font-weight: 500; font-size: clamp(32px, 4vw, 56px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
  .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 64px; margin-bottom: clamp(28px, 4vw, 52px); }
  .sec-head h2 { max-width: 12em; }
  .ease-sub { max-width: 30em; font-size: 17px; line-height: 1.55; color: var(--soft); }
  .sec-head .ease-sub { flex: none; width: 24em; max-width: 100%; }

  /* team */
  .team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
  .dentist { display: flex; flex-direction: column; align-items: flex-start; }
  .ph-portrait { width: 100%; aspect-ratio: 4 / 5; border-radius: 28px; margin-bottom: 18px; }
  .dentist h3 { font-family: "Inter Tight", sans-serif; font-weight: 500; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.1; }
  .role { margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--accent-deep); }
  .dentist .muted { margin-top: 8px; font-size: 15.5px; line-height: 1.5; max-width: 26em; }
  /* reviews */
  .quotes { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: clamp(14px, 1.6vw, 22px); }
  .quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(24px, 2.6vw, 36px); border-radius: 28px; background: rgba(255,255,255,.86); box-shadow: 0 0 0 1px rgba(101,120,238,.13), 0 12px 36px rgba(70,85,200,.08); }
  .quote-big { grid-row: 1 / 3; background: var(--accent); box-shadow: none; color: #fff; }
  .quote blockquote { margin: 0; font-family: "Inter Tight", sans-serif; font-weight: 400; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.35; letter-spacing: -.015em; color: #8d93ad; }
  .quote-big blockquote { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -.03em; color: rgba(255,255,255,.9); }
  .quote figcaption { display: flex; align-items: center; gap: 12px; }
  .quote figcaption b { display: block; font-weight: 500; font-size: 15.5px; } .quote small { display: block; font-size: 13.5px; color: var(--soft); }
  .quote-big small { color: rgba(255,255,255,.8); }
  .av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #eceeff; color: var(--accent-deep); }
  .quote-big .av { background: rgba(255,255,255,.2); color: #fff; } .av svg { width: 22px; height: 22px; }
  /* prices + insurance */
  .cost { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
  .pricelist { list-style: none; margin: 0; padding: clamp(8px, 1vw, 14px) clamp(22px, 2.6vw, 36px); }
  .pricelist li { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(101,120,238,.16); }
  .pricelist li:last-child { border-bottom: 0; }
  .pricelist span { display: block; } .pricelist b { display: block; font-weight: 500; font-size: 18px; letter-spacing: -.01em; } .pricelist small { display: block; margin-top: 2px; font-size: 14px; color: var(--soft); }
  .pricelist i { flex: 1; align-self: center; border-bottom: 1.5px dotted rgba(101,120,238,.35); min-width: 16px; }
  .pricelist em { font-style: normal; font-family: "Inter Tight", sans-serif; font-size: 20px; font-weight: 500; letter-spacing: -.01em; color: #9aa3c4; white-space: nowrap; }
  .cover-box { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(26px, 3.2vw, 44px); background: #e9ecfe; box-shadow: 0 0 0 1px rgba(101,120,238,.16); }
  .cover-box h3 { font-family: "Inter Tight", sans-serif; font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -.03em; max-width: 14em; text-wrap: balance; }
  .checks { list-style: none; padding: 0; margin: 4px 0 0; width: 100%; }
  .checks li { display: flex; gap: 14px; align-items: center; padding: 14px 0; font-size: 16px; line-height: 1.4; color: #1c1d2b; border-top: 1px solid rgba(101,120,238,.22); }
  .checks i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; } .checks i svg { width: 14px; height: 14px; }
  .ins-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .ins-list[hidden] { display: none; }
  .ins-list li { padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #2c2d3a; background: #fff; box-shadow: 0 0 0 1px rgba(101,120,238,.2) inset; }
  .pay-line { font-size: 15px; color: var(--soft); } .cover-box .btn { margin-top: auto; }
  /* visit */
  .visit { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
  .ph-map { min-height: clamp(280px, 34vw, 460px); border-radius: 28px; }
  .visit-info { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 40px); }
  .vrow { display: flex; gap: 16px; align-items: flex-start; } .vrow > svg { flex: none; width: 26px; height: 26px; color: var(--accent-deep); margin-top: 1px; }
  .vrow b { display: block; font-weight: 500; font-size: 17px; } .vrow span, .vrow a { display: block; margin-top: 2px; font-size: 16px; line-height: 1.45; color: var(--soft); }
  .vrow a { color: var(--accent-deep); font-weight: 500; text-decoration: none; }
  .hours { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; font-size: 16px; color: var(--soft); } .hours dd { margin: 0; color: #1c1d2b; }
  .vact { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
  /* faq */
  .faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
  .faq .ease-sub { margin-top: 14px; }
  .faq-list details { border-top: 1px solid rgba(101,120,238,.22); }
  .faq-list details:last-child { border-bottom: 1px solid rgba(101,120,238,.22); }
  .faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: "Inter Tight", sans-serif; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.015em; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-deep); box-shadow: 0 0 0 1px rgba(101,120,238,.3) inset; transition: transform .25s, background .25s, color .25s; }
  .faq-list summary i svg { width: 14px; height: 14px; }
  .faq-list details[open] summary i { transform: rotate(45deg); background: var(--accent); color: #fff; }
  .faq-list summary:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; border-radius: 8px; }
  .faq-list details p { padding: 0 52px 24px 0; font-size: 16.5px; line-height: 1.6; color: var(--soft); max-width: 36em; }
  /* closing */
  .final-wrap { padding-bottom: clamp(56px, 7vw, 96px); }
  .final { text-align: center; display: grid; justify-items: center; gap: 22px; padding: clamp(44px, 7vw, 96px) var(--pad, 24px); border-radius: 36px; color: #fff; background: linear-gradient(135deg, #5468e6, #7488f4); }
  .final h2 { max-width: 12em; font-size: clamp(36px, 5vw, 68px); }
  .flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: rgba(255,255,255,.92); font-size: 16px; }
  .flow li { display: flex; align-items: center; gap: 10px; } .flow b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.2); }
  .final .cta { margin-top: 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .btn-white { background: #fff; color: var(--accent-deep); box-shadow: 0 10px 30px rgba(20,30,120,.25); } .btn-white:hover { background: #f4f5ff; }
  .btn-line { gap: 10px; background: transparent; color: #fff; box-shadow: 0 0 0 1.5px rgba(255,255,255,.7) inset; } .btn-line:hover { background: rgba(255,255,255,.14); }
  .btn-line svg { width: 20px !important; height: 20px !important; }
  .final-call { font-size: 16px; color: rgba(255,255,255,.88); } .final-call a { color: #fff; font-weight: 500; text-underline-offset: 3px; }
  .sec .btn, .final .btn { white-space: nowrap; }
  .sec .btn:not(.btn-ghost) svg, .final .btn:not(.btn-line) svg { width: 13px; height: 13px; flex: none; }

@media (max-width: 900px) {
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head .ease-sub { flex: none; }
  .team { grid-template-columns: 1fr; gap: 32px; }
  .dentist { display: grid; grid-template-columns: 38% 1fr; column-gap: 18px; align-items: start; }
  .ph-portrait { grid-row: 1 / 6; margin: 0; }
  .quotes, .cost, .visit, .faq { grid-template-columns: 1fr; }
  .quote-big { grid-row: auto; }
}

  @media (max-width: 560px) { .final .cta, .final .cta .btn, .cover-box .btn, .vact .btn { width: 100%; justify-content: center; } .final { text-align: left; justify-items: stretch; border-radius: 28px; } .final h2 { max-width: none; } .flow { flex-direction: column; align-items: flex-start; } .final-call { text-align: center; } .faq-list details p { padding-right: 0; } .pricelist em { font-size: 18px; } }
