:root {
  --ink: #f4f5f7;
  --muted: #aab0ba;
  --dim: #737b87;
  --night: #07090d;
  --night-2: #0d1118;
  --panel: rgba(18, 23, 31, 0.82);
  --line: rgba(255, 255, 255, 0.12);
  --amber: #f0b868;
  --teal: #77c8c0;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% -10%, rgba(66, 118, 126, 0.16), transparent 35rem),
    var(--night);
  font: 400 1rem/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: #081014;
  background: var(--teal);
  border-radius: .5rem;
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 13, 0.83);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 184, 104, .56);
  border-radius: 50%;
  color: var(--amber);
  box-shadow: inset 0 0 18px rgba(240, 184, 104, .08);
}

.brand-mark::after {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  padding: .55rem .8rem;
  color: var(--muted);
  border-radius: .55rem;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 650;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.07); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  width: 18px;
  height: 1px;
  display: block;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("remarkably-strange-hero.png") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5,7,10,.97) 0%, rgba(5,7,10,.84) 35%, rgba(5,7,10,.3) 69%, rgba(5,7,10,.2) 100%), linear-gradient(0deg, var(--night), transparent 28%);
}
.hero-content {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 7rem 0 8rem;
}
.eyebrow {
  margin: 0 0 1.3rem;
  color: var(--amber);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.05; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3.2rem, 8vw, 6.8rem); letter-spacing: -.045em; }
.hero-deck { max-width: 580px; margin: 1.8rem 0 0; color: #c9cdd4; font-size: clamp(1.08rem, 2vw, 1.32rem); }
.hero-note { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin-top: 2.3rem; color: var(--muted); font-size: .9rem; }
.hero-note span::before { content: "✦"; margin-right: .55rem; color: var(--teal); }

.section { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 6.5rem 0; }
.section-heading { max-width: 720px; margin-bottom: 2.8rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -.035em; }
.section-heading p { margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pillar {
  min-height: 310px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(150deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pillar-number { color: var(--dim); font-size: .78rem; letter-spacing: .14em; }
.pillar h3 { margin: 3rem 0 .7rem; font-size: 2rem; }
.pillar p { margin: 0; color: var(--muted); }
.pillar:nth-child(2) { transform: translateY(1.5rem); }
.pillar:nth-child(3) { border-color: rgba(119, 200, 192, .28); }

.manifesto { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.manifesto-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
.manifesto blockquote { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: 1.04; letter-spacing: -.035em; }
.manifesto-copy { color: var(--muted); font-size: 1.08rem; }
.manifesto-copy p:first-child { margin-top: 0; }

.social-strip { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 3rem; }
.social-strip h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.social-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  min-width: 145px;
  padding: .85rem 1rem;
  color: var(--ink);
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.social-link::after { content: "↗"; color: var(--amber); }
.social-link:hover, .social-link:focus-visible { border-color: rgba(240,184,104,.6); background: rgba(240,184,104,.08); }

.page-hero { width: min(calc(100% - 2rem), 900px); margin: 0 auto; padding: 8rem 0 4rem; }
.page-hero h1 { max-width: 880px; font-size: clamp(3rem, 8vw, 6.4rem); }
.page-hero .lead { max-width: 720px; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
.prose { width: min(calc(100% - 2rem), 760px); margin: 0 auto; padding: 2rem 0 7rem; color: #c9cdd4; }
.prose h2 { margin: 3.2rem 0 1rem; color: var(--ink); font-size: 2rem; }
.prose h3 { margin: 2.2rem 0 .7rem; color: var(--ink); font-size: 1.35rem; }
.prose a { color: var(--teal); }
.prose ul { padding-left: 1.25rem; }
.prose .legal-updated { color: var(--dim); font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.contact-card { padding: 1.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; }
.contact-card h2 { margin: 0 0 .65rem; font-size: 1.45rem; }
.contact-card p { margin: 0; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 2.2rem 0 2.6rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--dim);
  font-size: .88rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--ink); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 820px) {
  .menu-button { display: block; }
  .nav-links {
    position: absolute;
    inset: 74px 0 auto;
    display: none;
    padding: .75rem 1rem 1rem;
    background: rgba(7,9,13,.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links[data-open="true"] { display: grid; }
  .nav-links a { padding: .85rem 1rem; }
  .hero { min-height: 650px; }
  .hero::before { background-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, rgba(5,7,10,.95), rgba(5,7,10,.57)), linear-gradient(0deg, var(--night), transparent 35%); }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 240px; }
  .pillar:nth-child(2) { transform: none; }
  .manifesto-inner, .social-strip, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand { font-size: .92rem; }
  .hero-content { padding: 5.5rem 0 6.5rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .section { padding: 4.5rem 0; }
  .page-hero { padding: 6rem 0 3rem; }
  .social-link { min-width: 0; flex: 1 1 140px; }
}
