/* Stefan Böttger Fotografie
 * Layout: vollflächiges Foto als Bühne, gläserne Pillen-Navigation, dann dunkle Bühne für die Bilder:
 * Elb-Karussell, Text der sich beim Scrollen aufhellt, Sammlungen als Bildkacheln, Nordsee randlos, Anfrage.
 * Bewusst nur ein (dunkles) Erscheinungsbild: Fotos leuchten auf Dunkel. */

@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: oklch(13% 0.012 250);
  --bg-2: oklch(17.5% 0.014 250);
  --bg-3: oklch(23% 0.016 250);
  --fg: oklch(96.5% 0.005 240);
  --fg-2: oklch(82% 0.01 240);
  --muted: oklch(66% 0.014 240);
  --line: oklch(96.5% 0.005 240 / 0.12);
  --line-2: oklch(96.5% 0.005 240 / 0.22);
  --glass: oklch(18% 0.014 250 / 0.55);
  --glass-light: oklch(96.5% 0.005 240 / 0.12);
  --glass-hover: oklch(96.5% 0.005 240 / 0.2);
  --shade: oklch(10% 0.012 250);
  --accent: oklch(81% 0.13 72);          /* Hafenlicht: die Morgensonne aus Nr. 011 */
  --accent-hover: oklch(86% 0.12 75);
  --accent-ink: oklch(19% 0.03 60);
  --focus: oklch(86% 0.12 75);
  --error: oklch(72% 0.16 27);

  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;

  --text-sm: 0.875rem; --text-md: 1.0625rem; --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 1vw + 1.1rem, 2rem);
  --text-2xl: clamp(2rem, 2.4vw + 1.2rem, 3.25rem);
  --text-3xl: clamp(2.5rem, 4vw + 1rem, 4.75rem);
  --text-hero: clamp(3.1rem, 8.4vw, 8.75rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px; --s-10: 160px;
  --r-sm: 14px; --r-md: 20px; --r-lg: 28px; --r-pill: 999px;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: calc(var(--nav-h) + var(--s-6)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 var(--text-md)/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
p { margin: 0; text-wrap: pretty; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--s-4); top: calc(-1 * var(--s-9)); z-index: 60; padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); }
.skip:focus-visible { top: var(--s-4); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.nr { font-variant-numeric: tabular-nums; }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-5); border: 1px solid transparent; border-radius: var(--r-pill); font-weight: 600; font-size: var(--text-md); line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 220ms var(--ease), border-color 220ms var(--ease), transform 120ms var(--ease), color 220ms var(--ease); }
.pill--accent { background: var(--accent); color: var(--accent-ink); }
.pill--accent:hover { background: var(--accent-hover); }
.pill--glass { background: var(--glass-light); border-color: var(--line-2); color: var(--fg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pill--glass:hover { background: var(--glass-hover); }
.pill:active { transform: scale(0.98); }
.pill:disabled, .pill[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.pill[aria-busy="true"] { cursor: progress; }
.pill--sm { min-height: 40px; padding: 0 var(--s-4); font-size: var(--text-sm); }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s-3); border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--line); color: var(--fg); font-size: var(--text-sm); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* ---------- navigation: floating glass pill ---------- */
.nav { position: fixed; z-index: 50; top: calc(env(safe-area-inset-top, 0px) + var(--s-4)); left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 2 * var(--s-4))); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--nav-h); padding: var(--s-2) var(--s-2) var(--s-2) var(--s-5); border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 40px oklch(8% 0.01 250 / 0.35); }
.nav__brand { font-weight: 700; letter-spacing: -0.03em; font-size: var(--text-lg); text-decoration: none; white-space: nowrap; }
.nav__brand-short { display: none; }
.nav__links { display: flex; gap: var(--s-6); margin: 0; padding: 0; list-style: none; }
.nav__links a { color: var(--fg-2); text-decoration: none; font-size: 0.9375rem; white-space: nowrap; transition: color 220ms var(--ease); }
.nav__links a:hover { color: var(--fg); }
.nav__end { display: flex; align-items: center; gap: var(--s-2); }
.nav__menu { display: none; align-items: center; min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line-2); border-radius: var(--r-pill); background: transparent; color: var(--fg); font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: background-color 220ms var(--ease); }
.nav__menu:hover, .nav__menu[aria-expanded="true"] { background: var(--glass-light); }
.nav__menu:active { transform: scale(0.98); }
main [id], footer [id] { scroll-margin-top: calc(var(--nav-h) + var(--s-6)); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + var(--s-8)) var(--gutter) var(--s-9); isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 45% at 50% 52%, oklch(10% 0.012 250 / 0.55), transparent 70%), linear-gradient(180deg, oklch(10% 0.012 250 / 0.35) 0%, oklch(10% 0.012 250 / 0.15) 35%, oklch(10% 0.012 250 / 0.55) 75%, var(--bg) 100%); }
.hero__body { display: grid; justify-items: center; gap: var(--s-5); text-align: center; max-width: 1100px; }
.hero h1 { font-size: var(--text-hero); font-weight: 750; letter-spacing: -0.05em; line-height: 0.92; text-shadow: 0 2px 40px oklch(10% 0.012 250 / 0.35); }
.hero__lede { font-size: var(--text-lg); color: var(--fg); max-width: 36ch; text-shadow: 0 1px 16px oklch(10% 0.012 250 / 0.8); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); padding-top: var(--s-2); }
.hero__cap { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); bottom: var(--s-6); display: flex; gap: var(--s-2); align-items: center; color: var(--fg-2); font-size: var(--text-sm); }

/* ---------- section heads ---------- */
.sec { padding-block: var(--s-10); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); }
.sec-head h2 { font-size: var(--text-3xl); max-width: 16ch; }
.sec-head p { color: var(--muted); max-width: 40ch; }

/* ---------- the Elbe carousel ---------- */
.river { padding-top: var(--s-9); }
.river__ctl { display: flex; gap: var(--s-2); }
.round { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--fg); cursor: pointer; transition: background-color 220ms var(--ease), transform 120ms var(--ease); }
.round:hover { background: var(--bg-3); }
.round:active { transform: scale(0.96); }
.round:disabled { opacity: 0.55; cursor: not-allowed; }
.round svg { width: 20px; height: 20px; }
.track { display: flex; gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--s-4) calc((100% - min(76vw, 920px)) / 2) var(--s-6); scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: -4px; }
.card { position: relative; flex: 0 0 min(76vw, 920px); aspect-ratio: 3 / 2; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: center; background: var(--bg-2); transform-origin: center; transition: transform 500ms var(--ease), opacity 500ms var(--ease); }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, oklch(10% 0.012 250 / 0.82) 100%); pointer-events: none; }
.card__body { position: absolute; z-index: 1; left: var(--s-6); right: var(--s-6); bottom: var(--s-6); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); }
.card__text { display: grid; gap: var(--s-2); min-width: 0; }
.card__name { font-size: var(--text-2xl); line-height: 1; }
.card__line { color: var(--fg-2); max-width: 44ch; }
.card .chip { position: absolute; z-index: 1; top: var(--s-5); left: var(--s-5); }
.dots { display: flex; justify-content: center; align-items: center; gap: var(--s-2); }
.dots button { min-height: 40px; padding: 0 var(--s-3); border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); font-size: var(--text-sm); cursor: pointer; transition: color 220ms var(--ease), background-color 220ms var(--ease); }
.dots button:hover { color: var(--fg); }
.dots button[aria-current="true"] { color: var(--accent-ink); background: var(--accent); }

/* ---------- statement, words light up on scroll ---------- */
.say__text { font-size: clamp(1.75rem, 3.4vw + 0.6rem, 3.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; max-width: 24ch; }
.say__text .w { transition: opacity 300ms var(--ease); }
.js .say__text .w { opacity: var(--o, 0.16); }
.say__by { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-7); color: var(--muted); }
.say__by .serif { font-size: var(--text-xl); color: var(--fg); }
.cams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin: var(--s-8) 0 0; }
.cams > div { padding: var(--s-6); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: var(--s-2); align-content: start; }
.cams dt { font-size: var(--text-xl); font-weight: 650; letter-spacing: -0.03em; }
.cams dd { margin: 0; color: var(--muted); }

/* ---------- collections as image tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 22vw, 320px); gap: var(--s-4); }
.tile { position: relative; grid-column: span 4; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; background: var(--bg-2); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, oklch(10% 0.012 250 / 0.8) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile:focus-visible { outline-offset: 4px; }
.tile__name { position: absolute; left: var(--s-5); right: var(--s-5); bottom: var(--s-5); font-size: var(--text-2xl); line-height: 1; }
.tile .chip { position: absolute; top: var(--s-4); right: var(--s-4); }
/* Raster nach Position (vom Generator vergeben): lead = große erste Kachel, pair = zwei neben der großen, half/wide = Reihenrest */
.tile--lead { grid-column: span 7; grid-row: span 2; }
.tile--lead .tile__name { font-size: var(--text-3xl); }
.tile--pair { grid-column: span 5; }
.tile--half { grid-column: span 6; }
.tile--wide { grid-column: span 12; }

/* ---------- strip of pictures that drifts ---------- */
.strip { position: relative; overflow: hidden; padding-block: var(--s-4); -webkit-mask-image: linear-gradient(90deg, transparent, var(--bg) 8%, var(--bg) 92%, transparent); mask-image: linear-gradient(90deg, transparent, var(--bg) 8%, var(--bg) 92%, transparent); }
.strip__row { display: flex; gap: var(--s-4); width: max-content; }
.strip__row a { display: block; flex: 0 0 auto; height: clamp(160px, 18vw, 240px); border-radius: var(--r-md); overflow: hidden; }
.strip__row img { height: 100%; width: auto; }
.js .strip.is-running .strip__row { animation: drift 90s linear infinite; }
.strip:hover .strip__row, .strip:focus-within .strip__row, .strip.is-paused .strip__row { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.strip__toggle { display: flex; justify-content: center; padding-top: var(--s-4); }
html:not(.js) .strip__toggle { display: none; }

/* ---------- the North Sea, edge to edge ---------- */
.sea { position: relative; margin-inline: var(--s-4); min-height: 92svh; border-radius: var(--r-lg); overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.sea__img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.sea__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(var(--zoom, 1)); }
.sea::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, oklch(10% 0.012 250 / 0.78) 100%); }
.sea__body { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); padding: var(--s-8) var(--s-7); }
.sea h2 { font-size: var(--text-3xl); max-width: 14ch; }
.sea__meta { display: grid; gap: var(--s-4); justify-items: start; }
.sea__meta p { color: var(--fg-2); }
.sea__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- request ---------- */
.ask { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6); align-items: start; }
.ask__head { grid-column: 1 / span 5; display: grid; gap: var(--s-5); position: sticky; top: calc(var(--nav-h) + var(--s-7)); }
.ask__head h2 { font-size: var(--text-3xl); }
.ask__head p { color: var(--fg-2); max-width: 36ch; }
.ask__mail { color: var(--muted); font-size: var(--text-sm); }
.ask__mail a { color: var(--fg); }
.form { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); padding: var(--s-6); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.field { display: grid; gap: var(--s-2); min-width: 0; align-content: start; }
.field--wide, .form__send { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); font-weight: 600; line-height: 1.4; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; height: 50px; padding: 0 var(--s-4); border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); color: var(--fg); outline: 2px solid transparent; outline-offset: -2px; transition: border-color 220ms var(--ease); }
.field textarea { height: auto; min-height: 128px; padding-block: var(--s-3); resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--focus); }
.field input:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field input[aria-invalid], .field textarea[aria-invalid] { border-color: var(--error); }
.field__help { min-height: 1lh; font-size: var(--text-sm); color: var(--muted); }
.field__help.is-error { color: var(--error); }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); padding-top: var(--s-2); }
.form__status { font-size: var(--text-sm); color: var(--muted); max-width: 42ch; }

/* ---------- footer ---------- */
.foot { padding-block: var(--s-9) var(--s-7); border-top: 1px solid var(--line); margin-top: var(--s-10); }
.foot__big { font-size: clamp(3rem, 11.5vw, 10.5rem); font-weight: 750; letter-spacing: -0.06em; line-height: 0.9; color: var(--bg-3); white-space: nowrap; }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-7); }
.foot__who { grid-column: 1 / span 6; display: grid; gap: var(--s-2); align-content: start; color: var(--fg-2); }
.foot__who a { color: var(--fg); }
/* Lange Wörter (E-Mail-Adressen, URLs) dürfen umbrechen, damit nichts über den Bildschirmrand ragt */
.foot a, .foot p, .ask__mail, .prose p, .prose a, .say__by { overflow-wrap: anywhere; }
.foot__grid > * { min-width: 0; }
.foot__col { grid-column: span 3; }
.foot__col h2 { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: var(--s-3); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-1); }
.foot ul a { text-decoration: none; color: var(--fg-2); transition: color 220ms var(--ease); }
.foot ul a:hover { color: var(--fg); }
.foot ul .nr { color: var(--muted); font-size: var(--text-sm); margin-left: var(--s-1); }
.foot__copy { color: var(--muted); font-size: var(--text-sm); margin-top: var(--s-3); }

/* ---------- gallery pages ---------- */
.ghero { position: relative; margin: var(--s-4); min-height: 78svh; border-radius: var(--r-lg); overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.ghero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ghero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, oklch(10% 0.012 250 / 0.3), transparent 30%, oklch(10% 0.012 250 / 0.8) 100%); }
.ghero__body { display: grid; gap: var(--s-4); padding: var(--s-8) var(--s-7); }
.ghero h1 { font-size: var(--text-hero); font-weight: 750; letter-spacing: -0.05em; line-height: 0.92; }
.ghero p { color: var(--fg-2); font-size: var(--text-lg); max-width: 40ch; }
.ghero__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.works { columns: 3; column-gap: var(--s-4); padding-top: var(--s-8); }
.work { break-inside: avoid; margin: 0 0 var(--s-6); }
.work__open { display: block; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.work__open img { width: 100%; transition: transform 900ms var(--ease); }
.work__open:hover img { transform: scale(1.03); }
.work__cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-1) var(--s-3); padding: var(--s-3) var(--s-1) 0; font-size: var(--text-sm); }
.work__title { font-family: var(--font-serif); font-style: italic; font-size: var(--text-lg); color: var(--fg); }
.work__cap .nr { color: var(--muted); }
.work__text { flex-basis: 100%; color: var(--muted); }
.work__ask { color: var(--fg-2); }
.more { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-8); }
.viewer { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: var(--s-6) var(--gutter); border: 0; background: oklch(9% 0.012 250 / 0.94); color: var(--fg); }
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--s-4); }
.viewer::backdrop { background: oklch(9% 0.012 250 / 0.94); }
.viewer__fig { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--s-3); min-height: 0; }
.viewer__img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.viewer__cap { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: var(--s-2) var(--s-4); font-size: var(--text-sm); color: var(--fg-2); }
.viewer__title { font-family: var(--font-serif); font-style: italic; font-size: var(--text-lg); color: var(--fg); }
.viewer__ctl { display: flex; justify-content: center; gap: var(--s-2); }

/* ---------- legal pages ---------- */
.prose { padding-block: calc(var(--nav-h) + var(--s-9)) var(--s-9); display: grid; gap: var(--s-4); justify-items: start; }
.prose > * { max-width: 65ch; }
.prose h1 { font-size: var(--text-3xl); margin-bottom: var(--s-5); }
.prose h2 { font-size: var(--text-xl); letter-spacing: -0.02em; margin-top: var(--s-5); }
.prose p { color: var(--fg-2); line-height: 1.7; }
.fill { padding: 0 0.3em; border: 1px dashed var(--muted); border-radius: 6px; color: var(--muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- reveal on scroll (visible without script) ---------- */
.js [data-reveal] { transform: translateY(32px); transition: transform 1000ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { transform: none; }
.js .hero__body > * { animation: rise 1100ms var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
@keyframes rise { from { transform: translateY(36px); } }

/* ---------- smaller screens ---------- */
@media (max-width: 64rem) {
  .nav__menu { display: inline-flex; }
  .nav__links { display: none; position: absolute; top: calc(100% + var(--s-2)); left: 0; right: 0; flex-direction: column; gap: 0; padding: var(--s-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg-2); box-shadow: 0 20px 50px oklch(8% 0.01 250 / 0.5); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { display: block; padding: var(--s-4); border-radius: var(--r-sm); color: var(--fg); font-size: var(--text-lg); }
  .nav__links a:hover { background: var(--bg-3); }
  .ask__head { position: static; }
  .ask { grid-template-columns: minmax(0, 1fr); }
  .ask__head, .form { grid-column: 1 / -1; }
  .tile, .tile--pair, .tile--half { grid-column: span 6; }
  .tile--lead, .tile--wide { grid-column: span 12; grid-row: span 1; }
  .cams { grid-template-columns: minmax(0, 1fr); }
  .foot__who { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__col { grid-column: auto; }
  .works { columns: 2; }
}
@media (max-width: 40rem) {
  .nav { padding-left: var(--s-4); gap: var(--s-2); }
  .nav__end { gap: var(--s-1); min-width: 0; }
  .nav .pill { display: inline-block; min-width: 0; max-width: 11.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 var(--s-4); min-height: 44px; line-height: 42px; }
  .hero__cap { display: none; }
  .track { padding-inline: var(--gutter); }
  .card { flex-basis: 86vw; aspect-ratio: 4 / 5; }
  .card__body { left: var(--s-5); right: var(--s-5); bottom: var(--s-5); }
  .dots { flex-wrap: wrap; }
  .tile, .tile--pair, .tile--half, .tile--lead, .tile--wide { grid-column: span 12; }
  .sea { min-height: 80svh; margin-inline: var(--s-2); }
  .sea__body { padding: var(--s-6) var(--s-5); }
  .form { grid-template-columns: minmax(0, 1fr); padding: var(--s-5); }
  .ghero { margin: var(--s-2); min-height: 70svh; }
  .ghero__body { padding: var(--s-6) var(--s-5); }
  .works { columns: 1; }
  .foot__col { grid-column: 1 / -1; }
}
@media (max-width: 30rem) {
  .nav__brand-full { display: none; }
  .nav__brand-short { display: inline; }
}
@media (max-width: 23rem) {
  .nav { padding-left: var(--s-3); }
  .nav .pill { padding: 0 var(--s-3); font-size: 0.8125rem; max-width: 9.5rem; }
  .nav__menu { padding: 0 var(--s-3); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { transform: none; }
  .js .say__text .w { opacity: 1; }
  .card { transform: none !important; opacity: 1 !important; }
  .sea__img img { transform: none; }
}
