@font-face {
  font-family: Unbounded;
  src: url('fonts/unbounded.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Commissioner;
  src: url('fonts/commissioner.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --red: #D6312F;
  --paper: #FFFDFC;
  --ink: #3E1718;
  --soft: #F6EAE7;
  --display: Unbounded, sans-serif;
  --body: Commissioner, sans-serif;
  --gutter: clamp(20px, 3.3vw, 52px);
  --section: clamp(64px, 7vw, 112px);
  --small: 16px;
  --text: 18px;
  --title: clamp(23px, 2.1vw, 30px);
  --heading: clamp(28px, 2.8vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fast: 160ms;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; scrollbar-color: var(--red) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--text)/1.55 var(--body); text-rendering: optimizeLegibility; }
body, button, input, textarea, select { font-family: var(--body); }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button, input, textarea, select { font-size: inherit; color: inherit; }
button { cursor: pointer; border: 0; border-radius: 0; font-weight: 550; }
button, a { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .45; }
img { display: block; width: 100%; object-fit: cover; background: var(--soft); }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
p + p { margin-top: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.13; }
h2 { font-size: var(--heading); line-height: 1.24; }
h3 { font-size: var(--title); line-height: 1.28; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 10px; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.site-footer :focus-visible, .page-masthead :focus-visible,
.home-masthead :focus-visible, .request-masthead :focus-visible { outline-color: var(--paper); }
textarea, input { caret-color: var(--red); }
[hidden] { display: none !important; }
.wrap { margin-inline: auto; padding-inline: var(--gutter); max-width: 1600px; }
.reading { max-width: 67ch; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

/* A quiet header; the red belongs to the architecture, not every control. */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding: 18px var(--gutter); background: var(--paper); }
.wordmark { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-family: var(--display); font-size: clamp(16px, 1.5vw, 22px); font-weight: 650; letter-spacing: -.04em; text-decoration: none; color: var(--red); }
.wordmark svg { flex: 0 0 34px; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 20px; font-size: 16px; font-weight: 500; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; text-decoration: none; white-space: nowrap; }
.site-header nav a[aria-current=page] { color: var(--red); text-decoration: underline; }
.site-header nav .nav-action { min-height: 48px; padding: 12px 18px; background: var(--red); color: var(--paper); font-weight: 550; }
.menu-toggle { min-height: 44px; padding: 10px 14px; background: var(--soft); color: var(--ink); }

/* Text-only controls: intrinsic width, no accessory or reserved icon space. */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; padding: 12px 20px; background: var(--red); color: var(--paper); text-align: center; text-decoration: none; font: 550 16px/1.5 var(--body); }
.button.light { color: var(--ink); background: var(--paper); }
.button.secondary { background: var(--paper); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; padding-block: 10px; font-weight: 550; }
.button:not(:disabled):active { background: var(--ink); color: var(--paper); }

/* One red masthead and one full architectural frame, bound to the work scope. */
.home-masthead, .page-masthead { background: var(--red); color: var(--paper); padding: 40px var(--gutter) 32px; }
.home-masthead h1 { font-size: clamp(44px, 5.1vw, 74px); line-height: 1.12; letter-spacing: -.04em; }
.phone-break { display: none; }
.hero-baseline, .masthead-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-top: 24px; }
.hero-baseline p, .masthead-bottom p { max-width: 56ch; font-size: 20px; line-height: 1.5; }
.hero-baseline .button, .masthead-bottom .button { flex-shrink: 0; }
.scope-controls { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 26px; }
.scope-controls button { min-height: 44px; padding: 10px 23px; color: var(--paper); background: transparent; font-size: 16px; }
.scope-controls button[aria-pressed=true] { background: var(--paper); color: var(--ink); }
.scope-controls span { font-size: 16px; margin-left: 20px; }
.scope { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: 36px; padding-bottom: 0; }
.scope > * { min-width: 0; }
.scope-photo img { height: auto; aspect-ratio: 1.55; object-position: 50% 50%; }
.scope-photo figcaption { margin-top: 12px; font-size: 16px; line-height: 1.45; }
.scope-copy { padding-block: 18px; }
.scope-copy h2 { font-size: var(--title); }
.scope-copy > p { margin-top: 18px; max-width: 55ch; }
.scope-copy ul { margin-block: 22px 0; }
.home-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; padding-block: var(--section); }
.home-intro .reading { padding-top: 4px; }
.material-gallery { padding-bottom: var(--section); }
.gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.gallery-heading h2 { max-width: 20ch; }
.gallery-heading p { max-width: 35ch; }
.frame-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.frame-grid figure { min-width: 0; }
.frame-grid img { height: auto; aspect-ratio: 1.4; }
.frame-grid figure:first-child img { object-position: 50% 40%; }
.frame-grid figcaption { margin-top: 12px; font-size: 16px; line-height: 1.45; }
.process { padding-block: 60px 68px; background: var(--soft); }
.process h2 { max-width: 26ch; }
.process-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; list-style: none; padding: 0; margin: 38px 0 0; }
.process-row li { min-width: 0; margin: 0; }
.process-row h3 { font-size: var(--title); }
.process-row p { margin-top: 18px; max-width: 40ch; }
.faq { display: grid; grid-template-columns: .6fr 1.4fr; gap: 8vw; padding-block: var(--section); }
.faq h2 { font-size: var(--title); }
.faq-copy { columns: 2; column-gap: 40px; }
.faq-copy p { break-inside: avoid; margin: 0 0 24px; }
.faq-copy strong { font-weight: 650; }
.closing { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: 60px var(--gutter) 68px; background: var(--soft); }
.closing h2 { max-width: 18ch; }
.closing p { max-width: 52ch; }
.closing .button { margin-top: 24px; }

/* Internal routes: a dominant opening frame, then images attached to a claim. */
.page-masthead { padding-block: 40px 36px; }
.masthead-bottom { margin-top: 28px; }
.page-photo { padding-top: 28px; }
.wide-photo { height: auto; aspect-ratio: 2.55; object-position: center; }
.route-roofs .page-photo .wide-photo { aspect-ratio: 2.3; object-position: 50% 48%; }
.route-systems .page-photo .wide-photo { object-position: 50% 45%; }
.page-photo figcaption, .team-intro figcaption { font-size: 16px; line-height: 1.45; margin-top: 12px; }
.editorial { display: grid; grid-template-columns: .95fr 1.05fr; gap: 8vw; padding-block: var(--section); }
.editorial > * { min-width: 0; }
.editorial h2 { max-width: 18ch; }
.editorial-offset { padding-top: 0; }
.editorial-lead h2 { margin-bottom: 28px; }
.assembly-photo img { height: auto; aspect-ratio: 1.4; }
.assembly-photo figcaption { font-size: 16px; line-height: 1.45; margin-top: 12px; max-width: 48ch; }
.checklist { display: grid; grid-template-columns: .95fr 1.05fr; gap: 8vw; background: var(--soft); padding-block: 60px; }
.checklist h2 { font-size: var(--title); max-width: 20ch; }
.checklist ul { margin: 0; max-width: 58ch; }
.checklist li + li { margin-top: 20px; }
.team-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: center; padding-block: 36px var(--section); }
.team-intro .wide-photo { height: auto; aspect-ratio: .85; object-position: 50% 50%; }
.team-intro h2 { font-size: var(--heading); margin-bottom: 26px; max-width: 18ch; }
.profiles { padding-block: 60px; background: var(--soft); display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.profiles h2 { font-size: var(--title); }
.profiles dl { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.profiles dt { font: 600 21px/1.3 var(--display); letter-spacing: -.025em; margin-bottom: 16px; }
.profiles dd { font-size: 18px; }
.request-masthead { padding: 44px var(--gutter) 36px; background: var(--red); color: var(--paper); }
.request-masthead p { margin-top: 24px; max-width: 56ch; font-size: 20px; line-height: 1.5; }
.request-masthead .text-link { margin-top: 16px; }
.request-guide, .request-after { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; padding-block: var(--section); }
.request-after h2 { font-size: var(--title); max-width: 19ch; }

/* The two local-only preparation workspaces retain native safety states. */
.brief-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; padding-block: 64px; background: var(--soft); }
.brief-intro h2 { font-size: var(--title); margin-bottom: 24px; max-width: 20ch; }
.brief-intro > p { max-width: 36ch; }
.brief-workspace { min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { margin-bottom: 26px; }
.field label, .brief-result > label { display: block; font-weight: 550; margin-bottom: 9px; font-size: 18px; }
.field label span { font-size: 16px; font-weight: 400; }
.field input, .field select, .field textarea, .brief-result textarea { width: 100%; padding: 12px 14px; background: var(--paper); border: 1px solid var(--ink); border-radius: 0; min-height: 48px; line-height: 1.5; }
.field textarea, .brief-result textarea { resize: vertical; }
.field-hint { font-size: 16px; margin-top: 9px; line-height: 1.45; max-width: 58ch; }
.brief-result { margin-top: 40px; }
.brief-result > textarea { min-height: 200px; }
.output-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.brief-result [role=status] { font-size: 16px; margin-top: 18px; max-width: 60ch; }
.nojs-note { margin-top: 28px; max-width: 60ch; }

.site-footer { padding: 56px var(--gutter) 24px; background: var(--red); color: var(--paper); }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.footer-top p { font-family: var(--display); font-size: var(--title); line-height: 1.35; letter-spacing: -.025em; }
.footer-top .button { flex-shrink: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 36px; font-size: 18px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.photo-notes { max-width: 75ch; margin-block: 28px; }
.photo-notes summary { cursor: pointer; min-height: 44px; padding-block: 10px; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }
.photo-notes p { font-size: 16px; margin-top: 16px; }
.photo-notes a { overflow-wrap: anywhere; }
.footer-name { font-family: var(--display); font-weight: 600; letter-spacing: -.04em; font-size: clamp(25px, 6.8vw, 104px); line-height: 1.2; text-decoration: none; display: block; margin-top: 40px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: space-between; font-size: 16px; margin-top: 24px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.photo-credit-list { display: grid; gap: 1rem; margin: 1rem 0; padding-left: 1.25rem; font-size: 1rem; line-height: 1.5; min-width: 0; }
.photo-credit-list li, .photo-credit-list a, .photo-credit-data { overflow-wrap: anywhere; }
.photo-credit-list p, .photo-credit-data { font-size: 1rem; line-height: 1.5; max-width: 75ch; }
.photo-credit-list p { margin: .3rem 0; }
.photo-credit-list a, .photo-credit-data a { text-decoration: underline; text-underline-offset: .2em; }

@media (hover: hover) and (pointer: fine) {
  .site-header nav a:hover { color: var(--red); text-decoration: underline; }
  .site-header nav .nav-action:hover, .button:not(:disabled):hover { background: var(--ink); color: var(--paper); text-decoration: none; }
  .text-link:hover, .footer-links a:hover { text-decoration-thickness: 2px; text-decoration-line: underline; }
  .scope-controls button:not([aria-pressed=true]):hover { background: var(--ink); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button:not(:focus-visible):not(:disabled) { transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease); }
  .button:not(:focus-visible):not(:disabled):active { transform: scale(.985); }
}
@media (min-width: 1600px) {
  .home-masthead, .page-masthead, .request-masthead, .closing, .site-footer { padding-inline: max(var(--gutter), calc((100vw - 1496px)/2)); }
}
@media (max-width: 1190px) and (min-width: 1001px) {
  .site-header { gap: 14px; }
  .wordmark { font-size: 16px; }
  .wordmark svg { width: 28px; flex-basis: 28px; }
  .site-header nav { font-size: 14px; gap: 8px 12px; }
  .site-header nav .nav-action { padding-inline: 12px; }
}
@media (max-width: 1000px) {
  .site-header { flex-wrap: wrap; min-height: 80px; padding-block: 16px; }
  .wordmark { font-size: 19px; }
  .site-header nav { width: 100%; justify-content: flex-start; gap: 8px 22px; }
  .site-header nav .nav-action { padding-inline: 18px; }
  .hero-baseline, .masthead-bottom { gap: 28px; }
  .hero-baseline p, .masthead-bottom p { font-size: 18px; }
  .scope { grid-template-columns: 1.1fr 1fr; gap: 32px; }
  .scope-photo img { aspect-ratio: .94; }
  .scope-copy { padding-block: 6px; }
  .home-intro, .editorial, .team-intro { gap: 6vw; }
  .frame-grid { gap: 18px; }
  .process-row { gap: 28px; }
  .process-row h3 { font-size: 23px; }
  .faq { grid-template-columns: .6fr 1.4fr; gap: 5vw; }
  .faq-copy { columns: 1; }
  .profiles { grid-template-columns: 1fr; gap: 36px; }
  .brief-section { grid-template-columns: .7fr 1.3fr; gap: 5vw; }
}
@media (max-width: 700px) {
  :root { --gutter: 20px; --text: 17px; --heading: 28px; --title: 23px; --section: 64px; }
  h1 { font-size: clamp(28px, 7.6vw, 46px); line-height: 1.2; }
  h2, h3 { letter-spacing: -.03em; }
  .site-header { min-height: 78px; gap: 12px; }
  .wordmark { font-size: 16px; gap: 6px; }
  .wordmark svg { width: 27px; height: 32px; flex-basis: 27px; }
  .menu-toggle { font-size: 16px; padding-inline: 12px; }
  .site-header nav { font-size: 17px; gap: 6px 22px; }
  .home-masthead { padding-top: 30px; padding-bottom: 24px; }
  .home-masthead h1 { font-size: clamp(34px, 9.5vw, 54px); line-height: 1.13; }
  .phone-break { display: block; }
  .hero-baseline, .masthead-bottom { display: block; margin-top: 22px; }
  .hero-baseline p, .masthead-bottom p { font-size: 18px; line-height: 1.5; max-width: 44ch; }
  .hero-baseline .button, .masthead-bottom .button { margin-top: 20px; }
  .scope-controls { margin-top: 24px; }
  .scope-controls button { padding-inline: 23px; }
  .scope-controls span { display: none; }
  .scope { display: flex; flex-direction: column; align-items: stretch; gap: 30px; padding-top: 20px; }
  .scope-photo img { aspect-ratio: 1.4; }
  .scope-photo figcaption { font-size: 15px; margin-top: 10px; }
  .scope-copy { padding-block: 0; }
  .scope-copy > p { margin-top: 16px; }
  .scope-copy ul { margin-top: 20px; }
  .home-intro { display: block; }
  .home-intro h2 { max-width: 21ch; }
  .home-intro .reading { padding-top: 24px; }
  .gallery-heading { display: block; margin-bottom: 28px; }
  .gallery-heading p { margin-top: 18px; max-width: 36ch; }
  .frame-grid { grid-template-columns: 1fr; gap: 28px; }
  .frame-grid img { aspect-ratio: 1.5; }
  .frame-grid figcaption { font-size: 16px; margin-top: 10px; }
  .process { padding-block: 44px 48px; }
  .process h2 { max-width: 22ch; }
  .process-row { display: block; margin-top: 32px; }
  .process-row li + li { margin-top: 32px; }
  .process-row h3 { font-size: 23px; }
  .process-row p { margin-top: 14px; max-width: 50ch; }
  .faq { display: block; }
  .faq-copy { margin-top: 28px; }
  .faq-copy p { margin-bottom: 24px; }
  .closing { display: block; padding-block: 44px 48px; }
  .closing h2 { max-width: 18ch; }
  .closing p { margin-top: 24px; }
  .page-masthead { padding-top: 30px; padding-bottom: 30px; }
  .page-photo { padding-top: 20px; }
  .page-photo .wide-photo { aspect-ratio: 1.35; }
  .route-roofs .page-photo .wide-photo { aspect-ratio: 1.35; }
  .page-photo figcaption { font-size: 15px; margin-top: 10px; }
  .editorial { display: block; }
  .editorial h2 { max-width: 19ch; margin-bottom: 24px; }
  .editorial-lead { margin-bottom: 28px; }
  .assembly-photo img { aspect-ratio: 1.4; }
  .assembly-photo figcaption { font-size: 15px; }
  .checklist { display: block; padding-block: 42px; }
  .checklist ul { margin-top: 26px; padding-left: 22px; }
  .checklist li + li { margin-top: 18px; }
  .team-intro { display: flex; flex-direction: column; align-items: stretch; gap: 34px; padding-top: 20px; }
  .team-intro .wide-photo { aspect-ratio: 1; object-position: 50% 40%; }
  .team-intro figcaption { font-size: 15px; }
  .team-intro h2 { font-size: var(--title); margin-bottom: 22px; }
  .profiles { padding-block: 44px; gap: 30px; }
  .profiles dl { grid-template-columns: 1fr; gap: 30px; }
  .profiles dt { font-size: 22px; margin-bottom: 14px; }
  .profiles dd { font-size: 17px; }
  .request-masthead { padding-block: 32px; }
  .request-masthead h1 { font-size: clamp(28px, 7.7vw, 46px); }
  .request-masthead p { font-size: 18px; margin-top: 22px; }
  .request-guide, .request-after { display: block; padding-block: 56px; }
  .request-guide h2 { max-width: 19ch; }
  .request-guide .reading, .request-after .reading { margin-top: 24px; }
  .brief-section { display: block; padding-block: 44px; }
  .brief-intro > p { max-width: 50ch; }
  .brief-workspace { margin-top: 32px; }
  .brief-result { margin-top: 36px; }
  .field label { font-size: 17px; }
  .field label span { display: block; font-size: 15px; }
  .field-hint, .brief-result [role=status] { font-size: 15px; }
  .field input, .field select, .field textarea, .brief-result textarea { font-size: 17px; }
  .output-actions { gap: 8px; }
  .output-actions .button { padding-inline: 16px; }
  .site-footer { padding-top: 44px; }
  .footer-top { display: block; }
  .footer-top p { font-size: 23px; }
  .footer-top .button { margin-top: 24px; }
  .footer-links { gap: 4px 23px; margin-top: 28px; font-size: 17px; }
  .photo-notes { margin-block: 24px; }
  .footer-name { font-size: clamp(23px, 6.65vw, 46px); margin-top: 32px; }
  .footer-bottom { font-size: 15px; margin-top: 20px; }
}
@media (max-width: 350px) {
  .wordmark { font-size: 14px; }
  .wordmark svg { width: 22px; flex-basis: 22px; }
  .site-header { gap: 8px; }
  .menu-toggle { font-size: 15px; padding-inline: 10px; }
  .footer-name { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
