/* Rillo: brand layer on top of stack.css and kit.css. Tokens live in stack.css :root. */
/* Fonts, self-hosted (SIL Open Font License): Fraunces 500 and Inter 400 to 600, latin subset only */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/fraunces-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
html { background: var(--ink-c); }
body { background: var(--ink-c); color: var(--ink); padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.dark { background: var(--ink-c); color: var(--ivory); --accent: var(--ivory); }

/* ---------- Type ---------- */
h1, h2, h3, [data-type], .marquee, .big { text-transform: none; font-family: var(--display); font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 4.4vw, 66px); line-height: 1.04; }
h2 { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.06; max-width: 20ch; }
h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; }
.kicker, .num { color: var(--grey); font-size: 14px; letter-spacing: .04em; }
.dark .kicker, .dark .num { color: rgba(243, 238, 228, .74); }
.sec h2 + p, .lead { opacity: 1; }
.dark .lead { color: rgba(243, 238, 228, .86); }

/* ---------- Buttons: ink on light, signal on ink ---------- */
.btn { min-height: 44px; }
.btn.primary { background: var(--ink-c); color: var(--ivory); box-shadow: none; }
.dark .btn.primary, .nav .btn.primary, .pill .btn.primary, .menu .btn.primary { background: var(--signal); color: var(--ink-c); }
.btn.line { color: inherit; }
.ctas { margin-top: 32px; }

/* ---------- Nav + mobile menu ---------- */
.nav { background: rgba(28, 27, 25, .8); color: var(--ivory); --accent: var(--ivory); }
.mark { font: 500 23px/1 var(--display); text-transform: none; letter-spacing: 0; }
.mark svg, .fmark svg { width: 28px; height: 28px; fill: currentColor; }
/* Wordmark: the symbol stands in for the R. Glyph fills y 41..423 of the 480 box, so .875em of box = .7em cap height; nudge down to sit on the baseline */
.mark, .fmark { display: inline-flex; align-items: baseline; gap: 0; }
.mark svg.r, .fmark svg.r { width: .875em; height: .875em; flex: none; translate: 0 .104em; margin: 0 -.05em 0 -.06em; }
.links a { opacity: .82; display: inline-flex; align-items: center; min-height: 44px; }   /* 44 px targets */
.nav .short, .menubtn { display: none; }
.menubtn, .menuclose { min-width: 44px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 11px; cursor: pointer; font-weight: 600;
  background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1.5px rgba(243, 238, 228, .5); }
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; gap: 28px; padding: 22px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--ink-c); color: var(--ivory); --accent: var(--ivory); overflow-y: auto; }
.menu[hidden] { display: none; }
.menuclose { align-self: flex-end; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { display: flex; align-items: center; min-height: 48px; font: 500 30px/1.1 var(--display); text-decoration: none; border-bottom: 1px solid rgba(243, 238, 228, .14); padding: 8px 0; }
body.menu-open { overflow: hidden; }

/* ---------- Hero film ---------- */
.scrub.hero { height: 220vh; }
/* poster: the film's first frame shows at once, the canvas paints over it when the frames arrive */
.scrub.hero .stage { background: var(--ink-c) url(frames/h1/d/0001.webp) center / cover no-repeat; }
.scrub.hero .stage::after { background: linear-gradient(20deg, rgba(28, 27, 25, .86), rgba(28, 27, 25, .4) 42%, transparent 64%); }
.herocopy { top: auto; bottom: 12vh; width: min(720px, calc(100% - 2 * var(--gutter))); color: var(--ivory); }
.herocopy h1 { font-size: clamp(52px, 6.4vw, 104px); line-height: .98; max-width: 11ch; margin-top: 14px; }
.herocopy .kicker { color: rgba(243, 238, 228, .86); }
.herocopy .lede { margin-top: 20px; max-width: 40ch; }
.herocopy .ctas { margin-top: 28px; }
.hint { bottom: 9vh; padding: 6px 10px; border-radius: 8px; background: rgba(28, 27, 25, .72); color: var(--ivory); }
.still { display: none; }
.caps { display: contents; }
.slam.cap, .slam.cap[data-k="1"], .slam.cap[data-k="2"] { left: auto; right: var(--gutter); translate: none; text-align: left; bottom: 14vh; max-width: min(400px, 82vw);
  background: rgba(28, 27, 25, .72); color: var(--ivory); }
.slam.cap .ill { display: block; font: 400 14px/1 var(--text); font-style: normal; opacity: .7; margin-bottom: 10px; }
.slam.cap b { font: 600 14px/1.2 var(--text); color: var(--ivory); letter-spacing: .04em; }
.slam.cap.answered b { color: var(--signal); }
.slam.cap span { font-size: 17px; }
/* chapter labels sit on a dark chip: the film behind them can be bright sky (WCAG 1.4.3) */
.rail { font-size: 13px; color: rgba(243, 238, 228, .8); }
.rail span { padding: 4px 8px; border-radius: 6px; background: rgba(28, 27, 25, .72); }
.rail span.on { color: var(--ivory); }

/* ---------- Lit sentence over a photo ---------- */
.statement { overflow: hidden; }
.statement .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(28, 27, 25, .7); }
.statement .wrap { position: relative; z-index: 2; }
[data-type] { font-size: clamp(34px, 4.8vw, 74px); line-height: 1.08; max-width: 19ch; color: var(--ivory); }

/* ---------- Split with illustrated screens ---------- */
.split { background: var(--bg); }
.split .media { background: var(--rule); }
.split .media > .ui { display: grid; place-items: center; }
.ill { display: none; position: absolute; top: 96px; left: 22px; padding: 8px 14px; border-radius: 999px; background: var(--ink-c); color: var(--ivory); font: 600 14px/1 var(--text); font-style: normal; }
.phoneui { width: min(330px, 62%); aspect-ratio: 9 / 16; max-height: 78vh; padding: 56px 18px; border-radius: 40px; background: var(--ivory); box-shadow: 0 0 0 12px var(--ink-c), 0 40px 80px rgba(28, 27, 25, .25);
  display: flex; flex-direction: column; gap: 12px; }
.phoneui .t { font: 500 42px/1 var(--display); text-align: center; margin-bottom: 16px; }
.phoneui .row { padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font-size: 16px; }
.phoneui .row b { display: block; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.phoneui .row.answered { background: var(--signal); box-shadow: none; }
.phoneui .row.answered b { color: var(--ink-c); }
.split .specs h2 { font-size: clamp(30px, 3.2vw, 48px); }
.split .specs p:not(.num) { font-size: 19px; }
/* dim the waiting points with colour, not opacity, so they keep 4.5:1 on ivory */
.split .specs > * { opacity: 1; color: var(--grey); transition: color .5s; }
.split .specs > .on { color: var(--ink-c); }

/* ---------- Strip ---------- */
.marquee { background: var(--ink-c); color: var(--ivory); border-block: 1px solid rgba(243, 238, 228, .14); font-size: clamp(22px, 2.6vw, 36px); }

/* ---------- Trades gallery ---------- */
.hgal .head h2 { max-width: 22ch; }
.hgal figcaption { font-size: 15px; font-weight: 400; max-width: calc(100% - 32px); background: rgba(28, 27, 25, .78); }
.hgal figcaption b { font-weight: 600; }


/* ---------- Estimator ---------- */
#estimate h2 { max-width: 22ch; }
.tools { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(16px, 2.4vw, 32px); margin-top: 44px; align-items: start; }
.quiz h3 { font-size: clamp(26px, 2.6vw, 38px); }
.quiz [data-pick] { font-size: 17px; background: rgba(243, 238, 228, .08); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(243, 238, 228, .22); }
.quiz [data-pick]:hover { background: rgba(243, 238, 228, .16); }
.quiz .result p { font-size: 18px; color: rgba(243, 238, 228, .86); }
.quiz .linkbtn { display: inline-flex; align-items: center; min-height: 44px; margin-left: 16px; color: var(--ivory); }
.est label { display: block; margin-bottom: 20px; font-weight: 600; }
.est label > span:first-child { display: flex; justify-content: space-between; gap: 16px; }
.est output { font: 500 24px/1 var(--display); }
.est input[type=range] { display: block; width: 100%; height: 44px; accent-color: var(--ivory); }
.money { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 0 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(243, 238, 228, .3); }
.money i { font-style: normal; opacity: .8; }
.money input { flex: 1; min-height: 48px; border: 0; background: transparent; font-weight: 500; }
.money input:focus-visible { outline: none; }
.money:focus-within { box-shadow: inset 0 0 0 2px var(--ivory); }
.money:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 2px #FFB4A6; }
.example { font-size: 14px; opacity: .78; margin-top: -8px; }
.est .err { color: #FFB4A6; }
.est .err:empty { display: none; }
.result { margin: 22px 0 8px; font-size: 18px; }
.result b { font: 500 clamp(44px, 5vw, 64px)/1 var(--display); margin-right: 6px; }
.fine { font-size: 15px; opacity: .82; margin-bottom: 22px; }

/* ---------- Timeline ---------- */
.timeline h3 { font-size: clamp(24px, 2.4vw, 34px); }
.step { opacity: 1; color: var(--grey); transition: color .5s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.step.on { color: var(--ink-c); }

/* ---------- Websites: illustrated layers, each labelled ---------- */
.layer { background: var(--ivory); color: var(--ink-c); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--rule); }
/* bottom-left: the front edge of each layer stays visible when the stack pulls apart */
.layer .lbl { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 6px 10px; border-radius: 8px; background: var(--ink-c); color: var(--ivory); font: 600 14px/1.2 var(--text); max-width: calc(100% - 28px); }
.layer .w { position: absolute; display: block; border-radius: 8px; background: var(--rule); }
.l-film .sky { left: 8%; right: 8%; top: 10%; height: 58%; background: #8a7b63; }
.l-film .ttl { left: 14%; width: 44%; top: 52%; height: 7%; background: var(--ivory); }
.l-services .g1, .l-services .g2, .l-services .g3, .l-services .g4 { width: 38%; height: 27%; }
.l-services .g1 { left: 8%; top: 10%; } .l-services .g2 { right: 8%; top: 10%; } .l-services .g3 { left: 8%; top: 42%; } .l-services .g4 { right: 8%; top: 42%; }
.l-jobs .half { left: 8%; right: 8%; top: 10%; height: 58%; background: linear-gradient(90deg, #a89c88 50%, var(--rule) 50%); }
.l-jobs .knobw { left: calc(50% - 14px); top: calc(39% - 14px); width: 28px; height: 28px; border-radius: 50%; background: var(--ink-c); }
.l-form .f1, .l-form .f2 { left: 8%; right: 8%; height: 12%; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.l-form .f1 { top: 12%; } .l-form .f2 { top: 28%; }
.l-form .btnw { left: 8%; right: 8%; top: 46%; height: 14%; background: var(--ink-c); }
.lead.more { margin-top: 18px; }

/* ---------- Pricing: same layout as the first build, middle card raised ---------- */
#pricing { background: var(--ivory); }
.plans { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(14px, 2vw, 24px); margin-top: 44px; align-items: center; }
.plan { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; }
.plan:not(.main) { padding: 28px; }
.plan h3 { font-size: clamp(22px, 1.9vw, 28px); }
.plan .cost { margin-top: 18px; font-size: 18px; }
.plan .cost b { font: 500 clamp(36px, 3.4vw, 50px)/1 var(--display); letter-spacing: -.02em; }
.plan .terms { margin-top: 6px; color: var(--grey); }
.plan .cost.range b { font-size: clamp(28px, 2.4vw, 36px); }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.plan .btn { margin-top: auto; }
.plan.main { background: var(--ink-c); color: var(--ivory); --accent: var(--ivory); padding: clamp(32px, 3.4vw, 48px); box-shadow: 0 30px 70px rgba(28, 27, 25, .22); position: relative; z-index: 1; }
.plan.main h3 { font-size: clamp(30px, 2.9vw, 42px); }
.plan.main .cost b { font-size: clamp(56px, 5.6vw, 84px); }
.plan.main .terms { color: rgba(243, 238, 228, .74); }
.plan.main .btn.primary { background: var(--signal); color: var(--ink-c); }
.badge { align-self: flex-start; margin-bottom: 14px; padding: 7px 12px; border-radius: 999px; background: var(--ivory); color: var(--ink-c); font-size: 14px; font-weight: 600; }
.deal { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(243, 238, 228, .1); font-weight: 600; }
.deal b { font: 500 28px/1 var(--display); }
.deal > span { font-weight: 400; opacity: .78; font-size: 14px; }
.was { position: relative; display: inline-block; text-decoration: none; color: rgba(243, 238, 228, .6); font: 500 22px/1 var(--display); margin: 0 4px; }
.was::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; background: currentColor; transform: rotate(-14deg); }
.btn.line { box-shadow: inset 0 0 0 1.5px currentColor; background: transparent; }
.guarantee { margin-top: 40px; max-width: 62ch; font-size: 19px; }
.tax { margin-top: 10px; font-size: 15px; color: var(--grey); }

/* ---------- Finale ---------- */
.finale { min-height: 0; text-align: left; }
.finale .ctas { justify-content: flex-start; }
.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.closer { background: var(--ivory); color: var(--ink-c); text-align: center; padding: clamp(100px, 16vh, 180px) 0; }
.closer h2 { margin-inline: auto; max-width: none; font-size: clamp(56px, 9vw, 150px); line-height: .95; }
.closer .lead { margin: 22px auto 0; max-width: 44ch; font-size: clamp(18px, 1.6vw, 22px); }
.closer .ctas { justify-content: center; }
.fin-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; display: block; }

/* ---------- Footer ---------- */
.foot { opacity: 1; text-align: left; padding: 64px 0 40px; font-size: 15px; }
.foot p + p { margin-top: 10px; }
.fmark { font: 500 26px/1 var(--display); }
.flinks { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 18px; }
.flinks a { display: inline-flex; align-items: center; min-height: 44px; }
.foot .contact { margin-top: 8px; color: rgba(243, 238, 228, .82); }
.foot .contact a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Pill: hidden over the film, the estimator, pricing, the closing, the footer and when the menu is open ---------- */
.pill { background: rgba(28, 27, 25, .9); color: var(--ivory); }
body.pill-off .pill.on { translate: -50% 140%; }
body.pill-off .pill { visibility: hidden; transition: translate .5s cubic-bezier(.2, .8, .2, 1), visibility 0s .5s; }

/* ---------- Lead drawer ---------- */
.drawer { background: var(--ivory); color: var(--ink-c); --accent: var(--ink-c); }
/* a closed drawer leaves the tab order and the accessibility tree */
.drawer:not(.open) { visibility: hidden; transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s; }
.drawer h2 { font-size: 34px; }
.preview { margin-bottom: 20px; padding: 12px 14px; border-radius: 10px; background: var(--ink-c); color: var(--ivory); font-size: 14px; font-weight: 600; }
.x { color: var(--ink-c); opacity: 1; font-weight: 600; }
.fld span { opacity: 1; color: var(--grey); }
.fld input, .fld textarea { border-color: var(--rule); background: #fff; }
.consent { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin: 6px 0 4px; font-size: 15px; }
.consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--ink-c); }
.drawer .err { color: #A3341F; }
.plink a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; }

/* ---------- Privacy page ---------- */
.legal { background: var(--ivory); color: var(--ink-c); padding: clamp(130px, 18vh, 180px) 0 clamp(80px, 12vh, 130px); }
.legal .wrap { max-width: 720px; }
.legal .back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.legal h1 { margin-top: 18px; }
.legal .updated { margin-top: 12px; color: var(--grey); font-size: 15px; }
.legal h2 { margin-top: 48px; font-size: clamp(26px, 2.6vw, 34px); }
.legal p { margin-top: 14px; font-size: 18px; max-width: 62ch; }
.legal a { text-underline-offset: 3px; }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .nav { gap: 8px; padding-left: 14px; }
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .menubtn { display: inline-flex; align-items: center; }
  .scrub.hero { height: 160vh; }
  .scrub.hero .stage { background-image: url(frames/h1/m/0001.webp); }
  .scrub.hero .stage::after { background: linear-gradient(0deg, rgba(28, 27, 25, .9), rgba(28, 27, 25, .5) 48%, transparent 72%); }
  .herocopy { top: auto; bottom: 7vh; }
  .herocopy h1 { font-size: 44px; }
  .herocopy .lede { font-size: 17px; }
  .herocopy .btn.big { padding: 14px 18px; font-size: 16px; }
  .slam.cap, .slam.cap[data-k="1"], .slam.cap[data-k="2"] { top: 128px; bottom: auto; left: var(--gutter); right: var(--gutter); max-width: none; }
  .statement { display: flex; flex-direction: column; justify-content: center; min-height: 0; padding-bottom: 0; }
  .statement::before { display: none; }
  .statement .bg { position: static; order: 2; height: auto; aspect-ratio: 16 / 10; margin-top: 40px; }
  [data-type] { font-size: 9.4vw; }
  /* the fixed nav covers the top 80px of the sticky screen: start the drawn phone below it */
  .split .media > .ui { padding: 84px 0 12px; box-sizing: border-box; }
  .phoneui { width: auto; height: calc(46vh - 104px); padding: 26px 12px; border-radius: 26px; gap: 8px; box-shadow: 0 0 0 8px var(--ink-c), 0 20px 40px rgba(28, 27, 25, .25); }
  .phoneui .t { font-size: 26px; margin-bottom: 6px; }
  .phoneui .row { padding: 8px 10px; font-size: 14px; }
  .phoneui .row b { font-size: 12px; }
  .ill { top: 84px; left: 14px; }
  .hgal .panel { aspect-ratio: auto; overflow: visible; background: none; }
  .hgal .panel img { aspect-ratio: 3 / 4; height: auto; border-radius: 18px; }
  .hgal figcaption { position: static; margin-top: 10px; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; max-width: none; }
  .hgal .pin { gap: 3vh; }
  .tools, .plans, .fin-grid { grid-template-columns: 1fr; }
  .plan.main { order: -1; }
  .quiz .linkbtn { margin-left: 8px; }
  .exploded { height: auto; }
  .exploded .pin { position: static; height: auto; padding: 90px var(--gutter); display: block; }
  .exploded .legend { display: none; }
  .layers { height: auto; perspective: none; display: grid; gap: 12px; margin-top: 28px; }
  .layer { position: relative; left: auto; top: auto; margin: 0; width: 100%; aspect-ratio: 2 / 1; transform: none; box-shadow: inset 0 0 0 1px var(--rule); }
  .layers .layer:nth-child(1) { order: 4; } .layers .layer:nth-child(2) { order: 3; } .layers .layer:nth-child(3) { order: 2; } .layers .layer:nth-child(4) { order: 1; }
  .layer .w { transform: scaleY(.85); }
  .closer { background: var(--ivory); color: var(--ink-c); text-align: center; padding: clamp(100px, 16vh, 180px) 0; }
.closer h2 { margin-inline: auto; max-width: none; font-size: clamp(56px, 9vw, 150px); line-height: .95; }
.closer .lead { margin: 22px auto 0; max-width: 44ch; font-size: clamp(18px, 1.6vw, 22px); }
.closer .ctas { justify-content: center; }
.fin-grid img { aspect-ratio: 16 / 11; }
  .finale { min-height: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .scrub.hero { height: 100vh; }
  .scrub.hero canvas, .hint, .rail { display: none; }
  .still { display: block; position: absolute; inset: 0; }
  .still img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .herocopy { opacity: 1 !important; transform: none !important; visibility: visible !important; }
  /* the still is the bright last frame (lit phone): a darker scrim keeps the headline at 3:1 and the small text at 4.5:1 */
  .scrub.hero .stage::after { background: linear-gradient(20deg, rgba(28, 27, 25, .94), rgba(28, 27, 25, .7) 48%, rgba(28, 27, 25, .2) 76%); }
  .hgal .track:focus-visible { outline: 2px solid var(--ivory); outline-offset: 4px; }
  .caps { display: flex; flex-direction: column; gap: 10px; position: absolute; z-index: 3; right: var(--gutter); bottom: 8vh; width: min(400px, 40vw); }
  .slam.cap, .slam.cap[data-k="1"], .slam.cap[data-k="2"] { position: static; opacity: 1; transform: none; filter: none; max-width: none; }
  .hgal { height: auto !important; }
  .hgal .pin { position: static; height: auto; padding: 90px 0; }
  .hgal .track { transform: none !important; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
  .hgal .panel { scroll-snap-align: start; }
  .step { opacity: 1; transform: none; }
  .marquee { white-space: normal; }
  .marquee > div { display: flex; flex-wrap: wrap; gap: .4em 1.4em; padding: 0 var(--gutter); }
  .marquee [aria-hidden="true"] { display: none; }
  .menu, .pill, .drawer, .drawer:not(.open), .scrim { transition: none; }
  .split .specs > *, .step { color: var(--ink-c); }
  /* split: each drawn screen sits beside its own text, nothing pinned */
  .split { display: grid; grid-template-columns: 1fr 1fr; }
  .split .media, .split .specs { display: contents; }
  .split .media > * { position: relative; inset: auto; height: 76vh; opacity: 1; transform: none; grid-column: 1; background: var(--rule); overflow: hidden; }   /* keep the phone shadow off the text below */
  .split .specs > * { grid-column: 2; min-height: 0; padding: 0 var(--gutter); }
  .split .media > :nth-child(1), .split .specs > :nth-child(1) { grid-row: 1; }
  .split .media > :nth-child(2), .split .specs > :nth-child(2) { grid-row: 2; }
  .split .media > :nth-child(3), .split .specs > :nth-child(3) { grid-row: 3; }
  /* website stack: flat, every layer and its label in view */
  .exploded { height: auto; }
  .exploded .pin { position: static; height: auto; padding: 110px var(--gutter); }
  .layers { height: auto; perspective: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .layer { position: relative; left: auto; top: auto; margin: 0; width: 100%; aspect-ratio: 2 / 1; transform: none !important; box-shadow: inset 0 0 0 1px var(--rule); }
  .layers .layer:nth-child(1) { order: 4; } .layers .layer:nth-child(2) { order: 3; } .layers .layer:nth-child(3) { order: 2; } .layers .layer:nth-child(4) { order: 1; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split .media > *, .split .specs > * { grid-column: 1; }
  .split .media > * { height: 50vh; padding-top: 24px; }
  .split .specs > * { padding: 28px var(--gutter) 48px; }
  .split .media > :nth-child(1) { grid-row: 1; } .split .specs > :nth-child(1) { grid-row: 2; }
  .split .media > :nth-child(2) { grid-row: 3; } .split .specs > :nth-child(2) { grid-row: 4; }
  .split .media > :nth-child(3) { grid-row: 5; } .split .specs > :nth-child(3) { grid-row: 6; }
  .phoneui { height: calc(50vh - 60px); }
  .layers { grid-template-columns: 1fr; }
  .scrub.hero .stage::after { background: linear-gradient(180deg, rgba(28, 27, 25, .92), rgba(28, 27, 25, .78) 52%, rgba(28, 27, 25, .55)); }
  .herocopy { top: 124px; bottom: auto; }
  .caps { left: var(--gutter); right: var(--gutter); width: auto; bottom: 4vh; }
}

/* French: longer button labels may wrap inside the price cards instead of pushing the third card off a tablet screen */
:lang(fr) .plan .btn { white-space: normal; text-align: center; }
:lang(fr) .flinks a { min-width: 44px; }   /* « Prix » is a short word: keep a 44 px target */
