/* ==========================================================================
   v3 — new navigation (desktop mega-menus, mobile tab bar + photo sheets),
   a distinct mobile layout, and page-wide scroll animation.
   Mobile = max-width 820px. Everything honours calm motion / reduced motion.
   ========================================================================== */
.m-only { display: none; }
@media (max-width: 820px) { .d-only { display: none !important; } .m-only { display: block; } }

/* ---------------------------------------------------------------- header */
.site-header .nav-bar { position: relative; }
.dnav { display: none; align-items: center; gap: 2px; position: static; }
.dd { position: static; }
.dd-btn { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 1rem; border: 0; border-radius: var(--r-pill); background: transparent; font: inherit; font-weight: 600; color: var(--c-ink-2); cursor: pointer; white-space: nowrap; transition: background var(--dur-normal) var(--ease-standard), color var(--dur-normal), transform var(--dur-fast); }
.dd-btn:hover, .dd.is-open .dd-btn { background: rgba(15, 118, 110, .1); color: var(--c-teal-800); }
.dd-btn:active { transform: scale(.96); }
.dd.has-current .dd-btn { color: var(--c-teal-800); background: var(--c-teal-100); }
.dd-btn .chev { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-normal) var(--ease-standard); }
.dd.is-open .chev { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 6px); right: clamp(.5rem, 2vw, 1.25rem); width: min(41rem, calc(100vw - 2rem)); padding: var(--s-5); border-radius: var(--r-lg); background: var(--material-bg-strong); -webkit-backdrop-filter: var(--material-blur); backdrop-filter: var(--material-blur); border: 1px solid var(--c-line); box-shadow: var(--shadow-3); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.985); transform-origin: top right; transition: opacity var(--dur-normal) var(--ease-standard), transform var(--dur-moderate) var(--ease-decelerate), visibility 0s linear var(--dur-moderate); }
.dd.is-open .dd-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd-intro { margin: 0 0 var(--s-4); color: var(--c-ink-3); font-size: var(--t-small); }
.dd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.dd-item { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2); border-radius: var(--r-md); text-decoration: none; color: var(--c-ink); transition: background var(--dur-normal) var(--ease-standard), transform var(--dur-fast); }
.dd-item:hover, .dd-item[aria-current="page"] { background: var(--c-teal-100); }
.dd-item:active { transform: scale(.98); }
.dd-img { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 16px; overflow: hidden; background: var(--c-teal-100); }
.dd-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-slow) var(--ease-decelerate); }
.dd-item:hover .dd-img img { transform: scale(1.12); }
.dd-txt b { display: block; font-size: 1rem; } .dd-txt small { display: block; color: var(--c-ink-3); font-size: var(--t-micro); }
.dd-n3 .dd-item:last-child:nth-child(odd), .dd-n5 .dd-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dd-panel .dd-item { opacity: 0; transform: translateY(6px); }
.dd.is-open .dd-item { opacity: 1; transform: none; transition: opacity var(--dur-moderate) var(--ease-decelerate), transform var(--dur-moderate) var(--ease-decelerate), background var(--dur-normal); transition-delay: calc(60ms + var(--n, 0) * 30ms); }
.dd-item:nth-child(2) { --n: 1; } .dd-item:nth-child(3) { --n: 2; } .dd-item:nth-child(4) { --n: 3; } .dd-item:nth-child(5) { --n: 4; }

.btn.header-cta { display: none; }
.m-actions { display: flex; gap: 8px; }
.m-round { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-ink); cursor: pointer; text-decoration: none; transition: transform var(--dur-fast) var(--ease-standard), background var(--dur-normal); }
.m-round:active { transform: scale(.9); }
.m-round .icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-actions .m-round:first-child { background: var(--c-teal-700); color: #fff; border-color: transparent; }
@media (min-width: 821px) { .dnav { display: flex; } .btn.header-cta { display: inline-flex; } .m-actions { display: none; } .tabbar, .msheet, .msheet-backdrop { display: none !important; } }

/* ---------------------------------------------------------------- tab bar + sheets (mobile) */
.tabbar { position: fixed; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 6px; border-radius: 30px; background: var(--material-bg-strong); -webkit-backdrop-filter: var(--material-blur); backdrop-filter: var(--material-blur); border: 1px solid var(--c-line); box-shadow: 0 12px 40px rgba(6, 47, 44, .22); transform: translateY(calc(100% + 28px)); opacity: 0; pointer-events: none; transition: transform var(--dur-slow) var(--ease-spring), opacity var(--dur-moderate) var(--ease-standard); }
.has-tabbar .tabbar { transform: none; opacity: 1; pointer-events: auto; }
.tab { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 56px; border: 0; background: transparent; border-radius: 24px; font: inherit; font-size: .72rem; font-weight: 700; color: var(--c-ink-3); text-decoration: none; cursor: pointer; transition: background var(--dur-normal) var(--ease-standard), color var(--dur-normal), transform var(--dur-fast) var(--ease-standard); }
.tab:active { transform: scale(.9); }
.tab .icon { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tab.is-active { background: var(--c-teal-100); color: var(--c-teal-800); }
.tab[data-sheet="talk"] { color: #fff; background: var(--c-teal-700); }
.tab[aria-expanded="true"] { background: var(--c-teal-800); color: #fff; }

.msheet-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(6, 47, 44, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity var(--dur-moderate) var(--ease-standard); }
.msheet-backdrop.is-open { opacity: 1; }
.msheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-height: 88svh; display: flex; flex-direction: column; background: var(--c-paper); border-radius: 30px 30px 0 0; box-shadow: 0 -20px 60px rgba(6, 47, 44, .3); transform: translateY(105%); transition: transform var(--dur-slow) var(--ease-decelerate); padding-bottom: max(16px, env(safe-area-inset-bottom)); touch-action: none; will-change: transform; }
.msheet.is-open { transform: translateY(var(--dy, 0px)); }
.msheet.is-dragging { transition: none; }
.msheet--full { max-height: 94svh; }
.msheet-grab { width: 44px; height: 5px; border-radius: 5px; background: var(--c-line); margin: 10px auto 2px; flex: none; }
.msheet-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) var(--s-5) var(--s-4); }
.msheet-head h2 { margin: 0; font-size: 1.6rem; } .msheet-head p { margin: 2px 0 0; color: var(--c-ink-3); font-size: var(--t-small); }
.msheet-tiles { padding: 0 var(--s-5) var(--s-4); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.msheet-scroll { padding: 0 0 var(--s-4); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.mtile { position: relative; display: block; min-height: 9.5rem; border-radius: 24px; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff; background: var(--c-teal-800); }
.msheet-tiles .mtile:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 8rem; }
.mtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--dur-deliberate) var(--ease-decelerate); }
.mtile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 47, 44, .05) 30%, rgba(6, 47, 44, .85)); }
.mtile:active img { transform: scale(1.06); } .mtile:active { transform: scale(.97); }
.mtile-txt { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 1px; } .mtile-txt b { font-size: 1.02rem; line-height: 1.2; } .mtile-txt small { color: #d7f1ed; font-size: .78rem; }
.mtile-go { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--c-teal-800); } .mtile-go .icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mtile[aria-current="page"] { outline: 3px solid var(--c-sun-500); outline-offset: -3px; }
.msheet .mtile, .msheet .mtalk > * { opacity: 0; transform: translateY(28px) scale(.94); }
.msheet.is-open .mtile, .msheet.is-open .mtalk > * { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease-decelerate), transform var(--dur-slow) var(--ease-spring); transition-delay: calc(140ms + var(--i, 0) * 55ms); }
.mrow-title { display: flex; align-items: center; gap: .5rem; margin: var(--s-4) var(--s-5) var(--s-2); font-size: 1.05rem; font-family: var(--f-sans); } .mrow-title .icon { width: 1.2rem; height: 1.2rem; fill: none; stroke: var(--c-teal-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mrow { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px var(--s-5) var(--s-2); scrollbar-width: none; } .mrow::-webkit-scrollbar { display: none; }
.mrow .mtile { flex: 0 0 58vw; max-width: 15rem; min-height: 10.5rem; scroll-snap-align: start; }
.mcall { display: grid; grid-template-columns: 4.2rem 1fr auto; align-items: center; gap: var(--s-3); margin: var(--s-5) var(--s-5) 0; padding: var(--s-3); border-radius: 22px; background: var(--c-teal-800); color: #fff; text-decoration: none; }
.mcall b { display: block; } .mcall small { color: var(--c-teal-100); } .mcall .icon { width: 1.2rem; height: 1.2rem; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mcall-img { width: 4.2rem; height: 4.2rem; border-radius: 16px; overflow: hidden; } .mcall-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mtalk { padding: 0 var(--s-5) var(--s-4); display: grid; gap: 12px; overflow-y: auto; }
.mtalk-hero { position: relative; display: flex; align-items: end; min-height: 11rem; border-radius: 26px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; padding: var(--s-4); }
.mtalk-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; z-index: -2; }
.mtalk-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 47, 44, 0) 20%, rgba(6, 47, 44, .9)); }
.mtalk-hero small { display: block; color: var(--c-teal-100); } .mtalk-hero b { font-size: 1.5rem; letter-spacing: -.02em; }
.mtalk-hero i { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--c-sun-500); color: #2a1c00; display: grid; place-items: center; } .mtalk-hero i .icon { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.2; }
.mtalk-btn { display: flex; align-items: center; gap: var(--s-3); min-height: 64px; padding: var(--s-3) var(--s-4); border-radius: 20px; background: var(--c-white); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); }
.mtalk-btn .icon { flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--c-teal-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .mtalk-btn b { display: block; } .mtalk-btn small { color: var(--c-ink-3); }
body.sheet-open { overflow: hidden; }

/* ---------------------------------------------------------------- scroll animation (all pages) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--c-teal-500), var(--c-sun-500), var(--c-coral-500)); pointer-events: none; }
.js [data-reveal][data-anim="left"] { transform: translateX(-56px); }
.js [data-reveal][data-anim="right"] { transform: translateX(56px); }
.js [data-reveal][data-anim="zoom"] { transform: translateY(24px) scale(.92); }
.js [data-reveal][data-anim="rise"] { transform: translateY(46px); }
.js [data-reveal][data-anim].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-anim] { transition-property: opacity, transform; transition-duration: var(--dur-deliberate), var(--dur-deliberate); transition-timing-function: var(--ease-decelerate); }
.js .ph[data-mask] img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-decelerate); }
.js .ph[data-mask].is-in img { clip-path: inset(0 0 0 0); }
.ph[data-par] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); will-change: transform; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.js .float-card.is-live { animation: floaty 4.5s ease-in-out infinite alternate; } .js .float-card.b.is-live { animation-delay: -2s; }
.section-head h2 { position: relative; }
.js .section-head [data-reveal].is-in.eyebrow::before { transform-origin: left; }
.tile img, .path .ph img, .act .ph img { will-change: transform; }
:root[data-calm="on"] .float-card.is-live, :root[data-calm="on"] .mhero-bg img { animation: none; }
@media (prefers-reduced-motion: reduce) { .float-card.is-live, .mhero-bg img { animation: none !important; } .msheet, .tabbar, .dd-panel { transition-duration: 1ms; } .msheet .mtile, .msheet .mtalk > *, .dd-panel .dd-item { transition: none; opacity: 1; transform: none; } }
:root[data-calm="on"] .msheet, :root[data-calm="on"] .tabbar { transition-duration: 1ms; }
:root[data-calm="on"] .msheet .mtile, :root[data-calm="on"] .msheet .mtalk > *, :root[data-calm="on"] .dd-panel .dd-item { transition: none; opacity: 1; transform: none; }

/* ==========================================================================
   MOBILE — its own layout: photo-first, swipeable, app-like
   ========================================================================== */
@media (max-width: 820px) {
  :root { --t-display: clamp(2.1rem, 1.5rem + 5vw, 2.8rem); }
  body { padding-bottom: 96px; }
  .site-header { background: var(--material-bg-strong); }
  .brand small { display: none; } .brand { font-size: 1.15rem; } .brand svg { width: 34px; height: 34px; }
  .container { padding-inline: 20px; }
  .section { padding-block: 3.25rem; } .section--tight { padding-block: 2rem; }
  .btn-row { gap: 10px; } .btn-row .btn { flex: 1 1 100%; justify-content: center; }

  /* sticky helpers sit above the tab bar */
  .comfort, .chat { left: auto; right: max(14px, env(safe-area-inset-right)); opacity: 0; pointer-events: none; z-index: 60; transition: transform var(--dur-slow) var(--ease-spring), opacity var(--dur-moderate) var(--ease-standard); }
  .comfort { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 138px); }
  .chat { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 78px); }
  .has-tabbar .comfort, .has-tabbar .chat { opacity: 1; pointer-events: auto; }
  .comfort-btn, .chat-btn { width: 46px !important; min-height: 46px !important; height: 46px; padding: 0 !important; justify-content: center; }
  .comfort-panel { left: auto; right: 0; transform-origin: bottom right; }
  body.sheet-open .comfort, body.sheet-open .chat { opacity: 0; pointer-events: none; }

  /* page heroes: photo banner with the title over it */
  .page-hero.has-img { position: relative; isolation: isolate; min-height: 56svh; display: flex; align-items: flex-end; padding: 6rem 0 2rem; border-radius: 0 0 34px 34px; overflow: hidden; background: var(--c-teal-900); }
  .page-hero.has-img .page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 16s ease-in-out infinite alternate; }
  .page-hero.has-img::before { display: none; }
  .page-hero.has-img::after { content: ""; position: absolute; width: auto; height: auto; border-radius: 0; opacity: 1; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 47, 44, .15) 0%, rgba(6, 47, 44, .55) 45%, rgba(6, 47, 44, .92) 100%); }
  .page-hero.has-img .crumbs { display: none; }
  .page-hero.has-img h1 { max-width: none; color: #fff; font-size: clamp(1.8rem, 1.3rem + 4vw, 2.4rem); line-height: 1.1; }
  .page-hero.has-img .lead { color: #e6f6f3; font-size: 1rem; }
  .page-hero.has-img .btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }
  .page-hero.has-img > .container { width: 100%; }

  /* grids become swipe rails */
  .grid--2, .grid--3, .grid--4, .acts, .mosaic { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 6px 20px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .grid--2::-webkit-scrollbar, .grid--3::-webkit-scrollbar, .grid--4::-webkit-scrollbar, .acts::-webkit-scrollbar, .mosaic::-webkit-scrollbar { display: none; }
  .grid--2 > *, .grid--3 > *, .grid--4 > *, .acts > * { flex: 0 0 84%; max-width: 22rem; scroll-snap-align: center; }
  .mosaic .tile, .mosaic .tile.wide { flex: 0 0 74%; min-height: 21rem; scroll-snap-align: center; grid-column: auto; }
  .acts .act, .acts .act:nth-child(n+4) { grid-column: auto; }
  .reasons { grid-template-columns: minmax(0, 1fr); gap: 10px; } .reason { padding: var(--s-4); border-radius: 22px; }
  .explorer { display: none; }
  .stats { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 4px 20px 8px; scrollbar-width: none; } .stats::-webkit-scrollbar { display: none; }
  .stats .stat { flex: 0 0 62%; scroll-snap-align: start; }
  .getband { border-radius: 28px; } .news { border-radius: 28px; padding: 1.5rem; }
  .cta-band { border-radius: 28px; }

  /* footer: brand + contact only; navigation lives in the tab bar */
  .footer-grid > div:not(.brand-col) { display: none; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: left; }

  /* ---- home: full-bleed photo hero ---- */
  .mhero { position: relative; isolation: isolate; min-height: calc(100svh - 70px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; border-radius: 0 0 36px 36px; background: var(--c-teal-900); }
  .mhero-bg { position: absolute; inset: 0; z-index: -1; }
  .mhero-bg img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, calc(var(--mp, 0) * 1px), 0) scale(1.12); animation: kenburns 18s ease-in-out infinite alternate; transition: opacity var(--dur-slow); }
  .mhero-bg img.is-fading { opacity: 0; }
  .mhero-bg i { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 47, 44, .25) 0%, rgba(6, 47, 44, .35) 30%, rgba(6, 47, 44, .92) 78%); }
  .mhero-body { width: 100%; padding: 5rem 20px 2rem; display: grid; gap: 14px; }
  .mhero-eyebrow { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-sun-300); }
  .mhero h1 { margin: 0; color: #fff; font-size: var(--t-display); line-height: 1.04; letter-spacing: -.03em; }
  .mhero-lead { margin: 0; color: #e6f6f3; font-size: 1.05rem; }
  .mhero-chips { display: flex; gap: 8px; }
  .mhero-chips button { flex: 1; min-height: 46px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background var(--dur-normal), color var(--dur-normal), transform var(--dur-fast); }
  .mhero-chips button:active { transform: scale(.95); }
  .mhero-chips button[aria-selected="true"] { background: #fff; color: var(--c-teal-900); border-color: transparent; }
  .mhero-line { margin: 0; min-height: 4.2em; color: #fff; font-size: 1.05rem; transition: opacity var(--dur-fade) linear; } .mhero-line.is-swapping { opacity: 0; }
  .mhero-cta { width: 100%; justify-content: center; min-height: 56px; font-size: 1.05rem; }
  .mhero-cue { display: none; }
  [data-m] { animation: mrise var(--dur-deliberate) var(--ease-decelerate) both; }
  [data-m="0"] { animation-delay: 80ms; } [data-m="1"] { animation-delay: 160ms; } [data-m="2"] { animation-delay: 240ms; } [data-m="3"] { animation-delay: 320ms; } [data-m="4"] { animation-delay: 400ms; } [data-m="5"] { animation-delay: 480ms; }
  .mquick { padding-block: 2.75rem; }
  .mquick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: var(--s-5); }
  .mq { position: relative; aspect-ratio: 1 / 1.08; border-radius: 26px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; display: flex; align-items: flex-end; }
  .mq:nth-child(2), .mq:nth-child(3) { aspect-ratio: 1 / 1.2; } .mq:nth-child(odd) { margin-top: 0; } .mq:nth-child(even) { margin-top: 18px; }
  .mq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; } .mq::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 47, 44, 0) 35%, rgba(6, 47, 44, .88)); }
  .mq span { padding: 12px 14px; display: grid; } .mq b { line-height: 1.2; } .mq small { color: #d7f1ed; font-size: .78rem; }
  .mq:active { transform: scale(.97); }
  .mcore .container { margin-bottom: var(--s-4); }
  .mcar { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 14px; scrollbar-width: none; overscroll-behavior-x: contain; } .mcar::-webkit-scrollbar { display: none; }
  .mcard { flex: 0 0 82%; scroll-snap-align: center; background: var(--c-white); border: 1px solid var(--c-line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-1); align-self: flex-start; }
  .mcard-img { aspect-ratio: 4 / 3; overflow: hidden; } .mcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .mcard-body { padding: var(--s-5); display: grid; gap: 8px; justify-items: start; } .mcard-body .card-icon { margin: -2.2rem 0 0; box-shadow: var(--shadow-2); border: 3px solid var(--c-white); } .mcard-body h3 { margin: 0; font-size: 1.2rem; } .mcard-body p { margin: 0; color: var(--c-ink-2); font-size: var(--t-small); }
  .mcard .clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .mcard.open .clamp { display: block; }
  .mcard-more { min-height: 44px; padding: 0; border: 0; background: none; color: var(--c-teal-700); font: inherit; font-weight: 700; cursor: pointer; }
  .mcar-dots { display: flex; justify-content: center; gap: 6px; margin: 0; } .mcar-dots i { width: 7px; height: 7px; border-radius: 7px; background: var(--c-line); transition: width var(--dur-moderate) var(--ease-standard), background var(--dur-normal); } .mcar-dots i.on { width: 22px; background: var(--c-teal-700); }
  .hero-stage { min-height: 22rem !important; }
  .split { gap: 1.5rem; }
  .ph--hero, .ph--wide { border-radius: 28px; }
  .quiz { border-radius: 28px; } .ex-panel { border-radius: 28px; }
  .faq-tools { position: sticky; top: 64px; z-index: 5; background: var(--c-paper); padding-block: 8px; margin-inline: -20px; padding-inline: 20px; }
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes mrise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 820px) { .mhero-bg img { animation-name: kenburnsP; } @keyframes kenburnsP { from { scale: 1; } to { scale: 1.08; } } }
@media (prefers-reduced-motion: reduce) { [data-m] { animation: none; } .page-hero.has-img .page-hero-img { animation: none; } }
:root[data-calm="on"] [data-m], :root[data-calm="on"] .page-hero-img { animation: none; }
@media (min-width: 821px) { .page-hero-img { display: none; } }

/* sideways reveals must never create a horizontal scrollbar */
main { overflow-x: clip; }
