/* ==========================================================================
   victorbolu.com  ·  site.css
   Design: "A quiet house"
   Warm plaster walls, photos dissolve into the wall they were shot against,
   one idea per room, evening (night navy) for listening, lamplight accents.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License, see assets/fonts) */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader_latin_opsz-wght_normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0304, U+0308, U+0323, 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_opsz-wght_normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader_latin_opsz-wght_italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0304, U+0308, U+0323, 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: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader_latin-ext_opsz-wght_italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk_latin_wght_normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0304, U+0308, U+0323, 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: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk_latin-ext_wght_normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens */
:root {
  /* Walls and rooms */
  --linen: #F4EEE8;        /* page */
  --plaster: #EAE1D8;      /* quiet alternate room */
  --clay: #BDA08B;         /* studio wall inside the arches (sampled from the graded portrait) */
  --night: #151B29;        /* evening rooms: music, footer, player */
  --night-raised: #1D2437;

  /* Ink */
  --ink: #1D2130;
  --ink-soft: #5B5652;
  --on-night: #EFE8E0;
  --on-night-soft: #A9A7AE;

  /* Accent: burgundy by day, lamplight by night */
  --wine: #6B2631;
  --wine-deep: #531C25;
  --lamp: #E4C3A8;

  --line: rgba(29, 33, 48, 0.14);
  --line-strong: rgba(29, 33, 48, 0.28);
  --line-night: rgba(239, 232, 224, 0.14);

  /* Type */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --fs-label: 0.75rem;
  --fs-ui: 0.9375rem;
  --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-verse: clamp(1.2rem, 1.08rem + 0.55vw, 1.5rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --fs-h2: clamp(2.375rem, 1.6rem + 2.8vw, 4rem);
  --fs-h1: clamp(2.75rem, 1.55rem + 4.4vw, 5.75rem);

  /* Space */
  --room: clamp(80px, 9vw + 40px, 168px);   /* vertical padding of a section */
  --nav-h: 76px;
  --radius: 20px;          /* cards and scene photos */
  --arch-foot: 14px;       /* lower corners of an arch */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

/* ---------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Paper grain over everything, never intercepts input */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  background: url("../img/texture/victor-bolu_texture_paper-grain.png") repeat;
  background-size: 140px 140px;
  opacity: 0.55;
}
img, svg, video { display: block; max-width: 100%; }
svg { fill: currentColor; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 340; line-height: 1.08; text-wrap: balance; letter-spacing: -0.015em; }
em { font-style: italic; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
.band--night :focus-visible, .footer :focus-visible, .player :focus-visible, .yt-card :focus-visible { outline-color: var(--lamp); }
::selection { background: var(--wine); color: var(--linen); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--linen);
  font: 600 var(--fs-ui) / 1 var(--sans); text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout */
.wrap {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.inner {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(0px, 4vw - 16px, 40px);
}
.band { position: relative; padding-block: var(--room); }
.band--linen { background: var(--linen); }
.band--plaster { background: var(--plaster); }
.band--night { background: var(--night); color: var(--on-night); }

/* ---------- Type helpers */
.label {
  font: 600 var(--fs-label) / 1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
}
.band--night .label, .footer .label { color: var(--lamp); }
.h2 { font-size: var(--fs-h2); font-weight: 320; }
.h3 { font-size: var(--fs-h3); font-weight: 360; }
.lead { font-size: var(--fs-lead); line-height: 1.5; font-weight: 340; }
.prose { max-width: 38em; }
.prose > * + * { margin-top: 1.15em; }
.prose a { color: var(--wine); }
.sc { font-size: 0.78em; letter-spacing: 0.06em; text-transform: uppercase; }

/* Scripture. A verse is quoted text with its reference and translation. */
.verse { margin: 0; }
.verse blockquote { margin: 0; }
.verse p {
  font-style: italic;
  font-size: var(--fs-verse);
  line-height: 1.55;
  font-weight: 360;
}
.verse figcaption {
  margin-top: 0.85em;
  font: 600 var(--fs-label) / 1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}
.verse figcaption span { color: var(--ink-soft); font-weight: 500; margin-left: 0.5em; }
.prose .verse {
  margin-block: 1.9em;
  padding-left: clamp(18px, 3vw, 32px);
  border-left: 1px solid var(--wine);
}

/* ---------- Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 10px 22px 10px 10px;
  border-radius: 999px; border: 0;
  font: 600 var(--fs-ui) / 1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn__icon {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
}
.btn__icon svg { width: 14px; height: 14px; }
.btn__text { display: grid; text-align: left; }
.btn__text small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.78; }
.btn--wine { background: var(--wine); color: var(--linen); }
.btn--wine .btn__icon { background: var(--linen); color: var(--wine); }
.btn--wine:hover { background: var(--wine-deep); box-shadow: 0 10px 30px -14px rgba(83, 28, 37, 0.7); }
.btn--lamp { background: var(--lamp); color: var(--night); }
.btn--lamp .btn__icon { background: var(--night); color: var(--lamp); }
.btn--lamp:hover { background: #EDD3BE; }
.btn--plain { padding: 10px 20px; }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 8px 16px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font: 500 var(--fs-ui) / 1.2 var(--sans);
  text-decoration: none; color: inherit;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.chip svg { width: 18px; height: 18px; flex: none; }
.chip:hover { border-color: currentColor; }
.band--night .chip { border-color: var(--line-night); }
.band--night .chip:hover { border-color: var(--on-night-soft); background: var(--night-raised); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font: 600 var(--fs-ui) / 1.2 var(--sans);
  text-decoration: none;
  color: inherit;
}
.arrow-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size 0.3s var(--ease); }
.arrow-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link:hover span { background-size: 0% 1px; background-position: 100% 100%; }

.i { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* Old-site anchors (#home, #ministry, #contact) land on the matching room */
.anchor-alias { display: block; height: 0; }

/* ---------- Frames
   Arches for people, soft corners for places, pills for actions.
   An arch is a 4:5 frame whose top is a true semicircle (50% wide = 40% tall). */
.arch {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 50% 50% var(--arch-foot) var(--arch-foot) / 40% 40% var(--arch-foot) var(--arch-foot);
  overflow: hidden;
  background: var(--clay);
  isolation: isolate;
}
.arch picture, .arch img { display: block; width: 100%; height: 100%; }
.arch img { object-fit: cover; }
.frame { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--plaster); }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-note { margin-top: 14px; font: 500 0.8125rem / 1.5 var(--sans); color: var(--ink-soft); }

/* ---------- Navigation */
body::before {
  content: "";
  position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 101;
  background: var(--linen);
}
.nav {
  position: fixed; left: 0; right: 0;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  color: var(--ink);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}
.nav[data-state="scrolled"] {
  background: rgba(244, 238, 232, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav[data-state="scrolled"][data-tone="night"] {
  background: rgba(21, 27, 41, 0.86);
  color: var(--on-night);
  box-shadow: 0 1px 0 var(--line-night);
}
.nav__inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--nav-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: 40px; }
.brand__name { font: 400 1.3125rem / 1 var(--serif); letter-spacing: -0.005em; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.nav__links a {
  position: relative;
  font: 500 var(--fs-ui) / 1 var(--sans);
  text-decoration: none;
  padding-block: 10px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__social { display: flex; gap: 4px; margin-left: 8px; }
.icon-link {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: inherit; text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.icon-link:hover { background: rgba(29, 33, 48, 0.08); }
.nav[data-tone="night"] .icon-link:hover, .band--night .icon-link:hover, .footer .icon-link:hover { background: rgba(239, 232, 224, 0.1); }
.icon-link .i { width: 18px; height: 18px; }
.nav__menu {
  display: none;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px 0 14px;
  border: 0; background: none; cursor: pointer;
  font: 600 var(--fs-ui) / 1 var(--sans);
}
.nav__menu-lines { position: relative; width: 22px; height: 10px; }
.nav__menu-lines::before, .nav__menu-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__menu-lines::before { top: 0; }
.nav__menu-lines::after { top: 8.5px; }
.nav__menu[aria-expanded="true"] .nav__menu-lines::before { top: 4.25px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__menu-lines::after { top: 4.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--linen);
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 24px);
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
.menu__links { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.menu__links a {
  display: block; padding-block: 8px;
  font: 300 clamp(2.25rem, 9vw, 3rem) / 1.1 var(--serif);
  text-decoration: none;
}
.menu__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.menu__verse { margin-top: 40px; max-width: 30em; color: var(--ink-soft); }
.menu__verse p { font-size: 1.05rem; }

@media (max-width: 960px) {
  .nav__links, .nav__social { display: none; }
  .nav__menu { display: inline-flex; }
}

/* ---------- Hero */
.hero {
  background: var(--linen);
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(56px, 7vw, 120px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 6vw, 104px);
  padding-top: clamp(24px, 4vw, 64px);
}
.hero__text { max-width: 40rem; }
.hero__title {
  margin-top: 22px;
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero__title em { font-weight: 300; }
.hero .verse { margin-top: clamp(28px, 3vw, 40px); max-width: 30rem; }
.hero .verse p { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(32px, 4vw, 48px); }
.hero__photo { width: min(100%, 540px); justify-self: end; }

/* One orchestrated moment: morning light comes up in the arch */
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: daybreak 1.8s var(--ease) both; }
  .hero__text > * { animation: rise 1s var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: 0.08s; }
  .hero__text > :nth-child(3) { animation-delay: 0.2s; }
  .hero__text > :nth-child(4) { animation-delay: 0.32s; }
}
@keyframes daybreak { from { opacity: 0.35; filter: blur(10px) brightness(1.1); transform: scale(1.03); } to { opacity: 1; filter: none; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 12px; }
  .hero__photo { order: -1; justify-self: center; width: min(88%, 420px); }
}

/* ---------- Calling */
.calling__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
}
.calling__side { position: relative; }
.calling__sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
.calling__side .lead { margin-top: 28px; font-style: italic; color: var(--ink-soft); max-width: 16em; }
.calling__photo { margin: 40px 0 0; width: min(100%, 340px); }
.dropcap::first-letter {
  float: left;
  font-size: 4.1em; line-height: 0.82; font-weight: 300;
  padding: 0.07em 0.1em 0 0;
  color: var(--wine);
}
@supports (initial-letter: 3) {
  .dropcap::first-letter { float: none; initial-letter: 3; -webkit-initial-letter: 3; padding: 0 0.12em 0 0; font-size: 1em; line-height: 1; }
}
@media (max-width: 900px) {
  .calling__grid { grid-template-columns: 1fr; }
  .calling__sticky { position: static; }
  .calling__photo { width: min(72%, 300px); }
}

/* ---------- About */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.about__photo { position: sticky; top: calc(var(--nav-h) + 40px); width: min(100%, 460px); }
.about__text { max-width: 36em; }
.about .prose { margin-top: 40px; }
.pull {
  margin: 1.8em 0;
  font-size: var(--fs-lead);
  line-height: 1.45;
  font-weight: 340;
}
.pull em { color: var(--wine); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { position: static; width: min(80%, 380px); }
}

/* ---------- Music */
.music__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 88px);
}
.cover-play {
  position: relative; display: block;
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(239, 232, 224, 0.06);
}
.cover-play img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s var(--ease); }
.cover-play__btn {
  position: absolute; left: 20px; bottom: 20px;
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--lamp); color: var(--night);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--ease);
}
.cover-play__btn svg { width: 20px; height: 20px; margin-left: 2px; }
.cover-play:hover img { transform: scale(1.025); }
.cover-play:hover .cover-play__btn { transform: scale(1.06); }
.feature__title { margin-top: 16px; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem); font-weight: 300; line-height: 1; letter-spacing: -0.025em; }
.feature__title span { font-style: italic; color: var(--on-night-soft); }
.feature__meta { margin-top: 16px; font: 500 var(--fs-ui) / 1.4 var(--sans); color: var(--on-night-soft); }
.feature__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.feature__actions .btn { margin-right: 8px; }

.discography { margin-top: clamp(72px, 9vw, 128px); }
.discography__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-night); }
.tracks { margin: 0; padding: 0; list-style: none; }
.track {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line-night);
  border-radius: 4px;
  transition: background-color 0.25s var(--ease);
}
.track:hover { background: rgba(239, 232, 224, 0.03); }
.track__play { position: relative; display: block; width: 64px; height: 64px; border-radius: 4px; overflow: hidden; }
.track__play img { width: 100%; height: 100%; object-fit: cover; }
.track__play span {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(21, 27, 41, 0.5); color: var(--on-night);
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.track__play span svg { width: 18px; height: 18px; }
.track:hover .track__play span, .track__play:focus-visible span, .track.is-current .track__play span { opacity: 1; }
.track__title { display: block; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.25; font-weight: 380; }
.track__meta { display: block; margin-top: 3px; font: 500 0.875rem / 1.4 var(--sans); color: var(--on-night-soft); }
.track__meta em { font-family: var(--serif); font-size: 1.05em; letter-spacing: 0; }
.track__year { font: 500 0.875rem / 1 var(--sans); color: var(--on-night-soft); font-variant-numeric: tabular-nums; }
.track__links { display: flex; gap: 2px; }
.track.is-current .track__title { color: var(--lamp); }
.follow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 48px; }
.follow .label { margin-right: 10px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature__cover { max-width: 440px; }
}
@media (max-width: 620px) {
  .track { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; padding-right: 0; }
  .track__play { width: 56px; height: 56px; }
  .track__year { display: none; }
  .track__links .icon-link { width: 36px; height: 36px; }
}

/* ---------- Events */
.events__head { display: grid; gap: 18px; max-width: 44rem; }
.btt {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 72px);
}
.btt__text h3 { font-size: var(--fs-h3); font-weight: 340; }
.btt__text p { margin-top: 14px; color: var(--ink-soft); max-width: 30em; }
.btt__text .arrow-link { margin-top: 18px; }
.btt__photo img { aspect-ratio: 6 / 5; object-position: 50% 30%; }
.btt__media .photo-note { margin-top: 12px; }
/* Before The Throne 2024: a triptych. Two 4:5 portraits flank a wider scene;
   1fr / 1.5fr / 1fr with 4:5 sides makes the middle exactly 6:5, so all three share one height. */
.moments {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
  margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; list-style: none;
}
.moments .frame { background: var(--night); }
.moments .frame img { aspect-ratio: 4 / 5; }
.moments .moments__wide .frame img { aspect-ratio: 7 / 5; }
@media (max-width: 900px) {
  .btt { grid-template-columns: 1fr; }
  .btt__media { order: -1; }
}
@media (max-width: 640px) {
  .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moments__wide { grid-column: 1 / -1; order: -1; }
}
.events__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(56px, 7vw, 96px);
}
.events__grid .label { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.next { padding-top: 28px; }
.next__when { font: 600 var(--fs-label) / 1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine); }
.next__title { margin-top: 12px; font-size: var(--fs-h3); line-height: 1.2; font-weight: 340; }
.next__where { margin-top: 6px; font: 500 0.875rem / 1.4 var(--sans); color: var(--ink-soft); }
.next__verse { margin-top: 26px; padding-left: 18px; border-left: 2px solid var(--line); max-width: 30em; }
.next__verse p { font-size: 1.0625rem; color: var(--ink-soft); }
.next__verse .line { display: block; }
.next__note { margin-top: 24px; color: var(--ink-soft); max-width: 30em; }
.next__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 22px; }
.ledger { margin: 0; padding: 0; list-style: none; }
.ledger li {
  display: grid; grid-template-columns: 64px 84px minmax(0, 1fr) auto;
  grid-template-areas: "thumb time text link";
  align-items: center; gap: 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.ledger__thumb { grid-area: thumb; display: block; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--plaster); }
.ledger__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ledger time { grid-area: time; display: grid; line-height: 1; }
.ledger li > div { grid-area: text; }
.ledger li > .arrow-link { grid-area: link; }
.ledger time b { font: 300 2.75rem / 0.9 var(--serif); letter-spacing: -0.02em; }
.ledger time span { margin-top: 8px; font: 600 0.75rem / 1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.ledger__title { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.25; }
.ledger__where { margin-top: 4px; font: 500 0.875rem / 1.4 var(--sans); color: var(--ink-soft); }
@media (max-width: 900px) {
  .events__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ledger li {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas: "thumb time" "thumb text" ". link";
    align-items: start; gap: 6px 16px;
  }
  .ledger time { display: flex; align-items: baseline; gap: 10px; }
  .ledger time b { font-size: 1.75rem; }
  .ledger time span { margin-top: 0; }
}

/* ---------- Connect */
.connect__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.connect__intro .lead { margin-top: 24px; color: var(--ink-soft); max-width: 24em; }
.connect__photo { margin: 40px 0 0; width: min(100%, 320px); }
.channels { margin-top: 40px; }
.channels ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.channels a {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font: 500 var(--fs-ui) / 1.3 var(--sans); text-decoration: none;
}
.channels a small { color: var(--ink-soft); font-weight: 500; }
.channels a:hover { color: var(--wine); }
.channels a svg:last-child { width: 14px; height: 14px; opacity: 0.6; }

.form-card {
  background: var(--linen);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 56px);
  box-shadow: 0 30px 60px -40px rgba(60, 40, 30, 0.35);
}
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font: 600 0.8125rem / 1.3 var(--sans); letter-spacing: 0.02em; color: var(--ink); padding: 0; }
.field label small, .field legend small { font-weight: 500; color: var(--ink-soft); letter-spacing: 0; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #FBF8F4;
  color: var(--ink);
  font: 400 1rem / 1.4 var(--sans);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.6; }
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236B2631' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input::placeholder, .field textarea::placeholder { color: #8E8782; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(107, 38, 49, 0.16); background: #fff; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #9B2C2C; }
.field__hint { font: 400 0.8125rem / 1.45 var(--sans); color: var(--ink-soft); }
.field__error { font: 500 0.8125rem / 1.4 var(--sans); color: #9B2C2C; }
.fieldset {
  display: grid; gap: 22px;
  margin: 4px 0 0; padding: 24px;
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(234, 225, 216, 0.5);
}
.fieldset legend { padding: 0 8px; margin-left: -8px; font: 600 var(--fs-label) / 1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--wine); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 6px; }
.form__note { font: 400 0.8125rem / 1.5 var(--sans); color: var(--ink-soft); max-width: 26em; }
.form__status { font: 500 0.9375rem / 1.5 var(--sans); }
.form__status[data-kind="error"] { color: #9B2C2C; }
.form__status[data-kind="info"] { color: var(--ink-soft); }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: left; padding-block: 24px; }
.success h3 { font-size: var(--fs-h3); font-weight: 340; }
.success p { margin-top: 14px; color: var(--ink-soft); max-width: 30em; }
@media (max-width: 900px) {
  .connect__grid { grid-template-columns: 1fr; }
  .connect__photo { width: min(64%, 260px); }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .fieldset { padding: 18px; }
}

/* ---------- Footer */
.footer {
  background: var(--night); color: var(--on-night);
  padding-block: var(--room) calc(120px + env(safe-area-inset-bottom, 0px));
}
.benediction { margin: 0 auto; max-width: 52rem; text-align: center; }
.benediction .brand__mark { width: 56px; height: 66px; margin: 0 auto 36px; color: var(--lamp); }
.benediction p {
  font-style: italic; font-weight: 300;
  font-size: clamp(1.375rem, 1.15rem + 1.1vw, 2.125rem);
  line-height: 1.45;
}
.benediction p span.line { display: block; text-wrap: balance; }
.benediction figcaption { margin-top: 26px; font: 600 var(--fs-label) / 1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lamp); }
.benediction figcaption span { color: var(--on-night-soft); font-weight: 500; margin-left: 0.5em; }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 32px;
  margin-top: clamp(72px, 9vw, 128px); padding-top: 32px; border-top: 1px solid var(--line-night);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.footer__nav a { font: 500 var(--fs-ui) / 1 var(--sans); text-decoration: none; padding-block: 10px; display: inline-block; }
.footer__nav a:hover { color: var(--lamp); }
.footer__social { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.footer__social .icon-link { width: 44px; height: 44px; }
.footer__meta { display: grid; gap: 6px; margin-top: 28px; font: 400 0.8125rem / 1.6 var(--sans); color: var(--on-night-soft); }
.footer__meta a { color: var(--on-night); }
.footer__substack { margin-top: 14px; color: var(--on-night); }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__social { justify-content: flex-start; margin-left: -10px; }
}

/* ---------- Player (floating, evening glass) */
.player {
  position: fixed; z-index: 95;
  left: 50%; transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  width: min(760px, calc(100% - 2 * max(16px, env(safe-area-inset-left, 0px))));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px;
  padding: 8px 10px 8px 8px;
  border-radius: 999px;
  background: rgba(21, 27, 41, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  color: var(--on-night);
  box-shadow: 0 18px 50px -22px rgba(10, 12, 20, 0.7), 0 0 0 1px rgba(239, 232, 224, 0.07);
  font-family: var(--sans);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.player.is-tucked { transform: translate(-50%, calc(100% + 24px)); opacity: 0; pointer-events: none; }
.player__art { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.player.is-playing .player__art { animation: spin 14s linear infinite; }
@media (prefers-reduced-motion: reduce) { .player.is-playing .player__art { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.player__meta { min-width: 0; }
.player__title { font: 600 0.875rem / 1.25 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__artist { font: 400 0.75rem / 1.3 var(--sans); color: var(--on-night-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__controls { display: flex; align-items: center; gap: 2px; }
.player__btn {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: none; color: inherit; cursor: pointer; text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.player__btn:hover { background: rgba(239, 232, 224, 0.1); }
.player__btn svg { width: 16px; height: 16px; }
.player__play { width: 44px; height: 44px; background: var(--lamp); color: var(--night); }
.player__play:hover { background: #EDD3BE; }
.player__play svg { width: 15px; height: 15px; }
.player__play .ico-pause { display: none; }
.player.is-playing .player__play .ico-play { display: none; }
.player.is-playing .player__play .ico-pause { display: block; }
.player__progress { display: flex; align-items: center; gap: 10px; width: 210px; font: 500 0.6875rem / 1 var(--sans); color: var(--on-night-soft); font-variant-numeric: tabular-nums; }
.bar { position: relative; flex: 1; height: 20px; cursor: pointer; }
.bar::before, .bar__fill { content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.bar::before { right: 0; background: rgba(239, 232, 224, 0.16); }
.bar__fill { width: 0; background: var(--lamp); }
.player__queue {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 32px));
  padding: 14px;
  border-radius: 20px;
  background: var(--night);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(239, 232, 224, 0.08);
}
.player__queue .label { padding: 4px 8px 12px; color: var(--lamp); }
.player__queue ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.player__queue button {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  width: 100%; padding: 6px 8px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer;
}
.player__queue button:hover, .player__queue button[aria-current="true"] { background: var(--night-raised); }
.player__queue img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.player__queue b { display: block; font: 600 0.8125rem / 1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__queue small { font: 400 0.75rem / 1.3 var(--sans); color: var(--on-night-soft); }
.player__queue button[aria-current="true"] b { color: var(--lamp); }
@media (max-width: 760px) {
  .player { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; border-radius: 20px; padding: 7px; }
  .player__progress { display: none; }
  .player__prev { display: none; }
  .player__art { border-radius: 12px; }
  .player.is-playing .player__art { animation: none; }
}

/* ---------- YouTube card */
.yt-card {
  position: fixed; z-index: 96;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100vw - 32px));
  border-radius: 18px; overflow: hidden;
  background: var(--night); color: var(--on-night);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(239, 232, 224, 0.08);
  font-family: var(--sans);
  animation: card-in 0.45s var(--ease) both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.yt-card__head { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; }
.yt-card__title { flex: 1; min-width: 0; font: 600 0.8125rem / 1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-card__open { font: 500 0.75rem / 1 var(--sans); color: var(--on-night-soft); text-decoration: none; padding: 10px; border-radius: 8px; }
.yt-card__open:hover { color: var(--on-night); }
.yt-card__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.yt-card__frame iframe, .yt-card__frame > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; font: 500 0.875rem / 1.5 var(--sans); color: var(--on-night-soft); }
.yt-card__fallback a { color: var(--lamp); }
@media (max-width: 760px) {
  .yt-card { left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); width: auto; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--linen); }
.notfound .brand__mark { width: 56px; height: 66px; margin: 0 auto 32px; }
.notfound h1 { font-size: var(--fs-h2); font-weight: 300; }
.notfound p { margin-top: 16px; color: var(--ink-soft); }
.notfound .btn { margin-top: 32px; }
