:root {
  --ink: #1f1f1f;
  --ink-soft: #404040;
  --green: #252525;
  --green-dark: #000000;
  --amber: #f30b13;
  --blue: #686868;
  --paper: #f7f7f7;
  --mist: #eeeeee;
  --white: #ffffff;
  --line: #d7d7d7;
  --muted: #666666;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.02;
}
h1 { font-size: clamp(3.5rem, 8vw, 7.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2.25rem, 5vw, 4.25rem); margin-bottom: 0; }
h3 { font-size: 1.45rem; letter-spacing: 0; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  width: max-content;
  font-weight: 700;
  text-decoration: none;
}
.brand-logo { display: block; width: 138px; height: 52px; object-fit: contain; object-position: left center; }
nav { display: flex; gap: 1.65rem; }
nav a { font-size: .88rem; font-weight: 600; text-decoration: none; }
.header-action {
  border: 1px solid rgba(255,255,255,.65);
  padding: .55rem .8rem;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: min(790px, 92vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image {
  background-image: url("assets/hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}
.hero-overlay { background: rgba(0, 0, 0, .66); }
.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 118px;
}
.hero-copy { max-width: 760px; font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-status {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100vw - var(--content)) / 2));
  bottom: 28px;
  display: flex;
  gap: 1.5rem;
  color: rgba(255,255,255,.84);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-status span + span { border-left: 1px solid rgba(255,255,255,.45); padding-left: 1.5rem; }
.eyebrow {
  margin-bottom: .75rem;
  color: var(--amber);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--green); }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--amber); color: var(--white); }
.button.secondary { border-color: rgba(255,255,255,.7); color: var(--white); background: rgba(0,0,0,.08); }
.button.light { background: var(--white); color: var(--green-dark); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.band {
  padding: 92px max(24px, calc((100vw - var(--content)) / 2));
}
.section-heading { max-width: 700px; }
.section-heading.compact { max-width: 580px; }
.purpose { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(3rem, 8vw, 8rem); background: var(--white); }
.purpose-copy { font-size: 1.12rem; color: var(--ink-soft); }

.flow { background: var(--mist); }
.process { 
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 4rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #aaaaaa;
}
.process li { position: relative; padding: 2rem 1.2rem 0 0; }
.process li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--green); }
.process span { display: block; margin-bottom: 1.2rem; color: var(--blue); font-size: .78rem; font-weight: 700; }
.process strong { display: block; margin-bottom: .6rem; font-size: 1.12rem; }
.process p { color: var(--muted); font-size: .92rem; }

.participation { background: var(--paper); }
.pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; }
.pathways article { min-height: 360px; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.pathways article:nth-child(1) { border-top: 5px solid var(--ink); }
.pathways article:nth-child(2) { border-top: 5px solid var(--amber); }
.pathways article:nth-child(3) { border-top: 5px solid #8b8b8b; }
.path-code { color: var(--muted); font-size: .78rem; font-weight: 700; }
.pathways ul { padding-left: 1.15rem; color: var(--muted); }
.pathways li { margin-bottom: .55rem; }

.controls { background: var(--ink); color: var(--white); }
.control-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 3.5rem; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.control-grid div { min-height: 180px; padding: 1.5rem; background: var(--ink); }
.control-grid strong { color: var(--amber); }
.control-grid p { margin-top: .8rem; color: #c7d2d5; }
.trace-note { max-width: 820px; margin: 2rem 0 0 auto; padding-left: 1rem; border-left: 3px solid var(--amber); color: #dbe3e4; }

.consultation {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  color: var(--white);
  background: #292929;
}
.consultation h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.consultation p { max-width: 760px; }

.inquiry { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 7rem); background: var(--white); }
.inquiry-intro { position: sticky; top: 36px; align-self: start; }
.inquiry-intro > p:not(.eyebrow) { font-size: 1.08rem; color: var(--muted); }
.inquiry dl { margin-top: 3rem; }
.inquiry dl div { padding: 1rem 0; border-top: 1px solid var(--line); }
.inquiry dt { font-weight: 700; }
.inquiry dd { margin: .3rem 0 0; color: var(--muted); }
.airtable-form-shell { min-width: 0; }
.airtable-form-shell iframe { width: 100%; min-height: 1120px; display: block; border: 1px solid var(--line); background: #fff; }
.form-fallback { margin: .8rem 0; color: var(--muted); font-size: .84rem; }
.form-fallback a { color: var(--green); font-weight: 700; }
form { min-width: 0; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label, legend { font-size: .86rem; font-weight: 700; }
input, select, textarea {
  display: block;
  width: 100%;
  margin: .4rem 0 1rem;
  padding: .8rem;
  border: 1px solid #aebbb7;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
fieldset { margin: 1rem 0 1.4rem; padding: 0; border: 0; }
legend { margin-bottom: .7rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
.choice-grid.classifications { grid-template-columns: repeat(4, 1fr); }
.choice-grid label {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
}
.choice-grid input, .check input { width: 18px; height: 18px; margin: 0 .65rem 0 0; accent-color: var(--green); flex: 0 0 auto; }
.check { display: flex; align-items: flex-start; margin: 1rem 0; font-weight: 500; }
.form-notice { padding: .9rem 1rem; background: #edf5f1; border-left: 3px solid var(--green); color: #244a40; font-size: .85rem; line-height: 1.55; }
.submit[disabled] { cursor: wait; opacity: .68; }
.submit { width: 100%; }
.form-result { min-height: 1.5rem; margin-top: .8rem; font-size: .9rem; font-weight: 600; color: var(--green); }
.form-result.error { color: #9a2e2e; }

footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 2rem;
  align-items: start;
  padding: 42px max(24px, calc((100vw - var(--content)) / 2));
  background: #111111;
  color: #c8d2d5;
  font-size: .82rem;
}
.footer-brand { display: flex; flex-direction: column; }
.footer-brand div { display: flex; align-items: center; gap: .55rem; margin-bottom: .25rem; }
.footer-brand img { width: 30px; height: 32px; object-fit: contain; }
.footer-brand strong { color: var(--white); }
footer a { color: var(--amber); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: 760px; }
  .hero-content { padding-bottom: 145px; }
  .purpose, .inquiry { grid-template-columns: 1fr; gap: 2.5rem; }
  .process { grid-template-columns: 1fr 1fr; border-top: 0; gap: 1.5rem; }
  .process li { border-top: 1px solid #9caeaa; }
  .pathways { grid-template-columns: 1fr; }
  .pathways article { min-height: auto; }
  .control-grid { grid-template-columns: 1fr 1fr; }
  .inquiry-intro { position: static; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { padding: 0 18px; gap: .8rem; }
  .brand span:last-child { max-width: 120px; line-height: 1.15; }
  .header-action { font-size: .72rem; padding: .5rem .6rem; }
  .hero { min-height: 710px; }
  .hero-content { width: calc(100% - 36px); padding-top: 130px; padding-bottom: 165px; }
  h1 { font-size: 3.5rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-status { left: 18px; right: 18px; bottom: 24px; flex-direction: column; gap: .45rem; }
  .hero-status span + span { padding-left: 0; border-left: 0; }
  .band { padding: 68px 18px; }
  .process, .control-grid, .form-row.two, .choice-grid, .choice-grid.classifications { grid-template-columns: 1fr; }
  .consultation { grid-template-columns: 1fr; gap: 1rem; }
  .consultation .button { width: 100%; }
  footer { padding: 38px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
