/* ═══════════════════════════════════════════
   IRONSTACHE — styles.css
   ═══════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────── */
:root {
  --ink:    #070707;
  --ink-1:  #0d0d0d;
  --ink-2:  #131313;
  --ink-3:  #1c1c1c;
  --ink-4:  #262626;
  --smoke:  #eee8de;
  --smoke-2:#c4bfb6;
  --mist:   #777270;
  --coal:   #3e3a38;
  --ember:  #bf2e1f;
  --flame:  #df3b2b;
  --gold:   #c8a96e;
  --gold-lt:#e2c98a;

  --ff-d: 'Bebas Neue', sans-serif;
  --ff-b: 'Inter', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --px: clamp(1.5rem, 5.5vw, 6.5rem);
  --py: clamp(3.5rem, 6vw, 6rem);
  --r:  2px;
}

/* ── RESET ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--ink);
  color: var(--smoke);
  font-family: var(--ff-b);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }
em { font-style: normal; }

/* ── SCROLLBAR ───────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ember); }

/* ── NOISE OVERLAY ───────────────────────── */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── NAV ─────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 1.5rem;
  transition: background .4s, box-shadow .4s, transform .45s var(--ease);
}
#nav.scrolled {
  background: rgba(7,7,7,.88);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}

.nav-logo {
  margin-right: auto;
  flex-shrink: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.nav-logo img {
  height: 1.8rem;
  width: auto;
  display: block;
}
#nav.logo-visible .nav-logo {
  opacity: 1;
  pointer-events: all;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color .2s;
}
.nav-links a:hover { color: var(--smoke); }

.nav-cta {
  background: var(--ember);
  color: var(--smoke) !important;
  padding: .55rem 1.2rem;
  border-radius: var(--r);
  transition: background .2s, color .2s, transform .2s var(--ease) !important;
}
.nav-cta:hover { background: var(--flame); transform: translateY(-1px) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: .4rem;
  z-index: 101;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--smoke);
  border-radius: 1px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-burger.open span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* ── BUTTONS ─────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--ember);
  color: var(--smoke);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: background .2s, box-shadow .25s, transform .25s var(--ease);
  will-change: transform;
}
.btn-primary:hover {
  background: var(--flame);
  box-shadow: 0 10px 32px rgba(191,46,31,.4);
}
.btn-full { width: 100%; text-align: center; padding: 1.1rem; }

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(238,232,222,.18);
  color: var(--smoke);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: var(--r);
  transition: border-color .2s, transform .25s var(--ease);
  will-change: transform;
}
.btn-ghost:hover {
  border-color: rgba(238,232,222,.5);
  transform: translateY(-2px);
}

/* ── TYPOGRAPHY HELPERS ──────────────────── */
.eyebrow {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--ember);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--ff-d);
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: .92;
  letter-spacing: .07em;
  color: var(--smoke);
}
.section-title em { color: var(--ember); }

.section-sub {
  font-size: .95rem;
  color: var(--mist);
  margin-top: 1.3rem;
  max-width: 400px;
  line-height: 1.75;
}

/* ── LAYOUT ──────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--px);
}

section {
  padding: var(--py) 0;
  border-top: 1px solid rgba(255,255,255,.04);
}

.section-head { margin-bottom: clamp(3rem, 5vw, 5rem); }

/* ── REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--px) 5.5rem;
  border-top: none;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  background-image:
    linear-gradient(to right, rgba(7,7,7,.8) 30%, rgba(7,7,7,.25) 100%),
    linear-gradient(to top, rgba(7,7,7,.75) 0%, transparent 40%),
    url('cover.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(191,46,31,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,46,31,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 100%);
}

.hero-watermark {
  position: absolute;
  right: calc(var(--px) - 1rem);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-d);
  font-size: clamp(12rem, 28vw, 26rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(191,46,31,.07);
  letter-spacing: -.02em;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 11rem;
  max-width: 920px;
}

.hero-title {
  font-family: var(--ff-d);
  font-size: clamp(5.5rem, 17vw, 15rem);
  line-height: .85;
  letter-spacing: .02em;
  color: var(--smoke);
  margin: .3rem 0 .8rem;
}
.hero-title em { color: var(--ember); }
.hero-title img {
  display: block;
  width: clamp(300px, 75vw, 980px);
  max-width: none;
  height: auto;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 200;
  color: var(--smoke-2);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 2.8rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  margin-bottom: 3.2rem;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: .25rem; }

.stat-val {
  font-family: var(--ff-d);
  line-height: 1;
}
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--smoke);
}
.stat-unit {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--ember);
}
.stat-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist);
}
.stat-sep {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.09);
  flex-shrink: 0;
}

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.hero-footnote {
  position: absolute;
  bottom: 2.8rem;
  right: var(--px);
  font-size: .65rem;
  font-weight: 200;
  font-style: italic;
  letter-spacing: .1em;
  color: rgba(255,255,255,.13);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.hero-footnote span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,.13);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   MARQUEE
───────────────────────────────────────── */
.marquee-strip {
  overflow: hidden;
  background: var(--ember);
  padding: .95rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--ff-d);
  font-size: .95rem;
  letter-spacing: .22em;
  color: rgba(7,7,7,.85);
}
.marquee-track .mx { color: rgba(7,7,7,.3); letter-spacing: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   COACHING
───────────────────────────────────────── */
#coaching { background: var(--ink-1); }

.coaching-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5px;
  background: rgba(255,255,255,.055);
  border: 1.5px solid rgba(255,255,255,.055);
}

/* Featured card */
.card-featured {
  background: var(--ink-1);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr auto;
  gap: 1.5rem 4rem;
  transition: background .3s;
}
.card-featured .card-tag        { grid-column: 1; grid-row: 1; }
.card-featured .card-title-lg   { grid-column: 1; grid-row: 2; }
.card-featured .card-body       { grid-column: 1; grid-row: 3; }
.card-featured .btn-primary     { grid-column: 1; grid-row: 4; align-self: end; justify-self: start; }
.card-featured .card-features   { grid-column: 2; grid-row: 1 / 5; align-self: center; }
.card-featured .card-bg-num     { grid-column: 2; }
.card-featured:hover { background: var(--ink-2); }
.card-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
}

.card-tag {
  display: inline-block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: var(--r);
  align-self: flex-start;
}
.card-tag.gold { color: var(--gold); border: 1px solid rgba(200,169,110,.35); }
.card-tag.red  { color: var(--ember); border: 1px solid rgba(191,46,31,.3); margin-top: auto; padding-top: .4rem; }

.card-bg-num {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  font-family: var(--ff-d);
  font-size: 7rem;
  line-height: 1;
  letter-spacing: .05em;
  color: rgba(191,46,31,.08);
  pointer-events: none;
  user-select: none;
}

.card-title-lg {
  font-family: var(--ff-d);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: .92;
  letter-spacing: .07em;
  color: var(--smoke);
}

.card-body {
  font-size: .88rem;
  font-weight: 300;
  color: var(--smoke-2);
  line-height: 1.8;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  flex: 1;
}
.card-features li {
  font-size: .8rem;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.card-features li::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--ember);
  flex-shrink: 0;
}

/* Secondary cards */
.cards-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
}
.card-secondary {
  background: var(--ink-1);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.card-secondary:hover { background: var(--ink-2); }
.card-secondary::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1.5px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.card-secondary:hover::after { transform: scaleX(1); }

.card-num {
  font-family: var(--ff-d);
  font-size: .95rem;
  letter-spacing: .12em;
  color: var(--ember);
}
.card-title-md {
  font-family: var(--ff-d);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: .04em;
  line-height: .95;
  color: var(--smoke);
}
.card-body-sm {
  font-size: .82rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.75;
  flex: 1;
}

/* ─────────────────────────────────────────
   PROCESS
───────────────────────────────────────── */
#process { background: var(--ink); }

.process-steps {
  display: grid;
  grid-template-columns: 1fr 3rem 1fr 3rem 1fr 3rem 1fr;
  align-items: start;
  margin-top: 4rem;
}

.process-step { padding: 0 .5rem; }

.process-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(191,46,31,.3), rgba(191,46,31,.1));
  margin-top: 1.9rem;
  position: relative;
}
.process-line::before,
.process-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ember);
}
.process-line::before { left: 0; }
.process-line::after  { right: 0; }

.process-num {
  display: block;
  font-family: var(--ff-d);
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: .05em;
  color: rgba(191,46,31,.6);
  margin-bottom: .7rem;
}
.process-title {
  font-family: var(--ff-d);
  font-size: 1.45rem;
  letter-spacing: .09em;
  color: var(--smoke);
  margin-bottom: .5rem;
}
.process-desc {
  font-size: .8rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
#about { background: var(--ink-1); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual { position: relative; }

.about-card {
  aspect-ratio: 3/4;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  position: relative;
}
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-card-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mist);
}
.about-card-stat {
  font-family: var(--ff-d);
  font-size: clamp(4rem, 11vw, 8rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--smoke);
}
.about-card-unit {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ember);
}
.about-card-rule {
  width: 36px;
  height: 1px;
  border: none;
  background: rgba(255,255,255,.12);
}
.about-card-role {
  font-size: .65rem;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist);
}


.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.about-p {
  font-size: .9rem;
  font-weight: 300;
  color: var(--smoke-2);
  line-height: 1.9;
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: .72rem;
  margin-top: .5rem;
}
.about-list li {
  font-size: .82rem;
  color: var(--smoke-2);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.about-list li::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--ember);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
#testimonials { background: var(--ink); }

.t-marquee {
  overflow: hidden;
  margin-top: 4rem;
  padding: .5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.t-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: t-scroll 55s linear infinite;
}
.t-track:hover { animation-play-state: paused; }
@keyframes t-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.t-card {
  width: 340px;
  height: 200px;
  flex-shrink: 0;
  background: transparent;
  border-left: 2px solid rgba(191,46,31,.3);
  padding: .4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  transition: border-left-color .3s;
}
.t-card:hover { border-left-color: var(--ember); }
.t-text {
  font-size: .84rem;
  font-weight: 300;
  font-style: italic;
  color: var(--smoke-2);
  line-height: 1.75;
  border: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
}
.t-footer {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  border: none;
  margin: 0;
  padding: 0;
}
.t-name {
  font-weight: 600;
  font-size: .78rem;
  color: var(--smoke);
  white-space: nowrap;
}
.t-sep {
  font-size: .7rem;
  color: var(--ember);
  flex-shrink: 0;
}
.t-result {
  font-size: .72rem;
  font-weight: 400;
  color: var(--mist);
  white-space: nowrap;
}

/* ─────────────────────────────────────────
   PARTNERS
───────────────────────────────────────── */
#partners { background: var(--ink-1); }

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: rgba(255,255,255,.055);
  border: 1.5px solid rgba(255,255,255,.055);
}

.partner-card {
  background: var(--ink-1);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background .3s;
}
.partner-card:hover { background: var(--ink-2); }

.partner-brand {
  font-family: var(--ff-d);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: .07em;
  color: var(--smoke);
  line-height: 1;
}

.partner-desc {
  font-size: .88rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.8;
  flex: 1;
}

.partner-code {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.partner-code-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mist);
}
.partner-code-val {
  font-family: var(--ff-d);
  font-size: 1.3rem;
  letter-spacing: .18em;
  color: var(--ember);
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
#contact { background: var(--ink-1); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
  position: relative;
}

.contact-note {
  font-size: .88rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.8;
  margin-top: .6rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.form-group label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mist);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--ink-3);
  border: 1px solid rgba(255,255,255,.07);
  color: var(--smoke);
  font-family: var(--ff-b);
  font-weight: 300;
  font-size: .88rem;
  padding: .9rem 1.1rem;
  border-radius: var(--r);
  outline: none;
  width: 100%;
  transition: border-color .25s, background .25s;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--coal); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(191,46,31,.45);
  background: var(--ink-4);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777270' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  background-color: var(--ink-3);
}
.form-select option { background: var(--ink-3); color: var(--smoke); }
.form-textarea { resize: vertical; min-height: 112px; }

/* ─────────────────────────────────────────
   QUIZ
───────────────────────────────────────── */
.quiz-wrap {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.07);
  padding: 2.4rem 2.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quiz-top {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2.8rem;
}
.quiz-track {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 1px;
  overflow: hidden;
}
.quiz-fill {
  height: 100%;
  background: var(--ember);
  border-radius: 1px;
  transition: width .5s var(--ease);
  width: 25%;
}
.quiz-count {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--mist);
  white-space: nowrap;
}

.quiz-body {
  position: relative;
  overflow: hidden;
  transition: height .38s cubic-bezier(.22,1,.36,1);
}

.quiz-step {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-bottom: 1rem;
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity .38s var(--ease), transform .38s var(--ease);
}
.quiz-step.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.quiz-step.exit {
  opacity: 0;
  transform: translateY(-22px);
  pointer-events: none;
}

.quiz-num {
  font-family: var(--ff-d);
  font-size: 1.5rem;
  letter-spacing: .14em;
  color: var(--flame);
  line-height: 1;
}
.quiz-q {
  font-family: var(--ff-d);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: .03em;
  color: var(--smoke);
  cursor: default;
}
.quiz-input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255,255,255,.14);
  color: var(--smoke);
  font-family: var(--ff-b);
  font-weight: 300;
  font-size: 1rem;
  padding: .65rem 0;
  outline: none;
  width: 100%;
  transition: border-color .2s;
  border-radius: 0;
}
.quiz-input::placeholder { color: var(--coal); }
.quiz-input:focus { border-color: var(--ember); }
.quiz-input.shake {
  animation: shake .35s var(--ease);
  border-color: var(--ember);
}
.quiz-ta {
  resize: none;
  min-height: 80px;
  line-height: 1.6;
}
.quiz-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: .4rem;
}
.quiz-hint {
  font-size: .68rem;
  color: var(--mist);
}
.quiz-hint kbd {
  font-family: var(--ff-b);
  font-size: .62rem;
  border: 1px solid rgba(255,255,255,.14);
  padding: .1rem .4rem;
  border-radius: 3px;
  color: var(--smoke-2);
}
.quiz-choices {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-top: .4rem;
}
.quiz-choice {
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--smoke-2);
  font-family: var(--ff-b);
  font-size: .9rem;
  font-weight: 300;
  padding: .8rem 1.2rem;
  border-radius: var(--r);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.quiz-choice:hover {
  border-color: rgba(191,46,31,.5);
  color: var(--smoke);
}
.quiz-choice.selected {
  border-color: var(--ember);
  background: rgba(191,46,31,.1);
  color: var(--smoke);
}

.quiz-back {
  margin-top: 1.6rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color .2s;
  align-self: flex-start;
}
.quiz-back:hover { color: var(--smoke); }
.quiz-back.hidden { visibility: hidden; pointer-events: none; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-6px); }
  75%       { transform: translateX(6px); }
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.4rem;
  padding: 3.5rem 2rem;
  border: 1px solid rgba(191,46,31,.25);
  background: rgba(191,46,31,.04);
  border-radius: var(--r);
}
.form-success.visible { display: flex; }
.form-success-check {
  font-size: 2.2rem;
  color: var(--ember);
  line-height: 1;
}
.form-success-title {
  font-family: var(--ff-d);
  font-size: 2.2rem;
  letter-spacing: .08em;
  color: var(--smoke);
}
.form-success-text {
  font-size: .85rem;
  font-weight: 300;
  color: var(--mist);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 2.2rem 2rem;
}
.footer-inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-logo img {
  height: 2.6rem;
  width: auto;
  display: block;
}
.footer-copy {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--coal);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: auto;
}
.footer-social a {
  color: var(--mist);
  display: flex;
  align-items: center;
  transition: color .2s;
}
.footer-social a:hover { color: var(--smoke); }
.footer-social svg { width: 22px; height: 22px; }

@keyframes social-flash {
  0%   { color: var(--mist); }
  25%  { color: var(--flame); }
  60%  { color: var(--ember); }
  100% { color: var(--mist); }
}
.footer-social.lit a { animation: social-flash .7s var(--ease) both; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .card-featured { grid-template-columns: 1fr; grid-template-rows: auto; }
  .card-featured .card-tag,
  .card-featured .card-title-lg,
  .card-featured .card-body,
  .card-featured .btn-primary,
  .card-featured .card-features { grid-column: 1; grid-row: auto; }
  .about-layout { grid-template-columns: 1fr; gap: 3.5rem; }
  .partners-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
  .about-text   { order: 1; }
  .thragg-quote { right: 0; bottom: -1.5rem; }
  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-line { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 3.5rem; }
}

@media (max-width: 768px) {
  #nav.menu-open {
    background: rgba(7,7,7,.97);
    backdrop-filter: none;
    box-shadow: 0 1px 0 rgba(255,255,255,.1);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(7,7,7,.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }
  .nav-links.open { opacity: 1; pointer-events: all; }
  .nav-links.open a { font-size: 1.1rem; color: var(--smoke); }
  .nav-links .nav-cta { font-size: 1.1rem; padding: .9rem 2rem; }
  .nav-burger { display: flex; }

  .hero-footnote { display: none; }
  .hero-watermark { font-size: clamp(8rem, 40vw, 14rem); }
  .card-secondary { min-width: 100%; }
  .form-row { grid-template-columns: 1fr; }

  /* phone-specific hero adjustments */
  #hero { padding-bottom: 3.5rem; }
  .hero-content { padding-top: 9rem; }
  .hero-title { font-size: clamp(3.5rem, 18vw, 5.5rem); }

  /* quiz: reduce horizontal padding, hide keyboard hints, improve touch targets */
  .quiz-wrap { padding: 1.8rem 1.6rem 1.6rem; }
  .quiz-hint { display: none; }
  .quiz-choice { padding: 1rem 1.2rem; }
  .quiz-back { padding: .5rem 0; }

  /* announcement bar: two lines on mobile */
  .ann-br { display: inline; }

  /* footer mobile */
  .footer-inner { flex-direction: column; align-items: center; gap: 1rem; }
  .footer-left { align-items: center; }
  .footer-copy { text-align: center; font-size: .7rem; }
  .footer-logo img { height: 2rem; }
  .footer-social { margin-left: 0; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1.6rem; }
  .stat-sep { height: 32px; }

  /* prevent hero title from overflowing narrow phones */
  .hero-title { font-size: clamp(2.8rem, 15vw, 3.5rem); }
  .hero-sub { font-size: .85rem; }

  /* tighter quiz on small phones */
  .quiz-wrap { padding: 1.4rem 1.2rem 1.3rem; }
  .quiz-q { font-size: clamp(1.2rem, 7vw, 1.8rem); }

  /* scale section headings down on tiny screens */
  .section-title { font-size: clamp(2.4rem, 11vw, 3rem); letter-spacing: .03em; }
}
