/* ============================================================
   Sellout Proposal — custom layer
   Real ticketing. Real business. On Cardano. Electric blue + gold.
   ============================================================ */

:root {
  --sellout-blue:        linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
  --sellout-gold:        linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --crucible-ember:      var(--sellout-blue);
  --crucible-flux:       var(--sellout-gold);
  --crucible-ring:       inset 0 0 0 1px rgba(255,255,255,0.06);
  --crucible-ring-warm:  inset 0 0 0 1px rgba(14,165,233,0.20);
  --crucible-glow:       0 30px 120px -20px rgba(14,165,233,0.35);

  --c-bg:        #0A0C10;
  --c-surface:   #11151B;
  --c-line:      rgba(255,255,255,0.07);
  --c-line-soft: rgba(255,255,255,0.04);
  --c-text:      #ECEEF2;
  --c-muted:     #9AA3B2;
  --c-dim:       #5B6573;
  --c-warm:      #F59E0B;
  --c-accent:    #0EA5E9;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation; /* prevents double-tap zoom */
}
html, body {
  overscroll-behavior: none; /* prevents pull-to-refresh / rubberbanding */
}

body {
  background-color: var(--c-bg);
  background-image:
    radial-gradient(70% 50% at 50% 0%, rgba(14,165,233,0.08) 0%, rgba(56,189,248,0.04) 35%, transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(245,158,11,0.04) 0%, transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--c-text);
}

/* ----- Eyebrow / mono label ----- */
.crucible-eyebrow,
.is-style-eyebrow {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.crucible-eyebrow.is-warm,
.is-style-eyebrow.is-warm {
  color: var(--c-warm);
}
.crucible-eyebrow::before,
.is-style-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.crucible-eyebrow.is-warm::before {
  background: linear-gradient(90deg, transparent, var(--c-warm));
}

/* ----- Gradient text utility (use sparingly) ----- */
.crucible-gradient-text,
.has-ember-gradient-text {
  background: var(--crucible-ember);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.has-flux-gradient-text {
  background: var(--crucible-flux);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ----- Dividers ----- */
.crucible-rule {
  display: block;
  width: 100%;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--c-line) 20%, var(--c-line) 80%, transparent);
  margin: 0;
}

/* ----- Card surface ----- */
.crucible-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0));
  border: 1px solid var(--c-line);
  border-radius: 18px;
  box-shadow: var(--crucible-ring), 0 30px 80px -30px rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}
.crucible-card.is-hot {
  box-shadow: var(--crucible-ring-warm), var(--crucible-glow);
  border-color: rgba(14,165,233,0.18);
}

/* WP columns inside the card group should be flex children */
.wp-block-column.crucible-card {
  flex-grow: 1;
}

/* ----- Stats: real CSS grid (consistent widths) ----- */
.crucible-stat-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.crucible-stat-grid > .stat {
  padding: 2rem 2rem 1.8rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0));
  border: 1px solid var(--c-line);
  border-radius: 18px;
  box-shadow: var(--crucible-ring), 0 30px 80px -30px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
}
.crucible-stat-grid > .stat .num {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw + 1rem, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--c-text);
}
.crucible-stat-grid > .stat.is-hot .num {
  background: var(--crucible-ember);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.crucible-stat-grid > .stat .label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-dim);
  margin-top: 0.6rem;
}

/* Tight inline stat (used inside team cards, etc.) */
.crucible-stat-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}
.crucible-stat-inline .stat .num {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 2.5vw + 0.6rem, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--c-text);
}
.crucible-stat-inline .stat .label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-dim);
  margin-top: 0.4rem;
}

/* ----- Hero ----- */
.crucible-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 6vh, 5rem) clamp(3rem, 5vh, 4rem);
}
.crucible-hero::before {
  content: "";
  position: absolute;
  top: -80px; /* extend glow UP behind the sticky header */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 50% 60px, rgba(14,165,233,0.16) 0%, rgba(245,158,11,0.06) 40%, transparent 75%);
  pointer-events: none;
}
.crucible-hero h1 {
  font-size: clamp(2.75rem, 6.5vw + 1rem, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 0;
}

/* ----- Header / footer chrome ----- */
.crucible-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 12, 16, 0.97);
  border-bottom: 1px solid var(--c-line);
  padding-block: 0 !important;
  margin: 0 !important;
}

/* WP admin bar pushes everything down 32px when logged in */
.admin-bar .crucible-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .crucible-header {
    top: 46px; /* admin bar is taller on mobile */
  }
}
.crucible-header .wp-block-site-title a,
.crucible-header .wp-block-navigation a {
  text-decoration: none;
}

/* Kill WP blockGap / margins between template parts globally */
body > .wp-site-blocks,
body > .wp-site-blocks > .wp-block-template-part,
body > .wp-site-blocks > main {
  gap: 0 !important;
  margin: 0 !important;
}
body > .wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}

/* Force the header template-part wrapper to be sticky too
   (WP wraps template-parts in a div that breaks sticky) */
.wp-site-blocks > .wp-block-template-part:first-child,
.wp-site-blocks > header:first-child {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
}
.admin-bar .wp-site-blocks > .wp-block-template-part:first-child,
.admin-bar .wp-site-blocks > header:first-child {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar .wp-site-blocks > .wp-block-template-part:first-child,
  .admin-bar .wp-site-blocks > header:first-child {
    top: 46px !important;
  }
}

/* Nuke WP wrapper backgrounds — let body bg show through everywhere */
.wp-site-blocks,
.wp-site-blocks > *,
.wp-block-template-part,
.wp-block-template-part > * {
  background-color: transparent !important;
}

/* Kill ALL WP root padding — we handle spacing ourselves */
.wp-site-blocks {
  padding: 0 !important;
  overflow: visible !important; /* required for sticky header to work */
}
body {
  margin: 0;
  padding: 0;
}

/* Horizontal padding for content (not full-bleed elements) */
.crucible-hero,
.crucible-section,
.crucible-section--tight {
  padding-inline: clamp(1.2rem, 4vw, 3rem);
}

/* ----- Section padding (much more generous) ----- */
.crucible-section {
  padding-block: clamp(5rem, 10vh, 9rem);
}
.crucible-section--tight {
  padding-block: clamp(3rem, 6vh, 5rem);
}

/* ----- Buttons: outline variant ----- */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--c-text);
  border: 1px solid rgba(255,255,255,0.18);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--c-warm);
  color: var(--c-warm);
}

/* ----- Logo wordmark ----- */
.crucible-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
}
.crucible-mark svg { display: block; }

/* ----- Marquee tag list ----- */
.crucible-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.crucible-tags > span {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  color: var(--c-text);
  background: rgba(255,255,255,0.018);
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* ----- Bullet rows: large readable list ----- */
.crucible-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.crucible-bullets > li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  align-items: baseline;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-text);
}
.crucible-bullets > li::before {
  content: "";
  display: block;
  width: 14px;
  height: 1px;
  background: var(--c-warm);
  margin-top: 0.85em;
}
.crucible-bullets.is-flux > li::before {
  background: #0EA5E9;
}

/* ----- "Is / Is not" comparison ----- */
.crucible-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.4rem;
}
@media (max-width: 760px) {
  .crucible-compare { grid-template-columns: 1fr; }
}
.crucible-compare > div {
  padding: 2.6rem;
  border-radius: 18px;
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0));
  box-shadow: var(--crucible-ring);
}
.crucible-compare h3 {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.4rem 0;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
}
.crucible-compare h3 span {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--c-line);
}
.crucible-compare .yes h3 span { color: #0EA5E9; border-color: rgba(0,229,153,0.3); }
.crucible-compare .no  h3 span { color: var(--c-dim); }
.crucible-compare ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.crucible-compare li {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-text);
}
.crucible-compare .no li {
  color: var(--c-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.18);
  text-decoration-thickness: 1px;
}

/* ----- The Model: 3 phases — horizontal timeline ----- */
.crucible-phases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2.4rem;
  counter-reset: phase;
}
.crucible-phases .phase {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 2.4rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--c-line);
}
.crucible-phases .phase:last-child {
  border-bottom: none;
}
.crucible-phases .phase .step {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-warm);
  padding-top: 0.3rem;
}
.crucible-phases .phase .phase-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.crucible-phases .phase h3 {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.crucible-phases .phase ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.crucible-phases .phase li {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.crucible-phases .phase li::before {
  content: "";
  width: 8px;
  height: 1px;
  background: var(--c-warm);
  flex-shrink: 0;
  margin-top: 0.7em;
}
@media (max-width: 640px) {
  .crucible-phases .phase {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* ----- Flywheel: 6-step grid ----- */
.crucible-flywheel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
@media (max-width: 900px) {
  .crucible-flywheel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .crucible-flywheel { grid-template-columns: 1fr; }
}
.crucible-flywheel .node {
  padding: 1.8rem 1.6rem;
  border-radius: 14px;
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.018), transparent);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 130px;
}
.crucible-flywheel .node .n {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  color: var(--c-warm);
  letter-spacing: 0.2em;
}
.crucible-flywheel .node .t {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text);
}

/* ----- Numbered milestone strip (legacy, used on /the-system) ----- */
.crucible-milestones {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
@media (max-width: 1100px) {
  .crucible-milestones { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .crucible-milestones { grid-template-columns: 1fr 1fr; }
}
.crucible-milestones .step {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: 14px;
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.018), transparent);
  min-height: 130px;
}
.crucible-milestones .step .n {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  color: var(--c-warm);
  letter-spacing: 0.18em;
}
.crucible-milestones .step .t {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0.5rem;
  line-height: 1.25;
  color: var(--c-text);
}

/* ----- Two-team strip (homepage) ----- */
.crucible-teams-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.4rem;
}
@media (max-width: 800px) {
  .crucible-teams-strip { grid-template-columns: 1fr; }
}
.crucible-teams-strip .team {
  padding: 2.4rem;
  border-radius: 18px;
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0));
}
.crucible-teams-strip .team .who {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-dim);
  margin-bottom: 0.8rem;
}
.crucible-teams-strip .team h3 {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.8rem 0;
}
.crucible-teams-strip .team p {
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0 0 1.4rem 0;
  font-size: 0.98rem;
}
.crucible-teams-strip .team .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--c-line);
  padding-top: 1.2rem;
}
.crucible-teams-strip .team .row .num {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-text);
  line-height: 1;
}
.crucible-teams-strip .team .row .label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-dim);
  margin-top: 0.4rem;
  display: block;
}

/* ----- Timeline rows (reusable label | content pattern) ----- */
.crucible-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2.4rem;
}
.crucible-rows .row-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 2.4rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--c-line);
}
.crucible-rows .row-item:first-child {
  border-top: 1px solid var(--c-line);
}
.crucible-rows .row-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-warm);
  padding-top: 0.25rem;
}
.crucible-rows .row-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.crucible-rows .row-body h3 {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}
.crucible-rows .row-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}
.crucible-rows .row-body li {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.crucible-rows .row-body li::before {
  content: "";
  width: 8px;
  height: 1px;
  background: var(--c-warm);
  flex-shrink: 0;
  margin-top: 0.7em;
}
@media (max-width: 640px) {
  .crucible-rows .row-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* ----- "Produces" two-column ----- */
.crucible-produces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.4rem;
}
@media (max-width: 800px) {
  .crucible-produces { grid-template-columns: 1fr; }
}
.crucible-produces .col {
  padding: 2.6rem;
  border-radius: 18px;
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0));
}
.crucible-produces .col h3 {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem 0;
}
.crucible-produces .col .sub {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-warm);
  margin: 0 0 1.6rem 0;
}
.crucible-produces .col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.crucible-produces .col li {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.05rem;
  color: var(--c-text);
  line-height: 1.45;
  padding-left: 1.2rem;
  position: relative;
}
.crucible-produces .col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--c-warm);
}

/* ============================================================
   NAV — fully custom, no WP navigation block
   ============================================================ */
.crucible-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.55rem clamp(1.2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Desktop nav */
.crucible-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.crucible-nav a {
  font-family: var(--wp--preset--font-family--display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 150ms;
}
.crucible-nav a:hover {
  color: var(--c-warm);
}
.crucible-nav-cta {
  background: var(--c-text);
  color: var(--c-bg) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600 !important;
}
.crucible-nav-cta:hover {
  background: #fff;
  color: var(--c-bg) !important;
}

/* Burger — hidden on desktop */
.crucible-burger {
  display: none;
  background: none;
  border: none;
  color: var(--c-text);
  cursor: pointer;
  padding: 0.3rem;
}

/* Mobile */
@media (max-width: 860px) {
  .crucible-burger {
    display: flex;
    align-items: center;
  }

  .crucible-nav {
    display: none;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 999999;
    background: #0A0C10;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 2rem 3rem;
    gap: 0.8rem;
    overflow-y: auto;
    margin: 0 !important;
  }
  .crucible-nav.is-open {
    display: flex;
  }
  .crucible-nav a {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    padding: 0.5rem 0;
    width: 100%;
  }
  .crucible-nav-cta {
    margin-top: 1.4rem;
    font-size: 1.1rem !important;
    padding: 0.7rem 1.6rem;
    width: auto !important;
  }

  /* Burger must stay above the overlay */
  .crucible-burger {
    position: relative;
    z-index: 1000000;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.crucible-footer {
  border-top: 1px solid var(--c-line);
  padding: 5rem 0 2.5rem;
}
.crucible-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}
.crucible-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.crucible-footer-brand p {
  color: var(--c-dim);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0.8rem 0 0;
  max-width: 320px;
}
.crucible-footer-col h6 {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-warm);
  margin: 0 0 1rem;
}
.crucible-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.crucible-footer-col a {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 150ms;
}
.crucible-footer-col a:hover {
  color: var(--c-text);
}
.crucible-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--c-line);
}
.crucible-footer-bottom p {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-dim);
  margin: 0;
}

@media (max-width: 800px) {
  .crucible-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
  }
  .crucible-footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .crucible-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   GLOBAL MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  /* Header nav collapses */
  .crucible-header .wp-block-group {
    flex-wrap: wrap;
  }

  /* Hero headline sizing */
  .crucible-hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  /* Sections: tighter padding */
  .crucible-section {
    padding-block: clamp(3rem, 6vh, 5rem);
  }

  /* Timeline rows: stack label above content */
  .crucible-rows .row-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .crucible-rows .row-label {
    font-size: 0.68rem;
  }
  .crucible-rows .row-body h3 {
    font-size: 1.15rem;
  }

  /* Phases: stack label above */
  .crucible-phases .phase {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  /* Compare: stack */
  .crucible-compare {
    grid-template-columns: 1fr;
  }

  /* Bullets: tighter */
  .crucible-bullets > li {
    grid-template-columns: 20px 1fr;
    font-size: 1rem;
  }

  /* Stat grid: 2 col */
  .crucible-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Pullquotes: smaller */
  .page-pullquote p,
  .sys-pullquote p {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    padding-left: 1.4rem;
  }

  /* Layer cards */
  .page-layer {
    padding: 1.6rem 1.6rem 1.6rem 1.8rem;
  }
  .page-layer-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* Teams strip */
  .crucible-teams-strip {
    grid-template-columns: 1fr;
  }
  .crucible-teams-strip .team .row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* Produces */
  .crucible-produces {
    grid-template-columns: 1fr;
  }

  /* Flywheel */
  .crucible-flywheel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .crucible-stat-grid {
    grid-template-columns: 1fr;
  }
  .crucible-flywheel {
    grid-template-columns: 1fr;
  }
  .crucible-teams-strip .team .row {
    grid-template-columns: 1fr 1fr;
  }
  .page-layer-stats {
    grid-template-columns: 1fr 1fr;
  }
  .sys-layer-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ----- Editor parity ----- */
.editor-styles-wrapper {
  background-color: var(--c-bg) !important;
  color: var(--c-text);
}
