/* Newsreader (SIL Open Font License, see fonts/OFL-Newsreader.txt), served from this server */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-latin.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: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-latin-ext.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; }
/* ALEXNDR site — same system as the app: warm canvas, one copper accent, glass over a blurred cover glow.
   Dark is the night (Personal Dilemma), light is the dawn (Vrijheid). */
:root {
  --bg: #0f0e0d;
  --ink: #f4efe6;
  --ink-2: rgba(244, 239, 230, 0.74);
  --ink-3: rgba(244, 239, 230, 0.54);
  --accent: #e3a25b;
  --accent-hi: #efb470;
  --accent-ink: #1a1209;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(30, 27, 24, 0.5);
  --glass-strong: rgba(28, 25, 22, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.14);
  --hover: rgba(255, 255, 255, 0.07);
  --shadow: rgba(0, 0, 0, 0.75);
  --glow: url("covers/personal-dilemma.jpg");
  --serif: "Newsreader", ui-serif, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: min(1200px, 100% - 2 * clamp(1rem, 4vw, 2.5rem));
  --radius: 14px;
}
html[data-theme="light"] {
  --bg: #f3ede3;
  --ink: #1d1813;
  --ink-2: rgba(29, 24, 19, 0.74);
  --ink-3: rgba(29, 24, 19, 0.56);
  --accent: #a85d1f;
  --accent-hi: #96511a;
  --accent-ink: #fffaf2;
  --line: rgba(29, 24, 19, 0.1);
  --glass: rgba(255, 252, 246, 0.55);
  --glass-strong: rgba(252, 249, 243, 0.82);
  --glass-edge: rgba(255, 255, 255, 0.75);
  --hover: rgba(29, 24, 19, 0.06);
  --shadow: rgba(60, 40, 20, 0.45);
  --glow: url("covers/vrijheid.jpg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-optical-sizing: auto; background: var(--bg); color: var(--ink);
  font: 100%/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
body::before {
  content: ""; position: fixed; inset: -25%; z-index: -2;
  background: var(--glow) center / cover; filter: blur(100px) saturate(150%); opacity: .7;
  transition: opacity 600ms ease;
}
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 70% 10%, color-mix(in srgb, var(--bg) 10%, transparent), color-mix(in srgb, var(--bg) 78%, transparent) 70%); }
html[data-theme="light"] body::before { opacity: .5; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { width: var(--wrap); margin: 0 auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .75rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 50px -30px var(--shadow);
}
html[data-theme="light"] .glass { box-shadow: inset 0 1px 0 #fff, 0 20px 50px -30px var(--shadow); }

/* ---------- Nav ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 30; padding: 12px clamp(.5rem, 2vw, 1rem) 0; }
.nav {
  width: min(1200px, 100%); margin: 0 auto; border-radius: 999px;
  display: flex; align-items: center; gap: 1rem; padding: 6px 6px 6px 1.25rem;
  background: var(--glass-strong);
}
.wordmark { font-weight: 750; letter-spacing: .3em; text-decoration: none; font-size: .9rem; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links { display: flex; gap: .25rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; padding: 0 .9rem; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; transition: color 150ms ease, background 150ms ease; }
.nav-links a:hover { color: var(--ink); background: var(--hover); }
.nav-end { display: flex; align-items: center; gap: .35rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; transition: background 150ms ease, color 150ms ease, transform 120ms ease; }
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { display: none; }
html[data-theme-pref="auto"] .i-auto, html[data-theme-pref="light"] .i-light, html[data-theme-pref="dark"] .i-dark { display: block; }
@media (max-width: 720px) { .nav-links { display: none; } .nav-end { margin-left: auto; } .nav { padding-left: 1rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform 140ms ease, background 160ms ease, box-shadow 200ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); transition-duration: 60ms; }
.btn svg { width: 18px; height: 18px; }
.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: .92rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -12px var(--accent); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-glass { background: var(--glass); color: var(--ink); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.btn-glass:hover { background: var(--glass-strong); }

/* ---------- Hero ---------- */
.hero { min-height: calc(100svh - 70px); display: grid; align-items: center; padding: clamp(2rem, 6vh, 4rem) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1; letter-spacing: -0.022em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 44ch; margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-art { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: end; }
.hero-art img { position: absolute; width: 78%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.cover-back { right: 0; top: 0; box-shadow: 0 30px 70px -30px var(--shadow); opacity: .92; }
.cover-front { left: 0; bottom: 0; box-shadow: 0 40px 90px -30px var(--shadow), 0 0 0 1px var(--glass-edge); }
[data-enter] { animation: enter 900ms cubic-bezier(.2,.8,.2,1) both; }
.hero-art[data-enter] { animation-delay: 120ms; }
html[data-theme="light"] .cover-back { z-index: 2; opacity: 1; box-shadow: 0 40px 90px -30px var(--shadow), 0 0 0 1px rgba(29,24,19,.08); }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; justify-self: center; width: min(78vw, 380px); }
  .hero { min-height: auto; padding-top: 1.5rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Records ---------- */
.records { padding: clamp(3rem, 8vw, 6rem) 0; }
.sec-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.record {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1rem, 2.5vw, 1.75rem); border-radius: 22px; align-items: center;
}
.record + .record { margin-top: 1rem; }
.record-cover { position: relative; display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px -30px var(--shadow); }
.record-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.record-cover:hover img { transform: scale(1.025); }
.record h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; line-height: 1; margin: .35rem 0 .9rem; }
.record .meta { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.record .desc { color: var(--ink-2); max-width: 50ch; font-size: 1.05rem; }
.tl { list-style: none; counter-reset: t; margin: 1.5rem 0; padding: 0; columns: 2 220px; column-gap: 2rem; }
.tl li { counter-increment: t; break-inside: avoid; display: flex; gap: .75rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-weight: 550; }
.tl li::before { content: counter(t); color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 1.4rem; font-weight: 500; }
.record .btn { margin-top: .25rem; }
@media (max-width: 860px) { .record { grid-template-columns: 1fr; } .record .btn { width: 100%; } }

/* ---------- Statement (type moment) ---------- */
.statement { padding: clamp(4rem, 14vw, 10rem) 0; }
.big-line { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 6vw, 5rem); line-height: 1.06; letter-spacing: -0.02em; max-width: 18ch; }
.big-line span:not(.hard) { color: var(--ink-3); }
[data-reveal] { opacity: 1; }

/* ---------- About ---------- */
.about { padding: clamp(3rem, 8vw, 6rem) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.bio p { color: var(--ink-2); font-size: 1.08rem; max-width: 56ch; margin-bottom: 1rem; }
.bio p.lead { color: var(--ink); font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.step { display: flex; gap: 1.1rem; padding: 1.25rem 1.4rem; border-radius: 18px; transition: transform 200ms ease; }
.step:hover { transform: translateY(-2px); }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.step h3 { font-size: 1.1rem; font-weight: 750; letter-spacing: -0.01em; }
.step p { color: var(--ink-2); margin-top: .2rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Support ---------- */
.support { padding: clamp(2rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.support-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.support-grid .install { padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.box { border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; align-items: flex-start; }
.box h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.1; }
.box > p { color: var(--ink-2); margin: .75rem 0 1.5rem; max-width: 44ch; }
.box .btn { margin-top: auto; }
.coffee { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.coffee h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); flex-basis: 100%; }
.coffee > p { margin: 0; flex: 1 1 260px; }
.coffee .btn { margin-top: 0; }
.coffee .fine { flex-basis: 100%; }
.install-steps { margin: 0 0 1.5rem; padding-left: 1.1rem; color: var(--ink-2); display: grid; gap: .4rem; }
.install-steps b { color: var(--ink); }
.fine { font-size: .85rem; color: var(--ink-3); margin-top: .9rem; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } .box .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; }
.footer-links { display: flex; gap: .25rem; flex-wrap: wrap; }
.footer-links a { color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 .6rem; border-radius: 8px; }
.footer-links a:hover { color: var(--ink); background: var(--hover); }
.footer .fine { margin: 0 0 0 auto; }
@media (max-width: 720px) { .footer .fine { margin: 0; flex-basis: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .nav, .btn-glass { background: var(--bg) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
@media (prefers-contrast: more) { :root { --ink-2: var(--ink); --ink-3: var(--ink); } }

/* ALEXNDR Fan */
.fan .eyebrow { margin: 0 0 .4rem; }
.fan-perks { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; color: var(--ink-2); }
.fan-perks li { padding-left: 1.5rem; position: relative; }
.fan-perks li::before { content: ""; position: absolute; left: .15rem; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }
.fan-perks b { color: var(--ink); }
.fan-price { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 1rem; }
.fan .fine { margin-top: .75rem; }
.fan .fine a { color: inherit; }
