/* ==========================================================================
   Dye Hard Automations — styles.css
   All theme tokens live in the :root block below. Two directions:

     DIRECTION A — "Fresh" (ACTIVE, default)  — dark, high-contrast, techy.
     DIRECTION B — "Sister-brand match"       — swap-in variant, stubbed below.

   TO SWITCH A → B: comment out the Direction A :root block and uncomment
   the Direction B block. Nothing else changes — every component reads from
   these custom properties. See README.md → "Theme switch".
   ========================================================================== */

/* --------------------------------------------------------------------------
   DIRECTION A — Fresh (default)
   -------------------------------------------------------------------------- */
:root {
  /* Canvas & surfaces */
  --bg: #0b0f14;
  --surface: #111823;
  --surface-2: #16202e;

  /* Text */
  --text: #e6edf3;
  --muted: #93a1b0;

  /* Accents */
  --accent: #22d3ee;          /* electric cyan — primary */
  --accent-2: #3b82f6;        /* blue — gradient partner */
  --accent-ink: #06222b;      /* dark ink used ON the cyan gradient (AA contrast) */
  --pillar-ai: #8b5cf6;       /* violet — AI-training pillar */
  --pillar-ai-soft: rgba(139, 92, 246, 0.14);
  --success: #34d399;
  --danger: #f0899b;
  --warn: #eab308;

  /* Derived surfaces (so Direction B stays a one-block swap) */
  --nav-bg: rgba(11, 15, 20, 0.82);
  --dot: rgba(230, 237, 243, 0.045);
  --section-alt: rgba(17, 24, 35, 0.55);
  --accent-soft: rgba(34, 211, 238, 0.06);
  --accent-soft-strong: rgba(34, 211, 238, 0.1);
  --accent-border-soft: rgba(34, 211, 238, 0.25);
  --accent-border-hover: rgba(34, 211, 238, 0.45);

  /* Lines & shadows */
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --shadow-lift: 0 18px 40px -18px rgba(0, 0, 0, 0.65);
  --glow: 0 0 90px 10px rgba(34, 211, 238, 0.12);

  /* Gradients */
  --grad: linear-gradient(120deg, var(--accent), var(--accent-2));
  --grad-ai: linear-gradient(120deg, var(--pillar-ai), var(--accent-2));

  /* Type */
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  /* Shape */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

/* --------------------------------------------------------------------------
   DIRECTION B — Sister-brand match (swap-in variant)

   Values below were pulled from the LIVE stylesheet at dyehardlegaltech.com
   (its :root tokens: --navy #1a2332, --navy-mid #1e2d40, --gold/teal #2d8b8b,
   --gold-light #a8dadc, --gold-pale #e0f4f4, --cream #f1faee,
   --text-muted #6b8fa3; fonts: Playfair Display + DM Sans) and mapped onto
   this site's token names. NOTE: the legal site is a LIGHT theme.

   To activate: comment out the Direction A block above and uncomment this
   block. All page <head>s already load Playfair Display + DM Sans alongside
   the Direction A fonts, so no HTML edits are needed.

   ⚠️ KYLE TO SUPPLY (Direction B only): the legal site's logo.png lockup with
   an "Automations" wordmark — the current header uses the text lockup + SVG
   mark, which stays on-brand for Direction A.
   -------------------------------------------------------------------------- */
/*
:root {
  --bg: #f1faee;
  --surface: #ffffff;
  --surface-2: #e0f4f4;
  --text: #1a2332;
  --muted: #6b8fa3;
  --accent: #2d8b8b;
  --accent-2: #1a2332;
  --accent-ink: #ffffff;
  --pillar-ai: #1e2d40;
  --pillar-ai-soft: rgba(30, 45, 64, 0.08);
  --success: #1e7a5a;
  --danger: #b3364f;
  --warn: #8a6d00;
  --nav-bg: rgba(168, 218, 220, 0.92);
  --dot: rgba(26, 35, 50, 0.05);
  --section-alt: rgba(224, 244, 244, 0.6);
  --accent-soft: rgba(45, 139, 139, 0.08);
  --accent-soft-strong: rgba(45, 139, 139, 0.12);
  --accent-border-soft: rgba(45, 139, 139, 0.3);
  --accent-border-hover: rgba(45, 139, 139, 0.5);
  --hairline: rgba(26, 35, 50, 0.12);
  --hairline-strong: rgba(26, 35, 50, 0.24);
  --shadow-lift: 0 18px 40px -18px rgba(26, 35, 50, 0.3);
  --glow: none;
  --grad: linear-gradient(120deg, var(--accent), var(--accent-2));
  --grad-ai: linear-gradient(120deg, var(--pillar-ai), var(--accent));
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}
*/

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

a:hover { text-decoration: underline; }

img, svg { max-width: 100%; }

ul { padding-left: 1.2em; }

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

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  text-decoration: none;
}

/* Dot-grid texture over the whole canvas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: var(--accent-ink);
  box-shadow: 0 8px 28px -10px rgba(34, 211, 238, 0.55);
}

.btn-primary:hover { box-shadow: 0 12px 34px -8px rgba(34, 211, 238, 0.7); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--hairline-strong);
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-inline: 0.9rem;
}

.btn-ai {
  background: var(--grad-ai);
  color: #fff;
  box-shadow: 0 8px 28px -10px rgba(139, 92, 246, 0.55);
}

.btn-sm { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 0.95rem; }

/* ==========================================================================
   Eyebrow / pill
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.4rem 1rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 1.4rem;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

.eyebrow--ai {
  color: var(--pillar-ai);
  background: var(--pillar-ai-soft);
}

.eyebrow--ai::before { background: var(--grad-ai); }

/* Gradient underline for key italic phrases (headline signature) */
.u-grad {
  font-style: italic;
  background-image: var(--grad);
  background-repeat: no-repeat;
  background-size: 100% 0.14em;
  background-position: 0 92%;
  padding-bottom: 0.06em;
}

.u-grad--ai { background-image: var(--grad-ai); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.brand:hover { text-decoration: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-list {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.4rem 0;
}

.nav-link:hover { color: var(--text); text-decoration: none; }

.nav-link[aria-current="page"] {
  color: var(--text);
  background-image: var(--grad);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 120vw);
  height: 620px;
  z-index: -1;
  background:
    radial-gradient(closest-side, rgba(34, 211, 238, 0.16), transparent 70%) center / 100% 100% no-repeat,
    radial-gradient(closest-side, rgba(59, 130, 246, 0.14), transparent 70%) 70% 30% / 60% 80% no-repeat;
  pointer-events: none;
}

.hero--ai::before {
  background:
    radial-gradient(closest-side, rgba(139, 92, 246, 0.18), transparent 70%) center / 100% 100% no-repeat,
    radial-gradient(closest-side, rgba(59, 130, 246, 0.12), transparent 70%) 70% 30% / 60% 80% no-repeat;
}

.hero-copy { max-width: 780px; }

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Staggered load-in */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow,
  .hero h1,
  .hero .hero-sub,
  .hero .hero-actions,
  .hero .ownership-strip {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero h1 { animation-delay: 0.08s; }
  .hero .hero-sub { animation-delay: 0.16s; }
  .hero .hero-actions { animation-delay: 0.24s; }
  .hero .ownership-strip { animation-delay: 0.32s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Sections & headings
   ========================================================================== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.section--alt {
  background: linear-gradient(var(--section-alt), var(--section-alt));
  border-block: 1px solid var(--hairline);
}

.section-heading { max-width: 720px; margin-bottom: 2.6rem; }

.section-heading p { color: var(--muted); font-size: 1.1rem; }

/* ==========================================================================
   Value strip / stat blocks
   ========================================================================== */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.value-strip > div {
  background: var(--surface);
  padding: 1.6rem 1.4rem;
}

.value-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
}

.value-strip span { color: var(--muted); font-size: 0.95rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-block .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-block .stat-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  display: block;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  text-decoration: none;
  transform: translateY(-5px);
  border-color: var(--accent-border-hover);
  box-shadow: var(--shadow-lift);
}

.service-card h3 { margin-bottom: 0.4rem; }

.service-card p { color: var(--muted); font-size: 0.98rem; margin: 0; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--accent-soft-strong);
  border: 1px solid var(--accent-border-soft);
  color: var(--accent);
}

.card-icon--ai {
  background: var(--pillar-ai-soft);
  border-color: rgba(139, 92, 246, 0.35);
  color: var(--pillar-ai);
}

.card-contrast {
  margin-top: 0.9rem !important;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--hairline-strong);
  font-size: 0.9rem !important;
}

.card-contrast strong { color: var(--success); font-weight: 600; }

/* Catalog group label */
.catalog-group {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 3rem 0 1.2rem;
}

.catalog-group:first-of-type { margin-top: 0; }

/* ==========================================================================
   Tier cards (AI training)
   ========================================================================== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.tier-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  position: relative;
  overflow: hidden;
}

.tier-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad);
}

.tier-card--ai::before { background: var(--grad-ai); }

.tier-card--ai { border-color: rgba(139, 92, 246, 0.4); }

.tier-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.tier-card--ai .tier-kicker { color: var(--pillar-ai); }

.tier-audience { color: var(--muted); }

.tier-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin: 0.8rem 0 0.1rem;
}

.tier-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

.tier-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.8rem;
  flex-grow: 1;
}

.tier-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1.7rem;
  color: var(--muted);
}

.tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.42rem;
  color: var(--success);
  font-weight: 700;
}

.tier-note {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--hairline-strong);
  padding-left: 1rem;
  margin-top: 1.2rem;
}

/* Price sub-cards inside tiers */
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--hairline-strong);
}

.price-line:last-of-type { border-bottom: 0; }

.price-line .price-name { font-weight: 600; }
.price-line .price-name small { display: block; font-weight: 400; color: var(--muted); font-size: 0.86rem; }

.price-line .price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
  color: var(--accent);
}

.tier-card--ai .price-line .price-amount { color: var(--pillar-ai); }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
}

.comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.comparison-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.comparison-table th,
.comparison-table td {
  padding: 0.95rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.comparison-table thead th {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  background: var(--surface-2);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td { border-bottom: 0; }

.comparison-table tbody th { font-weight: 500; color: var(--text); }

.comparison-table td { color: var(--muted); }

.comparison-table .cell-no { color: var(--danger); }
.comparison-table .cell-yes { color: var(--success); }
.comparison-table .cell-part { color: var(--warn); }

.comparison-table td.col-custom { background: var(--accent-soft); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 6vw, 4.5rem) 1.5rem;
  box-shadow: var(--glow);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 120%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.13), transparent 70%);
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band p { color: var(--muted); max-width: 520px; margin-inline: auto; }

.cta-band .btn { margin-top: 1.4rem; }

/* ==========================================================================
   Accordion / FAQ
   ========================================================================== */
.accordion {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item + .accordion-item { border-top: 1px solid var(--hairline); }

.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 44px;
  padding: 1.2rem 1.5rem;
  background: var(--surface);
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.accordion-trigger:hover { background: var(--surface-2); }

.accordion-trigger .acc-icon {
  flex: none;
  transition: transform 0.2s ease;
  color: var(--accent);
}

.accordion-trigger[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }

.accordion-panel {
  padding: 0 1.5rem 1.3rem;
  color: var(--muted);
  background: var(--surface);
}

.accordion-panel[hidden] { display: none; }

/* ==========================================================================
   Forms
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-field { margin-bottom: 1.3rem; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.form-field .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  font: inherit;
}

.form-field textarea { min-height: 130px; resize: vertical; }

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2393a1b0' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.field-error.is-visible { display: block; }

.form-status {
  display: none;
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.form-status.is-visible { display: block; }

.form-status--success {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--success);
}

.form-status--error {
  background: rgba(240, 137, 155, 0.1);
  border: 1px solid rgba(240, 137, 155, 0.4);
  color: var(--danger);
}

.form-status--warn {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: var(--warn);
}

.contact-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1.4rem;
}

.contact-aside .aside-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}

.contact-aside h2 { font-size: 1.15rem; }

.reassure {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.reassure::before { content: "✓"; color: var(--success); font-weight: 700; }

/* Honeypot field — visually hidden anti-spam decoy (never display:none, or
   naive bots would skip it) */
.hp-wrap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Placeholder / stub styling for ⚠️ KYLE TO SUPPLY items */
.stub {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border: 1px dashed var(--hairline-strong);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--warn);
}

/* ==========================================================================
   About page
   ========================================================================== */
.founder-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.6rem;
  align-items: start;
}

.founder-figure { text-align: center; }

.founder-photo-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  margin-bottom: 1rem;
}

.founder-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 0; }
.founder-title { color: var(--muted); font-size: 0.95rem; margin: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.relationship-note {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  color: var(--muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  padding: 3.2rem 0 1.6rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
}

.footer-brand .brand { margin-bottom: 0.9rem; }

.footer-tagline { color: var(--muted); font-size: 0.95rem; max-width: 320px; }

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }

.footer-col li { margin-bottom: 0.55rem; }

.footer-col a { color: var(--text); font-size: 0.98rem; }

.footer-col a:hover { color: var(--accent); }

.js-email { color: var(--muted); font-size: 0.95rem; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-legal p { margin: 0; }

.footer-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Scroll reveal (JS adds .is-revealed)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .reveal.is-revealed { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .feature-grid, .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: var(--surface);
    border-bottom: 1px solid var(--hairline-strong);
    padding: 1.2rem 1.4rem 1.6rem;
  }

  .nav-links.is-open { display: flex; }

  .nav-list { flex-direction: column; gap: 0; }

  .nav-link {
    display: block;
    padding: 0.8rem 0.4rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--hairline);
  }

  .nav-links .btn { margin-top: 1rem; }

  .value-strip { grid-template-columns: 1fr 1fr; }
  .tier-grid, .contact-layout, .founder-block, .values-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}

@media (max-width: 560px) {
  .feature-grid, .feature-grid--2, .feature-grid--4 { grid-template-columns: 1fr; }
  .value-strip { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   Print / reduced motion safety
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
