:root {
  /* Palette — pure white, ink black, flag crimson */
  --paper: #FFFFFF;
  --paper-2: #F5F5F2;
  --paper-deep: #EBEBE6;
  --card: #FFFFFF;

  --ink: #0A0A0A;
  --ink-2: #1F1D1A;
  --ink-dim: rgba(10, 10, 10, 0.66);
  --ink-dimmer: rgba(10, 10, 10, 0.40);

  --orange: #CF142B;
  --orange-deep: #A30E20;
  --orange-soft: #F5D8DC;

  --line: rgba(10, 10, 10, 0.14);
  --line-strong: rgba(10, 10, 10, 0.28);

  /* Type */
  --serif: "Inter", ui-sans-serif, system-ui, sans-serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  /* Space */
  --max: 960px;
  --pad: clamp(15px, 3vw, 42px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.dim { color: var(--ink-dim); }
.hand { font-family: var(--hand); font-size: 1.3em; color: var(--orange); font-weight: 500; }

/* ========== Paper grain overlay ========== */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.28;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.05 0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
.gridlines { display: none; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border-radius: 0;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--orange);
  color: #FFF5EE;
  border-color: var(--orange);
  box-shadow: 0 2px 0 0 var(--ink), 4px 4px 0 0 var(--ink);
}
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: 0 2px 0 0 var(--orange), 4px 4px 0 0 var(--orange); }
.btn-ghost { background: transparent; border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-lg { padding: 15px 26px; font-size: 15px; }

.linky {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  padding: 3px 0;
  border-bottom: 2px solid var(--orange);
  width: fit-content;
  transition: gap 0.2s ease;
}
.linky:hover { gap: 14px; }
.linky .arr { transition: transform 0.2s ease; color: var(--orange); font-weight: 600; }
.linky:hover .arr { transform: translateX(3px); }

/* ========== Nav ========== */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav.hidden {
  transform: translateY(-100%);
}
.nav-inner {
  padding: 8px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-logo {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  flex-shrink: 0;
  background: var(--card);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.brand-mark {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange);
  border-radius: 50%;
  color: var(--paper);
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-wordmark { display: inline-flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand-letters {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-dot { color: var(--orange); margin: 0 1px; font-weight: 600; }
.brand-sub { font-family: Arial, sans-serif; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }

.nav-links { display: flex; justify-content: center; gap: 30px; font-size: 14.5px; color: var(--ink-2); font-weight: 450; }
.nav-links a { position: relative; transition: color 0.2s ease; padding: 4px 0; }
.nav-links a:hover { color: var(--orange); }

.nav-cta { display: inline-flex; align-items: center; gap: 18px; }
.nav-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.1em;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(207, 20, 43, 0.55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(207, 20, 43, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(207, 20, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(207, 20, 43, 0); }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-status { display: none; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: clamp(50px, 7vw, 90px) var(--pad) clamp(60px, 8vw, 100px);
  max-width: var(--max);
  margin: 0 auto;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 48px);
  animation: logo-float 6s ease-in-out infinite;
}
.hero-logo img {
  width: clamp(130px, 15vw, 190px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--ink);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: none; }
}

.hero-meta {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 7px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
}
.tag-line {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.hand-intro {
  font-family: var(--hand);
  font-size: 32px;
  color: var(--orange);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 18px;
  display: inline-block;
  transform: rotate(-2deg);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(36px, 6.5vw, 100px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 auto;
  max-width: 15ch;
  color: var(--ink);
  font-weight: 600;
}
.hero-title em {
  font-style: italic;
  color: var(--orange);
  position: relative;
  font-weight: 700; font-style: italic;
}
.hero-title .encircle em {
  color: var(--ink);
}
.hero-title .underline {
  position: relative;
  display: inline-block;
}
.hero-title .underline::after {
  content: "";
  position: absolute; left: -2%; right: -2%; bottom: -0.05em;
  height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'><path d='M2 10 C 60 4, 120 14, 180 8 S 280 6, 298 12' stroke='%23CF142B' stroke-width='4' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
  pointer-events: none;
}

/* Hand-drawn encircle around an emphasis word */
.encircle {
  position: relative;
  display: inline-block;
  padding: 0 0.12em;
}
.encircle em {
  position: relative;
  z-index: 2;
}
.encircle-svg {
  position: absolute;
  top: -10%; left: -14%;
  width: 128%; height: 120%;
  overflow: visible;
  pointer-events: none;
  color: var(--orange);
  z-index: 1;
}
.encircle-svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: encircle-draw 2.4s cubic-bezier(0.43, 0.13, 0.23, 0.96) 0.55s forwards;
}
@keyframes encircle-draw {
  from { stroke-dashoffset: 1; opacity: 0.6; }
  to { stroke-dashoffset: 0; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .encircle-svg path { animation: none; stroke-dashoffset: 0; }
}

.hero-lede {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 450;
  line-height: 1.1;
  color: var(--ink);
  max-width: 58ch;
  margin: 40px auto 0;
  letter-spacing: -0.02em;
}
.hero-lede em {
  font-style: italic;
  color: var(--orange);
  font-weight: 450;
}

.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  margin-top: clamp(70px, 9vw, 110px);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  text-align: left;
  visibility: hidden;
}
.stat {
  padding: 26px 24px 22px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 10px;
}
.stat-plus { color: var(--orange); font-style: italic; font-size: 0.7em; vertical-align: top; }
.stat-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); line-height: 1.5; }
@media (max-width: 820px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Hero personal note card */
.hero-schematic {
  position: absolute;
  top: clamp(120px, 13vw, 180px);
  right: var(--pad);
  width: min(340px, 30vw);
  background: var(--card);
  border: 1.5px solid var(--ink);
  padding: 24px 24px 22px;
  transform: rotate(2deg);
  box-shadow: 6px 6px 0 0 var(--ink);
  z-index: 3;
}
.hero-schematic::before {
  content: ""; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 80px; height: 24px;
  background: rgba(207, 20, 43, 0.35);
  border: 1px dashed rgba(14, 13, 11, 0.3);
}
.schem-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; border-bottom: 1px dashed var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-dim);
  text-transform: uppercase;
}
.schem-body {
  padding-top: 14px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
}
.schem-body em {
  font-style: italic;
  color: var(--orange);
}
.schem-sign {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line);
  display: flex; flex-direction: column;
}
.schem-sign .signature {
  font-family: var(--hand);
  font-size: 28px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}
.schem-sign .sig-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

@media (max-width: 1100px) { .hero-schematic { display: none; } }

.scroll-cue {
  position: absolute; bottom: -20px; left: var(--pad);
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim);
}
.scroll-line {
  width: 80px; height: 2px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  opacity: 0.3;
}
.scroll-line::after {
  content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: var(--orange);
  animation: scroll 2.4s ease-in-out infinite;
}
@keyframes scroll {
  0%, 100% { left: -30%; }
  50% { left: 100%; }
}

/* ========== Marquee ========== */
.marquee-wrap {
  position: relative; z-index: 2;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
  padding: 22px 0;
  overflow: hidden;
}
.marquee { display: flex; overflow: hidden; }
.marquee-track {
  display: inline-flex; gap: 34px; align-items: center;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  color: var(--paper);
  letter-spacing: -0.01em;
  font-weight: 400;
}
.marquee-track .dot { color: var(--orange); font-size: 16px; font-style: normal; font-family: var(--sans); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== Section head ========== */
section { position: relative; z-index: 2; }
.sec-head {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(50px, 6.5vw, 90px) var(--pad) 38px;
  display: grid; gap: 22px;
}
.eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 22ch;
  color: var(--ink);
}
.sec-lede {
  max-width: 65ch;
  font-size: 17.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* ========== Mission ========== */
.mission {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad) clamp(60px, 7vw, 110px);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 5vw, 80px);
  padding-top: 10px;
}
.mission-lead p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 26px;
  letter-spacing: -0.015em;
}
.mission-lead strong {
  font-style: italic; color: var(--orange); font-weight: 450;
}

.pillars {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--card);
}
.pillars li {
  padding: 30px 26px 28px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars li:nth-child(2n) { border-right: none; }
.pillars li:nth-last-child(-n+2) { border-bottom: none; }
.pillar-num {
  color: var(--orange); font-size: 11px; letter-spacing: 0.14em;
  font-weight: 600;
}
.pillars li h3 {
  font-family: var(--serif); font-weight: 450; font-size: 21px;
  margin: 6px 0 2px; letter-spacing: -0.01em; line-height: 1.15;
}
.pillars li p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .mission-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .pillars li:last-child { border-bottom: none !important; }
}

/* ========== Programs ========== */
.programs { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(60px, 8vw, 110px); }

.program-list {
  display: grid; gap: 0;
  border: 1.5px solid var(--ink);
  margin-top: 44px;
  background: var(--card);
}
.program {
  padding: clamp(36px, 4vw, 56px);
  display: block;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.program:last-child { border-bottom: none; }
.program:hover { background: var(--paper); }
.program-num {
  color: var(--orange); font-size: 12px; letter-spacing: 0.14em;
  font-weight: 600;
  align-self: start;
  padding-top: 6px;
}
.program-body { max-width: 60ch; }
.program-topline {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.kind {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink);
  padding: 5px 10px;
  background: var(--orange-soft);
  border-radius: 999px;
  font-weight: 600;
}
.program h3 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(25px, 2.7vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.program-lede { color: var(--ink-2); font-size: 16px; line-height: 1.55; margin: 0 0 22px; }
.program-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.program-points li { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; color: var(--ink); }
.program-points .bul { color: var(--orange); font-weight: 700; }

/* Program visuals — warmer, more humanistic */
.program-vis {
  width: 100%; aspect-ratio: 1 / 1;
  position: relative;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.vis-label {
  position: absolute; bottom: 10px; left: 12px;
  color: var(--ink);
  font-size: 9.5px; letter-spacing: 0.2em;
  font-weight: 600;
}

/* Webinar — hand-drawn concentric circles */
.vis-ring {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
  opacity: 1;
}
.vis-ring { width: 28%; height: 28%; background: var(--orange); border-color: var(--ink); animation: ring 3s ease-out infinite; }
.vis-ring.r2 { width: 58%; height: 58%; animation-delay: 0.6s; background: transparent; opacity: 1; border-width: 1.5px; }
.vis-ring.r3 { width: 88%; height: 88%; animation-delay: 1.2s; background: transparent; opacity: 1; border-width: 1.5px; border-style: dashed; }
@keyframes ring {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.02); }
  100% { transform: scale(0.95); }
}
.vis-1::before {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink);
  z-index: 2;
}

/* Workshop — irregular cluster of people-dots */
.vis-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  width: 72%; height: 72%;
}
.vis-grid span {
  background: var(--ink);
  border-radius: 50%;
  animation: dot 3s ease-in-out infinite;
}
.vis-grid span:nth-child(4n) { background: var(--orange); }
.vis-grid span:nth-child(7n) { background: var(--paper); border: 1.5px solid var(--ink); }
.vis-grid span:nth-child(odd) { animation-delay: 0.2s; }
.vis-grid span:nth-child(3n) { animation-delay: 0.5s; }
@keyframes dot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.75); }
}

/* Kit — stacked paper/folders */
.vis-stack {
  position: relative; width: 68%; height: 68%;
}
.slab {
  position: absolute; inset: 0;
  border: 1.5px solid var(--ink);
  background: var(--card);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.slab.s1 { transform: translate(-20px, -14px) rotate(-6deg); background: var(--paper-2); }
.slab.s2 { transform: translate(-7px, -5px) rotate(-2deg); background: var(--orange-soft); }
.slab.s3 { transform: translate(7px, 5px) rotate(3deg); background: var(--card); }
.slab.s4 {
  transform: translate(20px, 14px) rotate(7deg); background: var(--orange);
  background-image:
    repeating-linear-gradient(45deg, rgba(14,13,11,0.14) 0 2px, transparent 2px 8px);
}
.program-3:hover .slab.s1 { transform: translate(-30px, -22px) rotate(-9deg); }
.program-3:hover .slab.s4 { transform: translate(30px, 22px) rotate(10deg); }

@media (max-width: 900px) {
  .program { grid-template-columns: 1fr; }
  .program-vis { max-width: 320px; aspect-ratio: 3/2; }
}

/* ========== Kits deep-dive ========== */
.kits {
  background: var(--paper-2);
  padding-bottom: clamp(60px, 8vw, 110px);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.kits-head { padding-bottom: 24px; }

.kit-anatomy {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
}
.anatomy-head {
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 20px;
  padding: 24px 28px;
  border: 1.5px solid var(--ink);
  border-bottom: none;
  background: var(--ink);
  color: var(--paper);
}
.anatomy-head .mono.dim { color: rgba(255, 255, 255, 0.55); }
.ana-title h3 {
  font-family: var(--serif); font-weight: 450;
  font-size: clamp(26px, 2.3vw, 34px); margin: 6px 0 0;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.ana-title h3 sup { font-size: 0.5em; color: var(--orange); margin-left: 2px; }
.ana-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
  color: var(--paper);
  font-weight: 500;
}
.chip-ok { color: var(--paper); background: var(--orange); border-color: var(--orange); }

.ana-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--card);
}
.ana-card {
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 360px;
  border-right: 1px solid var(--line);
  transition: background 0.25s ease;
}
.ana-card:last-child { border-right: none; }
.ana-card:hover { background: var(--paper); }
.ana-card-head { display: flex; align-items: center; justify-content: space-between; }
.ana-num {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 12px;
  font-family: var(--sans);
  letter-spacing: 0;
}
.ana-card h4 {
  font-family: var(--serif); font-weight: 450;
  font-size: 24px; line-height: 1.1; margin: 6px 0 2px;
  letter-spacing: -0.02em;
}
.ana-card > p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0; }

.ana-preview {
  margin-top: auto;
  position: relative;
  height: 140px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  overflow: hidden;
  padding: 14px;
}

/* Preview: game (neural net) */
.preview-game { display: flex; justify-content: space-between; align-items: center; padding: 20px 14px; }
.preview-game .game-layer { display: flex; flex-direction: column; gap: 6px; }
.preview-game .game-layer span {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
}
.preview-game .game-layer.game-hidden span { background: var(--ink); }
.preview-game .game-layer:last-of-type span.out {
  width: auto; height: auto; border: none; background: none;
  font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--orange); font-weight: 500;
  line-height: 1;
}
.game-tag { position: absolute; bottom: 8px; left: 12px; color: var(--orange); font-size: 9.5px; letter-spacing: 0.15em; font-weight: 600; }

/* Preview: slides */
.preview-slides { display: flex; gap: 7px; align-items: end; padding: 12px 14px 24px; }
.preview-slides .slide {
  flex: 1;
  background: var(--card);
  border: 1.5px solid var(--ink);
  padding: 8px 8px 10px;
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; gap: 6px;
}
.slide-head { height: 9px; background: var(--ink); width: 60%; }
.slide-head.s2 { background: var(--orange); width: 80%; }
.slide-head.s3 { background: var(--ink); width: 50%; }
.slide-l1, .slide-l2 { height: 2px; background: var(--line-strong); }
.slide-l1 { width: 100%; }
.slide-l2 { width: 70%; }
.preview-slides .slide:nth-child(2) { transform: translateY(-8px) rotate(1deg); }
.preview-slides .slide:nth-child(3) { transform: rotate(-1deg); }
.ana-pager { position: absolute; bottom: 8px; right: 12px; color: var(--ink-dim); font-size: 9.5px; letter-spacing: 0.15em; font-weight: 600; }

/* Preview: worksheet */
.preview-sheet { padding: 18px; display: grid; grid-template-columns: 1fr 18px; gap: 7px 10px; align-content: start; background: var(--card); }
.sheet-line { height: 2px; background: var(--line-strong); grid-column: 1; }
.sheet-line.w70 { width: 70%; }
.sheet-line.w50 { width: 50%; }
.sheet-line.w80 { width: 80%; }
.sheet-box { width: 16px; height: 16px; border: 1.5px solid var(--ink); grid-column: 2; position: relative; }
.sheet-box .check {
  position: absolute; inset: 2px;
  background: var(--orange);
  clip-path: polygon(14% 48%, 0% 62%, 38% 100%, 100% 18%, 82% 4%, 38% 66%);
}

/* Preview: map — constellation with hand-drawn feel */
.preview-map { padding: 0; }
.preview-map .pin {
  position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1.5px var(--ink);
}
.preview-map .p1 { top: 30%; left: 14%; }
.preview-map .p2 { top: 20%; left: 40%; background: var(--orange); }
.preview-map .p3 { top: 50%; left: 66%; }
.preview-map .p4 { top: 28%; left: 86%; background: var(--orange); }
.preview-map .p5 { top: 76%; left: 52%; }
.preview-map .p6 { top: 80%; left: 78%; background: var(--orange); }
.preview-map .map-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: var(--ink);
  opacity: 0.5;
  stroke-dasharray: 1 1.2;
}

.ana-foot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding: 24px 28px;
  border: 1.5px solid var(--ink);
  border-top: none;
  background: var(--card);
}

@media (max-width: 1000px) {
  .ana-grid { grid-template-columns: repeat(2, 1fr); }
  .ana-card:nth-child(2) { border-right: none; }
  .ana-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .ana-grid { grid-template-columns: 1fr; }
  .ana-card { border-right: none; border-bottom: 1px solid var(--line); }
  .ana-card:last-child { border-bottom: none; }
}

/* ========== Kit library ========== */
.kit-library { max-width: var(--max); margin: 0 auto; padding: clamp(50px, 6vw, 80px) var(--pad) 0; }
.lib-head {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px;
  margin-bottom: 28px;
}
.lib-head h3 {
  font-family: var(--serif); font-weight: 450; font-size: clamp(28px, 3vw, 38px); margin: 0;
  letter-spacing: -0.02em;
}
.lib-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 14px;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.filter:hover { background: var(--paper-deep); }
.filter.active { background: var(--ink); color: var(--paper); }

.lib-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--card);
}
.kit-card {
  padding: 26px 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  min-height: 230px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kit-card:hover { background: var(--paper); }
.kit-card:nth-child(3n) { border-right: none; }
.kit-card:nth-last-child(-n+3) { border-bottom: none; }
.kit-card.kit-featured {
  background: var(--ink); color: var(--paper);
}
.kit-card.kit-featured:hover { background: #1f1c16; }
.kit-card.kit-featured .mono.dim { color: rgba(255, 255, 255, 0.5); }
.kit-card.kit-featured .kit-cat { color: var(--orange); }
.kit-card.kit-featured > p { color: rgba(255, 255, 255, 0.7); }
.kit-card.kit-featured .kit-foot { border-color: rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.55); }
.kit-card.kit-featured .kit-arr { color: var(--orange); }

.kit-card-top { display: flex; justify-content: space-between; align-items: center; }
.kit-cat {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange); font-weight: 700;
}
.kit-card h4 {
  font-family: var(--serif); font-weight: 450;
  font-size: 23px; line-height: 1.1; margin: 2px 0 0;
  letter-spacing: -0.02em;
}
.kit-card h4 sup { font-size: 0.5em; color: var(--orange); }
.kit-card > p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0; flex: 1; }
.kit-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px dashed var(--line);
  color: var(--ink-dim);
  font-size: 10.5px;
}
.kit-arr { color: var(--orange); transition: transform 0.2s ease; font-size: 14px; font-weight: 600; }
.kit-card:hover .kit-arr { transform: translateX(4px); }

@media (max-width: 900px) {
  .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .kit-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .kit-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .lib-grid { grid-template-columns: 1fr; }
  .kit-card { border-right: none !important; }
}

/* ========== Resources ========== */
.resources { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(60px, 8vw, 110px); }
.res-columns {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--card);
  margin-top: 44px;
}
.res-col { padding: clamp(28px, 3vw, 40px); border-right: 1px solid var(--line); }
.res-col:last-child { border-right: none; }
.res-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.res-head h3 {
  font-family: var(--serif); font-weight: 450; font-size: 28px; margin: 6px 0 0;
  letter-spacing: -0.02em;
}

.res-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.res-list li { position: relative; }
.res-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.res-item-head h4 { font-family: var(--sans); font-weight: 500; font-size: 15px; margin: 0; letter-spacing: -0.01em; }
.res-list p { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

@media (max-width: 900px) {
  .res-columns { grid-template-columns: 1fr; }
  .res-col { border-right: none; border-bottom: 1px solid var(--line); }
  .res-col:last-child { border-bottom: none; }
}

/* ========== Events ========== */
.events { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(60px, 8vw, 110px); }
.event-list {
  display: grid; gap: 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  margin-top: 24px;
}
.event {
  padding: clamp(26px, 3vw, 40px) var(--pad);
  display: grid;
  grid-template-columns: 110px 1fr 240px;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  transition: background 0.25s ease, padding-left 0.25s ease;
  position: relative;
  margin: 0 calc(var(--pad) * -1);
  border-bottom: 1px solid var(--line);
}
.event:last-child { border-bottom: none; }
.event:hover {
  background: var(--card);
  padding-left: calc(var(--pad) + 10px);
}
.event-date {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
}
.e-day {
  font-family: var(--serif); font-size: clamp(46px, 4.8vw, 72px); line-height: 0.9;
  letter-spacing: -0.04em; color: var(--ink); font-weight: 450;
}
.e-mo { font-size: 11px; color: var(--orange); letter-spacing: 0.18em; font-weight: 700; }
.event-body h3 {
  font-family: var(--serif); font-weight: 450; font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18; margin: 10px 0 6px; letter-spacing: -0.015em;
}
.event-body h3 em { color: var(--orange); font-style: italic; }
.event-body p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0; max-width: 60ch; }
.event-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 5px 10px;
  background: var(--orange-soft); color: var(--ink);
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
}
.event-tag.tag-live { background: var(--ink); color: var(--paper); }
.event-tag.tag-drop { background: var(--orange); color: var(--paper); }
.event-meta {
  display: flex; flex-direction: column; gap: 6px; text-align: right;
  color: var(--ink); font-weight: 500;
  align-self: start;
  padding-top: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
}
.e-reg { color: var(--orange); margin-top: 8px; transition: transform 0.2s ease; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.event:hover .e-reg { transform: translateX(4px); }

@media (max-width: 900px) {
  .event { grid-template-columns: 80px 1fr; }
  .event-meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; text-align: left; padding-top: 0; }
}

/* ========== Voices ========== */
.voices { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(60px, 8vw, 110px); }
.voice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 44px;
}
.voice {
  background: var(--card);
  padding: 30px 28px;
  margin: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 320px;
  border: 1.5px solid var(--ink);
  position: relative;
  transition: transform 0.3s ease;
}
.voice.v1 { transform: rotate(-1deg); }
.voice.v2 { transform: rotate(0.5deg); margin-top: 16px; }
.voice.v3 { transform: rotate(-0.5deg); }
.voice:hover { transform: rotate(0) translateY(-4px); box-shadow: 4px 4px 0 0 var(--ink); }

.voice blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.6vw, 23px);
  line-height: 1.35;
  margin: 0 0 28px;
  letter-spacing: -0.015em;
  color: var(--ink);
  position: relative;
}
.voice blockquote::before {
  content: "“";
  display: block;
  font-size: 54px; line-height: 0.6; color: var(--orange);
  margin-bottom: 8px;
  font-family: var(--serif);
  font-weight: 450;
}
.voice figcaption { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1.5px solid var(--ink); }
.voice figcaption::before {
  content: ""; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  box-shadow: inset 3px 3px 0 0 rgba(14,13,11,0.15);
}
.voice.v2 figcaption::before { background: var(--ink); }
.voice.v3 figcaption::before { background: var(--paper-deep); border: 1.5px solid var(--ink); }
.v-name { font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; display: block; }
.v-meta { color: var(--ink-dim); font-size: 10.5px; letter-spacing: 0.1em; display: block; margin-top: 2px; }

@media (max-width: 900px) { .voice-grid { grid-template-columns: 1fr; } .voice { transform: none !important; margin-top: 0 !important; } }

/* ========== Current Mission ========== */
.current-mission {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(50px, 6.5vw, 90px) var(--pad) 0;
  text-align: center;
}
.current-mission > h2:first-child {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 450;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 clamp(40px, 5vw, 60px);
  letter-spacing: -0.02em;
}
.current-mission > h2:first-child em {
  font-style: italic;
  color: var(--orange);
  font-weight: 450;
}

/* ========== CSI Hacks ========== */
.hacks-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  border: 1.5px solid var(--ink);
  background: var(--card);
  padding: clamp(50px, 6.5vw, 90px) var(--pad);
  margin: 0 auto clamp(60px, 8vw, 100px);
  max-width: var(--max);
}
.hacks-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto;
}
.hacks-head h2 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.hacks-tagline {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-style: italic;
  color: var(--orange);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.hacks-subtitle {
  font-size: 18px;
  color: var(--ink-2);
  margin: 0;
  letter-spacing: 0.02em;
}

.hacks-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
}
.hack-detail {
  background: var(--card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.hack-detail:last-child { border-right: none; }
.hack-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
}
.hack-value {
  font-family: var(--serif);
  font-weight: 450;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.4;
}

.hacks-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
}
.hack-feature {
  background: var(--paper-2);
  padding: 28px 24px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
}
.hack-feature h4 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: 20px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.hack-feature p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.hacks-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.hacks-note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

@media (max-width: 900px) {
  .hacks-info { grid-template-columns: 1fr; }
  .hack-detail { border-right: none; border-bottom: 1px solid var(--line); }
  .hack-detail:last-child { border-bottom: none; }
  .hacks-features { grid-template-columns: 1fr; }
}

/* ========== Join / CTA ========== */
.join {
  background: var(--ink);
  color: var(--paper);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: clamp(50px, 6.5vw, 90px) 0;
}
.join-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.join-copy { max-width: 60ch; margin-bottom: 52px; }
.join-copy .eyebrow { color: var(--orange); }
.join-title {
  font-family: var(--serif); font-weight: 450;
  font-size: clamp(30px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 20px 0 22px;
  color: var(--paper);
}
.join-title em { color: var(--orange); font-style: italic; }
.join-copy p { color: rgba(255, 255, 255, 0.78); font-size: 17.5px; line-height: 1.55; margin: 0; max-width: 60ch; }

.join-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1.5px solid var(--paper);
  margin-bottom: 64px;
}
.join-card {
  background: var(--ink);
  padding: 36px 30px;
  display: flex; flex-direction: column; gap: 12px;
  color: var(--paper);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease;
  min-height: 280px;
}
.join-card:last-child { border-right: none; }
.join-card:hover { background: #1a1712; }


.jc-head { display: flex; justify-content: space-between; align-items: center; }
.jc-head .mono.dim { color: rgba(255, 255, 255, 0.55); }
.jc-arr { color: var(--orange); font-size: 22px; transition: transform 0.3s ease; }
.join-card:hover .jc-arr { transform: translate(4px, -4px) rotate(10deg); }
.join-card h3 {
  font-family: var(--serif); font-weight: 450; font-size: 30px;
  margin: 6px 0 2px; letter-spacing: -0.02em; color: var(--paper);
}
.join-card p { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; flex: 1; }

.join-card .linky {
  color: var(--paper); border-color: var(--orange);
}
.join-card .linky .arr { color: var(--orange); }

@media (max-width: 900px) {
  .join-cards { grid-template-columns: 1fr; }
  .join-card { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .join-card:last-child { border-bottom: none; }
}

/* Contact form */
.contact {
  margin-top: 24px; padding: 40px 36px;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--paper);
}
.contact-head { margin-bottom: 28px; }
.contact-head h3 {
  font-family: var(--serif); font-weight: 450; font-size: clamp(30px, 3.2vw, 42px);
  margin: 8px 0 0; letter-spacing: -0.025em; color: var(--ink);
}
.contact-head h3 em { color: var(--orange); font-style: italic; }
.contact-head .mono.dim { color: var(--ink-dim); }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label.full { grid-column: 1 / -1; }
.contact-form label > .mono { color: var(--ink-dim); }
.contact-form input, .contact-form select, .contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--ink);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
  border-radius: 0;
}
.contact-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); }
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--ink-dimmer); }

.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 10px; }
.form-foot .mono.dim { color: var(--ink-dim); }
.form-ack { grid-column: 1 / -1; color: var(--orange); margin: 0; padding-top: 12px; border-top: 1px dashed var(--line); font-weight: 600; }

@media (max-width: 700px) { .contact-form { grid-template-columns: 1fr; } }

/* ========== Footer ========== */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(50px, 6vw, 90px) var(--pad) 32px;
  position: relative; z-index: 2;
}
.footer-top {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 70px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.foot-brand .brand { margin-bottom: 20px; }
.foot-tag {
  font-family: var(--serif); font-style: italic; color: var(--ink-2);
  font-size: 20px; max-width: 32ch; margin: 0;
  letter-spacing: -0.01em;
}
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.foot-col h5 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--orange); font-weight: 700;
  margin: 0 0 14px;
}
.foot-col a {
  display: block; color: var(--ink-2); font-size: 14.5px;
  padding: 4px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.foot-col a:hover { color: var(--orange); padding-left: 6px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  color: var(--ink-dim);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Reveal on scroll ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Selection */
::selection { background: var(--orange); color: var(--paper); }
::-moz-selection { background: var(--orange); color: var(--paper); }
