/* ==========================================================================
   Hare Krishna Nederland — “Saffraan & Inkt”
   Editorial system for iPhone first (iPhone 17: 402 × 874 pt, Dynamic Island,
   ProMotion). Uses Apple’s own faces (New York + SF Pro) via ui-serif /
   system-ui, so nothing is downloaded on iOS; falls back gracefully elsewhere.
   ========================================================================== */

:root {
  /* Palette */
  --ink: #14122b;          /* deep indigo night */
  --ink-2: #221f45;
  --paper: #f7f0e4;        /* warm ivory */
  --paper-2: #efe4d1;
  --saffron: #e8891c;
  --saffron-deep: #c96d0c;
  --lotus: #d9546e;
  --gold: #c9a45c;
  --text: #1d1a33;
  --muted: #5f5a72;
  --on-dark: #f7f0e4;
  --on-dark-muted: #c9c3d9;
  --line: rgb(20 18 43 / .14);

  /* Type */
  /* 1st choice: Apple’s New York / SF Pro (system fonts, iPhone · iPad · Mac).
     2nd choice: bundled open substitutes, metric-tuned to match (Lora ≈ New York, Inter ≈ SF Pro).
     3rd choice: good platform faces, then generic. */
  --serif: ui-serif, "New York", "NewYork", "HK Serif", "Iowan Old Style", Charter, "Bitstream Charter", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "HK Sans", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "HK Sans", "Segoe UI Variable Display", "Segoe UI", Roboto, sans-serif;

  /* Fluid scale tuned to 402 pt wide phones, grows to desktop */
  --fs-hero: clamp(2.55rem, 1.4rem + 5.6vw, 6rem);
  --fs-h2: clamp(2rem, 1.25rem + 3.6vw, 4.25rem);
  --fs-h3: clamp(1.25rem, 1.05rem + .7vw, 1.6rem);
  --fs-lede: clamp(1.3rem, 1.05rem + 1.1vw, 2rem);
  --fs-body: clamp(1.02rem, .97rem + .2vw, 1.14rem);
  --fs-small: .82rem;

  /* Spacing + safe areas */
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --dock-h: 3.75rem;
  --screen: 100svh;

  /* Motion: spring-like ease for 120 Hz */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t: .9s;
}

/* ---------- Substitute faces (only downloaded where Apple fonts are absent) ---------- */
@font-face { font-family: "HK Serif"; src: local("Lora"), local("Lora Regular"), url("fonts/hk-serif.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; size-adjust: 95%; }
@font-face { font-family: "HK Serif"; src: local("Lora Italic"), url("fonts/hk-serif-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; size-adjust: 95%; }
@font-face { font-family: "HK Sans"; src: local("Inter"), local("Inter Regular"), url("fonts/hk-sans-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; size-adjust: 96.5%; }
@font-face { font-family: "HK Sans"; src: local("Inter Medium"), url("fonts/hk-sans-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; size-adjust: 96.5%; }
@font-face { font-family: "HK Sans"; src: local("Inter SemiBold"), url("fonts/hk-sans-SemiBold.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; size-adjust: 96.5%; }
@font-face { font-family: "HK Sans"; src: local("Inter Italic"), url("fonts/hk-sans-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; size-adjust: 96.5%; }

@supports (height: 100dvh) { :root { --screen: 100svh; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
  hanging-punctuation: first last;           /* Safari: optically hung quotes */
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  font-optical-sizing: auto;
  font-variant-numeric: oldstyle-nums proportional-nums;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.022em;
  text-wrap: balance;
  font-variant-numeric: lining-nums;
  font-feature-settings: "kern", "liga", "dlig";
}
h1 em, h2 em { font-style: italic; font-weight: 500; letter-spacing: -.01em; }
p, li, dd, summary { text-wrap: pretty; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 3 3; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 99; top: calc(var(--sat) + .5rem); left: 1rem; padding: .7rem 1rem; background: var(--saffron); color: var(--ink); border-radius: .6rem; font-weight: 600; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: .3rem; }
::selection { background: var(--saffron); color: var(--ink); }

/* Kicker: letterspaced small caps label */
.kicker {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--saffron-deep);
  display: flex; align-items: center; gap: .6em; flex-wrap: wrap;
}
.kicker b { color: var(--gold); font-weight: 400; }
.kicker .num {
  display: inline-grid; place-items: center;
  min-width: 2.1em; height: 2.1em; padding: 0 .35em;
  border: 1px solid currentColor; border-radius: 99px;
  letter-spacing: .04em;
}
.intro { color: var(--muted); max-width: 36ch; font-size: 1.04em; }

/* ---------- Screens: each section locks to the phone viewport ---------- */
.screen {
  position: relative;
  min-height: var(--screen);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--sat) + 4.25rem) 0 calc(var(--dock-h) + var(--sab) + 1.75rem);
  overflow: clip;
  scroll-margin-top: 0;
}
.wrap { width: 100%; max-width: 78rem; margin: 0 auto; padding: 0 var(--gutter); }
.head { display: grid; gap: .8rem; margin-bottom: clamp(1.25rem, 3.5svh, 2.75rem); }
.head h2 { font-size: var(--fs-h2); }

.paper { background: var(--paper); }
.paper-deep { background: var(--paper-2); }
.night { background: var(--ink); color: var(--on-dark); }
.night .kicker { color: var(--saffron); }
.night .intro { color: var(--on-dark-muted); }
.saffron { background: var(--saffron); color: var(--ink); }
.saffron .kicker { color: var(--ink); }
.saffron .intro { color: rgb(20 18 43 / .75); }

/* Subtle paper grain (pure CSS, no image) */
.paper::before, .paper-deep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgb(20 18 43 / .035) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* Phones: scroll-snap “screen lock” */
@media (max-width: 820px) {
  html { scroll-snap-type: y mandatory; scroll-padding-top: 0; }
  .screen { scroll-snap-align: start; scroll-snap-stop: always; }
}

/* ---------- Top bar ---------- */
.bar {
  position: fixed; z-index: 40; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(var(--sat) + .65rem) var(--gutter) .65rem;
  color: var(--on-dark);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), box-shadow .5s var(--ease);
}
.bar.is-solid {
  background: rgb(247 240 228 / .78);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.bar.is-dark { background: rgb(20 18 43 / .72); color: var(--on-dark); box-shadow: 0 1px 0 rgb(255 255 255 / .08); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.lotus { width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.brand-word { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.brand-word i { font-weight: 400; color: var(--saffron); }
.bar.is-solid .brand-word i { color: var(--saffron-deep); }
.bar-nav { display: none; }

@media (min-width: 821px) {
  .bar-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); font-size: .92rem; font-weight: 500; }
  .bar-nav a { text-decoration: none; position: relative; padding: .3rem 0; }
  .bar-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .bar-nav a:hover::after, .bar-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
  .bar-cta { padding: .55rem 1.05rem !important; border-radius: 99px; background: var(--saffron); color: var(--ink); }
  .bar-cta::after { display: none; }
}

/* ---------- Dock (phones) ---------- */
.dock {
  position: fixed; z-index: 45;
  left: max(.75rem, env(safe-area-inset-left)); right: max(.75rem, env(safe-area-inset-right));
  bottom: calc(var(--sab) + .5rem);
  height: var(--dock-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem;
  padding: 0 .45rem 0 .45rem;
  border-radius: 1.4rem;
  background: rgb(20 18 43 / .72);
  -webkit-backdrop-filter: saturate(1.8) blur(22px);
  backdrop-filter: saturate(1.8) blur(22px);
  color: var(--on-dark);
  box-shadow: 0 10px 40px rgb(10 8 30 / .35), inset 0 0 0 .5px rgb(255 255 255 / .14);
  transform: translateY(0);
  transition: transform .6s var(--ease), opacity .4s;
}
.dock.is-hidden { transform: translateY(calc(100% + var(--sab) + 1rem)); }
.dock-up, .dock-menu {
  width: 2.9rem; height: 2.9rem; display: grid; place-items: center;
  border: 0; border-radius: 1rem; background: rgb(255 255 255 / .08); color: inherit; cursor: pointer;
}
.dock-up svg { width: 2.1rem; height: 2.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-90deg); }
.dock-up svg path { transform: rotate(90deg); transform-origin: 18px 18px; }
.ring-bg { stroke: rgb(255 255 255 / .15); }
.ring { stroke: var(--saffron); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); transition: stroke-dashoffset .2s linear; }
.dock-label { display: flex; align-items: baseline; gap: .55rem; min-width: 0; font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; overflow: hidden; }
.dock-label span:last-child { overflow: hidden; text-overflow: ellipsis; }
.dock-num { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .12em; color: var(--saffron); font-variant-numeric: lining-nums tabular-nums; }
.dock-label.swap span:last-child { animation: swapIn .5s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(.6em); filter: blur(4px); } }
.burger { position: relative; width: 1.15rem; height: .75rem; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 0; } .burger i:last-child { top: calc(100% - 2px); }
.dock-menu[aria-expanded="true"] .burger i:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
.dock-menu[aria-expanded="true"] .burger i:last-child { top: calc(50% - 1px); transform: rotate(-45deg); }
@media (min-width: 821px) { .dock { display: none; } }

/* ---------- Sheet (full-screen menu) ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 44;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--sat) + 4rem) var(--gutter) calc(var(--dock-h) + var(--sab) + 2rem);
  background: var(--ink); color: var(--on-dark);
  clip-path: circle(0% at calc(100% - 2.6rem) calc(100% - var(--sab) - 2.4rem));
  transition: clip-path .75s var(--ease-in-out);
}
.sheet[hidden] { display: flex; visibility: hidden; }
.sheet.is-open { clip-path: circle(150% at calc(100% - 2.6rem) calc(100% - var(--sab) - 2.4rem)); visibility: visible; }
.sheet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.sheet-list a {
  display: flex; align-items: baseline; gap: 1rem; text-decoration: none;
  font-family: var(--serif); font-size: clamp(1.7rem, 7.2vw, 2.6rem); line-height: 1.22; letter-spacing: -.02em;
  opacity: 0; transform: translateY(1rem);
  transition: opacity .5s var(--ease), transform .7s var(--ease), color .3s;
}
.sheet-list a .sn { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--saffron); font-variant-numeric: lining-nums tabular-nums; }
.sheet.is-open .sheet-list a { opacity: 1; transform: none; }
.sheet.is-open .sheet-list li:nth-child(n) a { transition-delay: calc(.18s + var(--n, 0) * 35ms); }
.sheet-list a:active { color: var(--saffron); }
.sheet-foot { margin-top: 2rem; font-family: var(--serif); font-style: italic; color: var(--on-dark-muted); }

/* ---------- Reveal transitions ---------- */
.js .reveal { opacity: 0; transform: translateY(1.4rem); filter: blur(6px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), filter var(--t) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.in .reveal, .reveal.in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ---------- Buttons & links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.1rem; padding: 0 1.4rem; border-radius: 99px;
  font-weight: 600; font-size: 1rem; text-decoration: none; letter-spacing: -.005em;
  transition: transform .4s var(--ease), background-color .3s, box-shadow .4s var(--ease);
}
.btn:active { transform: scale(.96); }
.btn-saffron { background: var(--saffron); color: var(--ink); box-shadow: 0 8px 28px rgb(232 137 28 / .35); }
.btn-saffron::after { content: "→"; transition: transform .4s var(--ease); }
.btn-saffron:hover::after { transform: translateX(.25rem); }
.btn-ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgb(247 240 228 / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgb(247 240 228 / .08); }
.link { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: .25em; color: var(--saffron-deep); }
.link::after { content: " ↗"; }

/* ---------- 01 Hero ---------- */
.hero { color: var(--on-dark); background: var(--ink); justify-content: flex-end; padding-bottom: calc(var(--dock-h) + var(--sab) + 2.75rem); }
.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: kenburns 22s var(--ease) both; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(20 18 43 / .55) 0%, rgb(20 18 43 / 0) 28%),
    linear-gradient(0deg, rgb(20 18 43 / .96) 8%, rgb(20 18 43 / .62) 45%, rgb(20 18 43 / .1) 75%),
    radial-gradient(120% 80% at 80% 100%, rgb(232 137 28 / .28), transparent 60%);
}
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-inner { position: relative; width: 100%; max-width: 78rem; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 1.15rem; }
.hero .kicker { color: var(--saffron); }
.hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.03em; max-width: 13ch; }
.hero h1 em { color: var(--saffron); }
.hero-lead { font-family: var(--serif); font-size: clamp(1.08rem, .98rem + .5vw, 1.35rem); line-height: 1.45; color: var(--on-dark-muted); max-width: 36ch; }
.hero-scroll { position: absolute; left: 50%; bottom: calc(var(--dock-h) + var(--sab) + .9rem); width: 1px; height: 1.6rem; overflow: hidden; translate: -50% 0; display: none; }
.hero-scroll span { position: absolute; inset: 0; background: var(--on-dark); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 821px) { .hero { padding-bottom: 5rem; } .hero-scroll { display: block; bottom: 1.5rem; } }

/* ---------- In het kort ---------- */
.kort .wrap { display: grid; gap: clamp(1.25rem, 3svh, 2.5rem); }
.lede { font-family: var(--serif); font-size: var(--fs-lede); line-height: 1.28; letter-spacing: -.012em; max-width: 28ch; font-variant-numeric: oldstyle-nums; }
.drop {
  float: left; font-size: 3.2em; line-height: .82; padding: .06em .08em 0 0; color: var(--saffron-deep); font-weight: 600;
}
@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .drop { float: none; font-size: inherit; line-height: inherit; padding: 0 .12em 0 0; -webkit-initial-letter: 3; initial-letter: 3; }
}
.figures { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.figures div { display: grid; grid-template-columns: 6.4rem 1fr; align-items: baseline; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.figures dt { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: lining-nums; color: var(--ink); }
.figures dd { margin: 0; color: var(--muted); font-size: .98rem; }
@media (min-width: 821px) { .figures { grid-template-columns: repeat(3, 1fr); border: 0; } .figures div { grid-template-columns: 1fr; border: 0; border-left: 1px solid var(--line); padding: 0 1.5rem; } .figures dt { font-size: 3rem; } }

/* ---------- Rails (horizontal snap carousels) ---------- */
.rail {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: .25rem var(--gutter) .75rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: .9rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail > *:last-child { margin-right: var(--gutter); }
.rail-dots { display: flex; gap: .4rem; margin-top: .6rem; }
.rail-dots i { width: .4rem; height: .4rem; border-radius: 99px; background: currentColor; opacity: .22; transition: width .5s var(--ease), opacity .3s; }
.rail-dots i.on { width: 1.4rem; opacity: .85; }
.rail > * { transition: transform .6s var(--ease), opacity .6s var(--ease); }
@media (max-width: 820px) { @supports (animation-timeline: view(inline)) {
  .rail > * { animation: railIn linear both; animation-timeline: view(inline); animation-range: entry 0% cover 40%; }
  @keyframes railIn { from { opacity: .35; transform: scale(.94); } }
}
}

/* Verhaal year cards */
.year-card { display: grid; grid-template-rows: auto 1fr; border-radius: 1.4rem; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 40px -22px rgb(20 18 43 / .35); }
.year-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.18) contrast(1.02); }
.year-body { padding: 1.1rem 1.2rem 1.35rem; display: grid; gap: .45rem; align-content: start; }
.year { font-family: var(--serif); font-size: 2.6rem; line-height: .9; font-weight: 600; letter-spacing: -.035em; color: var(--saffron-deep); font-variant-numeric: lining-nums; }
.year-card h3 { font-size: var(--fs-h3); }
.year-card p { font-size: .97rem; color: var(--muted); }

/* Bhakti idea cards */
.idea { position: relative; display: grid; gap: .7rem; align-content: end; min-height: min(23rem, 48svh); padding: 1.5rem 1.35rem; border-radius: 1.4rem; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.idea:nth-child(2) { background: var(--saffron); color: var(--ink); }
.idea:nth-child(3) { background: #2c4a44; }
.idea-glyph { position: absolute; top: .3rem; right: 1rem; font-family: var(--serif); font-size: 6rem; line-height: 1; opacity: .16; }
.idea-no { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; font-variant-numeric: lining-nums; }
.idea h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.idea p:last-child { font-size: .98rem; opacity: .88; }

/* ---------- Split screens ---------- */
.split { display: grid; grid-template-rows: 42svh 1fr; padding-top: 0; justify-content: stretch; }
.split-media { position: relative; margin: 0; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.split.in .split-media img { transform: scale(1); }
.split-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, var(--split-bg, var(--paper)), transparent); }
.split-copy { display: grid; gap: .95rem; align-content: start; padding: 1.4rem var(--gutter) 0; max-width: 40rem; }
.split-copy h2 { font-size: clamp(1.9rem, 1.3rem + 3vw, 3.6rem); }
.split-copy p { color: var(--muted); }
.suriname { background: var(--paper); --split-bg: var(--paper); }
.suriname .split-media img { filter: sepia(.22); }
.leven { --split-bg: var(--paper); }
.night.split { --split-bg: var(--ink); }
.night .split-copy p { color: var(--on-dark-muted); }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 1.2rem + 1.3vw, 2.2rem) !important; line-height: 1.2; color: var(--saffron-deep) !important; padding-top: .4rem; border-top: 1px solid var(--line); }
@media (min-width: 821px) {
  .split { grid-template-rows: none; grid-template-columns: 1fr 1fr; align-items: center; padding: 0; }
  .split-media { height: 100%; min-height: 100svh; }
  .split-media::after { display: none; }
  .split-copy { padding: 6rem var(--gutter); }
  .split-rev .split-media { order: 2; }
}

/* ---------- Kirtan ---------- */
.kirtan { text-align: center; }
.kirtan .head { justify-items: center; }
.kirtan .kicker { justify-content: center; }
.kirtan .intro { margin: 0 auto; max-width: 32ch; }
.kirtan h2 em { color: var(--saffron); }
.kirtan-wrap { position: relative; display: grid; justify-items: center; gap: 1.5rem; }
.mandala {
  position: absolute; left: 50%; top: 55%; width: min(150vw, 60rem); aspect-ratio: 1; translate: -50% -50%;
  background:
    repeating-conic-gradient(from 0deg, rgb(232 137 28 / .10) 0 6deg, transparent 6deg 15deg),
    radial-gradient(closest-side, transparent 58%, rgb(201 164 92 / .18) 59%, transparent 60%, transparent 76%, rgb(201 164 92 / .14) 77%, transparent 78%);
  border-radius: 50%;
  -webkit-mask: radial-gradient(closest-side, #000 40%, transparent 100%); mask: radial-gradient(closest-side, #000 40%, transparent 100%);
  animation: spin 120s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.mantra { position: relative; margin: 0; display: grid; gap: .9rem; }
.mantra figcaption { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.mantra blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 1.1rem + 3.4vw, 3.6rem); line-height: 1.14; letter-spacing: -.015em; }
.mantra blockquote p:nth-child(n+3) { color: var(--saffron); font-style: italic; }
.js .mantra span { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(8px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--w, 0) * 110ms + .3s); }
.mantra.sing span { opacity: 1; transform: none; filter: none; }
.no-js .mantra span { opacity: 1; transform: none; filter: none; }
.mantra-meaning { color: var(--on-dark-muted); font-family: var(--serif); font-style: italic; max-width: 30ch; margin: .2rem auto 0; }

/* ---------- Ontmoet ---------- */
.rail-places { grid-auto-columns: 80%; }
.place { border-radius: 1.4rem; overflow: hidden; background: #fff; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 18px 40px -24px rgb(20 18 43 / .35); }
.place img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.place-body { padding: 1.05rem 1.2rem 1.3rem; display: grid; gap: .45rem; align-content: start; }
.tag { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-deep); }
.place h3 { font-size: var(--fs-h3); }
.place p:not(.tag) { font-size: .95rem; color: var(--muted); }
.note { margin-top: 1rem; font-size: .85rem; color: var(--muted); max-width: 52ch; }

/* ---------- Festivals ---------- */
.festivals h2 em { color: #fff8ec; }
.rail-fest { grid-auto-columns: 68%; counter-reset: f; }
.fest { counter-increment: f; position: relative; display: grid; gap: .55rem; align-content: start; min-height: min(19rem, 40svh); padding: 1.3rem 1.25rem 1.4rem; border-radius: 1.4rem; background: rgb(255 248 236 / .92); color: var(--ink); box-shadow: 0 14px 34px -20px rgb(80 30 0 / .55); }
.fest::before { content: counter(f, decimal-leading-zero); position: absolute; top: 1rem; right: 1.15rem; font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--saffron-deep); font-variant-numeric: lining-nums tabular-nums; }
.when { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--saffron-deep); font-variant-numeric: lining-nums; }
.fest h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.fest p:last-child { font-size: .95rem; color: var(--muted); }

/* ---------- Meedoen ---------- */
.ways { list-style: none; counter-reset: w; margin: .3rem 0 0; padding: 0; display: grid; border-top: 1px solid rgb(247 240 228 / .14); }
.ways li { counter-increment: w; display: grid; grid-template-columns: 2.4rem 1fr; gap: .5rem; padding: .78rem 0; border-bottom: 1px solid rgb(247 240 228 / .14); font-family: var(--serif); font-size: 1.12rem; line-height: 1.3; }
.ways li::before { content: counter(w, decimal-leading-zero); font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--saffron); padding-top: .35rem; font-variant-numeric: lining-nums tabular-nums; }
.meedoen h2 em { color: var(--saffron); }
.meedoen .split-media img { object-position: 50% 30%; }

/* ---------- Archief & lezen ---------- */
.lezen-grid { display: grid; gap: clamp(1.6rem, 4svh, 3rem); }
.lezen-archief { display: grid; gap: .9rem; }
.lezen-archief h2 { font-size: clamp(1.9rem, 1.3rem + 3vw, 3.6rem); }
.lezen-archief p { color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { padding: .38rem .8rem; border-radius: 99px; border: 1px solid var(--line); font-size: .82rem; font-weight: 500; background: rgb(255 255 255 / .55); }
.lezen-links { display: grid; gap: .65rem; }
.readlink { display: grid; gap: .15rem; padding: 1rem 2.8rem 1rem 1.15rem; border-radius: 1.1rem; background: var(--ink); color: var(--on-dark); text-decoration: none; position: relative; transition: transform .4s var(--ease); }
.readlink::after { content: "↗"; position: absolute; right: 1.15rem; top: 50%; translate: 0 -50%; color: var(--saffron); font-size: 1.2rem; }
.readlink strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.readlink small { color: var(--on-dark-muted); font-size: .86rem; }
.readlink:active { transform: scale(.98); }
@media (min-width: 821px) { .lezen-grid { grid-template-columns: 1.2fr .8fr; align-items: end; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: .75rem; height: .75rem; border-right: 1.5px solid var(--saffron-deep); border-bottom: 1.5px solid var(--saffron-deep); rotate: 45deg; translate: 0 -.2rem; transition: rotate .5s var(--ease), translate .5s var(--ease); }
.faq-list details[open] summary::after { rotate: 225deg; translate: 0 .15rem; }
.faq-list details p { padding: 0 0 1.1rem; color: var(--muted); max-width: 58ch; }
.faq-list details[open] p { animation: open .55s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-.4rem); } }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .faq-list details[open]::details-content { height: auto; }
}

/* ---------- Galerij ---------- */
.galerij { justify-content: center; }
.galerij h2 em { color: var(--saffron); }
.galerij .head { margin-bottom: 1.1rem; }
.rail-gallery { margin: 0; padding-inline: var(--gutter); grid-auto-columns: auto; gap: .7rem; align-items: start; }
.rail-gallery figure { margin: 0; display: grid; gap: .55rem; }
.rail-gallery img { height: min(52svh, 28rem); width: auto; max-width: 82vw; object-fit: cover; border-radius: 1.1rem; filter: grayscale(.15) sepia(.12); }
.rail-gallery figcaption { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--on-dark-muted); }
.galerij .rail-dots { color: var(--on-dark); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--on-dark); justify-content: center; }
.foot-wrap { display: grid; gap: 1.8rem; }
.foot-mantra { font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 6vw, 6rem); line-height: .95; letter-spacing: -.035em; font-weight: 600; }
.foot-mantra i { color: var(--saffron); font-weight: 400; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.foot-cols nav { display: grid; gap: .5rem; align-content: start; }
.foot-cols .kicker { color: var(--saffron); margin-bottom: .2rem; }
.foot-cols a { text-decoration: none; color: var(--on-dark-muted); font-size: .98rem; }
.foot-line { font-family: var(--serif); font-style: italic; color: var(--on-dark-muted); max-width: 40ch; }
.foot-small { font-size: .74rem; color: rgb(201 195 217 / .7); max-width: 60ch; border-top: 1px solid rgb(255 255 255 / .1); padding-top: 1.1rem; font-variant-numeric: lining-nums; }

/* ---------- Desktop refinements ---------- */
@media (min-width: 821px) {
  .screen { padding: 7rem 0 6rem; }
  .rail { margin: 0; padding: .25rem 0 .75rem; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
  .rail > *:last-child { margin-right: 0; }
  .rail:not(.rail-gallery) { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
  .rail-cards, .rail-places { grid-template-columns: repeat(3, 1fr) !important; }
  .rail-dots { display: none; }
  .rail-gallery { grid-auto-flow: column; overflow-x: auto; padding-inline: var(--gutter); margin: 0; }
  .rail-gallery > *:last-child { margin-right: var(--gutter); }
  .galerij .rail-dots { display: none; }
  .head { grid-template-columns: 1fr; max-width: 52rem; }
  .split-copy h2, .lezen-archief h2 { font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3.8rem); }
}

/* ---------- Short phones (iPhone SE, landscape) ---------- */
@media (max-width: 820px) and (max-height: 700px) {
  :root { --fs-h2: clamp(1.75rem, 1.2rem + 3vw, 2.4rem); }
  .year-card img { aspect-ratio: 16 / 9; }
  .idea { min-height: 15rem; }
  .split { grid-template-rows: 32svh 1fr; }
  .figures div { padding: .6rem 0; }
}
@media (max-width: 820px) and (orientation: landscape) {
  html { scroll-snap-type: none; }
  .screen { min-height: auto; padding-block: 4.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .mantra span { opacity: 1; transform: none; filter: none; }
}

/* ==========================================================================
   2026 layer: Liquid Glass, gesture navigation, kinetic type, scroll-driven
   ========================================================================== */

/* Liquid Glass material: translucent body, specular rim, soft refraction */
.glass, .dock, .bar.is-solid, .bar.is-dark {
  --glass-tint: 20 18 43;
  background:
    linear-gradient(180deg, rgb(255 255 255 / .16), rgb(255 255 255 / 0) 55%),
    rgb(var(--glass-tint) / .7);
  -webkit-backdrop-filter: blur(26px) saturate(190%) brightness(1.04);
  backdrop-filter: blur(26px) saturate(190%) brightness(1.04);
}
.bar.is-solid { --glass-tint: 247 240 228; background: linear-gradient(180deg, rgb(255 255 255 / .5), rgb(255 255 255 / 0)), rgb(247 240 228 / .62); }
.dock { border-radius: 1.75rem; isolation: isolate; box-shadow: 0 18px 50px -12px rgb(10 8 30 / .55), 0 2px 6px rgb(10 8 30 / .25); }
.dock::before { /* specular rim */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(135deg, rgb(255 255 255 / .55), rgb(255 255 255 / .06) 35%, rgb(255 255 255 / .02) 65%, rgb(232 137 28 / .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.dock::after { /* moving light catch */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 120% at var(--lx, 30%) 0%, rgb(255 255 255 / .16), transparent 60%);
  transition: background-position .4s;
}
.dock-up, .dock-menu { background: rgb(255 255 255 / .1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18); transition: transform .35s var(--ease), background-color .3s; }
.dock-up:active, .dock-menu:active { transform: scale(.88); }
.dock-label { all: unset; cursor: pointer; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .55rem; min-width: 0; font-family: var(--serif); }
.dock-hint { grid-column: 1 / -1; font-family: var(--sans); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: rgb(247 240 228 / .45); line-height: 1; margin-bottom: .2rem; }
.dock-num { align-self: baseline; }
.dock-title { font-size: 1.08rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-label.swap .dock-title { animation: swapIn .55s var(--ease); }
.dock-label.swap-l .dock-title { animation: swapL .5s var(--ease); }
.dock-label.swap-r .dock-title { animation: swapR .5s var(--ease); }
@keyframes swapL { from { opacity: 0; transform: translateX(1.2rem); filter: blur(4px); } }
@keyframes swapR { from { opacity: 0; transform: translateX(-1.2rem); filter: blur(4px); } }
.dock.is-dragging { transition: none; }
.dock.is-pressed { transform: scale(.97); }

/* Edge index scrubber (phones) */
.scrub { position: fixed; z-index: 43; right: max(.15rem, env(safe-area-inset-right)); top: 50%; translate: 0 -50%; width: 2.2rem; height: min(56svh, 28rem); display: grid; place-items: center end; touch-action: none; opacity: 0; transition: opacity .5s var(--ease); }
.scrub.is-visible { opacity: 1; }
.scrub-track { height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; padding-right: .45rem; }
.scrub-track i { width: .42rem; height: 2px; border-radius: 2px; background: currentColor; opacity: .22; transition: width .35s var(--ease), opacity .3s, background-color .3s; }
.scrub-track i.on { width: 1.1rem; opacity: 1; background: var(--saffron); }
.scrub { color: var(--ink); }
.scrub.on-dark { color: var(--on-dark); }
.scrub.is-active .scrub-track i { width: .8rem; opacity: .6; }
.scrub.is-active .scrub-track i.on { width: 1.5rem; opacity: 1; }
.scrub-bubble {
  position: absolute; right: 2.6rem; top: var(--by, 50%); translate: 0 -50%; white-space: nowrap;
  padding: .55rem .95rem; border-radius: 1rem; font-family: var(--serif); font-size: 1.05rem; color: var(--on-dark);
  background: rgb(20 18 43 / .6); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .25), 0 10px 30px rgb(0 0 0 / .25);
  opacity: 0; scale: .85; transform-origin: right center; transition: opacity .25s, scale .35s var(--ease); pointer-events: none;
}
.scrub.is-active .scrub-bubble { opacity: 1; scale: 1; }
@media (min-width: 821px) { .scrub { display: none; } }

/* Sheet 2026: thumbnails, current chapter, drag-to-close */
.sheet { background: radial-gradient(120% 60% at 100% 100%, rgb(232 137 28 / .22), transparent 60%), radial-gradient(90% 50% at 0% 0%, rgb(217 84 110 / .14), transparent 60%), var(--ink); overflow-y: auto; justify-content: flex-start; padding-top: calc(var(--sat) + 4.5rem); touch-action: pan-y; }
.sheet-list { gap: .25rem; }
.sheet-list a { display: grid; grid-template-columns: 2.9rem auto 1fr; align-items: center; gap: .9rem; padding: .32rem .4rem; border-radius: 1.1rem; font-size: clamp(1.45rem, 6.4vw, 2.3rem); }
.sheet-list a img { width: 2.9rem; height: 2.9rem; border-radius: .85rem; object-fit: cover; filter: saturate(.8); transition: transform .5s var(--ease), border-radius .5s var(--ease); }
.sheet-list a .sn { align-self: center; }
.sheet-list a[aria-current] { background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .16); }
.sheet-list a[aria-current] .st { color: var(--saffron); font-style: italic; }
.sheet-list a[aria-current] img { border-radius: 50%; transform: rotate(-6deg) scale(1.05); }
.sheet-foot { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.sheet-foot span:first-child { font-family: var(--sans); font-style: normal; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
@media (min-width: 821px) { .sheet { display: none !important; } }

/* Giant editorial chapter numerals */
.screen[data-num]:not(.hero):not(.split):not(.foot)::after {
  content: attr(data-num); position: absolute; z-index: 0; pointer-events: none;
  right: calc(var(--gutter) - .08em); top: calc(var(--sat) + 3.2rem);
  font-family: var(--serif); font-weight: 600; font-size: clamp(7rem, 34vw, 18rem); line-height: .8; letter-spacing: -.06em;
  color: var(--saffron-deep); opacity: .1; font-variant-numeric: lining-nums;
}
.screen > .wrap, .screen > .rail { position: relative; z-index: 1; }

/* Kinetic mantra band */
.marquee { position: absolute; left: 0; right: 0; bottom: calc(var(--dock-h) + var(--sab) + 1.6rem); overflow: hidden; pointer-events: none; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; white-space: nowrap; padding-right: .5em; color: rgb(201 164 92 / .5); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 821px) { .marquee { bottom: 2rem; } .marquee span { font-size: 1.6rem; } }

/* Hero: scroll-driven exit (type lifts and blurs as you leave) */
@supports (animation-timeline: view()) {
  .hero-inner { animation: heroOut linear both; animation-timeline: view(); animation-range: exit 0% exit 70%; }
  @keyframes heroOut { to { opacity: 0; transform: translateY(-3rem) scale(.96); filter: blur(10px); } }
  .split-media img { animation: drift linear both; animation-timeline: view(); animation-range: cover; transition: none; }
  @keyframes drift { from { transform: scale(1.16) translateY(-4%); } to { transform: scale(1.02) translateY(4%); } }
}

/* Saffron screen: living gradient mesh */
.saffron { background:
  radial-gradient(70% 50% at 15% 10%, #f6a93b 0, transparent 60%),
  radial-gradient(60% 50% at 95% 85%, #d9546e 0, transparent 65%),
  radial-gradient(80% 70% at 50% 60%, #ec8f22 0, transparent 75%), var(--saffron);
  background-size: 160% 160%; animation: mesh 18s var(--ease-in-out) infinite alternate; }
@keyframes mesh { to { background-position: 100% 100%; } }

/* Night screens: faint starfield + aurora */
.night { background: radial-gradient(80% 50% at 50% 0%, rgb(232 137 28 / .12), transparent 60%), radial-gradient(1px 1px at 20% 30%, rgb(255 255 255 / .35), transparent), radial-gradient(1px 1px at 70% 20%, rgb(255 255 255 / .25), transparent), radial-gradient(1px 1px at 85% 65%, rgb(255 255 255 / .3), transparent), radial-gradient(1px 1px at 35% 80%, rgb(255 255 255 / .2), transparent), var(--ink); }
.night.split { background: var(--ink); }

/* Cards: press states + depth (touch-first) */
.year-card, .place, .idea, .fest, .readlink { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.year-card:active, .place:active, .idea:active, .fest:active { transform: scale(.975); }
.idea { box-shadow: 0 24px 50px -28px rgb(20 18 43 / .6); }
.idea::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(160deg, rgb(255 255 255 / .14), transparent 40%); }

/* Hero refinements */
.hero h1 { text-shadow: 0 2px 30px rgb(10 8 30 / .35); }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .18; mix-blend-mode: overlay; background-image: radial-gradient(rgb(255 255 255 / .6) .6px, transparent .7px); background-size: 3px 3px; }

/* Desktop: five-up timeline, bento bhakti */
@media (min-width: 821px) {
  .verhaal .rail { grid-template-columns: repeat(5, 1fr) !important; }
  .rail-fest { grid-template-columns: repeat(5, 1fr) !important; }
  .rail-cards { grid-template-columns: 1.3fr 1fr 1fr !important; }
  .rail-cards .idea:first-child { min-height: 26rem; }
}

/* View Transitions for the menu (Safari 18+) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22,1,.36,1); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .saffron, .mandala { animation: none !important; }
  .hero-inner, .split-media img, .screen[data-num]::after { animation: none !important; }
}

.sheet-list a .st { font-family: var(--serif); color: var(--on-dark); }

/* ==========================================================================
   Advanced typography
   ========================================================================== */
body { font-synthesis-weight: none; font-synthesis-small-caps: none; font-feature-settings: "kern", "calt"; text-decoration-skip-ink: auto; }
h1, h2, .lede, .foot-mantra { font-feature-settings: "kern", "liga", "calt", "dlig"; }
.kicker, .idea-no, .tag, .dock-num, .sheet-list a .sn, .fest::before, .ways li::before, .rail-dots { font-feature-settings: "kern", "case", "tnum"; }
.year, .figures dt { font-feature-settings: "kern", "lnum", "pnum"; }
@supports (text-box: trim-both cap alphabetic) {
  .hero h1, .head h2, .split-copy h2, .foot-mantra { text-box: trim-both cap alphabetic; }
}
/* Optical tracking: Apple fonts track themselves; substitutes get it by size */
.hk-subst h1, .hk-subst h2 { letter-spacing: -.028em; }
.hk-subst .hero h1 { letter-spacing: -.035em; }
.hk-subst .kicker { letter-spacing: .14em; }
.hk-subst body, .hk-subst p { letter-spacing: -.006em; }
a:not(.btn):not(.brand) { text-underline-offset: .22em; text-decoration-thickness: from-font; }
abbr, .smcp { font-variant-caps: all-small-caps; letter-spacing: .04em; }

/* ==========================================================================
   Hover magic (mouse & trackpad only; touch keeps the press states)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor .rail { cursor: none; }
  .cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; border-radius: 50%; translate: -50% -50%; }
  .cursor-dot { width: 6px; height: 6px; background: var(--saffron); transition: opacity .3s, scale .3s var(--ease); }
  .cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgb(232 137 28 / .7); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), background-color .35s, border-color .35s, opacity .3s; font: 600 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
  .cursor-ring span { opacity: 0; transition: opacity .25s; }
  html.c-link .cursor-ring { width: 54px; height: 54px; background: rgb(232 137 28 / .14); }
  html.c-view .cursor-ring { width: 84px; height: 84px; background: var(--saffron); border-color: var(--saffron); }
  html.c-view .cursor-ring span { opacity: 1; }
  html.c-view .cursor-dot, html.c-link .cursor-dot { scale: 0; }
  html.c-text .cursor-ring { width: 4px; height: 30px; border-radius: 2px; background: var(--saffron); border-color: transparent; }
  html.c-hidden .cursor-dot, html.c-hidden .cursor-ring { opacity: 0; }

  /* 3D tilt + specular glare */
  [data-tilt] { transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .6s var(--ease), box-shadow .6s var(--ease); will-change: transform; }
  [data-tilt].is-tilting { transition: transform .12s linear, box-shadow .6s var(--ease); box-shadow: 0 40px 70px -30px rgb(20 18 43 / .5); }
  [data-tilt]::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / .28), transparent 45%); mix-blend-mode: soft-light; }
  [data-tilt].is-tilting::before { opacity: 1; }
  .year-card, .place, .fest { position: relative; }

  /* Photos: archive tone lifts to colour, slow push-in */
  .year-card img, .place img, .rail-gallery img { transition: filter .8s var(--ease), transform 1.2s var(--ease); }
  .year-card:hover img, .place:hover img { filter: none; transform: scale(1.06); }
  .rail-gallery figure:hover img { filter: none; transform: scale(1.02) rotate(-.6deg); }
  .rail-gallery figure:hover figcaption { color: var(--saffron); }
  .year-card img, .place img { will-change: transform; }
  .year-card > img, .place > img { clip-path: inset(0); }

  /* Variable-weight italics breathe on hover (Lora wght axis / New York) */
  h2 em, h1 em { transition: font-weight .6s var(--ease), letter-spacing .6s var(--ease), color .4s; }
  .head:hover h2 em, .split-copy:hover h2 em, .hero-inner:hover h1 em { font-weight: 650; letter-spacing: -.02em; }

  /* Text-roll navigation */
  .bar-nav a:not(.bar-cta) { overflow: hidden; display: inline-grid; }
  .bar-nav a:not(.bar-cta) > span { grid-area: 1 / 1; transition: transform .55s var(--ease); }
  .bar-nav a:not(.bar-cta) > span + span { transform: translateY(110%); color: var(--saffron); font-family: var(--serif); font-style: italic; }
  .bar-nav a:not(.bar-cta):hover > span:first-child { transform: translateY(-110%); }
  .bar-nav a:not(.bar-cta):hover > span + span { transform: none; }

  /* Magnetic buttons with liquid fill */
  [data-magnet] { transform: translate(var(--tx, 0), var(--ty, 0)); transition: transform .5s var(--ease), box-shadow .4s var(--ease), background-color .3s; position: relative; overflow: hidden; isolation: isolate; }
  [data-magnet].is-near { transition: transform .15s linear; }
  .btn-saffron::before, .bar-cta::before { content: ""; position: absolute; z-index: -1; left: var(--fx, 50%); top: var(--fy, 50%); width: 0; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; background: var(--ink); transition: width .6s var(--ease); }
  .btn-saffron:hover, .bar-cta:hover { color: var(--on-dark); }
  .btn-saffron:hover::before, .bar-cta:hover::before { width: 260%; }
  .btn-ghost:hover { background: rgb(247 240 228 / .95); color: var(--ink); }

  /* Spotlight on dark screens */
  .night::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 30%), rgb(232 137 28 / .13), transparent 60%); transition: opacity .4s; }

  /* Mantra syllables glow under the pointer */
  .mantra span { transition: color .35s, text-shadow .5s, transform .5s var(--ease); }
  .mantra span:hover { color: var(--saffron); text-shadow: 0 0 24px rgb(232 137 28 / .55); transform: translateY(-.08em); }

  /* Read links: sweep + arrow orbit */
  .readlink { overflow: hidden; isolation: isolate; }
  .readlink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, var(--saffron-deep), var(--saffron)); transform: translateX(-101%); transition: transform .7s var(--ease); }
  .readlink:hover::before { transform: none; }
  .readlink:hover small { color: var(--ink); }
  .readlink:hover strong { color: var(--ink); }
  .readlink::after { transition: transform .6s var(--ease), color .3s; }
  .readlink:hover::after { transform: rotate(45deg); color: var(--ink); }

  /* FAQ rows */
  .faq-list summary { transition: padding .5s var(--ease), color .3s; }
  .faq-list summary:hover { padding-left: .6rem; color: var(--saffron-deep); }

  /* Footer links underline draw */
  .foot-cols a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; padding-bottom: 2px; justify-self: start; }
  .foot-cols a:hover { background-size: 100% 1px; color: var(--on-dark); }
  .foot-mantra i { transition: color .4s, font-weight .6s var(--ease); }
  .foot-mantra:hover i { color: var(--lotus); font-weight: 650; }

  /* Chips & ideas */
  .chips li { transition: background-color .3s, color .3s, transform .4s var(--ease); }
  .chips li:hover { background: var(--ink); color: var(--on-dark); transform: translateY(-2px); }
  .idea .idea-glyph { transition: transform 1.2s var(--ease), opacity .6s; }
  .idea:hover .idea-glyph { transform: rotate(-12deg) scale(1.15); opacity: .3; }
  .ways li { transition: padding .5s var(--ease), color .3s; }
  .ways li:hover { padding-left: .5rem; color: var(--saffron); }
}
@media (prefers-reduced-motion: reduce) {
  [data-tilt], [data-magnet] { transform: none !important; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Adressen: calm, large, no motion ---------- */
.adressen .wrap { display: grid; gap: 1.1rem; max-width: 46rem; }
.adressen::after { display: none; }
.adres-h { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem); }
.adres-p { font-size: 1.2rem; color: var(--text); max-width: 34ch; }
.adres-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: 1.15rem; }
.adres-list li { padding: .8rem 1rem; border: 2px solid var(--line); border-radius: 1rem; background: #fffdf8; }
.adres-list b { display: block; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-deep); }
.adres-btn { display: flex; align-items: center; justify-content: center; min-height: 3.6rem; border-radius: 1rem; background: var(--ink); color: #fff; font-weight: 600; font-size: 1.2rem; text-decoration: none; }

/* ==========================================================================
   Phone top bar: ‹ › (previous / next section) · Adressen · ⋯ (all sections)
   Replaces the brand and the bottom dock on phones.
   ========================================================================== */
.bar-mob { display: none; }
@media (max-width: 820px) {
  :root { --dock-h: 0rem; }
  .bar { z-index: 46; padding: calc(var(--sat) + .5rem) max(.75rem, env(safe-area-inset-right)) .5rem max(.75rem, env(safe-area-inset-left)); }
  .bar .brand { display: none; }
  .bar-mob { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; }
  .bar-mob .grp { display: flex; align-items: center; gap: .4rem; }
  .bar-btn, .bar-pill {
    height: 2.6rem; display: inline-grid; place-items: center; border: 0; border-radius: 99px;
    color: inherit; text-decoration: none; cursor: pointer;
    background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .24);
    -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
    transition: transform .3s var(--ease), opacity .3s, background-color .3s, color .3s;
    -webkit-tap-highlight-color: transparent;
  }
  .bar-btn { width: 2.6rem; padding: 0; }
  .bar-pill { padding: 0 1.05rem; font: 600 .92rem/1 var(--sans); letter-spacing: .01em; }
  .bar-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .bar-btn .dots circle { fill: currentColor; stroke: none; }
  .bar.is-solid .bar-btn, .bar.is-solid .bar-pill { background: rgb(20 18 43 / .06); box-shadow: inset 0 0 0 .5px rgb(20 18 43 / .16); }
  .bar-btn:active, .bar-pill:active { transform: scale(.88); }
  .bar-btn[disabled] { opacity: .3; pointer-events: none; }
  .bar-btn[aria-expanded="true"] { background: var(--saffron) !important; color: var(--ink); }
  .dock { display: none; }
  /* Menu opens from the ⋯ button, top right, and the bar stays usable above it */
  .sheet { clip-path: circle(0% at calc(100% - 2.1rem) calc(var(--sat) + 1.8rem)); padding-bottom: calc(var(--sab) + 2rem); }
  .sheet.is-open { clip-path: circle(150% at calc(100% - 2.1rem) calc(var(--sat) + 1.8rem)); }
  .sheet-open .bar { background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: var(--on-dark) !important; }
  .sheet-open .bar-btn:not([aria-expanded="true"]), .sheet-open .bar-pill { background: rgb(255 255 255 / .12) !important; box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .24) !important; }
}

/* Phone top bar: compact size */
@media (max-width: 820px) {
  .bar-mob .grp { gap: .3rem; }
  .bar-btn, .bar-pill { height: 2rem; }
  .bar-btn { width: 2rem; }
  .bar-btn svg { width: 1rem; height: 1rem; stroke-width: 2.4; }
  .bar-pill { padding: 0 .75rem; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
}

/* Phone top bar: logo + name on the left, controls on the right */
@media (max-width: 820px) {
  .bar { gap: .5rem; }
  .bar .brand { display: inline-flex; gap: .4rem; min-width: 0; flex: 0 1 auto; }
  .bar .lotus { width: 1.45rem; height: 1.45rem; flex: none; }
  .bar .brand-word { font-size: .9rem; white-space: nowrap; }
  .bar-mob { width: auto; flex: none; justify-content: flex-end; gap: .3rem; }
  .bar-mob .grp { gap: .25rem; }
  .bar-pill { padding: 0 .6rem; font-size: .66rem; }
}
@media (max-width: 360px) {
  .bar .brand-word i { display: none; }
}

/* Narrow phones (iPhone SE / mini): keep the bar on one line */
@media (max-width: 389px) {
  .bar .brand-word i { display: none; }
}
@media (max-width: 820px) {
  .bar .brand { gap: .35rem; }
  .bar .lotus { width: 1.3rem; height: 1.3rem; }
  .bar .brand-word { font-size: .82rem; }
}

/* Phone top bar: plain icons and text, no button backgrounds */
@media (max-width: 820px) {
  .bar-btn, .bar-pill,
  .bar.is-solid .bar-btn, .bar.is-solid .bar-pill,
  .sheet-open .bar-btn:not([aria-expanded="true"]), .sheet-open .bar-pill {
    background: none !important; box-shadow: none !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    color: inherit;
  }
  .bar-btn { width: 1.7rem; }
  .bar-btn svg { width: 1.15rem; height: 1.15rem; }
  .bar-pill { padding: 0 .45rem; }
  .bar-btn[aria-expanded="true"] { background: none !important; color: var(--saffron); }
}
