/* ============================================
   ARKHMS — Acts of Random Kindness
   Handyman & Technology Services
   ============================================ */

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

  /* --- 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.375rem;
  --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: 'Zodiak', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
}

/* ============================================
   COLOR PALETTE — Warm Timber + Copper Accent
   ============================================ */

:root,
[data-theme='light'] {
  /* Surfaces — warm, wood-inspired */
  --color-bg: #FAF8F5;
  --color-surface: #F5F1EB;
  --color-surface-2: #EDE8E0;
  --color-surface-offset: #E8E2D8;
  --color-surface-offset-2: #DDD6CA;
  --color-surface-dynamic: #D4CBC0;
  --color-divider: #C8BFB3;
  --color-border: #B8AEA0;

  /* Text — rich dark brown */
  --color-text: #2C241A;
  --color-text-muted: #6B5E4F;
  --color-text-faint: #A49781;
  --color-text-inverse: #FAF8F5;

  /* Primary — Warm Copper */
  --color-primary: #A0522D;
  --color-primary-hover: #8B4226;
  --color-primary-active: #6D331E;
  --color-primary-highlight: #E8D5C4;

  /* Secondary — Deep Forest */
  --color-secondary: #3D5A3E;
  --color-secondary-hover: #2E4530;

  /* Accent — Amber Gold */
  --color-accent: #C88A2E;
  --color-accent-hover: #A87420;

  /* Semantic */
  --color-error: #A13544;
  --color-warning: #964219;
  --color-success: #3D5A3E;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 60 / 0.08);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 60 / 0.1);
  --shadow-lg: 0 12px 32px oklch(0.2 0.02 60 / 0.14);
}

/* Dark Mode */
[data-theme='dark'] {
  --color-bg: #1A1714;
  --color-surface: #211E1A;
  --color-surface-2: #292520;
  --color-surface-offset: #2E2A24;
  --color-surface-offset-2: #353028;
  --color-surface-dynamic: #3D372E;
  --color-divider: #3A342C;
  --color-border: #4A4238;
  --color-text: #E0D8CC;
  --color-text-muted: #9E9488;
  --color-text-faint: #6B6054;
  --color-text-inverse: #1A1714;
  --color-primary: #C97A50;
  --color-primary-hover: #D88D63;
  --color-primary-active: #B06838;
  --color-primary-highlight: #3D3028;
  --color-secondary: #6B9E6D;
  --color-secondary-hover: #7FB982;
  --color-accent: #DAA54D;
  --color-accent-hover: #E8B968;
  --color-error: #DD6974;
  --color-warning: #BB653B;
  --color-success: #6B9E6D;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #1A1714;
    --color-surface: #211E1A;
    --color-surface-2: #292520;
    --color-surface-offset: #2E2A24;
    --color-surface-offset-2: #353028;
    --color-surface-dynamic: #3D372E;
    --color-divider: #3A342C;
    --color-border: #4A4238;
    --color-text: #E0D8CC;
    --color-text-muted: #9E9488;
    --color-text-faint: #6B6054;
    --color-text-inverse: #1A1714;
    --color-primary: #C97A50;
    --color-primary-hover: #D88D63;
    --color-primary-active: #B06838;
    --color-primary-highlight: #3D3028;
    --color-secondary: #6B9E6D;
    --color-secondary-hover: #7FB982;
    --color-accent: #DAA54D;
    --color-accent-hover: #E8B968;
    --color-error: #DD6974;
    --color-warning: #BB653B;
    --color-success: #6B9E6D;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
  }
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary-hover);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 100;
  font-size: var(--text-sm);
}
.skip-link:focus {
  top: var(--space-2);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(from var(--color-border) l c h / 0.3);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-4) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}
.logo-tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-1);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover {
  color: var(--color-text);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--color-text);
}

.nav-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition:
    background var(--transition-interactive),
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.nav-cta:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.nav-cta:active {
  transform: translateY(0);
}

.theme-toggle {
  color: var(--color-text-muted);
  padding: var(--space-2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

/* Mobile nav */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s var(--ease-out);
  display: block;
}
.nav-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 40;
  padding: var(--space-8) var(--space-4);
  flex-direction: column;
  gap: var(--space-4);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-cta-desktop {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    oklch(0.15 0.02 60 / 0.88) 0%,
    oklch(0.12 0.01 60 / 0.72) 50%,
    oklch(0.10 0.01 40 / 0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-16) var(--space-4);
  color: #FAF8F5;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}
.hero-badge::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  max-width: 14ch;
  color: #FAF8F5;
}
.hero h1 span {
  color: var(--color-accent);
}
.hero-desc {
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 48ch;
  color: oklch(0.88 0.01 60);
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================
   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-full);
  text-decoration: none;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
  cursor: pointer;
  border: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse);
}
.btn-secondary {
  background: transparent;
  color: #FAF8F5;
  border: 1px solid oklch(1 0 0 / 0.3);
}
.btn-secondary:hover {
  background: oklch(1 0 0 / 0.1);
  border-color: oklch(1 0 0 / 0.5);
  color: #FAF8F5;
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-4);
}
.section-alt {
  background: var(--color-surface);
}
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
}
.container-narrow {
  max-width: var(--content-default);
  margin-inline: auto;
}

.section-header {
  margin-bottom: var(--space-12);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-primary);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.service-card:hover .service-card-img img {
  transform: scale(1.04);
}
.service-card-body {
  padding: var(--space-6);
}
.service-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.service-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.service-card-link:hover {
  gap: var(--space-3);
}

[data-theme='dark'] .service-card {
  background: var(--color-surface);
}

/* ============================================
   ABOUT / WHY SECTION
   ============================================ */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.why-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.why-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.why-stat {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.why-stat-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 64px;
}
.why-stat-text h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.why-stat-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CERTIFICATIONS / EXPERTISE
   ============================================ */

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: var(--space-4);
}
.cert-badge {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  text-align: center;
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.cert-badge:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.cert-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-3);
  color: var(--color-primary);
}
.cert-badge h3 {
  font-size: var(--text-sm);
  font-weight: 600;
}
.cert-badge p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  text-align: center;
}
.cta-section .section-label {
  color: oklch(from var(--color-accent) l c h / 0.9);
}
.cta-section .section-label::before {
  background: oklch(from var(--color-accent) l c h / 0.9);
}
.cta-section .section-title {
  color: var(--color-text-inverse);
  margin-inline: auto;
}
.cta-section .section-desc {
  color: oklch(1 0 0 / 0.8);
  margin-inline: auto;
}
.cta-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-8);
  border-radius: var(--radius-full);
  background: #FAF8F5;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: var(--space-6);
  transition:
    background var(--transition-interactive),
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  background: #fff;
  color: var(--color-primary);
}

[data-theme='dark'] .cta-section {
  background: var(--color-surface-2);
}
[data-theme='dark'] .cta-btn {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
[data-theme='dark'] .cta-btn:hover {
  background: var(--color-primary-hover);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-12) var(--space-4) var(--space-6);
}
.footer-grid {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 32ch;
}
.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.page-hero {
  padding: clamp(var(--space-16), 10vw, var(--space-24)) var(--space-4) var(--space-12);
  background: var(--color-surface);
  text-align: center;
}
.page-hero .section-title {
  margin-inline: auto;
}
.page-hero .section-desc {
  margin-inline: auto;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-divider);
}
.service-detail:last-child {
  border-bottom: none;
}
.service-detail.reverse {
  direction: rtl;
}
.service-detail.reverse > * {
  direction: ltr;
}
.service-detail-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.service-detail-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.service-detail-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.service-detail-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-6);
}
.service-list li {
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
}
.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail.reverse {
    direction: ltr;
  }
  .service-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: center;
}
.about-hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-hero-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.timeline {
  position: relative;
  padding-left: var(--space-10);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-divider);
}
.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-10) + 4px);
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
}
.timeline-item h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.timeline-item .timeline-date {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.timeline-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .about-hero {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-info-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-info-text h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.contact-info-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.12);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.15);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* Fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
  }
  .fade-in.visible {
    opacity: 1;
  }
}
