/* ============================================
   TITAN LAND COMPANY — Award-Winning Redesign
   ============================================ */

/* --- Type Scale (fluid) --- */
: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(3rem, 0.5rem + 7vw, 8rem);

  /* --- 4px Spacing --- */
  --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.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --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);

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

  /* --- Fonts --- */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
}

/* --- LIGHT MODE --- */
:root, [data-theme='light'] {
  --color-bg: #F5F3EF;
  --color-surface: #FFFFFF;
  --color-surface-2: #FAF9F7;
  --color-surface-offset: #EBE8E3;
  --color-border: #D5D0C8;
  --color-divider: #E0DCD6;

  --color-text: #1A2744;
  --color-text-muted: #5A6578;
  --color-text-faint: #9BA3B0;
  --color-text-inverse: #F5F3EF;

  --color-primary: #1A2744;
  --color-primary-hover: #0F1A30;

  --color-accent: #B87333;
  --color-accent-hover: #A0612A;
  --color-accent-light: rgba(184, 115, 51, 0.1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 250 / 0.06);
  --shadow-md: 0 4px 16px oklch(0.2 0.02 250 / 0.08);
  --shadow-lg: 0 12px 40px oklch(0.2 0.02 250 / 0.12);
}

/* --- DARK MODE --- */
[data-theme='dark'] {
  --color-bg: #0C1019;
  --color-surface: #12171F;
  --color-surface-2: #181E28;
  --color-surface-offset: #101520;
  --color-border: #252D3C;
  --color-divider: #1E2636;

  --color-text: #D4D8E0;
  --color-text-muted: #8892A4;
  --color-text-faint: #4E5A70;
  --color-text-inverse: #0C1019;

  --color-primary: #D4D8E0;
  --color-primary-hover: #F0F2F6;

  --color-accent: #D49A5C;
  --color-accent-hover: #E0AD72;
  --color-accent-light: rgba(212, 154, 92, 0.1);

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0C1019;
    --color-surface: #12171F;
    --color-surface-2: #181E28;
    --color-surface-offset: #101520;
    --color-border: #252D3C;
    --color-divider: #1E2636;
    --color-text: #D4D8E0;
    --color-text-muted: #8892A4;
    --color-text-faint: #4E5A70;
    --color-text-inverse: #0C1019;
    --color-primary: #D4D8E0;
    --color-primary-hover: #F0F2F6;
    --color-accent: #D49A5C;
    --color-accent-hover: #E0AD72;
    --color-accent-light: rgba(212, 154, 92, 0.1);
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.5);
  }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: var(--space-5) var(--space-6);
  transition: background 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.header-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.logo-mark { flex-shrink: 0; }
.logo-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
}
/* In hero, use inverse color */
.hero .logo-text, .hero .logo { color: #fff; }

.nav-desktop { display: flex; align-items: center; gap: var(--space-8); }
.nav-desktop a {
  font-size: var(--text-xs);
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition-interactive);
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}
.nav-desktop a:hover { color: var(--color-text); }
.nav-desktop a:hover::after { width: 100%; }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}
.theme-toggle:hover { color: var(--color-text); }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  z-index: 51;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-toggle.active span::after { transform: rotate(-45deg) translate(5.5px, -5.5px); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 49;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.nav-mobile.open { opacity: 1; pointer-events: auto; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.nav-mobile a:hover { color: var(--color-accent); }

@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
}

/* ============================================
   HERO — Full viewport, cinematic
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0C1019;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 16, 25, 0.95) 0%,
    rgba(12, 16, 25, 0.4) 40%,
    rgba(12, 16, 25, 0.2) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 0 var(--space-6) var(--space-16);
  width: 100%;
}
.hero-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  color: #fff;
  max-width: 16ch;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-8);
}
.hero h1 em {
  font-style: italic;
  color: var(--color-accent);
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.hero-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  max-width: 42ch;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: var(--space-10);
}
.hero-stat { text-align: right; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #fff;
  line-height: 1.1;
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}

@media (max-width: 767px) {
  .hero { align-items: flex-end; }
  .hero-content { padding-bottom: var(--space-10); }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: var(--space-6); }
  .hero-stat { text-align: left; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.25);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

@media (max-width: 767px) {
  .scroll-indicator { display: none; }
}

/* ============================================
   SECTIONS — Shared
   ============================================ */
.section {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-6);
}
.section-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
}
.section-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.section-title em {
  font-style: italic;
}
.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  margin-top: var(--space-12);
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1.2fr 1fr; align-items: start; gap: var(--space-16); }
}
.about-story p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}
.about-story p:first-child {
  font-size: var(--text-lg);
  color: var(--color-text);
  line-height: 1.6;
}
.about-story a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: oklch(from var(--color-accent) l c h / 0.35);
  transition: text-decoration-color var(--transition-interactive);
}
.about-story a:hover {
  text-decoration-color: var(--color-accent);
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.metric-card {
  background: var(--color-surface);
  padding: var(--space-8) var(--space-6);
}
.metric-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}
.metric-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ============================================
   PARTNER LOGO BAR
   ============================================ */
.partners-bar {
  padding: var(--space-8) var(--space-6);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.partners-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.partners-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  white-space: nowrap;
}
.partners-logos {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  justify-content: center;
}
.partner-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text-muted);
  opacity: 0.5;
  transition: opacity 0.3s var(--ease-out);
}
.partner-logo:hover { opacity: 1; }
.partner-logo svg { height: 28px; width: auto; }

@media (max-width: 600px) {
  .partners-inner { flex-direction: column; gap: var(--space-4); }
  .partners-logos { gap: var(--space-8); }
}

/* ============================================
   INTERACTIVE MAP
   ============================================ */
.section--dark {
  background: #0C1019;
  color: #D4D8E0;
}
.section--dark .section-label { color: var(--color-accent); }
[data-theme='light'] .section--dark .section-label { color: #B87333; }
.section--dark .section-title { color: #fff; }
.section--dark .section-title em { color: #D49A5C; }
[data-theme='light'] .section--dark .section-title em { color: #B87333; }

.map-container {
  margin-top: var(--space-12);
  position: relative;
}
.us-map {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  display: block;
}
.us-outline {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.5;
}
.state-line {
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 0.5;
}

/* Active site markers */
.marker-pulse {
  fill: rgba(184, 115, 51, 0.15);
  animation: pulse-ring 3s ease-in-out infinite;
}
.marker-ring {
  fill: none;
  stroke: #B87333;
  stroke-width: 1.5;
  opacity: 0.6;
}
.marker-dot {
  fill: #B87333;
  filter: drop-shadow(0 0 6px rgba(184, 115, 51, 0.6));
}
.marker-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  fill: #fff;
  letter-spacing: 0.04em;
}
.marker-sub {
  font-family: var(--font-body);
  font-size: 11px;
  fill: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

/* Pipeline / expansion markers */
.expansion-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  animation: spin-slow 20s linear infinite;
}
.expansion-dot {
  fill: rgba(255, 255, 255, 0.2);
}

@keyframes pulse-ring {
  0%, 100% { r: 18; opacity: 0.15; }
  50% { r: 28; opacity: 0.05; }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); transform-origin: center; }
}

/* Legend */
.map-legend {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-8);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
}
.legend-dot--active {
  background: #B87333;
  box-shadow: 0 0 6px rgba(184, 115, 51, 0.5);
}
.legend-dot--pipeline {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
  .marker-label { font-size: 11px; }
  .marker-sub { font-size: 9px; }
}

/* ============================================
   HORIZONTAL DIVIDER
   ============================================ */
.section-divider {
  border: none;
  height: 1px;
  background: var(--color-divider);
  max-width: var(--content-wide);
  margin: 0 auto;
}

/* ============================================
   PROJECTS — Cinematic Cards
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

/* Featured project — full-width cinematic */
.project-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}
.project-featured-bg {
  position: absolute;
  inset: 0;
}
.project-featured-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.project-featured:hover .project-featured-bg img {
  transform: scale(1.03);
}
.project-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 16, 25, 0.9) 0%,
    rgba(12, 16, 25, 0.3) 60%,
    rgba(12, 16, 25, 0.1) 100%
  );
}
.project-featured-content {
  position: relative;
  z-index: 1;
  padding: var(--space-8);
  width: 100%;
}
.project-featured-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.project-featured-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #fff;
  margin-bottom: var(--space-3);
}
.project-featured-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.project-tag {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.project-tag--accent {
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-color: transparent;
}

/* Secondary project cards */
.projects-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .projects-secondary { grid-template-columns: 1fr 1fr; }
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}
.project-card-bg {
  position: absolute;
  inset: 0;
}
.project-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.project-card:hover .project-card-bg img {
  transform: scale(1.03);
}
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 16, 25, 0.88) 0%,
    rgba(12, 16, 25, 0.2) 70%
  );
}
.project-card-content {
  position: relative;
  z-index: 1;
  padding: var(--space-6);
  width: 100%;
}
.project-card-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.project-card-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-2);
}
.project-card-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ============================================
   CAPABILITIES — Minimal grid
   ============================================ */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-12);
}
@media (min-width: 600px) { .capabilities-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .capabilities-grid { grid-template-columns: 1fr 1fr 1fr; } }

.cap-card {
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  transition: background 0.3s var(--ease-out);
}
.cap-card:hover { background: var(--color-surface-2); }
.cap-number {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-accent);
  opacity: 0.4;
  margin-bottom: var(--space-4);
}
.cap-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.cap-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   NEWS — Card grid
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
@media (min-width: 600px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr 1fr; } }

.news-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.news-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.news-card-source {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-card-date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  white-space: nowrap;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
}

.news-card-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}

.news-card-cta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: letter-spacing 0.3s var(--ease-out);
}
.news-card:hover .news-card-cta {
  letter-spacing: 0.12em;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: clamp(var(--space-16), 10vw, var(--space-24)) var(--space-6);
}
[data-theme='dark'] .site-footer { background: var(--color-surface); color: var(--color-text); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .site-footer { background: var(--color-surface); color: var(--color-text); }
}

.footer-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid oklch(from currentColor l c h / 0.12);
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand-desc {
  font-size: var(--text-sm);
  opacity: 0.5;
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 40ch;
}
.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: var(--space-4);
}
.footer-link {
  display: block;
  font-size: var(--text-sm);
  opacity: 0.6;
  text-decoration: none;
  color: inherit;
  margin-bottom: var(--space-3);
  transition: opacity var(--transition-interactive);
}
.footer-link:hover { opacity: 1; }
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity var(--transition-interactive);
}
.footer-email:hover { opacity: 1; }
.footer-bottom {
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copy {
  font-size: var(--text-xs);
  opacity: 0.3;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: fadeReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 75%;
  }
}
@keyframes fadeReveal { to { opacity: 1; } }

/* ============================================
   SURFACE ALTERNATE
   ============================================ */
.section--alt { background: var(--color-surface-2); }
