/* Shared page composition, sticky navigation, and section palettes. */
html { scroll-padding-top: 146px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.skip-link { z-index: 100; }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
.masthead > .wordmark { justify-self: start; }
.masthead nav { justify-self: center; gap: 26px; font-size: 13px; margin: 0; }
.masthead > .contact-nav { display: flex; align-items: center; justify-self: end; font-size: 13px; min-height: 44px; white-space: nowrap; }
.masthead nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--vermilion); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 30px; padding-block: 28px; border-top: 1px solid var(--rule); font-size: 14px; }
.footer { border-top: 0; }
.footer-main { padding-top: 10px; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; padding-block: 48px; }
.related > a { padding-block: 22px; border-top: 1px solid var(--rule); }
.related .eyebrow { display: block; color: var(--muted); margin-bottom: 18px; }
.related-title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; font-size: clamp(23px, 2.5vw, 36px); letter-spacing: -.04em; line-height: 1.2; }
.related-title > span { color: var(--vermilion); }
.page-intro { padding-top: 56px; }
.page-intro > .eyebrow { margin-bottom: 36px; color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10%; align-items: center; }
.page-intro h1 { font-size: clamp(65px, 7.3vw, 110px); line-height: 1.01; letter-spacing: -.065em; font-weight: 600; }
.intro-copy { max-width: 470px; }
.intro-copy .lead { font-size: clamp(27px, 3vw, 40px); line-height: 1.2; letter-spacing: -.035em; }
.intro-copy > p:not(.lead) { margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.intro-copy .arrow-link { margin-top: 30px; }
.intro-copy .clarity-study { margin-top: 30px; max-width: 320px; }
.method-page .process-diagram { margin-block: 48px 0; padding-bottom: 32px; }
.diagram-title { margin: 0 0 32px; text-align: left; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -.035em; font-weight: 500; }
/* Reserve only the final stage's reading width; share the remaining space evenly. */
@media (min-width: 761px) {
  .method-page .process-map { grid-template-columns: repeat(3, minmax(0, 1fr)) 140px; }
  .method-page .process-feedback { width: calc(100% - 140px); }
}
.diagram-tm { font-size: .45em; vertical-align: super; margin-left: 3px; letter-spacing: 0; }
.method-page .process { padding-top: 56px; padding-bottom: 0; border-bottom: 0; }
.method-detail-heading { display: flex; justify-content: space-between; gap: 30px; align-items: baseline; margin-bottom: 30px; }
.method-detail-heading h2 { font-size: 28px; font-weight: 500; letter-spacing: -.035em; }
.method-detail-heading .eyebrow { color: var(--muted); }
.principles-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; margin-bottom: 26px; }
.principles-caption h2 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.principles-caption p { color: var(--muted); font: 11px/1.6 var(--mono); }
.principles-page .principles { padding-top: 60px; padding-bottom: 32px; }

/* About keeps a distinct dark introduction, with a shorter editorial body. */
.about-opening { margin-top: 0; background: #171a18; color: #f0eee7; }
.about-hero { padding-top: 62px; }
.about-hero > .eyebrow { color: #b8bdb3; margin-bottom: 42px; }
.about-page .hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 7%; }
.about-hero h1 { font-size: clamp(64px, 7.5vw, 115px); line-height: 1.01; font-weight: 600; letter-spacing: -.065em; }
.about-page .hero-copy { padding: 6px 0 0; max-width: 510px; align-self: start; }
.about-page .hero-copy p { color: #b8bdb3; font-size: 18px; line-height: 1.7; }
.about-page .hero-copy p + p, .about-page .body-copy p + p { margin-top: 24px; }
.about-page .hero-copy .lead { color: #f0eee7; font-size: 28px; line-height: 1.35; letter-spacing: -.025em; }
.hero-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; margin-top: 70px; border-top: 1px solid #53574f; font: 11px/1.5 var(--mono); color: #b8bdb3; }
.hero-bottom a span { margin-left: 24px; color: #ee876b; }
.about-page .section { padding-block: 78px; }
.about-page .section > .eyebrow { margin-bottom: 36px; color: var(--muted); }
.about-page .section-grid, .founder-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10%; }
.about-page h2 { font-size: clamp(40px, 4.2vw, 66px); line-height: 1.08; letter-spacing: -.05em; font-weight: 500; }
.about-page .body-copy { max-width: 530px; }
.about-page .body-copy p { font-size: 18px; line-height: 1.7; color: var(--muted); }
.about-page .body-copy .lead { font-size: 28px; line-height: 1.35; letter-spacing: -.025em; color: var(--ink); }
.founder { background: color-mix(in srgb, var(--paper) 90%, var(--ink)); padding-block: 68px; }
.founder-name .eyebrow { margin-bottom: 34px; }
.founder-name h2 { font-size: clamp(66px, 7vw, 100px); line-height: .98; letter-spacing: -.06em; }
.founder-name .role { font-size: 13px; color: var(--muted); margin-top: 24px; }
.founder-name .arrow-link { margin-top: 36px; min-width: 240px; }
.founder .body-copy { padding-top: 54px; }
.small-invitation { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 52px; }
.section-dark > .small-invitation { padding-top: 52px; }
.small-invitation p { font-size: 22px; letter-spacing: -.025em; }
.home-page .services { padding-bottom: 32px; }

/* One composed palette: dark sections are editorial choices, not a user theme. */
:root { color-scheme: light; }
.section-dark {
  --paper: #262925;
  --ink: #eeeae1;
  --muted: #b8bdb3;
  --red: #f29a80;
  --vermilion: #ee876b;
  --rule: #626b60;
  --lilac: #343b32;
  background: var(--paper);
  color: var(--ink);
}
.opening-dark { --paper: #171a18; }
.section-dark .study-frame { fill: #30352e; stroke: var(--rule); }
.section-dark .study-rule { stroke: var(--rule); }
.home-page .development { padding-block: 54px 48px; }
.home-page .development .section-heading { padding-top: 0; }
.home-page .development .section-intro { color: var(--muted); margin-bottom: 28px; }
.development-grid {
  gap: 16px 32px;
  grid-template-rows: auto auto auto auto auto auto;
}
.development-project {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  row-gap: 16px;
  border-color: var(--rule);
  padding-top: 20px;
}
.development-project > .eyebrow { margin: 0; align-items: baseline; font-size: 10px; }
.development-project h3 { margin: 0; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.16; }
.development-project > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.development-project .development-evidence { margin: 2px 0 0; padding: 0; display: grid; grid-template-rows: 190px auto; align-content: start; }
.development-flow {
  height: 190px;
  padding: 18px 24px;
  gap: 4px;
  grid-template-rows: 1fr 16px 1fr 16px 1fr;
  background: #30372f;
  border: 1px solid #525c4e;
  font-size: 11px;
}
.development-flow > span:not([aria-hidden]) { align-self: center; padding: 6px 12px; width: 100%; border: 1px solid #616c5d; background: #343c32; }
.development-flow > span:first-child { color: #c8cdbf; }
.development-flow > span:last-child { border-color: #b38972; background: #3b3f33; }
.development-flow > span[aria-hidden] { line-height: 16px; }
.development-evidence figcaption { margin-top: 10px; font-size: 10px; line-height: 1.6; }
.development-project > p.development-note { min-height: 0; font-size: 12px; line-height: 1.65; }
.development-project > .arrow-link { margin: 0; align-self: end; justify-self: stretch; min-width: 0; }
.home-page .services { padding-block: 58px 44px; }
.services-grid { gap: 0 32px; grid-template-rows: auto auto auto; padding-block: 28px; }
.services-grid > article { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 18px; padding-right: 24px; }
.services-grid > article + article { border-left: 1px solid var(--rule); padding-left: 28px; }
.services-grid h3 { margin: 0; line-height: 1.15; font-size: clamp(25px, 2.3vw, 34px); }
.services-grid p { margin: 0; color: var(--muted); line-height: 1.7; }
.services-grid .text-link { margin: 0; justify-self: start; align-self: end; }
.commission-note { border-top: 1px solid var(--rule); padding-top: 24px; margin-bottom: 0; max-width: none; }
.home-page .contact { padding-block: 62px; }
.contact-action .arrow-link { max-width: 100%; overflow-wrap: anywhere; }
.method-page .page-intro { padding-bottom: 52px; }
.method-page .process { padding-block: 48px; }
.section-dark .process-documentation { background: #333b31; }
.principles-page .page-intro { padding-bottom: 50px; }
.principles-page .section-dark .principles { padding-block: 44px; }

@media (max-width: 1100px) {
  .about-page .desktop-break { display: none; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 168px; }
  .masthead { grid-template-columns: 1fr auto; gap: 6px 16px; padding-block: 16px 10px; }
  .masthead > .contact-nav { grid-column: 2; grid-row: 1; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
}
@media (max-width: 760px) {
  .diagram-title { width: 100%; margin-left: 0; }
  .masthead nav { flex-wrap: wrap; justify-content: flex-start; gap: 2px 20px; font-size: 12px; }
  .masthead > .contact-nav { gap: 10px; font-size: 12px; }
  .masthead nav a { min-height: 36px; }
  .related { grid-template-columns: 1fr; gap: 0; padding-block: 30px; }
  .related-title { font-size: 26px; }
  .page-intro { padding-top: 36px; }
  .page-intro > .eyebrow { margin-bottom: 28px; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-intro h1 { font-size: clamp(49px, 12vw, 80px); }
  .intro-copy > p:not(.lead) { font-size: 17px; margin-top: 18px; }
  .intro-copy .lead { font-size: 29px; }
  .principles-page .principles { padding-top: 40px; }
  .principles-caption, .method-detail-heading { display: block; }
  .principles-caption p { margin-top: 12px; }
  .method-detail-heading h2 { font-size: 25px; margin-top: 20px; }
  .method-page .process { padding-top: 36px; }
  .about-hero { padding-top: 38px; }
  .about-hero > .eyebrow { margin-bottom: 26px; }
  .about-page .hero-grid, .about-page .section-grid, .founder-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-hero h1 { font-size: clamp(49px, 11.8vw, 80px); }
  .about-page .hero-copy { padding: 0; }
  .about-page .hero-copy p, .about-page .body-copy p { font-size: 17px; }
  .about-page .hero-copy .lead, .about-page .body-copy .lead { font-size: 25px; }
  .hero-bottom { margin-top: 36px; font-size: 10px; }
  .hero-bottom a span { margin-left: 10px; }
  .about-page .section { padding-block: 48px; }
  .about-page h2 { font-size: 38px; }
  .founder { padding-block: 48px; }
  .founder-name h2 { font-size: 76px; }
  .founder .body-copy { padding-top: 12px; }
  .small-invitation { display: block; padding-bottom: 38px; }
  .section-dark > .small-invitation { padding-top: 38px; }
  .small-invitation .arrow-link { margin-top: 22px; }
  .footer-links { gap: 12px 22px; font-size: 12px; }
  .home-page .development { padding-block: 38px 34px; }
  .development-grid { row-gap: 30px; grid-template-rows: none; }
  .development-project { display: grid; grid-row: auto; grid-template-rows: auto; row-gap: 14px; }
  .development-project h3 { font-size: 28px; }
  .development-project > .arrow-link { margin-top: 4px; }
  .development-project .development-evidence { margin-top: 4px; }
  .development-flow { font-size: 11px; }
  .home-page .services { padding-block: 38px; }
  .services-grid { grid-template-rows: none; row-gap: 28px; padding-block: 24px; }
  .services-grid > article { grid-row: auto; grid-template-rows: auto; row-gap: 12px; padding: 0; }
  .services-grid > article + article { border-left: 0; border-top: 1px solid var(--rule); padding: 24px 0 0; }
  .services-grid h3 { font-size: 28px; }
  .services-grid h3 br { display: none; }
  .services-grid h3 br::after { content: ' '; }
  .home-page .contact { padding-block: 42px; }
  .method-page .page-intro { padding-bottom: 36px; }
  .method-page .process { padding-block: 34px; }
}
