/* =========================================================
   شاهان گرماب — style.css
   Direction: sky-to-water blue (brief references: Aquafina hero,
   Nike product showcase). Gradients are part of the brief here.
   ========================================================= */

@font-face {
  font-family: "Kalameh";
  src: local("Kalameh"), local("Kalameh Regular"), local("KalamehWeb");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-wght.woff2") format("woff2-variations"),
       url("../fonts/vazirmatn/Vazirmatn-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sky-1: #1B44C4;
  --sky-2: #2F7BE3;
  --sky-3: #8FCBF2;
  --sky-4: #EAF6FD;
  --bg: #F2F8FC;
  --paper: #FFFFFF;
  --ink: #0A1F3D;
  --ink-soft: #3B5373;
  --accent: #1E5FD8;
  --accent-deep: #123E9C;
  --accent-ink: #FFFFFF;
  --deep: #0A2A5C;
  --deep-2: #0D3A7A;
  --on-deep: #EEF5FF;
  --on-deep-soft: #B7CBEA;
  --aqua: #4FB6F0;
  --layers-bg: #9BA3B6;
  --tint: #CFE7F1;

  --font: "Kalameh", "Vazirmatn", Tahoma, sans-serif;
  --s-small: clamp(0.95rem, 0.9rem + 0.15vw, 1.0625rem);
  --s-body: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3rem);
  --s-lead: clamp(1.3rem, 1.1rem + 0.85vw, 1.9rem);
  --s-head: clamp(2.2rem, 1.4rem + 3.2vw, 4.5rem);
  --s-display: clamp(3rem, 1.2rem + 5.2vw, 7.2rem);

  --m: clamp(18px, 4vw, 64px);
  --bar-h: 4.5rem;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-liquid: cubic-bezier(.65, .05, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--accent) var(--bg); accent-color: var(--accent); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--s-body); line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .35em; }
button { font: inherit; color: inherit; }
h2, h3 { line-height: 1.25; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
svg { flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 3.25rem; padding: 0 1.625rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent);
  font-weight: 600; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
/* liquid fill on hover */
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: var(--accent-deep); transform: translateY(102%);
  transition: transform .55s var(--ease-liquid), border-radius .55s var(--ease-liquid);
  border-radius: 40% 40% 0 0 / 30% 30% 0 0;
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover svg { transform: translateX(-4px); }
.btn:active { transform: scale(.96); }
.btn--small { min-height: 2.625rem; padding: 0 1.125rem; font-size: var(--s-small); direction: ltr; }
.btn--light { background: #fff; color: var(--accent-deep); border-color: #fff; }
.btn--light::before { background: var(--sky-4); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost::before { background: var(--accent); }
.btn--ghost:hover { color: #fff; }
.btn--wide { flex: 1 1 200px; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; display: inline-flex; min-height: 44px; align-items: center; transition: text-underline-offset .3s var(--ease), color .2s; }
.link:hover { text-underline-offset: .6em; }
.link--light { color: #fff; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; align-content: center; gap: 12px;
  background: var(--sky-1); color: #fff; transition: opacity .45s ease, visibility 0s linear .45s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.no-js .loader, html:not(.js) .loader { display: none; }
.loader { /* taste-skill-ignore: sky behind the question, same as the hero */ background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 70%, #4F9BEA); }
.loader__run { display: none; place-items: center; gap: 12px; }
.loader.is-running .loader__run { display: grid; animation: run-in .7s var(--ease) both; }
.loader.is-running .choose { display: none; }
@keyframes run-in { from { opacity: 0; transform: scale(.94); } }

/* while the question is on screen the page underneath must not scroll */
html.choosing, html.choosing body { overflow: hidden; }

/* ---------- Phone or computer? ---------- */
.choose { display: grid; justify-items: center; gap: 1.25rem; padding: 24px 20px; width: min(100%, 46rem); text-align: center; }
.choose__brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 800; opacity: .9; animation: ch-up .8s var(--ease) both; }
.choose__brand svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.choose__q { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.8rem); font-weight: 800; line-height: 1.35; text-wrap: balance; animation: ch-up .8s .08s var(--ease) both; }
.choose__opts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2.5vw, 28px); width: 100%; margin-top: .5rem; }
.choose__opt {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 6px;
  padding: 2rem 1rem 1.5rem; border-radius: 28px; border: 2px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s, opacity .5s;
  animation: ch-up .9s var(--ease) both;
}
.choose__opt:nth-child(1) { animation-delay: .18s; }
.choose__opt:nth-child(2) { animation-delay: .28s; }
.choose__opt:hover, .choose__opt:focus-visible { transform: translateY(-6px); background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
.choose__opt:active { transform: scale(.97); }
.choose__opt.is-suggested { border-color: #fff; background: rgba(255,255,255,.2); }
/* no answer in a few seconds = the suggested version opens by itself; the bar shows the time left */
.choose__opt.is-suggested::after { content: ""; position: absolute; inset-inline: 24%; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.9); transform: scaleX(0); transform-origin: right; opacity: 0; }
.choose.is-auto .choose__opt.is-suggested::after { opacity: 1; animation: ch-auto var(--auto, 5s) linear forwards; }
@keyframes ch-auto { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .choose.is-auto .choose__opt.is-suggested::after { animation: none; opacity: 0; } }
.choose__badge { position: absolute; top: -.85rem; inset-inline: 0; margin-inline: auto; width: max-content; padding: 2px 12px; border-radius: 999px; background: #fff; color: var(--accent-deep); font-size: .8rem; font-weight: 800; }
.choose__name { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); font-weight: 800; margin-top: .5rem; }
.choose__sub { font-size: .9rem; color: rgba(255,255,255,.82); line-height: 1.6; }
.choose__note { font-size: .88rem; color: rgba(255,255,255,.75); animation: ch-up .8s .4s var(--ease) both; }
@keyframes ch-up { from { opacity: 0; transform: translateY(26px); } }

/* the device drawings: water sloshing in the screen, rising on hover, filling on pick */
.dev { height: clamp(6.5rem, 18vw, 9rem); width: auto; overflow: visible; }
.dev__body { fill: #0B2A63; }
.dev__screen { fill: #DFF2FF; }
.dev__notch { fill: #0B2A63; }
.dev__stand { fill: #0B2A63; stroke: #0B2A63; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dev__water { fill: #3FA6EC; transform: translateY(78px); transition: transform .9s var(--ease-liquid); }
.dev--desk .dev__water { transform: translateY(66px); }
.dev__water path { animation: slosh 2.4s linear infinite; }
@keyframes slosh { to { transform: translateX(70px); } }
.choose__opt:hover .dev--phone .dev__water, .choose__opt:focus-visible .dev--phone .dev__water { transform: translateY(58px); }
.choose__opt:hover .dev--desk .dev__water, .choose__opt:focus-visible .dev--desk .dev__water { transform: translateY(46px); }
.choose__opt.is-picked .dev__water { transform: translateY(-14px) !important; }
/* after the pick: the chosen card grows, the other one sinks away, then everything lifts off */
.choose.is-picked .choose__opt:not(.is-picked) { opacity: 0; transform: translateY(40px) scale(.9); pointer-events: none; }
.choose.is-picked .choose__opt.is-picked { transform: translateX(var(--dx, 0px)) scale(1.08); background: rgba(255,255,255,.24); border-color: #fff; }
.choose.is-picked .choose__q, .choose.is-picked .choose__note, .choose.is-picked .choose__brand { opacity: 0; transform: translateY(-16px); transition: opacity .4s .45s, transform .5s .45s var(--ease); }
.choose.is-picked { animation: ch-off .5s .55s var(--ease-liquid) forwards; }
@keyframes ch-off { to { opacity: 0; transform: scale(1.12); filter: blur(4px); } }

/* computer visitor who picked "phone": the real phone edition inside a phone */
.staged body > *:not(.stage) { display: none !important; }
.staged body { background: var(--deep); }
/* A fixed 1200×900 scene (px only, no rem/vw) scaled as one piece by --k = min(vw/1200, vh/900):
   identical proportions on a laptop, a 4K screen or a zoomed-out browser. */
.stage {
  position: fixed; inset: 0; overflow: hidden; color: #fff; opacity: 0; transition: opacity .7s;
  /* taste-skill-ignore: same sky as the hero */ background: linear-gradient(160deg, var(--sky-1), var(--deep) 70%);
}
.stage.is-in { opacity: 1; }
.stage__in {
  position: absolute; left: 50%; top: 50%; width: 1200px; height: 900px;
  display: flex; align-items: center; justify-content: center; gap: 96px; font-size: 18px;
  transform: translate(-50%, -50%) scale(calc(var(--k, 1) * .97)); transform-origin: 50% 50%;
  transition: transform .9s var(--ease);
}
.stage:not(.is-in) .stage__in { transform: translate(-50%, calc(-50% + 20px)) scale(calc(var(--k, 1) * .97)); }
.stage__side { width: 420px; }
.stage__brand { font-weight: 800; color: var(--aqua); font-size: 18px; }
.stage__title { font-size: 64px; font-weight: 800; line-height: 1.2; margin-top: 6px; }
.stage__text { margin-top: 14px; color: var(--on-deep-soft); line-height: 1.9; font-size: 18px; }
.stage__btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; margin-top: 26px; border-radius: 999px; background: #fff; color: var(--accent-deep); font-weight: 800; font-size: 17px; text-decoration: none; transition: transform .3s var(--ease); }
.stage__btn:hover { transform: translateY(-3px); }
.stage__phone { flex: none; width: 414px; height: 860px; padding: 12px; border-radius: 56px; background: #050F24; box-shadow: 0 0 0 2px #28406E, 0 40px 80px rgba(0,0,0,.45); position: relative; }
.stage__phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 96px; height: 26px; margin-left: -48px; border-radius: 20px; background: #050F24; z-index: 2; }
/* phone edition: no desktop scrollbar (phones use their own thin overlay); it ate the side of the phone frame */
html.m, html.embed { scrollbar-width: none; }
html.m::-webkit-scrollbar, html.embed::-webkit-scrollbar { display: none; }
/* inside the phone frame: keep the header clear of the camera notch */
.embed .bar { padding-top: 22px; height: calc(var(--bar-h) + 22px); }
.embed .bar__nav { padding-top: calc(var(--bar-h) + 46px); }
.embed.m .hero__copy { top: calc(var(--bar-h) + 30px); }
.stage__phone iframe { width: 100%; height: 100%; border: 0; border-radius: 44px; background: var(--bg); display: block; }
.loader__name { position: relative; font-size: clamp(3rem, 12vw, 9rem); font-weight: 800; line-height: 1.3; }
.loader__ghost { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.45); }
.loader__fill {
  position: absolute; inset: 0; color: #fff;
  clip-path: inset(calc(100% - var(--fill, 0%)) 0 0 0);
  transition: clip-path .4s var(--ease);
}
.loader__pct { font-size: var(--s-body); color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; }

/* ---------- Liquid page transition ---------- */
.liquid { position: fixed; inset: 0; z-index: 400; pointer-events: none; display: none; }
.liquid.is-active { display: block; }
.liquid svg { width: 100%; height: 100%; display: block; }
.liquid path { fill: var(--accent); }

/* ---------- Bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--bar-h); color: #fff; transition: background-color .4s, color .4s, transform .5s var(--ease); }
.bar.is-solid { background: rgba(242, 248, 252, .96); color: var(--ink); }
.bar.is-hidden { transform: translateY(-100%); }
.bar__inner { height: 100%; padding-inline: var(--m); display: flex; align-items: center; gap: 1.75rem; }
.bar__mark { display: inline-flex; align-items: center; gap: 8px; font-size: 1.45rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.bar__drop { width: 1.375rem; height: 1.375rem; fill: currentColor; }
/* header lockup: crown mark + name.
   - crown only (the logo's tiny lettering is unreadable at this size), in the exact colour of the name
   - logo-mark-sm.png is the small-size cut: strokes grown ~4px at source so their weight matches the bold name
     (the full logo.png stays untouched for large uses)
   - sized in em so mark and name scale together on any screen; 1.7em ≈ the name's full line height,
     nudged up a hair because the crown's visual weight sits low */
.bar__mark { gap: .5em; }
.bar__logo { width: calc(1.7em * 1.433); height: 1.7em; flex: none; background: currentColor; transform: translateY(-.06em);
  -webkit-mask: url("../assets/logo-mark-sm.png") center / contain no-repeat; mask: url("../assets/logo-mark-sm.png") center / contain no-repeat; }
.bar__nav { display: flex; gap: 1.625rem; margin-inline-start: auto; }
.bar__nav a { position: relative; font-size: var(--s-small); font-weight: 600; text-decoration: none; padding-block: 10px; }
.bar__nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 2px; background: currentColor; border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.bar__nav a:hover::after, .bar__nav a[aria-current="true"]::after { transform: scaleX(1); }
/* ---------- English wordmark + live water emblem ---------- */
.emblem {
  --em-top: #FFFFFF; --em-mid: #9FDBFF; --em-low: #4FB6F0; --em-gold: #F1C76A;
  display: inline-flex; align-items: center; gap: .875rem; text-decoration: none; color: inherit; direction: ltr;
  padding: 6px 4px; border-radius: 12px;
}
.bar.is-solid .emblem { --em-top: #8FD3FF; --em-mid: #3D97EA; --em-low: #123E9C; --em-gold: #C9982F; }
.emblem__icon { position: relative; display: inline-flex; align-items: center; gap: .25rem; height: 2.5rem; }
.emblem__icon i {
  display: block; width: .3125rem; border-radius: 3px; height: var(--h);
  background: linear-gradient(180deg, /* taste-skill-ignore: water column fill is the emblem */ var(--em-top), var(--em-mid) 45%, var(--em-low));
  transform-origin: 50% 100%; animation: em-wave 1.8s ease-in-out infinite; animation-delay: var(--d);
}
.emblem__icon i:nth-child(1) { --h: .375rem;  --d: 0s;   width: .375rem; border-radius: 2px; }
.emblem__icon i:nth-child(2) { --h: 1.125rem; --d: -.15s; }
.emblem__icon i:nth-child(3) { --h: 2.06rem; --d: -.3s; }
.emblem__icon i:nth-child(4) { --h: 1.44rem; --d: -.45s; }
.emblem__icon i:nth-child(5) { --h: 2.06rem; --d: -.6s; }
.emblem__icon i:nth-child(6) { --h: 1.125rem; --d: -.75s; }
.emblem__icon i:nth-child(7) { --h: .375rem;  --d: -.9s;  width: .375rem; border-radius: 2px; }
.emblem__icon i { align-self: flex-end; margin-bottom: 3px; }
@keyframes em-wave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1.08); } }
/* a drop falls into the centre column and sends out a ring */
.emblem__drop {
  position: absolute; left: 50%; top: -4px; width: 7px; height: 9px; margin-left: -3.5px;
  background: var(--em-gold); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  animation: em-drop 2.6s cubic-bezier(.55, 0, .9, .45) infinite;
}
.emblem__ring {
  position: absolute; left: 50%; bottom: 0; width: 34px; height: 6px; margin-left: -17px; border-radius: 50%;
  border: 1.5px solid var(--em-gold); opacity: 0; animation: em-ring 2.6s ease-out infinite;
}
@keyframes em-drop { 0% { transform: translateY(-6px) scale(.7); opacity: 0; } 15% { opacity: 1; } 42% { transform: translateY(12px) scale(1); opacity: 1; } 48%, 100% { transform: translateY(14px) scale(.3); opacity: 0; } }
@keyframes em-ring { 0%, 44% { transform: scale(.2); opacity: 0; } 50% { opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.emblem__word { display: inline-flex; align-items: baseline; gap: .55em; font-size: 1.0625rem; line-height: 1; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
.emblem__a { font-weight: 300; opacity: .9; }
.emblem__b { font-weight: 600; display: inline-flex; align-items: baseline; }
.emblem__glyph { width: .78em; height: 1em; margin-inline: .02em .34em; transform: translateY(.07em); overflow: visible; }
.emblem__gold { fill: var(--em-gold); transform-origin: 10px 17px; animation: em-bob 2.6s ease-in-out infinite; }
@keyframes em-bob { 0%, 40%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } 62% { transform: scale(.95); } }
.emblem:hover .emblem__icon i { animation-duration: .9s; }
.emblem:hover .emblem__gold { animation-duration: 1.3s; }
.bar__menu { display: none; width: 2.875rem; height: 2.875rem; padding: 0; border-radius: 50%; background: rgba(255,255,255,.18); border: 0; cursor: pointer; place-items: center; transition: background-color .3s, transform .2s; }
.bar__menu:active { transform: scale(.92); }
.bar.is-solid .bar__menu { background: var(--ink); color: #fff; }
.burger { position: relative; display: block; width: 1.25rem; height: .875rem; }
.burger i { position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), opacity .25s, width .45s var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: calc(50% - 1px); width: 70%; }
.burger i:nth-child(3) { bottom: 0; }
.menu-open .burger i:nth-child(1) { transform: translateY(.375rem) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .burger i:nth-child(3) { transform: translateY(-.375rem) rotate(-45deg); }
.nav__foot, .dock { display: none; }
.foot__view { margin-top: 22px; text-align: center; }
.foot__law { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); text-align: center; font-size: var(--s-small); color: var(--on-deep-soft); }

/* Maker credit: AY monogram draws itself on first view, a light orbits the ring, a glint sweeps the name */
.maker { display: flex; align-items: center; justify-content: center; gap: .6em; margin-top: 18px; font-size: var(--s-small); color: var(--on-deep-soft); }
.maker__mark { width: 2.6em; height: 2.6em; flex: none; overflow: visible; }
.maker__mark :is(.maker__ring, .maker__a, .maker__y) { fill: none; stroke: url(#maker-g); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.maker__ring { stroke-width: 1.4 !important; opacity: .7; }
.maker__orbit { fill: #F5C97A; opacity: 0; transform-origin: 20px 20px; }
.maker__name { font-weight: 800; color: var(--on-deep); }
@media (prefers-reduced-motion: no-preference) {
  .maker__mark :is(.maker__ring, .maker__a, .maker__y) { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .maker.is-in .maker__ring { animation: maker-draw 1.1s cubic-bezier(.65,0,.35,1) forwards; }
  .maker.is-in .maker__a { animation: maker-draw .7s .45s cubic-bezier(.33,1,.68,1) forwards; }
  .maker.is-in .maker__y { animation: maker-draw .6s .9s cubic-bezier(.33,1,.68,1) forwards; }
  .maker.is-in .maker__orbit { animation: maker-fade .4s 1.3s forwards, maker-spin 5s 1.3s linear infinite; }
  .maker__mark { transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
  .maker:hover .maker__mark { transform: rotate(-12deg) scale(1.12); }
  .maker__txt { opacity: 0; transform: translateY(.4em); transition: opacity .6s .8s, transform .6s .8s cubic-bezier(.33,1,.68,1); }
  .maker.is-in .maker__txt { opacity: 1; transform: none; }
  .maker__name {
    background: linear-gradient(100deg, var(--on-deep) 40%, #7FE3FF 50%, #F5C97A 55%, var(--on-deep) 65%) 100% 0 / 250% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent; /* taste-skill-ignore: glint on maker name */
  }
  .maker.is-in .maker__name { animation: maker-glint 4.5s 1.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .maker__orbit { opacity: 1; } }
@keyframes maker-draw { to { stroke-dashoffset: 0; } }
@keyframes maker-fade { to { opacity: 1; } }
@keyframes maker-spin { to { transform: rotate(360deg); } }
@keyframes maker-glint { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0% 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; /* taste-skill-ignore: fallback */ height: 100svh; min-height: 640px; overflow: hidden; color: #fff; }
.hero__sky { position: absolute; inset: 0; /* taste-skill-ignore: sky gradient is the brief (Aquafina reference) */ background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 40%, var(--sky-3) 74%, var(--sky-4) 100%); }
.hero__bigword {
  position: absolute; inset-inline-end: 2vw; top: 50%; transform: translateY(-55%);
  width: 52vw; height: auto; pointer-events: none; user-select: none; overflow: visible;
}
.hero__bigword text { font-family: var(--font); font-size: 380px; font-weight: 900; fill: rgba(255,255,255,.09); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.hero__canvas:active { cursor: grabbing; }
.hero__copy { position: absolute; inset-inline-start: var(--m); top: calc(var(--bar-h) + 7vh); width: min(44rem, 46vw); z-index: 2; }
.hero__line { white-space: nowrap; }
.hero__title { font-size: var(--s-display); line-height: 1.12; font-weight: 800; letter-spacing: 0; }
.hero__line { display: block; }
.hero__line--b { font-weight: 300; color: #E3F3FF; }
.hero__lead { margin-top: 24px; font-size: var(--s-lead); line-height: 1.7; max-width: 32ch; color: rgba(255,255,255,.95); font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.hero__hint { position: absolute; inset-inline-end: var(--m); bottom: 26vh; display: flex; align-items: center; gap: 8px; font-size: var(--s-small); font-weight: 600; color: var(--accent-deep); }
.hero__hint svg, .showcase__hint svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.hero__clouds { position: absolute; inset: auto 0 0; height: 30vh; /* taste-skill-ignore: no-WebGL cloud fallback */ background: linear-gradient(0deg, #fff 10%, rgba(255,255,255,0)); pointer-events: none; }
.has-webgl .hero__clouds { display: none; }
.hero__tagline { position: absolute; inset-inline: 0; bottom: 6vh; text-align: center; color: var(--ink); font-size: var(--s-lead); font-weight: 600; padding-inline: var(--m); }

/* ---------- Layers (scroll-scrubbed video) ---------- */
.layers { position: relative; height: 600vh; background: var(--layers-bg); }
.layers__sticky { position: sticky; top: 0; height: 100vh; /* taste-skill-ignore: fallback */ height: 100svh; overflow: hidden; }
.layers__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-clip-path: url(#drop-clip); clip-path: url(#drop-clip); }
.layers__canvas.is-open { -webkit-clip-path: none; clip-path: none; }
.layers__defs { position: absolute; width: 0; height: 0; }
/* the falling drop and its splash */
.drop { position: absolute; left: 50%; top: 0; width: 5.5rem; margin-left: -2.75rem; z-index: 3; pointer-events: none; will-change: transform, opacity; }
.drop svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 24px rgba(10, 40, 110, .28)); /* taste-skill-ignore: the drop is falling, it floats */ }
.splash { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 2; pointer-events: none; }
.splash i { position: absolute; left: -60px; top: -18px; width: 120px; height: 36px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); opacity: 0; will-change: transform, opacity; }
.layers__dark { position: absolute; inset: 0; background: #07163A; opacity: 0; pointer-events: none; }
.marquee { position: absolute; inset-inline: 0; bottom: 4vh; overflow: hidden; pointer-events: none; }
.marquee__text { font-size: 12vw; font-weight: 900; line-height: 1.1; white-space: nowrap; color: rgba(255,255,255,.2); width: max-content; }
.ltext { position: absolute; top: 50%; transform: translateY(-50%); width: min(30rem, 32vw); color: var(--ink); }
.ltext--start { inset-inline-start: 5vw; }
.ltext--end { inset-inline-end: 5vw; }
.ltext__h { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.8rem); font-weight: 800; }
.ltext__p { margin-top: 18px; font-size: var(--s-lead); line-height: 1.7; }
.ltext .btn { margin-top: 28px; }
.js .ltext { opacity: 0; visibility: hidden; }
.ltext--stats { inset-inline: 0; width: auto; padding-inline: var(--m); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat p:first-child { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.stat__n { font-size: clamp(3.4rem, 2rem + 5vw, 7.5rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__u { font-size: var(--s-lead); font-weight: 600; color: var(--aqua); }
.stat__l { margin-top: 10px; color: var(--on-deep-soft); }

/* ---------- Flowing wave edges ---------- */
.wave-edge {
  position: absolute; inset-inline: 0; top: -59px; height: 60px; z-index: 2; pointer-events: none;
  background: var(--edge, var(--tint));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 150 0 300 0 450 30 S 750 60 900 30 S 1150 0 1200 30 V60 H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 1200px 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 150 0 300 0 450 30 S 750 60 900 30 S 1150 0 1200 30 V60 H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 1200px 100%;
  animation: flow 9s linear infinite;
}
.wave-edge--deep { --edge: var(--deep); animation-duration: 12s; }
.wave-edge--foot { --edge: var(--deep); animation-direction: reverse; }
.wave-edge--light { --edge: var(--bg); animation-duration: 10s; animation-direction: reverse; }
.contact { position: relative; }
@keyframes flow { to { -webkit-mask-position: 1200px 0; mask-position: 1200px 0; } }

/* ---------- Showcase ---------- */
.showcase, .book, .contact, .foot { overflow-x: clip; }
.showcase { position: relative; height: 100vh; /* taste-skill-ignore: fallback */ height: 100svh; min-height: 720px; background: var(--tint); transition: background-color 1.2s var(--ease-liquid); }
.showcase .wave-edge { --edge: var(--tint); transition: background-color 1.2s var(--ease-liquid); }
.showcase__word {
  position: absolute; inset: 4vh 0 auto; width: 100%; height: 46vh; z-index: 0; overflow: visible;
  pointer-events: none; user-select: none;
}
.showcase__word text { font-family: var(--font); font-size: 340px; font-weight: 900; fill: rgba(255,255,255,.85); }
.showcase__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; cursor: grab; touch-action: pan-y; }
.showcase__canvas:active { cursor: grabbing; }
.showcase__info { position: absolute; z-index: 2; inset-inline-start: var(--m); top: 50%; transform: translateY(-52%); width: min(25rem, 28vw); }
.showcase__title { font-size: var(--s-head); font-weight: 800; }
.showcase__lead { margin-top: 12px; color: var(--ink-soft); }
.variants { margin-top: 26px; }
.variants__legend { font-size: var(--s-small); font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.variants__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 2.75rem; padding: 0 1.125rem; border-radius: 999px; border: 2px solid rgba(10,31,61,.18); background: rgba(255,255,255,.75);
  font-weight: 600; font-size: var(--s-small); cursor: pointer; transition: border-color .25s, background-color .25s, color .25s, transform .25s var(--ease);
}
.chip:hover { border-color: var(--accent); }
.chip:active { transform: scale(.95); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.showcase__note { margin-top: 14px; font-size: var(--s-small); color: var(--ink-soft); min-height: 1.8em; }
.showcase__price { margin-top: 18px; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.showcase__unit { font-size: var(--s-small); font-weight: 600; color: var(--ink-soft); }
.showcase__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.showcase__actions .btn--ghost { color: var(--ink); border-color: rgba(10,31,61,.25); }
.showcase__actions .btn--ghost[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.showcase__specs { position: absolute; z-index: 2; inset-inline-end: var(--m); top: 50%; transform: translateY(-50%); display: grid; gap: 22px; width: min(14rem, 18vw); }
.showcase__specs dt { font-size: var(--s-small); color: var(--ink-soft); }
.showcase__specs dd { font-size: var(--s-lead); font-weight: 800; line-height: 1.3; }
.showcase__hint { position: absolute; z-index: 2; inset-inline-end: var(--m); bottom: 8rem; display: flex; gap: 8px; align-items: center; font-size: var(--s-small); font-weight: 600; color: var(--ink-soft); }
.showcase__nav { position: absolute; z-index: 2; inset-inline: 0; bottom: 1.625rem; display: flex; justify-content: center; align-items: center; gap: 14px; padding-inline: var(--m); }
.thumbs { display: flex; gap: 10px; }
.thumb {
  width: 5.75rem; height: 4.375rem; border-radius: 1rem; border: 2px solid transparent; background: rgba(255,255,255,.8);
  padding: 0; cursor: pointer; overflow: hidden; position: relative; transition: transform .35s var(--ease), border-color .25s;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb span { position: absolute; inset: auto 0 2px; font-size: .875rem; font-weight: 700; text-align: center; line-height: 1.4; }
.thumb:hover { transform: translateY(-4px); }
.thumb[aria-selected="true"] { border-color: var(--ink); background: #fff; }
.arrow { width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease), background-color .2s; }
.arrow svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover { background: var(--accent); }
.arrow:active { transform: scale(.9); }
.showcase__noscript { position: absolute; inset: auto var(--m) 40% var(--m); text-align: center; }

/* ---------- Story (horizontal) ---------- */
.story { position: relative; background: var(--bg); }
.story__pin { height: 100vh; /* taste-skill-ignore: fallback */ height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 40px; overflow: hidden; padding-block: calc(var(--bar-h) + 16px) 32px; }
.story__head { padding-inline: var(--m); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; }
.story__head h2 { font-size: var(--s-head); font-weight: 800; }
.story__head p { max-width: 36ch; color: var(--ink-soft); font-size: var(--s-lead); line-height: 1.6; }
.story__head h2 { font-size: min(var(--s-head), 9vh); }
/* the cards always fit the screen height: the picture takes whatever room the text leaves */
.story__viewport { margin-inline: var(--m); overflow: hidden; border-radius: 28px; flex: 0 1 38rem; min-height: 0; display: flex; }
.story__track { display: flex; gap: 1.75rem; width: max-content; will-change: transform; height: 100%; }
.chap {
  width: min(78vw, 34rem); flex: none; background: var(--paper); border-radius: 1.75rem; padding: 1.75rem;
  display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: 8px; height: 100%; min-height: 0;
}
.chap__num { display: flex; align-items: baseline; gap: 10px; color: var(--accent); font-weight: 600; }
.chap__num span { font-size: min(clamp(3.4rem, 2.4rem + 3vw, 5.6rem), 10vh); font-weight: 900; line-height: 1; }
.chap h3 { font-size: var(--s-lead); font-weight: 800; }
.chap > p:not(.chap__num) { color: var(--ink-soft); }
.chap__art { margin-top: 12px; border-radius: 18px; overflow: hidden; height: 100%; min-height: 0; background: var(--sky-4); position: relative; }
.m .chap__art { height: auto; aspect-ratio: 16 / 9; }
.m .story__viewport { flex: none; display: block; }
.m .story__track, .m .chap { height: auto; }
.m .chap { grid-template-rows: auto auto auto auto; }
.is-dragging { cursor: grabbing !important; user-select: none; }
@media (pointer: fine) { .m .story__viewport, .m .thumbs, .m .variants__list, .m .svc-group__list { cursor: grab; } }
.story__dots i { cursor: pointer; }
.chap__art img, .chap__art video { width: 100%; height: 100%; object-fit: cover; display: block; }
.book__side { display: grid; gap: 28px; }
.book__art, .contact__art { margin: 0; border-radius: 28px; overflow: hidden; position: relative; background: #CFE7F1; }
.book__art img, .contact__art img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.book__art:hover img, .contact__art:hover img { transform: scale(1.04); }
/* ---- pool painting: still painted ground (webp) + a light layer of moving light and vapour (inline SVG) ---- */
.paint { background: #2A130D; }
.paint__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: transform 1.2s var(--ease); }
.book__art.paint:hover .paint__fx { transform: scale(1.04); }
.paint__fx * { transform-box: fill-box; transform-origin: center; animation-duration: var(--t, 8s); animation-delay: var(--d, 0s);
  animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
.pf-beam { animation-name: pf-breathe; --t: 7.3s; animation-direction: alternate; }
.pf-mote { opacity: 0; animation-name: pf-mote; animation-timing-function: linear; }
.pf-lamp { animation-name: pf-flicker; }
.pf-caustic { animation-name: pf-slide; animation-direction: alternate; }
.pf-glint { opacity: 0; animation-name: pf-glint; }
.pf-ripple { opacity: 0; animation-name: pf-ripple; animation-timing-function: cubic-bezier(.2, .6, .35, 1); }
.pf-petal { animation-name: pf-drift; animation-direction: alternate; }
.pf-steam { opacity: 0; animation-name: pf-rise; }
@keyframes pf-breathe { from { opacity: .55; } to { opacity: 1; } }
@keyframes pf-mote { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: .9; } 80% { opacity: .7; } 100% { opacity: 0; transform: translate(10px, -46px); } }
@keyframes pf-flicker { 0%, 100% { opacity: .62; } 18% { opacity: .9; } 31% { opacity: .7; } 47% { opacity: .95; } 63% { opacity: .66; } 81% { opacity: .86; } }
@keyframes pf-slide { from { transform: translateX(-26px); } to { transform: translateX(26px); } }
@keyframes pf-glint { 0%, 62%, 100% { opacity: 0; transform: scale(.3); } 74% { opacity: 1; transform: scale(1.1); } 86% { opacity: .2; transform: scale(.6); } }
@keyframes pf-ripple { 0% { opacity: .75; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.6); } }
@keyframes pf-drift { from { transform: translate(0, 0) rotate(-8deg); } to { transform: translate(36px, 7px) rotate(18deg); } }
@keyframes pf-rise { 0% { opacity: 0; transform: translate(0, 10px) scale(.7); } 30% { opacity: .6; } 70% { opacity: .35; } 100% { opacity: 0; transform: translate(16px, -170px) scale(1.6); } }
/* only animate while the painting is on screen (js toggles .is-playing) */
.js .paint:not(.is-playing) .paint__fx * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .paint__fx * { animation: none !important; }
  .pf-steam { opacity: .3; }
  .pf-beam { opacity: .85; }
}
.book__art figcaption, .contact__art figcaption { position: absolute; inset: auto 12px 12px auto; background: rgba(255,255,255,.92); color: var(--ink); padding: 4px 12px; border-radius: 999px; font-size: var(--s-small); }
.chap__art svg { width: 100%; height: 100%; display: block; }
.chap__art figcaption { position: absolute; inset: auto 10px 10px auto; background: rgba(255,255,255,.92); padding: 4px 10px; border-radius: 999px; font-size: var(--s-small); }
.chap__art--map { background: #D8ECF7; padding: 8px; }
.map__road { fill: none; stroke: var(--accent-deep); stroke-width: 4; stroke-linecap: round; }
.map__city { fill: var(--ink); }
.map__here { fill: var(--accent); }
.map__pulse { fill: var(--accent); opacity: .35; }
.map__label { font-family: var(--font); font-size: 16px; font-weight: 600; fill: var(--ink); }
.map__label--here { font-weight: 800; fill: var(--accent-deep); }
.chap__rise { animation: rise 2.4s linear infinite; }
/* 1087 inscription: lines draw on, fills and the year follow, steam drifts */
.ins text { font-family: var(--font); }
.ins__year { font-size: 22px; font-weight: 900; letter-spacing: .06em; }
.js .ins__draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.65,0,.35,1) var(--d, 0s); }
.js .ins__fill, .js .ins__year { opacity: 0; transition: opacity .9s ease .9s; }
.js .ins.is-drawn .ins__draw { stroke-dashoffset: 0; }
.js .ins.is-drawn .ins__fill, .js .ins.is-drawn .ins__year { opacity: 1; }
.js .ins.is-drawn .ins__year { transition-delay: 1.2s; }
.chap__art--ins figcaption { inset: auto auto 10px 10px; }
.m .chap__art--ins figcaption { display: none; }   /* the narrow card has no free corner; the drawing keeps its aria-label */
.ins__steam path { stroke-dasharray: 12 13; animation: ins-steam 2.6s linear infinite; }
.ins__steam path:nth-child(2) { animation-delay: -.9s; }
.ins__steam path:nth-child(3) { animation-delay: -1.7s; }
@keyframes ins-steam { from { stroke-dashoffset: 30; } to { stroke-dashoffset: -20; } }
@media (prefers-reduced-motion: reduce) {
  .js .ins__draw { stroke-dashoffset: 0; transition: none; }
  .js .ins__fill, .js .ins__year { opacity: 1; transition: none; }
  .ins__steam path { animation: none; }
}
@keyframes rise { to { stroke-dashoffset: -40; } }

/* ---------- Booking ---------- */
.book { position: relative; background: var(--deep); color: var(--on-deep); padding: clamp(80px, 9vw, 140px) var(--m); }
.book__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.book__panel h2 { font-size: var(--s-head); font-weight: 800; }
.book__intro { margin-top: 14px; color: var(--on-deep-soft); font-size: var(--s-lead); line-height: 1.6; max-width: 40ch; }
.book__services { margin-top: 32px; display: grid; gap: 20px; }
.svc-group__title { font-size: var(--s-small); font-weight: 700; color: var(--on-deep-soft); margin-bottom: 8px; }
.svc-group__list { display: flex; flex-wrap: wrap; gap: 8px; }
.book .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: var(--on-deep); }
.book .chip:hover { border-color: var(--aqua); }
.book .chip[aria-checked="true"] { background: #fff; color: var(--deep); border-color: #fff; }
.book__steppers { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 28px; }
.stepper-field.is-hidden { display: none; }
.stepper-field__label { font-size: var(--s-small); font-weight: 700; color: var(--on-deep-soft); margin-bottom: 8px; }
.stepper { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px; }
.stepper output { min-width: 3ch; text-align: center; font-size: var(--s-lead); font-weight: 800; font-variant-numeric: tabular-nums; }
.stepper__btn { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .15s; }
.stepper__btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.stepper__btn:hover { background: var(--accent); }
.stepper__btn:active { transform: scale(.9); }
.book__estimate { margin-top: 30px; padding: 24px 28px; border-radius: 24px; background: var(--deep-2); }
.book__est-label { font-size: var(--s-small); color: var(--on-deep-soft); }
.book__est-total { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; }
.book__est-total span:last-child { font-size: var(--s-lead); font-weight: 600; color: var(--on-deep-soft); }
.book__est-detail { margin-top: 6px; font-size: var(--s-small); color: var(--on-deep-soft); }
.book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 26px; }
.book .btn { background: var(--aqua); border-color: var(--aqua); color: var(--deep); }
.book .btn::before { background: #fff; }
.book .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.book .btn--ghost::before { background: rgba(255,255,255,.14); }
.book .link { color: var(--on-deep); }

.sheet { position: relative; background: var(--paper); color: var(--ink); border-radius: 4px; padding: 52px clamp(24px, 3.6vw, 52px) 44px; margin-block: 14px; }
.sheet::before, .sheet::after {
  content: ""; position: absolute; inset-inline: 0; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Ccircle cx='14' cy='14' r='14' fill='%23fff'/%3E%3C/svg%3E") repeat-x 0 0 / 28px 14px;
}
.sheet::before { top: -14px; }
.sheet::after { bottom: -14px; transform: scaleY(-1); }
.sheet__title { font-size: var(--s-head); font-weight: 800; text-align: center; }
.sheet__note { text-align: center; color: var(--ink-soft); font-size: var(--s-small); margin-top: 4px; }
.sheet__group { margin-top: 30px; }
.sheet__group h4 { margin: 0 0 8px; font-size: var(--s-body); font-weight: 800; }
.sheet__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 7px; }
.sheet__row span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.sheet__rules { margin-top: 30px; display: grid; gap: 6px; font-size: var(--s-small); color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { background: var(--bg); padding: clamp(80px, 9vw, 140px) var(--m); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 40px; align-items: start; }
.contact h2 { font-size: var(--s-head); font-weight: 800; }
.contact address { font-style: normal; margin-top: 16px; font-size: var(--s-lead); line-height: 1.7; }
.contact__routes-title { margin-top: 28px; font-size: var(--s-small); font-weight: 700; color: var(--ink-soft); }
.contact__routes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.contact__routes a { min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; background: #fff; display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.contact__routes a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.contact__rows { display: grid; gap: 4px; background: #fff; border-radius: 28px; padding: 22px 28px; }
.contact__rows div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; }
.contact__rows dt { color: var(--ink-soft); }
.contact__rows a { font-weight: 800; text-decoration: none; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.contact__rows a:hover { color: var(--accent); }

.contact__dist { margin-top: 10px; color: var(--ink-soft); line-height: 1.8; max-width: 38ch; }
.contact__ways ol { margin-top: 8px; display: grid; gap: 8px; counter-reset: way; }
.contact__ways li { counter-increment: way; display: grid; grid-template-columns: 1.75rem 1fr; gap: 10px; align-items: baseline; line-height: 1.8; color: var(--ink-soft); }
.contact__ways li::before { content: counter(way, persian); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: .9rem; }
.contact__ways b { color: var(--ink); }
.contact__geo { font-weight: 700; font-variant-numeric: tabular-nums; }
.way-badge { display: inline-block; margin-inline-start: 6px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: #fff; font-style: normal; font-weight: 800; font-size: .8rem; line-height: 1.8; vertical-align: .1em; }
.contact__ways li.is-pick::before { background: var(--accent-deep); box-shadow: 0 0 0 4px rgba(30, 95, 216, .18); }
.contact__tip { margin-top: 12px; display: grid; grid-template-columns: 1.4rem 1fr; gap: 10px; align-items: start; padding: .9rem 1.1rem; border-radius: 18px; background: var(--sky-4); color: var(--ink); font-weight: 600; line-height: 1.85; max-width: 44ch; }
.contact__tip svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; margin-top: .25em; }
.chap__tip { margin-top: .6rem !important; padding: .75rem 1rem; border-radius: 14px; background: var(--sky-4); color: var(--ink) !important; font-weight: 600; line-height: 1.85; }

/* ---------- Water profile ---------- */
.eyebrow { font-size: var(--s-small); font-weight: 800; color: var(--accent); }

.water { position: relative; background: var(--bg); padding: clamp(80px, 8vw, 8.75rem) var(--m) clamp(96px, 9vw, 10rem); overflow-x: clip; }
.water__head { max-width: 46rem; }
.water__head h2 { font-size: min(var(--s-head), 9vh); font-weight: 800; margin-top: 6px; text-wrap: balance; }
.water__lead { margin-top: 14px; font-size: var(--s-lead); line-height: 1.7; color: var(--ink-soft); max-width: 40ch; }
.water__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 4.5rem); margin-top: clamp(32px, 4vw, 3.5rem); align-items: start; }

/* the spring's "bottle label" */
.label { background: var(--paper); border-radius: 28px; padding: clamp(22px, 2.2vw, 2.25rem); border: 1px solid rgba(10, 31, 61, .08); display: grid; gap: 1.5rem; }
.label__top { text-align: center; padding-bottom: 1.1rem; border-bottom: 2px dashed rgba(10, 31, 61, .12); }
.label__brand { font-size: var(--s-lead); font-weight: 800; }
.label__src { font-size: var(--s-small); color: var(--ink-soft); margin-top: 2px; }
.label__temp { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; }
.label__deg { display: flex; align-items: flex-start; color: var(--accent); line-height: .9; font-weight: 900; }
.label__deg span { font-size: clamp(4rem, 3rem + 3vw, 6.5rem); }
.label__deg small { font-size: 1.6rem; font-weight: 800; margin-top: .35em; direction: ltr; }
.label__deg-note { color: var(--ink-soft); line-height: 1.7; font-size: var(--s-small); }
.label__h { font-size: var(--s-small); font-weight: 800; color: var(--ink-soft); margin-bottom: .7rem; }
.elems { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.elems li { aspect-ratio: 1; border-radius: 16px; background: var(--sky-4); display: grid; place-items: center; align-content: center; gap: 2px; }
.elems b { font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); font-weight: 800; color: var(--accent-deep); line-height: 1; font-family: var(--font); }
.elems span { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.nots { display: flex; flex-wrap: wrap; gap: .5rem; }
.nots li { padding: .3rem 1rem; border-radius: 999px; border: 1.5px solid rgba(10, 31, 61, .14); color: var(--ink-soft); font-weight: 600; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(30, 95, 216, .6); }
.label__tags { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.1rem; border-top: 2px dashed rgba(10, 31, 61, .12); }
.label__tags li { padding: .35rem 1rem; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: var(--s-small); }

/* what is said of it */
.props__title { font-size: var(--s-lead); font-weight: 800; line-height: 1.5; text-wrap: balance; }
.props__list { margin-top: 1.25rem; display: grid; gap: .75rem; }
.prop { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.25rem; border-radius: 22px; background: var(--paper); border: 1px solid rgba(10, 31, 61, .06); }
.prop__icon { width: 3rem; height: 3rem; border-radius: 50%; background: var(--sky-4); display: grid; place-items: center; color: var(--accent); }
.prop__icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prop h4 { margin: 0; font-size: var(--s-body); font-weight: 800; }
.prop p { margin-top: 2px; color: var(--ink-soft); line-height: 1.8; }
.props__note { margin-top: 1rem; display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; padding: 1rem 1.25rem; border-radius: 18px; background: #FFF6E5; color: #6B4E12; font-size: var(--s-small); line-height: 1.8; }
.props__note svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; margin-top: .2em; }

/* stat prefix ("بیش از") */
.stat__pre { font-size: var(--s-small); font-weight: 600; color: var(--on-deep-soft); align-self: center; }

/* ---------- Long catalog text: showcase lead, booking, story text cards, hero ---------- */
/* computer: the full catalog text sits on a soft paper card so it never fights the 3D model behind it */
.d .showcase__info {
  width: min(29rem, 31vw); max-height: calc(100svh - var(--bar-h) - 9.5rem); overflow-y: auto; scrollbar-width: thin;
  padding: 1.5rem 1.75rem; border-radius: 28px; background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 50px rgba(10, 31, 61, .08);
}
.d .showcase__title { font-size: min(var(--s-head), 8vh); }
.showcase__lead { line-height: 1.9; }
.d .showcase__lead.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.showcase__more { margin-top: 6px; padding: 0; min-height: 2.75rem; border: 0; background: none; color: var(--accent); font-weight: 800; font-size: var(--s-small); cursor: pointer; text-decoration: underline; text-underline-offset: .4em; }
.showcase__more[hidden] { display: none; }
.showcase__note { line-height: 1.8; }
.book__how { margin-top: 10px; color: var(--on-deep); font-weight: 600; }
.chap > p:not(.chap__num) + p { margin-top: .4rem; }
.chap--text { grid-template-rows: auto auto auto auto; align-content: start; }
.chap--text > p:not(.chap__num) { font-size: var(--s-body); line-height: 1.95; color: var(--ink); }
.chap__num span[lang="en"] { font-family: var(--font); }
.hero__lead { max-width: 40ch; font-size: clamp(1.05rem, .95rem + .45vw, 1.45rem); line-height: 1.85; }
.m .hero__lead { font-size: .98rem; line-height: 1.8; max-width: none; }
.m .hero__title { font-size: clamp(2.3rem, 11vw, 3.2rem); }

/* ---------- Showcase: 3D model ↔ real photo ---------- */
.viewseg { position: absolute; z-index: 3; top: calc(var(--bar-h) + 1rem); left: 50%; transform: translateX(-50%); display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .78); box-shadow: 0 6px 20px rgba(10, 31, 61, .08); }
.viewseg__pill { display: none; }
.viewseg__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 2.75rem; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-weight: 700; font-size: var(--s-small); cursor: pointer; transition: background-color .3s, color .3s; }
.viewseg__btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.viewseg__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.viewseg__btn:not([aria-pressed="true"]):hover { background: rgba(10, 31, 61, .06); }
.scphoto {
  position: absolute; z-index: 2; margin: 0; overflow: hidden; border-radius: 28px; background: var(--paper);
  inset-inline-start: calc(var(--m) + min(25rem, 28vw) + 2.5vw); inset-inline-end: calc(var(--m) + min(14rem, 18vw) + 2.5vw);
  top: calc(var(--bar-h) + 4.75rem); bottom: 8.75rem; box-shadow: 0 30px 60px rgba(10, 31, 61, .14);
  animation: ph-in .7s var(--ease-liquid);
}
.scphoto[hidden] { display: none; }
@keyframes ph-in { from { clip-path: inset(100% 0 0 0 round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
.scphoto__img { width: 100%; height: 100%; object-fit: cover; }
.scphoto__cap { position: absolute; inset: auto 12px 12px auto; background: rgba(255, 255, 255, .92); padding: 4px 12px; border-radius: 999px; font-size: var(--s-small); }
.scphoto__dots { position: absolute; inset: auto 0 14px; display: flex; justify-content: center; gap: 6px; }
.scphoto__dots button { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .7); cursor: pointer; transition: width .3s var(--ease); }
.scphoto__dots button::after { content: ""; position: absolute; inset: -9px -4px; }  /* 24px+ hit area (WCAG 2.5.8) */
.scphoto__dots button[aria-pressed="true"] { width: 26px; background: #fff; }
.scphoto--empty { display: grid; place-items: center; padding: 1.5rem; }
.scphoto__empty { height: 100%; width: 100%; display: grid; place-items: center; align-content: center; gap: .6rem; text-align: center; border: 2px dashed rgba(10, 31, 61, .14); border-radius: 20px; padding: 1.5rem; }
.scphoto__icon { width: 4rem; height: 4rem; border-radius: 50%; background: var(--sky-4); color: var(--accent); display: grid; place-items: center; margin-bottom: .25rem; }
.scphoto__icon svg { width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.scphoto__t { font-size: var(--s-lead); font-weight: 800; }
.scphoto__d { color: var(--ink-soft); max-width: 34ch; line-height: 1.8; }
.scphoto__cta { margin-top: .5rem; color: var(--ink); border-color: rgba(10, 31, 61, .2); }
.showcase__canvas, .showcase__word { transition: opacity .5s; }
.showcase.is-photo .showcase__canvas { opacity: .1; pointer-events: none; }
.showcase.is-photo .showcase__hint { opacity: 0; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* phone */
.m .water { padding: 72px var(--m) 64px; }
.m .water__head h2 { font-size: 2.1rem; }
.m .water__lead { font-size: 1.05rem; }
.m .water__grid { grid-template-columns: 1fr; gap: 28px; margin-top: 26px; }
.m .elems { grid-template-columns: repeat(3, 1fr); }
.m .label__deg span { font-size: 4.25rem; }
.m .prop { grid-template-columns: 2.5rem 1fr; padding: 1rem; }
.m .prop__icon { width: 2.5rem; height: 2.5rem; }
.m .viewseg { position: relative; order: 1; top: auto; left: auto; transform: none; align-self: center; margin-top: 10px; }
.m .viewseg__btn { min-height: 2.5rem; padding: 0 .9rem; }
.m .scphoto { position: relative; order: 2; inset: auto; margin: 10px var(--m) 30px; height: 50svh; min-height: 300px; }
.m .showcase.is-photo .showcase__canvas, .m .showcase.is-photo .showcase__hint { display: none; }
@media (max-width: 1024px) { .water__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--deep); color: var(--on-deep); padding: 70px var(--m) 32px; overflow: hidden; }
.foot__giant { font-size: 16.5vw; font-weight: 900; line-height: 1.15; white-space: nowrap; text-align: center; }
.foot__giant span {
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath d='M0 100 C 50 80 100 80 150 100 S 250 120 300 100 S 380 82 400 100 V200 H0Z' fill='%234FB6F0'/%3E%3C/svg%3E") repeat-x 0 50% / 50% 100%;
  -webkit-background-clip: text; background-clip: text; /* taste-skill-ignore: water filling the wordmark */
  animation: fill-flow 6s linear infinite;
}
@keyframes fill-flow { to { background-position: 100% 50%; } }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; margin-top: 28px; }
.foot__menu { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__menu a { font-weight: 700; text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; }
.foot__menu a:hover { color: var(--aqua); }
.foot__legal { max-width: 70ch; font-size: var(--s-small); color: var(--on-deep-soft); line-height: 1.8; }
.foot__legal a { color: var(--on-deep); }
/* Enamad trust badge slot: hidden until its code is pasted in */
.foot__trust:empty { display: none; }
.foot__trust { display: flex; gap: 12px; align-items: center; }
.foot__trust a { display: block; padding: 6px; border-radius: 14px; background: #fff; line-height: 0; }
.foot__trust img { width: 6rem; height: auto; }

/* click ripple */
.ripple { position: fixed; z-index: 450; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid var(--aqua); pointer-events: none; animation: ripple .9s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(7); opacity: 0; } }

/* reveal helper (JS only) */
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(30px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bar__nav { position: fixed; inset: var(--bar-h) 0 auto; background: var(--bg); color: var(--ink); display: none; flex-direction: column; gap: 0; padding: 8px var(--m) 24px; }
  .bar__nav.is-open { display: flex; }
  .bar__nav a { font-size: var(--s-lead); padding-block: 12px; }
  .bar__menu { display: grid; margin-inline-start: auto; }
  .emblem { margin-inline-start: 12px; }

  .hero__copy { top: calc(var(--bar-h) + 12px); transform: none; width: auto; inset-inline: var(--m); }
  .hero__title { font-size: clamp(2.8rem, 11vw, 5rem); }
  .hero__lead { font-size: 1.15rem; margin-top: 12px; }
  .hero__actions { margin-top: 18px; }
  .hero__hint { bottom: 18vh; }
  .hero__bigword { font-size: 60vw; top: 62%; }

  .ltext { width: auto; inset-inline: var(--m); top: auto; bottom: 10vh; transform: none; background: rgba(242,248,252,.92); padding: 22px; border-radius: 22px; }
  .ltext--stats { background: none; top: 50%; bottom: auto; transform: translateY(-50%); }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .marquee { bottom: auto; top: calc(var(--bar-h) + 2vh); }
  .layers { height: 560vh; }

  .showcase { height: auto; min-height: 0; padding-bottom: 32px; display: flex; flex-direction: column; }
  .showcase__word { inset: 2vh 0 auto; height: 30svh; }
  .layers { height: 560vh; }
  .showcase__canvas { position: relative; height: 58svh; order: 0; }
  .showcase__hint { position: static; order: 1; justify-content: center; margin-top: -8px; }
  .showcase__nav { position: static; order: 2; margin-top: 16px; }
  .showcase__info { position: static; transform: none; width: auto; order: 3; padding-inline: var(--m); margin-top: 28px; }
  .showcase__specs { position: static; transform: none; width: auto; order: 4; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-inline: var(--m); margin-top: 28px; }
  .thumb { width: 72px; height: 58px; }
  .hero__bigword { width: 90vw; top: 60%; }

  .book__grid, .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .emblem__word { display: none; }
  .arrow { display: none; }
  .thumbs { overflow-x: auto; padding: 4px; }
  .showcase__specs dd { font-size: 1.2rem; }
  .story__head p { font-size: 1.12rem; }
}

/* =========================================================
   PHONE EDITION — html.m is set in <head> when the visitor is on a phone
   (thumb-reach dock, full-screen water menu, swipe story, app-style product card)
   ========================================================= */
.m { --m: 20px; --bar-h: 4rem; --safe-b: env(safe-area-inset-bottom, 0px); --dock-h: 4.25rem; }
.m body { font-size: 1.0625rem; line-height: 1.75; }
.m h2 { text-wrap: balance; }

/* bar */
.m .bar__inner { gap: 10px; }
.m .bar__mark { font-size: 1.2rem; }
.m .emblem { margin-inline-start: auto; padding: 4px; }
.m .emblem__word { display: none; }
.m .emblem__icon { height: 2rem; gap: .2rem; }
.m .bar__menu { display: grid; margin-inline-start: 0; position: relative; z-index: 2; }
.m.menu-open .bar { background: transparent; color: #fff; transform: none; }
.m.menu-open .bar .bar__menu { background: rgba(255,255,255,.16); color: #fff; }
.m.menu-open .bar .emblem { --em-top: #FFFFFF; --em-mid: #9FDBFF; --em-low: #4FB6F0; --em-gold: #F1C76A; }

/* full-screen water menu: grows from the menu button like a drop spreading */
.m .bar__nav {
  position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: 0;
  padding: calc(var(--bar-h) + 24px) 28px calc(28px + var(--safe-b)); margin: 0;
  background: var(--deep); color: #fff; counter-reset: nav;
  clip-path: circle(0 at 2.6rem 2rem); visibility: hidden;
  transition: clip-path .7s var(--ease-liquid), visibility 0s linear .7s;
}
.m .bar__nav.is-open { clip-path: circle(150% at 2.6rem 2rem); visibility: visible; transition: clip-path .8s var(--ease-liquid), visibility 0s; }
.m .bar__nav > a {
  counter-increment: nav; display: flex; align-items: baseline; gap: 14px; padding-block: 10px;
  font-size: clamp(1.9rem, 9vw, 2.6rem); font-weight: 800; line-height: 1.3;
  opacity: 0; transform: translateY(28px); transition: opacity .5s, transform .6s var(--ease);
}
.m .bar__nav > a::before { content: "۰" counter(nav, persian); font-size: .95rem; font-weight: 600; color: var(--aqua); min-width: 1.6em; }
.m .bar__nav > a::after { display: none; }
.m .bar__nav.is-open > a { opacity: 1; transform: none; }
.m .bar__nav.is-open > a:nth-child(1) { transition-delay: .18s; }
.m .bar__nav.is-open > a:nth-child(2) { transition-delay: .24s; }
.m .bar__nav.is-open > a:nth-child(3) { transition-delay: .30s; }
.m .bar__nav.is-open > a:nth-child(4) { transition-delay: .36s; }
.m .bar__nav.is-open > a:nth-child(5) { transition-delay: .42s; }
.m .bar__nav > a[aria-current="true"] { color: var(--aqua); }
.m .nav__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 28px; opacity: 0; transition: opacity .5s .45s; }
.m .bar__nav.is-open .nav__foot { opacity: 1; }
.m .nav__foot .btn { min-height: 3.25rem; padding: 0 1rem; }
.m .nav__foot .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.m .nav__addr { grid-column: 1 / -1; text-align: center; font-size: .9rem; color: var(--on-deep-soft); margin-top: 6px; }
.m.menu-open, .m.menu-open body { overflow: hidden; }

/* thumb-reach dock */
.m .dock {
  display: flex; align-items: center; gap: 6px; position: fixed; z-index: 90;
  inset-inline: 12px; bottom: calc(12px + var(--safe-b)); height: var(--dock-h); padding: 6px;
  border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(10, 31, 61, .28);
  transform: translateY(calc(100% + 30px)); transition: transform .55s var(--ease);
}
.m .dock.is-in { transform: none; }
.m.menu-open .dock { transform: translateY(calc(100% + 30px)); }
.dock__item { flex: none; width: 3.5rem; height: 100%; display: grid; place-items: center; align-content: center; gap: 1px; border-radius: 999px; text-decoration: none; font-size: .72rem; font-weight: 600; color: var(--on-deep-soft); }
.dock__item svg { width: 1.375rem; height: 1.375rem; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dock__item:active { background: rgba(255,255,255,.1); }
.dock__book { flex: 1; height: 100%; display: grid; place-items: center; border-radius: 999px; background: var(--aqua); color: var(--deep); font-weight: 800; font-size: 1.05rem; text-decoration: none; transition: transform .2s; }
.dock__book:active { transform: scale(.97); }

/* hero: title at the top, the tub in the middle, buttons under the thumb */
.m .hero { min-height: 560px; }
.m .hero__copy {
  inset: calc(var(--bar-h) + 6px) var(--m) calc(20px + var(--safe-b)); top: calc(var(--bar-h) + 6px); width: auto;
  display: flex; flex-direction: column; pointer-events: none;
}
.m .hero__copy > * { pointer-events: auto; }
.m .hero__title { font-size: clamp(2.6rem, 12.5vw, 3.6rem); line-height: 1.15; }
.m .hero__lead { font-size: 1.05rem; line-height: 1.75; margin-top: 10px; max-width: 30ch; }
.m .hero__actions { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.m .hero__actions .btn { min-height: 3.5rem; }
.m .hero__actions .link { min-height: 3.5rem; padding: 0 1.25rem; border-radius: 999px; background: rgba(255,255,255,.16); text-decoration: none; color: var(--accent-deep); background: rgba(255,255,255,.72); }
.m .hero__hint, .m .hero__tagline { display: none; }
.m .hero__bigword { width: 115vw; inset-inline-end: -8vw; top: 58%; }
.m .hero__clouds { height: 40vh; }

/* scroll-scrubbed video */
.m .layers { height: 470vh; }
.m .ltext { inset-inline: 12px; bottom: calc(16px + var(--dock-h) + var(--safe-b)); padding: 18px 20px; border-radius: 22px; background: rgba(255,255,255,.94); }
.m .ltext__h { font-size: 1.55rem; }
.m .ltext__p { font-size: 1rem; margin-top: 8px; line-height: 1.75; }
.m .ltext .btn { margin-top: 14px; width: 100%; }
.m .ltext--stats { background: none; inset-inline: var(--m); padding: 0; bottom: auto; }
.m .stats { gap: 28px 12px; }
.m .stat__n { font-size: 3.2rem; }
.m .stat__u { font-size: 1rem; }
.m .stat__l { font-size: .95rem; margin-top: 4px; }
.m .marquee__text { font-size: 18vw; }

/* product card: tabs, model, white sheet with price and actions */
.m .showcase { padding: 64px 0 0; background: var(--tint); }
.m .showcase__nav { order: 0; margin: 0; padding: 0; justify-content: flex-start; }
.m .arrow { display: none; }
.m .thumbs { width: 100%; overflow-x: auto; padding: 4px var(--m) 8px; gap: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.m .thumbs::-webkit-scrollbar { display: none; }
.m .thumb { flex: none; width: auto; height: 3.25rem; display: flex; align-items: center; gap: 6px; padding: 0 16px 0 6px; border-radius: 999px; scroll-snap-align: start; background: rgba(255,255,255,.7); }
.m .thumb:hover { transform: none; }
.m .thumb img { width: 2.75rem; height: 2.25rem; flex: none; }
.m .thumb span { position: static; font-size: .95rem; white-space: nowrap; }
.m .thumb[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.m .showcase__word { top: 70px; height: 26svh; }
.m .showcase__hint { order: 1; position: relative; inset: auto; margin: 10px 0 -34px; justify-content: center; font-size: .85rem; z-index: 3; pointer-events: none; }
.m .showcase__canvas { order: 2; height: 50svh; min-height: 320px; }
.m .showcase__info, .m .showcase__specs { inset: auto; }
.m .showcase__info { order: 3; position: relative; z-index: 3; margin-top: -18px; padding: 26px var(--m) 4px; background: var(--paper); border-radius: 28px 28px 0 0; }
.m .showcase__title { font-size: 2rem; }
.m .showcase__lead { font-size: 1rem; }
.m .variants { margin-top: 16px; }
.m .variants__legend { margin-bottom: 8px; }
.m .variants__list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--m) * -1); padding: 2px var(--m) 6px; scrollbar-width: none; }
.m .variants__list::-webkit-scrollbar { display: none; }
.m .chip { flex: none; }
.m .showcase__note { min-height: 0; margin-top: 8px; }
.m .showcase__price { font-size: 2.2rem; margin-top: 10px; }
.m .showcase__actions { display: grid; grid-template-columns: 1fr auto; margin-top: 16px; }
.m .showcase__actions .btn { min-height: 3.5rem; }
.m .showcase__specs { order: 4; position: relative; z-index: 3; margin: 0; padding: 20px var(--m) 40px; background: var(--paper); grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m .showcase__specs > div { background: var(--bg); border-radius: 18px; padding: 12px; }
.m .showcase__specs dt { font-size: .82rem; }
.m .showcase__specs dd { font-size: 1.05rem; }
.m .showcase .wave-edge { display: none; }

/* story: native swipe carousel with progress dots */
.m .story__pin { height: auto; padding: 72px 0 52px; gap: 22px; overflow: visible; }
.m .story__head p { font-size: 1.05rem; }
.m .story__head h2 { font-size: 2.1rem; }
.m .story__viewport { margin: 0; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px var(--m) 10px; scroll-padding-inline: var(--m); overscroll-behavior-x: contain; }
.m .story__viewport::-webkit-scrollbar { display: none; }
.m .story__track { gap: 12px; will-change: auto; transform: none !important; }
.m .chap { width: 82vw; padding: 20px; border-radius: 24px; scroll-snap-align: start; }
.m .chap__num span { font-size: 3.2rem; }
.m .chap > p:not(.chap__num) { font-size: 1rem; }
.story__dots { display: none; }
.m .story__dots { display: flex; justify-content: center; gap: 6px; }
.story__dots i { width: 8px; height: 8px; border-radius: 8px; background: rgba(10,31,61,.2); transition: width .4s var(--ease), background-color .3s; }
.story__dots i.is-on { width: 26px; background: var(--accent); }
.m .story__swipe { display: inline-flex; }
.story__swipe { display: none; align-items: center; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--accent); }
.story__swipe svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }

/* booking: one-row swipe chips, folded price list */
.m .book { padding: 76px var(--m) 56px; }
.m .book__panel h2 { font-size: 2.1rem; }
.m .book__intro { font-size: 1.02rem; }
.m .book__services { margin-top: 22px; gap: 14px; }
.m .svc-group__list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--m) * -1); padding: 2px var(--m) 4px; scrollbar-width: none; }
.m .svc-group__list::-webkit-scrollbar { display: none; }
.m .book .chip { flex: none; }
.m .book__steppers { margin-top: 20px; }
.m .book__estimate { margin-top: 20px; padding: 18px 20px; border-radius: 22px; }
.m .book__est-total { font-size: 2.3rem; }
.m .book__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m .book__actions .btn { min-height: 3.5rem; }
.m .book__actions .btn:first-child { grid-column: 1 / -1; }
.m .book__actions .link { justify-content: center; border: 2px solid rgba(255,255,255,.25); border-radius: 999px; text-decoration: none; min-height: 3.5rem; }
.m .book__art:not(.paint) { display: none; }
.m .book__art.paint { border-radius: 22px; }
.m .book__art.paint figcaption { font-size: .78rem; padding: 3px 10px; inset: auto 10px 10px auto; }
.m .book__side { margin-top: 8px; }
.m .sheet { padding: 34px 20px 26px; }
.m .sheet__title { font-size: 1.8rem; }
.m .sheet.is-folded #sheet-groups, .m .sheet.is-folded .sheet__rules { display: none; }
.sheet__more { display: none; }
.m .sheet__more { display: flex; margin: 16px auto 0; width: 100%; color: var(--accent); border-color: rgba(30,95,216,.3); }
.m .book .sheet__more { background: transparent; color: var(--accent); border-color: rgba(30,95,216,.3); }
.m .book .sheet__more::before { background: var(--sky-4); }

/* contact */
.m .contact { padding: 76px var(--m) 56px; }
.m .contact__grid { gap: 22px; }
.m .contact h2 { font-size: 2.1rem; }
.m .contact address { font-size: 1.1rem; }
.m .contact__routes { display: grid; grid-template-columns: 1fr 1fr; }
.m .contact__routes a { justify-content: center; min-height: 3.25rem; }
.m .contact__rows { order: 2; padding: 8px 20px; border-radius: 24px; }
.m .contact__rows div { padding-block: 14px; border-bottom: 1px solid rgba(10,31,61,.08); align-items: center; }
.m .contact__rows div:last-child { border-bottom: 0; }
.m .contact__art { order: 3; border-radius: 24px; }

/* footer */
.m .foot { padding: 56px var(--m) calc(28px + var(--safe-b)); }
.m .foot__giant { font-size: 15.5vw; }
.m .foot__menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; width: 100%; }
.m .foot__legal { font-size: .85rem; }
.foot__view a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); color: var(--on-deep); font-weight: 700; font-size: .95rem; text-decoration: none; }
.forced-desktop .foot__view a { font-size: 1.6rem; min-height: 4.5rem; padding: 0 36px; }

/* ---------- Large screens: scale the whole design with the viewport ---------- */
@media (min-width: 1441px) {
  /* 16px at 1440×900 and grows with the screen, but never faster than its height:
     a wide, short window (2560×1300) must not get type taller than it can show */
  html { font-size: min(1.1111vw, 1.7778vh, 44px); }
  :root { --m: 4.4vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .emblem__icon i, .emblem__drop, .emblem__ring, .emblem__gold { animation: none !important; }
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .layers__canvas { -webkit-clip-path: none; clip-path: none; }
  .drop, .splash { display: none; }
}
