/* Fold Devices / Hexamorph — shared styles.
   Colours are the plugin's own (REDESIGN-H spec): graphite body, keycap buttons,
   orange for Scene A / trigs, pink for Scene B / locks. The crossfader in the
   hero demo writes --morph (0..1) on :root; the wordmark follows it. */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/assets/fonts/martianmono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #1c1d20;        /* plugin window */
  --panel: #17181b;     /* page panel */
  --deep: #141518;      /* track screen */
  --screen: #0f1012;    /* waveform window */
  --key-hi: #35373c;
  --key-lo: #2a2c30;
  --rule: #34373d;
  --text: #e1e3e6;
  --dim: #a1a5ad;       /* ~7:1 on --bg */
  --faint: #80848d;
  --trig: #d2794c;
  --trig-edge: #b46c48;
  --lock: #cb72a6;
  --live: #8bd47a;
  --hold: #e3c25f;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --measure: 38rem;
  --wide: 74rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("/assets/grain.png");
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: var(--faint); }
a:hover { color: #fff; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--hold); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
p + p { margin-top: 1em; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 720px) { .wrap { padding: 0 2.5rem; } }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--panel); padding: .5rem 1rem; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; color: var(--text); }
h2 { font-weight: 800; font-size: clamp(1.75rem, 4.2vw, 2.75rem); line-height: 1.1; letter-spacing: -.018em; max-width: 24ch; }
h3 { font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.55; font-weight: 500; max-width: var(--measure); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); font-size: .82em; }

/* ---------- keycap button, as on the plugin face ---------- */
.key {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3rem; padding: 0 1.4rem;
  font: 700 .95rem/1 var(--font); letter-spacing: .01em; color: var(--text); text-decoration: none;
  background: linear-gradient(var(--key-hi), var(--key-lo));
  border: 0; border-radius: 9px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 -1px 0 rgba(0,0,0,.35), 0 2px 0 #0d0e10, 0 3px 10px rgba(0,0,0,.35);
  transition: transform .06s, box-shadow .06s, filter .15s;
}
.key:hover { filter: brightness(1.12); color: #fff; }
.key:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 #0d0e10; }
.key.lit {
  color: #1c1d20;
  background: linear-gradient(#e0895a, #c06a3f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 0 #6d3b22, 0 0 18px rgba(210,121,76,.28);
}
.key.lit:hover { color: #1c1d20; }

/* ---------- header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1rem; }
.top .brand img { height: 40px; width: auto; }
.top nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 600; font-size: .95rem; }
.top nav a:not(.key) { color: var(--dim); text-decoration: none; }
.top nav a:not(.key):hover, .top nav a[aria-current] { color: var(--text); }
.top .key { min-height: 2.5rem; padding: 0 1rem; white-space: nowrap; }
@media (max-width: 760px) { .top nav a.hide-s { display: none; } .top .brand img { height: 34px; } }

/* ---------- sections ---------- */
.block { margin-top: clamp(5rem, 11vw, 8.5rem); }
.block > h2 + p { margin-top: 1.1rem; color: var(--dim); max-width: var(--measure); font-size: 1.1rem; }

/* a screenshot of the plugin, framed as its window */
.shot { margin: 0; }
.shot img {
  width: 100%; border-radius: 10px; background: var(--deep);
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 30px 70px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.3);
}
.shot figcaption { margin-top: .9rem; color: var(--faint); font-size: .9rem; line-height: 1.45; }

/* feature rows: words on one side, the page that does it on the other */
.feature { display: grid; gap: 1.75rem; align-items: center; margin-top: clamp(3.5rem, 8vw, 6rem); }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 3.5rem; }
  .feature.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
  .feature.flip > :first-child { order: 2; }
}
.feature h3 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); line-height: 1.2; letter-spacing: -.01em; }
.feature p { margin-top: .9rem; color: var(--dim); }
.feature ul { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.feature li { padding: .4rem 0 .4rem 1.1rem; position: relative; color: var(--dim); }
.feature li::before { content: ""; position: absolute; left: 0; top: 1.02em; width: 6px; height: 6px; border-radius: 2px; background: var(--c, var(--trig)); }
.feature li b { color: var(--text); font-weight: 700; }
.feature .more { display: inline-block; margin-top: 1.2rem; font-weight: 700; }
.feature.locky { --c: var(--lock); }

/* the facts under the hero: numbers that are true of the engine */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--rule); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(6, 1fr); } }
.facts div { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 800; font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts dd { margin: .35rem 0 0; color: var(--dim); font-size: .9rem; line-height: 1.35; }

/* audio demos */
.tracks { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 820px) { .tracks { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.track {
  background: var(--panel); border-radius: 14px; padding: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; align-items: center;
}
.track .key { width: 3.25rem; height: 3.25rem; padding: 0; grid-row: span 2; }
.track .key svg { width: 14px; height: 14px; fill: currentColor; }
.track .key.on { color: var(--live); }
.track h3 { font-size: 1.05rem; }
.track p { color: var(--dim); font-size: .92rem; line-height: 1.4; }
.track .bar { grid-column: 1 / -1; margin-top: 1rem; height: 6px; border-radius: 3px; background: var(--screen); cursor: pointer; position: relative; }
.track .bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--trig), var(--lock)); }
.track .time { grid-column: 1 / -1; margin-top: .45rem; color: var(--faint); font-size: .8rem; font-variant-numeric: tabular-nums; }

/* tables: specs and the Octatrack comparison */
.table-wrap { margin-top: 2rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: .85rem 1.25rem .85rem 0; border-bottom: 1px solid var(--rule); }
thead th { color: var(--dim); font-weight: 700; font-size: .9rem; border-bottom-color: #4a4e56; }
tbody th { font-weight: 700; width: 28%; }
td { color: var(--dim); }
.cmp { min-width: 40rem; }
.cmp td:nth-child(2) { color: var(--text); }
.cmp thead th:nth-child(2) { color: var(--trig); }

.spec-group { margin-top: 3.5rem; }
.spec-group h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }

/* panel callout */
.panel { background: var(--panel); border-radius: 18px; padding: 2rem 1.25rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
@media (min-width: 720px) { .panel { padding: 3rem; } }

.ot { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .ot { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.ot .body p { color: var(--dim); }
.ot .key { margin-top: 1.6rem; }

.paths { display: grid; gap: 1.5rem; margin: 2.2rem 0 2.4rem; }
@media (min-width: 720px) { .paths { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.paths div { border-left: 3px solid var(--c); padding-left: 1.1rem; }
.paths .po { --c: var(--trig); }
.paths .bt { --c: var(--lock); }
.paths h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.paths p { color: var(--dim); }
.small { margin-top: 1rem; color: var(--dim); font-size: .95rem; }

.maker { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .maker { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.maker .body p { margin-top: 1.2rem; max-width: var(--measure); }
.maker .key { margin-top: 1.8rem; }
.maker aside { color: var(--dim); border-left: 2px solid var(--rule); padding-left: 1.5rem; }
.maker aside h3 { font-size: 1rem; margin-bottom: .7rem; }
.maker aside ul { margin: 0; padding: 0; list-style: none; }
.maker aside li { padding: .35rem 0; }

/* FAQ */
.faq-list { max-width: 50rem; margin-top: 2rem; }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary { cursor: pointer; padding: 1.1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--dim); font-weight: 600; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { margin: 0 0 1.2rem; color: var(--dim); max-width: var(--measure); }

/* inner pages */
.page-head { padding-top: clamp(2.5rem, 7vw, 5rem); }
.page-head h1 { font-weight: 800; font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; max-width: 20ch; }
.page-head .lede { margin-top: 1.3rem; }
.crumbs { color: var(--faint); font-size: .9rem; margin-bottom: 1.2rem; }
.crumbs a { color: var(--dim); }
.page-head .shot { margin-top: 3rem; }

.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: .45rem .8rem; border-radius: 7px; background: var(--panel); color: var(--dim); text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: inset 0 0 0 1px var(--rule); }
.toc a:hover { color: var(--text); }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 3.5rem; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.prose p, .prose ul { margin-top: 1rem; color: var(--dim); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose strong { color: var(--text); }

.next { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 720px) { .next { grid-template-columns: repeat(3, 1fr); } }
.next a { display: block; padding: 1.25rem; border-radius: 12px; background: var(--panel); text-decoration: none; box-shadow: inset 0 0 0 1px var(--rule); }
.next a b { display: block; font-size: 1.05rem; }
.next a span { color: var(--dim); font-size: .92rem; }
.next a:hover { box-shadow: inset 0 0 0 1px var(--faint); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); margin-top: 7rem; padding: 2.5rem 0 3rem; color: var(--dim); font-size: .92rem; }
.foot .cols { display: grid; gap: 2rem; }
@media (min-width: 720px) { .foot .cols { grid-template-columns: 2fr 1fr 1fr; } }
.foot .about { max-width: 26rem; }
.foot .about img { height: 32px; width: auto; margin-bottom: .9rem; }
.foot h2 { font-size: .95rem; letter-spacing: 0; margin-bottom: .6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: .2rem 0; }
.foot a, .foot button.linklike { color: var(--dim); }
.foot a:hover, .foot button.linklike:hover { color: var(--text); }
.foot .legal { margin-top: 2.5rem; color: var(--faint); font-size: .85rem; }
button.linklike { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* consent banner */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  max-width: 30rem; margin-left: auto;
  background: var(--panel); border: 1px solid var(--rule); border-radius: 14px;
  padding: 1rem 1.1rem 1.1rem; box-shadow: 0 12px 40px rgba(0,0,0,.5);
  font-size: .92rem; line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 .9rem; color: var(--text); }
.consent p a { color: var(--dim); }
.consent .row { display: flex; gap: .75rem; flex-wrap: wrap; }
.consent .key { min-height: 2.5rem; flex: 1 1 8rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- video: a still until pressed, then the YouTube player ---------- */
.yt { position: relative; margin-top: 2rem; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--deep);
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 30px 70px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.3); }
.yt-poster { all: unset; display: block; position: absolute; inset: 0; cursor: pointer; }
.yt-poster img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.72); transition: filter .2s; }
.yt-poster:hover img, .yt-poster:focus-visible img { filter: brightness(.85); }
.yt-poster:focus-visible { outline: 2px solid var(--trig); outline-offset: -2px; }
.yt-btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: var(--trig); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.yt-btn svg { width: 30px; height: 30px; fill: #1c1d20; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =====================================================================
   Redesign, October 2026: the look of the promo video.
   Near-black, light type, no colour in the interface (the plugin's colours
   stay in screenshots and renders). Overrides everything above; the home
   page has its own home.css with the same tokens.
   ===================================================================== */
:root {
  --bg: #0b0c0e; --panel: #111214; --rule: rgba(241,240,236,.09);
  --text: #f1f0ec; --dim: #8d8c88; --faint: #5d5c59;
  --line: rgba(241,240,236,.09); --sans: var(--font); --max: 1320px; --pad: clamp(1.25rem, 4vw, 3rem);
}
body { background-color: var(--bg); background-image: none; font-weight: 400; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--text); }
.wrap { max-width: var(--max); padding: 0 var(--pad); }
@media (min-width: 720px) { .wrap { padding: 0 var(--pad); } }

h2 { font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; }
h3 { font-weight: 500; letter-spacing: -.015em; }
.lede { font-weight: 400; color: var(--dim); }
.label { font: 500 .68rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* buttons: pills, no colour */
.key, .btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: 0 1.4rem;
  border-radius: 999px; font: 600 .95rem/1 var(--font); text-decoration: none; letter-spacing: .01em; cursor: pointer;
  background: transparent; color: var(--text); border: 1px solid rgba(241,240,236,.28); box-shadow: none; filter: none;
  transition: background .2s, color .2s, border-color .2s; }
.key:hover, .btn:hover { border-color: var(--text); color: var(--text); filter: none; }
.key:active { transform: none; box-shadow: none; }
.key.lit, .btn.solid { background: var(--text); color: #0b0c0e; border-color: var(--text); box-shadow: none; }
.key.lit:hover, .btn.solid:hover { background: #fff; color: #0b0c0e; }
.btn.line { border: 1px solid rgba(241,240,236,.28); }

/* header (same markup as the home page) */
.nav { position: relative; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav img { height: 30px; width: auto; }
.nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav ul a:not(.btn) { text-decoration: none; color: var(--dim); font-size: .92rem; }
.nav ul a:not(.btn):hover, .nav ul a[aria-current] { color: var(--text); }
.nav .btn { min-height: 2.4rem; height: 2.4rem; padding: 0 1.1rem; font-size: .85rem; }
@media (max-width: 760px) {
  /* phones: logo and Join on the first row, the page links on a second */
  .nav .wrap { flex-wrap: wrap; justify-content: flex-start; height: auto; padding-top: .9rem; padding-bottom: .5rem; row-gap: .55rem; }
  .nav ul { display: contents; }
  .nav ul li { list-style: none; }
  .nav ul li:last-child { order: 1; margin-left: auto; }
  .nav .wrap::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .nav ul li:not(:last-child) { order: 3; margin-right: 1.5rem; }
  .nav ul li:not(:last-child) a { display: inline-block; padding: .35rem 0; font-size: .9rem; }
}
.top .brand img, .top img { height: 30px; }

/* inner page head */
.page-head { padding-top: clamp(3rem, 8vw, 6rem); }
.page-head h1 { font-weight: 500; font-size: clamp(2.4rem, 6.5vw, 5rem); line-height: 1; letter-spacing: -.035em; max-width: 18ch; }
.page-head .lede { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.crumbs { font: 500 .68rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.6rem; }
.crumbs a { color: var(--dim); text-decoration: none; }
.block { margin-top: clamp(5rem, 11vw, 8rem); }

/* screenshots: flat, thin frame */
.shot img { border-radius: 6px; background: #000; box-shadow: 0 0 0 1px var(--line); }
.shot figcaption { font: 500 .68rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* feature rows: ruled lists instead of coloured dots */
.feature h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.08; letter-spacing: -.025em; }
.feature ul { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.feature li { padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.feature li::before { display: none; }
.feature li b { font-weight: 600; }
.feature .more { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }

.facts { border-top: 1px solid var(--line); }
.facts div { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 500; font-size: 2rem; letter-spacing: -.02em; }
.facts dd { font: 500 .68rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* tables */
th, td { border-bottom: 1px solid var(--line); }
thead th { font: 500 .68rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); border-bottom-color: rgba(241,240,236,.2); }
tbody th { font-weight: 500; }
.cmp thead th:nth-child(2) { color: var(--text); }

/* panels and cards: hairlines instead of fills */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
.panel h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.paths div { border-left: 1px solid var(--line); }
.toc a { background: transparent; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.toc a:hover { box-shadow: inset 0 0 0 1px var(--text); }
.next a { background: transparent; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.next a:hover { box-shadow: inset 0 0 0 1px var(--text); }
.next a b { font-weight: 500; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* faq */
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { font-weight: 500; font-size: 1.05rem; padding: 1.2rem 0; }
.faq-list summary::after { font-family: var(--mono); }

/* audio cards on inner pages */
.track { background: transparent; border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
.track .bar { height: 2px; background: var(--line); }
.track .bar i { background: var(--text); }

/* footer (same markup as the home page) */
.foot { border-top: 1px solid var(--line); margin-top: clamp(5rem, 12vw, 9rem); padding: 2.5rem 0 3rem; }
.foot .about img { height: 30px; }
.foot .about p { color: var(--dim); }
.foot nav h2 { margin: 0 0 1rem; font: 500 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); max-width: none; }
.foot nav ul { display: grid; gap: .55rem; }
.foot li { padding: 0; }
.foot a, .foot button.linklike { color: var(--text); text-decoration: none; font-size: .92rem; }
.foot a:hover, .foot button.linklike:hover { color: var(--dim); }
.foot .legal { font: 500 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* consent */
.consent { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.consent .row { gap: .6rem; }
.consent .key { min-height: 2.5rem; flex: 1; font-size: .85rem; }
.consent .key[data-consent="granted"] { background: var(--text); color: #0b0c0e; border-color: var(--text); }

/* ---------- inner pages: render behind the page head, tilted first shot, framed shots ---------- */
.page-hero { position: relative; }
.page-hero.has-bg { display: flex; align-items: flex-end; min-height: min(78svh, 760px); overflow: hidden; }
.page-hero .page-bg, .page-hero .page-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.page-hero.has-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(11,12,14,.9) 0%, rgba(11,12,14,.62) 45%, rgba(11,12,14,0) 85%),
  linear-gradient(180deg, rgba(11,12,14,.15) 0%, rgba(11,12,14,.25) 45%, var(--bg) 100%); }
.page-hero.has-bg .page-head { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(2rem, 6vh, 4rem); }
@media (max-width: 719px) {
  .page-hero.has-bg { min-height: 82svh; }
  .page-hero.has-bg::after { background: linear-gradient(180deg, rgba(11,12,14,.1) 0%, rgba(11,12,14,.4) 35%, rgba(11,12,14,.97) 70%); }
}

.shot img { padding: 6px; background: #050506; border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(241,240,236,.08), 0 24px 60px -20px rgba(0,0,0,.85); }

@media (min-width: 900px) {
  .shot.tilt { perspective: 1800px; }
  .shot.tilt a { display: block; transform: rotateY(-16deg) rotateX(6deg) rotateZ(1deg); transform-origin: 30% 50%; transition: transform .5s ease; }
  .feature.flip .shot.tilt a { transform: rotateY(16deg) rotateX(6deg) rotateZ(-1deg); transform-origin: 70% 50%; }
  .shot.tilt img { box-shadow: 0 0 0 1px rgba(241,240,236,.1), 40px 50px 80px -30px rgba(0,0,0,.95), 0 0 120px -40px rgba(210,121,76,.18); }
  .shot.tilt a:hover, .feature.flip .shot.tilt a:hover { transform: none; }
  .shot.tilt figcaption { margin-top: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) { .shot.tilt a { transition: none; } }
@media (max-width: 899px) {
  .shot.tilt { perspective: 1000px; padding: 0 2% 0 0; }
  .shot.tilt a { display: block; transform: rotateY(-12deg) rotateX(7deg) rotateZ(1deg) scale(.95); transform-origin: 40% 50%; }
  .shot.tilt img { box-shadow: 0 0 0 1px rgba(241,240,236,.1), 20px 30px 50px -20px rgba(0,0,0,.95), 0 0 80px -30px rgba(210,121,76,.18); }
  .shot.tilt figcaption { margin-top: 1.4rem; }
}

/* the text of a feature sits above its tilted screenshot and the shot's shadow */
.feature > :not(.shot), article > :not(.shot) { position: relative; z-index: 2; }
.shot.tilt { position: relative; z-index: 1; }
/* the caption under a tilted screenshot: above the shot's shadow and readable */
.shot.tilt a { position: relative; z-index: 1; }
.shot.tilt figcaption { position: relative; z-index: 2; color: var(--dim); }
@media (min-width: 900px) {
  .shot.tilt img { box-shadow: 0 0 0 1px rgba(241,240,236,.1), 0 30px 60px -30px rgba(0,0,0,.9); }
  .shot.tilt figcaption { margin-top: 2.6rem; }
}
