/* ---------- Fonts (self-hosted, no Google requests: DSGVO) ---------- */
@font-face { font-family: "Heros Cn"; src: url("../fonts/display-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Typewriter"; src: url("../fonts/type-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Typewriter"; src: url("../fonts/type-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

/* ---------- Tokens: taken from the intro film ---------- */
:root {
  --night: #1B1611;      /* the vignette around the cork board */
  --night-2: #251E17;
  --line: #3D3229;
  --text: #EFE8DA;
  --muted: #A99B87;
  --paper: #E8E0CF;      /* aged paper of the case notes */
  --ink: #2A231C;
  --ink-muted: #6C5F4F;
  --stamp: #B8272F;      /* the FAILED / FOUND stamp, also the playhead */
  --cork: #9C6B3D;

  --display: "Heros Cn", "Arial Narrow", "Helvetica Neue", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --type: "Typewriter", "Courier New", Courier, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 3px; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: 16px var(--gutter);
  transition: background .3s;
}
.top.is-solid { background: rgb(27 22 17 / .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--text); }
.lang { display: flex; border: 1px solid rgb(239 232 218 / .3); border-radius: 999px; padding: 2px; }
.lang button { background: none; border: 0; padding: 4px 10px; font-size: 13px; font-weight: 500; border-radius: 999px; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

/* ---------- Pin (category colour or red) ---------- */
.pin {
  position: absolute; top: -9px; left: 50%; z-index: 3; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / .7) 0 2px, transparent 3px), var(--pin, var(--stamp));
  box-shadow: 0 3px 4px rgb(0 0 0 / .45), inset 0 -2px 3px rgb(0 0 0 / .25);
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); }
.stage-wrap { position: absolute; inset: 0; overflow: hidden; }
/* The stage keeps the film's 16:9 frame and covers the screen, so the stamp
   always lands on the polaroid no matter the window size */
.stage {
  container-type: size;
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78svh;
  transform: translate(-50%, -50%);
}
.stage video { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(27 22 17 / .7) 0%, transparent 16%),
              linear-gradient(90deg, rgb(27 22 17 / .55) 0%, transparent 45%);
  opacity: 0; transition: opacity .8s;
}
.hero.is-found .hero__veil { opacity: 1; }

.stamp {
  position: absolute; left: 80.5%; top: 70%; width: max-content; white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-14deg) scale(2.4);
  opacity: 0; pointer-events: none;
  display: grid; place-items: center;
  padding: .5em .6em .35em;
  border: .14em solid var(--stamp); outline: .05em solid var(--stamp); outline-offset: .12em;
  border-radius: .12em;
  color: var(--stamp);
  font: 700 3.6cqw/.9 var(--display); text-transform: uppercase; letter-spacing: .04em;
  mix-blend-mode: multiply;
  /* worn ink */
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.4 1.75'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.4 1.75'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  -webkit-mask-size: cover; mask-size: cover;
}
.hero.is-found .stamp { animation: stamp .32s cubic-bezier(.3,1.4,.5,1) forwards; }
.hero.is-found .stage { animation: thud .32s ease-out .12s; }
@keyframes stamp {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(2.4); }
  70% { opacity: .95; }
  100% { opacity: .92; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }
}
@keyframes thud {
  0%, 100% { transform: translate(-50%, -50%); }
  30% { transform: translate(calc(-50% + 3px), calc(-50% + 4px)); }
  60% { transform: translate(calc(-50% - 2px), calc(-50% - 1px)); }
}

.hero__controls { position: absolute; right: var(--gutter); bottom: 24px; z-index: 4; display: flex; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgb(239 232 218 / .35); background: rgb(27 22 17 / .55); backdrop-filter: blur(6px);
  font-size: 14px; cursor: pointer; transition: border-color .2s;
}
.pill:hover { border-color: var(--text); }
.pill[hidden] { display: none; }

/* Case file: pinned on the board once the case is closed */
.case {
  position: absolute; z-index: 5; left: var(--gutter); bottom: clamp(32px, 7vh, 72px);
  width: min(460px, calc(100% - 2 * var(--gutter)));
  background: var(--paper); color: var(--ink);
  padding: 30px 30px 28px; border-radius: 2px;
  box-shadow: 0 24px 50px rgb(0 0 0 / .45), 0 2px 0 rgb(0 0 0 / .08);
  transform: translateY(40px) rotate(1.5deg); opacity: 0; visibility: hidden;
  transition: transform .55s cubic-bezier(.2,.8,.2,1) .25s, opacity .4s .25s, visibility 0s .25s;
  background-image:
    repeating-linear-gradient(180deg, transparent 0 31px, rgb(42 35 28 / .07) 31px 32px);
}
.hero.is-found .case { transform: rotate(-1.2deg); opacity: 1; visibility: visible; }
.case__closed {
  font: 700 14px/1 var(--type); text-transform: uppercase; letter-spacing: .12em; color: var(--stamp);
}
.case__name {
  font: 700 clamp(3rem, 6.4vw, 5.6rem)/.86 var(--display); text-transform: uppercase;
  margin: 14px 0 18px; letter-spacing: -.005em;
}
.case__facts { margin: 0; display: grid; gap: 4px; font: 400 15px/1.45 var(--type); }
.case__facts div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.case__facts dt { color: var(--ink-muted); }
.case__facts dd { margin: 0; }
.case__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn--ink { background: var(--paper); color: var(--ink); }
.btn--ink:hover { background: #fff; }
.btn--line { border-color: rgb(239 232 218 / .4); background: transparent; }
.btn--line:hover { border-color: var(--text); }
.case .btn--ink { background: var(--ink); color: var(--paper); }
.case .btn--ink:hover { background: #000; }
.case .btn--line { border-color: rgb(42 35 28 / .35); }
.case .btn--line:hover { border-color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) var(--gutter); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.section h2 { font: 700 clamp(2.6rem, 6vw, 5.5rem)/.9 var(--display); text-transform: uppercase; }
.section__intro { color: var(--muted); max-width: 46ch; font-size: 18px; margin-top: 14px; }
@media (hover: none) { .hint-skim { display: none; } }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; font-size: 14px; color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--pin, var(--text)); box-shadow: inset 0 -1px 2px rgb(0 0 0 / .3); }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { color: var(--text); border-color: var(--text); background: var(--night-2); }

/* ---------- Work grid: pinned evidence (justified rows set by JS) ---------- */
.grid { display: flex; flex-direction: column; gap: 40px; }
.row { display: flex; align-items: flex-start; gap: 28px; }
.tile, .row__pad { flex: var(--ar) 1 0; min-width: 0; }
.tile {
  --tilt: -.5deg;
  position: relative;
  background: var(--paper); color: var(--ink); padding: 10px 10px 0; border-radius: 2px;
  box-shadow: 0 14px 30px rgb(0 0 0 / .35);
  transform: rotate(var(--tilt)); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.row:nth-child(even) .tile:nth-child(odd), .row:nth-child(odd) .tile:nth-child(even) { --tilt: .5deg; }
.tile:hover, .tile:focus-within { transform: none; }
.is-vertical .tile__caption { flex-direction: column; gap: 6px; }
.is-vertical .tile__aside { text-align: left; white-space: normal; }
.tile__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.tile__media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #3A2E24;
}
.is-vertical .tile__media { aspect-ratio: 9 / 16; }
.tile__media img, .tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__sprite { position: absolute; inset: 0; background-repeat: no-repeat; opacity: 0; }
.tile.is-skimming .tile__sprite.is-ready { opacity: 1; }
.btn[hidden] { display: none; }
.player__frame video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; background: #000; }
.tile__ph {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px;
  font: 700 clamp(2rem, 4.2vw, 3.8rem)/.85 var(--display); text-transform: uppercase;
  color: rgb(239 232 218 / .8);
  background:
    radial-gradient(130% 100% at 80% 0%, color-mix(in srgb, var(--pin) 30%, transparent), transparent 65%),
    linear-gradient(160deg, #4A3A2C, #2C231B);
}
.is-vertical .tile__ph { font-size: clamp(1.5rem, 2.4vw, 2.4rem); }

/* Skimming: the cursor is the playhead */
.skim {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 2;
  background: var(--stamp); pointer-events: none; opacity: 0;
  transform: translateX(var(--x, 0px)); box-shadow: 0 0 0 1px rgb(0 0 0 / .15);
}
.skim::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-top: 9px solid var(--stamp); border-bottom: 0;
}
.skim__tc {
  position: absolute; top: 12px; left: 8px; white-space: nowrap;
  background: var(--stamp); color: #fff; padding: 3px 6px; border-radius: 2px;
  font: 700 12px/1 var(--type); letter-spacing: .02em;
}
.skim.flip .skim__tc { left: auto; right: 8px; }
.skim__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: rgb(255 255 255 / .2); opacity: 0; pointer-events: none; }
.skim__bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--stamp); }
.tile.is-skimming .skim, .tile.is-skimming .skim__bar { opacity: 1; }
.tile.is-skimming .tile__btn { cursor: none; }

.tile__caption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px 14px; }
.tile__title { font: 700 18px/1.2 var(--type); hyphens: auto; overflow-wrap: break-word; }
.is-vertical .tile__title { font-size: 16px; }
.tile__meta { font: 400 13px/1.45 var(--type); color: var(--ink-muted); margin-top: 4px; }
.tile__aside { font: 400 13px/1.45 var(--type); color: var(--ink-muted); text-align: right; white-space: nowrap; }

/* ---------- Services ---------- */
.services__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.service { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.service h3 { font-size: 21px; margin-bottom: 10px; }
.service p { color: var(--muted); max-width: 36ch; }

.process { margin-top: clamp(64px, 8vw, 112px); }
.process__title { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); text-transform: uppercase; margin-bottom: 28px; }
.process__steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.process__steps li {
  counter-increment: step; position: relative;
  background: var(--night-2); padding: 58px 22px 26px; display: flex; flex-direction: column; gap: 8px;
}
.process__steps li::before {
  content: counter(step); position: absolute; top: 18px; left: 22px;
  font: 700 22px/1 var(--display); color: var(--cork);
}
.process__steps strong { font-size: 19px; }
.process__steps span { color: var(--muted); font-size: 15px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 48px clamp(48px, 7vw, 112px); align-items: start; }
.polaroid {
  position: relative; margin: 12px 0 0; background: #F1ECE2; padding: 14px 14px 0;
  box-shadow: 0 20px 40px rgb(0 0 0 / .4); transform: rotate(-2.5deg); border-radius: 2px;
}
.polaroid img { width: 100%; height: auto; aspect-ratio: 395 / 455; object-fit: cover; }
.polaroid figcaption { font: 700 20px/1 var(--type); color: var(--ink); padding: 20px 4px 24px; }
.about__text { display: flex; flex-direction: column; gap: 18px; font-size: 19px; max-width: 58ch; margin-top: 28px; }
.facts { margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; align-items: start; }
.contact__direct { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; }
.contact__direct a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s; width: fit-content; }
.contact__direct a:hover { background-size: 100% 1px; }
.socials { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.socials a { color: var(--muted); text-decoration: none; }
.socials a:hover { color: var(--text); }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 36px); border-radius: 2px;
  box-shadow: 0 20px 40px rgb(0 0 0 / .35);
}
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 7px; font: 400 14px/1.3 var(--type); color: var(--ink-muted); }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: #F5F0E6;
  border: 1px solid #CFC4AF; border-radius: 3px; padding: 12px 14px;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: var(--stamp); }
.form__note { font-size: 13px; color: var(--ink-muted); }
.form__error { color: var(--stamp); font-size: 14px; }
.form .btn--ink { background: var(--ink); color: var(--paper); }
.form .btn--ink:hover { background: #000; }

/* ---------- Footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding: 28px var(--gutter) 36px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover, .linklike:hover { color: var(--text); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }

/* ---------- Player dialog ---------- */
.player {
  width: min(1200px, 94vw); max-height: 94svh; padding: 0; border: 0; border-radius: 4px;
  background: var(--night-2); color: var(--text); overflow: auto;
}
.player.is-vertical { width: min(440px, 94vw); }
.player::backdrop { background: rgb(14 11 8 / .88); backdrop-filter: blur(6px); }
.player[open] { animation: open .25s cubic-bezier(.2,.7,.2,1); }
@keyframes open { from { opacity: 0; transform: scale(.97); } }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 20px; }
.player__info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.player__info strong { font-size: 18px; }
.player__info span { color: var(--muted); font-size: 14px; }
.player__close { background: none; border: 0; cursor: pointer; padding: 6px; border-radius: 4px; display: grid; }
.player__close:hover { background: var(--line); }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player.is-vertical .player__frame { aspect-ratio: 9 / 16; max-height: 78svh; margin: 0 auto; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; padding: 24px; color: var(--muted); }
.player__empty strong { color: var(--text); font-size: 18px; }
.player__empty code { background: var(--line); padding: 2px 6px; border-radius: 3px; font-size: 14px; }
.player__text { padding: 16px 20px 22px; color: var(--muted); max-width: 70ch; }
.player__text:empty { display: none; }
.player__text strong { color: var(--text); font-weight: 500; }

/* ---------- Consent ---------- */
.consent {
  position: fixed; z-index: 50; right: var(--gutter); bottom: 16px;
  max-width: 440px; padding: 20px; border-radius: 4px;
  background: var(--night-2); border: 1px solid var(--line); box-shadow: 0 20px 50px rgb(0 0 0 / .4);
}
.consent p { font-size: 15px; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.consent .btn { height: 42px; padding: 0 18px; font-size: 15px; }
.consent a { font-size: 14px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .about, .contact__grid { grid-template-columns: 1fr; }
  .polaroid { max-width: 320px; }
  .process__steps { grid-template-columns: 1fr 1fr; }
}
/* Portrait screens: the film sits on top in full, the case file below it */
@media (max-aspect-ratio: 4/3), (max-width: 720px) {
  .hero { height: auto; min-height: 0; padding-top: 64px; }
  .stage-wrap { position: relative; inset: auto; aspect-ratio: 16 / 9; }
  .stage { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; transform: none; }
  .hero.is-found .stage { animation: none; }
  .hero__veil { display: none; }
  .hero__controls { position: static; justify-content: flex-end; padding: 12px var(--gutter) 0; }
  .case {
    position: relative; left: auto; bottom: auto; width: auto;
    margin: 28px var(--gutter) 56px; opacity: 1; visibility: visible; transform: rotate(-.8deg);
  }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .process__steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .case { padding: 24px 20px 22px; }
  .case__facts div { grid-template-columns: 1fr; gap: 0; }
  .case__facts div + div { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero.is-found .stamp { opacity: .92; transform: translate(-50%, -50%) rotate(-14deg); }
  .tile { transform: none; }
}

/* ---------- AI label: stamped like evidence, never hidden ---------- */
.ai-tag {
  position: absolute; top: 12px; right: 12px; z-index: 3; pointer-events: none;
  padding: 5px 9px 4px; border: 2px solid #E0484F; border-radius: 3px;
  color: #FF6A70; background: rgb(20 14 12 / .72);
  font: 700 13px/1 var(--type); text-transform: uppercase; letter-spacing: .08em;
  transform: rotate(-4deg);
}
.ai-tag--player { top: 14px; left: 14px; right: auto; font-size: 14px; }
.ai-badge {
  display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 3px 7px 2px;
  border: 1px solid #E0484F; border-radius: 3px; color: #FF6A70;
  font: 700 11px/1 var(--type); text-transform: uppercase; letter-spacing: .08em;
}
.ai-note { display: block; margin-top: 10px; color: #FF8A8F; font-size: 14px; }

/* ---------- Form states ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note a { color: inherit; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form--done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(28px, 4vw, 48px); }
.form--done[hidden] { display: none; }
.form__done-stamp {
  font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--stamp);
  border: 3px solid var(--stamp); padding: 6px 12px 4px; transform: rotate(-5deg); margin-bottom: 10px;
}
.form__done-title { font: 700 22px/1.25 var(--type); }
.form--done .btn--line { border-color: rgb(42 35 28 / .35); margin-top: 10px; }
.form--done .btn--line:hover { border-color: var(--ink); }
.form[hidden] { display: none; }

.linklike[hidden] { display: none; }
