/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #0f2744;
  --navy2: #1a3a5c;
  --teal: #0a8f8e;
  --teal2: #12b5b4;
  --gold: #c9860a;
  --gold2: #e6a020;
  --cream: #f5f0e8;
  --light: #eef3f9;
  --muted: #6b7e99;
  --text: #1e2d42;
  --white: #ffffff;
  --border: rgba(26, 58, 92, 0.12);
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--teal2);
  color: #fff;
}

/* ── Utility ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 96px 0;
}
.section--alt {
  background: var(--light);
}
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--cream {
  background: var(--cream);
}
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}
.tag--teal {
  background: rgba(10, 143, 142, 0.12);
  color: var(--teal);
}
.tag--gold {
  background: rgba(201, 134, 10, 0.12);
  color: var(--gold);
}
.tag--navy {
  background: rgba(15, 39, 68, 0.08);
  color: var(--navy2);
}
.tag--white {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
}
.eyebrow--gold {
  color: var(--gold2);
}
.eyebrow--muted {
  color: var(--muted);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title--white {
  color: var(--white);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}
.section-sub--white {
  color: rgba(255, 255, 255, 0.7);
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 20px 0 40px;
}
.divider--gold {
  background: var(--gold);
}
.divider--white {
  background: rgba(255, 255, 255, 0.4);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--teal2);
  border-color: var(--teal2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(10, 143, 142, 0.28);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy2);
}
.btn--outline:hover {
  background: var(--navy);
  color: #fff;
}
.btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold2);
  border-color: var(--gold2);
  transform: translateY(-1px);
}
.btn--ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 39, 68, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo-badge {
  background: var(--teal);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav__cta {
  margin-left: 8px;
}

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 50%,
      rgba(10, 143, 142, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 80% at 10% 80%,
      rgba(201, 134, 10, 0.06) 0%,
      transparent 60%
    );
}
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal2);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__kicker::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--teal2);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 12px;
}
.hero__title em {
  color: var(--teal2);
  font-style: italic;
}
.hero__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 32px;
  font-style: italic;
  line-height: 1.6;
}
.hero__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero__meta {
  display: flex;
  gap: 40px;
}
.hero__stat-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--teal2);
  line-height: 1;
}
.hero__stat-lbl {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero__book-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.hero__book-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(10, 143, 142, 0.18) 0%,
    transparent 70%
  );
}
.hero__book-cover {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--navy2) 0%, #0a2040 100%);
  border-radius: 12px;
  margin-bottom: 28px;
  position: relative;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
}
.hero__book-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(255, 255, 255, 0.015) 30px,
      rgba(255, 255, 255, 0.015) 31px
    ),
    linear-gradient(
      180deg,
      rgba(10, 143, 142, 0.15) 0%,
      transparent 50%,
      rgba(201, 134, 10, 0.1) 100%
    );
}
.book-cover__accent {
  width: 40px;
  height: 3px;
  background: var(--teal2);
  border-radius: 2px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.book-cover__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.book-cover__sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  font-style: italic;
}
.book-cover__authors {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  text-align: right;
}
.book-cover__lab {
  font-size: 0.68rem;
  color: var(--teal2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}
.hero__book-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.hero__book-info strong {
  color: rgba(255, 255, 255, 0.85);
}

/* ══════════════════════════════════════════════════
   QUICK-START
══════════════════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.step__num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  border: 2px solid;
  position: relative;
  background: var(--white);
}
.step__num--1 {
  color: var(--teal);
  border-color: var(--teal);
}
.step__num--2 {
  color: var(--navy2);
  border-color: var(--navy2);
}
.step__num--3 {
  color: var(--gold);
  border-color: var(--gold);
}
.step__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.step__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   LABS
══════════════════════════════════════════════════ */
.labs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.lab-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}
.lab-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 143, 142, 0.05) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.lab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 39, 68, 0.12);
  border-color: var(--teal);
}
.lab-card:hover::before {
  opacity: 1;
}
.lab-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lab-card__num::before {
  content: attr(data-num);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--light);
  color: var(--navy2);
  font-weight: 600;
  font-size: 13px;
}
.lab-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.lab-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.lab-card__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.lab-card__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.lab-card__tool {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  background: var(--light);
  border-radius: 4px;
  color: var(--teal);
}
.lab-card__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 14px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s;
}
.lab-card:hover .lab-card__arrow {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════
   TOOLS DIRECTORY
══════════════════════════════════════════════════ */
.tools-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--white);
  color: var(--muted);
  transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  transition: all 0.25s;
  cursor: default;
}
.tool-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 28px rgba(10, 143, 142, 0.1);
}
.tool-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.tool-card__name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}
.tool-card__pricing {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.tool-card__pricing--free {
  background: rgba(10, 143, 142, 0.1);
  color: var(--teal);
}
.tool-card__pricing--paid {
  background: rgba(201, 134, 10, 0.1);
  color: var(--gold);
}
.tool-card__pricing--freemium {
  background: rgba(26, 58, 92, 0.08);
  color: var(--navy2);
}
.tool-card__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 12px;
}
.tool-card__labs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tool-card__lab {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 7px;
  background: var(--light);
  border-radius: 3px;
  color: var(--navy2);
}

/* ══════════════════════════════════════════════════
   CASE STUDY
══════════════════════════════════════════════════ */
.case-study {
  background: linear-gradient(135deg, var(--navy) 0%, #0a2a4a 100%);
  border-radius: 24px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.case-study::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(10, 143, 142, 0.2) 0%,
    transparent 70%
  );
}
.case-study::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 134, 10, 0.12) 0%,
    transparent 70%
  );
}
.case-study__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.case-study__tag {
  margin-bottom: 20px;
}
.case-study__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.case-study__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.case-study__highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-study__highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.case-study__highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(10, 143, 142, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.case-study__highlight-text strong {
  color: #fff;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 3px;
}
.case-study__highlight-text span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

/* ══════════════════════════════════════════════════
   FRAMEWORK
══════════════════════════════════════════════════ */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.principle-card {
  border-radius: 16px;
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.principle-card:hover {
  transform: translateY(-4px);
}
.principle-card--1 {
  background: linear-gradient(145deg, #e8f5f5, #d0eeee);
}
.principle-card--2 {
  background: linear-gradient(145deg, #e8f0f7, #d5e4f2);
}
.principle-card--3 {
  background: linear-gradient(145deg, #fdf3e0, #f8e5b8);
}
.principle-card--4 {
  background: linear-gradient(145deg, #f0edf8, #e2daf4);
}
.principle-card__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
  opacity: 0.12;
}
.principle-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.principle-card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.principle-card__desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   RESOURCES
══════════════════════════════════════════════════ */
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s;
}
.resource-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 36px rgba(10, 143, 142, 0.1);
  transform: translateY(-3px);
}
.resource-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.resource-card__icon-wrap--teal {
  background: rgba(10, 143, 142, 0.1);
}
.resource-card__icon-wrap--gold {
  background: rgba(201, 134, 10, 0.1);
}
.resource-card__icon-wrap--navy {
  background: rgba(26, 58, 92, 0.08);
}
.resource-card__title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.resource-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}
.resource-card__count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 500;
}
.resource-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

/* ══════════════════════════════════════════════════
   ABOUT / AUTHORS
══════════════════════════════════════════════════ */
.author-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
}
.author-info__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.author-info__title {
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 12px;
}
.author-info__bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════════════════ */
.newsletter-box {
  background: linear-gradient(135deg, #0a2a4a 0%, var(--navy) 100%);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.015) 40px,
    rgba(255, 255, 255, 0.015) 41px
  );
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 32px auto 0;
  position: relative;
  z-index: 1;
}
.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.newsletter-input:focus {
  border-color: var(--teal2);
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  background: #08192e;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}
.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 280px;
}
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.footer__links a:hover {
  color: var(--teal2);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer__badges {
  display: flex;
  gap: 8px;
}
.footer__badge {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

/* ══════════════════════════════════════════════════
   MODAL (Lab detail)
══════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 68, 0.75);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
}
.modal-overlay.open .modal {
  transform: none;
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--muted);
  transition: background 0.2s;
}
.modal__close:hover {
  background: var(--border);
}
.modal__num {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 10px;
}
.modal__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.modal__abstract {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  border-left: 3px solid var(--teal);
  padding-left: 20px;
}
.modal__section-title {
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy2);
  margin-bottom: 12px;
}
.modal__methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.modal__tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.modal__tool {
  background: var(--light);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy2);
  text-align: center;
}
.modal__workflow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--light);
  border-radius: 10px;
  padding: 14px 16px;
}
.modal__step-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal__step-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__book-card {
    max-width: 400px;
  }
  .labs-grid,
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-study__inner {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 64px 0;
  }
  .nav__links {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps::before {
    display: none;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .labs-grid {
    grid-template-columns: 1fr;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .framework-grid {
    grid-template-columns: 1fr;
  }
  .case-study {
    padding: 36px 24px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .hero__meta {
    gap: 24px;
  }
  .modal {
    padding: 32px 24px;
  }
  .modal__tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Formal SVG icon set (replaces emojis) ── */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.14em;
  flex-shrink: 0;
}
.resource-card__icon-wrap--teal {
  color: var(--teal);
}
.resource-card__icon-wrap--gold {
  color: var(--gold);
}
.resource-card__icon-wrap--navy {
  color: var(--navy2);
}
.case-study__highlight-icon {
  color: var(--teal2);
}
