/* ===================================================================
   WILSON'S CUSTOM CONSTRUCTION — design tokens
   Concept: established (1986) family trade business, rugged and
   trustworthy. Deep forest green (from the brand mark) + timber
   browns + warm stone neutrals. Confident serif for headings
   (authoritative, built-to-last) paired with a clean grotesk body.
=================================================================== */

:root {
  /* ---- Type scale ---- */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);
  --text-hero: clamp(2.75rem, 0.8rem + 6vw, 6.5rem);

  /* ---- 4px spacing 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-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1280px;
  --content-full: 100%;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
}

/* ---- Light mode (default) ---- */
:root,
[data-theme='light'] {
  --color-bg: #f6f4ef;
  --color-surface: #fbfaf7;
  --color-surface-2: #ffffff;
  --color-surface-offset: #efece3;
  --color-surface-offset-2: #e6e2d6;
  --color-surface-dynamic: #dfdaca;
  --color-divider: #ddd8cb;
  --color-border: #cec8b6;

  --color-text: #23241d;
  --color-text-muted: #63614f;
  --color-text-faint: #a29d87;
  --color-text-inverse: #f6f4ef;

  /* Primary — deep forest green, straight from the trailer logo */
  --color-primary: #1f5c3f;
  --color-primary-hover: #163f2b;
  --color-primary-active: #0f2c1e;
  --color-primary-highlight: #d8e4da;

  /* Accent — rust/timber orange used sparingly for CTAs & highlights */
  --color-accent: #b0521f;
  --color-accent-hover: #8c4118;
  --color-accent-active: #6b3212;
  --color-accent-highlight: #ecd9c9;

  --color-warning: #96501f;
  --color-success: #3f6b2e;
  --color-error: #9c3b2c;

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

/* ---- Dark mode ---- */
[data-theme='dark'] {
  --color-bg: #14140f;
  --color-surface: #191913;
  --color-surface-2: #1e1e17;
  --color-surface-offset: #21211a;
  --color-surface-offset-2: #292920;
  --color-surface-dynamic: #33321f;
  --color-divider: #2c2b22;
  --color-border: #3c3b2f;

  --color-text: #ece9dd;
  --color-text-muted: #a8a48f;
  --color-text-faint: #6e6b59;
  --color-text-inverse: #1c1c15;

  --color-primary: #5c9b7c;
  --color-primary-hover: #78b596;
  --color-primary-active: #93c9ac;
  --color-primary-highlight: #24352c;

  --color-accent: #d9803f;
  --color-accent-hover: #e5985d;
  --color-accent-active: #edb27f;
  --color-accent-highlight: #3a2b1e;

  --color-warning: #d18c52;
  --color-success: #7bb15c;
  --color-error: #d3766a;

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

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #14140f;
    --color-surface: #191913;
    --color-surface-2: #1e1e17;
    --color-surface-offset: #21211a;
    --color-surface-offset-2: #292920;
    --color-surface-dynamic: #33321f;
    --color-divider: #2c2b22;
    --color-border: #3c3b2f;
    --color-text: #ece9dd;
    --color-text-muted: #a8a48f;
    --color-text-faint: #6e6b59;
    --color-text-inverse: #1c1c15;
    --color-primary: #5c9b7c;
    --color-primary-hover: #78b596;
    --color-primary-active: #93c9ac;
    --color-primary-highlight: #24352c;
    --color-accent: #d9803f;
    --color-accent-hover: #e5985d;
    --color-accent-active: #edb27f;
    --color-accent-highlight: #3a2b1e;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
    --shadow-md: 0 8px 20px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 20px 44px oklch(0 0 0 / 0.5);
  }
}

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

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}

.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: var(--color-primary);
}
.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2.section-title {
  font-size: var(--text-xl);
  margin-block: var(--space-3) var(--space-8);
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 62ch;
  font-weight: 400;
}

p.body-copy {
  max-width: 68ch;
  color: var(--color-text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent);
  color: #fff8f0;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  border-color: oklch(from var(--color-text) l c h / 0.22);
  color: var(--color-text);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--on-dark {
  border-color: oklch(1 0 0 / 0.35);
  color: #fff;
}
.btn--on-dark:hover {
  border-color: #fff;
  background: oklch(1 0 0 / 0.08);
}

/* ===================================================================
   Header
=================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  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);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-4);
}
.brand {
  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-lg);
  line-height: 1;
}
.brand svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-text small {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.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);
}
.nav a:hover {
  color: var(--color-primary);
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.phone-link {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.phone-link svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .phone-link {
    display: inline-flex;
  }
  .menu-btn {
    display: none;
  }
}

.header-cta {
  display: none;
}
@media (min-width: 1100px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-5);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-10);
}
.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);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav .btn {
  margin-top: var(--space-8);
  justify-content: center;
}

/* ===================================================================
   Hero
=================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.15 0.02 150 / 0.35) 0%, oklch(0.12 0.02 150 / 0.35) 45%, oklch(0.08 0.02 150 / 0.92) 100%),
    linear-gradient(90deg, oklch(0.08 0.02 150 / 0.55) 0%, transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-24) var(--space-16);
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0dcc7;
  margin-bottom: var(--space-5);
}
.hero-eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--color-accent);
}
.hero h1 {
  font-size: var(--text-hero);
  max-width: 16ch;
  color: #fff;
  margin-bottom: var(--space-6);
}
.hero h1 em {
  font-style: italic;
  color: #d9a465;
  margin-right: 0.12em;
  padding-right: 0.05em;
}
.hero-sub {
  font-size: var(--text-lg);
  max-width: 46ch;
  color: oklch(1 0 0 / 0.82);
  margin-bottom: var(--space-8);
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 620px;
  border-top: 1px solid oklch(1 0 0 / 0.2);
  padding-top: var(--space-6);
}
@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #fff;
  display: block;
}
.hero-stat .label {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===================================================================
   Trust bar
=================================================================== */
.trust-bar {
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-divider);
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-10);
  padding-block: var(--space-6);
  align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}
.trust-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ===================================================================
   About / split section
=================================================================== */
.split {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
  .split--reverse .split-media {
    order: 2;
  }
}
.split-media {
  position: relative;
}
.split-media img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.split-media-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  max-width: 12rem;
}
.split-media-badge .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  display: block;
  line-height: 1;
}
.split-media-badge .label {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checklist {
  display: grid;
  gap: var(--space-3);
  margin-block: var(--space-6) var(--space-8);
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
}
.checklist svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===================================================================
   Services
=================================================================== */
.section-head {
  max-width: 46rem;
  margin-bottom: var(--space-12);
}
.services-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: oklch(from var(--color-primary) l c h / 0.35);
}
.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ===================================================================
   Process
=================================================================== */
.process-band {
  background: var(--color-text);
  color: var(--color-text-inverse);
}
[data-theme='dark'] .process-band {
  background: var(--color-surface-offset);
}
.process-band .eyebrow {
  color: #d9a465;
}
.process-band .eyebrow::before {
  background: #d9a465;
}
.process-band h2 {
  color: #fff;
}
[data-theme='dark'] .process-band h2 {
  color: var(--color-text);
}
.process-band .lede {
  color: oklch(1 0 0 / 0.65);
}
[data-theme='dark'] .process-band .lede {
  color: var(--color-text-muted);
}
.process-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 800px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.process-step {
  position: relative;
  padding-top: var(--space-8);
  border-top: 1px solid oklch(1 0 0 / 0.18);
}
[data-theme='dark'] .process-step {
  border-top-color: var(--color-divider);
}
.process-step .step-num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #d9a465;
  display: block;
  margin-bottom: var(--space-3);
}
.process-step h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2);
}
[data-theme='dark'] .process-step h3 {
  color: var(--color-text);
}
.process-step p {
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.6);
}
[data-theme='dark'] .process-step p {
  color: var(--color-text-muted);
}

/* ===================================================================
   Gallery
=================================================================== */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.gallery-tab {
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-divider);
  color: var(--color-text-muted);
}
.gallery-tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.gallery-tab:hover:not(.is-active) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.gallery-grid {
  columns: 1;
  column-gap: var(--space-5);
}
@media (min-width: 640px) {
  .gallery-grid {
    columns: 2;
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    columns: 3;
  }
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-5);
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: none;
}
.gallery-item.is-visible {
  display: block;
}
.gallery-item img {
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-4);
  background: linear-gradient(180deg, transparent, oklch(0.1 0.02 150 / 0.75));
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===================================================================
   Testimonials
=================================================================== */
.testimonial-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
}
.stars svg {
  width: 1rem;
  height: 1rem;
}
.testimonial-card p {
  font-size: var(--text-base);
  color: var(--color-text);
  font-style: italic;
}
.testimonial-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}
.testimonial-who strong {
  font-size: var(--text-sm);
  font-weight: 600;
}
.testimonial-who span {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ===================================================================
   Service areas
=================================================================== */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.areas-list span {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  border: 1px solid var(--color-divider);
}

/* ===================================================================
   CTA / Contact
=================================================================== */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, oklch(1 0 0 / 0.12), transparent 55%);
}
.cta-inner {
  position: relative;
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .cta-inner {
    grid-template-columns: 1.3fr 1fr;
  }
}
.cta-band h2 {
  color: #fff;
  font-size: var(--text-2xl);
  max-width: 14ch;
}
.cta-band .lede {
  color: oklch(1 0 0 / 0.82);
}
.cta-card {
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  backdrop-filter: blur(10px);
}
.cta-card .cta-phone {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #fff;
  display: block;
  margin-bottom: var(--space-1);
}
.cta-card p {
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.75);
  margin-bottom: var(--space-6);
}
.cta-card .btn--primary {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: var(--color-primary);
}
.cta-card .btn--primary:hover {
  background: #f0dcc7;
}
.cta-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.85);
  margin-top: var(--space-4);
}
.cta-detail svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: #f0dcc7;
}

/* ===================================================================
   Contact form section
=================================================================== */
.contact-wrap {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}
.contact-info-item {
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.contact-info-item svg {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-info-item span,
.contact-info-item a,
.contact-info-item address {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: block;
}
.contact-info-item a:hover {
  color: var(--color-primary);
}

.form-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: var(--space-4);
  }
}
.field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  font-size: var(--text-base);
  color: var(--color-text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.field textarea {
  resize: vertical;
  min-height: 8rem;
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}
.form-success {
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-top: var(--space-4);
}
.form-success.is-visible {
  display: flex;
}
.form-success svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ===================================================================
   Footer
=================================================================== */
.footer {
  background: var(--color-text);
  color: oklch(1 0 0 / 0.7);
  padding-block: var(--space-16) var(--space-8);
}
[data-theme='dark'] .footer {
  background: #0d0d09;
}
.footer-top {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid oklch(1 0 0 / 0.12);
}
@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}
.footer-brand svg {
  width: 2.25rem;
  height: 2.25rem;
  color: #5c9b7c;
}
.footer p {
  font-size: var(--text-sm);
  max-width: 34ch;
}
.footer h4 {
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.footer ul {
  display: grid;
  gap: var(--space-3);
}
.footer a {
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.7);
}
.footer a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.45);
}

/* ===================================================================
   Scroll reveal
=================================================================== */
[data-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);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
