/* ==========================================================================
   SimFire Academy — core stylesheet
   Design: bold & professional. Charcoal base, fire-amber accents.
   Single stylesheet, no build step, no dependencies.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --ink:        #0b0c0e;
  --ink-2:      #121418;
  --ink-3:      #1a1d22;
  --ink-4:      #23272e;
  --line:       #2c313a;
  --line-soft:  #22262d;

  /* Text */
  --fg:         #f2f4f7;
  --fg-muted:   #a8b0bd;
  --fg-dim:     #77808f;

  /* Accent — fire */
  --flame:      #d81f26;
  --flame-hot:  #ff3b30;
  --ember:      #ff9d2e;
  --flame-deep: #7f1114;

  /* Support */
  --steel:      #8b939e;
  --ok:         #3fb950;
  --warn:       #d29922;
  --danger:     #f85149;

  /* Type */
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --maxw: 1200px;
  --maxw-narrow: 760px;

  /* Effects */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  --shadow-lift: 0 26px 60px -22px rgba(0, 0, 0, .9);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--ember); text-decoration: none; }
a:hover { color: var(--flame-hot); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.05rem; letter-spacing: .06em; }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--alt { background: var(--ink-2); }
.section--line { border-top: 1px solid var(--line-soft); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--flame);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--flame);
  flex: none;
}

.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 62ch;
}

.section-head { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

.muted { color: var(--fg-muted); }
.dim { color: var(--fg-dim); }
.flame-text { color: var(--flame-hot); }

.small { font-size: .875rem; }
.tiny { font-size: .8rem; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
  text-align: center;
  line-height: 1.15;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(216, 31, 38, .75);
}
.btn--primary:hover {
  color: #fff;
  box-shadow: 0 16px 38px -12px rgba(216, 31, 38, .9);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--fg);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ember); color: var(--ember); background: rgba(255, 157, 46, .08); }

.btn--light { background: var(--fg); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }

.btn--sm { padding: .6rem 1.15rem; font-size: .88rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row.center { justify-content: center; }

/* --------------------------------------------------------------------------
   6. Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 14, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 12, 14, .96);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  flex: none;
}
.brand:hover { color: var(--fg); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name b { color: var(--flame-hot); font-weight: 700; }
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .3em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--fg-muted);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 0;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--flame);
  transition: width .22s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--fg); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }

.nav__cta { flex: none; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  position: relative;
  transition: background-color .2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.75rem;
    transform: translateY(-120%);
    transition: transform .3s var(--ease);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links li { margin: 0; border-bottom: 1px solid var(--line-soft); }
  .nav__links a { display: block; padding: 1rem 0; font-size: 1rem; }
  .nav__links a::after { display: none; }
  .nav__links .btn { margin-top: 1.25rem; width: 100%; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4.5rem, 12vw, 9rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(255, 157, 46, .22) 0%, transparent 58%),
    radial-gradient(90% 80% at 8% 92%, rgba(216, 31, 38, .2) 0%, transparent 60%),
    linear-gradient(180deg, #0b0c0e 0%, #101216 55%, #0b0c0e 100%);
}

/* Faint tactical grid + scan texture */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 85%);
}

/* Optional photographic hero.
   Add class "hero--image" to .hero and set --hero-img on the element:
   <section class="hero hero--image" style="--hero-img:url('assets/img/hero.jpg')"> */
.hero--image .hero__bg {
  background-image:
    linear-gradient(90deg, rgba(11,12,14,.94) 0%, rgba(11,12,14,.78) 42%, rgba(11,12,14,.42) 100%),
    linear-gradient(180deg, rgba(11,12,14,.55) 0%, transparent 35%, rgba(11,12,14,.9) 100%),
    var(--hero-img, none);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.hero--image .hero__bg::after { opacity: .5; }
@media (max-width: 700px) {
  .hero--image .hero__bg {
    background-image:
      linear-gradient(180deg, rgba(11,12,14,.86) 0%, rgba(11,12,14,.93) 60%, rgba(11,12,14,.98) 100%),
      var(--hero-img, none);
    background-size: cover, cover;
    background-position: center, center;
  }
}

.hero__inner { position: relative; max-width: 900px; }

.hero h1 { margin-bottom: .35em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--ember), var(--flame) 55%, var(--flame-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede { font-size: clamp(1.1rem, 1.9vw, 1.4rem); max-width: 58ch; }
.hero .btn-row { margin-top: 2.25rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { width: 15px; height: 15px; color: var(--flame); flex: none; }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(100% 120% at 85% 0%, rgba(216, 31, 38, .22) 0%, transparent 60%),
    linear-gradient(180deg, #0e1013 0%, #0b0c0e 100%);
}
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1.1rem;
}
.breadcrumb a { color: var(--fg-dim); }
.breadcrumb a:hover { color: var(--ember); }
.breadcrumb span { margin-inline: .5rem; opacity: .5; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  position: relative;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: rgba(255, 157, 46, .5);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--fg-muted); }

.card__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(216, 31, 38, .12);
  border: 1px solid rgba(216, 31, 38, .38);
  color: var(--flame-hot);
  margin-bottom: 1.25rem;
  flex: none;
}
.card__icon svg { width: 24px; height: 24px; }

.card__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(255, 59, 48, .3);
  margin-bottom: .75rem;
}

.card__foot {
  margin-top: auto;
  padding-top: 1.35rem;
}

/* Featured / highlighted card */
.card--feature {
  background: linear-gradient(160deg, rgba(216, 31, 38, .12) 0%, var(--ink-2) 45%);
  border-color: rgba(216, 31, 38, .45);
}
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 3px;
  background: rgba(216, 31, 38, .16);
  color: var(--flame-hot);
  border: 1px solid rgba(216, 31, 38, .38);
  margin-bottom: 1rem;
  font-weight: 600;
}
.tag--neutral { background: var(--ink-4); color: var(--fg-muted); border-color: var(--line); }

/* --------------------------------------------------------------------------
   9. Stats strip
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--ink-2); padding: clamp(1.5rem, 3vw, 2.25rem) 1.5rem; text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  line-height: 1;
  color: var(--flame-hot);
  margin-bottom: .35rem;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* --------------------------------------------------------------------------
   10. Split / media blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 860px) { .split--wide-left { grid-template-columns: 1fr; } }

/* Styled image placeholder — swap for a real <img> when photos arrive */
.media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 90% at 30% 20%, rgba(216, 31, 38, .2), transparent 65%),
    linear-gradient(150deg, #16191e 0%, #0d0f12 100%);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.media::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 34px 34px, 34px 34px;
}
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 16 / 9; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media__note {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
  padding: 1rem;
  max-width: 24ch;
}
.media__note svg { width: 30px; height: 30px; margin: 0 auto .75rem; color: rgba(255, 157, 46, .5); }

/* --------------------------------------------------------------------------
   11. Steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-soft); }
.step__n {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--flame);
  border: 1px solid rgba(216, 31, 38, .38);
  border-radius: var(--radius);
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  background: rgba(216, 31, 38, .09);
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--fg-muted); margin: 0; }
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: .9rem; }
}

/* --------------------------------------------------------------------------
   12. Pricing
   -------------------------------------------------------------------------- */
.price {
  font-family: var(--font-display);
  font-size: 2.7rem;
  line-height: 1;
  color: var(--fg);
  margin: .35rem 0 .2rem;
}
.price small {
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--fg-dim);
  letter-spacing: .04em;
  text-transform: none;
  display: block;
  margin-top: .5rem;
  font-weight: 400;
}
.price sup { font-size: 1.2rem; vertical-align: super; color: var(--fg-muted); }

.ticks { list-style: none; padding: 0; margin: 1.35rem 0 0; }
.ticks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .65rem;
  color: var(--fg-muted);
  font-size: .95rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--flame-hot);
  border-bottom: 2px solid var(--flame-hot);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   13. Callout / notice
   -------------------------------------------------------------------------- */
.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--flame);
  background: var(--ink-2);
  border-radius: var(--radius);
  padding: 1.35rem 1.6rem;
}
.notice h4 { color: var(--flame-hot); margin-bottom: .5rem; }
.notice p { color: var(--fg-muted); font-size: .95rem; }
.notice--warn { border-left-color: var(--warn); }
.notice--warn h4 { color: var(--warn); }

/* Big CTA band */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(90% 140% at 20% 0%, rgba(216, 31, 38, .2), transparent 60%),
    linear-gradient(180deg, #101216, #0b0c0e);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  text-align: center;
}
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; }

/* --------------------------------------------------------------------------
   14. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line-soft); }
.accordion details {
  border-bottom: 1px solid var(--line-soft);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color .2s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--ember); }
.accordion summary::after {
  content: "";
  position: absolute;
  right: .35rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--flame);
  border-bottom: 2px solid var(--flame);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s var(--ease);
}
.accordion details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.accordion__body { padding: 0 2.5rem 1.6rem 0; color: var(--fg-muted); }
.accordion__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .45rem; }

.field label {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}
.field label .req { color: var(--flame); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg);
  padding: .85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8b0bd' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field select option { background: var(--ink-3); color: var(--fg); }

.field input::placeholder,
.field textarea::placeholder { color: var(--fg-dim); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--flame);
  background: var(--ink-4);
  box-shadow: 0 0 0 3px rgba(216, 31, 38, .2);
}

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

.field__error {
  font-size: .82rem;
  color: var(--danger);
  min-height: 0;
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: .75rem;
}
.field--check input[type="checkbox"] {
  width: 20px; height: 20px;
  flex: none;
  margin-top: .15rem;
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
  display: grid;
  place-content: center;
}
/* .field input sets appearance:none, which strips the native tick, so we draw our own.
   It has to be a background-image, not a ::before — Firefox does not render pseudo-
   elements on input, so a pseudo-element tick is invisible for every Firefox user. */
.field--check input[type="checkbox"]:checked {
  background-color: var(--flame);
  border-color: var(--flame);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px 15px;
}
.field--check label {
  font-family: var(--font-body);
  font-size: .92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg-muted);
  cursor: pointer;
  font-weight: 400;
  line-height: 1.5;
}

/* Honeypot — must stay visually hidden but not display:none (bots detect that) */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-alert {
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  border: 1px solid;
  font-size: .95rem;
}
.form-alert--ok { border-color: rgba(63, 185, 80, .45); background: rgba(63, 185, 80, .1); color: #86e29a; }
.form-alert--err { border-color: rgba(248, 81, 73, .45); background: rgba(248, 81, 73, .1); color: #ff9c96; }
.form-alert p:last-child { margin-bottom: 0; }
.form-alert a { color: inherit; text-decoration: underline; }

/* --------------------------------------------------------------------------
   16. Contact detail list
   -------------------------------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; margin: 0; align-items: start; }
.contact-list__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(216, 31, 38, .12);
  border: 1px solid rgba(216, 31, 38, .35);
  color: var(--flame-hot);
}
.contact-list__icon svg { width: 19px; height: 19px; }
.contact-list dt {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: .2rem;
}
.contact-list dd { margin: 0; font-size: 1.02rem; color: var(--fg); }
.contact-list dd a { color: var(--fg); }
.contact-list dd a:hover { color: var(--ember); }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
  font-size: .95rem;
}
.hours li:last-child { border-bottom: 0; }
.hours span:first-child { color: var(--fg-muted); }
.hours span:last-child { color: var(--fg); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   17. Legal / long-form prose
   -------------------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--fg-muted); }
.prose strong { color: var(--fg); }
.prose ul { padding-left: 1.15rem; }
.prose ol { padding-left: 1.35rem; }
.prose ol > li::marker { color: var(--flame-hot); font-weight: 700; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #08090b;
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__grid h4 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  font-weight: 600;
}
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid li { margin-bottom: .6rem; }
.footer__grid a { color: var(--fg-muted); }
.footer__grid a:hover { color: var(--ember); }
.footer__blurb { color: var(--fg-muted); max-width: 38ch; margin-top: 1.1rem; }

.social { display: flex; gap: .6rem; margin-top: 1.35rem; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg-muted);
  transition: all .2s var(--ease);
}
.social a:hover { border-color: var(--flame); color: var(--flame-hot); background: rgba(216, 31, 38, .1); }
.social svg { width: 17px; height: 17px; }

.footer__bar {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-dim);
  font-size: .84rem;
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__bar a { color: var(--fg-dim); }
.footer__bar a:hover { color: var(--ember); }

/* --------------------------------------------------------------------------
   19. Utilities & motion
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.reveal { opacity: 1; }

/* Only hide pre-reveal when JS is running — otherwise content must always show */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #000; }
}

/* ==========================================================================
   20. Full-bleed photographic hero (home page)
   ========================================================================== */
.hero--full {
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 12vh, 8rem) clamp(4rem, 9vh, 6rem);
}

.hero--full .hero__bg {
  background:
    linear-gradient(180deg, rgba(8,9,11,.86) 0%, rgba(8,9,11,.5) 26%, rgba(8,9,11,.62) 62%, rgba(8,9,11,.96) 100%),
    linear-gradient(90deg, rgba(8,9,11,.82) 0%, rgba(8,9,11,.35) 55%, rgba(8,9,11,.2) 100%),
    var(--hero-img, none) center / cover no-repeat,
    #0b0c0e;
}
.hero--full .hero__bg::after {
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  opacity: .7;
}

/* Red vignette from the target wall */
.hero--full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 45% at 50% 42%, rgba(255,157,46,.14), transparent 70%);
  pointer-events: none;
}

@media (max-width: 700px) {
  .hero--full .hero__bg {
    background:
      linear-gradient(180deg, rgba(8,9,11,.7) 0%, rgba(8,9,11,.82) 45%, rgba(8,9,11,.97) 100%),
      var(--hero-img, none) center / cover no-repeat,
      #0b0c0e;
  }
}

/* Animated logo lockup */
.hero__logo {
  width: clamp(148px, 22vw, 240px);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  filter: drop-shadow(0 12px 34px rgba(0,0,0,.7)) drop-shadow(0 0 26px rgba(216,31,38,.35));
  animation: sfa-logo-in 1.05s var(--ease) both;
}
@keyframes sfa-logo-in {
  0%   { opacity: 0; transform: scale(1.28) rotate(-6deg); filter: blur(6px) drop-shadow(0 0 0 transparent); }
  60%  { opacity: 1; transform: scale(.98) rotate(0deg); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); }
}

/* Reticle sweep that fires once on load, behind the lockup */
.hero__reticle {
  position: absolute;
  top: 50%; left: 50%;
  width: min(72vmin, 640px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  animation: sfa-reticle 2.6s var(--ease) .15s both;
}
.hero__reticle circle, .hero__reticle line { vector-effect: non-scaling-stroke; }
@keyframes sfa-reticle {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(1.5) rotate(-25deg); }
  35%  { opacity: .5; }
  70%  { opacity: .22; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  100% { opacity: .1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}

.hero--full h1 { text-shadow: 0 4px 30px rgba(0,0,0,.75); }
.hero--full .lede { color: #d5dae2; text-shadow: 0 2px 16px rgba(0,0,0,.7); }

@media (prefers-reduced-motion: reduce) {
  .hero__logo { animation: none; }
  .hero__reticle { animation: none; opacity: .12; transform: translate(-50%,-50%); }
}

/* Scroll cue */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  display: grid;
  justify-items: center;
  gap: .5rem;
}
.hero__cue span {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--flame), transparent);
  animation: sfa-cue 2.2s ease-in-out infinite;
}
@keyframes sfa-cue { 0%,100% { opacity:.35; transform: scaleY(.6); } 50% { opacity:1; transform: scaleY(1); } }
@media (max-width: 760px) { .hero__cue { display: none; } }

/* ==========================================================================
   21. Photo frames
   ========================================================================== */
.shot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot--tall { aspect-ratio: 3 / 4; }
.shot--wide { aspect-ratio: 16 / 10; }
.shot--square { aspect-ratio: 1; }
.shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.25rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(8,9,11,.92));
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.shot--frame::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

/* ==========================================================================
   22. Pricing tables
   ========================================================================== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1px solid var(--line-soft); }
table.rates {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
table.rates caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  background: var(--ink-3);
  border-bottom: 1px solid var(--line-soft);
}
table.rates th, table.rates td {
  padding: .95rem 1.15rem;
  text-align: right;
  border-bottom: 1px solid var(--line-soft);
  font-size: .96rem;
}
table.rates thead th {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 600;
  background: var(--ink-3);
  white-space: nowrap;
}
table.rates th[scope="row"] {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg);
  white-space: nowrap;
}
table.rates tbody tr:last-child th,
table.rates tbody tr:last-child td { border-bottom: 0; }
table.rates tbody tr:hover td,
table.rates tbody tr:hover th { background: rgba(255,255,255,.02); }
table.rates td.na { color: var(--fg-dim); }
table.rates td strong { color: var(--flame-hot); font-weight: 600; }

/* ==========================================================================
   23. Service page hub cards
   ========================================================================== */
.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-soft);
}
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc--flip > *:first-child { order: 2; }
@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; }
  .svc--flip > *:first-child { order: 0; }
}

/* ==========================================================================
   24. WhatsApp float
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #06301a;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.85);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); color: #06301a; }
.wa-float svg { width: 27px; height: 27px; }
@media print { .wa-float { display: none; } }

/* ==========================================================================
   25. Definition rows (spec lists)
   ========================================================================== */
.spec { display: grid; gap: 0; margin: 0; }
.spec div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec div:first-child { border-top: 1px solid var(--line-soft); }
.spec dt {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-top: .2rem;
}
.spec dd { margin: 0; color: var(--fg); }
@media (max-width: 560px) { .spec div { grid-template-columns: 1fr; gap: .25rem; } }

/* ==========================================================================
   26. Home hero image
   Declared here (not inline) so the URL resolves against this stylesheet.
   To swap the hero photo, drop a new file at assets/img/hero.jpg — or change
   the filename on the two lines below.
   ========================================================================== */
.hero--home .hero__bg {
  background:
    linear-gradient(180deg, rgba(8,9,11,.86) 0%, rgba(8,9,11,.5) 26%, rgba(8,9,11,.62) 62%, rgba(8,9,11,.96) 100%),
    linear-gradient(90deg, rgba(8,9,11,.82) 0%, rgba(8,9,11,.35) 55%, rgba(8,9,11,.2) 100%),
    url("../img/hero.jpg") center / cover no-repeat,
    #0b0c0e;
}
@media (max-width: 700px) {
  .hero--home .hero__bg {
    background:
      linear-gradient(180deg, rgba(8,9,11,.7) 0%, rgba(8,9,11,.82) 45%, rgba(8,9,11,.97) 100%),
      url("../img/hero.jpg") center / cover no-repeat,
      #0b0c0e;
  }
}

/* ==========================================================================
   27. Fixes
   ========================================================================== */
/* The in-menu "Book now" button is for the mobile drawer only */
@media (min-width: 901px) {
  .nav__links .btn { display: none; }
}

/* Home hero: tighter so the whole lockup fits above the fold */
.hero--home .hero__logo {
  width: clamp(132px, 17vw, 205px);
  margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
}
.hero--home h1 { font-size: clamp(2.35rem, 5.6vw, 4.2rem); }
.hero--home .lede { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 54ch; }
.hero--home .btn-row { margin-top: 1.9rem; }
.hero--home .hero__meta { margin-top: 2.25rem; padding-top: 1.6rem; gap: 1.35rem; }
@media (max-height: 780px) and (min-width: 901px) {
  .hero--home .hero__logo { width: clamp(120px, 13vw, 165px); }
  .hero--home h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
}

/* ==========================================================================
   28. Home page — the range photo as the page background
   The image sits in a fixed layer behind everything, so it stays put while
   the page scrolls. The hero shows it almost clean; the sections below lay a
   near-opaque scrim over it so text stays easily readable.
   To swap the photo, replace assets/img/hero.jpg (and §26 above).
   ========================================================================== */
body.home { background: var(--ink); }

body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url("../img/hero.jpg") center center / cover no-repeat;
  /* iOS ignores background-attachment: fixed, so we fix the element instead */
}

body.home::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% 44%, rgba(255,157,46,.1), transparent 72%),
    linear-gradient(180deg, rgba(8,9,11,.5) 0%, rgba(8,9,11,.3) 30%, rgba(8,9,11,.72) 100%);
}

/* The hero no longer needs its own copy of the image — the body carries it.
   Keep only a light scrim so the headline holds up against the bright floor. */
body.home .hero--home .hero__bg {
  background:
    linear-gradient(90deg, rgba(8,9,11,.8) 0%, rgba(8,9,11,.42) 46%, rgba(8,9,11,.06) 100%),
    linear-gradient(180deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,0) 24%, rgba(8,9,11,0) 62%, rgba(8,9,11,.55) 100%);
}
@media (max-width: 700px) {
  body.home .hero--home .hero__bg {
    background: linear-gradient(180deg, rgba(8,9,11,.66) 0%, rgba(8,9,11,.78) 45%, rgba(8,9,11,.9) 100%);
  }
}

/* Scrims for the content below, so the photo reads as texture, not noise */
body.home .section          { background-color: rgba(11,12,14,.9); }
body.home .section--alt     { background-color: rgba(16,18,22,.93); }
body.home .cta-band         { background-color: rgba(11,12,14,.82); }
body.home .site-footer      { background-color: rgba(8,9,11,.95); }
body.home .site-header      { background-color: rgba(11,12,14,.8); }
body.home .site-header.is-scrolled { background-color: rgba(11,12,14,.95); }

/* Cards sit on the scrim, so give them a touch more opacity of their own */
body.home .card             { background-color: rgba(18,20,24,.96); }
body.home .stat             { background-color: rgba(18,20,24,.96); }
body.home .notice           { background-color: rgba(18,20,24,.96); }

/* Stronger shadow on the hero type now that it sits over a brighter image */
body.home .hero--home h1    { text-shadow: 0 4px 34px rgba(0,0,0,.92), 0 1px 3px rgba(0,0,0,.8); }
body.home .hero--home .lede { text-shadow: 0 2px 20px rgba(0,0,0,.95), 0 1px 2px rgba(0,0,0,.9); }
body.home .hero--home .eyebrow,
body.home .hero--home .hero__meta { text-shadow: 0 2px 14px rgba(0,0,0,.9); }

/* --- Home hero legibility over the brighter photo ------------------------- */
/* Gradient text can't carry a shadow, so on the home hero the accent line is
   a solid colour with a heavy shadow instead. */
body.home .hero--home h1 em {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #ff4a3d;
  text-shadow: 0 4px 34px rgba(0,0,0,.95), 0 2px 6px rgba(0,0,0,.9), 0 0 44px rgba(0,0,0,.7);
}

/* Darken the left column where the copy sits, leave the right side open */
body.home .hero--home .hero__bg {
  background:
    linear-gradient(90deg, rgba(8,9,11,.92) 0%, rgba(8,9,11,.78) 30%, rgba(8,9,11,.34) 62%, rgba(8,9,11,.04) 100%),
    linear-gradient(180deg, rgba(8,9,11,.6) 0%, rgba(8,9,11,.05) 26%, rgba(8,9,11,.1) 60%, rgba(8,9,11,.62) 100%);
}

/* --- Home background on small screens ------------------------------------
   A landscape photo cropped to a phone viewport is mostly noise, so on narrow
   screens the image is pushed well back and the scrim does the work. */
@media (max-width: 760px) {
  body.home::before { background-position: 62% center; }
  body.home::after {
    background:
      radial-gradient(80% 40% at 50% 22%, rgba(255,157,46,.08), transparent 70%),
      linear-gradient(180deg, rgba(8,9,11,.82) 0%, rgba(8,9,11,.86) 40%, rgba(8,9,11,.93) 100%);
  }
  body.home .hero--home .hero__bg {
    background: linear-gradient(180deg, rgba(8,9,11,.5) 0%, rgba(8,9,11,.25) 30%, rgba(8,9,11,.6) 100%);
  }
  body.home .section      { background-color: rgba(11,12,14,.95); }
  body.home .section--alt { background-color: rgba(16,18,22,.96); }
}

/* ==========================================================================
   29. Animated logo panel (home hero)
   The brand animation plays once on load and holds on the final frame.
   Source: assets/video/logo.mp4 + logo.webm, poster assets/img/logo-poster.jpg
   ========================================================================== */
.hero__brand {
  width: clamp(132px, 13.5vw, 178px);
  margin-bottom: clamp(1rem, 1.9vw, 1.4rem);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    0 26px 64px -22px rgba(0, 0, 0, .95),
    0 0 46px -12px rgba(216, 31, 38, .4);
  position: relative;
  animation: sfa-logo-in 1s var(--ease) both;
  background: #2c2f34;
}
.hero__brand::after {
  /* Soft inner edge so the panel sits into the page rather than on top of it */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  box-shadow: inset 0 0 26px rgba(0, 0, 0, .55);
  pointer-events: none;
}
.hero__brand-video,
.hero__brand img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-height: 940px) and (min-width: 901px) {
  .hero__brand { width: clamp(120px, 11vw, 150px); }
  .hero--home h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
  .hero--home .hero__meta { margin-top: 1.6rem; padding-top: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__brand { animation: none; }
}
