/* ==========================================================================
   Tony's Handyman Services — design tokens + base + components
   Direction: "The Divide" — same guy, same truck, opposite worlds
   ========================================================================== */

@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/archivo-black-400.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-sans-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-600.woff2') format('woff2');
}

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
  /* color — primitive */
  --c-ink: #17181a;            /* truck black — the constant, shared across seasons */
  --c-ink-soft: #4a4f4c;
  --c-ice: #dce6eb;            /* winter, pale fill only */
  --c-ice-deep: #1b2b36;       /* winter, text-safe */
  --c-moss: #4b6b3a;           /* green season, text-safe */
  --c-moss-pale: #dfe8d8;      /* green, pale fill only */
  --c-concrete: #e4e7e2;       /* shared neutral surface — driveway gray, not cream */
  --c-concrete-line: #cfd3cc;
  --c-cream: #f7f6f2;

  /* color — semantic */
  --color-bg: var(--c-ink);
  --color-surface: var(--c-concrete);
  --color-surface-line: var(--c-concrete-line);
  --color-text: var(--c-ink);
  --color-text-soft: var(--c-ink-soft);
  --color-on-dark: var(--c-cream);
  --color-on-dark-soft: rgb(247 246 242 / 72%);
  --color-accent: var(--c-ink);
  --color-accent-dark: #000;
  --color-winter: var(--c-ice-deep);
  --color-winter-fill: var(--c-ice);
  --color-summer: var(--c-moss);
  --color-summer-fill: var(--c-moss-pale);
  --color-focus: var(--c-moss);

  /* type families */
  --font-display: 'Archivo Black', Charcoal, 'Arial Black', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* type scale — fluid */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.375rem, 1.2rem + 0.85vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --text-4xl: clamp(2.75rem, 2rem + 4vw, 5.25rem);

  /* spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* radii — shape consistency lock: sharp edges, pill only for tap targets */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-pill: 999px;

  /* motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-base: 320ms;
  --duration-slow: 640ms;
  --duration-hero: 900ms;

  /* layout */
  --container-max: 72rem;
  --measure: 65ch;
  --nav-height: 4.5rem;
  --logo-header-height: 3.75rem;
  --sticky-cta-height: 3.75rem;

  /* z-index scale */
  --z-sticky-cta: 100;
  --z-nav: 200;
  --z-nav-menu: 210;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration-thickness: from-font; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }

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

/* ==========================================================================
   Utility
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

.measure { max-width: var(--measure); }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100%;
  background: var(--c-moss);
  color: var(--c-cream);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--duration-fast) var(--ease-out-expo);
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-4);
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}
.btn:focus-visible {
  outline-color: var(--c-moss);
  outline-offset: 3px;
}

.tk {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 500;
  color: #a8321f;
  background: rgb(168 50 31 / 10%);
  border: 1px dashed #a8321f;
  padding: 0.05em 0.45em;
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform var(--duration-fast) var(--ease-out-expo),
              background-color var(--duration-fast) var(--ease-out-expo);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--c-ink);
  color: var(--c-cream);
}
.btn--primary:hover { background: var(--color-accent-dark); }

.btn--ghost {
  background: transparent;
  border-color: var(--c-ink);
  color: var(--c-ink);
}
.btn--ghost:hover { background: rgb(23 24 26 / 8%); }

.btn--on-dark.btn--ghost {
  border-color: var(--c-cream);
  color: var(--c-cream);
}
.btn--on-dark.btn--ghost:hover { background: rgb(247 246 242 / 12%); }

.btn--block { width: 100%; }

/* ==========================================================================
   Header / nav — the letterhead
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--c-ink);
  color: var(--c-cream);
  border-bottom: 3px solid var(--c-moss);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  color: var(--c-cream);
  line-height: 1;
  text-decoration: none;
}
.wordmark__logo {
  display: block;
  width: auto;
  height: var(--logo-header-height);
  flex-shrink: 0;
}
/* Phones: the badge already spells the name, so only the service-area line rides beside it */
@media (max-width: 479px) {
  .wordmark__text { font-size: 0; }
  .wordmark__text span { margin-top: 0; }
}
.wordmark__text span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-on-dark-soft);
  margin-top: 0.2em;
}

.primary-nav {
  display: none;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
  }
  .primary-nav a {
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    color: var(--c-cream);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.2em;
    transition: border-color var(--duration-fast) var(--ease-out-expo);
  }
  .primary-nav a:hover { border-color: var(--c-moss); }
}

.header-cta {
  display: none;
}
@media (min-width: 1024px) {
  .header-cta { display: flex; gap: var(--space-3); }
  .header-cta .btn { padding: 0.65rem 1.25rem; font-size: var(--text-sm); }
  .header-cta .btn--ghost { border-color: var(--c-cream); color: var(--c-cream); }
  .header-cta .btn--ghost:hover { background: rgb(247 246 242 / 12%); }
  .header-cta .btn--primary { background: var(--c-moss); }
  .header-cta .btn--primary:hover { background: #3a5530; }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--c-cream);
  border-radius: var(--radius-sm);
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}
.nav-toggle__bars {
  position: relative;
  width: 1.25rem;
  height: 0.9rem;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-cream);
  transition: transform var(--duration-base) var(--ease-out-expo),
              opacity var(--duration-base) var(--ease-out-expo);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle__bars span:nth-child(3) { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  bottom: 50%; transform: translateY(50%) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--c-ink);
  z-index: var(--z-nav-menu);
  padding: var(--space-8) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo);
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  text-decoration: none;
  color: var(--c-cream);
  border-bottom: 3px solid var(--c-moss);
  padding-bottom: var(--space-2);
}
.mobile-menu__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mobile-menu__cta .btn--primary { background: var(--c-moss); }
.mobile-menu__cta .btn--ghost { border-color: var(--c-cream); color: var(--c-cream); }

/* ==========================================================================
   Hero — full-bleed photo, solid black overlay for guaranteed contrast
   ========================================================================== */

.hero {
  position: relative;
  color: var(--c-cream);
  padding-block: var(--space-10) var(--space-10);
  border-bottom: 3px solid var(--c-moss);
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding-block: var(--space-16) var(--space-12); }
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* uniform, strong wash — not a bottom-only gradient — so text stays readable
     no matter what's directly behind it in the photo */
  background: rgb(10 11 12 / 72%);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-moss-pale);
}
.hero__eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--c-moss);
}

.hero__heading {
  margin-top: var(--space-4);
  font-size: var(--text-4xl);
  max-width: 17ch;
  letter-spacing: -0.01em;
  color: var(--c-cream);
}

.hero__subhead {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  max-width: 42ch;
  color: var(--color-on-dark-soft);
}

.hero__trust {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  border-top: 1px solid rgb(247 246 242 / 18%);
  padding-top: var(--space-5);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-on-dark-soft);
}
.hero__trust li::before {
  content: '';
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--c-moss);
  clip-path: polygon(11% 45%, 0% 63%, 45% 100%, 100% 15%, 82% 0%, 42% 60%);
}

.hero .reveal:nth-child(1) { transition-delay: 40ms; }
.hero .reveal:nth-child(2) { transition-delay: 120ms; }
.hero .reveal:nth-child(3) { transition-delay: 200ms; }
.hero .reveal:nth-child(4) { transition-delay: 280ms; }
.hero .reveal:nth-child(5) { transition-delay: 360ms; }

/* ==========================================================================
   CTA row — reusable button pair. Default (light-background) variant, with
   a dark-background override for use inside .hero.
   ========================================================================== */

.cta-row {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.cta-row .btn { font-size: var(--text-lg); padding: 1.1rem 2rem; }
.cta-row .btn--primary { background: var(--c-moss); color: var(--c-cream); }
.cta-row .btn--primary:hover { background: #3a5530; }
.cta-row .btn--ghost { border-color: var(--c-ink); color: var(--c-ink); }
.cta-row .btn--ghost:hover { background: rgb(23 24 26 / 8%); }

.hero .cta-row .btn--ghost { border-color: var(--c-cream); color: var(--c-cream); }
.hero .cta-row .btn--ghost:hover { background: rgb(247 246 242 / 12%); }

/* ==========================================================================
   Marquee — service manifest ticker
   ========================================================================== */

.marquee {
  background: var(--c-moss);
  color: var(--c-cream);
  overflow: hidden;
  border-bottom: 3px solid var(--c-ink);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: var(--space-3) var(--space-5);
}
.marquee__item::after { content: '\2022'; opacity: 0.6; margin-left: var(--space-5); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; }
}

/* ==========================================================================
   Section shell
   ========================================================================== */

.section {
  padding-block: var(--space-12);
}
.section--photo {
  position: relative;
  color: var(--c-cream);
  overflow: hidden;
}
.section--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.section--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(23 24 26 / 78%);
  z-index: 1;
}
.section--photo .container { position: relative; z-index: 2; }

.section__heading {
  font-size: var(--text-2xl);
  max-width: 22ch;
}
.section__lede {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: var(--color-text-soft);
  max-width: var(--measure);
}
.section--photo .section__lede { color: var(--color-on-dark-soft); }

.reveal {
  opacity: 1;
  transform: none;
}
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Service page hero
   ========================================================================== */

.service-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--c-concrete-line);
  overflow: hidden;
}
@media (min-width: 768px) {
  .service-hero__media { aspect-ratio: 16 / 9; }
}
.service-hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.service-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-hero__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--color-text-soft);
  line-height: 1.3;
}
.service-hero__copy {
  padding-block: var(--space-8) var(--space-6);
}
.service-hero__copy .hero__locale {
  margin-bottom: var(--space-3);
}
.service-hero__copy .hero__locale a {
  text-decoration: underline;
}

.service-list {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-3);
  max-width: var(--measure);
}
.service-list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-lg);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--c-moss);
}

.service-scope-note {
  margin-top: var(--space-6);
  max-width: var(--measure);
  font-size: var(--text-base);
  color: var(--color-text-soft);
  padding: var(--space-4);
  border: 1px dashed var(--c-ink);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Why Tony (photo section)
   ========================================================================== */

.why-tony__body {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-4);
  max-width: var(--measure);
  font-size: var(--text-lg);
}

/* ==========================================================================
   Work order list (services)
   ========================================================================== */

.worklist {
  margin-top: var(--space-8);
  border-top: 3px solid var(--c-ink);
}

.worklist__row {
  display: grid;
  grid-template-columns: 3rem 3.5rem 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--c-ink);
  text-decoration: none;
  color: var(--c-ink);
  transition: background-color var(--duration-fast) var(--ease-out-expo),
              padding-left var(--duration-fast) var(--ease-out-expo);
}
.worklist__row:hover {
  background: rgb(23 24 26 / 6%);
  padding-left: var(--space-2);
}

.worklist__num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-text-soft);
}

.worklist__thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-concrete-line);
  position: relative;
}
.worklist__thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}
.worklist__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-base) var(--ease-out-expo);
}
.worklist__row:hover .worklist__thumb img { transform: scale(1.08); }
.worklist__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-align: center;
  color: var(--color-text-soft);
  line-height: 1.2;
  padding: 0.2rem;
}

.worklist__season {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex: none;
}
.worklist__label {
  font-weight: 600;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.worklist__label-text {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.worklist__row--winter .worklist__label-text::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--c-ice-deep);
  flex: none;
}
.worklist__row--summer .worklist__label-text::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--c-moss);
  flex: none;
}
.worklist__arrow {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
}

.worklist__legend {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-soft);
}
.worklist__legend span { display: inline-flex; align-items: center; gap: 0.4em; }
.worklist__legend span::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}
.worklist__legend span:first-child::before { background: var(--c-ice-deep); }
.worklist__legend span:last-child::before { background: var(--c-moss); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--c-ink);
  color: var(--c-cream);
  padding-block: var(--space-10) calc(var(--space-10) + var(--sticky-cta-height));
}
@media (min-width: 1024px) {
  .site-footer { padding-bottom: var(--space-10); }
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

.footer-logo {
  display: block;
  width: 160px;
  height: auto;
  margin-bottom: var(--space-4);
}
.footer-grid h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
}
.footer-grid h3 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-on-dark-soft);
  margin-bottom: var(--space-3);
}
.footer-grid ul { display: grid; gap: var(--space-2); }
.footer-grid a { text-decoration: none; color: var(--c-cream); }
.footer-grid a:hover { text-decoration: underline; }
.footer-nap { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-on-dark-soft); display: grid; gap: var(--space-1); }
.footer-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-5);
  border-top: 1px solid rgb(247 246 242 / 20%);
  font-size: var(--text-xs);
  color: rgb(247 246 242 / 55%);
}

/* ==========================================================================
   Sticky mobile call/text bar
   ========================================================================== */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky-cta);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 3px solid var(--c-ink);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 1024px) {
  .sticky-cta { display: none; }
}
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--sticky-cta-height);
  font-weight: 700;
  text-decoration: none;
  font-size: var(--text-base);
}
.sticky-cta a:first-child {
  background: var(--c-ink);
  color: var(--c-cream);
}
.sticky-cta a:last-child {
  background: var(--c-moss);
  color: var(--c-cream);
}

body { padding-bottom: var(--sticky-cta-height); }
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}
