/* ===== Iron Clave: forge-dark page, standing pillar, stepped slabs ===== */
:root {
  --charcoal: #2b2e30;
  --charcoal-deep: #222527;
  --iron: #44484c;
  --iron-light: #5a5e63;
  --steel: #7d8288;
  --white: #f4f4f2;
  --text: rgba(244, 244, 242, .92);
  --text-soft: rgba(244, 244, 242, .74);
  --ember: #e0b25a;
  --ember-glow: rgba(224, 178, 90, .35);
  --shadow: 0 26px 50px -30px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--charcoal);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--white); }
h1, h2, h3 {
  font-family: "Bebas Neue", "Barlow", sans-serif;
  color: var(--white);
  line-height: .98;
  margin: 0 0 .45em;
  letter-spacing: .02em;
  font-weight: 400;
}
h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }
.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ember); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px;
}
.kicker .tick { width: 22px; height: 2px; background: var(--ember); }
.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 32em; }
.prose p { font-size: 1.1rem; color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(43, 46, 48, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244,244,242,.08);
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--iron-light); box-shadow: 0 12px 30px -20px rgba(0,0,0,.8); }
.bar {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-mark { width: 42px; height: 42px; overflow: hidden; background: var(--charcoal); flex: none; border: 1px solid var(--iron-light); border-radius: 50%; }
.brand-mark.sm { width: 30px; height: 30px; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35) translateY(-8%); }
.brand-name { font-family: "Bebas Neue", sans-serif; font-size: 1.5rem; letter-spacing: .12em; line-height: 1; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  color: var(--text-soft); text-decoration: none; font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  padding: 8px 12px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s, background .2s;
}
.primary-nav a.nav-cta { background: var(--white); color: var(--charcoal); font-weight: 600; margin-left: 10px; padding: 9px 16px; border: 0; }
.nav-toggle { display: none; }

/* ---------- Steel rules ---------- */
.rule, .band::before, .steps-section::before, .site-footer::before {
  height: 10px;
  background: linear-gradient(180deg, var(--iron-light) 0, var(--iron) 35%, var(--charcoal-deep) 100%);
  box-shadow: 0 1px 0 rgba(244,244,242,.12), 0 6px 14px -4px rgba(0,0,0,.6);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 24px 0; }
.rule { position: absolute; left: 0; right: 0; }
.rule-a { top: 0; }
.rule-b { bottom: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 72% 55%, rgba(224,178,90,.08), transparent 70%);
}
.hero-inner {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end;
}
.hero-copy { padding-bottom: 80px; }
.hero h1 { font-size: clamp(3.4rem, 8vw, 6.6rem); margin-bottom: 20px; }
.hero h1 span { display: block; color: var(--ember); }
.lede { font-size: 1.22rem; max-width: 32em; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .9rem; text-decoration: none;
  border: 2px solid var(--white); transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: var(--white); color: var(--charcoal); }
.btn-ghost { background: transparent; color: var(--white); }

.pillar-wrap { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.pillar { display: block; width: 100%; height: auto; overflow: visible; }
.pillar .ring { animation: descend 9s cubic-bezier(.45, 0, .55, 1) infinite; }
.pillar .sp { animation: spark 3.2s ease-in-out infinite; opacity: 0; }
.pillar .s2 { animation-delay: .9s; } .pillar .s3 { animation-delay: 1.7s; } .pillar .s4 { animation-delay: 2.4s; }
@keyframes descend {
  0%   { transform: translateY(170px); opacity: 0; }
  6%   { opacity: 1; }
  90%  { transform: translateY(584px); opacity: 1; }
  100% { transform: translateY(584px); opacity: 0; }
}
@keyframes spark {
  0%, 100% { opacity: 0; transform: translateY(0); }
  30% { opacity: .9; }
  70% { opacity: 0; transform: translateY(-40px); }
}

/* ---------- Bands ---------- */
.band { position: relative; padding: 72px 24px 80px; }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; }
.band-alt { background: var(--charcoal-deep); }
.band-inner { max-width: 1200px; margin: 0 auto; }
.band-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.step-no { font-family: "Bebas Neue", sans-serif; font-size: 2.6rem; line-height: 1; color: var(--text-soft); }
.band-head .kicker { margin: 0; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ---------- Stepped slabs ---------- */
.steps-section { position: relative; padding: 72px 24px 80px; background: linear-gradient(180deg, var(--charcoal) 0, #27292b 100%); }
.steps-section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; }
.steps-head { max-width: 1200px; margin: 0 auto 36px; }
.steps-head h2 { max-width: 18em; }
.steps { max-width: 1200px; margin: 0 auto; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 90px 1fr; gap: 22px; align-items: center;
  padding: 26px 34px 26px 26px; background: var(--iron);
  border-top: 4px solid var(--iron-light); border-bottom: 4px solid var(--charcoal-deep);
  box-shadow: var(--shadow);
  width: calc(100% - var(--shift)); margin-left: var(--shift);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.step:nth-child(1) { --shift: 0%; }
.step:nth-child(2) { --shift: 8%; }
.step:nth-child(3) { --shift: 16%; }
.step:nth-child(4) { --shift: 24%; }
.step .step-no { color: var(--ember); font-size: 3.2rem; }
.step h3 { margin-bottom: .2em; }
.step p { margin: 0; color: var(--text); max-width: 46em; }

/* ---------- Forge cards ---------- */
.forge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.forge-card {
  padding: 28px 26px 22px; background: var(--charcoal); border: 1px solid var(--iron-light);
  border-top: 3px solid var(--steel);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.forge-card svg { width: 46px; height: 46px; fill: none; stroke: var(--ember); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.forge-card p { margin: 0; color: var(--text-soft); }

/* ---------- Quote band ---------- */
.quote-band {
  position: relative; padding: 80px 24px; background: var(--iron); text-align: center;
  border-top: 1px solid rgba(244,244,242,.12); border-bottom: 1px solid rgba(0,0,0,.4);
}
.quote-band::before, .quote-band::after {
  content: ""; position: absolute; left: 50%; width: 90px; height: 3px; background: var(--ember); transform: translateX(-50%);
}
.quote-band::before { top: 40px; } .quote-band::after { bottom: 40px; }
.quote-inner { max-width: 920px; margin: 0 auto; }
.quote { font-family: "Bebas Neue", sans-serif; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: .03em; color: var(--white); margin-bottom: 14px; }
.quote-src { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--iron-light); }
.faq-item { border-bottom: 1px solid var(--iron-light); transition: transform .25s, background .25s; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: 18px 10px; cursor: pointer; text-align: left;
  font-family: "Barlow", sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--white);
}
.faq-i { position: relative; width: 18px; height: 18px; flex: none; }
.faq-i::before, .faq-i::after { content: ""; position: absolute; background: var(--ember); transition: transform .25s; }
.faq-i::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq-i::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.faq-item.open .faq-i::after { transform: scaleY(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 10px 18px; color: var(--text-soft); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: grid; gap: 4px; padding: 20px 22px; text-decoration: none;
  background: var(--charcoal); border: 1px solid var(--iron-light); border-left: 4px solid var(--ember); color: var(--white);
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
}
.cc-k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); }
.cc-v { font-weight: 700; font-size: 1.12rem; word-break: break-word; }
.cc-a { color: var(--ember); font-size: .95rem; }
.contact-note { margin: 6px 0 0; color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--charcoal-deep); padding: 36px 24px 36px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; }
.foot-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot-line { margin: 0; color: var(--text-soft); }
.foot-copy { margin: 0 0 0 auto; font-size: .85rem; color: var(--text-soft); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hover (after reveal) ---------- */
@media (hover: hover) and (pointer: fine) {
  .primary-nav a:hover { color: var(--white); border-bottom-color: var(--ember); }
  .primary-nav a.nav-cta:hover { background: var(--ember); color: var(--charcoal); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(0,0,0,.9); }
  .btn-primary:hover { background: var(--ember); border-color: var(--ember); color: var(--charcoal); }
  .btn-ghost:hover { background: rgba(244,244,242,.08); }
  .step:hover { transform: translateX(10px); background: var(--iron-light); }
  .forge-card:hover { transform: translateY(-5px); border-color: var(--ember); border-top-color: var(--ember); box-shadow: var(--shadow); }
  .faq-item:hover { transform: translateX(4px); background: rgba(244,244,242,.04); }
  .faq-q:hover { color: var(--ember); }
  .contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--ember); background: var(--iron); }
  .brand:hover .brand-name { color: var(--ember); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { padding-bottom: 0; }
  .pillar-wrap { max-width: 260px; }
  .band-grid { grid-template-columns: 1fr; gap: 28px; }
  .forge-grid { grid-template-columns: 1fr; }
  .step:nth-child(2) { --shift: 5%; } .step:nth-child(3) { --shift: 10%; } .step:nth-child(4) { --shift: 15%; }
}
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border: 1px solid var(--iron-light); background: var(--charcoal); cursor: pointer; padding: 0 11px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 18px;
    background: var(--charcoal-deep); border-bottom: 1px solid var(--iron-light); box-shadow: 0 18px 30px -18px rgba(0,0,0,.8);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 10px; border-bottom: 1px solid var(--iron); color: var(--white); }
  .primary-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar { padding: 10px 16px; }
  .hero { padding: 48px 16px 0; }
  .hero h1 { font-size: 3.4rem; }
  .lede { font-size: 1.1rem; }
  .btn { width: 100%; }
  .pillar-wrap { max-width: 200px; }
  .band, .steps-section { padding: 52px 16px 56px; }
  .band-head { gap: 14px; }
  .step-no { font-size: 2rem; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 20px 18px; --shift: 0% !important; width: 100%; margin-left: 0; }
  .step .step-no { font-size: 2.4rem; }
  .quote-band { padding: 72px 20px; }
  .quote-band::before { top: 32px; } .quote-band::after { bottom: 32px; }
  .site-footer { padding: 30px 16px; }
  .foot-copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pillar .ring { transform: translateY(380px); opacity: 1; }
  .pillar .sp { opacity: .8; }
  .js .reveal { opacity: 1; transform: none; }
}
