:root {
  color-scheme: dark;
  --ink: #0a0a0a;
  --panel: #1c1c1b;
  --bone: #f2f0eb;
  --red: #a60000;
  --mono: 'SFMono-Regular', Consolas, monospace;
  --pad: clamp(20px, 4.4vw, 72px);
  --section-space: clamp(56px, 6.25vw, 96px);
  --section-gap: clamp(28px, 3.2vw, 48px);
  --column-gap: clamp(32px, 4vw, 64px);
  --split: minmax(0, 5fr) minmax(0, 7fr);
  --body-secondary-on-light: #52524d;
  --body-secondary-on-dark: #d0cfc8;
  --muted-on-dark: #bcbab3;
  --rule-light: #c5c3bb;
  --rule-dark: #3a3936;
  --nav-height: 64px;
  --nav-inset: clamp(20px, 2.2vw, 48px);
  --nav-ease: cubic-bezier(.22, .72, .18, 1);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--ink);
  color: var(--bone);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); scrollbar-gutter: stable; }
body, h1, h2, h3, figure, p { margin: 0; }
body { line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { color: var(--ink); background: #d3d0c8; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
h1 { font-size: clamp(3.5rem, 6.7vw, 6.6rem); }
h2 { font-size: clamp(2.4rem, 4.2vw, 4.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.18; letter-spacing: -.035em; }
.shell, .section-wrap { width: 100%; max-width: 1520px; margin-inline: auto; padding-inline: var(--pad); }
.band { padding-block: var(--section-space); }
.paper { background: var(--bone); color: var(--ink); color-scheme: light; }
.micro, .eyebrow { font: .875rem/1.5 var(--mono); letter-spacing: 0; }
.overline { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.overline::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.button, .underlink, .text-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: .9375rem; font-weight: 500; }
.button { padding: 10px 20px; border: 1px solid #6c6b67; background: transparent; color: inherit; }
.button:hover { border-color: currentColor; }
.button.pale, .button-red { color: var(--ink); background: var(--bone); border: 1px solid var(--bone); }
.button.pale:hover, .button-red:hover { background: #d6d3cd; }
.underlink, .text-link { background: transparent; color: inherit; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.skip-link { position: absolute; z-index: 20; padding: .75rem; background: var(--bone); color: var(--ink); transform: translateY(-110%); }
.skip-link:focus { transform: none; }
.wordmark { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.wordmark img { display: block; width: clamp(140px, 13vw, 184px); height: auto; }
.masthead {
  position: sticky; top: 0; z-index: 10;
  background: #000; color: #fff;
}
.masthead.nav-away:not(:has(:focus-visible)) {
  transform: translateY(-100%);
  transition: transform 300ms var(--nav-ease);
}
.site-header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: var(--nav-height); padding-inline: var(--nav-inset);
}
.site-header .wordmark { justify-self: start; }
.site-header .wordmark img { width: 112px; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 1.65vw, 32px); }
.primary-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: .875rem; line-height: 1; letter-spacing: 0; white-space: nowrap;
}
.primary-nav a::after {
  content: ''; position: absolute; inset: auto 0 11px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 200ms var(--nav-ease);
}
.primary-nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.site-header .nav-contact {
  justify-self: end; gap: 12px; min-height: 40px; padding: 8px 16px;
  font-size: .875rem; line-height: 1; letter-spacing: 0;
}
.nav-plus { position: relative; width: 10px; height: 10px; transition: transform 260ms var(--nav-ease); }
.nav-plus::before, .nav-plus::after { content: ''; position: absolute; inset: calc(50% - .5px) 0 auto; height: 1px; background: currentColor; }
.nav-plus::after { transform: rotate(90deg); }
button:is(:hover, :focus-visible) .nav-plus { transform: rotate(90deg); }
.nav-contact, .contact-action {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.nav-contact:hover, .contact-action:hover { background: #800000; border-color: #800000; }
.hero { background: var(--ink); }
.hero-scene {
  display: grid;
  grid-template-rows: 47% 53%;
  align-items: start;
  justify-items: center;
  position: relative;
  isolation: isolate;
  height: clamp(456px, 42vw, 800px);
  text-align: center;
  overflow: hidden;
}
.hero-visual { position: absolute; inset: 0; z-index: -1; width: 100%; }
.hero-photo, .hero-thread-mask { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: center; }
.hero-thread-mask { visibility: hidden; pointer-events: none; }
.hero-title-block { align-self: end; padding-bottom: clamp(24px, 2.5vw, 48px); }
.lab-label { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .9375rem; color: var(--body-secondary-on-dark); }
.lab-label::before { content: ''; width: 24px; height: 2px; background: var(--red); }
.hero h1 { margin-top: 16px; font-size: clamp(4rem, 6.25vw, 7rem); letter-spacing: -.055em; line-height: .98; }
.hero-intro { display: grid; justify-items: center; width: min(44%, 34rem); padding-top: clamp(24px, 2.6vw, 48px); }
.hero-intro p { font-size: clamp(1.0625rem, 1.44vw, 1.3125rem); line-height: 1.48; text-wrap: pretty; color: var(--bone); }
.hero-actions { margin-top: 24px; }
.hero-baseline { background: var(--ink); color: var(--muted-on-dark); }
.hero-notes { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 12px; min-height: 52px; font-size: .875rem; }
.location { display: flex; align-items: center; gap: 8px; }
.location::before { content: ''; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }

.section-intro, .service-layout, .team-list article, .eu .shell {
  display: grid;
  grid-template-columns: var(--split);
  column-gap: var(--column-gap);
}
.section-intro { align-items: end; row-gap: 16px; margin-bottom: var(--section-gap); }
.section-intro h2 { text-wrap: balance; }
.section-intro p { max-width: 49ch; font-size: clamp(1rem, 1.32vw, 1.25rem); color: var(--body-secondary-on-dark); }
.paper .section-intro p { color: var(--body-secondary-on-light); }

#audits, .tl-focus { border-top: 1px solid var(--rule-light); }
.service-layout { align-items: start; }
.service-tabs { display: grid; border-top: 1px solid var(--rule-light); }
.service-tabs button {
  position: relative;
  min-height: 64px;
  padding: 16px 20px;
  border: 0;
  border-bottom: 1px solid var(--rule-light);
  background: transparent;
  color: var(--body-secondary-on-light);
  text-align: left;
  font-size: clamp(1.0625rem, 1.55vw, 1.4375rem);
  line-height: 1.28;
  letter-spacing: -.02em;
}
.service-tabs button[aria-selected="true"] { color: #fff; background: var(--red); border-color: var(--red); }
.service-tabs button:not([aria-selected="true"]):hover { color: var(--red); }
.service-tabs button:focus-visible { z-index: 1; outline-offset: -4px; }
.service-detail {
  min-width: 0;
  padding: clamp(24px, 3vw, 44px);
  background: var(--panel);
  color: var(--bone);
}
.service-detail [role="tabpanel"] > h3 { font-size: clamp(1.5rem, 2vw, 2rem); text-wrap: balance; }
.service-detail [role="tabpanel"] > p { max-width: 62ch; margin-top: 12px; color: var(--body-secondary-on-dark); }
.service-detail [role="tabpanel"] > ul { margin: 20px 0 0; padding-left: 1.2em; color: var(--body-secondary-on-dark); }
.service-detail li + li { margin-top: 4px; }
.service-contact { margin-top: 16px; }
#research { scroll-margin-top: 12px; }

.eu { background: var(--panel); }
.eu .overline::before, .team .overline::before { height: 3px; background: var(--red); }
.eu .shell { align-items: start; row-gap: 20px; }
.market-intro { grid-row: span 2; }
.market-intro .section-intro { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; }
.market-intro .section-intro p { max-width: 36ch; }
.steps { display: grid; }
.steps article { border-top: 3px solid var(--red); padding: 20px 0 24px; }
.steps article:last-child { padding-bottom: 0; }
.steps h3 { font-size: clamp(1.375rem, 1.8vw, 1.75rem); }
.steps p { max-width: 60ch; margin-top: 8px; color: var(--body-secondary-on-dark); }
.small-note { max-width: 62ch; padding-top: 16px; border-top: 1px solid var(--rule-dark); font-size: .875rem; color: var(--muted-on-dark); }

.team-list { border-top: 1px solid var(--rule-dark); }
.team-list article { align-items: baseline; padding-block: 24px; border-bottom: 1px solid var(--rule-dark); }
.team-list article > div { display: grid; align-items: baseline; grid-template-columns: minmax(100px, 30%) 1fr; gap: 16px; }
.team-list h3 { font-size: clamp(1.25rem, 1.65vw, 1.75rem); }
.team-list .micro { color: var(--muted-on-dark); }
.team-list p { max-width: 48ch; color: var(--body-secondary-on-dark); }

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px 24px;
  border-top: 1px solid var(--rule-dark);
  padding-block: 24px;
}
.footer .wordmark img { width: 120px; }
.footer > span { color: var(--muted-on-dark); font-size: .875rem; }
.footer-email {
  display: inline-flex; align-items: center; justify-self: start;
  min-width: 0; overflow-wrap: anywhere;
  min-height: 44px; font-size: 1rem;
  text-decoration: underline; text-underline-offset: .22em; text-decoration-color: var(--muted-on-dark);
}
.footer-email:is(:hover, :focus-visible) { text-decoration-color: currentColor; }

@media (max-width: 60rem) {
  .hero-scene { display: flex; flex-direction: column; align-items: center; height: auto; }
  .hero-title-block { order: 0; align-self: center; max-width: 100%; padding: 32px var(--pad) 8px; }
  .hero h1 { font-size: clamp(2.375rem, 11.5vw, 4.75rem); }
  .hero-visual { position: relative; z-index: auto; order: 1; aspect-ratio: 3.6; }
  .hero-intro { order: 2; width: min(100%, 34rem); padding: 16px var(--pad) 32px; }
  .hero-actions { margin-top: 20px; }
  .team-list article > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 46rem) {
  :root { --split: minmax(0, 1fr); --column-gap: 0px; }
  .band .section-intro h2 br { display: none; }
  .section-intro { align-items: start; }
  .section-intro p, .market-intro .section-intro p { max-width: 52ch; }
  .service-layout { row-gap: 12px; }
  .service-tabs button { min-height: 52px; padding: 12px 16px; }
  .service-detail { padding: clamp(20px, 5vw, 32px); }
  .eu .shell { row-gap: 24px; }
  .market-intro { grid-row: auto; }
  .market-intro .section-intro { gap: 16px; margin-bottom: 8px; }
  .team-list article { row-gap: 8px; padding-block: 20px; }
  .footer { grid-template-columns: 1fr auto; grid-template-areas: "brand contact" "email credit"; }
  .footer .wordmark { grid-area: brand; justify-self: start; }
  .footer .contact-action { grid-area: contact; justify-self: end; }
  .footer-email { grid-area: email; }
  .footer > span { grid-area: credit; }
}
@media (max-width: 28rem) {
  .footer { grid-template-areas: "brand contact" "email email" "credit credit"; row-gap: 4px; }
}
@media (max-width: 42rem) {
  :root { --nav-height: 96px; }
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand contact" "links links";
    grid-template-rows: minmax(52px, auto) auto;
  }
  .site-header .wordmark { grid-area: brand; }
  .site-header .nav-contact { grid-area: contact; }
  .primary-nav { grid-area: links; justify-content: space-between; flex-wrap: wrap; gap: 0 8px; }
  .team { padding-block: 32px 24px; }
  .team .overline { margin-bottom: 8px; }
  .team .section-intro { gap: 8px; margin-bottom: 16px; }
  .team .section-intro h2 { font-size: clamp(1.75rem, 7.8vw, 2.4rem); }
  .team .section-intro p, .team-list p { line-height: 1.4; }
  .team-list article { row-gap: 4px; padding-block: 10px; }
  .team-list article > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
  .team-list h3 { order: -1; font-size: 1.125rem; }
  .team-list .team-specialty { display: none; }
  .lab-label { font-size: .875rem; gap: 8px; }
  .hero-notes { flex-wrap: wrap; min-height: 44px; gap: 4px 16px; font-size: .8125rem; }
  .hero-visual {
    aspect-ratio: 2.8;
    mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.tl-focus {
  background: var(--bone);
  color: var(--ink);
  color-scheme: light;
  padding-block: var(--section-space, clamp(4rem, 7vw, 7rem));
}
.tl-focus-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 3rem;
  margin-bottom: var(--section-gap, clamp(1.75rem, 3vw, 3rem));
}
.tl-focus-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.tl-focus-controls button,
.tl-detail-head button {
  min-height: 44px;
  padding: .5rem 1rem;
  background: transparent;
  color: #1c1c1b;
  border: 1px solid #96958e;
  border-radius: 0;
  font: inherit;
  font-size: .94rem;
}
.tl-focus-controls button:hover,
.tl-detail-head button:hover { border-color: #1c1c1b; }
.tl-focus-controls button[aria-pressed="true"] {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.tl-focus-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.45fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(.85rem, 2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  touch-action: pan-y pinch-zoom;
}
.tl-focus-slide { position: relative; min-width: 0; grid-row: 1; }
.tl-focus-slide[data-slot="previous"] { grid-column: 1; }
.tl-focus-slide[data-slot="current"] { grid-column: 2; }
.tl-focus-slide[data-slot="next"] { grid-column: 3; }
.tl-focus-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}
.tl-focus-slide[data-slot="current"] .tl-focus-preview { display: none; }
.tl-focus-photo {
  overflow: hidden;
  background: #d7d6d1;
}
.tl-focus-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.4;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  transition: transform 250ms ease;
}
.tl-focus-slide[data-slot="current"] .tl-focus-photo img { aspect-ratio: 1.64; }
.tl-focus-slide[data-type="humanoids"] img { object-position: center 26%; }
.tl-focus-slide[data-type="service"] img { object-position: center 70%; }
.tl-focus-caption { padding-top: .9rem; }
.tl-focus-slide[data-slot="current"] .tl-focus-photo { border-bottom: 3px solid var(--red); }
.tl-focus-type {
  margin: 0 0 .4rem;
  font: .8rem/1.35 var(--mono, monospace);
  color: var(--body-secondary-on-light, #585851);
}
.tl-focus-caption h3 {
  margin: 0;
  font-size: clamp(1.05rem,1.55vw,1.5rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.tl-focus-slide[data-slot="current"] .tl-focus-caption h3 {
  font-size: clamp(1.65rem,2.4vw,2.6rem);
  letter-spacing: -.045em;
}
.tl-focus-scenario {
  display: none;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
  gap: .3rem 1.4rem;
  padding-top: .65rem;
}
.tl-focus-slide[data-slot="current"] .tl-focus-scenario { display: grid; }
.tl-focus-scenario p {
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.45;
  color: #32322f;
}
.tl-focus-action {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #940000;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: .23em;
}
.tl-focus-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.tl-focus-action:focus-visible,
.tl-focus button:focus-visible,
.tl-focus-detail :is(a,button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (hover: hover) {
  .tl-focus-slide:not([data-slot="current"]):hover img { transform: scale(1.025); }
  .tl-focus-slide:not([data-slot="current"]):hover h3 { text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1px; }
}
@media (max-width: 900px) {
  .tl-focus-track { display: block; }
  .tl-focus-slide:not([data-slot="current"]) { display: none; }
  .tl-focus-slide[data-slot="current"] .tl-focus-photo img { aspect-ratio: 1.75; }
}
@media (max-width: 640px) {
  .tl-focus-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .tl-focus-controls button { padding-inline: .25rem; }
  .tl-focus-slide[data-slot="current"] .tl-focus-photo img { aspect-ratio: 1.4; }
  .tl-focus-scenario { grid-template-columns: 1fr; gap: .15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-focus-photo img { transition: none; }
}
.tl-focus-detail {
  --detail-pad: clamp(1rem, 2.4vw, 2rem);
  width: 100%;
  margin-top: .5rem;
  padding: 0 var(--detail-pad) var(--detail-pad);
  background: #e9e7e1;
  border-top: 1px solid #a6a49c;
  overflow-wrap: anywhere;
}
.tl-focus-slide:not([data-slot="current"]) .tl-focus-detail { display: none; }
.tl-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid #c5c2b9;
}
.tl-detail-head p { margin: 0; font: .875rem/1.5 var(--mono, monospace); }
.tl-detail-head button { flex: none; }
.tl-detail-body { padding-top: clamp(1rem, 2vw, 1.5rem); }
.tl-detail-body h4 {
  margin: 0 0 .65rem;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.tl-detail-body h5 {
  margin: 1.35rem 0 .35rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -.015em;
}
.tl-detail-body > p, .tl-focus-detail li { max-width: 62ch; color: var(--body-secondary-on-light, #43433e); font-size: 1rem; line-height: 1.55; }
.tl-focus-detail ul { margin: 0; padding-left: 1.1rem; }
.tl-focus-detail li + li { margin-top: .3rem; }
.tl-photo-credit {
  margin-top: 1.7rem;
  padding-top: 1rem;
  border-top: 1px solid #b8b6ae;
  color: #575750;
  font-size: .84rem;
  line-height: 1.6;
}
.tl-photo-credit strong { display: block; font-weight: 600; }
.tl-photo-credit a { text-decoration: underline; text-underline-offset: .16em; }

@media screen and (prefers-reduced-motion: no-preference) {
  .tl-focus-detail[data-state="opening"] { animation: tl-sheet-open 280ms cubic-bezier(.22, .72, .18, 1) both; }
  .tl-focus-detail[data-state="closing"] { animation: tl-sheet-close 160ms ease-in both; }
  @keyframes tl-sheet-open {
    from { opacity: 0; transform: translateY(-.45rem); clip-path: inset(0 0 100%); }
    to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
  }
  @keyframes tl-sheet-close {
    from { opacity: 1; transform: translateY(0); clip-path: inset(0); }
    to { opacity: 0; transform: translateY(-.3rem); clip-path: inset(0 0 100%); }
  }
}
.sample-report {
  container-type: inline-size;
  margin-block: 1.25rem;
  min-width: 0;
  color: var(--bone);
  background: var(--panel);
  border-block: 1px solid #5b5b54;
}

.sample-report > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: .7rem .25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

.sample-report > summary::-webkit-details-marker { display: none; }
.sample-report > summary:hover { text-decoration: underline; text-underline-offset: .22em; }
.sample-report > summary:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }

.sample-report-toggle {
  position: relative;
  flex: none;
  width: .875rem;
  height: .875rem;
}

.sample-report-toggle::before, .sample-report-toggle::after {
  content: "";
  position: absolute;
  inset: calc(50% - .5px) 0 auto;
  height: 1px;
  background: currentColor;
}

.sample-report-toggle::after { transform: rotate(90deg); }
.sample-report[open] .sample-report-toggle::after { display: none; }

.sample-report-sheet {
  margin: 0 0 1rem;
  padding: clamp(1rem, 2.4vw, 2rem);
  color-scheme: light;
  color: var(--ink);
  background: var(--bone);
  border-top: 2px solid var(--red);
  overflow-wrap: anywhere;
}

.sample-report-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .125rem 1rem;
  color: #51514b;
  font: .875rem/1.45 var(--mono);
}

.sample-report-title {
  margin: clamp(1rem, 4cqi, 1.55rem) 0 .35rem;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 500;
}

.sample-report-note { color: #53534e; line-height: 1.45; }
.sample-report-findings { margin: 1.25rem 0 0; line-height: 1.45; }

.sample-report-findings > div {
  display: grid;
  grid-template-columns: minmax(6.75rem, 28%) minmax(0, 1fr);
  gap: .2rem 1rem;
  padding-block: .7rem;
  border-top: 1px solid #c5c3bb;
}

.sample-report-findings dt { font-weight: 600; }
.sample-report-findings dd { margin: 0; }
.sample-report-findings > div:last-child { padding-bottom: 0; }
.sample-report-verdict { color: var(--red); font-family: var(--mono); }

@container (max-width: 26rem) {
  .sample-report-meta { flex-direction: column; }
  .sample-report-findings > div { grid-template-columns: minmax(0, 1fr); }
}
.site-dialog {
  --dialog-inset: clamp(1.15rem, 3.2vw, 2.5rem);
  color-scheme: light;
  width: min(36rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: var(--dialog-inset);
  border: 1px solid #8e8d86;
  background: var(--bone);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
}

.site-dialog::backdrop { background: rgb(10 10 10 / .75); }

.site-dialog .dialog-close {
  position: absolute;
  inset: var(--dialog-inset) var(--dialog-inset) auto auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #b5b3ab;
  background: var(--bone);
  color: var(--ink);
  font: 1.55rem/1 Arial, sans-serif;
}

.site-dialog .dialog-close:hover { border-color: var(--ink); }
.dialog-content { min-width: 0; }
.dialog-content > h2 {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-right: 3.5rem;
  font-size: clamp(1.95rem, 5vw, 2.75rem);
  line-height: 1.04;
}

.dialog-intro {
  max-width: 56ch;
  margin-top: .75rem;
  color: #484742;
  line-height: 1.52;
}

#brief-form { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 1.5rem; }
#brief-form label { margin: 1.05rem 0 .4rem; font-size: 1rem; line-height: 1.35; font-weight: 500; }
#brief-form label:first-of-type { margin-top: 0; }
#brief-form label span { color: #5a5953; font-weight: 400; }
#brief-form :is(input, select, textarea) {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: .62rem .75rem;
  border: 1px solid #85837c;
  border-radius: 0;
  background: #faf9f5;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

#brief-form :is(input, textarea)::placeholder { color: #66655e; opacity: 1; }
#brief-form textarea { resize: vertical; min-height: 6rem; }
#brief-form .select-wrap { position: relative; }
#brief-form select { appearance: none; padding-right: 2.2rem; }
#brief-form .select-wrap::after {
  content: '';
  position: absolute;
  right: .95rem;
  top: 50%;
  width: .45rem;
  height: .45rem;
  pointer-events: none;
  border: solid var(--ink);
  border-width: 0 1px 1px 0;
  transform: translateY(-70%) rotate(45deg);
}

.site-dialog .button-red {
  min-height: 44px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bone);
}
.site-dialog .button-red:hover { background: #33332f; }
.site-dialog :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
#brief-form > button { margin-top: 1.5rem; }

.enquiry-status { color: #484742; font-size: .94rem; }
.enquiry-status:not(:empty) { margin-top: .8rem; }
.hero-line, .hero-line > span { display: block; }

/* Cover the photographed thread before the deferred script starts. If the
   script is unavailable, release it automatically and show the original. */
@media screen and (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .hero-scene:not([data-thread-intro]) .hero-thread-mask {
    visibility: visible;
    animation: thread-fallback 0s 1500ms forwards;
  }
  @keyframes thread-fallback { to { visibility: hidden; } }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .hero, .band, .tl-focus {
    --reveal-ease: cubic-bezier(.2, .75, .2, 1);
  }

  .hero-scene[data-thread-intro="waiting"] .hero-thread-mask,
  .hero-scene[data-thread-intro="playing"] .hero-thread-mask {
    visibility: visible;
  }
  .hero-scene[data-thread-intro="waiting"] .hero-line + .hero-line > span {
    transform: translateY(12px);
  }
  .hero-scene[data-thread-intro="playing"] .hero-thread-cover {
    transform-box: fill-box;
    transform-origin: right center;
    animation: thread-connect 400ms cubic-bezier(.35, 0, .35, 1) forwards;
  }
  .hero-scene[data-thread-intro="playing"] .hero-line + .hero-line > span {
    animation: thread-title-settle 300ms var(--reveal-ease) 400ms backwards;
  }

  [data-scroll-motion] {
    --phase: var(--scroll-edge, 0);
    --travel: clamp(26px, 5.8vh, 58px);
    opacity: calc(1 - .86 * var(--phase));
  }

  [data-scroll-motion="text"] {
    clip-path: inset(-.08em -.15em);
  }
  .scroll-ink { display: block; translate: 0 calc(var(--phase) * var(--travel)); }
  [data-scroll-motion="group"] > * {
    translate: 0 calc(var(--phase) * var(--travel));
  }
  [data-scroll-motion="group"] > :nth-child(n+2) { --travel: clamp(36px, 7.5vh, 72px); }
  [data-scroll-motion="photo"] {
    opacity: calc(1 - .48 * var(--phase));
    clip-path: inset(calc(var(--phase) * 9%) calc(var(--phase) * 12%) 0);
  }
  .tl-focus-photo[data-scroll-motion] img {
    scale: calc(1 + .11 * var(--phase));
  }
  [data-scroll-motion]:is(:focus-within, :target),
  .service-detail [role="tabpanel"]:focus-within [data-scroll-motion] {
    --phase: 0;
    clip-path: none;
  }

  .tl-focus-track.has-switched [data-slot="current"] .tl-focus-photo img {
    animation: robot-frame-in 220ms var(--reveal-ease);
  }

  .tl-focus-track.has-switched [data-slot="current"] :is(.tl-focus-caption, .tl-focus-scenario) {
    animation: robot-frame-in 220ms var(--reveal-ease);
  }

  @keyframes thread-title-settle {
    from { transform: translateY(12px); }
    to { transform: translateY(0); }
  }

  @keyframes thread-connect {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
  }

  @keyframes copy-enter {
    from { opacity: 0; transform: translateY(.85rem); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes robot-frame-in {
    from { opacity: .25; }
    to { opacity: 1; }
  }
}
