:root {
  --ink: #080b09;
  --paper: #f3eee3;
  --sage: #99b783;
  --sage-bright: #b6d99a;
  --gold: #b69b4b;
  --line: rgba(243, 238, 227, 0.18);
  --font-inter: "Inter";
  --font-display: "Special Elite";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-inter), Arial, sans-serif;
  overflow-x: hidden;
  min-width: 0;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--sage); color: var(--ink); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(to bottom, rgba(4,7,5,.7), transparent);
}
.brand, .footer-brand { display: flex; align-items: center; gap: 13px; font-weight: 700; letter-spacing: -.02em; }
.brand { min-width: 0; }
.brand > span:last-child { white-space: nowrap; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--sage);
  border-radius: 50% 50% 46% 54%;
  color: var(--sage-bright);
  font-family: var(--font-display), serif;
  transform: rotate(-4deg);
}
nav { display: flex; align-items: center; gap: 30px; flex-shrink: 0; font-size: 13px; }
nav a:not(.nav-cta) { color: rgba(255,255,255,.65); transition: color .2s; }
nav a:hover { color: #fff; }
.nav-cta { padding: 11px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px clamp(22px, 8vw, 130px) 120px;
  isolation: isolate;
}
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image {
  z-index: -3;
  background-image: url('assets/mmm-cover.png');
  background-size: cover;
  background-position: 54% center;
  filter: saturate(.85) contrast(1.06) brightness(.62);
  transform: scale(1.015);
}
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3,6,4,.96) 0%, rgba(3,6,4,.74) 36%, rgba(3,6,4,.1) 70%),
    linear-gradient(0deg, var(--ink) 0%, transparent 38%),
    linear-gradient(180deg, rgba(3,6,4,.64), transparent 30%);
}
.hero-copy { width: 100%; max-width: 760px; margin-top: 16px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: var(--sage-bright);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  font-weight: 700;
}
.eyebrow span { width: 26px; height: 1px; background: var(--sage-bright); }
h1, h2 { margin: 0; font-family: var(--font-display), Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(58px, 7.8vw, 118px); line-height: .88; text-wrap: balance; }
h1 em { color: var(--sage-bright); font-style: normal; }
.hero-lead { max-width: 570px; margin: 32px 0 0; color: rgba(255,255,255,.7); font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--sage-bright); color: var(--ink); }
.button.primary:hover { background: #c9e7b1; }
.button.ghost { border: 1px solid rgba(255,255,255,.24); background: rgba(0,0,0,.2); }
.hero-meta {
  position: absolute;
  right: clamp(22px, 5vw, 78px);
  bottom: 42px;
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-meta div { min-width: 128px; padding: 15px 24px 0 0; }
.hero-meta strong, .hero-meta span { display: block; }
.hero-meta strong { font-family: var(--font-display), serif; font-size: 20px; color: var(--sage-bright); }
.hero-meta span { margin-top: 4px; color: rgba(255,255,255,.48); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }

.section { padding: 120px clamp(22px, 8vw, 130px); }
.section-label { color: var(--sage); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 55px; }
.manifesto { background: var(--paper); color: var(--ink); }
.manifesto-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(50px, 9vw, 150px); align-items: start; }
.manifesto h2, .world h2, .signal h2 { font-size: clamp(48px, 6vw, 88px); line-height: .98; }
.manifesto-copy { border-left: 1px solid rgba(8,11,9,.18); padding-left: 38px; }
.manifesto-copy p { margin: 0 0 24px; font-size: 17px; line-height: 1.8; color: rgba(8,11,9,.68); }

.world { background: #0d110e; }
.world-heading { display: flex; justify-content: space-between; gap: 60px; align-items: end; }
.world-heading p { max-width: 400px; color: rgba(255,255,255,.52); line-height: 1.8; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { position: relative; min-height: 340px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, transform .25s; }
.pillar:hover { background: rgba(153,183,131,.08); transform: translateY(-5px); }
.pillar > span { color: var(--sage); font-family: var(--font-display), serif; font-size: 13px; }
.pillar h3 { margin: 98px 0 18px; font-family: var(--font-display), serif; font-size: 30px; font-weight: 400; }
.pillar p { color: rgba(255,255,255,.48); font-size: 13px; line-height: 1.7; }
.pillar i { position: absolute; right: 24px; bottom: 22px; color: var(--sage); font-style: normal; }

.signal { position: relative; overflow: hidden; text-align: center; background: #090c0a; min-height: 650px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.signal .eyebrow { margin-bottom: 28px; }
.signal > p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.52); line-height: 1.8; margin: 28px 0 32px; }
.signal-orbit { position: absolute; width: 700px; height: 700px; border: 1px solid rgba(153,183,131,.12); border-radius: 50%; pointer-events: none; }
.signal-orbit::before, .signal-orbit::after { content: ''; position: absolute; inset: 15%; border: 1px solid rgba(153,183,131,.1); border-radius: 50%; }
.signal-orbit::after { inset: 30%; }
.signal-orbit span { position: absolute; top: 50%; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--sage-bright); box-shadow: 0 0 20px var(--sage); }

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 55px clamp(22px, 5vw, 78px) 32px;
  border-top: 1px solid var(--line);
  background: #050706;
}
footer > p { text-align: center; color: rgba(255,255,255,.45); font-family: var(--font-display), serif; }
.footer-links { justify-self: end; display: flex; gap: 24px; font-size: 12px; }
.footer-links span { color: rgba(255,255,255,.35); }
footer small { grid-column: 1 / -1; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; color: rgba(255,255,255,.28); font-size: 10px; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .site-header { height: 74px; padding-inline: clamp(18px, 5vw, 70px); }
  .brand > span:last-child { font-size: clamp(12px, 2vw, 14px); overflow: hidden; text-overflow: ellipsis; }
  nav { gap: 10px; }
  .nav-cta { padding: 10px 13px; white-space: nowrap; }
  .hero { min-height: max(100svh, 680px); align-items: flex-end; padding: 118px clamp(22px, 6vw, 70px) 160px; }
  .hero-image { background-position: 60% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(3,6,4,.66) 0%, rgba(3,6,4,.16) 30%, rgba(3,6,4,.62) 68%, var(--ink) 100%); }
  .hero-meta { left: clamp(22px, 6vw, 70px); right: auto; bottom: 38px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-copy { padding-left: 22px; }
  .world-heading { display: block; }
  .world-heading p { margin-top: 30px; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { min-height: 285px; }
  .pillar h3 { margin-top: 65px; }
}

@media (max-width: 560px) {
  .site-header { height: 68px; padding-inline: 18px; }
  .brand { gap: 9px; max-width: 60%; }
  .brand > span:last-child { max-width: 42vw; font-size: 12px; }
  .brand-mark { width: 30px; height: 30px; font-size: 14px; }
  nav { gap: 7px; }
  .nav-cta { min-height: 40px; font-size: 0; padding: 9px 11px; }
  .nav-cta::after { content: 'X ↗'; font-size: 12px; }
  .hero { min-height: max(100svh, 650px); padding: 108px 18px 148px; }
  .hero-image { background-position: 61% center; }
  .hero-copy { margin-top: 0; }
  .eyebrow { gap: 8px; margin-bottom: 18px; font-size: 9px; letter-spacing: .16em; }
  .eyebrow span { width: 18px; }
  h1 { font-size: clamp(46px, 14.5vw, 70px); line-height: .9; letter-spacing: -.04em; }
  .hero-lead { margin-top: 22px; font-size: 15px; line-height: 1.5; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .button { width: 100%; min-height: 50px; padding-inline: 16px; gap: 14px; }
  .hero-meta { left: 18px; width: calc(100% - 36px); bottom: 26px; }
  .hero-meta div { flex: 1; min-width: 0; padding: 12px 8px 0 0; }
  .hero-meta strong { font-size: clamp(14px, 4.5vw, 18px); }
  .hero-meta span { font-size: 8px; letter-spacing: .1em; white-space: nowrap; }
  .section { padding: 78px 18px; }
  .section-label { margin-bottom: 34px; }
  .manifesto-grid { gap: 34px; }
  .manifesto h2, .world h2, .signal h2 { font-size: clamp(42px, 12.5vw, 64px); }
  .manifesto-copy { border-left: 0; border-top: 1px solid rgba(8,11,9,.18); padding: 24px 0 0; }
  .manifesto-copy p { font-size: 16px; line-height: 1.7; }
  .world-heading p { margin-top: 22px; font-size: 15px; }
  .pillar-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .pillar { min-height: 240px; padding: 22px; }
  .pillar h3 { margin: 54px 0 14px; font-size: 27px; }
  .pillar p { max-width: 28ch; }
  .signal { min-height: 560px; padding: 78px 18px; }
  .signal-orbit { width: min(700px, 170vw); height: min(700px, 170vw); }
  .signal > p:not(.eyebrow) { margin: 22px 0 28px; font-size: 15px; line-height: 1.65; }
  footer { grid-template-columns: 1fr; gap: 20px; padding: 44px 18px 28px; text-align: center; }
  .footer-brand, .footer-links { justify-self: center; }
  .footer-links { gap: 18px; flex-wrap: wrap; justify-content: center; }
  footer > p { margin: 4px 0; }
  footer small { grid-column: 1; line-height: 1.6; }
}

@media (max-width: 360px) {
  .brand { max-width: 56%; }
  .brand > span:last-child { max-width: 35vw; }
  h1 { font-size: 45px; }
  .hero-meta span { letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
