/* ==========================================================================
   Field Crew AI — Style System
   Palette: Dark navy/charcoal + orange/amber accent
   Fonts: Clash Grotesk (display) + Satoshi (body)
   ========================================================================== */

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: 5rem;
}

/* ---- Design Tokens ---- */
: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,    5rem);

  /* Spacing (4px base) */
  --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;

  /* Fonts */
  --font-display: 'Clash Grotesk', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Inter', 'Helvetica Neue', sans-serif;

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

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

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ---- LIGHT MODE (default) ---- */
:root {
  /* Surfaces */
  --color-bg: #f8f7f4;
  --color-surface: #ffffff;
  --color-surface-alt: #f0eeea;
  --color-surface-dark: #1a1f2e;

  /* Text */
  --color-text: #1a1f2e;
  --color-text-muted: #5a5f6e;
  --color-text-faint: #9a9da8;
  --color-text-on-dark: #f0eeea;
  --color-text-on-dark-muted: #a0a4b0;

  /* Accent — Orange/Amber */
  --color-accent: #e8782a;
  --color-accent-hover: #d4691f;
  --color-accent-active: #be5c18;
  --color-accent-light: rgba(232, 120, 42, 0.1);
  --color-accent-medium: rgba(232, 120, 42, 0.2);

  /* Borders & Dividers */
  --color-border: #ddd9d2;
  --color-divider: #e8e5df;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 31, 46, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 31, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 31, 46, 0.12);
  --shadow-card: 0 2px 8px rgba(26, 31, 46, 0.06), 0 0 0 1px rgba(26, 31, 46, 0.04);
}

/* ---- DARK MODE ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #0f1219;
    --color-surface: #181c26;
    --color-surface-alt: #1e2330;
    --color-surface-dark: #0a0d14;
    --color-text: #e2e0dc;
    --color-text-muted: #8c8f9a;
    --color-text-faint: #5a5d68;
    --color-text-on-dark: #e2e0dc;
    --color-text-on-dark-muted: #8c8f9a;
    --color-accent: #f09040;
    --color-accent-hover: #e8782a;
    --color-accent-active: #d4691f;
    --color-accent-light: rgba(240, 144, 64, 0.1);
    --color-accent-medium: rgba(240, 144, 64, 0.15);
    --color-border: #2a2f3e;
    --color-divider: #222738;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.04);
  }
}

[data-theme="dark"] {
  --color-bg: #0f1219;
  --color-surface: #181c26;
  --color-surface-alt: #1e2330;
  --color-surface-dark: #0a0d14;
  --color-text: #e2e0dc;
  --color-text-muted: #8c8f9a;
  --color-text-faint: #5a5d68;
  --color-text-on-dark: #e2e0dc;
  --color-text-on-dark-muted: #8c8f9a;
  --color-accent: #f09040;
  --color-accent-hover: #e8782a;
  --color-accent-active: #d4691f;
  --color-accent-light: rgba(240, 144, 64, 0.1);
  --color-accent-medium: rgba(240, 144, 64, 0.15);
  --color-border: #2a2f3e;
  --color-divider: #222738;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.04);
}

/* ---- Body ---- */
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.15;
  font-family: var(--font-display);
}
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(232, 120, 42, 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }

a, button, [role="button"], [role="link"], input, textarea, select {
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

[data-theme="dark"] .header {
  background: rgba(15, 18, 25, 0.92);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .header {
    background: rgba(15, 18, 25, 0.92);
  }
}

.header--hidden { transform: translateY(-100%); }
.header--scrolled { box-shadow: var(--shadow-sm); }

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

@media (min-width: 768px) {
  .header__inner { padding: var(--space-4) var(--space-8); }
}

.logo { display: flex; align-items: center; text-decoration: none; color: var(--color-text); }
.logo svg { display: block; }

/* Nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-smooth);
}

.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-5);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
}

.nav__cta:hover { background: var(--color-accent-hover); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: 110;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

/* Mobile styles */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: var(--space-8);
    text-align: center;
  }

  .nav__link {
    font-size: var(--text-xl);
    color: var(--color-text);
    font-weight: 600;
  }

  .nav__link::after { display: none; }

  .nav__cta {
    font-size: var(--text-base);
    padding: var(--space-3) var(--space-8);
  }

  .nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-interactive);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 120, 42, 0.3);
}

.btn--primary:active {
  background: var(--color-accent-active);
  transform: translateY(0);
}

.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
}

.btn--full { width: 100%; }

/* ==========================================================================
   SECTION LABELS & HEADINGS
   ========================================================================== */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-label--light { color: var(--color-accent); }

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.section-heading--light { color: var(--color-text-on-dark); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-dark);
  padding: clamp(var(--space-20), 12vw, var(--space-32)) 0 clamp(var(--space-16), 10vw, var(--space-24));
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(232, 120, 42, 0.2);
}

.hero__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-muted);
  max-width: 540px;
  margin-bottom: var(--space-8);
  line-height: 1.5;
}

.hero__actions {
  margin-bottom: var(--space-12);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.hero__proof-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero__proof-number {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
}

.hero__proof-label {
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__proof-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   PROBLEM
   ========================================================================== */
.problem {
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
  background: var(--color-bg);
}

.problem__layout {
  display: grid;
  gap: var(--space-12);
}

.problem__text { max-width: 600px; }

.problem__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.problem__cards {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .problem__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.problem__card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.problem__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.problem__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

.problem__card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.problem__card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
  background: var(--color-surface-alt);
}

.services__grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  border-color: var(--color-accent);
  border-width: 2px;
}

.service-card__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: var(--space-6);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
}

.service-card__icon {
  margin-bottom: var(--space-5);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text);
  padding-left: var(--space-6);
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
}

.service-card__list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-it-works {
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
  background: var(--color-bg);
}

.steps {
  max-width: 680px;
  margin: var(--space-10) auto 0;
}

.step {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  min-width: 64px;
}

.step__content { flex: 1; }

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.step__connector {
  display: flex;
  justify-content: center;
  padding: var(--space-4) 0;
  padding-left: 12px;
}

.how-it-works__cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
  background: var(--color-surface-alt);
}

.about__layout {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .about__layout {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
  }
}

.about__visual {
  display: flex;
  justify-content: center;
}

.about__shape {
  width: 100%;
  max-width: 360px;
}

.about__text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about__text p strong { color: var(--color-text); }

.about__highlights {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.about__highlight {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.about__highlight-number {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
}

.about__highlight-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
  background: var(--color-bg);
}

.faq__list {
  max-width: 720px;
  margin: var(--space-8) auto 0;
}

.faq__item {
  border-bottom: 1px solid var(--color-divider);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  gap: var(--space-4);
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question:hover { color: var(--color-accent); }

.faq__chevron {
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
  color: var(--color-text-muted);
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  padding-bottom: var(--space-5);
}

.faq__answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
  background: var(--color-surface-dark);
  color: var(--color-text-on-dark);
}

.contact__layout {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .contact__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
  }
}

.contact__desc {
  font-size: var(--text-base);
  color: var(--color-text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact__method {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-on-dark);
}

.contact__method svg { color: var(--color-accent); flex-shrink: 0; }

/* Form */
.contact__form-wrap {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-on-dark);
}

.form-optional {
  font-weight: 400;
  color: var(--color-text-on-dark-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: #fff;
  font-size: var(--text-base);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 120, 42, 0.2);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
}

.form-group select option {
  background: var(--color-surface-dark);
  color: #fff;
}

.form-group textarea { resize: vertical; min-height: 80px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--color-surface-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-10) 0 var(--space-6);
  color: var(--color-text-on-dark-muted);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.footer__tagline {
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  color: var(--color-text-on-dark-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
  text-decoration: none;
}

.footer__links a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-xs);
}

.footer__attribution {
  color: var(--color-text-on-dark-muted);
  text-decoration: none;
  font-size: var(--text-xs);
}

.footer__attribution:hover {
  color: #fff;
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }


/* ---- Form Success State ---- */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8) var(--space-4);
  gap: var(--space-3);
  color: #fff;
  min-height: 300px;
}

.form-success svg {
  color: var(--color-accent);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.form-success p {
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-size: 1rem;
  max-width: 28ch;
}
