/* Tompkins Software Systems company site
   One stylesheet for every page. Mobile first; the desktop layout widens the same
   structure rather than switching to a different one. */

/* ---------- Fonts (self-hosted, SIL Open Font License; see assets/fonts) ---------- */
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4Variable-Roman.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/PublicSans-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/PublicSans-Italic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand colors: evergreen and brass. See brand.html. */
  --green-950: #0c241d;
  --green-900: #12352b;
  --green-800: #184a3c;
  --green-700: #1f5c4a;
  --green-600: #2a7560;
  --green-100: #dfeae3;
  --green-50: #eef4f0;
  --brass-700: #7f5f1b;
  --brass-600: #8c6a1f;
  --brass-500: #b8882f;
  --brass-400: #d4a84b;
  --brass-300: #e6c979;

  --paper: #fbfbf8;
  --surface: #ffffff;
  --stone-100: #f1f2ee;
  --stone-200: #e3e5df;
  --stone-300: #cbcfc6;
  --ink: #1a221e;
  --ink-2: #3a443f;
  --muted: #5e675f;

  --text-on-dark: #f3f4ee;
  --muted-on-dark: #b9c6bd;
  --rule-on-dark: rgba(243, 244, 238, 0.16);

  --ok: var(--green-600);
  --warn: var(--brass-600);
  --danger: #a3372b;

  --font-display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1120px;
  --gutter: 20px;
  --radius: 6px;
  --radius-lg: 10px;
  --measure: 66ch;
  --shadow: 0 1px 2px rgba(26, 34, 30, 0.06), 0 2px 8px rgba(26, 34, 30, 0.05);
  --focus: 0 0 0 3px rgba(42, 117, 96, 0.35);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--green-900); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  color: inherit;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.2rem); line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.3vw, 2.15rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }

p, ul, ol, dl { margin: 0 0 1em; }
p:last-child, ul:last-child, ol:last-child, dl:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 0.3em; }
strong { font-weight: 600; }
small, .small { font-size: 0.9rem; }
hr { border: 0; border-top: 1px solid var(--stone-200); margin: 2rem 0; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; background: var(--stone-100); padding: 0.1em 0.35em; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--brass-400); color: var(--ink); padding: 0.5rem 0.9rem;
  border-radius: var(--radius); font-weight: 600; z-index: 100;
}
.skip-link:focus { top: 8px; }

/* ---------- Labels, badges, buttons ---------- */
.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 0.75rem;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--brass-400); }

.badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18em 0.6em;
  border-radius: 999px;
  border: 1px solid var(--stone-300);
  color: var(--ink-2);
  background: var(--stone-100);
  vertical-align: middle;
  white-space: nowrap;
}
.badge-ok { background: var(--green-50); border-color: #bfd8ca; color: var(--green-800); }
.badge-brass { background: #f7efdc; border-color: #e6d4a2; color: var(--brass-700); }
.badge-dark { background: var(--green-900); border-color: var(--green-900); color: var(--text-on-dark); }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.78em 1.25em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.btn-primary:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.btn-brass { background: var(--brass-400); color: var(--ink); border-color: var(--brass-400); }
.btn-brass:hover { background: var(--brass-300); border-color: var(--brass-300); color: var(--ink); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-50); color: var(--green-900); }
.btn-ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(243, 244, 238, 0.45); }
.btn-ghost:hover { background: rgba(243, 244, 238, 0.1); color: #fff; border-color: #fff; }
.btn-small { font-size: 0.9rem; padding: 0.55em 0.95em; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--stone-200);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand .mark { width: 36px; height: 36px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-top { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); margin-top: 2px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; border: 1.5px solid var(--stone-300); color: var(--ink);
  border-radius: var(--radius); padding: 0.5em 0.8em; font: inherit; font-weight: 600; font-size: 0.92rem;
  cursor: pointer;
}
.nav-toggle .bars { display: inline-block; width: 16px; height: 12px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 5px; }
.nav-toggle .bars::after { top: 10px; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--stone-200);
  box-shadow: 0 12px 24px rgba(26, 34, 30, 0.08);
}
.site-nav ul { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1rem; }
.site-nav li { margin: 0; }
.site-nav a {
  display: block; padding: 0.8rem 0; text-decoration: none; color: var(--ink); font-weight: 500;
  border-bottom: 1px solid var(--stone-200);
}
.site-nav a[aria-current="page"] { color: var(--green-800); font-weight: 600; }
.site-nav a.btn, .site-nav a.btn[aria-current="page"] { color: #fff; }
.site-nav a.btn:hover { color: #fff; }
.site-nav li.nav-cta { padding-top: 0.9rem; }
.site-nav li.nav-cta a { border: 0; text-align: center; }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: block; position: static; background: transparent; border: 0; box-shadow: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 1.4rem; padding: 0; }
  .site-nav a { padding: 0.4rem 0; border: 0; font-size: 0.97rem; position: relative; }
  .site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--brass-500); transform: scaleX(0); transform-origin: left; transition: transform 0.15s ease;
  }
  .site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
  .site-nav li.nav-cta { padding: 0; margin-left: 0.4rem; }
}

/* ---------- Dark bands: hero and page heads ---------- */
.band-dark {
  background:
    linear-gradient(0deg, rgba(243, 244, 238, 0.035) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(243, 244, 238, 0.035) 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(180deg, var(--green-900), var(--green-950));
  color: var(--text-on-dark);
  position: relative;
}
.band-dark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--brass-500), var(--brass-300) 40%, var(--brass-500));
}
.band-dark h1, .band-dark h2 { color: #fff; }
.band-dark a:not(.btn) { color: var(--brass-300); }
.band-dark a:not(.btn):hover { color: #fff; }
.band-dark .lede { color: var(--muted-on-dark); }

.hero { padding: 3rem 0 3.25rem; }
.hero-grid { display: grid; gap: 2rem; }
.hero-copy h1 { max-width: 18ch; }
.lede { font-size: 1.15rem; line-height: 1.55; max-width: 56ch; color: var(--ink-2); }

.fact-panel {
  background: rgba(243, 244, 238, 0.06);
  border: 1px solid var(--rule-on-dark);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  align-self: start;
}
.fact-panel h2 { font-size: 0.78rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-400); margin-bottom: 0.9rem; }
.fact-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1.25rem; margin: 0; font-size: 0.97rem; }
.fact-panel dt { color: var(--muted-on-dark); }
.fact-panel dd { margin: 0; color: #fff; font-weight: 500; }
.fact-panel dd a { color: var(--brass-300); }

@media (min-width: 880px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; align-items: center; }
}

.page-head { padding: 2.5rem 0 2.75rem; }
.page-head h1 { max-width: 20ch; }
.page-head .lede { max-width: 60ch; }
@media (min-width: 880px) { .page-head { padding: 3.5rem 0 3.75rem; } }

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
.section-tint { background: var(--stone-100); }
.section-green { background: var(--green-50); }
@media (min-width: 880px) { .section { padding: 4.25rem 0; } }

.section-head { margin-bottom: 1.75rem; max-width: 62ch; }
.section-head .num {
  display: inline-block; font-family: var(--font-display); font-weight: 600; color: var(--brass-600);
  font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 0.35rem;
}
.section-head .num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--brass-500); margin: 0 0 0.25em 0.6em; vertical-align: middle; }
.section-head h2 { margin-bottom: 0.4rem; }
.section-head p { color: var(--ink-2); }

.grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  background: var(--surface);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--green-600); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-2); }
.card .card-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.card .card-link { margin-top: auto; padding-top: 0.5rem; font-weight: 600; text-decoration: none; }
.card .card-link::after { content: " \2192"; }
.card .card-link:hover { text-decoration: underline; }
.card-kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-600); }

/* Two-column prose layout used on the long pages */
.split { display: grid; gap: 2rem; }
@media (min-width: 880px) { .split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem; align-items: start; } }
.sidebar-note {
  background: var(--surface); border: 1px solid var(--stone-200); border-left: 4px solid var(--brass-500);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; font-size: 0.97rem;
}
.sidebar-note h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.sidebar-note ul { padding-left: 1.1em; }

.prose h2 { margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose > p, .prose > ul, .prose > ol { max-width: var(--measure); }
.prose table { max-width: 100%; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.25rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; background: var(--surface); }
th, td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--stone-200); vertical-align: top; }
th { font-weight: 600; background: var(--stone-100); color: var(--ink); font-size: 0.9rem; letter-spacing: 0.02em; }
tr:last-child td { border-bottom: 0; }
.table-wrap table { border: 1px solid var(--stone-200); border-radius: var(--radius); overflow: hidden; }

/* ---------- Definition rows (specs, how to buy) ---------- */
.spec { display: grid; grid-template-columns: 1fr; gap: 0.35rem 1.5rem; margin: 0; }
.spec dt { font-weight: 600; color: var(--ink); }
.spec dd { margin: 0 0 0.9rem; color: var(--ink-2); }
@media (min-width: 640px) {
  .spec { grid-template-columns: 11rem 1fr; }
  .spec dd { margin-bottom: 0.6rem; }
}

/* ---------- Timeline (updates) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--stone-300); }
.timeline li { position: relative; padding: 0 0 1.75rem 1.5rem; margin: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 0.45em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--brass-500); border: 2px solid var(--paper);
}
.timeline time { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-700); margin-bottom: 0.2rem; }
.timeline h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.timeline p { color: var(--ink-2); max-width: var(--measure); }

/* ---------- Values list ---------- */
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: value; }
.values li { padding: 1.1rem 1.2rem 1.1rem 3.4rem; background: var(--surface); border: 1px solid var(--stone-200); border-radius: var(--radius-lg); position: relative; margin: 0; }
.values li::before {
  counter-increment: value; content: counter(value, decimal-leading-zero);
  position: absolute; left: 1.15rem; top: 1.05rem; font-family: var(--font-display); font-weight: 600; color: var(--brass-600); font-size: 1.05rem;
}
.values h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.values p { margin: 0; color: var(--ink-2); }
@media (min-width: 880px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } .values li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- Sector list ---------- */
.sectors { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.sectors li { margin: 0; display: grid; grid-template-columns: 10px 1fr; gap: 0.9rem; align-items: start; padding: 0.9rem 1rem; background: var(--surface); border: 1px solid var(--stone-200); border-radius: var(--radius); }
.sectors li::before { content: ""; width: 10px; height: 10px; margin-top: 0.45em; border-radius: 2px; background: var(--green-700); grid-row: 1 / span 2; }
.sectors strong, .sectors span { grid-column: 2; }
.sectors strong { display: block; }
.sectors span { color: var(--ink-2); font-size: 0.97rem; }
@media (min-width: 640px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Callout ---------- */
.callout {
  border: 1px solid var(--stone-200); border-left: 4px solid var(--green-700); background: var(--surface);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 1.25rem 0;
}
.callout.brass { border-left-color: var(--brass-500); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Newsletter band ---------- */
.band-news { background: var(--green-100); border-top: 1px solid #cfdcd4; border-bottom: 1px solid #cfdcd4; }
.band-news .wrap { display: grid; gap: 1.25rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.band-news h2 { margin-bottom: 0.3rem; }
.band-news p { color: var(--ink-2); max-width: 52ch; }
@media (min-width: 880px) { .band-news .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3rem; } }

/* ---------- Forms ---------- */
form { margin: 0; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.88rem; color: var(--muted); }
input[type="text"], input[type="email"], textarea, select {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--stone-300); border-radius: var(--radius); padding: 0.7em 0.85em; width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--green-600); box-shadow: var(--focus); outline: none; }
textarea { min-height: 7.5rem; resize: vertical; }
.inline-form { display: flex; flex-direction: column; gap: 0.6rem; }
.inline-form input { flex: 1 1 auto; }
@media (min-width: 540px) { .inline-form { flex-direction: row; } .inline-form .btn { flex: none; } }
.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 0.6rem; }
.form-status { margin-top: 0.75rem; font-size: 0.95rem; font-weight: 500; color: var(--green-800); }
.form-status[hidden] { display: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Product page bits ---------- */
.product-hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.feature-list li { margin: 0; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--stone-200); border-radius: var(--radius); }
.feature-list strong { display: block; margin-bottom: 0.15rem; }
.feature-list span { color: var(--ink-2); font-size: 0.97rem; }
@media (min-width: 720px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Color swatches (brand page) ---------- */
.swatches { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatches li { margin: 0; border: 1px solid var(--stone-200); border-radius: var(--radius); overflow: hidden; background: var(--surface); font-size: 0.9rem; }
.swatches .chip { height: 64px; }
.swatches .label { padding: 0.6rem 0.75rem; }
.swatches .label strong { display: block; }
.swatches .label code { background: transparent; padding: 0; font-size: 0.85rem; }
.type-sample { border: 1px solid var(--stone-200); border-radius: var(--radius); background: var(--surface); padding: 1.25rem 1.4rem; margin-bottom: 1rem; }
.type-sample .big { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.1; margin: 0 0 0.35rem; }
.logo-sheet { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 1.5rem; }
.logo-sheet figure { margin: 0; border: 1px solid var(--stone-200); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.logo-sheet .tile { display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; min-height: 150px; }
.logo-sheet .tile.dark { background: var(--green-900); }
.logo-sheet figcaption { padding: 0.6rem 0.8rem; font-size: 0.88rem; border-top: 1px solid var(--stone-200); display: flex; justify-content: space-between; gap: 0.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: var(--muted-on-dark); margin-top: auto; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--brass-300); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0 2.25rem; }
.footer-brand .brand { color: var(--text-on-dark); }
.footer-brand .brand-sub { color: var(--brass-400); }
.footer-brand p { margin: 1rem 0 0; max-width: 34ch; font-size: 0.95rem; }
.footer-brand .badge { margin-top: 1rem; }
.footer-col h3 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-400); margin-bottom: 0.8rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 0.5rem; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid var(--rule-on-dark); padding: 1.25rem 0 1.5rem; font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.footer-bottom p { margin: 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; } }

/* Keep the footer at the bottom on short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .band-news, .skip-link, .nav-toggle, .actions { display: none !important; }
  body { background: #fff; color: #000; }
  .band-dark { background: #fff; color: #000; }
  .band-dark h1 { color: #000; }
  a { color: #000; text-decoration: none; }
}
