/* ============================================
   SHORTLEY — Shared Stylesheet
   Cream paper editorial aesthetic
   Used by all pages (home, projects, ideas, method, about, join)
   ============================================ */

:root {
  --bg: #f4f1ea;
  --bg-deep: #ebe6db;
  --bg-paper: #ffffff;
  --ink: #14110d;
  --ink-soft: #4a4540;
  --ink-faint: #8a847c;
  --line: #d4cec2;
  --line-strong: #b8b0a0;
  --accent: #a4391c;
  --accent-deep: #6e2410;
  --gold: #b08a3e;
  --gold-soft: #d4b878;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --max: 1240px;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper grain across entire site */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }

/* ============================================
   HEADER + NAV
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 18px clamp(24px, 4vw, 48px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(20, 17, 13, 0.12));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}

.brand small {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.nav a {
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.nav a.active::after,
.nav a:hover::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  padding: 12px 18px;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.header-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ============================================
   HERO (homepage)
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* Table Mountain silhouette as subtle background accent */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 600' preserveAspectRatio='xMidYMax slice'><path d='M0 540 L100 480 L180 470 L260 420 L340 410 L420 380 L500 360 L580 340 L640 290 L720 260 L800 240 L880 245 L960 230 L1040 250 L1120 270 L1200 260 L1280 280 L1360 300 L1440 320 L1520 360 L1600 400 L1600 600 L0 600 Z' fill='%2314110d'/><path d='M0 580 L80 560 L160 540 L260 520 L340 500 L440 490 L540 480 L640 470 L740 460 L840 460 L940 470 L1040 480 L1140 490 L1240 500 L1340 510 L1440 530 L1540 550 L1600 570 L1600 600 L0 600 Z' fill='%2314110d' opacity='0.6'/></svg>");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px clamp(24px, 4vw, 48px) 120px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin-bottom: 36px;
  max-width: 880px;
}

.hero h1 span {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.lede {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.45;
  margin-bottom: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.lede em { font-style: italic; color: var(--ink); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}

.button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.button.secondary:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

.origin {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.origin::before {
  content: '◇ ';
  color: var(--gold);
}

.origin strong {
  color: var(--accent);
  font-weight: 500;
  margin-left: 8px;
}

/* The Method card on hero */
.method-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 32px;
  position: relative;
  box-shadow: 0 8px 32px rgba(20, 17, 13, 0.06), 0 1px 3px rgba(20, 17, 13, 0.04);
}

.method-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  border-radius: 2px 0 0 2px;
}

.method-card-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.method-card-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.method-card ol {
  list-style: none;
  counter-reset: method;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.method-card li {
  position: relative;
  padding-left: 36px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.method-card li::before {
  counter-increment: method;
  content: counter(method, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.method-card strong {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 16px;
  letter-spacing: -0.01em;
}

.method-card strong::before {
  content: '↻  ';
  color: var(--gold);
  font-style: normal;
}

/* ============================================
   SECTIONS (homepage previews)
   ============================================ */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px clamp(24px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 780px;
}

.section h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.text-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.2s ease;
  white-space: nowrap;
  padding-bottom: 4px;
}

.text-link:hover { color: var(--accent-deep); }

/* Project cards (3-up on homepage) */
.cards {
  display: grid;
  gap: 20px;
}

.cards.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 32px rgba(20, 17, 13, 0.08);
}

.card .badge {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--bg);
  background: var(--accent);
  margin-bottom: 20px;
}

.card.macrolens .badge { background: var(--ink); }
.card.future .badge { background: var(--gold); }

.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.1;
}

.card h3 em { font-style: italic; color: var(--accent); }
.card.macrolens h3 em { color: var(--ink); }

.card .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
  transition: color 0.2s ease;
}

.card.future a { color: var(--gold); }
.card a:hover { color: var(--accent-deep); }

/* Ideas strip (4-up on homepage) */
.idea-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.idea-strip article {
  background: var(--bg-paper);
  padding: 28px 24px;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.idea-strip article:hover { background: var(--bg-deep); }

.idea-strip span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.idea-strip span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.idea-strip h3 {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 400;
}

.idea-strip p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.idea-strip small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Join bar (homepage CTA strip) */
.join-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px clamp(24px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: var(--ink);
  color: var(--bg);
  flex-wrap: wrap;
  border-radius: 4px;
  margin-bottom: 96px;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - clamp(48px, 8vw, 96px));
  position: relative;
  overflow: hidden;
}

.join-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
}

.join-bar p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  font-style: italic;
}

.join-bar p strong {
  font-style: normal;
  font-weight: 500;
  color: var(--gold-soft);
}

.join-bar .button.primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.join-bar .button.primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px clamp(24px, 4vw, 48px) 64px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 920px;
}

.page-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.page-hero > p {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-soft);
  max-width: 760px;
  line-height: 1.5;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.page-hero > p em { font-style: italic; color: var(--ink); }

/* ============================================
   CONTENT (inner pages)
   ============================================ */

.content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px clamp(24px, 4vw, 48px);
}

.content + .content { padding-top: 0; }

.content-grid {
  display: grid;
  gap: 24px;
}

.content-grid.two { grid-template-columns: 1fr 1fr; }
.content-grid.three { grid-template-columns: repeat(3, 1fr); }

.content-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 36px;
  position: relative;
}

.content-card .card-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}

.content-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.content-card h2 em { font-style: italic; color: var(--accent); }

.content-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.content-card p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.content-card p:last-child { margin-bottom: 0; }
.content-card p em { font-style: italic; color: var(--ink); }

/* Section heading inside content */
.content-heading {
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.content-heading .eyebrow { margin-bottom: 12px; }

.content-heading h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 800px;
}

.content-heading h2 em { font-style: italic; color: var(--accent); }

/* Long-form prose container (essays, method explanations) */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 24px;
}

.prose p em { font-style: italic; color: var(--accent); }

.prose p.lead-prose {
  font-size: 26px;
  line-height: 1.4;
  color: var(--ink);
}

.prose p.lead-prose::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 72px;
  line-height: 1;
  float: left;
  margin: 4px 12px 0 0;
  color: var(--accent);
  font-weight: 400;
}

.prose blockquote {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--bg-deep);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
}

.prose blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0;
}

/* ============================================
   METHOD PAGE — specific styling
   ============================================ */

.method-steps {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

.method-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.method-step:first-child { border-top: 1px solid var(--line); }

.method-step-num {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 12px;
}

.method-step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.method-step h3 em { font-style: italic; color: var(--accent); }

.method-step p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 680px;
}

.method-step p em { font-style: italic; color: var(--ink); }

/* The "Repeat" anchor at the end */
.method-anchor {
  margin-top: 32px;
  padding: 40px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 4px;
  text-align: center;
}

.method-anchor p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.method-anchor p strong {
  font-style: normal;
  font-weight: 500;
  color: var(--gold-soft);
}

/* ============================================
   PROJECTS PAGE — Learnable framework
   ============================================ */

.project-detail {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.project-detail:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.project-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.project-tagline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-tagline::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.project-detail.dev .project-tagline { color: var(--gold); }

.project-detail h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}

.project-detail h2 em { font-style: italic; color: var(--accent); }
.project-detail.dev h2 em { color: var(--gold); }

.project-subhead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.project-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  padding: 14px 20px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.project-link:hover { background: var(--accent); }

.project-detail.dev .project-link {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.project-body {
  max-width: 760px;
  margin-bottom: 32px;
}

.project-body p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 20px;
}

.project-body p em { font-style: italic; color: var(--accent); }

/* Learnable's CAPTURE/CLARIFY/PRIORITIZE/TRACK framework */
.framework {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.framework-step {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  padding: 20px 22px;
}

.framework-step .fw-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}

.framework-step .fw-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.framework-step .fw-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Future verticals grid */
.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 24px;
}

.future-cell {
  background: var(--bg-paper);
  padding: 28px 28px;
  transition: background 0.3s ease;
}

.future-cell:hover { background: var(--bg-deep); }

.future-name {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.future-domain {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================
   FORMS (Join page)
   ============================================ */

.form-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 48px;
  max-width: 680px;
  margin: 0 auto;
}

.form-card form {
  display: grid;
  gap: 24px;
}

.form-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-card .label-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.form-card input,
.form-card select,
.form-card textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s ease;
  font-family: var(--sans);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-card textarea { min-height: 140px; resize: vertical; font-family: var(--serif); }

.form-card .button.primary { justify-content: center; padding: 16px 24px; }

.form-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding: 16px;
  background: var(--bg-deep);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: 1px solid var(--line);
  padding: 60px clamp(24px, 4vw, 48px) 40px;
  background: var(--bg-deep);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand-block .brand { margin-bottom: 20px; }

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 320px;
  line-height: 1.4;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.footer-col-content {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2;
}

.footer-col-content a {
  color: var(--ink);
  transition: color 0.2s ease;
}

.footer-col-content a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.footer-bottom .ledger {
  color: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }
  .header-cta { display: none; }
  .nav { justify-self: end; }
  .hero-content { grid-template-columns: 1fr; gap: 56px; }
  .method-card { max-width: 480px; }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .idea-strip { grid-template-columns: 1fr 1fr; }
  .content-grid.three { grid-template-columns: 1fr 1fr; }
  .framework { grid-template-columns: 1fr 1fr; }
  .future-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    gap: 14px;
    border-top: 1px solid var(--line);
    margin-top: 16px;
  }
  .nav.open { display: flex; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 19px; }
  .brand small { font-size: 8.5px; }
  .hero-content { padding: 64px 24px 80px; }
  .section { padding: 64px 24px; }
  .page-hero { padding: 64px 24px 48px; }
  .content { padding: 56px 24px; }
  .cards.three,
  .idea-strip,
  .content-grid.two,
  .content-grid.three,
  .framework,
  .future-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .section-top, .project-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .project-header { grid-template-columns: 1fr; }
  .join-bar { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .method-step { grid-template-columns: 1fr; gap: 12px; }
  .form-card { padding: 32px 24px; }
}
