/* ==========================================================================
   Oya Özgüç Aksoy — anı sitesi
   ========================================================================== */

:root {
  --paper: #f6f1e8;
  --paper-2: #eee6d8;
  --card: #fbf8f2;
  --ink: #1f1a14;
  --ink-2: #594f45;
  --ink-3: #85796b;
  --line: rgba(31, 26, 20, .12);
  --accent: #8f5823;
  --accent-2: #c48a48;
  --forest: #213a30;
  --forest-2: #2e4c3e;
  --on-forest: #f2ecdf;
  --shadow-sm: 0 1px 2px rgba(31, 26, 20, .06), 0 4px 14px -6px rgba(31, 26, 20, .16);
  --shadow: 0 1px 2px rgba(31, 26, 20, .05), 0 22px 48px -22px rgba(31, 26, 20, .32);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;

  --gutter: clamp(16px, 4.2vw, 56px);
  --wrap: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .68, .18, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15120f;
    --paper-2: #1c1814;
    --card: #1f1b16;
    --ink: #efe7da;
    --ink-2: #c4b8a8;
    --ink-3: #978b7d;
    --line: rgba(239, 231, 218, .13);
    --accent: #e0aa66;
    --accent-2: #d29a55;
    --forest: #17271f;
    --forest-2: #22382c;
    --on-forest: #efe7da;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px -8px rgba(0, 0, 0, .55);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 54px -24px rgba(0, 0, 0, .75);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: color-mix(in srgb, var(--accent-2) 35%, transparent); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; }

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { body::before { opacity: .07; } }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- type ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  margin: 0 0 18px;
  font: 600 12px/1 var(--sans);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.lede { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; color: var(--ink-2); font-style: italic; margin: 0; }
.muted { color: var(--ink-3); }
.accent { color: var(--accent); }
em.accent, .name-accent { font-style: italic; color: var(--accent-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border-radius: 999px;
  font: 600 14px/1 var(--sans); letter-spacing: .02em;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn--solid { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-3); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--light { background: var(--on-forest); color: var(--forest); }
.btn--light:hover { transform: translateY(-2px); }
.btn--line-light { border: 1px solid rgba(242, 236, 223, .35); color: var(--on-forest); }
.btn--line-light:hover { background: rgba(242, 236, 223, .08); border-color: rgba(242, 236, 223, .6); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px/1.2 var(--sans);
  color: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-2) 60%, transparent);
  padding-bottom: 4px;
  transition: gap .3s var(--ease), color .2s;
}
.link:hover { gap: 12px; color: var(--accent); }
.link svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .45s var(--ease), background-color .35s, box-shadow .35s, color .35s;
  view-transition-name: site-header;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.has-dark-hero .site-header:not(.is-scrolled) { color: #f4eee3; }
.has-dark-hero .site-header:not(.is-scrolled) .brand .name-accent { color: #e8bd84; }

.brand { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -.005em; line-height: 1; white-space: nowrap; }
.brand .name-accent { font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  opacity: .78;
  transition: opacity .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; margin-right: -10px; }
.menu-btn span { position: relative; display: block; width: 22px; height: 1.5px; background: currentColor; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn span::before { transform: translateY(-7px); }
.menu-btn span::after { transform: translateY(7px); }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: rotate(45deg); }
.menu-open .menu-btn span::after { transform: rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand { font-size: 22px; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.menu-open .site-header { color: var(--ink) !important; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .site-header .brand .name-accent { color: var(--accent-2) !important; }
.menu-open { overflow: hidden; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mobile-menu li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu li:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu li:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu li:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu li:nth-child(6) { transition-delay: .25s; }
.mobile-menu a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; font-family: var(--serif); font-size: clamp(30px, 8vw, 44px); line-height: 1.1; border-bottom: 1px solid var(--line); }
.mobile-menu a small { font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--accent); min-width: 22px; }
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .mm-foot { margin-top: 32px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-3); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- HOME: hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 32px) 0 64px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__text { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(56px, 9.2vw, 132px); font-weight: 500; line-height: .92; letter-spacing: -.02em; }
.hero h1 .l { display: block; }
.hero h1 .name-accent { font-weight: 400; }
.hero__sub { margin: 28px 0 0; max-width: 30ch; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; font-style: italic; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__actions .btn--solid svg { width: 14px; height: 14px; }

.hero__portrait { position: relative; justify-self: center; width: min(440px, 100%); }
.arch {
  --w: min(440px, 100%);
  position: relative;
  aspect-ratio: 4 / 5.4;
  border-radius: 999px 999px 22px 22px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.arch img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.8s ease, transform 9s linear;
}
.arch img.is-active { opacity: 1; transform: scale(1); }
.arch::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); border-radius: inherit; pointer-events: none; }
.arch-wrap { position: relative; }
.hero__ring {
  position: absolute; inset: -14px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 55%, transparent);
  border-radius: 999px 999px 30px 30px;
  pointer-events: none;
}
.hero__dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.hero__dots button { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); opacity: .35; transition: opacity .3s, transform .3s, background .3s; }
.hero__dots button.is-active { opacity: 1; background: var(--accent-2); transform: scale(1.25); }
.hero__dots button::before { content: ""; display: block; width: 28px; height: 28px; margin: -10.5px; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--ink-3), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent-2); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 20px); padding-bottom: 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero__portrait { order: -1; width: min(300px, 74vw); }
  .hero__text { text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .scroll-cue { display: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(40px, 5.6vw, 76px); }
.section-head p { max-width: 42ch; margin: 0; color: var(--ink-2); }
.divider { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--accent-2); }
.divider::before, .divider::after { content: ""; flex: 0 1 120px; height: 1px; background: currentColor; opacity: .45; }
.divider svg { width: 22px; height: 22px; }

/* big quote */
.quote-block { text-align: center; }
.quote-block blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--serif); font-size: clamp(34px, 5.4vw, 72px); line-height: 1.12; font-weight: 400; letter-spacing: -.01em; }
.quote-block blockquote em { color: var(--accent-2); }
.quote-block p.more { max-width: 56ch; margin: 34px auto 0; font-size: 17px; color: var(--ink-2); }
.quote-block cite { display: block; margin-top: 26px; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: var(--ink-3); }
.quote-mark { width: 44px; height: 44px; margin: 0 auto 26px; color: var(--accent-2); }

/* film */
.film__frame {
  position: relative; border-radius: 22px; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0d0b09;
  box-shadow: var(--shadow);
}
.film__frame video { width: 100%; height: 100%; object-fit: contain; background: #0d0b09; }
.film__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s, transform 1.4s var(--ease); }
.film__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 6, .05) 30%, rgba(10, 8, 6, .65)); pointer-events: none; transition: opacity .6s; }
.film__play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  color: #fff; text-align: center;
}
.film__play .pbtn {
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .45);
  transition: transform .5s var(--ease), background .3s;
}
.film__play .pbtn svg { width: 30%; height: 30%; margin-left: 6%; }
.film__play:hover .pbtn { transform: scale(1.08); background: rgba(255, 255, 255, .24); }
.film__frame:has(.film__play:hover) .film__poster { transform: scale(1.03); }
.film__label { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); font-style: italic; text-shadow: 0 2px 20px rgba(0, 0, 0, .45); }
.film__meta { font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .85; }
.film__frame.is-playing .film__play, .film__frame.is-playing .film__poster, .film__frame.is-playing::after { opacity: 0; pointer-events: none; }

/* chapters */
.chapters { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 24px); }
.chapter {
  position: relative; display: block; overflow: hidden; border-radius: 20px;
  min-height: 420px; color: #fff; isolation: isolate;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}
.chapter:nth-child(1) { grid-column: span 7; }
.chapter:nth-child(2) { grid-column: span 5; }
.chapter:nth-child(3) { grid-column: span 5; }
.chapter:nth-child(4) { grid-column: span 7; }
.chapter img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.chapter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 11, 8, 0) 35%, rgba(14, 11, 8, .78)); transition: opacity .5s; }
.chapter:hover img { transform: scale(1.05); }
.chapter__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.chapter__num { font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .85; margin-bottom: 12px; display: block; }
.chapter h3 { font-size: clamp(32px, 3.6vw, 50px); font-weight: 500; }
.chapter p { margin: 8px 0 0; font-size: 14.5px; opacity: .85; }
.chapter__arrow { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .5); transition: background .35s, color .35s, transform .5s var(--ease); }
.chapter__arrow svg { width: 20px; height: 20px; }
.chapter:hover .chapter__arrow { background: #fff; color: #1f1a14; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .chapter, .chapter:nth-child(n) { grid-column: span 12; min-height: 340px; }
}

/* traits */
.traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.trait { border-top: 1px solid var(--line); padding-top: 28px; }
.trait svg { width: 30px; height: 30px; color: var(--accent-2); margin-bottom: 22px; }
.trait h3 { font-size: 30px; margin-bottom: 14px; }
.trait p { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--ink-2); font-style: italic; }
@media (max-width: 900px) { .traits { grid-template-columns: 1fr; } }

/* forest band */
.forest {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--forest); color: var(--on-forest);
  padding: clamp(90px, 13vw, 180px) 0;
}
.forest__bg { position: absolute; inset: 0; z-index: -1; }
.forest__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.7); }
.forest__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 100%, rgba(18, 33, 26, .2), rgba(18, 33, 26, .92) 70%); }
.forest .eyebrow { color: #e3b67c; }
.forest__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: end; }
.forest__num { font-family: var(--serif); font-size: clamp(110px, 17vw, 240px); line-height: .8; font-weight: 400; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.forest__num small { display: block; font-size: .2em; letter-spacing: .02em; margin-top: 18px; font-style: italic; color: #e3b67c; }
.forest h2 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 22px; }
.forest p:not(.eyebrow) { margin: 0 0 34px; font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); line-height: 1.45; font-style: italic; opacity: .9; max-width: 36ch; }
.forest p cite { display: block; margin-top: 14px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; opacity: .7; }
.forest .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .forest__grid { grid-template-columns: 1fr; } }

/* closing */
.closing { text-align: center; padding: clamp(100px, 14vw, 190px) 0; }
.closing h2 { font-size: clamp(46px, 8vw, 112px); font-weight: 400; font-style: italic; }
.closing p { margin: 24px 0 0; color: var(--ink-3); font-family: var(--serif); font-size: 21px; font-style: italic; }
.heartbeat { width: 26px; height: 26px; margin: 0 auto 28px; color: #c0563f; animation: beat 2.8s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 10% { transform: scale(1.18); } 20% { transform: scale(1); } 30% { transform: scale(1.12); } }

/* ---------- page hero (inner) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(40px, 6vw, 72px); text-align: center; }
.page-hero h1 { font-size: clamp(52px, 8.4vw, 116px); line-height: .95; font-weight: 500; }
.page-hero h1 em { font-weight: 400; color: var(--accent-2); }
.page-hero .lede { max-width: 34ch; margin: 28px auto 0; }
.page-hero .lede cite { display: block; margin-top: 12px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: var(--ink-3); }
.page-hero .meta { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 34px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.page-hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero .meta svg { width: 16px; height: 16px; color: var(--accent-2); }

/* dark full-bleed hero (grove) */
.cover-hero { position: relative; min-height: 92svh; display: grid; align-items: end; color: #f4eee3; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 7vw, 96px); }
.cover-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); animation: settle 2.6s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.cover-hero { background: var(--forest) var(--ph, none) center / cover no-repeat; }
.cover-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 18, 14, .55), rgba(12, 18, 14, 0) 62%), linear-gradient(180deg, rgba(12, 18, 14, .55) 0%, rgba(12, 18, 14, .12) 35%, rgba(12, 18, 14, .85) 100%); }
.cover-hero .eyebrow { color: #e8bd84; }
.cover-hero h1 { font-size: clamp(50px, 8.4vw, 124px); line-height: .92; max-width: 12ch; }
.cover-hero h1 em { color: #e8bd84; font-weight: 400; }
.cover-hero .lede { color: rgba(244, 238, 227, .9); margin-top: 26px; max-width: 34ch; }
.cover-hero .lede cite { display: block; margin-top: 12px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; opacity: .75; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(12px, 2vw, 28px); text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6vw, 84px); line-height: 1; font-variant-numeric: lining-nums; }
.stat span { display: block; margin-top: 12px; font: 600 11.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- gallery ---------- */
.gallery { --gap: clamp(10px, 1.4vw, 18px); display: flex; gap: var(--gap); align-items: flex-start; }
.gallery__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.no-js .gallery, .gallery:not(.is-laid) { display: block; columns: 2; column-gap: var(--gap); }
.gallery:not(.is-laid) .tile { margin-bottom: var(--gap); break-inside: avoid; }
@media (min-width: 720px) { .no-js .gallery, .gallery:not(.is-laid) { columns: 3; } }
@media (min-width: 1100px) { .no-js .gallery, .gallery:not(.is-laid) { columns: 4; } }

.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: 14px;
  background: var(--c, var(--paper-2));
  cursor: zoom-in;
  transform: translateZ(0);
}
.tile img { width: 100%; height: auto; opacity: 0; transition: opacity .8s ease, transform 1.2s var(--ease), filter .6s; }
.tile img.is-loaded { opacity: 1; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); pointer-events: none; }
.tile__zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .88); color: #1f1a14; opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .35s, transform .45s var(--ease); }
.tile__zoom svg { width: 17px; height: 17px; }
@media (hover: hover) {
  .tile:hover img { transform: scale(1.045); }
  .tile:hover .tile__zoom { opacity: 1; transform: none; }
}

/* art: framed */
.gallery--art { --gap: clamp(18px, 2.6vw, 34px); }
.gallery--art .tile {
  padding: clamp(8px, 1vw, 12px);
  border-radius: 4px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.gallery--art .tile img { border-radius: 1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.gallery--art .tile::after { display: none; }
@media (hover: hover) {
  .gallery--art .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .gallery--art .tile:hover img { transform: none; }
}
.gallery--art .tile__zoom { right: 20px; bottom: 20px; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: #f4eee3;
  overflow: hidden;
}
.lb::backdrop { background: rgba(9, 8, 7, .95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb[open] { animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb__stage { position: absolute; inset: 64px 72px 76px; display: flex; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
.lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); transition: opacity .35s ease, transform .45s var(--ease); user-select: none; -webkit-user-drag: none; }
.lb__img.is-out { opacity: 0; transform: scale(.985); }
.lb__btn { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #f4eee3; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background .25s, transform .3s var(--ease); }
.lb__btn:hover { background: rgba(255, 255, 255, .16); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__close { top: 14px; right: 14px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb__prev:hover { transform: translateY(-50%) translateX(-2px); }
.lb__next:hover { transform: translateY(-50%) translateX(2px); }
.lb__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 72px; display: flex; align-items: center; justify-content: center; gap: 18px; font: 600 12px/1 var(--sans); letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.lb__title { position: absolute; top: 0; left: 0; right: 80px; height: 64px; display: flex; align-items: center; padding-left: 24px; font-family: var(--serif); font-size: 20px; font-style: italic; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__play { width: 40px; height: 40px; position: static; }
.lb__play svg { width: 16px; height: 16px; }
.lb__progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #e3b67c; }
.lb.is-playing .lb__progress { animation: lbprog var(--slide, 4.5s) linear forwards; }
@keyframes lbprog { to { width: 100%; } }
.lb__spinner { position: absolute; left: 50%; top: 50%; margin: -17px 0 0 -17px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); border-top-color: #e3b67c; animation: spin 1s linear infinite; opacity: 0; transition: opacity .3s; pointer-events: none; }
.lb.is-loading .lb__spinner { opacity: 1; transition-delay: .25s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .lb__stage { inset: 60px 0 72px; }
  .lb__prev, .lb__next { top: auto; bottom: 10px; transform: none; width: 48px; height: 48px; }
  .lb__prev:hover, .lb__next:hover { transform: none; }
  .lb__prev { left: 16px; }
  .lb__next { right: 16px; }
  .lb__title { font-size: 17px; padding-left: 18px; }
}

/* ---------- video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 22px); }
.vcard { position: relative; border-radius: 16px; overflow: hidden; background: #0d0b09; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 9; }
.vcard video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr 1fr; } .vcard:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

.koru-split { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.koru-split .section-head { margin: 0; }
.koru-split .section-head p:not(.eyebrow) { margin-top: 22px; font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); font-style: italic; line-height: 1.45; }
.koru-film { position: relative; border-radius: 22px; overflow: hidden; background: #0d0b09; box-shadow: var(--shadow); aspect-ratio: 9 / 16; }
.koru-film video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .koru-split { grid-template-columns: 1fr; } .koru-film { width: min(400px, 100%); margin-inline: auto; } }

/* ---------- letters ---------- */
.progress { position: fixed; left: 0; top: 0; z-index: 70; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent-2), var(--accent)); pointer-events: none; }

.letter-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.letter-index a {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 34px;
  padding: 24px 22px 22px; border-radius: 16px;
  background: var(--card); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.letter-index a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent-2) 50%, transparent); }
.letter-index small { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.letter-index b { display: block; font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.05; }
.letter-index span { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.letter-index svg { width: 18px; height: 18px; color: var(--ink-2); transition: transform .4s var(--ease); }
.letter-index a:hover svg { transform: translateY(3px); }
@media (max-width: 900px) { .letter-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .letter-index b { font-size: 23px; } .letter-index a { padding: 18px 16px; gap: 24px; } }

.letter { padding: clamp(70px, 10vw, 140px) 0 0; }
.letter__figure { margin: 0 auto clamp(40px, 6vw, 72px); width: min(980px, 100% - 2 * var(--gutter)); }
.letter__figure img { width: 100%; height: auto; max-height: 78svh; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); background: var(--paper-2); }
.letter__head { text-align: center; margin-bottom: clamp(30px, 4vw, 48px); }
.letter__head h2 { font-size: clamp(42px, 6vw, 80px); }
.letter__head .when { margin-top: 16px; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

.paper {
  position: relative;
  background: var(--card);
  border-radius: 6px;
  padding: clamp(32px, 6vw, 80px) clamp(22px, 6vw, 84px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.paper::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 3px; pointer-events: none;
}
.prose { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 23px); line-height: 1.7; color: var(--ink); font-weight: 500; hyphens: manual; }
.prose p { margin: 0 0 1em; }
.prose p.salute { font-style: italic; font-size: 1.12em; margin-bottom: .7em; }
.prose p.lead::first-letter { float: left; font-size: 4.1em; line-height: .78; padding: .08em .1em 0 0; color: var(--accent-2); font-weight: 500; }
.prose ul { list-style: none; margin: .4em 0 1.3em; padding: 0; display: grid; gap: .45em; }
.prose li { position: relative; padding-left: 1.6em; }
.prose li::before { content: ""; position: absolute; left: .2em; top: .78em; width: .55em; height: 1px; background: var(--accent-2); }
.prose .pull { margin: 1.2em 0; font-style: italic; font-size: 1.25em; line-height: 1.4; color: var(--accent); text-align: center; }
.signature { margin-top: 1.4em; font-family: var(--hand); font-size: clamp(34px, 3.6vw, 44px); line-height: 1; color: var(--accent); }
.signature small { display: block; margin-top: 12px; font: 600 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.letter__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.handwritten { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.handwritten figure { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.handwritten figure a { display: block; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(1.2deg); transition: transform .6s var(--ease); background: #fff; cursor: zoom-in; }
.handwritten figure a:hover { transform: rotate(0) scale(1.01); }
.handwritten figcaption { margin-top: 18px; text-align: center; font-family: var(--hand); font-size: 26px; color: var(--ink-3); }
@media (max-width: 900px) { .handwritten { grid-template-columns: 1fr; } .handwritten figure { position: static; max-width: 420px; margin-inline: auto; } }

/* ---------- donors ---------- */
.toolbar { position: sticky; top: calc(var(--header-h) + 10px); z-index: 20; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 10px; margin-bottom: 26px; border-radius: 999px; background: color-mix(in srgb, var(--card) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: top .45s var(--ease); }
.header-hidden .toolbar { top: 10px; }
.search { position: relative; flex: 1 1 260px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input { width: 100%; height: 46px; padding: 0 44px 0 46px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font: 500 15px/1 var(--sans); }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-2) 55%, transparent); border-radius: 999px; }
.search .clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: none; place-items: center; color: var(--ink-3); }
.search .clear svg { position: static; transform: none; width: 14px; height: 14px; }
.search.has-value .clear { display: grid; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.seg button { height: 38px; padding: 0 16px; border-radius: 999px; font: 600 12.5px/1 var(--sans); letter-spacing: .04em; color: var(--ink-2); transition: background .25s, color .25s, box-shadow .25s; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.result-note { margin: 0 0 18px; font-size: 14px; color: var(--ink-3); min-height: 1.6em; }

.donors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(18px, 3vw, 44px); }
.donor { display: grid; grid-template-columns: 38px 1fr auto; align-items: baseline; gap: 12px; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.donor .no { font: 600 11.5px/1 var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.donor .nm { font: 600 13.5px/1.35 var(--sans); letter-spacing: .04em; }
.donor .ct { display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--forest-2); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .donor .ct { color: #a9cdb4; } }
.donor .ct svg { width: 14px; height: 14px; color: var(--accent-2); }
.donor mark { background: color-mix(in srgb, var(--accent-2) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.donor[hidden] { display: none; }
.empty { display: none; text-align: center; padding: 60px 0; font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--ink-3); }
.empty.is-visible { display: block; }
@media (max-width: 1000px) { .donors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .donors { grid-template-columns: 1fr; }
  .toolbar { border-radius: 22px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 8px; }
}
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 30px; padding: 24px 2px 0; border-top: 2px solid var(--ink); font: 600 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.total-row b { font-family: var(--serif); font-size: 44px; letter-spacing: 0; color: var(--forest-2); }
@media (prefers-color-scheme: dark) { .total-row b { color: #a9cdb4; } }

/* ---------- music ---------- */
.music {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 58;
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 18px 0 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
  transition: transform .45s var(--ease), box-shadow .3s, color .3s, opacity .3s;
}
.music:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.bars { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 14px; }
.bars i { width: 2.5px; height: 4px; border-radius: 2px; background: var(--accent-2); transition: height .3s; }
.music.is-on .bars i { animation: eq 1.1s ease-in-out infinite; }
.music.is-on .bars i:nth-child(2) { animation-delay: -.3s; }
.music.is-on .bars i:nth-child(3) { animation-delay: -.6s; }
.music.is-on .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.menu-open .music, .lb-open .music { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .music { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .music__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 calc(36px + env(safe-area-inset-bottom)); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.foot .brand { font-size: 32px; }
.foot p { margin: 14px 0 0; font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--ink-2); }
.foot h4 { margin: 6px 0 16px; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { font-size: 15px; color: var(--ink-2); transition: color .2s; }
.foot ul a:hover { color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); padding-right: 150px; }
.foot-bottom a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.foot-bottom a:hover { color: var(--accent); }
.foot-bottom .heart { display: inline-block; width: 13px; height: 13px; vertical-align: -1px; color: #c0563f; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-bottom { padding-right: 0; padding-bottom: 56px; } }

/* ---------- pager ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); margin-top: clamp(70px, 10vw, 130px); }
.pager a { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 34px); border-radius: 18px; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .45s var(--ease); }
.pager a:hover { background: var(--card); border-color: color-mix(in srgb, var(--accent-2) 45%, transparent); transform: translateY(-3px); }
.pager small { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.pager small svg { width: 15px; height: 15px; }
.pager b { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; }
.pager .next { text-align: right; align-items: flex-end; }
.pager .solo { grid-column: 1 / -1; }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr; } .pager .next { text-align: left; align-items: flex-start; } }

.after-quote { text-align: center; margin-top: clamp(70px, 10vw, 130px); }
.after-quote p { margin: 0 auto; max-width: 30ch; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.25; font-style: italic; }
.after-quote cite { display: block; margin-top: 18px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: var(--ink-3); }
.page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--header-h) var(--gutter) 40px; }
.notfound h1 { font-size: clamp(54px, 9vw, 120px); font-style: italic; font-weight: 400; }
.notfound p { color: var(--ink-2); font-family: var(--serif); font-size: 22px; font-style: italic; margin: 18px 0 34px; }

/* ---------- transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .32s ease both; }
::view-transition-new(root) { animation: vtIn .5s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .arch img { transform: none !important; }
}

@media print {
  .site-header, .music, .mobile-menu, .site-footer, .progress, .letter-index, .letter__foot { display: none !important; }
  body::before { display: none; }
  .paper { box-shadow: none; border: 0; }
}
