/* ==========================================================================
   Sake Contracting Inc · Architectural Ceilings
   One small stylesheet. No web fonts, no frameworks. Phone first.
   ========================================================================== */

:root {
  --paper: #f6f3ee;
  --surface: #fffdf9;
  --ink: #1e1d1b;
  --ink-soft: #55514a;
  --line: #ddd6ca;
  --brass: #7a5c2e;
  --brass-dark: #5a4320;
  --brass-light: #d3b98a;
  --night: #20262b;
  --night-2: #2b3238;
  --on-night: #f3eee5;
  --on-night-soft: #c5beb1;
  --ph-bg: #fff3bf;
  --ph-strong: #7a5800;
  --ph-ink: #4a3600;
  --ok-bg: #e1efe7;
  --ok-ink: #1f5038;
  --alert: #8c1d18;
  --radius: 3px;
  --wrap: 71rem;
  /* Headings follow the logo: a plain, slightly narrow sans. Archivo is used if the visitor has it;
     if not, the nearest font that is already on the device. No font file is loaded. */
  --display: Archivo, Bahnschrift, "DIN Alternate", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

/* ---- Base ---------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
/* The short brass line from the logo, under the main heading of a page. Always flat. */
.hero h1::after, .page-head h1::after {
  content: ""; display: block; width: 3.5rem; height: 2px; margin-top: 1.1rem; background: var(--brass);
}
.hero h1::after { background: var(--brass-light); }
h1 { font-size: clamp(2rem, 6.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 4.4vw, 2.2rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }

p, ul, ol, dl { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35em; }
address { font-style: normal; }

a { color: var(--brass-dark); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid #1a5fd0; outline-offset: 2px; border-radius: 2px; }
:target { scroll-margin-top: 1.5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }

.skip {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 20;
  background: var(--ink); color: #fff; padding: 0.6rem 0.9rem; border-radius: var(--radius);
}
.skip:focus { top: 0.5rem; color: #fff; }

.mt { margin-top: 1.5rem; }

.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 0.9rem;
}
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); max-width: 44rem; }
.small { font-size: 0.9rem; color: var(--ink-soft); }

/* ---- Placeholders and draft markers --------------------------------------- */

mark.ph {
  background: var(--ph-bg); color: var(--ph-ink);
  border: 1px dashed var(--ph-strong); border-radius: 3px;
  padding: 0 0.3em; font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  font-size: 0.86em; font-weight: 600; font-style: normal; letter-spacing: 0;
  text-transform: none; line-height: 1.5;
  overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.draft-ribbon {
  margin: 0; padding: 0.45rem 1rem; text-align: center; font-size: 0.85rem; font-weight: 600;
  background: var(--ph-bg); color: var(--ph-ink); border-bottom: 2px dashed var(--ph-strong);
}

.approval-banner {
  position: sticky; top: 0; z-index: 10; margin: 0; padding: 0.7rem 1rem; text-align: center;
  background: var(--alert); color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0.04em;
}
.approval-banner--end { position: static; }
main.needs-approval { border-inline: 6px solid var(--alert); }

.note {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin: 0 0 1.5rem; max-width: 46rem;
}
.note > :last-child { margin-bottom: 0; }
.note--draft { background: var(--ph-bg); border: 1px dashed var(--ph-strong); color: var(--ph-ink); }
.note--draft a { color: var(--ph-ink); }
.note-title { font-weight: 700; margin-bottom: 0.3rem; }

/* ---- Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3rem; padding: 0.7rem 1.4rem; border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--brass); color: #fff; }
.btn--primary:hover { background: var(--brass-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: transparent; color: var(--on-night); border-color: var(--on-night-soft); }
.btn--light:hover { background: var(--on-night); color: var(--night); }

/* ---- Header ---------------------------------------------------------------- */

.topbar { background: var(--night); color: var(--on-night-soft); font-size: 0.875rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.45rem; }
.topbar-note { display: none; }
.topbar-phone { margin-left: auto; color: var(--on-night); font-weight: 600; }
.topbar a { color: inherit; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-block: 0.9rem; }

/* The logo. Phone: symbol and name, 36px tall. From 40rem: the full logo, 48px tall.
   The padding keeps the clear space the logo needs on every side. */
.brand { display: block; padding-block: 0.25rem; text-decoration: none; line-height: 0; }
.brand-logo { display: block; height: 36px; width: auto; max-width: none; }
@media (min-width: 40rem) {
  .brand-logo { height: 48px; }
}

.header-cta { display: none; }

.nav-toggle {
  display: none; min-height: 2.75rem; padding: 0.4rem 1rem; font: inherit; font-weight: 600;
  background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: var(--radius); cursor: pointer;
}
.js .nav-toggle { display: inline-flex; align-items: center; }
.nav-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }

.site-nav { flex-basis: 100%; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a { display: block; padding: 0.75rem 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none; }
.site-nav a:hover { color: var(--brass-dark); }
.site-nav a[aria-current="page"] { color: var(--brass-dark); font-weight: 700; }

@media (min-width: 40rem) {
  .topbar-note { display: block; }
}

@media (min-width: 66rem) {
  .header-in { padding-bottom: 0; }
  .header-cta { display: inline-flex; min-height: 2.6rem; padding-block: 0.5rem; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; border-top: 1px solid var(--line); margin-top: 0.5rem; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 1.7rem; }
  .site-nav a { border: 0; padding: 0.8rem 0; font-size: 0.95rem; border-bottom: 2px solid transparent; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--brass); }
}

/* ---- Breadcrumb ------------------------------------------------------------ */

.crumbs { padding-top: 1rem; font-size: 0.85rem; color: var(--ink-soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.crumbs a { color: var(--ink-soft); }

/* ---- Hero (home) ----------------------------------------------------------- */

.hero {
  background-color: var(--night); color: var(--on-night);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem; background-position: center top;
  padding-block: clamp(2.5rem, 8vw, 5rem) clamp(2rem, 6vw, 3.5rem);
}
.hero .eyebrow { color: var(--brass-light); }
.hero h1 { max-width: 20ch; }
.hero-lead { font-size: 1.2rem; line-height: 1.55; color: var(--on-night-soft); max-width: 38rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: clamp(2rem, 6vw, 3.5rem); }
.hero-photos > :first-child { grid-column: 1 / -1; }
.hero-photos .photo { display: flex; flex-direction: column; }
.hero-photos .photo > img, .hero-photos .photo > .photo-ph { flex: 1; width: 100%; }
.hero-photos .photo figcaption { color: var(--on-night-soft); }

@media (min-width: 30rem) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 52rem) {
  .hero-photos { grid-template-columns: 1.7fr 1fr 1fr; }
  .hero-photos > :first-child { grid-column: auto; }
  .hero-photos .photo-ph, .hero-photos img { height: 21rem; aspect-ratio: auto; }
}

/* ---- Page head (inner pages) ---------------------------------------------- */

.page-head { padding-block: clamp(1.75rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head h1 { max-width: 24ch; }
.page-head .lead { margin-bottom: 0; }

/* ---- Sections -------------------------------------------------------------- */

.section { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.section--tint { background: var(--surface); border-block: 1px solid var(--line); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night .eyebrow { color: var(--brass-light); }
.section--night p { color: var(--on-night-soft); }
.section--night a:not(.btn) { color: var(--on-night); }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head > :last-child { margin-bottom: 0; }

.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }

.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split--center { align-items: center; }
}

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6em; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 0.6rem; height: 0.6rem;
  border: 1.5px solid var(--brass);
}

.more { font-weight: 600; }
.more::after { content: " \2192"; }

/* ---- Company facts strip --------------------------------------------------- */

.trust-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust { list-style: none; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; padding-block: 1.5rem; }
.trust li { margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.4; }
.trust strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.2rem; color: var(--ink); margin-bottom: 0.15rem; }
@media (min-width: 52rem) {
  .trust { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Tiles and cards ------------------------------------------------------- */

.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.tiles li { margin: 0; display: flex; }
.tile {
  display: flex; flex-direction: column; gap: 0.4rem; width: 100%; padding: 1.2rem 1.2rem 1.3rem;
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brass);
  border-radius: var(--radius); color: var(--ink); text-decoration: none;
}
.tile:hover { border-color: var(--brass); color: var(--ink); }
.tile-title { font-family: var(--display); font-size: 1.2rem; line-height: 1.25; }
.tile-text { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; }
.section--night .tile { background: var(--night-2); border-color: #3b444b; border-top-color: var(--brass-light); color: var(--on-night); }
.section--night .tile-text { color: var(--on-night-soft); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.cards > li { margin: 0; min-width: 0; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card .photo img, .card .photo-ph { border-radius: 0; border-width: 0 0 2px; }
.card-body { padding: 1.2rem 1.2rem 1.3rem; }
.card-body > :last-child { margin-bottom: 0; }
.card-title { font-size: 1.3rem; margin-bottom: 0.4rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--brass-dark); text-decoration: underline; }
.card-more { font-weight: 600; }
@media (min-width: 40rem) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}

.link-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; }
.link-list li { margin: 0; }
.link-list a {
  display: inline-block; padding: 0.45rem 0.85rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: 2rem; color: var(--ink); font-size: 0.95rem; text-decoration: none;
}
.link-list a:hover { border-color: var(--brass); color: var(--brass-dark); }

/* ---- Photos and photo placeholders ----------------------------------------- */

.photo { margin: 0; min-width: 0; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.photo figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.4rem; }
.photo--wide img, .photo--wide .photo-ph { aspect-ratio: 16 / 9; }
.photo--square img, .photo--square .photo-ph { aspect-ratio: 1 / 1; }
.photo--portrait img, .photo--portrait .photo-ph { aspect-ratio: 4 / 5; }

.photo-ph {
  aspect-ratio: 3 / 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.9rem; text-align: center;
  border: 2px dashed var(--ph-strong); border-radius: var(--radius);
  background-color: #fbf6e4; color: var(--ph-ink);
  background-image:
    linear-gradient(rgba(122, 88, 0, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 88, 0, 0.09) 1px, transparent 1px);
  background-size: 1.75rem 1.75rem; background-position: center;
}
.photo-ph-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--ph-strong); color: #fff; padding: 0.2rem 0.55rem; border-radius: 2px;
}
.photo-ph-text { font-size: 0.9rem; font-weight: 600; line-height: 1.35; max-width: 34ch; }
.photo-ph-key { font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; font-size: 0.72rem; opacity: 0.85; }

.photo-grid { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid > :first-child { grid-column: 1 / -1; }
}

/* ---- Diagram --------------------------------------------------------------- */

.diagram { margin: 0; max-width: 30rem; }
.diagram svg { width: 100%; height: auto; }
.diagram text { font-family: var(--sans); font-size: 13px; fill: var(--ink); }
.diagram figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.6rem; }

/* ---- Question and answer ---------------------------------------------------- */

.qa {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brass);
  border-radius: var(--radius); padding: 1.4rem 1.25rem 1.5rem; margin-block: 0; max-width: 50rem;
}
.qa-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.6rem; }
.qa h2 { font-size: clamp(1.3rem, 3.8vw, 1.65rem); margin-bottom: 0.6rem; }
.qa-a > :last-child { margin-bottom: 0; }
@media (min-width: 40rem) {
  .qa { padding: 1.8rem 2rem 1.9rem; }
}

/* ---- Fact lists ------------------------------------------------------------ */

.facts { margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.facts > div { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.15rem; }
.facts dd { margin: 0; }
@media (min-width: 30rem) {
  .facts > div { display: grid; grid-template-columns: 10.5rem 1fr; gap: 1rem; align-items: baseline; }
  .facts dt { margin: 0; }
}

/* ---- Steps ----------------------------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.5rem; }
.steps li { counter-increment: step; margin: 0; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-size: 1.6rem; color: var(--brass); line-height: 1; margin-bottom: 0.5rem; }
.steps h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 0.3rem; }
.steps p { font-size: 0.97rem; color: var(--ink-soft); margin: 0; }
@media (min-width: 40rem) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .steps { grid-template-columns: repeat(5, 1fr); }
}

/* ---- Badges and service areas ---------------------------------------------- */

.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 2px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.badge--ok { background: var(--ok-bg); color: var(--ok-ink); }
.badge--soon { background: #ebe5d8; color: var(--ink-soft); }

.areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.areas > li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.areas h3 { margin: 0.6rem 0 0.4rem; }
.areas p { font-size: 0.97rem; color: var(--ink-soft); }
.areas > li > :last-child { margin-bottom: 0; }
.areas .is-licensed { border-top: 3px solid var(--ok-ink); }
.areas .is-soon { border-style: dashed; }
@media (min-width: 40rem) {
  .areas { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .areas--3 { grid-template-columns: repeat(3, 1fr); }
  .areas--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Tables ---------------------------------------------------------------- */

.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
th, td { text-align: left; vertical-align: top; padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--line); }
thead th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper); }
tbody th { font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }

@media (max-width: 39.99rem) {
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .stack, .stack tbody, .stack tr, .stack th, .stack td { display: block; }
  .stack tr { padding: 0.9rem; border-bottom: 1px solid var(--line); }
  .stack tr:last-child { border-bottom: 0; }
  .stack th, .stack td { padding: 0.15rem 0; border: 0; }
  .stack tbody th { font-family: var(--display); font-weight: 500; font-size: 1.2rem; margin-bottom: 0.3rem; }
  .stack td::before { content: attr(data-label); display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.45rem; }
}

/* ---- Form ------------------------------------------------------------------ */

.form { display: grid; gap: 1.2rem; max-width: 40rem; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.35rem; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.75rem; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff; border: 1px solid #8b857a; border-radius: var(--radius);
}
.field input[type="file"] { width: 100%; font: inherit; font-size: 0.95rem; padding: 0.6rem; background: #fff; border: 1px dashed #8b857a; border-radius: var(--radius); }
.field fieldset, fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: grid; gap: 0.15rem; }
.choices label { display: flex; align-items: center; gap: 0.65rem; font-weight: 400; margin: 0; padding: 0.4rem 0; }
.choices input { width: 1.2rem; height: 1.2rem; accent-color: var(--brass); flex: none; }
.hint { font-size: 0.875rem; color: var(--ink-soft); margin: 0.35rem 0 0; }
.optional { font-weight: 400; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; padding: 0.9rem 1rem; background: var(--ph-bg); border: 1px dashed var(--ph-strong); color: var(--ph-ink); border-radius: var(--radius); font-weight: 600; }
@media (min-width: 40rem) {
  .choices { grid-template-columns: 1fr 1fr; }
}

.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 0.9rem; }
.contact-list strong { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---- Quote ----------------------------------------------------------------- */

.quote { margin: 0 0 1.5rem; padding: 1.2rem 1.25rem; background: var(--surface); border-left: 4px solid var(--brass); max-width: 44rem; }
.quote p { font-family: var(--display); font-size: 1.25rem; line-height: 1.45; }
.quote footer { font-size: 0.9rem; color: var(--ink-soft); }

/* ---- Call to action band ---------------------------------------------------- */

.cta-band { background: var(--night); color: var(--on-night); padding-block: clamp(2.5rem, 7vw, 4rem); }
.cta-in { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { color: var(--on-night-soft); margin: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.cta-phone { font-size: 0.95rem; }
.cta-band a:not(.btn) { color: var(--on-night); }
@media (min-width: 52rem) {
  .cta-in { grid-template-columns: 1fr auto; gap: 3rem; }
}

/* ---- Footer ---------------------------------------------------------------- */

.site-footer { background: var(--night-2); color: var(--on-night-soft); font-size: 0.95rem; padding-top: clamp(2.5rem, 6vw, 3.5rem); }
.cta-band + .site-footer, main > .cta-band:last-child { border-top: 1px solid #3b444b; }
.site-footer a { color: var(--on-night); }
.footer-grid { display: grid; gap: 2rem; }
.footer-col h2 { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; line-height: 1.4; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; color: #fff; }
.footer-brand { margin: 0 0 1.4rem; line-height: 0; }
.footer-brand img { width: 294px; max-width: 100%; height: auto; }
.site-footer address { margin-bottom: 1.2rem; line-height: 1.7; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin: 0 0 1.4rem; }
.footer-social a { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-social .icon { flex: none; color: var(--brass-light); }
.footer-social a:hover .icon { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 2.5rem; padding-block: 1.2rem; border-top: 1px solid #3b444b; font-size: 0.85rem; }
.footer-base p { margin: 0; }
@media (min-width: 40rem) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64rem) {
  .footer-grid { grid-template-columns: minmax(294px, 1.4fr) 1fr 1.3fr 1.2fr; gap: 2.5rem; }
}

/* ---- Print ----------------------------------------------------------------- */

@media print {
  .site-nav, .nav-toggle, .header-cta, .skip, .cta-band, .topbar-note { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero, .section--night, .site-footer { background: #fff !important; color: #000 !important; }
  .footer-brand { display: none; }
  .hero-lead, .section--night p, .site-footer, .site-footer a { color: #000 !important; }
  .approval-banner { position: static; }
}

/* ---- Added December 1, 2026: footer lines, one hero photo, questions, testimonials ---- */
.footer-lines { line-height: 1.6; margin-bottom: 1rem; }
.footer-lines strong { color: #fff; }
.hero-photos--one { grid-template-columns: 1fr; }
.faq { max-width: 48rem; }
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
.faq details > p { margin: 0.7rem 0 0; color: var(--ink-soft); }
.client-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.client-list li { margin: 0; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.client-list strong { display: block; }
.client-list span { color: var(--ink-soft); font-size: 0.97rem; }

/* ==========================================================================
   Added December 1, 2026: motion and drawing marks.
   An architectural ceiling grid in perspective, ceiling panels that hang and sway,
   a headline that rises word by word, and blueprint-style details.
   Everything here is decoration. It moves only when <html> has the class "motion"
   (set when the visitor has not asked for reduced motion). Without it the page is still.
   ========================================================================== */

:root { --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; --ease: cubic-bezier(0.2, 0.7, 0.1, 1); }

/* ---- The stage behind the home page heading -------------------------------- */

.hero--stage {
  position: relative; isolation: isolate; overflow: hidden;
  background-image: radial-gradient(120% 70% at 72% 0%, #303a42 0%, var(--night) 46%, #161b1f 100%);
  background-size: auto; background-position: 0 0;
}
.hero-copy { position: relative; padding-top: 8.5rem; }

.stage {
  --mx: 0; --my: 0; --sy: 0; --horizon: 12rem;
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  perspective: 800px; perspective-origin: 60% var(--horizon);
}

/* The ceiling grid: a flat sheet of lines, tipped back so it runs away to the horizon. */
.stage-ceiling {
  position: absolute; left: -60%; right: -60%; top: 0; height: 70rem; overflow: hidden;
  transform-origin: 50% 0; transform: rotateX(-71deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 92%);
}
.stage-grid {
  position: absolute; left: 0; right: 0; top: 0; bottom: -5rem;
  background-image:
    linear-gradient(rgba(211, 185, 138, 0.5) 2px, transparent 2px),
    linear-gradient(90deg, rgba(211, 185, 138, 0.42) 1.5px, transparent 1.5px);
  background-size: 5rem 5rem; background-position: center top;
}
.stage-glow {
  position: absolute; left: 0; right: 0; top: var(--horizon); height: 11rem; transform: translateY(-50%);
  background: radial-gradient(46% 50% at 62% 50%, rgba(211, 185, 138, 0.2), transparent 72%);
}

/* Corner marks, like the corners of a drawing sheet. */
.stage-frame {
  --c: rgba(211, 185, 138, 0.55);
  position: absolute; inset: 0.75rem;
  background:
    linear-gradient(var(--c), var(--c)) left top / 1.1rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px 1.1rem no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1.1rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px 1.1rem no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1.1rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 1.1rem no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1.1rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 1.1rem no-repeat;
}

/* ---- The hanging ceiling panels -------------------------------------------- */

.stage-tiles { position: absolute; left: 0; right: 0; top: 0; height: 10rem; }

.ftile {
  --s: 4rem; --d: 6; --tilt: rotateX(-56deg) rotateZ(18deg); --swing: 9s; --wait: 0s;
  position: absolute; width: var(--s); height: var(--s);
  translate: calc(var(--mx) * var(--d) * -1.6px) calc((var(--my) * -1 - var(--sy) * 6) * var(--d) * 1px);
  transform-origin: 50% -22rem;
  transition: translate 0.5s ease-out;
}
/* The hanger wire. */
.ftile::before {
  content: ""; position: absolute; left: 50%; bottom: 50%; width: 1px; height: 26rem;
  background: linear-gradient(to top, rgba(211, 185, 138, 0.55), rgba(211, 185, 138, 0));
}
.ftile i {
  position: absolute; inset: 0; display: block;
  transform: perspective(700px) var(--tilt);
  background-color: #ddd5c6;
  background-image:
    radial-gradient(rgba(70, 58, 40, 0.3) 0.6px, transparent 1.1px),
    radial-gradient(rgba(70, 58, 40, 0.2) 0.6px, transparent 1.1px),
    linear-gradient(150deg, #f6f1e8 0%, #d8d0c1 55%, #b7ae9e 100%);
  background-size: 7px 7px, 11px 11px, auto; background-position: 0 0, 3px 5px, 0 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 0.3rem rgba(255, 255, 255, 0.1), 0 1.6rem 3rem rgba(0, 0, 0, 0.5);
}
.ftile--brass i {
  background-image: linear-gradient(150deg, #ecd6a8 0%, #a98548 48%, #5a4320 100%);
  background-size: auto; border-color: rgba(240, 220, 180, 0.7);
}
.ftile--light i {
  background-image: radial-gradient(circle at 50% 45%, #fffaf0 0%, #f3dfae 100%);
  background-size: auto; border-color: #fff;
  box-shadow: 0 0 3.5rem 0.8rem rgba(240, 212, 150, 0.4);
}
.ftile--line i {
  --l: rgba(211, 185, 138, 0.8);
  background-color: rgba(211, 185, 138, 0.05);
  background-image:
    linear-gradient(45deg, transparent calc(50% - 0.5px), var(--l) calc(50% - 0.5px), var(--l) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(-45deg, transparent calc(50% - 0.5px), var(--l) calc(50% - 0.5px), var(--l) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  background-size: auto; border: 1px dashed var(--l); box-shadow: none;
}
/* The small drawing label beside a panel. Shown on wide screens only. */
.ftile b { display: none; }

/* Phone and tablet: three panels in a band above the heading. */
.ftile--1 { --s: 5.2rem; --d: 9; left: 54%; top: 2.6rem; }
.ftile--2 { --s: 3.6rem; --d: 6; --tilt: rotateX(-58deg) rotateZ(-24deg); --swing: 11s; --wait: -3s; left: 82%; top: 4.4rem; }
.ftile--3 { --s: 3.2rem; --d: 4; --tilt: rotateX(-60deg) rotateZ(40deg); --swing: 13s; --wait: -6s; left: 30%; top: 4rem; }
.ftile--4 { --s: 2.4rem; --d: 2; --tilt: rotateX(-62deg) rotateZ(-8deg); --swing: 15s; --wait: -2s; left: 8%; top: 2rem; }
.ftile--5, .ftile--6 { display: none; }

.bp-rule {
  position: relative; display: flex; justify-content: space-between; gap: 1rem;
  margin-top: clamp(2rem, 6vw, 3.25rem); padding-top: 0.9rem;
  border-top: 1px solid rgba(211, 185, 138, 0.45);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-light);
}
/* Ruler ticks under the line. */
.bp-rule::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0.4rem;
  background-image: repeating-linear-gradient(90deg, rgba(211, 185, 138, 0.55) 0 1px, transparent 1px 1.25rem);
}
.bp-rule span::before, .ftile b::before { content: attr(data-t); }
.hero--stage .hero-photos { margin-top: 1.4rem; }
.hero--stage .hero-photos .photo { position: relative; }
.hero--stage .hero-photos .photo::before {
  --c: rgba(211, 185, 138, 0.7);
  content: ""; position: absolute; inset: -0.5rem; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / 1rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px 1rem no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px 1rem no-repeat;
}

@media (min-width: 60rem) {
  .hero-copy { padding-top: 0; min-height: 25rem; display: flex; flex-direction: column; justify-content: center; }
  .stage { --horizon: 19rem; }
  .stage::after {
    content: ""; position: absolute; inset: 0 40% 0 0;
    background: linear-gradient(90deg, rgba(22, 27, 31, 0.8) 0%, rgba(22, 27, 31, 0) 100%);
  }
  .stage-tiles { height: 30rem; z-index: 1; }
  .ftile--1 { --s: 12rem; left: 60%; top: 7rem; }
  .ftile--2 { --s: 7.5rem; left: 82%; top: 15rem; }
  .ftile--3 { --s: 6rem; left: 58%; top: 19.5rem; }
  .ftile--4 { --s: 5.5rem; left: 88%; top: 3.5rem; }
  .ftile--5 { display: block; --s: 4.4rem; --d: 3; --tilt: rotateX(-62deg) rotateZ(28deg); --swing: 12s; --wait: -5s; left: 73%; top: 23rem; }
  .ftile--6 { display: block; --s: 3.4rem; --d: 2; --tilt: rotateX(-64deg) rotateZ(-30deg); --swing: 14s; --wait: -8s; left: 46%; top: 3rem; }
  .ftile--4 i, .ftile--5 i, .ftile--6 i { filter: blur(1.5px); opacity: 0.8; }
  .ftile b {
    display: block; position: absolute; left: calc(100% + 0.4rem); top: 62%; white-space: nowrap;
    padding-left: 2.2rem; font: 400 0.62rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(211, 185, 138, 0.85);
  }
  .ftile b::after { content: ""; position: absolute; left: 0; top: 50%; width: 1.8rem; height: 1px; background: rgba(211, 185, 138, 0.6); }
  .ftile--2 b { left: auto; right: calc(100% + 0.4rem); padding: 0 2.2rem 0 0; }
  .ftile--2 b::after { left: auto; right: 0; }
}

/* ---- Movement (only with the class "motion") -------------------------------- */

@keyframes grid-run { to { transform: translateY(-5rem); } }
@keyframes tile-swing { from { transform: rotate(-1.1deg); } to { transform: rotate(1.1deg); } }
@keyframes tile-in { from { opacity: 0; translate: 0 -5rem; } }
@keyframes word-up { from { transform: translateY(115%); } }
@keyframes rise { from { opacity: 0; transform: translateY(1.1rem); } }
@keyframes draw-line { from { width: 0; } }
@keyframes draw-rule { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes curtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hover-float { from { transform: translateY(0) rotate(var(--r, 12deg)); } to { transform: translateY(-0.9rem) rotate(calc(var(--r, 12deg) + 4deg)); } }

.motion .stage-grid { animation: grid-run 11s linear infinite; }
.motion .ftile { animation: tile-swing var(--swing) ease-in-out var(--wait) infinite alternate; }
.motion .ftile i { animation: tile-in 1.5s var(--ease) both; }
.motion .ftile--2 i { animation-delay: 0.15s; }
.motion .ftile--3 i { animation-delay: 0.3s; }
.motion .ftile--4 i { animation-delay: 0.45s; }
.motion .ftile--5 i { animation-delay: 0.6s; }
.motion .ftile--6 i { animation-delay: 0.75s; }
.motion .ftile b { animation: rise 0.8s var(--ease) 1.5s both; }
.motion .stage.is-paused .stage-grid, .motion .stage.is-paused .ftile { animation-play-state: paused; }

/* The heading rises word by word. Each word sits in a small window (.w) and slides up into it. */
.hero h1 .w { display: inline-block; }
.hero h1 .w > span { display: inline-block; }
.motion .hero h1 .w { overflow: hidden; vertical-align: bottom; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.motion .hero h1 .w > span { animation: word-up 0.95s var(--ease) both; }
.motion .hero h1 .w:nth-child(1) > span { animation-delay: 0.15s; }
.motion .hero h1 .w:nth-child(2) > span { animation-delay: 0.23s; }
.motion .hero h1 .w:nth-child(3) > span { animation-delay: 0.31s; }
.motion .hero h1 .w:nth-child(4) > span { animation-delay: 0.39s; }
.motion .hero h1 .w:nth-child(5) > span { animation-delay: 0.47s; }
.motion .hero h1 .w:nth-child(6) > span { animation-delay: 0.55s; }
.motion .hero h1::after { animation: draw-line 0.9s var(--ease) 0.9s both; }
.motion .hero .eyebrow { animation: rise 0.8s var(--ease) 0.05s both; }
.motion .hero .hero-lead { animation: rise 0.9s var(--ease) 0.8s both; }
.motion .hero .hero-actions { animation: rise 0.9s var(--ease) 0.95s both; }
.motion .bp-rule { animation: draw-rule 1.2s var(--ease) 0.9s both; }
.motion .hero--stage .hero-photos img { animation: curtain 1.3s cubic-bezier(0.7, 0, 0.2, 1) 0.7s both; }

/* Parts of a page fade up when they scroll into view. site.js adds "reveal-on" and "in". */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(1.4rem); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-on [data-reveal="1"] { transition-delay: 0.08s; }
.reveal-on [data-reveal="2"] { transition-delay: 0.16s; }
.reveal-on [data-reveal="3"] { transition-delay: 0.24s; }
.reveal-on [data-reveal="4"] { transition-delay: 0.32s; }
.reveal-on [data-reveal="5"] { transition-delay: 0.4s; }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }

/* ---- Drawing marks on the rest of the site --------------------------------- */

/* A sheet number in front of each small section label: 01, 02, 03. */
main { counter-reset: sheet; }
.section .eyebrow::before {
  counter-increment: sheet; content: counter(sheet, decimal-leading-zero);
  font-family: var(--mono); font-weight: 400; letter-spacing: 0.08em;
  margin-right: 0.7rem; padding-right: 0.7rem; border-right: 1px solid currentColor;
}

/* Inner pages: a faint drawing grid behind the page heading, and one panel drawn in outline. */
.page-head { position: relative; isolation: isolate; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(122, 92, 46, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 92, 46, 0.13) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem; background-position: right top;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
}
.page-head::after, .cta-band::after {
  --l: rgba(122, 92, 46, 0.55); --r: 12deg;
  content: ""; position: absolute; z-index: -1; right: 7%; top: 22%; width: 7rem; height: 7rem;
  border: 1px dashed var(--l);
  background:
    linear-gradient(45deg, transparent calc(50% - 0.5px), var(--l) calc(50% - 0.5px), var(--l) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(-45deg, transparent calc(50% - 0.5px), var(--l) calc(50% - 0.5px), var(--l) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  transform: rotate(var(--r)); display: none;
}
.motion .page-head::after, .motion .cta-band::after { animation: hover-float 8s ease-in-out infinite alternate; }

/* The closing band: the same grid, and one brass-lined panel. */
.cta-band { position: relative; isolation: isolate; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(211, 185, 138, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 185, 138, 0.1) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem; background-position: center;
  -webkit-mask-image: radial-gradient(70% 120% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 120% at 50% 50%, #000, transparent);
}
.cta-band::after { --l: rgba(211, 185, 138, 0.4); --r: -14deg; right: auto; left: 60%; top: auto; bottom: -2.2rem; width: 6rem; height: 6rem; }
@media (min-width: 60rem) {
  .page-head::after { display: block; }
}
@media (min-width: 78rem) {
  .cta-band::after { display: block; }
}

/* Cards and tiles lift a little under the pointer, like a panel raised from the grid. */
.tile, .card { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.2s; }
@media (hover: hover) {
  .tile:hover, .card:hover { transform: translateY(-4px); box-shadow: 0 1rem 1.8rem -0.9rem rgba(30, 29, 27, 0.35); }
}

/* Still for anyone who asks for less motion, and plain on paper. */
@media (prefers-reduced-motion: reduce) {
  .stage-grid, .ftile, .ftile i, .ftile b, .hero h1 .w > span, .hero h1::after, .hero .eyebrow, .hero .hero-lead,
  .hero .hero-actions, .bp-rule, .hero-photos img, .page-head::after, .cta-band::after { animation: none !important; }
  .ftile, .tile, .card { transition: none; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
}
@media print {
  .stage, .bp-rule, .page-head::before, .page-head::after, .cta-band::before, .cta-band::after { display: none !important; }
  .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-copy { padding-top: 0; }
}
/* ---- Added December 1, 2026 (second step): the full stage on every inner page ----
   Each inner page heading is now a dark band with the same moving grid and hanging panels
   as the home page, in a shorter form. The panels come from src/partials/stage.html. */

.page-head--stage {
  background-color: var(--night); color: var(--on-night);
  background-image: radial-gradient(120% 90% at 72% 0%, #303a42 0%, var(--night) 50%, #161b1f 100%);
  padding-top: 7rem;
}
.page-head--stage::before, .page-head--stage::after { content: none; }
.page-head--stage > .wrap { position: relative; }
.page-head--stage .eyebrow { color: var(--brass-light); }
.page-head--stage h1::after { background: var(--brass-light); }
.page-head--stage .lead, .page-head--stage p { color: var(--on-night-soft); }
.page-head--stage a:not(.btn) { color: var(--on-night); }
.page-head--stage mark.ph { color: var(--ph-ink); }

.stage--compact { --horizon: 8rem; }
.stage--compact .stage-tiles { height: 7rem; }
.stage--compact .ftile--1 { --s: 3.9rem; left: 56%; top: 1.7rem; }
.stage--compact .ftile--2 { --s: 2.8rem; left: 82%; top: 3rem; }
.stage--compact .ftile--3 { --s: 2.6rem; left: 30%; top: 2.8rem; }
.stage--compact .ftile--4 { --s: 2rem; left: 8%; top: 1.3rem; }

@media (min-width: 60rem) {
  .page-head--stage { padding-top: clamp(1.75rem, 5vw, 3rem); min-height: 19rem; display: flex; align-items: center; }
  .page-head--stage > .wrap { flex: 1; }
  .stage--compact { --horizon: 11rem; }
  .stage--compact .stage-tiles { height: 19rem; }
  .stage--compact .ftile--1 { --s: 8rem; left: 63%; top: 4rem; }
  .stage--compact .ftile--2 { --s: 5rem; left: 83%; top: 9.5rem; }
  .stage--compact .ftile--3 { --s: 4.2rem; left: 72%; top: 13rem; }
  .stage--compact .ftile--4 { --s: 3.6rem; left: 90%; top: 2.2rem; }
}

.motion .page-head--stage .eyebrow { animation: rise 0.8s var(--ease) 0.05s both; }
.motion .page-head--stage h1 { animation: rise 0.95s var(--ease) 0.15s both; }
.motion .page-head--stage h1::after { animation: draw-line 0.9s var(--ease) 0.7s both; }
.motion .page-head--stage h1 ~ * { animation: rise 0.9s var(--ease) 0.45s both; }

@media (prefers-reduced-motion: reduce) {
  .page-head--stage .eyebrow, .page-head--stage h1, .page-head--stage h1::after, .page-head--stage h1 ~ * { animation: none !important; }
}
@media print {
  .page-head--stage { background: #fff !important; color: #000 !important; padding-top: 0; min-height: 0; }
  .page-head--stage .lead, .page-head--stage p, .page-head--stage .eyebrow { color: #000 !important; }
}
/* ==========================================================================
   Added December 1, 2026 (third step): the next level of motion.
   An opening sequence, a ceiling that assembles as the visitor scrolls through the process steps,
   very large moving letters, a light that follows the pointer, headings that rise word by word,
   photos that open like a curtain, and a progress line. All of it needs the class "motion".
   ========================================================================== */

/* ---- Opening sequence (the first page of a visit) ---------------------------
   The approved logo draws itself on a dark screen: the grid first, then the brass panel,
   the name letter by letter and the second line. Then the lines of the logo run out across
   the screen as a ceiling grid, the grid tips back overhead, and the page appears under it.
   The logo is never stretched or recolored, and its brass stays flat (brand rules).
   The whole sequence is timed here in the style sheet, so it always ends, even without script.
   The markup is src/partials/intro.html (made by make_intro.py). --t0 is when the page takes over. */

@keyframes intro-end { to { visibility: hidden; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes intro-fade { to { opacity: 0; } }
@keyframes intro-show { to { opacity: 1; } }
@keyframes intro-tilt { to { transform: rotateX(-72deg) scale(1.04); } }
@keyframes intro-ray { to { transform: none; } }
@keyframes intro-settle { from { transform: scale(0.955); } to { transform: none; } }
@keyframes intro-bar-in { to { transform: none; } }
@keyframes intro-bar-out { to { transform: scaleY(0); } }
@keyframes il-draw { to { stroke-dashoffset: 0; } }
@keyframes il-panel { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: none; } }
@keyframes il-rise { to { transform: none; } }
@keyframes il-rule { to { transform: none; } }
@keyframes il-sub { to { opacity: 1; transform: none; } }

.intro { display: none; }
.intro-on { --t0: 3.75s; }
html.intro-skip { --t0: 0s; }
.intro-on .intro {
  --L: min(30rem, 84vw);            /* the width of the logo */
  --m: calc(var(--L) * 0.17531);    /* one bay of the grid: the inside of the logo's frame */
  --nx: 7;                          /* how many bays the grid runs to each side */
  display: block; position: fixed; inset: 0; z-index: 60; overflow: hidden; cursor: pointer;
  perspective: 800px; perspective-origin: 50% 46%;
  animation: intro-end 0.01s linear 4.65s forwards;
}
@media (min-width: 48rem) { .intro-on .intro { --nx: 13; } }
@media (min-width: 100rem) { .intro-on .intro { --nx: 18; } }
@media (min-width: 140rem) { .intro-on .intro { --nx: 25; } }
html.intro-skip .intro { animation: intro-out 0.4s ease forwards; }
html.intro-done .intro { display: none; }

.intro-bg, .intro-vig { position: absolute; inset: 0; animation: intro-fade 0.65s ease 3.7s forwards; }
.intro-bg { background: #161b1f; }
.intro-vig { background: radial-gradient(ellipse 78% 72% at 50% 42%, rgba(22, 27, 31, 0) 0%, rgba(22, 27, 31, 0.6) 55%, #161b1f 100%); }

/* The grid that grows out of the logo. It lies flat first, then tips back to become a ceiling. */
.intro-tilt {
  position: absolute; inset: 0; transform-origin: 50% 0; will-change: transform;
  animation: intro-tilt 1.15s cubic-bezier(0.6, 0, 0.2, 1) 3.45s forwards, intro-fade 0.45s ease 4.2s forwards;
}
.intro-anchor { position: absolute; left: 50%; top: calc(50% - var(--L) * 0.12715); width: 0; height: 0; }
.intro-grid {
  position: absolute; left: calc(var(--m) * (-0.5 - var(--nx))); top: calc(var(--m) * -12.5);
  width: calc(var(--m) * (2 * var(--nx) + 1)); height: calc(var(--m) * 33);
  background-image:
    linear-gradient(rgba(211, 185, 138, 0.36) 0, rgba(211, 185, 138, 0.36) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(211, 185, 138, 0.36) 0, rgba(211, 185, 138, 0.36) 1.5px, transparent 1.5px);
  background-size: var(--m) var(--m); background-position: -0.75px -0.75px;
  opacity: 0; animation: intro-show 0.5s ease 2.8s forwards;
}
.intro-ray { position: absolute; background: rgba(211, 185, 138, 0.8); animation: intro-ray 0.65s cubic-bezier(0.7, 0, 0.2, 1) 2.6s forwards; }
.intro-ray--top, .intro-ray--bottom { left: -150vw; width: 300vw; height: 1.5px; margin-top: -0.75px; transform: scaleX(0); }
.intro-ray--left, .intro-ray--right { top: -150vh; height: 300vh; width: 1.5px; margin-left: -0.75px; transform: scaleY(0); }
.intro-ray--top { top: calc(var(--m) * -0.5); }
.intro-ray--bottom { top: calc(var(--m) * 0.5); animation-delay: 2.66s; }
.intro-ray--left { left: calc(var(--m) * -0.5); animation-delay: 2.63s; }
.intro-ray--right { left: calc(var(--m) * 0.5); animation-delay: 2.69s; }
/* One flat brass panel takes the place of the logo's mark as the logo fades. */
.intro-tile {
  position: absolute; left: calc(var(--m) * -0.5 + 2px); top: calc(var(--m) * -0.5 + 2px);
  width: calc(var(--m) - 4px); height: calc(var(--m) - 4px); background: #d3b98a;
  opacity: 0; animation: intro-show 0.4s ease 3.2s forwards;
}

/* The logo. */
.intro-logo {
  position: absolute; left: 50%; top: 50%; width: var(--L); height: auto; overflow: visible;
  margin: calc(var(--L) * -0.22733) 0 0 calc(var(--L) * -0.5);
  animation: intro-settle 2.5s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
.il-draft path {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: il-draw 0.8s cubic-bezier(0.6, 0, 0.2, 1) 0.15s forwards, intro-fade 0.4s ease 1.05s forwards;
}
.il-draft path:nth-child(2) { animation-delay: 0.4s, 1.05s; }
.il-draft path:nth-child(3) { animation-delay: 0.48s, 1.05s; }
.il-draft path:nth-child(4) { animation-delay: 0.56s, 1.05s; }
.il-draft path:nth-child(5) { animation-delay: 0.64s, 1.05s; }
.il-mark { opacity: 0; animation: intro-show 0.45s ease 0.95s forwards, intro-fade 0.4s ease 3.2s forwards; }
.il-panel {
  opacity: 0; transform-box: fill-box; transform-origin: 50% 50%;
  animation: il-panel 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 1.2s forwards, intro-fade 0.4s ease 3.2s forwards;
}
.il-name, .il-sub { animation: intro-fade 0.35s ease 3.05s forwards; }
.il-name path { transform: translateY(34px); animation: il-rise 0.8s cubic-bezier(0.2, 0.7, 0.1, 1) calc(0.8s + var(--i) * 0.032s) forwards; }
.il-rule {
  transform-box: fill-box; transform-origin: 50% 50%; transform: scaleX(0);
  animation: il-rule 0.55s ease 1.55s forwards, intro-fade 0.35s ease 3.05s forwards;
}
.il-sub path {
  opacity: 0; transform: translateX(calc(var(--o) * 2.2px));
  animation: il-sub 0.75s cubic-bezier(0.2, 0.7, 0.1, 1) calc(1.6s + var(--i) * 0.022s) forwards;
}

/* Wide-screen bars, top and bottom, as in a film. */
.intro-bar {
  position: absolute; left: 0; right: 0; height: 7vh; background: #0c0f11; transform: scaleY(0);
  animation: intro-bar-in 0.7s cubic-bezier(0.2, 0.7, 0.1, 1) 0.05s forwards, intro-bar-out 0.6s cubic-bezier(0.6, 0, 0.2, 1) 3.45s forwards;
}
.intro-bar--top { top: 0; transform-origin: 50% 0; border-bottom: 1px solid rgba(211, 185, 138, 0.25); }
.intro-bar--bottom { bottom: 0; transform-origin: 50% 100%; border-top: 1px solid rgba(211, 185, 138, 0.25); }
.intro-skip {
  position: absolute; right: 1.25rem; bottom: calc(7vh + 0.9rem); opacity: 0;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(211, 185, 138, 0.75);
  animation: intro-show 0.5s ease 1.3s forwards, intro-fade 0.3s ease 3.2s forwards;
}
.intro-skip::before { content: attr(data-t); }
/* While the opening runs, everything on the home page stage waits for it (--t0). */
.motion .ftile i { animation-delay: var(--t0, 0s); }
.motion .ftile--2 i { animation-delay: calc(var(--t0, 0s) + 0.15s); }
.motion .ftile--3 i { animation-delay: calc(var(--t0, 0s) + 0.3s); }
.motion .ftile--4 i { animation-delay: calc(var(--t0, 0s) + 0.45s); }
.motion .ftile--5 i { animation-delay: calc(var(--t0, 0s) + 0.6s); }
.motion .ftile--6 i { animation-delay: calc(var(--t0, 0s) + 0.75s); }
.motion .ftile b { animation-delay: calc(var(--t0, 0s) + 1.5s); }
.motion .hero h1 .w:nth-child(1) > span { animation-delay: calc(var(--t0, 0s) + 0.15s); }
.motion .hero h1 .w:nth-child(2) > span { animation-delay: calc(var(--t0, 0s) + 0.23s); }
.motion .hero h1 .w:nth-child(3) > span { animation-delay: calc(var(--t0, 0s) + 0.31s); }
.motion .hero h1 .w:nth-child(4) > span { animation-delay: calc(var(--t0, 0s) + 0.39s); }
.motion .hero h1 .w:nth-child(5) > span { animation-delay: calc(var(--t0, 0s) + 0.47s); }
.motion .hero h1 .w:nth-child(6) > span { animation-delay: calc(var(--t0, 0s) + 0.55s); }
.motion .hero h1::after { animation-delay: calc(var(--t0, 0s) + 0.9s); }
.motion .hero .eyebrow { animation-delay: calc(var(--t0, 0s) + 0.05s); }
.motion .hero .hero-lead { animation-delay: calc(var(--t0, 0s) + 0.8s); }
.motion .hero .hero-actions { animation-delay: calc(var(--t0, 0s) + 0.95s); }
.motion .bp-rule { animation-delay: calc(var(--t0, 0s) + 0.9s); }
.motion .hero--stage .hero-photos img { animation-delay: calc(var(--t0, 0s) + 0.7s); }

/* ---- A light that follows the pointer across the stage --------------------- */

.stage-spot {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s;
  background: radial-gradient(24rem circle at var(--px, 70%) var(--py, 30%), rgba(240, 215, 160, 0.17), transparent 68%);
}
.stage.has-pointer .stage-spot { opacity: 1; }

/* The home page photo drifts inside its frame as the page scrolls. */
.hero--stage .hero-photos { --pp: 0.5; }
.hero--stage .hero-photos img { object-position: 50% calc(var(--pp) * 100%); }

/* ---- Progress line --------------------------------------------------------- */

.scroll-rail {
  position: fixed; left: 0; top: 0; z-index: 40; width: 100%; height: 2px; pointer-events: none;
  background: var(--brass-light); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---- Very large moving letters --------------------------------------------- */

@keyframes marquee-run { to { transform: translateX(-50%); } }
.marquee { overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(0.6rem, 2vw, 1.4rem); }
.marquee-track { --ms: 0; display: flex; width: max-content; translate: calc(var(--ms) * -1px) 0; }
.marquee-track span {
  flex: none; white-space: pre; font-family: var(--display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(3rem, 10vw, 7.5rem); line-height: 1.1; letter-spacing: -0.01em;
  color: rgba(122, 92, 46, 0.16);
}
@supports (-webkit-text-stroke: 1px #000) {
  .marquee-track span { color: transparent; -webkit-text-stroke: 1px rgba(122, 92, 46, 0.6); }
}
.marquee-track span::before { content: attr(data-t); }
.motion .marquee-track { animation: marquee-run 70s linear infinite; }

/* ---- Section headings rise word by word; photos open like a curtain -------- */

h2 .w { display: inline-block; }
h2 .w > span { display: inline-block; }
.reveal-on h2[data-rise] .w { overflow: hidden; vertical-align: bottom; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.reveal-on h2[data-rise] .w > span { transform: translateY(118%); transition: transform 0.95s var(--ease); transition-delay: calc(var(--wi, 0) * 45ms + 80ms); }
.reveal-on h2[data-rise].in .w > span { transform: none; }

.reveal-on .photo[data-reveal] { opacity: 1; transform: none; }
.reveal-on .photo[data-reveal] > img, .reveal-on .photo[data-reveal] > .photo-ph {
  clip-path: inset(0 0 100% 0); transition: clip-path 1.25s cubic-bezier(0.7, 0, 0.2, 1);
}
.reveal-on .photo[data-reveal] > figcaption { opacity: 0; transition: opacity 0.8s 0.7s; }
.reveal-on .photo[data-reveal].in > img, .reveal-on .photo[data-reveal].in > .photo-ph { clip-path: inset(0 0 0 0); }
.reveal-on .photo[data-reveal].in > figcaption { opacity: 1; }

/* ---- Scenes: a section that stays on screen while the visitor scrolls ---------
   Used on the home page (a ceiling comes together), the Ceiling Systems page (one ceiling changes
   from system to system) and the Our Process page (a plan draws itself). site.js adds "scene--live".
   Without it each of these is a plain section with a plain list. */

.scene-art { display: none; }
.scene-note {
  position: absolute; right: 1.25rem; top: 1.1rem; z-index: 3;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(211, 185, 138, 0.6);
}
.scene-note::before { content: attr(data-t); }

.scene--live {
  --p: 0; --step-h: 10.5rem; padding: 0; border: 0; background: #161b1f; color: var(--on-night);
  height: calc(100vh + var(--steps, 6) * 46vh);
  height: calc(100svh + var(--steps, 6) * 46svh);
}
.scene--live .scene-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.scene--live .scene-art { display: block; position: absolute; inset: 0; }
.scene--live .scene-copy { position: relative; z-index: 2; padding-bottom: clamp(1.75rem, 7vh, 4.5rem); }
.scene--live .eyebrow { color: var(--brass-light); }
.scene--live .section-head { margin-bottom: 1.2rem; }
.scene--live a:not(.btn) { color: var(--on-night); }
.scene--live .mt { margin-top: 1.1rem; }

/* The list of a scene: one item at a time, with its number. */
.scene--live .steps, .scene--live .tiles {
  display: block; position: relative; height: var(--step-h); max-width: 36rem;
  counter-reset: step 0 total var(--steps, 6);
}
.scene--live .steps > li, .scene--live .tiles > li {
  display: block; position: absolute; left: 0; right: 0; top: 0; margin: 0; padding: 0; border: 0;
  counter-increment: step; opacity: 0; transform: translateY(1.6rem); pointer-events: none;
  transition: opacity 0.45s, transform 0.65s var(--ease);
}
.scene--live .steps > li.is-active, .scene--live .tiles > li.is-active { opacity: 1; transform: none; pointer-events: auto; }
.scene--live .steps > li.is-past, .scene--live .tiles > li.is-past { transform: translateY(-1.6rem); }
.scene--live .steps > li::before, .scene--live .tiles > li::before {
  content: counter(step, decimal-leading-zero) " / " counter(total, decimal-leading-zero); display: block;
  font-family: var(--mono); font-size: 0.78rem; line-height: 1; letter-spacing: 0.16em; color: var(--brass-light); margin-bottom: 0.7rem;
}
.scene--live .tile { display: block; width: auto; padding: 0; background: none; border: 0; border-radius: 0; color: inherit; transform: none; box-shadow: none; }
.scene--live .steps h3, .scene--live .tile-title {
  display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 5.2vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.012em; margin: 0 0 0.35em; color: var(--on-night);
}
.scene--live .steps p, .scene--live .tile-text { display: block; font-size: 1.1rem; line-height: 1.5; color: var(--on-night-soft); max-width: 32rem; margin: 0; }
/* A thin line under the list fills as the scene moves on. */
.scene--live .steps::before, .scene--live .steps::after, .scene--live .tiles::before, .scene--live .tiles::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: min(100%, 24rem); height: 1px; background: rgba(211, 185, 138, 0.28);
}
.scene--live .steps::after, .scene--live .tiles::after { background: var(--brass-light); transform-origin: 0 50%; transform: scaleX(var(--p)); }

/* Shared by the two ceilings seen from below: the far end fades into the dark behind the words. */
.scene--live .build-art, .scene--live .morph-art { perspective: 1000px; perspective-origin: 50% 58%; }
.scene--live .build-art::after, .scene--live .morph-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, #161b1f 0%, #161b1f 26%, rgba(22, 27, 31, 0) 58%);
}

/* Home page: the ceiling that comes together. */
.build-plane {
  --c: clamp(6rem, 15vw, 11rem);
  position: absolute; left: 50%; top: 0; width: calc(var(--c) * 6); height: calc(var(--c) * 5); margin-left: calc(var(--c) * -3);
  transform-style: preserve-3d; transform-origin: 50% 0;
  transform: translateY(-2vh) rotateX(calc(-70deg + var(--p) * 9deg)) rotateZ(calc(7deg - var(--p) * 7deg));
  background-image:
    linear-gradient(rgba(211, 185, 138, 0.55) 2px, transparent 2px),
    linear-gradient(90deg, rgba(211, 185, 138, 0.55) 2px, transparent 2px);
  background-size: var(--c) var(--c);
  border-right: 2px solid rgba(211, 185, 138, 0.55); border-bottom: 2px solid rgba(211, 185, 138, 0.55);
}
.bpanel, .mp {
  position: absolute; width: calc(var(--c) - 6px); height: calc(var(--c) - 6px); will-change: transform, opacity;
  background-color: #ddd5c6;
  background-image:
    radial-gradient(rgba(70, 58, 40, 0.3) 0.6px, transparent 1.1px),
    radial-gradient(rgba(70, 58, 40, 0.2) 0.6px, transparent 1.1px),
    linear-gradient(150deg, #f6f1e8 0%, #d8d0c1 55%, #b7ae9e 100%);
  background-size: 7px 7px, 11px 11px, auto; background-position: 0 0, 3px 5px, 0 0;
  box-shadow: inset 0 0 0 0.3rem rgba(255, 255, 255, 0.1);
}
.bpanel { left: calc(var(--x) * var(--c) + 4px); top: calc(var(--y) * var(--c) + 4px); opacity: 0; }
.bpanel--brass { background-image: linear-gradient(150deg, #ecd6a8 0%, #a98548 48%, #5a4320 100%); background-size: auto; }
.bpanel--light { background-image: none; background-color: #8f8877; transition: background-color 1.2s, box-shadow 1.2s; }
.is-lit .bpanel--light { background-color: #fff8e6; box-shadow: 0 0 4rem 1.3rem rgba(240, 212, 150, 0.6); }
.build-wash {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s;
  background: radial-gradient(70% 60% at 50% 12%, rgba(240, 212, 150, 0.26), transparent 72%);
}
.is-lit .build-wash { opacity: 1; }

/* Ceiling Systems page: one ceiling, seven systems. site.js moves the 24 pieces. */
.scene--live.morph { --step-h: 12.5rem; }
.morph-plane {
  --c: clamp(6rem, 15vw, 11rem); --grid: 1; --beam: 0; --wood: 0; --metal: 0; --brass: 0;
  position: absolute; left: 50%; top: 0; width: calc(var(--c) * 6); height: calc(var(--c) * 4); margin-left: calc(var(--c) * -3);
  transform-style: preserve-3d; transform-origin: 50% 0;
  transform: translateY(3vh) rotateX(-63deg) rotateZ(calc(6deg - var(--p) * 12deg));
}
.morph-grid, .morph-beams { position: absolute; inset: 0; }
.morph-grid {
  opacity: var(--grid);
  background-image:
    linear-gradient(rgba(211, 185, 138, 0.6) 2px, transparent 2px),
    linear-gradient(90deg, rgba(211, 185, 138, 0.6) 2px, transparent 2px);
  background-size: var(--c) var(--c);
  border-right: 2px solid rgba(211, 185, 138, 0.6); border-bottom: 2px solid rgba(211, 185, 138, 0.6);
}
.morph-beams {
  --w: calc(var(--c) * 0.3); opacity: var(--beam);
  background-image:
    linear-gradient(90deg, #7b5631 0, #a67843 calc(var(--w) * 0.5), #7b5631 var(--w), transparent var(--w)),
    linear-gradient(#6d4c2b 0, #96693a calc(var(--w) * 0.5), #6d4c2b var(--w), transparent var(--w));
  background-size: calc(var(--c) * 2) calc(var(--c) * 2);
  background-position: calc(var(--c) * -0.15) calc(var(--c) * -0.15);
}
@media (max-width: 39.99rem) {
  .morph-plane { --c: 4.6rem; transform: translateY(9vh) rotateX(-58deg) rotateZ(calc(6deg - var(--p) * 12deg)); }
  .plan-svg { top: 11vh; }
}
.mp { left: 0; top: 0; }
.mp i { position: absolute; inset: 0; opacity: 0; }
.mp-wood { background: linear-gradient(90deg, #7d512a 0%, #b17b46 30%, #8c5b30 62%, #a9743f 100%); opacity: var(--wood) !important; }
.mp-metal { background: linear-gradient(120deg, #cdd2d6 0%, #8c949a 42%, #e6eaec 55%, #99a1a7 100%); opacity: var(--metal) !important; }
.mp--alt .mp-brass { background: linear-gradient(150deg, #ecd6a8 0%, #a98548 48%, #5a4320 100%); opacity: var(--brass) !important; }

/* Our Process page: the plan that draws itself. --t runs from 0 to 1 for each part of the drawing. */
.scene--live.plan { --step-h: 13.5rem; }
.plan-svg { position: absolute; left: 4vw; right: 4vw; top: 7vh; width: auto; max-width: none; overflow: visible; }
.pl { --t: clamp(0, calc((var(--p) - var(--a)) / var(--d)), 1); }
.pl-line { fill: none; stroke: rgba(211, 185, 138, 0.9); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--t)); opacity: clamp(0, calc(var(--t) * 40), 1); }
.pl-wall { stroke: var(--on-night); stroke-width: 2.5; }
.pl-thin { stroke-width: 1; stroke: rgba(211, 185, 138, 0.6); }
.pl-grid { stroke-width: 1; stroke: rgba(211, 185, 138, 0.7); }
.pl-stamp { stroke: var(--brass-light); stroke-width: 2.5; }
.pl-fade { opacity: var(--t); }
.pl-temp { opacity: calc(var(--t) * (1 - clamp(0, calc((var(--p) - var(--o)) / 0.04), 1))); }
.pl-dash { fill: none; stroke: rgba(211, 185, 138, 0.45); stroke-width: 1; stroke-dasharray: 9 5 2 5; }
.pl-center { stroke: rgba(243, 238, 229, 0.4); }
.pl-col { fill: var(--on-night); }
.pl-dot { fill: var(--brass-light); }
.pl-bar { fill: var(--brass-light); transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(var(--t)); }
.pl-panel { fill: rgba(243, 238, 229, 0.82); }
.pl-light { fill: #8f8877; stroke: var(--brass-light); stroke-width: 1; transition: fill 1.2s, filter 1.2s; }
.is-lit .pl-light { fill: #fff6dc; filter: drop-shadow(0 0 7px rgba(240, 212, 150, 0.95)); }
@media (min-width: 60rem) {
  .plan-svg { left: auto; right: 4vw; top: 50%; width: min(54vw, 50rem); transform: translateY(-56%); }
  .scene--live.plan .scene-copy .steps { max-width: 26rem; }
  .scene--live.plan { --step-h: 15rem; }
}

/* ---- Home page: the main photo opens out to the full width of the screen ------ */

.cinema { --cp: 1; --gut: max(1.25rem, calc((100vw - 71rem) / 2 + 1.25rem)); position: relative; margin-top: 1.4rem; }
.cinema .photo { margin: 0; }
.cinema .photo img { width: 100%; height: clamp(15rem, 42.85vw, 86vh); aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.cinema .photo figcaption { padding-inline: var(--gut); margin-top: 0.6rem; color: var(--on-night-soft); }
.motion .cinema .photo img {
  clip-path: inset(calc((1 - var(--cp)) * 9%) calc((1 - var(--cp)) * var(--gut)) round 3px);
}
.motion .cinema { animation: rise 1s var(--ease) calc(var(--t0, 0s) + 0.7s) both; }

/* ---- Home page: a row of project photos that drifts sideways ------------------ */

.drift-section .section-head { margin-bottom: 1.5rem; }
.drift { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.drift::-webkit-scrollbar { display: none; }
.drift-track {
  --sh: clamp(11rem, 34vw, 24rem);
  display: flex; gap: clamp(0.9rem, 2vw, 1.5rem); width: max-content;
  padding-inline: max(1.25rem, calc((100vw - 71rem) / 2 + 1.25rem));
}
.drift-track .photo { flex: none; width: calc(var(--sh) * 1.5); }
.drift-track .photo img { width: 100%; height: var(--sh); aspect-ratio: auto; }
.drift--live { overflow: hidden; }
.drift--live .drift-track { will-change: transform; }

/* ---- Our Projects page: the strip of photos ----------------------------------- */

.strip .photo-grid { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.strip-rail { display: none; }
.strip--live { padding-block: 0; }
.strip--live .strip-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(0.9rem, 3vh, 1.8rem);
}
.strip--live .strip-head h2 { margin: 0; }
.strip--live .strip-track {
  --sh: clamp(12rem, min(50vh, 62vw), 32rem);
  display: flex; grid-template-columns: none; gap: clamp(0.9rem, 2vw, 1.75rem); width: max-content; max-width: none; margin: 0;
  padding-inline: max(1.25rem, calc((100vw - 71rem) / 2 + 1.25rem)); counter-reset: shot; will-change: transform;
}
.strip--live .strip-track .photo { flex: none; grid-column: auto; counter-increment: shot; }
.strip--live .strip-track .photo::before {
  content: counter(shot, decimal-leading-zero); display: block; margin-bottom: 0.5rem;
  font-family: var(--mono); font-size: 0.72rem; line-height: 1; letter-spacing: 0.16em; color: var(--brass);
}
.strip--live .strip-track .photo img { width: auto; height: var(--sh); max-width: 92vw; object-fit: cover; }
.strip--live .strip-rail { display: block; position: relative; height: 1px; background: var(--line); }
.strip--live .strip-rail::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.strip--live > .wrap { padding-block: 2rem; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  .marquee-track { animation: none !important; translate: none; }
  .reveal-on h2[data-rise] .w > span { transform: none; transition: none; }
  .reveal-on .photo[data-reveal] > img, .reveal-on .photo[data-reveal] > .photo-ph { clip-path: none; transition: none; }
  .reveal-on .photo[data-reveal] > figcaption { opacity: 1; }
  .cinema, .cinema .photo img { animation: none !important; clip-path: none !important; }
}
@media print {
  .intro, .marquee, .scroll-rail, .scene-art, .strip-rail { display: none !important; }
  .reveal-on h2[data-rise] .w > span { transform: none !important; }
  .reveal-on .photo[data-reveal] > img, .reveal-on .photo[data-reveal] > .photo-ph { clip-path: none !important; }
  .reveal-on .photo[data-reveal] > figcaption { opacity: 1 !important; }
  .cinema .photo img { clip-path: none !important; }
  .scene--live { height: auto; background: #fff; color: #000; }
  .scene--live .scene-pin, .strip--live .strip-pin { position: static; height: auto; display: block; }
  .scene--live .steps, .scene--live .tiles { height: auto; }
  .scene--live .steps > li, .scene--live .tiles > li { position: static; opacity: 1; transform: none; margin-bottom: 1rem; }
  .scene--live .steps h3, .scene--live .tile-title, .scene--live .steps p, .scene--live .tile-text, .scene--live .eyebrow, .scene--live a:not(.btn) { color: #000; }
  .strip--live .strip-run { height: auto !important; }
  .strip--live .strip-track, .drift-track { display: grid; width: auto; transform: none !important; grid-template-columns: 1fr 1fr; }
  .strip--live .strip-track .photo img, .drift-track .photo, .drift-track .photo img { width: 100%; height: auto; }
}
/* Inner page headings also wait for the opening sequence. */
.motion .page-head--stage .eyebrow { animation-delay: calc(var(--t0, 0s) + 0.05s); }
.motion .page-head--stage h1 { animation-delay: calc(var(--t0, 0s) + 0.15s); }
.motion .page-head--stage h1::after { animation-delay: calc(var(--t0, 0s) + 0.7s); }
.motion .page-head--stage h1 ~ * { animation-delay: calc(var(--t0, 0s) + 0.45s); }
/* ---- About page: the owners (added the evening of December 1, 2026) ----------- */
.owners .photo { position: relative; }
.owners .photo::before {
  --c: rgba(122, 92, 46, 0.7);
  content: ""; position: absolute; inset: -0.55rem; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / 1.1rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px 1.1rem no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1.1rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px 1.1rem no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1.1rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 1.1rem no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1.1rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 1.1rem no-repeat;
}
.owners .photo figcaption {
  margin-top: 0.75rem; font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brass);
}
.owners h2 { font-size: clamp(1.8rem, 4.8vw, 2.6rem); }
@media (min-width: 56rem) {
  .owners .split { grid-template-columns: 1.25fr 1fr; }
}