/* ============================================================
   Kat Schmand — Operational Architect · Systems Thinker
   Design: operator voice · matcha palette · balanced rhythm
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: #475B29; color: #fceBda; }

/* ---------- Design tokens ---------- */
:root {
  --rice:      #fceBda;
  --rice-dp:   #f3dfc8;
  --matcha:    #475B29;
  --matcha-dk: #36461f;
  --matcha-lt: #6f855a;
  --ink:       #1a1713;
  --ink-soft:  #3a342c;
  --dim:       #7a7063;
  --rule:      rgba(26,23,19,0.12);
  --rule-dk:   rgba(252,235,218,0.14);
  --navy:      #1c2d4a;

  --font-display: 'Inter Tight', -apple-system, system-ui, sans-serif;
  --font-body:    'Inter Tight', -apple-system, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Balanced rhythm — sized to fill 1440×751 viewport */
  --pad-hero-top: 72px;
  --pad-hero-bot: 72px;
  --pad-section:  48px;
  --h1-size:     clamp(36px, 4.2vw, 64px);
  --h2-size:     44px;
  --kicker-size: 11px;
  --manifesto-size: 14px;

  --max-w: 1380px;
  --page-px: clamp(1.5rem, 4vw, 3.5rem);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--rice);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: opacity 0.15s ease; }
a:hover { opacity: 0.7; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }

/* ---------- Kicker ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: var(--kicker-size);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--matcha);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.kicker-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--matcha);
  flex-shrink: 0;
}

/* ---------- Shared containers ---------- */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--page-px);
  padding-right: var(--page-px);
}

/* 2-col layout: main content | aside */
.section-2col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

/* Section header block */
.section-hdr {
  margin-bottom: 2.5rem;
}
.section-hdr h2 {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 0.2rem;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252,235,218,0.9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--rule); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--page-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-mark { height: 28px; }
.nav-divider {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--rule);
  opacity: 0.5;
}
.nav-brand-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a,
.nav-links button {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.8;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s ease;
}
.nav-links a:hover,
.nav-links button:hover { opacity: 1; }

.nav-cta-btn {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600;
  border: 1.5px solid var(--ink) !important;
  border-radius: 999px;
  background: transparent !important;
  color: var(--ink) !important;
  opacity: 1 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.nav-cta-btn:hover {
  background: var(--ink) !important;
  color: var(--rice) !important;
  opacity: 1 !important;
}

.nav-toggle {
  display: none;
  font-size: 1.375rem;
  color: var(--ink);
  padding: 0.25rem 0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  padding-top: var(--pad-hero-top);
  padding-bottom: var(--pad-hero-bot);
  min-height: calc(100vh - 130px); /* fills viewport, manifesto sits comfortably above the fold */
}

.hero-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--page-px);
  padding-right: var(--page-px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.hero-content { max-width: none; }

.hero-content h1 {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.hero-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 2.125rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.75rem;
  background: var(--ink);
  color: var(--rice);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--matcha); opacity: 1; transform: translateY(-1px); }
.btn-text-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.btn-text-link:hover { opacity: 0.6; }

/* Stat sidebar */
.hero-sidebar {
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--rice-dp);
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.stat-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.stat-row.last { border-bottom: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--matcha);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ---------- MANIFESTO STRIP ---------- */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.manifesto-strip {
  background: var(--matcha);
  padding: 0.625rem 0;
  overflow: hidden;
}
.manifesto-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: var(--manifesto-size);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rice);
  animation: marquee 35s linear infinite;
}
.msep {
  color: rgba(252,235,218,0.4);
  font-size: 12px;
  flex-shrink: 0;
}

/* Scroll offset for sticky nav — prevents nav from covering section headings */
#about, #work, #skills, #contact, #top {
  scroll-margin-top: 80px;
}

/* ---------- AT MY BEST ---------- */
.at-my-best {
  padding-top: var(--pad-section);
  padding-bottom: calc(var(--pad-section) * 0.75);
}

.section-body h2 {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.625rem;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.about-paragraphs p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* Portrait aside */
.portrait-aside { position: sticky; top: 6rem; }
.portrait-img-wrap {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--rice-dp);
  border: 1px solid var(--rule);
}
.portrait-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait-meta-card {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--rice-dp);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.portrait-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4375rem 0;
  border-bottom: 1px dotted var(--rule);
}
.portrait-meta-row.last { border-bottom: none; }
.portrait-meta-row span:first-child { color: var(--dim); }
.portrait-meta-row span:last-child { color: var(--ink); }

/* ---------- GUIDING PRINCIPLES ---------- */
.principles {
  padding-top: calc(var(--pad-section) * 0.75);
  padding-bottom: var(--pad-section);
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.125rem;
}

.principle-card {
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
}
.principle-card.p-cream {
  background: var(--rice-dp);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.principle-card.p-matcha {
  background: var(--matcha);
  color: var(--rice);
}
.principle-card.p-ink {
  background: var(--ink);
  color: var(--rice);
}

.principle-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}
.p-cream  .principle-num { color: var(--matcha); }
.p-matcha .principle-num { color: var(--rice); }
.p-ink    .principle-num { color: var(--matcha-lt); }

.principle-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.principle-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  opacity: 0.88;
}

/* ---------- RECENT WORK ---------- */
.work {
  padding-top: var(--pad-section);
  padding-bottom: calc(var(--pad-section) * 0.75);
}

.work-row {
  display: grid;
  grid-template-columns: 72px 1fr 460px;
  gap: 40px;
  align-items: start;
  padding: 2.25rem 0;
  border-top: 1px solid var(--rule);
}
.work-row:last-child { border-bottom: 1px solid var(--rule); }

.work-row-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.case-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--matcha);
  font-weight: 600;
}
.case-year {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.work-org {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.work-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
  margin-bottom: 1.25rem;
}
.work-row-text h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.75rem;
  max-width: 600px;
}
.work-row-text p {
  font-size: 0.9063rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.375rem;
  max-width: 600px;
}
.case-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.case-link:hover { opacity: 0.55; }

.work-viz {
  border-radius: 6px;
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.work-viz svg { width: 100%; height: auto; }

/* Photo replacement for work viz (ACE NextGen) */
.work-viz-photo {
  border-radius: 6px;
  overflow: hidden;
}
.work-viz-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.work-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 0.75rem;
}
.kpi-cell {
  padding: 0.875rem 0.5rem;
  border-right: 1px dotted var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  overflow: hidden;
}
.kpi-cell:last-child { border-right: none; }
.kpi-n {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--matcha);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Revenue kpi grid — gives the wide value extra room */
.work-kpi.kpi-has-revenue {
  grid-template-columns: 1fr 2fr 1fr 1fr;
}
.kpi-l {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

/* ---------- EDUCATION & SKILLS ---------- */
.credentials {
  padding-top: calc(var(--pad-section) * 0.25);
  padding-bottom: calc(var(--pad-section) * 0.25);
}
.credentials .section-hdr { margin-bottom: 1.5rem; }

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.cred-block {
  margin-bottom: 1.25rem;
}
.cred-block:last-child { margin-bottom: 0; }

.cred-block-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0.5rem;
}

.cred-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 0;
  border-bottom: 1px dotted var(--rule);
}
.cred-item:last-child { border-bottom: none; }

.cred-item-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.cred-item-sub {
  font-size: 0.8125rem;
  color: var(--dim);
  line-height: 1.4;
}

.skills-group {
  padding: 0.5rem 0;
  border-bottom: 1px dotted var(--rule);
}
.skills-group:last-child { border-bottom: none; }
.skills-group-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--matcha);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.skills-group-list {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--matcha);
  color: var(--rice);
  padding: 0;
  margin-top: 10px;
  min-height: 58vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-band .section-container {
  width: 100%;
  padding-top: calc(var(--pad-section) * 1.5);
  padding-bottom: calc(var(--pad-section) * 1.5);
}
.cta-shape {
  position: absolute;
  right: -120px;
  top: -60px;
  width: 360px;
  height: 420px;
  background: var(--rice);
  opacity: 0.06;
  border-radius: 50% 0 50% 0;
  transform: rotate(24deg);
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.cta-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--rice);
  margin: 0;
}
.cta-right {
  display: flex;
  flex-direction: column;
}
.cta-right p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(252,235,218,0.8);
  margin-bottom: 1.75rem;
  max-width: 440px;
}
.btn-cta-primary {
  display: block;
  width: fit-content;
  background: var(--rice);
  color: var(--ink);
  padding: 1rem 1.875rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
  margin-bottom: 0.75rem;
}
.btn-cta-primary:hover { background: var(--rice-dp); opacity: 1; transform: translateY(-1px); }
.btn-cta-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(252,235,218,0.75);
  border-bottom: 1px solid rgba(252,235,218,0.35);
  padding-bottom: 2px;
  margin-top: 0.375rem;
  display: inline-block;
}
.btn-cta-text:hover { opacity: 0.7; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(252,235,218,0.55);
  padding-top: 1.75rem;
  padding-bottom: 1rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.footer-brand-col {}
.footer-logo { height: 24px; margin-bottom: 0.625rem; }
.footer-brand-col p {
  font-size: 0.8125rem;
  line-height: 1.65;
  max-width: 280px;
  color: rgba(252,235,218,0.6);
}

.footer-col-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(252,235,218,0.5);
  margin-bottom: 0.625rem;
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
}
.footer-link-col a,
.footer-link-col span {
  font-size: 0.875rem;
  color: var(--rice);
  opacity: 0.85;
  display: block;
  line-height: 1.4;
}
.footer-link-col a:hover { opacity: 0.55; }
.footer-resume-btn {
  font-size: 0.875rem;
  color: var(--rice);
  opacity: 0.85;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.footer-resume-btn:hover { opacity: 0.55; }

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid var(--rule-dk);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(252,235,218,0.4);
}

/* ---------- RESUME MODAL ---------- */
.resume-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
  overflow-y: auto;
}
.resume-modal.open { display: flex; }

.resume-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,23,19,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.resume-modal-dialog {
  position: relative;
  background: var(--rice);
  border-radius: 16px;
  max-width: 780px;
  width: 100%;
  margin: auto;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.resume-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rice-dp);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s ease;
}
.resume-modal-close:hover { background: var(--ink); color: var(--rice); }
body.modal-open { overflow: hidden; }

.resume-doc { padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.5rem); }
.resume-doc-header { padding-bottom: 0.25rem; }
.resume-doc-header h1 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}
.resume-doc-subtitle {
  font-size: 0.9375rem;
  color: var(--matcha);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.resume-doc-contact {
  font-size: 0.8125rem;
  color: var(--dim);
  line-height: 1.5;
}
.resume-doc-contact a { color: var(--dim); border-bottom: 1px dotted var(--rule); }
.resume-doc-contact a:hover { color: var(--matcha); border-bottom-color: var(--matcha); }

.resume-doc-section {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule);
}
.resume-doc-section h2 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--matcha);
  margin-bottom: 0.4rem;
}
.resume-doc-section p {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}
.resume-doc-entry { margin-bottom: 0.5rem; }
.resume-doc-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.05rem;
}
.resume-doc-company { font-size: 0.9375rem; font-weight: 600; }
.resume-doc-date { font-size: 0.75rem; color: var(--dim); white-space: nowrap; }
.resume-doc-role {
  font-size: 0.8125rem;
  color: var(--dim);
  font-style: italic;
  margin: 0.1rem 0 0.25rem;
  line-height: 1.35;
}
.resume-doc-entry ul { list-style: none; padding: 0; margin: 0 0 0.35rem; }
.resume-doc-entry ul li {
  font-size: 0.8125rem;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.2rem;
}
.resume-doc-entry ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--matcha);
  border-radius: 50%;
}

/* ---------- Responsive ---------- */

/* Large tablet / small desktop */
@media (max-width: 1100px) {
  .hero-grid,
  .section-2col {
    grid-template-columns: 1fr 300px;
    gap: 36px;
  }
  .work-row { grid-template-columns: 60px 1fr 340px; gap: 32px; }
  .cta-grid { gap: 36px; }
}

/* Tablet portrait — collapse to single column */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-2col { grid-template-columns: 1fr; gap: 2rem; }
  .work-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .work-row-meta { flex-direction: row; gap: 1.5rem; }
  .cta-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .principles-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .credentials-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-sidebar { display: none; }
  .portrait-aside { position: static; }
  .work-viz-photo { border-radius: 4px; }
}

/* Hamburger nav + mobile layout — triggers at 768px */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav { position: sticky; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--rice);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 0;
    list-style: none;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(26,23,19,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0; }
  .nav-links a,
  .nav-links button,
  .nav-links .nav-resume-btn {
    padding: 0.875rem var(--page-px);
    display: block;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    opacity: 0.9;
  }
  .nav-cta-btn {
    margin: 0.5rem var(--page-px) !important;
    width: calc(100% - calc(2 * var(--page-px))) !important;
    text-align: center !important;
    justify-content: center;
    border-radius: 8px !important;
  }
  .principles-grid { grid-template-columns: 1fr; }
  .cta-left h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .cta-right p { max-width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --pad-hero-top: 2rem;
    --pad-hero-bot: 2.5rem;
    --pad-section: 2.25rem;
    --h2-size: 28px;
  }
  .hero-content h1 { font-size: clamp(1.875rem, 9vw, 2.75rem); }
  .hero-body { font-size: 0.9375rem; }
  .manifesto-track { font-size: 11px; gap: 1rem; }
  .principle-card { padding: 1.5rem; }
  .work-kpi { grid-template-columns: repeat(2, 1fr); }
  .work-kpi.kpi-has-revenue { grid-template-columns: 1fr 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.375rem; }
  .btn-cta-primary { width: 100%; text-align: center; }
  .cta-left h2 { font-size: 1.75rem; }
  .section-hdr h2, .section-body h2 { font-size: 1.75rem; }
}

