/* Zero — shared theme. Used across every page. */

:root {
  --ink: #0a0a0a;
  --paper: #f4f0e8;
  --paper_dim: #c9c3b6;
  --blood: #b21d1d;
  --blood_soft: #d23b3b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--ink);
  color: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(ellipse at top, #161616 0%, #0a0a0a 60%, #050505 100%);
  min-height: 100vh;
}

/* faint film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.93  0 0 0 0 0.86  0 0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.7;
  mix-blend-mode: overlay;
  z-index: 100;
}

a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--blood_soft); }

/* Top rail navigation */
.rail {
  position: fixed;
  top: 28px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper_dim);
  mix-blend-mode: difference;
}
.rail .brand {
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--paper);
}
.rail .links { display: flex; gap: 28px; }
.rail .links a { opacity: 0.7; }
.rail .links a:hover { opacity: 1; color: var(--paper); }
.rail .links a.active { color: var(--blood_soft); opacity: 1; }

section {
  padding: 14vh 8vw;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

/* Shared text components */
.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--blood_soft);
  margin-bottom: 32px;
  display: inline-block;
}
.head {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin-bottom: 48px;
  max-width: 18ch;
}
.head em {
  font-style: italic;
  color: var(--blood_soft);
}
.body_text {
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--paper);
  opacity: 0.86;
  max-width: 56ch;
  line-height: 1.7;
}
.body_text p { margin-bottom: 18px; }
.body_text p:last-child { margin-bottom: 0; }

/* Footer */
.foot {
  padding: 8vh 8vw 6vh;
  border-top: 1px solid rgba(244, 240, 232, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper_dim);
  max-width: 1280px;
  margin: 0 auto;
}
.foot .mark_small img {
  width: 80px;
  height: auto;
  opacity: 0.85;
  display: block;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Page-level helpers */
.page_intro {
  padding: 22vh 8vw 8vh;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}
.page_intro .head {
  margin: 0 auto 24px;
  text-align: center;
}
.page_intro .body_text {
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 720px) {
  .rail { font-size: 9px; gap: 12px; left: 18px; right: 18px; }
  .rail .links { gap: 14px; }
  section { padding: 12vh 6vw; }
  .foot { justify-content: flex-start; }
  .page_intro { padding: 18vh 6vw 6vh; }
}
