/* Sandpiper. All copy is maintained in ../SPA_website.html. */
@font-face {
  font-family: "Source Serif";
  src: url("fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f8f6ef;
  --ink: #263c35;
  --muted: #63746b;
  --sea: #3e6f6a;
  --ochre: #b57b36;
  --line: #cdd3c5;
  --serif: "Source Serif", Georgia, serif;
  --sans: "Public Sans", sans-serif;
  --content: 1320px;
  --gutter: clamp(28px, 6vw, 90px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 175px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
a {
  color: inherit;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 5px;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  display: block;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(44px, 5.1vw, 72px);
}
h3 {
  font-size: 29px;
  line-height: 1.18;
}
em {
  font-weight: 350;
}
p + p {
  margin-top: 22px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #e2c18e;
  color: #233c32;
}
.section {
  max-width: var(--content);
  margin: auto;
  padding: 110px 42px;
}
.eyebrow {
  font: 400 10px/1.5 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-bottom: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  min-height: 50px;
  border-radius: 5px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fbf8ef;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  transition:
    background 0.25s,
    transform 0.25s;
}
.button:hover {
  background: #3e5c4c;
  transform: translateY(-2px);
  text-decoration: none;
}
.button-small {
  padding: 12px 18px;
  min-height: 44px;
  font-size: 12px;
}
.text-link {
  display: inline-block;
  padding: 0 0 5px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--sea);
}
.text-link:hover {
  border-bottom-width: 2px;
  padding-bottom: 4px;
  text-decoration: none;
}
.quiet-button {
  font-size: 11px;
  color: var(--sea);
  padding: 6px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 25px;
  top: -100px;
  padding: 12px 18px;
  z-index: 100;
  background: var(--paper);
}
.skip-link:focus {
  top: 15px;
}
/* Navigation remains visually quiet while crossing light and dark chapters. */
.site-header {
  position: fixed;
  z-index: 40;
  top: 22px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  pointer-events: none;
}
.site-header a,
.site-header button,
.navigation {
  pointer-events: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px 10px 8px;
  background: rgba(248, 246, 239, 0.92);
  border-radius: 8px;
  text-decoration: none;
  backdrop-filter: blur(15px);
}
.brand-bird {
  display: block;
  width: 62px;
  height: 36px;
  flex-shrink: 0;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.brand-bird img {
  position: relative;
  left: -7px;
  top: 1px;
  width: 76px;
  max-width: none;
}
.brand-name {
  font: 450 24px/0.95 var(--serif);
  letter-spacing: -0.025em;
}
.brand-name small {
  display: block;
  font: 400 8px var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-top: 8px;
}
.navigation {
  padding: 5px;
  background: rgba(248, 246, 239, 0.94);
  border-radius: 8px;
  backdrop-filter: blur(15px);
}
.menu-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.menu-links a {
  padding: 14px 17px;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.3;
  border-radius: 4px;
}
.menu-links a:hover {
  background: #e9e7dc;
}
.menu-links .nav-contact {
  background: #d8b47e;
  margin-left: 9px;
}
.menu-links .nav-contact:hover {
  background: #cc9e60;
}
.menu-toggle {
  display: none;
}
/* A brief philosophy, on a landscape with enough space to read it. */
.hero-track {
  height: 138svh;
  padding: 12px 0 0;
}
.hero-frame {
  height: calc(100svh - 12px);
  min-height: 750px;
  position: sticky;
  top: 12px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px 14px 0 0;
  background: #e9e3d6;
}
.hero-image-wrap,
.hero-image,
.hero-light,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  object-fit: cover;
  object-position: 57% 60%;
  transform: scale(1.04);
}
.hero-light {
  background: linear-gradient(115deg, #e9b46e55, #43696455);
  mix-blend-mode: multiply;
  opacity: 0;
}
.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(251, 245, 230, 0.73),
      rgba(251, 245, 230, 0.3) 47%,
      transparent 76%
    ),
    linear-gradient(0deg, rgba(245, 239, 218, 0.12), transparent 50%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(170px, 22svh, 245px) 0 180px;
  margin-left: var(--gutter);
  max-width: 950px;
}
.hero-copy .eyebrow {
  color: #4b6256;
  margin-bottom: 31px;
}
.hero-copy h1 {
  font-size: clamp(65px, 7.4vw, 110px);
  line-height: 1.01;
  letter-spacing: -0.06em;
}
.hero-copy h1 em {
  color: #41695d;
}
.hero-description {
  font-size: 17px;
  line-height: 1.75;
  max-width: 500px;
  margin: 30px 0 0;
}
.hero-belief {
  font-size: 14px;
  max-width: 440px;
  margin: 14px 0 28px;
  color: #3e594b;
}




.shore-transition {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 3;
  pointer-events: none;
}
.shore-wave {
  fill: var(--paper);
}
.shore-foam {
  fill: none;
  stroke: #f5f3e6;
  stroke-width: 2;
  opacity: 0.5;
}
/* The team rail has one authored profile. Controls appear only for additional people. */
.team-section {
  position: relative;
  overflow: visible;
  padding-bottom: 110px;
}
.team-topline {
  padding-top: 75px;
  padding-bottom: 50px;
}
.team-topline h2 {
  font-size: clamp(42px, 4.4vw, 62px);
  max-width: 720px;
}
.team-carousel {
  max-width: var(--content);
  margin: auto;
  padding: 0 42px;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.team-carousel::-webkit-scrollbar {
  display: none;
}
.team-card {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 85px;
  align-items: center;
  scroll-snap-align: start;
}
.team-photo {
  overflow: hidden;
  background: #e3e7e0;
  border-radius: 4px;
}
.team-photo img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: 50% 45%;
}
.team-bio .eyebrow {
  margin-bottom: 18px;
}
.team-bio h3 {
  font-size: 49px;
  letter-spacing: -0.045em;
}
.team-role {
  font-size: 13px;
  color: var(--sea);
  margin-top: 13px !important;
  margin-bottom: 30px;
}
.team-bio > p:not(.eyebrow):not(.team-role) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.team-links {
  display: flex;
  gap: 30px;
  margin-top: 33px;
}
.team-controls {
  max-width: var(--content);
  margin: 25px auto 0;
  padding: 0 42px;
  display: flex;
  gap: 25px;
}
.team-controls button {
  font-size: 12px;
  text-decoration: underline;
}
/* Values are introduced with navigable cases, without decorative serial numbers. */
.work-intro {
  padding-top: 70px;
  padding-bottom: 65px;
  border-top: 1px solid var(--line);
}
.work-intro h2 {
  font-size: clamp(58px, 6.8vw, 96px);
  letter-spacing: -0.055em;
}
.work-intro h2 em {
  color: #53766b;
}
.work-intro > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  margin-top: 28px;
  max-width: 580px;
}
.case-index {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
  margin-top: 38px;
}
.case-index a {
  font-size: 11px;
  text-decoration: none;
  border-bottom: 1px solid #bfc8b9;
  padding-bottom: 6px;
}
.case-index a:hover {
  color: #91602d;
  border-color: #91602d;
}
/* A consistent story structure lets the examples themselves vary. */
.case-section {
  padding: 100px 0 110px;
  overflow: clip;
}
.case-shell {
  max-width: var(--content);
  margin: auto;
  padding: 0 42px;
}
.case-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0 90px;
  align-items: end;
  margin-bottom: 44px;
}
.case-heading > .eyebrow {
  grid-column: 1/-1;
  margin-bottom: 23px;
}
.case-heading h2 {
  font-size: clamp(44px, 4.7vw, 67px);
  line-height: 1.04;
}
.case-deck {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 360px;
  margin-bottom: 4px;
}
.story-navigation {
  display: flex;
  gap: 37px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 46px;
}
.story-navigation button {
  position: relative;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  padding: 15px 0;
  min-height: 48px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.story-navigation button[aria-selected="true"] {
  color: var(--ink);
  border-color: var(--ochre);
}
.story-navigation button:hover {
  color: var(--ink);
}
.case-layout {
  display: grid;
  grid-template-columns: 0.67fr 1.33fr;
  gap: 75px;
  align-items: start;
}
.case-narrative {
  padding-top: 28px;
  min-width: 0;
}
.story-copy {
  min-height: 230px;
  overflow: clip;
}
.story-copy h3 {
  font-size: 31px;
  margin-bottom: 23px;
  line-height: 1.16;
  max-width: 340px;
}
.story-copy p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 355px;
}
.story-controls {
  display: flex;
  gap: 22px;
  align-items: center;
  padding-top: 25px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.story-controls button {
  font-size: 12px;
  padding: 7px 0;
  line-height: 1.5;
}
.story-next,
.story-restart {
  color: var(--sea);
  border-bottom: 1px solid var(--sea) !important;
}
.story-back {
  color: var(--muted);
}
.case-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 38px;
}
.case-note summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  border-bottom: 1px solid #9cae9e;
  padding-bottom: 5px;
}
.case-note summary::-webkit-details-marker {
  display: none;
}
.case-note p {
  margin-top: 16px;
  line-height: 1.8;
}
.lab-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.lab-heading > span:last-child {
  font-size: 9px;
  color: var(--muted);
}
.lab-footnote {
  font-size: 9px;
  line-height: 1.65;
  color: var(--muted);
  padding: 0 26px 22px;
  margin: 0;
}
.borrowing-lab,
.model-lab,
.evidence-lab,
.budget-lab {
  position: relative;
  background: #fbfaf4;
  border: 1px solid #cbd0bf;
  border-radius: 3px;
  box-shadow: 0 28px 38px -35px #3a514947;
  min-width: 0;
}
.full-example {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: 11px;
  line-height: 1.6;
}
.full-example img {
  width: 105px;
  height: 78px;
  object-fit: cover;
  object-position: left top;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: transform 0.4s var(--ease);
}
.full-example:hover img {
  transform: translateY(-4px);
}
.full-example small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
/* Case: the unreported outcome becomes a visibly qualified estimate. */
.missing-case {
  background: #efeadc;
  --line: #c9d0bf;
}
.outcome-matrix {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 1px;
  margin: 25px 26px 0;
}
.matrix-head {
  font-size: 11px;
  color: var(--muted);
  padding: 10px 10px 18px;
  text-align: center;
}
.matrix-treatment {
  display: flex;
  align-items: center;
  font-size: 12px;
  border-top: 1px solid #dde0d3;
  padding-right: 10px;
}
.observed-cell,
.missing-cell {
  height: 94px;
  position: relative;
  border-top: 1px solid #dde0d3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
}
.observed-cell i {
  position: relative;
  display: block;
  height: 2px;
  background: #426e63;
  width: var(--interval);
  left: calc(var(--centre) - 50%);
  min-width: 35px;
}
.observed-cell i::before,
.estimated-cell i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  color: #426e63;
}
.observed-cell span {
  font-size: 9px;
  color: var(--muted);
}
.missing-cell {
  border: 1px dashed #bda06e;
  margin: 5px;
  background: #ede2cb66;
  height: 84px;
}
.missing-cell > span {
  font: 24px var(--serif);
  color: #946e3d;
}
.estimated-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  height: 100%;
}
.estimated-cell i {
  position: relative;
  display: block;
  height: 2px;
  background: #a87435;
  width: var(--estimate-width, 45%);
  transition: width 0.2s;
}
.estimated-cell i::before {
  color: #a87435;
}
.estimated-cell span {
  font-size: 9px;
  color: #8f652f;
}
.borrowing-connection {
  margin: 8px 45px 22px;
  opacity: 0.14;
  transition: opacity 0.7s;
}
.borrowing-connection svg {
  width: 100%;
  height: 65px;
  fill: #a57d43;
}
.borrowing-connection path {
  stroke: #a57d43;
  stroke-width: 1.5;
  fill: none;
}
.borrowing-connection p {
  text-align: center;
  font: italic 19px var(--serif);
  color: #8c6a34;
  margin-top: -2px;
}
.missing-case:not([data-case-step="0"]) .borrowing-connection {
  opacity: 1;
}
.relationship-control {
  padding: 4px 28px 20px;
}
.relationship-control label {
  display: block;
  font-size: 11px;
  margin-bottom: 7px;
}
.relationship-control > div {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.relationship-control p {
  font-size: 11px;
  color: var(--sea);
  margin-top: 13px;
}
.case-outcome {
  margin: 0 26px 24px;
  padding: 19px 22px 19px 39px;
  background: #e5eddd;
  position: relative;
}
.outcome-mark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #567655;
  left: 21px;
  top: 27px;
}
.case-outcome p {
  font: 20px/1.35 var(--serif);
}
.case-outcome small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
/* Case: show where the preferred decision changes. */
.model-case {
  background: #e3e9e2;
  --line: #bccbc0;
}
.model-lab {
  background: #f9faf5;
  border-color: #bfcdbf;
}
.chart-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 26px 8px;
  font-size: 10px;
  color: #596e62;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-legend span::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #386965;
}
.chart-legend .legend-candidate::before {
  background: #b57b36;
}
.decision-chart {
  width: 100%;
  height: auto;
  padding: 0 15px;
}
.chart-grid {
  stroke: #e0e5d9;
  stroke-width: 1;
  fill: none;
}
.zero-line {
  stroke: #889e8c;
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.chart-labels {
  font: 10px var(--sans);
  fill: #718074;
}
.reference-line {
  fill: none;
  stroke: #386965;
  stroke-width: 2.7;
}
.candidate-line {
  fill: none;
  stroke: #b57b36;
  stroke-width: 2.7;
  stroke-dasharray: 7 4;
}
.reference-point {
  fill: #386965;
  stroke: #fbfaf4;
  stroke-width: 2;
}
.candidate-point {
  fill: #b57b36;
  stroke: #fbfaf4;
  stroke-width: 2;
}
.price-guide {
  stroke: #a9b8a7;
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.model-controls {
  padding: 9px 28px 20px;
}
.model-controls label,
.budget-inputs label {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
}
.model-controls label output,
.budget-inputs label output {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
input[type="range"] {
  display: block;
  width: 100%;
  height: 22px;
  accent-color: var(--sea);
  cursor: pointer;
  margin: 0;
}
.model-controls .quiet-button {
  margin-top: 5px;
}
.decision-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid #d6dece;
  margin: 0 26px;
}
.decision-results > div {
  padding: 18px 0;
}
.decision-results > div + div {
  border-left: 1px solid #d6dece;
  padding-left: 23px;
}
.decision-results span {
  font-size: 10px;
  display: block;
  color: var(--muted);
}
.decision-results strong {
  display: block;
  font: 25px/1.3 var(--serif);
  margin: 7px 0;
  color: var(--ink);
}
.decision-results small {
  font-size: 9px;
  color: var(--muted);
}
.decision-results output {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.agreement-note {
  margin: 18px 26px 13px;
  font-size: 11px;
  color: #436c54;
  min-height: 38px;
}
.agreement-note[data-agreement="no"] {
  color: #9c532d;
}
.model-lab[data-model-mode="exact"] .candidate-line {
  stroke-dasharray: 3 6;
  stroke-width: 2;
}
/* Case: the source, the value and the retained correction occupy one workspace. */
.evidence-case {
  background: #293f39;
  color: #f4f0e5;
  --ink: #f4f0e5;
  --muted: #bdc9bd;
  --line: #5e7365;
  --sea: #dec28e;
  --ochre: #dbb575;
}
.evidence-case .case-note summary {
  border-color: #a8b6a6;
}
.evidence-lab {
  color: #293f35;
  --ink: #293f35;
  --muted: #6a786a;
  --line: #c4cbbb;
  --sea: #426e60;
  background: #e7eadf;
  border: 1px solid #acbca7;
}
.review-desk {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
}
.source-paper {
  background: #fdfbf3;
  border: 1px solid #d8d6c6;
  padding: 23px 22px 27px;
  box-shadow: 4px 12px 20px -15px #52644b;
  transform: translateY(10px) rotate(-3deg);
  opacity: 0.55;
  transition:
    transform 0.6s var(--ease),
    opacity 0.6s;
}
.paper-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  color: #76806e;
  border-bottom: 1px solid #d1d7c5;
  padding-bottom: 15px;
  margin-bottom: 24px;
}
.source-paper h3 {
  font-size: 25px;
  margin-bottom: 19px;
}
.source-paper > p:not(.paper-footnote) {
  font: 16px/1.65 var(--serif);
  margin-top: 14px;
}
.source-paper .paper-footnote {
  font-size: 8px;
  color: #77806f;
  margin-top: 25px;
}
.source-paper mark {
  background: transparent;
  color: inherit;
  padding: 2px 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background 0.4s;
}
.evidence-case:not([data-case-step="0"]) .source-paper {
  transform: none;
  opacity: 1;
}
.evidence-case:not([data-case-step="0"]) .source-paper mark {
  background: #ecd5a0;
}
.extraction-card {
  padding: 24px 15px;
  align-self: center;
  min-width: 0;
}
.extraction-card .eyebrow {
  margin-bottom: 22px;
  font-size: 9px;
}
.extraction-fraction {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  font: 36px/1.15 var(--serif);
  letter-spacing: -0.03em;
  text-align: center;
  gap: 5px 12px;
}
.extraction-fraction > span {
  grid-column: 1;
}
.extraction-fraction .fraction-rule {
  height: 1px;
  background: #9bac95;
  width: 100%;
}
.extraction-fraction strong {
  grid-column: 2;
  grid-row: 1/4;
  font: 30px var(--serif);
  color: #496e5c;
}
.review-status {
  display: block;
  font-size: 9px;
  line-height: 1.6;
  margin-top: 23px;
  color: #667762;
}
.review-status[data-evidence-status="discrepancy"] {
  color: #9c5635;
}
.review-status[data-evidence-status="corrected"] {
  color: #396d4b;
}
.correction-control {
  margin-top: 17px;
}
.correction-control .button {
  font-size: 10px;
  min-height: 44px;
  padding: 9px 13px;
}
.correction-control > span {
  font-size: 10px;
  color: #426b4c;
  line-height: 1.6;
}
.review-note {
  padding: 22px 28px 28px;
  border-top: 1px solid #bdc8b3;
}
.review-note label {
  display: block;
  font-size: 10px;
  color: #576e58;
  margin-bottom: 10px;
}
textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 90px;
  background: #f8f9f0;
  border: 1px solid #a2b49a;
  border-radius: 2px;
  padding: 12px;
  color: #2d4837;
  font-size: 11px;
  line-height: 1.7;
}
.review-save {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.review-save [data-note-status] {
  font-size: 9px;
  max-width: 180px;
  color: #5e725d;
}
.review-record {
  padding: 32px;
}
.review-record .eyebrow {
  margin-bottom: 25px;
}
.review-record dl {
  margin: 0;
}
.review-record dl > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 25px;
  padding: 16px 0;
  border-top: 1px solid #becbb6;
  font-size: 12px;
}
.review-record dt {
  color: #61775e;
}
.review-record dd {
  margin: 0;
}
.review-record > p:not(.eyebrow) {
  padding: 20px;
  background: #d8e2cc;
  font-size: 12px;
  line-height: 1.8;
  margin: 25px 0;
}
.review-record .text-link {
  font-size: 12px;
}
.record-empty {
  padding: 32px;
  font-size: 13px;
  line-height: 1.8;
}
.record-empty button {
  margin-top: 20px;
}
/* Case: the cost components remain visible as the scenario changes. */
.budget-case {
  background: #dce7e4;
  --line: #b4c7be;
}
.budget-lab {
  background: #f7faf5;
  border-color: #b4c7ba;
}
.budget-summary {
  padding: 25px 28px 24px;
}
.budget-summary > span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.budget-summary > output {
  display: block;
  font: clamp(40px, 4vw, 57px)/1.2 var(--serif);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: #366458;
  margin: 12px 0;
}
.budget-summary > p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.budget-bars {
  padding: 0 28px 27px;
}
.cost-bar + .cost-bar {
  margin-top: 20px;
}
.cost-bar > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  margin-bottom: 9px;
}
.cost-bar output {
  font-variant-numeric: tabular-nums;
}
.cost-bar i {
  display: block;
  height: 19px;
  min-width: 0;
  max-width: 100%;
  transition: width 0.25s var(--ease);
  border-radius: 1px;
}
.acquisition i {
  background: #c6a365;
  width: 66.667%;
}
.offset i {
  background: #52877a;
  width: 46.667%;
}
.budget-inputs {
  padding: 23px 28px 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  border-block: 1px solid #d3dfce;
}
.budget-inputs label {
  display: block;
  line-height: 1.6;
  min-height: 48px;
}
.budget-inputs label output {
  display: block;
  margin-top: 4px;
}
.budget-explanation {
  margin: 23px 28px;
  padding: 22px;
  background: #e6eddf;
}
.budget-explanation .eyebrow {
  margin-bottom: 14px;
  font-size: 9px;
}
.budget-explanation > p:not(.eyebrow) {
  font: 19px/1.6 var(--serif);
  letter-spacing: -0.015em;
}
.budget-explanation .formula-result {
  margin-top: 12px;
  font-size: 24px !important;
}
.budget-handover {
  padding: 23px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  align-items: center;
}
.budget-handover > span {
  font-size: 10px;
  color: var(--muted);
  max-width: 180px;
}
.budget-lab > .lab-footnote {
  padding-top: 22px;
}
/* Services and contact follow the cases. */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  padding-block: 130px;
}
.about-intro h2 {
  font-size: clamp(44px, 4.7vw, 64px);
  margin-bottom: 29px;
}
.about-intro > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 410px;
  margin-bottom: 25px;
}
/* A centred vertical service stream, with neighbouring entries fading at the edges. */
.service-carousel { position: relative; min-width: 0; }
.service-card { padding: 28px 0; }
.service-card h3 { font: 400 31px/1.2 var(--serif); letter-spacing: -0.025em; }
.service-body p { margin-top: 19px; font-size: 13px; line-height: 1.85; color: var(--muted); }
.service-body a { display: inline-block; margin-top: 17px; font-size: 12px; }
.service-position[hidden] { display: none; }
.service-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.service-carousel.is-ready { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 20px; align-items: center; }
.service-position { display: flex; flex-direction: column; align-items: center; position: relative; }
.service-position::before { content: ""; position: absolute; width: 1px; top: 20px; bottom: 20px; background: var(--line); }
.service-position button { position: relative; display: grid; place-items: center; width: 30px; height: 40px; padding: 0; }
.service-position span { width: 5px; height: 5px; background: #a9b2a5; border-radius: 50%; transition: width .2s, height .2s, background .2s; }
.service-position [aria-current="true"] span { width: 9px; height: 9px; background: #46786d; }
.service-carousel.is-ready .service-stream {
  position: relative; height: clamp(460px,62svh,560px); overflow-y: auto; overflow-x: hidden;
  padding-inline: 8px; scrollbar-width: none; scroll-snap-type: y proximity;
  overscroll-behavior-y: auto; touch-action: pan-y;
  mask-image: linear-gradient(transparent,black 12%,black 88%,transparent);
}
.service-stream::-webkit-scrollbar { display: none; }
.service-stream:focus-visible { outline: 1px solid #628b7980; outline-offset: 5px; }
.service-carousel.is-ready .service-card {
  min-height: 255px; display: flex; flex-direction: column; justify-content: center;
  scroll-snap-align: center; transform-origin: center left; cursor: pointer;
  opacity: var(--service-opacity,1);
  transform: translateY(var(--service-shift,0)) scale(var(--service-scale,1));
  transition: opacity .12s, transform .12s; will-change: opacity, transform;
}
.service-card.is-current h3 { color: #244e43; }
@media (max-width:760px) {
  .service-carousel { margin-top: 34px; }
  .service-carousel.is-ready { grid-template-columns: 12px minmax(0,1fr); gap: 13px; }
  .service-position button { width: 24px; }
  .service-card h3 { font-size: 28px; line-height: 1.25; }
  .service-card { padding-block: 24px; }
  .service-carousel.is-ready .service-stream { padding-inline: 4px; }
  .service-carousel.is-ready .service-card { min-height: 265px; }
}
@media print {
  .service-position { display: none; }
  .service-carousel.is-ready { display: block; }
  .service-carousel.is-ready .service-stream { height: auto; padding: 0!important; overflow: visible; mask-image: none; }
  .service-carousel.is-ready .service-card { opacity: 1; transform: none; min-height: 0; }
}
.contact-section {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background: #e1dac7;
}
.contact-landscape {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.contact-landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f4ecd9db, #f4ecd966 55%, transparent);
}
.contact-landscape img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: 50% 80%;
}
.contact-copy {
  position: relative;
  max-width: var(--content);
  margin: auto;
  padding: 125px 42px 170px;
}
.contact-copy h2 {
  font-size: clamp(64px, 7.4vw, 105px);
  letter-spacing: -0.055em;
  margin-bottom: 38px;
}
.contact-copy .eyebrow {
  color: #4e6554;
}
.contact-email {
  display: block;
  width: fit-content;
  font-size: 12px;
  margin-top: 23px;
  color: #374e40;
}
.site-footer {
  display: block;
  padding: 48px var(--gutter);
  background: #e7ddc4;
  color: #52664f;
  font-size: 11px;
}
.footer-brand {
  font: 27px/1.2 var(--serif);
  color: var(--ink);
  text-decoration: none;
}




/* Native dialogs provide a focus trap and close with Escape. */
dialog {
  border: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 7px;
}
dialog::backdrop {
  background: #172e29a8;
  backdrop-filter: blur(6px);
}
.dialog-close {
  position: absolute;
  right: 24px;
  top: 20px;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 30px;
}
.reading-dialog {
  width: min(780px, calc(100vw - 30px));
  max-height: 88svh;
  padding: 65px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.reading-dialog h2 {
  font-size: 48px;
  margin-bottom: 30px;
}
.reading-dialog h3 {
  font-size: 26px;
  margin: 28px 0 14px;
}
.reading-dialog p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.85;
}
.reading-dialog > .text-link {
  margin-top: 28px;
}
.film-dialog {
  width: min(1120px, calc(100vw - 30px));
  max-height: 90svh;
  padding: 45px 15px 20px;
  background: #263f38;
  color: #f7f3e7;
  overflow: auto;
}
.film-dialog h2 {
  font: 14px var(--sans);
  margin: 5px 10px 20px;
  letter-spacing: 0;
}
.film-dialog video {
  width: 100%;
  max-height: 70svh;
  background: #182f26;
}
.film-dialog > p {
  font-size: 11px;
  margin: 19px 10px 0;
  color: #c8d4c3;
}
/* Tablet. The same stories remain fully usable without a fixed-height viewport. */
@media (max-width: 1100px) {
  .site-header {
    left: 22px;
    right: 22px;
  }
  .menu-links a {
    padding-inline: 13px;
  }
  .hero-copy {
    margin-left: 50px;
    max-width: 800px;
  }
  .hero-copy h1 {
    font-size: 78px;
  }

  .section,
  .case-shell {
    padding-inline: 36px;
  }
  .case-layout {
    gap: 42px;
    grid-template-columns: 0.7fr 1.3fr;
  }
  .case-heading {
    gap: 0 45px;
  }
  .case-heading h2 {
    font-size: 52px;
  }
  .case-deck {
    font-size: 14px;
  }
  .story-copy h3 {
    font-size: 29px;
  }
  .story-copy {
    min-height: 270px;
  }
  .story-navigation {
    gap: 28px;
  }
  .team-carousel {
    padding-inline: 36px;
  }
  .team-card {
    gap: 48px;
  }
  .team-photo img {
    height: 520px;
  }
  .team-bio h3 {
    font-size: 43px;
  }
  .team-bio > p:not(.eyebrow):not(.team-role) {
    font-size: 13px;
  }
  .lab-heading {
    padding-inline: 20px;
  }
  .review-desk {
    display: block;
    padding: 24px;
  }
  .source-paper {
    width: 80%;
    margin-left: 0;
  }
  .extraction-card {
    position: relative;
    width: 55%;
    margin: -80px 0 0 auto;
    background: #edf0e4;
    border: 1px solid #bdc9b4;
    box-shadow: 0 10px 20px -15px #52644b;
    transform: rotate(2deg);
    padding: 20px;
  }
  .evidence-case:not([data-case-step="0"]) .extraction-card {
    transform: none;
  }
  .extraction-card .eyebrow {
    margin-bottom: 15px;
  }
  .about {
    gap: 65px;
  }

  .contact-copy {
    padding-inline: 50px;
  }
  .budget-inputs {
    gap: 18px;
  }
  .matrix-treatment {
    font-size: 11px;
  }
  .matrix-head {
    font-size: 10px;
  }
  .observed-cell,
  .missing-cell {
    height: 86px;
  }
  .missing-cell {
    height: 76px;
  }
  .lab-footnote {
    font-size: 9px;
  }
}
@media (min-width: 761px) and (max-height: 850px) {
  .hero-frame {
    min-height: 730px;
  }
  .hero-copy {
    padding-top: 155px;
  }
  .hero-copy h1 {
    font-size: 86px;
  }
  .hero-description {
    font-size: 16px;
    margin-top: 22px;
  }
  .hero-belief {
    font-size: 13px;
    margin-bottom: 22px;
  }

  .shore-transition {
    height: 95px;
  }
}
/* Mobile is a reading flow. The interactive stories keep their descriptive tabs. */
@media (max-width: 760px) {
  :root {
    --gutter: 26px;
  }
  html {
    scroll-padding-top: 105px;
  }
  .section,
  .case-shell {
    padding-inline: 25px;
  }
  .site-header {
    top: 16px;
    left: 17px;
    right: 17px;
    gap: 10px;
  }
  .brand {
    padding: 8px 11px 8px 5px;
    gap: 6px;
  }
  .brand-bird {
    width: 48px;
    height: 28px;
  }
  .brand-bird img {
    width: 59px;
    left: -5px;
    top: 1px;
  }
  .brand-name {
    font-size: 20px;
  }
  .brand-name small {
    font-size: 6px;
    margin-top: 7px;
  }
  .navigation {
    padding: 0;
    position: relative;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    font-size: 11px;
    min-height: 47px;
  }
  .menu-toggle span {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.25s;
  }
  .menu-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }
  .menu-links {
    display: none;
    position: absolute;
    right: 0;
    top: 58px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 8px;
    border: 1px solid #cdd4c3;
    width: 220px;
    border-radius: 6px;
    box-shadow: 0 12px 30px #23413220;
  }
  .navigation.is-open .menu-links {
    display: flex;
  }
  .menu-links a {
    padding: 16px;
    min-height: 46px;
  }
  .menu-links .nav-contact {
    margin: 5px 0 0;
  }
  .hero-track {
    height: auto;
    padding: 7px 0 0;
  }
  .hero-frame {
    position: relative;
    top: 0;
    height: calc(100svh - 7px);
    min-height: 780px;
    border-radius: 10px 10px 0 0;
  }
  .hero-image {
    object-position: 67% 60%;
    transform: none;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #faf3e2d9, #faf3e275 78%, #faf3e220),
      linear-gradient(0deg, #f2e9d5aa, transparent 50%);
  }
  .hero-copy {
    padding: 160px 25px 210px;
    margin: 0;
    max-width: none;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 0.09em;
    margin-bottom: 26px;
    max-width: 230px;
  }
  .hero-copy h1 {
    font-size: clamp(49px, 11vw, 72px);
    letter-spacing: -0.055em;
    line-height: 1.04;
  }
  .hero-copy h1 br {
    display: none;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.75;
    max-width: 330px;
    margin-top: 26px;
  }
  .hero-belief {
    font-size: 12px;
    max-width: 300px;
    margin: 17px 0 25px;
  }
  .hero-copy .button {
    font-size: 12px;
    padding: 13px 18px;
    min-height: 45px;
  }



  .film-peek {
    margin-left: auto;
    padding: 5px;
    display: block;
  }
  .film-peek img {
    width: 69px;
    height: 47px;
  }
  .film-peek > span {
    display: block;
    font-size: 8px;
    padding: 7px 4px 3px;
  }
  .shore-transition {
    height: 75px;
  }
  .team-section {
    padding-bottom: 65px;
  }
  .team-topline {
    padding-top: 60px;
    padding-bottom: 34px;
  }
  .team-topline .eyebrow {
    font-size: 9px;
    margin-bottom: 22px;
  }
  .team-topline h2 {
    font-size: 40px;
  }
  .team-carousel {
    padding: 0 25px;
  }
  .team-card {
    display: block;
  }
  .team-photo img {
    height: 390px;
    object-position: 50% 30%;
  }
  .team-bio {
    padding-top: 35px;
  }
  .team-bio h3 {
    font-size: 39px;
  }
  .team-role {
    font-size: 12px;
    margin-bottom: 24px;
  }
  .team-bio > p:not(.eyebrow):not(.team-role) {
    font-size: 14px;
    line-height: 1.8;
  }
  .team-links {
    margin-top: 27px;
    gap: 27px;
  }
  .team-links a {
    font-size: 12px;
  }
  .work-intro {
    padding-top: 60px;
    padding-bottom: 55px;
    margin-inline: 25px;
    padding-inline: 0;
  }
  .work-intro h2 {
    font-size: clamp(49px, 10.5vw, 68px);
    line-height: 1.07;
  }
  .work-intro > p:not(.eyebrow) {
    font-size: 14px;
    margin-top: 23px;
    max-width: 340px;
  }
  .case-index {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 22px;
    margin-top: 28px;
  }
  .case-index a {
    font-size: 10px;
    line-height: 1.5;
    min-height: 34px;
  }
  .case-section {
    padding: 65px 0 75px;
  }
  .case-heading {
    display: block;
    margin-bottom: 28px;
  }
  .case-heading .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
  }
  .case-heading h2 {
    font-size: clamp(39px, 8.8vw, 54px);
    line-height: 1.08;
  }
  .case-deck {
    font-size: 14px;
    margin-top: 24px;
    max-width: 400px;
    line-height: 1.75;
  }
  .story-navigation {
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 30px;
  }
  .story-navigation::-webkit-scrollbar {
    display: none;
  }
  .story-navigation button {
    white-space: nowrap;
    font-size: 10px;
    min-height: 49px;
    padding: 12px 0;
    flex-shrink: 0;
  }
  .case-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .case-narrative {
    padding-top: 0;
    width: 100%;
  }
  .story-copy {
    min-height: 178px;
    max-width: 440px;
  }
  .story-copy h3 {
    font-size: 28px;
    margin-bottom: 18px;
    max-width: 390px;
  }
  .story-copy p {
    font-size: 13px;
    line-height: 1.8;
    max-width: 420px;
  }
  .story-controls {
    padding-top: 14px;
    margin-top: 10px;
    gap: 24px;
  }
  .story-controls button {
    font-size: 11px;
  }
  .case-note {
    margin-top: 21px;
    font-size: 10px;
  }
  .borrowing-lab,
  .model-lab,
  .evidence-lab,
  .budget-lab {
    width: 100%;
  }
  .lab-heading {
    padding: 16px 17px;
    font-size: 10px;
    gap: 15px;
  }
  .lab-heading > span:last-child {
    font-size: 8px;
  }
  .outcome-matrix {
    margin: 16px 14px 0;
    grid-template-columns: 0.85fr 1fr 1fr;
  }
  .matrix-head {
    font-size: 9px;
    padding: 8px 2px 12px;
  }
  .matrix-treatment {
    font-size: 9px;
  }
  .observed-cell,
  .missing-cell {
    height: 79px;
  }
  .missing-cell {
    height: 69px;
  }
  .observed-cell span {
    font-size: 8px;
  }
  .missing-cell > span {
    font-size: 17px;
  }
  .estimated-cell span {
    font-size: 7px;
    text-align: center;
  }
  .observed-cell i::before,
  .estimated-cell i::before {
    width: 6px;
    height: 6px;
  }
  .borrowing-connection {
    margin: 4px 22px 20px;
  }
  .borrowing-connection svg {
    height: 45px;
  }
  .borrowing-connection p {
    font-size: 16px;
  }
  .relationship-control {
    padding: 0 18px 20px;
  }
  .relationship-control label {
    font-size: 10px;
  }
  .relationship-control p {
    font-size: 10px;
  }
  .case-outcome {
    margin: 0 17px 18px;
    padding: 17px 15px 17px 30px;
  }
  .case-outcome p {
    font-size: 18px;
  }
  .case-outcome small {
    font-size: 9px;
  }
  .outcome-mark {
    left: 15px;
    top: 25px;
  }
  .lab-footnote {
    padding: 0 17px 20px;
    font-size: 8px;
    line-height: 1.7;
  }
  .chart-legend {
    margin: 20px 17px 10px;
    gap: 10px 18px;
    font-size: 8px;
  }
  .chart-legend span::before {
    width: 13px;
  }
  .decision-chart {
    padding: 0 2px;
    min-height: 160px;
  }
  .chart-labels {
    font-size: 11px;
  }
  .model-controls {
    padding: 10px 18px 17px;
  }
  .model-controls label {
    font-size: 10px;
  }
  .model-controls label output {
    font-size: 15px;
  }
  .model-controls .quiet-button {
    font-size: 10px;
  }
  .decision-results {
    margin: 0 17px;
  }
  .decision-results > div {
    padding: 15px 0;
  }
  .decision-results > div + div {
    padding-left: 14px;
  }
  .decision-results span {
    font-size: 8px;
  }
  .decision-results strong {
    font-size: 23px;
  }
  .decision-results small {
    font-size: 8px;
    line-height: 1.6;
    display: block;
  }
  .agreement-note {
    font-size: 10px;
    margin: 16px 17px 14px;
    min-height: 45px;
  }
  .full-example {
    margin-top: 25px;
    padding-top: 20px;
    max-width: 400px;
    font-size: 11px;
  }
  .full-example img {
    width: 90px;
    height: 65px;
  }
  .review-desk {
    padding: 20px 17px;
  }
  .source-paper {
    width: 90%;
    padding: 20px 18px;
  }
  .source-paper h3 {
    font-size: 25px;
  }
  .source-paper > p:not(.paper-footnote) {
    font-size: 16px;
  }
  .extraction-card {
    width: 69%;
    margin-top: -27px;
    padding: 20px;
  }
  .extraction-fraction {
    font-size: 32px;
  }
  .extraction-fraction strong {
    font-size: 28px;
  }
  .review-status {
    font-size: 9px;
  }
  .review-note {
    padding: 22px 18px;
  }
  .review-note label {
    font-size: 10px;
  }
  textarea {
    font-size: 12px;
    min-height: 125px;
  }
  .review-save {
    align-items: flex-start;
    gap: 13px;
  }
  .review-save [data-note-status] {
    max-width: none;
  }
  .review-record {
    padding: 25px 18px;
  }
  .review-record dl > div {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    font-size: 11px;
  }
  .review-record > p:not(.eyebrow) {
    font-size: 11px;
  }
  .record-empty {
    padding: 27px 20px;
    font-size: 12px;
  }
  .budget-summary {
    padding: 23px 19px;
  }
  .budget-summary > output {
    font-size: 46px;
  }
  .budget-summary > p {
    font-size: 10px;
  }
  .budget-bars {
    padding: 0 19px 23px;
  }
  .cost-bar > div {
    font-size: 9px;
    gap: 12px;
  }
  .cost-bar i {
    height: 17px;
  }
  .budget-inputs {
    padding: 22px 19px;
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .budget-inputs label {
    display: flex;
    font-size: 10px;
    min-height: 0;
    margin-bottom: 8px;
  }
  .budget-inputs label output {
    margin: 0;
    font-size: 14px;
  }
  .budget-explanation {
    margin: 20px 18px;
    padding: 18px;
  }
  .budget-explanation > p:not(.eyebrow) {
    font-size: 19px;
  }
  .budget-explanation .formula-result {
    font-size: 22px !important;
  }
  .budget-handover {
    padding: 21px 18px;
    gap: 14px;
  }
  .budget-handover > span {
    font-size: 9px;
  }
  .budget-lab > .lab-footnote {
    padding-top: 20px;
  }
  .about {
    display: block;
    padding-block: 75px;
  }
  .about-intro h2 {
    font-size: 44px;
  }
  .about-intro > p:not(.eyebrow) {
    font-size: 14px;
  }




  .contact-section {
    min-height: 630px;
  }
  .contact-landscape img {
    object-position: 62% 80%;
  }
  .contact-landscape::after {
    background: linear-gradient(90deg, #f5eddbed, #f5eddb88 80%, #f5eddb33);
  }
  .contact-copy {
    padding: 95px 26px 160px;
  }
  .contact-copy h2 {
    font-size: clamp(56px, 12vw, 75px);
    margin-bottom: 32px;
  }
  .contact-copy .button {
    font-size: 12px;
    padding-inline: 18px;
  }
  .contact-email {
    font-size: 10px;
  }
  .site-footer {
    display: block;
    padding: 36px 26px 80px;
  }
  .footer-brand {
    font-size: 27px;
  }

  
  .reading-dialog {
    padding: 60px 26px 35px;
  }
  .reading-dialog h2 {
    font-size: 38px;
  }
  .reading-dialog h3 {
    font-size: 25px;
  }
  .reading-dialog p:not(.eyebrow) {
    font-size: 13px;
  }
  .film-dialog {
    padding-top: 45px;
  }
  .film-dialog h2 {
    font-size: 12px;
  }
  .film-dialog > p {
    font-size: 10px;
  }
  .dialog-close {
    right: 17px;
    top: 13px;
  }
}
@media (max-width: 360px) {
  .hero-copy {
    padding-top: 147px;
    padding-inline: 22px;
  }
  .hero-copy h1 {
    font-size: 47px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-belief {
    font-size: 11px;
  }
  .hero-frame {
    min-height: 800px;
  }
  .story-copy {
    min-height: 220px;
  }
  .case-heading h2 {
    font-size: 38px;
  }
  .case-index {
    gap: 15px;
  }
  .team-photo img {
    height: 350px;
  }
  .budget-summary > output {
    font-size: 40px;
  }
  .lab-heading {
    font-size: 9px;
  }
  .lab-heading > span:last-child {
    font-size: 7px;
  }
}
/* Without JavaScript, all content remains in ordinary document flow. */

html:not(.js) .hero-track {
  height: auto;
}
html:not(.js) .hero-frame {
  position: relative;
  top: 0;
}

@media (forced-colors: active) {
  .hero-shade {
    background: Canvas;
  }
  .hero-copy {
    color: CanvasText;
  }
  .observed-cell i,
  .estimated-cell i {
    background: CanvasText;
  }
  .reference-line,
  .candidate-line {
    stroke: CanvasText;
  }
}
@media print {
  .site-header,
  .story-controls,
  .story-navigation,
  .film-peek,
    dialog {
    display: none !important;
  }
  .hero-track {
    height: auto;
    padding: 0;
  }
  .hero-frame {
    position: relative;
    top: 0;
    height: 620px;
    min-height: 0;
  }
  .hero-copy {
    padding-top: 80px;
  }
  .hero-copy h1 {
    font-size: 66px;
  }

  .hero-image {
    opacity: 0.35;
  }
  .case-section {
    break-before: page;
    padding: 40px 0;
  }
  .case-heading h2 {
    font-size: 40px;
  }
  .case-layout {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 30px;
  }
  .case-shell,
  .section {
    padding-inline: 20px;
  }
  .story-copy [hidden] {
    display: block !important;
    margin-top: 20px;
  }
  .team-section {
    break-before: page;
  }
  .case-lab {
    transform: none !important;
  }
  .contact-section {
    min-height: 500px;
  }
  .contact-copy {
    padding: 75px 30px;
  }
  .contact-copy h2 {
    font-size: 65px;
  }
}

.budget-scale {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #768879;
  margin: -9px 28px 21px;
}
.budget-case {
  position: relative;
  padding-top: 140px;
  overflow: visible;
}
.case-shore {
  position: absolute;
  top: -73px;
  left: 0;
  width: 100%;
  height: 100px;
  pointer-events: none;
  z-index: 2;
}
.case-wave {
  fill: #dce7e4;
}
.case-foam {
  fill: none;
  stroke: #dce7e4;
  stroke-width: 1.5;
  opacity: 0.5;
}
.evidence-case {
  padding-bottom: 145px;
}
@media (max-width: 760px) {
  .budget-case {
    padding-top: 80px;
  }
  .case-shore {
    height: 70px;
    top: -49px;
  }
  .evidence-case {
    padding-bottom: 105px;
  }
  .budget-scale {
    margin-inline: 19px;
    font-size: 7px;
  }
}

/* The value cases share a stage; the case chooser stays within that stage. */
.values-exploration {
  position: relative;
  overflow-anchor: none;
  background: #efeadc;
  transition: background 0.45s;
}
.values-exploration[data-active-case="model"] {
  background: #e3e9e2;
}
.values-exploration[data-active-case="evidence"] {
  background: #293f39;
}
.values-exploration[data-active-case="budget"] {
  background: #dce7e4;
}
.values-exploration > .case-index {
  position: sticky;
  top: 91px;
  z-index: 20;
  margin: 0;
  padding: 15px max(42px, calc((100vw - var(--content)) / 2 + 42px));
  gap: 20px 35px;
  background: #f8f6efe8;
  backdrop-filter: blur(15px);
  border-block: 1px solid #c9d2c1;
}
.values-exploration > .case-index a {
  border-bottom: 2px solid transparent;
  padding: 7px 0;
  min-height: 35px;
  color: #647667;
}
.values-exploration > .case-index a[aria-selected="true"] {
  color: #2c5144;
  border-color: #a87b41;
}
.case-carousel {
  overflow: clip;
}
.case-carousel .case-section {
  padding-top: 70px;
  padding-bottom: 70px;
}
.case-carousel .case-shore {
  display: none;
}
@media (max-width: 1100px) {
  .values-exploration > .case-index {
    padding-inline: 36px;
    gap: 27px;
  }
}
@media (max-width: 760px) {
  .values-exploration > .case-index {
    top: 78px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 25px;
    gap: 25px;
  }
  .values-exploration > .case-index a {
    white-space: nowrap;
    font-size: 10px;
    min-height: 35px;
    flex-shrink: 0;
  }
  .case-carousel .case-section {
    padding-top: 50px;
    padding-bottom: 45px;
  }
}
@media print {
  .values-exploration > .case-index {
    display: none !important;
  }
  .case-carousel .case-section[hidden] {
    display: block !important;
  }
}

/* Five project studies. The artwork scales with its own container. */
.values-section {
  --case-paper: #d6e8ee;
  position: relative;
  margin-top: 125px;
  background: var(--case-paper);
  transition: background-color 0.5s;
}
.values-section[data-active-case="anchors"] {
  --case-paper: #e0e9dd;
}
.values-section[data-active-case="model"] {
  --case-paper: #e4e9e2;
}
.values-section[data-active-case="discovery"] {
  --case-paper: #e8e2ee;
}
.values-wave {
  position: absolute;
  top: -149px;
  left: 0;
  width: 100%;
  height: 150px;
  overflow: hidden;
  pointer-events: none;
}
.values-wave svg {
  width: 100%;
  height: 100%;
}
.values-tide {
  fill: var(--case-paper);
  transition: fill 0.5s;
}
.values-foam {
  fill: none;
  stroke: #abcbd575;
  stroke-width: 13px;
}
.values-section .work-intro {
  border: 0;
  padding: 65px 42px 58px;
  overflow: clip;
}
.values-section .work-intro h2 em {
  color: #447c8d;
}
.values-section .values-exploration {
  background: transparent;
}
.values-section .case-index {
  background: color-mix(in srgb, var(--case-paper) 90%, transparent);
  border-color: #809f9f52;
}
.values-section .case-index a {
  font-size: 12px;
  color: #49696a;
}
.values-section .case-index a[aria-selected="true"] {
  color: #213e44;
  border-color: #4a7b90;
}
.case-carousel .keystone-card {
  padding-block: 42px 50px;
}
.keystone-card .case-shell {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: start;
  gap: 68px;
}
.case-copy {
  padding-block: 0;
}
.principle-intro {
  max-width: var(--content);
  margin: 0 auto 38px;
  padding: 0 42px;
}
.principle-intro p {
  padding-bottom: 28px;
  border-bottom: 1px solid #809f9f52;
  color: #294b4d;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.015em;
}
.principle-intro .principle-statement {
  padding-bottom: 0;
  border-bottom: 0;
}
.principle-intro .principle-context {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0;
}
.case-copy h2 {
  font-size: clamp(38px, 4vw, 57px);
  letter-spacing: -0.045em;
  line-height: 1.06;
}
.case-summary {
  margin-top: 28px;
  color: #425e5c;
  font-size: 14px;
  line-height: 1.85;
  max-width: 460px;
}
.case-summary p + p {
  margin-top: 17px;
}
.case-contact {
  display: inline-block;
  margin-top: 28px;
  font-size: 12px;
}
.case-visual {
  width: 100%;
  min-width: 0;
}
.case-art {
  position: relative;
  width: 100%;
  aspect-ratio: 600/520;
  container-type: inline-size;
  overflow: hidden;
  isolation: isolate;
  border-radius: 5px;
}
.visual-grain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  z-index: -1;
  background-image: url("media/grain.svg");
  pointer-events: none;
}
.art-paper {
  background: #fbfaf5;
  border: 1px solid #ffffffb0;
  border-radius: 3px;
  box-shadow:
    0 2cqw 5cqw #203d3a16,
    0 0.2cqw 0.6cqw #203d3a12;
}
.case-art h3 {
  font-size: 5.4cqw;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.art-overline {
  display: block;
  font-size: 1.5cqw;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #63746b;
}
.case-art .plot-grid {
  fill: none;
  stroke: #d9dfd8;
  stroke-width: 1;
}

/* A reusable representation supports estimates for a chosen population. */
.feasibility-art {
  background: #aecdd7;
  color: #234b58;
}
.population-estimate-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #628e9a;
  stroke-width: 2;
}
.ipd-free-representation {
  position: absolute;
  left: 5%;
  top: 36%;
  width: 29%;
  padding: 3cqw 2.7cqw;
  background: #285466;
  border: 1px solid #456c7b;
  border-radius: 4px;
  color: #fbfaf3;
  box-shadow: 0 1.2cqw 2cqw #1847521c;
}
.ipd-free-representation > span {
  display: block;
  font-size: max(9px, 1.9cqw);
  line-height: 1.4;
  color: #d3e5eb;
}
.ipd-free-representation > strong {
  display: block;
  margin-top: 1.6cqw;
  font: 400 4.7cqw/1.15 var(--serif);
  letter-spacing: -0.025em;
}
.representation-mark {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65cqw;
  height: 5cqw;
  align-items: end;
  margin: 2.8cqw 0;
}
.representation-mark i {
  height: 70%;
  border-top: 1px solid #a3c8d3;
  border-bottom: 1px solid #a3c8d3;
  background: #8db7c526;
}
.representation-mark i:nth-child(2) { height: 100%; }
.representation-mark i:nth-child(3) { height: 45%; }
.representation-mark i:nth-child(4) { height: 85%; }
.ipd-free-representation > small {
  display: block;
  color: #d3e5eb;
  font-size: max(9px, 1.7cqw);
  line-height: 1.35;
}
.population-estimation-flow {
  position: absolute;
  left: 40%;
  top: 7%;
  width: 54%;
  height: 85%;
  display: grid;
  grid-template-rows: auto minmax(4px, 1fr) auto;
}
.target-population-paper {
  width: 100%;
  padding: 3.4cqw;
}
.target-population-paper h3 {
  font: 400 4.3cqw/1.15 var(--serif);
  letter-spacing: -0.025em;
  color: #294b54;
}
.population-criteria { margin-top: 3.2cqw; }
.population-profile { margin-top: 3cqw; }
.population-criteria > span,
.population-profile > span {
  display: block;
  font-size: max(9px, 1.9cqw);
  line-height: 1.3;
  color: #4e6870;
}
.eligibility-options {
  display: flex;
  gap: 1.1cqw;
  margin-top: 1.4cqw;
}
.eligibility-options b {
  flex: 1;
  padding: 1.2cqw 0.6cqw;
  border: 1px solid #c8d9d9;
  border-radius: 3px;
  background: #edf2ed;
  font-size: max(8px, 1.8cqw);
  font-weight: 400;
  text-align: center;
}
.population-setting {
  position: relative;
  height: 1px;
  margin-top: 3.8cqw;
  margin-bottom: 2cqw;
  background: #b8cdd1;
}
.population-setting i {
  position: absolute;
  top: 50%;
  left: 27%;
  width: 1.5cqw;
  height: 1.5cqw;
  border: 1px solid #5b8b99;
  border-radius: 50%;
  background: #eff5f1;
  transform: translate(-50%, -50%);
}
.population-setting:nth-of-type(2) i { left: 71%; }
.population-setting:nth-of-type(3) i { left: 45%; }
.population-target-connector {
  justify-self: center;
  width: 2px;
  height: 100%;
  background: #628e9a;
}
.population-estimate-output {
  justify-self: end;
  width: 90.74074%;
  padding: 2.8cqw 3.4cqw;
  border: 1px solid #f1f7f280;
  border-radius: 4px;
  background: #477787;
  color: #fbfaf2;
}
.population-estimate-output > span {
  display: block;
  margin-bottom: 1.2cqw;
  font-size: max(9px, 1.9cqw);
  line-height: 1.2;
  color: #dce9e9;
}
.population-estimate-output > strong {
  display: block;
  font: 400 3.8cqw/1.12 var(--serif);
  letter-spacing: -0.02em;
}

/* A single earth contour suggests a rounded drumlin and its coastal edge. */
.tensions-section {
  --clay: #713d30;
  --incoming-paper: #d6e8ee;
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #fcf3e6;
  background: var(--clay);
  padding-top: 220px;
}
.values-section[data-active-case="anchors"] + .tensions-section {
  --incoming-paper: #e0e9dd;
}
.values-section[data-active-case="model"] + .tensions-section {
  --incoming-paper: #e4e9e2;
}
.values-section[data-active-case="discovery"] + .tensions-section {
  --incoming-paper: #e8e2ee;
}
.drumlin-crest {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 222px;
  background: var(--incoming-paper);
  transition: background-color 0.5s;
}
.drumlin-land { fill: url(#cape-earth-tone); }
.drumlin-rim { fill: #7d896b; }
.drumlin-water { fill: #395e70; }
.tensions-section::after {
  content: "";
  position: absolute;
  inset: 220px 0 0;
  background-image: url("media/grain.svg");
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}
.tensions-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 18px 42px 80px;
}
.tensions-heading {
  display: block;
  padding-bottom: 42px;
  border-bottom: 1px solid #f1cbbd40;
}
.tensions-heading .eyebrow {
  color: #e4baa6;
  margin-top: 10px;
}
.tensions-heading h2 {
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.07;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.tensions-heading em { color: #e9b8a0; }
.tension-carousel { margin-top: 40px; }
.tension-carousel:focus-visible { outline: 1px solid #e8bdab80; outline-offset: 14px; }
.tension-stage { position: relative; }
.tension-dust {
  position: absolute;
  top: -60px;
  left: -160px;
  pointer-events: none;
  z-index: 2;
}
.tension-stage { isolation: isolate; }
.tension-slide + .tension-slide { margin-top: 38px; }
.tension-slide p {
  max-width: 1040px;
  font: 400 clamp(27px, 2.7vw, 39px)/1.36 var(--serif);
  letter-spacing: -0.02em;
}
.tension-slide p > span { display: block; }
.tension-slide p > span + span {
  margin-top: 18px;
  color: #e8bdab;
}
.tension-carousel.is-ready .tension-slides { display: grid; }
.tension-carousel.is-ready .tension-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  margin: 0;
  pointer-events: none;
}
.tension-carousel.is-ready .tension-slide.is-active,
.tension-carousel.is-ready .tension-slide.is-leaving {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.tension-slide .wind-word { display: inline-block; }
@media (max-width: 1100px) {
  .tensions-inner { padding-inline: 36px; }
  .tensions-heading { gap: 35px; }
}
@media (max-width: 760px) {
  .tensions-section { padding-top: 120px; }
  .drumlin-crest { height: 122px; }
  .tensions-section::after { top: 120px; }
  .tensions-inner { padding: 16px 25px 52px; max-width: 610px; }
  .tensions-heading { display: block; padding-bottom: 28px; }
  .tensions-heading .eyebrow { margin: 0 0 22px; font-size: 9px; }
  .tensions-heading h2 { font-size: clamp(36px, 7vw, 48px); }
  .tension-carousel { margin-top: 27px; }
  .tension-slide p { font-size: clamp(25px, 5.4vw, 32px); line-height: 1.38; }
  .tension-slide p > span + span { margin-top: 20px; }
}
@media print {
  .tensions-section { padding-top: 30px; background: white; color: #263c35; }
  .drumlin-crest, .tension-dust { display: none; }
  .tension-slide .wind-word { opacity: 1 !important; transform: none !important; filter: none !important; }
  .tension-carousel.is-ready .tension-slides { display: block; }
  .tension-carousel.is-ready .tension-slide {
    visibility: visible;
    opacity: 1;
    transform: none;
    margin-top: 30px;
  }
  .tension-slide p > span + span { color: #425e5c; }
}

/* Anchor studies: selection guided by the purpose of the review. */
.anchors-art {
  background: #bfd2b9;
}
.evidence-field {
  position: absolute;
  inset: 8% 0 6% 0;
}
.evidence-leaf {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: rotate(var(--r));
  display: block;
  background: #f6f5e9;
  width: 16%;
  height: 15%;
  padding: 2cqw 1.6cqw;
  box-shadow: 0 0.5cqw 1.5cqw #324a3920;
  border: 1px solid #ffffff70;
}
.evidence-leaf b,
.evidence-leaf em {
  display: block;
  height: 0.55cqw;
  margin-bottom: 1cqw;
  background: #a4b59b;
}
.evidence-leaf b {
  width: 65%;
  height: 1cqw;
}
.evidence-leaf em:last-child {
  width: 65%;
}
.selection-path {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.selection-path path {
  fill: none;
  stroke: #ae8c3a;
  stroke-width: 1.8;
  stroke-dasharray: 4 6;
}
.selection-path circle {
  fill: #ae8c3a;
}
.preference-note {
  position: absolute;
  right: 7%;
  top: 8%;
  width: 40%;
  padding: 2.8cqw;
  background: #eee0af;
  box-shadow: 0 1cqw 3cqw #465b3510;
  transform: rotate(3deg);
}
.preference-note p {
  font: 3.4cqw/1.2 var(--serif);
  letter-spacing: -0.015em;
  color: #5a5836;
  margin: 0;
}
.comparison-pair {
  display: flex;
  gap: 2cqw;
  align-items: center;
  margin-top: 2.4cqw;
}
.comparison-pair span {
  width: 6cqw;
  height: 5cqw;
  display: grid;
  place-items: center;
  border: 1px solid #b6a66d;
  font: 2.7cqw var(--serif);
}
.comparison-pair i {
  width: 3.8cqw;
  height: 1px;
  background: #a9975d;
}
.anchor-stack {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 45%;
  height: 49%;
}
.anchor-underlay {
  position: absolute;
  inset: 0;
  background: #f0eedf;
  transform: rotate(5deg);
  box-shadow: 0 1cqw 2cqw #34453818;
}
.anchor-sheet {
  position: absolute;
  inset: 0;
  transform: rotate(-2deg);
  padding: 3cqw;
}
.anchor-sheet h3 {
  font-size: 4.4cqw;
  margin-top: 1.4cqw;
}
.anchor-topic {
  margin-top: 2cqw;
}
.anchor-topic span {
  display: block;
  font-size: 1.65cqw;
  color: #577251;
  margin-bottom: 1cqw;
}
.anchor-topic i {
  display: block;
  height: 0.55cqw;
  width: 95%;
  background: #dce3d5;
  margin-top: 0.8cqw;
}
.anchor-topic i:last-child {
  width: 70%;
}
.anchor-note {
  font-size: 1.4cqw;
  line-height: 1.6;
  color: #68766a;
  border-top: 1px solid #d9dfd2;
  padding-top: 1.6cqw;
  margin-top: 2.1cqw;
}

/* Exact reformulation: retain the detail in a shorter calculation. */
.model-art {
  background: #d0d9c9;
  color: #304e3a;
}
.model-comparison {
  position: absolute;
  inset: 6% 5.5% 21%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6cqw;
}
.model-simulation,
.model-multiplicative {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2cqw;
}
.model-comparison h3 {
  font: 400 clamp(14px, 3.6cqw, 26px)/1.14 var(--serif);
  letter-spacing: -0.025em;
}
.model-simulation { min-height: 0; }
.model-event-timeline {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.5cqw;
}
.model-timeline-key {
  display: flex;
  justify-content: space-between;
  gap: 1cqw;
  font-size: max(9px, 1.9cqw);
  line-height: 1.2;
  color: #52664a;
}
.model-next-event { color: #79612f; }
.model-event-paths {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.model-patients {
  fill: none;
  stroke: #5b7754;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.model-patient-tracks {
  fill: none;
  stroke: #94a88a;
  stroke-width: 1.4;
}
.model-event-clock {
  fill: none;
  stroke: #a48a52;
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}
.model-past-events { fill: #5f7a56; }
.model-future-events {
  fill: #d0d9c9;
  stroke: #7d9873;
  stroke-width: 1.6;
}
.model-current-event {
  fill: #b69a58;
  stroke: #f7f3e6;
  stroke-width: 2;
}
.model-time-axis {
  fill: none;
  stroke: #78916e;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.model-time-label {
  text-align: right;
  color: #52664a;
  font-size: max(9px, 1.9cqw);
  line-height: 1.2;
}
.model-code-paper {
  align-self: center;
  padding: 2cqw 3cqw;
  background: #fafaf3;
  border: 1px solid #edf0e4;
  border-radius: 3px;
  box-shadow: 0 1.3cqw 2cqw #3f52361a;
}
.model-code-paper > strong {
  display: block;
  font: 400 8cqw/1 var(--serif);
  letter-spacing: -0.05em;
}
.model-code-paper > span {
  display: block;
  margin-top: 0.7cqw;
  font-size: max(9px, 2.1cqw);
  line-height: 1.2;
  color: #52664a;
}
.model-product {
  display: block;
  width: 100%;
  height: auto;
  margin: 2.8cqw 0 2cqw;
}
.model-factors {
  fill: #e1e8d8;
  stroke: #9caf91;
  stroke-width: 1;
}
.model-multiply {
  fill: none;
  stroke: #506e49;
  stroke-width: 2;
  stroke-linecap: round;
}
.model-code-lines {
  display: grid;
  gap: 0.8cqw;
}
.model-code-lines i {
  display: block;
  height: 0.4cqw;
  background: #bccab3;
}
.model-code-lines i:nth-child(2) { width: 76%; margin-left: 12%; }
.model-code-lines i:nth-child(3) { width: 58%; margin-left: 12%; }
.model-code-lines i:nth-child(4) { width: 85%; }
.model-runtime strong {
  display: block;
  font: 400 6.6cqw/1.1 var(--serif);
  letter-spacing: -0.035em;
}
.model-runtime span {
  display: block;
  margin-top: 0.8cqw;
  color: #52664a;
  font-size: max(9px, 2.1cqw);
  line-height: 1.2;
}
.model-agreement {
  position: absolute;
  inset: auto 5.5% 5.5%;
  border-top: 1px solid #9daf93;
  padding-top: 3cqw;
  text-align: center;
  font: 400 4.9cqw/1.1 var(--serif);
  letter-spacing: -0.025em;
}

/* Methodological search: candidate structures and the retained account. */
.discovery-art {
  background: #cdc2dc;
}
.candidate-paper {
  position: absolute;
  width: 37%;
  padding: 2.1cqw;
  background: #f1ecf5bb;
  border: 1px solid #f9f5ff80;
  box-shadow: 0 0.7cqw 1.4cqw #5242680f;
}
.candidate-paper span {
  font-size: 1.45cqw;
  color: #877594;
}
.candidate-paper svg {
  width: 100%;
  margin-top: 1.5cqw;
}
.candidate-paper path {
  fill: none;
  stroke: #a28eb7;
  stroke-width: 2;
}
.candidate-0 {
  left: 6%;
  top: 7%;
  transform: rotate(-8deg);
}
.candidate-1 {
  right: 6%;
  top: 5%;
  transform: rotate(7deg);
}
.candidate-2 {
  left: 1%;
  top: 46%;
  transform: rotate(4deg);
}
.candidate-3 {
  right: 2%;
  top: 43%;
  transform: rotate(-5deg);
}
.retained-model {
  position: absolute;
  left: 19%;
  top: 21%;
  width: 65%;
  padding: 3.5cqw 4cqw;
  transform: rotate(-2deg);
}
.retained-model .art-overline {
  color: #7c6e87;
}
.retained-model h3 {
  font-size: 4.4cqw;
  margin-top: 1.7cqw;
}
.response-patterns {
  width: 100%;
  height: 25cqw;
  margin-top: 1.8cqw;
}
.response-patterns path:not(.plot-grid) {
  fill: none;
  stroke-width: 2.5;
}
.response-one {
  stroke: #76618e;
}
.response-two {
  stroke: #6993a1;
}
.response-three {
  stroke: #c7a94b;
}
.response-patterns circle {
  fill: #fbfaf5;
  stroke: #746783;
  stroke-width: 1.3;
}
.retained-note {
  font-size: 1.4cqw;
  line-height: 1.5;
  color: #776b80;
  border-top: 1px solid #e0d9e4;
  padding-top: 1.6cqw;
  margin-top: 1.6cqw;
}
.methods-note {
  position: absolute;
  bottom: 7%;
  left: 20%;
  width: 64%;
  display: flex;
  justify-content: space-between;
  gap: 2cqw;
  color: #655372;
  font-size: 1.65cqw;
}

/* A still photograph of Sable Island horses closes the page. */
.dune-section {
  min-height: 0;
  background: #edf0e5;
}
.dune-section .contact-copy {
  max-width: 900px;
  padding: 85px 30px 64px;
  text-align: center;
}
.dune-section .contact-copy h2 {
  font-size: clamp(58px, 6.2vw, 88px);
}
.dune-section .contact-copy .eyebrow {
  color: #354e3c;
}
.dune-section .button {
  background: #655473;
  border-color: #655473;
  color: #fffdf7;
}
.dune-section .button:hover {
  background: #52435f;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.dune-section .button-scholar {
  background: transparent;
  color: #655473;
}
.dune-section .button-scholar:hover {
  background: #e1e3db;
}
.dune-section .contact-email {
  margin-inline: auto;
  color: #2c4533;
}
.dune-landscape {
  position: relative;
  margin: 0;
  background: #6d8261;
}
.dune-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 0%;
}
.dune-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 24px;
  margin: 0;
  padding: 17px var(--gutter);
  background: #344e3e;
  color: #f5f4e9;
  font-size: 11px;
  line-height: 1.7;
}
.dune-caption span:last-child {
  font-size: 10px;
}
.dune-caption a {
  text-underline-offset: 3px;
}
.site-footer {
  background: #2f4c3c;
  color: #d1dcc7;
}
.site-footer .footer-brand {
  color: #eef1df;
}

@media (max-width: 1100px) {
  .principle-intro {
    padding-inline: 36px;
  }
  .values-section .work-intro {
    padding-inline: 36px;
  }
  .keystone-card .case-shell {
    padding-inline: 36px;
    gap: 35px;
    grid-template-columns: 0.94fr 1.06fr;
  }
  .case-copy h2 {
    font-size: 42px;
  }
  .case-summary {
    font-size: 13px;
  }
  .dune-section .contact-copy {
    max-width: 660px;
  }
}
@media (max-width: 760px) {
  .principle-intro {
    padding-inline: 25px;
    margin-bottom: 30px;
    max-width: 610px;
  }
  .principle-intro p {
    padding-bottom: 24px;
    font-size: 18px;
  }
  .values-section {
    margin-top: 105px;
  }
  .values-wave {
    top: -89px;
    height: 90px;
  }
  .values-section .work-intro {
    padding: 35px 25px 40px;
  }
  .values-section .work-intro h2 {
    font-size: clamp(43px, 8vw, 58px);
  }
  .values-section .case-index {
    top: 78px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px 25px;
    gap: 4px 20px;
    overflow: visible;
  }
  .values-section .case-index a {
    font-size: 10px;
    white-space: normal;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .case-carousel .keystone-card {
    padding-block: 28px 28px;
  }
  .keystone-card .case-shell {
    padding-inline: 25px;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 610px;
  }
  .case-copy {
    padding: 0;
  }
  .case-copy h2 {
    font-size: clamp(36px, 7.4vw, 48px);
    max-width: 490px;
  }
  .case-summary {
    font-size: 13px;
    margin-top: 23px;
    max-width: 510px;
    line-height: 1.8;
  }
  .case-contact {
    font-size: 11px;
    margin-top: 22px;
  }
  .dune-section .contact-copy {
    padding: 65px 24px 48px;
  }
  .dune-section .contact-copy h2 {
    font-size: clamp(42px, 8vw, 58px);
    margin-bottom: 30px;
  }
  .dune-section .contact-copy .eyebrow {
    font-size: 9px;
  }
  .dune-section .contact-copy .button {
    font-size: 11px;
  }
  .dune-section .contact-email {
    font-size: 10px;
  }
  .dune-photo {
    aspect-ratio: 5 / 4;
    object-position: 50% 50%;
  }
  .dune-caption {
    display: block;
    padding: 15px 24px;
  }
  .dune-caption span {
    display: block;
  }

}

@media print {
  .values-section {
    background: white;
    margin-top: 0;
  }
  .values-wave,
  .dune-landscape {
    display: none;
  }
  .keystone-card .case-shell {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .case-copy h2 {
    font-size: 30px;
  }
  .case-summary {
    font-size: 11px;
  }
  .case-art {
    break-inside: avoid;
  }
  .dune-section {
    min-height: 0;
  }
  .dune-caption {
    display: none;
  }
  .dune-section {
    background: white;
  }
  .dune-section .contact-copy {
    padding: 50px 30px;
  }
}

/* The opening film is a silent background. */
.hero-video {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-video.has-frame {
  opacity: 1;
}
.hero-image-wrap {
  background: #b2c4c3;
}
.hero-shade {
  background: linear-gradient(
    90deg,
    #f8f4e9ef 0%,
    #f8f4e9d6 32%,
    #f8f4e96b 57%,
    #f8f4e908 80%
  );
}
@media (max-width: 760px) {
  .hero-shade {
    background: linear-gradient(
      90deg,
      #f8f4e9ed 0%,
      #f8f4e9cf 50%,
      #f8f4e955 100%
    );
  }
}

@media print {
  .hero-video {
    display: none;
  }
}

/* The opening film gives way to an open sky, then to the founder's profile. */
.shore-wave {
  fill: #dce9f3;
}
.shore-foam {
  stroke: #f3f7f8;
}
.sky-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #dce9f3;
  color: #203d42;
  scroll-margin-top: 15px;
}
.sky-background,
.sky-image,
.sky-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sky-background {
  z-index: -1;
  overflow: hidden;
}
.sky-image {
  height: 108%;
  object-fit: cover;
  object-position: center 70%;
}
.sky-veil {
  background:
    linear-gradient(180deg, #dce9f3 0%, #e4eef640 12%, #f8f6ef08 52%, #f8f6ef70 82%, var(--paper) 100%),
    linear-gradient(90deg, #eef3f754, #eef3f71a 65%);
}
.sky-inner.section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(55px, 6vw, 85px);
  padding-block: 95px 115px;
}
.sky-section .eyebrow {
  color: #385560;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 34px;
}
.sky-introduction {
  position: sticky;
  top: 130px;
  max-width: 440px;
}
.sky-introduction h2 {
  font-size: clamp(44px, 4.3vw, 62px);
  line-height: 1.09;
  letter-spacing: -0.04em;
}
.sky-introduction h2 em { color: #3f665b; }
.sky-description,
.sky-offer-description {
  max-width: 400px;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 28px;
}
.sky-offer-description { margin-top: 22px; }
.sky-principles { min-width: 0; }
.principles-grid { display: grid; gap: 35px; }
.principle-card {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-width: 0;
  scroll-margin-top: 110px;
}
.principle-card h3 {
  max-width: 640px;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
}
.principle-card p {
  max-width: 575px;
  font-size: 14px;
  line-height: 1.8;
  color: #304e53;
}
.sky-section + .team-section .team-topline { padding-top: 35px; }

/* Case tabs name the value; its explanation stays in the sky section. */
.values-section .case-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.values-section .case-index a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.values-section[data-active-case="practice"] {
  --case-paper: #e5ebe2;
}
.values-section[data-active-case="practice"] + .tensions-section {
  --incoming-paper: #e5ebe2;
}
.practice-finding {
  border-top: 1px solid #81947c60;
  padding-top: 20px;
  margin-top: 24px;
  max-width: 475px;
  font: 400 20px/1.5 var(--serif);
  letter-spacing: -0.015em;
}
.practice-art {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #e2e9df, #edf0e7 53%, #d4dfd1);
}
.practice-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #466e72;
  stroke-width: 1.5;
}
.practice-start,
.practice-paper,
.practice-hub,
.practice-support,
.practice-actions,
.practice-outcome {
  position: absolute;
}
.practice-start {
  top: 5%;
  width: 30%;
  height: 16%;
  padding: 2.5% 3%;
  font: 400 clamp(10px, 2.7cqw, 18px)/1.2 var(--serif);
}
.practice-human { left: 7%; }
.practice-ai { right: 7%; }
.practice-start i,
.practice-paper i {
  display: block;
  height: 0.55cqw;
  background: #cdd3ca;
  margin-top: 1.6cqw;
}
.practice-start i:last-child,
.practice-paper i:last-child {
  width: 72%;
}
.practice-paper {
  padding: 3.6%;
  color: #243b3c;
}
.practice-art .practice-paper h3 {
  font-size: clamp(12px, 3cqw, 20px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 2.6cqw;
}
.practice-related {
  width: 28%;
  height: 24%;
  top: 23%;
  left: 39%;
  transform: rotate(6deg);
}
.practice-evidence {
  width: 32%;
  height: 29%;
  top: 29%;
  left: 7%;
  transform: rotate(-5deg);
}
.practice-question {
  width: 28%;
  height: 25%;
  top: 29%;
  right: 7%;
  transform: rotate(4deg);
  background: #fbf6df;
}
.practice-paper .practice-highlight {
  background: #e9dca7;
  height: 1.2cqw;
  margin-top: 0.8cqw;
}
.practice-hub {
  left: 25%;
  top: 59%;
  width: 44%;
  height: 12%;
  display: grid;
  place-content: center;
  text-align: center;
  background: #cfdbc7;
  border: 1px solid #eef2e9;
  border-radius: 2cqw;
  font: 400 clamp(14px, 4cqw, 26px)/1.05 var(--serif);
  letter-spacing: -0.035em;
}
.practice-support {
  right: 3%;
  top: 62%;
  width: 22%;
  height: 8%;
  display: grid;
  place-content: center;
  text-align: center;
  background: #faf4de;
  border-radius: 1.3cqw;
  box-shadow: 0 0.5cqw 1cqw #203d3a12;
  font: 400 clamp(9px, 2.25cqw, 15px)/1.25 var(--serif);
}
.practice-actions {
  left: 4%;
  right: 4%;
  top: 78%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2%;
  font: 400 clamp(8px, 2.1cqw, 13px)/1.35 var(--sans);
  text-align: center;
}
.practice-outcome {
  left: 6%;
  right: 6%;
  bottom: 3%;
  display: grid;
  gap: 0.65cqw;
  padding: 2% 3%;
  border-top: 1px solid #9ead9760;
  text-align: center;
  font: 400 clamp(11px, 2.9cqw, 19px)/1.2 var(--serif);
  letter-spacing: -0.02em;
}

@media (max-width: 1100px) {
  .sky-inner.section { gap: 55px; padding-block: 95px 110px; }
  .sky-introduction { top: 120px; }
  .sky-description, .sky-offer-description { font-size: 14px; }
  .principle-card { grid-template-columns: 150px minmax(0, 1fr); gap: 22px; }
  .principle-card h3 { font-size: 23px; }
  .principle-card p { font-size: 13px; }
  .practice-finding { font-size: 18px; }
}
@media (max-width: 900px) {
  .sky-inner.section { display: block; }
  .sky-introduction { position: static; max-width: 510px; }
  .sky-principles { margin-top: 60px; }
  .principle-card { grid-template-columns: 185px minmax(0, 1fr); gap: 26px; }
  .principle-card h3 { font-size: 25px; }
  .principle-card p { font-size: 14px; }
}
@media (max-width: 760px) {
  .sky-inner.section { display: block; padding-block: 70px 90px; }
  .sky-introduction { position: static; max-width: 510px; }
  .sky-image { object-position: 67% center; }
  .sky-veil { background: linear-gradient(180deg, #dce9f3, #e6eff63b 10%, #e8f0f46b 70%, var(--paper)); }
  .sky-introduction h2 { font-size: clamp(40px, 8.8vw, 62px); }
  .sky-description, .sky-offer-description { font-size: 15px; max-width: 510px; }
  .sky-principles { margin-top: 65px; }
  .sky-section .eyebrow { margin-bottom: 27px; font-size: 10px; }
  .principles-grid { gap: 30px; }
  .principle-card { scroll-margin-top: 100px; }
  .principle-card h3 { font-size: 25px; max-width: 510px; margin: 0; }
  .principle-card p { font-size: 13px; max-width: 510px; }
  .sky-section + .team-section .team-topline { padding-top: 20px; }
  .values-section .case-index { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
  .values-section .case-index a { min-height: 46px; font-size: 10px; }
  .practice-finding { font-size: 19px; max-width: 510px; }
}
@media (max-width: 480px) {
  .principle-card { grid-template-columns: 1fr; gap: 10px; }
  .principle-card h3 { font-size: 27px; }
  .principle-card p { line-height: 1.75; }
}
@media print {
  .sky-section { background: white; }
  .sky-background { display: none; }
  .sky-inner.section { padding-block: 35px; }
  .sky-introduction { position: static; }
  .sky-introduction h2 { font-size: 40px; }
  .principles-grid { display: block; }
  .principle-card { padding: 15px 0; break-inside: avoid; }
  .principle-card h3 { font-size: 22px; }
}
