/* ============================================
   Self-hosted fonts (SIL Open Font License)
   ============================================ */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/jost-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;
}

/* ============================================
   The Companion — immersive scroll experience
   ============================================ */

:root {
  --paper: #efeae2;
  --paper-2: #e8e2d6;
  --ink: #14140f;
  --ink-soft: #52514a;
  --line: rgba(20, 20, 15, 0.14);
  --dark: #0a0c0d;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(22px, 6vw, 72px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
  height: 100%;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

::selection {
  background: #c9a978;
  color: #0a0c0d;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.skip {
  position: fixed;
  left: 24px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 20px; }

.wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.br-desktop { display: inline; }

section[id],
main[id] { scroll-margin-top: 80px; }

/* ---------- Loader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #08090a;
  color: var(--paper);
  padding: 30px var(--pad) 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 22px;
  transition: transform 1.05s var(--ease);
}

.loader--done { transform: translateY(-101%); }

.loader__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.loader__label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.55);
}

.loader__count {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 8vw, 84px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.loader__bar {
  height: 1px;
  width: 100%;
  background: rgba(239, 234, 226, 0.18);
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left center;
}

.loader__foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.55);
}

/* ---------- Atmosphere ---------- */

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #06090a;
}

.aura {
  position: absolute;
  inset: -8%;
  opacity: 0;
  will-change: opacity;
}

.aura::before,
.aura::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.aura::before {
  width: 72vw;
  height: 72vw;
  left: -12%;
  top: -14%;
  animation: drift-a 34s ease-in-out infinite alternate;
}

.aura::after {
  width: 64vw;
  height: 64vw;
  right: -16%;
  bottom: -22%;
  animation: drift-b 42s ease-in-out infinite alternate;
}

.aura[data-scene="0"] {
  opacity: 1;
  background:
    radial-gradient(90% 70% at 68% 12%, #1c3a39 0%, rgba(28, 58, 57, 0) 62%),
    radial-gradient(80% 60% at 18% 88%, #14262d 0%, rgba(20, 38, 45, 0) 65%),
    linear-gradient(168deg, #0c1314 0%, #070a0b 62%, #050707 100%);
}
.aura[data-scene="0"]::before {
  background: radial-gradient(circle, rgba(190, 140, 82, 0.32) 0%, rgba(190, 140, 82, 0) 68%);
}
.aura[data-scene="0"]::after {
  background: radial-gradient(circle, rgba(47, 106, 104, 0.4) 0%, rgba(47, 106, 104, 0) 68%);
}

.aura[data-scene="1"] {
  background:
    radial-gradient(85% 65% at 24% 16%, #3c241a 0%, rgba(60, 36, 26, 0) 62%),
    radial-gradient(80% 70% at 82% 86%, #2a1913 0%, rgba(42, 25, 19, 0) 68%),
    linear-gradient(162deg, #150f0c 0%, #0b0807 66%, #060505 100%);
}
.aura[data-scene="1"]::before {
  background: radial-gradient(circle, rgba(206, 138, 76, 0.34) 0%, rgba(206, 138, 76, 0) 70%);
}
.aura[data-scene="1"]::after {
  background: radial-gradient(circle, rgba(130, 60, 38, 0.34) 0%, rgba(130, 60, 38, 0) 70%);
}

.aura[data-scene="2"] {
  background:
    radial-gradient(90% 70% at 76% 20%, #1c3a2f 0%, rgba(28, 58, 47, 0) 64%),
    radial-gradient(80% 70% at 14% 82%, #0e2422 0%, rgba(14, 36, 34, 0) 68%),
    linear-gradient(166deg, #0a1312 0%, #060b0b 66%, #040606 100%);
}
.aura[data-scene="2"]::before {
  background: radial-gradient(circle, rgba(70, 128, 96, 0.3) 0%, rgba(70, 128, 96, 0) 68%);
}
.aura[data-scene="2"]::after {
  background: radial-gradient(circle, rgba(38, 78, 90, 0.4) 0%, rgba(38, 78, 90, 0) 70%);
}

.aura[data-scene="3"] {
  background:
    radial-gradient(88% 68% at 30% 14%, #2f2440 0%, rgba(47, 36, 64, 0) 64%),
    radial-gradient(80% 66% at 84% 84%, #241a30 0%, rgba(36, 26, 48, 0) 68%),
    linear-gradient(164deg, #0e0b12 0%, #08060b 66%, #050407 100%);
}
.aura[data-scene="3"]::before {
  background: radial-gradient(circle, rgba(160, 120, 96, 0.28) 0%, rgba(160, 120, 96, 0) 68%);
}
.aura[data-scene="3"]::after {
  background: radial-gradient(circle, rgba(92, 70, 128, 0.36) 0%, rgba(92, 70, 128, 0) 70%);
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, 3vh, 0) scale(1.12); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(-3vw, -4vh, 0) scale(0.95); }
}

.stage__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(6, 9, 10, 0) 40%, rgba(6, 9, 10, 0.55) 100%),
    linear-gradient(to bottom, rgba(6, 9, 10, 0.55) 0%, rgba(6, 9, 10, 0) 22%, rgba(6, 9, 10, 0) 74%, rgba(6, 9, 10, 0.6) 100%);
}

.dust {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 40;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grain-shift 8s steps(6) infinite;
}

@keyframes grain-shift {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-2%, 3%, 0); }
  40% { transform: translate3d(3%, -2%, 0); }
  60% { transform: translate3d(-3%, -3%, 0); }
  80% { transform: translate3d(2%, 2%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(239, 234, 226, 0.65);
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s, border-color 0.35s, opacity 0.3s;
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover {
  width: 54px;
  height: 54px;
  background: rgba(239, 234, 226, 0.12);
  border-color: transparent;
}
.cursor--ink {
  mix-blend-mode: normal;
  border-color: rgba(20, 20, 15, 0.45);
}
.cursor--ink.is-hover { background: rgba(20, 20, 15, 0.1); }

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ---------- Masthead ---------- */

.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px var(--pad);
  color: var(--paper);
  transition: color 0.6s ease;
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 190%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 10, 11, 0.72), rgba(8, 10, 11, 0));
  opacity: 1;
  transition: opacity 0.6s ease;
}

.masthead--ink { color: var(--ink); }
.masthead--ink::before {
  background: linear-gradient(to bottom, rgba(239, 234, 226, 0.9), rgba(239, 234, 226, 0));
}

body.menu-open .masthead { color: var(--paper); }
body.menu-open .masthead::before {
  background: linear-gradient(to bottom, rgba(8, 10, 11, 0.95), rgba(8, 10, 11, 0));
}
body.menu-open .masthead .btn--pill { display: none; }

.brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 8px;
}

.nav a,
.sound,
.btn--pill {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav a {
  position: relative;
  padding: 6px 0;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left center; }

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sound {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.sound:hover { opacity: 1; }
.sound svg { width: 21px; height: 14px; }
.sound svg path {
  opacity: 0.45;
  transition: opacity 0.4s;
}
.sound.is-on svg path { opacity: 1; animation: eq 1.6s ease-in-out infinite; }
.sound.is-on svg path:nth-child(2) { animation-delay: 0.15s; }
.sound.is-on svg path:nth-child(3) { animation-delay: 0.3s; }
.sound.is-on svg path:nth-child(4) { animation-delay: 0.45s; }
.sound.is-on svg path:nth-child(5) { animation-delay: 0.6s; }

@keyframes eq {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s, transform 0.4s var(--ease);
}

.btn--pill {
  padding: 10px 20px 9px;
  border-color: rgba(239, 234, 226, 0.4);
  color: inherit;
}
.btn--pill:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.masthead--ink .btn--pill { border-color: rgba(20, 20, 15, 0.35); }
.masthead--ink .btn--pill:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.burger {
  display: none;
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1px;
  background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.burger span:first-child { top: 12px; }
.burger span:last-child { top: 18px; }
.burger[aria-expanded="true"] span:first-child { top: 15px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 15px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 118px var(--pad) 42px;
  background: #080a0b;
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3%);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), visibility 0.5s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(239, 234, 226, 0.12);
  font-family: var(--serif);
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.menu__nav em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(239, 234, 226, 0.4);
}
.menu__foot { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; }
.menu__foot p { font-size: 11px; line-height: 1.9; color: rgba(239, 234, 226, 0.55); }
.menu__socials { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.menu__socials a {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.6);
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.55);
}
.eyebrow--ink { color: rgba(20, 20, 15, 0.62); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.1rem);
  line-height: 0.99;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.display--light { color: var(--paper); }
.display--sm { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.display em { font-style: italic; }

.lede {
  font-size: clamp(15px, 1.25vw, 16.5px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 44ch;
}

/* ---------- Intro ---------- */

.intro {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 17vh var(--pad) 14vh;
}

.intro__eyebrow {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease) 0.5s, transform 1s var(--ease) 0.5s;
}
body.is-ready .intro__eyebrow { opacity: 1; transform: none; }

.intro__title {
  margin-top: 30px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 11.5vw, 9.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #f4efe6;
}

.intro__line {
  display: block;
  overflow: hidden;
  padding: 0.02em 0.06em 0.1em;
}
.intro__line > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1.5s var(--ease);
}
.intro__line:nth-child(1) > span { transition-delay: 0.15s; }
.intro__line:nth-child(2) > span { transition-delay: 0.3s; }
body.is-ready .intro__line > span { transform: none; }

.intro__line--italic {
  font-style: italic;
  color: #ddc9a7;
  padding-bottom: 0.08em;
}

.intro__lede {
  margin-top: clamp(26px, 4vh, 40px);
  font-size: clamp(13.5px, 1.5vw, 16px);
  line-height: 1.8;
  color: rgba(239, 234, 226, 0.62);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s var(--ease) 0.85s, transform 1.2s var(--ease) 0.85s;
}
body.is-ready .intro__lede { opacity: 1; transform: none; }

.scroll-cue {
  margin-top: clamp(38px, 6vh, 62px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.62);
  opacity: 0;
  transition: opacity 1.2s var(--ease) 1.1s;
}
body.is-ready .scroll-cue { opacity: 1; }
.scroll-cue i {
  position: relative;
  width: 1px;
  height: 58px;
  background: rgba(239, 234, 226, 0.2);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 18px;
  background: rgba(239, 234, 226, 0.9);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-20px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

.intro__meta {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.34);
  opacity: 0;
  transition: opacity 1.2s var(--ease) 1.3s;
}
body.is-ready .intro__meta { opacity: 1; }

/* ---------- Scenes ---------- */

.scenes { position: relative; z-index: 2; }

.scene {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 18vh var(--pad);
}

.scene__inner {
  text-align: center;
  max-width: 820px;
}

.scene__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(26px, 4vh, 42px);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.scene__eyebrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border: 1px solid rgba(239, 234, 226, 0.28);
  border-radius: 50%;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.scene.is-active .scene__eyebrow { opacity: 1; transform: none; }

.scene__poem {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.85rem, 4.4vw, 4rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #f4efe6;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.scene__poem .line {
  display: block;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  will-change: opacity, transform;
}

.scene__source {
  margin-top: clamp(28px, 4vh, 40px);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.55);
  opacity: 0;
}

/* ---------- Rail ---------- */

.rail {
  position: fixed;
  right: clamp(18px, 3vw, 44px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(239, 234, 226, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  pointer-events: none;
}
.rail.is-visible { opacity: 1; visibility: visible; }

.rail__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.rail__count {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.rail__total { font-size: 8px; letter-spacing: 0.18em; color: rgba(239, 234, 226, 0.4); }

.rail__track {
  position: relative;
  width: 1px;
  height: clamp(110px, 22vh, 190px);
  background: rgba(239, 234, 226, 0.16);
}
.rail__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0;
  background: rgba(239, 234, 226, 0.85);
}
.rail__label {
  writing-mode: vertical-rl;
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.5);
}

/* ---------- Beyond ---------- */

.beyond,
.collection,
.interlude,
.faq {
  position: relative;
  z-index: 3;
  background: var(--paper);
  color: var(--ink);
}

.beyond {
  padding: clamp(88px, 15vh, 160px) 0 clamp(60px, 8vh, 90px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(70px, 10vh, 110px);
}
.section-head .eyebrow { margin-bottom: 26px; }
.section-head__right { padding-bottom: 8px; }
.section-head__right .lede { max-width: 42ch; }

.fine {
  margin-top: 28px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 20, 15, 0.62);
}

/* Benefits */

.benefits { border-top: 1px solid var(--line); }

.benefit {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(140px, 0.9fr) minmax(0, 1.35fr) 34px;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  padding: 32px 22px;
  margin-inline: -22px;
  border-bottom: 1px solid var(--line);
  border-radius: 2px;
  transition: background 0.55s var(--ease), color 0.55s var(--ease), border-color 0.55s;
}
.benefit:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.benefit__num {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: currentColor;
  opacity: 0.62;
}
.benefit__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.benefit__text {
  font-size: 14px;
  line-height: 1.7;
  color: currentColor;
  opacity: 0.62;
  max-width: 52ch;
  transition: opacity 0.55s;
}
.benefit:hover .benefit__text { opacity: 0.78; }
.benefit__arrow {
  display: inline-flex;
  justify-content: flex-end;
  opacity: 0.35;
  transform: translate(-6px, 6px);
  transition: opacity 0.5s, transform 0.5s var(--ease);
}
.benefit__arrow svg { width: 18px; height: 18px; }
.benefit:hover .benefit__arrow { opacity: 1; transform: none; }

/* ---------- Collection ---------- */

.collection {
  background: var(--paper-2);
  padding: clamp(60px, 9vh, 100px) 0 clamp(80px, 11vh, 130px);
}

.collection__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(34px, 5vh, 52px);
}
.collection__count {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(20, 20, 15, 0.62);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
}

.card { display: block; color: var(--ink); }

.card__art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0;
  isolation: isolate;
  background: #101314;
}
.card__art::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: 2;
  transition: inset 0.8s var(--ease), border-color 0.6s;
}
.card:hover .card__art::after { inset: 8px; border-color: rgba(255, 255, 255, 0.3); }

.card__art--one {
  background:
    radial-gradient(80% 70% at 72% 18%, #77552f 0%, rgba(119, 85, 47, 0) 60%),
    radial-gradient(90% 80% at 20% 90%, #2c3b38 0%, rgba(44, 59, 56, 0) 65%),
    linear-gradient(160deg, #23282a 0%, #0d1011 100%);
}
.card__art--two {
  background:
    radial-gradient(80% 70% at 24% 22%, #2f5a58 0%, rgba(47, 90, 88, 0) 62%),
    radial-gradient(90% 80% at 82% 88%, #3a2b22 0%, rgba(58, 43, 34, 0) 66%),
    linear-gradient(160deg, #16201f 0%, #090c0d 100%);
}
.card__art--three {
  background:
    radial-gradient(80% 70% at 70% 72%, #5a4a32 0%, rgba(90, 74, 50, 0) 62%),
    radial-gradient(90% 80% at 18% 16%, #33413c 0%, rgba(51, 65, 60, 0) 66%),
    linear-gradient(160deg, #1b211f 0%, #0c0f10 100%);
}

.card__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(60% 50% at 50% 50%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 70%);
  transform: scale(1);
  transition: transform 1.4s var(--ease);
  box-shadow: inset 0 -80px 120px rgba(0, 0, 0, 0.45);
}
.card:hover .card__wash { transform: scale(1.08); }

.card__glyph {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  color: rgba(244, 239, 230, 0.75);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.9s var(--ease), color 0.5s;
}
.card:hover .card__glyph { transform: translate(-50%, -50%) scale(1.12); color: rgba(244, 239, 230, 0.95); }

.card__cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-top: 16px;
}
.card__cap h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 1.7vw, 23px);
  letter-spacing: -0.01em;
}
.card__cap span {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 20, 15, 0.62);
  white-space: nowrap;
}
.card__cap i { font-style: normal; display: inline-block; transition: transform 0.45s var(--ease); }
.card:hover .card__cap i { transform: translate(3px, -3px); }

/* ---------- Interlude ---------- */

.interlude {
  padding: clamp(90px, 16vh, 170px) 0;
  text-align: center;
}

.interlude__quote {
  max-width: 940px;
  margin-inline: auto;
  position: relative;
}
.interlude__quote::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: rgba(20, 20, 15, 0.3);
  margin: 0 auto clamp(36px, 5vh, 52px);
}
.interlude__quote p {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.65rem, 3.6vw, 3.1rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
}
.interlude__quote cite {
  display: block;
  margin-top: clamp(28px, 4vh, 44px);
  font-family: var(--sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(20, 20, 15, 0.62);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: #0a0d0e;
  color: var(--paper);
  padding: clamp(100px, 17vh, 180px) 0;
  text-align: center;
  isolation: isolate;
}

.cta__glow {
  position: absolute;
  left: 50%;
  top: -28%;
  width: min(120vw, 1200px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(196, 152, 96, 0.26) 0%, rgba(196, 152, 96, 0) 62%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.cta__inner .eyebrow { margin-bottom: 30px; }
.cta__lede {
  margin: clamp(28px, 4vh, 40px) auto 0;
  max-width: 54ch;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.8;
  color: rgba(239, 234, 226, 0.62);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(38px, 5vh, 50px);
}
.btn--solid {
  background: var(--paper);
  color: var(--ink);
  padding: 18px 30px 17px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.btn--solid svg { width: 20px; height: 12px; transition: transform 0.45s var(--ease); }
.btn--solid:hover { background: #fff; transform: translateY(-2px); }
.btn--solid:hover svg { transform: translateX(4px); }

.btn--line {
  border-color: rgba(239, 234, 226, 0.32);
  color: var(--paper);
  padding: 18px 30px 17px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.btn--line:hover {
  background: rgba(239, 234, 226, 0.08);
  border-color: rgba(239, 234, 226, 0.6);
}

.cta__fine {
  margin-top: 34px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(239, 234, 226, 0.4);
}
.cta__fine a { text-decoration: underline; text-underline-offset: 4px; color: rgba(239, 234, 226, 0.7); }

/* ---------- FAQ ---------- */

.faq { padding: clamp(90px, 14vh, 150px) 0 clamp(100px, 16vh, 170px); }

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.faq__aside { position: sticky; top: 120px; }
.faq__aside .eyebrow { margin-bottom: 26px; }
.faq__note {
  margin-top: clamp(36px, 6vh, 54px);
  font-size: 12px;
  line-height: 1.9;
  color: rgba(20, 20, 15, 0.62);
}
.faq__note a { text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }

.faq__list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item__q {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 16px;
  padding: clamp(22px, 3vh, 30px) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: opacity 0.3s;
}
.faq-item__q:hover { opacity: 0.65; }

.faq-item__idx {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: rgba(20, 20, 15, 0.62);
  padding-top: 0.35em;
}

.faq-item__icon {
  position: relative;
  width: 13px;
  height: 13px;
  justify-self: end;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__icon::before { transform: rotate(45deg); }
.faq-item.is-open .faq-item__icon::after { transform: rotate(-45deg); }

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }

.faq-item__inner {
  overflow: hidden;
  min-height: 0;
}
.faq-item__inner p {
  max-width: 62ch;
  padding: 0 40px 30px 58px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s var(--ease) 0.1s;
}
.faq-item.is-open .faq-item__inner p { opacity: 1; transform: none; }
.faq-item__inner a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  z-index: 3;
  background: #080a0b;
  color: var(--paper);
  padding: clamp(64px, 9vh, 96px) 0 30px;
  border-top: 1px solid rgba(239, 234, 226, 0.08);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(32px, 5vw, 70px);
}

.footer__wordmark {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1;
}
.footer__tag {
  margin-top: 20px;
  font-size: 11.5px;
  line-height: 1.9;
  color: rgba(239, 234, 226, 0.55);
}

.footer__label {
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.55);
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: rgba(239, 234, 226, 0.68);
  transition: color 0.3s, transform 0.3s var(--ease);
}
.footer__col a:hover { color: var(--paper); transform: translateX(3px); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(56px, 8vh, 84px);
  padding-top: 24px;
  border-top: 1px solid rgba(239, 234, 226, 0.1);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(239, 234, 226, 0.55);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: var(--paper); }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .masthead__actions { margin-left: auto; }
}

@media (max-width: 900px) {
  .rail { display: none; }

  .section-head { grid-template-columns: 1fr; gap: 30px; }
  .section-head__right { padding-bottom: 0; }
  .section-head__right .lede { max-width: 52ch; }

  .benefit {
    grid-template-columns: 44px minmax(0, 1fr) 26px;
    grid-template-rows: auto auto;
    row-gap: 10px;
    padding: 26px 16px;
    margin-inline: -16px;
  }
  .benefit__num { grid-row: 1; }
  .benefit__title { grid-row: 1; }
  .benefit__text { grid-column: 2 / 3; grid-row: 2; }
  .benefit__arrow { grid-column: 3; grid-row: 1; }

  .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .faq__aside { position: static; }

  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; margin-bottom: 10px; }
}

@media (max-width: 720px) {
  :root { --pad: 22px; }

  .br-desktop { display: none; }

  .masthead { padding: 18px var(--pad); }
  .sound__label { display: none; }
  .btn--pill { display: none; }
  .masthead__actions { gap: 14px; }

  .intro { padding: 16vh 20px 14vh; }
  .intro__title { font-size: clamp(3rem, 16vw, 5rem); }
  .intro__meta { gap: 10px; font-size: 7.5px; letter-spacing: 0.18em; }
  .intro__meta span:nth-child(2) { display: none; }

  .scene { padding: 16vh 20px; }
  .scene__poem { font-size: clamp(1.7rem, 7.6vw, 2.9rem); line-height: 1.26; }

  .cards { grid-template-columns: 1fr; gap: 34px; }
  .card__art { aspect-ratio: 4 / 3.4; }

  .collection__head { flex-direction: column; align-items: flex-start; gap: 10px; }

  .cta__actions { flex-direction: column; align-items: stretch; padding-inline: 12px; }
  .btn--solid, .btn--line { width: 100%; }

  .faq-item__q { grid-template-columns: 30px minmax(0, 1fr) 18px; gap: 10px; }
  .faq-item__inner p { padding: 0 0 26px 40px; }

  .menu__foot { flex-direction: column; align-items: flex-start; gap: 22px; }
  .menu__socials { flex-direction: row; gap: 18px; text-align: left; }

  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__legal { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 400px) {
  .intro__meta span:last-child { display: none; }
  .sound { display: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .intro__eyebrow,
  .intro__lede,
  .scroll-cue,
  .intro__meta { opacity: 1; transform: none; }
  .intro__line > span { transform: none; }
}

/* ============================================
   WENING additions — WebGL bg, pages, components
   ============================================ */

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #06090a;
}
.bg-canvas--subtle { opacity: 0.7; }
.stage__veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.stage__veil--soft {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(6,9,10,0.1) 30%, rgba(6,9,10,0.6) 100%),
    linear-gradient(to bottom, rgba(6,9,10,0.5) 0%, rgba(6,9,10,0.15) 30%, rgba(6,9,10,0.2) 70%, rgba(6,9,10,0.65) 100%);
}
.no-webgl .bg-canvas { display: none; }
.no-webgl body { background: #0a0f10; }

.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; }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }

.page-main { position: relative; z-index: 2; min-height: 100svh; }
.page-hero { padding: 22vh var(--pad) 10vh; text-align: center; }
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero .lede { margin: 24px auto 0; }
.lede--light { color: rgba(239,234,226,0.65); max-width: 50ch; }
.page-hero--account { padding-bottom: 8vh; }

/* Archive */
.archive-section { padding: clamp(60px, 10vh, 110px) 0 clamp(90px, 14vh, 150px); }
.archive-toolbar { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; margin-bottom: clamp(34px, 5vh, 54px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none; border: 1px solid var(--line); background: transparent; color: var(--ink);
  padding: 10px 16px 9px; border-radius: 999px; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
  transition: background .35s, color .35s, border-color .35s;
}
.chip:hover, .chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.archive-tools { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.search input {
  width: min(320px, 56vw); padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.35);
  font: inherit; font-size: 13px; color: var(--ink);
}
.search input::placeholder { color: rgba(20,20,15,0.45); }
.archive-count { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(20,20,15,0.55); white-space: nowrap; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.empty { grid-column: 1 / -1; padding: 40px 0; color: var(--ink-soft); font-size: 15px; }

.work-card { position: relative; display: flex; flex-direction: column; }
.work-card__link { display: block; color: var(--ink); flex: 1; }
.work-card__art {
  position: relative; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, #23282a 0%, #0d1011 100%);
}
.work-card__glyph { font-family: var(--serif); font-size: 42px; color: rgba(244,239,230,0.8); text-shadow: 0 4px 30px rgba(0,0,0,.4); transition: transform .8s var(--ease); }
.work-card:hover .work-card__glyph { transform: scale(1.12); }
.accent-1 { background: radial-gradient(80% 70% at 72% 18%, #77552f 0%, rgba(119,85,47,0) 60%), radial-gradient(90% 80% at 20% 90%, #2c3b38 0%, rgba(44,59,56,0) 65%), linear-gradient(160deg, #23282a, #0d1011); }
.accent-2 { background: radial-gradient(80% 70% at 24% 22%, #2f5a58 0%, rgba(47,90,88,0) 62%), radial-gradient(90% 80% at 82% 88%, #3a2b22 0%, rgba(58,43,34,0) 66%), linear-gradient(160deg, #16201f, #090c0d); }
.accent-3 { background: radial-gradient(80% 70% at 70% 72%, #5a4a32 0%, rgba(90,74,50,0) 62%), radial-gradient(90% 80% at 18% 16%, #33413c 0%, rgba(51,65,60,0) 66%), linear-gradient(160deg, #1b211f, #0c0f10); }
.accent-4 { background: radial-gradient(80% 70% at 30% 20%, #1c3a39 0%, rgba(28,58,57,0) 62%), radial-gradient(90% 80% at 80% 85%, #14262d 0%, rgba(20,38,45,0) 65%), linear-gradient(160deg, #0c1314, #070a0b); }
.accent-5 { background: radial-gradient(80% 70% at 76% 20%, #1c3a2f 0%, rgba(28,58,47,0) 64%), radial-gradient(90% 80% at 14% 82%, #0e2422 0%, rgba(14,36,34,0) 68%), linear-gradient(160deg, #0a1312, #060b0b); }
.accent-6 { background: radial-gradient(80% 70% at 30% 14%, #2f2440 0%, rgba(47,36,64,0) 64%), radial-gradient(90% 80% at 84% 84%, #241a30 0%, rgba(36,26,48,0) 68%), linear-gradient(160deg, #0e0b12, #08060b); }
.work-card__meta { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.work-card__type { font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(20,20,15,0.55); }
.work-card__tag { font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 8px 3px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.work-card__title { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; margin-bottom: 8px; }
.work-card__excerpt { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 10px; }
.work-card__foot { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(20,20,15,0.5); }
.save-btn {
  margin-top: 14px; align-self: flex-start; border: 1px solid var(--line); background: transparent; color: var(--ink);
  padding: 9px 14px 8px; border-radius: 999px; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: all .35s;
}
.save-btn:hover, .save-btn.is-saved { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.save-btn--lg { margin-top: 0; padding: 12px 18px 11px; }

.reader-main { padding-bottom: 0; }
.reader__head { padding: 20vh var(--pad) 6vh; text-align: center; }
.back-link { display: inline-block; margin-bottom: 28px; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(239,234,226,0.6); }
.back-link:hover { color: var(--paper); }
.reader__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; color: #f4efe6; margin: 18px 0 14px; }
.reader__meta { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239,234,226,0.55); }
.reader__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.share-btn { border: 1px solid rgba(239,234,226,0.3); background: transparent; color: var(--paper); padding: 12px 18px 11px; border-radius: 999px; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.share-btn:hover { background: rgba(239,234,226,0.08); }
.reader__visual { margin: 0 auto 30px; max-width: 980px; border-radius: 4px; overflow: hidden; position: relative; }
.reader__visual--film { aspect-ratio: 16/9; display: grid; place-items: center; }
.reader__visual--map { padding: 24px; }
.film-play { width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(239,234,226,0.6); background: rgba(239,234,226,0.08); cursor: pointer; display: grid; place-items: center; }
.film-play span { display: block; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid var(--paper); margin-left: 4px; }
.film-play.is-playing span { width: 16px; height: 18px; border: 0; border-left: 4px solid var(--paper); border-right: 4px solid var(--paper); margin: 0; }
.film-note { position: absolute; left: 18px; bottom: 14px; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(239,234,226,0.7); }
.reader__visual--map .film-note { position: static; margin-top: 10px; }
.map-svg { width: 100%; height: auto; display: block; }
.reader__body { max-width: 760px; margin: 0 auto; padding: 8vh 0 10vh; color: rgba(239,234,226,0.88); }
.reader__body p { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.9; margin-bottom: 1.6em; }
.reader__body--poem { max-width: 680px; text-align: center; }
.poem-block { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.5; color: #f4efe6; margin: 0 0 2.2em; }
.reader__foot { padding: 0 0 12vh; text-align: center; }
.reader__note { font-size: 11px; line-height: 1.8; color: rgba(239,234,226,0.5); }

/* Auth */
.auth-main { display: flex; align-items: center; justify-content: center; padding: 18vh var(--pad) 12vh; }
.auth-wrap { width: 100%; max-width: 1040px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 50px); align-items: start; }
.auth-card, .auth-aside { background: rgba(239,234,226,0.06); border: 1px solid rgba(239,234,226,0.12); backdrop-filter: blur(8px); border-radius: 6px; padding: clamp(26px, 4vw, 42px); color: var(--paper); }
.auth-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; margin: 16px 0 10px; }
.auth-lede { font-size: 14px; line-height: 1.8; color: rgba(239,234,226,0.7); margin-bottom: 24px; }
.auth-lede strong { color: var(--paper); font-weight: 400; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 22px; background: rgba(239,234,226,0.06); border-radius: 999px; padding: 4px; }
.auth-tab { border: 0; background: transparent; color: rgba(239,234,226,0.7); padding: 10px; border-radius: 999px; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.auth-tab.is-active { background: var(--paper); color: var(--ink); }
.auth-form { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(239,234,226,0.6); }
.field input { width: 100%; padding: 14px 16px; border-radius: 4px; border: 1px solid rgba(239,234,226,0.18); background: rgba(8,10,11,0.35); color: var(--paper); font: inherit; font-size: 14px; }
.field input:focus { outline: none; border-color: rgba(239,234,226,0.5); }
.btn--full { width: 100%; margin-top: 6px; }
.auth-note { font-size: 11px; line-height: 1.7; color: rgba(239,234,226,0.45); margin-top: 4px; }
.auth-aside h2 { font-family: var(--serif); font-weight: 300; font-size: 1.6rem; margin-bottom: 18px; }
.auth-aside ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.auth-aside li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.7; color: rgba(239,234,226,0.75); }
.auth-aside li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 1px; background: rgba(239,234,226,0.6); }

/* Account */
.account-body { padding: clamp(60px, 10vh, 110px) 0 clamp(90px, 14vh, 150px); }
.account-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 50px); align-items: start; }
.account-card, .account-saved { background: #fffdf9; border: 1px solid var(--line); border-radius: 4px; padding: clamp(22px, 3vw, 34px); }
.account-card h2, .account-saved h2 { font-family: var(--serif); font-weight: 300; font-size: 1.7rem; margin-bottom: 18px; color: var(--ink); }
.account-dl { display: grid; gap: 14px; margin: 0 0 18px; }
.account-dl div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: baseline; }
.account-dl dt { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(20,20,15,0.55); }
.account-dl dd { margin: 0; font-size: 14px; color: var(--ink); }
.badge-free { display: inline-block; padding: 6px 10px 5px; border-radius: 999px; background: #e8f2e8; color: #234227; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }
.account-note { font-size: 12px; line-height: 1.8; color: var(--ink-soft); }
.saved-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.saved-head a { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(20,20,15,0.55); }
.saved-list { display: grid; }
.saved-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.saved-item a { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: baseline; flex: 1; color: var(--ink); }
.saved-item__type { font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(20,20,15,0.5); }
.saved-item__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 300; }
.saved-item__year { font-size: 11px; color: rgba(20,20,15,0.5); }
.unsave { border: 0; background: none; color: rgba(20,20,15,0.45); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.unsave:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .archive-grid { grid-template-columns: 1fr; }
  .archive-tools { width: 100%; margin-left: 0; justify-content: space-between; }
  .search input { width: 100%; }
  .saved-item a { grid-template-columns: 1fr; gap: 4px; }
  .account-dl div { grid-template-columns: 1fr; gap: 2px; }
  .auth-main { padding-top: 16vh; }
  .page-hero { padding: 20vh 22px 8vh; }
}

/* ===== Album (iCloud folder) ===== */
.btn--sm { padding: 10px 16px 9px; font-size: 9px; }
.album-panel { background: #fffdf9; border: 1px solid var(--line); border-radius: 6px; padding: clamp(18px, 3vw, 28px); margin-bottom: 28px; }
.album-panel__row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.album-folder__label { display: block; font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(20,20,15,0.55); margin-bottom: 4px; }
.album-folder__name { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.album-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.album-status { min-height: 1.4em; font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.album-status--ok { color: #245a31; }
.album-status--warn { color: #7a5a1a; }
.album-status--error { color: #8a2f2f; }
.album-hint { font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); background: rgba(20,20,15,0.03); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; margin: -2px 0 14px; }
.album-hint strong { color: var(--ink); font-weight: 500; }
.album-hint code { font-size: 11.5px; background: rgba(20,20,15,0.06); padding: 1px 6px; border-radius: 3px; }
.dropzone { border: 1.5px dashed rgba(20,20,15,0.22); border-radius: 6px; padding: 28px 20px; text-align: center; background: rgba(20,20,15,0.02); transition: border-color .25s, background .25s; cursor: pointer; }
.dropzone.is-ready { border-color: rgba(20,20,15,0.32); }
.dropzone.is-drag, .dropzone:hover { border-color: rgba(20,20,15,0.5); background: rgba(20,20,15,0.04); }
.dropzone__title { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin-bottom: 6px; }
.dropzone__sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.dropzone__note { font-size: 11.5px; line-height: 1.7; color: rgba(20,20,15,0.5); max-width: 720px; margin: 0 auto; }
.link-btn { border: 0; background: none; color: var(--ink); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.album-toolbar { margin-top: 8px; }
.album-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.media-cap { padding: 8px 10px 9px; }
.media-name { font-size: 11px; }
.media-card { display: block; color: var(--ink); background: #fffdf9; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.media-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(20,20,15,0.08); }
.media-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #111415; }
.media-thumb img, .media-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-badge { position: absolute; right: 8px; bottom: 8px; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 999px; background: rgba(10,12,13,0.65); color: #f4efe6; }
.media-cap { padding: 10px 12px 11px; }
.media-name { display: block; font-size: 12px; line-height: 1.5; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-empty { grid-column: 1 / -1; padding: 40px 10px; text-align: center; color: var(--ink-soft); }
.album-empty__title { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin-bottom: 8px; }
.album-empty p { font-size: 14px; line-height: 1.8; max-width: 720px; margin: 0 auto; }
.album-empty strong { color: var(--ink); font-weight: 500; }

.viewer-main-page { padding: 18vh 0 10vh; }
.viewer-wrap { max-width: 1100px; }
.viewer-top { margin-bottom: 18px; }
.viewer-title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #f4efe6; margin-top: 10px; word-break: break-word; }
.viewer-meta-head { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(239,234,226,0.7); margin-right: 8px; }
.viewer-stage { background: rgba(239,234,226,0.04); border: 1px solid rgba(239,234,226,0.1); border-radius: 6px; padding: 10px; display: grid; place-items: center; min-height: 40vh; }
.viewer-media-el { max-width: 100%; max-height: 72vh; width: auto; height: auto; display: block; border-radius: 2px; }
.viewer-nav { display: flex; gap: 12px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.viewer-path { text-align: center; margin-top: 14px; font-size: 11px; color: rgba(239,234,226,0.45); }
.viewer-empty { text-align: center; padding: 10vh 0; color: rgba(239,234,226,0.8); }
.viewer-empty p { margin-bottom: 16px; font-size: 15px; }
@media (max-width: 1200px) { .album-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .album-panel__row { flex-direction: column; align-items: flex-start; }
  .album-actions { width: 100%; }
  .viewer-stage { min-height: 30vh; }
}

/* ===== Landing (album-focused) ===== */
.landing-hero { min-height: 88vh; display: flex; align-items: center; padding: 16vh var(--pad) 10vh; }
.landing-hero__inner { max-width: 980px; }
.landing-hero__title { margin: 16px 0 18px; }
.landing-hero__lede { max-width: 720px; margin-bottom: 28px; }
.landing-hero__actions { justify-content: flex-start; margin-bottom: 22px; }
.landing-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.landing-badge { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(239,234,226,0.7); border: 1px solid rgba(239,234,226,0.18); padding: 8px 12px 7px; border-radius: 999px; background: rgba(239,234,226,0.04); }
.landing-steps { padding: clamp(70px, 12vh, 120px) 0; }
.landing-benefits .benefit { cursor: default; }
.landing-benefits .benefit__text code { font-size: 12px; background: rgba(20,20,15,0.06); padding: 1px 6px; border-radius: 3px; }
.landing-cta-row { margin-top: 34px; }
.landing-cta-row .btn--solid { background: var(--ink); color: var(--paper); }
.landing-cta-row .btn--solid:hover { background: #222; }
@media (max-width: 720px) {
  .landing-hero { min-height: auto; padding-top: 18vh; }
  .landing-hero__actions { justify-content: stretch; }
  .landing-hero__actions .btn { width: 100%; justify-content: center; }
}
