/* Dam Kings Beach – main stylesheet */

:root {
  --navy: #1e2c36;
  --navy-deep: #15212a;
  --teal: #3f7d97;
  --teal-dark: #2f6278;
  --teal-light: #8cafc2;
  --teal-wash: #e8f0f4;
  --sand: #f7f3ea;
  --sand-dark: #dec397;
  --white: #ffffff;
  --accent: #f0b03c;
  --accent-dark: #dc9a22;
  --text: #24323c;
  --muted: #5d6b75;
  --line: #dde3e7;
  --radius: 10px;
  --shadow: 0 2px 4px rgba(20, 33, 43, 0.04), 0 8px 24px rgba(20, 33, 43, 0.07);
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: 0.4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--navy-deep); }
.btn-accent:hover { background: var(--accent-dark); color: var(--navy-deep); }
.btn-outline { border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: 8px 10px; border-radius: 6px;
  color: var(--navy); text-decoration: none; font-size: 0.92rem; font-weight: 500; white-space: nowrap;
}
.main-nav a:hover { background: var(--teal-wash); }
.main-nav a[aria-current="page"] { color: var(--teal-dark); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 1200px) {
  .js .nav-toggle { display: flex; align-items: center; }
  .header-inner { gap: 12px; }
  .js .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .js .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a { padding: 12px 10px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); }
  .header-cta { order: 2; }
  .nav-toggle { order: 3; margin-left: 0; }
  .brand { margin-right: auto; }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding: 10px 0; }
  html:not(.js) .main-nav { width: 100%; }
}
@media (max-width: 520px) {
  .brand img { height: 36px; }
  .header-inner { height: 64px; }
  .js .main-nav { top: 64px; }
  .header-cta { padding: 9px 14px; font-size: 0.85rem; }
}
@media (max-width: 370px) {
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; color: #fff;
  min-height: min(82vh, 720px);
  display: flex; align-items: flex-end;
  background: var(--navy) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21, 33, 42, 0.15) 0%, rgba(21, 33, 42, 0.35) 45%, rgba(21, 33, 42, 0.85) 100%);
}
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 72px; width: 100%; }
.hero h1 { color: #fff; max-width: 720px; font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
.hero p.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 620px; color: rgba(255, 255, 255, 0.92); margin-bottom: 1.6em; }
.hero .render-note { position: absolute; right: 24px; bottom: 16px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); margin: 0; }

.page-hero {
  position: relative; color: #fff;
  background: var(--navy) center / cover no-repeat;
  padding: 96px 0 56px;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 33, 42, 0.88) 0%, rgba(21, 33, 42, 0.55) 70%, rgba(21, 33, 42, 0.35) 100%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { max-width: 640px; font-size: 1.12rem; color: rgba(255, 255, 255, 0.9); margin: 0; }
.page-hero.plain { background: var(--navy); padding: 72px 0 48px; }
.page-hero.plain::before { display: none; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.page-hero .eyebrow, .hero .eyebrow, .on-dark .eyebrow { color: var(--accent); }

.breadcrumb { font-size: 0.85rem; margin-bottom: 14px; color: rgba(255, 255, 255, 0.75); }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-sand { background: var(--sand); }
.bg-wash { background: var(--teal-wash); }
.bg-navy { background: var(--navy); color: rgba(255, 255, 255, 0.88); }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy a { color: #fff; }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.bg-navy .section-head p { color: rgba(255, 255, 255, 0.8); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
}

.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
figure { margin: 0; }
figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.lead { font-size: 1.15rem; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* ---------- Salt counter ---------- */

.counter-band { background: var(--navy-deep); color: #fff; padding: 44px 0; }
.counter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.counter-label { font-size: 1.05rem; max-width: 380px; color: rgba(255, 255, 255, 0.85); margin: 0; }
.counter-value { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; color: #fff; }
.counter-value .unit { font-size: 0.42em; font-weight: 500; color: var(--teal-light); margin-left: 8px; letter-spacing: 0; }
.counter-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); margin: 10px 0 0; }

/* ---------- Cards ---------- */

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.card h3 { margin-bottom: 0.4em; }

.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 30px; border-top: 4px solid var(--teal); }
.stat-card .stat { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 700; color: var(--navy); line-height: 1.05; letter-spacing: -0.02em; }
.stat-card .stat small { font-size: 0.45em; font-weight: 600; color: var(--teal); letter-spacing: 0; }
.stat-card p { margin: 10px 0 0; color: var(--muted); }

.icon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 880px) { .icon-row { grid-template-columns: 1fr; gap: 28px; } }
.icon-item .icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--teal-wash); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon-item .icon svg { width: 28px; height: 28px; }
.icon-item h3 { margin-bottom: 0.35em; }
.icon-item p { color: var(--muted); margin: 0; }

/* ---------- Testimonials ---------- */

.quote-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; display: flex; flex-direction: column; break-inside: avoid; margin-bottom: 24px; }
.quote-card blockquote { margin: 0 0 22px; font-size: 1.02rem; color: var(--text); position: relative; padding-top: 28px; }
.quote-card blockquote::before { content: "\201C"; position: absolute; top: -14px; left: -4px; font-size: 4rem; color: var(--teal-light); line-height: 1; font-family: Georgia, serif; }
.quote-card blockquote p:last-child { margin-bottom: 0; }
.quote-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.avatar.alt1 { background: var(--navy); }
.avatar.alt2 { background: #b08a4f; }
.avatar.alt3 { background: var(--teal-dark); }
.quote-person strong { display: block; color: var(--navy); line-height: 1.3; }
.quote-person span { font-size: 0.88rem; color: var(--muted); }

.masonry { columns: 3 320px; column-gap: 24px; }

.drawing-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; break-inside: avoid; margin-bottom: 24px; }
.drawing-card img { border-radius: 6px; }
.drawing-card figcaption { text-align: center; font-size: 0.95rem; color: var(--navy); font-weight: 600; margin-top: 12px; }

/* ---------- Supported by ---------- */

.supported { text-align: center; }
.supported .eyebrow { color: var(--muted); }
.supported a { display: inline-block; padding: 12px; }
.supported img { height: 92px; width: auto; margin: 0 auto; }

/* ---------- Issue diagram ---------- */

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; margin: 8px 0 12px; }
.process-step { position: relative; text-align: center; padding: 0 18px; }
.process-step .step-icon {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.process-step .step-icon svg { width: 42px; height: 42px; }
.process-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -6px; left: calc(50% + 26px); z-index: 2;
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--navy-deep);
  font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; left: calc(50% + 50px); right: calc(-50% + 50px);
  border-top: 3px dashed var(--teal-light);
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.process-step p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.process-step.last .step-icon { border-color: var(--navy); background: var(--navy); color: #fff; }
@media (max-width: 820px) {
  .process { grid-template-columns: 1fr; gap: 34px; }
  .process-step { display: grid; grid-template-columns: 80px 1fr; gap: 0 20px; text-align: left; padding: 0; }
  .process-step .step-icon { width: 76px; height: 76px; margin: 0; grid-row: span 2; }
  .process-step .step-icon svg { width: 34px; height: 34px; }
  .process-step::before { left: 54px; top: -6px; }
  .process-step:not(:last-child)::after { top: 82px; bottom: -30px; left: 37px; right: auto; border-top: 0; border-left: 3px dashed var(--teal-light); }
}

.callout { background: var(--teal-wash); border-left: 4px solid var(--teal); padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; margin: 32px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout h3 { margin-bottom: 0.3em; }

.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }

/* ---------- Proposal ---------- */

.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 680px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 66px; position: relative; margin: 0; }
.feature-list li svg { position: absolute; left: 22px; top: 24px; width: 28px; height: 28px; color: var(--teal); }
.feature-list strong { display: block; color: var(--navy); margin-bottom: 4px; }
.feature-list span { color: var(--muted); font-size: 0.95rem; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery figure:first-child { grid-column: 1 / -1; }
@media (max-width: 680px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figure:first-child img { aspect-ratio: 16 / 9; }
.gallery figcaption strong { color: var(--navy); display: block; font-size: 0.95rem; }

.key-figures { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.key-figures div { padding: 22px 24px; border-right: 1px solid var(--line); }
.key-figures div:last-child { border-right: 0; }
.key-figures b { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.key-figures span { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 820px) {
  .key-figures { grid-template-columns: repeat(2, 1fr); }
  .key-figures div:nth-child(2) { border-right: 0; }
  .key-figures div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

.download-card { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; }
.download-card .doc-icon { width: 64px; height: 76px; flex-shrink: 0; }
.download-card h3 { color: #fff; margin-bottom: 4px; }
.download-card p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.download-card .btn { margin-left: auto; }
@media (max-width: 680px) { .download-card .btn { margin-left: 0; } }

.steps-list { counter-reset: s; list-style: none; padding: 0; }
.steps-list li { counter-increment: s; position: relative; padding: 4px 0 18px 52px; margin: 0; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Partners ---------- */

.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 680px) { .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.logo-tile { aspect-ratio: 3 / 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 28px; }
.logo-tile img { max-height: 100%; width: auto; }
a.logo-tile { transition: box-shadow 0.15s, border-color 0.15s; }
a.logo-tile:hover { box-shadow: var(--shadow); border-color: var(--teal-light); }
.logo-tile.empty { background: var(--sand); border-color: transparent; }

.statement { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; border-left: 5px solid var(--accent); }
.statement blockquote { margin: 0 0 16px; font-size: 1.15rem; color: var(--navy); }
.statement cite { font-style: normal; color: var(--muted); font-size: 0.95rem; }
.statement cite strong { color: var(--navy); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 52px 24px 0; position: relative;
  font-weight: 600; font-size: 1.1rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--teal-dark); }
.faq .answer { padding: 0 0 22px; color: var(--text); max-width: 760px; }

/* ---------- Forms ---------- */

.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
@media (max-width: 520px) { .form-card { padding: 24px 20px; } }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--navy); margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid #c9d2d8; border-radius: 8px; background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 125, 151, 0.18); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 0.95rem; color: var(--text); margin-bottom: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--teal); }
.check strong { color: var(--navy); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; }
.form-msg { display: none; border-radius: 8px; padding: 16px 18px; margin-top: 16px; font-size: 0.95rem; }
.form-msg.ok { display: block; background: #e6f3ec; color: #1d5a3b; border: 1px solid #b9dcc8; }
.form-msg.err { display: block; background: #fbeceb; color: #8a2a22; border: 1px solid #efc4bf; }
.form-done .form-fields { display: none; }

.role-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.role-card.featured { border: 2px solid var(--teal); position: relative; }
.role-card .tag { display: inline-block; background: var(--accent); color: var(--navy-deep); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.role-card h3 { margin-bottom: 0.4em; }
.role-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.6em; }
.role-card ul { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Petition ---------- */

.petition-box { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .petition-box { grid-template-columns: 1fr; } }
.petition-text { background: var(--sand); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 28px; }
.petition-text h3 { margin-bottom: 0.4em; }
.petition-text p:last-child, .petition-text ol:last-child { margin-bottom: 0; }

.sig-progress { margin-bottom: 26px; }
.sig-count { font-size: 2.3rem; font-weight: 700; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.sig-count-label { color: var(--muted); font-size: 0.95rem; }
.bar { height: 12px; background: var(--teal-wash); border-radius: 999px; overflow: hidden; margin: 14px 0 8px; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--teal-dark)); border-radius: 999px; transition: width 0.8s ease; }
.sig-goal { font-size: 0.88rem; color: var(--muted); }

.sig-list { list-style: none; padding: 0; margin: 0; }
.sig-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 0.93rem; }
.sig-list li:last-child { border-bottom: 0; }
.sig-list .avatar { width: 34px; height: 34px; font-size: 0.85rem; }
.sig-list .who { flex: 1; min-width: 0; }
.sig-list .who b { color: var(--navy); }
.sig-list .when { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.sig-list li.you { background: var(--teal-wash); border-radius: 8px; padding-left: 8px; padding-right: 8px; }

.petition-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.petition-cta h2 { margin-bottom: 0.2em; }
.petition-cta p { margin: 0; }

/* ---------- Letter ---------- */

.letter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; font-size: 0.97rem; white-space: pre-wrap; font-family: inherit; margin: 0 0 20px; color: var(--text); line-height: 1.7; overflow-wrap: anywhere; }

/* ---------- News ---------- */

.news-item { display: grid; grid-template-columns: 360px 1fr; gap: 36px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.news-item img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.news-item .body { padding: 32px 32px 32px 0; }
@media (max-width: 820px) {
  .news-item { grid-template-columns: 1fr; gap: 0; }
  .news-item .body { padding: 26px; }
  .news-item img { min-height: 0; aspect-ratio: 16 / 9; }
}
.meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.meta .pill { display: inline-block; background: var(--teal-wash); color: var(--teal-dark); font-weight: 600; font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; margin-right: 8px; letter-spacing: 0.03em; }
.empty-state { border: 2px dashed var(--line); border-radius: var(--radius); padding: 44px; text-align: center; color: var(--muted); }
.article { font-size: 1.05rem; }
.article .dateline { font-weight: 700; color: var(--navy); }
.article .ends { text-align: center; color: var(--muted); letter-spacing: 0.2em; margin: 2em 0; }
.media-contact { background: var(--sand); border-radius: var(--radius); padding: 24px 28px; font-size: 0.95rem; }
.media-contact p:last-child { margin: 0; }

/* ---------- Events ---------- */

.event { display: flex; gap: 22px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event .date { width: 70px; flex-shrink: 0; text-align: center; background: var(--teal-wash); border-radius: 8px; padding: 10px 4px; color: var(--teal-dark); font-weight: 700; font-size: 0.8rem; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.05em; }
.event h3 { margin-bottom: 0.2em; font-size: 1.05rem; }
.event p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Newsletter band ---------- */

.newsletter { background: var(--teal); color: #fff; padding: 56px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .newsletter-inner { grid-template-columns: 1fr; gap: 22px; } }
.newsletter h2 { color: #fff; margin-bottom: 0.25em; font-size: 1.7rem; }
.newsletter p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.newsletter-form .form-fields { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type="text"], .newsletter-form input[type="email"] { flex: 1 1 180px; border-color: transparent; }
.newsletter-form .btn { flex: 0 0 auto; }
.newsletter .form-note { color: rgba(255, 255, 255, 0.75); }
.newsletter .form-note a { color: #fff; }
.newsletter .form-msg.ok { background: rgba(255, 255, 255, 0.95); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); padding: 64px 0 28px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }

/* ---------- Misc ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.section-link { font-weight: 600; text-decoration: none; }
.section-link::after { content: " \2192"; }
.copy-status { font-size: 0.9rem; color: var(--teal-dark); margin-left: 10px; }
.disclaimer { font-size: 0.85rem; color: var(--muted); font-style: italic; }

.quote-person .avatar { color: #fff; font-size: 1.1rem; }
.hero .eyebrow { color: #fff; background: rgba(21, 33, 42, 0.6); padding: 6px 14px; border-radius: 999px; letter-spacing: 0.1em; }

/* ---------- Header: nine nav items ---------- */
@media (min-width: 1201px) {
  .main-nav a { padding: 8px 7px; font-size: 0.88rem; }
  .header-inner { gap: 16px; }
}

/* ---------- Photos in quotes ---------- */
.avatar.photo { object-fit: cover; padding: 0; background: var(--line); }

/* ---------- Ruby's drawing ---------- */
.art-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
@media (max-width: 880px) { .art-feature { grid-template-columns: 1fr; gap: 40px; } }
.artwork {
  position: relative; background: #fff; padding: 18px 18px 14px; margin: 18px 12px;
  box-shadow: 0 2px 3px rgba(20, 33, 43, 0.08), 0 18px 40px rgba(20, 33, 43, 0.16);
  transform: rotate(-1.6deg);
}
.artwork img { width: 100%; border: 1px solid #eee; }
.artwork::before, .artwork::after {
  content: ""; position: absolute; top: -14px; width: 110px; height: 30px;
  background: rgba(240, 225, 170, 0.75); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.artwork::before { left: 30px; transform: rotate(-6deg); }
.artwork::after { right: 30px; transform: rotate(5deg); }
.artwork figcaption {
  text-align: center; margin-top: 12px; color: var(--navy); font-size: 1.05rem; font-weight: 600;
}
.art-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.art-quote { margin: 0 0 16px; font-size: 1.2rem; line-height: 1.6; color: var(--navy); border-left: 4px solid var(--accent); padding-left: 20px; }
.art-cite { color: var(--muted); margin: 0 0 0 24px; }
.art-cite strong { color: var(--navy); }

/* ---------- People ---------- */
.people-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.people-grid.three { grid-template-columns: repeat(3, 1fr); max-width: 940px; }
@media (max-width: 1100px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .people-grid, .people-grid.three { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; background: var(--line); }
.person h3 { font-size: 1.05rem; margin-bottom: 2px; }
.person .role { color: var(--teal-dark); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }
.person .bio { color: var(--muted); font-size: 0.9rem; margin: 0; }
.person.small { max-width: 200px; }
.person.small img { margin-bottom: 10px; }
.person.small .role { margin-bottom: 0; }
.contact-person { display: flex; gap: 24px; align-items: flex-start; }
.contact-person .person { flex: 0 0 150px; }
.contact-person p { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .contact-person { flex-direction: column; } }

.face-row { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
.face-row img { width: calc(25% - 11px); min-width: 70px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.85); }
@media (max-width: 880px) { .face-row { justify-content: flex-start; } }

.mvv { display: grid; gap: 22px; }
.mvv > div { background: var(--sand); border-radius: var(--radius); padding: 22px 26px; }
.mvv .eyebrow { margin-bottom: 6px; }
.mvv p { margin: 0; font-size: 1.05rem; color: var(--navy); }
.values { list-style: none; padding: 0; margin: 0; }
.values li { margin: 0 0 4px; }

.history { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--teal-light); }
.history li { position: relative; padding: 0 0 20px 26px; margin: 0; display: grid; gap: 2px; }
.history li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--teal); }
.history .when { font-weight: 700; color: var(--navy); font-size: 0.9rem; }

/* ---------- Partners ---------- */
.partner-strip { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: center; align-items: center; margin: 8px 0 12px; }
.partner-strip .logo-tile { aspect-ratio: auto; height: 84px; width: 164px; padding: 10px 8px; border: 0; background: transparent; }
.partner-strip .logo-tile img { max-height: 60px; max-width: 100%; }
.supported img { height: auto; }
.logo-tile img { max-width: 100%; max-height: 110px; }
.simple-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-bottom: 12px; }
.simple-table th, .simple-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.simple-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

/* ---------- Documents ---------- */
.doc-ref { font-size: 0.82em; color: var(--muted); white-space: nowrap; }
.pdf-icon { width: 30px; height: 36px; flex-shrink: 0; }
.doc-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--text); transition: box-shadow 0.15s, border-color 0.15s; }
.doc-card:hover { box-shadow: var(--shadow); border-color: var(--teal-light); color: var(--text); }
.doc-card .pdf-icon { width: 38px; height: 46px; margin-bottom: 8px; }
.doc-card .doc-no { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--teal); text-transform: uppercase; }
.doc-card strong { color: var(--navy); line-height: 1.35; }
.doc-card .doc-meta { font-size: 0.82rem; color: var(--muted); margin-top: auto; }
.doc-list { list-style: none; padding: 0; margin: 0 0 16px; }
.doc-list li { margin: 0 0 10px; }
.doc-list a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; color: var(--text); }
.doc-list a:hover { border-color: var(--teal-light); box-shadow: var(--shadow); }
.doc-list strong { display: block; color: var(--navy); font-size: 0.95rem; line-height: 1.3; }
.doc-list small { color: var(--muted); font-size: 0.8rem; }

.table-wrap { overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; background: #fff; }
.doc-table th, .doc-table td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 2px solid var(--navy); }
.doc-table tr.group th { background: var(--sand); color: var(--navy); font-size: 0.85rem; letter-spacing: 0.04em; padding: 10px 14px; }
.doc-table td.no { font-weight: 700; color: var(--teal-dark); white-space: nowrap; }
.doc-table td.title a { font-weight: 600; color: var(--navy); }
.doc-table .status { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--teal-wash); color: var(--teal-dark); white-space: nowrap; }
.doc-table .dl { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 600; text-decoration: none; }
.doc-table .dl svg { width: 16px; height: 16px; }
@media (max-width: 820px) {
  .doc-table thead { display: none; }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table td, .doc-table th { display: block; width: 100%; }
  .doc-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .doc-table tr.group { padding: 0; border: 0; }
  .doc-table td { border: 0; padding: 4px 14px; }
  .doc-table td[data-label="Revision"], .doc-table td[data-label="Date"] { display: inline-block; width: auto; color: var(--muted); font-size: 0.85rem; }
  .doc-table td[data-label="Revision"]::before { content: "Rev "; }
}

/* ---------- References ---------- */
sup.cite { font-size: 0.68em; line-height: 0; margin-left: 2px; }
sup.cite a { text-decoration: none; font-weight: 600; }
sup.cite a::before { content: "["; } sup.cite a::after { content: "]"; }
.refs { padding-left: 1.6em; }
.refs li { margin-bottom: 18px; scroll-margin-top: 100px; padding: 6px 10px; border-radius: 6px; }
.refs li:target { background: #fff6dc; }
.refs .ref-text { margin: 0 0 4px; }
.refs .ref-text a { word-break: break-all; font-size: 0.88em; }
.refs .ref-rel { margin: 0; font-size: 0.92rem; color: var(--muted); }
.law-quote { margin: 24px 0; padding: 22px 26px; background: #fff; border-left: 4px solid var(--navy); font-size: 1.1rem; color: var(--navy); border-radius: 0 var(--radius) var(--radius) 0; }
.law-quote cite { display: block; margin-top: 10px; font-size: 0.85rem; font-style: normal; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: none; }
.timeline li { position: relative; padding: 30px 16px 0 0; margin: 0; border-top: 3px solid var(--line); display: grid; gap: 4px; align-content: start; }
.timeline li::before { content: ""; position: absolute; top: -10px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 3px solid var(--teal-light); }
.timeline li.done { border-top-color: var(--teal); }
.timeline li.done::before { background: var(--teal); border-color: var(--teal); }
.timeline li.now::before { background: var(--accent); border-color: var(--accent); }
.timeline .when { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-dark); }
.timeline strong { color: var(--navy); line-height: 1.3; }
.timeline li > span:last-child { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr; border-left: 3px solid var(--line); }
  .timeline li { border-top: 0; padding: 0 0 22px 26px; }
  .timeline li::before { top: 2px; left: -10px; }
}

/* ---------- Get involved / news ---------- */
.role-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.role-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.role-feature .role-card { border: 0; border-radius: 0; padding: 32px; }
@media (max-width: 880px) { .role-feature { grid-template-columns: 1fr; } .role-feature img { min-height: 0; aspect-ratio: 3 / 2; } }
.news-list { display: grid; gap: 28px; }
.news-faces { display: grid; grid-template-columns: repeat(3, 1fr); height: 100%; min-height: 240px; }
.news-faces img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
@media (max-width: 820px) { .news-faces { min-height: 0; aspect-ratio: 16 / 9; } }
.signoff { margin-top: 28px; color: var(--muted); }
.signoff strong { color: var(--navy); }
