@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --ink: #183448;
  --muted: #586169;
  --accent: #234b63;
  --line: #dcded8;
  --navy: #163448;
  --gold: #d5b66a;
  --on-navy: #e1e9ed;
  --navy-line: #486072;
  --measure: 68rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover { text-decoration-thickness: 2px; }

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: min(100% - 48px, var(--measure));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--navy-line);
  background: var(--navy);
}

.site-header a:focus-visible { outline-color: var(--gold); }

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-weight: 650;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 4px 20px;
  flex-wrap: wrap;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-navy);
  font-size: 15px;
  text-decoration: none;
}

nav a:hover { color: var(--gold); text-decoration: underline; }

main > section {
  max-width: var(--measure);
  padding-top: 96px;
  scroll-margin-top: -96px;
}

main > section:last-child { padding-bottom: 96px; }

h1, h2, h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -.01em;
}

h1 {
  max-width: 25ch;
  margin: 20px 0 24px;
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

h2 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

h3 {
  font-size: 18px;
  line-height: 1.4;
}

p { margin: 0 0 16px; }

summary {
  min-height: 48px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

summary:hover { text-decoration: underline; text-underline-offset: 4px; }

.meta {
  color: var(--muted);
  font-size: 15px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero { padding-top: 52px; }
.hero-eyebrow { color: #735b29; }
.hero-eyebrow span { padding: 0 10px; color: #958154; }
.hero-intro { max-width: 47rem; font-size: 19px; }
.hero-background { margin-top: 22px; color: var(--muted); font-size: 16px; }
.hero-background strong { color: var(--ink); font-weight: 600; }

.intro-stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 36px 0 28px;
}

.intro-story { padding-top: 20px; border-top: 2px solid var(--gold); }
.intro-story .eyebrow { margin-bottom: 12px; color: #735b29; }
.intro-story h2 { font-size: 23px; line-height: 1.25; letter-spacing: -.02em; }
.intro-story > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 16px; }

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-top: 28px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  padding: 9px 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--navy);
  background: var(--gold);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.work-link:hover { background: #e0c789; text-decoration: none; }

.credentials {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 2px solid var(--gold);
}

.credentials > p { margin: 3px 0 0; color: #735b29; }

.credentials ul {
  display: grid;
  grid-template-columns: .65fr .65fr 1.4fr 1.4fr;
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.credentials li span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.hero-links,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.hero-links a,
.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand svg { width: 26px; height: 26px; }

.icon-link {
  justify-content: center;
  min-width: 44px;
  margin: 0 -10px;
}

.icon-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.icon-link:hover { color: var(--ink); }

.hero-links,
.contact-links { align-items: center; }

.hero-links { margin: 0; }

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.section-heading p {
  max-width: 23rem;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.project-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.project-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.project h3 {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.project > p { margin-bottom: 28px; }

.project-contribution {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.project-contribution p { margin: 0; }
.project-contribution .eyebrow { margin-bottom: 10px; }

.project-platform {
  grid-column: 1 / -1;
  background: #eaf0f3;
  border-color: #d3dfe6;
}

.project-platform h3 { max-width: 30ch; }
.project-platform > p { max-width: 70ch; margin-bottom: 0; }
.project-platform .eyebrow { color: #33536a; }

.project-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px 56px;
  padding: 40px;
  border-color: var(--navy);
  background: var(--navy);
  color: var(--on-navy);
}

.project-featured h3 {
  max-width: 14ch;
  color: #fff;
  font-size: 42px;
  line-height: 1.08;
}

.project-featured .project-icon {
  border-color: var(--navy-line);
  background: #203f53;
  color: var(--gold);
}

.project-featured .eyebrow { color: var(--gold); }
.project-featured .project-note { color: var(--on-navy); }

.project-note { margin: 20px 0 0; font-size: 15px; }

.project-featured .project-contribution {
  align-self: center;
  margin-top: 0;
  padding: 0 0 0 36px;
  border-top: 0;
  border-left: 1px solid var(--navy-line);
}

.project-ownership {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-line);
}

.project-story {
  grid-column: 1 / -1;
  border-top: 1px solid var(--navy-line);
}

.project-story > summary { color: var(--gold); }
.project-story > summary:focus-visible { outline-color: var(--gold); }
.story-body { max-width: 75ch; padding-top: 8px; font-size: 16px; }
.story-body p:last-child { margin-bottom: 0; }

.project-public {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px 56px;
  background: #f6f8f9;
}

.project-public h3 { max-width: 18ch; }
.project-public .eyebrow { color: #33536a; }
.project-public .project-icon { color: #345569; }
.project-public .project-note { color: var(--muted); }

.project-public .project-contribution {
  align-self: center;
  margin-top: 0;
  padding: 0 0 0 36px;
  border-top: 0;
  border-left: 1px solid var(--line);
}

.project-public .project-contribution p + p { margin-top: 16px; }
.project-technical { margin-top: 16px; border-top: 1px solid var(--line); }
.project-technical + .project-link { margin-top: 16px; }
.project-technical .story-body p + p { margin-top: 12px; }
.project-link { font-weight: 600; }

.project-reporting { background: #eaf0f3; border-color: #d3dfe6; }
.project-reporting .project-icon { color: #345569; border-color: #d3dfe6; }
.project-reporting .eyebrow { color: #33536a; }
.project-reporting .project-contribution { border-color: #ccd9e0; }

.project-finance { background: #f2ead9; border-color: #e2d4b6; }
.project-finance .project-icon { color: #735b29; border-color: #e2d4b6; }
.project-finance .eyebrow { color: #735b29; }
.project-finance .project-contribution { border-color: #dfcfad; }

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
}

.approach-intro { max-width: 47rem; margin-bottom: 28px; }

.lesson { padding-top: 24px; border-top: 1px solid var(--line); }
.lesson h3 { font-size: 21px; line-height: 1.3; }
.lesson p { margin: 12px 0 0; color: var(--muted); font-size: 16px; }

.personal-path {
  margin-top: 36px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #efece3;
}

.personal-path > h3 { font-size: 23px; }

.career-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0 4px;
  padding: 0;
  list-style: none;
}

.career-path li { position: relative; padding: 32px 28px 0 0; }
.career-path li:last-child { padding-right: 0; }

.career-path li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border: 2px solid #735b29;
  border-radius: 50%;
  background: var(--paper);
}

.career-path li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 14px;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.career-path li:last-child::before { border-color: var(--navy); background: var(--navy); }
.career-date { display: block; margin-bottom: 8px; color: #735b29; font-size: 13px; font-weight: 650; }
.career-path h4 { margin: 0; font-size: 16px; font-weight: 600; }
.career-path p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.career-path strong { color: var(--ink); font-weight: 600; }

.learning-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 80px;
}

.learning-intro h2 { margin-bottom: 20px; }
.learning-intro p { color: var(--muted); font-size: 16px; }
.learning-intro .mlu-status { margin: 28px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.course-details > summary { color: var(--accent); }
.course-list { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.course-list li + li { margin-top: 10px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.learning-tabs {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.tab-bar {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #efece3;
}

.tab-bar label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.tab-bar label:hover { color: var(--ink); }

#tab-read:checked ~ .tab-bar [for="tab-read"],
#tab-listen:checked ~ .tab-bar [for="tab-listen"],
#tab-watch:checked ~ .tab-bar [for="tab-watch"] {
  background: var(--navy);
  color: var(--paper);
}

#tab-read:focus-visible ~ .tab-bar [for="tab-read"],
#tab-listen:focus-visible ~ .tab-bar [for="tab-listen"],
#tab-watch:focus-visible ~ .tab-bar [for="tab-watch"] {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.learning-panel { display: none; }
.panel-read > h3 { margin: 24px 0 16px; }

.book-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.book-list li { font-size: 16px; line-height: 1.45; }
.book-title { display: block; font-weight: 600; }
.book-list .meta { display: block; margin-top: 4px; font-size: 14px; }

#tab-read:checked ~ .panel-read,
#tab-listen:checked ~ .panel-listen,
#tab-watch:checked ~ .panel-watch { display: block; }

.resource-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.resource-list li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.resource-list li:last-child { border-bottom: 0; }

.resource-list a { font-weight: 650; }

.resource-list .meta { margin-left: 6px; }

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 44px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--paper);
}

.contact-panel h2 { max-width: 20ch; font-size: 32px; }
.contact-panel a { color: var(--gold); }
.contact-panel a:hover { color: var(--paper); }
.contact-panel a:focus-visible { outline-color: var(--gold); }

address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-style: normal;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 22px;
  font-weight: 650;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -12px 0;
  color: var(--muted);
}

.error-main { padding: 96px 0; max-width: 40rem; }

@media (max-width: 900px) {
  .credentials { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .project-featured { gap: 32px; }
  .lesson-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-featured .project-contribution, .project-public .project-contribution { padding-left: 28px; }
  .project { padding: 28px; }
  .project h3 { font-size: 28px; }
  .project-featured h3 { font-size: 36px; }
  .career-path { grid-template-columns: minmax(0, 1fr); }
  .career-path li { padding: 0 0 28px 32px; }
  .career-path li:last-child { padding-bottom: 0; }
  .career-path li::before { top: 4px; }
  .career-path li:not(:last-child)::after { top: 18px; bottom: -4px; left: 6px; right: auto; width: 2px; height: auto; }
  .career-date { margin-bottom: 4px; }
  .learning-section { gap: 40px; }
  .contact-panel { gap: 32px; padding: 32px; }
  .contact-email { font-size: 20px; }
  .desktop-break { display: none; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 40px, var(--measure)); }
  main > section { padding-top: 64px; scroll-margin-top: -64px; }
  main > section:last-child { padding-bottom: 64px; }
  .hero { padding-top: 44px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .hero-eyebrow { max-width: 28ch; line-height: 1.8; }
  .hero-eyebrow span { padding: 0 5px; }
  .hero-intro { font-size: 18px; }
  .intro-stories { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
  .hero-actions { gap: 20px 32px; }
  .credentials { margin-top: 28px; }
  .credentials ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
  .nav-shell { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 8px; }
  nav { gap: 0 16px; }
  .section-heading { flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .section-heading p { max-width: 30rem; }
  .work-grid, .lesson-grid, .learning-section, .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .project { padding: 24px; }
  .project-featured, .project-public { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lesson-grid { grid-template-columns: minmax(0, 1fr); }
  .project-public .project-contribution { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .project-featured h3 { max-width: none; font-size: 34px; }
  .project-featured .project-contribution { padding: 24px 0 0; border-top: 1px solid var(--navy-line); border-left: 0; }
  .project-category { gap: 12px; }
  .project-category .eyebrow { font-size: 11px; }
  .lesson-grid { gap: 28px; }
  .personal-path { padding: 24px; }
  .learning-section { gap: 12px; }
  .contact-panel { gap: 28px; padding: 28px 24px; }
  .contact-panel h2 { font-size: 28px; }
  .contact-email { font-size: 19px; }
  .tab-bar label { min-width: 76px; padding: 0 14px; }
  .book-list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tab-bar label { transition: none; }
}
