@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700;900&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --primary: #1747C2;
  --accent: #1747C2;
  --neutral-dark: #0a0a0a;
  --neutral-light: #fafaf7;
  --extra1: #e5e5e0;
  --extra2: #1a1a1a;

  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --ink-3: #2e2e2e;
  --paper: #fafaf7;
  --paper-2: #f0f0eb;
  --paper-3: #e5e5e0;
  --blue-1: #1747C2;
  --blue-2: #0f36a0;
  --blue-3: #d0dbf7;
  --blue-muted: #1a3a8f;
  --rule: #0a0a0a;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-section: 96px;

  --border: 1px solid var(--ink);
  --border-blue: 1px solid var(--blue-1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.25) brightness(0.92);
}

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

ul, ol { list-style: none; }

/* ─── NOISE TEXTURE ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ─── LAYOUT ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.wide-container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.bleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

@media (min-width: 640px) {
  .container,
  .wide-container {
    padding-inline: 2rem;
  }
}

@media (min-width: 1200px) {
  .container { padding-inline: 3rem; }
  .wide-container { padding-inline: 3rem; }
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h1 { font-size: clamp(48px, 8vw, 140px); }
h2 { font-size: clamp(32px, 5vw, 80px); }
h3 { font-size: clamp(22px, 3vw, 40px); }
h4 { font-size: clamp(16px, 2vw, 24px); letter-spacing: 0.05em; }
h5 { font-size: 0.75rem; letter-spacing: 0.12em; }

p {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
  max-width: 68ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 0.875rem 2rem;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary {
  background: var(--blue-1);
  color: var(--paper);
  border-color: var(--blue-1);
}

.btn-primary:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
  color: var(--paper);
}

.btn-ghost-white {
  border-color: var(--paper);
  color: var(--paper);
}

.btn-ghost-white:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ─── FORMS ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
  appearance: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--blue-1);
}

textarea { resize: vertical; min-height: 140px; }

.form-success {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--blue-1);
  padding: 1rem;
  border: 1px solid var(--blue-1);
  text-align: center;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: var(--border);
  background: var(--paper);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding-inline: 1.25rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

#navLinks {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: var(--border);
  padding: 1.5rem 1.25rem;
  gap: 1rem;
}

#navLinks.open { display: flex; }

#navLinks a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.12s ease;
}

#navLinks a:hover { color: var(--blue-1); }

#navLinks a.btn-primary {
  align-self: flex-start;
  padding: 0.625rem 1.25rem;
}

#navToggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

#navToggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 900px) {
  .nav-inner { padding-inline: 3rem; }

  #navToggle { display: none; }

  #navLinks {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 2.5rem;
  }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: 56px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.4) brightness(0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 1.25rem 2rem;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--extra1);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(52px, 10vw, 200px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--paper);
  mix-blend-mode: normal;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-1);
}

.hero-sub {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: clamp(0.6875rem, 1.2vw, 0.875rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--extra1);
  max-width: 56ch;
  opacity: 0.85;
  line-height: 1.8;
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 900px) {
  .hero-content {
    padding: 5rem 3rem 3.5rem;
  }
}

/* ─── TRUST STRIP ─── */
.trust-strip {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink-3);
  border-bottom: var(--border);
  padding: 0;
  overflow: hidden;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.875rem 1.5rem;
  border-right: 1px solid var(--ink-3);
  white-space: nowrap;
  color: var(--extra1);
}

.trust-item:last-child { border-right: none; }

.trust-item strong {
  color: var(--paper);
  font-weight: 500;
}

/* ─── MARQUEE ─── */
.type-band {
  background: var(--blue-1);
  color: var(--paper);
  border-top: 1px solid var(--blue-2);
  border-bottom: 1px solid var(--blue-2);
  padding: 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 60px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  padding: 0.6rem 2rem;
  white-space: nowrap;
  color: var(--paper);
}

.marquee-sep {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  opacity: 0.5;
  align-self: center;
  padding: 0 0.5rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── SPLIT HERO ─── */
.split-hero {
  border-bottom: var(--border);
}

.split-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.split-hero-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.split-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-hero-copy {
  padding: 3rem 1.25rem;
  border-top: var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.split-hero-copy h2 {
  font-size: clamp(28px, 4vw, 64px);
}

.split-hero-copy p {
  font-size: clamp(0.9375rem, 1.1vw, 1rem);
  color: var(--ink-3);
}

@media (min-width: 900px) {
  .split-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-hero-image {
    aspect-ratio: unset;
    min-height: 560px;
  }

  .split-hero-copy {
    padding: 4rem 3rem;
    border-top: none;
    border-left: var(--border);
  }
}

/* ─── SECTION BASE ─── */
.section {
  padding-block: var(--space-section);
  border-bottom: var(--border);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink-3);
}

.section-dark .label { color: var(--extra1); opacity: 0.6; }
.section-dark p { color: var(--extra1); }

.section-paper {
  background: var(--paper-2);
}

.section-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border);
}

.section-dark .section-header {
  border-bottom: 1px solid var(--ink-3);
}

.section-header .label { margin-bottom: 0.75rem; }

/* ─── SERVICES TABLE ─── */
.services-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.services-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  border: var(--border);
}

.services-table th {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.875rem 1.25rem;
  border-bottom: var(--border);
  border-right: var(--border);
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
}

.services-table th:last-child { border-right: none; }

.services-table td {
  padding: 1rem 1.25rem;
  border-bottom: var(--border);
  border-right: var(--border);
  vertical-align: top;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.services-table td:last-child { border-right: none; }

.services-table tr:last-child td { border-bottom: none; }

.services-table tr:hover td {
  background: var(--blue-3);
}

.services-table td strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.services-table td .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  border: 1px solid var(--blue-1);
  color: var(--blue-1);
  margin-top: 0.375rem;
}

/* ─── SERVICE FEATURE ─── */
.service-feature {
  background: var(--ink-2);
  color: var(--paper);
  border-bottom: 1px solid var(--ink-3);
}

.service-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.service-feature-text {
  padding: 3rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-feature-text h2 {
  font-size: clamp(28px, 4.5vw, 72px);
}

.service-feature-text p { color: var(--extra1); }

.service-feature-image {
  min-height: 300px;
  overflow: hidden;
}

.service-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .service-feature-grid {
    grid-template-columns: 3fr 2fr;
  }

  .service-feature-text {
    padding: 5rem 3rem;
  }

  .service-feature-image {
    min-height: auto;
    border-left: 1px solid var(--ink-3);
  }
}

/* ─── IMAGE GRID ─── */
.image-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ink);
}

.image-grid-layout .grid-cell {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--paper-3);
}

.image-grid-layout .grid-cell.tall {
  grid-row: span 2;
  aspect-ratio: unset;
}

.image-grid-layout .grid-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.image-grid-layout .grid-cell:hover img {
  transform: scale(1.03);
}

@media (min-width: 640px) {
  .image-grid-layout {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── CREDENTIALS ─── */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: var(--border);
}

.credential-item {
  padding: 1.5rem;
  border-bottom: var(--border);
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.credential-item:last-child { border-bottom: none; }

.credential-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--blue-1);
  padding-top: 0.25rem;
}

.credential-body strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.375rem;
}

.credential-body p {
  font-size: 0.875rem;
  color: var(--ink-3);
  max-width: none;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .credentials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .credential-item:nth-child(odd) {
    border-right: var(--border);
  }
}

@media (min-width: 900px) {
  .credentials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .credential-item {
    border-right: var(--border);
  }

  .credential-item:nth-child(3n) {
    border-right: none;
  }
}

/* ─── STATS ─── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: var(--border);
}

.stat-item {
  padding: 2rem 1.5rem;
  border-right: var(--border);
  border-bottom: var(--border);
}

.stat-item:nth-child(2n) { border-right: none; }
.stat-item:nth-last-child(-n+2) { border-bottom: none; }

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--blue-1);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 0.5rem;
}

.section-dark .stat-label { color: var(--extra1); opacity: 0.6; }
.section-dark .stat-item { border-color: var(--ink-3); }

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-item:nth-child(2n) { border-right: var(--border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: var(--border); }
  .stat-item:nth-child(4n) { border-right: none; }
  .stat-item:last-child { border-bottom: none; }

  .section-dark .stat-item:nth-child(4n),
  .section-dark .stat-item:last-child {
    border-color: transparent;
  }
}

/* ─── FULL BLEED IMAGE ─── */
.full-bleed-image {
  height: clamp(260px, 45vw, 600px);
  overflow: hidden;
  border-bottom: var(--border);
  position: relative;
}

.full-bleed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.3) brightness(0.88);
}

.full-bleed-image-caption {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.6;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.contact-info {
  padding: 3rem 1.25rem;
  border-bottom: var(--border);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-block {}

.contact-block .label { margin-bottom: 0.5rem; }

.contact-block a {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.5vw, 36px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--blue-1);
  line-height: 1.1;
  transition: opacity 0.12s ease;
}

.contact-block a:hover { opacity: 0.75; }

.contact-block p {
  font-size: 0.9375rem;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: none;
}

.contact-form-wrap {
  padding: 3rem 1.25rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-form-grid .span-2 { grid-column: 1 / -1; }

.contact-form-grid .btn-primary {
  justify-self: start;
  width: auto;
  padding: 0.875rem 2.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  border: none;
}

@media (min-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 2fr 3fr;
  }

  .contact-info {
    padding: 5rem 3rem;
    border-bottom: none;
    border-right: var(--border);
  }

  .contact-form-wrap {
    padding: 5rem 3rem;
  }
}

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--blue-1);
  color: var(--paper);
  border-top: 2px solid var(--blue-2);
  border-bottom: 2px solid var(--blue-2);
  padding-block: 4rem;
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.cta-band h2 {
  font-size: clamp(28px, 4.5vw, 72px);
  line-height: 1.0;
}

.cta-band .cta-sub {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.cta-phone {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--paper);
  transition: opacity 0.12s ease;
}

.cta-phone:hover { opacity: 0.75; }

@media (min-width: 900px) {
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ─── FOOTER ─── */
.footer {
  background: var(--ink);
  color: var(--extra1);
  padding-block: 4rem 2.5rem;
  border-top: 2px solid var(--ink-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--ink-3);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--extra1);
  opacity: 0.55;
}

.footer-col .label {
  color: var(--extra1);
  opacity: 0.45;
  margin-bottom: 1rem;
  display: block;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--extra1);
  transition: color 0.12s ease;
}

.footer-col ul li a:hover { color: var(--paper); }

.footer-col a[href^="tel"],
.footer-col a[href^="mailto"] {
  color: var(--blue-3);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  display: block;
  transition: color 0.12s ease;
}

.footer-col a[href^="tel"]:hover,
.footer-col a[href^="mailto"]:hover {
  color: var(--paper);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--extra1);
  opacity: 0.35;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ─── ANIMATION UTILITIES ─── */
.fade-up,
.fade-left,
.fade-right,
.scale-in {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up    { transform: translateY(28px); }
.fade-left  { transform: translateX(-28px); }
.fade-right { transform: translateX(28px); }
.scale-in   { transform: scale(0.96); }

.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: none;
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2)  { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3)  { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4)  { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5)  { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6)  { transition-delay: 0.40s; }
.stagger.visible > * { opacity: 1; transform: none; }

/* ─── TEL/MAILTO GLOBAL ─── */
a[href^="tel"],
a[href^="mailto"] {
  color: var(--blue-1);
}

a[href^="tel"]:hover,
a[href^="mailto"]:hover {
  opacity: 0.8;
}

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

.divider {
  border: none;
  border-top: var(--border);
  margin: 0;
}

.text-blue  { color: var(--blue-1); }
.text-paper { color: var(--paper); }
.text-ink   { color: var(--ink); }
.text-muted { color: var(--ink-3); }

.mt-sm  { margin-top: 1rem; }
.mt-md  { margin-top: 2rem; }
.mt-lg  { margin-top: 3rem; }
