/* Washington Anthro Group — site styles
 * Builds on the design system's colors_and_type.css.
 * Path is from a page sitting one level into the tree (about/, events/, etc).
 * Pages at the root override the import path via a <link> override or use
 * the same relative path because we always link from project root.
 */

@import url("colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--fir-tint); color: var(--ink); }

/* ============ Layout ============ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Buttons ============ */

.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn:focus-visible { outline: 2px solid var(--fir); outline-offset: 2px; }
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--fir); color: var(--paper-2); }
.btn-primary:hover { background: var(--fir-deep); }
.btn-secondary { background: var(--paper-2); color: var(--ink); border: 1px solid var(--stone); }
.btn-secondary:hover { background: var(--birch); border-color: var(--stone-2); }
.btn-ghost { background: transparent; color: var(--fir); padding: 10px 4px; }
.btn-ghost:hover { color: var(--fir-deep); }
.btn-cedar { background: var(--cedar); color: var(--paper-2); }
.btn-cedar:hover { background: var(--cedar-dark); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn-on-dark.btn-secondary { background: transparent; color: var(--paper); border-color: rgba(245,239,228,0.35); }
.btn-on-dark.btn-secondary:hover { background: rgba(245,239,228,0.08); border-color: var(--paper-2); }

/* ============ Chips ============ */

.chip {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; }
.chip-success { background: var(--moss-tint); color: #3F5A33; }
.chip-warning { background: var(--sun-tint); color: #7A5818; }
.chip-info    { background: var(--mist-tint); color: #2F4856; }
.chip-tag     { background: var(--paper-2); border: 1px solid var(--stone); color: var(--ink-2); font-weight: 500; }
.chip-quiet   { background: var(--birch); color: var(--ink-2); font-weight: 500; }
.chip-featured{ background: var(--fir); color: var(--paper-2); font-weight: 500; }
.chip-cedar   { background: var(--cedar-tint); color: var(--cedar-dark); }

/* ============ Eyebrow ============ */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fir);
  display: inline-block;
}
.eyebrow-cedar { color: var(--cedar); }
.eyebrow-paper { color: var(--paper-3); }
.eyebrow-mist  { color: var(--mist); }
.eyebrow-ink   { color: var(--ink-3); }

/* ============ Header / nav ============ */

.site-header {
  border-bottom: 1px solid var(--birch);
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(10px);
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  gap: 32px;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-lockup img { height: 48px; width: 48px; display: block; flex-shrink: 0; }
.brand-lockup .wordmark { display: flex; flex-direction: column; }
.brand-lockup .wordmark-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.1;
  color: var(--fir);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-lockup .wordmark-sub {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 5px;
  white-space: nowrap;
}

.primary-nav { display: flex; gap: 4px; align-items: center; }
.primary-nav-item {
  position: relative;
}
.primary-nav-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  border: 0;
  background: transparent;
}
.primary-nav-link:hover {
  color: var(--ink);
  background: var(--birch);
}
.primary-nav-link.active {
  color: var(--fir);
  font-weight: 600;
}
.primary-nav-link .caret {
  width: 12px; height: 12px;
  transition: transform var(--dur-fast) var(--ease-out);
  opacity: 0.65;
}
.primary-nav-item.open .primary-nav-link .caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: var(--paper-2);
  border: 1px solid var(--birch);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(54,38,22,0.14), 0 4px 12px rgba(54,38,22,0.06);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  z-index: 40;
}
.primary-nav-item:hover .nav-dropdown,
.primary-nav-item.open .nav-dropdown,
.primary-nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-dropdown a:hover { background: var(--birch); }
.nav-dropdown a .nav-dropdown-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.nav-dropdown a .nav-dropdown-desc {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-3);
}

.header-actions { display: flex; gap: 8px; align-items: center; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--stone);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

/* ============ Hero (home) ============ */

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 70%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/assets/pattern-paws.svg");
  background-size: 240px;
  opacity: 0.05;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 22px;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  font-variation-settings: "opsz" 18;
  max-width: 540px;
  margin: 0;
}
.hero-ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo {
  aspect-ratio: 4/5;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--birch);
  box-shadow: 0 24px 56px rgba(54,38,22,0.14), 0 8px 18px rgba(54,38,22,0.08);
  background:
    linear-gradient(160deg,
      color-mix(in oklab, var(--fir) 70%, var(--mist) 30%) 0%,
      color-mix(in oklab, var(--cedar) 30%, var(--fir) 70%) 100%);
}
.hero-photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/assets/pattern-paws.svg");
  background-size: 180px;
  opacity: 0.14;
  filter: brightness(0) invert(1);
}
.hero-photo:has(img)::before { display: none; }
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo .photo-caption {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,239,228,0.78);
}

/* ============ Page header (inner pages) ============ */

.page-header {
  position: relative;
  padding: 72px 0 48px;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--birch);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/assets/pattern-paws.svg");
  background-size: 260px;
  opacity: 0.04;
  pointer-events: none;
}
.page-header.fir {
  background: var(--fir);
  color: var(--paper);
}
.page-header.fir::before {
  filter: brightness(0) invert(1);
  opacity: 0.07;
}
.page-header .breadcrumb {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 14px;
  position: relative;
}
.page-header.fir .breadcrumb { color: var(--paper-3); }
.page-header .breadcrumb a:hover { color: var(--fir); text-decoration: underline; text-underline-offset: 3px; }
.page-header.fir .breadcrumb a:hover { color: var(--paper); }
.page-header .breadcrumb-sep { padding: 0 8px; opacity: 0.5; }
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: inherit;
  font-variation-settings: "opsz" 48;
  text-wrap: balance;
  position: relative;
  max-width: 880px;
}
.page-header .page-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0;
  position: relative;
  font-variation-settings: "opsz" 18;
}
.page-header.fir .page-lede { color: color-mix(in oklab, var(--paper) 90%, transparent); }

/* ============ Sections ============ */

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-loose { padding: 112px 0; }

.section-dark {
  background: var(--fir);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/assets/pattern-paws.svg");
  background-size: 240px;
  opacity: 0.07;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.section-tan { background: var(--paper-3); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 32px; flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4vw, 44px); line-height: 1.1;
  letter-spacing: -0.02em; margin: 8px 0 0; max-width: 560px;
  text-wrap: balance;
  font-variation-settings: "opsz" 40;
  color: inherit;
}
.section-lede {
  font-family: var(--font-display); font-style: italic;
  font-size: 17px; line-height: 1.55; color: var(--ink-2);
  max-width: 440px; margin: 0;
  font-variation-settings: "opsz" 18;
}
.section-dark .section-lede { color: color-mix(in oklab, var(--paper) 90%, transparent); }

/* ============ Highlight cards (home) ============ */

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.highlight-card {
  background: var(--paper-2);
  border: 1px solid var(--birch);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 2px rgba(54,38,22,0.05);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.highlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--stone);
  box-shadow: 0 18px 36px rgba(54,38,22,0.10), 0 6px 12px rgba(54,38,22,0.05);
}
.highlight-card .highlight-visual {
  aspect-ratio: 5/3;
  background: var(--birch);
  position: relative;
  overflow: hidden;
}
.highlight-card[data-tone="fir"] .highlight-visual {
  background: linear-gradient(155deg,
    color-mix(in oklab, var(--fir) 85%, var(--mist) 15%),
    color-mix(in oklab, var(--fir-deep) 90%, var(--cedar) 10%));
}
.highlight-card[data-tone="cedar"] .highlight-visual {
  background: linear-gradient(155deg,
    color-mix(in oklab, var(--cedar) 85%, var(--sun) 15%),
    color-mix(in oklab, var(--cedar-dark) 90%, var(--fir) 10%));
}
.highlight-card[data-tone="moss"] .highlight-visual {
  background: linear-gradient(155deg,
    color-mix(in oklab, var(--moss) 80%, var(--fir) 20%),
    color-mix(in oklab, var(--fir) 60%, var(--moss) 40%));
}
.highlight-card .highlight-visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/assets/pattern-paws.svg");
  background-size: 140px;
  opacity: 0.12;
  filter: brightness(0) invert(1);
}
.highlight-card .visual-label {
  position: absolute;
  bottom: 14px; left: 16px; right: 16px;
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,239,228,0.7);
}
.highlight-card .highlight-body {
  padding: 24px 24px 28px;
  display: flex; flex-direction: column;
  gap: 10px;
  flex: 1;
}
.highlight-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.highlight-card .highlight-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.highlight-card .highlight-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--fir);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  letter-spacing: 0.01em;
}
.highlight-card:hover .highlight-link {
  color: var(--fir-deep);
}
.highlight-card:hover .highlight-link svg {
  transform: translateX(3px);
}
.highlight-card .highlight-link svg {
  transition: transform var(--dur-fast) var(--ease-out);
}

/* ============ Mission strip ============ */

.mission-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--birch);
  border-bottom: 1px solid var(--birch);
}
.mission-cell {
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--birch);
  display: flex; flex-direction: column; gap: 8px;
}
.mission-cell:not(:first-child) { padding-left: 28px; }
.mission-cell:last-child { border-right: none; }
.mission-num {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 500;
  color: var(--cedar); line-height: 1;
  font-variation-settings: "opsz" 28;
}
.mission-h {
  font-family: var(--font-display); font-weight: 500;
  font-size: 20px; margin: 0; color: var(--ink);
  line-height: 1.2;
}
.mission-p {
  font-size: 13.5px; line-height: 1.55; color: var(--ink-2);
  margin: 0;
}

/* ============ Body article (Mission, Legal, Privacy, Terms) ============ */

.article {
  font-family: var(--font-sans);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}
.article h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 56px 0 16px;
  text-wrap: balance;
  font-variation-settings: "opsz" 28;
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin: 32px 0 10px;
}
.article p {
  margin: 0 0 18px;
  text-wrap: pretty;
}
.article p:last-child { margin-bottom: 0; }
.article a {
  color: var(--fir);
  border-bottom: 1px solid color-mix(in oklab, var(--fir) 35%, transparent);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.article a:hover {
  color: var(--fir-deep);
  border-bottom-color: var(--fir-deep);
}
.article ul, .article ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.article li {
  margin-bottom: 8px;
  line-height: 1.65;
}
.article li::marker { color: var(--cedar); }
.article strong { color: var(--ink); font-weight: 600; }
.article blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  border-left: 3px solid var(--fir);
  background: var(--paper-2);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
}
.article blockquote p { margin: 0; }
.article address {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  background: var(--paper-2);
  border: 1px solid var(--birch);
  border-radius: 10px;
  padding: 18px 22px;
  display: inline-block;
  color: var(--ink);
  margin: 4px 0 20px;
}
.article .callout {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--sun-tint);
  border-radius: 10px;
  border-left: 3px solid var(--sun);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}
.article .callout strong { color: var(--ink); }
.article .callout p:last-child { margin-bottom: 0; }
.article .callout.info {
  background: var(--mist-tint);
  border-left-color: var(--mist);
}
.article hr {
  border: 0;
  border-top: 1px solid var(--birch);
  margin: 48px 0;
}

/* Article side-by-side layout: TOC or aside on the right */
.article-with-aside {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 64px;
  align-items: start;
}
.article-aside {
  position: sticky;
  top: 96px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-3);
}
.article-aside h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 12px;
}
.article-aside ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.article-aside li a {
  color: var(--ink-2);
  display: block;
  padding: 4px 0;
  border-left: 2px solid var(--birch);
  padding-left: 12px;
  margin-left: -14px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.article-aside li a:hover { color: var(--fir); border-left-color: var(--fir); }

/* ============ Board grid ============ */

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.board-card {
  background: var(--paper-2);
  border: 1px solid var(--birch);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(54,38,22,0.05);
}
.board-photo {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg,
      color-mix(in oklab, var(--fir) 65%, var(--mist) 35%),
      color-mix(in oklab, var(--cedar) 30%, var(--fir) 70%));
}
.board-photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/assets/paw.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 88px;
  opacity: 0.18;
  filter: brightness(0) invert(1);
}
.board-photo[data-tone="cedar"] {
  background: linear-gradient(160deg,
    color-mix(in oklab, var(--cedar) 80%, var(--sun) 20%),
    color-mix(in oklab, var(--cedar-dark) 85%, var(--fir) 15%));
}
.board-photo[data-tone="moss"] {
  background: linear-gradient(160deg,
    color-mix(in oklab, var(--moss) 75%, var(--fir) 25%),
    color-mix(in oklab, var(--fir) 70%, var(--moss) 30%));
}
.board-photo .photo-caption {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,239,228,0.72);
}
.board-body { padding: 22px 24px 26px; flex: 1; }
.board-body .board-role {
  font-family: var(--font-sans);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cedar);
  margin: 0 0 6px;
}
.board-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
}
.board-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* ============ Document list (Legal & Filings, Press kit) ============ */

.doc-list {
  border-top: 1px solid var(--birch);
}
.doc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--birch);
  transition: background var(--dur-fast) var(--ease-out);
}
.doc-row:hover { background: var(--paper-2); }
.doc-row .doc-main {
  display: flex; gap: 16px; align-items: center;
}
.doc-row .doc-icon {
  width: 40px; height: 40px;
  background: var(--fir-tint);
  color: var(--fir);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.doc-row .doc-text h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 2px;
  color: var(--ink);
}
.doc-row .doc-text p {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
}
.doc-row .doc-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fir);
}
.doc-row[data-status="pending"] .doc-action {
  color: var(--ink-3);
  font-weight: 500;
}
.doc-row a.doc-action { border-bottom: none; }
.doc-row a.doc-action:hover { color: var(--fir-deep); text-decoration: underline; }

/* ============ Forms ============ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.form-grid .full { grid-column: 1 / -1; }

.field-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 8px;
}
.field-label .req { color: var(--cedar); margin-left: 2px; }

.field-input,
.field-textarea,
.field-select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--stone);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.field-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}
.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  border-color: var(--fir);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--fir) 18%, transparent);
  background: var(--paper-2);
}
.field-input::placeholder,
.field-textarea::placeholder { color: var(--ink-4); }

.field-help {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 6px 0 0;
  line-height: 1.45;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--paper-2);
  border: 1px solid var(--birch);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  font-size: 14px;
  color: var(--ink);
}
.checkbox-row:hover { border-color: var(--stone); }
.checkbox-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--stone);
  border-radius: 4px;
  background: var(--paper);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  margin-top: 1px;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.checkbox-row input[type="checkbox"]:checked {
  background: var(--fir);
  border-color: var(--fir);
}
.checkbox-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 3px; left: 6px;
  width: 4px; height: 8px;
  border: solid var(--paper-2);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-row:has(input[type="checkbox"]:checked) {
  background: var(--fir-tint);
  border-color: var(--fir);
}
/* Keyboard focus needs to be visible on the custom checkbox. */
.checkbox-row:has(input[type="checkbox"]:focus-visible) {
  outline: 2px solid var(--fir);
  outline-offset: 2px;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend { padding: 0; }

/* Honeypot: off-screen rather than display:none, which more bots skip. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-error {
  background: var(--cedar-tint);
  border: 1px solid color-mix(in oklab, var(--cedar) 40%, transparent);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cedar-dark);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}
.form-success {
  background: var(--moss-tint);
  border: 1px solid color-mix(in oklab, var(--moss) 40%, transparent);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.form-success .check-circle {
  width: 38px; height: 38px;
  background: var(--moss);
  color: var(--paper-2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-success h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--ink);
}
.form-success p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

/* ============ Newsletter / CTA strip ============ */

.newsletter {
  background: var(--paper-2);
  border: 1px solid var(--birch);
  border-radius: 16px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.newsletter h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--ink);
}
.newsletter p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 460px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 280px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.newsletter-form input:focus {
  border-color: var(--fir);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--fir) 18%, transparent);
}

/* ============ Event card (Cascadia) ============ */

.event-feature {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--fir);
  color: var(--paper);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.event-feature::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/assets/pattern-paws.svg");
  background-size: 200px;
  opacity: 0.07;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.event-feature > * { position: relative; }
.event-feature .event-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 18px;
  display: inline-block;
}
.event-feature h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--paper);
  text-wrap: balance;
  font-variation-settings: "opsz" 48;
}
.event-feature p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--paper) 92%, transparent);
  margin: 0 0 28px;
  max-width: 480px;
}
.event-feature .when-where {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,239,228,0.18);
}
.event-feature .when-where dt {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  margin-bottom: 6px;
}
.event-feature .when-where dd {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--paper);
  margin: 0;
  font-variation-settings: "opsz" 22;
}
.event-feature .ticket-art {
  aspect-ratio: 3/4;
  border-radius: 14px;
  background: linear-gradient(155deg,
    color-mix(in oklab, var(--cedar) 60%, var(--sun) 40%),
    color-mix(in oklab, var(--cedar-dark) 80%, var(--fir) 20%));
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,0.32);
  border: 1px solid rgba(245,239,228,0.08);
}
.event-feature .ticket-art::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/assets/paw.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 140px;
  opacity: 0.16;
  filter: brightness(0) invert(1);
}

/* ============ Status banner ============ */

.status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--cedar-tint);
  border-bottom: 1px solid color-mix(in oklab, var(--cedar) 25%, transparent);
  font-size: 13px;
  color: var(--cedar-dark);
  font-weight: 500;
  justify-content: center;
  text-align: center;
}
.status-banner .dot {
  width: 8px; height: 8px;
  background: var(--cedar);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* ============ Empty state ============ */

.empty-state {
  text-align: center;
  padding: 96px 32px;
  border: 1px dashed var(--stone);
  border-radius: 16px;
  background: var(--paper-2);
  max-width: 640px;
  margin: 0 auto;
}
.empty-state .empty-icon {
  width: 64px; height: 64px;
  background: var(--birch);
  color: var(--fir);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.empty-state h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 10px;
}
.empty-state p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 440px;
  margin: 0 auto;
}

/* ============ Footer ============ */

.site-footer {
  background: var(--paper-3);
  padding: 64px 0 32px;
  border-top: 1px solid var(--birch);
  color: var(--ink-2);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 14px; color: var(--ink-2); transition: color var(--dur-fast) var(--ease-out); }
.footer-col li a:hover { color: var(--fir); }
.footer-brand img { height: 60px; width: 60px; display: block; }
.footer-brand .footer-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--fir);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.footer-brand .footer-tagline {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-top: 6px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  max-width: 340px;
  margin: 14px 0 0;
  color: var(--ink-3);
}
.footer-brand address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 12px 0 0;
}
.footer-divider {
  display: flex;
  justify-content: center;
  margin: 0 0 28px;
}
.footer-divider img { height: 24px; opacity: 0.4; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--birch);
  font-size: 12.5px;
  color: var(--ink-3);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom .legal a:hover { color: var(--ink); }
.footer-bottom .social {
  display: flex;
  gap: 8px;
}
.footer-bottom .social a {
  width: 32px; height: 32px;
  border: 1px solid var(--stone);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: all var(--dur-fast) var(--ease-out);
}
.footer-bottom .social a:hover {
  background: var(--fir);
  border-color: var(--fir);
  color: var(--paper-2);
}

/* ============ Toast ============ */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper-2);
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 28px rgba(54,38,22,0.20);
  z-index: 50;
  animation: toastIn var(--dur-base) var(--ease-out);
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ============ Responsive ============ */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .mission-strip { grid-template-columns: 1fr 1fr; }
  .mission-cell:nth-child(2) { border-right: none; }
  .article-with-aside { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .event-feature { grid-template-columns: 1fr; padding: 48px 40px; }
}
@media (max-width: 720px) {
  .container, .container-narrow, .container-wide { padding: 0 20px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .mission-strip { grid-template-columns: 1fr; }
  .mission-cell { border-right: 0; border-bottom: 1px solid var(--birch); padding: 24px 0; }
  .mission-cell:last-child { border-bottom: 0; }
  .checkbox-group { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .newsletter { grid-template-columns: 1fr; padding: 28px; }
  .newsletter-form input { min-width: 0; flex: 1; }
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 64px 0; }
  .doc-row { grid-template-columns: 1fr; }
}

/* ============ No-JavaScript navigation ============ */
/* The header used to be a React component; the dropdowns are now pure CSS
   (:hover / :focus-within, defined with .nav-dropdown above) and the mobile
   menu is a <details> element, so both work with scripting disabled. */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--fir);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

.mobile-nav { display: none; position: relative; }
.mobile-nav > summary {
  list-style: none;
}
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav > summary::marker { content: ""; }
.mobile-nav > summary .icon-close { display: none; }
.mobile-nav[open] > summary .icon-open { display: none; }
.mobile-nav[open] > summary .icon-close { display: block; }

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 40px));
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--birch);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(54, 38, 22, 0.16), 0 4px 12px rgba(54, 38, 22, 0.06);
  padding: 14px 16px;
  z-index: 50;
}
.mobile-nav-group { margin-bottom: 12px; }
.mobile-nav-group:last-child { margin-bottom: 0; }
.mobile-nav-heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 6px;
}
.mobile-nav-panel a {
  display: block;
  padding: 10px 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  border-radius: 6px;
  text-decoration: none;
}
.mobile-nav-panel a:hover { background: var(--birch); }
.mobile-nav-panel a.mobile-nav-top {
  font-size: 16px;
  font-weight: 600;
  color: var(--fir);
}

@media (max-width: 720px) {
  .mobile-nav { display: block; }
  .nav-toggle { display: inline-flex; }
}

/* Respect a reduced-motion preference across the site. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* The brand lockup is fixed-width by design (the wordmark never wraps), which
   pushed the header past the viewport on phones. Shrink it below 720px so the
   header — and the menu button at the end of it — stays on screen. */
@media (max-width: 720px) {
  .site-header-inner { gap: 12px; }
  .brand-lockup { gap: 10px; min-width: 0; }
  .brand-lockup img { height: 38px; width: 38px; }
  .brand-lockup .wordmark-name {
    font-size: 15px;
    white-space: normal;
    line-height: 1.15;
  }
  .brand-lockup .wordmark-sub { display: none; }
}
