/* ==========================================================================
   TerraGrade Earthworks & Mulching — Design Tokens & Styles
   ========================================================================== */

:root,
[data-theme='light'] {
  /* 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.5rem);
  --text-hero: clamp(2.75rem, 0.7rem + 6vw, 6rem);

  /* Spacing (4px system) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — warm stone (quarry / cleared earth) */
  --color-bg: #f6f3ec;
  --color-surface: #fbf9f4;
  --color-surface-2: #fdfcfa;
  --color-surface-offset: #efeae0;
  --color-surface-offset-2: #e7e0d3;
  --color-surface-dynamic: #ddd4c2;
  --color-divider: #e2dbcc;
  --color-border: #d8d0c0;

  /* Text */
  --color-text: #211d14;
  --color-text-muted: #6e6656;
  --color-text-faint: #a8a08d;
  --color-text-inverse: #f8f6f0;

  /* Primary — deep pine/olive green (from logo tree ring) */
  --color-primary: #435323;
  --color-primary-hover: #39461b;
  --color-primary-active: #2b3513;
  --color-primary-highlight: #e3e8d9;

  /* Accent — burnt rust orange (from logo wordmark) */
  --color-accent: #b65520;
  --color-accent-hover: #954418;
  --color-accent-active: #783511;
  --color-accent-highlight: #f4e1d7;

  /* Semantic */
  --color-success: #437a22;
  --color-success-highlight: #d4dfcc;
  --color-error: #a12c2c;
  --color-error-highlight: #e6d3d0;
  --color-warning: #964219;
  --color-warning-highlight: #ddcfc6;

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

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

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.2 0.03 90 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.2 0.03 90 / 0.12);
  --shadow-lg: 0 16px 40px oklch(0.2 0.03 90 / 0.18);

  /* Widths */
  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;

  /* Fonts */
  --font-display: 'Clash Grotesk', 'Cabinet Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', 'General Sans', 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #15160f;
  --color-surface: #1a1b13;
  --color-surface-2: #1e1f16;
  --color-surface-offset: #212216;
  --color-surface-offset-2: #272819;
  --color-surface-dynamic: #33341f;
  --color-divider: #2a2b1c;
  --color-border: #3a3b28;

  --color-text: #e9e6d8;
  --color-text-muted: #a19b85;
  --color-text-faint: #6c6957;
  --color-text-inverse: #1c1d13;

  --color-primary: #9dbf67;
  --color-primary-hover: #b3d17f;
  --color-primary-active: #c6de9a;
  --color-primary-highlight: #33401f;

  --color-accent: #e8935a;
  --color-accent-hover: #efac7c;
  --color-accent-active: #f4c29b;
  --color-accent-highlight: #4a3122;

  --color-success: #7cb054;
  --color-success-highlight: #354a26;
  --color-error: #d18686;
  --color-error-highlight: #4a2e2e;
  --color-warning: #d29160;
  --color-warning-highlight: #4a3624;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #15160f;
    --color-surface: #1a1b13;
    --color-surface-2: #1e1f16;
    --color-surface-offset: #212216;
    --color-surface-offset-2: #272819;
    --color-surface-dynamic: #33341f;
    --color-divider: #2a2b1c;
    --color-border: #3a3b28;
    --color-text: #e9e6d8;
    --color-text-muted: #a19b85;
    --color-text-faint: #6c6957;
    --color-text-inverse: #1c1d13;
    --color-primary: #9dbf67;
    --color-primary-hover: #b3d17f;
    --color-primary-active: #c6de9a;
    --color-primary-highlight: #33401f;
    --color-accent: #e8935a;
    --color-accent-hover: #efac7c;
    --color-accent-active: #f4c29b;
    --color-accent-highlight: #4a3122;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 6px 16px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.45);
  }
}

/* ==========================================================================
   Base typography
   ========================================================================== */

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

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

.section-lede {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 62ch;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.section-head {
  max-width: var(--content-default);
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.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-primary:active {
  background: var(--color-accent-active);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--color-text);
  background: var(--color-surface-offset);
}

.btn-ghost-inverse {
  background: color-mix(in oklab, white 14%, transparent);
  color: #fff;
  border-color: color-mix(in oklab, white 40%, transparent);
  backdrop-filter: blur(6px);
}
.btn-ghost-inverse:hover {
  background: color-mix(in oklab, white 24%, transparent);
}

.btn-lg {
  padding: var(--space-5) var(--space-8);
  font-size: var(--text-sm);
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  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--scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.brand img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name strong {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  color: var(--color-text);
}
.brand-name span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links {
  display: flex;
  gap: var(--space-5);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--color-text);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}
.header-phone svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.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 130 / 0.55) 0%, oklch(0.13 0.02 130 / 0.55) 40%, oklch(0.1 0.02 130 / 0.92) 100%),
    linear-gradient(90deg, oklch(0.1 0.02 130 / 0.65) 0%, oklch(0.1 0.02 130 / 0.15) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(var(--space-20), 14vw, var(--space-32)) clamp(var(--space-12), 6vw, var(--space-16));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f2d9c4;
  background: color-mix(in oklab, black 30%, transparent);
  border: 1px solid color-mix(in oklab, white 25%, transparent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-size: var(--text-hero);
  max-width: 16ch;
  margin-bottom: var(--space-6);
}
.hero h1 em {
  font-style: normal;
  color: var(--color-accent-hover-inv, #f2a86a);
}

.hero p {
  font-size: var(--text-lg);
  max-width: 52ch;
  color: color-mix(in oklab, white 92%, transparent);
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  border-top: 1px solid color-mix(in oklab, white 22%, transparent);
  padding-top: var(--space-6);
  max-width: var(--content-wide);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #fff;
}
.hero-stat span {
  font-size: var(--text-xs);
  color: color-mix(in oklab, white 75%, transparent);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.service-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);
  box-shadow: var(--shadow-sm);
}
.service-icon {
  width: 52px;
  height: 52px;
  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: 26px;
  height: 26px;
}
.service-card h3 {
  font-size: var(--text-lg);
}
.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   Who we work with
   ========================================================================== */

.audience-band {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  background-image: linear-gradient(160deg, var(--color-primary), var(--color-primary-active));
}
[data-theme='dark'] .audience-band {
  color: #14150f;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.audience-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in oklab, white 22%, transparent);
  background: color-mix(in oklab, white 8%, transparent);
}
.audience-card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.audience-card p {
  font-size: var(--text-sm);
  color: color-mix(in oklab, white 85%, transparent);
}
[data-theme='dark'] .audience-card p {
  color: color-mix(in oklab, black 70%, transparent);
}
[data-theme='dark'] .audience-card {
  border-color: color-mix(in oklab, black 15%, transparent);
  background: color-mix(in oklab, black 6%, transparent);
}

/* ==========================================================================
   Process
   ========================================================================== */

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-top: var(--space-10);
  border-top: 2px solid var(--color-border);
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  position: absolute;
  top: -0.75em;
  left: 0;
  background: var(--color-bg);
  padding-right: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-accent);
}
.process-step h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Why choose us
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.why-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-list {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.why-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.why-item .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-accent-highlight);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item .check svg {
  width: 15px;
  height: 15px;
}
.why-item h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 2px;
}
.why-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: var(--space-3);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item.span-2 {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, oklch(0.1 0.02 130 / 0.55));
  opacity: 0;
  transition: opacity var(--transition-interactive);
}
.gallery-item:hover::after {
  opacity: 1;
}

/* ==========================================================================
   Areas we serve
   ========================================================================== */

.areas-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
.areas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.area-pill {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
}
.area-pill svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.areas-note {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.areas-card {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.areas-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}
.areas-card ul {
  display: grid;
  gap: var(--space-3);
}
.areas-card li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.areas-card li strong {
  color: var(--color-text);
  font-weight: 700;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: var(--content-default);
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.faq-question .plus::before,
.faq-question .plus::after {
  content: '';
  position: absolute;
  background: var(--color-text);
  transition: transform var(--transition-interactive);
}
.faq-question .plus::before {
  width: 12px;
  height: 2px;
}
.faq-question .plus::after {
  width: 2px;
  height: 12px;
}
.faq-item[open] .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 68ch;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-section {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
}
.contact-info-card {
  background: var(--color-primary);
  background-image: linear-gradient(160deg, var(--color-primary), var(--color-primary-active));
  color: #fdf9f0;
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
[data-theme='dark'] .contact-info-card {
  color: #10110b;
}
.contact-info-card h3 {
  font-size: var(--text-lg);
}
.contact-method {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-method .icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, white 16%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme='dark'] .contact-method .icon {
  background: color-mix(in oklab, black 12%, transparent);
}
.contact-method .icon svg {
  width: 20px;
  height: 20px;
}
.contact-method a,
.contact-method span {
  font-size: var(--text-sm);
  color: color-mix(in oklab, white 92%, transparent);
}
[data-theme='dark'] .contact-method a,
[data-theme='dark'] .contact-method span {
  color: color-mix(in oklab, black 80%, transparent);
}
.contact-method strong {
  display: block;
  font-size: var(--text-base);
  margin-bottom: 2px;
}
.contact-social {
  display: flex;
  gap: var(--space-3);
  margin-top: auto;
}
.contact-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid color-mix(in oklab, white 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-social a svg {
  width: 18px;
  height: 18px;
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.field label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.field input,
.field select,
.field textarea {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}

.form-status {
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.form-status.show {
  display: flex;
}
.form-status.success {
  background: var(--color-success-highlight);
  color: var(--color-success);
}
.form-status.error {
  background: var(--color-error-highlight);
  color: var(--color-error);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #1a1c12;
  color: #d9d6c8;
  padding-block: var(--space-16) var(--space-8);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid color-mix(in oklab, white 12%, transparent);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-brand img {
  height: 40px;
  border-radius: var(--radius-sm);
}
.footer-brand strong {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: #fff;
}
.footer p.desc {
  font-size: var(--text-sm);
  color: color-mix(in oklab, white 65%, transparent);
  max-width: 40ch;
}
.footer h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in oklab, white 55%, transparent);
  margin-bottom: var(--space-4);
}
.footer ul {
  display: grid;
  gap: var(--space-3);
}
.footer a {
  font-size: var(--text-sm);
  color: color-mix(in oklab, white 82%, transparent);
}
.footer a:hover {
  color: var(--color-accent-hover);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: color-mix(in oklab, white 50%, transparent);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.tf-powered-by {
  margin: 0;
  padding-top: 16px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(245, 240, 230, 0.25);
  text-transform: uppercase;
}
.tf-powered-by a {
  text-decoration: none;
  display: inline-block;
  vertical-align: baseline;
}
.tf-powered-by .tf-mark {
  font-family: 'Satoshi', 'Source Sans 3', -apple-system, sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: rgba(245, 240, 230, 0.75);
  transition: color 0.2s;
}
.tf-powered-by .tf-dot { color: #FF5026; }
.tf-powered-by a:hover .tf-mark { color: #F5F0E6; }

/* ==========================================================================
   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].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-10);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-media {
    aspect-ratio: 16/9;
    max-width: 560px;
  }
  .areas-wrap {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-auto-rows: 180px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .nav-links,
  .header-phone span,
  .header-cta .btn,
  .brand-name span,
  .hero-stats span.hero-stat-divider {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-cta {
    gap: var(--space-1);
  }
  .nav {
    gap: var(--space-2);
  }
  .nav.mobile-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-surface);
    padding: var(--space-6);
    border-bottom: 1px solid var(--color-divider);
    box-shadow: var(--shadow-md);
    gap: var(--space-4);
  }
  .hero {
    min-height: 92vh;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-5);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.span-2 {
    grid-column: span 2;
    grid-row: span 1;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
