/* Diorama — product page for Its All Design.
   Colour, type and layout follow the Brand & Marketing ID book:
   Forest → Vellum → Night → Vellum → Rust, Barlow Condensed for structure,
   Georgia italic for the one word to notice, Arial for everything else.
   Hero gold is the title only. Signal Blue is Diorama's own accent. */

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 200 300;
  font-display: swap;
  src: url(fonts/barlow-condensed-light-1.ttf) format('truetype');
}

:root {
  --forest: #101511;
  --night: #071018;
  --ink: #111410;
  --paper: #eeece2;
  --paper-deep: #dcd8c9;
  --vellum: #b9bcb7;
  --vellum-raised: #ced0ca;
  --sage: #aeb6aa;
  --soft: #d6d8cf;
  --rust: #bd5b3b;
  --rust-light: #e0866a;
  --rust-deep: #8e3f25;
  --lime: #d9ed9c;
  --blue: #3159d9;
  --blue-light: #8ba3f5;
  --gold: linear-gradient(178deg, #fffef1 0%, #fff7bf 27%, #ffdc75 45%, #e6b651 49%, #fff5c1 54%, #ffe196 75%, #ca993c 100%);
  --display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --accent: Georgia, 'Times New Roman', serif;
  --text: Arial, Helvetica, sans-serif;
  --margin: clamp(20px, 4.5vw, 64px);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --glide: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--forest); color: var(--paper); font: 16px/1.6 var(--text); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible { outline-color: var(--blue); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ── Shared type ─────────────────────────────── */
.eyebrow { font-size: 11px; line-height: 1.4; letter-spacing: 1.6px; text-transform: uppercase; color: var(--sage); }
.h2 { font-family: var(--display); font-weight: 200; font-size: clamp(42px, 5.6vw, 76px); line-height: .98; letter-spacing: -.012em; text-transform: uppercase; text-wrap: balance; }
.h2 em, .em { font-family: var(--accent); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; color: var(--rust-light); }
.on-light .h2 em, .on-light .em { color: var(--rust-deep); }
.lead { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--soft); max-width: 58ch; }
.on-light { color: var(--ink); }
.on-light .eyebrow { color: #2a2f28; }
.on-light .lead { color: #1f241e; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--margin); }
.sec { padding-block: clamp(72px, 9vw, 136px); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 22px; align-items: end; margin-top: 26px; }
.sec-head .h2 { grid-column: 1 / span 7; }
.sec-head .lead { grid-column: 8 / span 5; }
.sec-top { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid currentColor; border-color: rgba(238,236,226,.22); padding-top: 14px; }
.on-light .sec-top { border-color: rgba(17,20,16,.3); }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--glide), transform .9s var(--glide); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Header ──────────────────────────────────── */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s ease, border-color .35s ease; border-bottom: 1px solid transparent; }
.bar.solid, .sub .bar { background: rgba(16,21,17,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgba(238,236,226,.14); }
.bar-in { max-width: 1440px; margin-inline: auto; padding: 14px var(--margin); display: flex; align-items: center; gap: 28px; min-height: 64px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.iad { font-weight: 800; font-size: 26px; letter-spacing: -1.2px; line-height: 1; }
.iad i { font-style: normal; color: var(--lime); }
.mark-rule { width: 1px; height: 22px; background: rgba(238,236,226,.45); }
.mark-name { font-family: var(--display); font-weight: 300; font-size: 19px; letter-spacing: 3px; text-transform: uppercase; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 13px; }
.nav a { text-decoration: none; padding: 8px 0; color: var(--paper); text-shadow: 0 1px 8px rgba(0,0,0,.55); transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--lime); }
.cta { display: inline-block; flex: none; padding: 10px 20px; font-size: 14px; font-weight: 700; letter-spacing: .02em; line-height: 1.3; text-decoration: none; white-space: nowrap; color: #fff; background: var(--blue); border: 1px dashed rgba(255,255,255,.9); border-radius: 4px; box-shadow: 0 0 0 2px var(--blue); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.cta:hover { background: #2448bb; box-shadow: 0 0 0 2px #2448bb; transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────── */
.hero { position: relative; background: var(--forest); isolation: isolate; }
.film { position: relative; aspect-ratio: 1920 / 700; min-height: 340px; max-height: 76vh; width: 100%; overflow: hidden; background: #1b120b; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.film::before { content: ''; position: absolute; inset: 0 0 auto; height: 130px; z-index: 1; background: linear-gradient(to bottom, rgba(10,8,6,.72), transparent); pointer-events: none; }
.film::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, transparent 68%, rgba(16,21,17,.6) 86%, var(--forest) 100%); }
.film-btn { position: absolute; z-index: 3; right: var(--margin); top: 92px; min-height: 36px; padding: 8px 14px; font-size: 11px; color: var(--paper); background: rgba(16,19,17,.5); border: 1px solid rgba(241,240,233,.35); border-radius: 999px; cursor: pointer; transition: background .2s; }
.film-btn:hover { background: rgba(16,19,17,.88); }

.masthead { position: relative; z-index: 2; margin-top: clamp(-110px, -6.4vw, -40px); text-align: center; padding-inline: var(--margin); }
.lockup { display: inline-flex; align-items: center; justify-content: center; gap: clamp(4px, 1.2vw, 20px); }

/* The logo, built from its three registered layers. */
.logo { position: relative; flex: none; width: clamp(92px, 13vw, 196px); aspect-ratio: 1; }
.logo > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-rays { mix-blend-mode: screen; opacity: .95; -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 100%); mask-image: radial-gradient(closest-side, #000 52%, transparent 100%); }
.logo-cap { filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }

/* The title stands up the way the card does in the film above it. */
.title { display: flex; font-family: var(--display); font-weight: 200; font-size: clamp(64px, 12.6vw, 196px); line-height: 1.02; letter-spacing: 0; color: #ffe19a; filter: drop-shadow(0 1px 0 rgba(121,96,51,.9)) drop-shadow(0 6px 14px rgba(0,0,0,.75)); perspective: 900px; }
.title span { display: block; margin-inline: .055em; color: #ffe19a; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .title span {
    background-image: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.95) 50%, transparent 58%), var(--gold);
    background-size: 340% 100%, 100% 100%;
    background-position: 130% 0, 0 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
}
.tag { font-family: var(--accent); font-style: italic; font-size: clamp(21px, 2.7vw, 38px); line-height: 1.25; margin-top: clamp(2px, .5vw, 8px); color: var(--paper); }
.tag em { color: var(--rust-light); font-style: italic; }
.metaphor { margin-top: 14px; font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--sage); }

.js .hero:not(.go) .title span, .js .hero:not(.go) .tag, .js .hero:not(.go) .metaphor,
.js .hero:not(.go) .logo-rays, .js .hero:not(.go) .logo-podium, .js .hero:not(.go) .logo-cap { opacity: 0; }
.hero.go .title span { transform-origin: 50% 92%; animation: stand 1.25s var(--glide) both, glint 1.5s ease-in-out both; animation-delay: calc(1.1s + var(--i) * .13s), calc(5.2s + var(--i) * .08s); }
.hero.go .logo-rays { animation: fade 1.8s ease-out 2.5s both; }
.hero.go .logo-podium { animation: rise 1s var(--glide) 2.6s both; }
.hero.go .logo-cap { animation: settle 1.25s var(--spring) 3s both, hover 5.5s ease-in-out 4.3s infinite; }
.hero.go .tag { animation: lift 1.1s var(--glide) 3.3s both; }
.hero.go .metaphor { animation: lift 1.1s var(--glide) 3.7s both; }
.hero.go .intro-cue { animation: lift 1.1s var(--glide) 4s both; }
.js .hero:not(.go) .intro-cue { opacity: 0; }

@keyframes stand { from { opacity: 0; transform: rotateX(-88deg); } 35% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes glint { from { background-position: 130% 0, 0 0; } to { background-position: -40% 0, 0 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: .95; } }
@keyframes rise { from { opacity: 0; transform: translateY(16%) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(-46%) rotate(-5deg); } to { opacity: 1; transform: none; } }
@keyframes hover { 0%, 100% { transform: none; } 50% { transform: translateY(-2.6%); } }
@keyframes lift { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.intro-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; min-height: 44px; font-size: 13px; text-decoration: none; color: var(--paper); border-bottom: 1px solid rgba(238,236,226,.3); transition: color .2s, border-color .2s; }
.intro-cue:hover { color: var(--lime); border-color: var(--lime); }

/* ── 01 How it works ─────────────────────────── */
.how { padding-top: clamp(64px, 8vw, 112px); }
.how-grid { margin-top: clamp(32px, 4vw, 56px); }

.stage-wrap { position: relative; width: min(100%, calc(80vh * 1.6)); min-width: min(100%, 560px); margin-inline: auto; }
.stage {
  position: relative; container-type: inline-size; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; border: 1px solid rgba(238,236,226,.12); transition: opacity .45s ease;
  background:
    radial-gradient(ellipse 52% 72% at 50% -8%, rgba(255,214,130,.20), transparent 70%),
    radial-gradient(ellipse 90% 40% at 50% 104%, rgba(49,89,217,.26), transparent 72%),
    linear-gradient(180deg, #0a1520 0%, var(--night) 62%, #050b11 100%);
}
.stage.blink { opacity: 0; }
.stage.no-anim, .stage.no-anim * { transition: none !important; }
.st { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; transition: transform .7s var(--glide), opacity .5s ease, border-color .4s ease, width .7s linear, stroke-dashoffset .7s ease; }

/* A clip */
.tile { width: 60cqw; height: 37.5cqw; border-radius: .8cqw; overflow: hidden; background: #000 center / cover no-repeat; box-shadow: 0 2cqw 5cqw rgba(0,0,0,.6), 0 0 0 .12cqw rgba(238,236,226,.3); }
.tile-a { background-image: url(images/clip-main.jpg); }
.tile-b { background-image: url(images/clip-hp-12.jpg); }
.tile-c { background-image: url(images/clip-lc-9.jpg); }
.rec { display: flex; align-items: center; justify-content: center; gap: 1.1cqw; left: 41cqw; top: 50.4cqw; width: 18cqw; padding: .7cqw 1.4cqw; font-size: 2.3cqw; font-weight: 700; line-height: 1; letter-spacing: .3cqw; color: #fff; background: rgba(7,16,24,.85); border: .1cqw solid rgba(238,236,226,.3); border-radius: 99cqw; }
.rec i { flex: none; width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: #ff2a1f; box-shadow: 0 0 1.4cqw .3cqw rgba(255,42,31,.75); animation: flash 1s steps(1) infinite; }
@keyframes flash { 50% { background: #5a1410; box-shadow: none; } }
.rec-bar { left: 20cqw; top: 46.9cqw; height: .3cqw; background: var(--rust-light); }
.corners { left: 18.8cqw; top: 7.8cqw; width: 62.4cqw; height: 39.9cqw; --c: var(--lime); background:
  linear-gradient(var(--c),var(--c)) 0 0/3cqw .18cqw, linear-gradient(var(--c),var(--c)) 0 0/.18cqw 3cqw,
  linear-gradient(var(--c),var(--c)) 100% 0/3cqw .18cqw, linear-gradient(var(--c),var(--c)) 100% 0/.18cqw 3cqw,
  linear-gradient(var(--c),var(--c)) 0 100%/3cqw .18cqw, linear-gradient(var(--c),var(--c)) 0 100%/.18cqw 3cqw,
  linear-gradient(var(--c),var(--c)) 100% 100%/3cqw .18cqw, linear-gradient(var(--c),var(--c)) 100% 100%/.18cqw 3cqw;
  background-repeat: no-repeat; }

/* The window */
.win { width: 66cqw; height: 48cqw; }
.win-bg { position: absolute; inset: 0; border-radius: 1cqw; background: #171c22; box-shadow: 0 3cqw 7cqw rgba(0,0,0,.65), 0 0 0 .1cqw rgba(238,236,226,.2); transition: opacity .5s ease; }
.win-title { position: absolute; left: 0; right: 0; top: 0; height: 3cqw; display: flex; align-items: center; gap: .5cqw; padding-inline: 1cqw; transition: opacity .5s ease; }
.win-title b { width: .85cqw; height: .85cqw; border-radius: 50%; background: #5a6068; }
.win-title b:nth-child(1) { background: #e8695d; } .win-title b:nth-child(2) { background: #e6b651; } .win-title b:nth-child(3) { background: #62c554; }
.win-name { position: absolute; left: 13cqw; right: 0; text-align: center; font-size: 1.2cqw; letter-spacing: .03cqw; color: var(--soft); transition: opacity .4s ease; }
.side { position: absolute; left: 0; top: 3cqw; width: 13cqw; bottom: 0; padding: .8cqw; border-top: .08cqw solid rgba(238,236,226,.12); transition: opacity .5s ease; }
.rw { position: absolute !important; left: .9cqw; width: 11.2cqw; padding: .3cqw; border-radius: .5cqw; border: .14cqw solid transparent; transform-origin: 50% 50%; }
.rw img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: .25cqw; }
.rw span { display: block; margin-top: .3cqw; font-size: .95cqw; line-height: 1.2; color: var(--soft); white-space: nowrap; }
.rw1 { top: 1cqw; } .rw2 { top: 11.8cqw; } .rw3 { top: 22.6cqw; }

.main { position: absolute; left: 13cqw; top: 3cqw; width: 53cqw; height: 45cqw; perspective: 90cqw; perspective-origin: 50% 40%; }
.empty { position: absolute; inset: 2.4cqw; display: grid; place-items: center; text-align: center; border: .14cqw dashed rgba(238,236,226,.3); border-radius: .8cqw; font-size: 1.5cqw; color: var(--sage); transition: opacity .3s ease; }
.pg { position: absolute; inset: 0; transform-origin: 50% 50%; }
.pg-bg { position: absolute; inset: 0; border-radius: 0 0 1cqw 0; background: url(images/master-bg.jpg) center / cover; }
.pg-head { position: absolute; left: 0; right: 0; top: 2.2cqw; text-align: center; font-family: Georgia, serif; color: #fff; text-shadow: 0 .1cqw .5cqw rgba(0,0,0,.6); }
.pg-head strong { display: block; font-size: 2.5cqw; line-height: 1.2; font-weight: 700; }
.pg-head span { display: block; margin-top: .3cqw; font-size: 1.3cqw; opacity: .9; }
.pg-card { position: absolute; left: 4.1cqw; top: 9.8cqw; width: 44.8cqw; height: 28cqw; border-radius: .9cqw; overflow: hidden; background: #000 center / cover no-repeat; box-shadow: .9cqw 1.3cqw 2.2cqw rgba(0,0,0,.55); }

/* Later pages lie on top of earlier ones, so each drop and page turn shows. */
#pg1 { z-index: 1; } #pg2 { z-index: 2; } #pg3 { z-index: 3; } .next-tab { z-index: 4; }
#pg1 { transform-style: preserve-3d; }
/* will-change: opacity would flatten these back into one plane. */
#pg1, #pg1 .ly { will-change: transform; }
.plate { position: absolute; inset: 0; border: .12cqw dashed rgba(238,236,226,.6); border-radius: .8cqw; background: rgba(238,236,226,.05); }
.ly { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.1s var(--glide); pointer-events: none; }
.chip { position: absolute; padding: .3cqw .8cqw; font: 1.15cqw/1.3 var(--text); letter-spacing: .1cqw; text-transform: uppercase; white-space: nowrap; color: var(--ink); background: var(--lime); border-radius: .25cqw; }
.scrub { position: absolute; left: 4.1cqw; top: 39.3cqw; width: 44.8cqw; height: .55cqw; border-radius: 99cqw; background: rgba(255,255,255,.28); }
.scrub > i { display: block; height: 100%; border-radius: inherit; background: #fff; }
.tick { position: absolute; top: 50%; width: 1.25cqw; height: 1.25cqw; margin: -.62cqw 0 0 -.62cqw; border-radius: 50%; background: rgba(16,21,17,.85); border: .17cqw solid rgba(255,255,255,.75); }
.call { padding: .9cqw 1.2cqw; width: 15cqw; font: 700 1.45cqw/1.25 Georgia, serif; color: #1c130c; text-align: center; background: rgba(236,190,152,.93); border: .16cqw solid #30f7ff; border-radius: .9cqw; box-shadow: .5cqw .9cqw 1.5cqw rgba(0,0,0,.5); }
.mag { width: 15cqw; height: 9.4cqw; border: .16cqw solid #30f7ff; border-radius: .9cqw; background: url(images/clip-main.jpg) 80% 52% / 330% no-repeat; box-shadow: .5cqw .9cqw 1.5cqw rgba(0,0,0,.5); }
.pointer { width: 100%; height: 100%; overflow: visible; }
.pointer path { transition: stroke-dashoffset .6s ease; fill: none; stroke: #ff8a1f; stroke-width: .34; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.next-tab { left: 49.6cqw; top: 18cqw; width: 3.4cqw; height: 8.6cqw; display: grid; place-items: center; border-radius: .9cqw 0 0 .9cqw; color: #fff; font-size: 2.2cqw; background: rgba(7,16,24,.72); border: .1cqw solid rgba(255,255,255,.35); border-right: 0; }

/* The hand-over */
.app { width: 15cqw; text-align: center; font-size: 1.45cqw; color: var(--paper); }
.app img { width: 11.5cqw; margin: 0 auto .8cqw; filter: drop-shadow(0 .8cqw 1.6cqw rgba(0,0,0,.5)); }
.hand-line { left: 21cqw; top: 27cqw; width: 58cqw; height: 16cqw; }
.hand-line path { fill: none; stroke: rgba(238,236,226,.3); stroke-width: .15; stroke-dasharray: 1 1; }
.doc { width: 15cqw; text-align: center; font-size: 1.2cqw; color: var(--paper); }
.doc img { width: 8.6cqw; margin: 0 auto .5cqw; filter: drop-shadow(0 .8cqw 1.4cqw rgba(0,0,0,.55)); }
.cursor { width: 2.4cqw; height: 2.4cqw; z-index: 20; filter: drop-shadow(0 .15cqw .3cqw rgba(0,0,0,.6)); }

/* Steps under the stage */
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; margin-top: 22px; }
.rail button { position: relative; display: block; width: 100%; height: 100%; padding: 18px 0 4px; text-align: left; background: none; border: 0; cursor: pointer; }
.rail-track { position: absolute; inset: 0 0 auto; height: 1px; background: rgba(238,236,226,.25); }
.rail-track i { position: absolute; inset: -1px 0; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.rail-num { font-size: 11px; letter-spacing: 1.6px; color: var(--sage); }
.rail-name { display: block; margin-top: 6px; font-family: var(--display); font-weight: 300; font-size: clamp(27px, 2.6vw, 38px); line-height: 1; letter-spacing: 1px; text-transform: uppercase; color: var(--soft); transition: color .3s; }
.rail-desc { display: block; margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--sage); max-width: 30ch; transition: color .3s; }
.rail button:hover .rail-name, .rail .now .rail-name { color: var(--lime); }
.rail .now .rail-desc { color: var(--paper); }
.stage-btn { position: absolute; right: 12px; top: 12px; z-index: 30; min-height: 34px; padding: 6px 13px; font-size: 11px; color: var(--paper); background: rgba(7,16,24,.65); border: 1px solid rgba(238,236,226,.32); border-radius: 999px; cursor: pointer; }
.stage-btn:hover { background: rgba(7,16,24,.95); }

/* ── 02 On the page ──────────────────────────── */
.vellum { background: var(--vellum); }
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin-top: clamp(40px, 5vw, 72px); }
.feat li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding-block: 26px; border-top: 1px solid rgba(17,20,16,.3); }
.feat svg { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.feat svg .hot { stroke: var(--blue); }
.feat svg .fill { fill: var(--blue); stroke: none; }
.feat h3 { font-family: var(--display); font-weight: 300; font-size: 29px; line-height: 1.05; letter-spacing: .6px; text-transform: uppercase; }
.feat p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: #1f241e; max-width: 46ch; }

/* ── 03 Two apps ─────────────────────────────── */
.night { background: var(--night); position: relative; overflow: hidden; }
.night::before { content: ''; position: absolute; left: 50%; top: -18%; width: 90%; aspect-ratio: 1.8; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(49,89,217,.22), transparent); pointer-events: none; }
.night > * { position: relative; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(44px, 5vw, 72px); }
.pair article { display: grid; grid-template-columns: clamp(96px, 11vw, 148px) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 34px); padding-top: 28px; border-top: 1px solid rgba(238,236,226,.25); }
.pair img { width: 100%; height: auto; align-self: start; filter: drop-shadow(0 14px 26px rgba(0,0,0,.55)); transition: transform .6s var(--spring); }
.pair article:hover img { transform: translateY(-6px) rotate(-2deg); }
.pair h3 { font-family: var(--display); font-weight: 300; font-size: clamp(32px, 3.2vw, 44px); line-height: 1; letter-spacing: 1px; text-transform: uppercase; }
.pair .verb { margin-top: 8px; font-family: var(--accent); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--rust-light); }
.pair ul { margin-top: 18px; display: grid; gap: 9px; font-size: 15px; line-height: 1.45; color: var(--soft); }
.pair li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; }
.pair li::before { content: '·'; color: var(--lime); font-weight: 800; font-size: 20px; line-height: 1; }

/* ── 04 One file ─────────────────────────────── */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin-top: clamp(40px, 5vw, 72px); }
.three > div { border-top: 1px solid rgba(17,20,16,.3); padding-top: 20px; }
.three h3 { font-family: var(--display); font-weight: 300; font-size: 29px; line-height: 1.05; letter-spacing: .6px; text-transform: uppercase; margin-top: 16px; }
.three p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #1f241e; }
.three .art { height: 96px; display: flex; align-items: center; }
.three .art img { height: 92px; width: auto; filter: drop-shadow(0 8px 12px rgba(17,20,16,.35)); }
.three code { display: block; width: max-content; max-width: 100%; overflow-wrap: anywhere; padding: 11px 14px; font: 14px/1.35 ui-monospace, Menlo, monospace; color: var(--paper); background: var(--night); border-radius: 4px; }
.three code b { color: var(--lime); font-weight: 400; }
.three a { color: #16368f; }
.three .shut { margin: 0; color: var(--ink); line-height: 1.05; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--display); font-weight: 300; font-size: 34px; letter-spacing: 1px; text-transform: uppercase; }
.shut i { font-style: normal; color: var(--rust-deep); }

/* ── 05 Close ────────────────────────────────── */
.rust { background: var(--rust); color: #0c0a09; }
.rust .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 26px; align-items: end; }
.rust .h2 { grid-column: 1 / span 8; font-size: clamp(52px, 8vw, 116px); }
.rust .h2 em { color: var(--paper); }
.rust .side-note { grid-column: 9 / span 4; font-size: 16px; line-height: 1.55; font-weight: 700; }
.rust .eyebrow { grid-column: 1 / -1; color: #0c0a09; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; margin-top: 16px; padding: 12px 20px; font-size: 14px; font-weight: 400; text-decoration: none; color: var(--paper); background: #0c0a09; border-radius: 4px; transition: background .2s; }
.btn:hover { background: var(--night); }

/* ── Footer ──────────────────────────────────── */
.foot { background: var(--forest); padding-block: 44px 34px; font-size: 13px; color: var(--sage); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px 44px; flex-wrap: wrap; }
.foot .iad { color: var(--paper); font-size: 32px; }
.foot-name { display: block; margin-top: 8px; }
.foot nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.foot nav a { color: var(--paper); text-decoration: none; padding: 6px 0; }
.foot nav a:hover { color: var(--lime); }
.foot-end { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(238,236,226,.18); font-size: 12px; }
.foot-end em { font-family: var(--accent); }

/* ── Sub-pages: privacy and contact ──────────── */
.sub-hero { position: relative; overflow: hidden; background: var(--night); padding-block: clamp(120px, 13vw, 176px) clamp(52px, 6vw, 84px); }
.sub-hero::before { content: ''; position: absolute; right: 2%; top: -30%; width: min(62vw, 760px); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255,214,130,.13), rgba(49,89,217,.10) 55%, transparent); pointer-events: none; }
.sub-grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: end; }
.sub-copy { grid-column: 1 / span 7; }
.sub-title { margin-top: 18px; font-family: var(--display); font-weight: 200; font-size: clamp(50px, 7vw, 100px); line-height: .96; letter-spacing: -.012em; text-transform: uppercase; }
.sub-title em { font-family: var(--accent); font-style: italic; font-weight: 400; text-transform: none; color: var(--rust-light); letter-spacing: -.02em; }
.sub-lead { margin-top: 20px; }
.sub-date { margin-top: 16px; font-size: 12px; color: var(--sage); }
.promise { grid-column: 8 / span 5; padding: 24px 26px; color: var(--ink); background: rgba(206,208,202,.94); border-radius: 4px; }
.promise p { margin-top: 10px; font-size: 16px; line-height: 1.45; font-weight: 700; }
.promise ul { margin-top: 12px; display: grid; gap: 5px; font-size: 14px; }
.promise li::before { content: '· '; color: var(--rust-deep); font-weight: 800; }
.promise .eyebrow { color: #2a2f28; }

.policy { background: var(--paper); color: var(--ink); }
.policy-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-block: clamp(52px, 6vw, 88px); }
.policy-index { grid-column: 1 / span 3; position: sticky; top: 92px; align-self: start; font-size: 14px; }
.policy-index a { display: block; padding: 6px 0; color: #2a2f28; text-decoration: none; }
.policy-index a:hover { color: var(--rust-deep); }
.policy-index nav { margin-top: 10px; }
.policy-doc { grid-column: 5 / span 7; }
.policy-doc section { padding-block: 26px 30px; border-top: 1px solid rgba(17,20,16,.28); }
.policy-doc section:first-child { padding-top: 0; border-top: 0; }
.policy-doc h2 { margin-top: 6px; font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; letter-spacing: .5px; text-transform: uppercase; }
.policy-doc p, .policy-doc li { font-size: 16px; line-height: 1.65; color: #1f241e; }
.policy-doc p { margin-top: 12px; max-width: 64ch; }
.policy-doc ul { margin-top: 12px; display: grid; gap: 10px; max-width: 64ch; }
.policy-doc li { padding-left: 18px; position: relative; }
.policy-doc li::before { content: '·'; position: absolute; left: 3px; top: -2px; font-size: 22px; font-weight: 800; color: var(--rust-deep); }
.policy-doc a { color: #16368f; }
.policy-doc code { font: .9em ui-monospace, Menlo, monospace; }
.policy-doc .btn { color: var(--paper); }

.contact { background: var(--vellum); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 36px; padding-block: clamp(48px, 6vw, 88px); }
.contact-aside { grid-column: 1 / span 4; display: grid; gap: 28px; align-content: start; font-size: 15px; line-height: 1.55; }
.contact-aside .eyebrow { display: block; color: #2a2f28; margin-bottom: 8px; }
.contact-aside a { color: #16368f; }
.big-mail { font-family: var(--display); font-weight: 300; font-size: clamp(25px, 2.4vw, 33px); line-height: 1.1; letter-spacing: .3px; overflow-wrap: anywhere; }
.contact-form { grid-column: 6 / span 7; padding: clamp(22px, 3vw, 40px); background: var(--paper); border-radius: 4px; }
.form-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; align-content: start; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field label span { font-weight: 400; color: #4a5048; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 12px; font: 16px/1.4 var(--text); color: var(--ink); background: #fbfaf5; border: 1px solid rgba(17,20,16,.45); border-radius: 3px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form-help { font-size: 12px; color: #4a5048; }
.form-trap { position: absolute; left: -9999px; }
.send { min-height: 48px; padding: 12px 26px; font-size: 15px; color: #fff; background: var(--blue); border: 0; border-radius: 4px; cursor: pointer; transition: background .2s; }
.send:hover { background: #2448bb; }
.form-note { margin-top: 12px; font-size: 12px; line-height: 1.5; color: #4a5048; }
.form-note a { color: #16368f; }
.status { margin-bottom: 18px; padding: 12px 14px; font-size: 14px; border-radius: 3px; }
.status.is-success { background: #e4efc4; color: #223510; }
.status.is-error { background: #f4d9cf; color: #5c2412; }

/* ── Narrow ──────────────────────────────────── */
@media (max-width: 1000px) {
  .nav { gap: 16px; font-size: 12px; }
  .feat { column-gap: 32px; }
  .sec-head .h2, .sec-head .lead, .rust .h2, .rust .side-note, .sub-copy, .promise { grid-column: 1 / -1; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .three { grid-template-columns: minmax(0, 1fr); }
  .policy-index { display: none; }
  .policy-doc, .contact-aside, .contact-form { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .bar-in { flex-wrap: wrap; gap: 4px 18px; padding-block: 10px; }
  .bar-in .mark { flex: 1 1 auto; }
  .cta { padding: 8px 15px; font-size: 13px; }
  .nav { order: 3; margin-left: 0; width: 100%; justify-content: space-between; gap: 10px; }
  .nav a { padding-block: 9px; }
  html { scroll-padding-top: 116px; }
}
@media (max-width: 720px) {
  .film { aspect-ratio: auto; height: 62vw; min-height: 300px; }
  .film-btn { top: auto; bottom: 16px; right: 12px; }
  .masthead { margin-top: -26px; }
  .logo { width: 74px; }
  .title { font-size: clamp(52px, 15.4vw, 96px); }
  .title span { margin-inline: .03em; }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .feat svg { width: 38px; height: 38px; }
  .pair article { grid-template-columns: 84px minmax(0, 1fr); }
  .form-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .foot-top { flex-direction: column; }
}

/* ── Stillness ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero.go .title span, .hero.go .logo-rays, .hero.go .logo-podium, .hero.go .logo-cap, .hero.go .tag, .hero.go .metaphor, .hero.go .intro-cue { animation: none; opacity: 1; }
  .logo-rays { opacity: .95; }
  .rec i { animation: none; }
  .stage, .st { transition: none !important; }
}
