/* ==========================================================================
   PSI SIGMA PHI · ALMIGHTY
   Editorial-chivalric monochrome. Fraunces + EB Garamond + JetBrains Mono.
   ========================================================================== */

/* ---------- TOKENS ---------- */
:root {
  --ink: #0a0a0a;
  --ink-soft: #1d1d1d;
  --paper: #f3efe6;        /* warm, slightly aged paper */
  --paper-pure: #ffffff;
  --rule: rgba(10, 10, 10, 0.16);
  --rule-strong: rgba(10, 10, 10, 0.45);
  --mute: #6b665d;
  --mute-on-ink: #a8a39a;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'EB Garamond', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --container: 1340px;
  --gutter: clamp(1.25rem, 3.2vw, 3rem);

  --grain-opacity: 0.085;
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Page-level grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

::selection { background: var(--ink); color: var(--paper); }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow,
.kicker,
.meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

h1 { font-size: clamp(3.5rem, 9vw, 9rem); }
h2 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.05; }
h4 { font-size: 1.1rem; letter-spacing: 0; line-height: 1.2; font-weight: 500; }

p { font-size: 1.075rem; line-height: 1.65; }

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.35;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.005em;
}

em, .italic {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* ---------- LAYOUT HELPERS ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule {
  height: 1px;
  background: var(--rule);
  margin: 0;
  border: 0;
}

.rule-strong { background: var(--rule-strong); }

.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.col-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.col-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.4vw, 2.5rem);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(243, 239, 230, 0.85);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.95rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.nav-mark img { width: 30px; height: auto; filter: invert(0) saturate(0); }
.nav-mark .sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--ink);
  transition: right 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.is-current::after { right: 0; }

.nav-cta {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0.45rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-left {
  padding: clamp(2rem, 6vw, 5.5rem) var(--gutter) clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hero-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero-eyebrow strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 17vw, 16.5rem);
  line-height: 0.84;
  letter-spacing: -0.04em;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.hero-title .stack { display: block; }
.hero-title .stack-italic {
  display: block;
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  padding-left: 0.18em;
  margin-top: -0.02em;
}

.hero-tag {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.3;
  max-width: 28ch;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.hero-meta dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.35rem;
}

.hero-meta dd {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.08) brightness(0.92);
  transform-origin: center;
  animation: heroPan 18s ease-in-out infinite alternate;
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.05), rgba(10,10,10,0.35));
}

.hero-photo-meta {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: clamp(1.5rem, 3vw, 2.5rem);
  right: clamp(1.5rem, 3vw, 2.5rem);
  z-index: 2;
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.hero-photo-meta .caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  max-width: 22ch;
  line-height: 1.3;
  opacity: 0.92;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero-photo-meta .number {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

@keyframes heroPan {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -1%); }
}

/* ---------- MARQUEE TICKER ---------- */
.ticker {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  padding: 0.95rem 0;
}

.ticker-track {
  display: flex;
  gap: 4rem;
  animation: ticker 38s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  letter-spacing: 0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  white-space: nowrap;
}

.ticker-track span::after {
  content: '✦';
  font-style: normal;
  margin-left: 4rem;
  opacity: 0.55;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- SECTION FRAME ---------- */
section { position: relative; }

.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-no {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
}

.section-title h2 { margin-bottom: 0.25rem; }
.section-title .eyebrow { margin-bottom: 0.5rem; display: block; }

.section-aside {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: right;
  align-self: end;
  padding-bottom: 0.4rem;
}

/* ---------- PILLARS ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.pillar {
  padding: clamp(2rem, 3vw, 3rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  background: var(--paper);
  transition: background 0.4s ease, color 0.4s ease;
}

.pillar:hover { background: var(--ink); color: var(--paper); }
.pillar:hover .pillar-mute,
.pillar:hover .pillar-no { color: var(--mute-on-ink); }

.pillar-no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  font-weight: 350;
  line-height: 1;
  color: var(--mute);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  transition: color 0.3s ease;
}

.pillar-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.pillar-virtue {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pillar-desc {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.9;
}

.pillar-mute { color: var(--mute); transition: color 0.3s ease; }

/* ---------- MISSION PULLQUOTE ---------- */
.mission {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 12vw, 11rem) 0;
  position: relative;
  overflow: hidden;
}

.mission-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 22ch;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.mission-quote .accent {
  font-style: normal;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.mission-attr {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute-on-ink);
}

.mission-attr::before {
  content: '';
  width: 50px;
  height: 1px;
  background: currentColor;
}

.mission-mark {
  position: absolute;
  right: -3vw;
  bottom: -3vw;
  width: 38vw;
  max-width: 540px;
  opacity: 0.06;
  filter: invert(1);
}

/* ---------- PHOTO STRIP ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--ink);
  border-block: 1px solid var(--ink);
}

.strip-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--ink);
}

.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.9);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

.strip-item:hover img {
  transform: scale(1.05);
  filter: grayscale(100%) contrast(1.2) brightness(1.05);
}

.strip-label {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.strip-name {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 0.95;
}

.strip-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.5) 100%);
}

/* ---------- LEGACY / TWO-COL EDITORIAL ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.editorial-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.editorial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
}

.editorial-photo .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.editorial-body p {
  margin-bottom: 1.1rem;
  font-size: 1.13rem;
  line-height: 1.7;
}

.editorial-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 500;
  float: left;
  font-size: 4.8rem;
  line-height: 0.85;
  padding: 0.05em 0.12em 0 0;
  letter-spacing: -0.04em;
}

.editorial-body .lede { margin-bottom: 1.5rem; color: var(--ink); }

/* ---------- LEADERSHIP ROSTER ---------- */
.roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
}

.knight {
  background: var(--paper);
  padding: clamp(1.75rem, 2.5vw, 2.3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
}

.knight:hover { background: var(--ink); color: var(--paper); }
.knight:hover .knight-meta { color: var(--mute-on-ink); border-color: var(--mute-on-ink); }
.knight:hover .knight-role { color: var(--mute-on-ink); }

.knight-no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--mute);
}

.knight-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.015em;
}

.knight-role {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 1.1rem;
  color: var(--mute);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  transition: color 0.3s ease;
}

.knight-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  display: grid;
  gap: 0.4rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.knight-meta div { display: flex; justify-content: space-between; gap: 1rem; }
.knight-meta strong { color: inherit; font-weight: 500; letter-spacing: 0.04em; }

/* ---------- WALK A MILE FEATURE ---------- */
.walk {
  background: var(--ink);
  color: var(--paper);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.walk-text {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  position: relative;
}

.walk-text h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.walk-text h2 em {
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.walk-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 48ch;
  opacity: 0.86;
}

.walk-text .eyebrow { color: var(--mute-on-ink); }

.walk-text .knight-button {
  align-self: flex-start;
}

.walk-photo {
  background: #111;
  position: relative;
  overflow: hidden;
}

.walk-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1) brightness(0.85);
}

.walk-stats {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.85;
}

.walk-stats strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* ---------- STATS GRID ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.stat {
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.stat:last-child { border-right: none; }

.stat-no {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.stat-no em {
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.stat-rule {
  width: 28px;
  height: 1px;
  background: var(--ink);
  margin-bottom: 0.25rem;
}

/* ---------- CTA / JOIN BANNER ---------- */
.cta {
  background: var(--paper);
  padding: clamp(5rem, 11vw, 10rem) 0;
  position: relative;
  text-align: center;
}

.cta-eyebrow { display: block; margin-bottom: 1.5rem; }

.cta h2 {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 500;
  line-height: 0.9;
}

.cta h2 em {
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.cta-sub {
  margin: 2rem auto 2.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  max-width: 36ch;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* button — knight-stamp style */
.knight-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.8rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  transition: background 0.25s ease, color 0.25s ease, padding 0.25s ease;
  cursor: pointer;
}

.knight-button .arrow {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.25s ease;
}

.knight-button .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.knight-button:hover { background: transparent; color: var(--ink); }
.knight-button:hover .arrow { width: 48px; }

.knight-button.is-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.knight-button.is-light:hover { background: transparent; color: var(--paper); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 7vw, 6rem) 0 2rem;
  border-top: 1px solid var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.footer-brand p { color: var(--mute-on-ink); font-size: 0.95rem; max-width: 30ch; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.25rem;
  color: var(--paper);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  color: var(--mute-on-ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute-on-ink);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-shield {
  position: absolute;
  right: var(--gutter);
  bottom: 5rem;
  width: 140px;
  opacity: 0.18;
  filter: invert(1) grayscale(1);
  pointer-events: none;
}

/* ---------- SUBPAGE HEADER ---------- */
.page-head {
  padding: calc(72px + clamp(4rem, 9vw, 7rem)) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--rule-strong);
  position: relative;
}

.page-head-grid {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: end;
}

.page-head h1 {
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.page-head h1 em {
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.page-head .eyebrow { margin-bottom: 1rem; display: block; }

.page-head-aside {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: right;
  align-self: end;
  padding-bottom: 0.8rem;
}

/* ---------- LONGFORM ARTICLE ---------- */
.article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 980px;
  margin: 0 auto;
}

.article-no {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 2.2rem;
  line-height: 0.85;
  color: var(--mute);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.article-body p {
  margin-bottom: 1.1rem;
  font-size: 1.13rem;
  line-height: 1.72;
}

.article-body .lede { margin-bottom: 1.5rem; }

.article-body h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 500;
}

.article-body ul { margin: 1rem 0 1.5rem 1.2rem; }
.article-body li { font-size: 1.05rem; line-height: 1.6; margin-bottom: 0.35rem; }

/* ---------- FOUNDERS LIST ---------- */
.founders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin-top: 1.5rem;
}

.founder {
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 400;
  background: var(--paper);
  transition: background 0.25s ease, color 0.25s ease;
}

.founder:hover { background: var(--ink); color: var(--paper); }
.founder:hover .founder-no { color: var(--mute-on-ink); }

.founder-no {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--mute);
  min-width: 24px;
  transition: color 0.25s ease;
}

/* ---------- HISTORY TIMELINE ---------- */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule-strong);
  margin-top: 3rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}

.timeline-date {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 1.3rem;
  color: var(--mute);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.timeline-body h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.timeline-body p { font-size: 1.02rem; }

/* ---------- ELIGIBILITY LIST ---------- */
.questions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin: 2rem 0;
}

.question {
  padding: 1.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.question-no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mute);
}

.question p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 1.2rem;
  line-height: 1.35;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* ---------- TIMELINE TAPE ---------- */
.timeline-tape {
  list-style: none;
  position: relative;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

/* Central rule that runs the height of the tape */
.timeline-tape::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--rule-strong);
  transform: translateX(-50%);
}

.tape-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  position: relative;
}

/* Notch on the central rule for each entry */
.tape-entry::before {
  content: '';
  position: absolute;
  top: clamp(2.5rem, 5vw, 4.5rem);
  left: 50%;
  width: 11px;
  height: 11px;
  background: var(--paper);
  border: 1px solid var(--ink);
  transform: translate(-50%, 0) rotate(45deg);
  z-index: 2;
}

.tape-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tape-year-side {
  text-align: right;
  padding-right: clamp(1rem, 2vw, 2rem);
}

.tape-content-side {
  padding-left: clamp(1rem, 2vw, 2rem);
}

/* On odd entries, swap sides */
.tape-entry:nth-child(even) .tape-year-side {
  order: 2;
  text-align: left;
  padding-right: 0;
  padding-left: clamp(1rem, 2vw, 2rem);
}
.tape-entry:nth-child(even) .tape-content-side {
  order: 1;
  padding-left: 0;
  padding-right: clamp(1rem, 2vw, 2rem);
  text-align: right;
}
.tape-entry:nth-child(even) .tape-photo,
.tape-entry:nth-child(even) .tape-kicker { justify-content: flex-end; }

.tape-year {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.tape-year-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 0.5rem;
}

.tape-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.25rem;
}

.tape-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

.tape-heading em {
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.tape-body p {
  font-size: 1.03rem;
  line-height: 1.6;
  max-width: 42ch;
}

.tape-entry:nth-child(even) .tape-body p { margin-left: auto; }

.tape-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5/4;
  margin-bottom: 0.5rem;
}

.tape-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08) brightness(0.94);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

.tape-photo:hover img {
  transform: scale(1.04);
  filter: grayscale(100%) contrast(1.18);
}

.tape-photo .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Special "in memoriam" entry — emotional weight */
.tape-entry.is-memoriam .tape-heading { font-style: italic; }
.tape-entry.is-memoriam::before { background: var(--ink); }

/* Bookends — start cap and end cap on the central rule */
.timeline-tape::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 28px;
  height: 28px;
  background: var(--ink);
  border-radius: 50%;
  transform: translateX(-50%);
}

.tape-startcap {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 0 1rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  z-index: 3;
}

@media (max-width: 760px) {
  .timeline-tape::before { left: 20px; }
  .timeline-tape::after { left: 20px; }
  .tape-startcap { left: 20px; transform: translateX(-50%); }
  .tape-entry { grid-template-columns: 1fr; gap: 1rem; padding-left: 48px; }
  .tape-entry::before { left: 20px; top: 1rem; }
  .tape-year-side,
  .tape-entry:nth-child(even) .tape-year-side { text-align: left; padding: 0; order: 0; }
  .tape-content-side,
  .tape-entry:nth-child(even) .tape-content-side { padding: 0; order: 1; text-align: left; }
  .tape-entry:nth-child(even) .tape-photo,
  .tape-entry:nth-child(even) .tape-kicker { justify-content: flex-start; }
  .tape-entry:nth-child(even) .tape-body p { margin-left: 0; }
  .tape-year { font-size: 4.5rem; }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: 0.47s; }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .col-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .founders { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-block; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 1.5rem var(--gutter);
    gap: 1.1rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav.is-open .nav-cta { display: inline-block; margin-top: 1rem; align-self: flex-start; }

  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; }
  .hero-left { padding: 2rem var(--gutter) 3rem; order: 2; }
  .hero-right { order: 1; aspect-ratio: 4/5; min-height: 60vh; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .hero-title { font-size: 22vw; }

  .col-2 { grid-template-columns: 1fr; }
  .col-3 { grid-template-columns: 1fr; }
  .col-4 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .roster { grid-template-columns: 1fr; }
  .editorial { grid-template-columns: 1fr; }
  .walk { grid-template-columns: 1fr; }
  .walk-photo { aspect-ratio: 16/10; min-height: 50vh; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .footer-top { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .questions { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; gap: 1rem; }
  .section-head, .page-head-grid { grid-template-columns: 60px 1fr; }
  .section-aside, .page-head-aside { display: none; }
}
