/* ===== Silver Strike — Design Tokens ===== */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 7vw, 7rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ===== Palette: Dusk / Technical / Military =====
     Deep navy-black canvas, cool steel neutrals, silver + gold accents used sparingly. */
  --color-bg: #0a0d12;
  --color-surface: #0e1218;
  --color-surface-2: #12161d;
  --color-surface-offset: #161b23;
  --color-surface-offset-2: #1b212a;
  --color-surface-dynamic: #202631;
  --color-divider: #232a34;
  --color-border: #2b333f;

  --color-text: #dde2e8;
  --color-text-muted: #8b96a3;
  --color-text-faint: #57626f;
  --color-text-inverse: #0a0d12;

  /* Silver — primary structural accent */
  --color-silver: #c7d0da;
  --color-silver-hover: #e4e9ee;
  --color-silver-active: #9aa6b2;
  --color-silver-highlight: #232a34;

  /* Gold — secondary, rare, CTA-only accent */
  --color-gold: #c9a24a;
  --color-gold-hover: #e0bc66;
  --color-gold-active: #a1802f;
  --color-gold-highlight: #2a2519;

  /* Signal blue — used only in imagery-adjacent glow accents */
  --color-signal: #3d6f96;

  --color-primary: var(--color-gold);
  --color-primary-hover: var(--color-gold-hover);
  --color-primary-active: var(--color-gold-active);

  /* Radius — sharp, technical. Minimal rounding. */
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.375rem;
  --radius-xl: 0.5rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 16px 48px oklch(0 0 0 / 0.6);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1280px;
  --content-full: 100%;

  /* Fonts */
  --font-brand: 'Bank Gothic', 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Titillium Web', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* This site uses a single fixed dusk/technical theme by design (security-brand
   identity). No light mode — the aesthetic itself is the brand requirement. */

@font-face {
  font-family: 'Bank Gothic';
  src: url('./assets/fonts/bankgothic-md-bt-medium-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ===================== Layout Primitives ===================== */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

.section {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-gold);
  display: inline-block;
}

.section-title {
  font-family: var(--font-brand);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-intro {
  max-width: 62ch;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-12);
}

/* ===================== Header / Nav ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background: color-mix(in oklab, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}
.site-header.header--scrolled {
  box-shadow: var(--shadow-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  text-decoration: none;
}
.brand-logo {
  height: clamp(28px, 3.2vw, 38px);
  width: auto;
  flex-shrink: 0;
  display: block;
}

.main-nav {
  display: none;
  gap: var(--space-8);
  list-style: none;
}
.main-nav a {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: var(--space-1);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-interactive);
}
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-text);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 24px;
  justify-content: center;
  align-items: flex-end;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  transition:
    transform var(--transition-interactive),
    width var(--transition-interactive),
    opacity var(--transition-interactive);
}
.nav-toggle span:nth-child(2) {
  width: 70%;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  width: 100%;
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  width: 100%;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 0;
  background: color-mix(in oklab, var(--color-bg) 97%, transparent);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease-out),
    visibility 0.3s var(--ease-out);
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav a {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
}
.mobile-nav a:hover {
  color: var(--color-gold);
}

@media (min-width: 900px) {
  .mobile-nav,
  .nav-toggle {
    display: none;
  }
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  animation: hero-kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@media (max-width: 767px) {
  .hero-media {
    background: var(--color-bg);
  }
  .hero-media img {
    object-fit: contain;
    object-position: center 28%;
  }
}
@keyframes hero-kenburns {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.12) translate3d(-1%, -1%, 0);
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: none;
}
.hero-content {
  position: relative;
  text-align: center;
  padding-inline: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.hero-mark {
  width: clamp(56px, 8vw, 88px);
  height: clamp(56px, 8vw, 88px);
  color: var(--color-silver);
  filter: drop-shadow(0 0 24px oklch(0.75 0.02 240 / 0.35));
}
.hero-title {
  font-family: var(--font-brand);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--text-hero);
  line-height: 1;
  color: var(--color-text);
  text-shadow: 0 2px 40px oklch(0 0 0 / 0.5);
}
.hero-title .accent {
  color: var(--color-silver);
}
.hero-tagline {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  max-width: 40ch;
}
.hero-cta-row {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-content--minimal {
  margin-top: 32vh;
}
@media (max-width: 767px) {
  .hero-content--minimal {
    margin-top: 62vh;
  }
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-faint);
  z-index: 1;
}
.scroll-cue span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scroll-cue-pulse 2s ease-in-out infinite;
}
@keyframes scroll-cue-pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition:
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    color var(--transition-interactive),
    transform var(--transition-interactive);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--color-gold);
  color: #14110a;
  border-color: var(--color-gold);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--color-silver);
  color: var(--color-silver-hover);
}

/* ===================== Intro / About ===================== */
.about {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
}
.about-grid {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-16);
  }
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.stat {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}
.stat-value {
  font-family: var(--font-brand);
  font-size: var(--text-xl);
  color: var(--color-silver);
  display: block;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.about-copy p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 62ch;
}
.about-copy p + p {
  margin-top: var(--space-4);
}

/* ===================== Card Grid (Services / Industries) ===================== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.spec-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.spec-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.spec-card:hover .spec-card-media img {
  transform: scale(1.06);
}
.spec-card-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, oklch(0.04 0.01 260 / 0.15) 0%, oklch(0.03 0.01 260 / 0.55) 45%, oklch(0.02 0.01 260 / 0.95) 100%);
  transition: background var(--transition-interactive);
}
.spec-card:hover .spec-card-scrim {
  background: linear-gradient(180deg, oklch(0.04 0.01 260 / 0.05) 0%, oklch(0.03 0.01 260 / 0.5) 45%, oklch(0.02 0.01 260 / 0.96) 100%);
}
.spec-card-body {
  position: relative;
  z-index: 2;
  padding: var(--space-6);
}
.spec-card-index {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--space-2);
}
.spec-card-title {
  font-family: var(--font-brand);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.spec-card-copy {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 42ch;
}
.spec-card-corner {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 14px;
  height: 14px;
  border-top: 1.5px solid var(--color-silver);
  border-right: 1.5px solid var(--color-silver);
  opacity: 0.6;
  z-index: 2;
}

/* Services section background */
.services {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
}

/* Service cards double as scroll-to-detail buttons */
.spec-card-btn,
.spec-card-btn:link,
.spec-card-btn:visited,
.spec-card-btn:hover,
.spec-card-btn:active {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.spec-card-btn * {
  text-decoration: none;
}
.spec-card-btn:focus-visible .spec-card {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ===================== Service Detail (full-width) ===================== */
.service-detail {
  position: relative;
  border-bottom: 1px solid var(--color-divider);
  scroll-margin-top: var(--space-16);
}
.service-detail:nth-of-type(odd) {
  background: var(--color-bg);
}
.service-detail:nth-of-type(even) {
  background: var(--color-surface);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
  .service-detail.media-right .service-detail-media {
    order: 2;
  }
  .service-detail.media-right .service-detail-copy {
    order: 1;
  }
}

.service-detail-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
  isolation: isolate;
  box-shadow: var(--shadow-md);
}
.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.service-detail:hover .service-detail-media img {
  transform: scale(1.03);
}
.service-detail-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, oklch(0.02 0.01 260 / 0.55) 100%);
}
.service-detail-media-corner {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  width: 16px;
  height: 16px;
  border-top: 1.5px solid var(--color-gold);
  border-left: 1.5px solid var(--color-gold);
  opacity: 0.7;
  z-index: 2;
}

.service-detail-copy {
  max-width: 60ch;
}
.service-detail-index {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--color-gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.service-detail-index::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-gold);
  display: inline-block;
}
.service-detail-title {
  font-family: var(--font-brand);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}
.service-detail-lede {
  font-size: var(--text-lg);
  color: var(--color-silver-hover);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: var(--space-6);
}
.service-detail-body p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}
.service-detail-body p + p {
  margin-top: var(--space-4);
}
.service-detail-cta {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* Industries section — slightly offset surface for rhythm */
.industries {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
}

/* ===================== Insights ===================== */
.insights {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
}

.whitepaper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.whitepaper-card {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: start;
  padding: clamp(var(--space-6), 2.5vw, var(--space-10));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 6px);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--transition-interactive),
    background var(--transition-interactive),
    transform var(--transition-interactive);
}

.whitepaper-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--color-gold);
  opacity: 0.9;
}

.whitepaper-card:hover {
  border-color: var(--color-silver-active);
  background: var(--color-surface-2);
}

.whitepaper-media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #000;
  aspect-ratio: 8.5 / 11;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.whitepaper-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 900ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.whitepaper-card:hover .whitepaper-media {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.whitepaper-card:hover .whitepaper-media img {
  transform: scale(1.02);
}

.whitepaper-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-block: var(--space-2);
}

.whitepaper-meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0;
}

.whitepaper-title {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.1;
  color: var(--color-silver-hover);
  margin: 0;
  letter-spacing: 0.01em;
}

.whitepaper-copy {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
  margin: 0;
  max-width: 62ch;
}

.whitepaper-copy em {
  color: var(--color-text);
  font-style: normal;
  font-weight: 600;
}

.whitepaper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

@media (max-width: 720px) {
  .whitepaper-card {
    grid-template-columns: 1fr;
  }
  .whitepaper-media {
    max-width: 240px;
  }
}

/* ===================== Contact ===================== */
.contact {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  gap: var(--space-12);
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.contact-info-list {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.contact-info-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-info-icon {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-info-item a,
.contact-info-item span {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
}
.contact-info-item a:hover {
  color: var(--color-silver-hover);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.form-row {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 540px) {
  .form-row.two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field input,
.field textarea {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-size: var(--text-sm);
  resize: vertical;
}
.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--color-gold);
  outline: none;
}
.field textarea {
  min-height: 120px;
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ===================== Footer ===================== */
.site-footer {
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
  padding-block: var(--space-10);
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}
@media (min-width: 720px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.footer-brand .brand-logo {
  height: 26px;
}
.footer-meta {
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
}
.footer-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}
.footer-links a {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-links a:hover {
  color: var(--color-gold);
}

/* ===================== Scroll Reveal ===================== */
.reveal {
  opacity: 1;
}
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}
@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* ===================== Hairline divider w/ hex accent ===================== */
.hex-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-text-faint);
  margin-block: var(--space-4);
}
.hex-divider::before,
.hex-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--color-divider);
}
.hex-divider svg {
  width: 12px;
  height: 12px;
  color: var(--color-gold);
}
