/* ============================================
   Jason for Montana HD-37 — Campaign Stylesheet
   Palette: Montana Brand (Camas Blue + Treasure State Gold)
   ============================================ */

/* ── VARIABLES ── */
:root {
  /* Base */
  --cream: #F5F2ED;
  --ink: #0F0E0C;
  --ink-light: #4A4742;
  --ink-mid: #2E2D2A;
  --rule: #C8C4BC;
  --rule-light: #DBD8D2;

  /* Montana Brand: Camas Blue */
  --camas-000: #ECF2F8;
  --camas-100: #D8E5F0;
  --camas-200: #B1CAE1;
  --camas-300: #89AFD1;
  --camas-400: #6294C2;
  --camas-500: #3A79B2;
  --camas-600: #2F618F;
  --camas-700: #29557D;
  --camas-800: #204362;
  --camas-900: #183148;

  /* Montana Brand: Treasure State Gold */
  --gold-000: #FEF7E6;
  --gold-100: #FDEECD;
  --gold-200: #FBDC9B;
  --gold-300: #F9CA68;
  --gold-400: #F7B836;
  --gold-500: #F5A603;
  --gold-600: #C48503;
  --gold-700: #AC7503;
  --gold-800: #875C02;
  --gold-900: #624302;

  /* Fonts */
  --mono: 'IBM Plex Mono', monospace;
  --serif: 'IBM Plex Serif', Georgia, serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--cream); }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* ── GRAIN TEXTURE ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1001;
  height: 2px; width: 0%;
  background: var(--gold-500);
  transition: width 0.05s linear;
  pointer-events: none;
}

/* ── NAV (shared) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 54px;
  background: rgba(245,242,237,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,196,188,0.45);
}
.nav-id {
  font-family: var(--mono);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.nav-id span { color: var(--camas-500); }
nav ul { list-style: none; display: flex; gap: 2.25rem; align-items: center; }
nav a.nav-link {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-light);
  text-decoration: none; transition: color 0.2s;
}
nav a.nav-link:hover { color: var(--camas-500); }
nav a.nav-link.active { color: var(--camas-600); font-weight: 600; }
.nav-cta {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--camas-700);
  text-decoration: none;
  border: 1.5px solid var(--camas-400);
  padding: 0.35rem 0.9rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--camas-500); color: #fff; border-color: var(--camas-500); }
.nav-back {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-light);
  text-decoration: none; transition: color 0.2s;
}
.nav-back:hover { color: var(--camas-500); }

/* ── MOBILE NAV ── */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 26px; height: 18px; position: relative;
}
.nav-toggle span {
  display: block; width: 100%; height: 1.5px; background: var(--ink);
  position: absolute; left: 0; transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }
.mobile-menu {
  display: none;
  position: fixed; top: 54px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 2.5rem; z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  font-family: var(--mono);
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-light);
  text-decoration: none; display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule-light);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--camas-500); }
.mobile-menu-cta {
  display: block; margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--camas-700);
  text-decoration: none;
  border: 1.5px solid var(--camas-400);
  padding: 0.55rem 1rem; text-align: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-cta:hover { background: var(--camas-500); color: #fff !important; border-color: var(--camas-500); border-bottom: 1.5px solid var(--camas-500) !important; }

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--mono);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--camas-500); color: #fff; border: none;
  padding: 0.95rem 2rem; cursor: pointer; text-decoration: none;
  transition: background 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--camas-600); }
.btn-outline {
  font-family: var(--mono);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  background: transparent; color: var(--camas-600); border: 1.5px solid var(--camas-400);
  padding: 0.95rem 2rem; cursor: pointer; text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s; display: inline-block;
}
.btn-outline:hover { background: var(--camas-500); color: #fff; border-color: var(--camas-500); }
.btn-cta {
  font-family: var(--mono);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--gold-500); color: #fff; border: none;
  padding: 0.95rem 2.2rem; cursor: pointer; text-decoration: none;
  display: inline-block; transition: background 0.2s;
}
.btn-cta:hover { background: var(--gold-400); }

/* ── SHARED LABELS ── */
.section-label {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--camas-500); display: block; margin-bottom: 1.5rem;
}

/* ── PULL QUOTES ── */
.pull { border-left: 3px solid var(--gold-500); padding-left: 1.5rem; margin: 2.5rem 0; }
.pull p {
  font-family: var(--serif);
  font-style: italic; font-size: 1.05rem; font-weight: 300;
  color: var(--ink); line-height: 1.72; margin-bottom: 0;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--camas-700);
  padding: 3.5rem 2.5rem; text-align: center;
}
.cta-band h2, .cta-band h3 {
  font-family: var(--mono);
  font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem;
}
.cta-band p {
  font-family: var(--serif);
  font-size: 0.92rem; color: var(--camas-200);
  margin-bottom: 1.75rem; max-width: 440px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  max-width: 1020px; margin: 0 auto;
}
footer p {
  font-family: var(--mono);
  font-size: 0.66rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-light);
}
.footer-contact { text-align: right; }
.footer-contact p { margin: 0; }
.footer-contact a {
  font-family: var(--mono);
  font-size: 0.66rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--camas-500);
  text-decoration: none; transition: color 0.2s;
}
.footer-contact a:hover { color: var(--gold-500); }
.footer-link {
  font-family: var(--mono);
  font-size: 0.66rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-light);
  text-decoration: none; transition: color 0.2s;
}
.footer-link:hover { color: var(--camas-500); }

/* ── FOOTER SOCIAL ── */
.footer-social {
  display: flex; gap: 1rem; align-items: center; margin-top: 0.6rem;
}
.footer-social a {
  font-family: var(--mono);
  font-size: 0.64rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-light); text-decoration: none;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--camas-500); }
.footer-social span { color: var(--rule); font-size: 0.6rem; }

/* ── OPT-OUT BADGE ── */
.opt-out-wrap {
  flex-basis: 100%; display: flex; justify-content: center;
  margin-top: 1.5rem;
}
a.opt-out-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  text-decoration: none; transition: border-color 0.2s;
}
a.opt-out-badge:hover { border-color: var(--camas-400); }
.opt-out-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5CB85C; flex-shrink: 0;
}
.opt-out-badge span {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-light);
}

/* ── SIGNUP FORM ── */
.signup-wrap {
  margin-top: 0;
}
.signup-heading { margin-bottom: 2rem; }
.signup-label {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--camas-500);
  margin-bottom: 0.6rem;
}
.signup-sub {
  font-size: 0.92rem; color: var(--ink-light); margin: 0;
  max-width: 560px; line-height: 1.65;
}
.signup-form { width: 100%; }
.form-row { margin-bottom: 1.25rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label, .form-field .label-static {
  font-family: var(--mono);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-light);
}
.form-field .label-static { display: block; }
.req { color: var(--camas-500); }
.opt { font-weight: 400; letter-spacing: 0; text-transform: none; font-family: var(--serif); font-size: 0.78rem; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  font-family: var(--mono);
  font-size: 0.82rem; color: var(--ink);
  background: var(--canvas);
  border: 1.5px solid var(--rule);
  padding: 0.6rem 0.85rem;
  transition: border-color 0.2s;
  outline: none; width: 100%; box-sizing: border-box;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--camas-500); }
.form-field input.invalid,
.form-field textarea.invalid { border-color: #c0392b; }
.form-field-checks { justify-content: flex-start; }
.checks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem;
  margin-top: 0.15rem;
}
.check-label {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; gap: 0.4rem; cursor: pointer;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.check-label input[type="checkbox"] {
  accent-color: var(--camas-600);
  width: 14px; height: 14px; cursor: pointer;
}
.form-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 0.5rem; }
.form-submit {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--camas-700); color: #fff;
  border: none; padding: 0.75rem 2rem; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--camas-500); }
.form-submit:active { transform: scale(0.98); }
.form-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.form-status {
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.04em;
}
.form-status.success { color: #2d6a4f; }
.form-status.error   { color: #c0392b; }

@media (max-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
}

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 42px; height: 42px;
  background: var(--camas-700); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, background 0.2s, transform 0.2s;
  font-family: var(--mono); font-size: 1.1rem; line-height: 1;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--camas-500); transform: translateY(-2px); }

/* ── SHARE STRIP ── */
.share-strip {
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--rule-light);
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.share-label {
  font-family: var(--mono);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-light);
  margin-right: 0.5rem;
}
.share-btn {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--camas-600);
  text-decoration: none;
  border: 1.5px solid var(--camas-300);
  padding: 0.3rem 0.8rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.share-btn:hover { background: var(--camas-500); color: #fff; border-color: var(--camas-500); }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}


/* ============================================
   INDEX PAGE
   ============================================ */

/* Hero */
.hero {
  padding: 10rem 2.5rem 4.5rem;
  max-width: 1020px; margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--camas-500);
  margin-bottom: 2.5rem;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp 0.6s 0.15s ease forwards;
}
.hero-name {
  font-family: var(--mono);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--camas-500);
  margin-bottom: 0.75rem;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp 0.6s 0.25s ease forwards;
}
.hero h1 {
  font-family: var(--mono);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: 0.35rem;
  opacity: 0; transform: translateY(14px);
  animation: fadeUp 0.7s 0.45s ease forwards;
}

/* Countdown strip */
.countdown-strip {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.countdown-inner {
  max-width: 1020px; margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap;
}
.countdown-label-wrap {
  font-family: var(--mono);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--camas-500);
  white-space: nowrap; line-height: 1.6;
}
.countdown-label-wrap em {
  font-style: normal; font-weight: 400; color: var(--ink-light);
  display: block;
}
.countdown-units {
  display: flex; align-items: center; gap: 0.5rem;
}
.countdown-unit { text-align: center; min-width: 3.5rem; }
.countdown-num {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700;
  line-height: 1; color: var(--ink); letter-spacing: -0.03em;
  display: block;
  transition: color 0.3s;
}
.countdown-lbl {
  font-family: var(--mono);
  font-size: 0.58rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-light);
  margin-top: 0.2rem; display: block;
}
.countdown-sep {
  font-family: var(--mono);
  font-size: 1.4rem; font-weight: 300; color: var(--rule);
  padding-bottom: 1rem; line-height: 1;
}
.countdown-elapsed {
  font-family: var(--mono);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--camas-500);
  padding: 2rem 2.5rem; max-width: 1020px; margin: 0 auto;
}

/* Photo strip */
.photo-strip {
  width: 100%;
  height: clamp(280px, 38vw, 440px);
  overflow: hidden; position: relative;
}
.photo-strip img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
  display: block;
}
.photo-strip-caption {
  position: absolute; bottom: 1.25rem; right: 2.5rem;
  font-family: var(--mono);
  font-size: 0.64rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(245,242,237,0.5);
}

/* Intro section */
.intro-section {
  max-width: 1020px; margin: 0 auto;
  padding: 5rem 2.5rem;
  display: grid; grid-template-columns: 180px 1fr;
  gap: 3rem; align-items: start;
}
.intro-label {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--camas-500);
  padding-top: 0.4rem; position: sticky; top: 80px;
}
.intro-body { max-width: 620px; }
.intro-body p {
  font-family: var(--serif);
  font-size: 1.02rem; font-weight: 400;
  line-height: 1.88; color: var(--ink-mid);
}
.intro-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem;
}

/* Cards band */
.cards-band { background: var(--camas-500); position: relative; }
.cards-section {
  max-width: 1020px; margin: 0 auto;
  padding: 4.5rem 2.5rem;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; position: relative;
}
.card {
  padding: 0 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.card:first-child { padding-left: 0; }
.card:last-child { border-right: none; padding-right: 0; }
.card-num {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-400);
  margin-bottom: 1.25rem;
}
.card h3 {
  font-family: var(--mono);
  font-size: 0.95rem; font-weight: 600; line-height: 1.48;
  color: #fff; margin-bottom: 0.9rem;
}
.card p {
  font-family: var(--serif);
  font-size: 0.9rem; color: rgba(255, 255, 255, 0.78);
  line-height: 1.78; margin-bottom: 1.5rem;
}
.card-link {
  font-family: var(--mono);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--gold-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(249,202,104,0.3);
  padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.card-link:hover { color: #fff; border-color: #fff; }

/* Accent band */
.accent-band {
  background: var(--gold-500); padding: 2rem 2.5rem; text-align: center;
}
.accent-band p {
  font-family: var(--mono);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff;
}

/* Get Involved band */
.involve-band { background: var(--cream); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.involve-section {
  max-width: 1020px; margin: 0 auto;
  padding: 5rem 2.5rem;
  display: grid; grid-template-columns: 180px 1fr;
  gap: 3rem; align-items: start;
}
.involve-label {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--camas-500);
  padding-top: 0.4rem; position: sticky; top: 80px;
}
.involve-body { max-width: 620px; }
.involve-body p {
  font-family: var(--serif);
  font-size: 1rem; font-weight: 400; line-height: 1.84;
  color: var(--ink-mid); margin-bottom: 2.5rem;
}
.involve-ways {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin-top: 0;
}
.involve-way {
  border: 1px solid var(--rule); padding: 1.5rem;
  transition: border-color 0.25s;
}
.involve-way:hover { border-color: var(--camas-300); }
.involve-way-icon {
  font-family: var(--mono);
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 0.75rem;
}
.involve-way h4 {
  font-family: var(--mono);
  font-size: 0.88rem; font-weight: 600; line-height: 1.4;
  color: var(--ink); margin-bottom: 0.5rem;
}
.involve-way p {
  font-family: var(--serif);
  font-size: 0.86rem; color: var(--ink-mid); line-height: 1.7;
  margin-bottom: 1rem;
}
.involve-way a.involve-link {
  font-family: var(--mono);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--camas-600);
  text-decoration: none;
  border-bottom: 1.5px solid var(--camas-200);
  padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.involve-way a.involve-link:hover { color: var(--camas-800); border-color: var(--camas-500); }

/* News band & section */
.news-band { background: var(--camas-000); }
.news-section {
  max-width: 1020px; margin: 0 auto;
  padding: 4.5rem 2.5rem 4rem;
}
.news-header {
  display: flex; justify-content: space-between;
  align-items: baseline; margin-bottom: 2.5rem;
}
.news-label {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--camas-600);
}
.news-all {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--camas-400);
  text-decoration: none; transition: color 0.2s;
}
.news-all:hover { color: var(--camas-700); }
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.news-item a {
  text-decoration: none; color: inherit; display: block;
  padding: 1.5rem; background: #fff;
  border: 1px solid var(--camas-100);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.news-item a:hover {
  border-color: var(--camas-300);
  box-shadow: 0 2px 12px rgba(58,121,178,0.08);
}
.news-tag {
  font-family: var(--mono);
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 0.4rem; display: inline-block;
}
.news-date {
  font-family: var(--mono);
  font-size: 0.66rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--camas-300);
  margin-bottom: 0.8rem;
}
.news-item h4 {
  font-family: var(--mono);
  font-size: 0.92rem; font-weight: 600; line-height: 1.42;
  color: var(--ink); margin-bottom: 0.75rem; transition: color 0.2s;
}
.news-item:hover h4 { color: var(--camas-600); }
.news-item p {
  font-family: var(--serif);
  font-size: 0.88rem; color: var(--ink-mid); line-height: 1.72;
}


/* ============================================
   ABOUT PAGE
   ============================================ */

.photo-hero {
  margin-top: 54px; width: 100%;
  height: clamp(300px, 40vw, 450px);
  overflow: hidden; position: relative;
}
.photo-hero img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 60%; display: block;
}
.photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(15,14,12,0.35) 100%);
}
.photo-caption {
  position: absolute; bottom: 1.5rem; left: 2.5rem;
  font-family: var(--mono);
  font-size: 0.64rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(245,242,237,0.55);
}

.content { max-width: 800px; margin: 0 auto; padding: 5rem 2.5rem; }
.content h1 {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 2.5rem;
}
.content h2 {
  font-family: var(--mono);
  font-size: 1.15rem; font-weight: 600; line-height: 1.3;
  letter-spacing: -0.01em; margin-bottom: 1.25rem; margin-top: 3.5rem;
  color: var(--ink);
}
.content p {
  font-family: var(--serif);
  color: var(--ink-mid); font-weight: 400;
  line-height: 1.88; margin-bottom: 1.4rem; font-size: 0.97rem;
}
.content p:last-of-type { margin-bottom: 0; }

.lede {
  font-family: var(--serif);
  font-style: italic; font-size: 1.05rem; font-weight: 300;
  line-height: 1.78; color: var(--ink-mid); margin-bottom: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--rule);
}

.photo-inline { width: 100%; height: 300px; overflow: hidden; margin: 3rem 0; }
.photo-inline svg { width: 100%; height: 100%; }
.photo-inline-caption {
  font-family: var(--mono);
  font-size: 0.64rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-light); margin-top: 0.6rem;
}


/* ============================================
   SOLUTIONS PAGE
   ============================================ */

.page-header-band {
  background: var(--camas-500);
  padding: 9rem 2.5rem 3.5rem;
}
.page-header { max-width: 920px; margin: 0 auto; }
.page-header-band .section-label { color: var(--gold-400); }
.page-header-band h1 {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.5rem;
  color: #fff;
}
.page-intro {
  font-family: var(--serif);
  font-size: 1rem; font-weight: 400; line-height: 1.82;
  color: var(--camas-100); max-width: 640px;
}

.issue-nav {
  max-width: 920px; margin: 0 auto; padding: 1.75rem 2.5rem;
  display: flex; gap: 2rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--rule); background: var(--cream);
}
.issue-nav a {
  font-family: var(--mono);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-light);
  text-decoration: none; transition: color 0.2s;
}
.issue-nav a:hover { color: var(--camas-500); }
.issue-nav a.active { color: var(--camas-600); font-weight: 600; }

.issues { max-width: 920px; margin: 0 auto; }
.issue {
  padding: 4rem 2.5rem; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 200px 1fr; gap: 3rem; align-items: start;
}
.issue:nth-child(even) { background: var(--camas-000); }
.issue-meta { position: sticky; top: 80px; }
.issue-num {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-500); margin-bottom: 0.75rem;
}
.issue-tag {
  font-family: var(--mono);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink); line-height: 1.5;
}
.issue-content h2 {
  font-family: var(--mono);
  font-size: 1.2rem; font-weight: 600; line-height: 1.3;
  letter-spacing: -0.01em; margin-bottom: 1.5rem;
}
.issue-content p {
  font-family: var(--serif);
  color: var(--ink-mid); font-weight: 400;
  line-height: 1.88; margin-bottom: 1.3rem; font-size: 0.97rem;
}
.issue-content p:last-child { margin-bottom: 0; }

/* Commitment blocks */
.commitments {
  border-left: 3px solid var(--gold-500);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  list-style: none;
}
.commitments li {
  font-family: var(--mono);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em;
  line-height: 1.6; color: var(--ink);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--rule-light);
}
.commitments li:last-child { border-bottom: none; }


/* ============================================
   NEWS PAGE
   ============================================ */

/* Page header (non-blue variant used on news) */
.articles-header {
  padding: 9rem 2.5rem 3.5rem;
  max-width: 880px; margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}
.articles-header h1 {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em;
}
.page-intro-news {
  font-family: var(--serif);
  font-size: 0.95rem; font-weight: 400; line-height: 1.82;
  color: var(--ink-light); max-width: 600px; margin-top: 1.25rem;
}

.articles { max-width: 880px; margin: 0 auto; }
article {
  padding: 4rem 2.5rem; border-bottom: 1px solid var(--rule);
}
article:nth-child(even) { background: var(--camas-000); }
.article-meta {
  display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem;
}
.article-date {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-light);
}
.article-tag {
  font-family: var(--mono);
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--camas-600);
  border: 1.5px solid var(--camas-400); padding: 0.15rem 0.5rem;
}
article h2 {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 600;
  line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 1rem;
}
article .lede {
  padding-bottom: 2rem; border-bottom: 1px solid var(--rule-light);
  margin-bottom: 2rem;
}
.body p {
  font-family: var(--serif);
  color: var(--ink-mid); font-weight: 400;
  line-height: 1.88; margin-bottom: 1.4rem; font-size: 0.97rem;
}
.body p:last-child { margin-bottom: 0; }

/* Article subheadings */
.body h3 {
  font-family: var(--mono);
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--ink); margin-top: 2.5rem; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.body h3:first-child { margin-top: 0; }

/* Article closing CTA */
.article-cta {
  display: inline-block; margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--camas-500);
  text-decoration: none;
  border-bottom: 1.5px solid var(--camas-200);
  padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.article-cta:hover { color: var(--camas-700); border-color: var(--camas-500); }
.article-link {
  color: inherit; text-decoration: none; transition: color 0.2s;
}
.article-link:hover { color: var(--camas-500); }


/* ============================================
   DARK MODE
   ============================================ */

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #1B1A18;
    --ink: #E8E5E0;
    --ink-light: #A09D98;
    --ink-mid: #C8C5C0;
    --rule: #2E2D2B;
    --rule-light: #252422;
    --camas-000: #1E2228;
    --camas-100: #222830;
  }
  html, body { background: #1B1A18; color: #E8E5E0; }
  nav {
    background: rgba(27, 26, 24, 0.92);
    border-bottom-color: rgba(46, 45, 43, 0.6);
  }
  .mobile-menu { background: #1B1A18; border-bottom-color: #2E2D2B; }
  body::after { opacity: 0.015; }
  .cards-band { background: var(--camas-800); }
  .accent-band { background: var(--gold-600); }
  .accent-band p { color: #fff; }
  .news-band { background: var(--camas-000); }
  .news-item a { background: #222120; border-color: #2E2D2B; }
  .news-item a:hover { background: #282725; border-color: #3A3938; }
  .photo-overlay { background: linear-gradient(to bottom, transparent 55%, rgba(15,14,12,0.55) 100%); }
  img { opacity: 0.92; }
  .issue-nav { background: var(--cream); }
  .issue:nth-child(even) { background: var(--camas-000); }
  article:nth-child(even) { background: var(--camas-000); }
  .page-header { border-bottom-color: #2E2D2B; }
  .articles-header { border-bottom-color: #2E2D2B; }
  .footer-contact a { color: var(--camas-400); }
  input, textarea, select { background: #222120; border-color: #3A3938; color: var(--ink); }
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 860px) {
  .countdown-inner { gap: 1.5rem; padding: 1.75rem 2.5rem; }
  .countdown-unit { min-width: 2.8rem; }
  .intro-section { grid-template-columns: 1fr; gap: 1.25rem; padding: 3.5rem 2.5rem; }
  .intro-label { position: static; }
  .cards-section { grid-template-columns: 1fr; padding: 3rem 2.5rem; }
  .card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 2rem 0;
  }
  .card:first-child { padding-top: 0; }
  .card:last-child { border-bottom: none; padding-bottom: 0; }
  .news-grid { grid-template-columns: 1fr; gap: 1rem; }
  .involve-section { grid-template-columns: 1fr; gap: 1.25rem; padding: 3.5rem 2.5rem; }
  .involve-label { position: static; }
  .involve-ways { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  nav ul { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 8rem 2rem 3.5rem; }
  .hero h1 { font-size: clamp(1.7rem, 7.5vw, 2.6rem); }
  .hero-name { font-size: clamp(1rem, 4vw, 1.4rem); }
  .intro-section, .news-section { padding-left: 2rem; padding-right: 2rem; }
  .involve-section { padding-left: 2rem; padding-right: 2rem; }
  .cards-section { padding-left: 2rem; padding-right: 2rem; }
  .cta-band { padding: 3rem 2rem; }
  .content { padding: 3.5rem 2rem; }
  article { padding: 3rem 2rem; }
  .articles-header { padding: 7rem 2rem 3rem; }
  footer {
    flex-direction: column; gap: 0.75rem; text-align: center;
    padding-left: 2rem; padding-right: 2rem;
  }
  .footer-contact { text-align: center; }
  .footer-social { justify-content: center; }
}

@media (max-width: 680px) {
  .issue { grid-template-columns: 1fr; gap: 1rem; padding: 3rem 2rem; }
  .issue-meta { position: static; }
  .issue-nav { padding: 1.25rem 2rem; gap: 1rem; }
  .page-header-band { padding: 7rem 2rem 3rem; }
}

@media (min-width: 701px) {
  .nav-toggle { display: none; }
}
