/* Divoden — site styles. Colours and type are set once here, at the top. */

/* Colour themes. The live one is chosen in Admin > Settings (html data-palette).
   green = Matrix green; blue = Divoden black, white and logo blue; mix = Matrix green rain with Divoden blue. */
:root {
  --bg: #020503;
  --bg-rgb: 2, 5, 3;
  --glow: #04140b;
  --deep: #04140a;
  --ink: #effff4;
  --dim: #a3c9b1;
  --mute: #648a74;
  --accent: #00ff66;
  --accent-rgb: 0, 255, 102;
  --accent-2: #00c853;
  --accent-3: #0d5a2c;
  --on-accent: #021107;
  --pop: #e8ff3a;
  --rain-1: 0, 255, 102;
  --rain-2: 0, 255, 102;
  --rain-mix: 0;
  --line: rgba(var(--accent-rgb), .17);
  --panel: rgba(3, 12, 7, .78);
  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --pad: clamp(20px, 4.4vw, 72px);
  --max: 1320px;
  color-scheme: dark;
}
html[data-palette="blue"] {
  --bg: #020406;
  --bg-rgb: 2, 4, 6;
  --glow: #061820;
  --deep: #04121a;
  --ink: #f4fbfc;
  --dim: #a9c2c8;
  --mute: #6a868d;
  --accent: #38a8be;
  --accent-rgb: 56, 168, 190;
  --accent-2: #1f7f93;
  --accent-3: #164c58;
  --on-accent: #02151a;
  --pop: #ffffff;
  --rain-1: 70, 196, 220;
  --rain-2: 70, 196, 220;
  --rain-mix: 0;
  --panel: rgba(4, 11, 14, .8);
}
html[data-palette="mix"] {
  --bg: #020505;
  --bg-rgb: 2, 5, 5;
  --glow: #04161a;
  --deep: #04131a;
  --ink: #effcf8;
  --dim: #a6c6c2;
  --mute: #66867f;
  --accent: #38a8be;
  --accent-rgb: 56, 168, 190;
  --accent-2: #00c853;
  --accent-3: #0d5a2c;
  --on-accent: #02151a;
  --pop: #00ff66;
  --rain-1: 0, 255, 102;
  --rain-2: 70, 196, 220;
  --rain-mix: .38;
  --panel: rgba(3, 11, 11, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(16px, 1.05vw + 12px, 19px);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 14px; font: 600 13px var(--mono); text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ */
/* the world behind the page                                           */
/* ------------------------------------------------------------------ */

.world { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; --rain: .5; background: radial-gradient(120% 80% at 50% 0%, var(--glow) 0%, var(--bg) 60%); }
.world canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transition: opacity 1.1s ease; }
#rain-far { opacity: calc(var(--rain) * .62); }
#rain { opacity: var(--rain); }
#rain-near { opacity: calc(var(--rain) * .5); filter: blur(3px); }
#rain-names { opacity: 1; }
.world__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(var(--bg-rgb), .55) 0, rgba(var(--bg-rgb), 0) 14%, rgba(var(--bg-rgb), 0) 84%, rgba(var(--bg-rgb), .7) 100%),
  radial-gradient(95% 80% at 50% 50%, rgba(var(--bg-rgb), 0) 55%, rgba(var(--bg-rgb), .5) 100%); }

main, .foot { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ */
/* shared pieces                                                       */
/* ------------------------------------------------------------------ */

.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.eyebrow span { border: 1px solid var(--accent); padding: 4px 8px; color: var(--accent); }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 24px; border: 1px solid var(--accent); color: var(--accent); font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; background: rgba(var(--bg-rgb), .6); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .2s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.btn span { transition: transform .2s; }
.btn:hover { background: var(--accent); color: var(--on-accent); }
.btn:hover span { transform: translateX(4px); }
.btn--solid { background: var(--accent); color: var(--on-accent); }
.btn--solid:hover { background: #fff; border-color: #fff; }
.btn:disabled { opacity: .5; cursor: wait; }

.link { display: inline-flex; gap: 10px; align-items: center; font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); transition: border-color .2s, gap .2s; }
.link:hover { border-color: var(--accent); gap: 16px; }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--dim); }
.ticks li::before { content: '>'; position: absolute; left: 0; top: 0; font: 600 .9em/1.75 var(--mono); color: var(--accent); }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* decoding headings: each letter keeps its place while a code glyph flickers over it */
.dc-word { display: inline-block; white-space: nowrap; }
.dc { position: relative; color: transparent; }
.dc.is-on { color: inherit; }
.dc[data-g]::after { content: attr(data-g); position: absolute; left: 50%; top: 0; transform: translateX(-50%); color: var(--accent); font-family: var(--mono); font-weight: 500; font-size: .7em; font-stretch: 100%; text-transform: none; }

/* ------------------------------------------------------------------ */
/* header                                                              */
/* ------------------------------------------------------------------ */

.top { position: fixed; z-index: 30; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); transition: background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.is-stuck { background: rgba(var(--bg-rgb), .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }

.logo { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.logo img { height: 42px; width: auto; }
.logo--big img { height: clamp(52px, 5.6vw, 88px); }
@keyframes blink { 50% { opacity: 0; } }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 38px); }
.nav a { font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--dim); padding: 8px 0; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.nav .nav__cta { color: var(--accent); border: 1px solid var(--accent); padding: 12px 16px; transition: background .2s, color .2s; }
.nav .nav__cta:hover { background: var(--accent); color: var(--on-accent); }

.burger { display: none; width: 46px; height: 46px; background: none; border: 1px solid var(--line); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--accent); transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ */
/* home: hero                                                          */
/* ------------------------------------------------------------------ */

.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad) 110px; position: relative; }
.hero__inner { max-width: 1500px; }
.hero__title { font-size: clamp(46px, 9.2vw, 168px); font-weight: 800; font-stretch: 75%; line-height: .88; letter-spacing: -.015em; text-transform: uppercase; margin: 22px 0 30px; text-shadow: 0 0 40px rgba(var(--bg-rgb), .9), 0 0 12px rgba(var(--bg-rgb), .8); text-wrap: balance; }
.hero__title em, .stickers__title em, .page-hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; letter-spacing: -.01em; color: var(--accent); font-size: 1.04em; }
.hero__lead { max-width: 44ch; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.45; color: var(--dim); text-shadow: 0 0 18px var(--bg), 0 0 6px var(--bg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__hint { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); display: flex; gap: 12px; align-items: center; }
.hero__hint::before { content: ''; width: 9px; height: 9px; background: var(--accent); animation: blink 1.1s steps(1) infinite; flex: none; }
.hint-touch { display: none; }
.is-touch .hint-touch { display: inline; }
.is-touch .hint-mouse { display: none; }

/* ------------------------------------------------------------------ */
/* home: numbers                                                       */
/* ------------------------------------------------------------------ */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 var(--pad); }
.stat { box-shadow: 0 0 0 1px var(--line); background: var(--panel); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: clamp(24px, 3.4vw, 54px); display: flex; flex-direction: column; gap: 16px; }
.stat__num { font-size: clamp(64px, 9.6vw, 170px); font-weight: 800; font-stretch: 75%; line-height: .82; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__num small { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; font-size: .5em; color: var(--accent); letter-spacing: 0; }
.stat__label { font: 500 13px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); max-width: 30ch; }
.anchor { height: 0; }

/* ------------------------------------------------------------------ */
/* home: chapters                                                      */
/* ------------------------------------------------------------------ */

.chapter { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 96px); align-items: center; padding: 14vh var(--pad); max-width: 1680px; margin: 0 auto; }
.chapter--flip .chapter__text { order: 2; }
.chapter__text { position: relative; display: grid; gap: 24px; justify-items: start; }
.chapter__text::before { content: ''; position: absolute; inset: -12% -14%; background: radial-gradient(closest-side, rgba(var(--bg-rgb), .93) 30%, rgba(var(--bg-rgb), .7) 68%, rgba(var(--bg-rgb), 0) 100%); z-index: -1; pointer-events: none; }
.chapter__title { font-size: clamp(36px, 4.9vw, 86px); font-weight: 800; font-stretch: 75%; line-height: .93; letter-spacing: -.012em; text-transform: uppercase; text-wrap: balance; }
.chapter__lead { font-size: clamp(17px, 1.35vw, 22px); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.chapter--studio .eyebrow, .chapter--studio .eyebrow span, .chapter--studio .link, .chapter--studio .ticks li::before { color: #e9fff0; border-color: rgba(233, 255, 240, .6); }

/* video in a terminal frame */
.frame { border: 1px solid var(--line); background: #010402; position: relative; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .6); }
.frame::before, .frame::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--accent); pointer-events: none; }
.frame::before { left: -7px; top: -7px; border-right: 0; border-bottom: 0; }
.frame::after { right: -7px; bottom: -7px; border-left: 0; border-top: 0; }
.frame__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--mute); text-transform: uppercase; }
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3); }
.frame__dots i:first-child { background: var(--accent); }
.frame__dots i:nth-child(2) { background: var(--accent-2); }
.frame__name { flex: 1; }
.frame__rec { margin-left: auto; color: var(--accent); animation: blink 1.6s steps(1) infinite; }
.frame__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.frame__screen video, .frame__screen img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(.9); transition: filter .6s ease; }
/* green wash + scan lines; hovering shows the footage in its own colours */
.frame__screen::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--accent), var(--accent-2)); mix-blend-mode: multiply; transition: opacity .6s ease; pointer-events: none; }
.frame__screen::after { content: ''; position: absolute; inset: 0; z-index: 2; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .26) 0 1px, transparent 1px 3px); pointer-events: none; }
@media (hover: hover) {
  .frame:hover .frame__screen video, .frame:hover .frame__screen img { filter: none; }
  .frame:hover .frame__screen::before { opacity: 0; }
}

/* ------------------------------------------------------------------ */
/* home: brands                                                        */
/* ------------------------------------------------------------------ */

.brands { min-height: 90vh; min-height: 90svh; padding: 16vh var(--pad); display: grid; gap: 30px; justify-items: center; align-content: center; text-align: center; }
.brands .eyebrow { justify-content: center; }
.brands__title { font-size: clamp(38px, 6.6vw, 120px); font-weight: 800; font-stretch: 75%; line-height: .9; text-transform: uppercase; max-width: 16ch; text-wrap: balance; text-shadow: 0 0 40px var(--bg), 0 0 10px var(--bg); }
.brands__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 1100px; margin-top: 8px; }
.brands__list li { font: 600 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line); background: var(--panel); padding: 11px 14px; transition: color .2s, border-color .2s, background .2s; }
.brands__list li:hover { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

/* chapter read-out, bottom left */
.hud { position: fixed; z-index: 20; left: var(--pad); bottom: 22px; display: grid; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); transition: opacity .4s; pointer-events: none; }
.hud.is-hidden { opacity: 0; }
.hud__chapter { display: flex; gap: 8px; align-items: baseline; }
.hud__no { color: var(--accent); font-size: 13px; }
.hud__sep, .hud__total { color: var(--mute); }
.hud__label { margin-left: 8px; }
.hud__bar { width: 150px; height: 2px; background: var(--line); }
.hud__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.is-home .hero__hint { bottom: 62px; }

/* ------------------------------------------------------------------ */
/* the sticker section, just before the footer                         */
/* ------------------------------------------------------------------ */

.stickers { position: relative; min-height: 96vh; min-height: 96svh; display: grid; place-items: center; text-align: center; padding: 16vh var(--pad); background: rgba(var(--bg-rgb), .9); border-top: 1px solid var(--line); overflow: hidden; cursor: crosshair; }
.stickers__inner { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; }
.stickers .eyebrow { justify-content: center; }
.stickers__title { font-size: clamp(54px, 11.4vw, 210px); font-weight: 800; font-stretch: 75%; line-height: .84; text-transform: uppercase; letter-spacing: -.02em; }
.stickers__title em { display: block; }
.stickers__text { color: var(--dim); font-size: clamp(17px, 1.4vw, 22px); max-width: 36ch; }
.stickers .btn { position: relative; z-index: 4; margin-top: 10px; }
.stickers__hint { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-top: 18px; }
.stickers__layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.sticker { position: absolute; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); animation: sticker-in .46s cubic-bezier(.2, 1.5, .35, 1) backwards; filter: drop-shadow(0 7px 0 rgba(0, 0, 0, .55)); will-change: transform, opacity; }
.sticker svg { width: 100%; height: auto; overflow: visible; }
.sticker.is-out { transition: transform .5s cubic-bezier(.6, 0, .9, .4), opacity .5s ease-in; transform: translate(-50%, -12%) rotate(calc(var(--r, 0deg) * 2.4)) scale(.55); opacity: 0; }
@keyframes sticker-in { from { transform: translate(-50%, -50%) rotate(calc(var(--r, 0deg) - 28deg)) scale(.15); opacity: 0; } }
.st-d { font-family: var(--display); font-weight: 800; font-stretch: 75%; }
.st-m { font-family: var(--mono); font-weight: 600; letter-spacing: .04em; }
.st-s { font-family: var(--serif); font-style: italic; }

/* ------------------------------------------------------------------ */
/* footer                                                              */
/* ------------------------------------------------------------------ */

.foot { background: rgba(var(--bg-rgb), .94); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 110px) var(--pad) 28px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; max-width: 1680px; margin: 0 auto; }
.foot__brand p { color: var(--dim); margin-top: 18px; max-width: 34ch; }
.foot__col { display: grid; gap: 10px; align-content: start; }
.foot__col h3 { font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.foot__col a { text-decoration: none; color: var(--ink); width: fit-content; transition: color .2s; }
.foot__col a:hover { color: var(--accent); }
.foot__legal { max-width: 1680px; margin: clamp(40px, 6vw, 90px) auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between; font: 500 11px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

/* ------------------------------------------------------------------ */
/* inner pages                                                         */
/* ------------------------------------------------------------------ */

.page-hero { padding: clamp(150px, 24vh, 260px) var(--pad) clamp(50px, 9vh, 110px); max-width: 1680px; margin: 0 auto; display: grid; gap: 26px; }
.page-hero__title { font-size: clamp(44px, 8vw, 150px); font-weight: 800; font-stretch: 75%; line-height: .88; letter-spacing: -.015em; text-transform: uppercase; max-width: 15ch; text-wrap: balance; text-shadow: 0 0 40px var(--bg), 0 0 10px var(--bg); }
.page-hero__title--long { max-width: 20ch; font-size: clamp(40px, 6.4vw, 118px); }
.page-hero__lead { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.5; color: var(--ink); max-width: 58ch; text-shadow: 0 0 18px var(--bg), 0 0 6px var(--bg); }
.crumbs { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); display: flex; gap: 10px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.section { padding: clamp(50px, 9vh, 120px) var(--pad); max-width: 1680px; margin: 0 auto; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 56px); }
.section__title { font-size: clamp(32px, 4.4vw, 76px); font-weight: 800; font-stretch: 75%; line-height: .93; text-transform: uppercase; max-width: 20ch; text-wrap: balance; text-shadow: 0 0 30px var(--bg); }

.panel { background: var(--panel); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: clamp(22px, 2.8vw, 44px); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.split--top { align-items: start; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; }
.card { box-shadow: 0 0 0 1px var(--line); background: var(--panel); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: clamp(22px, 2.6vw, 40px); display: grid; gap: 16px; align-content: start; text-decoration: none; position: relative; transition: background .25s; min-height: 320px; }
.card__no { font: 500 12px/1 var(--mono); letter-spacing: .16em; color: var(--accent); }
.card__title { font-size: clamp(26px, 2.4vw, 40px); font-weight: 800; font-stretch: 75%; line-height: .98; text-transform: uppercase; }
.card__text { color: var(--dim); font-size: 16px; }
.card__go { margin-top: auto; font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); align-self: end; }
a.card:hover { background: rgba(var(--accent-rgb), .1); }
a.card:hover .card__go { letter-spacing: .2em; }
.card__go { transition: letter-spacing .25s; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; counter-reset: step; }
.steps li { box-shadow: 0 0 0 1px var(--line); background: var(--panel); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: clamp(20px, 2.2vw, 34px); display: grid; gap: 12px; align-content: start; counter-increment: step; }
.steps li::before { content: '0' counter(step); font: 500 12px/1 var(--mono); letter-spacing: .16em; color: var(--accent); }
.steps h3 { font-size: clamp(24px, 2vw, 34px); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 1; }
.steps p { color: var(--dim); font-size: 16px; }

/* questions */
.faq { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 980px; }
.faq details { background: var(--panel); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.faq summary { cursor: pointer; list-style: none; padding: 22px clamp(18px, 2.4vw, 32px); font-size: clamp(18px, 1.5vw, 23px); font-weight: 600; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 500 22px/1 var(--mono); color: var(--accent); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 clamp(18px, 2.4vw, 32px) 24px; color: var(--dim); max-width: 70ch; }

/* studio crafts */
.crafts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.craft { display: grid; gap: 18px; align-content: start; }
.craft .frame__screen { aspect-ratio: 4 / 3; }
.craft h3 { font-size: clamp(26px, 2.6vw, 44px); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 1; }
.craft p { color: var(--dim); max-width: 52ch; }

/* brand wall on the work page */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wall li { background: var(--panel); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); min-height: 120px; display: grid; place-items: center; text-align: center; padding: 18px; font-size: clamp(20px, 1.8vw, 28px); font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: .02em; transition: background .25s, color .25s; }
.wall li:hover { background: var(--accent); color: var(--on-accent); }

.big-claim { font-size: clamp(30px, 4.2vw, 70px); font-weight: 800; font-stretch: 75%; line-height: .98; text-transform: uppercase; max-width: 24ch; text-wrap: balance; }
.big-claim em { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; color: var(--accent); }

.prose { max-width: 72ch; display: grid; gap: 18px; color: var(--dim); }
.prose h2 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 800; font-stretch: 75%; text-transform: uppercase; color: var(--ink); margin-top: 22px; line-height: 1.05; }
.prose a { color: var(--accent); }
.prose ul { list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: '>'; position: absolute; left: 0; font: 600 .9em/1.75 var(--mono); color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ */
/* forms (contact + admin)                                             */
/* ------------------------------------------------------------------ */

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.field input, .field textarea, .field select { width: 100%; background: rgba(0, 0, 0, .55); border: 1px solid var(--line); color: var(--ink); font: 400 17px/1.4 var(--display); padding: 14px 15px; border-radius: 0; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--deep); color: var(--ink); }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .16); }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.form__status { font: 500 13px/1.5 var(--mono); color: var(--dim); }
.form__status.is-ok { color: var(--accent); }
.form__status.is-bad { color: #ff7a7a; }
.form__note { font-size: 14px; color: var(--mute); }
.form__note a { color: var(--dim); }

/* ------------------------------------------------------------------ */
/* admin                                                               */
/* ------------------------------------------------------------------ */

.admin { max-width: 1040px; margin: 0 auto; padding: 120px var(--pad) 80px; display: grid; gap: 26px; }
.admin h1 { font-size: clamp(34px, 4vw, 60px); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 1; }
.admin h2 { font-size: 26px; font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 1.1; }
.admin__bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--dim); border: 1px solid var(--line); padding: 12px 14px; background: var(--panel); }
.tabs a[aria-current] { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.notice { border: 1px solid var(--accent); background: rgba(var(--accent-rgb), .1); padding: 14px 16px; font: 500 14px/1.5 var(--mono); }
.notice--bad { border-color: #ff7a7a; background: rgba(255, 90, 90, .1); color: #ffc9c9; }
.rows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.row { background: var(--panel); padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.row__name { flex: 1; min-width: 180px; font-weight: 600; font-size: 18px; }
.row--off .row__name { color: var(--mute); text-decoration: line-through; }
.row form { display: inline; }
.mini { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: none; color: var(--dim); border: 1px solid var(--line); padding: 9px 11px; cursor: pointer; }
.mini:hover { color: var(--accent); border-color: var(--accent); }
.mini--danger:hover { color: #ff7a7a; border-color: #ff7a7a; }
.mini:disabled { opacity: .3; cursor: default; }
.msg { background: var(--panel); padding: 18px 20px; display: grid; gap: 8px; }
.msg__meta { font: 500 12px/1.5 var(--mono); color: var(--mute); letter-spacing: .04em; }
.msg__meta a { color: var(--accent); }
.msg__body { white-space: pre-wrap; color: var(--ink); }
.help { color: var(--mute); font-size: 15px; }

/* ------------------------------------------------------------------ */
/* smaller screens                                                     */
/* ------------------------------------------------------------------ */

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .logo img { height: 34px; }
  .burger { display: block; z-index: 41; }
  .nav { position: fixed; inset: 0; z-index: 40; background: rgba(var(--bg-rgb), .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 90px var(--pad) 40px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav a { font: 800 clamp(40px, 12vw, 64px)/1.05 var(--display); font-stretch: 75%; letter-spacing: 0; color: var(--ink); padding: 4px 0; }
  .nav .nav__cta { font: 600 13px/1 var(--mono); letter-spacing: .1em; margin-top: 26px; padding: 18px 22px; }
  .logo { position: relative; z-index: 41; }

  .hero { padding-top: 110px; }
  .stats { grid-template-columns: 1fr; }
  .stat { gap: 12px; }
  .stat__num { font-size: clamp(64px, 22vw, 120px); }
  .stat__label { max-width: none; }
  .chapter { grid-template-columns: 1fr; padding: 10vh var(--pad); min-height: 0; gap: 34px; }
  .chapter--flip .chapter__text { order: 0; }
  .chapter__text::before { inset: -6% -10%; }
  .hud { display: none; }
  .is-home .hero__hint { bottom: 28px; }
  .split, .crafts, .form__row { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .stickers { min-height: 86svh; }
}

@media (max-width: 520px) {
  .foot__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .wall { grid-template-columns: 1fr 1fr; }
  .wall li { min-height: 90px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__hint::before, .frame__rec { animation: none; }
  .sticker { animation: none; }
}
