/* =========================================================
   Reclamation Bonds — Surety One, Inc.
   Editorial design system
   ========================================================= */

:root {
  /* Palette — clean white with black text and red accents */
  --ink:        #0a0a0a;      /* near-black body text */
  --ink-2:      #2a2a2a;      /* secondary text */
  --ink-3:      #6a6a6a;      /* muted text */
  --paper:      #ffffff;      /* white background */
  --paper-2:    #f7f7f7;      /* subtle card / alternate band */
  --paper-3:    #ececec;      /* divider / outline */
  --forest:     #c5172e;      /* primary accent — red */
  --forest-2:   #9c1124;      /* hover / deeper red */
  --moss:       #0a0a0a;      /* secondary accent — black */
  --rust:       #c5172e;      /* attention accent — red */
  --gold:       #ff4d63;      /* light red — accent on dark backgrounds */
  --rule:       rgba(10,10,10,0.14);

  /* Type */
  --serif:    "Fraunces", "Iowan Old Style", "Georgia", serif;
  --body:     "EB Garamond", "Iowan Old Style", "Georgia", serif;
  --sans:     "Inter Tight", "Helvetica Neue", "Arial", sans-serif;
  --mono:     "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Layout */
  --maxw: 72rem;
  --maxw-narrow: 44rem;
  --maxw-prose: 38rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover { color: var(--rust); }

/* ============== Typography ============== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 var(--s-4);
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
}
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 var(--s-5); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--moss);
  margin-bottom: var(--s-4);
  display: inline-block;
}

.lead {
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink-2);
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.005em;
}

blockquote {
  margin: var(--s-6) 0;
  padding: var(--s-4) 0 var(--s-4) var(--s-5);
  border-left: 3px solid var(--forest);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-2);
  line-height: 1.4;
}
blockquote cite {
  display: block;
  margin-top: var(--s-3);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-style: normal;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

ul, ol { padding-left: 1.25em; margin: 0 0 var(--s-5); }
li { margin-bottom: var(--s-2); }

code, kbd, samp {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--paper-2);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--s-7) 0;
}

/* ============== Layout primitives ============== */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.wrap-narrow {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.wrap-prose {
  max-width: var(--maxw-prose);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

section { padding: var(--s-8) 0; }
@media (min-width: 768px) { section { padding: var(--s-9) 0; } }

/* ============== Top bar ============== */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-2);
  padding-bottom: var(--s-2);
  gap: var(--s-4);
  flex-wrap: wrap;
}
.topbar a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.85;
}
.topbar a:hover { opacity: 1; color: var(--gold); }
.topbar .tb-left { display: flex; gap: var(--s-5); }
.topbar .tb-right { display: flex; gap: var(--s-5); }

@media (max-width: 640px) {
  .topbar { font-size: 0.7rem; }
  .topbar .tb-left, .topbar .tb-right { gap: var(--s-3); }
}

/* ============== Header / nav ============== */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background-color: rgba(255,255,255,0.94);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-mark em {
  color: var(--forest);
  font-style: italic;
  font-weight: 400;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 640px) { .brand-sub { display: none; } }

.nav {
  display: flex;
  gap: var(--s-5);
  align-items: center;
  font-family: var(--sans);
  font-size: 0.9rem;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: var(--s-2) 0;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--forest);
  border-bottom-color: var(--forest);
}
.nav .nav-cta {
  background: var(--forest);
  color: var(--paper);
  padding: var(--s-2) var(--s-5);
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav .nav-cta:hover {
  background: var(--forest-2);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  padding: var(--s-2) var(--s-3);
  font-family: var(--sans);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 1120px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    padding: var(--s-4);
    gap: var(--s-3);
  }
  .nav.open { display: flex; }
  .nav a { padding: var(--s-3) 0; border-bottom: 1px solid var(--rule); }
  .nav .nav-cta { text-align: center; border-bottom: 0; }
  .menu-toggle { display: block; }
}

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-8);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(197,23,46,0.05), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(10,10,10,0.04), transparent 50%),
    var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black, transparent);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: var(--s-8); }
}
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em {
  font-style: italic;
  color: var(--forest);
  font-weight: 300;
}
.hero-meta {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.hero-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--forest);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: var(--s-6);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 24px;
  border-top: 2px solid var(--forest);
  border-left: 2px solid var(--forest);
}
.hero-card::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 24px; height: 24px;
  border-bottom: 2px solid var(--forest);
  border-right: 2px solid var(--forest);
}
.hero-card h3 { margin-bottom: var(--s-4); }
.hero-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--s-5);
}
.hero-card li {
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
}
.hero-card li:last-child { border-bottom: 0; }
.hero-card li span:last-child { color: var(--ink-3); font-size: 0.85rem; }

/* ============== Buttons ============== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: var(--s-4) var(--s-6);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--forest);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--rust);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-group {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* ============== Section heading ============== */
.section-head {
  margin-bottom: var(--s-7);
  max-width: 50rem;
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: var(--s-4); }
.section-head p {
  font-size: 1.15rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* Numbered divider */
.divider-num {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  font-family: var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--moss);
}
.divider-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.divider-num span:first-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--rust);
  letter-spacing: 0;
  text-transform: none;
}

/* ============== Card grid ============== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: var(--s-6);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
a.card:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(20,22,15,0.18);
}
.card .card-num {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: var(--s-3);
}
.card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--s-3);
}
.card p {
  color: var(--ink-2);
  font-size: 1rem;
  margin-bottom: var(--s-4);
  flex: 1;
}
.card .card-link {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--forest);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.card .card-link::after {
  content: " →";
  transition: margin-left 0.2s ease;
}
a.card:hover .card-link::after { margin-left: var(--s-2); }

/* ============== Featured pull ============== */
.pull {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.pull::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(184,146,58,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.pull .wrap { position: relative; }
.pull h2 { color: var(--paper); }
.pull h2 em { color: var(--gold); font-style: italic; font-weight: 300; }
.pull .eyebrow { color: var(--gold); }
.pull p { color: rgba(250,246,239,0.85); }
.pull a { color: var(--gold); }
.pull a:hover { color: var(--paper); }
.pull .btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.pull .btn-primary:hover { background: var(--paper); }
.pull .btn-ghost { color: var(--paper); border-color: rgba(250,246,239,0.4); }
.pull .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* ============== Prose long-form ============== */
.prose {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
}
.prose h2 { margin-top: var(--s-8); }
.prose h3 { margin-top: var(--s-7); }
.prose p, .prose li {
  font-size: 1.15rem;
  line-height: 1.7;
}
.prose .toc {
  background: var(--paper-2);
  border-left: 3px solid var(--forest);
  padding: var(--s-5);
  margin: var(--s-6) 0;
  font-family: var(--sans);
}
.prose .toc h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  margin-bottom: var(--s-3);
  color: var(--ink-3);
}
.prose .toc ol {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.95rem;
}
.prose .toc li { margin-bottom: var(--s-2); }
.prose .toc a { text-decoration: none; color: var(--ink); }
.prose .toc a:hover { color: var(--forest); text-decoration: underline; }

.prose .callout {
  background: var(--paper-2);
  border-left: 3px solid var(--moss);
  padding: var(--s-5);
  margin: var(--s-6) 0;
}
.prose .callout h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--moss);
  margin-bottom: var(--s-3);
}
.prose .callout p:last-child { margin-bottom: 0; }

.prose figure { margin: var(--s-6) 0; }
.prose figcaption {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-3);
  text-align: center;
  margin-top: var(--s-3);
}

/* ============== Tables ============== */
.table-wrap {
  overflow-x: auto;
  margin: var(--s-5) 0;
  border: 1px solid var(--rule);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th {
  background: var(--paper-2);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgba(31,58,46,0.03); }

/* ============== FAQ accordion ============== */
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: var(--s-5) 0;
}
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--forest);
  font-weight: 300;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div {
  padding-top: var(--s-4);
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.65;
}
.faq details > div p:last-child { margin-bottom: 0; }

/* ============== Stats strip ============== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-5);
  padding: var(--s-6);
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.stat .stat-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-2);
}
.stat .stat-label {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

/* ============== Forms list ============== */
.forms-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-3);
  list-style: none;
  padding: 0;
}
.forms-list li { margin: 0; }
.forms-list a {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.4;
  transition: all 0.15s ease;
}
.forms-list a:hover {
  background: var(--paper);
  border-color: var(--forest);
  color: var(--forest);
}
.forms-list a::before {
  content: "PDF";
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--rust);
  color: var(--paper);
  padding: 0.2em 0.4em;
  border-radius: 2px;
}

/* ============== Footer ============== */
.site-footer {
  background: var(--ink);
  color: rgba(250,246,239,0.85);
  padding: var(--s-8) 0 var(--s-5);
  font-family: var(--sans);
  font-size: 0.9rem;
}
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(250,246,239,0.15);
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: var(--s-4);
  font-weight: 600;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li { margin-bottom: var(--s-3); }
.footer-mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: var(--s-3);
  letter-spacing: -0.02em;
}
.footer-mark em { color: var(--gold); font-style: italic; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-5);
  font-size: 0.78rem;
  color: rgba(250,246,239,0.55);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.footer-bottom .legal-links { display: flex; gap: var(--s-4); }

/* ============== Breadcrumbs ============== */
.crumbs {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-3);
  padding: var(--s-5) 0 0;
  letter-spacing: 0.02em;
}
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--forest); }
.crumbs span[aria-current] { color: var(--ink); }
.crumbs span:not([aria-current])::after {
  content: " / ";
  color: var(--paper-3);
  margin: 0 var(--s-2);
}

/* ============== Page title block ============== */
.page-title {
  padding: var(--s-7) 0 var(--s-5);
  border-bottom: 1px solid var(--rule);
}
.page-title .eyebrow { color: var(--rust); }
.page-title h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: var(--s-4);
}
.page-title p {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 48rem;
  margin-bottom: 0;
}

/* ============== Two-column content ============== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 2fr 1fr; gap: var(--s-8); }
}
.sidebar {
  background: var(--paper-2);
  padding: var(--s-5);
  border-left: 3px solid var(--forest);
  font-family: var(--sans);
  font-size: 0.95rem;
  align-self: start;
  position: sticky;
  top: 100px;
}
.sidebar h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: var(--s-3);
}
.sidebar ul { list-style: none; padding: 0; margin: 0 0 var(--s-5); }
.sidebar li { margin-bottom: var(--s-2); }
.sidebar a { color: var(--ink); text-decoration: none; }
.sidebar a:hover { color: var(--forest); text-decoration: underline; }
.sidebar p:last-child { margin-bottom: 0; }

/* ============== Team / contacts ============== */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-5);
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: var(--s-5);
}
.team-card .role {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--moss);
  margin-bottom: var(--s-2);
}
.team-card h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: var(--s-3);
}
.team-card .contact-row {
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: var(--s-2) 0;
  border-top: 1px solid var(--rule);
}
.team-card .contact-row a { color: var(--ink-2); text-decoration: none; }
.team-card .contact-row a:hover { color: var(--forest); }

/* ============== Utility ============== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-7); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-7); }
.muted { color: var(--ink-3); }

/* ============== States table for state hub ============== */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s-3);
  list-style: none;
  padding: 0;
}
.state-grid li { margin: 0; }
.state-grid a {
  display: block;
  padding: var(--s-3) var(--s-4);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.15s ease;
}
.state-grid a:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
.state-grid .state-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.state-grid a:hover .state-meta { color: var(--paper-3); }

/* ============== Print ============== */
@media print {
  .topbar, .site-header, .site-footer, .menu-toggle, .btn { display: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  a { color: black; text-decoration: underline; }
}

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


/* ============== Footer social icons ============== */
.footer-social {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--paper);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--forest);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ============== News page ============== */
.news-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}
.news-item:last-of-type { border-bottom: 0; }
.news-meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.news-tag { color: var(--forest); font-weight: 600; }
.news-item h2 { font-size: 1.55rem; margin: 0.3rem 0 0.6rem; }
.news-item h2 a { color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.news-item h2 a:hover { color: var(--forest); border-bottom-color: var(--forest); }
.news-cta { font-family: var(--sans); font-size: 0.9rem; margin-top: 0.6rem; }
.news-cta a { color: var(--forest); }


/* PDF download link variant */
.pdf-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px dashed var(--forest);
  padding-bottom: 1px;
}
.pdf-link:hover {
  color: var(--forest-2);
  border-bottom-style: solid;
}
