/* ===========================================================
   FONT FACES — bundled locally, no CDN dependency
   =========================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Inter-700.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Manrope-300.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Manrope-400.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Manrope-500.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Manrope-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/Manrope-800.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-700.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/JetBrainsMono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/JetBrainsMono-500.woff2") format("woff2");
}

/* ===========================================================
   S.E.R.T.A. — IBVC
   Visual identity faithful to the original e-book:
   navy + red accents, clean sans typography, editorial layout
   =========================================================== */

:root {
  /* Color tokens — calibrated to match the PDF */
  --paper:        #FAFAF7;
  --paper-2:      #F2EDE3;
  --paper-3:      #EBE6D9;
  --ink:          #1A1F3A;       /* deep navy from PDF */
  --ink-2:        #2A2F4A;
  --ink-soft:     #3D4263;
  --muted:        #6B6F85;
  --muted-2:      #9A9DA8;
  --rule:         #E2DFD6;
  --rule-2:       #D4D0C2;
  --red:          #E63946;       /* PDF accent red */
  --red-deep:     #C42D3A;
  --red-soft:     #FBE4E5;
  --gold:         #D4A958;       /* used sparingly for callouts */

  /* Quadrant accents */
  --q1-c:         #5B7CB8;       /* blue-soft for Tech Touch */
  --q2-c:         #8B6F95;       /* mauve for Close Attention */
  --q3-c:         #C9874A;       /* warm orange for Product Innovation */
  --q4-c:         #6B6F85;       /* gray for Aggressive Expansion */

  /* Typography */
  --display:      "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --body:         "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:         "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Layout */
  --container:    1200px;
  --container-narrow: 880px;
  --radius:       6px;
  --radius-lg:    14px;

  /* Motion */
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ol, ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }
::selection { background: var(--red); color: #fff; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--rule); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--rule-2);
}
.brand-name {
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width .25s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 60px 0 auto 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 24px 32px;
    gap: 18px;
    transform: translateY(-150%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
    align-items: flex-start;
    box-shadow: 0 8px 24px -8px rgba(26,31,58,0.08);
  }
  .site-nav.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .35s var(--ease), visibility 0s linear 0s;
  }
  .nav-toggle { display: flex; }
  .brand-name { display: none; }
  .brand-divider { display: none; }
}

/* ===========================================================
   COVER (hero faithful to p1/p2)
   =========================================================== */
.cover {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(180deg, #0F1325 0%, #1A1F3A 50%, #2A2F4A 100%);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 60px;
  display: flex;
  align-items: center;
}

.cover-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cover-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 60% 60%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 10% 50%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 70% 40%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 45% 85%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 5% 15%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 95% 50%, rgba(255,255,255,0.6), transparent);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: starsTwinkle 8s ease-in-out infinite alternate;
}

@keyframes starsTwinkle {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

.cover-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cover-eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  font-weight: 500;
}

.cover-title {
  margin: 0 0 32px;
  font-family: var(--display);
  font-weight: 400;
}

.serta-letters {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(48px, 11vw, 132px);
  letter-spacing: 0.02em;
  color: #fff;
  font-weight: 300;
}
.serta-letters span:not(.dot) {
  display: inline-block;
  padding: 0 0.04em;
}
.serta-letters .dot {
  font-size: 0.7em;
  color: var(--red);
  margin: 0 -0.05em;
  position: relative;
  top: -0.05em;
}

.cover-acronym {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 24px 0 56px;
  flex-wrap: wrap;
}
.cover-acronym > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cover-acronym .al {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  color: var(--red);
  letter-spacing: 0.05em;
}
.cover-acronym .aw {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.cover-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 40px;
}
.cf-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.cf-brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.01em;
}

.cover-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--red);
  color: #fff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background .2s var(--ease), transform .25s var(--ease);
}
.cover-cta:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}
.cover-cta svg { transition: transform .25s var(--ease); }
.cover-cta:hover svg { transform: translateY(3px); }

@media (max-width: 720px) {
  .cover-acronym { gap: 18px; }
}

/* ===========================================================
   SECTION BASE
   =========================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.page-marker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.pm-num {
  background: var(--red);
  color: #fff;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

.section-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 24px;
}
.section-h-light { color: #fff; }

.section-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 640px;
}

.sub-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 56px 0 20px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.sub-num {
  font-family: var(--mono);
  color: var(--red);
  font-size: 0.7em;
  font-weight: 500;
  flex-shrink: 0;
}

.micro-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  margin: 32px 0 16px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.prose-block {
  max-width: 760px;
  margin-bottom: 32px;
}
.prose-block p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 1.1em;
}
.prose-block .lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 1.4em;
}
.prose-cta {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
}

/* ===========================================================
   INTRO (p3)
   =========================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

.intro-text .signature {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--red);
  margin-top: 32px;
}

.intro-image {
  position: sticky;
  top: 100px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(15,19,37,0.35), 0 1px 0 rgba(255,255,255,0.05) inset;
}
.intro-art {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 880px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-image { display: none; }
}

/* ===========================================================
   OBJECTIVES CIRCLE (p5)
   =========================================================== */
.section-objectives {
  background: var(--paper);
  padding-top: 80px;
  padding-bottom: 120px;
}

.objectives-circle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr auto 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 80px auto 0;
  min-height: 580px;
}

.obj-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  position: relative;
  z-index: 2;
}
.obj-tl { grid-column: 1; grid-row: 1; text-align: right; flex-direction: row-reverse; }
.obj-tr { grid-column: 3; grid-row: 1; text-align: left; }
.obj-bl { grid-column: 1; grid-row: 3; text-align: right; flex-direction: row-reverse; align-self: end; }
.obj-br { grid-column: 3; grid-row: 3; text-align: left; align-self: end; }

.obj-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #fff;
  border: 1.5px solid var(--rule-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.obj-icon svg { width: 100%; height: 100%; }

.obj-item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
  padding-top: 6px;
}

.obj-center {
  grid-column: 2;
  grid-row: 2;
  width: 280px;
  height: 280px;
  position: relative;
  align-self: center;
  justify-self: center;
}
.oc-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #0F1325 0%, #1A1F3A 60%, #C42D3A 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px -8px rgba(26,31,58,0.4);
}
.oc-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 30%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(230,57,70,0.4), transparent 50%);
}

/* connecting circle (decorative) */
.objectives-circle::before {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  border: 1px solid var(--red);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 880px) {
  .objectives-circle {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
    min-height: auto;
  }
  .objectives-circle::before { display: none; }
  .obj-tl, .obj-tr, .obj-bl, .obj-br {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
    flex-direction: row;
    align-self: auto;
  }
  .obj-center { display: none; }
}

/* ===========================================================
   ABOUT (p6 adapted)
   =========================================================== */
.section-about {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.about-banner {
  background: var(--red);
  color: #fff;
  padding: 48px 56px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.about-banner::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 240px;
  height: 240px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
  border-radius: 50%;
}
.about-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 44px);
  margin: 0;
  letter-spacing: -0.01em;
}

.about-grid {
  background: #fff;
  padding: 48px 56px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border: 1px solid var(--rule);
  border-top: none;
}
.about-text p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 1.2em;
  max-width: 840px;
}
.about-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  margin: 32px 0 16px;
  color: var(--ink);
}
.about-cta {
  font-weight: 600;
  color: var(--red);
  font-size: 17px;
  margin-top: 16px;
}

@media (max-width: 720px) {
  .about-banner, .about-grid { padding: 32px 24px; }
}

/* ===========================================================
   LEVEL HEROES
   =========================================================== */
.level-section {
  padding: 0 0 100px;
}

.level-hero {
  background: linear-gradient(180deg, #0F1325 0%, #1A1F3A 100%);
  color: #fff;
  padding: 120px 0 100px;
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.level-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 50% 50%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 25% 80%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 75% 30%, rgba(255,255,255,0.7), transparent);
  pointer-events: none;
}

.level-1-hero { background: linear-gradient(160deg, #4A1424 0%, #1A1F3A 70%, #0F1325 100%); }
.level-2-hero { background: linear-gradient(160deg, #1A2940 0%, #2A4A75 50%, #1A1F3A 100%); }
.level-3-hero { background: linear-gradient(160deg, #4A1424 0%, #2A1F3A 50%, #C9874A 100%); }
.level-4-hero { background: linear-gradient(160deg, #0F1325 0%, #1A1F3A 50%, #2A2F4A 100%); }

.lh-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 56px);
  color: #fff;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.lh-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  color: rgba(255,255,255,0.85);
  margin: 8px 0 0;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
}

/* ===========================================================
   CALLOUTS
   =========================================================== */
.callout {
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  margin: 32px 0;
  max-width: 840px;
  position: relative;
}
.callout-large {
  max-width: none;
  font-size: 17px;
}
.callout p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
.callout p + p { margin-top: 0.8em; }

.callout-dark {
  background: var(--ink);
  color: rgba(255,255,255,0.92);
}
.callout-red {
  background: var(--red);
  color: #fff;
}
.callout-warn {
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.callout-warn p {
  color: var(--ink-2);
}

.co-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
.co-icon svg { width: 100%; height: 100%; }

.co-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  font-weight: 500;
}
.callout-dark .co-eyebrow {
  color: var(--red);
}

.callout-target {
  background: #fff;
  border: 1px solid var(--rule);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 8px 24px -12px rgba(0,0,0,0.08);
}
.callout-tip {
  margin-top: 24px;
}

/* ===========================================================
   LEVEL 1 SPECIFIC
   =========================================================== */
.profiles-list {
  display: grid;
  gap: 8px;
  max-width: 640px;
  margin: 32px 0;
  border-top: 1px solid var(--rule);
  padding-top: 8px;
}
.profiles-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background .2s var(--ease);
}
.profiles-list li:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; margin: 0 -12px; }

.prof-n {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--red);
  flex-shrink: 0;
  width: 28px;
}
.prof-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  flex: 1;
  letter-spacing: -0.005em;
}

.prof-winner {
  background: linear-gradient(90deg, transparent, rgba(230,57,70,0.05));
  border-bottom-color: var(--red) !important;
}
.prof-winner .prof-n { color: var(--red); }
.prof-winner .prof-name { color: var(--red-deep); font-weight: 600; }
.prof-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(230,57,70,0.08);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}

.capabilities-block {
  background: var(--ink);
  color: #fff;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.cap-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: #fff;
}
.cap-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}
.capabilities-list {
  display: grid;
  gap: 16px;
}
.capabilities-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.capabilities-list li:last-child { border-bottom: none; }
.cap-n {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}
.cap-txt {
  font-size: 15px;
  color: rgba(255,255,255,0.92);
}

@media (max-width: 720px) {
  .capabilities-block { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
}

.trait-block {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  margin-top: 24px;
}
.trait-marker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
}
.trait-content {
  flex: 1;
  max-width: 760px;
}
.trait-content h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.trait-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 1em;
}

/* ===========================================================
   LEVEL 2 SPECIFIC
   =========================================================== */
.cs-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 32px;
  max-width: 760px;
}
.cs-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.cs-mark {
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.5;
}

/* ---- 4 markets matrix (faithful to p17-18) ---- */
.markets-matrix {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: 1fr 24px 24px;
  gap: 0;
  margin: 40px 0 24px;
  max-width: 880px;
  position: relative;
}

.mm-axis-y {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 600;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.mm-axis-y-labels {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 48px;
  width: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 0;
  pointer-events: none;
  z-index: 4;
}
.mm-yt, .mm-yb {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  background: var(--paper);
  padding: 4px 2px;
}

.mm-grid {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  background: var(--ink);
  border: 1px solid var(--ink);
  position: relative;
  aspect-ratio: 1.4 / 1;
  overflow: hidden;
}

.mm-cell {
  background: transparent;
  color: rgba(255,255,255,0.9);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 3;
}

.mm-num {
  position: absolute;
  font-family: var(--display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: rgba(255,255,255,0.18);
  top: 12px;
  right: 16px;
  z-index: 3;
}

.mm-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #fff;
  position: relative;
  z-index: 4;
}
.mm-market {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  position: relative;
  z-index: 4;
}
.mm-centric {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  position: relative;
  z-index: 4;
}

/* The 3 colored bubbles overlay (per p17) */
.mm-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.bub {
  position: absolute;
  border-radius: 50%;
}
.bub-vfm {
  width: 30%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, rgba(140,180,235,0.45), rgba(91,124,184,0.20) 50%, rgba(91,124,184,0) 75%);
  bottom: 8%;
  left: 6%;
}
.bub-ts {
  width: 40%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, rgba(255,150,160,0.40), rgba(230,57,70,0.18) 50%, rgba(230,57,70,0) 75%);
  top: 18%;
  left: 27%;
}
.bub-ip {
  width: 26%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, rgba(250,215,150,0.45), rgba(212,169,88,0.20) 50%, rgba(212,169,88,0) 75%);
  top: 10%;
  right: 8%;
}

.mm-axis-x-labels {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.mm-axis-x {
  grid-column: 2;
  grid-row: 3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
}

.markets-legend {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  max-width: 880px;
  padding: 24px;
  background: var(--paper-2);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}
.markets-legend li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.lg-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.lg-vfm { background: rgba(91,124,184,0.55); border: 1px solid rgba(91,124,184,0.8); }
.lg-ts  { background: rgba(230,57,70,0.45); border: 1px solid rgba(230,57,70,0.8); }
.lg-ip  { background: rgba(212,169,88,0.55); border: 1px solid rgba(212,169,88,0.8); }

@media (max-width: 720px) {
  .markets-matrix { grid-template-columns: 32px 1fr; }
  .mm-grid { aspect-ratio: 1 / 1; }
  .mm-cell { padding: 16px 14px; }
  .mm-name { font-size: 11px; }
  .mm-market { font-size: 11px; }
  .mm-centric { font-size: 10px; }
  .mm-num { font-size: 36px; top: 4px; right: 8px; }
  .mm-axis-y-labels { display: none; }
}

/* ---- Parts stack (1-4) ---- */
.parts-stack {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.part-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  background: #fff;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.part-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(26,31,58,0.12);
}

.part-head {
  padding: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  border-bottom: 1px solid var(--rule);
}
.part-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 600;
}
.part-1 .part-tag { background: var(--q1-c); }
.part-2 .part-tag { background: var(--q2-c); }
.part-3 .part-tag { background: var(--q3-c); }
.part-4 .part-tag { background: var(--q4-c); }

.part-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.005em;
  flex: 1;
  min-width: 200px;
}
.part-quad {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.part-body {
  padding: 28px 32px;
}
.part-body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 1em;
  max-width: 800px;
}

.part-example {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: 3px solid var(--red);
}
.ex-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}
.ex-eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}
.ex-eyebrow .em-red {
  color: var(--red);
}
.part-example p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.part-note {
  background: var(--paper-3);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14.5px !important;
  color: var(--ink-2);
  border-left: 3px solid var(--ink);
  margin: 20px 0 0 !important;
}

.tip {
  background: rgba(212,169,88,0.12);
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  margin-top: 20px !important;
}

@media (max-width: 720px) {
  .part-head { padding: 16px 20px; }
  .part-body { padding: 20px; }
}

/* ===========================================================
   LEVEL 3 — 4 Quadrants Diagram (faithful to p24/p28)
   =========================================================== */
.quadrants-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  max-width: 760px;
  margin: 56px auto;
  aspect-ratio: 1.25 / 1;
  position: relative;
  background: #0F1325;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 24px 60px -20px rgba(15,19,37,0.45);
}

.quadrants-diagram::before,
.quadrants-diagram::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.12);
  z-index: 1;
  pointer-events: none;
}
.quadrants-diagram::before {
  /* horizontal divider */
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}
.quadrants-diagram::after {
  /* vertical divider */
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.qd-cell {
  position: relative;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  color: #fff;
}

/* Edge tags (Q1, Q2, Q3, Q4) — elegant pill labels outside the diagram */
.qd-edge {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--rule-2);
  z-index: 4;
  box-shadow: 0 2px 8px -2px rgba(15,19,37,0.15);
}
.qd-edge-l {
  left: -16px;
  top: 24px;
  transform: translateX(-100%);
}
.qd-edge-r {
  right: -16px;
  top: 24px;
  transform: translateX(100%);
}

/* Vertical phase labels (EXECUÇÃO, PLANEJAMENTO, FINALIZAÇÃO, INICIAÇÃO) */
.qd-side {
  position: absolute;
  top: 50%;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.qd-q3 .qd-side { left: 16px; transform: translateY(-50%) rotate(180deg); }
.qd-q4 .qd-side { left: 16px; transform: translateY(-50%) rotate(180deg); }
.qd-q2 .qd-side { right: 16px; transform: translateY(-50%); }
.qd-q1 .qd-side { right: 16px; transform: translateY(-50%); }

/* CV/D/M values stacked — using Inter for clean lining tabular figures (esp. "1") */
.qd-vals {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Color per quadrant — matches PDF */
.qd-q3 .qd-vals { color: #E89855; }   /* warm orange (Execução) */
.qd-q2 .qd-vals { color: rgba(255,255,255,0.55); } /* dim (Planejamento) */
.qd-q4 .qd-vals { color: #E63946; }   /* red (Finalização) */
.qd-q1 .qd-vals { color: #ffffff; }   /* bright white (Iniciação) */

/* Position vals in OUTER corner of each cell (away from center) */
.qd-q3 .qd-vals { align-self: flex-start; padding-left: 32px; }
.qd-q2 .qd-vals { align-self: flex-end; padding-right: 32px; text-align: right; }
.qd-q4 .qd-vals { align-self: flex-start; padding-left: 32px; margin-top: auto; }
.qd-q1 .qd-vals { align-self: flex-end; padding-right: 32px; text-align: right; margin-top: auto; }

/* ----- Mapped version (Level 4) — letters T/R/A/SE ----- */
.qd-mapped .qd-vals-min {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  flex-direction: row;
  gap: 8px;
  white-space: nowrap;
}
/* CV·D·M small label sits at outermost corner of each cell */
.qd-mapped .qd-q3 .qd-vals-min { align-self: flex-start; padding-left: 36px; }
.qd-mapped .qd-q2 .qd-vals-min { align-self: flex-end; padding-right: 36px; }
.qd-mapped .qd-q4 .qd-vals-min { align-self: flex-start; padding-left: 36px; margin-top: auto; }
.qd-mapped .qd-q1 .qd-vals-min { align-self: flex-end; padding-right: 36px; margin-top: auto; }

/* The big letter — positioned toward center divider, balanced against the controle circle */
.qd-letter {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(72px, 10vw, 116px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.qd-letter-t  { color: #E89855; bottom: 14%; }
.qd-letter-r  { color: rgba(255,255,255,0.55); bottom: 14%; }
.qd-letter-a  { color: #E63946; top: 14%; }
.qd-letter-se { color: #ffffff; top: 14%; letter-spacing: -0.06em; }

/* Center circle "Controle" */
.qd-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6B8FCF 0%, #4A6BA0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  border: 4px solid #0F1325;
}
.qd-c-label {
  font-family: var(--display);
  font-weight: 600;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 2;
}
.qd-arrows {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  z-index: 1;
}

@media (max-width: 720px) {
  .quadrants-diagram { aspect-ratio: 1 / 1; max-width: 420px; }
  .qd-cell { padding: 20px 22px; }
  .qd-vals { font-size: 22px; }
  .qd-q3 .qd-vals, .qd-q4 .qd-vals { padding-left: 20px; }
  .qd-q2 .qd-vals, .qd-q1 .qd-vals { padding-right: 20px; }
  .qd-letter { font-size: 56px; }
  .qd-letter-se { font-size: 50px; }
  .qd-letter-t, .qd-letter-r { bottom: 18%; }
  .qd-letter-a, .qd-letter-se { top: 18%; }
  .qd-center { width: 76px; height: 76px; border-width: 3px; }
  .qd-c-label { font-size: 11px; }
  .qd-edge { font-size: 10px; padding: 4px 9px; top: 14px; }
  .qd-edge-l { left: -10px; }
  .qd-edge-r { right: -10px; }
  .qd-side { font-size: 9px; letter-spacing: 0.16em; }
  .qd-q3 .qd-side, .qd-q4 .qd-side { left: 10px; }
  .qd-q2 .qd-side, .qd-q1 .qd-side { right: 10px; }
  .qd-mapped .qd-vals-min { font-size: 9px; letter-spacing: 0.14em; }
  .qd-mapped .qd-q3 .qd-vals-min, .qd-mapped .qd-q4 .qd-vals-min { padding-left: 24px; }
  .qd-mapped .qd-q2 .qd-vals-min, .qd-mapped .qd-q1 .qd-vals-min { padding-right: 24px; }
}

/* ===========================================================
   LEVEL 4 — SERTA banner & stages
   =========================================================== */
.serta-banner {
  background: var(--ink);
  color: #fff;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  margin: 32px 0 48px;
  overflow: hidden;
}

.sb-row.sb-letters {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0;
  margin-bottom: 24px;
}
.sb-l {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--red);
  letter-spacing: 0.04em;
  padding: 0 6px;
}
.sb-d {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  color: #fff;
  margin: 0 -4px;
  position: relative;
  top: -0.05em;
}

.sb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.sb-cell {
  text-align: center;
  padding: 16px 8px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.sb-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.sb-pt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.sb-crm {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.sb-pct {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--red);
}

@media (max-width: 720px) {
  .sb-grid { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .sb-cell { padding: 12px 2px 0; }
  .sb-name { font-size: 11px; }
  .sb-pt { font-size: 10px; letter-spacing: 0.04em; }
  .sb-crm { font-size: 10px; }
  .sb-pct { font-size: 11px; }
}

/* ---- SERTA stages ---- */
.stage {
  margin: 80px 0;
  padding-top: 48px;
  border-top: 2px solid var(--ink);
}

.stage-head {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.stage-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--red);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.stage-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stage-h em {
  font-style: italic;
  color: var(--red);
  font-weight: 600;
}

/* mini quadrant nav (the small thumbnail per stage) */
.stage-mini-quad {
  display: grid;
  grid-template-columns: 36px 36px;
  grid-template-rows: 36px 36px;
  gap: 2px;
  flex-shrink: 0;
  background: var(--ink);
  padding: 2px;
  border-radius: 4px;
}
.smq {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.smq.active {
  background: var(--red);
  color: #fff;
}
.smq-q3 { grid-column: 1; grid-row: 1; }
.smq-q2 { grid-column: 2; grid-row: 1; }
.smq-q4 { grid-column: 1; grid-row: 2; }
.smq-q1 { grid-column: 2; grid-row: 2; }

/* Stage banner — the big colored block with the stage name */
.stage-banner {
  background: var(--ink);
  color: #fff;
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  margin: 24px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stage-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(91,124,184,0.4), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(91,124,184,0.3), transparent 60%);
  pointer-events: none;
}
.stage-banner-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.stage-banner-start, .stage-banner-explore { background: linear-gradient(135deg, #1A1F3A, #2A4A75); }
.stage-banner-refine { background: linear-gradient(135deg, #2A4A75, #1A1F3A); }
.stage-banner-transform { background: linear-gradient(135deg, #4A1424, #2A1F3A); }
.stage-banner-agree { background: linear-gradient(135deg, #1A1F3A, #4A1424); }

.stage-q {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin: 32px 0 16px;
  letter-spacing: -0.005em;
}

.activities-list {
  counter-reset: act;
  display: grid;
  gap: 0;
  margin: 24px 0;
  max-width: 880px;
  border-top: 1px solid var(--rule);
}
.activities-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  transition: background .2s var(--ease), padding .2s var(--ease);
}
.activities-list li:hover {
  background: var(--paper-2);
  padding-left: 12px;
  padding-right: 12px;
  margin: 0 -12px;
  border-bottom-color: var(--rule-2);
}
.al-n {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--red);
  flex-shrink: 0;
  width: 28px;
  letter-spacing: 0.05em;
  padding-top: 2px;
}

.dont-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin: 16px 0 32px;
  max-width: 760px;
}
.dont-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: var(--red-soft);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--ink-2);
  border-left: 3px solid var(--red);
}
.dx {
  font-family: var(--mono);
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .dont-list { grid-template-columns: 1fr; }
  .stage-head { flex-direction: column; gap: 16px; }
}

.closing-note {
  background: var(--ink);
  color: rgba(255,255,255,0.95);
  padding: 32px 40px;
  border-radius: var(--radius-lg);
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.closing-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
}
.closing-note p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 1em;
}
.closing-note p:last-child { margin-bottom: 0; }
.closing-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px !important;
  font-weight: 500;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  margin-top: 20px !important;
}

/* ===========================================================
   OVERVIEW (p43-44)
   =========================================================== */
.section-overview {
  background: linear-gradient(180deg, #1A1F3A 0%, #0F1325 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 50% 50%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 75% 25%, rgba(255,255,255,0.7), transparent);
  pointer-events: none;
}

.section-overview .page-marker {
  color: var(--red);
  border-bottom-color: rgba(255,255,255,0.2);
}

.overview-block {
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.overview-block .lead {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 1.4em;
}
.overview-block p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.2em;
}
.overview-block .finale {
  background: rgba(230,57,70,0.15);
  border-left: 3px solid var(--red);
  padding: 24px 28px;
  border-radius: var(--radius);
  font-size: 17px;
  line-height: 1.65;
  color: #fff;
  margin-top: 32px;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  background: var(--paper-2);
  padding: 64px 0 32px;
  border-top: 1px solid var(--rule);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-2);
}

.footer-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--ink);
}
.footer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}
.footer-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}

.footer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.fm-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  font-weight: 600;
}
.fm-block p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-meta { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ===========================================================
   REVEAL ANIMATIONS
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

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