@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/karla-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/karla-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/karla-800.woff2') format('woff2');
}

:root {
  --ground: #0E3B43;
  --ground-soft: #123F48;
  --ground-line: rgba(247,243,232,0.14);
  --accent: #F2A541;
  --accent-ink: #4A2E05;
  --accent-dark: #D6871F;
  --accent-text: #8A4B0B;
  --paper: #F7F3E8;
  --paper-dim: #EFE8D6;
  --clay: #C1543A;
  --text-on-dark: #F7F3E8;
  --text-muted-on-dark: rgba(247,243,232,0.70);
  --text-on-light: #0E3B43;
  --text-muted-on-light: rgba(14,59,67,0.80);
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text-on-light);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--clay); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: 15.5px;
  padding: 15px 26px; border-radius: 999px; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 44px; border: none;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(214,135,31,0.35); }
.btn-ghost { background: transparent; color: var(--text-on-dark); border: 1.5px solid var(--ground-line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

nav.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14,59,67,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ground-line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 2px;
  color: var(--text-on-dark); font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em;
}
.brand:hover { color: var(--text-on-dark); }
.brand-mark { flex: none; }
.nav-links { display: none; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; color: var(--text-muted-on-dark); font-weight: 700; font-size: 14.5px; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px;
  background: var(--accent); transition: right 0.2s ease;
}
.nav-links a:hover { color: var(--text-on-dark); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: none; padding: 11px 20px; font-size: 14px; }
@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

.hero { position: relative; background: var(--ground); overflow: hidden; color: var(--text-on-dark); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 140%;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(242,165,65,0.20), transparent 60%),
    radial-gradient(45% 45% at 8% 92%, rgba(193,84,58,0.16), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(247,243,232,0.10) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.5; pointer-events: none;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 44px;
  padding-top: 76px; padding-bottom: 84px; align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 40px; padding-top: 92px; padding-bottom: 104px; }
}
.hero-headline { margin-top: 20px; font-size: clamp(38px, 6.6vw, 68px); font-weight: 800; }
.hero-headline .accent-word { color: var(--accent); }
.hero-sub { margin-top: 22px; font-size: 18px; line-height: 1.55; color: var(--text-muted-on-dark); max-width: 54ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 30px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-muted-on-dark); }
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

.shot-frame {
  border: 1.5px dashed rgba(247,243,232,0.35); border-radius: var(--radius-md);
  background: rgba(247,243,232,0.04); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 22px;
  color: var(--text-muted-on-dark);
}
.shot-frame .shot-icon { opacity: 0.85; }
.shot-frame .shot-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.shot-frame .shot-desc { font-size: 13px; line-height: 1.4; max-width: 26ch; }

.hero-shot { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.hero-shot .shot-frame { height: 100%; border-radius: var(--radius-lg); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; display: block; }
.hero-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,59,67,0) 55%, rgba(14,59,67,0.55) 100%);
  pointer-events: none;
}

section { padding-top: 88px; padding-bottom: 88px; }
.section-head { max-width: 640px; }
.section-head .eyebrow { color: var(--accent-text); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); margin-top: 10px; }
.section-head p { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--text-muted-on-light); }
.on-dark .section-head .eyebrow { color: var(--accent); }
.on-dark .section-head h2 { color: var(--text-on-dark); }
.on-dark .section-head p { color: var(--text-muted-on-dark); }

.mission-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 780px) { .mission-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.mission-body p { font-size: 18px; line-height: 1.68; color: var(--text-on-light); }
.mission-body p + p { margin-top: 18px; }
.system-card {
  background: var(--paper-dim); border: 1px solid rgba(14,59,67,0.12);
  border-radius: var(--radius-lg); padding: 26px; position: relative;
}
.system-card .system-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-muted-on-light); }
.system-clay-bar { margin-top: 16px; background: var(--clay); border-radius: var(--radius-md); padding: 20px 22px; }
.system-card p.system-line { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.3; color: #FFFFFF; }
.system-card .system-note { margin-top: 16px; font-size: 13.5px; line-height: 1.5; color: var(--text-muted-on-light); }

.philosophy { background: var(--ground); color: var(--text-on-dark); position: relative; overflow: hidden; }
.philosophy::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(247,243,232,0.07) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.thinker-grid { position: relative; margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .thinker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.thinker-card { background: var(--ground-soft); border: 1px solid var(--ground-line); border-radius: var(--radius-lg); padding: 28px 26px; transition: transform 0.2s ease, border-color 0.2s ease; }
.thinker-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.thinker-mark { width: 42px; height: 42px; border-radius: 50%; background: rgba(242,165,65,0.14); display: flex; align-items: center; justify-content: center; color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.thinker-name { margin-top: 18px; font-size: 19px; font-weight: 700; }
.thinker-years { margin-top: 2px; font-size: 12.5px; color: var(--text-muted-on-dark); }
.thinker-idea { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--text-muted-on-dark); }
.thinker-modern { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--ground-line); font-size: 14px; line-height: 1.5; color: var(--text-on-dark); font-weight: 600; }
.thinker-modern .tag { color: var(--accent); font-weight: 800; }

.content-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 700px) { .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.topic-card { background: #fff; border: 1px solid rgba(14,59,67,0.10); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.topic-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(14,59,67,0.14); }
.topic-shot { aspect-ratio: 16 / 10; background: var(--ground); }
.topic-shot .shot-frame { height: 100%; border-radius: 0; border-width: 0 0 1.5px 0; }
.topic-shot img { width: 100%; height: 100%; object-fit: cover; }
.topic-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.topic-tag-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.topic-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
a.topic-tag.topic-watch { color: var(--accent-text); }
a.topic-tag.topic-watch:hover { color: var(--clay); }
.topic-date { font-size: 11px; color: var(--text-muted-on-light); }
.topic-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-on-light); }
.topic-hook { font-size: 14.5px; line-height: 1.55; color: var(--text-muted-on-light); }
.feed-shot { aspect-ratio: 4 / 5; min-height: 0; overflow: hidden; }
.feed-shot img { object-position: center 30%; }
.feed-links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.feed-link { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid rgba(14,59,67,0.18); color: var(--text-on-light); font-size: 13.5px; font-weight: 700; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
.feed-link:hover { background: var(--ground); border-color: var(--ground); color: var(--accent); }
@media (max-width: 479px) { .feed-links:has(> :nth-child(4)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.follow { background: var(--paper-dim); }
.social-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.social-btn { display: flex; align-items: center; gap: 12px; background: var(--ground); color: var(--text-on-dark); border-radius: 999px; padding: 13px 22px 13px 16px; font-weight: 700; font-size: 14.5px; transition: transform 0.18s ease, background 0.18s ease; min-height: 44px; }
.social-btn:hover { background: #163D46; transform: translateY(-2px); color: var(--accent); }
.social-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(247,243,232,0.10); display: flex; align-items: center; justify-content: center; flex: none; }
.follow-note { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted-on-light); border: 1px dashed rgba(14,59,67,0.28); border-radius: 999px; padding: 8px 16px; }

footer { background: var(--ground); color: var(--text-muted-on-dark); }
.footer-inner { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 720px) { .footer-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.footer-tagline { margin-top: 10px; font-size: 14.5px; max-width: 40ch; line-height: 1.5; }
.footer-links { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted-on-dark); font-size: 13.5px; font-weight: 700; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ground-line); font-size: 12.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.wrap.footer-bottom { padding-left: 0; padding-right: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

.error-page {
  background: var(--ground);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
}
.error-page .error-title {
  color: var(--text-on-dark);
  font-size: clamp(32px, 6vw, 48px);
}
.error-page .error-sub {
  margin-top: 16px;
  color: var(--text-muted-on-dark);
  font-size: 17px;
}
.error-page .error-actions {
  margin-top: 32px;
}
