/* ==========================================================================
   NATHAN ROMANO — Design Tokens & Component Styles
   Concept: "Growth Architect" — dark, precise, tech-authority
   ========================================================================== */

:root,
[data-theme='dark'] {
  /* Surfaces — deep carbon black, layered */
  --color-bg: #0a0b0d;
  --color-surface: #101216;
  --color-surface-2: #14171c;
  --color-surface-offset: #191c22;
  --color-surface-offset-2: #20242b;
  --color-surface-dynamic: #262a32;
  --color-divider: #1e2128;
  --color-border: #262a32;

  /* Text */
  --color-text: #eef0f2;
  --color-text-muted: #9298a3;
  --color-text-faint: #5b6270;
  --color-text-inverse: #0a0b0d;

  /* Primary Accent — electric cyan/teal, used sparingly */
  --color-primary: #3ee6c4;
  --color-primary-hover: #6bf0d6;
  --color-primary-active: #2bc9a9;
  --color-primary-highlight: #12312b;

  /* Warning / Error / Success (minimal use) */
  --color-warning: #e8a33d;
  --color-warning-highlight: #2e2517;
  --color-error: #e8607a;
  --color-error-highlight: #2e1a20;
  --color-success: #3ee6c4;
  --color-success-highlight: #12312b;
  --color-blue: #5b9fe8;
  --color-gold: #e8c33d;

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

  /* Transitions */
  --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);

  /* Shadows — cool-toned for dark surfaces */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 8px 24px oklch(0 0 0 / 0.45);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.55);
  --glow-primary: 0 0 32px oklch(from var(--color-primary) l c h / 0.25);

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

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'General Sans', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Menlo', monospace;
}

/* LIGHT MODE — inverted, editorial paper feel */
[data-theme='light'] {
  --color-bg: #f6f7f5;
  --color-surface: #ffffff;
  --color-surface-2: #fbfbfa;
  --color-surface-offset: #eef0ee;
  --color-surface-offset-2: #e5e8e5;
  --color-surface-dynamic: #dde1de;
  --color-divider: #dfe2df;
  --color-border: #d5d9d5;

  --color-text: #10120f;
  --color-text-muted: #565b56;
  --color-text-faint: #94988f;
  --color-text-inverse: #f6f7f5;

  --color-primary: #0b7d67;
  --color-primary-hover: #096453;
  --color-primary-active: #074c40;
  --color-primary-highlight: #d6ede6;

  --color-warning: #a1660f;
  --color-warning-highlight: #f0e2c6;
  --color-error: #b23a54;
  --color-error-highlight: #f3dbe0;
  --color-success: #0b7d67;
  --color-success-highlight: #d6ede6;
  --color-blue: #1f5fa8;
  --color-gold: #a1830f;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 150 / 0.06);
  --shadow-md: 0 8px 24px oklch(0.2 0.02 150 / 0.08);
  --shadow-lg: 0 20px 48px oklch(0.2 0.02 150 / 0.12);
  --glow-primary: 0 0 32px oklch(from var(--color-primary) l c h / 0.15);
}

/* ==========================================================================
   TYPE SCALE
   ========================================================================== */
:root {
  --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 + 6.5vw, 7rem);
}

/* ==========================================================================
   SPACING
   ========================================================================== */
:root {
  --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;
}

/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */
.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), 10vw, var(--space-32));
  position: relative;
}
section.section--tight {
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  box-shadow: 0 0 8px oklch(from var(--color-primary) l c h / 0.7);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
  max-width: 34ch;
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-top: var(--space-4);
}

/* ==========================================================================
   TYPOGRAPHY BASE
   ========================================================================== */
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--color-text);
}

.text-muted {
  color: var(--color-text-muted);
}
.text-faint {
  color: var(--color-text-faint);
}
.text-primary {
  color: var(--color-primary);
}

/* ==========================================================================
   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-sm);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
}
.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--color-primary);
  color: #04140f;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--glow-primary);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.18);
}
.btn--ghost:hover {
  border-color: oklch(from var(--color-text) l c h / 0.4);
  background: oklch(from var(--color-text) l c h / 0.04);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s var(--ease-out);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: 0 8px 24px oklch(0% 0 0 / 0.24);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
}
.logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}
.nav a {
  font-size: var(--text-sm);
  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);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
.icon-btn:hover {
  color: var(--color-text);
  background: oklch(from var(--color-text) l c h / 0.06);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  color: var(--color-text-faint);
}
.lang-switch button[aria-pressed='true'] {
  background: var(--color-primary);
  color: #04140f;
}
.lang-switch button:not([aria-pressed='true']):hover {
  color: var(--color-text);
}

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

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--color-bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}
.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-12);
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding-top: clamp(var(--space-16), 12vw, var(--space-24));
  padding-bottom: clamp(var(--space-16), 8vw, var(--space-24));
  position: relative;
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--color-bg) 0%,
    oklch(from var(--color-bg) l c h / 0.85) 35%,
    oklch(from var(--color-bg) l c h / 0.3) 65%,
    oklch(from var(--color-bg) l c h / 0.75) 100%
  );
}
[data-theme='light'] .hero__bg {
  opacity: 0.12;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: var(--space-2) var(--space-4);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.3);
  border-radius: var(--radius-full);
  background: oklch(from var(--color-primary) l c h / 0.06);
  margin-bottom: var(--space-6);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--text-hero);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero__title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 46ch;
  margin-top: var(--space-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.hero__meta-item {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.hero__meta-item strong {
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 600;
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 2px;
}

.hero__portrait {
  position: relative;
  justify-self: center;
}
.hero__portrait-frame {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}
.hero__portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__portrait-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-md);
  max-width: 240px;
  white-space: nowrap;
}
.hero__portrait-badge strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-primary);
  display: block;
}
.hero__portrait-badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ==========================================================================
   MARQUEE / TICKER
   ========================================================================== */
.marquee-wrap {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-5);
  overflow: hidden;
  background: var(--color-surface);
}
.marquee {
  display: flex;
  gap: var(--space-12);
  width: max-content;
  animation: marquee 32s linear infinite;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.marquee span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  white-space: nowrap;
}
.marquee span strong {
  color: var(--color-text-muted);
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  letter-spacing: -0.01em;
  line-height: 1;
}
.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  max-width: 20ch;
}

/* ==========================================================================
   TIMELINE (About)
   ========================================================================== */
.about__layout {
  display: grid;
  gap: var(--space-16);
}
@media (min-width: 960px) {
  .about__layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.timeline {
  margin-top: var(--space-10);
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--color-divider);
}
.timeline-item {
  position: relative;
  padding-left: var(--space-8);
  padding-bottom: var(--space-8);
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
}
.timeline-item__year {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.05em;
}
.timeline-item__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-top: var(--space-1);
}
.timeline-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  max-width: 52ch;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.35;
  color: var(--color-text);
  border-left: none;
  position: relative;
  padding-top: var(--space-6);
}
.pull-quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: -0.1em;
  font-size: 4rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  opacity: 0.5;
}
.pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

/* ==========================================================================
   EXPERTISE / SERVICES
   ========================================================================== */
.expertise-list {
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
}
.expertise-row {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-8);
  border-top: 1px solid var(--color-divider);
  align-items: baseline;
}
@media (min-width: 800px) {
  .expertise-row {
    grid-template-columns: 90px 1.1fr 1.4fr;
    gap: var(--space-8);
  }
}
.expertise-row__num {
  font-family: var(--font-mono);
  color: var(--color-text-faint);
  font-size: var(--text-sm);
}
.expertise-row__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}
.expertise-row__desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 56ch;
}
.expertise-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px 10px;
}

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
.cases {
  margin-top: var(--space-12);
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 800px) {
  .cases {
    grid-template-columns: repeat(3, 1fr);
  }
  .cases.cases--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.case-card__result {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  line-height: 1.1;
  white-space: nowrap;
}
.case-card__label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.case-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-top: var(--space-2);
}
.case-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.case-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

/* ==========================================================================
   CONTENT / VIDEO
   ========================================================================== */
.content-feature {
  display: grid;
  gap: var(--space-10);
  margin-top: var(--space-12);
  align-items: center;
}
@media (min-width: 900px) {
  .content-feature {
    grid-template-columns: 1fr 1fr;
  }
}
.content-feature__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4/3;
}
.content-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-list {
  margin-top: var(--space-12);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
}
.content-card {
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.content-card:hover {
  border-color: oklch(from var(--color-primary) l c h / 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.content-card__topic {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.content-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.3;
}

/* ==========================================================================
   LOGOS / BRANDS ROW
   ========================================================================== */
.brand-row {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  align-items: center;
}
.brand-row span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text-faint);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   CTA / CONTACT
   ========================================================================== */
.cta-band {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-surface-offset) 100%);
  padding: clamp(var(--space-10), 6vw, var(--space-20));
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-surface);
}
.contact-method:hover {
  border-color: oklch(from var(--color-primary) l c h / 0.4);
  background: oklch(from var(--color-primary) l c h / 0.05);
}
.contact-method svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-method__label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  display: block;
}
.contact-method__value {
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: space-between;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-divider);
}
.footer__brand {
  max-width: 320px;
}
.footer__brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}
.footer__col a,
.footer__col span {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding-block: var(--space-1);
}
.footer__col a:hover {
  color: var(--color-primary);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.social-row {
  display: flex;
  gap: var(--space-3);
}
.social-row a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.social-row a:hover {
  color: var(--color-primary);
  border-color: oklch(from var(--color-primary) l c h / 0.4);
}
.social-row svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   SCROLL REVEALS
   ========================================================================== */
.reveal {
  opacity: 1;
}
.reveal[style*="animation: none"] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0);
}
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}
@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* ==========================================================================
   MISC
   ========================================================================== */
.divider-label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-text-faint);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-10);
}
.divider-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-divider);
}

[lang-hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--color-primary);
  color: #04140f;
  padding: var(--space-2) var(--space-4);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}
