:root {
  --ink: #0b0b0d;
  --paper: #f4f0e6;
  --blue: #224cff;
  --blue-dark: #1738c6;
  --lime: #d8ff1f;
  --white: #fffdf6;
  --muted: #5d5b55;
  --line: #0b0b0d;
  --max: 1240px;
  --shadow: 8px 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  z-index: 99;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--lime); padding: 1rem; }
.skip-link:focus { left: 0; }
.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.topline {
  background: var(--lime);
  border-bottom: 2px solid var(--ink);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  overflow: hidden;
  white-space: nowrap;
  padding: .4rem 0;
}
.topline span { display: inline-block; animation: ticker 24s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.site-header { border-bottom: 3px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 50; }
.nav { min-height: 82px; display: flex; align-items: center; gap: 1.25rem; justify-content: space-between; }
.logo { display: inline-block; width: clamp(190px, 18vw, 245px); text-decoration: none; }
.logo img { width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem; font-size: .82rem; font-weight: 850; text-transform: uppercase; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-decoration-color: var(--blue); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .72rem 1rem;
  border: 2px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: .8rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.button:hover, .nav-cta:hover { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.button.blue { background: var(--blue); color: white; }
.button.ghost { background: transparent; }
.page-hero .button.ghost { color: var(--white); border-color: var(--white); }
.menu-button { display: none; background: none; border: 2px solid var(--ink); padding: .55rem .7rem; font-weight: 900; }

.hero { border-bottom: 3px solid var(--ink); padding: clamp(4rem, 9vw, 8rem) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); align-items: end; gap: 2rem; }
.eyebrow {
  display: inline-block;
  padding: .25rem .55rem;
  border: 2px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  font-weight: 950;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}
h1, h2, h3 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; text-transform: uppercase; line-height: .94; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(3.8rem, 10.4vw, 9.7rem); max-width: 12ch; }
.home h1 { font-size: clamp(4.6rem, 12.8vw, 11rem); }
h2 { font-size: clamp(2.5rem, 6.5vw, 5.6rem); max-width: 14ch; }
h3 { font-size: clamp(1.45rem, 3vw, 2.25rem); }
.hero-copy { max-width: 670px; margin: 1.4rem 0; font-size: clamp(1.05rem, 2vw, 1.32rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0 3rem; }
.hero-aside { border: 3px solid var(--ink); background: var(--blue); color: white; padding: 1.35rem; box-shadow: var(--shadow); margin-bottom: -3px; transform: rotate(1deg); }
.hero-aside .big { display: block; color: var(--lime); font-family: Impact, sans-serif; font-size: clamp(4rem, 8vw, 7rem); line-height: .85; }
.hero-aside p { margin-bottom: 0; }
.marquee {
  border-top: 3px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  padding: .8rem 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  letter-spacing: .02em;
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; border-bottom: 3px solid var(--ink); }
.section.blue { background: var(--blue); color: white; }
.section.lime { background: var(--lime); }
.section.ink { background: var(--ink); color: var(--white); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: start; margin-bottom: 3rem; }
.kicker { font-size: .75rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; border-top: 2px solid currentColor; padding-top: .6rem; }
.lead { font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 680px; margin: 1.2rem 0 0; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border: 2px solid var(--ink); background: var(--white); color: var(--ink); padding: 1.35rem; min-height: 100%; }
.card:nth-child(odd) { transform: rotate(-.3deg); }
.card:nth-child(even) { transform: rotate(.3deg); }
.card.blue-card { background: var(--blue); color: white; }
.card.lime-card { background: var(--lime); }
.card p:last-child { margin-bottom: 0; }
.card-num { display: inline-grid; place-items: center; width: 44px; height: 44px; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); font-family: Impact, sans-serif; font-size: 1.4rem; margin-bottom: 2rem; }
.link-arrow { font-size: .78rem; font-weight: 950; text-transform: uppercase; }
.link-arrow::after { content: " ↗"; }
.metric { border-top: 3px solid currentColor; padding-top: 1rem; }
.metric strong { display: block; color: var(--blue); font-family: Impact, sans-serif; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .9; }
.blue .metric strong, .ink .metric strong { color: var(--lime); }
.lime .metric strong { color: var(--blue); }

.page-hero { padding: clamp(3.5rem, 7vw, 6rem) 0; border-bottom: 3px solid var(--ink); background: var(--blue); color: white; }
.page-hero h1 { font-size: clamp(3.7rem, 9vw, 8rem); }
.page-hero .eyebrow { color: var(--ink); }
.breadcrumb { font-size: .75rem; font-weight: 800; text-transform: uppercase; margin-bottom: 2rem; }
.breadcrumb a { color: var(--lime); }
.prose-grid { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr); gap: clamp(2rem, 7vw, 7rem); }
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); margin: 3.5rem 0 1.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2.4rem 0 .7rem; }
.prose p { max-width: 68ch; }
.prose li { margin-bottom: .75rem; }
.side-note { position: sticky; top: 120px; align-self: start; border-top: 3px solid var(--ink); padding-top: 1rem; font-size: .9rem; }
.side-note strong { display: block; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; margin-bottom: .5rem; }
.callout { border: 3px solid var(--ink); background: var(--lime); color: var(--ink); padding: 1.5rem; box-shadow: var(--shadow); margin: 2rem 0; }
.callout.blue-callout { background: var(--blue); color: white; }
.callout h3 { margin-bottom: .6rem; }
table { width: 100%; border-collapse: collapse; margin: 2rem 0; background: var(--white); color: var(--ink); }
th, td { border: 2px solid var(--ink); padding: .85rem; text-align: left; vertical-align: top; }
th { background: var(--lime); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.steps { counter-reset: item; list-style: none; padding: 0; }
.steps li { counter-increment: item; border-top: 2px solid currentColor; padding: 1.2rem 0 1.2rem 4rem; position: relative; }
.steps li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; font-family: Impact, sans-serif; font-size: 2.2rem; color: var(--blue); }
.timeline { border-left: 3px solid var(--ink); padding-left: 2rem; }
.timeline article { position: relative; padding-bottom: 2.2rem; }
.timeline article::before { content: ""; position: absolute; left: calc(-2rem - 9px); top: 2px; width: 16px; height: 16px; background: var(--lime); border: 2px solid var(--ink); }
.timeline small { font-weight: 950; text-transform: uppercase; color: var(--blue); }
.faq { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); padding: 1.1rem 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 900; font-size: 1.12rem; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; font-family: Impact, sans-serif; font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { max-width: 70ch; }
.source-list { font-size: .86rem; border-top: 2px solid var(--ink); margin-top: 3rem; padding-top: 1rem; }
.source-list li { margin-bottom: .6rem; }

.team-photo { aspect-ratio: 4/5; object-fit: cover; width: 100%; border: 3px solid var(--ink); }
.person-card { position: relative; }
.person-card .tag { position: absolute; top: 1rem; left: -8px; background: var(--lime); border: 2px solid var(--ink); padding: .3rem .5rem; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.person-card h3 { margin-top: 1rem; }
.message-stack { display: grid; gap: .7rem; max-width: 640px; }
.bubble { max-width: 86%; border: 2px solid var(--ink); padding: .8rem 1rem; background: var(--white); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.bubble:nth-child(even) { margin-left: auto; background: var(--lime); }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; }
.contact-form { border: 3px solid var(--ink); background: var(--white); padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-weight: 900; text-transform: uppercase; font-size: .76rem; margin-bottom: .35rem; }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 2px solid var(--ink); background: var(--paper); padding: .8rem; border-radius: 0; }
.form-field [aria-invalid="true"] { border-color: #c00020; }
.form-error { color: #a50019; font-size: .8rem; font-weight: 700; }
.form-status { font-weight: 900; background: var(--lime); border: 2px solid var(--ink); padding: .75rem; }

.cta-band { background: var(--lime); border-bottom: 3px solid var(--ink); padding: clamp(3rem, 7vw, 6rem) 0; }
.cta-grid { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 2rem; }
.cta-grid h2 { font-size: clamp(3rem, 8vw, 7.5rem); }
.site-footer { background: var(--ink); color: var(--white); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .6fr); gap: 2rem; }
.footer-logo { display: inline-block; width: min(260px, 100%); margin-bottom: 1rem; }
.footer-logo img { width: 100%; height: auto; }
.footer-links { display: grid; gap: .55rem; font-size: .85rem; }
.footer-links strong { color: var(--lime); text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid #555; margin-top: 3rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; color: #bbb; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 82px; padding: 1rem; background: var(--paper); border-bottom: 3px solid var(--ink); }
  .nav-links.open { display: grid; }
  .nav-cta { display: none; }
  .hero-grid, .section-head, .prose-grid, .contact-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-aside { max-width: 480px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .side-note { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  h1, .home h1 { font-size: clamp(3.5rem, 18vw, 6rem); }
  .shell { width: min(calc(100% - 1.25rem), var(--max)); }
  th, td { padding: .55rem; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
