/* Knight's Tour Foundation — site styles
   WCAG 2.2 AAA: 18px+ body, 44px+ targets, visible focus.
   Motion: only when someone acts (a click, a tap or a key), only line drawing and fading,
   and only under prefers-reduced-motion: no-preference (see "Tap-triggered motion" at the end).
   Every element rests in its finished drawing, so pages look complete with no motion.
   All sizes are in rem so the A / A+ / A++ buttons (100 / 125 / 150%) truly reflow.
   Layout breakpoints are container queries in rem, so a larger text size
   also moves the page to a narrower layout (columns stack, nothing scrolls sideways). */

/* ---------- Tokens ---------- */
:root {
  --navy: #0B2545;
  --teal: #0B4F5C;
  --paper: #FAF7F2;
  --white: #FFFFFF;
  --amber: #F4B942;
  --rule: #C5CCD6;
  --slate: #5A6F8C;
  --rule-on-dark: #6E84A3;

  --ink: var(--navy);          /* text on light backgrounds */
  --ink-on-dark: var(--paper); /* text on navy and teal */
  --bg: var(--paper);
  --card: var(--white);
  --link: var(--teal);

  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --sans: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', Verdana, 'Segoe UI', Arial, sans-serif;

  --gutter: 1rem;
  --pad-y: 3.875rem;
  --content: 80rem;
  --line: 2px;
  --line-strong: 3px;
  --art-light: .1;
  --art-dark: .16;

  /* line icons: Navy outline, one Teal line ending on a landing dot */
  --icon-line: var(--ink);
  --icon-accent: var(--teal);
  /* line icon sizes: change these two lines to resize every icon on the site (never below 3.5rem = 56px).
     Chosen 2026-10-21: 96px icons, 144px medallions. */
  --icon-size: 6rem;
  --medallion-size: 9rem;
  /* space above and below every line icon (1.25rem = 20px, 1.875rem = 30px, 2.5rem = 40px). Chosen 2026-10-21: 30px. */
  --icon-space: 1.875rem;

  /* Home, Every Mind Deserves…: spacing you can change. 1rem = 16px
     (0.5rem = 8px, 0.625rem = 10px, 1rem = 16px, 1.25rem = 20px, 1.5rem = 24px, 2rem = 32px, 2.5rem = 40px).
     Sizes are in rem so they grow with the A+ and A++ text sizes. Chosen by Amadeus 2026-10-24: 48px above, 24px below, 42px above the link. */
  --vision-space-above-icons: 3rem;      /* between the heading and each medallion (48px) */
  --vision-space-below-icons: 1.5rem;    /* between each medallion and its words (24px) */
  --vision-space-above-link: 2.625rem;   /* above "See what we believe" (42px) */

  /* Home, The Knight's Pavilion band (Teal): spacing you can change. Same units as above.
     Line spacing has no unit: 1.6 means each line is 1.6 times the text size. Chosen 2026-10-24. */
  --pavilion-space-after-quote: 2.5rem;  /* between the quote and the sentence (40px) */
  --pavilion-space-after-text: 2.5rem;   /* between the sentence and the button (40px) */
  --pavilion-quote-line-spacing: 1.2;    /* line spacing inside the quote */
  --pavilion-text-line-spacing: 1.65;    /* line spacing inside the sentence */

  /* Why Chess and Our Impact: how far the photo under the page title reaches up into the navy band.
     Set to 0rem for no overlap. Chosen 2026-10-24: 3rem (48px) on phones; 6rem (96px) from tablet width up. */
  --photo-overlap: 3rem;
  --photo-overlap-large: 6rem;
}
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html[data-text="lg"] { font-size: 125%; }
html[data-text="xl"] { font-size: 150%; }

/* High contrast: one button, or the system "more contrast" setting */
html[data-contrast="high"] {
  --ink: #000000; --ink-on-dark: #FFFFFF; --bg: #FFFFFF; --card: #FFFFFF; --paper: #FFFFFF; --rule: #000000; --link: #0B4F5C;
  --line: 3px; --line-strong: 3px; --rule-on-dark: #FFFFFF;
}
@media (prefers-contrast: more) {
  html:not([data-contrast="normal"]) {
    --ink: #000000; --ink-on-dark: #FFFFFF; --bg: #FFFFFF; --card: #FFFFFF; --paper: #FFFFFF; --rule: #000000; --link: #0B4F5C;
    --line: 3px; --line-strong: 3px; --rule-on-dark: #FFFFFF;
  }
}

/* ---------- No motion by default ----------
   Nothing moves on load, on scroll, on hover or on focus. The only exceptions are the
   tap-triggered line drawings at the end of this file, inside prefers-reduced-motion: no-preference. */
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; overflow-wrap: break-word; }
.site { container-type: inline-size; container-name: site; }
.page { font-size: 1.125rem; display: flex; flex-direction: column; min-height: 100vh; }
main { display: block; flex-grow: 1; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.18; margin: 0; color: inherit; }
p, ul, ol, figure, blockquote, address, dl { margin: 0; }
address { font-style: normal; }
strong, b { font-weight: 700; }
cite { font-style: italic; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-thickness: 2.5px; }
html[data-contrast="high"] a { text-decoration-thickness: 3px; }
:focus { outline: none; }
:focus-visible, .js-focus:focus { outline: 3px solid var(--amber) !important; outline-offset: 2px; box-shadow: 0 0 0 7px var(--navy) !important; border-radius: 4px; }
::selection { background: var(--amber); color: var(--navy); }
[hidden] { display: none !important; }
:target { scroll-margin-top: 1rem; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--pad-y); }
.section--tight-top { padding-top: 0; }
.section--white { background: var(--card); }
.section--paper { background: var(--bg); }
.section--navy { background: var(--navy); color: var(--ink-on-dark); }
.section--teal { background: var(--teal); color: var(--ink-on-dark); }
.section--rule-top { border-top: 1px solid var(--rule); }
.section--rule-bottom { border-bottom: 1px solid var(--rule); }
.section--navy a:not(.btn), .section--teal a:not(.btn), .on-dark a:not(.btn) { color: var(--ink-on-dark); }
.section > .wrap { position: relative; }
.stack > * + * { margin-top: 1.5rem; }
.stack-sm > * + * { margin-top: 1rem; }
.stack-xs > * + * { margin-top: .5rem; }
.center { text-align: center; }
.center .measure, .center .measure-wide { margin-inline: auto; }
.measure { max-width: 40em; }
.measure-wide { max-width: 46em; }

.grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.grid--center { align-items: center; }
.grid--stretch { align-items: stretch; }
.gap-lg { gap: 2.5rem; }

.mt-1 { margin-top: 1rem; } .mt-1-5 { margin-top: 1.5rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-2-5 { margin-bottom: 2.5rem; } .mb-3 { margin-bottom: 3rem; }
.mt-auto { margin-top: auto; }
.intro-gap { margin: 1rem 0 2.5rem; }

/* ---------- Background line art ---------- */
.bg-art { position: absolute; inset: 0; pointer-events: none; overflow: hidden; color: var(--navy);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 22%, transparent 78%, #000 100%);
          mask-image: linear-gradient(to bottom, #000 0, transparent 22%, transparent 78%, #000 100%); }
.bg-art svg { width: 100%; height: 100%; display: block; }
.section--navy .bg-art, .section--teal .bg-art, .bg-art--light { color: var(--paper); }
html[data-contrast="high"] .bg-art { display: none !important; }
@media (prefers-contrast: more) { html:not([data-contrast="normal"]) .bg-art { display: none !important; } }
@media print { .bg-art { display: none !important; } }

/* ---------- Type ---------- */
.h1 { font-size: 2.625rem; line-height: 1.12; }
.h1--home { font-size: 2.5rem; line-height: 1.1; max-width: 14em; }
.h2 { font-size: 2rem; }
.h2--lg { font-size: 2rem; line-height: 1.2; }
.h2--sm { font-size: 1.75rem; }
.h3 { font-size: 1.5rem; line-height: 1.25; }
.h3--lg { font-size: 1.625rem; line-height: 1.22; }
.lead { font-size: 1.5rem; font-weight: 700; line-height: 1.35; }
.lead--serif { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; font-weight: 700; }
.lead--teal { color: var(--teal); }
.body-lg { font-size: 1.25rem; }
.body-xl { font-size: 1.375rem; }
.small { font-size: 1.125rem; }
.eyebrow { font-size: 1.125rem; font-weight: 700; color: var(--teal); line-height: 1.4; }
.section--navy .eyebrow, .section--teal .eyebrow, .on-dark .eyebrow { color: var(--ink-on-dark); }
.teal { color: var(--teal); }
.source { font-size: 1.125rem; font-weight: 700; }
.source a { color: inherit; }
.big-number { font-family: var(--sans); font-weight: 700; line-height: 1; font-size: 3.25rem; }
.serif { font-family: var(--serif); }
.bold { font-weight: 700; }
.min44 { min-height: 2.75rem; display: inline-flex; align-items: center; }
.link-strong { font-weight: 700; min-height: 2.75rem; display: inline-flex; align-items: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.5rem; padding: .5rem 1.75rem; border-radius: 8px; font-family: var(--sans); font-size: 1em; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  background: var(--amber); color: var(--navy); border: var(--line-strong) solid var(--navy); }
.btn:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.btn--secondary { background: transparent; color: var(--ink); border: var(--line) solid var(--ink); }
.btn--secondary:hover { color: var(--ink); }
.on-dark .btn, .section--navy .btn, .section--teal .btn, .btn--on-dark { border-color: var(--paper); }
.on-dark .btn--secondary, .section--navy .btn--secondary, .section--teal .btn--secondary { color: var(--ink-on-dark); border-color: var(--ink-on-dark); background: transparent; }
.btn-row { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
.btn--block { width: 100%; }

.or-write { font-size: 1.125rem; }
.or-write a { font-weight: 700; }

/* ---------- Utility bar ---------- */
.utility { background: var(--navy); color: var(--paper); font-size: 1.125rem; }
.utility .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .375rem 1.5rem; padding-block: .375rem; }
.utility a { color: var(--paper); }
.utility a:hover { color: var(--paper); }
.utility__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.utility__group { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.tool-btn { min-width: 2.75rem; min-height: 2.75rem; padding: 0 .75rem; border: 2px solid var(--paper); border-radius: 6px; background: transparent; color: var(--paper); font-family: inherit; font-size: 1.125rem; font-weight: 700; line-height: 1; cursor: pointer; }
.tool-btn[data-size="lg"] { font-size: 1.25rem; }
.tool-btn[data-size="xl"] { font-size: 1.375rem; }
.tool-btn[aria-pressed="true"] { background: var(--paper); color: var(--navy); }
.tool-btn { position: relative; }
.tool-line { display: none; position: absolute; left: 50%; bottom: .3rem; width: 1.25rem; height: .25rem; margin-left: -.625rem; overflow: visible; }
.tool-line path { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; }
.tool-btn[aria-pressed="true"] .tool-line { display: block; }
html[data-contrast="high"] .tool-line path { stroke: currentColor; }
html[data-contrast="high"] .tool-btn[aria-pressed="true"] { background: #fff; color: #000; }
.utility__ask { overflow-wrap: anywhere; }
.utility__ask a { font-weight: 700; }
.skip { color: var(--paper); }

/* ---------- Header ---------- */
.header { background: var(--bg); border-bottom: 1px solid var(--rule); }
.header .wrap { padding-block: .75rem; display: flex; flex-direction: column; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; min-height: 2.75rem; }
.brand:hover { color: var(--ink); }
.brand img { width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.header__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; }
.menu-btn { min-height: 3.5rem; padding: .25rem 1rem; border: 2px solid var(--ink); border-radius: 8px; background: transparent; color: var(--ink); font-family: inherit; font-size: 1em; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.menu-glyph { width: 1.5rem; height: 1.5rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.menu-glyph__x { display: none; }
.menu-btn[aria-expanded="true"] .menu-glyph__bars { display: none; }
.menu-btn[aria-expanded="true"] .menu-glyph__x { display: inline; }
.header__partner { padding-inline: .75rem; white-space: nowrap; }
.nav-desktop { display: none; }
.nav-desktop ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-desktop a { color: var(--ink); text-decoration: none; padding: 0 .625rem; min-height: 2.75rem; display: inline-flex; align-items: center; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav-desktop a:hover { text-decoration: underline; }
.nav-desktop a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--ink); }
.nav-desktop__cta { margin-left: 1rem; }
.nav-desktop a.btn { border: var(--line-strong) solid var(--navy); padding: .5rem 1.25rem; min-height: 3.5rem; color: var(--navy); font-weight: 700; }
.nav-desktop a.btn:hover { text-decoration: underline; }
.hero .bg-art, .bg-art--light { color: var(--paper); }
.menu-panel { border-top: 1px solid var(--rule); background: var(--bg); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li { border-bottom: 1px solid var(--rule); }
.menu-panel a { display: flex; align-items: center; min-height: 3.5rem; padding: .5rem var(--gutter); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.menu-panel a:hover { text-decoration: underline; }
.menu-panel a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; }
/* without JavaScript, the Menu button is replaced by a plain link list */
.no-js .menu-btn { display: none; }
.no-js .header__actions { grid-template-columns: minmax(0, 1fr); }
.no-js .menu-panel[hidden] { display: block !important; }

/* ---------- Page hero (navy) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--ink-on-dark); padding-block: 3.875rem; text-align: center; }
.hero .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero__lead { font-size: 1.5rem; font-weight: 700; line-height: 1.35; max-width: 34em; }
.hero__intro { font-size: 1.25rem; max-width: 40em; }
.hero__meta { font-size: 1.125rem; font-weight: 700; }
.hero a:not(.btn) { color: var(--ink-on-dark); }

/* Home hero (paper, with photo) */
.home-hero { position: relative; overflow: hidden; padding-block: 3.875rem 2.25rem; text-align: center; }
.home-hero .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.home-hero__tag { font-size: 1.375rem; font-weight: 700; line-height: 1.4; color: var(--teal); }
.home-hero__intro { font-size: 1.375rem; max-width: 34em; }
.home-hero .btn-row { align-self: stretch; }
.home-photo { padding-bottom: 3.875rem; }
.photo { width: 100%; border-radius: 12px; object-fit: cover; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--16x9 { aspect-ratio: 4 / 3; }
.photo--4x5 { aspect-ratio: 4 / 3; }
.photo--21x9 { aspect-ratio: 4 / 3; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--16x9-all { aspect-ratio: 16 / 9; }
picture { display: block; }
/* Wide photo under a page title (Why Chess, Our Impact, 2026-10-24) */
/* The photo overlaps the bottom of the navy title band (2026-10-24). The band grows by the same amount
   (with :has), so the title text never gets closer to the photo. */
.page-photo { position: relative; z-index: 1; margin-top: calc(-1 * var(--photo-overlap)); }
.hero:has(+ .page-photo) { padding-bottom: calc(3.875rem + var(--photo-overlap)); }

/* ---------- Cards ---------- */
.card { background: var(--card); color: var(--ink); border: var(--line) solid var(--navy); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.card--strong { border-width: var(--line-strong); }
.card--feature { border: var(--line-strong) solid var(--navy); border-radius: 16px; padding: 2rem; }
.card--navy { background: var(--navy); color: var(--ink-on-dark); border-color: var(--navy); }
.card--navy a:not(.btn) { color: var(--ink-on-dark); }
.card a:not(.btn) { color: var(--teal); }
.card--navy .eyebrow { color: var(--ink-on-dark); }
.card:not(.card--navy) .eyebrow { color: var(--teal); }
.card:not(.card--navy) .check-list > li::before { color: var(--teal); }
.card__foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: 1.125rem; font-weight: 700; }
.card__foot .type { color: var(--teal); }
.card__foot a { color: var(--navy) !important; }
.icon { flex-shrink: 0; display: block; }
.icon--56 { width: 3.5rem; height: 3.5rem; }
.icon--88 { width: 5.5rem; height: 5.5rem; }
.licon.icon--56 { width: var(--icon-size); height: var(--icon-size); }
.licon.icon--88 { width: var(--medallion-size); height: var(--medallion-size); }
/* portrait + object icons (Why Chess, Great Minds): same height, 80.6:45.2 wide */
.licon.icon--56.licon--wide { width: calc(var(--icon-size) * 80.6 / 45.2); }
.licon.icon--56.licon--r-game { width: calc(var(--icon-size) * 1.6); } /* icons.RECT['game'] */
.licon { margin-block: var(--icon-space); }
.signup__ok .licon { margin-block: 0; } /* the sign-up confirmation sits in line with its message */
/* Line icons (sprite built from icons.py). The outline uses currentColor; the Teal line and
   its landing dot take the inherited stroke and fill. All Paper on Navy and Teal; one color in High contrast. */
.licon { color: var(--icon-line); stroke: var(--icon-accent); fill: var(--icon-accent); overflow: visible; }
.section--navy, .section--teal, .card--navy, .footer, .hero, .key-finding { --icon-line: var(--ink-on-dark); --icon-accent: var(--ink-on-dark); }
.card:not(.card--navy) { --icon-line: var(--ink); --icon-accent: var(--teal); }
html[data-contrast="high"] .licon { stroke: currentColor; fill: currentColor; }
@media (prefers-contrast: more) { html:not([data-contrast="normal"]) .licon { stroke: currentColor; fill: currentColor; } }
.icon--64 { width: 4rem; height: 4rem; }
.icon--72 { width: 4.5rem; height: 4.5rem; }
.icon--32 { width: 2rem; height: 2rem; }
.icon--22 { width: 1.375rem; height: 1.375rem; }
.topline { border-top: 4px solid var(--teal); padding-top: 1.25rem; }
.topline--navy { border-top-color: var(--navy); }

/* stat card (Third Space, Impact) */
.stat-card .stat { font-family: var(--sans); font-size: 2.25rem; font-weight: 700; line-height: 1.1; color: var(--teal); }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--rule); }
.check-list > li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: .75rem; padding: .75rem 0; border-top: 1px solid var(--rule); }
.check-list > li::before { content: ""; width: 1.25rem; height: 1.25rem; margin-top: .25rem; background: currentColor; color: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.on-dark .check-list > li::before, .section--teal .check-list > li::before { color: var(--ink-on-dark); }
.check-list--plain { border-bottom: 0; }
.check-list--plain > li { border-top: 0; padding: .5rem 0; }
.check-list--card > li { border-top-color: var(--rule); }
.num-list { list-style: none; padding: 0; margin: 0; counter-reset: n; border-bottom: 1px solid var(--rule); }
.num-list > li { counter-increment: n; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .75rem; padding: .875rem 0; border-top: 1px solid var(--rule); align-items: baseline; }
.num-list > li::before { content: counter(n); font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 1; color: var(--teal); }
.plain-list { list-style: none; padding: 0; margin: 0; }

/* ---------- Disclosure (native details) ---------- */
.faq { border-bottom: 2px solid var(--navy); }
.faq details { border-top: 2px solid var(--navy); }
.faq summary, .more summary { list-style: none; cursor: pointer; min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; font-weight: 700; font-size: 1.25rem; line-height: 1.35; }
.faq summary::-webkit-details-marker, .more summary::-webkit-details-marker { display: none; }
.faq summary:hover, .more summary:hover { text-decoration: underline; }
.pm { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border: 2px solid var(--ink); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; }
.pm svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; overflow: visible; }
/* plus when closed; when open the vertical line has retracted into the minus */
details[open] > summary .pm-v { stroke-dasharray: 1; stroke-dashoffset: -1; }
/* thin Teal rule along an open panel */
.panel { position: relative; padding-left: 1.25rem; }
.panel-rule { position: absolute; left: 0; top: 0; width: 3px; height: 100%; overflow: visible; }
.panel-rule path { fill: none; stroke: var(--teal); stroke-width: 4; }
.faq .answer .panel-rule { height: calc(100% - 1.5rem); }
html[data-contrast="high"] .panel-rule path { stroke: currentColor; }
.faq .answer { padding: 0 0 1.5rem 1.25rem; font-size: 1.25rem; max-width: 40em; }
.more { border-bottom: 2px solid var(--navy); }
.more > summary .when-open { display: none; }
.more[open] > summary .when-open { display: inline; }
.more[open] > summary .when-closed { display: none; }

/* ---------- Science toggle & table toggle ---------- */
.toggle-btn { min-height: 3.5rem; width: 100%; padding: .5rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border: 2px solid var(--navy); border-radius: 8px; background: var(--card); color: var(--navy); font-family: inherit; font-size: 1.25rem; font-weight: 700; text-align: left; cursor: pointer; }
.toggle-btn[aria-expanded="true"] { background: var(--bg); }
.toggle-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.science-panel { background: var(--bg); border-left: 4px solid var(--teal); padding: 1.25rem 1.25rem 1.25rem 1.5rem; font-size: 1.125rem; line-height: 1.6; }
.no-js .toggle-btn { display: none; }
.no-js .science-panel[hidden] { display: block !important; }

/* ---------- Data figures (charts with tables) ---------- */
.data-band h2 { margin-bottom: 3.5rem; }
.stat-col { display: flex; flex-direction: column; gap: 1.5rem; }
.stat-col .big-number { font-size: min(3.25rem, 15cqi); }
.stat-col__text { font-size: 1.375rem; }
.chart { margin: 0; padding: 1.25rem; border: 1px solid var(--rule-on-dark); border-radius: 12px; display: flex; flex-direction: column; gap: 1.25rem; }
.chart--light { border-color: var(--rule); background: var(--card); color: var(--ink); }
.chart figcaption { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.bars { display: flex; flex-direction: column; gap: 1.25rem; border-left: 3px solid currentColor; padding: .5rem 0; }
.bar-row { display: flex; flex-direction: column; gap: .375rem; }
.bar-row span { padding-left: .75rem; font-weight: 700; }
.bar { height: 2.75rem; background: currentColor; }
.bar--57 { width: 37.3%; }
.bar--forecast { width: 100%; border: 3px solid currentColor; background: repeating-linear-gradient(45deg, currentColor 0 8px, transparent 8px 14px); }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; align-items: end; padding-top: .5rem; max-width: 28rem; }
.person { display: flex; flex-direction: column; align-items: center; gap: .375rem; min-width: 0; }
.person__head { width: 40%; max-width: 2.25rem; aspect-ratio: 1; border-radius: 50%; border: 3px solid currentColor; }
.person__body { width: 72%; max-width: 4rem; aspect-ratio: 8 / 9; border-radius: 20px 20px 6px 6px; border: 3px solid currentColor; }
.person__base { width: 100%; max-width: 5.5rem; height: 8px; background: currentColor; }
.person--on .person__head, .person--on .person__body { background: repeating-linear-gradient(45deg, var(--amber) 0 6px, var(--navy) 6px 9px); }
.chart__total { font-weight: 700; font-size: 1.375rem; }
.chart__note { font-size: 1.125rem; }
.chart__note a { color: inherit; }
.table-btn { align-self: flex-start; min-height: 3rem; padding: .25rem 1.25rem; border: 2px solid currentColor; border-radius: 8px; background: transparent; color: inherit; font-family: inherit; font-size: 1.125rem; font-weight: 700; cursor: pointer; }
.chart-table { width: 100%; border-collapse: collapse; font-size: 1.125rem; }
.chart-table caption { text-align: left; font-weight: 700; padding-bottom: .375rem; }
.chart-table th, .chart-table td { text-align: left; padding: .625rem .75rem; border-bottom: 1px solid currentColor; }
.no-js .table-btn { display: none; }
.no-js .chart-table-wrap[hidden] { display: block !important; }

/* ---------- Home specifics ---------- */
.question h2 { max-width: 20em; margin-inline: auto; }
.count-digits { display: flex; justify-content: center; gap: min(1.75rem, 6cqi); font-size: min(5.5rem, 24cqi); font-weight: 700; line-height: 1; color: var(--ink); }
.pct-giant { font-size: min(7rem, 30cqi); font-weight: 700; line-height: .9; color: var(--teal); white-space: nowrap; }
.risk-head { display: none; }
.risk-row { border-top: 2px solid var(--navy); padding: 1.75rem 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.risk-row:last-child { border-bottom: 0; }
.risk-row__risk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .875rem; }
.risk-row__resp { display: flex; flex-direction: column; gap: .625rem; }
.risk-row__resp .name { font-family: var(--serif); font-size: 1.625rem; font-weight: 700; color: var(--teal); line-height: 1.25; }
.risk-row__res { display: flex; flex-direction: column; gap: .875rem; }
.risk-row__res a { color: inherit; }
.risk-row .science-panel { grid-column: 1 / -1; }
.doorway { min-height: 10rem; padding: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; background: var(--card); border: var(--line-strong) solid var(--navy); border-radius: 12px; color: var(--ink); text-decoration: none; }
.doorway:hover { color: var(--ink); }
.doorway:hover .doorway__title { text-decoration: underline; }
.doorway__text { flex: 1 1 12rem; display: flex; flex-direction: column; gap: .375rem; }
.doorway__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.cta-rule { border-top: 3px solid var(--navy); padding-top: 4rem; }
/* Vision line, Three Beliefs (2026-10-24) */
.vision__beliefs { margin-block: 0 var(--vision-space-above-link); }
.vision__beliefs li { display: flex; flex-direction: column; align-items: center; }
.vision__beliefs .licon { margin-block: var(--vision-space-above-icons) var(--vision-space-below-icons); } /* set in :root at the top */
.vision__phrase { font-family: var(--serif); font-size: 1.625rem; font-weight: 700; line-height: 1.25; }
/* What Happens at Our Table (2026-10-23) */
.table-notes { display: flex; flex-direction: column; align-items: center; gap: .25rem; font-weight: 700; }
/* The Knight's Pavilion band, PV2 Teal (2026-10-24). Spacing is set in :root at the top. */
.pavilion__quote { font-family: var(--serif); font-size: 2.125rem; font-weight: 700; line-height: var(--pavilion-quote-line-spacing); max-width: 16em; margin-inline: auto; }
.pavilion__text { font-size: 1.25rem; line-height: var(--pavilion-text-line-spacing); max-width: 36em; margin: var(--pavilion-space-after-quote) auto 0; }
.pavilion__text strong { font-weight: 700; }
.pavilion__act { margin-top: var(--pavilion-space-after-text); }
/* Honest From the First Move (2026-10-23) */
.honest-cols__title { color: var(--teal); margin-bottom: 1rem; }
.ruled-list { list-style: none; padding: 0; margin: 0; border-bottom: 2px solid var(--ink); }
.ruled-list li { border-top: 2px solid var(--ink); padding: 1rem 0; }
.ruled-list--numbered li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .75rem; align-items: baseline; }
.ruled-list .n { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; line-height: 1; color: var(--teal); }

/* ---------- CTA band (navy) ---------- */
.cta-band .grid { align-items: center; }
.cta-band__act { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

/* ---------- Why Chess ---------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { border-top: 4px solid var(--teal); padding-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
/* timeline (2026-10-23): 5px more space above each icon, and no top line on the first row */
.timeline li .licon { margin-top: calc(var(--icon-space) + .3125rem); }
.timeline li:first-child { border-top: 0; }
/* Great Minds (2026-10-23): no top line on the first row either */
.minds > article:first-child { border-top: 0; }
.timeline .year { font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.timeline .where { display: block; font-family: var(--sans); font-size: 1.125rem; font-weight: 700; color: var(--teal); line-height: 1.3; margin-top: .25rem; }
.timeline p { font-size: 1.25rem; }
.divider-note { border-top: 1px solid var(--rule); padding-top: 1.5rem; max-width: 40em; }
.minds article { border-top: 4px solid var(--teal); padding-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.minds .role { font-size: 1.125rem; font-weight: 700; color: var(--teal); }
/* Timeline and Great Minds: icon and text centered (chosen 2026-10-21) */
.timeline li, .minds article { align-items: center; text-align: center; }
.brain-fig { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.brain-fig figcaption { font-size: 1.125rem; }
.lobes { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--rule); }
.lobes li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .75rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.lobe-badge { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--teal); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.125rem; }
.lobe-badge--deep { background: transparent; color: var(--ink); border: 2px dashed var(--ink); }
.lobes .name { font-weight: 700; font-size: 1.25rem; }
.lobes p, .lobes .refs { font-size: 1.125rem; }
.lobes .refs a { font-weight: 700; color: var(--teal); }
.callout { border-left: 4px solid var(--teal); padding: .5rem 0 .5rem 1.5rem; max-width: 46em; }
.callout__main { font-size: 1.25rem; font-weight: 700; }
.callout a { font-weight: 700; }
.steps article { background: var(--card); border: 2px solid var(--navy); border-radius: 12px; padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.steps .step-head { display: flex; align-items: baseline; gap: .5rem; font-family: var(--serif); font-weight: 700; }
.steps .step-num { font-size: 2.25rem; color: var(--teal); line-height: 1; }
.steps .step-name { font-size: 1.625rem; }
.steps .area { font-size: 1.125rem; font-weight: 700; }
.steps .skill { font-size: 1.125rem; font-weight: 700; color: var(--teal); border-top: 1px solid var(--rule); padding-top: .5rem; }
.steps svg { width: 100%; height: auto; }
/* Hover highlight (chosen 2026-10-23): the brain outline dims and the highlighted area stands out.
   An instant color change only, never motion, and only where a mouse can hover (not on touch screens). */
@media (hover: hover) {
  .steps article:hover svg > g { opacity: .3; }
  .steps article:hover svg circle { opacity: 1; stroke-width: 10; }
}
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1.125rem; min-width: 40rem; table-layout: fixed; }
/* fixed columns (2026-10-23): questions 24%, Chess at Our Table 25%, the other three activities 17% each */
.compare thead td { width: 24%; }
.compare thead th { width: 17%; }
.compare thead th.ours { width: 25%; }
.compare caption { text-align: left; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: .75rem .75rem .75rem 0; border-bottom: 1px solid var(--rule); }
.compare thead th { vertical-align: bottom; font-weight: 700; font-size: 1.125rem; padding-top: 1rem; }
.compare tbody th { font-weight: 700; }
.compare .ours { background: var(--card); border-left: 2px solid var(--navy); border-right: 2px solid var(--navy); padding-left: .75rem; color: var(--teal); }
.compare thead .ours { background: var(--navy); color: var(--ink-on-dark); border-radius: 8px 8px 0 0; padding: 1rem .75rem; }
.compare tbody tr:last-child .ours { border-bottom: 2px solid var(--navy); }
.mark { display: inline-flex; gap: .5rem; align-items: flex-start; font-weight: 700; }
.mark svg { flex-shrink: 0; margin-top: .2em; width: 1.375rem; height: 1.375rem; }
.partner-cards .card { gap: 1rem; }
.partner-cards .check-list { border-bottom: 0; }

/* ---------- Evidence ---------- */
.risk-cards { display: flex; flex-direction: column; gap: 1.5rem; max-width: 70rem; margin-inline: auto; }
.risk-card { background: var(--card); border: 2px solid var(--navy); border-radius: 12px; padding: 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: center; }
.risk-card__risk { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.risk-card__risk > div { min-width: 0; }
.risk-card__label { font-size: 1.125rem; font-weight: 700; }
.risk-card__name { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.risk-card__arrow { font-size: 2.25rem; line-height: 1; display: none; }
.risk-card__resp-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.weigh dt { font-weight: 700; font-size: 1.25rem; color: var(--teal); }
.weigh dd { margin: .5rem 0 0; font-size: 1.25rem; }
.weigh div { border-top: 4px solid var(--teal); padding-top: 1.25rem; }
.key-finding { background: var(--navy); color: var(--ink-on-dark); border-radius: 12px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.key-finding a { color: var(--ink-on-dark); }
.key-finding .label { font-size: 1.125rem; font-weight: 700; }
.key-finding .figure { font-size: 4rem; font-weight: 700; line-height: 1; }
.key-finding .what { font-size: 1.375rem; font-weight: 700; line-height: 1.35; }
.key-finding .src { font-size: 1.125rem; font-weight: 700; border-top: 1px solid var(--rule-on-dark); padding-top: 1rem; }
.research-list { list-style: none; padding: 0; margin: 0; }
.research-list li { border-top: 1px solid var(--rule); padding: 1rem 0; display: flex; flex-direction: column; gap: .5rem; }
.research-list p { font-size: 1.25rem; }
.cite { font-size: 1.125rem; font-weight: 700; }
.cite .type { color: var(--teal); }
.cite a { color: inherit; }
.more { margin-top: 0; }
.more > summary { font-size: 1.25rem; }
.more .research-list li:first-child { border-top: 1px solid var(--rule); }
.three-parts { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--rule-on-dark); }
.three-parts li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .5rem; padding: 1rem 0; border-top: 1px solid var(--rule-on-dark); align-items: baseline; }
.three-parts .n { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.three-parts .tag { font-size: 1.125rem; font-weight: 700; }
.claims h3 { font-size: 1.5rem; padding: 1rem 0; border-top: 4px solid var(--teal); border-bottom: 1px solid var(--rule); }
.claims ul { list-style: none; padding: 0; margin: 0; }
.claims li { padding: 1rem 0; border-bottom: 1px solid var(--rule); font-size: 1.25rem; }
.gap-row { border-top: 2px solid var(--navy); padding-top: 3rem; }
.refs-group .ref { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem 2rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.refs-group .ref:first-child { border-top: 0; }
.ref__n { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: var(--teal); line-height: 1; }
.ref__cite { display: flex; flex-direction: column; gap: .5rem; }
.ref__cite a { font-size: 1.125rem; font-weight: 700; min-height: 2.75rem; display: inline-flex; align-items: center; }
.ref__found { font-size: 1.25rem; }
.refs-group { padding-bottom: 1rem; }

/* ---------- Third Space ---------- */
.principles .card { padding: 2rem 1.5rem; }
.honest { background: var(--card); border: 3px solid var(--navy); border-radius: 16px; padding: 2rem 1.5rem; max-width: 64rem; margin-inline: auto; display: flex; flex-direction: column; gap: 1.25rem; }

/* ---------- Impact ---------- */
.hope li { border-top: 4px solid var(--teal); padding-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.hope .n { font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--teal); }
.hope .t { font-family: var(--serif); font-size: 1.625rem; font-weight: 700; line-height: 1.22; }
.measures { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--rule); }
.measures li { border-top: 1px solid var(--rule); padding: 1.25rem 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.measures .t { font-family: var(--serif); font-size: 1.625rem; font-weight: 700; line-height: 1.22; }
.commitments { list-style: none; padding: 0; margin: 0; }
.commitments li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .5rem; padding: 1.25rem 0; border-top: 1px solid var(--rule-on-dark); align-items: baseline; }
.commitments .n { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.commitments .t { font-family: var(--serif); font-size: 1.625rem; font-weight: 700; line-height: 1.25; }

/* ---------- About ---------- */
.believe article { border-top: 4px solid var(--teal); padding-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.six .card { gap: .5rem; padding: 1.5rem; }
.six__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
/* Centered icon cards (chosen 2026-10-21): icon, labels, headings and text centered.
   Check lists stay left-aligned so each check mark lines up with its line. */
.card--center { align-items: center; text-align: center; }
.card--center .six__top { justify-content: center; }
/* Principle number in the top-left corner, styled like the One Move, Six Thinking Skills numbers */
.six .card { position: relative; }
.six .n { position: absolute; top: 1.25rem; left: 1.5rem; font-size: 2.25rem; }
.card--center .check-list { align-self: stretch; text-align: left; }
.believe--center article { align-items: center; text-align: center; }
.six .n { font-family: var(--serif); font-weight: 700; line-height: 1; color: var(--teal); }
.six .card--navy .n { color: var(--ink-on-dark); }
.six .eyebrow { color: var(--teal); }
.six .card--navy .eyebrow { color: var(--ink-on-dark); }
.card:not(.card--navy) .eyebrow { color: var(--teal); }
.card:not(.card--navy) .check-list > li::before { color: var(--teal); }
.six p { font-size: 1.125rem; }
.tour-box { width: 100%; max-width: 20rem; background: var(--bg); border: 3px solid var(--navy); padding: .75rem; }
.tour-box svg { width: 100%; height: auto; display: block; }
/* Step-through: the finished tour is the resting state. After "Next move", each new move
   draws in Teal and the current square lights Amber with a Navy ring. */
.tour-steps { display: none; }
.tour-box.is-stepping .tour-full { display: none; }
.tour-box.is-stepping .tour-steps { display: inline; }
.tour-seg { display: none; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; }
.tour-seg.is-new { stroke: var(--teal); stroke-width: 3.4; }
.tour-sq { display: none; fill: var(--navy); }
.tour-seg.is-on, .tour-sq.is-on { display: inline; }
.tour-controls { display: flex; flex-wrap: wrap; gap: .75rem; }
.tour-controls .btn { min-height: 3rem; padding-inline: 1.25rem; }
.btn[aria-disabled="true"] { border-style: dashed; cursor: default; text-decoration: none; }
.tour-status { font-weight: 700; }
.no-js .tour-controls, .no-js .tour-status { display: none; }

/* ---------- Contact ---------- */
.contact-direct { max-width: 47.5rem; margin-inline: auto; display: flex; flex-direction: column; gap: 2rem; }
.contact-direct__label { font-size: 1.25rem; font-weight: 700; }
.policy-contact .body-lg { min-height: 2.75rem; display: inline-flex; align-items: center; }
.contact-direct__email { font-size: 1.625rem; font-weight: 700; color: var(--ink) !important; overflow-wrap: anywhere; min-height: 2.75rem; display: inline-block; }
.contact-form-block { border-top: 2px solid var(--navy); padding-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-weight: 700; }
.field label .req { font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 3.5rem; padding: .75rem 1rem; border: 2px solid var(--navy); border-radius: 8px; background: var(--card); color: var(--ink); font-family: inherit; font-size: 1.25rem; line-height: 1.5; }
.field textarea { min-height: 13rem; resize: vertical; }
.field--error { border-left: 4px solid var(--navy); padding-left: 1.25rem; }
.field--error input, .field--error textarea { border-width: 3px; }
.field__error { display: flex; gap: .5rem; align-items: flex-start; font-weight: 700; }
.field__error svg { margin-top: .2em; }
.error-summary { background: var(--card); border: 3px solid var(--navy); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.error-summary h3 { display: flex; gap: .625rem; align-items: center; font-size: 1.5rem; }
.error-summary ul { margin: 0; padding-left: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.error-summary a { font-weight: 700; min-height: 2.75rem; display: inline-flex; align-items: center; }
.form-note { font-size: 1.125rem; }
.server-error { background: var(--card); border: 3px solid var(--navy); border-radius: 12px; padding: 1.25rem 1.5rem; font-weight: 700; }
.sent-box { background: var(--card); border: 3px solid var(--navy); border-radius: 16px; padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.sent-box .btn-row { flex-direction: column; }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.mail-row { border-top: 1px solid var(--rule); padding-top: 2rem; }

/* ---------- Policy pages ---------- */
.policy { max-width: 55rem; margin-inline: auto; }
.policy-short { background: var(--card); border: 3px solid var(--navy); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.policy-short h2 { font-size: 2.125rem; }
.prose { font-size: 1.25rem; }
.prose > * + * { margin-top: 1.125rem; }
.prose h2 { font-size: 2.125rem; line-height: 1.2; margin-top: 3rem; }
.prose ul { list-style: none; padding: 0; margin-top: 1.125rem; border-bottom: 1px solid var(--rule); }
.prose ul > li { position: relative; padding: .75rem 0 .75rem 2.5rem; border-top: 1px solid var(--rule); }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.25rem; height: 1.25rem; background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.prose ol { list-style: none; padding: 0; counter-reset: n; border-bottom: 1px solid var(--rule); }
.prose ol > li { counter-increment: n; position: relative; padding: .75rem 0 .75rem 3.75rem; border-top: 1px solid var(--rule); }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .7rem; font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 1; color: var(--teal); }
.prose table { width: 100%; border-collapse: collapse; background: var(--card); border: 2px solid var(--navy); font-size: 1.125rem; }
.prose caption { text-align: left; font-weight: 700; padding-bottom: .5rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .875rem 1rem; border-bottom: 1px solid var(--rule); }
.prose thead th { border-bottom: 3px solid var(--navy); }
.prose tbody th { font-family: var(--serif); font-size: 1.25rem; }
.policy-contact { background: var(--navy); color: var(--ink-on-dark); border-radius: 16px; padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; margin-top: 3.5rem; }
.policy-contact a:not(.btn) { color: var(--ink-on-dark); font-weight: 700; overflow-wrap: anywhere; }
.policy-contact h2 { font-size: 2.125rem; }

/* ---------- Link cards (404, You're On the List) ---------- */
.link-card { background: var(--card); border: var(--line-strong) solid var(--navy); border-radius: 12px; padding: 1.25rem 1.5rem; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; justify-content: center; gap: .25rem; min-height: 6rem; }
.link-card:hover { color: var(--ink); }
.link-card:hover .link-card__t { text-decoration: underline; }
.link-card__t { font-family: var(--serif); font-size: 1.625rem; font-weight: 700; line-height: 1.2; }
.link-card__d { font-size: 1.125rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--ink-on-dark); padding-block: 3.5rem 2.5rem; }
.footer a:not(.btn) { color: var(--ink-on-dark); }
.footer .btn { border-color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: .75rem; }
.footer__brand img { width: 3rem; height: 3rem; }
.footer__brand span { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.footer__email { display: inline-block; margin-top: 1.25rem; font-size: 1.375rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.footer h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.signup { display: flex; flex-direction: column; gap: .75rem; }
.signup label { font-weight: 700; }
.signup__row { display: flex; flex-wrap: wrap; gap: .75rem; }
.signup input { flex: 1 1 12rem; min-width: 0; min-height: 3.5rem; padding: 0 1rem; border: 2px solid var(--paper); border-radius: 8px; background: var(--paper); color: var(--navy); font-family: inherit; font-size: 1.25rem; }
html[data-contrast="high"] .signup input { background: #fff; color: #000; }
.signup button { flex-shrink: 0; white-space: nowrap; }
.signup__msg { font-weight: 700; }
.signup__result { display: flex; align-items: center; gap: .75rem; }
.signup__ok { flex: 0 0 auto; display: block; }
.signup__ok[hidden] { display: none !important; }
.signup__msg:empty { display: none; }
.footer__legal { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--slate); display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.footer__legal a { min-height: 2.75rem; display: inline-flex; align-items: center; }

/* =========================================================
   Container breakpoints (rem, so larger text = narrower layout)
   48rem ≈ 768px · 64rem ≈ 1024px · 80rem ≈ 1280px · 90rem ≈ 1440px
   ========================================================= */
@container site (min-width: 48rem) {
  .page { font-size: 1.25rem; }
  .wrap { --gutter: 2rem; }
  .section { --pad-y: 5.25rem; }
  .header .wrap { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 1.0625rem; }
  .header__actions { display: flex; gap: .75rem; }
  .menu-btn { padding-inline: 1.375rem; }
  .header__partner { padding-inline: 1.125rem; }
  .brand img { width: 3rem; height: 3rem; }
  .brand__name { font-size: 1.375rem; }
  .menu-panel a { padding-inline: 2rem; }
  .hero { padding-block: 5.25rem; }
  .page-photo { margin-top: calc(-1 * var(--photo-overlap-large)); }
  .hero:has(+ .page-photo) { padding-bottom: calc(5.25rem + var(--photo-overlap-large)); }
  .h1 { font-size: 3rem; }
  .h1--home { font-size: 3.25rem; }
  .h2 { font-size: 2.25rem; }
  .h2--lg { font-size: 2.625rem; }
  .h3 { font-size: 1.625rem; }
  .lead, .hero__lead { font-size: 1.625rem; }
  .lead--serif { font-size: 1.75rem; }
  .hero__intro { font-size: 1.375rem; }
  .home-hero { padding-block: 4.875rem 2.8rem; }
  .home-hero__tag { font-size: 1.5rem; }
  .home-hero .btn-row { flex-direction: row; justify-content: center; align-self: auto; gap: 1.25rem; }
  .home-photo { padding-bottom: 4.875rem; }
  .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .count-digits { font-size: min(8rem, 22cqi); gap: 3rem; }
  .stat-col .big-number { font-size: 4.5rem; }
  .chart { padding: 2rem; }
  .chart figcaption { font-size: 1.5rem; }
  .pct-giant { font-size: min(10rem, 26cqi); }
  .card { padding: 2rem; }
  .g-2, .g-3, .g-4, .g-2-md { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li:nth-child(-n+2), .minds > article:nth-child(-n+2) { border-top: 0; }
  .doorway { padding: 2rem; gap: 1.75rem; }
  .doorway__title { font-size: 1.75rem; }
  .key-finding .figure { font-size: 5rem; }
  .risk-card { grid-template-columns: minmax(0, 4fr) 3rem minmax(0, 7fr); padding: 1.5rem 2rem; }
  .risk-card__arrow { display: block; }
  .refs-group .ref { grid-template-columns: 3rem minmax(0, 6fr) minmax(0, 5fr); }
  .policy-short, .policy-contact, .honest, .sent-box { padding: 2.5rem; }
  .sent-box .btn-row { flex-direction: row; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid > :last-child { grid-column: 1 / -1; }
  .stat-card .stat { font-size: 2.75rem; }
  .measures li { flex-direction: row; gap: 1.25rem; }
  .table-notes { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .25rem 0; }
  .table-notes li + li::before { content: "·" / ""; padding-inline: .75rem; }
  .vision__phrase { font-size: 1.75rem; }
  .vision__beliefs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pavilion__quote { font-size: 2.75rem; }
  .pavilion__text { font-size: 1.375rem; }
}
@container site (min-width: 64rem) {
  .wrap { --gutter: 3rem; }
  .section { --pad-y: 7rem; }
  .hero { padding-block: 7rem 6rem; }
  .hero:has(+ .page-photo) { padding-bottom: calc(6rem + var(--photo-overlap-large)); }
  .h1 { font-size: 3.375rem; }
  .h1--home { font-size: 3.75rem; }
  .h2 { font-size: 2.5rem; }
  .h2--lg { font-size: 3rem; }
  .h3 { font-size: 1.75rem; }
  .lead, .hero__lead { font-size: 1.75rem; }
  .lead--serif { font-size: 1.875rem; }
  .home-hero { padding-block: 7rem 4rem; }
  .home-hero__tag { font-size: 1.75rem; }
  .home-photo { padding-bottom: 7rem; }
  .photo--16x9 { aspect-ratio: 16 / 9; }
  .photo--4x5 { aspect-ratio: 4 / 5; }
  .photo--21x9 { aspect-ratio: 21 / 9; }
  .photo-split .photo-split__photo { order: -1; }
  .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline li:nth-child(-n+4) { border-top: 0; }
  .minds > article:nth-child(-n+3) { border-top: 0; }
  .g-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; }
  .g-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
  .g-4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; }
  .g-6-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
  .g-tour { grid-template-columns: 20rem minmax(0, 1fr); gap: 2.5rem; align-items: center; }
  .stat-col .big-number { font-size: 6rem; }
  .pavilion__quote { font-size: 3.5rem; }
  .vision__phrase { font-size: 1.875rem; }
  .data-band .g-7-5 { gap: 4rem; }
  .count-digits { font-size: 10rem; gap: 3.5rem; }
  .pct-giant { font-size: min(13.75rem, 15cqi); }
  .risk-head { display: grid; grid-template-columns: 22fr 38fr 40fr; gap: 0 3rem; padding-bottom: .75rem; font-size: 1.125rem; font-weight: 700; }
  .risk-head > :first-child { text-align: center; }
  .risk-row { grid-template-columns: 22fr 38fr 40fr; gap: 0 3rem; }
  .risk-row__res { margin-bottom: .5rem; }
  .risk-row .science-panel { margin-top: 1rem; }
  .key-finding .figure { font-size: 6rem; }
  .footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 4rem; }
  .footer__grid > :last-child { grid-column: auto; }
  .footer { padding-block: 5rem 4rem; }
  .footer__email { font-size: 1.625rem; }
  .policy-contact .body-lg { min-height: 2.75rem; display: inline-flex; align-items: center; }
.contact-direct__email { font-size: 2rem; }
  .stat-card .stat { font-size: 2.75rem; }
}
@container site (min-width: 80rem) {
  .wrap { --gutter: 5rem; }
  .nav-desktop { display: block; }
  .header__actions { display: none; }
  .menu-panel { display: none !important; }
  .header .wrap { padding-block: 1.25rem; }
  .brand__name { font-size: 1.625rem; }
  .h1 { font-size: 3.75rem; }
  .h1--home { font-size: 4rem; }
  .h2 { font-size: 2.5rem; }
  .h2--lg { font-size: 3.25rem; }
  .lead, .hero__lead { font-size: 1.75rem; }
}
@container site (min-width: 120rem) {
  .wrap { --gutter: 5rem; }
}

/* =========================================================
   Tap-triggered motion
   Plays once, only after a click, tap or key press (site.js adds .is-drawing, .is-opening
   or .is-closing for the length of the drawing and then removes it). Only line drawing
   (stroke-dashoffset on paths with pathLength="1") and fading. Content never waits.
   With reduced motion, none of this exists and every state change is instant.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  @keyframes ktf-draw { from { stroke-dashoffset: 1; visibility: hidden; } to { stroke-dashoffset: 0; visibility: visible; } }
  @keyframes ktf-retract { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
  @keyframes ktf-extend { from { stroke-dashoffset: -1; } to { stroke-dashoffset: 0; } }
  @keyframes ktf-land { from { opacity: 0; } to { opacity: 1; } }

  /* Icon: Navy outline 0.5s, Teal line from 0.35s, landing dot fades in by 0.8s */
  .js .is-drawing .ln-o { stroke-dasharray: 1; animation: ktf-draw .5s ease-out both !important; }
  .js .is-drawing .ln-x { stroke-dasharray: 1; animation: ktf-draw .4s ease-out .35s both !important; }
  .js .is-drawing .ln-d { animation: ktf-land .2s ease-out .6s both !important; }

  /* Text size: a short Teal underline draws under the chosen size */
  .js .tool-line.is-drawing path { stroke-dasharray: 1; animation: ktf-draw .35s ease-out both !important; }

  /* Menu: the close mark draws in (the panel itself opens instantly) */
  .js .menu-btn.is-drawing .menu-glyph__x { stroke-dasharray: 1; animation: ktf-draw .3s ease-out both !important; }
  .js .menu-btn.is-drawing .menu-glyph__x + .menu-glyph__x { animation: ktf-draw .3s ease-out .12s both !important; }

  /* Disclosures: the plus's vertical line retracts into a minus, and a Teal rule draws down the panel */
  .js details.is-opening > summary .pm-v { stroke-dasharray: 1; animation: ktf-retract .3s ease-in both !important; }
  .js details.is-closing > summary .pm-v { stroke-dasharray: 1; animation: ktf-extend .3s ease-out both !important; }
  .js details.is-opening > .panel > .panel-rule path { stroke-dasharray: 1; animation: ktf-draw .5s ease-out both !important; }

  /* Knight's tour: the new move draws in Teal */
  .js .tour-seg.is-new.is-drawing { stroke-dasharray: 1; animation: ktf-draw .45s ease-out both !important; }
}

/* ---------- Print ---------- */
@media print {
  .utility, .menu-btn, .menu-panel, .signup, .toggle-btn, .table-btn { display: none !important; }
  .science-panel[hidden], .chart-table-wrap[hidden] { display: block !important; }
  details > *:not(summary) { display: block !important; }
  body, .page { font-size: 12pt; }
  .section--navy, .hero, .footer, .key-finding, .card--navy, .policy-contact { background: #fff !important; color: #000 !important; }
  a { color: #000 !important; }
}

/* Our Third Space, The Science of Space: one card per row at a comfortable reading width */
.science-intro { text-align: center; margin-inline: auto; max-width: 50em; }
.science-intro > * + * { margin-top: 1.5rem; }
.science-intro .body-xl { line-height: 1.7; }
.science-cards { display: grid; gap: 1.5rem; }
.science-note { text-align: center; }
.science-cards .stat-card { text-align: center; }
.science-cards .stat-card > * { max-width: 46em; margin-inline: auto; }
.science-cards .stat-card .stat { font-size: 1.75rem; line-height: 1.2; }
.science-cards .stat-card .card__foot { width: 100%; justify-content: center; }
