/* Concept A: Institutional. Tokens come from Figma "A / Style tile". */

:root {
  --navy: #1b3a5c;
  --navy-deep: #12283f;
  --gold: #a07830;
  --ivory: #faf8f3;
  --white: #ffffff;
  --ink: #1d232b;
  --slate: #5b6573;
  --rule: #dcd6ca;
  --placeholder: #e4e1da;
  --note-bg: #ffe9a8;
  --note-ink: #6b4e00;

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 144px;

  --margin: clamp(24px, 8.3333vw, 120px);
  /* content is capped at 1200px (1440 less two 120px margins) on wide screens */
  --gutter: max(var(--margin), calc((100% - 1200px) / 2));
  --py: var(--space-7);
  --gap: var(--space-6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
blockquote {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Type styles ---------- */

.label,
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.68px;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold);
}

.pre {
  white-space: pre-wrap;
}

.display,
.h1,
.h2,
.h3,
.quote {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
}

.display {
  font-size: clamp(40px, 4.4445vw, 64px);
  line-height: clamp(48px, 5.1389vw, 74px);
  letter-spacing: -0.01em;
}

.h1 {
  font-size: 44px;
  line-height: 54px;
  letter-spacing: -0.22px;
}

.h2 {
  font-size: 32px;
  line-height: 42px;
}

.h3 {
  font-size: 22px;
  line-height: 30px;
}

.quote {
  font-style: italic;
  font-size: 26px;
  line-height: 38px;
}

.lead.lead--ink {
  color: var(--ink);
}

.lead {
  font-weight: 300;
  font-size: 19px;
  line-height: 31px;
  color: var(--slate);
}

.body {
  font-size: 16px;
  line-height: 26px;
  color: var(--slate);
}

.small {
  font-size: 13px;
  line-height: 20px;
}

/* ---------- Navigation ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  padding: 0 var(--gutter);
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wordmark__name {
  font-family: var(--serif);
  font-size: 20px;
  line-height: normal;
  letter-spacing: 4.4px;
  color: var(--navy);
  white-space: nowrap;
}

.wordmark__place {
  font-size: 13px;
  line-height: 20px;
  color: var(--gold);
}

.nav__toggle {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
}

.nav__links {
  display: flex;
  gap: var(--space-5);
}

.nav__links a {
  color: var(--navy);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--gold);
}

.nav__links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

/* ---------- Bands (full-bleed sections) ---------- */

.band {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: var(--py) var(--gutter);
  background: var(--ivory);
}

.band--white {
  background: var(--white);
}

.band--navy {
  background: var(--navy);
}

.band--navy .h2 {
  color: var(--white);
}

.band--center {
  align-items: center;
  text-align: center;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: var(--intro-gap, var(--space-4));
}

.band--center .intro,
.intro--center {
  align-items: center;
  text-align: center;
}

.rule-gold {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Buttons and links ---------- */

.button {
  display: inline-block;
  padding: 15px 31px;
  border: 1px solid var(--navy);
  color: var(--navy);
  text-align: center;
}

.button:hover,
.button:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.link {
  color: var(--navy);
}

.link:hover,
.link:focus-visible {
  color: var(--gold);
}

.email-link {
  overflow-wrap: anywhere;
}

.email-link:hover,
.email-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ---------- Review notes ---------- */

.pp-note {
  align-self: flex-start;
  display: inline-block;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 2px;
  background: var(--note-bg);
  color: var(--note-ink);
  font-family: "Inter", var(--sans);
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0;
  text-transform: none;
}

.pp-hide-notes .pp-note {
  display: none;
}

/* ---------- Layout helpers ---------- */

.split {
  display: flex;
  align-items: flex-start;
  gap: var(--space-7);
}

.split__side {
  flex: 0 0 var(--side, 440px);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

.split--320 {
  --side: 320px;
}

.split--440 {
  --side: 440px;
}

.split--560 {
  --side: 560px;
}

.split__side--tight {
  gap: var(--space-3);
}

.split__main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cols {
  --n: 3;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: var(--space-5);
}

.cols--2 {
  --n: 2;
}

.cols--4 {
  --n: 4;
}

.cols--64 {
  gap: var(--space-6);
}

.cell {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gold);
  min-width: 0;
}

.cell--xp {
  gap: 12px;
}

.cell--xp .h3 {
  color: var(--white);
}

.cell--xp .small {
  color: var(--rule);
}

.option {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.placeholder p {
  width: 100%;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-4);
  background: var(--placeholder);
  color: var(--slate);
  text-align: center;
}

/* ---------- Home ---------- */

.hero {
  --py: var(--space-8);
  --gap: var(--space-5);
  align-items: center;
  text-align: center;
}

.hero .lead {
  max-width: 680px;
}

.pillars {
  border-top: 1px solid var(--gold);
}

.pillar {
  display: grid;
  grid-template-columns: 80px 360px minmax(0, 1fr);
  column-gap: var(--space-5);
  align-items: start;
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--rule);
}

.pillar__num {
  color: var(--gold);
}

.pillar__title {
  color: var(--navy);
}

.strip {
  --py: var(--space-6);
  --gap: var(--space-5);
}

.teaser-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
}

.teaser-head .intro {
  gap: var(--space-4);
}

.contact-band {
  align-items: center;
  text-align: center;
  --gap: var(--space-4);
}

.contact-band .email {
  color: var(--gold);
}

/* ---------- About ---------- */

.about-head {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.about-head .placeholder {
  flex: 0 0 min(480px, 40%);
  aspect-ratio: 4 / 5;
}

.about-head__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.timeline {
  border-top: 1px solid var(--gold);
}

.timeline__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 320px;
  column-gap: var(--space-5);
  align-items: baseline;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--rule);
}

.timeline__when {
  color: var(--gold);
}

.timeline__role {
  color: var(--navy);
}

.entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.entry__name {
  color: var(--ink);
}

.entry__meta {
  color: var(--slate);
}

.cell__label {
  color: var(--navy);
}

/* ---------- Approach ---------- */

.page-head {
  --py: var(--space-8);
  padding-bottom: var(--space-7);
  --gap: var(--space-4);
  align-items: center;
  text-align: center;
}

.page-head .lead {
  max-width: 720px;
}

.page-head .h1 {
  max-width: 900px;
}

.focus-list {
  flex: 1 1 0;
  min-width: 0;
  border-top: 1px solid var(--gold);
}

.focus-list li {
  padding-block: 18px;
  border-bottom: 1px solid var(--rule);
  font-weight: 300;
  font-size: 19px;
  line-height: 31px;
  color: var(--ink);
}

.principle .h3 {
  color: var(--white);
}

.principle .body {
  color: var(--rule);
}

.lesson .quote {
  color: var(--navy);
}

.closing {
  --gap: var(--space-4);
  align-items: center;
  text-align: center;
}

.closing .email {
  color: var(--gold);
}

/* ---------- Perspectives ---------- */

.featured {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.featured .placeholder {
  flex: 0 0 min(600px, 50%);
  aspect-ratio: 10 / 7;
}

.featured__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

/* ---------- Contact ---------- */

.contact-body {
  --py: var(--space-8);
}

.details {
  flex: 1 1 0;
  min-width: 0;
  border-top: 1px solid var(--gold);
}

.details > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--rule);
}

.details .eyebrow {
  color: var(--gold);
}

.details .h3 {
  color: var(--navy);
}

.details .email-link {
  color: var(--gold);
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 36px var(--gutter);
  background: var(--navy-deep);
  font-size: 13px;
  line-height: 20px;
  color: var(--rule);
}

.footer__left,
.footer__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__right {
  align-items: flex-end;
  text-align: right;
}

.footer__name {
  font-family: var(--serif);
  font-size: 18px;
  line-height: normal;
  letter-spacing: 3.96px;
  color: var(--white);
}

.footer__email {
  color: var(--white);
}

.footer__email:hover,
.footer__email:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile frame swaps copy and drops some items; both versions live in the markup. */
.only-m {
  display: none !important;
}

/* ---------- Tablet ---------- */

@media (max-width: 1180px) {
  .cols--4 {
    --n: 2;
  }

  .pillar {
    grid-template-columns: 56px 240px minmax(0, 1fr);
  }

  .timeline__row {
    grid-template-columns: 160px minmax(0, 1fr) 240px;
  }

  .split,
  .about-head,
  .featured {
    gap: var(--space-6);
  }

  .split__side {
    flex-basis: min(var(--side, 440px), 38%);
  }
}

/* ---------- Mobile (390 frame) ---------- */

@media (max-width: 900px) {
  :root {
    --margin: clamp(24px, 5vw, 48px);
    --py: var(--space-6);
    --gap: var(--space-4);
  }

  .only-m {
    display: revert !important;
  }

  .only-d {
    display: none !important;
  }

  .body--ink-m {
    color: var(--ink);
  }

  .d-br {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    min-height: 0;
    padding-block: 20px;
    row-gap: 0;
  }

  .wordmark__place {
    display: none;
  }

  .wordmark__name {
    font-size: 16px;
    letter-spacing: 3.52px;
  }

  .nav__toggle {
    display: block;
    color: var(--navy);
  }

  .js .nav__links {
    display: none;
  }

  .js .nav__links.is-open {
    display: flex;
  }

  .nav__links {
    flex: 0 0 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 20px;
    border-top: 1px solid var(--rule);
  }

  .nav__links a {
    display: block;
    padding-block: 16px;
    border-bottom: 1px solid var(--rule);
  }

  .nav__links a:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .hero,
  .strip,
  .page-head,
  .closing,
  .contact-band {
    --gap: var(--space-4);
  }

  .band--center,
  .hero,
  .page-head,
  .contact-band,
  .closing {
    align-items: flex-start;
    text-align: left;
  }

  .band--center .intro,
  .intro--center {
    align-items: flex-start;
    text-align: left;
  }

  .hero,
  .page-head,
  .contact-body {
    --py: var(--space-7);
  }

  .page-head {
    padding-bottom: var(--space-6);
  }

  .h1 {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.2px;
  }

  .rule-gold {
    width: 40px;
  }

  .hero .button {
    align-self: stretch;
    padding: 17px 0;
  }

  .split,
  .about-head,
  .featured {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
  }

  .split__side {
    flex: 0 0 auto;
  }

  .about-head .placeholder,
  .featured .placeholder {
    flex: 0 0 auto;
  }

  .about-head .placeholder {
    aspect-ratio: 4 / 5;
  }

  .featured .placeholder {
    aspect-ratio: 16 / 11;
  }

  .about-head__text,
  .featured__text {
    flex: 0 0 auto;
  }

  .cols,
  .cols--2,
  .cols--4 {
    --n: 1;
    gap: var(--space-4);
  }

  .cell {
    padding-top: 16px;
    gap: 6px;
  }

  .cell--xp {
    gap: 6px;
  }

  .cell--card {
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 8px;
  }

  .cell--principle,
  .cell--lesson,
  .cell--step {
    gap: var(--space-3);
    padding-top: var(--space-4);
  }

  .strip {
    --gap: var(--space-4);
  }

  .pillar {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 6px;
    padding-block: 20px;
    align-items: baseline;
  }

  .pillar__num {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.68px;
    text-transform: uppercase;
  }

  .pillar__text {
    grid-column: 2;
  }

  .teaser {
    gap: var(--space-4);
  }

  .teaser-head {
    display: contents;
  }

  .teaser-head .link {
    order: 3;
  }

  .timeline__row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 6px;
    padding-block: 20px;
  }

  .contact-band .email {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 19px;
    line-height: 31px;
    overflow-wrap: anywhere;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-block: var(--space-5);
  }

  .footer__left,
  .footer__right {
    gap: 10px;
  }

  .footer__right {
    align-items: flex-start;
    text-align: left;
  }

  .footer__name {
    font-size: 16px;
    letter-spacing: 3.52px;
  }
}
