:root {
  --navy: #0F2A43;
  --ink: #1C2B38;
  --body: #41505E;
  --muted: #5B6B7A;
  --line: #DCE3EA;
  --paper: #F2F4F7;
  --white: #FFFFFF;
  --powder: #9BB8D4;
  --powder-light: #E3ECF5;
  --panel-blue: #E9F0F7;
  --panel-blue-line: #C9D7E6;
  --panel-red: #F7ECEC;
  --panel-red-line: #E3C9C9;
  --red: #8E3B3B;
  --dark-line: #2E4B6B;
  --dark-text: #F2F4F7;
  --dark-muted: #9BB8D4;
  --dark-soft: #CDDCEC;
  --serif: Georgia, "Gelasio", "Times New Roman", serif;
  --sans: "Carlito", Calibri, "Segoe UI", Arial, sans-serif;
  --shadow: 0 3px 9px rgba(28, 43, 56, 0.10);
  --radius: 6px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

a { color: #3C6B97; }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

section, [id] { scroll-margin-top: 84px; }

.container {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(56px, 7vw, 88px) 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--navy); color: var(--dark-text); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--dark-text); }

.section-title { font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.01em; }
.section-intro {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--body);
  max-width: 800px;
  margin-top: 16px;
}
.section.dark .section-intro { color: var(--dark-muted); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 20px;
}

.caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 12px;
}
.section.dark .caption { color: var(--dark-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
}
.btn:hover { background: #163A5C; color: var(--white); }

.text-link {
  font-size: 17px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--powder);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 36px; width: auto; }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; color: var(--navy); line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; }
.nav .btn, .nav .btn:hover { height: 42px; padding: 0 18px; font-size: 16px; color: var(--white); text-decoration: none; }
.mobile-menu { display: none; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.hero .lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  margin-top: 24px;
  max-width: 640px;
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.hero .note { font-size: 15px; color: var(--muted); margin-top: 18px; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 4px;
}

/* Three-part band */
.band {
  border-top: 1px solid var(--line);
  padding: 40px 0 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.band h2 { font-size: 23px; margin-bottom: 8px; }
.band p { font-size: 17px; }

/* What makes us different */
.why {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.why-photo { margin-top: 32px; max-width: 400px; }
.why-photo img { border-radius: 4px; aspect-ratio: 5 / 4; object-fit: cover; }
.rules > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.rules > div:first-child { padding-top: 8px; }
.rules h3 { font-size: 22px; margin-bottom: 6px; }
.rules p { font-size: 17px; }

/* Letter */
.letter {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 72px;
  align-items: start;
}
.letter-body p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
}
.letter-body p + p { margin-top: 22px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 28px; margin-top: 36px; line-height: 1.2; }
.signature-role { font-size: 15px; color: var(--dark-muted); margin-top: 6px; }
.aside { border-top: 1px solid var(--dark-line); padding-top: 24px; margin-top: 44px; }
.aside h2 { font-size: 21px; margin-bottom: 20px; }
.aside-item + .aside-item { margin-top: 22px; }
.aside-item .title { font-weight: 700; color: var(--dark-text); font-size: 16px; }
.aside-item p { font-family: var(--serif); font-size: 17px; color: var(--dark-muted); margin-top: 4px; }
.aside-item a {
  display: inline-block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--dark-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #6F8FB3;
}

/* Comparison */
.compare {
  margin-top: 40px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 32px 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
}
.compare .head {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}
.compare .head.thorn { color: var(--navy); padding-left: 12px; }
.compare .row-label {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.compare .cell { font-size: 17px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.compare .cell.thorn { background: var(--powder-light); padding: 16px 12px; color: var(--ink); }
.compare .cell::before { display: none; }

/* Criteria lists */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 44px; }
.two-col h3 { font-size: 24px; margin-bottom: 16px; }
.ruled { border-bottom: 1px solid var(--line); }
.ruled p { padding: 14px 0; border-top: 1px solid var(--line); }
.after { margin-top: 40px; max-width: 900px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 24px; margin-bottom: 12px; }
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  margin-top: 40px;
  max-width: 900px;
}

/* Commitments */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
.panel { border-radius: var(--radius); padding: 24px 28px; }
.panel h3 { font-size: 24px; margin-bottom: 14px; }
.panel.blue { background: var(--panel-blue); }
.panel.blue .ruled, .panel.blue .ruled p { border-color: var(--panel-blue-line); }
.panel.red { background: var(--panel-red); }
.panel.red h3 { color: var(--red); }
.panel.red .ruled, .panel.red .ruled p { border-color: var(--panel-red-line); }

/* Steps */
.steps { margin-top: 44px; border-bottom: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 48px 280px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step .num { font-weight: 700; color: var(--navy); padding-top: 4px; }
.step h3 { font-size: 22px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.015em; }
.contact .lede { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); color: var(--dark-muted); margin-top: 22px; }
.contact-details { padding-top: 8px; }
.contact-details a.big {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  color: var(--dark-text);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #6F8FB3;
  word-break: break-word;
}
.contact-details a.big + a.big { margin-top: 20px; }
.contact-details .note { font-size: 16px; color: var(--dark-muted); margin-top: 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: 14px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 10px; }
.footer-brand .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.site-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }

/* Who we are */
.page-title { font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.015em; line-height: 1.1; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
.person { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.person img, .person .initials { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; border-radius: 4px; }
.person .initials {
  background: var(--powder-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 64px;
  color: var(--navy);
}
.person h2 { font-size: 24px; margin-top: 24px; }
.person .role { font-size: 15px; color: var(--muted); margin-top: 4px; }
.person p.bio { font-size: 17px; margin-top: 16px; }
.person p.bio + p.bio { margin-top: 12px; }
.money { display: grid; grid-template-columns: 300px 1fr; gap: 56px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.money h2 { font-size: 24px; }

.history-banner { margin-top: 40px; }
.history-banner img { width: 100%; border-radius: 4px; }
.timeline { margin-top: 48px; border-bottom: 1px solid var(--dark-line); }
.tl-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--dark-line);
  align-items: start;
}
.tl-row .year { font-family: var(--serif); font-size: 24px; color: var(--dark-text); line-height: 1.3; }
.tl-row p { color: var(--dark-soft); }
.history-close { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 48px; }
.history-close img { border-radius: 4px; }
.history-close .pull { color: var(--dark-text); margin-top: 0; }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; border-bottom: 1px solid var(--line); }
.faq > div { padding: 24px 0; border-top: 1px solid var(--line); }
.faq h3 { font-size: 22px; margin-bottom: 10px; }
.faq p { font-size: 17px; }

/* Plain pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 36px; margin-bottom: 10px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 10px 0 0; }
.prose li + li { margin-top: 6px; }

/* Tablet and phone */
@media (max-width: 960px) {
  .brand-name { font-size: 20px; }
  .nav .link { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; font-size: 16px; color: var(--ink); list-style: none; padding: 10px 0; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] summary { color: var(--navy); }
  .mobile-menu .links { display: flex; flex-direction: column; gap: 14px; padding: 6px 0 18px; font-size: 17px; }
  .mobile-menu .links a { color: var(--ink); text-decoration: none; }
  .hero, .why, .letter, .contact, .money, .history-close { grid-template-columns: 1fr; gap: 36px; }
  .why-photo { max-width: 100%; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav .btn { display: none; }
  .brand img { height: 30px; }
  .brand-name { font-size: 18px; }
  .two-col, .cards, .panels, .faq, .people { grid-template-columns: 1fr; gap: 28px; }
  .band { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .band > div { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .step { grid-template-columns: 40px 1fr; gap: 12px 16px; }
  .step p { grid-column: 2; }
  .compare { grid-template-columns: 1fr; padding: 8px 20px 12px; gap: 0; }
  .compare .head { display: none; }
  .compare .row-label { padding: 22px 0 8px; border-bottom: none; border-top: 1px solid var(--line); font-size: 20px; color: var(--navy); }
  .compare .row-label:first-of-type { border-top: none; }
  .compare .cell { border-bottom: none; padding: 6px 0; }
  .compare .cell::before { display: inline; content: attr(data-col) ": "; font-weight: 700; color: var(--navy); }
  .compare .cell.thorn { padding: 10px 12px; border-radius: 4px; margin: 6px 0 4px; }
  .hero-actions { gap: 18px; }
  .hero-actions .btn { width: 100%; }
  .signature { font-size: 24px; }
}
