
:root {
  --ink: #0b1728;
  --navy: #0c2844;
  --blue: #256d9b;
  --teal: #1f9a9a;
  --green: #4f8a68;
  --amber: #c6812b;
  --paper: #f7f4ee;
  --mist: #edf4f5;
  --line: rgba(12, 40, 68, 0.16);
  --muted: #5d6b76;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(11, 23, 40, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
main { overflow-x: clip; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 8px;
  display: grid; place-items: center;
  color: var(--white); font-weight: 800; letter-spacing: 0;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}
.brand strong { display: block; font-size: 15px; }
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.site-nav { display: flex; gap: 6px; align-items: center; }
.nav-link {
  min-height: 38px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #314352;
  font-size: 14px;
  font-weight: 650;
}
.nav-link.is-active, .nav-link:hover { background: var(--ink); color: var(--white); }

.floating-actions {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 70;
  display: grid;
  gap: 10px;
  justify-items: end;
}
.floating-menu,
.floating-action {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 999px;
  background: rgba(12, 40, 68, 0.72);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(11,23,40,0.2);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}
.floating-menu {
  opacity: 0.86;
}
.floating-action {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
}
.floating-actions:hover .floating-action,
.floating-actions:focus-within .floating-action,
.floating-actions.is-open .floating-action {
  opacity: 0.86;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.floating-action:hover,
.floating-menu:hover,
.floating-action:focus-visible,
.floating-menu:focus-visible {
  opacity: 1;
  background: rgba(12, 40, 68, 0.9);
}
.hero {
  min-height: calc(100vh - 72px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}
.hero-media, .hero-media img, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 18, 30, 0.92) 0%, rgba(6, 18, 30, 0.72) 42%, rgba(6, 18, 30, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 18, 30, 0.7), rgba(6, 18, 30, 0.06) 44%);
}
.hero-content {
  position: relative;
  width: min(860px, calc(100% - 36px));
  padding: 96px clamp(18px, 5vw, 72px) 150px;
  color: var(--white);
}
.eyebrow, .section-kicker, .subhero-kicker {
  display: inline-flex;
  color: #d7a35a;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 800;
}
.hero h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}
.hero p {
  max-width: 710px;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,0.84);
}
.hero-actions, .doc-actions, .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-actions { margin-top: 30px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  border: 1px solid transparent;
}
.button.primary { background: var(--amber); color: #171000; }
.button.secondary { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.24); }
.button.ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,0.16); }
.hero-stats {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 10px;
  width: min(670px, calc(100% - 36px));
}
.hero-stats article {
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(7, 21, 34, 0.5);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  color: var(--white);
}
.hero-stats strong { display: block; font-size: 22px; }
.hero-stats span { display: block; margin-top: 4px; color: rgba(255,255,255,0.72); font-size: 13px; }

.positioning-band, .cta-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.positioning-band h2, .cta-band h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}
.positioning-band p { font-size: 19px; color: #384b59; max-width: 760px; }
.focus-grid {
  padding: clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.focus-card {
  min-height: 300px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(11,23,40,0.06);
}
.focus-card span { color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.focus-card h3 { margin: 14px 0 12px; font-size: 20px; line-height: 1.15; }
.focus-card p { color: var(--muted); font-size: 14px; }

.subhero, .report-hero {
  padding: clamp(52px, 8vw, 98px) clamp(18px, 6vw, 92px);
  background: linear-gradient(135deg, #f7f4ee 0%, #e8f2f2 100%);
  border-bottom: 1px solid var(--line);
}
.subhero h1, .report-hero h1 {
  margin: 12px 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  max-width: 980px;
}
.subhero p, .report-hero p { color: var(--muted); font-size: 18px; max-width: 820px; }
.doc-actions { margin-top: 26px; }

.content-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
  padding: clamp(24px, 5vw, 72px);
}
.profile-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}
.profile-panel h2 { margin: 0 0 14px; }
.profile-panel p { color: rgba(255,255,255,0.78); margin-top: 10px; }
.identity-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.identity-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: rgba(255,255,255,0.84);
  font-size: 12px;
}
.content-section {
  padding: 28px;
  margin-bottom: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(11,23,40,0.05);
}
.content-section h2 { margin: 0 0 18px; font-size: 28px; }
.entry-card {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.entry-card:first-child { border-top: 0; padding-top: 0; }
.entry-head { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; }
.entry-head h3 { margin: 0; font-size: 19px; line-height: 1.25; color: var(--navy); }
.entry-head span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.entry-card ul { margin: 12px 0 0; padding-left: 18px; color: #374856; }
.entry-card li + li { margin-top: 7px; }
.project-card { padding: 20px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfb; }
.skills-board { display: grid; gap: 10px; }
.skill-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 15px;
  border-radius: 8px;
  background: var(--mist);
}
.skill-row span { font-weight: 800; color: var(--navy); }
.skill-row p { color: #384b59; }

.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: end;
}
.report-title-block { min-width: 0; }
.report-title-block small { display: block; margin-top: 12px; color: var(--muted); }
.research-map {
  display: grid;
  gap: 10px;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0f4e64);
  box-shadow: var(--shadow);
}
.research-map span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  font-weight: 800;
}
.research-map i { width: 2px; height: 22px; background: var(--amber); margin-left: 24px; }
.report-layout {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 900px) minmax(0, 1fr);
  padding: clamp(24px, 5vw, 72px) clamp(18px, 4vw, 56px);
}
.report-toc {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  position: sticky;
  top: 96px;
  width: 240px;
  margin-right: 24px;
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}
.report-toc strong { margin-bottom: 6px; }
.report-toc a { color: #365064; font-size: 13px; padding: 7px 8px; border-radius: 6px; }
.report-toc a:hover, .report-toc a.is-active { color: var(--white); background: var(--navy); }
.toc-sub { padding-left: 20px !important; }
.report-article {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 900px;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 54px);
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.report-section { scroll-margin-top: 100px; }
.report-section + .report-section { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.report-section h2 { margin: 0 0 18px; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; color: var(--navy); }
.report-subsection { scroll-margin-top: 100px; margin-top: 34px; }
.report-subsection h3 { margin: 0 0 16px; font-size: 24px; color: var(--blue); }
.report-article p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: #223240;
  margin: 0 0 18px;
  overflow-wrap: break-word;
}
.citation-needed {
  display: inline-block;
  max-width: 100%;
  padding: 2px 6px;
  border-radius: 5px;
  background: #fff0d7;
  color: #8a5200;
  font-family: Inter, sans-serif;
  font-size: 0.8em;
  font-weight: 800;
}
.industry-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}
.industry-cards article {
  min-height: 146px;
  padding: 16px;
  border-radius: 8px;
  background: #eef6f3;
  border: 1px solid #cfe2dc;
}
.industry-cards span { display: block; font-size: 12px; color: var(--green); font-weight: 850; text-transform: uppercase; letter-spacing: 0.08em; }
.industry-cards p { margin-top: 10px; font-family: Inter, sans-serif; font-size: 13px; line-height: 1.45; color: #314352; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}
.site-footer strong { color: var(--white); margin-right: 10px; }

@media (max-width: 1500px) {
  .report-layout { display: block; }
  .report-toc {
    position: static;
    width: min(320px, 100%);
    margin: 0 auto 24px;
    display: grid;
    gap: 8px;
    padding: 20px;
  }
}
@media (max-width: 1120px) {
  .focus-grid, .industry-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-layout, .content-grid, .report-hero, .positioning-band, .cta-band { grid-template-columns: 1fr; }
  .profile-panel { position: static; }
  .report-layout { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; position: relative; right: auto; bottom: auto; margin: -120px 18px 28px; width: auto; }
  .hero-content { padding-bottom: 160px; }
}
@media (max-width: 720px) {
  .site-header { position: static; align-items: flex-start; gap: 14px; flex-direction: column; }
  .site-nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .brand { min-width: 0; }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 70px; }
  .subhero, .report-hero { padding: 40px 18px; }
  .subhero h1, .report-hero h1 { font-size: clamp(34px, 10.5vw, 48px); line-height: 1.03; overflow-wrap: anywhere; }
  .subhero p, .report-hero p { font-size: 16px; }
  .research-map { padding: 18px; }
  .report-layout { padding: 18px; gap: 18px; }
  .report-toc, .report-article { width: 100%; min-width: 0; }
  .report-toc { position: static; display: grid; gap: 8px; margin-bottom: 18px; padding: 20px; }
  .report-toc strong { margin-bottom: 6px; }
  .report-toc a { display: block; min-height: 0; }
  .toc-sub { padding-left: 20px !important; }
  .report-article { padding: 22px 18px; }
  .report-section h2 { font-size: clamp(28px, 9vw, 36px); }
  .report-subsection h3 { font-size: 21px; }
  .focus-grid, .industry-cards { grid-template-columns: 1fr; }
  .entry-head, .skill-row { grid-template-columns: 1fr; display: grid; }
  .entry-head span { white-space: normal; }
  .report-article p { font-size: 16px; line-height: 1.68; }
  .doc-actions .button, .hero-actions .button { width: 100%; }
  .site-footer { flex-direction: column; }
}
