/* index: page-specific styles from the design */
/* ==================== Hero ==================== */
    .home-hero { position: relative; min-height: clamp(640px, calc(100svh - var(--hh)), 820px); overflow: hidden; isolation: isolate; display: flex; align-items: center; background: #f3f1ec; }
    .home-hero__photo { position: absolute; inset: 0 0 0 clamp(0px, 24vw - 120px, 340px); z-index: -2; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
    .home-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 32%; }
    .home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,247,242,.78) 0%, rgba(255,247,242,.5) 34%, rgba(255,247,242,0) 58%); }
    .home-hero__inner { position: relative; padding-block: clamp(64px, 7vw, 104px); }
    .home-hero .subtitle { font-size: 17px; }
    .home-hero h1 { margin-top: 10px; font-size: clamp(48px, 5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -0.028em; color: var(--ink); }
    .home-hero__shine { display: inline-block; margin-left: .1em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
    .home-hero__shine.is-pinned { position: absolute; margin: 0; white-space: nowrap; }
    .home-hero__desc { margin-top: 22px; max-width: 22em; font-size: 17px; line-height: 1.6; color: var(--ink); }
    .home-hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; max-width: 520px; }
    .home-hero__pills .btn { --_bd: rgba(255,255,255,.4); }
    .award-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(48px, 7vw, 72px); padding: 10px 16px 10px 12px; background: rgba(255,255,255,.4); backdrop-filter: blur(6px); border-radius: var(--r-sm); color: var(--ink); font-size: 14px; line-height: 1.15; }
    .award-chip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
    .award-chip b { display: block; font-weight: 600; }
    @media (max-width: 860px) {
      .home-hero { align-items: flex-start; min-height: 0; flex-direction: column; background: #fff7f2; }
      .home-hero__photo { position: relative; inset: auto; -webkit-mask-image: none; mask-image: none; order: 2; width: 100%; height: 380px; z-index: 0; }
      .home-hero__inner { align-self: stretch; padding-bottom: 40px; }
      .home-hero__photo img { object-position: 66% 30%; }
      .home-hero::before { display: none; }
    }

    /* Local areas, folded into the intro */
    .areas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--hairline); }
    .areas__label { margin-right: 6px; font-size: 14px; font-weight: 600; color: var(--teal); }
    .areas a { padding: 6px 14px; border-radius: 99px; background: var(--white); border: 1px solid var(--hairline); font-size: 14px; color: var(--ink); text-decoration: none; transition: background .2s, border-color .2s; }
    .areas a:hover { background: var(--mint); border-color: var(--mint-line); }
    /* ==================== About intro ==================== */
    .intro2 { display: grid; grid-template-columns: minmax(0, 540fr) minmax(0, 560fr); gap: clamp(32px, 5vw, 60px); align-items: start; }
    .intro2__img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 540 / 375; }
    .intro2__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.15); transform-origin: 100% 50%; }
    .intro2__img .btn { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); }
    .intro2__img .btn:hover { transform: translateX(-50%) translateY(-1px); }
    .intro2 h2 { font-size: clamp(26px, 2.2vw, 30px); font-weight: 500; line-height: 1.2; color: var(--ink); max-width: 18em; }
    .intro2 .prose { margin-top: 22px; }
    .intro2 .prose p { font-size: 15.5px; color: var(--ink); }
    @media (max-width: 860px) { .intro2 { grid-template-columns: minmax(0, 1fr); } }

    /* ==================== Horizontal card rails ==================== */
    .rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
    .rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; --pad: calc((100% - min(var(--container), 100% - 2 * var(--gutter))) / 2); padding: 4px var(--pad) 12px; scroll-padding-inline: var(--pad); }
    .rail::-webkit-scrollbar { display: none; }
    .rail > * { flex: 0 0 auto; scroll-snap-align: start; }
    .rail-ctrl { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
    .round { width: 47px; height: 47px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; transition: background .25s, color .25s; }
    .round:hover { background: var(--ink); color: #fff; }
    .round svg { width: 18px; height: 18px; }

    /* Why choose */
    .why-card { width: min(457px, 84vw); min-height: 490px; border-radius: var(--r); background: var(--cream); padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; position: relative; overflow: hidden; }
    .why-card--photo { background: var(--cream-2); justify-content: flex-start; }
    .why-card--photo img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; object-fit: cover; object-position: 50% 20%; }
    .why-card--photo h3 { position: relative; z-index: 1; font-size: clamp(30px, 2.8vw, 40px); font-weight: 500; line-height: 1; max-width: 8em; padding: 26px 26px 0; color: var(--ink); }
    .why-card__icon { position: absolute; left: 20px; top: 22px; width: 141px; height: 143px; display: grid; place-items: start; }
    .why-card__icon img { width: 88px; height: auto; }
    .why-card h3.t { font-size: 30px; font-weight: 500; line-height: 1.15; color: var(--ink); max-width: 10em; }
    .why-card p { margin-top: 10px; color: var(--teal); font-size: 17px; line-height: 1.55; }
    .why-card .btn { align-self: flex-start; }

    /* ==================== First visit ==================== */
    .fv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
    .fv__img { position: relative; border-radius: var(--r-sm); overflow: hidden; min-height: 520px; background: var(--mint-2); }
    .fv__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
    .fv__steps { display: grid; gap: 20px; }
    .fv__step { background: var(--mint-2); border-radius: var(--r-sm); padding: 28px; }
    .fv__step h3 { font-size: clamp(21px, 1.8vw, 25px); font-weight: 500; line-height: 1.2; color: var(--ink); }
    .fv__step p { margin-top: 14px; color: var(--ink); line-height: 1.6; }
    @media (max-width: 900px) { .fv { grid-template-columns: minmax(0, 1fr); } .fv__img { min-height: 340px; } }

    /* ==================== Nervous ==================== */
    .nerv { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 7vw, 96px) 0 clamp(64px, 6vw, 96px); min-height: 1180px; display: flex; flex-direction: column; justify-content: space-between; }
    .nerv > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
    .nerv::before { content: ""; position: absolute; z-index: -1; left: -20%; top: -25%; width: 85%; height: 95%; background: radial-gradient(closest-side, rgba(255,247,242,.95), rgba(255,247,242,.75) 55%, rgba(255,247,242,0)); }
    .nerv h2 { max-width: 11.5em; }
    .nerv .lead { margin-top: 14px; max-width: 24em; color: var(--teal); }
    .nerv .btn { margin-top: 32px; }
    .nerv__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
    .nerv__cards div { background: var(--mint); border: 1px solid var(--mint-line); border-radius: var(--r); padding: 20px; min-height: 246px; }
    .nerv__cards h3 { font-size: 25px; font-weight: 500; line-height: 1.15; color: var(--ink); max-width: 7em; }
    .nerv__cards p { margin-top: 10px; color: var(--teal); line-height: 1.55; }
    @media (max-width: 960px) { .nerv__cards { grid-template-columns: 1fr 1fr; } .nerv { min-height: 0; } }
    @media (max-width: 600px) {
      .nerv__cards { grid-template-columns: 1fr; margin-top: 260px; }
      .nerv__cards div { min-height: 0; }
      .nerv::before { left: -40%; width: 180%; height: 70%; }
    }

    /* ==================== Services ==================== */
    .svc-panel { background: var(--mint); border-radius: var(--r-lg); padding: clamp(28px, 4.5vw, 53px) clamp(20px, 4.5vw, 65px) clamp(28px, 4.5vw, 64px); }
    .svc-panel + .svc-panel { margin-top: 20px; }
    .svc-panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
    .svc-panel__head h3 { font-size: clamp(32px, 3.1vw, 44px); font-weight: 400; letter-spacing: -0.034em; line-height: 1; color: var(--ink); }
    .svc-panel__head p { margin-top: 12px; font-size: clamp(17px, 1.4vw, 20px); color: var(--teal); max-width: 28em; }
    .svc-grid { display: grid; gap: 20px; }
    .svc-grid--4 { grid-template-columns: repeat(4, 1fr); }
    .svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .svc-grid--cos { grid-template-columns: 3fr 1fr; }
    .svc-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 317px; padding: 22px; background: #fff; border-radius: var(--r); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
    .svc-grid--2 .svc-card { min-height: 253px; }
    a.svc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -24px rgba(20,64,62,.5); }
    .svc-card__img { position: absolute; left: 16px; top: 20px; height: 98px; width: auto; max-width: 150px; object-fit: contain; mix-blend-mode: multiply; }
    .svc-card h4 { font-size: 25px; font-weight: 500; line-height: 1.2; max-width: 9em; }
    .svc-card p { margin-top: 12px; color: var(--teal); font-size: 17px; line-height: 1.55; max-width: 16em; }
    .svc-card .go { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(20,64,62,.25); display: grid; place-items: center; transition: background .25s, color .25s; }
    .svc-card .go svg { width: 14px; height: 14px; }
    a.svc-card:hover .go { background: var(--ink); color: #fff; border-color: var(--ink); }
    .ven { display: grid; grid-template-columns: 250px 1fr; padding: 0; }
    .ven__main { padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
    .ven__types { background: var(--cream); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 36px 30px; align-items: end; }
    .ven__types figure img { width: 100%; max-width: 160px; height: 80px; object-fit: cover; border-radius: 8px; }
    .ven__types b { display: block; margin-top: 16px; font-weight: 700; color: var(--teal); }
    .ven__types span { display: block; color: var(--teal); font-size: 16px; line-height: 1.5; }
    .aligner-img { position: absolute; left: 0; top: -10px; width: 214px; }
    @media (max-width: 1060px) { .svc-grid--4 { grid-template-columns: 1fr 1fr; } .svc-grid--cos { grid-template-columns: 1fr; } }
    @media (max-width: 760px) { .svc-grid--3, .svc-grid--2 { grid-template-columns: 1fr; } .ven { grid-template-columns: 1fr; } .ven__main { min-height: 260px; } }
    @media (max-width: 560px) { .svc-grid--4 { grid-template-columns: 1fr; } .ven__types { grid-template-columns: 1fr 1fr; padding: 22px; } }

    /* Figma fixes: full-bleed photo card, nervous section framing, veneer renders */
    .why-card--photo img { top: 0; height: 100%; object-position: 50% 30%; }
    .why-card--photo h3 { padding: 30px 26px 0; }
    .nerv > img { left: -4.5%; right: auto; width: 125%; max-width: none; object-position: 50% 25%; }
    .nerv::before { left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(232,244,243,.97) 0%, rgba(232,244,243,.9) 26%, rgba(232,244,243,.35) 44%, rgba(232,244,243,0) 56%); }
    .nerv h2 { max-width: 13.2em; }
    .nerv__cards div { background: rgba(216,238,237,.94); border-color: rgba(184,232,230,.8); }
    .ven__single { width: auto; height: 79px; mix-blend-mode: normal; left: 8px; top: 34px; }
    .ven__types { align-items: stretch; padding-top: 32px; }
    .ven__types figure { display: flex; flex-direction: column; margin: 0; }
    .ven__types figure img { width: auto; max-width: none; height: 80px; object-fit: contain; border-radius: 0; mix-blend-mode: multiply; align-self: flex-start; margin-bottom: auto; padding-bottom: 56px; box-sizing: content-box; }
    /* Tablet/phone (CXM 17 Nov "is this picture blurry"): the landscape photo no longer stretches behind the
       whole stacked section (≈3.4× upscale on phones). Text sits on mint, the photo is a band below it that
       fades in behind the button, and the cards follow on mint. Desktop above 960px is unchanged. */
    @media (max-width: 960px) {
      .nerv { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; background: #e8f4f3; }
      .nerv::before { display: none; }
      .nerv > .container:first-of-type { grid-row: 1; position: relative; z-index: 1; }
      .nerv > img {
        grid-row: 2; position: relative; inset: auto; z-index: 0; width: 100%; height: auto; aspect-ratio: 16 / 10; object-position: 56% 40%; margin-top: -28px;
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 84%, transparent 100%);
        mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 84%, transparent 100%);
      }
      .nerv > .container:last-of-type { grid-row: 3; }
      .nerv__cards { position: relative; margin-top: -16px; }
    }
    @media (max-width: 600px) { .nerv > img { aspect-ratio: 1 / 1; } .nerv__cards { margin-top: -16px; } }

    .concerns-panel { margin-top: 20px; border-radius: 24px; background: linear-gradient(180deg, #d8eeed 32%, #14403e 100%); padding: clamp(48px, 5vw, 68px) 24px clamp(48px, 5vw, 72px); text-align: center; }
    .concerns-panel h3 { font-size: clamp(36px, 3.4vw, 48px); font-weight: 400; letter-spacing: -0.04em; color: var(--ink); }
    .concerns-panel ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 480px; margin: 32px auto 0; }
    .concerns-panel a { display: inline-flex; align-items: center; height: 54px; padding: 0 27px; border-radius: 48px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(20px); color: #fff; font-size: 18px; text-decoration: none; transition: background .25s; }
    .concerns-panel li:nth-child(-n+3) a { color: var(--ink); background: rgba(255,255,255,.5); border-color: rgba(255,255,255,.7); }
    .concerns-panel a:hover { background: rgba(255,255,255,.28); }

    /* ==================== Gallery rail ==================== */
    .ba-card { width: 360px; background: var(--mint); border: 1px solid var(--mint-line); border-radius: var(--r); padding: 22px; text-decoration: none; color: var(--ink); }
    .ba-card__pair { border-radius: 12px; overflow: hidden; }
    .ba-card__pair figure { position: relative; aspect-ratio: 311 / 144; overflow: hidden; background: #fff; }
    .ba-card__pair img { width: 100%; height: 100%; object-fit: cover; }
    .ba-card__pair figcaption { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,.28); color: #fff; border: 1px solid rgba(255,255,255,.35); }
    .ba-card h3 { margin-top: 20px; font-size: 20px; font-weight: 500; }
    .ba-card p { margin-top: 6px; }
    .ba-card small { display: block; margin-top: 4px; font-size: 15px; font-weight: 300; }
    @media (max-width: 560px) { .ba-card { width: 82vw; } }

    /* ==================== Emergency spotlight ==================== */
    .spot { position: relative; overflow: hidden; isolation: isolate; padding: clamp(120px, 12vw, 183px) 16px; display: grid; place-items: center; }
    .spot > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
    .spot__panel { width: min(800px, 100%); background: rgba(255,247,242,.82); backdrop-filter: blur(6px); border-radius: var(--r-lg); padding: clamp(36px, 4vw, 52px) clamp(24px, 4.5vw, 64px); text-align: center; }
    .spot__panel p { margin: 22px auto 0; max-width: 36em; color: var(--teal); line-height: 1.6; }
    .spot__panel .btn-row { justify-content: center; margin-top: 36px; }

    /* ==================== Health funds ==================== */
    .funds { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 40px; }
    .fund { width: 148px; height: 103px; border-radius: 8px; overflow: hidden; background: #d5d5d5; }
    .fund img { width: 100%; height: 100%; object-fit: cover; display: block; }

    /* ==================== Reviews ==================== */
    .g-sum { display: inline-flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid rgba(20,64,62,.5); border-radius: 8px; color: var(--ink); text-decoration: none; }
    .g-sum img { width: 27px; height: 27px; }
    .g-sum b { font-size: 20px; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 2px; }
    .g-sum b svg { width: 16px; height: 16px; fill: var(--star); }
    .g-sum i { width: 1px; height: 25px; background: rgba(20,64,62,.5); }
    .rv-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .rv { background: var(--mint-2); border-radius: var(--r-sm); padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
    .rv h3 { font-size: clamp(21px, 1.8vw, 25px); font-weight: 500; line-height: 1.2; max-width: 19em; }
    .rv p { font-size: 15px; line-height: 1.6; }
    .rv p + p { margin-top: 0; }
    .rv .stars { display: flex; gap: 2px; margin-top: auto; }
    .rv .stars svg { width: 16px; height: 16px; fill: var(--star); }
    .rv cite { font-style: normal; font-weight: 700; font-size: 17px; }
    .rv--sm { width: 360px; padding: 20px 24px; }
    .rv--sm img.q { width: 32px; height: 32px; }
    .rv--sm cite { font-size: 14px; }
    .videos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 60px; }
    .video { position: relative; aspect-ratio: 592 / 334; border-radius: var(--r); overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; }
    .video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
    .video:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 4px; }
    @media (max-width: 860px) { .rv-feat, .videos { grid-template-columns: 1fr; } }
    @media (max-width: 560px) { .rv--sm { width: 82vw; } }

    /* Rolling reviews row (CXM 17 Nov): full width, even fades at both edges, ~35px/s, pauses on
       hover / keyboard focus / the button. The cards are printed twice by template-parts/acf/reviews.php
       and the global @keyframes marquee (css/site.css) slides the track by one copy (-50%). */
    .rv-marquee { --rv-gap: 16px; --rv-card: 360px; --rv-step: 10.75s; margin-top: 40px; }
    .rv-marquee:not(:has(.rv)) { display: none; }
    .rv-marquee__viewport {
      --rv-fade: clamp(32px, calc((100% - min(var(--container), 100% - 2 * var(--gutter))) / 2), 160px);
      max-width: calc(var(--rv-n, 6) * (var(--rv-card) + var(--rv-gap))); margin-inline: auto; overflow: hidden; padding-block: 4px 12px;
      -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--rv-fade), #000 calc(100% - var(--rv-fade)), transparent 100%);
      mask-image: linear-gradient(90deg, transparent 0, #000 var(--rv-fade), #000 calc(100% - var(--rv-fade)), transparent 100%);
    }
    .rv-marquee__track { display: flex; width: max-content; animation: marquee calc(var(--rv-n, 6) * var(--rv-step)) linear infinite; }
    .rv-marquee__group { display: flex; flex: none; gap: var(--rv-gap); padding-right: var(--rv-gap); }
    .rv-marquee__group > * { flex: none; }
    .rv-marquee.is-paused .rv-marquee__track, .rv-marquee:not(.is-playing):has(:focus-visible) .rv-marquee__track { animation-play-state: paused; }
    @media (hover: hover) { .rv-marquee:not(.is-playing):hover .rv-marquee__track { animation-play-state: paused; } }
    .rv-marquee__ctrl { display: flex; justify-content: flex-end; margin-top: 12px; }
    .rv-marquee__toggle { cursor: pointer; }
    .rv-marquee__toggle .i-play, .rv-marquee__toggle[aria-pressed="true"] .i-pause { display: none; }
    .rv-marquee__toggle[aria-pressed="true"] .i-play { display: block; }
    .rv-marquee + .videos { margin-top: 40px; }
    @media (max-width: 560px) { .rv-marquee { --rv-card: 82vw; --rv-step: 9.5s; } }
    /* Reduced motion: one still copy, centred, swipe / scroll to read the rest */
    @media (prefers-reduced-motion: reduce) {
      .rv-marquee__viewport { max-width: none; overflow-x: auto; padding-inline: var(--rv-fade); scroll-snap-type: x proximity; scrollbar-width: thin; overscroll-behavior-x: contain; }
      .rv-marquee__track { animation: none; margin-inline: auto; }
      .rv-marquee__group { padding-right: 0; }
      .rv-marquee__group > * { scroll-snap-align: center; }
      .rv-marquee__group[aria-hidden], .rv-marquee__ctrl { display: none; }
      .rv-marquee + .videos { margin-top: 60px; }
    }

    /* ==================== Team ==================== */
    .members { position: relative; display: flex; align-items: center; gap: 24px; }
    .members p { font-size: 18px; color: var(--ink); }
    .deck { position: relative; width: 160px; height: 100px; }
    .deck span { position: absolute; left: 0; top: 0; width: 125px; height: 87px; border-radius: 7px; display: grid; place-items: center; box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); transition: transform .5s var(--ease-out); }
    .deck span img { max-width: 72%; max-height: 50%; }
    .deck span:nth-child(1) { transform: translate(6px, 0); }
    .deck span:nth-child(2) { transform: translate(4.5px, 1.7px); }
    .deck span:nth-child(3) { transform: translate(3px, 3.4px); }
    .deck span:nth-child(4) { transform: translate(1.5px, 5px); }
    .deck span:nth-child(5) { transform: translate(0, 6.7px); }
    .deck:hover span:nth-child(1), .deck:focus-within span:nth-child(1) { transform: translate(-120px, -10px) rotate(-8deg); }
    .deck:hover span:nth-child(2), .deck:focus-within span:nth-child(2) { transform: translate(-60px, -4px) rotate(-4deg); }
    .deck:hover span:nth-child(4), .deck:focus-within span:nth-child(4) { transform: translate(60px, 8px) rotate(4deg); }
    .deck:hover span:nth-child(5), .deck:focus-within span:nth-child(5) { transform: translate(120px, 14px) rotate(8deg); }
    .doc { width: min(457px, 84vw); background: #fff; border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
    .doc__img { position: relative; height: 257px; border-radius: var(--r); overflow: hidden; background: linear-gradient(to bottom, #fff, var(--cream-2) 73%); }
    .doc__img img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 92%; width: auto; max-width: none; transition: transform .7s var(--ease-out); }
    .doc:hover .doc__img img { transform: translateX(-50%) scale(1.03); transform-origin: bottom; }
    .doc h3 { font-size: 25px; font-weight: 500; }
    .doc p { color: var(--teal); line-height: 1.55; }
    .doc .more { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--teal); }
    .doc--local { background: linear-gradient(124deg, #f8ffff 22%, var(--mint) 86%); padding: 36px; justify-content: space-between; }
    .doc--local h3 { max-width: 9em; }
    .doc--local p { font-size: 18px; margin-top: 18px; }

    /* ==================== FAQ ==================== */
    .home-faq { background: #fff; border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px) clamp(24px, 4.6vw, 66px); display: grid; grid-template-columns: minmax(0, 386px) minmax(0, 1fr); gap: clamp(32px, 10vw, 152px); }
    .home-faq h2 { font-size: clamp(34px, 3.1vw, 44px); font-weight: 400; line-height: 1.04; letter-spacing: -0.034em; }
    .home-faq .lead { margin-top: 14px; font-size: 18px; }
    .home-faq .faq summary { padding: 12px; font-size: 17px; }
    .home-faq .faq details > div { padding: 0 40px 18px 12px; }
    .home-faq .faq details { border-bottom: 1px solid var(--hairline); }
    @media (max-width: 860px) { .home-faq { grid-template-columns: minmax(0, 1fr); } }

    /* ==================== Family close ==================== */
    .family { position: relative; text-align: center; padding-top: clamp(64px, 6vw, 88px); background: #f2ece6; overflow: hidden; }
    .family .h2 { max-width: 12em; margin-inline: auto; }
    .family .lead { margin: 12px auto 0; max-width: 17em; }
    .family .btn { margin-top: 28px; }
    /* Photo melts into a background matched to its own studio backdrop: no tilt, soft edges all round, gentler tones */
    .family { background: linear-gradient(180deg, #f3e9df 0%, #f6eee6 55%, #fbf4f0 100%); }
    .family__img { display: block; width: min(640px, 100%); margin: 16px auto 0; height: auto; aspect-ratio: 702 / 600; object-fit: cover; object-position: 50% 30%; filter: saturate(.78) contrast(.84) brightness(1.06) sepia(.06); -webkit-mask-image: radial-gradient(ellipse 52% 62% at 50% 56%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 52% 62% at 50% 56%, #000 62%, transparent 100%); margin-bottom: -40px; }
