/* The site's one stylesheet: design B ("management consultancy"), chosen by
   the owner on 2026-10-11 from evidence/design-options.html.
   Fonts are self-hosted (@fontsource, OFL-1.1): EB Garamond for headings,
   Inter for text. Every text colour meets WCAG AA on its background.
   Nothing here moves content out of code order (see the no-reordering check),
   and nothing animates. */

@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/eb-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/eb-garamond-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
}

:root {
  --navy: #0b1f3a;
  --gold: #8a6a35;        /* gold text: 4.8:1 on ivory */
  --gold-line: #b08d57;   /* gold rules only, never text */
  --gold-light: #d8c39a;  /* gold text on navy */
  --ivory: #fbf9f4;
  --white: #fff;
  --ink: #1b2333;
  --muted: #4b5363;
  --line: #e3ddd0;
  --oxblood: #7a2530;     /* failure messages and their bar: 9.35:1 on ivory, 9.84:1 on white */
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --gutter: 5vw;
  --band: 104px;          /* the space above and below each section */
  --width: 1180px;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: break-word;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(46px, 6vw, 88px); line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.1; }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }

/* ---- Small-caps label above a section, with a short gold rule */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--gold);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold-line);
  vertical-align: middle;
  margin-right: 14px;
}
.eyebrow-centred { text-align: center; }
.eyebrow-centred::before { display: none; }
.eyebrow-light { color: var(--gold-light); }
.eyebrow-light::before { background: var(--gold-light); }

/* ---- Header: the logo about twice its earlier height, nav at the right */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-logo img { height: 136px; width: auto; }
/* The logo file's background is near-white, not pure white. On white, multiply
   blending shows it as white, so no faint box appears; the logo's own colours
   are unchanged. */
.site-logo img,
.footer-logo img { mix-blend-mode: multiply; }
.site-nav ul {
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.site-nav a[aria-current="page"],
.site-nav a:hover { border-bottom-color: var(--gold-line); }
/* A menu item never breaks onto two lines within itself (Chris,
   2026-10-13). Mid-size screens: tighter gaps so the five items fit beside
   the logo from 960px (measured: they fit from 952px with 20px gaps);
   below 960px the menu takes its own row under the logo, at full size, as
   on phones. Never at 1000px or wider: on a short landscape tablet an
   extra row would push the opening section's buttons down. */
.site-nav a { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1099px) {
  .site-nav ul { gap: 20px; }
}
@media (min-width: 768px) and (max-width: 959px) {
  .site-header { flex-direction: column; gap: 14px; }
  .site-nav ul { gap: 8px 28px; flex-wrap: wrap; justify-content: center; }
}

/* ---- Home: hero with the founder's photo and quote */
.hero {
  padding: 56px var(--gutter) 110px;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 72px;
  align-items: start;
}
.hero h1 { margin: 0 0 26px; }
.standfirst {
  font-size: 20px;
  color: var(--muted);
  max-width: 32em;
  margin: 0 0 32px;
}
.standfirst strong { color: var(--navy); }
.cta-line { margin: 0; }
.cta {
  display: inline-block;
  color: var(--white);
  background: var(--navy);
  text-decoration: none;
  /* The border keeps the filled and the outlined button the same size. */
  border: 2px solid var(--navy);
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cta:hover,
.cta:focus-visible { background: #16325a; border-color: #16325a; }
/* The home hero's second button (the Wall of Supporters, while public):
   outlined, beside the first; stacked on a phone. */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.cta-outline { color: var(--navy); background: transparent; }
.cta-outline:hover,
.cta-outline:focus-visible { color: var(--white); background: var(--navy); border-color: var(--navy); }
.founder-figure,
.portrait {
  margin: 0;
  display: grid;
  grid-template-columns: 1px 1fr;
  column-gap: 28px;
}
.founder-figure .rule,
.portrait .rule {
  background: var(--gold-line);
  grid-row: 1 / span 2;
}
.founder-figure img,
.portrait img { width: 100%; }
/* Home: Daniel's photo in black and white (design B). About Us: in colour
   (owner request, 2026-10-12). */
.founder-figure img { filter: grayscale(1) contrast(1.06); }
.founder-figure figcaption {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
  color: var(--navy);
}
.founder-figure figcaption p { margin: 0; }
.founder-figure figcaption em { font-size: 24px; }

/* ---- About Us: "From the Founder", three quotations styled like the
   home page's Daniel quote (gold rule, serif, navy), a size larger. */
.founder-quotes { margin: 0 0 72px; }
.founder-quote {
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 1px 1fr;
  column-gap: 28px;
  max-width: 46em;
}
.founder-quote .rule { background: var(--gold-line); grid-row: 1 / span 2; }
.founder-quote blockquote { margin: 0; }
.founder-quote blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--navy);
}
.founder-quote figcaption {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
  color: var(--navy);
}

/* ---- Home: metrics on navy */
.band {
  max-width: var(--width);
  margin: 0 auto;
  padding: var(--band) var(--gutter);
}
.metrics { background: var(--navy); }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(216, 195, 154, 0.45);
}
/* Four equal columns across the band; each number sits centred directly
   above its label, so the four are evenly spaced (owner request, 2026-10-12). */
.metric {
  padding: 30px 12px 0;
  text-align: center;
}
.metric-value {
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 84px);
  line-height: 1;
  margin: 0 0 12px;
  color: var(--white);
}
.metric-label {
  margin: 0;
  color: #d5dbe6;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.metrics-line {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--white);
  text-align: center;
  max-width: 36em;
  margin: 64px auto 0;
}

/* ---- Home: after the navy "By the numbers" band, the testimonials (a
   full band above them), then Methodology, the tip line and Insights, each
   half a band apart, so every gap between sections is one band's worth. */
.testimonials { padding-bottom: calc(var(--band) / 2); }
.methodology { padding-top: calc(var(--band) / 2); padding-bottom: calc(var(--band) / 2); }
.insights { padding-top: calc(var(--band) / 2); }
/* Three testimonials side by side, in the founder-quote style. */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.testimonial-grid .founder-quote { margin: 0; }
/* The link to the case study under the testimonials, styled like the
   site's other text links (navy, gold underline). */
.testimonials-link { margin: 40px 0 0; }
.testimonials-link a {
  color: var(--navy);
  text-decoration-color: var(--gold-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.testimonial-grid .founder-quote blockquote p { font-size: clamp(21px, 1.9vw, 24px); }
/* ---- Clients page: the testimonials, then the case study (three
   subsections and the pull-quote). */
.clients h1 { margin-bottom: 48px; }
.clients h2 { margin: 0 0 32px; }
.clients-testimonials { margin: 0 0 88px; }
.case-study { scroll-margin-top: 24px; }
.case-section { max-width: 40em; margin: 0 0 40px; }
.case-section h3 { margin: 0 0 14px; }
.case-section p { margin: 0; }
.case-quote { margin-top: 56px; }
.methodology h2 { margin: 0 0 28px; }
.methodology-steps {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.5;
  color: var(--navy);
  border-top: 1px solid var(--navy);
  padding-top: 26px;
  margin: 0 0 18px;
  text-wrap: balance;
}
.methodology-closing { margin: 0; color: var(--muted); }
/* The tip link sits between Methodology and Insights, with the same
   half-band spacing. */
.fund {
  padding-top: calc(var(--band) / 2);
  padding-bottom: calc(var(--band) / 2);
  text-align: center;
}
.fund-line {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 28px;
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
/* Insight titles are plain headings until real articles exist: no link,
   no underline, no pointer, no hover effect. */
.insight {
  border-top: 1px solid var(--navy);
  padding-top: 22px;
}
.insight h3 { font-size: 28px; margin: 0; }

/* ---- Other pages */
.page {
  max-width: var(--width);
  margin: 0 auto;
  padding: var(--band) var(--gutter);
}
.lede {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--navy);
  max-width: 34em;
  margin: 0 0 72px;
}
.split {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: start;
}
.prose { max-width: 40em; }
.founder-name {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--navy);
}
.faq-section {
  margin-top: var(--band);
  max-width: 860px;
}
.faq { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; }
/* The plus sign is drawn, not written. */
.faq summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(var(--gold-line), var(--gold-line)) center / 22px 1.5px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) center / 1.5px 22px no-repeat;
}
.faq details[open] summary::after {
  background: linear-gradient(var(--gold-line), var(--gold-line)) center / 22px 1.5px no-repeat;
}
.faq-answer {
  color: var(--muted);
  padding: 0 0 26px;
  max-width: 44em;
}
.contact h1 { margin-bottom: 40px; }
.contact-line {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 34px);
  color: var(--navy);
  padding-left: 28px;
  border-left: 1px solid var(--gold-line);
}
.contact-line a {
  text-decoration-color: var(--gold-line);
  text-underline-offset: 0.2em;
}
/* Newsroom and the footer's Company pages (Round 5C, 2026-10-12) */
.news-item {
  border-top: 1px solid var(--navy);
  padding-top: 26px;
  max-width: 44em;
}
.news-item h2 { font-size: clamp(28px, 2.6vw, 36px); margin: 0 0 14px; }
.news-item p { margin: 0; color: var(--muted); }
.news-item + .news-item { margin-top: 48px; }
.news-item h2 a {
  text-decoration-color: var(--gold-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.text-page .lede { margin-bottom: 0; }
.page-list { padding-left: 1.2em; }
.page-list a {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
}

/* ---- Wall of Supporters (/supporters/). No script: the Worker fills the
   two lists and shows at most one message. Gold is decoration only (rules,
   frame, rank numerals); names and amounts are navy. */
.supporters .lede { margin-bottom: 18px; }
.supporters-review { color: var(--muted); margin: 0 0 48px; }
.notice {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  border-left: 1px solid var(--gold-line);
  padding-left: 22px;
  margin: 0 0 40px;
  max-width: 34em;
}
/* List 1 (two thirds) and List 2 (one third), side by side, both starting
   at the same height; one column on phones. */
.supporters-lists {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  margin: 0 0 72px;
}
/* List 1: the Leadership Circle, framed in a double gold rule. */
.circle {
  background: var(--white);
  border: 1px solid var(--gold-line);
  box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 7px var(--gold-line);
  padding: 44px 48px 40px;
}
.circle-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(30px, 3vw, 40px);
  margin: 0 0 30px;
  white-space: nowrap;
}
.circle-heading::before,
.circle-heading::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: var(--gold-line);
}
.circle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--gold-line);
}
.circle-entry {
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  color: var(--navy);
  font-size: 22px;
  line-height: 1.3;
}
.circle-rank {
  color: var(--gold);
  text-align: center;
  font-variant-numeric: lining-nums;
}
.circle-name { overflow-wrap: anywhere; }
.circle-amount {
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
/* Ranks 1 to 3: heavier gilding (a thicker gold rule, larger numerals). */
.circle-top {
  border-bottom: 2px solid var(--gold-line);
  padding: 20px 0;
  font-size: 26px;
}
.circle-top .circle-rank { font-size: 44px; line-height: 1; }
.circle-1 { border-bottom-width: 3px; }
.circle-1 .circle-rank { font-size: 54px; }
.circle .list-empty {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
  text-align: center;
  margin: 28px 0 4px;
}
/* List 2: Amount Not Disclosed, the fine print beside the main event. */
.undisclosed-heading {
  font-size: 22px;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--navy);
}
.undisclosed-list { list-style: none; margin: 0; padding: 0; }
.undisclosed-list li {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.undisclosed .list-empty { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
/* scroll-margin-top: a refused form opens at #contribute with room above its message. */
.supporters-form { max-width: 28em; margin: 0 0 24px; scroll-margin-top: 32px; }
.supporters-form .field { margin: 0 0 22px; }
.supporters-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 0 0 6px;
}
.supporters-form input {
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--muted);
  padding: 12px 14px;
}
.supporters-form .field-check { display: flex; align-items: flex-start; gap: 12px; }
.supporters-form .field-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--navy);
}
.supporters-form .field-check label { margin: 0; font-weight: 400; letter-spacing: 0; font-size: 16px; }
.supporters-form input:focus-visible,
.supporters-form button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.supporters-form button { border: 0; cursor: pointer; font-family: inherit; }
/* Messages saying something did not happen: the notice's bar, in oxblood. */
.notice-failure {
  color: var(--oxblood);
  border-left: 2px solid var(--oxblood);
}
.form-error {
  color: var(--oxblood);
  font-weight: 600;
  border-left: 2px solid var(--oxblood);
  padding-left: 16px;
  margin: 0 0 22px;
}
.form-note { color: var(--muted); max-width: 40em; margin: 0 0 16px; }
.disclaimer { font-size: 15px; color: var(--ink); max-width: 34em; margin: 4px 0 22px; }
.smallprint { font-size: 14px; color: var(--muted); max-width: 40em; }
/* The note under each list's heading (Chris, 2026-10-13): the small-print
   style, on one line. Under the Leadership Circle heading it is centred
   like the heading; under Amount Not Disclosed, below its rule. */
.list-note { white-space: nowrap; }
.circle .list-note { text-align: center; margin: -18px 0 30px; }
.undisclosed .list-note { margin: 10px 0 0; }

/* ---- Footer: the full logo, large and centred, above the address */
.site-footer {
  text-align: center;
  padding: 72px var(--gutter) 80px;
  background: var(--white);
  color: var(--navy);
  border-top: 1px solid var(--gold-line);
}
.site-footer p { margin: 4px 0; }
.footer-fund {
  display: inline-block;
  white-space: nowrap;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--gold-line);
  color: var(--navy);
  text-decoration-color: var(--gold-line);
  text-underline-offset: 0.2em;
}
.footer-logo { margin: 0 0 30px !important; }
.footer-logo img { width: 360px; margin: 0 auto; }
.footer-company { margin-top: 30px; }
.footer-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-company ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

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

/* ---- Short landscape screens (a tablet held sideways, a small laptop):
   a smaller logo and less space above the home page's opening section, so
   both of its buttons are on screen when the page opens (Chris,
   2026-10-13). Text sizes are unchanged. */
@media (min-width: 768px) and (max-height: 720px) {
  .site-header { padding: 8px var(--gutter); }
  .site-logo img { height: 88px; }
  .hero { padding-top: 24px; }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 20px; }
  .hero .standfirst { margin-bottom: 24px; }
}

/* ---- Phones */
@media (max-width: 767px) {
  :root { --gutter: 6vw; --band: 72px; }
  .site-header {
    flex-direction: column;
    gap: 14px;
    padding: 18px var(--gutter) 14px;
  }
  .site-logo img { height: 100px; }
  /* Each menu item stays on one line; with four items the menu wraps,
     centred, instead of breaking "Wall of Supporters" apart. */
  .site-nav ul { gap: 8px 28px; flex-wrap: wrap; justify-content: center; }
  .site-nav a { white-space: nowrap; }
  .site-nav a { font-size: 12px; }
  .hero { padding: 56px var(--gutter) 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-ctas { flex-direction: column; }
  .standfirst { font-size: 18px; }
  .founder-figure, .portrait { column-gap: 20px; }
  .founder-figure figcaption { font-size: 19px; }
  .founder-figure figcaption em { font-size: 21px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .insight-grid, .testimonial-grid { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .lede { margin-bottom: 48px; }
  .footer-logo img { width: 260px; }
  .supporters-lists { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .circle { padding: 30px 18px 26px; }
  .circle-heading { gap: 12px; white-space: normal; }
  .circle-entry { grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: 0 12px; font-size: 19px; }
  .circle-top { font-size: 21px; }
  .circle-top .circle-rank { font-size: 34px; }
  .circle-1 .circle-rank { font-size: 40px; }
  /* No room beside the address on a phone: the link goes centred under it. */
  .footer-fund {
    display: table;
    margin: 6px auto 0;
    padding-left: 0;
    border-left: 0;
  }
}
