/* Hallmark · shape: manifesto · genre: atmospheric · theme: brand (spec 2026-10-28) · job: follow (listen) · copy: owner's handles, email and tagline verbatim
 * paper: oklch(10.6% 0.008 260) · accent: oklch(69.5% 0.192 42) · display: Inter Variable 700 · body: Inter Variable 400 · hero: Stage, the mascot on the right · nav: edge-aligned, white wordmark and two anchor links · footer: colophon line · signature: the mascot from the official dark logo blinks once and settles into its logo pose, as at the end of every reel
 * axes: dark/grotesk-sans/warm · posture: Restrained · surface: the reels' stage · imagery: the owner's logo only · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: S and P, the head is the owner's own tagline, as generic in wording as any slogan; the real questions from the reels carry the specifics one screen down, and the mascot at 60% of the screen carries the first */
/* Hallmark · waive 38iii · one bracketed word, "gedacht." in the hero h1 only · the red corner bracket is the caption mark denkbedarf draws around the key word in every reel
 * hero-review: fix · 3 findings · 2 resolved (owner's tagline now the head; mascot 60% of the screen at 1440, larger at 375) · 1 dismissed (the bracket red is the reels' own #ff2d55, sampled #f82854 in ecke-70 at 34 s)
 * finish-review: subagent · 6 findings · 5 resolved 1 partial (topics point to the channels; per-reel links wait for the owner's URLs) · gap: none · light remark withdrawn by the reviewer (the official dark PNG on the stage equals this rendering within 1 level at 8 points)
 * sweep: Floor 0 FAIL · Reflex 0 (1 waived: 38iii) · Finish answered
 * proof source: ecke-70 project note, Quellen und Credits, 7 articles from Velten 2012 to Somasundaram et al., Nature 653 (2026); render ecke-70_final.mp4, 74.8 s */
@import url("./tokens.css");
@import url("./base.css");

:root { color-scheme: dark; }
/* the side gutter also clears a phone's notch in landscape */
.container { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* chrome */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); text-decoration: none; }
.skip:focus-visible { top: var(--space-md); }

.nav { --nav-h: 80px; }
.nav__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: var(--space-lg); }
.nav__home { display: inline-flex; align-items: center; min-height: 44px; border-radius: var(--space-2xs); }
.nav__home img { width: auto; height: 26px; }
.nav__links { display: flex; gap: var(--space-xs); margin-right: calc(-1 * var(--space-sm)); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); color: var(--color-ink-2); font-size: var(--text-md); text-decoration: none; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); background: var(--color-paper-2); }
.nav__links a:active { background: var(--color-paper-3); }

/* the caption bracket: four red corners around the key word, as in the reels */
.br { position: relative; display: inline-block; white-space: nowrap; padding-inline: 0.12em; margin-inline: -0.02em; }
.br::after {
  content: ""; position: absolute; inset: 0.04em -0.04em -0.06em; pointer-events: none;
  border: 0.05em solid var(--color-bracket); border-radius: 0.07em;
  -webkit-mask: linear-gradient(currentColor 0 0) 0 0 / 0.28em 0.3em no-repeat, linear-gradient(currentColor 0 0) 100% 0 / 0.28em 0.3em no-repeat, linear-gradient(currentColor 0 0) 0 100% / 0.28em 0.3em no-repeat, linear-gradient(currentColor 0 0) 100% 100% / 0.28em 0.3em no-repeat;
  mask: linear-gradient(currentColor 0 0) 0 0 / 0.28em 0.3em no-repeat, linear-gradient(currentColor 0 0) 100% 0 / 0.28em 0.3em no-repeat, linear-gradient(currentColor 0 0) 0 100% / 0.28em 0.3em no-repeat, linear-gradient(currentColor 0 0) 100% 100% / 0.28em 0.3em no-repeat;
}

/* hero */
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; column-gap: var(--space-2xl); min-height: calc(100svh - 80px); padding-block: var(--space-xl) var(--space-2xl); }
.hero__text { position: relative; z-index: var(--z-raised); }
.hero h1 { max-width: 13ch; font-size: var(--text-display); line-height: 1.02; }
.hero__lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 30ch; }
.follow { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); font-weight: 700; white-space: nowrap; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.pill:hover { background: var(--color-paper-2); border-color: var(--color-ink-2); }
.pill:active { transform: translateY(1px); background: var(--color-paper-3); }

/* the mascot: brand/denkbedarf-figur-dunkel.svg, the official dark logo without its wordmark; it animates itself once and honours reduced motion */
.hero__mascot { position: absolute; top: 50%; right: calc(var(--gutter) - var(--space-lg)); height: min(86svh, 800px); aspect-ratio: 423 / 434; margin: 0; transform: translateY(-45%); pointer-events: none; }
/* -45%, not -50%: the logo's light reaches lower than the mascot, so this lowers the mascot toward the text's centre */
.hero__mascot img { width: 100%; height: 100%; }
/* topics: the questions the reels answer, as an index */
.topics { padding-block: var(--section-gap) var(--section-gap-s); }
.topics__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.topics__head .lead { color: var(--color-ink-2); }
.topics__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-rule); }
.topics__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-lg); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.topics__q { font-size: var(--text-2xl); font-weight: 400; letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance; }
.topics__head .lead a { color: var(--color-ink); }
.topics__field { color: var(--color-muted); white-space: nowrap; }

/* proof: one statement on a change of paper, the sources behind one reel */
.proof { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.proof__line { max-width: 18ch; font-size: var(--text-display); line-height: 1.02; }
.proof__note { margin-top: var(--space-lg); color: var(--color-ink-2); }

/* the close: the sign-off line from the reels, the handle set as the sender, then the four channels */
.sender { padding-block: var(--section-gap-l) var(--section-gap); }
.sender h2 { max-width: 22ch; font-size: var(--text-section); }
.sender__handle { margin-top: var(--space-xl); font-size: clamp(3.25rem, 8.5vw + 0.5rem, 8.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; overflow-wrap: break-word; min-width: 0; }
.channels { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin: var(--space-2xl) calc(-1 * var(--space-xs)) 0; padding: 0; list-style: none; }
.channel { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-xs); border-radius: var(--space-2xs); color: var(--color-ink); font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.015em; text-decoration: underline; text-decoration-color: var(--color-line); text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.channel:hover { text-decoration-color: var(--color-accent); }
.channel:active { color: var(--color-ink-2); }
.sender__mail { margin-top: var(--space-xl); color: var(--color-ink-2); }
.sender__mail a { color: var(--color-ink); }

/* legal pages: a plain document */
.doc { max-width: calc(65ch + 2 * var(--gutter)); padding-block: var(--space-3xl) var(--section-gap-s); }
.doc h1 { font-size: var(--text-display-s); margin-bottom: var(--space-xl); }
.doc h2 { margin: var(--space-xl) 0 var(--space-xs); font-size: var(--text-title); }
.doc p { color: var(--color-ink-2); line-height: 1.65; }
.doc a { color: var(--color-ink); }
.doc__date { margin-top: var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* footer: one colophon line */
.footer { border-top: 1px solid var(--color-rule); }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 96px; padding-block: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }
.footer__links { display: flex; gap: var(--space-xs); margin-inline: calc(-1 * var(--space-xs)); }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-xs); color: var(--color-ink-2); }
.footer__links a:hover { color: var(--color-ink); }

@media (prefers-reduced-motion: reduce) { .nav__links a, .pill, .channel { transition: none; } }

@media (max-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; row-gap: var(--space-xl); padding-block: var(--space-md) var(--space-2xl); }
  .hero__mascot { position: relative; top: auto; right: auto; order: -1; justify-self: center; width: min(88vw, 420px); height: auto; margin: calc(-1 * var(--space-lg)) 0 calc(-1 * var(--space-2xl)); transform: none; }
  .follow { margin-top: var(--space-xl); }
}
@media (max-width: 40rem) {
  .nav__home img { height: 22px; }
  .follow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pill { justify-content: center; width: 100%; padding: 0 var(--space-md); }
  .topics__list li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); padding-block: var(--space-md); }
  .topics__q { font-size: var(--text-xl); }
  .channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xs) var(--space-md); }
  .channel { font-size: var(--text-xl); }
  .proof__line { font-size: var(--text-display-s); }
}
