/* Utopian Takeoffs — layout and look follow the Outcrowd "AI-Powered Real Estate Ecosystem" reference:
   white page, rounded inset panels, near-black dark sections, lime highlights, tilted floating cards. */

:root {
  --bg: #ffffff;
  --ink: #141518;
  --ink-2: #2c2e34;
  --muted: #5d6068;
  --line: #e4e5e9;
  --grey: #efeff2;
  --dark: #16171b;
  --on-dark: #f5f5f7;
  --on-dark-muted: #abadb5;
  --lime: #d4e97a;
  --lime-ink: #1c2210;
  --lime-soft: #eef5d8;
  --dim-word: #c3c4ca;
  --ring: #3f73ff;
  --danger: #b42318;

  --gutter: 10px;
  --r-panel: 28px;
  --r-card: 24px;
  --r-btn: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-float: 0 22px 48px -20px rgba(10, 12, 20, .45);
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.03em; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
section[id], footer { scroll-margin-top: 84px; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-btn);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.panel { position: relative; margin: var(--gutter); border-radius: var(--r-panel); overflow: hidden; }
.panel-dark { background: var(--dark); color: var(--on-dark); }

/* ---------- Buttons and chips ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r-btn);
  font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-dark { background: #17181c; color: #fff; }
.btn-dark:hover { background: #2c2e35; }
.btn-light { background: #fff; color: var(--ink); border-color: rgba(20, 21, 24, .12); }
.btn-light:hover { background: #f4f4f6; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--lime); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; line-height: 1.1; white-space: nowrap;
}
.chip-lime { background: var(--lime); color: var(--lime-ink); }
.chip-dark { background: #17181c; color: #fff; }
.chip-white { background: #fff; color: var(--ink); }
.chip-ico {
  display: grid; place-items: center; width: 22px; height: 22px; margin-right: -5px;
  border-radius: 50%; background: rgba(255, 255, 255, .75);
}
.ring { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-ink); }
.ring::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid currentColor; opacity: .5; animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.4); opacity: .6; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Header ---------- */
/* Fixed and floating with JavaScript; without it the header scrolls away with the hero. */
.site-head {
  position: absolute; inset: 0 0 auto; z-index: 50;
  padding: calc(var(--gutter) + 18px) calc(var(--gutter) + 26px) 0;
  pointer-events: none;
  transition: padding .4s var(--ease);
}
.head-bar {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 2400px; margin: 0 auto; padding: 0;
  border-radius: 16px;
  transition: max-width .5s var(--ease), padding .4s var(--ease), background-color .3s, box-shadow .3s;
}
.js .site-head { position: fixed; }
html:not(.js) .menu-btn { display: none; }
.site-head.is-floating { padding: 12px 16px 0; }
.site-head.is-floating .head-bar {
  max-width: 1120px; padding: 8px 8px 8px 10px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 12px 32px -14px rgba(10, 12, 20, .28), 0 0 0 1px rgba(20, 21, 24, .06);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 500; letter-spacing: -.02em; border-radius: 10px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.head-actions { display: flex; gap: 8px; }

.site-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(300px, calc(100vw - 32px)); padding: 8px;
  background: #fff; color: var(--ink); border-radius: 20px;
  box-shadow: 0 28px 64px -22px rgba(10, 12, 20, .4), 0 0 0 1px rgba(20, 21, 24, .06);
  transform-origin: top right; animation: menu-in .22s var(--ease);
}
.site-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.site-menu ul { list-style: none; margin: 0; padding: 0; }
.site-menu li a { display: block; padding: 11px 14px; border-radius: 12px; font-size: 17px; text-decoration: none; transition: background-color .15s; }
.site-menu li a:hover { background: var(--grey); }
.site-menu li a[aria-current="true"] { background: var(--lime-soft); }
.menu-phone {
  display: flex; align-items: center; gap: 10px;
  margin-top: 6px; padding: 14px; border-top: 1px solid var(--line);
  font-weight: 500; text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  height: calc(100svh - 2 * var(--gutter)); min-height: 600px; max-height: 1040px;
  container-type: size;
  background: #efe3cf;
}
/* Box with the photo's exact aspect ratio that covers the panel, so tags stay pinned to buildings. */
.scene-fit {
  position: absolute;
  width: max(100cqw, 176.9cqh); height: max(100cqh, 56.54cqw);
  left: calc((100cqw - max(100cqw, 176.9cqh)) * var(--fx, .5));
  top: calc((100cqh - max(100cqh, 56.54cqw)) * var(--fy, .5));
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-scene::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 246, 232, .55) 0%, rgba(255, 246, 232, 0) 42%);
}

.hero-copy { position: absolute; z-index: 2; left: clamp(20px, 3vw, 40px); top: clamp(92px, 13cqh, 150px); max-width: 640px; padding-right: 20px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 104px); line-height: .96; letter-spacing: -.05em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; }
.hero-lead { max-width: 410px; margin-top: 22px; font-size: 16px; color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.hero-cards { position: absolute; z-index: 2; right: 18%; top: 10%; width: 290px; height: 410px; }
.hcard {
  position: absolute; display: flex; flex-direction: column;
  padding: 6px 6px 12px; border-radius: 18px;
  background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-float);
  transform: rotate(var(--r));
  transition: transform .35s var(--ease), box-shadow .35s;
}
.hcard:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 30px 60px -22px rgba(10, 12, 20, .55); }
.hcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 13px; }
.hcard-title { display: block; padding: 10px 6px 0; font-size: 21px; letter-spacing: -.03em; line-height: 1.1; }
.hcard-row { display: flex; align-items: center; justify-content: space-between; padding-right: 6px; }
.hcard-meta { display: block; padding: 3px 6px 0; font-size: 12px; color: var(--muted); }
.hcard-1 { --r: -7deg; left: 0; top: 0; width: 196px; }
.hcard-2 { --r: 8deg; left: 104px; top: 200px; width: 186px; }

/* Hero entrance */
.js .hero .line > span { transform: translateY(105%); transition: transform 1s var(--ease); }
.js .hero .line:nth-child(2) > span { transition-delay: .1s; }
.js .hero .hero-lead, .js .hero .hero-ctas { opacity: 0; translate: 0 16px; transition: opacity .8s var(--ease) .35s, translate .8s var(--ease) .35s; }
.js .hero .hero-ctas { transition-delay: .45s; }
.js .hero .hcard { opacity: 0; translate: 60px 40px; transition: opacity .9s var(--ease) .6s, translate .9s var(--ease) .6s, transform .35s var(--ease), box-shadow .35s; }
.js .hero .hcard-2 { transition-delay: .75s, .75s, 0s, 0s; }
.hero.is-ready .line > span { transform: none; }
.hero.is-ready .hero-lead, .hero.is-ready .hero-ctas, .hero.is-ready .hcard { opacity: 1; translate: 0 0; }

/* ---------- Statement ---------- */
.statement { max-width: 1200px; margin: 0 auto; padding: clamp(80px, 10vw, 150px) clamp(20px, 3vw, 40px) clamp(64px, 8vw, 120px); }
.statement-text { max-width: 950px; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.18; letter-spacing: -.03em; }
.statement-text .w { color: var(--dim-word); transition: color .35s; }
.statement-text .w.is-lit { color: var(--ink); }
.statement-row { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 16px 18px; align-items: start; margin-top: clamp(48px, 6vw, 72px); }
.pill-photo { position: relative; margin: 0; }
.pp-frame { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 999px; clip-path: inset(0 round 999px); }
.pp-frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.2; translate: 0 calc(var(--pc, 0) * 7%); }
.pp-chip { position: absolute; left: 6px; top: -14px; padding: 5px 6px 5px 12px; }
.round-badge {
  position: absolute; right: 12%; bottom: 8%;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; box-shadow: 0 8px 20px -8px rgba(10, 12, 20, .4);
}
.pp-chip-b { position: absolute; left: 24%; bottom: -16px; transform: rotate(-6deg); box-shadow: 0 10px 24px -10px rgba(10, 12, 20, .5); }
.statement-side { padding: 4px 0 0 clamp(0px, 3vw, 48px); }
.statement-side p { max-width: 36ch; font-size: 17px; color: var(--ink-2); }
.mini-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 20px 0 0; padding: 0; }
.mini-tags li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); }

/* ---------- How it works ---------- */
.how { padding: clamp(64px, 8vw, 110px) clamp(16px, 2vw, 24px) 0; }
.how-head { position: relative; z-index: 2; text-align: center; }
.how-head h2 { font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -.04em; }
.how-head p { margin-top: 14px; font-size: 17px; color: var(--on-dark-muted); }
.how-stage { position: relative; max-width: 1200px; margin: clamp(24px, 3vw, 40px) auto 0; }
.how-img {
  width: 100%; margin: 0 auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%);
  mask-composite: intersect;
  transform-origin: 50% 100%; scale: calc(1.07 - var(--pc, 0) * .07);
}
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  position: absolute; z-index: 2; width: 300px;
  padding: 18px 22px 18px; border-radius: 22px;
  background: rgba(255, 255, 255, .9); color: var(--ink);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 34px 70px -26px rgba(0, 0, 0, .75);
  transform: translateY(calc(var(--pc, 0) * var(--pd, 0px))) rotate(var(--r));
}
.step-lime { background: var(--lime); }
.step-num { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 21, 24, .08); font-size: 12px; font-weight: 500; }
.step h3 { font-size: 23px; line-height: 1.12; letter-spacing: -.03em; }
.step p { margin-top: 10px; font-size: 14px; color: #3b3d43; }
.step-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(20, 21, 24, .16);
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.step-link svg { transition: transform .2s var(--ease); }
.step-link:hover svg { transform: translateX(3px); }
.s1 { --pd: -60px; --r: -6deg; left: max(0px, calc(50% - 540px)); top: 4%; }
.s2 { --pd: -120px; --r: 5deg; left: min(calc(100% - 300px), calc(50% + 240px)); top: 21%; }
.s3 { --pd: -50px; --r: 4deg; left: max(0px, calc(50% - 540px)); top: 46%; }
.s4 { --pd: -110px; --r: -4deg; left: min(calc(100% - 300px), calc(50% + 240px)); top: 66%; }
.js .step[data-reveal] { translate: 0 90px; }

.how-thumb { position: absolute; z-index: 1; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-float); animation: bob 6s ease-in-out infinite; }
.how-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ht-1 { --pd: -150px; left: 8%; top: 84%; width: 150px; border: 4px solid var(--lime); transform: translateY(calc(var(--pc, 0) * var(--pd))) rotate(-4deg); }
.ht-2 { --pd: -80px; left: 79%; top: 3%; width: 124px; border: 4px solid #fff; transform: translateY(calc(var(--pc, 0) * var(--pd))) rotate(5deg); animation-delay: -2s; }
.how-avatar {
  position: absolute; z-index: 3; left: 12%; top: 31%;
  width: 72px; height: 72px; padding: 6px; border-radius: 50%; background: var(--lime);
  animation: bob 5s ease-in-out infinite -1s;
  --pd: -60px; transform: translateY(calc(var(--pc, 0) * var(--pd)));
}
.how-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pin-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
@keyframes bob { 50% { translate: 0 -10px; } }
.how-visual { --tx: 50%; position: relative; }
/* Photo and avatar cut-outs pop in as they scroll into view */
.js .how-visual [data-pop] { opacity: 0; scale: .2; transition: opacity .3s ease-out, scale .6s cubic-bezier(.34, 1.56, .64, 1); }
.js .how-visual [data-pop].is-popped { opacity: 1; scale: 1; }

/* Estimate progress track: a line fills down the tower as you scroll and each stage pops up when it is reached */
.est-track {
  position: absolute; z-index: 2; left: var(--tx); top: 8%; bottom: 14%; width: 2px; margin-left: -1px;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .45) 0 6px, transparent 6px 12px);
}
.est-fill {
  position: absolute; left: -1px; top: 0; width: 4px; height: calc(var(--ep, 1) * 100%);
  border-radius: 4px; background: var(--lime); box-shadow: 0 0 14px rgba(212, 233, 122, .7);
}
.est-steps { margin: 0; padding: 0; list-style: none; }
.est { position: absolute; z-index: 3; left: var(--tx); top: var(--y); width: 0; height: 0; }
.est-1 { --y: 12%; } .est-2 { --y: 26%; } .est-3 { --y: 40%; } .est-4 { --y: 54%; } .est-5 { --y: 68%; } .est-6 { --y: 82%; }
.est-node {
  position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--dark); border: 2px solid rgba(255, 255, 255, .6);
  transition: background-color .3s, border-color .3s, scale .4s cubic-bezier(.34, 1.56, .64, 1);
}
.est.is-on .est-node { background: var(--lime); border-color: var(--lime); }
.est.is-current .est-node::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid var(--lime); animation: ping 1.8s var(--ease) infinite;
}
.est-pill {
  position: absolute; top: 0; left: 20px; translate: 0 -50%; transform-origin: 0 50%;
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px;
  border-radius: 22px; background: rgba(255, 255, 255, .94); color: var(--ink);
  width: max-content; max-width: 210px; font-size: 13px; font-weight: 500; line-height: 1.25;
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .85);
  transition: opacity .25s ease-out, scale .55s cubic-bezier(.34, 1.56, .64, 1), background-color .3s, color .3s;
}
.est-l .est-pill { left: auto; right: 20px; flex-direction: row-reverse; padding: 5px 5px 5px 14px; transform-origin: 100% 50%; }
.est-ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--grey); transition: background-color .3s; }
.est-ico .i-check { display: none; }
.est.is-current .est-pill { background: var(--lime); color: var(--lime-ink); }
.est.is-current .est-ico { background: rgba(255, 255, 255, .75); }
.est.is-done .est-ico { background: var(--lime); }
.est.is-done .est-ico .i-main { display: none; }
.est.is-done .est-ico .i-check { display: block; }
.js .est .est-pill { opacity: 0; scale: .4; }
.js .est .est-node { scale: .5; }
.js .est.is-on .est-pill { opacity: 1; scale: 1; }
.js .est.is-on .est-node { scale: 1; }

/* ---------- Section heads ---------- */
.center-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.center-head h2 { font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -.04em; }
.center-head p { max-width: 46ch; margin: 14px auto 0; font-size: 17px; color: var(--muted); }

/* ---------- Project types: stacked cards ---------- */
.types { padding: clamp(80px, 10vw, 150px) clamp(16px, 2vw, 24px) clamp(40px, 5vw, 64px); }
.stack { max-width: 1120px; margin: 0 auto; }
.stack-card { position: sticky; top: calc(92px + var(--i) * 14px); height: clamp(400px, 44vw, 500px); margin-bottom: 56px; }
.stack-card:last-child { margin-bottom: 0; }
.stack-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: 100%; transform-origin: 50% 0; }
.flip .sc-text { order: 2; }
.sc-text {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card);
}
.tone-lime { background: var(--lime-soft); }
.tone-grey { background: #ececef; }
.sc-text h3 { max-width: 15ch; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.sc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sc-foot p { max-width: 34ch; font-size: 15px; color: var(--ink-2); }
.sc-count { display: flex; flex: none; gap: 4px; }
.sc-count span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(20, 21, 24, .22); border-radius: 50%; font-size: 11px; font-weight: 500; color: var(--muted); }
.sc-count .on { border-color: var(--ink); color: var(--ink); }
.sc-media { position: relative; margin: 0; overflow: hidden; isolation: isolate; border-radius: var(--r-card); background: #d9d9de; }
.sc-media > img { width: 100%; height: 100%; object-fit: cover; scale: calc(1.18 - (var(--pc, 0) + 1) * .03); translate: 0 calc(var(--pc, 0) * 4%); }
.sc-inset { position: absolute; width: 30%; overflow: hidden; border: 4px solid #fff; border-radius: 14px; box-shadow: var(--shadow-float); }
.sc-inset img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.si-tr { right: 7%; top: 9%; transform: rotate(4deg); }
.si-bl { left: 7%; bottom: 14%; transform: rotate(-4deg); }
.si-ml { left: 7%; top: 42%; width: 26%; transform: rotate(-3deg); }
.sc-chip { position: absolute; box-shadow: 0 10px 24px -10px rgba(10, 12, 20, .5); }
.c-br { right: 16px; bottom: 16px; }
.c-bl { left: 16px; bottom: 16px; }
.c-tl { left: 16px; top: 16px; }
.c-pin { left: 9%; top: 12%; padding-left: 14px; }
.c-pin2 { right: 9%; top: 14%; padding-left: 14px; }
.sc-chip.chip-lime .chip-ico { margin-right: -6px; }

.all-services { max-width: 1120px; margin: 56px auto 0; border-radius: var(--r-card); background: var(--grey); }
.all-services summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; border-radius: var(--r-card);
  font-size: 18px; font-weight: 500; cursor: pointer; list-style: none;
}
.all-services summary::-webkit-details-marker { display: none; }
.all-services summary svg { transition: transform .25s var(--ease); }
.all-services[open] summary svg { transform: rotate(180deg); }
.all-services ul { columns: 3 240px; column-gap: 32px; margin: 0; padding: 0 28px 24px; list-style: none; }
.all-services li { padding: 11px 0; border-top: 1px solid rgba(20, 21, 24, .1); font-size: 15px; break-inside: avoid; }

/* ---------- Sample estimates map ---------- */
.samples { display: grid; place-items: center; min-height: clamp(660px, 54vw, 800px); padding: 88px 24px; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.samples::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 34% 32% at 50% 50%, rgba(22, 23, 27, .92), rgba(22, 23, 27, 0));
}
.samples-head { position: relative; z-index: 2; max-width: 600px; text-align: center; }
.samples-head h2 { font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -.04em; }
.samples-head p { max-width: 40ch; margin: 14px auto 0; font-size: 17px; color: var(--on-dark-muted); }
.samples-head .btn { margin-top: 28px; }

.pins { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; list-style: none; }
.pin { position: absolute; left: var(--x); top: var(--y); }
.pin > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 8px;
  background: #5b5d65; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; text-decoration: none;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .7);
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.pin > a::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 9px; height: 9px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.pin > a:hover { background: var(--lime); color: var(--lime-ink); transform: translateY(-2px); }
.pin-photo > a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0; background: none; box-shadow: none; }
.pin-photo > a::after { display: none; }
.pin-photo > a:hover { background: none; color: inherit; }
.pin-label { display: inline-flex; align-items: center; gap: 8px; padding: 5px 5px 5px 12px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); }
.pin-img { display: block; width: 156px; overflow: hidden; border: 4px solid #fff; border-radius: 12px; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .8); transform: rotate(var(--r, -3deg)); transition: transform .3s var(--ease); }
.pin-photo > a:hover .pin-img { transform: rotate(0deg) scale(1.03); }
.pin-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.js .pin { opacity: 0; scale: .7; transition: opacity .5s var(--ease), scale .5s var(--ease); transition-delay: calc(var(--d) * 60ms); }
.samples.is-in .pin { opacity: 1; scale: 1; }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(80px, 10vw, 150px) clamp(16px, 2vw, 24px) clamp(24px, 4vw, 48px); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1120px; margin: 0 auto; }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 290px; margin: 0; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-card); }
.review blockquote { margin: 0; }
.review p { font-size: 18px; line-height: 1.45; letter-spacing: -.01em; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; font-size: 12px; font-weight: 600; }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start;
  max-width: 1168px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) clamp(16px, 2vw, 24px);
}
.contact-info h2 { font-size: clamp(40px, 5.2vw, 68px); letter-spacing: -.04em; }
.contact-info > p { max-width: 38ch; margin-top: 16px; font-size: 17px; color: var(--muted); }
.contact-info .btn { margin-top: 28px; }
.details { display: grid; gap: 18px; margin: 40px 0 0; }
.details dt { font-size: 13px; color: var(--muted); }
.details dd { margin: 4px 0 0; font-size: 17px; }
.details a { text-decoration-color: rgba(20, 21, 24, .3); text-underline-offset: 3px; }
.details a:hover { text-decoration-color: currentColor; }

.quote-form { position: relative; padding: clamp(20px, 3vw, 36px); border-radius: 28px; background: #f2f2f4; }
.quote-form fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.quote-form legend { margin-bottom: 14px; padding: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.req { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 12px 14px;
  border: 1px solid #d3d4da; border-radius: 12px; background: #fff; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23141518' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px rgba(63, 115, 255, .25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.field-error { margin-top: 6px; font-size: 14px; color: var(--danger); }
.form-summary { margin-bottom: 20px; padding: 14px 16px; border: 2px solid var(--danger); border-radius: 14px; background: #fff5f4; }
.form-summary ul { margin: 8px 0 0; padding-left: 20px; }
.form-summary a { color: var(--danger); }
.form-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.form-success { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--lime-soft); font-size: 15px; }
.form-success:not(.is-error) { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form-success[hidden] { display: none; }
.form-success:not(.is-error)::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231c2210' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
}
.form-success.is-error { background: #fff5f4; color: var(--danger); }
.quote-form .btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Plans and maps upload: the real file input covers the drop area, so click, keyboard and drag-and-drop all reach it */
.dropzone { position: relative; border: 1.5px dashed #b9bbc3; border-radius: 12px; background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.dropzone-body { display: none; }
.js .dropzone-body { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 88px; padding: 16px; font-size: 15px; color: var(--muted); text-align: left; }
.js .field .dropzone-input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.dropzone-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime-soft); color: var(--lime-ink); }
.dropzone strong { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dropzone:hover, .dropzone.is-over { border-color: var(--ink); background: #fafafb; }
.dropzone:focus-within { border-color: var(--ring); box-shadow: 0 0 0 3px rgba(63, 115, 255, .25); }
.dropzone.is-invalid { border-color: var(--danger); }
@media (hover: none) { .dz-drag { display: none; } }
.file-list { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.file-list li { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 4px 4px 14px; border: 1px solid #d3d4da; border-radius: 12px; background: #fff; font-size: 14px; }
.file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.file-size { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.file-list li:not(:has(.file-remove)) { padding-right: 14px; }
.file-remove {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 8px; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235d6068' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") no-repeat center;
}
.file-remove:hover { background-color: var(--grey); }
.file-remove:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.file-total { margin-top: 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.file-total.is-over { color: var(--danger); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Closing CTA ---------- */
.cta { padding-top: clamp(24px, 4vw, 56px); }
.cta-row {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px 48px; align-items: start;
  max-width: 1168px; margin: 0 auto; padding: 0 clamp(16px, 2vw, 24px);
}
.cta-row h2 { max-width: 12ch; font-size: clamp(40px, 5.6vw, 82px); line-height: 1; letter-spacing: -.045em; }
.cta-side { padding-top: 10px; }
.cta-side p { max-width: 34ch; font-size: 17px; color: var(--ink-2); }
.cta-side .hero-ctas { margin-top: 20px; }

/* Pulled up so the small photo sits just under the CTA; the sticky layer lets clicks through to it. */
/* Without JavaScript the photo just shows at full size; with it, it starts small and grows on scroll. */
.grow { --p: 1; --h0: min(250px, 44vw); position: relative; margin-top: clamp(24px, 4vw, 48px); }
.grow-sticky { position: relative; display: grid; place-items: center; height: 80svh; overflow: hidden; }
.js .grow { --p: 0; height: 210vh; margin-top: calc(var(--h0) / 2 + clamp(32px, 4vw, 56px) - 50svh); pointer-events: none; }
.js .grow-sticky { position: sticky; top: 0; height: 100svh; }
/* The wordmark runs just below the photo and is pushed down as the photo grows, so they never overlap. */
.marquee {
  position: absolute; left: 0; right: 0;
  top: calc(50% + (var(--h0) + (100% - 2 * var(--gutter) - var(--h0)) * var(--p)) / 2 + clamp(16px, 2.5vw, 32px));
  overflow: hidden; white-space: nowrap;
  font-size: clamp(56px, 9vw, 150px); line-height: 1; letter-spacing: -.055em; color: #3a3c42;
  opacity: calc(1 - var(--p) * 1.6);
}
.marquee-track { display: inline-flex; animation: marquee 36s linear infinite; }
.marquee-track span { padding-right: .45em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.grow-img {
  --w0: min(360px, 62vw);
  position: relative; z-index: 2; overflow: hidden;
  width: calc(var(--w0) + (100% - 2 * var(--gutter) - var(--w0)) * var(--p));
  height: calc(var(--h0) + (100% - 2 * var(--gutter) - var(--h0)) * var(--p));
  border-radius: calc(140px * (1 - var(--p)) + var(--r-panel) * var(--p));
}
.grow-img img { width: 100%; height: 100%; object-fit: cover; scale: calc(1.28 - var(--p) * .28); }

/* ---------- Footer ---------- */
.footer { padding: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 34px) 22px; }
.foot-word {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 .22em;
  margin: 0; font-size: clamp(52px, 9.2vw, 172px); line-height: .98; letter-spacing: -.06em; color: #34363c;
}
.foot-pill { display: inline-block; width: 1.55em; height: .78em; overflow: hidden; border-radius: 999px; }
.foot-pill img { width: 100%; height: 100%; object-fit: cover; }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grey); transition: background-color .2s; }
.social a:hover { background: var(--lime); }
.foot-bar nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.foot-bar nav a { font-size: 14px; text-decoration: none; }
.foot-bar nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- Picture motion ---------- */
/* Hero: the photo and its pinned tags drift and zoom slowly, then sink as the page scrolls. */
.hero-stage {
  position: absolute; inset: 0; transform-origin: 50% 100%;
  transform: translateY(calc(var(--hs, 0) * 20%));
  animation: kenburns 16s ease-in-out infinite alternate;
}
@keyframes kenburns { from { scale: 1; translate: 0 0; } to { scale: 1.12; translate: -2.4% 0; } }
/* On load the photo and its tags settle in from a closer zoom */
.js .hero .scene-fit { transform: scale(1.14); transform-origin: 55% 60%; transition: transform 2.2s cubic-bezier(.16, .8, .2, 1); }
.hero.is-ready .scene-fit { transform: none; }
.hero-copy { transform: translateY(calc(var(--hs, 0) * -70px)); opacity: calc(1 - var(--hs, 0) * 1.4); }
.hero-cards { animation: bob 7s ease-in-out infinite; }
.hcard { animation: sway 9s ease-in-out infinite; }
.hcard-2 { animation-delay: -4.5s; }
@keyframes sway { 0%, 100% { rotate: -1.6deg; } 50% { rotate: 1.6deg; } }

/* Floating photo insets, map thumbnails and chips */
.sc-inset { animation: bob 6s ease-in-out infinite; }
.si-bl { animation-delay: -2s; }
.si-ml { animation-delay: -4s; }
.pin-img { animation: bob 5.5s ease-in-out infinite; animation-delay: calc(var(--d) * -.8s); }
.pp-chip-b { animation: sway 7s ease-in-out infinite; }
.round-badge { animation: bob 5s ease-in-out infinite -1.5s; }
.map { animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { from { scale: 1.04; translate: -1% -1%; } to { scale: 1.12; translate: 1.5% 1%; } }
.foot-pill img { animation: pan 12s ease-in-out infinite alternate; }
@keyframes pan { from { scale: 1.18; translate: -6% 0; } to { scale: 1.18; translate: 6% 0; } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .35s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .samples { display: block; padding: 80px 20px 40px; }
  .samples-head { margin: 0 auto; }
  .samples::before { background: rgba(22, 23, 27, .55); }
  .pins { position: relative; inset: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 40px auto 0; }
  .pin { position: static; }
  /* Without their photos, every pin uses the same grey bubble */
  .pin-photo > a { flex-direction: row; padding: 7px 11px; background: #5b5d65; color: #fff; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .7); }
  .pin-photo > a::after { display: block; }
  .pin-photo > a:hover { background: var(--lime); color: var(--lime-ink); }
  .pin-img, .pin-label .pin-ico { display: none; }
  .pin-label { padding: 0; border-radius: 0; background: none; color: inherit; }
}

@media (max-width: 960px) {
  .hero-cards { right: 4%; top: 12%; transform: scale(.82); transform-origin: top right; }
  .statement-row { grid-template-columns: 1fr 1fr; }
  .statement-side { grid-column: 1 / -1; padding: 24px 0 0; }

  .how-visual { width: min(560px, 100%); margin: 0 auto; }
  .how-img { aspect-ratio: 3 / 4; }
  .steps { position: relative; z-index: 2; display: grid; gap: 14px; max-width: 560px; margin: -90px auto 0; padding-bottom: 32px; }
  .step { position: relative; left: auto; top: auto; width: auto; }
  .s1, .s3 { --r: -1.5deg; }
  .s2, .s4 { --r: 1.5deg; }
  .how-thumb, .how-avatar { display: none; }
  .how-stage [data-parallax] { --pd: 0px; }
  /* Phones: a single-sided timeline down the left of the tower, above the step cards */
  .how-visual { --tx: 12%; }
  .est-track { top: 4%; bottom: 33%; }
  .est-1 { --y: 8%; } .est-2 { --y: 19%; } .est-3 { --y: 30%; } .est-4 { --y: 41%; } .est-5 { --y: 52%; } .est-6 { --y: 63%; }
  .est-l .est-pill { left: 20px; right: auto; flex-direction: row; padding: 5px 14px 5px 5px; transform-origin: 0 50%; }
  .est-pill { max-width: calc(100vw - 120px); }
  .js .step[data-reveal] { translate: 0 40px; }
  .js .step[data-reveal].is-in { translate: 0 0; }

  .review-grid { grid-template-columns: 1fr; }
  .review { min-height: 0; }
  .contact { grid-template-columns: 1fr; }
  .cta-row { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .stack-card { position: relative; top: auto; height: auto; margin-bottom: 16px; }
  .stack-inner { grid-template-columns: 1fr; }
  .flip .sc-text { order: 0; }
  .sc-media { aspect-ratio: 4 / 3; }
  .sc-text { gap: 40px; }
  .js .grow { height: 170vh; }
}

@media (max-width: 720px) {
  .hero { --fx: .6; min-height: 640px; }
  .hero-cards { display: none; }
  .hero-scene::after { background: linear-gradient(180deg, rgba(255, 246, 232, .82) 0%, rgba(255, 246, 232, .55) 38%, rgba(255, 246, 232, 0) 62%); }
  .head-cta { display: none; }
  .site-head { padding: calc(var(--gutter) + 12px) calc(var(--gutter) + 14px) 0; }
}

@media (max-width: 520px) {
  .statement-row { gap: 28px 10px; }
  .pp-chip { font-size: 12px; }
  .pp-chip-b { left: 4%; font-size: 12px; }
  .round-badge { width: 34px; height: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .sc-foot { flex-direction: column-reverse; align-items: flex-start; }
  .brand span { font-size: 16px; }
  .foot-word { font-size: clamp(44px, 15vw, 80px); }
}

/* ---------- Inner pages ---------- */
.site-menu li a[aria-current="page"] { background: var(--lime-soft); }
.page-hero { padding-top: clamp(112px, 12vw, 156px); }
.ph-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px 48px; align-items: end; max-width: 1168px; margin: 0 auto; padding: 0 clamp(16px, 2vw, 24px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 12px; border-radius: 999px; background: var(--lime-soft); font-size: 13px; font-weight: 500; color: var(--lime-ink); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7d9a1c; }
.ph-row h1 { max-width: 13ch; font-size: clamp(44px, 6.2vw, 96px); line-height: .97; letter-spacing: -.05em; }
.ph-side p { max-width: 38ch; font-size: 17px; color: var(--ink-2); }
.ph-media {
  position: relative; height: clamp(300px, 44vw, 620px); margin: clamp(32px, 4vw, 56px) var(--gutter) 0;
  overflow: hidden; isolation: isolate; border-radius: var(--r-panel); background: #dcdde3;
}
.ph-media > img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; animation: kenburns 18s ease-in-out infinite alternate; }
.ph-chip { position: absolute; z-index: 2; left: var(--x); top: var(--y); box-shadow: 0 12px 28px -12px rgba(10, 12, 20, .5); animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1.6s); }

.section { max-width: 1168px; margin: 0 auto; padding: clamp(80px, 9vw, 136px) clamp(16px, 2vw, 24px) 0; }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { max-width: 15ch; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -.04em; }
.section-head p { max-width: 42ch; font-size: 17px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link svg { transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.statement-side .text-link { margin-top: 22px; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 250px;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-card); background: var(--grey);
  transition: background-color .25s, transform .3s var(--ease);
}
.svc:hover { background: var(--lime-soft); transform: translateY(-3px); }
.svc-lime, .svc-lime:hover { background: var(--lime); }
.svc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.svc-sm { min-height: 0; }
.svc-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #fff; }
.svc h3 { font-size: 24px; line-height: 1.1; letter-spacing: -.03em; }
.svc p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* Numbered service lists */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 0; padding: 0; list-style: none; }
.svc-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.svc-list .num { padding-top: 5px; font-size: 13px; font-weight: 500; color: var(--muted); }
.svc-list h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.svc-list p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Dark trades panel and CTA band */
.dark-band { margin: clamp(80px, 9vw, 136px) var(--gutter) 0; padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 64px); }
.dark-band h2 { max-width: 16ch; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -.04em; }
.dark-band p { max-width: 46ch; margin-top: 14px; font-size: 17px; color: var(--on-dark-muted); }
.trade-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.trade-chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px;
  background: #2a2c33; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.trade-chips a:hover { background: var(--lime); color: var(--lime-ink); transform: translateY(-2px); }
.cta-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 56px; align-items: end; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(212, 233, 122, .28), rgba(212, 233, 122, 0) 65%);
}
.cta-band .hero-ctas { margin-top: 24px; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }

/* Fact tiles */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-card); background: var(--grey); }
.fact-lime { background: var(--lime); }
.fact-dark { background: #17181c; color: #fff; }
.fact strong { display: block; font-size: clamp(32px, 3.4vw, 50px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.fact h3 { font-size: 22px; letter-spacing: -.03em; }
.fact p { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.fact-dark p { color: var(--on-dark-muted); }

/* Project rows (reuse the stacked-card halves, without the stacking) */
.proj { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: clamp(460px, 44vw, 560px); margin-bottom: 12px; }
.proj.flip .sc-text { order: 2; }
.proj .sc-text h2 { max-width: 15ch; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.proj-body p { max-width: 44ch; font-size: 16px; color: var(--ink-2); }
.proj-body .mini-tags { margin-top: 18px; }
.proj-body .mini-tags li { background: rgba(255, 255, 255, .6); }
.proj-body .text-link { margin-top: 22px; }

/* Sample grid with filters */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.fchip {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sample-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sample-grid li[hidden] { display: none; }
.sample-card { display: block; padding: 8px 8px 16px; border-radius: 22px; background: var(--grey); text-decoration: none; transition: background-color .25s, transform .3s var(--ease); }
.sample-card:hover { background: var(--lime-soft); transform: translateY(-3px); }
.sample-card .si { display: block; overflow: hidden; border-radius: 16px; }
.sample-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale .5s var(--ease); }
.sample-card:hover img { scale: 1.05; }
.sample-name { display: block; padding: 14px 8px 0; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.sample-meta { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 0; font-size: 13px; color: var(--muted); }
.js .sample-grid li.is-entering { animation: card-in .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes card-in { from { opacity: 0; translate: 0 14px; } }
.samples.samples-page { margin-top: clamp(32px, 4vw, 56px); }

/* Contact page */
.contact-page { padding-top: clamp(112px, 12vw, 156px); }
/* Wide screens: heading and details on the left, form on the right. Narrow: heading, then the form, then the details. */
.contact-page { grid-template-areas: "intro form" "more form"; grid-template-rows: auto 1fr; row-gap: 40px; }
.contact-intro { grid-area: intro; }
.contact-page .quote-form { grid-area: form; }
.contact-more { grid-area: more; }
.contact-more .details { margin-top: 0; }
.contact-info h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: .98; letter-spacing: -.05em; }
.next-steps { counter-reset: step; display: grid; gap: 12px; margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); list-style: none; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-2); }
.next-steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-size: 13px; font-weight: 600; }
.next-steps strong { display: block; font-weight: 500; color: var(--ink); }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: clamp(120px, 13vw, 168px) clamp(16px, 2vw, 24px) clamp(40px, 6vw, 80px); }
.legal h1 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
.legal h2 { margin-top: 44px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.legal p, .legal li { margin-top: 12px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.legal ul { margin: 12px 0 0; padding-left: 20px; }
.legal a { text-underline-offset: 3px; }

.statement + .section { padding-top: 0; }
.types-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1120px; margin: 48px auto 0; }

@media (max-width: 960px) {
  .ph-row, .section-head, .cta-band { grid-template-columns: 1fr; align-items: start; }
  .svc-grid, .svc-grid-4 { grid-template-columns: 1fr 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .sample-grid { grid-template-columns: repeat(3, 1fr); }
  .proj { grid-template-columns: 1fr; min-height: 0; }
  .proj.flip .sc-text { order: 0; }
  .proj .sc-media { aspect-ratio: 4 / 3; }
  .contact-page { grid-template-areas: "intro" "form" "more"; grid-template-rows: auto; }
}
@media (max-width: 620px) {
  .svc-grid, .svc-grid-4 { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .sample-grid { grid-template-columns: 1fr 1fr; }
  .sample-name { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .ph-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero .hero-lead, .js .hero .hero-ctas, .js .hero .hcard, .js .pin { opacity: 1; translate: 0 0; }
  .js .hero .line > span { transform: none; }
  .js .hero .scene-fit { transform: none; }
  .js .how-visual [data-pop], .js .est .est-pill, .js .est .est-node { opacity: 1; scale: 1; }
  .js .grow { --p: 1; height: auto; margin-top: 32px; pointer-events: auto; }
  .js .grow-sticky { position: relative; height: 80svh; }
  .marquee { display: none; }
}
