/*
 * NOVARO homepage. Brand: ink, paper, NOVARO red; Future Tense (display), Montserrat (text),
 * IBM Plex Mono (labels). Shape language from the log-in page: large radii, pills, circles, and
 * notched image corners; the logo's red bar (sloped top) marks every section label.
 */
@font-face {
  font-family: 'Future Tense';
  src: url('../assets/fonts/future-tense-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Arial stretched to Future Tense's width, so the headline doesn't move when the brand font arrives. */
@font-face {
  font-family: 'Future Tense Fallback';
  src: local('Arial'), local('ArialMT'), local('Helvetica');
  size-adjust: 151%;
  ascent-override: 70%;
  descent-override: 19%;
  line-gap-override: 0%;
}
/* A local font sized like Montserrat, so the swap when Montserrat arrives doesn't shift the page. */
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial'), local('ArialMT'), local('Helvetica Neue'), local('Roboto');
  size-adjust: 113.4%;
  ascent-override: 85.4%;
  descent-override: 22.2%;
  line-gap-override: 0%;
}

:root {
  --ink: #171e1e;
  --ink-2: #222a2a;
  --paper: #f7f7f5;
  --paper-2: #efefeb;
  --white: #fff;
  --red: #e63a43;
  --red-dk: #c92f38;
  --red-text: #b3303a;
  --muted: #535a5a;
  --quiet: #858b8d;
  --line: rgba(23, 30, 30, 0.12);
  --line-2: rgba(23, 30, 30, 0.22);
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --gut: clamp(16px, 3.4vw, 48px);
  --maxw: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --f-sans: 'Montserrat', 'Montserrat Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Future Tense', 'Future Tense Fallback', 'Montserrat', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--red);
  --hdr-h: 92px;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 16px; }
.wrap { width: min(var(--maxw), calc(100% - 2 * var(--gut))); margin-inline: auto; }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── labels and headings ── */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font: 500 12px/1.2 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker-light { color: rgba(255, 255, 255, 0.72); }
/* the red bar of the logo: sloped top */
.mk-bar { width: 9px; height: 16px; flex: none; background: var(--red); clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%); }

.h2 {
  font: 400 clamp(28px, 3.1vw, 48px)/1.08 var(--f-display);
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
}
.h2 .soft { color: #a2a7a8; }
.h2-light { color: #fff; }
.h2-light .soft { color: rgba(255, 255, 255, 0.46); }

/* ── buttons: pills; a circle grows from the arrow on hover ── */
.btn {
  --fill: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 600 15px/1 var(--f-sans);
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.35s var(--ease), border-color 0.35s, transform 0.2s;
}
.btn:has(.btn-ic) { padding-right: 8px; }
.btn::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 8px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: var(--fill);
  transform: scale(0);
  transition: transform 0.65s var(--ease);
}
.btn:not(:has(.btn-ic))::before { right: 50%; margin-right: -20px; }
.btn:hover::before { transform: scale(14); }
.btn:active { transform: translateY(1px); }
.btn-ic {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.5s var(--ease), background-color 0.35s, color 0.35s;
}
.btn-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-ic { transform: rotate(-45deg); }
.btn-red { background: var(--red); color: #fff; --fill: var(--ink); }
.btn-red .btn-ic { color: var(--red); }
.btn-ink { background: var(--ink); color: #fff; --fill: var(--red); }
.btn-ink .btn-ic { color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); --fill: var(--ink); }
.btn-line:hover { color: #fff; }
.btn-sm { height: 48px; font-size: 14px; }
.btn-sm .btn-ic { width: 34px; height: 34px; }
.btn-sm::before { width: 34px; height: 34px; margin-top: -17px; }
.btn-block { width: 100%; }
.btn-block:has(.btn-ic) { justify-content: space-between; padding-left: 26px; }
.btn:disabled { opacity: 0.6; cursor: default; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  font: 600 15px/1.3 var(--f-sans);
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 4px;
}
.link-arrow span:last-child { transition: transform 0.4s var(--ease); }
/* text links keep their look but get a finger-sized hit area (≥44px) */
.link-arrow, .foot-tel { position: relative; }
.link-arrow::after, .foot-tel::after { content: ''; position: absolute; inset: -10px -6px; }
.link-arrow:hover span:last-child { transform: translateX(4px); }

.live-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--red); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 58, 67, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(230, 58, 67, 0); }
}

/* ── header: floats as a pill once you scroll ── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px var(--gut) 0; pointer-events: none; }
.hdr-bar {
  pointer-events: auto;
  max-width: var(--maxw);
  margin: 0 auto;
  height: 64px;
  /* logo | tabs (centred on the bar) | actions: the two outer columns share the leftover space equally */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 0 0 2px;
  border-radius: 999px;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
}
.hdr.is-solid .hdr-bar {
  padding: 0 8px 0 22px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 12px 34px rgba(23, 30, 30, 0.09), 0 0 0 1px rgba(23, 30, 30, 0.06);
}
.brand { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 10px; flex: none; min-height: 44px; border-radius: 8px; }
.brand-mk { width: 34px; height: auto; }
.brand-wm { width: 100px; height: auto; }
.hdr-nav { grid-column: 2; display: flex; gap: 2px; }
.hdr-nav a { padding: 10px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background-color 0.3s, color 0.3s; }
.hdr-nav a:hover { background: rgba(23, 30, 30, 0.06); }
.hdr-nav a.is-active { background: var(--ink); color: #fff; }
.hdr-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; }
/* Log in sits beside "Free assessment" as a quiet outlined pill of the same height */
.hdr-login { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: box-shadow 0.3s, background-color 0.3s; }
.hdr-login:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: rgba(23, 30, 30, 0.04); }
.hdr-tel { display: flex; align-items: center; gap: 9px; min-height: 44px; font: 500 13.5px/1 var(--f-mono); white-space: nowrap; }
.hdr-tel:hover { color: var(--red-text); }
.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.menu-lines, .menu-lines::before { display: block; width: 18px; height: 1.6px; background: currentColor; transition: transform 0.45s var(--ease); }
.menu-lines { position: relative; transform: translateY(-3px); }
.menu-lines::before { content: ''; position: absolute; top: 6px; left: 0; }
.menu-btn[aria-expanded='true'] .menu-lines { transform: translateY(0) rotate(45deg); }
.menu-btn[aria-expanded='true'] .menu-lines::before { transform: translateY(-6px) rotate(-90deg); }

/* phone menu: opens as a circle from the menu button */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 104px var(--gut) calc(28px + env(safe-area-inset-bottom));
  background: var(--paper);
  overflow-y: auto;
  clip-path: circle(0 at calc(100% - var(--gut) - 32px) 46px);
  transition: clip-path 0.7s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gut) - 32px) 46px); }
.menu[hidden] { display: none; }
.menu nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 26px/1.1 var(--f-display); }
.menu-actions { display: grid; gap: 10px; }
.menu-login { justify-self: center; padding: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }

/* ── hero ── */
.hero { padding-top: calc(var(--hdr-h) + clamp(28px, 5vh, 64px)); }
.hero-top { display: block; }
.hero-copy { max-width: min(62%, 860px); }
.hero-h {
  font: 400 clamp(24px, 2.55vw, 56px)/1.14 var(--f-display);
  letter-spacing: 0;
  text-transform: uppercase;
  color: #3a4042;
}
.hero-h em { font-style: normal; color: var(--red); white-space: nowrap; }
.hero-h .ln { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.07em; }
.hero-h .ln > span { display: inline-block; }
.lead { max-width: 720px; margin-top: 14px; font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* title, description, dark container and building are one composition */
.hero-comp { position: relative; --W: min(var(--maxw), calc(100vw - 2 * var(--gut))); --tf: calc(var(--W) * 0.028); --fig-h: clamp(340px, 58vh, 640px); }
.hero-stage { position: relative; margin-top: clamp(18px, 2.6vh, 28px); }
.hero-fig {
  position: relative;
  height: var(--fig-h);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #232a2d;
}
.hero-fig:not(.scene) > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* notches: paper-coloured cut-outs with concave corners */
.notch { position: absolute; z-index: 2; background: var(--paper); --nr: 28px; }
.notch::before, .notch::after { content: ''; position: absolute; width: var(--nr); height: var(--nr); }
.notch-bl { left: 0; bottom: 0; padding: 12px 12px 0 0; border-top-right-radius: var(--nr); }
.notch-bl::before { left: 0; top: calc(-1 * var(--nr)); background: radial-gradient(circle at 100% 0, transparent calc(var(--nr) - 0.5px), var(--paper) var(--nr)); }
.notch-bl::after { right: calc(-1 * var(--nr)); bottom: 0; background: radial-gradient(circle at 100% 0, transparent calc(var(--nr) - 0.5px), var(--paper) var(--nr)); }


.hero-ctas { display: flex; gap: 10px; padding: 12px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.hero-ctas .btn { height: 52px; font-size: 14.5px; }
.hero-ctas .btn-ic { width: 38px; height: 38px; }

.assure { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px; }
.assure li { display: flex; gap: 14px; align-items: flex-start; }
.assure .ic { width: 26px; height: 26px; margin-top: 1px; color: var(--red); stroke-width: 1.5; }
.assure b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.assure span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ── sections ── */
.sec { padding: clamp(80px, 9vw, 128px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4.4vw, 60px); }
.sec-intro { max-width: 460px; justify-self: end; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* services: bento with notched arrow corners */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(260px, 24vw)) auto; gap: 16px; }
.tile { position: relative; isolation: isolate; display: block; overflow: hidden; min-height: 280px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.tile > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transition: scale 1.4s var(--ease); }
.tile:hover > img { scale: 1.06; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(23, 30, 30, 0) 34%, rgba(23, 30, 30, 0.86) 100%); }
.tile-xl { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 8px; padding: 22px 24px 24px; }
.tile h3 { font: 600 19px/1.25 var(--f-sans); letter-spacing: -0.01em; }
.tile-xl h3 { font-size: clamp(22px, 2vw, 30px); }
.tile-p { max-width: 36ch; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.tile-n { font: 500 12px/1 var(--f-mono); color: rgba(255, 255, 255, 0.6); }
.tile-go { position: absolute; top: 0; right: 0; z-index: 2; padding: 0 0 8px 8px; background: var(--paper); border-bottom-left-radius: 22px; --nr: 22px; }
.tile-go::before, .tile-go::after { content: ''; position: absolute; width: var(--nr); height: var(--nr); background: radial-gradient(circle at 0 100%, transparent calc(var(--nr) - 0.5px), var(--paper) var(--nr)); }
.tile-go::before { top: 0; left: calc(-1 * var(--nr)); }
.tile-go::after { right: 0; bottom: calc(-1 * var(--nr)); }
.tile-go > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; transition: background-color 0.35s, transform 0.55s var(--ease); }
.tile-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .tile-go > span { background: var(--red); transform: rotate(45deg); }
.tile-wide { grid-column: 1 / -1; min-height: clamp(240px, 22vw, 320px); }
.tile-wide > img { left: auto; width: 62%; }
.tile-wide::after { background: linear-gradient(90deg, var(--ink) 36%, rgba(23, 30, 30, 0.55) 52%, rgba(23, 30, 30, 0) 72%); }
.tile-wide .tile-body { top: 0; right: auto; width: min(46%, 560px); align-content: center; padding: 32px clamp(24px, 3.4vw, 48px); }
.tile-wide h3 { font-size: clamp(22px, 2vw, 30px); }

/* process: dark panel that widens to full bleed; sticky sequence on large screens */
.process { background: var(--paper); }
.process-in, .contact-in { position: relative; isolation: isolate; color: #fff; }
/* the dark panels widen past the page edge as they open; keep that from adding sideways scroll */
[data-expand] { overflow-x: clip; }
.panel-bg { position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: var(--r-xl); transform: scaleX(1.08); }
.js .panel-bg { transform: scaleX(0.94); will-change: transform; }
.process-sticky { padding: clamp(88px, 10vw, 140px) 0; }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.process-intro { max-width: 520px; margin-top: 18px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.68); }
.stages { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: s; }
.stage { display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); transition: opacity 0.5s var(--ease); }
.stage:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.stage-n { padding-top: 5px; font: 500 12.5px/1 var(--f-mono); color: var(--red); }
.stage h3 { font: 600 21px/1.25 var(--f-sans); letter-spacing: -0.01em; }
.stage p { margin-top: 6px; max-width: 46ch; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.68); }
.stage-img { width: 100%; height: auto; margin-top: 16px; border-radius: var(--r-md); aspect-ratio: 16 / 9; object-fit: cover; }
.process-cta { margin-top: 36px; }
.seq { display: none; }

.process-in.seq-on { height: 440vh; height: 440svh; }
.seq-on .process-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr-h) - 12px) 0 28px; }
.seq-on .process-grid { grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr); gap: clamp(40px, 5vw, 80px); align-items: center; width: min(var(--maxw), calc(100% - 2 * var(--gut) - 2 * clamp(0px, 2vw, 32px))); }
.seq-on .stages { margin-top: 28px; }
.seq-on .stage { position: relative; padding: 15px 0; opacity: 0.42; cursor: pointer; }
.seq-on .stage::after { content: ''; position: absolute; left: 0; top: -1px; width: 52px; transform: scaleX(0); transform-origin: 0 50%; height: 2px; background: var(--red); transition: transform 0.6s var(--ease); }
.seq-on .stage.is-on { opacity: 1; }
.seq-on .stage.is-on::after { transform: scaleX(1); }
.seq-on .stage:hover { opacity: 0.8; }
.seq-on .stage.is-on:hover { opacity: 1; }
.seq-on .stage h3 { font-size: 20px; }
.seq-on .stage p { display: none; }
.seq-on .stage-n { color: rgba(255, 255, 255, 0.55); transition: color 0.4s; }
.seq-on .stage.is-on .stage-n { color: var(--red); }
.seq-on .stage-img { display: none; }
.seq-on .process-cta { margin-top: 28px; }
.seq-col { display: none; }
.seq-on .seq-col { display: block; }
.seq-on .seq { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 32px; overflow: hidden; background: #0f1414; }
.seq-frames, .seq-f { position: absolute; inset: 0; }
.seq-f { width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity; }
.seq-f[data-f='0'] { opacity: 1; }
.seq-hud { display: flex; align-items: flex-start; gap: 16px; margin-top: 16px; padding: 14px 20px 14px 14px; border-radius: 26px; background: #1e2626; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.seq-txt { min-width: 0; padding-top: 3px; }
.seq-desc { margin-top: 6px; min-height: 3em; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.orbit { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.16); }
.orbit-arm { position: absolute; inset: 0; will-change: transform; }
.orbit-arm i { position: absolute; top: -2px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(230, 58, 67, 0.22); }
.seq-count { display: flex; align-items: baseline; gap: 10px; font: 500 13px/1.2 var(--f-mono); color: rgba(255, 255, 255, 0.55); }
.seq-count b { color: #fff; font-weight: 500; }
.seq-count span { font: 600 16px/1.2 var(--f-sans); color: #fff; }
.seq-cap { margin-left: auto; align-self: center; padding-left: 12px; font: 400 11px/1.4 var(--f-mono); letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.45); text-align: right; max-width: 14em; }

/* results: before / after */
.tabs { display: inline-flex; gap: 4px; justify-self: end; padding: 5px; border-radius: 999px; background: var(--paper-2); }
.tabs button { height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color 0.35s var(--ease), color 0.35s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected='true'] { background: var(--ink); color: #fff; }
.ba-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ba { --pos: 50%; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; background: #ddd; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s; }
.ba.is-swapping img { opacity: 0.35; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-handle svg { max-width: none; position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; padding: 15px; border-radius: 50%; background: #fff; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); transition: box-shadow 0.3s, transform 0.4s var(--ease); }
.ba:hover .ba-handle svg { transform: scale(1.06); }
.ba:focus-within .ba-handle svg { box-shadow: 0 0 0 4px var(--red), 0 8px 24px rgba(0, 0, 0, 0.25); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-tag { position: absolute; top: 18px; z-index: 1; padding: 8px 15px; border-radius: 999px; font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; }
.ba-tag-b { left: 18px; background: rgba(17, 21, 21, 0.72); color: #fff; }
.ba-tag-a { right: 18px; background: #fff; color: var(--ink); }
.ba-note { position: absolute; left: 18px; bottom: 18px; z-index: 1; padding: 7px 14px; border-radius: 999px; background: rgba(17, 21, 21, 0.55); color: rgba(255, 255, 255, 0.85); font: 400 11px/1 var(--f-mono); letter-spacing: 0.06em; pointer-events: none; }
.ba-side { display: grid; gap: 28px; align-content: center; }
.ba-story { display: grid; gap: 22px; }
.ba-story > div { padding-top: 18px; border-top: 1px solid var(--line); }
.ba-story dt { font: 500 12px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-text); }
.ba-story dd { margin-top: 10px; font-size: 17px; line-height: 1.55; transition: opacity 0.4s; }
.ba-side .link-arrow { justify-self: start; }

/* portfolio: rebuilt by NOVARO */
.h2-caps { text-transform: uppercase; }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 24px); }
.pf-feature { grid-column: 1 / -1; }
.pf-card .ba { aspect-ratio: 16 / 9; }
.pf-feature .ba { aspect-ratio: 16 / 8; }
.pf-meta { display: grid; gap: 8px; margin-top: 16px; padding: 0 4px; }
.pf-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pf-type { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.pf-fire { background: var(--red); }
.pf-town { font: 500 12.5px/1 var(--f-mono); letter-spacing: 0.06em; color: var(--muted); }
.pf-scope { max-width: 64ch; font-size: 15.5px; line-height: 1.55; }
@media (max-width: 900px) {
  .pf-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-feature .ba, .pf-card .ba { aspect-ratio: 16 / 9; }
}

/* why */
.why { background: #fff; padding-top: clamp(48px, 6vw, 88px); }
.why-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px clamp(40px, 6vw, 100px); align-items: center; }
.h2-xl { font-size: clamp(28px, 3.5vw, 54px); line-height: 1.1; max-width: 22ch; }
.h2-xl em { font-style: normal; color: var(--red); }
.badge { position: relative; width: clamp(220px, 24vw, 340px); aspect-ratio: 1; }
.badge img { position: absolute; inset: 15%; width: 70%; height: 70%; border-radius: 50%; object-fit: cover; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 36s linear infinite; }
.badge-ring text { font: 500 12px var(--f-mono); letter-spacing: 0; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.commit { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.commit li { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.commit li::before { content: ''; position: absolute; top: -1px; left: 0; width: 56px; transform: scaleX(0); transform-origin: 0 50%; height: 2px; background: var(--red); transition: transform 1.1s var(--ease) 0.2s; }
.commit li.is-in::before, html:not(.js) .commit li::before { transform: scaleX(1); }
.commit-n { display: block; margin-bottom: 16px; font: 500 12.5px/1 var(--f-mono); color: var(--red-text); }
.commit h3 { font: 600 19px/1.3 var(--f-sans); letter-spacing: -0.01em; }
.commit p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.claim { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: clamp(56px, 7vw, 96px); padding: 18px 18px 18px 22px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.claim-ic { width: 58px; height: 58px; padding: 15px; border-radius: 50%; background: var(--red); color: #fff; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.claim h3 { font: 600 18px/1.3 var(--f-sans); }
.claim p { margin-top: 4px; max-width: 70ch; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px clamp(40px, 6vw, 96px); }
.faq-side { position: sticky; top: 120px; align-self: start; display: grid; gap: 0; justify-items: start; }
.faq-side .sec-intro { justify-self: start; margin: 20px 0 26px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; border-radius: 6px; }
summary::-webkit-details-marker { display: none; }
summary h3 { font: 600 18px/1.4 var(--f-sans); letter-spacing: -0.01em; transition: color 0.3s; }
summary:hover h3 { color: var(--red-text); }
.plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.5s var(--ease), background-color 0.35s, color 0.35s, box-shadow 0.35s; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus { transform: rotate(135deg); background: var(--ink); color: #fff; box-shadow: none; }
details p { max-width: 64ch; padding: 0 56px 26px 0; font-size: 16px; line-height: 1.65; color: var(--muted); }
details p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.55s var(--ease), content-visibility 0.55s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* contact */
.contact { background: var(--paper); }
.contact-in { overflow: hidden; padding: clamp(88px, 10vw, 140px) 0; }
.contact-mark { position: absolute; right: -6%; top: 50%; width: min(62vw, 860px); height: auto; transform: translateY(-50%); fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 1.4; pointer-events: none; }
.contact-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); }
.contact-mark .red { stroke: rgba(230, 58, 67, 0.42); transition-delay: 0.5s; }
.contact-in.is-in .contact-mark path, html:not(.js) .contact-mark path { stroke-dashoffset: 0; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 56px clamp(40px, 6vw, 96px); align-items: start; }
.contact-lead { max-width: 480px; margin-top: 20px; font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.call-card { display: inline-flex; align-items: center; gap: 16px; margin-top: 32px; padding: 9px 30px 9px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); transition: background-color 0.35s, box-shadow 0.35s; }
.call-card:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(230, 58, 67, 0.7); }
.call-ic { width: 60px; height: 60px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--red); }
.call-ic svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.call-card small { display: block; font: 500 11px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.call-card b { display: block; margin-top: 7px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.next { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: n; }
.next li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 16px; counter-increment: n; }
.next li::before { content: counter(n); grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); font: 500 12.5px/1 var(--f-mono); }
.next b { font-size: 16px; font-weight: 600; line-height: 1.4; padding-top: 5px; }
.next span { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.62); }
.area { margin-top: 36px; font: 400 12.5px/1.5 var(--f-mono); letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.55); }

.form-card { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); }
.inq h3, .sent h3 { margin-bottom: 22px; font: 400 clamp(20px, 1.7vw, 24px)/1.15 var(--f-display); }
.fld { display: grid; gap: 8px; margin-bottom: 14px; }
.fld > span { font-size: 13px; font-weight: 500; }
.fld i { font-style: normal; color: var(--quiet); }
.fld input, .fld textarea {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #d5d7da;
  border-radius: 999px;
  background: #fff;
  font: 400 15px/1.4 var(--f-sans);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.fld textarea { height: auto; min-height: 92px; padding: 14px 20px; border-radius: 22px; resize: none; }
.fld input::placeholder, .fld textarea::placeholder { color: #a5aaad; }
.fld input:hover, .fld textarea:hover { border-color: #9da2a6; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 30, 30, 0.08); }
.fld input[aria-invalid='true'] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(230, 58, 67, 0.12); }
/* honeypot field for bots: off-screen, never focusable or announced */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.fld-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld-pair .fld { margin-bottom: 8px; }
.fld-hint { margin: 0 0 16px; font-size: 12.5px; color: var(--quiet); }
.chips, .seg { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.chips legend, .seg legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.chips label, .seg label { position: relative; display: inline-flex; margin: 0 4px 8px 0; }
.chips input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span, .seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px #d5d7da; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; }
.chips span:hover, .seg span:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chips input:checked + span, .seg input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chips input:focus-visible + span, .seg input:focus-visible + span { box-shadow: var(--focus); }
.form-err { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--red-dk); }
.form-note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--quiet); }
.sent { display: grid; justify-items: center; gap: 4px; padding: 28px 8px; text-align: center; outline: none; }
.sent[hidden] { display: none; }
.sent-ic { width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--red); }
.sent-ic svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sent h3 { margin-bottom: 8px; }
.sent p { max-width: 36ch; color: var(--muted); }
.sent p a { color: var(--ink); font-weight: 600; }
.sent .link-arrow { margin-top: 22px; }

/* offer: what the free assessment includes */
.offer { padding-top: 0; }
.offer-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.offer-price { display: flex; align-items: baseline; gap: 14px; margin-top: 24px; }
.offer-price b { font: 400 clamp(48px, 5vw, 72px)/1 var(--f-display); color: var(--red); }
.offer-price span { max-width: 26ch; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.offer-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn-line-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3); --fill: #fff; }
.btn-line-light:hover { color: var(--ink); }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.offer-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.offer-list li:first-child { border-top: 0; padding-top: 0; }
.offer-n { padding-top: 3px; font: 500 12.5px/1 var(--f-mono); color: #ff6b72; }
.offer-list h3 { font: 600 18px/1.3 var(--f-sans); }
.offer-list p { margin-top: 5px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.68); }

/* assessment request: steps */
.fs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fs-head h3 { margin-bottom: 12px; }
.fs-count { font: 500 12px/1 var(--f-mono); letter-spacing: 0.06em; color: var(--quiet); white-space: nowrap; }
.fs-bar { height: 3px; margin-bottom: 22px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.fs-bar span { display: block; height: 100%; background: var(--red); transform: scaleX(0.3333); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.fs-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 4px; }
.fs-step[hidden] { display: none; }
.fs-q { margin: 0 0 10px; padding: 0; font-size: 15px; font-weight: 600; }
.fs-q2 { margin-top: 10px; }
.fs-step .chips, .fs-step .seg { margin-bottom: 6px; }
.fs-urgent { display: grid; gap: 10px; margin: 8px 0 14px; padding: 16px; border-radius: 20px; background: rgba(230, 58, 67, 0.08); box-shadow: inset 0 0 0 1px rgba(230, 58, 67, 0.3); font-size: 14px; line-height: 1.5; }
.fs-urgent[hidden] { display: none; }
.fs-or { margin: 0; text-align: center; font-size: 12.5px; color: var(--quiet); }
.fs-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.fs-back { border-bottom-color: var(--line-2); }
.fs-step > .btn-block { margin-top: 12px; }
.fs-sched { display: grid; gap: 6px; width: 100%; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); text-align: left; }
.fs-sched[hidden] { display: none; }
.fs-booked { margin: 20px 0 0; padding: 14px 16px; border-radius: 18px; background: var(--paper); font-size: 14.5px; outline: none; }
.fs-booked[hidden] { display: none; }
.sent .fs-urgent { width: 100%; margin-top: 18px; text-align: left; }
@media (max-width: 1080px) {
  .offer-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .offer-card { padding: 28px 22px; border-radius: var(--r-lg); }
  .fs-nav .btn { flex: 1; }
}

/* footer */
.foot { position: relative; margin-top: -2px; padding: clamp(64px, 7vw, 100px) 0 28px; background: var(--ink); color: rgba(255, 255, 255, 0.7); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 48px; }
.foot-brand img { width: clamp(180px, 15vw, 220px); height: auto; }
.foot-brand p { max-width: 34ch; margin-top: 22px; font-size: 14.5px; line-height: 1.6; }
.foot-tel { display: inline-block; margin-top: 6px; padding: 12px 0; font: 500 15px/1 var(--f-mono); color: #fff; }
.foot-tel:hover { color: #ff6b72; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-nav h2 { margin: 0 0 16px; font: 500 11px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-nav a { font-size: 14.5px; color: rgba(255, 255, 255, 0.86); transition: color 0.3s; }
.foot-nav a:hover { color: #ff6b72; }
.foot-ghost { margin: clamp(56px, 7vw, 96px) 0 22px; }
.foot-ghost img { width: 100%; height: auto; opacity: 0.6; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.foot-legal p { margin: 0; }
.foot-legal a { color: #fff; }

/* phone dock: call or book, always one tap away */
.dock {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(23, 30, 30, 0.2), 0 0 0 1px rgba(23, 30, 30, 0.06);
  transform: translateY(150%);
  transition: transform 0.55s var(--ease);
}
.dock.is-on { transform: none; }
.dock .btn { height: 50px; padding: 0 12px; font-size: 14.5px; gap: 8px; }

/* ── motion (only with JavaScript; reduced motion shows everything at once) ── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal='circle'] { opacity: 1; transform: none; clip-path: circle(0% at 100% 0%); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0ms); }
.js .ba[data-reveal='circle'] { clip-path: circle(0% at 50% 50%); }
.js .badge[data-reveal='circle'] { clip-path: circle(0% at 50% 50%); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal='circle'].is-in { clip-path: circle(150% at 100% 0%); }
.js .ba[data-reveal='circle'].is-in, .js .badge[data-reveal='circle'].is-in { clip-path: circle(75% at 50% 50%); }

.js .hero-h .ln > span { transform: translateY(108%); transition: transform 1s var(--ease); }
.js .hero-h .ln:nth-child(2) > span { transition-delay: 0.08s; }
.js .hero-h .ln:nth-child(3) > span { transition-delay: 0.16s; }
.js [data-intro] { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease) 0.3s, transform 1s var(--ease) 0.3s; }
.js [data-intro-fig]:not(.scene) > img { transform: scale(1.07); transition: transform 1.8s var(--ease); }
.js [data-intro-fig] .notch { opacity: 0; transition: opacity 0.8s var(--ease) 0.55s; }
.is-ready .hero-h .ln > span, .is-ready [data-intro] { opacity: 1; transform: none; }
.is-ready [data-intro-fig]:not(.scene) > img { transform: none; }
.is-ready [data-intro-fig] .notch { opacity: 1; }

/* ── depth: layered hero scene ── */
.scene { background: #121925; isolation: isolate; }
.scene-sky {
  position: absolute;
  inset: -14% 0 0;
  background:
    radial-gradient(55% 50% at 64% 96%, rgba(230, 58, 67, 0.42), transparent 70%),
    radial-gradient(80% 60% at 28% 104%, rgba(255, 150, 90, 0.18), transparent 66%),
    linear-gradient(180deg, #0c121c 0%, #182232 36%, #2f2e3b 64%, #563b3b 85%, #6e4437 100%);
  will-change: transform;
}
.scene-word {
  position: absolute;
  left: 5%;
  top: 12%;
  width: 90%;
  height: auto;
  max-width: none;
  opacity: 0.18;
  will-change: transform;
}
.scene-glow { position: absolute; left: 25%; right: 0; bottom: 0; height: 75%; background: radial-gradient(45% 55% at 62% 82%, rgba(255, 168, 92, 0.3), transparent 72%); pointer-events: none; }
.scene-house-wrap {
  position: absolute;
  right: clamp(24px, 3.5%, 72px);
  bottom: 0;
  z-index: 3;
  height: calc(var(--fig-h) * 0.84 + clamp(120px, 22vh, 260px));
  clip-path: inset(-60% -30% 0 -30%);
  pointer-events: none;
}
.scene-house-wrap::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--fig-h) * 0.2); background: linear-gradient(0deg, #0b100e 0%, rgba(11, 16, 14, 0.88) 34%, rgba(11, 16, 14, 0) 100%); }
.scene-house { display: block; height: 100%; width: auto; max-width: none; transform-origin: 50% 100%; will-change: transform; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.2)); }
.scene-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(0deg, #0b100e 0%, rgba(11, 16, 14, 0.9) 32%, rgba(11, 16, 14, 0) 100%); pointer-events: none; }
.js .scene .scene-word { opacity: 0; transform: translateY(22%); transition: opacity 1.2s ease 0.25s, transform 1.5s var(--ease) 0.2s; }
.js .scene-house-wrap { transform: translateY(44px); transition: transform 1.6s var(--ease); }
.js .scene .scene-glow { opacity: 0; transition: opacity 2s ease 0.5s; }
.is-ready .scene .scene-word { opacity: 0.18; transform: none; }
.is-ready .scene-house-wrap, .is-ready .scene .scene-glow { opacity: 1; transform: none; }

/* ── depth: "why" composition (photo frame, person stepping out of it, badge on top) ── */
.why-art { position: relative; width: clamp(300px, 34vw, 480px); aspect-ratio: 48 / 56; }
.wa-frame { position: absolute; left: 6%; right: 0; bottom: 0; height: 72%; border-radius: 32px; overflow: hidden; background: #e9e7e2; }
.wa-frame img { width: 100%; height: 100%; object-fit: cover; }
.js .wa-frame[data-reveal='circle'] { clip-path: circle(0% at 50% 100%); }
.js .wa-frame[data-reveal='circle'].is-in { clip-path: circle(150% at 50% 100%); }
.wa-person { position: absolute; right: 9%; bottom: 0; width: 72%; z-index: 2; pointer-events: none; }
.wa-person img { width: 100%; height: auto; filter: drop-shadow(-10px 14px 18px rgba(23, 30, 30, 0.16)); }
.js .wa-person img { opacity: 0; transform: translateY(70px); transition: opacity 1s ease 0.35s, transform 1.4s var(--ease) 0.3s; }
.js .why-art.is-in .wa-person img { opacity: 1; transform: none; }
.why-art .badge { position: absolute; left: -7%; bottom: -9%; width: 44%; z-index: 3; }
.why-art .badge img { box-shadow: 0 16px 40px rgba(23, 30, 30, 0.2); }

/* ── depth: brand band that slides with the scroll ── */
.band { overflow: hidden; margin: calc(-1 * clamp(20px, 3vw, 40px)) 0 clamp(48px, 6vw, 88px); }
.band-track { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); width: max-content; padding-left: 4vw; }
.band span { font: 400 clamp(48px, 8vw, 132px)/1.05 var(--f-display); white-space: nowrap; color: transparent; -webkit-text-stroke: 1.4px rgba(23, 30, 30, 0.3); }
.band span.r { color: var(--red); -webkit-text-stroke: 0; }
.band i { flex: none; width: clamp(14px, 1.8vw, 24px); height: clamp(26px, 3.2vw, 44px); background: var(--red); clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%); }

/* ── depth: giant stage number behind the process copy ── */
.seq-big { display: none; }
.seq-on .seq-big { display: block; position: absolute; left: clamp(8px, 2vw, 32px); bottom: -2vh; z-index: 0; font: 400 clamp(180px, 25vw, 400px)/0.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.07); pointer-events: none; user-select: none; transition: opacity 0.35s ease; }
.seq-big.is-swap { opacity: 0; }
.seq-on .process-grid { position: relative; z-index: 1; }

/* ── depth: headings rise word by word ── */
.js [data-reveal='words'] { opacity: 1; transform: none; }
.h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.h2 .w > span { display: inline-block; }
.js .h2 .w > span { transform: translateY(112%); transition: transform 0.95s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js .h2.is-in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .scene .scene-glow, .js .wa-person img, .js .h2 .w > span, .js .scene-house-wrap { opacity: 1; transform: none; }
  .js .scene .scene-word { opacity: 0.18; transform: none; }
  .js .wa-frame[data-reveal='circle'] { clip-path: none; }
}

@media (min-width: 761px) and (max-width: 1179px) {
  .hero-copy { max-width: none; }
  .lead { max-width: 50%; }
}
/* large screens: big three-line title; a shorter container starting lower; the building, anchored to
   the container floor, rises well above its top edge into the space beside the title */
@media (min-width: 1180px) {
  .hero-comp { --tf: calc(var(--W) * 0.0395); --fig-h: clamp(300px, 38vh, 440px); }
  .hero-copy { max-width: none; }
  .hero-h { font-size: var(--tf); }
  .hero-stage { margin-top: max(32px, calc(var(--fig-h) * 0.75 - var(--tf) * 1.30 - 27px)); }
  .scene-house-wrap { top: auto; bottom: 0; height: calc(var(--fig-h) * 1.75); right: clamp(20px, 2.4%, 40px); }
  .scene-house { max-width: calc(var(--W) * 0.42); object-fit: contain; object-position: 50% 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal='circle'], .js .hero-h .ln > span, .js [data-intro], .js [data-intro-fig] > img, .js [data-intro-fig] .notch { opacity: 1; transform: none; clip-path: none; }
  .badge-ring { animation: none; }
  .js .panel-bg { transform: none; border-radius: 0; }
}

/* ── responsive ── */
@media (max-width: 1240px) {
  .hdr-nav a { padding: 10px 11px; }
}
@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .hdr-actions { margin-left: auto; }
  .menu-btn { display: grid; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-intro, .tabs { justify-self: start; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(300px, 44vw); }
  .tile-xl { grid-column: 1 / -1; grid-row: auto; }
  .tile-wide { grid-column: 1 / -1; }
  .ba-grid { grid-template-columns: minmax(0, 1fr); }
  .why-top { grid-template-columns: minmax(0, 1fr); }
  .why-art { justify-self: center; width: min(420px, 86%); margin-top: 24px; }
  .commit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
}
@media (max-width: 900px) {
  .hdr-tel { display: none; }
  .assure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --hdr-h: 80px; --r-xl: 30px; --r-lg: 24px; }
  html { scroll-padding-top: 84px; }
  .hdr { padding-top: 10px; }
  .hdr.is-solid .hdr-bar { padding-left: 16px; }
  .hdr-cta, .hdr-login { display: none; }
  .dock { display: grid; }
  .notch { --nr: 22px; }
  .notch-bl { padding: 8px 8px 0 0; max-width: calc(100% - 40px); }
  .assure { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 22px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(320px, 92vw); }
  .tile-xl, .tile-wide { grid-column: auto; }
  .tile-wide > img { width: 100%; }
  .tile-wide::after { background: linear-gradient(180deg, rgba(23, 30, 30, 0) 30%, rgba(23, 30, 30, 0.88) 100%); }
  .tile-wide .tile-body { top: auto; width: auto; padding: 22px 24px 24px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 0 12px; }
  .ba { aspect-ratio: 4 / 3.4; }
  .commit { grid-template-columns: minmax(0, 1fr); }
  .claim { grid-template-columns: minmax(0, 1fr); border-radius: var(--r-lg); padding: 24px; }
  details p { padding-right: 0; }
  summary h3 { font-size: 16.5px; }
  .fld-pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .call-card { width: 100%; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  /* the headline flows as text on phones (no line masks), so it paints at once */
  .hero-h .ln, .hero-h .ln > span { display: inline; }
  .js .hero-h .ln > span, .js [data-intro] { opacity: 1; transform: none; transition: none; }
  .hero-h { font-size: clamp(24px, 6.8vw, 34px); line-height: 1.18; }
  .hero-copy { max-width: none; }
  .hide-sm { display: none; }
  .lead { font-size: 16px; }
}
@media (max-width: 760px) {
  .scene-word { top: 24%; }
  .hero-comp { --fig-h: 280px; }
  .hero-stage { margin-top: 72px; }
  .scene-house-wrap { right: 7%; height: calc(var(--fig-h) + 44px); }
  .band span { -webkit-text-stroke-width: 1px; }
}
@media (max-width: 560px) {
  .notch-bl { display: none; }
  .hero-comp { --fig-h: 260px; }
  .scene-word { top: 22%; }
}
@media (max-width: 420px) {
  .foot-nav { grid-template-columns: minmax(0, 1fr); }
}

/* very narrow phones (≤380px): long words and buttons must stay inside their cards */
@media (max-width: 380px) {
  .h2 { font-size: clamp(22px, 7.2vw, 28px); }
  .btn { padding-left: 20px; font-size: 14.5px; gap: 10px; }
  .offer-card { padding: 26px 18px; }
  .fs-head { flex-wrap: wrap; column-gap: 8px; }
  .fs-head .fs-count { margin-bottom: 12px; }
  .offer-ctas .btn { width: 100%; }
  .offer-ctas .btn:has(.btn-ic) { justify-content: space-between; }
}
