@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  font-style: normal; font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-style: italic; font-weight: 400; font-display: swap;
}
.home-page {
  --editorial: "Instrument Serif", Georgia, serif;
  --editorial-teal: #216568;
  --deep-teal: #163f44;
  --ivory: #f9f8f3;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pending: #8b5a17;
  --pending-surface: #fbf3e5;
  background: var(--white);
  color: var(--ink);
}
.home-page .shell { width: min(1320px, calc(100% - clamp(40px, 8vw, 120px))); }
.home-page .site-header { min-height: 66px; padding: 11px max(4vw, calc((100% - 1320px)/2)); }
.home-page .wordmark { gap: 9px; font: 600 17px/22px var(--font); letter-spacing: -.025em; }
.home-page .site-nav { display: flex; font-size: 14px; }
.home-page .nav-contact { background: white; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.home-page .nav-contact:hover { background: var(--paper); border-color: var(--muted); }
.home-menu { display: none; }
.home-page :is(a,button,summary):focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.home-page [hidden] { display: none; }
.home-lead { background: var(--ivory); border-bottom: 1px solid #dfdfd5; }
.lead-layout { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: center; gap: clamp(30px, 4vw, 66px); padding-block: clamp(48px, 5.5vw, 88px); }
.lead-copy h1 { font: 500 clamp(3rem, 4.35vw, 4.65rem)/1.04 var(--font); letter-spacing: -.055em; text-wrap: balance; }
.home-page :is(h1,h2) em { color: var(--editorial-teal); font: italic 400 1.12em/.98 var(--editorial); letter-spacing: -.025em; }
.home-page .lead-copy h1 em { display: block; margin-top: .09em; font-size: 1.01em; }
.lead-copy > p { max-width: 48ch; margin: 1.25rem 0 1.6rem; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.55; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-page .button { font-weight: 500; }
.home-page .button-lime:hover { transform: none; }
.home-page .button-ghost { background: transparent; border-color: #b6c5c4; }
.home-page .lead-actions .button-lime { background: var(--deep-teal); }
.home-page .lead-actions .button-lime:hover { background: var(--forest-deep); }
.home-page .button-ghost:hover { background: var(--paper); }

/* An embedded review workspace, with the same index, record and source treatments as the app. */
.workspace-mount {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  padding: clamp(18px, 2.7vw, 42px) clamp(14px, 2.2vw, 34px);
  background: var(--deep-teal); border-radius: 8px;
}
/* Parallel traces are confined to the surround so the document stays legible. */
.workspace-mount::before, .workspace-mount::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 76%; height: 95%; border: 1px solid #659293; border-radius: 70px;
  box-shadow: 0 0 0 7px var(--deep-teal), 0 0 0 8px #547f80, 0 0 0 15px var(--deep-teal), 0 0 0 16px #446f70;
}
.workspace-mount::before { top: 16px; left: -33%; transform: rotate(-14deg); }
.workspace-mount::after { bottom: -16%; right: -28%; transform: rotate(-15deg); }
.workbench { position: relative; min-width: 0; background: white; border: 1px solid #cbd6da; border-radius: 5px; overflow: clip; }
.bench-bar, .bench-path, .bench-footer, .record-bar, .point-meta, .output-figure figcaption, .dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bench-bar, .record-bar { padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.bench-path, .sample-label, .bench-footer, .record-bar { color: var(--muted); font-size: 12px; line-height: 18px; }
.bench-path { justify-content: start; gap: 9px; color: var(--ink); }
.mini-mark { display: grid; place-items: center; width: 23px; height: 23px; background: var(--ink); color: white; font: 9px/1 var(--mono); }
.bench-path > span:nth-child(2) { color: var(--muted); }
.bench-title { padding: 20px 20px 12px; }
.bench-title h2 { font: 600 clamp(1.4rem, 2vw, 1.625rem)/1.3 var(--font); letter-spacing: -.02em; }
.bench-title p { margin-top: 4px; font-size: 14px; line-height: 21px; color: var(--muted); }
.bench-tabs { display: flex; gap: 4px; padding: 0 16px 12px; border-bottom: 1px solid var(--line); }
.bench-tabs a { padding: 6px 10px; color: var(--muted); border-radius: 5px; text-decoration: none; font-size: 14px; line-height: 20px; }
.bench-tabs a span { font: 11px/16px var(--mono); margin-left: 3px; }
.bench-tabs a[aria-selected="true"] { background: var(--lime); color: var(--forest); font-weight: 500; }
.bench-tabs a:hover, .review-points a:hover { background: var(--sage); }
.review-split[data-enhanced] { display: grid; grid-template-columns: minmax(132px, .56fr) minmax(0, 1fr); }
.review-points { background: var(--paper); border-right: 1px solid var(--line); padding: 14px 0 12px; }
.ui-label, .home-label { text-transform: uppercase; font: 400 11px/16px var(--mono); letter-spacing: .045em; color: var(--muted); }
.review-points .ui-label { margin: 0 14px 9px; }
.review-points a { display: grid; align-content: center; gap: 2px; padding: 9px 14px; border-top: 1px solid var(--line); text-decoration: none; }
.review-points a:last-child { border-bottom: 1px solid var(--line); }
.review-points a span, .point-meta > span:first-child { font: 11px/16px var(--mono); color: var(--muted); }
.review-points a strong { color: var(--ink); font: 500 14px/20px var(--font); }
.review-points a[aria-selected="true"], .selected-record { box-shadow: inset 3px 0 var(--forest); background: var(--lime); }
.review-point { padding: 16px 18px; min-width: 0; }
.point-meta { gap: 6px; flex-wrap: wrap; }
.review-state { display: inline-block; border-radius: 4px; background: var(--pending-surface); color: var(--pending); font: 500 12px/18px var(--font); padding: 1px 7px; }
.review-point h3, .source-view h3 { margin: 12px 0 4px; font: 600 18px/26px var(--font); letter-spacing: -.015em; }
.review-point > p:not(.point-meta), .proposed-edit, .source-view > p:last-child { font: 400 14px/21px var(--font); color: var(--muted); }
.proposed-edit { margin-top: 14px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.proposed-edit .ui-label { margin-bottom: 6px; }
.proposed-edit :is(del,ins) { display: block; }
.proposed-edit ins { color: var(--forest); font-weight: 500; text-underline-offset: 2px; }
.source-view, .scope-view { padding: 16px 20px; }
.source-view blockquote { margin: 12px 0; padding: 11px 14px; border-left: 3px solid var(--forest); background: var(--lime); font: 500 16px/24px var(--font); }
.bench-views > [role="tabpanel"] { min-height: 225px; }
.work-table { border-collapse: collapse; width: 100%; text-align: left; table-layout: fixed; color: var(--ink); font: 400 14px/21px var(--font); }
.work-table :is(th,td) { padding: 8px 14px; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: middle; }
.work-table thead th { background: var(--paper); color: var(--muted); font: 400 11px/16px var(--mono); text-transform: uppercase; letter-spacing: .035em; }
.scope-view .work-table thead th { background: white; }
.scope-view .work-table :is(th,td) { padding: 3px 7px; }
.scope-view .work-table tbody th { font: 400 12px/18px var(--mono); }
.bench-footer { border-top: 1px solid var(--line); padding: 9px 16px; }
.bench-footer span:last-child { font: 11px/16px var(--mono); }

.home-proof, .home-projects, .home-interview, .home-page .people-section { padding-block: clamp(48px, 5.5vw, 84px); }
.home-proof { background: white; border-bottom: 1px solid var(--line); }
.proof-layout, .interview-layout { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.home-label { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; color: var(--editorial-teal); }
.home-label::before { content: ""; width: 25px; height: 1px; background: currentColor; }
.home-page :is(.proof-copy,.project-heading,.interview-layout,.section-head,.pilot-spread) h2 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.12; font-weight: 500; letter-spacing: -.04em; }
.proof-copy > p:not(.home-label), .case-study > p, .interview-layout div > p:not(.home-label) { margin: 14px 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.text-link, .output-figure figcaption a { color: var(--forest); font-size: 14px; font-weight: 500; text-underline-offset: 3px; }
.text-link:hover, .output-figure figcaption a:hover { color: var(--ink); }
.output-figure, .case-drawing { min-width: 0; overflow: clip; border: 1px solid var(--line); border-radius: 6px; background: white; }
.record-bar > span:first-child { color: var(--ink); font-weight: 500; }
.record-bar > span:last-child { font: 11px/16px var(--mono); }
.output-image { display: block; cursor: zoom-in; }
.output-image img { display: block; height: auto; width: 100%; }
.output-figure figcaption { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; line-height: 18px; color: var(--muted); }
.output-figure figcaption a { font-size: 12px; }
.home-projects { background: var(--ivory); }
.project-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.project-heading a { flex-shrink: 0; }
.project-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.case-drawing .record-bar { background: white; }
.case-drawing tbody tr:last-child > * { border-bottom: 0; }
.case-drawing .work-table :is(td,th) { padding: 10px clamp(9px,1.25vw,18px); }
.case-study h3 { margin-top: 18px; font: 600 clamp(1.3rem,2vw,1.75rem)/1.2 var(--font); letter-spacing: -.025em; }
.case-study > p { max-width: 58ch; margin: 8px 0 12px; }
.example-note { margin-top: 20px; font-size: 12px; color: var(--muted); }
.home-interview { background: var(--deep-teal); color: #f5f7f1; }
.home-interview .home-label { color: #b9d7ce; }
.interview-layout { grid-template-columns: minmax(0,.64fr) minmax(0,1.36fr); }
.interview-stat { font: italic 400 clamp(6rem,12.2vw,12rem)/.94 var(--editorial); letter-spacing: -.065em; color: #c4e2d7; }
.interview-layout > div { padding-left: clamp(20px,3.2vw,50px); border-left: 1px solid #55787a; }
.interview-layout div > p:not(.home-label) { color: #d3e1dd; }
.interview-layout div > p:last-child { margin-bottom: 0; }
.home-page .people-section { background: white; }
.home-page .section-head.centred { max-width: 720px; margin: 0; text-align: left; }
.home-page .proof { border-block: 1px solid var(--line); margin: 28px 0; padding: 16px 0; }
.home-page .proof-label { color: var(--muted); }
.home-page .people-grid { margin-top: 28px; }
.home-page .person-photo { border-radius: 4px; }
.home-page .reveal { animation: none; }
.home-page .watch-pilot { background: #e6efea; color: var(--ink); border-top: 1px solid var(--line); }
.home-page .watch-pilot p { color: var(--muted); }
.home-page .watch-pilot .button { background: var(--deep-teal); color: white; }
.home-page .watch-pilot .button:hover { background: var(--forest-deep); }
:is(#product-output, #overview-output) { width: min(1140px, 94vw); max-height: 92vh; border: 1px solid var(--line); border-radius: 6px; padding: clamp(14px,2vw,24px); color: var(--ink); }
:is(#product-output, #overview-output)::backdrop { background: rgb(26 44 53 / .75); }
.dialog-heading { margin-bottom: 12px; }
.dialog-heading h2 { font: 600 clamp(18px,2vw,24px)/1.25 var(--font); }
.dialog-heading button { font: 500 14px/20px var(--font); background: white; color: var(--ink); padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
:is(#product-output, #overview-output) img { display: block; width: 100%; height: auto; }
:is(#product-output, #overview-output) p { margin-top: 8px; font-size: 14px; }
@media (max-width: 990px) {
  .lead-layout { grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr); gap: 24px; padding-block: 48px; }
  .lead-copy h1 { font-size: clamp(2.65rem, 4.8vw, 3rem); }
  .review-split[data-enhanced] { grid-template-columns: 127px minmax(0,1fr); }
  .review-point { padding: 14px; }
}
@media (max-width: 800px) {
  .lead-layout, .proof-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .lead-copy h1 { font-size: clamp(2.55rem,6.8vw,3.7rem); max-width: 20ch; }
  .lead-copy > p { max-width: 62ch; }
  .review-split[data-enhanced] { grid-template-columns: minmax(132px,.56fr) minmax(0,1fr); }
  .home-page .site-nav { display: none; }
  .home-menu { display: block; margin-left: auto; position: relative; }
  .home-menu summary { cursor: pointer; padding: 8px 4px; font-size: 14px; }
  .home-menu nav { display: grid; position: absolute; top: 100%; right: 0; z-index: 22; width: 170px; padding: 4px; background: white; border: 1px solid var(--line); border-radius: 6px; }
  .home-menu nav a { padding: 9px 10px; text-decoration: none; }
  .home-menu nav a:hover { background: var(--lime); }
  .project-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 620px) {
  .home-page .shell { width: calc(100% - 36px); }
  .home-page .site-header { padding-inline: 16px; gap: 10px; }
  .lead-layout { padding-block: 36px; }
  .lead-copy > p { margin: 14px 0 20px; }
  .project-pair, .interview-layout { grid-template-columns: minmax(0,1fr); }
  .interview-layout { gap: 20px; }
  .interview-layout > div { border-left: 0; padding-left: 0; }
  .interview-stat { font-size: 6.75rem; }
}
@media (max-width: 480px) {
  .home-page .shell { width: calc(100% - 32px); }
  .home-page .site-header { min-height: 60px; padding: 8px 12px; gap: 8px; }
  .home-page .nav-contact { padding-inline: 9px; }
  .home-menu summary { list-style: none; }
  .home-menu summary::-webkit-details-marker { display: none; }
  .workspace-mount { margin-inline: -4px; padding: 13px 7px; border-radius: 6px; }
  .bench-bar { padding: 9px 10px; gap: 6px; }
  .bench-path { gap: 5px; }
  .mini-mark { display: none; }
  .sample-label { font-size: 10px; }
  .bench-title { padding: 14px 12px 10px; }
  .bench-tabs { padding: 0 7px 9px; gap: 2px; }
  .bench-tabs a { padding: 6px 8px; }
  .review-split[data-enhanced] { display: block; }
  .review-points { display: flex; align-items: stretch; padding: 0; border: 0; border-bottom: 1px solid var(--line); }
  .review-points .ui-label { display: none; }
  .review-points a { flex: 1; padding: 8px 4px; border: 0; justify-content: center; text-align: center; }
  .review-points a:last-child { border: 0; }
  .review-points a[aria-selected="true"] { box-shadow: inset 0 -2px var(--forest); }
  .review-points a strong { font-size: 11px; line-height: 14px; }
  .review-point { padding: 14px; }
  .bench-footer { padding: 8px 10px; gap: 6px; }
  .bench-footer span:last-child { font-size: 10px; }
  .source-view, .scope-view { padding: 15px 10px; }
}
@media (max-width: 360px) {
  .lead-copy h1 { font-size: 2.45rem; }
  .home-page .wordmark { font-size: 15px; }
  .bench-tabs a { padding-inline: 6px; font-size: 13px; white-space: nowrap; }
}
@media print {
  .home-menu, .home-page .site-header, :is(#product-output, #overview-output), .lead-actions { display: none; }
  .lead-layout, .proof-layout { grid-template-columns: 1fr; gap: 20px; }
}
