/* ============================================================
   Spotted Fox — Landing page shared primitives
   Built on the bound design-system tokens (_ds/.../styles.css).
   ============================================================ */

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

/* --- Brand value lock: keep deck + site perfectly cohesive --- */
:root {
  --sf-orange: #E8752A;          /* match deck / stated brand orange */
  --sf-orange-hover: #D5611F;
  --sf-orange-active: #C0561B;
  --surface-inverse: #1A1A1A;    /* one dark surface everywhere */
  --surface-dark: #1A1A1A;
  --sf-ink: #1A1A1A;             /* footer / dark blocks match deck */
  --shadow-orange: 0 10px 28px rgba(232, 117, 42, 0.28);
  --shadow-focus: 0 0 0 3px rgba(232, 117, 42, 0.30);
}

html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text-body);
  background: var(--surface-page); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }

/* ---- Eyebrow ---- */
.eyebrow { font-family: var(--font-display); font-weight: 700;
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--sf-orange); font-size: 0.875rem; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 700; letter-spacing: var(--ls-button);
  font-size: 1.0625rem; line-height: 1; padding: 1.05em 1.85em;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--sf-orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--sf-orange-hover); color: #fff; }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary { background: transparent; color: var(--sf-ink); border-color: var(--sf-charcoal); }
.btn-secondary:hover { background: var(--sf-ink); color: #fff; border-color: var(--sf-ink); }
.btn-ghost { background: transparent; color: var(--sf-orange); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--sf-orange-hover); }
.btn-lg { font-size: 1.1875rem; padding: 1.15em 2.1em; }
.btn-ondark.btn-secondary { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ondark.btn-secondary:hover { background: #fff; color: var(--sf-ink); border-color: #fff; }

/* ---- Sections ---- */
.section { padding: var(--space-9) 0; }
.section-tight { padding: var(--space-8) 0; }
.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.85rem); line-height: 1.1; letter-spacing: var(--ls-tight);
  color: var(--text-strong); margin: 0; text-wrap: balance; }
.section-head p { font-size: 1.2rem; color: var(--text-body); margin: 18px 0 0;
  line-height: 1.55; text-wrap: pretty; }

/* ---- Cards ---- */
.card { background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }

/* ---- Pills / chips ---- */
.chip { display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.5em 0.95em;
  border-radius: var(--radius-pill); }
.chip-orange { background: var(--sf-orange-wash); color: var(--sf-orange-active); }
.chip-dark { background: var(--sf-ink); color: #fff; }

/* ---- Form fields (mirrors DS Input) ---- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--text-strong); }
.field input, .field textarea, .field select { font-family: var(--font-body);
  font-size: 1.05rem; color: var(--text-strong); background: #fff;
  border: 1.5px solid var(--border-default); border-radius: var(--radius-md);
  padding: 0.85em 1em; transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.field input::placeholder, .field textarea::placeholder { color: var(--sf-gray-500); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none;
  border-color: var(--sf-orange); box-shadow: var(--shadow-focus); }
.field textarea { resize: vertical; min-height: 120px; }

/* ---- Reveal: content is always visible (no scroll-gated hiding) ---- */
.reveal { opacity: 1 !important; transform: none !important; }

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .section { padding: var(--space-8) 0; }
}
