/* TopCo Roofing: the layered cutaway.
   An architect's section, carried through every page. Tokens first; see design/topco-roofing.md. */

:root {
  --paper: #F4F6F6;
  --paper-2: #E8EDEF;
  --white: #FFFFFF;
  --ink: #1D2E40;
  --steel: #4B6980;
  --rule: #C3CDD4;
  --field: #2B7A34;
  --field-2: #236A2B;
  --night: #1B2A3A;
  --night-2: #C9D6E0;
  --timber: #E3CFA6;

  --sa-accent: #2B7A34;
  --sa-accent-ink: #FFFFFF;

  --display: "Encode Sans Semi Condensed", "Encode Sans", "Arial Narrow", sans-serif;
  --body: "Encode Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --hdr: 72px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.62 var(--body);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, iframe { 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; }
p { margin: 0 0 var(--s4); max-width: 66ch; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.012em; }
h1 { font-size: clamp(42px, 5.4vw, 84px); line-height: 1.0; }
h2 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.04; }
h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.15; font-weight: 400; }
h4 { font-size: 21px; line-height: 1.25; font-weight: 500; letter-spacing: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--field); outline-offset: 3px; }
.mono { font-family: var(--mono); font-size: 13.5px; line-height: 1.5; letter-spacing: 0; }
.muted { color: var(--steel); }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 16px; font-weight: 500; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons (always solid) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 2px;
  font: 500 17px/1.1 var(--body); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--talk { background: var(--field); color: var(--white); }
.btn--talk:hover { background: var(--field-2); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #10202F; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--white); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: var(--s6); }
.telink { font: 500 18px/1.3 var(--body); color: var(--ink); }
.telink span { font-family: var(--mono); font-size: 13.5px; color: var(--steel); display: block; font-weight: 400; }
.arrow-link { font-weight: 500; text-decoration: underline; text-underline-offset: 0.22em; }

/* ---------------------------------------------------------------- the title block header */
.tb {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: stretch;
  height: var(--hdr); background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.tb > * + * { border-left: 1px solid var(--rule); }
.tb__logo { display: flex; align-items: center; padding: 0 28px 0 var(--gut); }
.tb__logo img { width: 152px; height: auto; }
.tb__nav { display: flex; align-items: stretch; padding: 0 12px; }
.tb__nav a {
  display: flex; align-items: center; padding: 0 13px; white-space: nowrap;
  font: 400 17px/1 var(--body); text-decoration: none; color: var(--ink);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tb__nav a:hover { border-bottom-color: var(--rule); }
.tb__nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.tb__tel { display: flex; flex-direction: column; justify-content: center; padding: 0 24px; text-decoration: none; white-space: nowrap; }
.tb__tel .mono { color: var(--steel); font-size: 12.5px; }
.tb__num { font: 400 23px/1.1 var(--display); letter-spacing: 0.01em; }
.tb__talk { min-height: 0; height: 100%; border-radius: 0; padding: 0 28px; }
.tb__menu {
  display: none; border: 0; border-left: 1px solid var(--rule); background: var(--ink); color: var(--white);
  font: 500 16px/1 var(--body); padding: 0 22px; cursor: pointer;
}
@media (max-width: 1379px) {
  .tb { display: flex; }
  .tb__nav { display: none; }
  .tb__logo { flex-shrink: 0; }
  .tb__tel { margin-left: auto; border-left: 1px solid var(--rule); }
  .tb__talk { white-space: nowrap; }
  .tb__menu { display: block; }
}
@media (max-width: 860px) {
  :root { --hdr: 60px; }
  .tb__nav, .tb__tel, .tb__talk { display: none; }
  .tb__menu { margin-left: auto; }
  .tb__logo { padding-right: 16px; }
  .tb__logo img { width: 124px; }
}

/* the menu sheet */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--paper);
  display: grid; grid-template-rows: var(--hdr) 1fr; overflow: auto;
}
.menu[hidden] { display: none; }
.menu__bar { display: flex; justify-content: space-between; align-items: stretch; border-bottom: 1px solid var(--ink); }
.menu__bar .tb__logo { border: 0; }
.menu__close { border: 0; background: var(--ink); color: var(--white); font: 500 16px/1 var(--body); padding: 0 22px; cursor: pointer; }
.menu__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s7) var(--s8); padding: var(--s7) var(--gut) var(--s9); max-width: calc(var(--max) + var(--gut) * 2); width: 100%; margin: 0 auto; align-content: start; }
.menu__group h2 { font-family: var(--mono); font-size: 13.5px; color: var(--steel); font-weight: 400; margin-bottom: var(--s3); letter-spacing: 0; }
.menu__group a { display: block; font: 300 32px/1.25 var(--display); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.menu__group a:hover { color: var(--field); }
.menu__contact p { margin-bottom: var(--s3); }

/* ---------------------------------------------------------------- the inner-page sheet header */
.sheet { border-bottom: 1px solid var(--ink); background: var(--paper); }
.sheet__head { padding-top: var(--s8); padding-bottom: var(--s6); }
.crumbs { font-family: var(--mono); font-size: 13.5px; color: var(--steel); margin-bottom: var(--s5); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs a { color: var(--steel); }
.sheet h1 { max-width: 18ch; }
.lede { font-size: 21px; line-height: 1.55; max-width: 60ch; margin-top: var(--s5); color: var(--ink); }
.sheet__dwg { margin-top: var(--s2); margin-bottom: 0; }
.dwgbox { position: relative; width: 100%; }
.dwgbox .dwg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.kn { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); display: grid; place-items: center; font: 400 13px/1 var(--mono); color: var(--ink); pointer-events: none; }
.kn.is-on { background: var(--field); border-color: var(--field); color: var(--white); }
@media (max-width: 700px) { .kn { width: 22px; height: 22px; font-size: 11px; } }
.dw-t, .dw-k { font-family: var(--mono); }
.dw-n { font-family: var(--display); font-weight: 400; }
.dw-home { font-weight: 500; }
.keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 32px; margin: var(--s5) 0 0; padding: var(--s4) 0 var(--s6); border-top: 1px solid var(--rule); list-style: none; }
.keys li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: baseline; font-size: 16px; line-height: 1.45; }
.keys b { font-family: var(--mono); font-weight: 400; font-size: 13px; width: 26px; height: 26px; border: 1px solid var(--ink); border-radius: 50%; display: inline-grid; place-items: center; }
.keys li.is-on b { background: var(--field); border-color: var(--field); color: var(--white); }
.sheet__tb { display: grid; grid-template-columns: 1.2fr 1fr auto; border-top: 1px solid var(--ink); }
.sheet__tb > div { padding: 18px 24px 18px 0; display: flex; flex-direction: column; justify-content: center; }
.sheet__tb > div + div { border-left: 1px solid var(--rule); padding-left: 24px; }
.sheet__tb .mono { color: var(--steel); }
.sheet__tb strong { font: 400 22px/1.2 var(--display); }
.sheet__tb .btn { align-self: center; }
@media (max-width: 860px) {
  .sheet__head { padding-top: var(--s7); }
  .sheet__tb { grid-template-columns: 1fr; }
  .sheet__tb > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .sheet__tb .btn { width: 100%; margin: 16px 0 20px; }
  .lede { font-size: 19px; }
}

/* ---------------------------------------------------------------- sections and the document grid */
.sec { padding: var(--s9) 0; }
.sec + .sec { border-top: 1px solid var(--rule); }
.sec--sunk { background: var(--paper-2); }
.sec--white { background: var(--white); }
.sec h2 + p, .sec h2 + .intro { margin-top: var(--s5); }
.intro { font-size: 20px; line-height: 1.58; max-width: 62ch; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s8); align-items: start; }
.doc__main > * + * { margin-top: var(--s8); }
.doc__main h2 { margin-bottom: var(--s5); }
.doc__main h3 { margin: var(--s6) 0 var(--s3); }
.doc__main ul.plain, .doc__main ol.plain { list-style: none; }
.doc__main ul.ticks, ul.ticks { list-style: none; }
.doc__main ul.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; max-width: 64ch; }
.doc__main ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 1.5px; background: var(--ink); }
.notes { position: sticky; top: calc(var(--hdr) + 24px); border: 1px solid var(--ink); background: var(--white); }
.notes h2 { font: 400 24px/1.2 var(--display); padding: 18px 20px; border-bottom: 1px solid var(--rule); margin: 0; }
.notes dl { margin: 0; }
.notes dl div { padding: 12px 20px; border-bottom: 1px solid var(--rule); }
.notes dt { font-family: var(--mono); font-size: 13px; color: var(--steel); }
.notes dd { margin: 2px 0 0; font-size: 17px; line-height: 1.45; }
.notes .btn { width: calc(100% - 40px); margin: 18px 20px 8px; }
.notes .telink { display: block; padding: 4px 20px 18px; }
@media (max-width: 1080px) {
  .doc { grid-template-columns: 1fr; }
  .notes { position: static; }
}

/* numbered sequences (only for real sequences) */
.steps { list-style: none; counter-reset: st; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.steps li { counter-increment: st; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(st); font: 300 40px/1 var(--display); color: var(--steel); }
.steps h3 { margin: 4px 0 6px; font-size: 24px; }
.steps p { margin: 0; }
.steps .mono { color: var(--steel); display: block; margin-bottom: 4px; }

/* the schedule (a drawing-sheet table) */
.schedule { width: 100%; border-collapse: collapse; font-size: 16.5px; line-height: 1.45; }
.schedule caption { text-align: left; font-family: var(--mono); font-size: 13.5px; color: var(--steel); padding-bottom: 10px; }
.schedule th, .schedule td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.schedule thead th { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--steel); border-bottom: 1px solid var(--ink); }
.schedule tbody th { font: 400 21px/1.2 var(--display); }
.schedule tbody th a { text-decoration: none; }
.schedule tbody th a:hover { text-decoration: underline; }
.schedule td + td, .schedule th + td { padding-left: 16px; }
.schedule .group th { font-family: var(--mono); font-size: 13.5px; color: var(--steel); padding-top: 28px; border-bottom: 1px solid var(--ink); }
@media (max-width: 760px) {
  .schedule thead { display: none; }
  .schedule tr { display: block; border-bottom: 1px solid var(--rule); padding: 12px 0; }
  .schedule th, .schedule td { display: block; border: 0; padding: 2px 0; }
  .schedule td + td, .schedule th + td { padding-left: 0; }
  .schedule td::before { content: attr(data-h); display: block; font-family: var(--mono); font-size: 12.5px; color: var(--steel); }
}

/* dimension line (durations) */
.dims { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--s7); border-top: 1px solid var(--ink); }
.dims li { list-style: none; position: relative; padding: 26px 24px 0 0; counter-increment: dm; }
.dims li::before { content: ""; position: absolute; left: 0; top: -9px; width: 1px; height: 18px; background: var(--ink); transform: rotate(45deg); }
.dims li:last-child::after { content: ""; position: absolute; right: 0; top: -9px; width: 1px; height: 18px; background: var(--ink); transform: rotate(45deg); }
.dims .dur { position: absolute; top: -34px; left: 0; right: 24px; font-family: var(--mono); font-size: 13px; color: var(--steel); }
.dims h3 { font-size: 30px; font-weight: 300; }
.dims h3::before { content: counter(dm) "  "; color: var(--steel); }
.dims { counter-reset: dm; }
.dims p { margin-top: 10px; font-size: 17px; }
@media (max-width: 900px) {
  .dims { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--ink); margin-left: 10px; }
  .dims li { padding: 0 0 32px 28px; }
  .dims li::before { left: -9px; top: 4px; width: 18px; height: 1px; transform: rotate(-45deg); }
  .dims li:last-child::after { display: none; }
  .dims .dur { position: static; display: block; margin-bottom: 4px; }
}

/* figures and photographs */
.fig { margin: 0; }
.fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); }
.fig figcaption { font-family: var(--mono); font-size: 13px; color: var(--steel); padding-top: 10px; line-height: 1.5; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 700px) { .pair { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- reviews */
.rating { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.rating__num { font: 300 clamp(88px, 11vw, 160px)/0.85 var(--display); letter-spacing: -0.03em; }
.rating__of { font: 400 24px/1.2 var(--display); }
.stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.stars svg { width: 16px; height: 16px; }
.quote-lg { margin: var(--s7) 0 0; padding: var(--s6) 0 0; border-top: 1px solid var(--ink); }
.quote-lg blockquote { margin: 0; font: 300 clamp(26px, 2.6vw, 38px)/1.28 var(--display); max-width: 34ch; }
.quote-lg figcaption, .rv__who { font-family: var(--mono); font-size: 13.5px; color: var(--steel); margin-top: var(--s4); }
.rv-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); margin-top: var(--s7); }
.rv-list li { padding: 24px 0; border-top: 1px solid var(--rule); }
.rv-list blockquote { margin: 0; font-size: 18px; line-height: 1.6; }
@media (max-width: 860px) { .rv-list { grid-template-columns: 1fr; } }
.rv { padding: 28px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
.rv__mono { width: 48px; height: 48px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--rule); display: grid; place-items: center; font: 400 20px/1 var(--display); color: var(--ink); }
.rv__head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.rv__name { font: 500 19px/1.2 var(--body); }
.rv__date { font-family: var(--mono); font-size: 13px; color: var(--steel); }
.rv__text { margin-top: 10px; max-width: 70ch; }
.rv__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rv__more { margin-top: 6px; border: 0; background: none; padding: 6px 0; font-weight: 500; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.rv__reply { margin-top: 16px; padding: 14px 18px; border-left: 2px solid var(--ink); background: var(--white); max-width: 70ch; }
.rv__reply .mono { color: var(--steel); display: block; margin-bottom: 4px; }
.rv__reply p { margin: 0; font-size: 16.5px; }
.wall { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; margin-top: var(--s5); }
.wall li { padding: 12px 0; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 16px; }
.wall li span { font-family: var(--mono); font-size: 12.5px; color: var(--steel); white-space: nowrap; }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 400 22px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq details > div { padding: 0 0 22px; max-width: 66ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- the homepage story (3D) */
.story { position: relative; }
.stage { position: relative; background: var(--paper); overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease; }
.stage.is-live canvas { opacity: 1; }
.stage__still { position: absolute; inset: 0; margin: 0; }
.stage__still img { width: 100%; height: 100%; object-fit: cover; }
.has-3d .stage__still { display: none; }
.beat__no { font-family: var(--mono); font-size: 13.5px; color: var(--steel); display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.beat__no b { font-weight: 400; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink); display: inline-grid; place-items: center; color: var(--ink); background: var(--paper); }
.beat h2 { font-size: clamp(38px, 4vw, 60px); }
.beat__svc { font: 400 22px/1.3 var(--display); margin-top: 10px; }
.beat p { margin-top: var(--s4); }
.beat__links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: var(--s5); }
.beat__text--hero h1 { max-width: 11ch; }
.beat__text--hero .intro { margin-top: var(--s5); max-width: 36ch; }
.beat__text--hero .proof { margin-top: var(--s5); font-family: var(--mono); font-size: 13.5px; color: var(--steel); }
.beat__text--hero .proof b { font-family: var(--display); font-size: 21px; font-weight: 400; color: var(--ink); margin-right: 8px; }
.hud { display: none; }

/* without the scene: a still of the finished model, then the layers as ordinary sections */
html:not(.has-3d) .story { display: flex; flex-direction: column; }
html:not(.has-3d) .beats { display: contents; }
html:not(.has-3d) .beat--hero { order: -1; padding: var(--s8) var(--gut) var(--s6); max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; width: 100%; }
html:not(.has-3d) .beat--hero .beat__text { max-width: 760px; }
html:not(.has-3d) .beat__text--hero h1 { max-width: 14ch; }
html:not(.has-3d) .beat__text--hero .intro { max-width: 52ch; }
html:not(.has-3d) .stage { aspect-ratio: 16 / 8; max-height: 78vh; width: 100%; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
html:not(.has-3d) .beat:not(.beat--hero) { border-bottom: 1px solid var(--rule); }
html:not(.has-3d) .beat:not(.beat--hero) .beat__inner {
  max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: var(--s8) var(--gut);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: center;
}
html:not(.has-3d) .beat:nth-child(odd):not(.beat--hero) .beat__photo { order: -1; }
html:not(.has-3d) .beat--done .beat__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
@media (max-width: 860px) {
  html:not(.has-3d) .stage { aspect-ratio: 4 / 4.2; max-height: none; }
  html:not(.has-3d) .beat:not(.beat--hero) .beat__inner { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s7) var(--gut); }
  html:not(.has-3d) .beat:nth-child(odd):not(.beat--hero) .beat__photo { order: 0; }
}

/* with the scene: the stage pins, the beats become scroll length, their words sit in the stage */
.has-3d .stage { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); }
.has-3d .beats { position: relative; z-index: 2; margin-top: calc((100vh - var(--hdr)) * -1); margin-top: calc((100svh - var(--hdr)) * -1); pointer-events: none; }
.has-3d .beat { height: 118vh; }
.has-3d .beat--hero { height: 104vh; }
.has-3d .beat--done { height: 150vh; }
.has-3d .beat__inner, .has-3d .beat__photo { display: none; }
.stage__words { position: absolute; inset: 0 0 58px; z-index: 2; pointer-events: none; }
.stage__words::before { content: ""; position: absolute; inset: 0 auto 0 0; width: min(760px, 58%); background: linear-gradient(90deg, rgba(244, 246, 246, 0.9) 0%, rgba(244, 246, 246, 0.78) 55%, rgba(244, 246, 246, 0) 100%); pointer-events: none; }
.stage__words .beat__text {
  position: absolute; left: max(var(--gut), calc((100% - var(--max)) / 2)); top: 50%; width: min(440px, 36vw);
  transform: translateY(-50%); pointer-events: auto;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1), visibility 0s;
}
.stage__words .beat__text[data-beat="0"] { width: min(560px, 42vw); }
.stage__words .beat__text:not(.is-live) { opacity: 0; transform: translateY(calc(-50% + 14px)); visibility: hidden; pointer-events: none; transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
/* the title block sits at the foot of the sheet, bottom left: the bottom-right corner belongs to the widget */
.has-3d .hud {
  display: grid; grid-template-columns: auto auto auto; align-items: stretch;
  width: max-content; max-width: calc(100% - 232px); overflow: hidden;
  position: sticky; bottom: 0; z-index: 3; height: 58px; margin-top: -58px;
  background: rgba(244, 246, 246, 0.92); border-top: 1px solid var(--ink); border-right: 1px solid var(--ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hud > * + * { border-left: 1px solid var(--rule); }
.hud__title { display: flex; flex-direction: column; justify-content: center; padding: 0 24px 0 var(--gut); }
.hud__title .mono { color: var(--steel); font-size: 12.5px; }
.hud__title strong { font: 400 18px/1.1 var(--display); }
.hud__steps { display: flex; align-items: stretch; list-style: none; overflow: hidden; }
.hud__steps li { display: flex; }
.hud__steps button { border: 0; background: none; padding: 0 16px; cursor: pointer; display: flex; align-items: center; gap: 8px; font: 400 16px/1 var(--body); color: var(--steel); border-bottom: 3px solid transparent; }
.hud__steps button b { font-family: var(--mono); font-weight: 400; font-size: 12.5px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; display: inline-grid; place-items: center; }
.hud__steps button.is-done { color: var(--ink); }
.hud__steps button.is-now { color: var(--ink); border-bottom-color: var(--field); }
.hud__steps button.is-now b { background: var(--field); border-color: var(--field); color: var(--white); }
.hud__skip { display: flex; align-items: center; padding: 0 22px 0 20px; font-size: 16px; white-space: nowrap; }
@media (max-width: 1400px) { .hud__steps span { display: none; } }
@media (max-width: 860px) {
  .has-3d .beat { height: 112vh; }
  .stage__words { inset: 0 0 126px; }
  .stage__words::before { display: none; }
  .stage__words .beat__text, .stage__words .beat__text[data-beat="0"] {
    left: 0; right: 0; width: auto; top: auto; bottom: 0; transform: none;
    background: rgba(244, 246, 246, 0.95); border-top: 1px solid var(--ink); padding: 16px var(--gut) 16px;
  }
  .stage__words .beat__text:not(.is-live) { transform: translateY(14px); }
  .stage__words .beat__text h2 { font-size: 29px; }
  .stage__words .beat__svc { font-size: 17px; margin-top: 4px; }
  .stage__words .beat__text p { font-size: 15.5px; line-height: 1.5; margin-top: 8px; }
  .stage__words .beat__no { margin-bottom: 8px; }
  .stage__words .beat__links { margin-top: 12px; }
  .stage__words .beat__links .btn { min-height: 46px; padding: 0 18px; }
  .stage__words .beat__text--hero h1 { font-size: 40px; }
  .stage__words .beat__text[data-beat="0"] .intro { font-size: 16.5px; margin-top: 10px; }
  .stage__words .beat__text[data-beat="0"] .actions { margin-top: 14px; gap: 10px 18px; }
  .stage__words .beat__text[data-beat="0"] .proof { display: none; }
  /* phones: the widget's launcher is a wide pill here, so the strip ends by x 146 */
  .has-3d .hud { height: 48px; margin-top: -48px; grid-template-columns: 1fr; bottom: 0; width: 146px; max-width: none; }
  .has-3d .hud__title, .has-3d .hud__skip { display: none; }
  .has-3d .hud__steps { padding: 0 1px; }
  .has-3d .hud__steps li { flex: 1 1 0; }
  .has-3d .hud__steps button { padding: 0; width: 100%; justify-content: center; }
  .beat__svc { font-size: 19px; }
}

/* ---------------------------------------------------------------- homepage bands */
.band-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
@media (max-width: 960px) { .band-grid { grid-template-columns: 1fr; gap: var(--s6); } }
.svc-links { list-style: none; border-top: 1px solid var(--ink); }
.svc-links li { border-bottom: 1px solid var(--rule); }
.svc-links a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 16px 0; text-decoration: none; }
.svc-links a:hover .svc-links__t { text-decoration: underline; text-underline-offset: 0.2em; }
.svc-links b { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--steel); }
.svc-links__t { font: 400 24px/1.2 var(--display); }
.svc-links__d { font-family: var(--mono); font-size: 13px; color: var(--steel); text-align: right; }
@media (max-width: 700px) {
  .svc-links a { grid-template-columns: 30px minmax(0, 1fr); row-gap: 2px; }
  .svc-links__d { grid-column: 2; text-align: left; }
}
.marks { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; margin-top: var(--s5); }
.marks img { height: 64px; width: auto; }
.marks img.mark-gaf { height: 48px; }
.dwgbox--plan { max-width: 920px; margin: 0 auto; }
.towns { list-style: none; columns: 2; column-gap: var(--s6); margin-top: var(--s5); }
.towns li { break-inside: avoid; padding: 8px 0; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; }
.towns li span { font-family: var(--mono); font-size: 12.5px; color: var(--steel); text-align: right; }
@media (max-width: 560px) { .towns { columns: 1; } }

.ask { background: var(--night); color: var(--paper); padding: var(--s9) 0; }
.ask h2 { max-width: 16ch; }
.ask p { color: var(--night-2); font-size: 20px; margin-top: var(--s5); }
.ask .telink { color: var(--paper); }
.ask .telink span { color: var(--night-2); }
.ask .btn--talk:focus-visible, .ask a:focus-visible { outline-color: #7FD18A; }

/* ---------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6) var(--s5); margin-top: var(--s7); }
.gallery .fig { grid-column: span 4; }
.gallery .fig.w6 { grid-column: span 6; }
.gallery .fig.tall img { aspect-ratio: 3 / 4; }
.gallery button { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.fig__tag { display: inline-block; margin-right: 8px; color: var(--ink); }
@media (max-width: 960px) { .gallery .fig, .gallery .fig.w6 { grid-column: span 6; } }
@media (max-width: 600px) { .gallery .fig, .gallery .fig.w6 { grid-column: span 12; } }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(15, 24, 33, 0.94); display: grid; grid-template-rows: auto 1fr auto; color: var(--paper); }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gut); }
.lightbox__img { display: grid; place-items: center; padding: 0 var(--gut); min-height: 0; }
.lightbox__img img { max-height: 78vh; width: auto; max-width: 100%; }
.lightbox__cap { padding: 14px var(--gut) 26px; font-family: var(--mono); font-size: 13.5px; color: var(--night-2); text-align: center; }
.lightbox button { min-height: 48px; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.facts { border-top: 1px solid var(--ink); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
.facts dt { font-family: var(--mono); font-size: 13px; color: var(--steel); padding-top: 4px; }
.facts dd { margin: 0; font-size: 18px; }
.facts .big { font: 400 30px/1.1 var(--display); text-decoration: none; }
@media (max-width: 560px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.form { border: 1px solid var(--ink); background: var(--white); padding: var(--s6); }
.form h2 { font-size: 34px; }
.field { margin-top: var(--s5); }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: 400 18px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--steel); border-radius: 2px; padding: 13px 14px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--field); outline-offset: 1px; border-color: var(--ink); }
.form .btn { margin-top: var(--s5); width: 100%; }
.form__msg { margin-top: var(--s4); padding: 14px 16px; border-left: 3px solid var(--field); background: var(--paper); display: none; }
.form__msg.is-on { display: block; }
.form__msg.is-bad { border-left-color: #A3352B; }
.map { margin-top: var(--s7); border: 1px solid var(--ink); }
.map iframe { width: 100%; height: 420px; border: 0; }
.map figcaption { padding: 14px 18px; border-top: 1px solid var(--rule); font-size: 16px; }

/* ---------------------------------------------------------------- team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.team .fig img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
@media (max-width: 700px) { .team { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.ft { background: var(--night); color: var(--paper); padding: var(--s8) 0 var(--s6); border-top: 1px solid var(--ink); }
.ft a { color: var(--paper); text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr 1fr; gap: var(--s6); }
.ft__brand img { width: 170px; }
.ft__brand p { color: var(--night-2); margin-top: var(--s4); font-size: 16px; max-width: 30ch; }
.ft h2 { font: 400 13px/1.4 var(--mono); color: var(--night-2); margin-bottom: var(--s3); letter-spacing: 0; }
.ft ul { list-style: none; }
.ft li { padding: 5px 0; font-size: 16px; }
.ft address { font-style: normal; font-size: 16px; line-height: 1.6; }
.ft address .ft__tel { font: 400 24px/1.3 var(--display); }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(201, 214, 224, 0.28); font-size: 14px; color: var(--night-2); }
.ft__bottom a { color: var(--night-2); }
.ft :focus-visible { outline-color: #7FD18A; }
@media (max-width: 1080px) { .ft__top { grid-template-columns: 1fr 1fr 1fr; } .ft__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ft__top { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
