/* ============================================================
   Forged AI — brand stylesheet
   Palette: warm coal blacks + molten ember accents
   Type: Space Grotesk (display) · Inter (body) · JetBrains Mono (labels)
   ============================================================ */

:root {
  /* Core palette */
  --coal: #0C0A09;        /* page background — never pure #000 */
  --char: #1C1917;        /* raised surfaces */
  --iron: #292524;        /* elevated surfaces, hover states */
  --steel-050: #FAFAF9;   /* primary text */
  --steel-300: #D6D3D1;   /* body text */
  --steel-400: #A8A29E;   /* muted text */
  --steel-500: #78716C;   /* faint text */
  --ember: #EA580C;       /* primary accent */
  --molten: #F97316;      /* bright accent, links */
  --spark: #FBBF24;       /* highlights, gradient tip */

  --border: rgba(250, 250, 249, 0.08);
  --border-strong: rgba(250, 250, 249, 0.14);
  --glow: rgba(234, 88, 12, 0.18);
  --molten-grad: linear-gradient(100deg, #EA580C 0%, #F97316 55%, #FBBF24 100%);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1120px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--coal);
  color: var(--steel-300);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--molten); text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--steel-050);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

::selection { background: rgba(234, 88, 12, 0.4); color: var(--steel-050); }

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

a, button, summary, [role="button"] { cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--molten);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--molten-grad);
  transform: rotate(45deg);
  flex: none;
}
.grad-text {
  background: var(--molten-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head { max-width: 640px; display: grid; gap: 16px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.section-head p { color: var(--steel-400); font-size: 17px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; }
.nav-links a {
  color: var(--steel-400);
  font-size: 14.5px; font-weight: 500;
  transition: color 180ms var(--ease);
}
.nav-links a:hover { color: var(--steel-050); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15.5px; font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease),
              border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--molten-grad);
  color: #1A0E05;
  box-shadow: 0 0 0 0 var(--glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--glow), 0 2px 8px rgba(234, 88, 12, 0.25);
}
.btn-ghost {
  color: var(--steel-050);
  border-color: var(--border-strong);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--steel-400); background: rgba(250, 250, 249, 0.04); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 110px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(58% 48% at 74% 12%, rgba(234, 88, 12, 0.15), transparent 65%),
    radial-gradient(44% 38% at 12% 88%, rgba(249, 115, 22, 0.07), transparent 70%);
}
.hero-bg::before {
  /* faint engineering grid, faded at edges */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(250, 250, 249, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 250, 249, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 30%, #000 20%, transparent 100%);
  mask-image: radial-gradient(75% 70% at 50% 30%, #000 20%, transparent 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px; align-items: center;
}
.hero-copy { display: grid; gap: 26px; max-width: 660px; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 700;
}
.hero-sub { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--steel-400); max-width: 560px; }
.hero-sub strong { color: var(--steel-300); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hero-mark { position: relative; width: 270px; }
.hero-mark img { width: 100%; height: auto; filter: drop-shadow(0 18px 60px rgba(234, 88, 12, 0.28)); }

/* ambient coal-bed embers — slow risers beneath the strike bursts */
.ember-field { position: absolute; inset: 0; pointer-events: none; }
.ember-field i {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--molten);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
  animation: ember-rise 11s linear infinite;
  will-change: transform, opacity;
}
.ember-field i:nth-child(odd) { background: var(--spark); }
.ember-field i:nth-child(1) { left: 8%;  bottom: 6%;  animation-duration: 12s;   animation-delay: 0s;   scale: 0.7; }
.ember-field i:nth-child(2) { left: 22%; bottom: -2%; animation-duration: 10s;   animation-delay: 3.5s; scale: 0.5; }
.ember-field i:nth-child(3) { left: 38%; bottom: 4%;  animation-duration: 13s;   animation-delay: 7s;   scale: 0.8; }
.ember-field i:nth-child(4) { left: 55%; bottom: -1%; animation-duration: 9.5s;  animation-delay: 1.8s; scale: 0.55; }
.ember-field i:nth-child(5) { left: 70%; bottom: 5%;  animation-duration: 12.5s; animation-delay: 5.2s; scale: 0.75; }
.ember-field i:nth-child(6) { left: 84%; bottom: 0%;  animation-duration: 10.5s; animation-delay: 8.6s; scale: 0.6; }
.ember-field i:nth-child(7) { left: 93%; bottom: 7%;  animation-duration: 14s;   animation-delay: 2.6s; scale: 0.5; }
@keyframes ember-rise {
  0%   { transform: translate(0, 0);         opacity: 0; }
  8%   { opacity: 0.65; }
  45%  { transform: translate(14px, -30vh); }
  75%  { opacity: 0.3; }
  100% { transform: translate(-10px, -62vh); opacity: 0; }
}

/* forge sparks — burst pool driven by js/main.js (hammer-strike physics) */
.spark-field { position: absolute; inset: 0; pointer-events: none; }
.spark-p {
  position: absolute; left: 0; top: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.spark-p.dot {
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.spark-p.streak { border-radius: 2px; }
.strike-flash {
  position: absolute; left: 0; top: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 247, 237, 0.9), rgba(251, 191, 36, 0.4) 40%, transparent 70%);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

/* heat line divider */
.heat-line {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, rgba(234, 88, 12, 0.7) 30%, rgba(251, 191, 36, 0.9) 50%, rgba(234, 88, 12, 0.7) 70%, transparent);
  box-shadow: 0 0 18px rgba(234, 88, 12, 0.45);
}

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--border); }

/* services */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: linear-gradient(180deg, rgba(250, 250, 249, 0.03), rgba(250, 250, 249, 0.008));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: grid; gap: 14px;
  align-content: start;
  position: relative;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease), background-color 220ms var(--ease);
}
.card:hover { border-color: rgba(249, 115, 22, 0.35); transform: translateY(-3px); }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  display: grid; place-items: center;
  color: var(--molten);
}
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.card p { color: var(--steel-400); font-size: 15.5px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.card .tags span {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--steel-500);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { border-top: 2px solid var(--border-strong); padding-top: 24px; display: grid; gap: 12px; align-content: start; position: relative; }
.pillar::before {
  content: ""; position: absolute; top: -2px; left: 0;
  width: 56px; height: 2px; background: var(--molten-grad);
}
.pillar .idx { font-family: var(--font-mono); font-size: 12.5px; color: var(--steel-500); letter-spacing: 0.14em; }
.pillar h3 { font-size: 21px; font-weight: 600; }
.pillar p { color: var(--steel-400); font-size: 15.5px; }

/* ============================================================
   The Forge — scroll-driven sword scene
   Base styles are the static (no-JS / reduced-motion) fallback;
   html.js-motion switches the section into pinned scene mode.
   ============================================================ */
.forge {
  position: relative;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(60% 45% at 50% 78%, rgba(234, 88, 12, 0.08), transparent 65%),
    var(--coal);
  overflow: hidden;
}
.forge-pin { padding: 96px 0 64px; position: relative; }
.forge-head { display: grid; gap: 16px; margin-bottom: 40px; }
.forge-head h2 { font-size: clamp(26px, 3.6vw, 40px); }

.forge-stage-wrap { position: relative; }
.forge-svg { display: grid; place-items: center; }
.forge-svg svg {
  width: min(94vw, 1150px);
  height: auto;
  display: block;
}
#fStageFlash {
  position: absolute; inset: 0;
  background: radial-gradient(45% 55% at 50% 42%, rgba(255, 247, 237, 0.75), rgba(251, 191, 36, 0.28) 45%, transparent 75%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* stage copy — static fallback: a readable stacked list */
.forge-copy { display: grid; gap: 28px; max-width: 560px; margin: 0 auto 40px; }
.fstage { display: grid; gap: 8px; align-content: start; }
.fstage .num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 13px; letter-spacing: 0.14em;
  color: var(--molten);
}
.fstage h3 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 600; }
.fstage p { color: var(--steel-400); font-size: 15.5px; max-width: 420px; }
.fstage .forge-cta { margin-top: 12px; }
.fstage p .forge-cta { display: inline-flex; margin-left: 2px; }

.forge-rail { display: none; }

/* scene mode */
.js-motion .forge-pin {
  min-height: 100vh;
  display: flex; flex-direction: column;
  padding: 0;
}
.js-motion .forge-head { padding-top: max(9vh, 84px); margin-bottom: 0; }
.js-motion .forge-stage-wrap { flex: 1; }
.js-motion .forge-svg {
  position: absolute; inset: 0;
  place-items: center;
}
.js-motion .forge-svg svg { max-height: min(66vh, 620px); margin-top: 4vh; }
.js-motion .forge-copy {
  position: absolute;
  left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  bottom: max(6vh, 48px);
  margin: 0;
  width: min(430px, 36vw);
  max-width: none;
  z-index: 2;
  pointer-events: none;
}
.js-motion .fstage {
  position: absolute; left: 0; bottom: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
}
.js-motion .fstage .forge-cta { pointer-events: auto; }

.js-motion .forge-rail {
  display: flex; gap: 14px;
  position: absolute;
  right: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  top: 50%; transform: translateY(-50%);
  z-index: 2;
}
.rail-track {
  width: 2px; height: 240px;
  background: var(--border-strong);
  border-radius: 2px;
  overflow: hidden;
}
.rail-fill {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #EA580C, #F97316 55%, #FBBF24);
  transform: scaleY(0);
  transform-origin: top;
}
.rail-ticks {
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--steel-500);
  padding: 2px 0;
}
.rail-tick { transition: color 200ms var(--ease); }
.rail-tick.lit { color: var(--spark); }

/* hero entrance prep (only when JS + motion available) */
.js-motion [data-hero] { opacity: 0; }
.h-line { display: inline-block; }

/* scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel-500);
  transition: color 200ms var(--ease);
}
.scroll-cue:hover { color: var(--molten); }
.scroll-cue svg { animation: cue-bob 1.8s var(--ease) infinite; }
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* ============================================================
   Engagement models
   ============================================================ */
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.engage-card {
  position: relative;
  background: linear-gradient(180deg, rgba(250, 250, 249, 0.03), rgba(250, 250, 249, 0.008));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  display: grid; gap: 14px;
  grid-template-rows: auto auto auto 1fr auto;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}
.engage-card:hover { border-color: rgba(249, 115, 22, 0.35); transform: translateY(-3px); }
.engage-featured {
  border-color: rgba(249, 115, 22, 0.45);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(234, 88, 12, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(250, 250, 249, 0.03), rgba(250, 250, 249, 0.008));
}
.engage-tag {
  justify-self: start;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel-400);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 12px;
}
.engage-featured .engage-tag { color: var(--spark); border-color: rgba(251, 191, 36, 0.4); }
.engage-card h3 { font-size: 22px; font-weight: 600; }
.engage-lede { color: var(--steel-300); font-size: 15.5px; }
.engage-list { list-style: none; padding: 0; display: grid; gap: 10px; align-content: start; }
.engage-list li {
  font-size: 14.5px; color: var(--steel-400);
  padding-left: 22px; position: relative;
}
.engage-list li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 6px; height: 6px;
  background: var(--molten-grad);
  transform: rotate(45deg);
}
.engage-meta {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--steel-500);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  color: var(--steel-050);
  transition: color 180ms var(--ease);
}
.faq-q:hover { color: var(--molten); }
.faq-icon { flex: none; color: var(--steel-500); transition: transform 260ms var(--ease), color 180ms var(--ease); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--molten); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  color: var(--steel-400); font-size: 15.5px;
  max-width: 680px;
  padding: 0 4px 24px;
}

/* CTA band */
.cta-band {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 40px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 50% 130%, rgba(234, 88, 12, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(250, 250, 249, 0.03), rgba(250, 250, 249, 0.008));
}
.cta-band h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.cta-band p { color: var(--steel-400); max-width: 520px; margin: 0 auto 32px; font-size: 17px; }
.cta-band .mail {
  display: block; margin-top: 18px;
  font-family: var(--font-mono); font-size: 13.5px; color: var(--steel-500);
}
.cta-band .mail a { color: var(--steel-400); transition: color 180ms var(--ease); }
.cta-band .mail a:hover { color: var(--molten); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 56px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap;
}
.footer-brand { display: grid; gap: 14px; }
.footer-brand img { height: 34px; width: auto; }
.footer-tagline { font-family: var(--font-display); color: var(--steel-400); font-size: 14.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; list-style: none; padding: 0; }
.footer-links a { color: var(--steel-400); font-size: 14px; transition: color 180ms var(--ease); }
.footer-links a:hover { color: var(--steel-050); }
.footer-meta { width: 100%; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--border); }
.footer-meta span { font-family: var(--font-mono); font-size: 12px; color: var(--steel-500); letter-spacing: 0.04em; }

/* ============================================================
   Legal pages (privacy / terms)
   ============================================================ */
.legal-main { padding: 72px 0 96px; }
.legal-main .wrap { max-width: 820px; }
.legal-main h1 { font-size: clamp(34px, 5vw, 48px); margin: 14px 0 10px; }
.legal-updated {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; color: var(--steel-500);
  margin-bottom: 40px;
}
.legal-main h2 {
  font-size: 21px; font-weight: 600;
  margin: 42px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.legal-main p, .legal-main li { color: var(--steel-400); font-size: 15.5px; }
.legal-main p + p { margin-top: 12px; }
.legal-main ul { padding-left: 22px; display: grid; gap: 9px; margin: 12px 0; }
.legal-main strong { color: var(--steel-300); font-weight: 600; }
.legal-callout {
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: rgba(234, 88, 12, 0.07);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 16px 0;
}
.legal-callout p { color: var(--steel-300); }

/* ============================================================
   Contact / SMS opt-in form
   ============================================================ */
.contact-main .wrap { max-width: 720px; }
.contact-lede { margin: 4px 0 40px; }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field label {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: var(--steel-300);
}
.form-field .req { color: var(--molten); }
.form-field .opt { color: var(--steel-500); font-weight: 400; font-family: var(--font-body); font-size: 12.5px; }
.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(250, 250, 249, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--steel-050);
  font: inherit;
  font-size: 15.5px;
  padding: 13px 16px;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--steel-500); }
.form-field input:hover,
.form-field textarea:hover { border-color: rgba(250, 250, 249, 0.24); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--molten);
  background: rgba(234, 88, 12, 0.05);
}
.form-field textarea { resize: vertical; min-height: 130px; }

/* honeypot stays out of sight and out of tab order */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent-box {
  border: 1px solid var(--border);
  background: rgba(250, 250, 249, 0.02);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: grid; gap: 12px;
}
.consent-check {
  display: flex; gap: 12px; align-items: flex-start;
  cursor: pointer;
  font-size: 14px; color: var(--steel-400); line-height: 1.55;
}
.consent-check input {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--ember);
  cursor: pointer;
}
.consent-check strong { color: var(--steel-300); }
.consent-fine {
  font-size: 12.5px; color: var(--steel-500); line-height: 1.6;
  padding-left: 30px;
}
.consent-fine a { color: var(--steel-400); text-decoration: underline; text-underline-offset: 2px; }
.consent-fine a:hover { color: var(--molten); }

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-actions .btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
.form-status { font-size: 14px; color: var(--spark); }
.form-alt { font-family: var(--font-mono); font-size: 12.5px; color: var(--steel-500); }
.form-alt a { color: var(--steel-400); }
.form-alt a:hover { color: var(--molten); }

.contact-success {
  border: 1px solid rgba(249, 115, 22, 0.35);
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(234, 88, 12, 0.1), transparent 70%),
    rgba(250, 250, 249, 0.02);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  display: grid; gap: 14px; justify-items: center;
}
.contact-success[hidden], .contact-form[hidden] { display: none; }
.contact-success h2 { font-size: clamp(24px, 3.4vw, 32px); }
.contact-success p { color: var(--steel-400); max-width: 460px; }

/* ---------- motion & responsive ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .spark-field, .ember-field { display: none; }
}

@media (max-width: 1024px) {
  .hero-mark { width: 230px; }
  .engage-grid { grid-template-columns: 1fr; }
  .engage-card { grid-template-rows: auto; }
}

@media (max-width: 768px) {
  .nav-links li.hide-m { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  /* compact mark above the headline — the forge sparks anchor to it */
  .hero-mark { width: 112px; order: -1; }
  .section { padding: 68px 0; }
  .card-grid, .pillars { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .js-motion .forge-svg svg { max-height: 44vh; margin-top: 0; }
  .js-motion .forge-copy { left: 24px; right: 24px; width: auto; max-width: none; bottom: max(4vh, 32px); }
  .fstage p { max-width: none; }
  .js-motion .forge-rail { right: 16px; top: 42%; }
  .rail-track { height: 170px; }
  .forge-head h2 { font-size: clamp(24px, 6.4vw, 32px); }
  .faq-q { font-size: 15.5px; padding: 18px 2px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-ctas .btn { width: 100%; }
  .scroll-cue { display: none; }
}
