/* ─────────────────────────────────────────────────────────────────
   Maverick Culinary Collective — Marketing Site
   Shared design system for all marketing pages.
   ───────────────────────────────────────────────────────────────── */

/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Color */
  --black: #0A0A0A;
  --black-card: #161614;
  --black-soft: #14110F;
  --parchment: #F5F0E8;
  --parchment-dim: rgba(245, 240, 232, 0.72);
  --parchment-faint: rgba(245, 240, 232, 0.45);
  --rust: #D4622A;
  --rust-hover: #E37438;
  --rust-deep: #A8501F;
  --faded-floor: rgba(245, 240, 232, 0.08);
  --faded-line: rgba(245, 240, 232, 0.14);
  --warm-gray: rgba(245, 240, 232, 0.55);

  /* Type */
  --display: 'Bebas Neue', 'Helvetica Neue', sans-serif;
  --body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Courier New', Courier, monospace;
  --serif: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --page-px: clamp(1.25rem, 4vw, 3rem);
  --section-py: clamp(3.5rem, 9vh, 6.5rem);
  --section-py-tight: clamp(2.5rem, 6vh, 4.5rem);
  --container-max: 1280px;
  --container-narrow: 920px;
  --container-prose: 680px;

  /* Nav */
  --nav-h: 72px;
}

/* ─── RESET + BASE ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--body);
  background: var(--black);
  color: var(--parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Skip-to-content for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--rust);
  color: var(--parchment);
  padding: 0.75rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 1000;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Real focus rings — visible, never hidden */
:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── TYPE SCALE ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.98rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: inline-block;
}

h1, .h1 {
  font-family: var(--display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--parchment);
  margin-bottom: 1.5rem;
}

h2, .h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--parchment);
  margin-bottom: 1.25rem;
}

h3, .h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--parchment);
  margin-bottom: 0.75rem;
}

p {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  color: var(--parchment);
  margin-bottom: 1.15rem;
  max-width: 64ch;
}
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.55;
  color: var(--parchment);
  max-width: 56ch;
}

.muted {
  color: var(--parchment-dim);
}

a.inline {
  color: var(--rust);
  border-bottom: 1px solid var(--rust);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
a.inline:hover {
  color: var(--rust-hover);
  border-bottom-color: var(--rust-hover);
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.section {
  padding: var(--section-py) var(--page-px);
  position: relative;
}
.section.tight {
  padding-top: var(--section-py-tight);
  padding-bottom: var(--section-py-tight);
}
.section + .section {
  border-top: 1px solid var(--faded-floor);
}
.section.no-divider + .section {
  border-top: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
}
.container.narrow { max-width: var(--container-narrow); }
.container.prose { max-width: var(--container-prose); }

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ─── BUTTONS — TWO-TIER SYSTEM ───────────────────────────────
   .btn          → filled rust. Loudest. Reserved for hero CTAs only.
   .btn-outline  → outline rust, fills on hover. Closing-band CTAs.
   .btn-inline   → text-only with arrow. Quiet section-end CTAs. Everywhere.
   ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05rem 1.85rem;
  border: 1px solid var(--rust);
  background: var(--rust);
  color: var(--black);
  font-weight: 800;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover {
  background: var(--rust-hover);
  border-color: var(--rust-hover);
}
.btn:active { transform: translateY(1px); }

/* Outline variant — for closing CTA bands. Quieter than filled, still clearly clickable. */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05rem 1.85rem;
  border: 2px solid var(--rust);
  background: transparent;
  color: var(--rust);
  font-weight: 800;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--rust);
  color: var(--black);
}
.btn-outline:active { transform: translateY(1px); }

/* Inline variant — for section ends. Just rust text + arrow. No button chrome. */
.btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 800;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.15s, gap 0.15s;
}
.btn-inline::after {
  content: '→';
  transition: transform 0.15s;
}
.btn-inline:hover { color: var(--rust-hover); }
.btn-inline:hover::after { transform: translateX(3px); }

/* Secondary kept for off-brand neutral actions (e.g., "Cancel" — rare on marketing pages) */
.btn.secondary {
  background: transparent;
  color: var(--parchment);
  border-color: var(--parchment);
}
.btn.secondary:hover {
  background: var(--parchment);
  color: var(--black);
  border-color: var(--parchment);
}

/* ─── COSIGN — editorial pull-quote with photo card ──────────
   No "CO-SIGN" pill label — kept as deliberate branding-free editorial.
   The quote in italic Playfair carries the moment.
   ─────────────────────────────────────────────────────────── */
.cosign {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .cosign { grid-template-columns: 1fr; gap: 2.5rem; }
}

.cosign-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.35;
  color: var(--parchment);
  margin: 0 0 1.5rem;
  max-width: 28ch;
}
.cosign-quote::before { content: '\201C'; }
.cosign-quote::after  { content: '\201D'; }

.cosign-attr {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  margin: 0;
}

.cosign-card {
  background: var(--black-card);
  padding: 1.25rem 1.25rem 1.5rem;
  max-width: 320px;
  justify-self: end;
}
@media (max-width: 900px) {
  .cosign-card { justify-self: start; max-width: 280px; }
}

.cosign-card-photo {
  aspect-ratio: 4 / 5;
  background: #2C201A;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.cosign-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cosign-card-name {
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  color: var(--parchment);
  margin: 0 0 0.6rem;
  line-height: 1;
}

.cosign-card-detail {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  line-height: 1.55;
}
.cosign-card-detail > * + * { margin-top: 0.25rem; }

/* The cosign section sits in its own .section wrapper for vertical breathing room.
   Tighter top/bottom padding feels right since the quote is a "pause" between content blocks. */
.section.cosign-section {
  padding-top: clamp(3rem, 7vh, 5rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
}

/* ─── COSIGN COMPACT — proof-point variant for non-homepage placements ──
   Used when a testimonial sits BETWEEN content blocks rather than serving
   as the brand pivot moment. Keeps the same editorial DNA (italic Playfair,
   mono attribution, dark photo card) but right-sized so a longer quote
   doesn't tower over the surrounding sections.
   ──────────────────────────────────────────────────────────────────── */
.cosign.compact {
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 900px) {
  .cosign.compact { grid-template-columns: 1fr; gap: 2rem; }
}
.cosign.compact .cosign-quote {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  max-width: 38ch;
}
/* Compact card drops the rectangular chrome — no bg, no padding — so the
   circular avatar floats directly against the section's dark background.
   Different DNA than the homepage card, which is a tactile rectangular crate. */
.cosign.compact .cosign-card {
  background: transparent;
  padding: 0;
  max-width: 150px;
}
.cosign.compact .cosign-card-photo {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: transparent;
  margin-bottom: 1.1rem;
  /* The source image is a circle on a white square; border-radius clips the
     white corners so only the portrait shows. */
}
.cosign.compact .cosign-card-name {
  font-size: 1.3rem;
}
.section.cosign-section.compact {
  padding-top: clamp(2rem, 5vh, 3.25rem);
  padding-bottom: clamp(2rem, 5vh, 3.25rem);
}

/* ─── CHEF MARQUEE — contact-sheet scroll on the homepage ───
   Continuous slow scroll of chef portraits. No arrows, no dots —
   it's not a SaaS carousel, it's a film strip moving past. Pause on hover.
   Loops seamlessly because we render the chef list twice and animate the
   inner track from 0 to -50% (one full list width). */
.chef-marquee {
  /* Contained, not full-bleed. Editorial strip rather than wall-to-wall marquee.
     Max-width sized so a small roster doesn't look sparse — 4-5 cards visible at once. */
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4rem) var(--page-px);
  overflow: hidden;
  position: relative;
}
.chef-marquee-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  padding: 0 0 1.25rem;
  display: block;
}
.chef-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: chef-marquee-scroll 60s linear infinite;
}
.chef-marquee:hover .chef-marquee-track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .chef-marquee-track { animation: none; }
}
@keyframes chef-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.chef-marquee-card {
  flex-shrink: 0;
  width: 200px;
  display: block;
  text-decoration: none;
  color: inherit;
}
.chef-marquee-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #2C201A;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.chef-marquee-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.4s ease;
}
.chef-marquee-card:hover .chef-marquee-photo img {
  transform: scale(1.03);
}
.chef-marquee-name {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--parchment);
  line-height: 1;
  margin-bottom: 0.3rem;
  padding: 0 0.15rem;
}
.chef-marquee-vibe {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  padding: 0 0.15rem;
}
.chef-marquee-empty {
  padding: 2rem var(--page-px);
  color: var(--parchment-faint);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

/* ─── LIGHT SECTION VARIANT — cream-on-black break ───────────
   The existing site used a cream-bg section to break up the all-black scroll.
   Same idea: invert the colors on a single section per page (or wherever it
   feels right) to give the eye rhythm and avoid the wall-of-text-on-black feel. */
.section.light {
  background: var(--parchment);
  color: var(--black);
  border-top: none;
}
.section.light + .section { border-top: none; }
.section.light h1,
.section.light h2,
.section.light h3,
.section.light p,
.section.light .lede,
.section.light .list-clean li,
.section.light .list-clean li strong { color: var(--black); }
.section.light .muted,
.section.light .list-clean li { color: rgba(10, 10, 10, 0.7); }
.section.light .list-clean li { border-bottom-color: rgba(10, 10, 10, 0.1); }
.section.light .eyebrow { color: var(--rust); }
.section.light .callout {
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.14);
  color: var(--black);
}
/* Buttons on light bg: outline becomes dark border + dark text on hover-fill cream */
.section.light .btn-outline {
  border-color: var(--black);
  color: var(--black);
}
.section.light .btn-outline:hover {
  background: var(--black);
  color: var(--parchment);
}
.section.light .btn.secondary {
  border-color: var(--black);
  color: var(--black);
}
.section.light .btn.secondary:hover {
  background: var(--black);
  color: var(--parchment);
  border-color: var(--black);
}
/* Compare component on light bg: keep "theirs" cream-on-cream (muted),
   make "ours" pop as a dark card-with-cream-text island against the cream section. */
.section.light .compare-side.theirs {
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.18);
}
.section.light .compare-side.theirs h3,
.section.light .compare-side.theirs p {
  color: rgba(10, 10, 10, 0.7);
}
.section.light .compare-side.ours {
  background: var(--black);
  border-color: var(--rust);
}
.section.light .compare-side.ours h3 { color: var(--rust); }
.section.light .compare-side.ours p { color: var(--parchment); }

/* ─── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--faded-floor);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--page-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}
.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  list-style: none;
}

.nav-link {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment);
  font-weight: 700;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-link:hover {
  color: var(--parchment);
}
.nav-link[aria-current="page"] {
  color: var(--parchment);
  border-bottom-color: var(--rust);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  background: var(--rust);
  color: var(--black);
  font-weight: 800;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--rust-hover); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--parchment);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile nav drawer.
   Using longhand top/right/bottom/left rather than `inset` shorthand for
   broader browser compatibility (older iOS Safari handles inset oddly,
   resulting in a drawer with auto height that renders invisibly). */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--black);
  flex-direction: column;
  padding: 2rem var(--page-px);
  z-index: 99;
  overflow-y: auto;
}
.nav-drawer.open { display: flex !important; }
.nav-drawer .nav-link {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--faded-floor);
}
.nav-drawer .nav-cta {
  margin-top: 2rem;
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 1rem 1.5rem;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: flex; }
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  padding: clamp(4rem, 10vh, 8rem) var(--page-px) clamp(3rem, 8vh, 6rem);
  position: relative;
}
.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.hero .lede {
  margin-bottom: 2.25rem;
  max-width: 60ch;
}
.hero .cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-mark {
  display: block;
  margin: 0 auto 2.5rem;
  max-width: 460px;
  width: 60vw;
  min-width: 220px;
}
.hero-mark img {
  width: 100%;
  height: auto;
}

.hero-centered {
  text-align: center;
}
.hero-centered h1 { margin-left: auto; margin-right: auto; }
.hero-centered .lede { margin-left: auto; margin-right: auto; }
.hero-centered .cta-row { justify-content: center; }

/* ─── PILLAR / FEATURE BLOCKS ──────────────────────────────── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem);
}
@media (max-width: 760px) {
  .pillar-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.pillar h3 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
  letter-spacing: 0.01em;
  margin-bottom: 0.65rem;
  color: var(--parchment);
}
.pillar h3 .num {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.7rem;
  font-weight: 400;
}
.pillar p {
  color: var(--parchment-dim);
  font-size: 1rem;
  line-height: 1.65;
}

/* ─── CARDS / CALLOUT ──────────────────────────────────────── */
.callout {
  background: var(--black-card);
  border: 1px solid var(--faded-floor);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 2px;
}
.callout h3 { margin-bottom: 0.85rem; }

.list-clean {
  list-style: none;
  padding: 0;
}
.list-clean li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--faded-floor);
  color: var(--parchment-dim);
  line-height: 1.6;
}
.list-clean li:last-child { border-bottom: none; }
.list-clean li strong {
  display: block;
  color: var(--parchment);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 0.25rem;
}

/* ─── COMPARISON BLOCK ─────────────────────────────────────── */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; gap: 1.5rem; }
}
.compare-side {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--faded-floor);
}
.compare-side.theirs {
  background: transparent;
  color: var(--parchment-dim);
}
.compare-side.ours {
  background: var(--black-card);
  border-color: var(--rust);
}
.compare-side h3 {
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--rust);
}
.compare-side.theirs h3 { color: var(--parchment-dim); }
.compare-side p { font-size: 1.05rem; line-height: 1.65; }

/* ─── PHOTO PLACEHOLDER ───────────────────────────────────── */
.photo-placeholder {
  background: var(--black-card);
  border: 1px dashed var(--faded-line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--parchment-faint);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  aspect-ratio: 4 / 3;
  min-height: 200px;
}
.photo-placeholder.portrait { aspect-ratio: 3 / 4; }
.photo-placeholder.wide { aspect-ratio: 16 / 9; }

/* ─── CTA SECTIONS ────────────────────────────────────────── */
.cta-band {
  text-align: center;
  padding: clamp(4rem, 10vh, 7rem) var(--page-px);
  background: var(--black-soft);
  border-top: 1px solid var(--faded-floor);
}
.cta-band h2 {
  max-width: 22ch;
  margin: 0 auto 1.5rem;
}
.cta-band p {
  max-width: 50ch;
  margin: 0 auto 2.25rem;
  color: var(--parchment-dim);
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  padding: clamp(3rem, 7vh, 5rem) var(--page-px) 2rem;
  border-top: 1px solid var(--faded-floor);
  background: var(--black);
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.footer-logo img { height: 36px; }
.footer-tag {
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--parchment-dim);
  max-width: 38ch;
  line-height: 1.55;
  margin-top: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--parchment); }
.footer-meta {
  grid-column: 1 / -1;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--faded-floor);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment-faint);
}

/* ─── UTILITY ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }

/* Subtle scroll-in fade (respects prefers-reduced-motion via base reset above) */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}


/* --- Clickable program cards (homepage four-up) --- */
.pillar-link { display: block; text-decoration: none; color: inherit; }
.pillar-link h3, .pillar-link .pillar-go { transition: color .18s ease, opacity .18s ease, transform .18s ease; }
.pillar-link:hover h3 { color: var(--rust-hover); }
.pillar-go { display: inline-block; margin-left: .4rem; color: var(--rust); opacity: 0; transform: translateX(-4px); }
.pillar-link:hover .pillar-go,
.pillar-link:focus-visible .pillar-go { opacity: 1; transform: translateX(0); }
.pillar-link:focus-visible { outline: 2px solid var(--rust); outline-offset: 6px; }


/* --- Center the desktop nav links regardless of logo/CTA widths --- */
@media (min-width: 881px) {
  .nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav-logo  { justify-self: start; }
  .nav-links { justify-self: center; }
  .nav-cta   { justify-self: end; }
}
