:root {
  --bg: #FFFFFF;
  --fg: #0A1930;
  --accent: #C8102E;
  --muted: #F4F5F7;
  --muted-2: #E7EAF0;
  --line: #D5D9E2;
  --max: 1180px;
  --font-head: 'Merriweather', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin: 0 0 1em; }
a { color: var(--fg); text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--fg); }
.brand-mark { width: 40px; height: 40px; color: var(--fg); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; }
.brand-sub { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); font-weight: 600; margin-top: 2px; }
.site-nav { display: none; gap: 1.8rem; font-size: 0.9rem; font-weight: 500; }
.site-nav a { position: relative; padding: 0.25rem 0; }
.site-nav a:hover { color: var(--accent); }

@media (min-width: 860px) {
  .site-nav { display: flex; }
}

/* Hero */
.hero {
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.hero h1 { max-width: 22ch; }
.lede {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 62ch;
  color: #2a3347;
  margin-top: 1.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-pattern { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; pointer-events: none; }
.hero-pattern svg { width: 100%; height: 100%; display: block; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid var(--fg);
  transition: all 0.15s ease;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #a80d26; border-color: #a80d26; }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--fg); color: #fff; }

/* Sections */
.section { padding: 5rem 0; }
.section-dark { background: var(--fg); color: #fff; }
.section-dark a, .section-dark .kicker { color: #fff; }
.section-dark .kicker { color: #ff8090; }
.section-muted { background: var(--muted); }
.section-contact { background: var(--fg); color: #fff; padding: 5rem 0 6rem; }

.section-head { max-width: 700px; margin-bottom: 3rem; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.section-intro { font-size: 1.05rem; color: #2a3347; }
.section-dark .section-intro { color: #c7ccd6; }

/* Grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1.8rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--fg); }
.card-icon { width: 60px; height: 60px; color: var(--fg); margin-bottom: 1rem; }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 0.5rem; }
.card-meta {
  margin-top: 1rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}

/* Mods list */
.mods-list { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .mods-list { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; } }
.mod { display: flex; gap: 1.2rem; align-items: flex-start; }
.mod-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--accent);
  border: 2px solid var(--accent);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mod h3 { color: #fff; }
.mod p { color: #c7ccd6; font-size: 0.95rem; }

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.split-visual { background: #f9fafb; border: 1px solid var(--line); padding: 1.5rem; }
.split-visual svg { width: 100%; height: auto; display: block; }

/* People */
.people .person {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.8rem;
}
.person-avatar { width: 72px; height: 72px; margin-bottom: 1rem; }
.person-avatar svg { width: 100%; height: 100%; display: block; }
.person-role { color: var(--accent); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 0.8rem; }

/* Beliefs */
.belief {
  border-left: 3px solid var(--accent);
  padding: 0.3rem 0 0.3rem 1.3rem;
}
.belief h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

/* Contact */
.contact-box h2 { color: #fff; }
.big-text { font-size: 1.15rem; max-width: 60ch; color: #c7ccd6; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid h4 { color: var(--accent); margin-bottom: 0.6rem; }
.contact-grid p { color: #c7ccd6; font-size: 0.95rem; }

/* Footer */
.site-footer {
  background: #060f1f;
  color: #c7ccd6;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 720px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-brand { display: flex; align-items: center; gap: 0.9rem; color: #fff; }
.footer-brand .brand-mark { color: #fff; }
.footer-name { font-family: var(--font-head); font-weight: 700; color: #fff; margin: 0; }
.footer-tag { margin: 0; font-size: 0.85rem; }
.footer-fine { margin: 0; font-size: 0.82rem; }

/* 404 */
.err-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}
.err-wrap .container { max-width: 600px; }
.err-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.err-svg { max-width: 260px; margin: 0 auto 2rem; }
.err-svg svg { width: 100%; height: auto; }
