/* Qubit 3D landing page, v3. Darkroom product editorial (STYLE_ORYZO.md).
   One family (Inter, ss01), two voices: UPPERCASE 500 for everything, mixed-case 400 for descriptive copy.
   Seven colour tokens. Dashed 1px hairlines, no shadows, no white, no Ember on buttons, one filled pill per screen.

   Three compositions:
     1. the void stage   text | object | text, the text hugging the object (hero stages, closing)
     2. the media split  copy beside a large picture, alternating sides (tour, renders)
     3. the sheet        a heading over a row of columns (how it works, packages) or beside a list (who, why)
   Every screen is one viewport tall and its content is centred in it. */

:root {
  color-scheme: dark;
  --cream: #ffedd7;     /* all text, nav, interactive borders */
  --walnut: #100904;    /* canvas and every section */
  --bark: #382416;      /* the one filled CTA */
  --cork: #40372e;      /* hairlines, dashed dividers, card outlines */
  --drift: #6c5f51;     /* secondary dividers, muted structure (never text) */
  --ember: #dc5000;     /* step numbers and the credit line only */
  --black: #000000;     /* SVG icon fills only */

  --f: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* frame */
  --m: clamp(16px, 2.2vw, 56px);          /* page margin */
  --nav-h: 64px;
  --tab: 0px;                              /* room kept free for the vertical tab (landscape only) */
  --gap: clamp(20px, 2.6vw, 64px);         /* text to object */
  --gap2: clamp(28px, 4vw, 96px);          /* between the big columns of a screen */
  --pad-y: clamp(16px, 4.5svh, 64px);      /* screen padding above (under the nav) and below */
  --ar: 1;                                 /* aspect of the hero object box (set from the manifest) */

  /* type: sizes follow the smaller of width and height, so short windows scale down too */
  --fs-h: clamp(1.625rem, min(0.4rem + 2.4vw, 4.6svh), 4rem);          /* heading, 41 at 1440x900 */
  --fs-body: clamp(1.0625rem, min(0.25rem + 1.75vw, 3.2svh), 2.5rem);  /* the conversational voice, 29 at 1440x900 */
  --fs-body-m: clamp(1rem, min(0.2rem + 1.4vw, 2.6svh), 2rem);         /* same voice in multi-column screens */
  --fs-body-s: clamp(0.9375rem, min(0.15rem + 1.12vw, 2.1svh), 1.5rem);/* same voice under small pictures */
  --fs-h3: clamp(1.125rem, min(0.2rem + 1.75vw, 3.1svh), 2.5rem);      /* list titles */
  --fs-hsm: clamp(1.0625rem, min(0.15rem + 1.5vw, 2.7svh), 2.25rem);   /* heading-sm, 24 at 1440x900 */
  --fs-st: clamp(1.75rem, min(0.5rem + 3.4vw, 6.4svh), 5.5rem);        /* hero stage headings, 57 at 1440x900 */
  --fs-price: clamp(2.25rem, min(0.5rem + 3vw, 5.7svh), 4.5rem);       /* 51 at 1440x900 */
  --fs-lab: clamp(0.75rem, 0.6rem + 0.25vw, 0.9375rem);                /* small uppercase labels, 12 to 15 */
}
@media (max-width: 759px) {
  :root { --nav-h: 56px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--walnut); font-size: clamp(100%, calc(50% + 0.5556vw), 125%); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--walnut);
  color: var(--cream);
  font: 500 0.875rem/1.2 var(--f);
  font-feature-settings: "ss01";
  font-optical-sizing: auto;
  letter-spacing: normal;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
picture { display: contents; }
h1, h2, h3, h4, p, ul, ol, figure, hr { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; text-transform: inherit; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 0; }
::selection { background: var(--cream); color: var(--walnut); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px;
  background: var(--cream); color: var(--walnut); text-decoration: none; border-radius: 22.5px; font-size: 0.75rem;
}
.skip:focus { top: 12px; }

/* ---------- the two voices ---------- */
.h { font-size: var(--fs-h); line-height: .9; text-wrap: balance; }
.body { font-weight: 400; font-size: var(--fs-body); line-height: 1.26; text-transform: none; text-wrap: pretty; }
.body--m { font-size: var(--fs-body-m); line-height: 1.3; }
.body--s { font-size: var(--fs-body-s); line-height: 1.32; }
.num { display: block; margin-bottom: 14px; color: var(--ember); font-size: 0.75rem; line-height: 1; }
.tag { font-size: var(--fs-lab); line-height: 1.2; }
.small { font-size: 0.75rem; line-height: 1.4; color: rgb(255 237 215 / .8); }
.nw { white-space: nowrap; }
.cap { margin-top: 12px; font-size: 0.6875rem; line-height: 1.3; color: rgb(255 237 215 / .72); }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 13px 22px;
  font: 500 0.8125rem/1 var(--f); font-feature-settings: "ss01"; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--cream); border: 1px solid transparent; background: transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.pill--fill { background: var(--bark); border-radius: 36px; }
.pill--fill:hover { border-color: var(--cream); }
.pill--ghost { border-color: var(--cream); border-radius: 22.5px; }
.pill--ghost:hover { background: rgb(255 237 215 / .1); }
.pill--nav { min-height: 36px; padding: 10px 16px; font-size: 0.75rem; }
.pills, .act { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- lists of short facts: uppercase labels between dashed hairlines ---------- */
.lines li { padding: .85em 0; border-top: 1px dashed var(--cork); font-size: var(--fs-lab); line-height: 1.25; }
.lines li:last-child { border-bottom: 1px dashed var(--cork); }

/* ---------- fixed nav and the vertical tab ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding-inline: var(--m);
}
/* walnut, fading out: keeps the transparent nav readable over pictures that scroll beneath it */
.nav::before {
  content: ""; position: absolute; inset: 0 0 -18px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--walnut) 0, rgb(16 9 4 / .86) 55%, rgb(16 9 4 / 0) 100%);
}
.nav__brand { font-size: 0.875rem; text-decoration: none; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { padding-block: 6px; font-size: 0.75rem; text-decoration: none; border-bottom: 1px dashed transparent; }
.nav__links a:hover, .nav__links a[aria-current="true"] { border-bottom-color: var(--cream); }
/* WhatsApp funnel pill (BD clients) beside the app pills; long/short labels so no pill ever wraps or clips */
.pl-short { display: none; }
.nav .pill--wa + .pill--nav { margin-left: -18px; }
@media (max-width: 1099px) {
  .nav .pl-long { display: none; }
  .nav .pl-short { display: inline; }
}
@media (max-width: 899px) {
  .nav { gap: 8px; }
  .nav__links { display: none; }
  .nav .pill--wa { margin-left: auto; }
  .nav .pill--wa + .pill--nav { margin-left: 0; }
}
@media (max-width: 380px) {
  .pills .pl-long, .act .pl-long { display: none; }
  .pills .pl-short, .act .pl-short { display: inline; }
}
.vtab {
  position: fixed; right: 0; top: 50%; z-index: 40; transform: translateY(-50%);
  writing-mode: vertical-rl; padding: 16px 7px; border-radius: 12px 0 0 12px;
  background: var(--cream); color: var(--walnut); font-size: 0.625rem; line-height: 1; white-space: nowrap; pointer-events: none;
  display: none;
}

/* =========================================================
   HERO: a pinned stage. Scroll turns the plan into the furnished dollhouse.
   The canvas draws each frame so that its object box lands on a rectangle that moves from the cover slot
   (under the headline) to the stage box (the centre of the screen). JS reads both rectangles from the layout.
   ========================================================= */
.hero { position: relative; height: 420vh; height: 420svh; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--stage-bg, var(--walnut));
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.hero.is-live .hero__canvas { opacity: 1; }
.hero.is-live .cover__poster { visibility: hidden; }

.display { font-size: var(--fs-display); line-height: .88; }
.display span { display: block; white-space: nowrap; }
.cover__top .tag { margin-bottom: 14px; }
.cover__slot { position: relative; min-height: 0; min-width: 0; }
.cover__poster { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.cover__side .body { font-size: calc(var(--fs-body) * .86); }
.cover__side .pills { margin-top: clamp(16px, 2.6svh, 28px); }
.cover__side .small { margin-top: clamp(12px, 2svh, 18px); }
.intro { transition: opacity .15s linear; }

/* cover cards: the sample project (frosted) and the tour clip */
.card { border: 1px solid var(--cork); border-radius: 12px; }
.card--info {
  width: min(100%, 280px); padding: 18px; background: rgb(255 237 215 / .06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.card__h { font-size: 0.75rem; line-height: 1.2; }
.card .dash { margin: 12px 0; border: 0; border-top: 1px dashed var(--cork); }
.card__p { font-size: 0.875rem; font-weight: 400; line-height: 1.35; text-transform: none; }
.card--video {
  position: relative; display: block; width: clamp(168px, 22svh, 240px); aspect-ratio: 16 / 9; overflow: hidden;
  color: var(--cream); text-decoration: none; background: var(--walnut);
}
.card--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__play {
  position: absolute; left: 50%; top: 42%; width: 32px; height: 32px; margin: -16px 0 0 -16px;
  display: grid; place-items: center; border-radius: 50%; background: var(--cream);
}
.card__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px; display: flex; justify-content: space-between; gap: 8px;
  font-size: 0.5625rem; line-height: 1; background: rgb(16 9 4 / .78);
}
.card__cap b { font-weight: 500; }
.card--video:hover .card__play { outline: 1px solid var(--cream); outline-offset: 3px; }
.cards-off .card--video { visibility: hidden; }

.cue { display: flex; align-items: center; gap: 10px; font-size: 0.6875rem; line-height: 1; white-space: nowrap; }
.cue__ring { display: grid; place-items: center; width: 22px; height: 22px; border: 1px dashed var(--cream); border-radius: 50%; }

/* the four stages */
.stages { position: absolute; inset: 0; pointer-events: none; }
.st-l, .st-r { display: grid; pointer-events: auto; }
.stg { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.stg.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.stg h2 { font-size: var(--fs-st); line-height: .9; text-wrap: balance; }
.stg .pills { margin-top: clamp(16px, 2.6svh, 28px); }

/* progress: a dashed rule with four ticks, under the object */
.prog { position: relative; height: 0; border-top: 1px dashed var(--drift); --p: 0; opacity: 0; transition: opacity .3s; }
.prog.is-on { opacity: 1; }
.prog__fill { position: absolute; left: 0; top: -1px; height: 1px; width: calc(var(--p) * 100%); background: var(--cream); }
.prog__tick { position: absolute; top: -5px; left: calc(var(--t, 0) * 100%); width: 1px; height: 9px; background: var(--drift); }
.prog__tick b { position: absolute; top: 15px; left: 0; font-size: 0.625rem; font-weight: 500; line-height: 1; color: rgb(255 237 215 / .62); transform: translateX(-50%); transition: color .2s; }
.prog__tick.is-on { background: var(--cream); }
.prog__tick.is-on b { color: var(--cream); }

.rm { display: none; }

/* ---------- landscape: headline across the top, the plan under it, copy on the right ---------- */
@media (min-width: 900px) and (min-aspect-ratio: 6/5) {
  :root { --tab: 30px; }
  .vtab { display: block; }
  .stage {
    --fs-display: min(calc((100vw - 2 * var(--m) - var(--tab)) / 13.6), calc(0.5rem + 7.4svh), 9rem);
    --top-pad: clamp(10px, 2.6svh, 32px);
    --band: calc(2 * var(--top-pad) + 22px + var(--fs-lab) * 1.2 + 2.64 * var(--fs-display));
    --cue-h: clamp(44px, 7svh, 64px);
    --slot-h: calc(100svh - var(--nav-h) - var(--band) - var(--cue-h));
    --obj: min(42vw, 72svh);                                   /* stage object width */
    --obj-c: max(160px, min(var(--obj), var(--slot-h) * var(--ar)));  /* cover object width */
  }
  .cover {
    position: absolute; inset: 0; display: grid;
    grid-template-columns: var(--m) minmax(0, 1fr) var(--gap) var(--obj-c) var(--gap) minmax(0, 1fr) calc(var(--m) + var(--tab));
    grid-template-rows: var(--nav-h) auto minmax(0, 1fr) var(--cue-h);
  }
  .cover__top { grid-area: 2 / 2 / 3 / 7; padding-block: var(--top-pad) calc(var(--top-pad) + 8px); }
  .cover__slot { grid-area: 3 / 4; }
  .cover__side { grid-area: 3 / 6; align-self: start; justify-self: start; width: min(100%, calc(var(--fs-body) * .86 * 18)); }
  .cover__side .small { font-size: 0.75rem; }
  .cover__side .pill { min-height: 42px; padding: 12px 18px; font-size: 0.75rem; }
  .card--info { grid-area: 3 / 2; align-self: end; justify-self: start; }
  .card--video { grid-area: 3 / 6; align-self: end; justify-self: end; }
  .cue { grid-area: 4 / 2 / 5 / 7; align-self: center; justify-self: center; }

  .stages {
    display: grid;
    grid-template-columns: var(--m) minmax(0, 1fr) var(--gap) var(--obj) var(--gap) minmax(0, 1fr) calc(var(--m) + var(--tab));
    grid-template-rows: minmax(0, 1fr) calc(var(--obj) / var(--ar)) minmax(0, 1fr);
  }
  .st-obj { grid-area: 2 / 4; }
  .st-l { grid-area: 1 / 2 / 4 / 3; align-self: center; justify-self: end; width: min(100%, calc(var(--fs-st) * 7.4)); }
  .st-r .pills { display: grid; grid-template-columns: max-content; }
  .st-r { grid-area: 1 / 6 / 4 / 7; align-self: center; justify-self: start; width: min(100%, calc(var(--fs-body) * 13.5)); }
  .prog { grid-area: 3 / 4; align-self: start; margin-top: clamp(20px, 4svh, 40px); }
}

/* ---------- stacked: phones, tablets upright. Headline, plan band, copy ---------- */
@media not all and (min-width: 900px) and (min-aspect-ratio: 6/5) {
  .hero { height: 360vh; height: 360svh; }
  .stage {
    --fs-display: min(calc((100vw - 2 * var(--m)) / 13.6), calc(0.25rem + 5svh), 4.5rem);
    --bw: min(calc(100vw - 2 * var(--m)), 46svh);             /* band width; JS refines it from the text heights */
  }
  .cover {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    padding: calc(var(--nav-h) + clamp(6px, 1.6svh, 18px)) var(--m) clamp(14px, 2.4svh, 24px);
  }
  .cover__top .tag { margin-bottom: clamp(8px, 1.4svh, 14px); }
  .cover__slot { flex: 1 1 auto; min-height: 120px; margin-block: clamp(10px, 2svh, 20px); }
  .cover__side .body { font-size: clamp(1rem, min(4.4vw, 2.3svh), 1.375rem); }
  .cover__side .pills { display: grid; grid-template-columns: 1fr; margin-top: clamp(10px, 1.8svh, 18px); }
  .stg .pills { margin-top: clamp(10px, 1.8svh, 16px); }
  .stg .pill { flex: 1 1 auto; min-height: 42px; padding: 12px 14px; font-size: 0.75rem; }
  .cover__side .small { margin-top: clamp(8px, 1.4svh, 14px); }
  .card, .cue { display: none; }

  .stages {
    display: flex; flex-direction: column; justify-content: center; gap: clamp(12px, 2.2svh, 20px);
    padding: calc(var(--nav-h) + 22px) var(--m) clamp(14px, 2.4svh, 24px);
  }
  .st-obj { flex: none; align-self: center; width: var(--bw); height: calc(var(--bw) / var(--ar)); }
  .stg h2 { font-size: clamp(1.625rem, min(7.4vw, 4svh), 2.75rem); }
  .st-r .body { font-size: clamp(1rem, min(4.4vw, 2.3svh), 1.375rem); }
  .prog { position: absolute; top: calc(var(--nav-h) + 4px); left: var(--m); right: var(--m); }
  .prog__tick b { display: none; }
}
@media (max-width: 759px) and (max-height: 700px) { .cover__top .tag { display: none; } }
@media (max-width: 759px) and (max-height: 620px) { .cover__side .small { display: none; } }

/* ---------- reduced motion and no script: no pin, no scrub; the cover, then the finished model ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .stage { position: relative; }
  .hero__canvas, .stages { display: none; }
  .hero .cover__poster { visibility: visible; }
}
html:not(.js) .hero { height: auto; }
html:not(.js) .stage { position: relative; }
html:not(.js) .hero__canvas, html:not(.js) .stages, html:not(.js) .cue, html:not(.js) .card--video { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rm { display: grid; }
}
html:not(.js) .rm { display: grid; }
.rm {
  min-height: 100svh; align-content: center; align-items: center; row-gap: 20px;
  padding: calc(var(--nav-h) + var(--pad-y)) calc(var(--m) + var(--tab)) var(--pad-y) var(--m); border-top: 1px dashed var(--cork);
}
.rm h2 { font-size: var(--fs-st); line-height: .9; text-wrap: balance; }
.rm__obj img { width: 100%; height: auto; }
.rm .pills { margin-top: 24px; }
@media (min-width: 900px) {
  .rm { grid-template-columns: minmax(0, 1fr) min(42vw, 72svh) minmax(0, 1fr); column-gap: var(--gap); }
  .rm__l { justify-self: end; width: min(100%, calc(var(--fs-st) * 7.4)); }
  .rm__r { justify-self: start; width: min(100%, calc(var(--fs-body) * 13.5)); }
}

/* =========================================================
   SCREENS: one viewport each, content centred, a dashed hairline between them
   ========================================================= */
.screen {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: center;
  padding: calc(var(--nav-h) + var(--pad-y)) calc(var(--m) + var(--tab)) var(--pad-y) var(--m);
  border-top: 1px dashed var(--cork);
}

/* ---- media split ---- */
.split { display: grid; gap: clamp(20px, 3svh, 32px); }
.split__text, .split__head, .split__more { display: grid; align-content: start; }
.split__head { gap: clamp(16px, 2.8svh, 28px); }
.split__more { gap: clamp(16px, 2.8svh, 28px); }
.split__media { min-width: 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: rgb(255 237 215 / .04); }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video__pause {
  position: absolute; right: 12px; bottom: 12px; min-height: 32px; padding: 8px 14px; font-size: 0.625rem; line-height: 1;
  color: var(--cream); background: rgb(16 9 4 / .72); border: 1px solid var(--cream); border-radius: 22.5px; cursor: pointer;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap2); align-items: center; }
  .split__text { row-gap: clamp(20px, 3.6svh, 40px); }
  .split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--rev .split__media { grid-column: 1; grid-row: 1; }
  .split--rev .split__text { grid-column: 2; grid-row: 1; }
  .split .body { font-size: min(var(--fs-body), calc(var(--fs-body-m) * 1.12)); }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .split { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); }
  .split--rev { grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); }
}
@media (min-width: 900px) and (max-height: 700px) {
  :root { --pad-y: 14px; }
}
@media (max-width: 899px) {
  .split__text { display: contents; }
  .split__head { order: 1; }
  .split__media { order: 2; }
  .split__more { order: 3; }
  .split .act .pill { flex: 1 1 auto; }
}

/* ---- before / after ---- */
.ba__stage {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: rgb(255 237 215 / .04);
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; --pos: 50%;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -.5px; width: 1px; background: var(--cream); }
.ba__grip {
  position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center;
  color: var(--cream); background: rgb(16 9 4 / .45); border: 1px solid var(--cream); border-radius: 50%;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba__stage:has(.ba__range:focus-visible) { outline: 2px solid var(--cream); outline-offset: 4px; }
.ba__stage:has(.ba__range:focus-visible) .ba__grip { background: var(--cream); color: var(--walnut); }
.ba__chip {
  position: absolute; top: 12px; padding: 7px 12px; font-size: 0.625rem; line-height: 1; pointer-events: none; transition: opacity .2s;
  background: rgb(16 9 4 / .74); border: 1px solid rgb(255 237 215 / .5); border-radius: 22.5px;
}
.ba__chip--l { left: 12px; }
.ba__chip--r { right: 12px; }
.ba__stage.hide-l .ba__chip--l, .ba__stage.hide-r .ba__chip--r { opacity: 0; }

.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 8px; }
@media (max-width: 379px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sw {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px 6px 8px;
  font: 500 0.6875rem/1 var(--f); font-feature-settings: "ss01"; text-transform: uppercase; color: var(--cream);
  background: transparent; border: 1px solid rgb(255 237 215 / .3); border-radius: 9999px; cursor: pointer;
  transition: border-color .2s;
}
.sw:hover { border-color: rgb(255 237 215 / .7); }
.sw[aria-pressed="true"] { border-color: var(--cream); }
.sw i { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%); }

/* ---- the sheet: heading over a row ---- */
.sheet { display: grid; row-gap: clamp(24px, 5.5svh, 72px); }
.steps { --sg: clamp(28px, 3.2vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--sg); }
.step { position: relative; }
.step + .step::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--sg) / -2); border-left: 1px dashed var(--cork); }
.step__img { aspect-ratio: 4 / 3; margin-bottom: clamp(16px, 3svh, 32px); }
.step__img img { width: 100%; height: 100%; object-fit: contain; }
.step h3 { font-size: var(--fs-hsm); line-height: 1.09; text-wrap: balance; }
.step .body { margin-top: clamp(8px, 1.4svh, 14px); }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .step:nth-child(odd)::before { display: none; }
}
@media (max-width: 559px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step + .step::before { display: none; }
  .step {
    display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px;
    padding: 16px 0; border-top: 1px dashed var(--cork);
  }
  .step:last-child { border-bottom: 1px dashed var(--cork); }
  .step__img { grid-row: 1 / 4; margin: 0; align-self: center; }
  .step .num { margin-bottom: 8px; }
}

/* ---- the duo: heading beside a list ---- */
.duo { display: grid; row-gap: clamp(24px, 4svh, 40px); }
.rows li { padding: clamp(18px, 3svh, 30px) 0; border-top: 1px dashed var(--cork); }
.rows li:last-child { border-bottom: 1px dashed var(--cork); }
.rows h3 { font-size: var(--fs-h3); line-height: 1.05; text-wrap: balance; }
.rows .body { margin-top: 10px; }
.manifesto li { padding: clamp(16px, 2.8svh, 30px) 0; border-top: 1px dashed var(--cork); }
.manifesto li:last-child { border-bottom: 1px dashed var(--cork); }
.manifesto h3 { font-size: clamp(1.5rem, min(0.3rem + 2.9vw, 5.2svh), 4.5rem); line-height: .92; text-wrap: balance; }
.manifesto .body { margin-top: 10px; }
@media (min-width: 900px) {
  .duo { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--gap2); align-items: start; }
  .rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(18px, 2vw, 40px); align-items: baseline; }
  .rows .body { margin-top: 0; }
  .manifesto li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap2); align-items: baseline; }
  .manifesto .body { margin-top: 0; }
}

/* ---- packages ---- */
.sheet__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 10px 18px 10px 14px; cursor: pointer;
  font-size: 0.75rem; line-height: 1; background: transparent; border: 1px solid rgb(255 237 215 / .3); border-radius: 22.5px;
  transition: border-color .2s;
}
.tab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--cream); }
.tab:hover { border-color: rgb(255 237 215 / .7); }
.tab[aria-selected="true"] { border-color: var(--cream); }
.tab[aria-selected="true"]::before { background: var(--cream); }
.pk-wrap { display: grid; }
.js .pk { grid-area: 1 / 1; align-self: start; }
.js .pk.is-off { visibility: hidden; }
.js .pk__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html:not(.js) .pk + .pk { margin-top: 32px; }
html:not(.js) .pk__name { margin-bottom: 18px; font-size: var(--fs-hsm); }
html:not(.js) .tabs { display: none; }
.pk:focus-visible { outline-offset: 8px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; gap: clamp(12px, 2svh, 18px); padding: 24px; border: 1px solid var(--cork); border-radius: 12px; }
.pcard__t { font-size: 0.75rem; line-height: 1; }
.pcard__price { font-size: var(--fs-price); line-height: .9; }
.pcard .lines { margin-top: 2px; }
.pcard .lines li { font-size: 0.8125rem; padding-block: .8em; }
.plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plans--4 .pcard { padding: 20px; }
.plans--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.plans--5 .pcard { padding: 18px; }
.pcard__badge { display: inline-block; margin-left: 6px; padding: 3px 8px; border: 1px solid var(--cream); border-radius: 12px; font-size: 0.625rem; letter-spacing: .04em; vertical-align: 1px; }
.pk-how { margin: clamp(14px, 2.4svh, 24px) 0; max-width: 90ch; }
.pk-how summary { display: inline-block; padding: 6px 0; cursor: pointer; font-size: 0.75rem; letter-spacing: .04em; border-bottom: 1px dashed var(--cork); }
.pk-how summary:focus-visible { outline: 1px solid var(--cream); outline-offset: 4px; }
.pk-how[open] summary { margin-bottom: 12px; }
.pk-table { width: 100%; max-width: 560px; border-collapse: collapse; font-size: 0.9375rem; font-weight: 400; text-transform: none; }
.pk-table th, .pk-table td { padding: .55em 0; border-top: 1px dashed var(--cork); text-align: left; font-weight: 400; }
.pk-table td { text-align: right; white-space: nowrap; }
.pk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pk-rules { margin: 14px 0 0; padding-left: 1.1em; max-width: 64ch; font-size: 0.9375rem; font-weight: 400; line-height: 1.45; text-transform: none; color: rgb(255 237 215 / .86); }
@media (max-width: 1199px) and (min-width: 900px) { .plans--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard__u { font-size: 0.75rem; letter-spacing: .02em; }
.pcard__credits { margin-top: 14px; font-size: 0.8125rem; letter-spacing: .02em; text-transform: uppercase; }
.pcard__sub { margin-top: 6px; font-size: 0.8125rem; color: var(--cream-72, rgba(245,234,215,.72)); text-transform: none; letter-spacing: 0; }
.pcard--free { border-color: var(--cream); }
.pk-cost { margin: clamp(14px, 2.4svh, 24px) 0; max-width: 90ch; font-size: 0.9375rem; font-weight: 400; line-height: 1.4; text-transform: none; color: rgb(255 237 215 / .86); }
.pk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.pk-note { max-width: 48ch; font-size: 0.9375rem; font-weight: 400; line-height: 1.4; text-transform: none; color: rgb(255 237 215 / .86); }
@media (max-width: 899px) {
  .plans, .plans--4, .plans--5 { grid-template-columns: 1fr; }
  .pk-foot .pill { flex: 1 1 100%; }
}

/* ---- closing: the finished home in the void, the call to action, the signature ---- */
.screen--end { align-content: center; }
.closing { display: grid; row-gap: 22px; }
.closing__obj img { width: 100%; height: auto; }
.closing__r { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }
.tlinks { display: grid; gap: 14px; font-size: 0.6875rem; line-height: 1.2; color: rgb(255 237 215 / .78); }
.tlinks span { display: grid; gap: 5px; }
.tlink { justify-self: start; font-size: 0.8125rem; overflow-wrap: anywhere; color: var(--cream); text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 5px; }
.tlink:hover { text-decoration-style: solid; }
.credit { color: var(--ember); font-size: 0.75rem; line-height: 1.2; }
.wordmark {
  margin-top: clamp(20px, 4svh, 48px); font-size: var(--wm, 13vw);
  line-height: .78; white-space: nowrap; text-box: trim-both cap alphabetic;
}
.wordmark span { display: inline-block; }
/* the closing brand: hover (or tap) plays a soft wave, letter by letter, up and back down */
.wordmark .wm-ch { will-change: transform; }
.wordmark:hover .wm-ch, .wordmark.is-wave .wm-ch { animation: wm-wave .9s cubic-bezier(.33, 0, .2, 1) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes wm-wave { 0% { transform: translateY(0); } 38% { transform: translateY(-12%); } 72% { transform: translateY(3%); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .wordmark:hover .wm-ch, .wordmark.is-wave .wm-ch { animation: none; } }
.legal { margin-top: calc(0.13 * var(--wm, 13vw) + 10px); font: 500 0.5rem/1.4 Arial, Helvetica, sans-serif; text-transform: uppercase; }
@media (min-width: 900px) {
  .screen--end {
    padding-bottom: clamp(14px, 2.4svh, 28px);
    --wm-w: min(60vw, 100%);
    --obj-e: min(50vw, calc(100vw - 2 * (var(--m) + var(--gap) + 250px) - var(--tab)), calc((100svh - var(--nav-h) - var(--pad-y) - 0.99 * var(--wm, 13vw) - 96px) * 1.6));
  }
  .closing { grid-template-columns: minmax(0, 1fr) var(--obj-e) minmax(0, 1fr); column-gap: var(--gap); align-items: center; }
  .closing__l { justify-self: end; width: min(100%, calc(var(--fs-h) * 8.6)); }
  .closing__r { justify-self: start; width: min(100%, calc(var(--fs-body) * 13.5)); }
  .wordmark { width: var(--wm-w); justify-self: center; text-align: center; }
  .legal { justify-self: start; }
}

/* ---- scroll-linked word reveal (the words are wrapped in JS; the real text stays in .sr-only) ---- */
.rv .w { opacity: .22; }
html.rv-pending .screen .h, html.rv-pending .screen .body { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html.rv-pending .screen .h, html.rv-pending .screen .body { opacity: 1; }
}

/* photoreal section (26 Oct 2026): six muted looping clips, contact only */
.pr__marks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pr__marks li { border-top: 1px dashed var(--cork); padding-top: 14px; }
.pr__marks h3 { margin: 6px 0 4px; font-size: 1rem; font-weight: 500; }
.pr__grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pr__clip { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #1b120c; }
.pr__clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr__cap { margin-top: 12px; }
.pr__mail { margin-left: 14px; }
@media (max-width: 899px) { .pr__marks { grid-template-columns: 1fr; } .pr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pr__grid { grid-template-columns: 1fr; } }
/* photoreal head: heading wraps to two lines so the subtitle sits on the right, as in Pricing */
#photoreal .sheet__head .h { max-width: 22ch; }
/* phones: the nav keeps Sign in + Get started; WhatsApp stays in the hero and the closing section */
@media (max-width: 520px) { .pill--nav.pill--wa { display: none; } }
.legal a { color: inherit; text-underline-offset: 2px; }
