/* Builders of the Bay — site styles.
   Palette comes from the logo (graphite, steel, window orange) and the
   twilight photos (dusk). One family, Archivo; headings sit just above
   normal width at a medium weight (the owner found the extended, bold
   setting too heavy, 2026-11-01). */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-Variable-latin.woff2") format("woff2");
  font-weight: 400 760;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --graphite: #35373b;
  --steel: #8a8d92;
  --steel-ink: #62656a;   /* steel darkened for text on white (5.9:1) */
  --concrete: #ecedef;
  --paper: #ffffff;
  --orange: #f28a1e;
  --dusk: #25304a;
  --dusk-ink: #cdd3e0;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--graphite); outline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0;
  font-stretch: 102%;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 2rem + 3.6vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem); font-weight: 580; }
h3 { font-size: 1.35rem; font-weight: 600; font-stretch: 100%; line-height: 1.2; letter-spacing: -0.005em; }
h4 { font-size: 1.3rem; font-weight: 600; font-stretch: 100%; line-height: 1.2; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--graphite); color: var(--paper);
  padding: 0.6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  border: 2px solid transparent; border-radius: 2px;
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-call { background: var(--orange); color: var(--graphite); }
.btn-call:hover { background: #f59b42; text-decoration: none; }
.btn-line { border-color: var(--graphite); color: var(--graphite); }
.btn-line:hover { background: var(--graphite); color: var(--paper); text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--concrete);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 5.25rem;
}
.brand { display: block; flex: none; }
.brand img { width: 100px; height: auto; }
.site-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); margin: 0; padding: 0; list-style: none; }
.site-nav a { font-weight: 600; font-size: 1rem; text-decoration: none; padding-block: 0.5rem; }
.site-nav a:hover { text-decoration: underline; }
.header-cta { flex: none; }

@media (max-width: 52rem) {
  .header-bar { flex-wrap: wrap; min-height: 4.25rem; gap: 0.25rem 1rem; padding-block: 0.4rem; }
  .brand img { width: 78px; }
  .header-cta .btn { min-height: 2.75rem; padding: 0.55rem 1rem; font-size: 0.95rem; }
  .site-nav { order: 3; width: 100%; border-top: 1px solid var(--concrete); }
  .site-nav ul { overflow-x: auto; padding-block: 0.35rem; gap: 1.25rem; scrollbar-width: none; }
  .site-nav a { white-space: nowrap; font-size: 0.95rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 6vw, 5.5rem) var(--space); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.hero-copy h1 { max-width: 12ch; }
.lede { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.15rem, 1rem + 0.45vw, 1.3rem); color: var(--graphite); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.creds { margin: 2.25rem 0 0; padding: 1.25rem 0 0; list-style: none; border-top: 1px solid var(--concrete); display: grid; gap: 0.35rem; font-size: 1rem; color: var(--steel-ink); }
.creds strong { color: var(--graphite); font-weight: 650; }
.creds a { color: var(--steel-ink); }

/* The roofline frame: the logo's nested gables drawn around the photo */
/* Like the logo: three roof lines, the lit window in the white attic under them,
   and the photo as the body of the house below the eaves.
   In the 520 x 480 box the photo spans x 75–445 and y 206.6–480. */
.roof { position: relative; width: 100%; max-width: 38rem; margin-inline: auto; aspect-ratio: 520 / 480; }
.roof picture { position: absolute; left: 14.42%; right: 14.42%; top: 43.04%; bottom: 0; }
.roof img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.roof svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.roof .line { fill: none; stroke-linejoin: miter; stroke-miterlimit: 8; }
.roof .l1 { stroke: var(--graphite); stroke-width: 16; }
.roof .l2 { stroke: #75787d; stroke-width: 13; }
.roof .l3 { stroke: #a3a6aa; stroke-width: 10; }
.roof .window rect { fill: var(--orange); }

@media (prefers-reduced-motion: no-preference) {
  .roof .line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.6, 0, .2, 1) forwards; }
  .roof .l2 { animation-delay: 0.15s; }
  .roof .l3 { animation-delay: 0.3s; }
  .roof .window { opacity: 0; animation: light 0.5s ease-out 1.25s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes light { to { opacity: 1; } }
}

@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .roof { max-width: 30rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section-tint { background: var(--concrete); }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--steel-ink); font-size: 1.15rem; }

/* Recent work: 1 large, 1 wide and 6 regular tiles on a 4-column grid */
.gallery {
  display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(9rem, 15vw, 14.5rem);
}
.gallery li { min-width: 0; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.tile { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--concrete); }
.tile picture, .tile img { width: 100%; height: 100%; }
.tile img { object-fit: cover; transition: transform 0.4s ease; }
.tile:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }
@media (max-width: 40rem) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9.5rem; gap: 0.5rem; }
}

/* What we build */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); margin: 0; padding: 0; list-style: none; }
.services li { display: grid; gap: 0.9rem; align-content: start; }
.services p { color: var(--graphite); }
@media (max-width: 52rem) { .services { grid-template-columns: minmax(0, 1fr); } }

/* The logo's four-pane window, used as the marker for each service */
.pane {
  width: 1.75rem; height: 1.75rem;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 46% 46% no-repeat,
    linear-gradient(var(--orange), var(--orange)) 100% 0 / 46% 46% no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 100% / 46% 46% no-repeat,
    linear-gradient(var(--orange), var(--orange)) 100% 100% / 46% 46% no-repeat;
}

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-copy { display: grid; gap: 1.25rem; }
.about-copy h2 { margin-bottom: 0.25rem; }
.about-figure { margin: 0; }
.about-figure img { width: 100%; }
.about-figure figcaption { margin-top: 0.75rem; color: var(--steel-ink); font-size: 1rem; }
.text-link { font-weight: 650; }
@media (max-width: 52rem) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-figure { order: -1; } }

/* Projects: completed and upcoming groups of cards (home page and projects page) */
.project-group + .project-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.group-title { margin-bottom: 1.25rem; padding-bottom: 0.6rem; border-bottom: 1px solid #d0d2d6; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin: 0; padding: 0; list-style: none; }
.project { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 1rem; margin: 0; }
.project .frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); border: 1px solid #d9dbde; }
.project .frame picture { height: 100%; }
.project .frame img { width: 100%; height: 100%; object-fit: cover; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-link:hover { text-decoration: underline; }
.more { margin-top: clamp(2rem, 4vw, 3rem); }
.project .frame.sketch img { object-fit: contain; background: #fff; }
.project figcaption { display: grid; gap: 0.25rem; }
.project figcaption span { color: var(--steel-ink); font-size: 1rem; }
.project-next {
  display: grid; align-content: start; gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem); background: var(--graphite); color: var(--paper);
}
.project-next .pane { margin-bottom: 0.25rem; }
.project-next p { color: #d6d8dc; }
.project-next .btn { justify-self: start; margin-top: 0.5rem; }
@media (max-width: 52rem) { .projects { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner pages (company profile, projects) ---------- */
.page-head { padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head .lede { max-width: 44rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.25rem clamp(2rem, 6vw, 5rem); }
.prose { display: grid; gap: 1.1rem; max-width: 44rem; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.team-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 56rem; }  /* team-N: N people */
.team li { display: grid; gap: 0.6rem; align-content: start; padding-top: 1.25rem; border-top: 3px solid var(--graphite); }
.team .role { color: var(--steel-ink); font-size: 1rem; }
.capabilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.capabilities ul { margin: 0.9rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.capabilities li { position: relative; padding-left: 1.1rem; }
.capabilities li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.45rem; height: 0.45rem; background: var(--orange); }
.project-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin: 0; padding: 0; list-style: none; }
.project-links li { padding-block: 1rem; border-bottom: 1px solid var(--concrete); }
.project-links a { font-weight: 600; }
.project-links span { display: block; color: var(--steel-ink); font-size: 1rem; }
.jump { display: grid; gap: 0.6rem; margin-top: 2rem; font-size: 1rem; }
.jump div { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.jump ul { display: contents; }
.jump li { list-style: none; }
.jump strong { min-width: 6.5rem; }
.case { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--concrete); }
.case:first-of-type { padding-top: 0; border-top: 0; }
.case-head { display: grid; gap: 0.35rem; margin-bottom: 1.5rem; }
.case-head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.case-type { color: var(--steel-ink); }
.case-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: start; }
.case-text { display: grid; gap: 1rem; max-width: 44rem; }
.case-text ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.facts { display: grid; gap: 0.9rem; margin: 0; padding: 1.25rem 1.5rem; background: var(--concrete); border-left: 4px solid var(--orange); }
.facts dt { color: var(--steel-ink); font-size: 0.95rem; }
.facts dd { margin: 0.1rem 0 0; font-weight: 600; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.6rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.photos .tile { height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 52rem) {
  .split, .team, .case-body, .project-links { grid-template-columns: minmax(0, 1fr); }
  .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .capabilities { grid-template-columns: minmax(0, 1fr); }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact */
.contact { background: var(--dusk); color: var(--paper); padding-block: var(--space); }
.contact h2 { max-width: 16ch; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.contact-intro { display: grid; gap: 1.25rem; }
.contact-intro p { color: var(--dusk-ink); max-width: 30rem; }
.contact-lines { display: grid; gap: 1.5rem; margin: 0; }
.contact-lines dt { color: var(--dusk-ink); font-size: 1rem; }
.contact-lines dd { margin: 0.15rem 0 0; }
.contact-lines .big { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.2rem); font-weight: 600; font-stretch: 102%; text-decoration: none; overflow-wrap: anywhere; line-height: 1.1; }
.contact-lines .big:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact-lines .email { font-size: clamp(1.25rem, 0.85rem + 1.7vw, 2.15rem); font-stretch: 100%; }
.contact-note { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.18); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; color: var(--dusk-ink); font-size: 1rem; }
.contact-note a { color: var(--paper); }
.contact :focus-visible, .project-next :focus-visible, .lightbox :focus-visible { outline-color: var(--orange); }
@media (max-width: 52rem) { .contact-grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Project note: a short form that writes an email for the visitor to send from their own mail app.
   Hidden until site.js runs; the white sheet shows the note as it is written. */
.brief {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.brief[hidden] { display: none; }
.brief h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 580; font-stretch: 102%; letter-spacing: -0.015em; }
.brief-lede { margin-top: 0.85rem; max-width: 34rem; color: var(--dusk-ink); }
.brief form { display: grid; gap: 1.5rem; margin-top: 2rem; }
.brief-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; align-items: end; }
.brief-field { display: grid; gap: 0.45rem; min-width: 0; }
.brief label, .brief legend { font-size: 1rem; font-weight: 600; }
.brief label span { font-weight: 400; color: var(--dusk-ink); }
.brief-hint { font-size: 0.95rem; color: var(--dusk-ink); }
.brief-field input, .brief-field select, .brief-field textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 2px;
  background: rgba(255, 255, 255, 0.07); color: var(--paper); color-scheme: dark;
  font: inherit; font-size: 1.0625rem; line-height: 1.4;
}
.brief-field textarea { min-height: 8rem; resize: vertical; }
.brief-field input:hover, .brief-field select:hover, .brief-field textarea:hover { border-color: var(--paper); }
.chips { min-width: 0; margin: 0; padding: 0; border: 0; }
.chips legend { padding: 0; margin-bottom: 0.7rem; }
.chips-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips label { position: relative; display: block; cursor: pointer; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips label span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 2px; color: var(--paper); font-weight: 600;
}
.chips label:hover span { border-color: var(--paper); }
.chips input:checked + span { background: var(--paper); border-color: var(--paper); color: var(--dusk); }
.chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.brief-note { position: sticky; top: 6.75rem; display: grid; gap: 1.25rem; min-width: 0; }
.sheet { padding: clamp(1.25rem, 3vw, 2rem); border-top: 6px solid var(--orange); border-radius: 2px; background: var(--paper); color: var(--graphite); }
.sheet dl { display: grid; gap: 0.3rem; margin: 0 0 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--concrete); font-size: 1rem; }
.sheet dl div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.75rem; }
.sheet dt { color: var(--steel-ink); }
.sheet dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.sheet pre { margin: 0; font: inherit; font-size: 1.0625rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
button.btn { font-family: inherit; cursor: pointer; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.65); background: transparent; color: var(--paper); }
.btn-ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--dusk); }
.brief-status { font-weight: 600; }
.brief-status:empty { display: none; }
.brief-fine { font-size: 1rem; color: var(--dusk-ink); }
.brief-fine a { color: var(--paper); }
@media (max-width: 60rem) { .brief { grid-template-columns: minmax(0, 1fr); } .brief-note { position: static; } }
@media (max-width: 34rem) { .brief-row { grid-template-columns: minmax(0, 1fr); } .brief-actions .btn { flex: 1 1 100%; } }

/* Footer */
.site-footer { padding-block: 3rem; font-size: 1rem; color: var(--steel-ink); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.footer-brand { display: flex; align-items: center; gap: 1.25rem; }
.footer-brand img { width: 84px; }
.footer-brand p { color: var(--graphite); }
.social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.social a { color: var(--graphite); }
.legal { width: 100%; padding-top: 1.25rem; border-top: 1px solid var(--concrete); }

/* Lightbox (progressive enhancement: without JS the tiles open the image) */
.lightbox { width: min(96vw, 76rem); max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(23, 26, 33, 0.92); }
.lightbox figure { margin: 0; display: grid; gap: 0.75rem; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: 82vh; margin-inline: auto; }  /* never larger than the file */
.lightbox figcaption { color: #e7e9ed; font-size: 1rem; }
.lb-bar { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.75rem; }
.lb-bar button {
  min-height: 2.75rem; padding: 0.5rem 1.1rem; border: 2px solid #e7e9ed; border-radius: 2px;
  background: transparent; color: #fff; font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer;
}
.lb-bar button:hover { background: #fff; color: var(--graphite); }

/* 404 page */
.notfound { padding-block: var(--space); min-height: 55vh; }
.notfound .lede { margin-top: 1.25rem; }

/* ---------- Printing ----------
   Any page prints without the navigation and buttons. The printed company profile (the PDF in
   /profile/, made by _src/make-pdf.sh from a page whose body has class "doc") has its own layout. */
@page { size: letter; margin: 0.55in 0.6in; }
@media print {
  .skip-link, .site-header, .hero-actions, .header-cta, .more, .jump, .lightbox, .project-next, .brief { display: none !important; }
  .section, .page-head, .hero { padding-block: 1.25rem; }
  .section-tint { background: none; }
  .contact { background: none; color: var(--graphite); padding-block: 1.25rem; border-top: 2px solid var(--graphite); }
  .contact-intro p, .contact-lines dt, .contact-note { color: var(--steel-ink); }
  .contact-note a { color: var(--graphite); }
  .case, .team li, .project, .capabilities > div, .tile { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .roof .line, .roof .window { animation: none !important; stroke-dashoffset: 0; opacity: 1; }
}

.doc { font-size: 10.5pt; line-height: 1.45; }
.doc a { text-decoration: none; }
.doc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 1.25rem; padding-bottom: 0.8rem; border-bottom: 3px solid var(--graphite); }
.doc-head img { width: 92px; }
.doc-title h1 { font-size: 24pt; }
.doc-title p { margin-top: 0.2rem; color: var(--steel-ink); }
.doc-contact { margin: 0; padding: 0; list-style: none; text-align: right; font-size: 9.5pt; line-height: 1.5; color: var(--steel-ink); }
.doc-sec { padding-top: 1.1rem; }
.doc h2 { margin-bottom: 0.55rem; font-size: 15pt; }
.doc h3 { font-size: 11.5pt; }
.doc .prose { max-width: none; gap: 0.6rem; }
.doc .lede { margin: 0; max-width: none; font-size: 11.5pt; }
.doc .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.doc .team-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc .team li { gap: 0.25rem; padding-top: 0.5rem; border-top-width: 2px; }
.doc .team .role { font-size: 9.5pt; }
.doc .capabilities { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.doc .capabilities ul { margin-top: 0.35rem; gap: 0.1rem; }
.doc .capabilities li::before, .doc .facts { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.doc .doc-break { break-before: page; }
.doc .doc-keep { break-inside: avoid; }
.doc .case { padding-block: 0.8rem; border-top: 1px solid var(--concrete); break-inside: avoid; }
.doc .case:first-of-type { padding-top: 0.2rem; border-top: 0; }
.doc .case-head { gap: 0.1rem; margin-bottom: 0.4rem; }
.doc .case-head h3 { font-size: 13pt; }
.doc .case-body { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 0.5rem 1.4rem; }
.doc .case-text { gap: 0.4rem; max-width: none; }
.doc .case-text ul { gap: 0.1rem; }
.doc .facts { gap: 0.35rem; padding: 0.55rem 0.8rem; }
.doc .facts dt { font-size: 8.5pt; }
.doc .photos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.3rem; margin-top: 0.6rem; }
.doc .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.doc .project { gap: 0.35rem; }
.doc .project figcaption span { font-size: 9.5pt; }
