/* DEPTA — Department of Design
   Farben & Schrift laut 02_Marke/markenidentitaet.md */

@font-face {
  font-family: "Syne";
  src: url("../fonts/Syne-Variable.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --black:  #0F0F0F;
  --cream:  #F2EADF;
  --orange: #FF5A1F;
  --muted:  rgba(242, 234, 223, .62);
  --line:   rgba(242, 234, 223, .12);
  --panel:  #161616;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 13vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }

h1, h2, h3 { font-weight: 700; line-height: 1.02; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.dot { color: var(--orange); }

/* Kleine Titel: "Dept. of …" */
.label {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.6em;
  background: var(--orange); color: var(--black);
  font: 600 16px/1 "Syne", system-ui, sans-serif;
  border-radius: 999px; border: 2px solid var(--orange);
  transition: transform .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-2px); }
.button--ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.button--ghost:hover { border-color: var(--cream); }
.button .arrow { transition: transform .2s ease; }
.button:hover .arrow { transform: translateX(3px); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 15, 15, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.is-scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
/* SVG enthält 24px Freiraum rundum → 54px Höhe ≈ 30px Schrifthöhe */
.nav__logo { margin-left: -13px; }
.nav__logo img { height: 54px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a:not(.button) {
  color: var(--cream); font-weight: 600; font-size: 15px; position: relative;
}
.nav__links a:not(.button)::after {
  content: ""; position: absolute; left: 50%; bottom: -8px;
  width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--orange); transform: scale(0); transition: transform .2s ease;
}
.nav__links a:not(.button):hover::after { transform: scale(1); }
.nav .button { padding: .8em 1.3em; font-size: 15px; }

/* Hero */
.hero { padding: clamp(72px, 12vw, 150px) 0 clamp(80px, 11vw, 140px); }
.hero h1 { font-size: clamp(46px, 8.6vw, 128px); margin: 28px 0 36px; max-width: 12ch; }
.hero__lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 34em; }
.hero__lead strong { color: var(--cream); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* Statement */
.statement { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--section) 0; }
.statement p {
  font-size: clamp(30px, 4.6vw, 64px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  max-width: 18ch;
}
.statement p span { color: var(--muted); }

/* Sektionen */
.section { padding: var(--section) 0; }
.section__head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 88px); }
.section__head h2 { font-size: clamp(38px, 5.6vw, 80px); }
.section__head p { color: var(--muted); max-width: 36em; }

/* Leistung */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.service__intro p + p { margin-top: 1em; }
.service__intro p { color: var(--muted); }
.service__intro p strong { color: var(--cream); font-weight: 600; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li {
  display: grid; grid-template-columns: 18px 1fr; gap: 14px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: ""; width: 8px; height: 8px; margin-top: .62em; border-radius: 50%; background: var(--orange);
}
.checklist strong { display: block; font-weight: 600; }
.checklist span { color: var(--muted); font-size: .92em; }

.also {
  margin-top: clamp(56px, 8vw, 96px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 26px 30px; background: var(--panel); border-radius: 18px;
}
.also__title { font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.also__item { font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); }
.also__note { color: var(--muted); font-size: .9em; margin-left: auto; }

/* Warum */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason { background: var(--panel); border-radius: 20px; padding: clamp(28px, 3vw, 40px); }
.reason__num { font-size: 14px; font-weight: 600; color: var(--orange); letter-spacing: .1em; }
.reason h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 40px 0 14px; }
.reason p { color: var(--muted); }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: minmax(80px, 1fr) 2fr 3fr; gap: 24px;
  padding: clamp(28px, 3.5vw, 44px) 0; border-top: 1px solid var(--line);
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-size: clamp(36px, 4vw, 56px); font-weight: 700; color: var(--muted); line-height: 1; transition: color .3s ease; }
.step:hover .step__num { color: var(--orange); }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); }
.step p { color: var(--muted); }

/* Kontakt */
.contact { padding: var(--section) 0; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(44px, 7.4vw, 112px); max-width: 11ch; margin: 28px 0 32px; }
.contact__lead { color: var(--muted); max-width: 32em; }
.contact__channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.channel {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px;
  color: var(--cream); transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.channel:hover { border-color: var(--orange); transform: translateY(-3px); }
.channel__type { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.channel__value { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; overflow-wrap: anywhere; }
.channel--primary { background: var(--orange); border-color: var(--orange); color: var(--black); }
.channel--primary .channel__type { color: rgba(15, 15, 15, .7); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.footer__logo { margin: -16px 0 -16px -16px; }
.footer__logo img { width: 200px; }
.footer__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 14px; }
.footer__meta a { color: var(--muted); }
.footer__meta a:hover { color: var(--orange); }

/* Rechtstexte */
.legal { padding: clamp(64px, 9vw, 120px) 0 var(--section); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); margin: 24px 0 48px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; letter-spacing: -.01em; line-height: 1.3; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: .8em; }
.legal ul { padding-left: 1.2em; }
.legal a { overflow-wrap: anywhere; }
.legal .back { display: inline-block; margin-top: 56px; font-weight: 600; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .reason h3 { margin-top: 24px; }
  .contact__channels { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .step p { grid-column: 2; }
  .also__note { margin-left: 0; width: 100%; }
}
@media (max-width: 720px) {
  .nav__links a:not(.button) { display: none; }
  .nav .wrap { height: 64px; }
  .nav__logo img { height: 46px; }
  .nav__logo { margin-left: -11px; }
  .nav .button { padding: .75em 1.1em; font-size: 14px; }
  .hero__actions .button { flex: 1 1 auto; justify-content: center; }
}

/* =========================================================
   Spielerische Ebene
   ========================================================= */

/* Scroll-Fortschritt */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 50;
  background: var(--orange); transform-origin: 0 50%; transform: scaleX(0);
}

/* Eigener Cursor (nur Maus) */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .hero__dot { cursor: none; }
.cursor__dot, .cursor__ring {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; border-radius: 50%;
  will-change: transform;
}
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--orange); transition: opacity .2s ease; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  display: grid; place-items: center;
  transition: width .3s cubic-bezier(.2,.8,.2,1), height .3s cubic-bezier(.2,.8,.2,1), margin .3s cubic-bezier(.2,.8,.2,1), background .3s ease, opacity .3s ease;
}
.cursor__ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(242, 234, 223, .45); transition: border-color .3s ease;
}
.cursor__label { font-size: 12px; font-weight: 700; color: var(--black); opacity: 0; transition: opacity .2s ease; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 90, 31, .12); }
.cursor.is-hover .cursor__ring::before { border-color: var(--orange); }
.cursor.is-label .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: var(--orange); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* Hero: Punktfeld */
.hero { position: relative; overflow: hidden; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; }

/* Hero: Wörter fahren hoch */
.hero__title .w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: .12em 0 .1em; margin: -.12em 0 -.1em;
}
.hero__title .w > span {
  display: inline-block; transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}
.is-loaded .hero__title .w > span { transform: none; }
.hero__title .nowrap { white-space: nowrap; }
.hero__title .nowrap .w > span { transition-delay: .35s; }
.hero__title .w:nth-child(2) > span { transition-delay: .07s; }
.hero__title .w:nth-child(3) > span { transition-delay: .14s; }
.hero__title .w:nth-child(4) > span { transition-delay: .21s; }
.hero__title .w:nth-child(5) > span { transition-delay: .28s; }
.hero__title .w:nth-child(6) > span { transition-delay: .35s; }

/* Hero: der ziehbare Punkt */
.hero__dot-wrap { display: inline-block; transform: scale(0); transform-origin: 30% 80%; }
.is-loaded .hero__dot-wrap { animation: dotPop .7s cubic-bezier(.3, 1.6, .5, 1) .95s forwards; }
@keyframes dotPop { to { transform: scale(1); } }
.hero__dot {
  display: inline-block; position: relative; color: var(--orange);
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  will-change: transform;
}
.hero__dot::after { content: ""; position: absolute; inset: -.15em -.25em -.05em; } /* größere Trefferfläche */
.hero__dot.is-dragging { cursor: grabbing; }

.hero__hint {
  margin-top: 28px; font-size: 13px; color: var(--muted); letter-spacing: .02em;
  opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease;
}
.hero__hint::before { content: "↖ "; color: var(--orange); }
.hero__hint.is-visible { opacity: 1; transform: none; }
.hero__hint.is-done { opacity: 0; }

/* Statement: Wörter leuchten beim Scrollen auf */
.statement__text { font-size: clamp(30px, 4.6vw, 64px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; max-width: 18ch; }
.statement__text .sw { opacity: .16; transition: opacity .25s linear; }
.statement__text .sw.is-on { opacity: 1; }

/* Lauftext */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: clamp(22px, 3vw, 36px) 0; }
.marquee__track {
  display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); width: max-content;
  font-size: clamp(34px, 5.4vw, 76px); font-weight: 700; letter-spacing: -.02em; line-height: 1;
  white-space: nowrap; will-change: transform;
}
.marquee__track span { transition: color .3s ease; }
.marquee__track span:hover { color: var(--orange); }
.marquee__track i { flex: none; width: .22em; height: .22em; border-radius: 50%; background: var(--orange); }

/* Magnetische Buttons */
.button.magnetic { transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .2s ease, color .2s ease, border-color .2s ease; }

/* Karten mit Neigung + Lichtkegel */
.tilt { position: relative; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .2s ease, background .2s ease; }
.tilt.is-tilting { transition: transform .08s linear, border-color .2s ease, background .2s ease; }
.reason { overflow: hidden; isolation: isolate; }
.reason::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 90, 31, .16), transparent 60%);
}
.reason:hover::before { opacity: 1; }
.reason h3 { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.reason:hover h3 { transform: translateX(6px); }
.channel:hover { transform: none; }

/* Ablauf: aktiver Schritt */
.step h3 { transition: transform .4s cubic-bezier(.2, .8, .2, 1), color .3s ease; }
.step.is-active .step__num { color: var(--orange); }
.step.is-active h3 { transform: translateX(8px); }

/* Pulsierender Punkt im Kontakt */
.dot--pulse { display: inline-block; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Playground ---------- */
.pg { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.pg__controls { display: grid; gap: 26px; position: sticky; top: 110px; }
.pg__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.pg__group legend {
  padding: 0; margin-bottom: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.pg__options { display: flex; flex-wrap: wrap; gap: 8px; }
.pg__options button {
  font: 600 14px/1 "Syne", system-ui, sans-serif; color: var(--cream);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: .8em 1.15em; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.pg__options button:hover { border-color: var(--cream); }
.pg__options button[aria-pressed="true"] { background: var(--cream); color: var(--black); border-color: var(--cream); }
.pg__options--swatches { gap: 12px; }
.pg__options--swatches button {
  width: 40px; height: 40px; padding: 0; background: var(--sw); border: 0;
  transition: box-shadow .25s ease, transform .2s ease;
}
.pg__options--swatches button:hover { transform: scale(1.08); background: var(--sw); }
.pg__options--swatches button[aria-pressed="true"] { background: var(--sw); box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--sw); }
.pg__shuffle {
  justify-self: start; margin-top: 4px;
  font: 600 15px/1 "Syne", system-ui, sans-serif; color: var(--orange);
  background: none; border: 0; padding: 6px 0; cursor: pointer;
}
.pg__shuffle span { display: inline-block; margin-right: .3em; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.pg__shuffle:hover span { transform: rotate(-200deg); }

.pg__stage { container-type: inline-size; min-width: 0; }
.pg__caption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: right; }
.browser { border-radius: 16px; overflow: hidden; background: #1C1C1C; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; font-size: 12px; color: var(--muted); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(242, 234, 223, .18); }
.browser__bar span { margin-left: 12px; padding: 4px 14px; background: rgba(242, 234, 223, .06); border-radius: 999px; }

/* Die Beispielseite: alles über Variablen steuerbar */
.site {
  --s-bg: #F6F2EC; --s-fg: #161616; --s-soft: rgba(22, 22, 22, .6); --s-card: #fff;
  --s-accent: #FF5A1F; --s-ink: #0F0F0F; --s-radius: 999px; --s-card-r: 14px;
  --s-font: "Syne", system-ui, sans-serif; --s-weight: 700; --s-case: none; --s-track: -.03em; --s-scale: 1;
  background: var(--s-bg); color: var(--s-fg);
  font-family: var(--s-font);
  padding: 2.6cqi 4cqi 4cqi;
  transition: background .5s ease, color .5s ease;
  font-size: max(11px, 1.55cqi); line-height: 1.5;
}
.site * { transition: background .5s ease, color .5s ease, border-radius .4s ease, letter-spacing .4s ease, font-size .4s ease; }
.site[data-mode="dunkel"] { --s-bg: #131313; --s-fg: #F1EEE9; --s-soft: rgba(241, 238, 233, .6); --s-card: #1E1E1E; }
.site[data-shape="eckig"] { --s-radius: 0px; --s-card-r: 0px; }
.site[data-style="klassisch"] { --s-font: Georgia, "Times New Roman", serif; --s-weight: 400; --s-track: -.01em; }
.site[data-style="mutig"] { --s-weight: 800; --s-case: uppercase; --s-track: -.04em; --s-scale: 1.12; }

.site__nav { display: flex; align-items: center; gap: 3cqi; margin-bottom: 5cqi; }
.site__logo { font-weight: var(--s-weight); font-size: 2.2cqi; letter-spacing: var(--s-track); text-transform: var(--s-case); }
.site__logo span { color: var(--s-accent); }
.site__links { display: flex; gap: 2.4cqi; margin-left: auto; color: var(--s-soft); }
.site__btn {
  display: inline-block; background: var(--s-accent); color: var(--s-ink);
  border-radius: var(--s-radius); padding: .9em 1.5em; font-weight: 600; font-family: "Syne", system-ui, sans-serif;
  text-transform: var(--s-case); letter-spacing: 0;
}
.site__btn--sm { padding: .6em 1.2em; }
.site__hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4cqi; align-items: center; margin-bottom: 5cqi; }
.site__hero > div:first-child { display: grid; justify-items: start; gap: 1.8cqi; }
.site__eyebrow { color: var(--s-accent); font-weight: 600; font-size: .95em; }
.site[data-style="klassisch"] .site__eyebrow { font-style: italic; }
.site[data-style="mutig"] .site__eyebrow { text-transform: uppercase; letter-spacing: .12em; }
.site__title {
  display: block; font-weight: var(--s-weight); line-height: 1;
  font-size: calc(5.4cqi * var(--s-scale)); letter-spacing: var(--s-track); text-transform: var(--s-case);
}
.site__text { color: var(--s-soft); max-width: 30em; }
.site__art { position: relative; aspect-ratio: 1; }
.site__art i { position: absolute; display: block; transition: all .7s cubic-bezier(.2, .8, .2, 1); }
.site__art i:nth-child(1) { inset: 8% 8% 8% 8%; border-radius: 50%; background: var(--s-accent); }
.site__art i:nth-child(2) { width: 38%; height: 38%; right: 0; bottom: 0; background: var(--s-fg); border-radius: var(--s-card-r); }
.site__art i:nth-child(3) { width: 18%; height: 18%; left: 4%; top: 6%; border-radius: 50%; background: var(--s-bg); border: 2px solid var(--s-fg); }
.site[data-shape="eckig"] .site__art i:nth-child(1) { border-radius: 0; inset: 12%; transform: rotate(8deg); }
.site[data-style="mutig"] .site__art i:nth-child(1) { inset: 0 0 18% 0; }
.site[data-style="klassisch"] .site__art i:nth-child(1) { inset: 4% 16% 4% 16%; border-radius: 999px 999px 0 0; }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqi; }
.site__cards span { background: var(--s-card); border-radius: var(--s-card-r); padding: 2cqi; color: var(--s-soft); font-size: .9em; }
.site__cards b { display: block; color: var(--s-fg); font-weight: var(--s-weight); font-size: 1.25em; margin-bottom: .2em; text-transform: var(--s-case); letter-spacing: var(--s-track); }
.site.is-flash { animation: flash .5s ease; }
@keyframes flash { 30% { filter: brightness(1.15) saturate(1.2); } }

@media (max-width: 900px) {
  .pg { grid-template-columns: 1fr; }
  .pg__controls { position: static; grid-template-columns: 1fr 1fr; }
  .pg__shuffle { grid-column: 1 / -1; }
}
@container (max-width: 480px) {
  .site { font-size: 11px; padding: 14px; }
  .site__links { display: none; }
  .site__logo { font-size: 15px; }
  .site__hero { grid-template-columns: 1fr; }
  .site__title { font-size: calc(26px * var(--s-scale)); }
  .site__art { display: none; }
  .site__cards { grid-template-columns: 1fr; gap: 6px; }
  .site__cards span { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title .w > span { transform: none; transition: none; }
  .hero__dot-wrap { transform: none; animation: none !important; }
  .dot--pulse { animation: none; }
}
