/* ==========================================================================
   Fireball Fab & Metal Sales LLC — site styles
   Design system: "Extrusion"
   Aluminum-dominant palette · powder-coat charcoal bands · fireball-orange spark
   Signature: the "picket rule" (guardrail geometry) · datasheet type voice
   ========================================================================== */

:root {
  /* --- Material palette --------------------------------------------------- */
  --white:        #ffffff;
  --aluminum-50:  #f5f7f8;   /* lightest surface */
  --aluminum-100: #e9edf0;   /* panel fill */
  --aluminum-200: #d6dce1;   /* hairlines / borders */
  --steel-400:    #99a2ab;   /* muted icon / picket on light */
  --steel-600:    #586069;   /* secondary text */
  --graphite-700: #2b3036;   /* mid-dark surface */
  --graphite-800: #21252b;   /* charcoal band */
  --graphite-900: #181b20;   /* deepest band / footer */
  --ink:          #1a1d22;   /* primary text on light */

  --fireball:     #ee5a1c;   /* the spark — used sparingly */
  --fireball-600: #d24d14;   /* hover */
  --ember:        #f59e3c;   /* warm secondary */

  /* --- Type --------------------------------------------------------------- */
  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  /* --- Metrics ------------------------------------------------------------ */
  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --section-y: clamp(3.75rem, 8vw, 6.5rem);
  --radius: 4px;
  --radius-lg: 6px;
  --rail: 3px;

  --shadow-sm: 0 1px 2px rgba(24, 27, 32, .06), 0 1px 3px rgba(24, 27, 32, .08);
  --shadow-md: 0 10px 30px rgba(24, 27, 32, .12);
  --shadow-lg: 0 24px 60px rgba(24, 27, 32, .22);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--fireball);
  outline-offset: 3px;
}

::selection { background: var(--fireball); color: #fff; }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.98;
  margin: 0;
  color: var(--ink);
}

.h-hero  { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2, .h2  { font-size: clamp(1.85rem, 3.6vw, 2.9rem); font-weight: 700; }
h3, .h3  { font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-weight: 600; letter-spacing: 0; }

h4, .h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--steel-600);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fireball);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--fireball);
}

.muted { color: var(--steel-600); }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 880px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt  { background: var(--aluminum-50); }
.section--dark {
  background: var(--graphite-800);
  color: #d4d9de;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark .lead { color: #aab1b9; }

.stack > * + * { margin-top: 1.1rem; }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Signature: the picket rule (continuous top rail + vertical pickets)
   ========================================================================== */
.picket {                         /* minimal weld-spark rule (a thin rail + one orange spark) */
  --rail-color: var(--steel-400);
  position: relative;
  height: 0;
  border-top: 2px solid var(--rail-color);
}
.picket::after {                  /* the single weld spark */
  content: "";
  position: absolute;
  top: -2px;
  left: clamp(1.25rem, 8%, 6rem);
  width: 52px;
  height: 2px;
  background: var(--fireball);
  box-shadow: 0 0 10px rgba(238, 90, 28, .75);
}
.picket--on-dark { --rail-color: rgba(255, 255, 255, .38); }
.picket--tall { height: 0; }

/* ==========================================================================
   Buttons — stamped metal labels
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary { background: var(--fireball); color: #fff; }
.btn--primary:hover { background: var(--fireball-600); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--aluminum-200); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--aluminum-200);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel-600);
  padding: 0.4rem 0;
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--fireball);
}
.nav-links a.is-ext::after { content: " ↗"; color: var(--steel-400); }

.nav-cta { display: flex; align-items: center; gap: 1.1rem; flex: 0 0 auto; }
.nav-phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.nav-phone span { color: var(--fireball); }
.nav .btn { padding: 0.7rem 1.1rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 1px solid var(--aluminum-200);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: rotate(-45deg) translateY(-1px); }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  .mobile-panel {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--white);
    border-top: 1px solid var(--aluminum-200);
    padding: 1.5rem var(--gutter) 2.5rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    z-index: 55;
    overflow-y: auto;
  }
  body.nav-open .mobile-panel { opacity: 1; visibility: visible; transform: none; }
  .mobile-panel a {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--aluminum-100);
    color: var(--ink);
  }
  .mobile-panel .btn { margin-top: 1.4rem; width: 100%; justify-content: center; }
  .mobile-panel .mp-phone {
    margin-top: 1.4rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--steel-600);
  }
}
@media (min-width: 981px) { .mobile-panel { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--graphite-900);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .42;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(20,23,28,.92) 0%, rgba(20,23,28,.74) 46%, rgba(20,23,28,.30) 100%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(4.5rem, 11vw, 8.5rem);
  max-width: 760px;
}
.hero .eyebrow { color: var(--ember); }
.hero .eyebrow::before { background: var(--ember); }
.hero h1 { color: #fff; }
.hero__sub {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: #c6cbd1;
  max-width: 56ch;
}
.hero .btn-row { margin-top: 2rem; }
.hero .picket {
  position: absolute;
  left: 0; right: 0; bottom: 0;
}

/* sub-page hero (compact) */
.pagehead {
  position: relative;
  background: var(--graphite-800);
  color: #fff;
  overflow: hidden;
}
.pagehead__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .28;
}
.pagehead__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,23,28,.93), rgba(20,23,28,.6));
}
.pagehead__inner {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5rem);
  max-width: 760px;
}
.pagehead h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.pagehead .crumbs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa1a9;
  margin-bottom: 1rem;
}
.pagehead .crumbs a:hover { color: #fff; }
.pagehead .picket { position: absolute; left: 0; right: 0; bottom: 0; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.25rem;
  padding-block: 1.4rem;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-600);
}
.trust__item strong { color: var(--ink); font-weight: 700; }
.trust__dot { width: 6px; height: 6px; background: var(--fireball); border-radius: 50%; flex: 0 0 auto; }
.trust__badge { height: 54px; width: auto; margin-left: auto; }
@media (max-width: 700px) { .trust__badge { margin-left: 0; } }

/* ==========================================================================
   Spec checklist (datasheet)
   ========================================================================== */
.spec {
  border: 1px solid var(--aluminum-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.spec__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: 1rem;
}
.spec li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0;
  border-top: 1px solid var(--aluminum-100);
  font-size: 0.97rem;
}
.spec li:first-of-type { border-top: 0; }
.spec li::before {
  content: "";
  width: 9px; height: 9px;
  margin-top: 0.5rem;
  background: var(--fireball);
  transform: rotate(45deg);   /* a cut-aluminum tick */
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card-link {
  display: block;
  background: var(--white);
  border: 1px solid var(--aluminum-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--steel-400); }
.card-link__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--aluminum-100); }
.card-link__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card-link:hover .card-link__media img { transform: scale(1.05); }
.card-link__body { padding: 1.4rem 1.5rem 1.6rem; }
.card-link__kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fireball);
  margin-bottom: 0.55rem;
}
.card-link__body h3 { margin-bottom: 0.5rem; }
.card-link__more {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.card-link:hover .card-link__more { color: var(--fireball); }

/* Feature cell (no image) */
.feature {
  background: var(--white);
  border: 1px solid var(--aluminum-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem 1.7rem;
  height: 100%;
}
.section--alt .feature { background: var(--white); }
.feature__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--fireball);
  margin-bottom: 0.9rem;
}
.feature h4 { margin-bottom: 0.5rem; }
.feature p { font-size: 0.95rem; color: var(--steel-600); margin: 0; }

/* ==========================================================================
   Process steps (real sequence — numbering earns its place)
   ========================================================================== */
.step {
  background: var(--graphite-700);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step__media { aspect-ratio: 16 / 10; overflow: hidden; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__body { padding: 1.3rem 1.5rem 1.6rem; }
.step__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.step__num::after { content: ""; width: 1.4rem; height: 2px; background: rgba(255,255,255,.25); }
.step__body h3 { color: #fff; margin-bottom: 0.45rem; }
.step__body p { color: #aab1b9; font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   Product blocks (commercial detail)
   ========================================================================== */
.prod + .prod { margin-top: clamp(2.5rem, 5vw, 4rem); }
.prod__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fireball);
  margin-bottom: 0.7rem;
}
.prod h3 { margin-bottom: 0.9rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* ==========================================================================
   Stat band
   ========================================================================== */
.stat {
  text-align: left;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--fireball);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-600);
  margin-top: 0.5rem;
}
.section--dark .stat__label { color: #9aa1a9; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }

/* ==========================================================================
   Contact / form
   ========================================================================== */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-600);
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--aluminum-200);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fireball);
  box-shadow: 0 0 0 3px rgba(238,90,28,.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; }   /* honeypot */

.form-note {
  font-size: 0.82rem;
  color: var(--steel-600);
  margin-top: 0.6rem;
}
.form-status { margin-top: 1rem; font-weight: 600; display: none; }
.form-status.is-error { display: block; color: #c0392b; }
.form-success {
  display: none;
  border: 1px solid var(--aluminum-200);
  border-left: 4px solid var(--fireball);
  border-radius: var(--radius);
  background: var(--aluminum-50);
  padding: 1.5rem 1.6rem;
}
.form-success.show { display: block; }
.form-success h3 { margin-bottom: 0.5rem; }

.contact-card {
  background: var(--graphite-800);
  color: #d4d9de;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.contact-card h3 { color: #fff; margin-bottom: 1.1rem; }
.contact-card a { color: #fff; }
.contact-card a:hover { color: var(--ember); }
.contact-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.4rem 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.95rem;
}
.contact-row:first-of-type { border-top: 0; }
.contact-row dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8d949c;
  margin: 0;
  padding-top: 0.15rem;
}
.contact-row dd { margin: 0; }

.map-frame {
  border: 1px solid var(--aluminum-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 360px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--graphite-900);
  color: #9aa1a9;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2.5rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 52px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.92rem; color: #8d949c; max-width: 34ch; }

.footer-links a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  color: #b4bac1;
  transition: color .18s var(--ease);
}
.footer-links a:hover { color: var(--fireball); }

.footer-contact { font-size: 0.92rem; line-height: 1.8; }
.footer-contact a { color: #b4bac1; }
.footer-contact a:hover { color: #fff; }
.footer-badge { margin-top: 1.2rem; }
.footer-badge img { height: 64px; width: auto; }
.footer-made {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #767d85;
}
.footer-bottom .ln a { color: #b4bac1; }
.footer-bottom .ln a:hover { color: var(--fireball); }

/* ==========================================================================
   Sticky mobile CTA bar
   ========================================================================== */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    border-top: 1px solid var(--aluminum-200);
    background: var(--white);
    box-shadow: 0 -6px 20px rgba(24,27,32,.12);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .mobile-bar a:first-child { color: var(--ink); border-right: 1px solid var(--aluminum-200); }
  .mobile-bar a.is-primary { background: var(--fireball); color: #fff; }
  body { padding-bottom: 56px; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.divider-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-400);
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   SEO / accessibility additions
   ========================================================================== */

/* Accessible orange for small TEXT (brand #ee5a1c stays for fills/accents).
   #c2440f clears WCAG AA 4.5:1 on white/aluminum; brand orange is retained
   for the picket spark, dots, ticks, focus ring and large stat numbers. */
:root { --fireball-text: #c2440f; }

.eyebrow { color: var(--fireball-text); }
.eyebrow::before { background: var(--fireball-text); }
/* keep the brighter accent on dark bands (passes AA on charcoal) */
.section--dark .eyebrow,
.hero .eyebrow { color: var(--ember); }
.section--dark .eyebrow::before,
.hero .eyebrow::before { background: var(--ember); }

.card-link__kicker,
.feature__num,
.prod__tag { color: var(--fireball-text); }

/* steel-400 labels fail AA as text — lift to steel-600 */
.spec__label,
.divider-label { color: var(--steel-600); }

/* darken the primary button fill so white label clears AA */
.btn--primary { background: var(--fireball-text); }
.btn--primary:hover { background: #a8390c; }
.mobile-bar a.is-primary { background: var(--fireball-text); }
/* footer credit line: lift to ~5:1 on the near-black footer */
.footer-bottom { color: #8c939b; }

/* Visually-hidden text for screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Feature-card titles are now <h3> (fixes the H2->H4 outline skip) but keep
   the original h4 look (body font, sentence case) rather than the display h3 */
.feature h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.section--dark .feature h3 { color: #fff; }

/* Feature cell as a clickable link (used on 404 + nav-style cards) */
a.feature {
  display: block;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
a.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--steel-400);
}

/* FAQ accordion — semantic <details>/<summary>, no JS required */
.faq { border-top: 1px solid var(--aluminum-200); }
.faq details {
  border-bottom: 1px solid var(--aluminum-200);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--fireball-text);
  transition: transform .2s var(--ease);
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "\2212"; } /* minus */
.faq summary:hover { color: var(--fireball-text); }
.faq details > p {
  margin: 0 0.25rem 1.2rem;
  color: var(--steel-600);
  max-width: 70ch;
}

/* Selected-work gallery captions */
.workgrid figure { margin: 0; }
.workgrid figure img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--aluminum-200);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.workgrid figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-600);
}

/* Micro-trust line under CTAs */
.cta-trust {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aab1b9;
}
.cta-band .cta-trust { color: #aab1b9; }
