/* Continuum web: eight editorial chapters. Brand palette and typography from
   the supplied Continuum design system. No fixed chrome or decorative imagery. */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/source-serif-4.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fira-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/fira-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/fira-sans-600.woff2") format("woff2");
}
:root {
  --paper: #fbf8f3;
  --vellum: #f5f1e9;
  --sand: #eae4d8;
  --stone: #d8d0c1;
  --clay: #847c6d;
  --graphite: #38332b;
  --ink: #12211b;
  --patina: #0c2b1f;
  --patina-light: #c2d6cc;
  --copper: #8c5328;
  --error: #6a1e20;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Fira Sans", "Segoe UI", Arial, sans-serif;
  --gutter: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.556 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
button,
input,
textarea {
  font: inherit;
}
button,
summary,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--patina-light);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 20;
  padding: 12px 24px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.screen {
  min-height: 100svh;
  padding: 32px 64px 24px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.screen > .canvas {
  width: 100%;
  max-width: 1152px;
  min-height: calc(100svh - 56px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.screen-paper {
  background: var(--paper);
}
.screen-vellum {
  background: var(--vellum);
}
.screen-sand {
  background: var(--sand);
}
.screen-hero {
  background: var(--patina);
  color: var(--paper);
}
.screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 600 20px/1.2 var(--sans);
  letter-spacing: 0.01em;
  min-height: 44px;
}
/* The mark inherits the bar's text colour, so one drawing serves the Patina
   ground on the hero and the Paper, Vellum and Sand grounds elsewhere. */
.wordmark-mark {
  display: block;
  flex: none;
  width: 34px;
  height: 34px;
}
.wordmark-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}
.wordmark-text > span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.chapter-menu > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  list-style: none;
}
.chapter-menu > summary::-webkit-details-marker {
  display: none;
}
.menu-icon {
  display: block;
  width: 24px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.chapter-menu[open] .menu-icon {
  height: 1px;
  border-bottom: 0;
}
.chapter-menu nav {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  width: min(440px, 100%);
  padding: 24px 32px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--clay);
}
.chapter-menu nav > .eyebrow {
  margin-bottom: 16px;
}
.chapter-menu nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  border-top: 1px solid var(--clay);
  text-decoration: none;
}
.chapter-menu nav a:hover,
.chapter-menu nav a[aria-current] {
  background: var(--sand);
}
.nav-number {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.chapter-menu nav a > span:last-child {
  margin-left: auto;
}
.screen-body {
  padding-block: 48px;
  margin-block: auto;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.eyebrow {
  font: 500 14px/1.3 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.screen-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.screen-hero .screen-foot {
  border-top: 1px solid var(--patina-light);
}
.next-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
}
.next-link:hover {
  text-decoration: underline;
}
.next-link > span,
.text-link > span {
  font-size: 22px;
  transition: transform 0.2s ease;
}
.next-link:hover > span {
  transform: translateY(3px);
}
.hero-headline {
  font-size: clamp(48px, 6.25vw, 80px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.hero-composition {
  padding-block: 8px 24px;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
  align-items: end;
  margin-top: 48px;
}
.hero-bottom > .btn {
  justify-self: start;
}
.hero-description {
  max-width: 540px;
  font-size: 22px;
  line-height: 1.636;
}
.btn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}
.btn-light,
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
}
.btn-light:hover,
.btn-secondary:hover {
  background: var(--sand);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--patina);
}
.btn[aria-disabled="true"] {
  background: var(--stone);
  color: var(--ink);
  cursor: wait;
}
.btn > span {
  font-size: 24px;
  line-height: 1;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--gutter);
  align-items: start;
}
h2,
.section-h {
  font-size: 56px;
  line-height: 1.143;
  letter-spacing: -0.015em;
}
.section-intro {
  padding-right: 24px;
}
.intro-note {
  max-width: 365px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.6;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  margin-top: 32px;
  font-weight: 500;
}
.text-link:hover > span {
  transform: translate(2px, -2px);
}
.lead {
  font: 400 26px/1.385 var(--serif);
  max-width: 680px;
}
.body-copy {
  margin-top: 24px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
}
.principles {
  margin-top: 32px;
  border-top: 1px solid var(--clay);
}
.principles > div {
  display: grid;
  grid-template-columns: 32px 172px minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--clay);
  align-items: baseline;
}
.small-number {
  font: 400 14px/1.5 var(--sans);
  font-variant-numeric: tabular-nums;
}
.principles h3 {
  font: 500 18px/1.55 var(--sans);
}
.principles p {
  font-size: 18px;
  line-height: 1.55;
}
.team-profile {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}
.portrait-frame {
  width: 270px;
  max-width: 100%;
  background: var(--patina);
}
.portrait-frame img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.person-detail {
  padding-bottom: 4px;
}
.person-detail h3 {
  font-size: 32px;
  line-height: 1.25;
  margin-top: 16px;
  letter-spacing: -0.005em;
}
.person-role {
  margin-top: 8px;
  font-weight: 500;
}
.person-copy {
  margin-top: 24px;
  font-size: 18px;
}
.person-detail .text-link {
  font-size: 18px;
  gap: 12px;
  margin-top: 24px;
}
.criteria {
  margin: 0;
  border-top: 1px solid var(--ink);
}
.criteria > div {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--clay);
}
.criteria dt {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding-top: 5px;
}
.criteria dd {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}
.support-note {
  font-size: 18px;
  margin-top: 24px;
}
.editorial-list {
  border-top: 1px solid var(--ink);
}
.editorial-list article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  padding-block: 24px;
  border-bottom: 1px solid var(--clay);
}
.editorial-list .small-number {
  padding-top: 5px;
}
.editorial-list h3,
.after-list h3 {
  font-size: 24px;
  line-height: 1.333;
}
.editorial-list p {
  margin-top: 8px;
}
.process-heading {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
  align-items: end;
}
.process-heading .intro-note {
  margin: 0;
  max-width: 400px;
}
.process-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--clay);
}
.process-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  text-decoration: none;
  padding: 20px 16px;
  border: 0;
  border-right: 1px solid var(--clay);
  background: transparent;
  text-align: left;
  position: relative;
  font-size: 18px;
  font-weight: 500;
}
.process-tab:first-child {
  border-left: 1px solid var(--clay);
}
.process-tab:hover {
  background: var(--vellum);
}
.process-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}
.process-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px;
  height: 3px;
  background: var(--copper);
}
.step-number {
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.process-panel {
  display: grid;
  grid-template-columns: 2fr 10fr;
  gap: 24px;
  margin-top: 32px;
  padding-bottom: 16px;
}
.process-panel > div {
  max-width: 860px;
}
.stage-caption {
  padding-top: 7px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stage-caption span {
  margin-left: 8px;
}
.process-panel h3 {
  font-size: 32px;
  line-height: 1.25;
}
.process-panel h3 + p {
  margin-top: 12px;
  max-width: 760px;
  font-size: 20px;
  line-height: 1.6;
}
.stage-outcome {
  font-size: 16px;
  margin-top: 16px;
}
.process-note {
  margin-top: 16px;
  font-size: 14px;
}
.after-lead {
  padding-left: 24px;
  border-left: 2px solid var(--ink);
}
.after-list {
  margin-top: 24px;
}
.after-list article {
  display: grid;
  grid-template-columns: 1fr;
  padding-block: 16px;
  border-top: 1px solid var(--clay);
}
.after-list .eyebrow {
  margin-bottom: 8px;
}
.after-list h3 {
  font-size: 22px;
}
.after-list article > p:last-child {
  margin-top: 8px;
}
/* Existing contact fields, four audiences, field names, and endpoint retained. */
.screen-contact .screen-body {
  padding-block: 32px;
}
.form {
  display: grid;
  gap: 24px;
}
.fields-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.field label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}
.marker {
  font-size: 14px;
  font-weight: 400;
  margin-left: 4px;
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--clay);
  border-radius: 2px;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline-offset: 2px;
}
.field textarea {
  min-height: 104px;
  resize: vertical;
}
.role-group {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.role-group legend {
  padding: 0;
  margin-bottom: 12px;
  font-weight: 500;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  min-height: 90px;
  border: 1px solid var(--clay);
  border-radius: 2px;
  cursor: pointer;
}
.tile:hover {
  background: var(--vellum);
}
.tile:has(input:checked) {
  background: var(--sand);
  border-color: var(--ink);
}
.tile:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.tile input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.tile-ind {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  border-radius: 2px;
}
.tile input:checked + .tile-ind {
  background: var(--ink);
}
.tile-label {
  font-size: 18px;
  line-height: 1.45;
}
.helper {
  font-size: 16px;
  margin: -4px 0 8px;
}
.form .btn {
  justify-self: start;
  min-width: 120px;
  justify-content: center;
}
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.error {
  color: var(--error);
  font-size: 16px;
  margin-top: 8px;
}
[aria-invalid="true"] {
  border-color: var(--error) !important;
}
.result:empty {
  display: none;
}
.result {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-left: 2px solid var(--ink);
  background: var(--vellum);
}
.result.is-error {
  color: var(--error);
  border-color: var(--error);
}
.result a {
  display: block;
  margin-top: 8px;
}
/* Content remains visible without JavaScript. Motion never blocks reading. */
@keyframes chapter-arrive {
  from {
    opacity: 0.35;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .screen.is-arriving .section-label,
  .screen.is-arriving .editorial-grid,
  .screen.is-arriving .hero-composition,
  .screen.is-arriving .process-heading {
    animation: chapter-arrive 0.65s cubic-bezier(0.2, 0.65, 0.2, 1) both;
  }
  .screen.is-arriving .editorial-grid,
  .screen.is-arriving .hero-composition {
    animation-delay: 0.08s;
  }
}
@media (min-width: 1024px) and (max-height: 850px) {
  .screen {
    padding-top: 24px;
    padding-bottom: 16px;
  }
  .screen > .canvas {
    min-height: calc(100svh - 40px);
  }
  .screen-body {
    padding-block: 32px;
  }
  .section-label {
    margin-bottom: 24px;
  }
  .editorial-list article {
    padding-block: 16px;
  }
  .after-list article {
    padding-block: 12px;
  }
  .after-list {
    margin-top: 16px;
  }
  .criteria > div {
    padding-block: 20px;
  }
  .screen-contact .screen-body {
    padding-block: 24px;
  }
  .form {
    gap: 16px;
  }
  .tile {
    min-height: 78px;
    padding: 12px;
  }
  .field textarea {
    min-height: 80px;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .screen {
    padding-inline: 32px;
  }
  h2,
  .section-h {
    font-size: 40px;
    line-height: 1.2;
  }
  .editorial-grid {
    grid-template-columns: 3fr 5fr;
  }
  .section-intro {
    padding-right: 8px;
  }
  .team-profile {
    grid-template-columns: minmax(160px, 1fr) minmax(0, 1fr);
    gap: 24px;
  }
  .portrait-frame {
    width: 100%;
  }
  .person-detail h3 {
    font-size: 28px;
  }
  .principles > div {
    grid-template-columns: 24px 1fr;
    row-gap: 4px;
  }
  .principles p {
    grid-column: 2;
  }
  .principles h3 {
    grid-column: 2;
  }
  .criteria > div {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
  }
  .criteria dd {
    font-size: 20px;
  }
  .fields-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fields-row .field:last-child {
    grid-column: 1 / -1;
  }
  .tile {
    padding: 12px;
  }
  .hero-bottom {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  html {
    scroll-snap-type: none;
  }
  .screen {
    padding: 24px 24px 16px;
  }
  .screen > .canvas {
    min-height: calc(100svh - 40px);
  }
  .wordmark {
    font-size: 18px;
    gap: 10px;
  }
  .wordmark-mark {
    width: 30px;
    height: 30px;
  }
  .wordmark-text > span {
    font-size: 12px;
  }
  .chapter-menu > summary {
    font-size: 16px;
    gap: 16px;
  }
  .chapter-menu nav {
    top: calc(100% + 8px);
    padding: 20px;
    width: 100%;
  }
  .chapter-menu nav a {
    font-size: 18px;
  }
  .screen-body {
    padding-block: 40px;
  }
  .section-label {
    margin-bottom: 24px;
    gap: 12px;
  }
    .eyebrow,
    .screen-foot {
    padding-top: 8px;
    gap: 16px;
    font-size: 12px;
  }
      .next-link {
    gap: 12px;
  }
  .hero-headline {
    font-size: clamp(40px, 10vw, 64px);
    line-height: 1.1;
  }
  .hero-bottom {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 32px;
    margin-top: 32px;
  }
  .hero-description {
    font-size: 20px;
    line-height: 1.6;
  }
  .hero-composition {
    padding-block: 8px;
  }
  .btn {
    min-height: 52px;
    padding: 12px 20px;
  }
  .editorial-grid,
  .process-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section-intro {
    padding-right: 0;
  }
  h2,
  .section-h {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.005em;
  }
  .desktop-break {
    display: none;
  }
  .intro-note {
    font-size: 18px;
    line-height: 1.556;
    margin-top: 16px;
    max-width: 100%;
  }
  .text-link {
    margin-top: 16px;
  }
  .lead {
    font-size: 24px;
    line-height: 1.4;
  }
  .body-copy {
    margin-top: 20px;
  }
  .principles {
    margin-top: 24px;
  }
  .principles > div {
    grid-template-columns: 24px 1fr;
    gap: 8px 12px;
  }
  .principles p {
    grid-column: 2;
  }
  .team-profile {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .portrait-frame {
    width: 100%;
  }
  .person-detail h3 {
    font-size: 24px;
    margin-top: 12px;
  }
  .person-role {
    font-size: 16px;
  }
  .person-copy {
    margin-top: 16px;
  }
  .person-detail .text-link {
    margin-top: 16px;
  }
  .criteria > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 16px;
  }
  .criteria dt {
    padding-top: 0;
  }
  .criteria dd {
    font-size: 20px;
  }
  .editorial-list article {
    padding-block: 20px;
    grid-template-columns: 24px 1fr;
    gap: 12px;
  }
  .editorial-list h3 {
    font-size: 24px;
  }
  .process-heading {
    gap: 20px;
  }
  .process-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
  }
  .process-tab {
    font-size: 16px;
    padding: 16px 12px;
    gap: 8px;
    border-bottom: 1px solid var(--clay);
  }
  .process-tab:nth-child(4) {
    border-left: 1px solid var(--clay);
  }
  .step-number {
    font-size: 24px;
  }
  .process-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .process-panel h3 {
    font-size: 26px;
  }
  .process-panel h3 + p {
    font-size: 18px;
  }
  .stage-caption {
    padding-top: 0;
  }
  .process-note {
    font-size: 14px;
  }
  .after-lead {
    padding-left: 20px;
  }
  .after-list {
    margin-top: 24px;
  }
  .after-list article {
    padding-block: 20px;
  }
  .after-list h3 {
    font-size: 24px;
  }
  .fields-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .tile {
    min-height: 76px;
  }
  .marker {
    font-size: 14px;
  }
  .field textarea {
    min-height: 120px;
  }
}
@media (max-width: 379px) {
  .screen {
    padding-inline: 16px;
  }
  .hero-headline {
    font-size: 40px;
  }
  .team-profile {
    grid-template-columns: 1fr;
  }
  .portrait-frame {
    max-width: 224px;
  }
  .person-detail h3 br {
    display: none;
  }
  .process-tab {
    padding-inline: 8px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  html {
    scroll-snap-type: none;
  }
  .screen {
    min-height: 0;
    padding: 32px 0;
    background: white;
    color: var(--ink);
    break-inside: avoid;
  }
  .screen > .canvas {
    min-height: 0;
  }
  .chapter-menu,
  .screen-foot,
  .skip-link {
    display: none;
  }
  .screen-body {
    padding-block: 24px;
  }
  .process-panel[hidden] {
    display: grid !important;
  }
}

/* Compact laptop view preserves a complete chapter at standard zoom. */
@media (min-width: 1024px) {
  .fields-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fields-row .field:last-child {
    grid-column: auto;
  }
}
@media (min-width: 1024px) and (max-height: 850px) {
  .screen-body {
    padding-block: 24px;
  }
  .section-label {
    margin-bottom: 20px;
  }
  .process-tabs {
    margin-top: 24px;
  }
  .process-panel {
    margin-top: 24px;
  }
}
@media (min-width: 1024px) and (max-width: 1100px) and (max-height: 850px) {
  .screen-body,
  .screen-contact .screen-body {
    padding-block: 12px;
  }
}

/* Team: the seats carry the screen, the founder sits with them. */
.team-lead {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--clay);
}
.portrait-small {
  width: 96px;
  flex: none;
  margin: 0;
}
.portrait-small img {
  width: 100%;
  height: auto;
  display: block;
}
.team-lead .person-detail h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}
.team-lead .person-role {
  font-size: 16px;
  margin-top: 4px;
}

/* Short viewports: every screen must fit one viewport, because mandatory
   snap would otherwise park content below the fold with no way to reach it. */
@media (min-width: 1024px) and (max-height: 800px) {
  h2,
  .section-h {
    font-size: 46px;
  }
  .team-lead {
    margin-top: 16px;
    padding-top: 16px;
    gap: 14px;
  }
  .portrait-small {
    width: 76px;
  }
  .team-grid .lead {
    font-size: 22px;
  }
  .team-list article {
    padding-block: 11px;
  }
  .team-list h3 {
    font-size: 20px;
  }
  .team-list p {
    font-size: 17px;
    line-height: 1.45;
  }
  .criteria > div {
    padding-block: 14px;
  }
  .criteria dd {
    font-size: 19px;
    line-height: 1.4;
  }
  .team-grid .intro-note {
    margin-top: 16px;
  }
      .editorial-list article {
    padding-block: 12px;
  }
  .process-tabs,
  .process-panel {
    margin-top: 18px;
  }
  .form {
    gap: 12px;
  }
  .tile {
    min-height: 68px;
    padding: 10px;
  }
  .field textarea {
    min-height: 68px;
  }
  .screen-contact .screen-body {
    padding-block: 18px;
  }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .screen-contact .screen-body {
    padding-block: 12px;
  }
  .screen-contact .section-label {
    margin-bottom: 14px;
  }
  .form {
    gap: 10px;
  }
  .tile {
    min-height: 60px;
  }
  .field textarea {
    min-height: 60px;
  }
}

/* Below this height the screens cannot be trimmed further without breaking
   the type scale, so snap relaxes rather than trapping content off screen. */
@media (max-height: 700px) {
  html {
    scroll-snap-type: y proximity;
  }
}

/* Mid height viewports: five criteria rows do not fit at the full step,
   and the short viewport block below does not apply here. */
@media (min-width: 1024px) and (min-height: 801px) and (max-height: 930px) {
  .criteria > div {
    padding-block: 17px;
  }
  .criteria dd {
    font-size: 20px;
    line-height: 1.42;
  }
}
