/* Horyzont AI "Horizon". Brand hues only: blue #0040f9, mint #00ffab, navy #0a1033; every other colour is a neutral (r = g = b) or one of those three at an alpha. Dark only. */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/figtree-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/figtree-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/figtree-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/figtree-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/figtree-latin-ext-900-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/figtree-latin-900-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;

  --blue: #0040f9;
  --mint: #00ffab;
  --navy: #0a1033;

  --bg: #060606;
  --s1: #0d0d0d;
  --s2: #151515;
  --s3: #1e1e1e;
  --text: #f5f5f5;
  --text-2: #b0b0b0;
  --text-3: #8f8f8f;
  --on-mint: #060606;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --danger: #ff9a8f;

  --glow-mint: rgba(0, 255, 171, 0.35);

  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.75rem, 1.05rem + 6.4vw, 6.5rem);
  --fs-h1: clamp(2.5rem, 1.3rem + 4.6vw, 5rem);
  --fs-h2: clamp(1.875rem, 1.3rem + 2.3vw, 3.25rem);
  --fs-h3: 1.3125rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
  --fs-body: 1rem;
  --fs-meta: 0.875rem;
  --fs-eyebrow: 0.75rem;

  --gutter: clamp(20px, 5vw, 56px);
  --wrap: 1200px;
  --section: clamp(64px, 8vw, 112px);

  --r-card: 24px;
  --r-art: 16px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --consent-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--bg);
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: anywhere;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, [role="button"] { touch-action: manipulation; }
button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--mint); color: var(--on-mint); }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
main:focus, main:focus-visible { outline: none; }

.wrap { width: min(var(--wrap), 100% - 2 * max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px))); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--mint); color: var(--on-mint); font-weight: 700; text-decoration: none;
}
.skip:focus-visible { top: 12px; }

/* Type */
.display, .hero h1 {
  font-size: var(--fs-display); font-weight: 900; line-height: 0.94;
  letter-spacing: -0.047em; max-width: 13.5ch;
}
.h1, .intro h1 { font-size: var(--fs-h1); font-weight: 900; line-height: 0.98; letter-spacing: -0.042em; }
.h2 { font-size: var(--fs-h2); font-weight: 900; line-height: 1.02; letter-spacing: -0.035em; }
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.22; letter-spacing: -0.018em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--text-2); max-width: 36ch; }
.meta { font-size: var(--fs-meta); line-height: 1.5; color: var(--text-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-eyebrow); font-weight: 700; line-height: 1.2;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--mint); box-shadow: 0 0 10px var(--glow-mint);
}

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--mint); color: var(--on-mint);
  font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.005em; line-height: 1.15; text-align: center;
  text-decoration: none; cursor: pointer;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition-property: scale, background-color, box-shadow, color;
  transition-duration: 160ms; transition-timing-function: var(--ease-out);
}
.btn:active { scale: 0.96; }
.btn svg { width: 18px; height: 18px; flex: none; transition: translate 200ms var(--ease-out); }
.btn-ghost, .btn.ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-sm::before { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 44px; translate: 0 -50%; }
@media (hover: hover) and (pointer: fine) {
  .btn:not(.btn-ghost, .ghost, :disabled):hover { box-shadow: 0 0 0 6px rgba(0, 255, 171, 0.14), 0 12px 40px -10px rgba(0, 255, 171, 0.7); }
  .btn-ghost:hover, .btn.ghost:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); }
  .btn:hover svg.go { translate: 3px 0; }
}

.link-go {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; text-decoration: none; color: var(--text);
}
.link-go svg { width: 18px; height: 18px; flex: none; transition: translate 200ms var(--ease-out); }
.link-go span { background: linear-gradient(var(--mint), var(--mint)) 0 100% / 0 1px no-repeat; transition: background-size 240ms var(--ease-out); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) {
  .link-go:hover svg { translate: 3px 0; }
  .link-go:hover span { background-size: 100% 1px; }
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(6, 6, 6, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto;
  font-weight: 900; font-size: 1.0625rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap;
}
.brand svg { width: 34px; height: auto; }
.top-nav { display: none; }
.top-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 0.9375rem; font-weight: 700; color: var(--text-2); text-decoration: none;
  transition: color 160ms var(--ease-out);
}
.top-nav a[aria-current="page"] { color: var(--text); }
.top-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; border-radius: 50%;
  translate: -50% 0; background: var(--mint); box-shadow: 0 0 8px var(--glow-mint);
}
.top .btn-sm { flex: none; }
@media (hover: hover) and (pointer: fine) { .top-nav a:hover { color: var(--text); } }
@media (min-width: 1000px) { .top-nav { display: flex; gap: 4px; } }

/* Horizon scene: sky, rising sun, horizon line, reflecting sea */
.scene { position: absolute; inset: 0; pointer-events: none; overflow: clip; }
.scene-above { position: absolute; inset: 0 0 var(--sea) 0; overflow: clip; }
.sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 85% at var(--sun-x) 100%, rgba(0, 64, 249, 0.6) 0%, rgba(0, 64, 249, 0.22) 38%, rgba(0, 64, 249, 0) 72%),
    linear-gradient(to bottom, rgba(10, 16, 51, 0) 0%, rgba(10, 16, 51, 0.65) 62%, #0a1033 100%);
}
.sun-wrap { position: absolute; inset: 0; }
.sun {
  position: absolute; left: var(--sun-x); bottom: 0; width: var(--sun); aspect-ratio: 1;
  translate: -50% 54%;
}
.sun::before {
  content: ""; position: absolute; inset: -70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 171, 0.3) 0%, rgba(0, 255, 171, 0.12) 30%, rgba(0, 255, 171, 0.04) 50%, rgba(0, 255, 171, 0) 68%);
}
.sun-disk {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #00ffab 0%, #00ffab 40%, rgba(0, 255, 171, 0.82) 72%, rgba(0, 255, 171, 0.62) 100%);
  box-shadow: 0 0 40px 2px rgba(0, 255, 171, 0.6), 0 0 120px 20px rgba(0, 255, 171, 0.22), inset 0 -30px 60px -20px rgba(0, 64, 249, 0.5);
}
.horizon {
  position: absolute; left: 0; right: 0; bottom: var(--sea); height: 1px; overflow: clip;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 18%, rgba(0, 255, 171, 1) var(--sun-x), rgba(255, 255, 255, 0.28) 94%, rgba(255, 255, 255, 0) 100%);
}
.horizon::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 22%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  translate: -100% 0; opacity: 0;
}
.sea {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--sea); overflow: clip;
  background: linear-gradient(to bottom, rgba(10, 16, 51, 0.9) 0%, rgba(10, 16, 51, 0.25) 55%, rgba(6, 6, 6, 0) 100%);
}
.glint {
  position: absolute; top: 0; left: var(--sun-x); width: calc(var(--sun) * 1.15); height: 100%;
  translate: -50% 0;
  -webkit-mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 10%, rgba(0, 0, 0, 0) 72%);
  mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 10%, rgba(0, 0, 0, 0) 72%);
}
.glint::before {
  content: ""; position: absolute; left: 0; right: 0; top: -24px; bottom: 0;
  background: repeating-linear-gradient(to bottom, rgba(0, 255, 171, 0.75) 0 2px, rgba(0, 255, 171, 0) 2px 9px);
}
.grain {
  position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay;
  background: url(/assets/grain.svg) 0 0 / 240px 240px;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to bottom, #000 60%, rgba(0, 0, 0, 0));
}

/* Home hero */
.hero {
  --sun: clamp(170px, 46vw, 260px);
  --sun-x: 74%;
  --sea: clamp(64px, 12vw, 110px);
  position: relative; isolation: isolate;
  padding-top: clamp(40px, 8vw, 112px);
  padding-bottom: calc(var(--sea) + var(--sun) * 0.46 + 28px);
}
.hero-copy { position: relative; z-index: 1; }
.hero .lead { margin-top: clamp(20px, 2.4vw, 32px); }
.hero-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(28px, 3vw, 40px); }
.hero-meta { font-size: var(--fs-meta); color: var(--text-2); max-width: 30ch; }
@media (min-width: 1000px) {
  .hero {
    --sun: clamp(300px, 27vw, 400px);
    --sun-x: 80%;
    --sea: clamp(120px, 12vw, 170px);
    min-height: min(860px, calc(100svh - 64px));
    display: flex; flex-direction: column; justify-content: center;
    padding-bottom: calc(var(--sea) + 56px);
  }
  .hero h1 { max-width: 14ch; }
  .hero .lead, .hero-go { max-width: 56%; }
}

/* Intro scene on the other pages: a lower, quieter horizon */
.intro {
  --sun: clamp(120px, 30vw, 220px);
  --sun-x: 84%;
  --sea: 56px;
  position: relative; isolation: isolate;
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: calc(var(--sea) + clamp(24px, 3vw, 40px));
}
.intro .sun { translate: -50% 64%; }
.intro .glint { display: none; }
.intro .sky {
  background:
    radial-gradient(ellipse 60% 90% at var(--sun-x) 100%, rgba(0, 64, 249, 0.5) 0%, rgba(0, 64, 249, 0.16) 40%, rgba(0, 64, 249, 0) 72%),
    linear-gradient(to bottom, rgba(10, 16, 51, 0) 0%, rgba(10, 16, 51, 0.7) 100%);
}
.intro-copy { position: relative; z-index: 1; }
.intro-copy > p { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.45; color: var(--text-2); max-width: 44ch; }
@media (min-width: 1000px) { .intro { --sun-x: 86%; } .intro-copy > * { max-width: 70%; } }
.intro--set .sun { translate: -50% 82%; }

/* Sections */
.section { padding-top: var(--section); }
.section-h { margin-bottom: clamp(28px, 4vw, 48px); }
.section-h .h2 { max-width: 18ch; }
.section-first { padding-top: clamp(32px, 5vw, 64px); }

/* Art frame: one system for every image */
.art {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-art);
  background: var(--s2);
}
.art::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.art > img { width: 100%; height: 100%; object-fit: cover; }
.art--cover { aspect-ratio: 1200 / 552; }
.art--band > img { object-position: 50% 88%; }

/* Latest issue */
.latest { position: relative; display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.latest-art { position: relative; }
.latest-art .art { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.latest-art::before {
  content: ""; position: absolute; inset: 12% 6% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 64, 249, 0.45), rgba(0, 64, 249, 0));
  filter: blur(30px);
}
.latest-t { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.latest-t .h2 { max-width: 16ch; }
.latest-t .h2 a { text-decoration: none; }
.latest-t .h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-card); }
.latest-t .sub { color: var(--text-2); max-width: 52ch; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.latest-go { margin-top: 8px; pointer-events: none; }
@media (min-width: 900px) { .latest { grid-template-columns: 1.25fr 1fr; } .latest--text { grid-template-columns: 1fr; } }
@media (hover: hover) and (pointer: fine) {
  .latest:hover .latest-go { background: rgba(255, 255, 255, 0.1); }
  .latest:hover .latest-go svg { translate: 3px 0; }
}

/* Product cards ("Więcej od Horyzont AI") */
.products { display: grid; gap: 16px; }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.product {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 8px; border-radius: var(--r-card);
  background: var(--s1); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 240ms var(--ease-out), background-color 240ms var(--ease-out);
}
.stage {
  position: relative; pointer-events: none; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-art);
  background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(0, 64, 249, 0.55), rgba(0, 64, 249, 0) 70%), #0a1033;
}
.stage::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 18%; height: 1px; z-index: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(0, 255, 171, 0.9) 50%, rgba(255, 255, 255, 0));
}
.stage::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.screen {
  position: absolute; left: 50%; bottom: -8%; z-index: 1; width: 78%; height: 82%;
  translate: -50% 0; overflow: hidden; border-radius: 10px;
  box-shadow: 0 -2px 0 0 rgba(255, 255, 255, 0.06), 0 24px 60px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: translate 420ms var(--ease-out);
}
.screen img { width: 100%; height: 100%; object-fit: cover; }
.screen--top img { object-position: 50% 0%; }
.screen-play {
  position: absolute; left: 14px; bottom: calc(8% / 0.82 + 14px); z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--mint); color: var(--on-mint); box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.6);
}
.screen-play svg { width: 16px; height: 16px; margin-left: 2px; }
.product-t { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; padding: 20px 14px 10px; }
.product-t .h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.product-t .h3 a { text-decoration: none; }
.product-t .h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-card); }
.product-t p { color: var(--text-2); font-size: 0.9375rem; }
.product-t .meta { color: var(--text-3); }
.product-go { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: auto; padding-top: 6px; }
.product-go a.link-go { position: relative; z-index: 2; }
.product-go span.link-go { pointer-events: none; }
.product-go .link-go--muted { color: var(--text-2); }
@media (hover: hover) and (pointer: fine) {
  .product:hover { background: var(--s2); box-shadow: inset 0 0 0 1px var(--line-2); }
  .product:hover .screen { translate: -50% -10px; }
  .product:hover .product-go .link-go:first-child svg { translate: 3px 0; }
  .product:hover .product-go .link-go:first-child span { background-size: 100% 1px; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .product { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .product .stage { aspect-ratio: auto; min-height: 260px; }
}

/* Earlier issues */
.issues { display: grid; gap: 12px; }
.issue {
  position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 8px; border-radius: var(--r-card); text-decoration: none;
  transition: background-color 200ms var(--ease-out);
}
.issue--text { grid-template-columns: minmax(0, 1fr); }
.issue .art { border-radius: 12px; }
.issue .art img { transition: scale 420ms var(--ease-out); }
.issue-t { display: grid; gap: 6px; min-width: 0; }
.issue-h { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.012em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  .issue:hover { background: var(--s1); }
  .issue:hover .art img { scale: 1.04; }
}
@media (min-width: 760px) {
  .issues { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .issue { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; padding: 8px 8px 16px; }
  .issue .art { border-radius: var(--r-art); }
  .issue-t { padding: 0 8px; }
  .issue-h { font-size: 1.1875rem; }
}
.all-link { margin-top: 24px; }

/* Text pages */
.intro .back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 12px; font-weight: 700; color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.28); text-underline-offset: 0.25em; }
.intro .btn.back { margin: 32px 0 0; color: var(--on-mint); text-decoration: none; }
.prose { max-width: 680px; margin-inline: auto; width: min(680px, 100% - 2 * var(--gutter)); padding-top: clamp(24px, 4vw, 48px); }
.prose h2 { margin: 40px 0 12px; font-size: 1.375rem; font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin: 0 0 12px; color: var(--text-2); line-height: 1.6; }
.prose ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.prose li::marker { color: var(--mint); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 0.25em; }
@media (hover: hover) and (pointer: fine) { .intro .back:not(.btn):hover { color: var(--text); text-decoration-color: var(--mint); } }

/* Footer */
.foot {
  position: relative; margin-top: var(--section);
  padding: clamp(56px, 7vw, 88px) 0 calc(40px + env(safe-area-inset-bottom, 0px));
}
body.asking .foot { padding-bottom: calc(64px + var(--consent-h) + env(safe-area-inset-bottom, 0px)); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, 0.1); }
.foot-grid { display: grid; gap: 40px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -0.02em; text-decoration: none; min-height: 44px; }
.foot-brand svg { width: 26px; height: auto; }
.foot-projects { display: grid; margin-top: 16px; }
.foot-projects a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; border-bottom: 1px solid var(--line);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 900; letter-spacing: -0.03em; text-decoration: none;
  color: var(--text-2); transition: color 200ms var(--ease-out);
}
.foot-projects a svg { width: 22px; height: 22px; flex: none; transition: translate 200ms var(--ease-out); }
.foot-projects a[aria-current="page"] { color: var(--text); }
.foot-projects a[aria-current="page"] svg { color: var(--mint); }
@media (hover: hover) and (pointer: fine) {
  .foot-projects a:hover { color: var(--text); }
  .foot-projects a:hover svg { translate: 4px 0; }
}
.foot-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 8px; }
.foot-links a, .foot-links button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  background: none; border: 0; font-size: var(--fs-meta); color: var(--text-2); cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.28); text-underline-offset: 0.25em;
}
@media (hover: hover) and (pointer: fine) {
  .foot-links a:hover, .foot-links button:hover { color: var(--text); text-decoration-color: var(--mint); }
}
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr 1.4fr; align-items: start; } }

/* Cookie banner */
.consent {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  border-radius: 20px; background: rgba(21, 21, 21, 0.86);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -12px rgba(0, 0, 0, 0.8);
  font-size: var(--fs-meta); color: var(--text-2);
}
.consent:focus-visible { outline: none; }
.consent-in { display: grid; gap: 12px; padding: 18px; }
.consent p { line-height: 1.45; }
.consent p a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 0.25em; }
.consent-h { font-weight: 700; color: var(--text); font-size: 0.9375rem; }
.consent-now { color: var(--text); font-weight: 700; }
.consent-go { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-btn {
  min-height: 44px; padding: 6px 12px; border: 0; border-radius: 999px;
  background: var(--mint); color: var(--on-mint); font-weight: 700; font-size: 0.9375rem; line-height: 1.2;
  transition: scale 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.consent-btn[data-consent="no"] { background: rgba(255, 255, 255, 0.06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.consent-btn:active { scale: 0.96; }
.consent-plain {
  grid-column: 1 / -1; min-height: 44px; border: 0; background: none;
  color: var(--text); font-weight: 700; font-size: var(--fs-meta); text-decoration: underline; text-underline-offset: 0.25em;
}
@media (hover: hover) and (pointer: fine) { .consent-btn[data-consent="no"]:hover { background: rgba(255, 255, 255, 0.1); } }
@media (min-width: 700px) { .consent { left: 20px; right: auto; bottom: 20px; width: 440px; } }
@media (max-width: 699px) {
  .consent-in { gap: 10px; padding: 14px; }
  .consent-h { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .consent p { font-size: 0.8125rem; line-height: 1.4; }
}

/* Motion: progressive enhancement, never hides content where unsupported, off under reduced motion */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes rise-in { from { opacity: 0; translate: 0 28px; } }
    .rv { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 140px; }
    .rv-stagger > * { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 20px entry 180px; }

    @keyframes header-line { to { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); background-color: rgba(6, 6, 6, 0.86); } }
    .top { animation: header-line linear both; animation-timeline: scroll(root); animation-range: 0 120px; }

    @keyframes sun-set { to { translate: 0 40%; } }
    .hero .sun-wrap { animation: sun-set linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }

  @keyframes sun-rise { from { translate: -50% 100%; } }
  @keyframes halo { 50% { opacity: 0.72; scale: 1.06; } }
  @keyframes draw { from { scale: 0 1; } }
  @keyframes shimmer { 0% { translate: -100% 0; opacity: 0; } 8% { opacity: 1; } 40%, 100% { translate: 560% 0; opacity: 0; } }
  @keyframes ripple { to { translate: 0 9px; } }
  @keyframes copy-in { from { opacity: 0; translate: 0 18px; filter: blur(6px); } }

  .scene .sun { animation: sun-rise 2200ms var(--ease-out) both; }
  .scene .sun::before { animation: halo 7s var(--ease-io) 2200ms infinite; }
  .scene .horizon { animation: draw 1100ms var(--ease-out) both; }
  .scene .horizon::after { animation: shimmer 9s linear 1600ms infinite; }
  .scene .glint::before { animation: ripple 1.6s linear infinite; }
  .hero-copy > *, .intro-copy > * { animation: copy-in 700ms var(--ease-out) both; }
  .hero-copy > :nth-child(2), .intro-copy > :nth-child(2) { animation-delay: 90ms; }
  .hero-copy > :nth-child(3), .intro-copy > :nth-child(3) { animation-delay: 180ms; }
  .hero-copy > :nth-child(4), .intro-copy > :nth-child(4) { animation-delay: 270ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .btn:active, .consent-btn:active { scale: 1; }
}
