:root {
  --green: #1f3d31;
  --cream: #f6f1e7;
  --cream-dim: rgba(246, 241, 231, 0.78);
  --page: #f8f6f1;
  --ink: #251f21;
  --ink-2: #4c4442;
  --ink-3: #8a8078;
  --hairline: #e5dfd4;
  --white: #ffffff;
  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
}

.card {
  max-width: 920px;
  margin: 40px auto;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .card { margin: 0; border-radius: 0; border: none; }
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
section { padding: 34px 36px 6px; }
@media (max-width: 767px) { section { padding: 28px 20px 4px; } }
p { font-size: 14px; line-height: 23px; color: var(--ink-2); }
.lede { margin: 0 0 6px; max-width: 620px; }

/* Hero */
.hero {
  background: var(--green);
  color: var(--cream);
  padding: 40px 36px 40px;
}
@media (max-width: 767px) { .hero { padding: 28px 20px 32px; } }
.hero-top { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.monogram {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1.5px solid var(--cream);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 16px; letter-spacing: 0.04em;
  color: var(--cream);
  flex: none;
}
.hero-name {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream);
}
.hero-line {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 46px; line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 640px;
  color: var(--cream);
}
.hero-sub {
  margin: 0 0 26px;
  font-size: 15px; line-height: 26px;
  color: var(--cream-dim);
  max-width: 560px;
}
@media (max-width: 767px) {
  .hero-line { font-size: 33px; }
  .hero-sub { font-size: 14px; line-height: 24px; }
}
.hero-art { width: 100%; height: auto; display: block; border-radius: 14px; }
.hero-caption { margin: 10px 0 22px; font-size: 12px; line-height: 18px; color: var(--cream-dim); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-cream, .btn-ghost {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
}
.btn-cream { background: var(--cream); color: var(--green); }
.btn-ghost { border: 1px solid rgba(246,241,231,0.5); color: var(--cream); }

/* Brand strip */
.brand-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 6px; }
@media (max-width: 767px) { .brand-strip { grid-template-columns: repeat(2, 1fr); } }
.brand-tile {
  display: flex; align-items: center; justify-content: center;
  min-height: 84px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}
.brand-tile-dark { background: #101010; border-color: #101010; }
.brand-tile img { max-width: 82%; max-height: 46px; width: auto; height: auto; display: block; }

/* Career arc */
.arc { position: relative; margin-top: 18px; padding-left: 26px; }
.arc::before {
  content: "";
  position: absolute;
  left: 6px; top: 10px; bottom: 10px;
  width: 1px;
  background: var(--hairline);
}
.chapter { position: relative; padding: 0 0 26px; }
.chapter:last-child { padding-bottom: 4px; }
.chapter::before {
  content: "";
  position: absolute;
  left: -24.5px; top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--green);
}
.chapter-period {
  margin: 0 0 4px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3);
}
.chapter-role {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px; line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.chapter-place { margin: 2px 0 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chapter-body { margin: 0; max-width: 620px; }
.chapter-link {
  margin: 8px 0 0;
  font-size: 13px; line-height: 21px;
  font-style: italic;
  color: var(--green);
  max-width: 560px;
}

/* Case cards */
.case {
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  margin-bottom: 22px;
}
.case-art { width: 100%; height: auto; display: block; }
.case-body { padding: 24px 26px 26px; }
@media (max-width: 767px) { .case-body { padding: 18px 18px 22px; } }
.case-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.case-number { font-family: var(--font-display); font-size: 15px; color: var(--green); }
.case-eyebrow {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.case-logo { margin-left: auto; display: inline-flex; align-items: center; }
.case-logo img { height: 18px; width: auto; display: block; }
.case-logo-dark { background: #101010; border-radius: 6px; padding: 4px 8px; }
.case-logo-dark img { height: 13px; }
.case-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px; line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 640px;
}
.case-moves { margin: 10px 0 14px; padding-left: 18px; font-size: 14px; line-height: 23px; color: var(--ink-2); }
.case-moves li { margin-bottom: 8px; }
.case-moves li::marker { color: var(--green); }
.case-metric { margin: 0; font-size: 14px; font-weight: 600; color: var(--green); }
.case-qualifier { margin: 2px 0 0; font-size: 12px; line-height: 18px; color: var(--ink-3); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--cream);
}

/* Education rows */
.rows { border-top: 1px solid var(--hairline); }
.row { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.row-name { margin: 0 0 2px; font-size: 14px; font-weight: 600; color: var(--ink); }
.row-detail { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink-2); }

/* Footer block */
.footer-block {
  margin: 34px 36px 0;
  padding: 30px 24px 32px;
  background: var(--green);
  border-radius: 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
@media (max-width: 767px) { .footer-block { margin: 28px 20px 0; } }
.footer-line { margin: 0; font-size: 14px; line-height: 23px; color: var(--cream-dim); }

.closing {
  padding: 26px 36px 34px;
  font-size: 12px; line-height: 19px;
  color: var(--ink-3);
}
@media (max-width: 767px) { .closing { padding: 22px 20px 30px; } }

/* Education rows with marks */
.edu { margin-top: 4px; border-top: 1px solid var(--hairline); }
.edu-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.edu-mark { width: 72px; flex: none; display: flex; justify-content: center; }
.edu-mark img { max-height: 20px; max-width: 100%; width: auto; height: auto; display: block; }
.edu-chip-dark { background: #101010; border-radius: 6px; padding: 4px 8px; display: inline-flex; }
.edu-chip-dark img { max-height: 12px; }
.edu-dot { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--green); display: inline-block; }
.edu-text { display: flex; flex-direction: column; }
.edu-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.edu-detail { font-size: 13px; line-height: 20px; color: var(--ink-2); }
@media (min-width: 768px) { .brand-strip { grid-template-columns: repeat(4, 1fr); } }

.hero-mu { display: inline-flex; align-items: center; margin-right: 10px; }
.hero-mu img { height: 15px; width: auto; display: block; background: #101010; border-radius: 4px; padding: 3px 7px; }
.brand-note { margin: 10px 0 0; font-size: 12px; line-height: 18px; color: var(--ink-3); }
.brand-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
