/* ============================================================
   impetroAI — Jak přistoupit k AI adopci
   Design tokens + base styles
   ============================================================ */

:root {
  /* Brand */
  --navy:        #07387A;
  --navy-700:    #0A2D5F;
  --navy-900:    #061E40;
  --coral:       #F48080;
  --coral-700:   #E15F5F;
  --coral-100:   #FCE5E5;
  --steel:       #7197AF;
  --steel-300:   #B5C9D6;
  --steel-100:   #E5EDF2;

  --black:       #0A0A0A;
  --ink-700:     #2A2A2A;
  --ink-500:     #4A4A4A;
  --ink-400:     #6E6E6E;
  --line:        #E5E5E5;
  --line-soft:   #F0F0F0;
  --paper:       #FFFFFF;
  --paper-warm:  #FAFAF7;

  /* Type scale (reading-doc generous) */
  --fs-xs:    14px;
  --fs-sm:    16px;
  --fs-base:  19px;
  --fs-md:    22px;
  --fs-lg:    26px;
  --fs-xl:    32px;
  --fs-2xl:   44px;
  --fs-3xl:   60px;
  --fs-hero:  76px;

  --lh-tight: 1.15;
  --lh-snug:  1.35;
  --lh-body:  1.65;
  --lh-loose: 1.8;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Layout */
  --content-w: 980px;
  --wide-w:    1240px;
  --shell-w:   1680px;

  --header-h: 64px;
  --player-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--black);
  background: var(--paper);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* NEVER italic */
em, i, cite, dfn, var, address { font-style: normal; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--coral-700); }

/* Reading progress */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 100;
  background: transparent;
}
.read-progress__fill {
  height: 100%;
  background: var(--coral);
  width: 0%;
  transition: width 0.08s linear;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 100%;
  display: flex; align-items: center; gap: var(--sp-6);
}
.brand {
  display: flex; align-items: baseline; gap: 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--navy);
  flex-shrink: 0;
}
.brand__ai { color: var(--coral); }
.brand__dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral); margin-left: 4px; transform: translateY(-12px);
}

.site-nav {
  display: flex; align-items: center; gap: var(--sp-5);
  margin-left: auto;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.site-nav a {
  color: var(--ink-500);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 120ms, border-color 120ms;
}
.site-nav a:hover { color: var(--navy); border-bottom-color: var(--coral); }

.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 9px 16px; border-radius: 6px;
  font-size: var(--fs-sm); font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: background 120ms, border-color 120ms, color 120ms;
  font-family: inherit;
  background: transparent;
}
.btn--primary { background: var(--coral); color: white; }
.btn--primary:hover { background: var(--coral-700); color: white; }
.btn--ghost { color: var(--navy); border-color: var(--steel-300); background: white; }
.btn--ghost:hover { border-color: var(--navy); }

.dl-wrap { position: relative; }
.dl-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: white; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: 0 8px 32px rgba(7,56,122,0.12);
  min-width: 220px; padding: 6px;
  display: none;
}
.dl-wrap.open .dl-menu { display: block; }
.dl-menu a {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 10px 12px; border-radius: 5px;
  color: var(--ink-700); font-size: var(--fs-sm);
}
.dl-menu a:hover { background: var(--steel-100); color: var(--navy); }
.dl-menu .ext { margin-left: auto; color: var(--ink-400); font-size: 12px; font-weight: 600; }

/* ============================================================
   LAYOUT — sidebar TOC + content
   ============================================================ */
.shell {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--sp-9);
  justify-content: center;
  align-items: start;
}
@media (max-width: 1024px) {
  .shell { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}

.toc {
  position: sticky; top: calc(var(--header-h) + 32px);
  padding: var(--sp-6) 0;
  font-size: var(--fs-xs);
  max-height: calc(100vh - var(--header-h) - 64px);
  overflow-y: auto;
}
.toc__label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: var(--sp-3);
}
.toc__part {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy);
  margin: 18px 0 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.toc__part:first-of-type { margin-top: 0; }
.toc a {
  display: block;
  padding: 5px 0 5px 12px;
  color: var(--ink-500);
  border-left: 2px solid transparent;
  font-size: 13px;
  line-height: 1.4;
  transition: color 120ms, border-color 120ms;
}
.toc a:hover { color: var(--navy); }
.toc a.is-active {
  color: var(--navy); font-weight: 600;
  border-left-color: var(--coral);
}

.content { padding: var(--sp-7) 0 var(--sp-10); min-width: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  color: white;
  margin: 0;
  position: relative; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(244,128,128,0.18), transparent 45%),
    radial-gradient(circle at 6% 92%, rgba(113,151,175,0.20), transparent 50%);
}
.hero__inner {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 96px var(--sp-6) 120px;
  position: relative;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--sp-5);
}
.hero__eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--coral);
}
.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  max-width: 18ch;
  margin-bottom: var(--sp-5);
}
.hero__title .accent { color: var(--coral); }
.hero__sub {
  font-size: var(--fs-lg);
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  margin-bottom: var(--sp-7);
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-6) var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: var(--fs-sm);
}
.hero__meta dt {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.hero__meta dd {
  color: white; font-weight: 500;
}
@media (max-width: 720px) {
  .hero__title { font-size: 44px; }
  .hero__inner { padding: 64px var(--sp-5) 80px; }
}

/* ============================================================
   TYPOGRAPHY (content)
   ============================================================ */
.content h1, .content h2, .content h3, .content h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}
.content h1 { /* not used */ }

.part-head {
  margin: var(--sp-9) 0 var(--sp-7);
  padding-top: var(--sp-7);
  border-top: 1px solid var(--line);
}
.part-head:first-child { margin-top: var(--sp-7); border-top: none; padding-top: 0; }
.part-head__num {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--sp-3);
}
.part-head__title {
  font-size: var(--fs-2xl);
  line-height: 1.1;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
}
.part-head__intro {
  margin-top: var(--sp-5);
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
  color: var(--ink-500);
  max-width: 65ch;
  font-weight: 400;
}

.section {
  scroll-margin-top: calc(var(--header-h) + 24px);
  margin: var(--sp-8) 0;
  max-width: var(--content-w);
}
.section__num {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel);
  margin-bottom: var(--sp-3);
}
.section h2 {
  font-size: var(--fs-xl);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
}
.section h3 {
  font-size: var(--fs-lg);
  line-height: 1.25;
  margin: var(--sp-7) 0 var(--sp-3);
}
.section h4 {
  font-size: var(--fs-md);
  line-height: 1.3;
  margin: var(--sp-6) 0 var(--sp-3);
  color: var(--navy-700);
}

.section p {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--black);
  text-wrap: pretty;
}
.section p strong { color: var(--navy); font-weight: 700; }

.section ul, .section ol {
  margin: var(--sp-3) 0 var(--sp-5) 0;
  padding-left: 0;
  list-style: none;
}
.section li {
  position: relative;
  padding-left: 22px;
  margin-bottom: var(--sp-3);
  line-height: var(--lh-body);
}
.section ul > li::before {
  content: ''; position: absolute;
  left: 4px; top: 13px;
  width: 6px; height: 6px;
  background: var(--coral); border-radius: 50%;
}
.section ol { counter-reset: ord; }
.section ol > li {
  counter-increment: ord;
}
.section ol > li::before {
  content: counter(ord);
  position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--coral);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.section li strong { color: var(--navy); font-weight: 700; }

/* Key message box */
.key-msg {
  background: var(--steel-100);
  border-left: 4px solid var(--coral);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-5) 0 var(--sp-7);
  border-radius: 0 4px 4px 0;
}
.key-msg__label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral-700);
  margin-bottom: 6px;
}
.key-msg p {
  font-size: var(--fs-md);
  line-height: 1.45;
  color: var(--navy);
  font-weight: 500;
  margin: 0;
}

/* Coral-bordered quote */
.quote {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  border-left: 4px solid var(--coral);
  background: var(--paper-warm);
  border-radius: 0 4px 4px 0;
}
.quote p {
  font-size: var(--fs-md);
  line-height: 1.5;
  font-weight: 500;
  color: var(--navy-700);
  margin: 0;
  font-style: normal;
}
.quote__cite {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--ink-500);
  font-weight: 500;
}
.quote__cite::before { content: '— '; color: var(--coral); }

.quote--big p {
  font-size: var(--fs-xl);
  line-height: 1.3;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* Pull-out big text */
.pullout {
  font-size: var(--fs-xl);
  line-height: 1.3;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: var(--sp-7) 0;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-wrap: balance;
}

/* Tables */
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-5) 0 var(--sp-6);
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.tbl thead th {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  background: var(--navy);
  color: white;
  font-weight: 600;
  font-size: var(--fs-sm);
  border: none;
}
.tbl thead th:first-child { border-top-left-radius: 4px; }
.tbl thead th:last-child  { border-top-right-radius: 4px; }
.tbl tbody td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.tbl tbody tr:last-child td { border-bottom: 1px solid var(--steel-300); }
.tbl tbody tr:nth-child(even) td { background: var(--paper-warm); }
.tbl tbody td strong { color: var(--navy); font-weight: 700; }

/* Two-col compare table (Stavitel vs Směrovač, Řehák vs Borkovec, etc.) */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--sp-6) 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  font-size: var(--fs-sm);
}
.compare thead th {
  padding: var(--sp-4) var(--sp-4);
  background: var(--steel-100);
  color: var(--navy);
  font-weight: 700;
  text-align: left;
  font-size: var(--fs-sm);
  border-bottom: 2px solid var(--steel-300);
}
.compare thead th:first-child {
  background: white;
  color: var(--ink-500);
  border-right: 1px solid var(--line);
}
.compare thead th + th + th {
  background: var(--coral-100);
  color: var(--coral-700);
  border-left: 1px solid var(--line);
}
.compare tbody td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  line-height: 1.45;
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody td:first-child {
  background: var(--paper-warm);
  color: var(--ink-500);
  border-right: 1px solid var(--line);
  font-style: normal;
}
.compare tbody td + td + td {
  border-left: 1px solid var(--line);
  font-weight: 500;
  color: var(--navy-700);
}
.compare tbody td strong { color: var(--navy); font-weight: 700; }

/* Code-block style "ASCII diagram" replacement */
.diagram {
  margin: var(--sp-6) 0;
}

.cascade {
  display: flex; flex-direction: column;
  gap: var(--sp-2);
  margin: var(--sp-6) 0;
}
.cascade__step {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  border-radius: 4px;
}
.cascade__step:nth-child(1) { border-left-color: var(--navy); }
.cascade__step:nth-child(2) { border-left-color: #1e57a8; }
.cascade__step:nth-child(3) { border-left-color: var(--coral); }
.cascade__step:nth-child(4) { border-left-color: var(--steel); }
.cascade__name {
  font-weight: 700; color: var(--navy);
  font-size: var(--fs-base);
}
.cascade__desc {
  font-size: var(--fs-sm); color: var(--ink-500);
  line-height: 1.45;
}
.cascade__arrow {
  text-align: center;
  color: var(--steel);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* Tech matrix 2x2 */
.matrix {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 6px;
  margin: var(--sp-6) 0;
  font-size: var(--fs-sm);
}
.matrix__corner { }
.matrix__col-h, .matrix__row-h {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel);
  padding: 8px 12px;
  display: flex; align-items: center;
}
.matrix__col-h { justify-content: center; border-bottom: 1px solid var(--line); }
.matrix__cell {
  padding: var(--sp-4);
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 100px;
  display: flex; flex-direction: column; justify-content: center;
}
.matrix__cell--high { background: var(--steel-100); border-color: var(--steel-300); }
.matrix__cell-name {
  font-weight: 700; color: var(--navy);
  font-size: var(--fs-base);
  margin-bottom: 4px;
}
.matrix__cell-name .pill {
  display: inline-block; padding: 2px 8px;
  background: var(--coral); color: white;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px; margin-left: 6px;
  vertical-align: middle;
}
.matrix__cell-desc {
  font-size: 13px; color: var(--ink-500);
  line-height: 1.45;
}

/* Horizontal rule between sections */
.rule {
  height: 1px;
  background: var(--line);
  margin: var(--sp-7) 0;
  border: none;
}

/* Inline accent */
.accent-coral { color: var(--coral-700); font-weight: 700; }
.accent-navy  { color: var(--navy); font-weight: 700; }

/* ============================================================
   EXECUTIVE SUMMARY
   ============================================================ */
.exec {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.exec__inner {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: var(--sp-9) var(--sp-6);
}
.exec__head {
  max-width: 760px;
  margin-bottom: var(--sp-8);
}
.exec__eyebrow {
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral-700);
  margin-bottom: var(--sp-3);
}
.exec__title {
  font-size: var(--fs-2xl);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: var(--sp-4);
}
.exec__lede {
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--ink-700);
}
.exec__lede strong { color: var(--navy); font-weight: 700; }

.idea-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
}
@media (max-width: 720px) { .idea-grid { grid-template-columns: 1fr; } }

.idea {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: var(--sp-5) var(--sp-6);
  display: flex; flex-direction: column;
  position: relative;
}
.idea__num {
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-3);
  font-variant-numeric: tabular-nums;
}
.idea__title {
  font-size: var(--fs-md);
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
.idea__body {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-700);
}
.idea__body strong { color: var(--navy); font-weight: 700; }

.idea--wide { grid-column: span 2; }
@media (max-width: 720px) { .idea--wide { grid-column: span 1; } }

.three-q {
  margin-top: var(--sp-8);
  padding-top: var(--sp-7);
  border-top: 1px solid var(--line);
}
.three-q__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-5);
}
.three-q__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 720px) { .three-q__list { grid-template-columns: 1fr; } }
.three-q__item {
  background: var(--navy);
  color: white;
  border-radius: 6px;
  padding: var(--sp-5) var(--sp-6);
}
.three-q__num {
  font-size: var(--fs-sm); font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.three-q__num::before {
  content: ''; display: inline-block;
  width: 18px; height: 1px; background: var(--coral);
  vertical-align: middle; margin-right: 8px;
}
.three-q__text {
  font-size: var(--fs-base);
  line-height: 1.45;
  font-weight: 500;
  color: white;
}
.three-q__text strong { color: white; font-weight: 700; }

/* Audio summary card */
.audio-card {
  margin-top: var(--sp-8);
  padding: var(--sp-6);
  background: var(--navy);
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-5);
  align-items: center;
  color: white;
}
.audio-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.audio-card__title {
  font-size: var(--fs-base); font-weight: 700; color: white;
  margin-bottom: 2px;
}
.audio-card__sub {
  font-size: var(--fs-sm); color: rgba(255,255,255,0.7);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  padding: var(--sp-9) 0 calc(var(--sp-8) + var(--player-h));
  margin-top: var(--sp-9);
}
.footer__inner {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-7);
}
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; } }
.footer h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: var(--sp-4);
}
.footer p, .footer a, .footer li {
  font-size: var(--fs-sm); line-height: 1.6;
  color: rgba(255,255,255,0.78);
}
.footer a:hover { color: white; }
.footer .author-name {
  font-size: var(--fs-md); font-weight: 700; color: white;
  margin-bottom: 4px;
}
.footer .author-role {
  font-size: var(--fs-sm); color: var(--coral); margin-bottom: var(--sp-3);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer__bottom {
  max-width: var(--shell-w);
  margin: var(--sp-7) auto 0;
  padding: var(--sp-5) var(--sp-6) 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3);
}

/* ============================================================
   STICKY AUDIO MINI-PLAYER
   ============================================================ */
.player {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: var(--player-h);
  background: rgba(7,30,64,0.97);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 95;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 240ms ease;
}
.player.is-open { transform: translateY(0); }
.player__inner {
  max-width: var(--shell-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: var(--sp-5);
  align-items: center;
}
.player__play {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--coral); color: white;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 120ms;
}
.player__play:hover { background: var(--coral-700); }
.player__play svg { width: 16px; height: 16px; }
.player__meta { min-width: 0; }
.player__title {
  font-size: var(--fs-sm); font-weight: 600; color: white;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__sub {
  font-size: 12px; color: rgba(255,255,255,0.6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__progress {
  grid-column: 1 / -1;
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px; background: rgba(255,255,255,0.1);
  cursor: pointer;
}
.player__bar {
  height: 100%; width: 0%;
  background: var(--coral);
  transition: width 0.1s linear;
}
.player__time {
  font-size: 12px; font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,0.7);
}
.player__close {
  background: transparent; border: none;
  color: rgba(255,255,255,0.5); cursor: pointer;
  width: 36px; height: 36px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.player__close:hover { background: rgba(255,255,255,0.08); color: white; }

.audio-trigger {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--coral);
  color: white;
  border: none; cursor: pointer;
  padding: 14px 22px; border-radius: 6px;
  font-size: var(--fs-sm); font-weight: 600;
  font-family: inherit;
  transition: background 120ms;
}
.audio-trigger:hover { background: var(--coral-700); }

/* ============================================================
   FOUR-LAYERS DIAGRAM
   ============================================================ */
.layers {
  display: flex; flex-direction: column;
  gap: 0;
  margin: var(--sp-6) 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.layer {
  padding: var(--sp-5) var(--sp-6);
  display: grid;
  grid-template-columns: 36px 180px 1fr;
  gap: var(--sp-5);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: white;
}
.layer:last-child { border-bottom: none; }
.layer__num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy); color: white;
  font-size: var(--fs-sm); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.layer__name {
  font-size: var(--fs-base); font-weight: 700;
  color: var(--navy); line-height: 1.2;
  letter-spacing: -0.01em;
}
.layer__desc {
  font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-700);
}
.layer--gap {
  background: repeating-linear-gradient(
    -45deg,
    var(--coral-100) 0 8px,
    transparent 8px 16px
  );
  padding: var(--sp-4) var(--sp-6);
}
.layer--gap .layer__name {
  color: var(--coral-700);
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.layer--gap .layer__num {
  background: var(--coral); width: 28px; height: 28px;
  font-size: 12px;
}
.layer--gap .layer__desc {
  color: var(--coral-700); font-style: normal;
  font-weight: 500;
}

/* Pillar list (5 pillars formula) */
.formula {
  text-align: center;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  background: var(--steel-100);
  padding: var(--sp-5) var(--sp-4);
  border-radius: 6px;
  margin: var(--sp-5) 0;
  line-height: 1.5;
}
.formula .lbl {
  font-size: 11px; font-weight: 700;
  color: var(--coral-700);
  letter-spacing: 0.16em; text-transform: uppercase;
  display: block; margin-bottom: 4px;
}
.formula .plus { color: var(--coral); margin: 0 4px; }

.pillars {
  counter-reset: pi;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
}
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--coral);
  padding: var(--sp-5);
  border-radius: 0 0 4px 4px;
  position: relative;
}
.pillar__n {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 4px;
}
.pillar__name {
  font-size: var(--fs-base); font-weight: 700;
  color: var(--navy); margin-bottom: var(--sp-2);
}
.pillar__desc {
  font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-700);
}

/* Career timeline */
.career {
  margin: var(--sp-5) 0;
}
.career__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--sp-5);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.career__row:last-child { border-bottom: none; }
.career__row--current {
  background: var(--coral-100);
  margin: 0 -16px var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: none;
  border-radius: 4px;
}
.career__period {
  font-weight: 700; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.career__row--current .career__period { color: var(--coral-700); }
.career__role {
  color: var(--ink-700);
}
.career__role strong { color: var(--navy); font-weight: 700; }

/* Numbers / stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin: var(--sp-6) 0;
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }
.stat {
  padding: var(--sp-5);
  background: var(--paper-warm);
  border-left: 3px solid var(--coral);
  border-radius: 0 4px 4px 0;
}
.stat__n {
  font-size: 36px; font-weight: 800;
  color: var(--navy); line-height: 1;
  letter-spacing: -0.03em; margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat__lbl {
  font-size: var(--fs-sm); color: var(--ink-700);
  line-height: 1.4;
}

/* Two-pane callout */
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
}
@media (max-width: 720px) { .two-up { grid-template-columns: 1fr; } }
.tu {
  padding: var(--sp-5);
  border-radius: 4px;
  border: 1px solid var(--line);
}
.tu--good { background: var(--steel-100); border-color: var(--steel-300); }
.tu--warn { background: var(--coral-100); border-color: var(--coral); }
.tu__head {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.tu--good .tu__head { color: var(--navy); }
.tu--warn .tu__head { color: var(--coral-700); }
.tu p { font-size: var(--fs-sm); line-height: 1.5; margin: 0; color: var(--ink-700); }
.tu p strong { color: var(--navy); }

/* Voice cards (Section 3) */
.voice {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  border-left: 3px solid var(--coral);
}
.voice__name {
  font-size: var(--fs-base); font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.voice__title {
  font-size: 13px; color: var(--ink-500);
  margin-bottom: var(--sp-3);
  line-height: 1.4;
}
.voice__quote {
  font-size: var(--fs-md);
  line-height: 1.4;
  font-weight: 500;
  color: var(--navy-700);
  margin: var(--sp-3) 0;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--coral);
  font-style: normal;
}
.voice p { font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-700); margin-bottom: var(--sp-3); }
.voice p:last-child { margin-bottom: 0; }

/* Selection */
::selection { background: var(--coral); color: white; }

/* ============================================================
   MOBILE — hamburger menu toggle
   ============================================================ */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
  color: var(--navy);
  flex-shrink: 0;
}
.nav-toggle svg { display: block; }

/* ============================================================
   MOBILE BREAKPOINTS
   ============================================================ */

/* ---- 768px: hide nav, show hamburger ---- */
@media (max-width: 768px) {

  /* Header */
  .site-header { height: auto; min-height: var(--header-h); }
  .site-header__inner {
    flex-wrap: wrap;
    padding: 12px var(--sp-5);
    gap: var(--sp-3);
    position: relative;
  }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  /* Audio trigger — hide label, keep icon */
  #audioTrigger .btn-label { display: none; }
  #audioTrigger { padding: 9px 12px; }

  /* Download btn — shrink */
  #dlBtn .btn-label { display: none; }
  #dlBtn { padding: 9px 12px; }

  /* Nav: slide down when open */
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--line);
    padding: var(--sp-3) 0 var(--sp-2);
    margin-left: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; font-size: var(--fs-base); width: 100%; }

  /* Hero */
  .hero__title { font-size: 38px; }
  .hero__sub { font-size: var(--fs-base); }
  .hero__inner { padding: 56px var(--sp-5) 72px; }

  /* Exec summary */
  .exec__inner { padding: var(--sp-7) var(--sp-5); }
  .exec__title { font-size: var(--fs-xl); }

  /* Shell / content */
  .shell { padding: 0 var(--sp-5); }
  .content { padding: var(--sp-6) 0 var(--sp-9); }

  /* Part headers */
  .part-head__title { font-size: var(--fs-xl); }

  /* Section headings */
  .section h2 { font-size: var(--fs-lg); }
  .section h3 { font-size: var(--fs-md); }

  /* Pullout */
  .pullout { font-size: var(--fs-lg); }

  /* Quote big */
  .quote--big p { font-size: var(--fs-lg); }

  /* Cascade: stack label + desc vertically */
  .cascade__step {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }

  /* 2×2 matrix: stack into single column */
  .matrix {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .matrix__corner { display: none; }
  .matrix__col-h { display: none; }
  .matrix__row-h {
    font-size: 11px;
    padding: 6px 0;
    border-bottom: none;
    color: var(--coral-700);
  }

  /* Compare tables: scroll horizontally */
  .compare, .tbl {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .compare thead, .compare tbody, .compare tr,
  .tbl thead, .tbl tbody, .tbl tr { display: table; width: 100%; }

  /* Career timeline */
  .career__row {
    grid-template-columns: 1fr;
    gap: var(--sp-1);
  }
  .career__period { font-size: 12px; color: var(--steel); }

  /* Audio card */
  .audio-card {
    grid-template-columns: auto 1fr;
    gap: var(--sp-3);
  }
  .audio-card > span:last-child { display: none; }

  /* Three-Q */
  .three-q__list { grid-template-columns: 1fr; }

  /* Player */
  .player__inner {
    padding: 0 var(--sp-4);
    gap: var(--sp-3);
    grid-template-columns: auto 1fr auto auto;
  }
  .player__time { display: none; }

  /* Stats */
  .stats { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer { padding: var(--sp-7) 0 calc(var(--sp-7) + var(--player-h)); }
  .footer__inner { padding: 0 var(--sp-5); }

  /* Voice cards */
  .voice { padding: var(--sp-4) var(--sp-5); }
  .voice__quote { font-size: var(--fs-base); }
}

/* ---- 420px: very small phones ---- */
@media (max-width: 420px) {
  .hero__title { font-size: 30px; }
  .exec__title { font-size: var(--fs-lg); }
  .stats { grid-template-columns: 1fr; }
  .stat__n { font-size: 28px; }
  .idea__num { font-size: 32px; }
  .player__meta .player__sub { display: none; }
  .layers .layer { grid-template-columns: 32px 1fr; }
  .layer__desc { display: none; }
}
