/* Rural DC Co design system. Palette, geometry and type remain fixed. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --wheat: #E4D6B8;
  --paddock: #6B7A52;
  --paddock-light: #8A9A6B;
  --bone: #F5F1EA;
  --slate: #6E6A63;
  --slate-dark: #4A463F;
  --page-bg: var(--bone);
  --field-bg: var(--slate);
  --card-bg: var(--bone);
  --ink: var(--slate-dark);
  --ink-secondary: var(--slate);
  --ink-reverse: var(--bone);
  --accent: var(--paddock);
  --rule: var(--wheat);
  --font-core: "Archivo", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-6: 24px;
  --s-8: 32px;
  --s-12: 48px;
  --s-16: 64px;
  --s-24: 96px;
  --s-32: 128px;
  --radius: 0;
  --measure: 68ch;
  --page-margin: 56px;
  --content-max: 1200px;
  --accent-bar: 6px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --dur-fast: 140ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-core);
  font-size: 16px;
  line-height: 1.62;
  text-wrap: pretty;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p, dl, dd { margin: 0; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: fixed;
  top: var(--s-4);
  left: var(--s-4);
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--bone);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform var(--dur-fast) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }
.wrap { width: min(100%, var(--content-max)); margin-inline: auto; padding-inline: var(--page-margin); }
.section { padding-block: var(--s-24); }
.section--tight { padding-block: var(--s-16); }
.section--rule { border-top: 1px solid var(--rule); }
.field { background: var(--field-bg); color: var(--ink-reverse); }
.field--wheat { background: var(--wheat); color: var(--ink); }
.measure { max-width: var(--measure); }
.cols { display: grid; gap: var(--s-12); }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }

.eyebrow {
  color: var(--slate-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.field .eyebrow { color: var(--paddock-light); font-family: var(--font-mono); font-weight: 400; }
.h-hero { max-width: 20ch; font-size: clamp(36px, 6.4vw, 64px); font-weight: 700; line-height: 1.02; }
.h-section { max-width: 26ch; font-size: clamp(28px, 3.8vw, 40px); font-weight: 700; }
.h-card { font-size: clamp(20px, 2.2vw, 23px); font-weight: 600; letter-spacing: -.01em; }
.standfirst { max-width: 56ch; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; }
.lead { color: var(--ink-secondary); }
.field p { color: var(--ink-reverse); }
.note { color: var(--ink-secondary); font-family: var(--font-mono); font-size: 13px; }
.placeholder {
  border-left: var(--accent-bar) solid var(--paddock);
  background: var(--wheat);
  padding: var(--s-4) var(--s-6);
  color: var(--slate-dark);
  font-family: var(--font-mono);
  font-size: 14px;
}
span.placeholder {
  display: inline;
  border-left-width: 3px;
  padding: .12em .38em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.section-heading { margin-top: var(--s-3); margin-bottom: var(--s-8); }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--page-bg); border-bottom: 1px solid var(--rule); }
.site-header .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-8); }
.brand { min-height: 48px; flex: 0 0 auto; display: block; padding-block: var(--s-3); color: var(--ink); line-height: 0; text-decoration: none; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand-mark { width: clamp(120px, 14vw, 160px); height: auto; color: var(--ink); }
.community-copy { display: grid; gap: var(--s-6); max-width: var(--measure); margin-bottom: 44px; }
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.benefit { padding: var(--s-6); }
.benefit + .benefit { border-left: 1px solid var(--slate); }
.benefit-label {
  margin-bottom: var(--s-2);
  color: var(--slate-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.benefit p:not(.benefit-label) { font-size: 16px; }

.nav { display: flex; align-items: stretch; justify-content: flex-end; gap: clamp(8px, 2vw, 28px); }
.nav a {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-menu { display: none; }

.hero-mark {
  width: clamp(240px, 34vw, 400px);
  height: auto;
  color: var(--paddock-light);
}
.hero-lockup { margin-bottom: var(--s-12); }
.hero-wordmark { margin-top: var(--s-3); color: var(--bone); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.hero-positioning { margin-top: var(--s-1); color: var(--bone); font-family: var(--font-mono); font-size: 13px; }
.hero .eyebrow { margin-bottom: var(--s-6); }
.hero .h-hero { margin-bottom: var(--s-6); }

.card { border-left: var(--accent-bar) solid var(--accent); background: var(--card-bg); padding: var(--s-8); }
.card--dark { border-left-color: var(--slate-dark); }
.card h2, .card h3 { margin-bottom: var(--s-4); }
.card p { color: var(--ink-secondary); font-size: 16px; }

.page-hero { border-bottom: 1px solid var(--rule); }
.page-hero .section {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--s-16);
}
.page-hero .section:has(.page-ref) {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
  gap: var(--s-16);
  align-items: center;
}
.page-hero-content { width: 100%; }
.page-hero-mark {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  margin-bottom: var(--s-6);
  color: var(--paddock);
}
.field .page-hero-mark { color: var(--paddock-light); }
.page-hero .eyebrow { margin-bottom: var(--s-4); }
.page-hero .h-hero { margin-bottom: var(--s-6); }
.page-ref { justify-self: end; align-self: end; color: var(--ink-secondary); font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; }
.field.page-hero { border-bottom: 0; }
.field.page-hero .page-ref { color: var(--bone); }
.page-hero--advisory { background: var(--wheat); color: var(--slate-dark); }
.page-hero--advisory p, .page-hero--advisory .eyebrow { color: var(--slate-dark); }
.page-hero--pipeline { background: var(--slate); color: var(--bone); border-bottom: 0; }
.page-hero--pipeline p { color: var(--bone); }
.page-hero--pipeline .eyebrow { color: var(--paddock-light); }
.page-hero--pipeline .page-hero-mark { color: var(--paddock-light); }
.about-continuation { margin-bottom: var(--s-16); }

.sequence { border-top: 1px solid var(--rule); }
.sequence-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s-12); padding-block: var(--s-12); border-bottom: 1px solid var(--rule); }
.sequence-key { color: var(--ink-secondary); font-family: var(--font-mono); font-size: 14px; }
.sequence-item h2 { margin-bottom: var(--s-4); }
.sequence-item p { max-width: var(--measure); }

.editorial-grid { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: var(--s-16); }
.editorial-grid + .editorial-grid { margin-top: var(--s-16); padding-top: var(--s-16); border-top: 1px solid var(--rule); }
.editorial-grid h2 { max-width: 18ch; font-size: clamp(23px, 3vw, 32px); }
.editorial-copy { display: grid; gap: var(--s-6); max-width: var(--measure); }
.about-opening { max-width: var(--measure); }


.status-panel { max-width: 900px; border-top: var(--accent-bar) solid var(--paddock); background: var(--wheat); padding: clamp(32px, 6vw, 72px); }
.status-panel p { max-width: 44ch; font-size: clamp(24px, 4vw, 40px); font-weight: 600; line-height: 1.16; letter-spacing: -.02em; }
.stage-key { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.stage-key span { min-height: 100px; padding: var(--s-4); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: var(--font-mono); font-size: 12px; }

.plain-list { border-top: 1px solid var(--rule); }
.plain-item { padding-block: var(--s-12); border-bottom: 1px solid var(--rule); }
.plain-item h2 { margin-bottom: var(--s-4); font-size: clamp(23px, 3vw, 32px); }
.plain-item p { max-width: var(--measure); }

.commitment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--slate-dark); border-left: 1px solid var(--slate-dark); }
.commitment { padding: var(--s-8); border-right: 1px solid var(--slate-dark); border-bottom: 1px solid var(--slate-dark); }
.commitment h2 { margin-bottom: var(--s-4); font-size: clamp(22px, 2.7vw, 30px); }
.commitment p + .placeholder { margin-top: var(--s-6); }

.registration { display: grid; grid-template-columns: minmax(150px, .55fr) minmax(0, 1.45fr); max-width: 760px; border-top: 1px solid var(--rule); }
.registration dt, .registration dd { padding-block: var(--s-4); border-bottom: 1px solid var(--rule); }
.registration dt { color: var(--ink-secondary); font-family: var(--font-mono); font-size: 13px; }
.registration dd { font-weight: 500; }

.contact-block .standfirst { margin-bottom: var(--s-8); }
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}
.contact-option {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: var(--s-4);
  border: 1px solid var(--wheat);
  color: var(--bone);
  text-decoration: none;
}
.contact-option:hover,
.contact-option:focus-visible {
  background: var(--slate-dark);
  color: var(--bone);
  text-decoration: underline;
}
.contact-option-label,
.contact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-option > span:last-child {
  overflow-wrap: anywhere;
}
.footer-meta .contact-label {
  display: inline-block;
  min-width: 118px;
  color: var(--wheat);
}
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.btn--primary { background: var(--slate-dark); color: var(--bone); }
.btn--primary:hover, .btn--primary:active { background: var(--slate); color: var(--bone); text-decoration: underline; }
.field .btn--primary { background: var(--bone); color: var(--slate-dark); }
.field .btn--primary:hover { background: var(--wheat); }

.site-footer { background: var(--field-bg); color: var(--ink-reverse); }
.site-footer .wrap { padding-top: var(--s-16); padding-bottom: var(--s-16); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-12); align-items: start; }
.site-footer .footer-mark { width: 150px; height: auto; margin-bottom: var(--s-4); color: var(--paddock-light); }
.site-footer .tagline { color: var(--bone); font-size: 15px; font-weight: 600; }
.footer-nav { display: grid; gap: 2px; }
.footer-nav a { min-height: 48px; display: flex; align-items: center; }
.site-footer a { color: var(--bone); }
.footer-meta { color: var(--bone); font-family: var(--font-mono); font-size: 13.5px; line-height: 1.9; }
.footer-meta a { color: var(--bone); }
.footer-legal { margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--bone); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-6); color: var(--bone); font-size: 13px; }
.footer-legal a { color: var(--bone); margin: 0; padding: 0; min-width: 0; min-height: 0; display: inline; line-height: inherit; }
.privacy-pending { color: var(--bone); opacity: .72; }
.footer-meta a, .plain-item a, .registration a { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; }

@media (max-width: 1023px) {
  :root { --page-margin: 32px; }
  .cols--3, .cols--cards { grid-template-columns: 1fr; }
  .page-hero .section:has(.page-ref) { grid-template-columns: 1fr; gap: var(--s-8); }
  .page-hero .section { min-height: 440px; }
  .page-ref { justify-self: start; }
  .stage-key { grid-template-columns: 1fr; }
  .stage-key span { min-height: 0; }
}

@media (max-width: 767px) {
  .contact-options { grid-template-columns: 1fr; }
  :root { --page-margin: 24px; --s-24: 64px; --s-16: 48px; }
  html { scroll-padding-top: 64px; }
  .site-header .wrap { height: 64px; gap: var(--s-4); }
  .brand-mark { width: 80px; }
  .nav--desktop { display: none; }
  .nav-menu { position: relative; display: block; margin-left: auto; }
  .nav-menu summary {
    min-width: 64px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
  }
  .nav-menu summary::-webkit-details-marker { display: none; }
  .nav-menu summary::after { content: "+"; margin-left: var(--s-2); font-family: var(--font-mono); }
  .nav-menu[open] summary { border-bottom-color: var(--accent); }
  .nav-menu[open] summary::after { content: "−"; }
  .nav--mobile {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    width: min(280px, calc(100vw - 48px));
    max-height: calc(100vh - 88px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    border: 1px solid var(--rule);
    background: var(--page-bg);
    padding: var(--s-2);
  }
  .nav-menu:not([open]) > .nav--mobile { display: none; }
  .nav--mobile a { justify-content: flex-start; padding-inline: var(--s-3); border-bottom-width: 1px; font-size: 14px; }
  .nav--mobile a[aria-current="page"] { border-bottom-width: 3px; }
  .cols--2, .editorial-grid, .commitment-list, .footer-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--slate); }
  .sequence-item { grid-template-columns: 1fr; gap: var(--s-4); }
  .registration { grid-template-columns: 1fr; }
  .registration dt { padding-bottom: 0; border-bottom: 0; }
  .registration dd { padding-top: var(--s-1); }
  .page-hero .section { min-height: 400px; padding-block: var(--s-12); }
  .page-hero-mark { width: 150px; margin-bottom: var(--s-4); }
}


/* Short laptop viewports: keep the homepage headline fully above the fold. */
@media (min-width: 768px) and (max-height: 700px) {
  .hero .section { padding-block: 40px 56px; }
  .hero-mark { width: clamp(210px, 24vw, 300px); }
  .hero-lockup { margin-bottom: var(--s-6); }
  .hero-wordmark { margin-top: var(--s-2); font-size: 16px; }
  .hero-positioning { font-size: 12px; }
  .hero .eyebrow { margin-bottom: var(--s-3); }
  .hero .h-hero { max-width: 22ch; font-size: clamp(38px, 4.2vw, 54px); margin-bottom: var(--s-4); }
  .hero .standfirst { font-size: 18px; line-height: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .site-header { position: static; }
  .field, .field--wheat { background: var(--bone); color: var(--slate-dark); }
  .field p, .field .eyebrow { color: var(--slate-dark); }
}

/* Light interaction polish. Uses only the existing Rural DC Co palette and square geometry. */
.heading-with-icon {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
}
.section-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--paddock);
  transition: transform 180ms var(--ease), color 180ms var(--ease);
}
.section-icon--large {
  width: 52px;
  height: 52px;
  margin-bottom: var(--s-6);
}
.card .heading-with-icon { margin-bottom: var(--s-4); }
.card .heading-with-icon h2,
.card .heading-with-icon h3 { margin-bottom: 0; }
.editorial-grid > .heading-with-icon {
  align-self: start;
}
.section--rule .heading-with-icon {
  margin-bottom: var(--s-8);
}
.section--rule .heading-with-icon .section-heading { margin: 0; }

.card,
.benefit,
.commitment,
.status-panel {
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease);
}
.sequence-item,
.editorial-grid,
.plain-item {
  transition: transform 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .card:focus-within {
    transform: translateY(-4px);
    background: var(--wheat);
  }
  .benefit:hover,
  .benefit:focus-within {
    transform: translateY(-3px);
    background: var(--bone);
  }
  .commitment:hover,
  .commitment:focus-within {
    background: var(--wheat);
  }
  .status-panel:hover,
  .status-panel:focus-within {
    transform: translateY(-3px);
    border-top-color: var(--slate-dark);
  }
  .sequence-item:hover,
  .editorial-grid:hover,
  .plain-item:hover {
    transform: translateX(4px);
  }
  .card:hover .section-icon,
  .benefit:hover .section-icon,
  .sequence-item:hover .section-icon,
  .editorial-grid:hover .section-icon,
  .plain-item:hover .section-icon,
  .commitment:hover .section-icon,
  .status-panel:hover .section-icon {
    transform: translateY(-2px) scale(1.06);
    color: var(--slate-dark);
  }
}

/* Progressive scroll reveal. Content stays visible when JS is unavailable. */
.js-enhanced .reveal-item {
  opacity: .78;
  transform: translateY(10px);
  transition:
    opacity 360ms var(--ease),
    transform 360ms var(--ease),
    background-color 180ms var(--ease),
    border-color 180ms var(--ease);
}
.js-enhanced .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js-enhanced .reveal-item.reveal-delay-0 { transition-delay: 0ms, 0ms, 0ms, 0ms; }
.js-enhanced .reveal-item.reveal-delay-1 { transition-delay: 30ms, 30ms, 0ms, 0ms; }
.js-enhanced .reveal-item.reveal-delay-2 { transition-delay: 60ms, 60ms, 0ms, 0ms; }
.js-enhanced .reveal-item.reveal-delay-3 { transition-delay: 90ms, 90ms, 0ms, 0ms; }

@media (min-width: 768px) and (max-width: 1100px) {
  .site-header .wrap { gap: var(--s-4); }
  .brand-mark { width: 104px; }
  .nav { gap: 10px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 767px) {
  .heading-with-icon { gap: var(--s-3); }
  .section-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .section-icon--large { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .js-enhanced .reveal-item,
  .js-enhanced .reveal-item.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .js-enhanced .reveal-item.is-visible.card:hover,
  .js-enhanced .reveal-item.is-visible.card:focus-within { transform: translateY(-4px); }
  .js-enhanced .reveal-item.is-visible.benefit:hover,
  .js-enhanced .reveal-item.is-visible.benefit:focus-within { transform: translateY(-3px); }
  .js-enhanced .reveal-item.is-visible.status-panel:hover,
  .js-enhanced .reveal-item.is-visible.status-panel:focus-within { transform: translateY(-3px); }
  .js-enhanced .reveal-item.is-visible.sequence-item:hover,
  .js-enhanced .reveal-item.is-visible.editorial-grid:hover,
  .js-enhanced .reveal-item.is-visible.plain-item:hover { transform: translateX(4px); }
}


/* V4: About palette treatment and stronger mobile navigation states. */
.page-hero--about {
  background: var(--wheat);
  color: var(--slate-dark);
  border-bottom-color: var(--slate);
}
.page-hero--about p,
.page-hero--about .eyebrow { color: var(--slate-dark); }
.page-hero--about .page-hero-mark { color: var(--paddock); }
.about-section--company { background: var(--bone); }
.about-section--registration {
  background: var(--slate);
  color: var(--bone);
  border-top: 0;
}
.about-section--registration .section-icon { color: var(--paddock-light); }
.about-section--registration .registration { border-top-color: var(--bone); }
.about-section--registration .registration dt,
.about-section--registration .registration dd { border-bottom-color: var(--bone); }
.about-section--registration .registration dt { color: var(--bone); }
.about-section--registration .registration dd,
.about-section--registration .registration a { color: var(--bone); }

@media (max-width: 767px) {
  .nav-menu summary {
    gap: var(--s-2);
    padding-inline: var(--s-3);
    border: 1px solid transparent;
    border-bottom-width: 3px;
    transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
  }
  .menu-label { font-weight: 700; }
  .nav-menu summary::after { margin-left: 0; }
  .nav-menu[open] summary {
    border-color: var(--rule);
    border-bottom-color: var(--accent);
    background: var(--wheat);
  }
  .nav--mobile {
    padding: var(--s-2) 0;
    border-color: var(--slate);
  }
  .nav--mobile a {
    position: relative;
    min-height: 52px;
    padding: 0 var(--s-4);
    border: 0;
    border-left: 4px solid transparent;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
    transition: background-color 160ms var(--ease), border-color 160ms var(--ease), padding-left 160ms var(--ease), color 160ms var(--ease);
  }
  .nav--mobile a:last-child { border-bottom: 0; }
  .nav--mobile a[aria-current="page"] {
    border-left-color: var(--accent);
    background: var(--wheat);
    color: var(--slate-dark);
    font-weight: 700;
  }
  .nav--mobile a[aria-current="page"]::after {
    content: "Current";
    margin-left: auto;
    color: var(--slate-dark);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .nav--mobile a:focus-visible,
  .nav-menu summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  .nav--mobile a:active { background: var(--wheat); }
}

@media (hover: hover) and (pointer: fine) and (max-width: 767px) {
  .nav-menu summary:hover { background: var(--wheat); border-bottom-color: var(--accent); }
  .nav--mobile a:hover {
    padding-left: calc(var(--s-4) + 4px);
    border-left-color: var(--paddock);
    background: var(--wheat);
  }
  .nav--mobile a[aria-current="page"]:hover { border-left-color: var(--slate-dark); }
}

/* Reversed eyebrow text stays Bone on Slate for WCAG contrast. Paddock Light remains a mark/accent colour. */
.field a:focus-visible, .site-footer a:focus-visible { outline-color: var(--bone); }

/* Water section */
.water-section { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.water-heading { margin-bottom: var(--s-6); }
.water-heading .section-heading { margin: 0; }
.water-copy { max-width: var(--measure); }
