/* Brach for RPV — Block direction.
   Colour tokens are the only thing that differs between the two sites. */

:root {
  --ground: #F6F4EC;
  --ground-2: #EDEADF;
  --panel: #FFFFFF;
  --ink: #082A6B;
  --ink-2: #41536F;
  --ink-3: #6C7C93;
  --accent: #1F7A15;
  --accent-2: #2F9E1F;
  --band: #082A6B;
  --band-ink: #FFFFFF;
  --hairline: rgba(8, 42, 107, 0.16);
  --btn-bg: #082A6B;
  --btn-ink: #FFFFFF;
  --btn-bg-hover: #051D4C;
  --btn2-ink: #082A6B;
  --focus: #1F7A15;
  --field: #FFFFFF;
  --field-ink: #082A6B;
  --field-border: rgba(8,42,107,0.3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

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

img, svg { max-width: 100%; }

.shell { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.15rem, 4vw, 2.5rem); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--band); color: var(--band-ink);
  padding: 0.75rem 1.2rem; z-index: 100;
}
.skip:focus { left: 0; }

.display { font-family: "Archivo Black", "Helvetica Neue", Impact, sans-serif; letter-spacing: -0.025em; line-height: 0.88; }
.cond { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.6875rem; letter-spacing: 0.13em; text-transform: uppercase; }

/* ---------------- nav ---------------- */

.nav { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: 1px solid var(--hairline); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 76px; padding: 0.6rem 0; }

.nav-mark { display: flex; flex-direction: column; gap: 1px; text-decoration: none; flex: none; }
.nav-mark .n1 { font-family: "Archivo Black", Impact, sans-serif; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.nav-mark .n2 { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-2); text-decoration: none;
  padding: 0.25rem 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent-2); }

@media (max-width: 900px) { .nav-links { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--btn-bg); color: var(--btn-ink); text-decoration: none;
  font-weight: 600; font-size: 1rem; padding: 0.72rem 1.35rem;
  border: 2px solid var(--btn-bg); border-radius: 2px; white-space: nowrap;
  cursor: pointer; font-family: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); }
.btn-ghost { background: transparent; color: var(--btn2-ink); border-color: currentColor; }
.btn-ghost:hover { background: transparent; border-color: var(--accent-2); color: var(--accent-2); }
.btn-lg { font-size: 1.075rem; padding: 0.95rem 1.9rem; }
.btn-light { background: #fff; color: #082A6B; border-color: #fff; }
.btn-light:hover { background: #E7EEF9; border-color: #E7EEF9; }

/* ---------------- mobile nav ---------------- */

.nav-toggle { display: none; }
.nav-drawer { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; border: 2px solid var(--hairline); border-radius: 2px;
    color: var(--ink); font: inherit; font-size: 0.95rem; font-weight: 600;
    padding: 0.5rem 0.85rem; cursor: pointer;
  }
  .nav-drawer { border-top: 1px solid var(--hairline); padding: 0.5rem 0 1.2rem; }
  .nav-drawer.open { display: block; }
  .nav-drawer a {
    display: block; padding: 0.7rem 0; color: var(--ink-2); text-decoration: none;
    font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 1.15rem;
    letter-spacing: 0.07em; text-transform: uppercase; border-bottom: 1px solid var(--hairline);
  }
  .nav-drawer a[aria-current="page"] { color: var(--ink); }
}

/* Below this the wordmark + CTA + Menu stop fitting on one row. The CTA
   lives in the drawer and on every page, so the header drops it. */
@media (max-width: 560px) {
  .nav-in > .btn { display: none; }
}

/* ---------------- hero ---------------- */

.hero { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 7vw, 5.5rem); }
.hero-in { position: relative; z-index: 2; padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero.center .hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }

.kicker { color: var(--accent); font-size: clamp(0.9rem, 2.4vw, 1.15rem); }
.hero h1 { margin: 0.5rem 0 0; font-size: clamp(4rem, 16vw, 12rem); color: var(--ink); }
.hero .office { margin-top: clamp(1rem, 2.5vw, 1.6rem); font-size: clamp(1.05rem, 3vw, 1.85rem); color: var(--ink); }
.hero .slogan { margin: clamp(1.3rem, 3vw, 2rem) 0 0; font-size: clamp(1.6rem, 5vw, 3rem); font-style: italic; color: var(--ink); line-height: 1.1; }
.hero-date { margin-top: clamp(1.4rem, 3vw, 2rem); color: var(--ink-3); }

.rule-diamond { display: flex; align-items: center; gap: 1rem; width: min(520px, 100%); margin: 1.4rem 0 0; }
.rule-diamond i { flex-grow: 1; height: 4px; background: var(--accent-2); }
.rule-diamond b { width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); }

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: clamp(1.7rem, 4vw, 2.5rem); }
.hero.center .actions { justify-content: center; }

.wave { display: block; width: 100%; height: auto; }

/* ---------------- page header (inner pages) ---------------- */

.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--hairline); }
.page-head h1 { margin: 0.6rem 0 0; font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.02em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
.page-head .lede { margin-top: 1.1rem; }

/* ---------------- sections ---------------- */

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band { background: var(--band); color: var(--band-ink); }
.band h2, .band .mono, .band p, .band .lede { color: var(--band-ink); }
.panel { background: var(--panel); }

.sec-head { max-width: 66ch; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
h2 { margin: 0.6rem 0 0; font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(1.8rem, 4.6vw, 2.85rem); letter-spacing: -0.02em; line-height: 1.03; color: var(--ink); text-wrap: balance; }
h3 { margin: 0; font-size: 1.28rem; font-weight: 700; color: var(--ink); }

p { margin: 0; }
.lede { font-size: clamp(1.08rem, 2.5vw, 1.28rem); color: var(--ink-2); max-width: 62ch; }
.prose { display: flex; flex-direction: column; gap: 1.15rem; max-width: 62ch; font-size: 1.115rem; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.band .prose { color: rgba(255, 255, 255, 0.92); }
.band .prose strong { color: #fff; }

/* ---------------- issues ---------------- */

.issues { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.issue { background: var(--ground); padding: 1.8rem 1.6rem 2rem; display: flex; flex-direction: column; gap: 0.65rem; }
.panel .issue { background: var(--panel); }
.issue p { color: var(--ink-2); font-size: 1.02rem; }
.issue .mono { color: var(--accent); }

/* ---------------- record ---------------- */

.record { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .record { grid-template-columns: 1.1fr 0.9fr; } }

.roles { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.roles li { display: flex; flex-direction: column; gap: 0.15rem; padding: 1.15rem 0; border-top: 1px solid var(--hairline); }
.roles li:last-child { border-bottom: 1px solid var(--hairline); }
.roles .role { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.roles .org { color: var(--ink-2); font-size: 1.02rem; }

.approach { display: flex; flex-direction: column; gap: 1.2rem; }
.approach .step { display: flex; gap: 1rem; align-items: baseline; }
.approach .num { font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; color: var(--accent); flex: none; }
.approach .txt { color: var(--ink-2); font-size: 1.115rem; }
.approach .txt b { color: var(--ink); font-weight: 600; }

/* ---------------- form ---------------- */

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1.15fr 0.85fr; } }

form { display: flex; flex-direction: column; gap: 1.1rem; max-width: 34rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--field-ink); background: var(--field);
  border: 1px solid var(--field-border); border-radius: 2px; padding: 0.7rem 0.85rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.checks { display: flex; flex-direction: column; gap: 0.6rem; }
.check { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--ink-2); }
.check input { margin-top: 0.35rem; width: 1.05rem; height: 1.05rem; accent-color: var(--accent-2); flex: none; }
.form-note { font-size: 0.9rem; color: var(--ink-3); max-width: 34rem; }

.contact-list { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-list h4 { margin: 0 0 0.3rem; font-family: "IBM Plex Mono", monospace; font-size: 0.6875rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.contact-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent-2); }
.contact-list p { color: var(--ink-2); }

/* ---------------- cta ---------------- */

.cta-in { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.cta-in.center { align-items: center; text-align: center; }
.cta-in h2 { max-width: 22ch; }

/* ---------------- footer ---------------- */

footer { background: var(--ground-2); color: var(--ink-2); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--hairline); }
.foot-grid h4 { margin: 0 0 0.6rem; font-family: "IBM Plex Mono", monospace; font-size: 0.6875rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.foot-grid a { display: block; color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid p { color: var(--ink-2); }
.disclosure { padding-top: 1.6rem; font-size: 0.875rem; color: var(--ink-3); }
.ph { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 0.9em; }
