/* Intertrade: page styles. Every value comes from tokens.css.
   Hallmark . genre: modern-minimal . macrostructure: split-studio . nav: N5 floating pill . footer: Ft1 mast-headed */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 var(--sp-4); }
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--track-head);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); line-height: var(--lh-tight); letter-spacing: var(--track-display); }
h2 { font-size: var(--fs-2xl); line-height: 1.08; letter-spacing: var(--track-display); }
h3 { font-size: var(--fs-xl); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-sm); }
.band :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-on-band); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 100;
  background: var(--brand); color: var(--brand-ink);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--sp-4); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--max-prose); }

/* ---------- Header: floating pill ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: var(--sp-3); }
.nav-shell {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 3.75rem;
  padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-5);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: var(--border) solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: var(--sp-2); text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 2.25rem; height: 2.25rem; flex: none; }
.brand-name { font-weight: 600; font-size: 1.375rem; letter-spacing: var(--track-display); line-height: 1; }

.nav { display: flex; align-items: center; gap: var(--sp-1); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--sp-1); }
.nav-list a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-list a:hover { background: var(--surface-2); color: var(--ink); }
.nav-list a:active { background: var(--line); }
.nav-list a[aria-current="page"] { color: var(--ink); background: var(--brand-soft); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: var(--border) solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-strong); }
.icon-btn:active { background: var(--line); }
.icon-btn:disabled { opacity: 0.5; pointer-events: none; }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.nav-toggle { display: none; }
.nav .nav-cta { margin-left: var(--sp-2); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-grid; }
  .nav .nav-cta { display: none; }
  .nav-list {
    display: none;
    position: absolute; left: 0; right: 0; top: calc(100% + var(--sp-2));
    flex-direction: column; gap: 0;
    padding: var(--sp-3);
    background: var(--surface);
    border: var(--border) solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: var(--sp-3) var(--sp-4); font-size: var(--fs-base); border-radius: var(--radius); }
}
@media (max-width: 360px) {
  .nav-shell { padding-left: var(--sp-3); gap: var(--sp-2); }
  .brand svg { width: 1.875rem; height: 1.875rem; }
  .brand-name { font-size: 1.15rem; }
  .icon-btn { width: 2.5rem; height: 2.5rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 2.875rem;
  padding: var(--sp-3) var(--sp-5);
  border: var(--border) solid transparent;
  border-radius: var(--radius-pill);
  font: inherit; font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn svg { width: 1.05rem; height: 1.05rem; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn[aria-busy="true"] { cursor: progress; opacity: 0.8; }

.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary:active { background: var(--brand-active); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--ink-2); }
.btn-secondary:active { background: var(--line); }

.band .btn-primary { background: var(--band-ink); color: var(--band); }
.band .btn-primary:hover { background: var(--band-accent); }
.band .btn-primary:active { background: var(--band-ink-2); }
.band .btn-secondary { color: var(--band-ink); border-color: var(--band-ink-2); }
.band .btn-secondary:hover { background: var(--band-2); border-color: var(--band-ink); }
.band .btn-secondary:active { background: var(--band-line); }

.text-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--ink); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 0.3em;
  transition: color var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease);
}
.text-link:hover { color: var(--accent-ink); }
.text-link:active { color: var(--brand); }
.band .text-link { color: var(--band-ink); text-decoration-color: var(--band-accent); }
.band .text-link:hover { color: var(--band-accent); }

.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- Labels and section heads ---------- */
.label {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin: 0 0 var(--sp-4);
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent-ink);
}
.label::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--accent); border-radius: 2px; }
.band .label { color: var(--band-accent); }
.band .label::before { background: var(--band-accent); }

.lede { font-size: var(--fs-lg); line-height: 1.5; color: var(--ink-2); max-width: 40rem; }
.band .lede { color: var(--band-ink-2); }

.section { padding-block: var(--sp-9); }
.section-tight { padding-block: var(--sp-7) var(--sp-9); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-6); align-items: end;
  margin-bottom: var(--sp-8);
}
.section-head h2 { margin: 0; }
.section-head .lede { margin: 0; }
.section-head.top { align-items: start; }
.section-head.solo { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: var(--sp-4); margin-bottom: var(--sp-7); } }

.band { background: var(--band); color: var(--band-ink); }
.band h2, .band h3 { color: var(--band-ink); }

/* ---------- Hero (two-column: title left, lede right) ---------- */
.hero { padding-block: var(--sp-9) var(--sp-8); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: end;
}
.hero h1 { font-size: var(--fs-hero); margin: 0; }
.hero h1 .accent { color: var(--accent-ink); }
.hero .lede { margin-bottom: var(--sp-6); }
.hero-note {
  display: flex; align-items: center; gap: var(--sp-3);
  margin: var(--sp-6) 0 0; padding-top: var(--sp-5);
  border-top: var(--border) solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-2);
}
.hero-note svg { width: 1.2rem; height: 1.2rem; color: var(--accent-ink); flex: none; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); } .hero { padding-block: var(--sp-8) var(--sp-7); } }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise var(--dur-enter) var(--ease) both; }
  .rise-2 { animation-delay: 120ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { padding-block: var(--sp-8) var(--sp-7); }
.page-hero h1 { margin: 0; }
.page-hero .lede { margin: 0; }
.page-hero.band { padding-block: var(--sp-9) var(--sp-8); margin-top: var(--sp-5); }

/* ---------- Service index (home) ---------- */
.index { list-style: none; margin: 0; padding: 0; border-top: var(--border) solid var(--line-strong); }
.index-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: var(--sp-6); align-items: start;
  padding-block: var(--sp-6);
  border-bottom: var(--border) solid var(--line);
}
.index-row h3 { font-size: var(--fs-2xl); letter-spacing: var(--track-display); margin: 0; }
.index-row p { margin: 0; color: var(--ink-2); }
.index-row .text-link { white-space: nowrap; margin-top: 0.35rem; }
@media (max-width: 860px) {
  .index-row { grid-template-columns: 1fr; gap: var(--sp-3); }
}

/* ---------- Split rows (Split Studio) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--sp-8); align-items: center; }
.split + .split { margin-top: var(--sp-9); }
.split.flip > :first-child { order: 2; }
.split-text h2, .split-text h3 { margin-bottom: var(--sp-4); }
.split-text h3 { font-size: var(--fs-2xl); letter-spacing: var(--track-display); }
.split-text p { color: var(--ink-2); }
.band .split-text p { color: var(--band-ink-2); }
.split-text .actions, .split-text .text-link { margin-top: var(--sp-3); }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .split.flip > :first-child { order: 0; }
  .split + .split { margin-top: var(--sp-8); }
}

.status { display: inline-block; margin-bottom: var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); }
.status.is-live { color: var(--ok); }

/* Screenshot frame: a real product screenshot in a plain window chrome */
.frame {
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: var(--border) solid var(--line);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: var(--border) solid var(--line); background: var(--surface-2); }
.frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); opacity: 0.6; }
.frame img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top left; }
.band .frame { border-color: var(--band-line); background: var(--band-2); }
.band .frame-bar { background: var(--band-2); border-color: var(--band-line); }
.band .frame-bar span { background: var(--band-ink-2); }

.stack { position: relative; padding-bottom: 14%; padding-right: 10%; }
.stack .frame:nth-child(2) { position: absolute; right: 0; bottom: 0; width: 58%; }

/* Typographic proof panel (no fake UI) */
.panel {
  padding: var(--sp-7);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: var(--border) solid var(--line);
}
.panel.is-brand { background: var(--brand-soft); border-color: transparent; }
.panel h3, .panel h4 { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--sp-4); }
.panel .big { font-size: var(--fs-3xl); font-weight: 600; letter-spacing: var(--track-display); line-height: 1.05; margin: 0; }
.panel .big em { font-style: normal; color: var(--accent-ink); }
.panel-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); }
.panel-cols + .panel-cols { margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: var(--border) solid var(--line); }
@media (max-width: 560px) { .panel { padding: var(--sp-5); } .panel-cols { grid-template-columns: 1fr; } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.ticks li { display: grid; grid-template-columns: 1.25rem 1fr; gap: var(--sp-3); align-items: start; }
.ticks svg { width: 1.1rem; height: 1.1rem; margin-top: 0.3em; color: var(--accent-ink); }
.band .ticks svg { color: var(--band-accent); }

/* ---------- Roles list (partnership) ---------- */
.roles { list-style: none; margin: 0; padding: 0; border-top: var(--border) solid var(--band-line); }
.roles li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--sp-5); padding-block: var(--sp-5); border-bottom: var(--border) solid var(--band-line); }
.roles h3 { font-size: var(--fs-lg); margin: 0; }
.roles p { margin: 0; color: var(--band-ink-2); }
.section:not(.band) .roles { border-color: var(--line-strong); }
.section:not(.band) .roles li { border-color: var(--line); }
.section:not(.band) .roles p { color: var(--ink-2); }
@media (max-width: 640px) { .roles li { grid-template-columns: 1fr; gap: var(--sp-2); } }

/* ---------- Timeline (how we work) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0.5rem; height: 2px; background: var(--line); }
.timeline li { position: relative; padding: var(--sp-6) var(--sp-6) 0 0; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 1.125rem; height: 1.125rem; border-radius: 4px; background: var(--accent); }
.timeline h3 { margin-bottom: var(--sp-2); }
.timeline p { margin: 0; color: var(--ink-2); max-width: 26rem; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; padding-left: var(--sp-6); }
  .timeline::before { left: 0.5rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding: 0 0 var(--sp-6) 0; }
  .timeline li::before { left: calc(-1 * var(--sp-6)); top: 0.2rem; }
}

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.person {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: start;
  padding: var(--sp-6);
  background: var(--surface);
  border: var(--border) solid var(--line);
  border-radius: var(--radius-lg);
}
.monogram {
  width: 4.5rem; height: 4.5rem;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em;
}
.person h3 { margin-bottom: var(--sp-1); }
.person .role { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent-ink); margin-bottom: var(--sp-3); }
.person p:last-child { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .person { grid-template-columns: 1fr; padding: var(--sp-5); } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); margin: 0; }
.facts div { padding-top: var(--sp-4); border-top: 2px solid var(--ink); }
.facts dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--sp-2); }
.facts dd { margin: 0; font-size: var(--fs-xl); font-weight: 600; letter-spacing: var(--track-head); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--sp-8); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: var(--sp-7); } }

.channels { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: grid; gap: var(--sp-3); }
.channel {
  display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--sp-4); align-items: center;
  padding: var(--sp-4);
  background: var(--surface);
  border: var(--border) solid var(--line);
  border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
a.channel:hover { border-color: var(--brand); }
a.channel:active { background: var(--surface-2); }
.channel-icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand); }
.channel-icon svg { width: 1.25rem; height: 1.25rem; }
.channel-label { display: block; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); }
.channel-value { font-weight: 600; overflow-wrap: anywhere; }

.form {
  padding: var(--sp-7);
  background: var(--surface);
  border: var(--border) solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form h2 { font-size: var(--fs-xl); letter-spacing: var(--track-head); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form { padding: var(--sp-5); } }
.field { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field .hint { font-size: var(--fs-xs); color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 2.875rem;
  padding: var(--sp-3);
  font: inherit; font-size: var(--fs-base);
  color: var(--ink);
  background: var(--bg);
  border: var(--border) solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--focus);
}
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.5; pointer-events: none; }
.field [aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.field-error { display: none; font-size: var(--fs-sm); color: var(--danger); font-weight: 600; margin: 0; }
.field [aria-invalid="true"] ~ .field-error { display: block; }
.form-note { font-size: var(--fs-sm); color: var(--ink-2); margin: var(--sp-4) 0 0; }
.form-status { font-size: var(--fs-sm); font-weight: 600; color: var(--ok); margin: var(--sp-3) 0 0; min-height: 1.5em; }
.form-status[data-state="error"] { color: var(--danger); }

/* Placeholder details the owners must fill in before launch */
.ph { background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 0 0.3em; font-weight: 600; }
.band .ph, .site-footer .ph { background: var(--band-2); border-color: var(--band-ink-2); }

/* ---------- CTA strip ---------- */
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--sp-6); align-items: end; }
.cta h2 { font-size: var(--fs-3xl); line-height: var(--lh-tight); margin: 0; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Legal prose ---------- */
.legal h2 { font-size: var(--fs-xl); letter-spacing: var(--track-head); margin-top: var(--sp-7); }
.legal ul { padding-left: 1.25rem; margin: 0 0 var(--sp-4); }
.legal li { margin-bottom: var(--sp-2); }
.legal p, .legal li { color: var(--ink-2); }
.legal strong { color: var(--ink); }

/* ---------- Footer: mast-headed band ---------- */
.site-footer { background: var(--footer); color: var(--band-ink-2); padding-block: var(--sp-8) var(--sp-6); font-size: var(--fs-sm); }
.footer-mast { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-6); align-items: end; padding-bottom: var(--sp-7); border-bottom: var(--border) solid var(--band-line); }
.footer-mast .brand { color: var(--band-ink); margin-bottom: var(--sp-4); }
.footer-mast .brand svg { width: 2.75rem; height: 2.75rem; }
.footer-mast .brand-name { font-size: 1.75rem; }
.footer-tag { font-size: var(--fs-lg); color: var(--band-ink); max-width: 30rem; margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.site-footer a { color: var(--band-ink); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.site-footer a:hover { color: var(--band-accent); text-decoration: underline; text-underline-offset: 0.25em; }
.site-footer a:active { color: var(--band-ink-2); }
.footer-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); padding-top: var(--sp-6); }
.footer-meta h2 { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--band-accent); margin-bottom: var(--sp-2); }
.footer-meta p { margin: 0; }
.footer-partner a { text-decoration: underline; text-decoration-color: var(--band-accent); text-underline-offset: 0.25em; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-7); font-size: var(--fs-xs); }
@media (max-width: 860px) {
  .footer-mast { grid-template-columns: 1fr; align-items: start; }
  .footer-meta { grid-template-columns: 1fr; }
}

/* Logo colours follow the theme */
.brand { --mark-a: var(--brand); --mark-b: var(--accent); }
.site-footer .brand { --mark-a: var(--band-ink); --mark-b: var(--band-accent); }
