/* ==========================================================================
   Eagle Eye Pressure Washing LLC — Design Tokens & Base
   Palette: "Upstate Clean" — Carolina night navy, hydro blue, talon gold
   ========================================================================== */

/* --- 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);

  /* --- 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;

  /* --- Radius & elevation --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgb(9 20 32 / 0.08), 0 1px 3px rgb(9 20 32 / 0.06);
  --shadow-md: 0 4px 12px rgb(9 20 32 / 0.1), 0 2px 4px rgb(9 20 32 / 0.06);
  --shadow-lg: 0 18px 48px rgb(9 20 32 / 0.18), 0 4px 12px rgb(9 20 32 / 0.08);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Fonts --- */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-brand: 'Quantico', 'Archivo', sans-serif; /* squared face matching the logo */
  --font-body: 'Satoshi', 'Archivo', system-ui, -apple-system, sans-serif;

  /* --- Layout --- */
  --wrap: 78rem;
  --gutter: clamp(var(--space-4), 4vw, var(--space-10));
}

/* --- Color: light mode (derived from the Eagle Eye logo) ---------------- */
:root,
[data-theme='light'] {
  --brand-blue: #2e2f82; /* sampled from logo */
  --brand-red: #ef0606; /* brand red */

  --color-bg: #f5f6fa; /* Rinse */
  --color-surface: #ffffff;
  --color-surface-2: #eceef7;
  --color-surface-offset: #dfe2f0;
  --color-border: #d3d7e6;
  --color-divider: #e5e8f2;

  --color-text: #14153f; /* Deep Eagle Navy */
  --color-text-muted: #545a7d;
  --color-text-faint: #878cab;
  --color-text-inverse: #f7f8fd;

  --color-deep: #16174a; /* dark section base */
  --color-deep-2: #23246b;

  --color-primary: #2e2f82; /* Eagle Blue */
  --color-primary-hover: #23246b;
  --color-primary-soft: #e2e3f5;

  --color-accent: #ef0606; /* Pressure Red */
  --color-accent-hover: #c40505;
  --color-accent-ink: #ffffff;

  --color-success: #1f7a4d;
  --scrim: 12 13 45;
}

/* --- Color: dark mode --------------------------------------------------- */
[data-theme='dark'] {
  --brand-blue: #2e2f82;
  --brand-red: #ef0606;

  --color-bg: #0b0c24;
  --color-surface: #14153f;
  --color-surface-2: #1d1f56;
  --color-surface-offset: #262a6f;
  --color-border: #343878;
  --color-divider: #23255e;

  --color-text: #eef0fb;
  --color-text-muted: #a9aecf;
  --color-text-faint: #7a80a8;
  --color-text-inverse: #0b0c24;

  --color-deep: #06071a;
  --color-deep-2: #14153f;

  --color-primary: #9fa2f5;
  --color-primary-hover: #c0c2ff;
  --color-primary-soft: #1d1f56;

  --color-accent: #f83030;
  --color-accent-hover: #ff4b4e;
  --color-accent-ink: #ffffff;

  --color-success: #4fc088;
  --scrim: 3 4 14;
}


@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --color-bg: #0b0c24;
    --color-surface: #14153f;
    --color-surface-2: #1d1f56;
    --color-surface-offset: #262a6f;
    --color-border: #343878;
    --color-divider: #23255e;
    --color-text: #eef0fb;
    --color-text-muted: #a9aecf;
    --color-text-faint: #7a80a8;
    --color-text-inverse: #0b0c24;
    --color-deep: #06071a;
    --color-deep-2: #14153f;
    --color-primary: #9fa2f5;
    --color-primary-hover: #c0c2ff;
    --color-primary-soft: #1d1f56;
    --color-accent: #f83030;
    --color-accent-hover: #ff4b4e;
    --color-accent-ink: #ffffff;
    --scrim: 3 4 14;
  }
}

/* --- Reset -------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

/* --- Utilities ---------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: 200;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus {
  top: var(--space-4);
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  min-height: 3rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease-out),
    background-color 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}
.btn--accent {
  --btn-bg: var(--color-accent);
  --btn-fg: var(--color-accent-ink);
}
.btn--accent:hover {
  --btn-bg: var(--color-accent-hover);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  border-color: rgb(255 255 255 / 0.35);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  --btn-bg: rgb(255 255 255 / 0.12);
}
.btn--block {
  width: 100%;
}
.btn svg {
  flex: none;
}

/* --- Eyebrow / section label -------------------------------------------- */
.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: var(--color-accent);
}
