/* HS Joinery — design tokens
   Mist and estuary: the light off the Mersey at New Brighton.
   Oak is the material, used sparingly. */
:root {
  --mist: #f4f4f2;
  --paper: #ffffff;
  --ink: #111111;
  --ink-2: #4d4d4d;
  --stone: #8a8a87;
  --line: #e0e0dd;
  --estuary: #161616;
  --estuary-2: #262626;
  --estuary-ink: #f2f2f0;
  --estuary-mute: #a3a3a0;
  --oak: #111111;
  --oak-lit: #e8e8e5;

  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1240px;
  --nav-h: 52px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
.lead, .statement, .tile p, .stage-caption p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; border-radius: 4px; }
.estuary :focus-visible, .tile :focus-visible { outline-color: var(--oak-lit); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; text-decoration: none; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(3.9rem, 10.5vw, 9.25rem);
  line-height: .9;
  letter-spacing: -.045em;
  font-weight: 600;
  font-variation-settings: "wdth" 82;
}
.display-sub {
  display: block;
  margin-top: .55em;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 500;
  font-variation-settings: "wdth" 100;
  color: var(--ink-2);
}
.h2 {
  font-size: clamp(2.4rem, 6vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.04em;
  font-variation-settings: "wdth" 85;
}
.h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-variation-settings: "wdth" 90;
}
.lead {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--ink-2);
  max-width: 34em;
}
.statement {
  font-size: clamp(1.75rem, 3.9vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 600;
  font-variation-settings: "wdth" 88;
  max-width: 21em;
  margin: 0;
}
.statement .mute { color: var(--stone); }
.small { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.textlink { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.textlink:hover { text-decoration-thickness: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #333; }
.btn-line { border-color: currentColor; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e3e7e6; }
.btn-ghost-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(30, 37, 41, .08);
}
.nav-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand img { height: 38px; width: auto; display: block; }
.footer .brand img { height: 56px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; list-style: none; padding: 0; margin-block: 0; }
.nav-links a, .nav-links button { font-size: 14px; color: var(--ink-2); text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.nav-links a:hover, .nav-links button:hover, .nav-links [aria-current="page"] { color: var(--ink); }
.nav-links .btn { min-height: 34px; padding: 0 16px; font-size: 14px; color: #fff; }
.nav-links .btn-solid { background: var(--ink); color: #fff; }
.nav-links .btn-solid:hover { background: #333; color: #fff; }
.nav-links .btn svg { width: 16px; height: 16px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

.flyout {
  position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 49;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(30, 37, 41, .08);
  padding: 34px 0 44px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.flyout.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.flyout-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.flyout h2 { font-size: 13px; font-weight: 500; color: var(--stone); margin-bottom: 14px; }
.flyout ul { list-style: none; margin: 0; padding: 0; }
.flyout .big a { display: block; text-decoration: none; font-size: 26px; font-weight: 600; letter-spacing: -.025em; line-height: 1.35; font-variation-settings: "wdth" 90; }
.flyout .big a:hover { color: var(--oak); }
.flyout .quiet a { display: block; text-decoration: none; font-size: 15px; line-height: 2; color: var(--ink-2); }
.flyout .quiet a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(56px, 10vh, 120px)); text-align: center; }
.hero .display { max-width: 11ch; margin-inline: auto; }
.hero .display-sub { max-width: 24em; margin-inline: auto; }
.hero .btn-row { justify-content: center; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--stone); }

/* Inset photo that opens to full bleed as you scroll. The one big moment. */
.stage { position: relative; height: 175vh; margin-top: clamp(40px, 7vh, 80px); --p: 0; }
.stage-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.stage-media {
  position: absolute; inset: 0;
  clip-path: inset(calc((1 - var(--p)) * 9vh) calc((1 - var(--p)) * 12vw) calc((1 - var(--p)) * 9vh) calc((1 - var(--p)) * 12vw) round calc((1 - var(--p)) * 28px));
}
.stage-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.1 - var(--p) * .1)); }
.stage-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .62) 0%, rgba(10, 10, 10, 0) 46%); opacity: calc(var(--p) * 1.4 - .4); }
.stage-caption {
  position: absolute; left: 0; right: 0; bottom: clamp(32px, 8vh, 80px);
  color: #fff; text-align: center;
  opacity: calc(var(--p) * 3 - 2); transform: translateY(calc((1 - var(--p)) * 24px));
}
.stage-caption p { margin: 0 auto; max-width: 22em; text-wrap: balance; font-size: clamp(1.5rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; font-variation-settings: "wdth" 88; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 13vw, 168px); }
.section-tight { padding-block: clamp(64px, 9vw, 112px); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 20px; }
.center { text-align: center; }
.center .lead, .center .statement { margin-inline: auto; }
.paper { background: var(--mist); }

/* ---------- Service tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(520px, 62vw, 700px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(44px, 6vw, 64px) 24px;
  color: #fff; background: var(--estuary); text-decoration: none;
}
.tile-wide { grid-column: 1 / -1; min-height: clamp(560px, 56vw, 760px); }
.tile picture, .tile > img { position: absolute; inset: 0; z-index: -2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(10, 10, 10, .66) 0%, rgba(10, 10, 10, .34) 30%, rgba(10, 10, 10, 0) 58%); }
.tile h3, .tile p { text-shadow: 0 1px 24px rgba(10, 10, 10, .35); }
.tile:hover img { transform: scale(1.025); }
.tile h3 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); line-height: 1; letter-spacing: -.04em; font-variation-settings: "wdth" 85; }
.tile-wide h3 { font-size: clamp(2.6rem, 6vw, 4.9rem); }
.tile p { margin: 12px auto 26px; font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.3; letter-spacing: -.012em; max-width: 22em; color: rgba(255,255,255,.92); }
.tile .btn-row { justify-content: center; }
.tile-plain { background: var(--estuary); justify-content: center; }
.tile-plain::before { display: none; }
.tile-plain p { color: var(--estuary-mute); }
.tile-plain h3, .tile-plain p { text-shadow: none; }

/* ---------- Details carousel ---------- */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(30,37,41,.08); cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.rail-ctrl button:hover { background: rgba(30,37,41,.16); }
.rail-ctrl button:disabled { opacity: .35; cursor: default; }
.rail-ctrl svg { width: 18px; height: 18px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 400px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.rail figure { margin: 0; scroll-snap-align: start; }
.rail .frame { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--line); }
.rail img { width: 100%; height: 100%; object-fit: cover; }
.rail figcaption { padding: 18px 4px 0; }
.rail figcaption strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.rail figcaption span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.45; max-width: 30ch; }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 22px; }
.steps li::before { content: counter(s); display: block; font-size: clamp(3rem, 5vw, 4.25rem); line-height: 1; font-weight: 600; letter-spacing: -.05em; color: var(--stone); font-variation-settings: "wdth" 80; margin-bottom: 26px; }
.steps h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* ---------- Scott ---------- */
.person { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.person .frame { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--line); }
.person .frame img { width: 100%; height: 100%; object-fit: cover; }
.person .lead { margin-top: 24px; }
.person .btn-row { margin-top: 32px; }

/* ---------- Areas (dark) ---------- */
.estuary { background: var(--estuary); color: var(--estuary-ink); }
.estuary .lead { color: var(--estuary-mute); }
.towns { list-style: none; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1em .55em; font-size: clamp(2rem, 5.2vw, 4.4rem); line-height: 1.12; letter-spacing: -.04em; font-weight: 600; font-variation-settings: "wdth" 82; color: var(--estuary-2); }
.towns li { color: #5c5c5a; }
.towns .home-base { color: var(--estuary-ink); }
.towns .near { color: var(--estuary-mute); }
.towns-key { margin-top: 28px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--estuary-mute); }
.towns-key span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.towns-key .k1::before { background: var(--estuary-ink); }
.towns-key .k2::before { background: var(--estuary-mute); }
.towns-key .k3::before { background: #5c5c5a; }

/* ---------- Split / editorial blocks (service pages) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.split:first-child { border-top: 0; }
.split h2 { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.split .body p { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.split .body p:last-child { margin-bottom: 0; }

.includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.includes > div { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.includes h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.includes p { color: var(--ink-2); margin: 0; font-size: 16px; max-width: 28ch; }

.page-hero { padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 104px)); padding-bottom: clamp(40px, 6vw, 64px); }
.page-hero .display { font-size: clamp(3rem, 8.4vw, 7.5rem); max-width: 12ch; }
.page-hero .lead { margin-top: 28px; }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { font-size: 13px; color: var(--stone); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { margin-inline: 8px; }
.wide-photo { padding-inline: 12px; }
.wide-photo .frame { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--line); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 7.25px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { padding: 0 0 28px; max-width: 42em; color: var(--ink-2); font-size: 17px; }
.faq .answer p { margin: 0; }

/* ---------- Quote / form ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.quote .h2 { max-width: 9ch; }
.quote .lead { margin-top: 24px; }
.contact-lines { margin-top: 40px; display: grid; gap: 4px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 12px 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.contact-lines a:last-child { border-bottom: 1px solid var(--line); }
.contact-lines a:hover { color: var(--oak); }
.contact-lines svg { width: 22px; height: 22px; flex: none; color: var(--ink-2); }
.contact-lines small { margin-left: auto; font-size: 13px; color: var(--stone); font-weight: 400; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field span em { font-style: normal; font-weight: 400; color: var(--stone); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #f4f4f2; border: 1px solid transparent; border-radius: 12px;
  padding: 14px 15px; transition: border-color .2s, background-color .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234a545a' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); }
.form .btn { width: 100%; margin-top: 8px; }
.form-foot { margin: 16px 0 0; font-size: 13px; color: var(--stone); text-align: center; }
.hp { display: none; }

/* ---------- Final CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .display { font-size: clamp(3rem, 9vw, 7.5rem); max-width: 10ch; margin-inline: auto; }
.cta-band .lead { margin: 26px auto 0; }
.cta-band .btn-row { margin-top: 36px; }

/* ---------- Related services strip ---------- */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related a { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--estuary); }
.related img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.related a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,10,10,.7), rgba(10,10,10,0) 55%); }
.related a:hover img { transform: scale(1.04); }
.related span { position: absolute; left: 22px; right: 22px; bottom: 20px; font-size: 21px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 40em; }
.prose h2 { font-size: 24px; letter-spacing: -.02em; margin: 48px 0 12px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }

/* ---------- Footer ---------- */
.footer { background: var(--mist); border-top: 1px solid var(--line); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer h2 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand p { max-width: 30em; margin-top: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; color: var(--stone); }

/* ---------- WhatsApp: desktop pill + mobile bar ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 20px 0 16px; height: 50px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-size: 15px; font-weight: 500;
  box-shadow: 0 10px 30px -10px rgba(30,37,41,.5);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .2s;
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: #333; }
.wa-float svg { width: 22px; height: 22px; color: #3fd27a; }
.mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .includes { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .flyout-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .flyout { top: var(--nav-h); bottom: 0; overflow-y: auto; padding-top: 24px; }
  .flyout .big a { font-size: 30px; line-height: 1.5; }
  .tiles { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
  .tile, .tile-wide { min-height: 560px; }
  .tile.tile-plain { min-height: 380px; }
  .stage-media img { object-position: 28% 50%; }
  .person, .quote, .split { grid-template-columns: 1fr; }
  .split h2 { position: static; }
  .person .frame { order: -1; }
  .wa-float { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid rgba(30,37,41,.08);
  }
  .mbar .btn { min-height: 46px; }
  body { padding-bottom: 70px; }
  .stage { height: 140vh; }
  .stage-media { clip-path: inset(calc((1 - var(--p)) * 6vh) calc((1 - var(--p)) * 5vw) calc((1 - var(--p)) * 6vh) calc((1 - var(--p)) * 5vw) round calc((1 - var(--p)) * 22px)); }
  .wide-photo .frame { aspect-ratio: 4 / 3.4; border-radius: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .includes, .form .row { grid-template-columns: 1fr; }
  .steps { row-gap: 40px; }
  .includes > div { padding-right: 0; }
  .rail-ctrl { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .split .body p { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .stage { height: auto; --p: 1 !important; }
  .stage-pin { position: relative; height: 82vh; }
  .tile:hover img, .related a:hover img { transform: none; }
}

/* ---------- Work cards & area pages ---------- */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.job { text-decoration: none; display: block; }
.job .frame { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--line); }
.job img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.job:hover img { transform: scale(1.03); }
.job h3 { font-size: 19px; letter-spacing: -.02em; margin-top: 16px; line-height: 1.25; }
.job p { margin: 4px 0 0; font-size: 14px; color: var(--stone); }
.job-hero { padding-inline: 12px; }
.job-hero .frame { border-radius: 28px; overflow: hidden; background: var(--line); max-height: 82vh; }
.job-hero img { width: 100%; height: 100%; max-height: 82vh; object-fit: cover; }
.job-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.job-meta a, .job-meta span { font-size: 14px; padding: 7px 14px; border-radius: 99px; background: var(--mist); text-decoration: none; color: var(--ink-2); }
.job-meta a:hover { background: var(--line); color: var(--ink); }
.job-body { max-width: 40em; }
.job-body p { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.job-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-inline: 12px; }
.job-gallery figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--line); }
.job-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.job-gallery figure.tall img { aspect-ratio: 3 / 4; }
.local-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.local-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; }
.local-list strong { font-size: 18px; letter-spacing: -.015em; font-weight: 600; }
.local-list span { color: var(--stone); font-size: 14px; white-space: nowrap; }
@media (max-width: 980px) { .jobs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .jobs, .job-gallery { grid-template-columns: 1fr; } .local-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Videos on job pages ---------- */
.job-hero video { display: block; width: 100%; max-height: 82vh; background: #000; object-fit: contain; }
.job-gallery video { display: block; width: 100%; height: 100%; background: #000; object-fit: contain; aspect-ratio: 4 / 3; }
.job-gallery figure.vid.tall video, .job-gallery figure.tall video { aspect-ratio: 3 / 4; }
