/* ---------- Fonts (self-hosted, no Google requests) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --accent: #6A4BFF;
  --bg: #F2F0EB;
  --bg2: #E4E0D6;
  --surface: #FFFFFF;
  --ink: #141310;
  --muted: #5C574E;
  --line: #D3CDC0;
  --shadow: rgba(30, 25, 10, .22);
  --kraft: #E6D7B0;
  --kraft-dark: #D4C298;
  --gold: #C9A24B;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D0D0C;
    --bg2: #1A1917;
    --surface: #22211E;
    --ink: #F2EFE8;
    --muted: #A6A196;
    --line: #34322D;
    --shadow: rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
input, textarea, button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; }
h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.04em; margin-top: 12px; }
.h-xl { font-size: clamp(44px, 5.6vw, 84px); line-height: .95; letter-spacing: -0.045em; margin: 0; }
.h-xxl { font-size: clamp(48px, 6.4vw, 96px); line-height: .95; letter-spacing: -0.045em; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.lead { font-size: 21px; }
.mb { margin-bottom: 40px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.band { background: var(--bg2); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.section-head > p { max-width: 24em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--accent); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { background: #000; color: #F2EFE8; }
.nav {
  padding-top: 12px; padding-bottom: 12px;
  padding-left: clamp(16px, 2vw, 28px); padding-right: clamp(16px, 2vw, 28px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.nav a { text-decoration: none; }
.logo { font-family: var(--sans); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; text-transform: none; }
.logo .dot { color: var(--accent); }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.nav-links a { padding: 12px 0; }
.nav-links a:not(.nav-cta):hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nav-links .nav-cta { padding: 12px 18px; background: var(--accent); color: #fff; }
.nav-links .nav-cta:hover { filter: brightness(1.12); }
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Hero / viewfinder ---------- */
.hero { background: #000; padding: 0 clamp(8px, 1.4vw, 20px) clamp(8px, 1.4vw, 20px); }
.finder {
  position: relative; height: clamp(600px, 60vw, 880px); max-height: calc(100svh - 70px); min-height: 560px;
  overflow: hidden; border-radius: 6px; color: #fff;
}
.layer { position: absolute; inset: 0; display: none; }
.layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.layer-foto img { object-position: 50% 30%; }
.hero[data-cam="foto"] .layer-foto,
.hero[data-cam="video"] .layer-video,
.hero[data-cam="design"] .layer-design { display: block; }
.anim-focus { animation: f-focus 1.4s var(--ease) both; }
.layer-video img, .layer-design img { animation: f-fade .4s ease both; }
.flash { position: absolute; inset: 0; pointer-events: none; }
.flash-white { background: #fff; animation: f-flash .45s ease-out both; }
.flash-black { background: #000; animation: f-flash .5s ease-out both; }
.scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 30%;
  background: rgba(255, 255, 255, .05); animation: f-scan 4s linear infinite; pointer-events: none;
}
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 48px 48px; animation: f-fade .8s ease both;
}
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.85) 100%);
}
.thirds i { position: absolute; background: rgba(255, 255, 255, .25); }
.thirds i:nth-child(1) { top: 0; bottom: 0; left: 33.33%; width: 1px; }
.thirds i:nth-child(2) { top: 0; bottom: 0; left: 66.66%; width: 1px; }
.thirds i:nth-child(3) { left: 0; right: 0; top: 33.33%; height: 1px; }
.thirds i:nth-child(4) { left: 0; right: 0; top: 66.66%; height: 1px; }
.corner { position: absolute; width: 44px; height: 44px; border: 0 solid #fff; }
.corner.c-tl { top: 56px; left: 24px; border-top-width: 3px; border-left-width: 3px; }
.corner.c-tr { top: 56px; right: 24px; border-top-width: 3px; border-right-width: 3px; }
.corner.c-bl { bottom: 24px; left: 24px; border-bottom-width: 3px; border-left-width: 3px; }
.corner.c-br { bottom: 24px; right: 24px; border-bottom-width: 3px; border-right-width: 3px; }
.af-point {
  display: none; position: absolute; left: 50%; top: 38%; width: 130px; height: 90px;
  border: 2px solid var(--accent); transform: translate(-50%, -50%);
  animation: f-af 1.3s var(--ease) .2s both;
}
.hero[data-cam="foto"] .af-point { display: block; }

.hud {
  position: absolute; top: 16px; left: 24px; right: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 13px; letter-spacing: .1em;
}
.hud-item { display: inline-flex; align-items: center; gap: 10px; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.hero[data-cam="video"] .rec-dot, .rec-dot.is-rec { background: #FF3B30; animation: f-rec 1.1s infinite; }

.hero-bottom {
  position: absolute; left: clamp(24px, 4vw, 64px); right: clamp(24px, 4vw, 64px); bottom: clamp(40px, 5vw, 72px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px;
}
.hero-copy { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.eyebrow-light { font-size: 13px; letter-spacing: .14em; }
.hero-title { font-size: clamp(44px, 7vw, 108px); line-height: .95; letter-spacing: -0.045em; }
.hero-title > span { display: none; animation: f-rise .7s ease both; }
.hero[data-cam="foto"] .t-foto,
.hero[data-cam="video"] .t-video,
.hero[data-cam="design"] .t-design { display: block; }
.hero-lead { font-size: 20px; max-width: 34em; color: #E6E2D8; }
.mode-switch {
  display: inline-flex; align-self: flex-start; padding: 4px;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: rgba(0, 0, 0, .45);
}
.mode-switch button {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; font-weight: 700;
  background: transparent; color: #fff;
}
.mode-switch button[aria-pressed="true"] { background: var(--accent); }
.shutter {
  width: 132px; height: 132px; border-radius: 50%; border: 3px solid #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  transition: transform .15s;
}
.shutter:hover { transform: scale(1.06); }
.shutter:active { transform: scale(.92); }
.shutter-inner {
  width: 108px; height: 108px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: .1em; text-align: center; line-height: 1.3;
}
@media (max-width: 640px) {
  .finder { height: auto; min-height: 700px; max-height: none; }
  .hero-lead { font-size: 17px; }
  .hud { left: 16px; right: 16px; font-size: 12px; }
  .hud > :last-child { display: none; }
  .corner { width: 32px; height: 32px; }
  .corner.c-tl, .corner.c-bl { left: 12px; }
  .corner.c-tr, .corner.c-br { right: 12px; }
  .corner.c-tl, .corner.c-tr { top: 48px; }
  .corner.c-bl, .corner.c-br { bottom: 12px; }
  .shutter { width: 104px; height: 104px; }
  .shutter-inner { width: 84px; height: 84px; font-size: 10px; }
  .mode-switch button { padding: 0 14px; }
}

/* ---------- Light table ---------- */
.lighttable {
  position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 520px;
  background: var(--bg2); border-radius: 8px; overflow: hidden;
  box-shadow: inset 0 0 120px rgba(255, 255, 255, .35);
}
.print {
  position: absolute; left: var(--x); top: var(--y); width: 17%; z-index: var(--z);
  transform: rotate(var(--r));
  padding: 8px 8px 6px; border: 0; background: #fff; cursor: pointer; text-align: left;
  box-shadow: 0 10px 24px var(--shadow);
  transition: left .55s var(--ease), top .55s var(--ease), width .55s var(--ease), transform .55s var(--ease), box-shadow .3s;
}
.print:hover { box-shadow: 0 22px 44px var(--shadow); }
.print img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.print-cap {
  display: flex; justify-content: space-between; gap: 8px; padding-top: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: #141310;
}
.print.is-picked {
  left: 50%; top: 50%; width: min(34%, 360px); z-index: 30;
  transform: translate(-50%, -50%) rotate(0deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
}
.lt-backdrop {
  position: absolute; inset: 0; z-index: 20; border: 0; background: rgba(0, 0, 0, .45);
  cursor: pointer; display: none; animation: f-fade .3s ease both;
}
.lt-label {
  position: absolute; left: 16px; bottom: 16px; z-index: 40; padding: 10px 16px;
  background: #141310; color: #F2EFE8; font-size: 13px; letter-spacing: .06em;
  display: none; animation: f-rise .4s ease both;
}
.lighttable.has-picked .lt-backdrop,
.lighttable.has-picked .lt-label { display: block; }

/* small screens: a loose two-column pile instead of the scattered table */
@media (max-width: 720px) {
  .lighttable {
    aspect-ratio: auto; min-height: 0; overflow: visible; padding: 20px 14px;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px;
  }
  .print { position: relative; left: auto; top: auto; width: auto; z-index: 1; }
  .print.is-picked {
    position: fixed; left: 50%; top: 50%; width: min(82vw, 380px); z-index: 70;
  }
  .lt-backdrop { position: fixed; z-index: 60; }
  .lt-label { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; text-align: center; }
}

/* ---------- SD cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.sd {
  clip-path: polygon(0 0, 78% 0, 100% 10%, 100% 100%, 0 100%);
  padding: 28px 24px 24px; min-height: 420px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); color: var(--ink);
  transition: transform .3s;
}
.sd:hover { transform: translateY(-8px); }
.sd-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .12em; }
.sd-tag { padding: 2px 8px; background: var(--ink); color: var(--bg); }
.sd h3 { font-size: 44px; letter-spacing: -0.04em; line-height: 1; }
.sd p { opacity: .85; }
.sd ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; flex-grow: 1; }
.sd li::before { content: "▸ "; }
.sd-pins { display: flex; gap: 6px; }
.sd-pins i { width: 10px; height: 22px; background: var(--gold); }
.sd-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.price { font-weight: 700; }
.sd-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  text-decoration: none; font-weight: 700; background: var(--ink); color: var(--bg);
}
.sd-hi { background: var(--accent); color: #fff; }
.sd-hi .sd-tag { background: #fff; color: var(--accent); }
.sd-hi .sd-cta { background: #fff; color: #141310; }

/* ---------- Timeline ---------- */
.tl { background: #141310; color: #F2EFE8; border-radius: 8px; padding: 18px; overflow-x: auto; }
.tl-inner { min-width: 860px; position: relative; }
.tl-ruler {
  display: flex; justify-content: space-between; font-size: 11px; color: #8C877C;
  border-bottom: 1px solid #34322D; padding-bottom: 8px; margin-bottom: 12px;
}
.tl-track { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.tl-lane { width: 36px; font-size: 11px; color: #8C877C; flex-shrink: 0; }
.tl-clips { flex-grow: 1; display: flex; gap: 4px; }
.clip {
  flex: var(--f) 1 0; min-width: 0; height: 104px; padding: 10px 12px;
  border: 0; border-radius: 4px; cursor: pointer; overflow: hidden; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--accent); color: #fff;
  transition: filter .2s, transform .2s;
}
.clip:nth-child(even) { background: #E9E4D6; color: #141310; }
.clip:hover { filter: brightness(1.12); transform: translateY(-3px); }
.clip .mono { font-size: 10px; letter-spacing: .1em; opacity: .8; }
.clip b { font-size: 16px; line-height: 1.15; }
.tl-audio {
  flex-grow: 1; height: 34px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, #2A3B2E 0 3px, #3E5A44 3px 5px, #2A3B2E 5px 9px);
}
.playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #FF3B30; animation: f-play 16s linear infinite; }
.tl-note { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* ---------- Video dialog ---------- */
.player {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0;
  background: rgba(0, 0, 0, .95); color: #F2EFE8;
  flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.player[open] { display: flex; animation: f-fade .3s ease both; }
.player::backdrop { background: transparent; }
.player-bar { width: min(1200px, 100%); display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: .1em; }
.player-close {
  width: 48px; height: 48px; border: 1px solid #55524B; background: none; color: #F2EFE8; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.player-close:hover { border-color: #F2EFE8; }
.player-frame { width: min(1200px, 100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; border: 1px solid #34322D; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- About / press pass ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 64px; align-items: center; }
.pass-wrap { display: flex; justify-content: center; }
.pass {
  width: min(380px, 100%); background: var(--surface); border-radius: 18px; overflow: hidden; position: relative;
  box-shadow: 0 30px 60px var(--shadow); transform: rotate(-4deg);
  transition: transform .5s var(--ease);
}
.pass:hover { transform: rotate(0deg) translateY(-6px); }
.pass-slot { position: absolute; top: 12px; left: 50%; width: 64px; height: 12px; margin-left: -32px; border-radius: 6px; background: var(--bg2); }
.pass-head {
  background: var(--accent); color: #fff; padding: 34px 20px 14px;
  display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; font-weight: 700;
}
.pass-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pass-body img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.pass-name { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.pass-role { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.pass-stats {
  margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  border-top: 1px solid var(--line); padding-top: 12px; font-size: 11px;
}
.pass-stats dt { color: var(--muted); }
.pass-stats dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; }
.barcode {
  height: 40px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 14px);
}
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.quote { margin: 6px 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.quote blockquote { margin: 0; font-size: 21px; font-weight: 500; }
.quote figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 16px; }
.plus { font-size: 22px; transition: transform .25s; }
.faq details[open] .plus { transform: rotate(45deg); }

/* ---------- Contact / envelope ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-copy .lead { font-size: 20px; max-width: 26em; }
.mail { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; overflow-wrap: anywhere; }
.envelope {
  position: relative; background: var(--kraft); color: #141310;
  padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px var(--shadow); transform: rotate(1deg);
}
.env-strip {
  position: absolute; top: 0; left: 0; right: 0; height: 18px;
  background: repeating-linear-gradient(90deg, var(--kraft-dark) 0 12px, var(--kraft) 12px 20px);
}
.env-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border-bottom: 2px solid #141310; padding: 14px 0 10px; margin-bottom: 18px;
}
.env-head .mono { font-size: 13px; }
.env-title { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.env-form { display: flex; flex-direction: column; gap: 16px; }
.env-form fieldset { border: 0; margin: 0; padding: 0; }
.env-form legend { font-size: 12px; letter-spacing: .12em; padding: 0; margin-bottom: 10px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.checks label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; }
.checks input { width: 22px; height: 22px; accent-color: #141310; margin: 0; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; letter-spacing: .12em; }
.field input, .field textarea {
  min-height: 44px; background: transparent; border: 0; border-bottom: 2px solid #141310; border-radius: 0;
  color: #141310; font-family: var(--sans); font-size: 20px; letter-spacing: 0; padding: 0;
  color-scheme: light;
}
.field textarea { padding: 4px 0; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--accent); box-shadow: 0 2px 0 var(--accent); }
.field input[aria-invalid="true"] { border-bottom-color: #B42318; }
.form-error { font-size: 13px; color: #B42318; min-height: 0; }
.form-error:empty { display: none; }
.btn-submit {
  min-height: 60px; margin-top: 6px; background: #141310; color: var(--kraft);
  border: 0; font-size: 19px; font-weight: 700; cursor: pointer;
}
.btn-submit:hover { background: #000; }
.env-done { position: relative; min-height: 360px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.env-done[hidden] { display: none; }
.env-done h3 { font-size: 36px; letter-spacing: -0.03em; max-width: 12em; }
.stamp {
  position: absolute; right: 8px; top: 20px; padding: 10px 18px;
  border: 4px solid var(--accent); color: var(--accent);
  font-weight: 700; font-size: 26px; letter-spacing: .12em;
  transform: rotate(-14deg); animation: f-stamp .6s var(--ease) both;
}
.btn-outline {
  align-self: flex-start; min-height: 48px; padding: 0 20px;
  background: none; border: 2px solid #141310; color: #141310; cursor: pointer; font-weight: 600;
}
.btn-outline:hover { background: #141310; color: var(--kraft); }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #A6A196; }
.footer-inner {
  padding-top: 32px; padding-bottom: 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 12px; letter-spacing: .1em;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { text-decoration: none; padding: 8px 0; }
.footer-links a:hover { color: #F2EFE8; }
.rec { color: #FF3B30; animation: f-rec 1.6s infinite; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; margin: 12px 0 40px; }
.legal h2 { font-size: 26px; letter-spacing: -0.02em; margin: 40px 0 12px; line-height: 1.2; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal .back { display: inline-block; margin-top: 48px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; }

/* ---------- Keyframes ---------- */
@keyframes f-focus { from { filter: blur(14px); transform: scale(1.06); } 60% { filter: blur(2px); } to { filter: blur(0); transform: scale(1); } }
@keyframes f-flash { from { opacity: .95; } to { opacity: 0; } }
@keyframes f-af {
  0% { transform: translate(-50%, -50%) scale(1.5); opacity: .4; }
  50% { transform: translate(-50%, -50%) scale(.92); }
  70% { transform: translate(-50%, -50%) scale(1.04); }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes f-rec { 50% { opacity: .15; } }
@keyframes f-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes f-play { from { left: 0; } to { left: 100%; } }
@keyframes f-stamp {
  0% { opacity: 0; transform: rotate(-14deg) scale(2.4); }
  60% { opacity: 1; transform: rotate(-14deg) scale(.92); }
  100% { opacity: 1; transform: rotate(-14deg) scale(1); }
}
@keyframes f-scan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@keyframes f-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.env-form[hidden] { display: none; }
