/* ===================================================================
   JDM PROJECT CONSULTING — Design Tokens + Styles
   Concept: authoritative heavy-civil / pipeline owner's-rep consulting.
   Palette: graphite + concrete neutrals, safety-orange accent, steel-slate secondary.
   Type: Cabinet Grotesk (display) + Satoshi (body) — Fontshare.
=================================================================== */

: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.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  --text-hero: clamp(2.75rem, 0.8rem + 6vw, 5.75rem);

  /* ---------- Spacing (4px system) ---------- */
  --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;

  /* ---------- Radius ---------- */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* ---------- Content widths ---------- */
  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* ---------- Fonts ---------- */
  --font-display: 'Cabinet Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
}

/* ================= LIGHT MODE (default) ================= */
:root,
[data-theme='light'] {
  --color-bg: #f0eee7;
  --color-surface: #fbfaf7;
  --color-surface-2: #f5f3ed;
  --color-surface-offset: #e9e5db;
  --color-surface-offset-2: #ded9cc;
  --color-surface-dynamic: #d6d0c0;
  --color-divider: #ddd8cb;
  --color-border: #cec8b7;

  --color-text: #1b1a17;
  --color-text-muted: #5f5c53;
  --color-text-faint: #99958a;
  --color-text-inverse: #f7f5ef;

  /* Primary: Safety Orange */
  --color-primary: #d9540f;
  --color-primary-hover: #b8440a;
  --color-primary-active: #8f3407;
  --color-primary-highlight: #f4dcc7;

  /* Secondary: Steel Slate (used sparingly — badges, icon strokes) */
  --color-steel: #45566a;
  --color-steel-highlight: #dbe0e6;

  --color-success: #3f6b2c;
  --color-success-highlight: #d9e3cf;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 60 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.2 0.02 60 / 0.12);
  --shadow-lg: 0 16px 40px oklch(0.2 0.02 60 / 0.18);
}

/* ================= DARK MODE ================= */
[data-theme='dark'] {
  --color-bg: #14151a;
  --color-surface: #1a1b20;
  --color-surface-2: #202126;
  --color-surface-offset: #25262c;
  --color-surface-offset-2: #2c2d33;
  --color-surface-dynamic: #34353c;
  --color-divider: #2c2d33;
  --color-border: #3a3b42;

  --color-text: #ebe9e3;
  --color-text-muted: #a5a19750;
  --color-text-muted: #a5a197;
  --color-text-faint: #6c6a63;
  --color-text-inverse: #1a1b20;

  --color-primary: #f2793a;
  --color-primary-hover: #f68f5c;
  --color-primary-active: #fab081;
  --color-primary-highlight: #3c2b20;

  --color-steel: #8fa3ba;
  --color-steel-highlight: #262c34;

  --color-success: #7fb35d;
  --color-success-highlight: #24301e;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 8px 20px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #14151a;
    --color-surface: #1a1b20;
    --color-surface-2: #202126;
    --color-surface-offset: #25262c;
    --color-surface-offset-2: #2c2d33;
    --color-surface-dynamic: #34353c;
    --color-divider: #2c2d33;
    --color-border: #3a3b42;
    --color-text: #ebe9e3;
    --color-text-muted: #a5a197;
    --color-text-faint: #6c6a63;
    --color-text-inverse: #1a1b20;
    --color-primary: #f2793a;
    --color-primary-hover: #f68f5c;
    --color-primary-active: #fab081;
    --color-primary-highlight: #3c2b20;
    --color-steel: #8fa3ba;
    --color-steel-highlight: #262c34;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 8px 20px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);
  }
}

/* ===================================================================
   BASE TYPOGRAPHY
=================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.01em;
}
p, li {
  max-width: 68ch;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ===================================================================
   LAYOUT UTILITIES
=================================================================== */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--default { max-width: var(--content-default); }
.container--narrow { max-width: var(--content-narrow); }

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section-head {
  max-width: var(--content-narrow);
  margin-bottom: var(--space-10);
}
.section-head h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-3);
}
.section-head p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  z-index: 200;
  border-radius: var(--radius-md);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ===================================================================
   BUTTONS
=================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff9f4;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { background: var(--color-primary-active); }

.btn-outline {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1.5px solid oklch(from var(--color-text-inverse) l c h / 0.4);
}
.btn-outline:hover {
  border-color: var(--color-text-inverse);
  background: oklch(from var(--color-text-inverse) l c h / 0.08);
}

.btn-ghost {
  background: var(--color-surface-offset);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover { background: var(--color-surface-offset-2); }

/* ===================================================================
   HEADER
=================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
}
.brand svg { width: 34px; height: 34px; color: var(--color-primary); flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}
.nav a:hover { color: var(--color-text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-offset); }
.theme-toggle svg { width: 18px; height: 18px; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--color-text);
}
.menu-toggle svg { width: 22px; height: 22px; }

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

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--space-4) var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-bg);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
}
@media (min-width: 900px) {
  .mobile-nav { display: none !important; }
}

/* ===================================================================
   HERO
=================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-text-inverse);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.12 0.02 60 / 0.55) 0%, oklch(0.1 0.02 60 / 0.72) 55%, oklch(0.08 0.02 60 / 0.92) 100%),
    linear-gradient(90deg, oklch(0.08 0.02 60 / 0.55) 0%, oklch(0.08 0.02 60 / 0.15) 60%);
}
:root, [data-theme='light'] { --hero-inverse: #fff9f2; }
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-24) var(--space-16);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbd9bd;
  background: oklch(0.3 0.05 40 / 0.35);
  border: 1px solid oklch(0.7 0.1 50 / 0.35);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}
.hero h1 {
  margin-top: var(--space-6);
  font-size: var(--text-hero);
  max-width: 15ch;
  color: #fff9f2;
}
.hero-sub {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  max-width: 46ch;
  color: #e9e2d6;
  font-family: var(--font-body);
  font-weight: 400;
}
.hero-ctas {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.hero-stats {
  position: relative;
  z-index: 1;
  margin-top: var(--space-20);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  border-top: 1px solid oklch(1 0 0 / 0.18);
  padding-top: var(--space-8);
}
@media (min-width: 700px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff9f2;
}
.hero-stat .label {
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: #d8cfc0;
  letter-spacing: 0.04em;
}

/* ===================================================================
   CLIENTS MARQUEE
=================================================================== */
.clients {
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-8);
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-5);
}
.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-10) var(--space-12);
}
.clients-row span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

/* ===================================================================
   ABOUT
=================================================================== */
.about-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
  .about-grid.reverse .about-media { order: 2; }
}
.about-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media-tag {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: oklch(0.1 0.02 60 / 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}
.about-text .eyebrow { display: block; margin-bottom: var(--space-3); }
.about-text h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
}
.about-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.about-text p:last-of-type { margin-bottom: 0; }
.about-facts {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.about-fact {
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-4);
}
.about-fact .num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}
.about-fact .label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ===================================================================
   PROCESS (HOW WE WORK)
=================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: var(--space-6);
}
.process-step {
  position: relative;
  padding-top: var(--space-5);
  border-top: 2px solid var(--color-primary);
}
.process-step-top {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.process-num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-faint);
  letter-spacing: 0.04em;
}
.process-step .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
.process-step .icon svg { width: 22px; height: 22px; }
.process-step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ===================================================================
   SERVICES
=================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-5);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.service-card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.service-card .icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ===================================================================
   NETWORK NOTE (Engagements section callout)
=================================================================== */
.network-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
}
.network-note__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
.network-note__icon svg { width: 22px; height: 22px; }
.network-note__body h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.network-note__body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 62ch;
}
@media (max-width: 640px) {
  .network-note { flex-direction: column; }
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.discipline-chip {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.discipline-chip__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
.discipline-chip__icon svg { width: 17px; height: 17px; }
.discipline-chip__text h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.discipline-chip__text p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===================================================================
   EXPERIENCE TIMELINE
=================================================================== */
.timeline {
  position: relative;
  max-width: var(--content-default);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--color-divider);
}
@media (min-width: 700px) {
  .timeline::before { left: 210px; }
}
.timeline-item {
  position: relative;
  padding-left: var(--space-8);
  padding-bottom: var(--space-10);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-primary);
}
.timeline-item.current::before {
  background: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-highlight);
}
@media (min-width: 700px) {
  .timeline-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: var(--space-8);
    padding-left: var(--space-16);
  }
  .timeline-item::before { left: 203px; }
}
.timeline-date {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
@media (min-width: 700px) {
  .timeline-date { margin-bottom: 0; padding-top: 4px; }
}
.timeline-body h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}
.timeline-body .company {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.timeline-body ul {
  display: grid;
  gap: var(--space-2);
}
.timeline-body li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
}
.timeline-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-text-faint);
}
.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-steel);
  background: var(--color-steel-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-left: var(--space-2);
}

/* ===================================================================
   CERTIFICATIONS
=================================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: var(--space-4);
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.cert-badge .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-steel-highlight);
  color: var(--color-steel);
}
.cert-badge .icon svg { width: 18px; height: 18px; }
.cert-badge span {
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ===================================================================
   CONTACT
=================================================================== */
.contact-panel {
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 6vw, var(--space-16));
  display: grid;
  gap: var(--space-10);
  position: relative;
  overflow: hidden;
}
[data-theme='dark'] .contact-panel { background: var(--color-surface-offset); }
@media (min-width: 900px) {
  .contact-panel { grid-template-columns: 1.1fr 0.9fr; }
}
.contact-panel h2 {
  font-size: var(--text-2xl);
  color: var(--color-bg);
}
[data-theme='dark'] .contact-panel h2 { color: var(--color-text); }
.contact-panel p {
  margin-top: var(--space-4);
  color: oklch(from var(--color-bg) l c h / 0.7);
  max-width: 42ch;
}
[data-theme='dark'] .contact-panel p { color: var(--color-text-muted); }
.contact-list {
  display: grid;
  gap: var(--space-5);
  align-content: start;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-bg);
  text-decoration: none;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: oklch(from var(--color-bg) l c h / 0.06);
}
[data-theme='dark'] .contact-row { color: var(--color-text); background: var(--color-surface-2); }
.contact-row:hover { background: oklch(from var(--color-bg) l c h / 0.12); }
[data-theme='dark'] .contact-row:hover { background: var(--color-surface-dynamic); }
.contact-row .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff9f2;
}
.contact-row .icon svg { width: 18px; height: 18px; }
.contact-row .label {
  font-size: var(--text-xs);
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-row .value {
  font-size: var(--text-base);
  font-weight: 600;
}

/* ===================================================================
   FOOTER
=================================================================== */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.footer-brand svg { width: 22px; height: 22px; color: var(--color-primary); }
.footer-meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ===================================================================
   REVEAL ANIMATION
=================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
