/* ACDI review mockup. Palette from the Brand Identity Hand-Off Packet, section 4. */
:root {
  --navy: #0D1B2A;
  --teal: #2D6F6E;
  --ivory: #F7F1E4;
  --brass: #C79A4A;

  /* Accessibility companions: brass and ivory text fail contrast on some fields. */
  --brass-ink: #7A5A1E;      /* brass-family text on ivory */
  --paper: #FCF9F2;          /* lighter ivory for alternating fields */
  --ink-soft: #3B4754;       /* body text on ivory */
  --ivory-soft: #C9CDD0;     /* body text on navy */
  --rule-light: rgba(13, 27, 42, .18);
  --rule-dark: rgba(247, 241, 228, .22);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(64px, 10vw, 148px);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 28px); }
html:has(.subnav) { scroll-padding-top: calc(var(--head-h) + 50px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
a, button, summary, select { touch-action: manipulation; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.75rem); line-height: 1.04; letter-spacing: -.012em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.1; letter-spacing: -.008em; }
h3 { font-size: clamp(1.375rem, 1.9vw, 1.625rem); line-height: 1.2; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--ivory); }
.section--teal { background: var(--teal); color: var(--ivory); }

.eyebrow {
  font: 600 .75rem/1.4 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-ink);
}
.section--navy .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--brass); }
.section--teal .eyebrow { color: var(--ivory); }
.eyebrow + h1, .eyebrow + h2 { margin-top: 20px; }

.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; }
.body-soft { color: var(--ink-soft); }
.section--navy .body-soft { color: var(--ivory-soft); }
.stack > * + * { margin-top: 1.1em; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--brass); color: var(--navy); font-weight: 600;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  border: 1px solid transparent;
  font: 600 .9375rem/1.2 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--brass { background: var(--brass); color: var(--navy); }
.btn--ghost { border-color: rgba(247, 241, 228, .55); color: var(--ivory); }
.btn--navy { background: var(--navy); color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "→"; transition: transform .18s ease; }

/* Hover effects stay off touch screens, where they would stick after a tap. */
@media (hover: hover) {
  .btn--brass:hover { background: #D6AC61; }
  .btn--ghost:hover { background: var(--ivory); border-color: var(--ivory); color: var(--navy); }
  .btn--navy:hover { background: var(--teal); }
  .link-arrow:hover::after { transform: translateX(4px); }
  .nav a:not(.btn):hover { border-bottom-color: var(--brass); }
  .site-foot nav a:hover { color: var(--brass); }
  .subnav a:hover { color: var(--teal); }
  .tier__link:hover .tier__name { color: var(--teal); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
  .rows--linked li:hover h3 a { color: var(--teal); }
  .rows--linked li:hover h3 a::before { transform: translateX(4px); }
  .next:hover .next__arrow { background: var(--brass); border-color: var(--brass); color: var(--navy); }
  .faq summary:hover { color: var(--teal); }
}

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--ivory);
  border-bottom: 1px solid rgba(199, 154, 74, .45);
}
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--head-h); }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.lockup img { width: 46px; height: 46px; }
.lockup__word { font: 400 1.875rem/1 var(--serif); letter-spacing: .015em; }
.lockup__desc {
  padding-left: 12px; border-left: 1px solid rgba(199, 154, 74, .6);
  font: 500 .625rem/1.45 var(--sans); letter-spacing: .17em; text-transform: uppercase;
  color: var(--brass);
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav a:not(.btn) {
  padding-block: 8px; font-size: .9375rem; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--brass); color: var(--brass); }
.nav .btn { min-height: 42px; padding: 10px 20px; font-size: .875rem; }
.nav .btn[aria-current="page"] { box-shadow: 0 0 0 2px var(--navy), 0 0 0 3px var(--brass); }
.nav-toggle {
  display: none; min-height: 44px; padding: 8px 16px;
  background: none; border: 1px solid rgba(247, 241, 228, .45); color: var(--ivory);
  font: 600 .875rem var(--sans); cursor: pointer;
}

/* Home hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--ivory); }
.hero__in { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100svh - var(--head-h) - 1px), 860px); padding-block: clamp(56px, 7vw, 104px); }
.hero__copy { max-width: 700px; }
.hero h1 span { display: block; }
.hero .lead { margin-top: 28px; max-width: min(34em, 46vw); color: var(--ivory-soft); }
.hero .btn-row { margin-top: 36px; }
.hero__art { position: absolute; right: 0; bottom: 0; z-index: 1; width: min(53vw, 900px); aspect-ratio: 801 / 568; }
.hero__arc {
  position: absolute; right: -24%; top: -34%;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: var(--teal);
}
/* Circle is fitted to the curved edge of the photograph in the packet cover. */
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: circle(101.8% at 85.85% 126.1%); }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 span { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 span:nth-child(2) { animation-delay: .12s; }
  .hero h1 span:nth-child(3) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Interior page head: each page borrows one letterform from the mark. */
.page-head { position: relative; background: var(--navy); color: var(--ivory); overflow: hidden; }
.page-head__in { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 29vw, 420px); gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-head__copy { padding-block: clamp(56px, 8vw, 112px); align-self: center; }
.page-head .lead { margin-top: 26px; max-width: 36em; color: var(--ivory-soft); }
.page-head__shape { width: 100%; margin-bottom: -2px; }

/* Two-column section layout */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lead { margin-top: 20px; }

/* Consequence cascade */
.statement { font: 400 clamp(1.875rem, 3.3vw, 3rem)/1.14 var(--serif); letter-spacing: -.008em; text-wrap: balance; }
.why__intro { margin-top: 28px; max-width: 34em; }
.cascade { margin-top: clamp(48px, 6vw, 88px); counter-reset: step; }
.cascade__title { margin-bottom: 18px; }
.cascade li {
  --step: calc(var(--i) * 6.2%);
  margin-left: var(--step);
  padding: 15px 0;
  border-top: 1px solid var(--rule-light);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.4;
}
.cascade li:last-child {
  padding: 22px 26px; border-top: 0; background: var(--navy); color: var(--ivory);
  font: 400 clamp(1.375rem, 2.2vw, 1.875rem)/1.2 var(--serif);
}

/* Observation panel */
.observe { position: relative; overflow: hidden; }
.observe::after {
  content: ""; position: absolute; right: -9%; top: 50%; z-index: 0;
  width: min(62vw, 780px); aspect-ratio: 1; transform: translateY(-50%);
  background: url("../img/lattice.svg") center / contain no-repeat; opacity: .5;
}
.observe__in { position: relative; z-index: 1; max-width: 680px; }
.observe h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.04; }
.observe p:last-child { margin-top: 28px; max-width: 37em; }

/* What changes */
.verbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--brass); border: 1px solid var(--brass); }
.verbs li {
  display: flex; align-items: flex-end; min-height: clamp(120px, 15vw, 214px);
  padding: clamp(16px, 2vw, 28px); background: var(--paper);
  font: 400 clamp(1.875rem, 3.6vw, 3.25rem)/1 var(--serif);
}
.verbs li:last-child { background: var(--teal); color: var(--ivory); }
.verbs-note { margin-top: 28px; max-width: 40em; }

/* Tier row: the four panes of the mark laid end to end */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tier__link { display: block; height: 100%; text-decoration: none; }
.tier__shape { width: 100%; }
.tier__body { display: block; padding: 24px clamp(14px, 1.8vw, 26px) 0 0; }
.tier__num { display: block; font: 600 .75rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink); }
.tier__name { display: block; margin: 6px 0 12px; font: 400 clamp(1.375rem, 1.9vw, 1.625rem)/1.2 var(--serif); }
.tier__text { display: block; }

.formula {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  margin-top: clamp(44px, 5vw, 72px); padding: 24px clamp(18px, 2.4vw, 32px);
  background: var(--navy); color: var(--ivory);
  font: 400 clamp(1.25rem, 2vw, 1.75rem)/1.2 var(--serif);
}
.formula i { font: 400 1.125rem var(--sans); color: var(--brass); }
.formula-note { margin-top: 18px; max-width: 44em; }
.more { margin-top: 32px; }

/* Who rows */
.rows > li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px clamp(24px, 4vw, 64px); padding-block: clamp(20px, 2.4vw, 30px); border-top: 1px solid var(--rule-light); }
.rows > li:last-child { border-bottom: 1px solid var(--rule-light); }
.rows h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.rows p { color: var(--ink-soft); font-size: 1.125rem; }
/* The whole row is the tap target on linked lists. */
.rows--linked > li { position: relative; }
.rows--linked h3 a { display: inline-flex; flex-direction: row-reverse; gap: 10px; align-items: baseline; text-decoration: none; }
.rows--linked h3 a::before { content: "→"; font: 400 1rem var(--sans); color: var(--brass-ink); transition: transform .18s ease; }
.rows--linked h3 a::after { content: ""; position: absolute; inset: 0; }
.ultimately { margin-top: 28px; max-width: 44em; font: 400 clamp(1.25rem, 2vw, 1.625rem)/1.3 var(--serif); }

/* Closing band */
.closing { position: relative; overflow: hidden; }
.closing__in { position: relative; z-index: 1; max-width: min(700px, 56%); }
.closing .lead { margin-top: 24px; color: var(--ivory-soft); }
.closing .btn-row { margin-top: 34px; }
.closing__mark { position: absolute; z-index: 0; right: calc(var(--gutter) * .9); top: 50%; width: clamp(260px, 29vw, 420px); transform: translateY(-50%); }

/* Institute page */
.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(36px, 4vw, 56px); background: var(--brass); border: 1px solid var(--brass); }
.loop li { padding: clamp(18px, 2vw, 28px); background: var(--paper); }
.loop b { display: block; margin-bottom: 26px; font: 400 2rem/1 var(--serif); color: var(--teal); }
.commitments > li { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(20px, 3vw, 48px); padding-block: 28px; border-top: 1px solid var(--rule-dark); }
.commitments > li:last-child { border-bottom: 1px solid var(--rule-dark); }
.commitments b { font: 400 1.75rem/1 var(--serif); color: var(--brass); }
.commitments p { color: var(--ivory-soft); }
.founders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.founder { padding-top: 22px; border-top: 2px solid var(--brass); }
.founder h3 { margin-bottom: 6px; }
.founder__cred { font-size: .9375rem; font-weight: 500; color: var(--brass-ink); }
.founder__role { margin-top: 16px; color: var(--ink-soft); }
.advisory { margin-top: clamp(32px, 4vw, 56px); max-width: 46em; color: var(--ink-soft); }
.advisory strong { color: var(--navy); font-weight: 600; }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.stage { padding-top: 18px; border-top: 1px solid var(--navy); }
.stage__name { font: 400 1.75rem/1.1 var(--serif); }
.stage__aim { margin: 4px 0 12px; font: 600 .75rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink); }
.stage p:last-child { color: var(--ink-soft); }

/* Pathway page */
.tier-long { display: grid; grid-template-columns: clamp(150px, 19vw, 270px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--rule-light); }
.tier-long:first-child { border-top: 0; padding-top: 0; }
.tier-long h2 { margin: 8px 0 18px; font-size: clamp(1.875rem, 3vw, 2.625rem); }
.tier-long .lead { max-width: 36em; }
.tier-long ul { margin-top: 20px; max-width: 42em; }
.tick > li { position: relative; padding: 9px 0 9px 24px; color: var(--ink-soft); }
.tick > li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 10px; background: var(--brass); }
.section--navy .tick > li { color: var(--ivory-soft); }
.tick--spaced { margin-top: 20px; }
.sequence { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font: 400 clamp(1.25rem, 2.2vw, 1.875rem)/1.25 var(--serif); }
.sequence li { display: inline-flex; align-items: center; gap: 14px; }
.sequence li:not(:last-child)::after { content: "→"; font: 400 1.0625rem var(--sans); color: var(--brass-ink); }
.pull { margin-top: 20px; font: 400 clamp(1.75rem, 3.2vw, 2.75rem)/1.16 var(--serif); }
.pull-note { margin-top: 22px; }

/* Who page */
.subnav { position: sticky; top: calc(var(--head-h) + 1px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule-light); }
.subnav ul { position: relative; display: flex; gap: 26px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 48px; font-size: .9375rem; font-weight: 500; text-decoration: none; }
.subnav a[aria-current="true"] { color: var(--teal); font-weight: 600; box-shadow: inset 0 -2px 0 var(--teal); }
.role { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(32px, 6vw, 96px); padding-block: clamp(44px, 6vw, 84px); border-top: 1px solid var(--rule-light); }
.role:first-child { border-top: 0; padding-top: 0; }
.role h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); }
.role__label { margin-bottom: 14px; }
.role__cta { margin-top: 22px; }
.disciplines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.disciplines li { padding: 6px 12px; border: 1px solid var(--rule-light); font-size: .9375rem; }
.boundary { margin-top: 26px; padding: 22px 24px; background: var(--navy); color: var(--ivory); }
.boundary b { display: block; margin-bottom: 6px; color: var(--brass); font: 600 .75rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.benefit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); margin-top: clamp(36px, 4vw, 56px); }
.benefit li { padding: clamp(20px, 2.4vw, 32px); background: var(--navy); font: 400 clamp(1.375rem, 2.2vw, 1.875rem)/1.15 var(--serif); }

/* Form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: clamp(22px, 3vw, 40px); background: var(--paper); border-top: 3px solid var(--brass); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .9375rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  background: #fff; border: 1px solid rgba(13, 27, 42, .45); border-radius: 0;
  color: var(--navy); font: 400 1rem/1.4 var(--sans);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #A3341F; box-shadow: inset 0 0 0 1px #A3341F; }
.field__error { color: #A3341F; font-size: .9375rem; font-weight: 500; }
.field__error[hidden] { display: none; }
.split--form > .form { grid-column: 2; grid-row: 1; align-self: start; }
.split--form > .ways { grid-column: 1; grid-row: 1; }
.interest { margin-top: 28px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.form__status { flex: 1 1 280px; font-size: .9375rem; color: var(--ink-soft); }
.form__status.is-sent { padding: 12px 14px; background: var(--teal); color: var(--ivory); }
.interest > li { padding-block: 18px; border-top: 1px solid var(--rule-light); }
.interest > li:last-child { border-bottom: 1px solid var(--rule-light); }
.interest h3 { font-size: 1.25rem; margin-bottom: 4px; }
.interest p { color: var(--ink-soft); font-size: 1rem; }
.note { margin-top: 26px; font-size: .9375rem; color: var(--ink-soft); }

/* Footer */
.site-foot { background: var(--navy); color: var(--ivory); border-top: 1px solid rgba(199, 154, 74, .45); padding-block: clamp(48px, 6vw, 80px) 30px; font-size: .9375rem; }
.site-foot__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; }
.site-foot__line { margin-top: 22px; font: 400 1.25rem/1.45 var(--serif); }
.site-foot nav ul { display: grid; gap: 2px; }
.site-foot nav a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.site-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: .8125rem; color: var(--ivory-soft); }

/* Common questions */
.faq { border-top: 1px solid var(--rule-light); }
.faq:last-child { border-bottom: 1px solid var(--rule-light); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 60px; padding-block: 14px;
  font: 400 clamp(1.1875rem, 1.7vw, 1.375rem)/1.3 var(--serif);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--sans); color: var(--brass-ink); }
.faq[open] summary::after { content: "–"; }
.faq p { max-width: 42em; padding-bottom: 22px; color: var(--ink-soft); }

/* Link to the next page */
.next { display: block; background: var(--teal); color: var(--ivory); text-decoration: none; }
.next__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(32px, 4vw, 52px); }
.next .eyebrow { display: block; color: var(--ivory); }
.next__title { display: block; margin-top: 8px; font: 400 clamp(1.875rem, 3.6vw, 3.25rem)/1.1 var(--serif); }
.next__arrow {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  width: clamp(48px, 5vw, 68px); aspect-ratio: 1;
  border: 1px solid rgba(247, 241, 228, .6); font-size: 1.375rem;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

/* Photographs: one corner cut to an arc from the mark, framed by a brass line */
.photo { margin: 0; }
.photo img {
  width: 100%;
  border-top-right-radius: clamp(64px, 13vw, 200px);
  outline: 1px solid var(--brass); outline-offset: 8px;
  background: var(--rule-light);
}
.photo--wide img { border-top-right-radius: 0; border-bottom-left-radius: clamp(64px, 13vw, 200px); }
.why { grid-template-areas: "eyebrow text" "photo text"; grid-template-rows: auto 1fr; row-gap: 36px; }
.why__eyebrow { grid-area: eyebrow; }
.why__text { grid-area: text; }
.why__photo { grid-area: photo; align-self: start; }
.tier-long .photo { max-width: 760px; margin-top: 36px; }
.photo--expect { margin-top: 40px; }
.photo--institute { max-width: 480px; margin-top: 40px; }
.photo--wide { margin-bottom: 16px; }

/* Clinical reality gallery: a row of 4:3 landscapes over a row of 3:4 portraits */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.gallery__item { margin: 0; }
.gallery__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: rgba(247, 241, 228, .06); }
.gallery__item--portrait .gallery__frame { aspect-ratio: 3 / 4; }
.gallery__frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item:focus { outline: none; }

/* Graphic photos stay blurred until the viewer chooses to see them (only when scripts run). */
.gallery__reveal { display: none; }
.js .is-sensitive:not(.is-revealed) img { filter: blur(32px) saturate(.5); transform: scale(1.15); }
.js .is-sensitive:not(.is-revealed) .gallery__reveal {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 20px; border: 0; background: rgba(13, 27, 42, .6); color: var(--ivory);
  font: 400 1rem/1.4 var(--sans); text-align: center; cursor: pointer;
}
.gallery__reveal strong { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid rgba(247, 241, 228, .7); font-weight: 600; }
@media (hover: hover) {
  .gallery__reveal:hover strong { background: var(--ivory); color: var(--navy); }
}

.page-head--missing .page-head__copy { padding-block: clamp(72px, 10vw, 148px); }
.page-head--missing .btn-row { margin-top: 32px; }

/* Tablet */
@media (max-width: 1040px) {
  .lockup__desc { display: none; }
  .hero__in { justify-content: flex-start; min-height: 0; padding-bottom: 48px; }
  .hero .lead { max-width: 36em; }
  .hero__art { position: relative; width: 100%; }
  .hero__arc { top: -14%; right: -22%; width: 52%; }
  .observe::after { display: none; }
  .observe__in { max-width: 760px; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  .tier__link { display: grid; grid-template-columns: clamp(92px, 15vw, 132px) minmax(0, 1fr); gap: 20px; }
  .tier__body { padding: 0; }
  .loop, .stages, .benefit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot nav a { min-height: 44px; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --head-h: 64px; }
  .lockup img { width: 40px; height: 40px; }
  .lockup__word { font-size: 1.625rem; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - var(--head-h) - 1px); overflow-y: auto;
    padding: 8px var(--gutter) 22px; background: var(--navy);
    border-bottom: 1px solid rgba(199, 154, 74, .45);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--rule-dark); font-size: 1.0625rem; }
  .nav .btn { margin-top: 16px; min-height: 48px; }
  .site-head__in { position: static; }
  .page-head__in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .page-head__copy { padding-bottom: 36px; }
  .page-head__shape { width: 42%; margin-left: auto; }
  .split, .split--even, .role, .founders, .form { grid-template-columns: minmax(0, 1fr); }
  .split--form > .form, .split--form > .ways { grid-column: auto; grid-row: auto; }
  .why { grid-template-areas: "eyebrow" "text" "photo"; grid-template-rows: auto; row-gap: 28px; }
  .photo--wide img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 62% 50%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item { grid-column: span 2; }
  .gallery__item--portrait { grid-column: span 1; }
  .gallery__item--odd { grid-column: span 2; }
  .gallery__item--odd .gallery__frame { aspect-ratio: 4 / 3; }
  .rows > li, .commitments > li { grid-template-columns: minmax(0, 1fr); }
  .rows p { font-size: 1.0625rem; }
  .cascade li { --step: 0%; }
  .closing__in { max-width: none; }
  .verbs { grid-template-columns: repeat(2, 1fr); }
  .verbs li { min-height: 96px; padding: 14px; font-size: clamp(1.5rem, 7.4vw, 2.25rem); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .formula { flex-direction: column; align-items: flex-start; gap: 6px; }
  .formula i { transform: rotate(90deg); }
  .tier-long { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tier-long__shape { width: 112px; }
  .closing__mark { display: none; }
  .site-foot__top { grid-template-columns: minmax(0, 1fr); }

  /* The learning sequence reads better as a numbered list on a narrow screen. */
  .sequence { display: block; counter-reset: step; }
  .sequence li { display: flex; gap: 16px; padding-block: 12px; border-top: 1px solid var(--rule-light); counter-increment: step; }
  .sequence li::before { content: counter(step); flex: none; width: 1.2em; font: 500 1rem/1.6 var(--sans); color: var(--brass-ink); }
  .sequence li:not(:last-child)::after { content: none; }

  /* Fades the end of the "On this page" bar to show that it scrolls sideways. */
  .subnav ul { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
  .subnav li:last-child { padding-right: 36px; }
}

@media (max-width: 460px) {
  .hero h1 { font-size: 10vw; }
  .loop, .stages, .benefit { grid-template-columns: minmax(0, 1fr); }
  .loop b { margin-bottom: 12px; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* Phones held sideways: keep the sticky bars from covering the screen. */
@media (max-height: 520px) {
  .site-head { position: relative; }
  .subnav { position: static; }
  html, html:has(.subnav) { scroll-padding-top: 16px; }
}

@media print {
  .site-head, .subnav, .next, .skip, .nav-toggle { display: none; }
  body { font-size: 11pt; }
  .section { padding-block: 28pt; }
  .section, .hero, .page-head, .site-foot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
