/* FOPS inner pages (v2). Load AFTER css/home-v2.css, which owns the tokens, type, grounds, header,
   footer, buttons, .sheet, .shot (photo grade) and the motion hooks. Nothing here redefines those.

   REUSED FROM home-v2.css (use as is)
     .g-ink / .g-paper / .g-stone   section ground; always pair with data-ground="ink|paper|stone" (the header follows it)
     .wrap                          centred container
     .label                         small sentence-case section label (never caps, never mono)
     .sec-head [data-rule]          section head: .label in the margin column + h2 (+ optional .head-note)
     .btn .btn-ink / .btn-light     the one filled action (ink on light grounds, light on ink); .text-link the quiet one
     .actions                       row of a .btn and a .text-link
     .shot                          photo wrapper that applies the shared grade (+ .shot-gate for the gate frame)
     .sheet                         white document surface (add .sheet-edge here for the hairline border)
     .mark-row + .m-exeter/.m-fraes/.m-cam/.m-faa/.m-casa   credential marks in five ruled cells
     .founders/.founders-grid/.portrait/.founder-body/.founder-head   founder portrait rising from a stone section
     .cta-band/.cta-photo/.cta-layout/.cta-copy   closing call to action over a photograph (ink)
     .index-num                     small quiet "01" style numerals
     [data-rule] draws a section hairline in; [data-reveal] one soft entrance; .reveal-lines on the H1

   COMPONENTS DEFINED HERE
     .page-hero                     inner-page hero: .page-hero-copy (label, h1, .page-hero-lede, optional .actions)
       .page-hero-media             optional hard-cropped photo panel, bleeds to the right edge (strip under the copy on tablet/phone)
       .page-hero--plain            no photograph: shorter, copy may run wider
     .sec  (.sec--tight-top, .sec--flush-top, .sec--flush-bottom)   section spacing
     .sec-body                      first block under a .sec-head (sets the gap)
     .inset                         aligns a block with the h2 (skips the two-column label margin on desktop)
     .margin-grid                   a .label in the margin column + .margin-body, for blocks that have no h2
     .h2-long                       quieter size for headings that are a whole sentence
     .prose (.prose--lead)          running paragraphs, links underlined; .fine = small print / footnote
     .split (.split--flip, .split--even, .split--inset, .split--top-rule)   two columns: .split-text + .split-media (or two .split-text);
                                    --inset starts the text under the h2 (use below a .sec-head)
     .figure (.figure--tall, .figure--wide, .figure--square) photo + figcaption inside a column; .figure--small stays small when stacked
     .shot--pos (style="--pos: x% y%") chooses the crop; .shot--trim hides a frame baked into a supplied photo
     .photo-band (.photo-band--full) full-bleed photo strip between or inside sections, caption in the margin
     .rows                          ruled rows: .rows-term (serif) + .rows-body; add .rows-key for a number or code
     .ruled-cols                    2 to 4 columns divided by vertical hairlines (set --n); .index-num, h3, p inside
     .pairs                         2 x n ruled grid of h3 + p items (benefits, credentials)
     .note-cols                     two columns of small notes under one rule
     .points                        simple ruled list, strong lead-in + sentence
     .sources                       ruled list of references and links
     .doc-rows                      index list on a .sheet.sheet-edge: .doc-code (mono identifier), h3, p
     .table-sheet + table.data      real table on a white sheet; td.figure = big serif numeral; .data--stack restacks on phone
     .pullquote                     large light serif quotation with a footer source
     .std-mark                      one standards logo or seal in a ruled cell
     .contact-grid, .form-sheet, .fields, .field, .hp, .form-success, .form-error   the contact form

   ADDED FOR THE SECOND SET OF PAGES (rules are at the end of this file)
     h2.label / h3.label            a section label that is also the heading
     .page-hero--short              display-scale h1 for one- or two-word titles (Part 91, Part 135)
     .top-rule                      static hairline above any block
     .split--media-first            stacked order on tablet/phone: media above the text
     .statement                     one sentence set large beside running text
     .text-cols                     running text in ruled columns (set --n); one column on tablet/phone
     .sheet-pad + .sheet-head       padded sheet for a short passage; head = h3 + sentence
     .sources--sheet                references on a .sheet.sheet-edge; .sources--links = each row is one link
     .rows-body with blocks         several paragraphs or a .points list inside a row; .rows--half for a half-width column
     .stack, .list-gap, .after-rows vertical rhythm helpers
     .pairs as <ul> with h4         the 2 x n ruled grid as a list
     .photo-band--deep              taller full-bleed band (desktop)
     .data--middle / .data--series  cells centred on the figure / a time series with the first measure in the display face
     .std-mark--bare                a standards mark without its ruled cell
     .cta-copy p.label              the closing band with a .label instead of the homepage .eyebrow
*/

/* ---------- Shared tone ---------- */
.g-ink { --soft: rgba(242, 240, 235, .86); }
.g-paper, .g-stone, .sheet { --soft: #33383e; }
.sheet { --fg: #191c21; }
.sheet-edge { border: 1px solid var(--rule); }
.nav-menu a[aria-current] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button.btn { appearance: none; border: 0; cursor: pointer; }
button.btn[disabled] { opacity: .55; cursor: default; }

/* ---------- Page hero ---------- */
.page-hero { padding-top: var(--bar); }
.page-hero-grid {
  display: grid; column-gap: var(--gap); min-height: clamp(400px, 58svh, 580px);
  grid-template-columns: minmax(calc(var(--gut) - var(--gap)), 1fr) repeat(12, minmax(0, calc((var(--max) - 11 * var(--gap)) / 12))) minmax(calc(var(--gut) - var(--gap)), 1fr);
}
.page-hero-copy { grid-column: 2 / span 6; align-self: end; padding: clamp(64px, 8vw, 120px) 0 clamp(44px, 4.6vw, 68px); }
.page-hero-copy .label { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(2.125rem, 1.3rem + 2.6vw, 3.75rem); line-height: 1.06; letter-spacing: -.02em; max-width: 13em; }
.page-hero-lede { margin-top: clamp(22px, 2.4vw, 32px); font-size: clamp(1.0625rem, 1rem + .28vw, 1.1875rem); line-height: 1.5; color: var(--soft); max-width: 31em; }
.page-hero-copy .actions { margin-top: 30px; }
.page-hero-media { grid-column: 9 / -1; position: relative; }
.page-hero-media .shot { height: 100%; min-height: 320px; }
.page-hero-media .shot picture, .page-hero-media .shot > img { position: absolute; inset: 0; }
.page-hero--plain .page-hero-grid { min-height: clamp(320px, 44svh, 440px); }
.page-hero--plain .page-hero-copy { grid-column: 2 / span 9; }
.page-hero--plain h1 { max-width: 15em; }

/* photographs that carry a baked-in frame are trimmed inside the panel */
.shot--trim img { transform: scale(1.07); }
/* choose the crop: <div class="shot shot--pos" style="--pos: 70% 50%"> */
.shot--pos img { object-position: var(--pos, 50% 50%); }

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; }
.sec--tight-top { padding-top: clamp(48px, 6vw, 88px); }
.sec--flush-top { padding-top: 0; }
.sec--flush-bottom { padding-bottom: 0; }
.sec-body { margin-top: clamp(48px, 6vw, 88px); }
.inset { margin-left: calc((100% + var(--gap)) / 6); }
.h2-long, .sec-head .h2-long { font-size: clamp(1.75rem, 1.1rem + 1.75vw, 2.75rem); line-height: 1.14; letter-spacing: -.016em; }
.sec-head h2.h2-long { grid-column: 3 / span 8; }

.margin-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.margin-grid > .label { grid-column: 1 / span 2; padding-top: 4px; }
.margin-grid > .margin-body { grid-column: 3 / -1; }

/* ---------- Running text ---------- */
.prose { color: var(--soft); max-width: 36em; }
.prose > * + * { margin-top: .95em; }
.prose a, .fine a, .sources a, .pullquote a, .form-error a, .form-success a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere;
}
.prose a:hover, .fine a:hover, .sources a:hover, .pullquote a:hover { text-decoration-thickness: 2px; }
.prose--lead { font-size: clamp(1.0625rem, 1rem + .28vw, 1.1875rem); line-height: 1.55; }
.fine { font-size: .875rem; line-height: 1.6; color: var(--mut); max-width: 46em; }
.link-row { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.split > .split-text { grid-column: 1 / span 6; }
.split > .split-media { grid-column: 8 / span 5; }
.split--flip > .split-media { grid-column: 1 / span 5; grid-row: 1; }
.split--flip > .split-text { grid-column: 7 / span 6; }
.split--even > .split-text { grid-column: 1 / span 6; }
.split--even > .split-text + .split-text { grid-column: 8 / span 5; }
.split--inset > .split-text { grid-column: 3 / span 5; }
.split--inset > .split-media { grid-column: 9 / span 4; }
.split--top-rule { padding-top: clamp(30px, 3.6vw, 48px); border-top: 1px solid var(--rule); }
.split-text > .label + h2 { margin-top: 18px; }
.split-text > h2 + .prose, .split-text > h2 + p { margin-top: clamp(28px, 3vw, 44px); }

/* ---------- Photographs ---------- */
.figure .shot { aspect-ratio: 4 / 3; }
.figure--tall .shot { aspect-ratio: 4 / 5; }
.figure--wide .shot { aspect-ratio: 16 / 9; }
.figure--square .shot { aspect-ratio: 1 / 1; }
.figure figcaption, .photo-band figcaption { font-size: .875rem; line-height: 1.45; color: var(--mut); }
.figure figcaption { margin-top: 14px; max-width: 30em; }
.photo-band {
  display: grid; column-gap: var(--gap); align-items: end;
  grid-template-columns: minmax(calc(var(--gut) - var(--gap)), 1fr) repeat(12, minmax(0, calc((var(--max) - 11 * var(--gap)) / 12))) minmax(calc(var(--gut) - var(--gap)), 1fr);
}
.photo-band .shot { grid-column: 4 / -1; grid-row: 1; aspect-ratio: 2.24; }
.photo-band figcaption { grid-column: 2 / span 2; grid-row: 1; padding-top: 12px; border-top: 1px solid var(--rule); }
.photo-band--full .shot { grid-column: 1 / -1; aspect-ratio: 2.9; }

/* ---------- Ruled rows ---------- */
.rows { list-style: none; border-bottom: 1px solid var(--rule); }
.rows > li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); column-gap: var(--gap); align-items: baseline; padding: 26px 0 32px; border-top: 1px solid var(--rule); }
.rows-term, .rows-body { display: block; }
.rows-term { font: 400 clamp(1.5rem, 1.25rem + .55vw, 1.875rem)/1.16 var(--display); letter-spacing: -.012em; text-wrap: balance; }
.rows-body { color: var(--soft); max-width: 37em; }
.rows-key { font-size: .875rem; color: var(--mut); font-variant-numeric: tabular-nums lining-nums; }
.rows--keyed > li { grid-template-columns: 3.2rem minmax(0, 3fr) minmax(0, 7fr); }

/* ---------- Ruled columns ---------- */
.ruled-cols { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); row-gap: 56px; }
.ruled-cols > * { padding: 2px 28px 8px 24px; border-left: 1px solid var(--rule); }
.ruled-cols h3 { margin-top: 44px; font-size: clamp(1.5rem, 1.2rem + .66vw, 1.9375rem); }
.ruled-cols .index-num + h3 { margin-top: 44px; }
.ruled-cols > * > h3:first-child { margin-top: 0; }
.ruled-cols p:not(.index-num) { margin-top: 16px; font-size: .96875rem; color: var(--soft); max-width: 30em; }
.ruled-cols .index-num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Pairs: 2 x n ruled grid ---------- */
.pairs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.pairs > * { padding: 26px 44px 44px 0; border-top: 1px solid var(--rule); }
.pairs > :nth-child(even) { padding-left: 44px; padding-right: 0; border-left: 1px solid var(--rule); }
.pairs h3 { font-size: clamp(1.5rem, 1.25rem + .55vw, 1.875rem); max-width: 14em; }
.pairs p { margin-top: 14px; color: var(--soft); max-width: 33em; }

/* ---------- Notes, points, sources ---------- */
.note-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); padding-top: 22px; border-top: 1px solid var(--rule); }
.note-cols p { font-size: .9375rem; line-height: 1.6; color: var(--mut); max-width: 33em; }
.points, .sources { list-style: none; border-bottom: 1px solid var(--rule); }
.points li, .sources li { padding: 15px 0 17px; border-top: 1px solid var(--rule); color: var(--soft); }
.points strong { color: var(--fg); font-weight: 600; }
.sources li { font-size: .9375rem; }
.sources a { color: var(--fg); }

/* ---------- Index list on a sheet ---------- */
.doc-rows { list-style: none; }
.doc-rows > li {
  display: grid; grid-template-columns: 5.5rem minmax(0, 4fr) minmax(0, 6fr); column-gap: var(--gap); align-items: baseline;
  padding: 22px clamp(20px, 2.6vw, 36px) 25px; border-top: 1px solid var(--rule);
}
.doc-rows > li:first-child { border-top: 0; }
.doc-code { font-family: var(--mono); font-size: .875rem; letter-spacing: .02em; color: var(--acc); font-variant-numeric: tabular-nums lining-nums; }
.doc-rows h3 { font-size: 1.5rem; line-height: 1.18; letter-spacing: -.008em; }
.doc-rows p { font-size: .9375rem; line-height: 1.55; color: var(--soft); max-width: 36em; }

/* ---------- Tables on sheets ---------- */
.table-sheet { --pad: clamp(18px, 2.4vw, 32px); }
.data { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; font-variant-numeric: tabular-nums lining-nums; }
.data caption { caption-side: top; text-align: left; padding: 15px var(--pad) 16px; font-size: .8125rem; line-height: 1.5; color: var(--mut); border-bottom: 1px solid #191c21; }
.data th { text-align: left; vertical-align: bottom; font-weight: 600; font-size: .78125rem; line-height: 1.3; color: var(--mut); padding: 13px var(--pad); border-bottom: 1px solid var(--rule); }
.data td { vertical-align: top; padding: 17px var(--pad) 19px; }
.data tbody tr + tr td { border-top: 1px solid var(--rule); }
.data th + th, .data td + td { border-left: 1px solid var(--rule); }
.data td strong { display: block; font: 400 1.5rem/1.2 var(--display); letter-spacing: -.008em; margin-bottom: 8px; }
.data td.figure, .data th.figure { text-align: right; white-space: nowrap; }
.data td.figure { font: 300 clamp(1.75rem, 1.1rem + 1.75vw, 2.75rem)/1.1 var(--display); letter-spacing: -.016em; font-variant-numeric: lining-nums proportional-nums; vertical-align: middle; }
.data--roomy td { padding-block: clamp(24px, 2.8vw, 38px); }
.data--roomy td:first-child { max-width: 34em; }

/* ---------- Quotation ---------- */
.pullquote { font: 300 clamp(1.5rem, 1rem + 1.3vw, 2.25rem)/1.27 var(--display); letter-spacing: -.008em; text-wrap: pretty; margin: 0; }
.pullquote footer { margin-top: 1.5em; padding-top: 14px; border-top: 1px solid var(--rule); font: 400 .875rem/1.45 var(--text); letter-spacing: .003em; color: var(--mut); }
.pullquote footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- One standards mark ---------- */
.std-mark { display: grid; place-items: center; padding: clamp(28px, 4vw, 56px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.std-mark img { width: auto; height: clamp(84px, 9vw, 128px); max-width: 70%; object-fit: contain; }
.g-paper .std-mark img, .g-stone .std-mark img { mix-blend-mode: multiply; }

/* ---------- Small adjustments to reused homepage blocks ---------- */
.founders--compact .portrait img { max-width: 470px; }
/* the portrait's backdrop is the stone ground; its side edges are feathered so no seam shows */
.founders--compact .portrait img, .contact-portrait img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.founders--compact .founder-body { align-self: start; }
.founder-head + .prose { margin-top: clamp(28px, 3vw, 44px); }
.founder-head .h2-long { margin-top: 18px; }
.marks-after { margin-top: clamp(44px, 5vw, 72px); }
.sec-head--after-photo { padding-top: 0; margin-top: clamp(56px, 7.4vw, 108px); }
.sec-head--after-photo::before { display: none; }
.fee-note { margin-top: 22px; }
.fee-action { margin-top: 34px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gap); }
.contact-intro { grid-column: 1 / span 4; grid-row: 1; padding-bottom: 44px; }
.contact-intro h2 { margin-top: 18px; font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); }
.contact-intro .prose { margin-top: 26px; max-width: 26em; }
.contact-portrait { grid-column: 1 / span 4; grid-row: 2; align-self: end; margin-left: calc(-1 * var(--gap)); aspect-ratio: 1 / 1.08; overflow: hidden; }
.contact-portrait img { width: 100%; max-width: none; }
.contact-form { grid-column: 6 / -1; grid-row: 1 / span 2; padding-bottom: var(--sec); }
.form-sheet { padding: clamp(24px, 3.6vw, 52px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px var(--gap); }
.field { display: block; font-size: .875rem; line-height: 1.35; font-weight: 500; color: #2b2f35; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 8px; min-height: 50px; padding: 11px 14px; border: 1px solid rgba(25, 28, 33, .38); border-radius: 0;
  background: #fff; color: #191c21; font: 400 1rem/1.45 var(--text); letter-spacing: .003em; appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 156px; resize: vertical; }
.field select {
  padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23191c21' stroke-width='1.3'/%3E%3C/svg%3E") right 15px center / 12px 12px no-repeat;
}
.field ::placeholder { color: #666b72; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(25, 28, 33, .62); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 0; border-color: var(--steel); box-shadow: inset 0 0 0 1px var(--steel), 0 0 0 3px var(--steel-wash); border-radius: 0;
}
.form .btn { margin-top: 30px; min-width: 148px; }
.form-error { margin-top: 18px; font-size: .9375rem; color: #8f2424; }
.form.is-hidden { display: none; }
.form-success { display: none; }
.form-success.is-visible { display: block; }
.form-success:focus-visible { outline: 0; box-shadow: none; }
.form-success h2 { margin-top: 18px; font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); }
.form-success p:not(.label) { margin-top: 22px; color: var(--soft); max-width: 32em; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Motion: one composed moment for the hero ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero-copy .label { animation: fade .7s ease .05s both; }
  .js .page-hero-media .shot { animation: fade .9s ease .1s both; }
}

/* =====================================================================
   Tablet and below: the margin column lets go
   ===================================================================== */
@media (max-width: 999px) {
  .page-hero-grid { min-height: 0; }
  .page-hero-copy, .page-hero--plain .page-hero-copy { grid-column: 2 / -2; padding: clamp(52px, 9vw, 84px) 0 clamp(36px, 5vw, 52px); }
  .page-hero--plain .page-hero-grid { min-height: 0; }
  .page-hero--plain .page-hero-copy { padding-top: clamp(72px, 13vw, 120px); padding-bottom: clamp(44px, 7vw, 68px); }
  .page-hero h1 { max-width: 15em; }
  .page-hero-media { grid-column: 1 / -1; grid-row: 2; }
  .page-hero-media .shot { height: auto; min-height: 0; aspect-ratio: 2.1; }

  .inset { margin-left: 0; }
  .sec-body { margin-top: 44px; }
  .margin-grid { display: block; }
  .margin-grid > .margin-body { margin-top: 20px; }

  .split { display: block; }
  .split > .split-media { margin-top: 44px; }
  .split--flip { display: flex; flex-direction: column; }
  .split--flip > .split-media { order: 2; }
  .split--even > .split-text + .split-text { margin-top: 44px; }
  .figure--tall .shot { aspect-ratio: 4 / 3.4; }
  .figure--small { max-width: 23rem; }

  .photo-band { display: block; }
  .photo-band .shot { aspect-ratio: 16 / 9; }
  .photo-band figcaption { width: min(100% - 2 * var(--gut), var(--max)); margin: 14px auto 0; border-top: 0; padding-top: 0; }
  .photo-band--full .shot { aspect-ratio: 2.2; }

  .ruled-cols { grid-template-columns: 1fr; row-gap: 0; border-bottom: 1px solid var(--rule); }
  .ruled-cols > * { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap); border-left: 0; border-top: 1px solid var(--rule); padding: 22px 0 30px; }
  .ruled-cols .index-num { grid-column: 1 / -1; }
  .ruled-cols h3, .ruled-cols .index-num + h3 { margin-top: 16px; }
  .ruled-cols > * > h3:first-child { margin-top: 0; }
  .ruled-cols p:not(.index-num) { margin-top: 20px; }
  .ruled-cols > * > h3:first-child + p { margin-top: 4px; }

  .pairs > * { padding-right: 28px; }
  .pairs > :nth-child(even) { padding-left: 28px; }
  .doc-rows > li { grid-template-columns: 4rem minmax(0, 4fr) minmax(0, 6fr); }

  .contact-grid { display: flex; flex-direction: column; }
  .contact-intro { padding-bottom: 40px; }
  .contact-form { order: 2; padding-bottom: 0; }
  .contact-portrait { order: 3; margin: 56px auto 0; width: min(74%, 420px); }
}

/* =====================================================================
   Phone
   ===================================================================== */
@media (max-width: 760px) {
  .page-hero-media .shot { aspect-ratio: 4 / 3; }
  .page-hero .btn { width: 100%; }
  .figure--tall .shot { aspect-ratio: 4 / 4.4; }
  .photo-band .shot { aspect-ratio: 16 / 10; }
  .photo-band--full .shot { aspect-ratio: 16 / 10; }

  .rows > li, .rows--keyed > li { display: block; padding: 20px 0 24px; }
  .rows-body { margin-top: 10px; }
  .rows-key { display: block; margin-bottom: 8px; }

  .ruled-cols > * { display: block; }
  .ruled-cols p:not(.index-num) { margin-top: 12px; }
  .ruled-cols > * > h3:first-child + p { margin-top: 12px; }

  .pairs { grid-template-columns: 1fr; }
  .pairs > *, .pairs > :nth-child(even) { padding: 22px 0 30px; border-left: 0; }
  .note-cols { grid-template-columns: 1fr; row-gap: 14px; }

  .doc-rows > li { display: block; padding: 18px 20px 22px; }
  .doc-rows h3 { margin-top: 6px; }
  .doc-rows p { margin-top: 8px; }

  /* tables: a row becomes a short stack; each cell names its column from data-label */
  .data--stack, .data--stack tbody, .data--stack tr, .data--stack td { display: block; }
  .data--stack thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .data--stack tr { padding: 18px var(--pad) 20px; }
  .data--stack tbody tr + tr { border-top: 1px solid var(--rule); }
  .data--stack td, .data--stack tbody tr + tr td { padding: 0; border: 0; }
  .data--stack td + td { margin-top: 12px; border-left: 0; }
  .data--stack td[data-label]::before { content: attr(data-label); display: block; font: 600 .78125rem/1.3 var(--text); letter-spacing: .003em; color: var(--mut); margin-bottom: 3px; }
  .data--stack td.figure { text-align: left; white-space: normal; }
  .data:not(.data--stack) { font-size: .875rem; }
  .data:not(.data--stack) th, .data:not(.data--stack) td { padding-inline: 12px; }

  .fields { grid-template-columns: 1fr; gap: 20px; }
  .form .btn { width: 100%; }
  .contact-portrait { width: min(86%, 380px); }
}

/* =====================================================================
   ADDITIONS FOR THE SECOND SET OF INNER PAGES (operators, priority, issa, library,
   testimonials, part-91 / 91k / 135). General components; nothing above is changed.
   ===================================================================== */

/* a section label that is also the section's heading (<h2 class="label">) */
h2.label, h3.label { font-family: var(--text); letter-spacing: .003em; text-wrap: wrap; }

/* hero: one- or two-word titles go to display scale */
.page-hero--short h1 { font-size: clamp(3.25rem, 1.9rem + 5.6vw, 6.5rem); line-height: 1; letter-spacing: -.026em; }
.page-hero--short .page-hero-lede { max-width: 36em; }

/* a hairline above any block (the static twin of [data-rule]) */
.top-rule { padding-top: clamp(30px, 3.6vw, 48px); border-top: 1px solid var(--rule); }

/* stacked order: the media goes above the text on tablet and phone */
@media (max-width: 999px) {
  .split--media-first { display: flex; flex-direction: column; }
  .split--media-first > .split-media { order: -1; margin: 0 0 36px; }
  .split--media-first > .std-mark { align-self: flex-start; padding: 22px 34px; }
  .split--media-first > .std-mark img { height: 72px; max-width: none; }
}

/* one sentence set large beside running text */
.statement { font: 300 clamp(1.5rem, 1rem + 1.3vw, 2.25rem)/1.25 var(--display); letter-spacing: -.008em; text-wrap: pretty; padding-top: 22px; border-top: 1px solid var(--rule); }

/* running text in ruled columns (single column on tablet and phone) */
.text-cols { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.text-cols > * { padding: 2px 30px 6px 24px; border-left: 1px solid var(--rule); color: var(--soft); font-size: .96875rem; line-height: 1.6; }
.text-cols strong { color: var(--fg); font-weight: 600; }

/* padded sheet for a short passage; .sheet-head = h3 + sentence above its contents */
.sheet-pad { padding: clamp(24px, 3.4vw, 48px); }
.sheet-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); column-gap: var(--gap); align-items: baseline; margin-bottom: clamp(28px, 3.4vw, 48px); }
.sheet-head p { color: var(--soft); max-width: 34em; }

/* a list of references on a white sheet; .sources--links = every row is one link (whole row is the target) */
.sources--sheet { border-bottom: 0; }
.sources--sheet li { padding: 21px clamp(20px, 2.6vw, 36px) 23px; font-size: 1rem; line-height: 1.55; }
.sources--sheet li:first-child { border-top: 0; }
.sources--links li { padding: 0; }
.sources--links a { display: block; padding: 15px 0 17px; }

/* ruled rows whose body holds several paragraphs or a list */
.rows-body > * + * { margin-top: .95em; }
.rows-body > .points { margin-top: 1.2em; }
.rows--half > li { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.rows--half .rows-term { font-size: 1.5rem; }

/* blocks that follow one another inside a column */
.stack > * + * { margin-top: clamp(26px, 2.8vw, 38px); }
.stack > .label + * { margin-top: 16px; }
.after-rows { margin-top: clamp(56px, 6.4vw, 96px); }

/* the closing band's small label when it is a .label, not the homepage's .eyebrow */
.cta-copy p.label { margin-top: 0; font-size: .875rem; color: var(--mut); }
.cta-photo .shot--pos img { object-position: var(--pos, 22% 50%); }

@media (max-width: 999px) {
  .text-cols { grid-template-columns: 1fr; border-bottom: 1px solid var(--rule); }
  .text-cols > * { border-left: 0; border-top: 1px solid var(--rule); padding: 18px 0 22px; max-width: 40em; }
  .statement { max-width: 22em; }
}
@media (max-width: 760px) {
  .sheet-head { display: block; }
  .sheet-head p { margin-top: 12px; }
  .rows--half > li { display: block; }
  .sheet .text-cols > * { padding: 16px 0 18px; }
}

/* small helpers for the pages above */
.list-gap { margin-top: clamp(24px, 2.6vw, 36px); }
ul.text-cols, ul.pairs { list-style: none; }
.pairs h4 { font: 400 clamp(1.5rem, 1.25rem + .55vw, 1.875rem)/1.16 var(--display); letter-spacing: -.012em; text-wrap: balance; max-width: 14em; margin: 0; }
.prose > p:has(> .link-row:only-child) + p:has(> .link-row:only-child) { margin-top: 0; }
/* a time series: the first measure of each row is set in the display face */
.data--series td { padding-block: 13px 14px; font-size: 1rem; }
.data--series td:nth-child(2) { font: 400 1.5rem/1.15 var(--display); letter-spacing: -.008em; font-variant-numeric: lining-nums tabular-nums; }
.data--series th { width: 25%; }
/* a deeper full-bleed band for frames that need their height (desktop; tablet and phone already crop taller) */
@media (min-width: 1000px) { .photo-band--deep .shot { aspect-ratio: 2.2; } }
/* table cells centred on the big figure; a series reads along the baseline */
.data--middle td { vertical-align: middle; }
.data--series td { vertical-align: baseline; }
/* a standards mark without its ruled cell, top-aligned with the text beside it */
.std-mark--bare { border: 0; padding: 0; place-items: start; }
.std-mark--bare img { height: clamp(96px, 9.6vw, 136px); }
/* links inside a sheet of references wrap as a unit and keep a 44px target */
.sources--sheet a { display: inline-block; padding: 11px 0; margin: -11px 0; vertical-align: baseline; }
@media (max-width: 760px) {
  .data--stack caption { display: block; }
  .data--series th { width: auto; }
  .data--series td:nth-child(2) { font-size: 1.3125rem; }
}
@media (max-width: 380px) {
  .data--series th, .data--series td { padding-inline: 8px; }
  .data--series th { font-size: .6875rem; }
  .data--series th, .data--series td { padding-inline: 7px; }
}
.std-mark--bare img { max-width: min(70%, 260px); object-position: 0 0; }
