/* Telegraph Hill Home Buyers — demo home page
   Direction: Lagom calm (cream, numbered labels, corner marks) × Elyse drama (giant serif, glass, dark band) */

/* self-hosted fonts (latin subsets, from Google Fonts — OFL) */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #F3EEE7;
  --cream-2: #EAE3D9;
  --white: #FFFFFF;
  --ink: #1F2429;
  --muted: #686D73;         /* #7A7F85 darkened a touch for AA on cream */
  --muted-2: #7A7F85;
  --accent: #E8622A;
  --dark: #121A1F;
  --ok: #2E7D5B;
  --line: rgba(31, 36, 41, .1);
  --line-2: rgba(31, 36, 41, .16);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --r: 16px;
  --r-card: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --hdr-h: 76px;
  --mh: max(620px, 84svh);              /* hero photo height = the seam */
  --wm: clamp(80px, 15.6vw, 300px);      /* single-line wordmark that fits the viewport */
  --wm-lines: 1;
  --over: .5em;                          /* how much of the wordmark sits on the photo */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.label {
  font-family: var(--sans); font-weight: 500; font-size: 10.5px; line-height: 1.4;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.h1 { font-weight: 600; font-size: clamp(44px, 7vw, 104px); line-height: 1.02; letter-spacing: -.035em; }
.h2 { font-weight: 600; font-size: clamp(32px, 4.5vw, 64px); line-height: 1.1; letter-spacing: -.02em; max-width: 18ch; }
.h2--sm { font-size: clamp(28px, 3vw, 40px); max-width: 20ch; }
.lede { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 46ch; margin-top: 20px; }

.sec { position: relative; padding: clamp(88px, 11vw, 160px) 0; }
.sec-label {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px);
  font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.sec-label i { font-style: normal; opacity: .6; }
.sec-label em { font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.sec-label--light, .sec-label--light em { color: rgba(243, 238, 231, .75); }
.sec-label--light em { color: var(--cream); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }

.link { font-size: 14px; font-weight: 600; color: var(--accent); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1px; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 30px; border-radius: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { --h: 44px; padding: 0 22px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn--primary:hover { box-shadow: 0 12px 28px -12px rgba(232, 98, 42, .65); }
.btn__mark { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; opacity: .85; transition: transform .3s var(--ease); }
.btn:hover .btn__mark { transform: translate(2px, -2px); }
.btn--outline { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); box-shadow: 0 10px 24px -14px rgba(31,36,41,.35); }
.btn--ghost-light { border: 1px solid rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.2;
  box-shadow: 0 6px 20px -10px rgba(18,26,31,.35);
}
.chip--glass { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: none; }
.chip--sm { font-size: 11.5px; padding: 6px 11px; }
.chip__star { color: #fff; }

/* corner bracket mark */
.card { position: relative; background: var(--white); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); }
.corner { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 44; stroke-dashoffset: 0; overflow: visible; }

/* ---------- header ---------- */
.hairline { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.hairline span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.hdr { position: fixed; inset: 0 0 auto; z-index: 90; color: var(--cream); transition: background-color .4s, color .4s, box-shadow .4s, backdrop-filter .4s; }
.hdr__in { height: var(--hdr-h); display: flex; align-items: center; gap: 24px; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.hdr.is-scrolled { background: rgba(243, 238, 231, .84); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(31,36,41,.08); }
.hdr.menu-open { color: var(--ink); }

.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--serif); font-size: 25px; letter-spacing: -.01em; }
.logo__sub { font-size: 8.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; margin-top: 4px; opacity: .8; }
.logo--ink { color: var(--ink); }
.logo--light { color: var(--cream); }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; padding: 8px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__dd-btn svg { transition: transform .3s var(--ease); }
.dd {
  position: absolute; top: calc(100% + 10px); left: -18px; min-width: 270px; padding: 8px; border-radius: 12px;
  background: var(--white); color: var(--ink); box-shadow: 0 1px 0 rgba(31,36,41,.04), 0 22px 48px -18px rgba(18,26,31,.28);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.dd::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; font-size: 14px; }
.dd a:hover { background: var(--cream); }
.dd a[aria-current="page"] { color: var(--accent); }
.dd__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dd__all a { font-weight: 600; }
.nav__link[aria-current="page"]::after, .nav__link.is-active::after { transform: scaleX(1); background: var(--accent); height: 1.5px; }
.nav__item--dd:hover .dd, .nav__item--dd:focus-within .dd, .nav__item--dd.is-open .dd { opacity: 1; visibility: visible; transform: none; }
.nav__item--dd:hover .nav__dd-btn svg, .nav__item--dd.is-open .nav__dd-btn svg { transform: rotate(180deg); }

.hdr__cta { display: flex; align-items: center; gap: 12px; }
.hdr__call { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; opacity: .75; transition: opacity .25s, background-color .25s, color .25s, border-color .25s; }
.hdr__call:hover { opacity: 1; background: var(--accent); border-color: var(--accent); color: #fff; }
.hdr__phone { margin-right: 8px; }
.hdr__phone { font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.hdr__phone:hover { opacity: .75; }
.hdr__mobile { display: none; margin-left: auto; align-items: center; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }

.mmenu {
  position: fixed; inset: 0; z-index: 150; background: var(--cream); color: var(--ink);
  display: flex; flex-direction: column; padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mmenu[hidden] { display: none; }
.mmenu__top { height: 64px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.mmenu__close { width: 44px; height: 44px; position: relative; }
.mmenu__close span { position: absolute; left: 11px; top: 21px; width: 22px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.mmenu__close span + span { transform: rotate(-45deg); }
.mmenu__nav { margin-top: 24px; }
.mmenu__nav a { display: block; padding: 10px 0; font-size: 30px; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.mmenu__foot { margin-top: auto; padding-top: 36px; }
.mmenu__phone { display: block; font-family: var(--serif); font-size: clamp(52px, 15vw, 72px); line-height: 1; letter-spacing: -.02em; margin-top: 8px; color: var(--ink); }
.mmenu__sms { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; padding-bottom: calc(var(--wm) * .85 * var(--wm-lines) - var(--over) + clamp(24px, 4vw, 56px)); }
.hero__media { position: relative; height: var(--mh); overflow: hidden; color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 60%; }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(18,26,31,.45) 0%, rgba(18,26,31,0) 22%),
  linear-gradient(0deg, rgba(18,26,31,.72) 0%, rgba(18,26,31,.28) 34%, rgba(18,26,31,0) 60%),
  linear-gradient(270deg, rgba(18,26,31,.58) 0%, rgba(18,26,31,.2) 45%, rgba(18,26,31,0) 70%); }
.hero__chip { position: absolute; top: calc(var(--hdr-h) + 28px); right: var(--gutter); }
.hero__copy {
  position: absolute; right: var(--gutter); bottom: calc(var(--wm) * var(--over-n, .5) + clamp(48px, 5vw, 72px));
  width: min(520px, 100% - var(--gutter) * 2);
}
.hero__h1 { font-weight: 600; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -.03em; }
.hero__p { margin-top: 18px; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.88); max-width: 44ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__mphone { display: none; }
.hero__mchip { display: none; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: calc(var(--wm) * var(--over-n, .5) + clamp(48px, 5vw, 72px)); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__scroll span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero__scroll i { width: 1px; height: 56px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateY(-100%); animation: scrollcue 2.4s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* the giant wordmark: two clipped copies so it reads cream on the photo and ink on the page */
.wm {
  position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none;
  top: calc(var(--mh) - var(--wm) * var(--over-n, .5));
  font-family: var(--serif); font-size: var(--wm); line-height: .85; letter-spacing: -.02em; text-transform: uppercase;
  height: calc(.85em * var(--wm-lines));
}
.wm__layer { position: absolute; inset: 0; overflow: hidden; }
.wm__layer--light { color: var(--cream); clip-path: inset(0 0 calc(100% - var(--over)) 0); }
.wm__layer--dark { color: var(--ink); clip-path: inset(var(--over) 0 0 0); }
.wm__text { white-space: nowrap; text-align: center; will-change: transform; }

/* ---------- 001 stats ---------- */
.stats { padding-top: clamp(40px, 6vw, 80px); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); align-items: end; }
.stat { display: flex; flex-direction: column; min-height: 320px; }
.stat--tall { min-height: 470px; }
.stat__num { font-family: var(--serif); font-size: clamp(64px, 8vw, 140px); line-height: .9; letter-spacing: -.02em; margin-top: auto; padding-top: 28px; white-space: nowrap; }
.stat__num em { font-size: .3em; font-style: italic; margin-left: .12em; letter-spacing: 0; }
.stat__cap { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.stat__photo { margin-top: 24px; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.stat__photo img { width: 100%; height: 100%; object-fit: cover; }
.stat--tall .stat__num { margin-top: 18px; }

/* ---------- 002 how ---------- */
.how__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.steps { position: relative; margin-top: clamp(40px, 5vw, 72px); counter-reset: s; }
.steps__line { position: absolute; left: 23px; top: 0; width: 3px; height: 0; overflow: visible; pointer-events: none; z-index: 0; }
.steps__line line { stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.steps__track { stroke: var(--line-2); }
.steps__draw { stroke: var(--accent); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: start; padding: clamp(26px, 3vw, 38px) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  transition: background-color .45s var(--ease), color .45s, border-color .45s, transform .45s var(--ease);
}
.step.is-on .step__num { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); }
.step__title { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.step__body p { margin-top: 8px; color: var(--muted); max-width: 44ch; font-size: 15.5px; }
.step__meta { padding-top: 6px; white-space: nowrap; }
.how__photo { position: sticky; top: 110px; border-radius: var(--r); overflow: hidden; aspect-ratio: 2 / 3; }
.how__photo img { width: 100%; height: 100%; object-fit: cover; }
.how__chip { position: absolute; left: 18px; bottom: 18px; font-size: 13px; padding: 10px 16px; }

/* ---------- 003 offer form ---------- */
.offer { padding-top: clamp(40px, 6vw, 80px); }
.offer__card { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); padding: clamp(24px, 4vw, 56px); }
.pcard__count { font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--ink); }
.pcard__count span { color: var(--muted-2); font-size: .7em; }
.offer__specs .h2 { margin-top: 18px; }
.specs { margin-top: 32px; }
.specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.specs > div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.specs dd { font-family: var(--serif); font-size: 28px; line-height: 1; }
.offer__alt { margin-top: 24px; font-size: 14.5px; color: var(--muted); }
.offer__alt a { color: var(--accent); font-weight: 600; }

.form { display: grid; gap: 16px; }
.form fieldset { display: grid; gap: 12px; }
.form legend { margin-bottom: 4px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 12.5px; font-weight: 600; color: rgba(31,36,41,.78); }
.field .opt { font-weight: 400; color: var(--muted); }
.field-row { display: flex; gap: 12px; }
.field--grow { flex: 1; }
.field--state { width: 70px; }
.field--zip { width: 110px; }
.form input:not([type=checkbox]), .form select, .inline-form input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(31,36,41,.15); background: #FBF9F6;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.form input::placeholder, .inline-form input::placeholder { color: #A5A39F; }
.form input:focus, .form select:focus, .inline-form input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(232,98,42,.12); }
.form input[readonly] { background: var(--cream); color: var(--muted); text-align: center; padding: 0 8px; }
.form .is-bad { border-color: #C0492B !important; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.check { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check__box { width: 22px; height: 22px; border-radius: 6px; border: 1px solid #D4CDC2; background: #FBF9F6; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.check__box::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked + .check__box { background: var(--ok); border-color: var(--ok); }
.check input:checked + .check__box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check__txt { font-size: 12px; line-height: 1.55; color: var(--muted); }
.form .btn { margin-top: 6px; --h: 58px; font-size: 16px; }
.form__fine { font-size: 12px; color: var(--muted); text-align: center; }
.form__err { font-size: 13px; color: #B5401F; text-align: center; }
.success { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 40px 0; outline: none; }
.success[hidden] { display: none; }
.success__check { width: 72px; height: 72px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.success__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease) forwards; }
.success__check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .45s var(--ease) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success__h { font-family: var(--serif); font-size: 56px; font-weight: 400; line-height: 1; }
.success p { color: var(--muted); }

/* ---------- 004 situations (dark) ---------- */
.dark { background: var(--dark); color: var(--cream); overflow: hidden; }
.sits__bg { position: absolute; inset: 0; }
.sits__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.sits__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,26,31,.86), rgba(18,26,31,.78) 50%, rgba(18,26,31,.92)); }
.sits .wrap { position: relative; }
.sits__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.sits__lede { color: rgba(243,238,231,.72); max-width: 46ch; justify-self: end; }
.rail { position: relative; margin-top: clamp(48px, 6vw, 80px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; outline: none; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; user-select: none; }
.rail__track { display: flex; gap: 16px; padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); width: max-content; }
.rail__track::after { content: ""; flex: 0 0 max(1px, calc((100vw - var(--max)) / 2 - 16px)); }
.glass {
  position: relative; flex: 0 0 300px; min-height: 360px; scroll-snap-align: start; scroll-margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: 18px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color .4s, transform .4s var(--ease);
}
.glass:hover { background: rgba(255,255,255,.17); }
.glass__ico { width: 40px; height: 40px; fill: none; stroke: var(--cream); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.glass h3 { margin-top: auto; padding-top: 48px; font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.glass p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: rgba(243,238,231,.74); }
.glass__idx { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 18px; color: rgba(243,238,231,.6); }
.sits__foot { display: flex; align-items: center; justify-content: space-between; margin-top: clamp(36px, 4vw, 56px); }
.sits__hint { color: rgba(243,238,231,.6); }

/* ---------- 005 recently bought ---------- */
.projects { display: grid; gap: clamp(16px, 2vw, 24px); }
.project { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(20px, 2.4vw, 32px); }
.project__info { display: flex; flex-direction: column; padding: clamp(4px, 1vw, 12px) 0 clamp(4px, 1vw, 12px) clamp(4px, 1vw, 12px); }
.project .pcard__count { font-size: 56px; }
.project__title { margin-top: 22px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.project__tag { margin-top: 8px; color: var(--muted); }
.specs--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 28px; }
.specs--grid > div { flex-direction: column; align-items: flex-start; gap: 6px; }
.specs--grid > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.specs--grid dd { font-size: 24px; }
.pin { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.pin svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; }
.project__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }
.gallery { position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; background: var(--cream-2); }
.gallery__track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track figure { flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; }
.gallery__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery:hover .gallery__track img { transform: scale(1.03); }
.gallery__dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 6px; padding: 7px 10px; border-radius: 999px; background: rgba(18,26,31,.5); }
.gallery__dots { gap: 0; padding: 0 6px; }
.gallery__dots button { width: 24px; height: 24px; display: grid; place-items: center; }
.gallery__dots button::after { content: ""; width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.55); transition: width .35s var(--ease), background-color .3s; }
.gallery__dots button[aria-current="true"] { width: 34px; }
.gallery__dots button[aria-current="true"]::after { width: 22px; background: #fff; }
.gallery__chip { position: absolute; top: 18px; right: 18px; }

.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(16px, 2vw, 24px); }
.mini { padding: 12px 12px 22px; }
.mini__img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 18px; }
.mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mini:hover .mini__img img { transform: scale(1.03); }
.mini__img .chip { position: absolute; left: 10px; bottom: 10px; }
.mini .pcard__count, .mini__title, .mini .pin { padding: 0 8px; }
.mini__title { margin-top: 8px; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.mini .pin { margin-top: 6px; }

/* ---------- 006 honest math ---------- */
.math__card { margin-top: clamp(36px, 5vw, 64px); padding: clamp(20px, 3vw, 44px); }
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; padding: 20px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { padding-top: 4px; font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cmp thead th.cmp__us { color: var(--ink); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody th { font-weight: 500; color: var(--muted); width: 26%; font-size: 15px; }
.cmp td { font-size: 17px; color: var(--muted); }
.cmp td.cmp__us { color: var(--ink); font-weight: 600; background: rgba(46,125,91,.045); }
.cmp td i { display: inline-block; vertical-align: -3px; margin-right: 12px; }
i.ok { width: 18px; height: 18px; border-radius: 50%; background: var(--ok); position: relative; flex: none; }
i.ok::after { content: ""; position: absolute; left: 5.5px; top: 4px; width: 5px; height: 8px; border-right: 1.8px solid #fff; border-bottom: 1.8px solid #fff; transform: rotate(45deg); }
i.no { width: 14px; height: 1.5px; background: #B4B1AC; flex: none; margin-left: 2px; margin-right: 14px !important; vertical-align: middle !important; }
.cmp-m { display: none; }
.pull { margin: clamp(56px, 7vw, 100px) auto 0; max-width: 980px; text-align: center; }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.8vw, 54px); line-height: 1.14; letter-spacing: -.01em; }
.pull footer { margin-top: 24px; }

/* ---------- 007 team ---------- */
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.team__photos { position: sticky; top: 110px; padding-top: 22%; }
.team__wide { width: 88%; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; }
.team__tall { position: absolute; top: 0; right: 0; width: 46%; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; z-index: 2; box-shadow: 0 30px 60px -30px rgba(18,26,31,.45); }
.team__photos img { width: 100%; height: 100%; object-fit: cover; }
.team__copy .sec-label { margin-bottom: 28px; }
.people { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.person { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.person h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.person p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 56ch; }
.person--lead { grid-template-columns: 76px 1fr; }
.person--lead img { width: 76px; height: 76px; }

/* ---------- 008 reviews ---------- */
.gbadge { display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px 12px 14px; border-radius: 14px; background: var(--white); font-size: 14px; line-height: 1.25; transition: transform .3s var(--ease), box-shadow .3s; }
.gbadge:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(18,26,31,.4); }
.gbadge b { font-size: 18px; }
.gbadge small { color: var(--muted); font-size: 12px; }
.stars { letter-spacing: .12em; color: var(--ink); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.review { display: flex; flex-direction: column; min-height: 330px; }
.review .stars { font-size: 15px; }
.review blockquote { margin-top: 28px; font-family: var(--serif); font-size: clamp(24px, 2vw, 28px); line-height: 1.22; letter-spacing: -.005em; }
.review figcaption { margin-top: auto; padding-top: 28px; font-size: 14.5px; }
.review figcaption span { color: var(--muted); margin-left: 6px; }
.review .link { margin-top: 10px; align-self: flex-start; }

/* ---------- 009 where ---------- */
.where { padding: 0; min-height: 900px; display: flex; overflow: hidden; }
.where__map { position: absolute; inset: 0; display: flex; align-items: center; background-color: #E6E0D7; background-image: linear-gradient(#DAD3C8 1px, transparent 1px), linear-gradient(90deg, #DAD3C8 1px, transparent 1px); background-size: 40px 40px; }
.map__frame { position: relative; width: 100%; aspect-ratio: 1600 / 934; flex: none; }
.map__img { width: 100%; height: 100%; }
.map__pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff; }
.map__pin::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: var(--accent); opacity: .35; animation: mappulse 2.4s ease-out infinite; }
.map__pin:nth-of-type(2)::before { animation-delay: .8s; }
.map__pin:nth-of-type(3)::before { animation-delay: 1.6s; }
@keyframes mappulse { 0% { transform: scale(.8); opacity: .45; } 100% { transform: scale(4); opacity: 0; } }
.where__inner { position: relative; z-index: 1; display: flex; flex-direction: column; padding-top: clamp(88px, 11vw, 140px); padding-bottom: clamp(48px, 6vw, 80px); pointer-events: none; }
.where__inner > * { pointer-events: auto; }
.where__inner .h2 { max-width: 12ch; font-size: clamp(32px, 3.6vw, 52px); }
.where__cards { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 440px; margin-top: 40px; }
.loc { padding: 24px 26px; box-shadow: 0 30px 60px -36px rgba(18,26,31,.4); }
.loc .pcard__count { position: absolute; top: 26px; right: 44px; font-size: 18px; color: var(--muted-2); }
.loc h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.loc .pin { margin-top: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 16px; }
.pills a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--cream); font-size: 12.5px; font-weight: 500; transition: background-color .25s, color .25s; }
.pills a:hover { background: var(--ink); color: var(--cream); }

/* ---------- 010 questions ---------- */
.qs__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.guide .h2 { margin-top: 18px; }
.guide__title { margin-top: 20px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--muted); max-width: 32ch; }
.inline-form { display: flex; gap: 10px; margin-top: 28px; }
.inline-form input { flex: 1; min-width: 0; height: 54px; }
.inline-form .btn { flex: none; }
.inline-ok { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; font-weight: 600; }
.inline-ok[hidden] { display: none; }
.inline-ok svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--ok); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.inline-ok svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s var(--ease) .1s forwards; }
.inline-ok .muted { font-weight: 400; font-size: 13px; }
.faq .h2 { margin-bottom: 24px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc h3 { font-size: inherit; }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.acc__plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .35s var(--ease), background-color .35s, border-color .35s; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__plus { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--cream); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 56px 26px 0; color: var(--muted); max-width: 60ch; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.faq__more { display: inline-block; margin-top: 24px; }

/* ---------- 011 final ---------- */
.final__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final .sec-label { align-self: flex-start; }
.final .h1 { margin-top: clamp(8px, 2vw, 24px); }
.final .lede { margin-left: auto; margin-right: auto; }
.final__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.callback { margin-top: clamp(56px, 6vw, 88px); width: min(560px, 100%); }
.callback__q { font-family: var(--serif); font-style: italic; font-size: 24px; }
.inline-form--line { margin-top: 14px; padding: 6px 6px 6px 0; border-bottom: 1px solid var(--ink); align-items: center; }
.inline-form--line input { height: 48px; background: transparent; border: 0; border-radius: 0; padding: 0 4px; font-size: 18px; }
.inline-form--line input:focus { box-shadow: none; background: transparent; }
.callback .inline-ok { justify-content: center; }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--dark); color: rgba(243,238,231,.72); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr .8fr .7fr; gap: 40px; }
.ftr__brand p { margin-top: 20px; max-width: 34ch; font-size: 14.5px; }
.ftr__phone { display: block; margin-top: 24px; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--cream); }
.ftr__sms { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.ftr .label { color: rgba(243,238,231,.5); margin-bottom: 18px; }
.ftr__col li + li { margin-top: 10px; }
.ftr__col a { font-size: 14.5px; transition: color .25s; }
.ftr__col a:hover, .ftr__bar a:hover { color: var(--cream); }
.ftr__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid rgba(243,238,231,.12); font-size: 13px; color: rgba(243,238,231,.55); }
.ftr__bar a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(243,238,231,.25); }
.ftr__wm { font-family: var(--serif); font-size: 15.4vw; line-height: .8; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; text-align: center; color: var(--cream); margin-top: clamp(24px, 4vw, 56px); height: .56em; overflow: hidden; user-select: none; }

/* ---------- sticky phone + mobile bar ---------- */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 14px 30px -10px rgba(232,98,42,.6);
  transition: transform .3s var(--ease), opacity .3s;
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.4s ease-out infinite; }
.fab:hover { transform: scale(1.06); }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.mbar { display: none; }

/* ---------- hero intro: pure CSS so it paints without waiting on JS (~1.5s) ---------- */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__img { animation: kenburns 12s ease-in-out infinite alternate; }
.wm__text { animation: rise 1.1s cubic-bezier(.16,1,.3,1) .1s both; }
.hero__h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__h1 .line > span { display: block; animation: rise 1s cubic-bezier(.16,1,.3,1) .25s both; }
.hero__h1 .line + .line > span { animation-delay: .33s; }
[data-hero] { animation: fadeUp .7s cubic-bezier(.22,1,.36,1) both; }
.hero__p { animation-delay: .55s; }
.hero__btns { animation-delay: .62s; }
.hero__mphone { animation-delay: .69s; }
.hero__chip, .hero__mchip { animation-delay: .76s; }
.hero__scroll { animation-delay: .8s; }

/* skip layout of everything below the first screen until the visitor interacts (main.js removes it) */
html:not(.cv-off) main > .sec:nth-of-type(n+3), html:not(.cv-off) .ftr { content-visibility: auto; contain-intrinsic-size: auto 1100px; }

/* scroll reveals: hidden only once the motion script has taken over */
.anim-on main .sec [data-reveal], .anim-on main .sec .sec-label { opacity: 0; }
.anim-on .curtain { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.77,0,.18,1); }
.anim-on .curtain img { transform: scale(1.15); transition: transform 1.4s cubic-bezier(.22,1,.36,1); }
.anim-on .curtain.is-in { clip-path: inset(0 0 0 0); }
.anim-on .curtain.is-in img { transform: scale(1); }
.anim-on .corner path { stroke-dashoffset: 44; transition: stroke-dashoffset .4s ease-out .35s; }
.anim-on .corner.is-in path { stroke-dashoffset: 0; }

/* =====================================================================
   Round 2 — polish + inner pages
   ===================================================================== */
::selection { background: var(--accent); color: #fff; }

/* every photo frame: 16px radius + a 1px inset hairline so edges never look raw on cream */
.ph { position: relative; border-radius: var(--r); overflow: hidden; }
.ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(31,36,41,.06); pointer-events: none; z-index: 1; }

.link--more { display: inline-block; margin-top: 32px; }

/* hero: grain, watch button, meta row */
.hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background: url("/assets/img/grain.webp") 0 0 / 160px 160px repeat; }
.hero__meta { position: absolute; left: calc(var(--gutter) + 44px); bottom: calc(var(--wm) * var(--over-n, .5) + clamp(48px, 5vw, 72px)); display: flex; align-items: center; gap: 12px; }
.hero__copy .hero__meta { position: static; }
.hero__watch { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: #fff; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(18,26,31,.28); border: 1px solid rgba(255,255,255,.25); transition: background-color .25s; }
.hero__watch:hover { background: rgba(18,26,31,.5); }
.hero__watch-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.hero__watch-ico svg { width: 12px; height: 12px; fill: #fff; margin-left: 2px; }

/* ---------- intro (home, once per session) ---------- */
.intro-ov { display: none; }
html.intro:not(.intro-done) .intro-ov { display: block; position: fixed; inset: 0; z-index: 200; cursor: pointer; }
.intro__top, .intro__bot { position: absolute; left: 0; right: 0; background: var(--cream); transition: transform .6s cubic-bezier(.65,0,.35,1); }
.intro__top { top: 0; height: var(--mh); }
.intro__bot { top: var(--mh); bottom: 0; }
.intro__line { position: absolute; left: 0; right: 0; top: var(--mh); height: 1.5px; margin-top: -.75px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; animation: introLine .5s cubic-bezier(.65,0,.35,1) .05s forwards; transition: opacity .3s; }
@keyframes introLine { to { transform: scaleX(1); } }
html.intro:not(.intro-done) .wm { z-index: 210; }
html.intro .wm__layer--light { color: var(--ink); transition: color .6s cubic-bezier(.65,0,.35,1); }
html.intro .wm__text { animation: rise .9s cubic-bezier(.16,1,.3,1) .45s both; }
html.intro.intro-open .intro__top { transform: translateY(-100%); }
html.intro.intro-open .intro__bot { transform: translateY(100%); }
html.intro.intro-open .intro__line { opacity: 0; }
html.intro.intro-open .wm__layer--light { color: var(--cream); }
html.intro .hero__h1 .line > span { animation-delay: 1.5s; }
html.intro .hero__h1 .line + .line > span { animation-delay: 1.58s; }
html.intro [data-hero] { animation-delay: 1.66s; }
html.intro .hero__btns { animation-delay: 1.74s; }
html.intro .hero__mphone, html.intro .hero__meta { animation-delay: 1.82s; }
html.intro .hero__chip, html.intro .hero__scroll { animation-delay: 1.9s; }
html.intro:not(.intro-done) body { overflow: hidden; }
html.intro-skip .hero__h1 .line > span { animation-delay: .15s; }
html.intro-skip .hero__h1 .line + .line > span { animation-delay: .23s; }
html.intro-skip [data-hero] { animation-delay: .3s; }
html.intro-skip .hero__btns { animation-delay: .38s; }
html.intro-skip .hero__mphone, html.intro-skip .hero__meta, html.intro-skip .hero__chip, html.intro-skip .hero__scroll { animation-delay: .46s; }

/* inner pages: quick page fade + title mask reveal */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body:not([data-page="home"]) main { animation: pageIn .5s ease-out both; }
.phero__h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.phero__h1 .line > span { display: block; animation: rise .9s cubic-bezier(.16,1,.3,1) .1s both; }

/* section number count-up keeps width steady */
.sec-num { font-variant-numeric: tabular-nums; }

/* ---------- floating labels ---------- */
.fl { position: relative; min-width: 0; }
.fl input, .fl select { padding-top: 18px !important; }
.fl label { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); font-size: 15px; color: #8C8A86; pointer-events: none; transform-origin: 0 50%; transition: top .2s var(--ease), transform .2s var(--ease), color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 30px); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label, .fl--select label { top: 15px; transform: translateY(-50%) scale(.78); color: var(--muted); }
.fl input:focus + label, .fl select:focus + label { color: var(--accent); }
.fl input[readonly] { padding-top: 18px !important; }
.fl.field--state label { left: 50%; transform: translate(-50%, -50%) scale(.78); top: 15px; }
.form input:focus, .form select:focus, .inline-form input:focus { box-shadow: 0 0 0 4px rgba(232,98,42,.14); }

/* submit wipe */
.btn--wipe { overflow: hidden; isolation: isolate; }
.btn--wipe::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.65,0,.35,1); z-index: -1; }
.btn--wipe:hover::before { transform: scaleX(1); }
.btn--wipe span { position: relative; }

/* ---------- gallery polish ---------- */
.gallery__dots button::after { width: 8px; height: 8px; }
.gallery__dots button[aria-current="true"]::after { width: 24px; background: var(--accent); }
.gallery__arrow { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 18px -8px rgba(18,26,31,.45); opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.gallery__arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery__arrow--prev { left: 14px; } .gallery__arrow--next { right: 14px; }
.gallery:hover .gallery__arrow, .gallery__arrow:focus-visible { opacity: 1; }
.gallery__arrow:hover { transform: scale(1.08); }
.gallery__arrow[disabled] { opacity: 0 !important; pointer-events: none; }
.chip__ico { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; flex: none; }
.mini__chip { position: absolute; left: 10px; bottom: 10px; z-index: 2; }
.mini__chip .chip { font-size: 11.5px; padding: 6px 11px; }
.mini__link { display: block; }
.mini__link:hover .mini__title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- team rows ---------- */
.person { transition: transform .35s var(--ease); }
.person:hover { transform: translateY(-2px); }
.person__img { border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(31,36,41,.06); }
.person__img img { transition: transform .45s var(--ease); }
.person:hover .person__img img { transform: scale(1.04); }
.pill-accent { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }

/* ---------- as seen on ---------- */
.seen { display: flex; align-items: center; gap: 28px; margin-top: 40px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seen .label { flex: none; }
.seen__logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.seen__logos img { height: 28px; width: auto; filter: grayscale(1) contrast(1.15) brightness(.55); opacity: .6; transition: filter .35s, opacity .35s; }
.seen__logos li:hover img { filter: none; opacity: 1; }
/* optical sizing: round marks read smaller than wordmarks at the same height */
.seen__logos img[src*="abc"], .seen__logos img[src*="usa-today"], .seen__logos img[src*="magenta-a"] { height: 34px; }
.seen__logos img[src*="fox"], .seen__logos img[src*="nbc"] { height: 23px; }
.seen__logos img[src*="ap."] { height: 30px; }
.seen--ftr { margin: 48px 0 0; padding: 18px 0; border-color: rgba(243,238,231,.1); }
.seen--ftr .label { color: rgba(243,238,231,.45); }
.seen--ftr .seen__logos { justify-content: flex-start; gap: 28px; }
.seen--ftr .seen__logos img { height: 18px; filter: grayscale(1) brightness(0) invert(1); opacity: .4; }
.ftr__sub { margin-top: 28px; }

/* ---------- map labels + clickable cards ---------- */
.map__label { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1; white-space: nowrap; color: var(--ink); text-shadow: 0 0 6px var(--cream), 0 0 2px var(--cream); }
.loc { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.loc:hover { transform: translateY(-3px); box-shadow: 0 34px 60px -30px rgba(18,26,31,.45); }
.loc__link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 2; }
.loc .link { position: relative; }
.pills--static span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--cream); font-size: 12.5px; font-weight: 500; }
.pills__more { color: var(--muted); }

/* ---------- fab tooltip ---------- */
.fab::after { content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); padding: 7px 12px; border-radius: 8px; background: var(--ink); color: var(--cream); font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.fab:hover::after, .fab:focus-visible::after { opacity: 1; transform: translate(0, -50%); }

/* ---------- glass cards as links ---------- */
.glass__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.glass__go { position: absolute; right: 24px; bottom: 24px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; font-size: 15px; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.glass:hover .glass__go { background: var(--accent); border-color: var(--accent); transform: translateX(3px); }

/* ---------- reviews with house thumbnails ---------- */
.review__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.review__thumb { width: 88px; aspect-ratio: 4 / 3; border-radius: 10px; flex: none; margin-right: 18px; }
.review__thumb img { width: 100%; height: 100%; object-fit: cover; }
.review blockquote { margin-top: 22px; }
.reviews__grid--page { margin-top: clamp(20px, 3vw, 32px); }
.rv-note { margin-top: 36px; color: var(--muted); }

/* big Google badge */
.gbig { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.gbig__score { display: grid; justify-items: start; gap: 8px; }
.gbig__num { font-family: var(--serif); font-size: clamp(72px, 9vw, 128px); line-height: .9; }
.gbig__num em { font-size: .3em; color: var(--muted); }
.gbig__stars { font-size: 22px; }
.gbig__links ul { margin-top: 12px; display: grid; gap: 12px; }
.gbig__links .link { font-size: 17px; }

/* ---------- videos (click to play) ---------- */
.video { aspect-ratio: 16 / 9; background: var(--dark); }
.video--portrait { aspect-ratio: 9 / 16; max-height: 560px; margin: 0 auto; }
.video__btn { position: absolute; inset: 0; width: 100%; height: 100%; display: block; color: #fff; text-align: left; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,26,31,.6), rgba(18,26,31,0) 55%); }
.video__btn:hover img { transform: scale(1.03); }
.video__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; z-index: 1; box-shadow: 0 12px 30px -10px rgba(232,98,42,.7); transition: transform .3s var(--ease); }
.video__play svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.video__btn:hover .video__play { transform: scale(1.08); }
.video__title { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-weight: 600; font-size: 15px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal { width: min(1100px, 92vw); padding: 0; border: 0; border-radius: var(--r); background: #000; overflow: visible; }
.vmodal::backdrop { background: rgba(18,26,31,.82); }
.vmodal__frame { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; }
.vmodal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal__x { position: absolute; right: 0; top: -52px; width: 44px; height: 44px; }
.vmodal__x span { position: absolute; left: 11px; top: 21px; width: 22px; height: 1.5px; background: #fff; transform: rotate(45deg); }
.vmodal__x span + span { transform: rotate(-45deg); }

/* ---------- page hero ---------- */
.phero { padding: calc(var(--hdr-h) + clamp(56px, 8vw, 120px)) 0 clamp(48px, 6vw, 88px); }
.phero__in { display: grid; gap: clamp(32px, 5vw, 80px); align-items: end; }
.phero--media .phero__in { grid-template-columns: 1fr 1fr; }
.phero__h1 { font-weight: 600; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.035em; max-width: 16ch; }
.phero__sub { margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); }
.phero__media { aspect-ratio: 4 / 3; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
body:not([data-page="home"]) .hdr:not(.is-scrolled) { color: var(--ink); }

/* prose */
.prose-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.prose p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; max-width: 60ch; }
.prose p + p { margin-top: 1.1em; }
.prose__sig { font-family: var(--serif); font-style: italic; font-size: 22px !important; color: var(--muted); }
.prose-sec { padding-top: clamp(40px, 5vw, 80px); }

/* situation 3-step strip */
.sstrip__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(28px, 4vw, 48px); }
.sstep__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; }
.sstep h3 { margin-top: 28px; font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.sstep p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.qs--short { padding-top: 0; }

/* our process */
.steps--long .step__body p { max-width: 58ch; }
.steps--long .step__body p + p { margin-top: 10px; }
.calc { position: sticky; top: 110px; }
.calc__f { display: grid; gap: 10px; margin-top: 20px; font-size: 17px; }
.calc__f span { padding: 14px 16px; border-radius: 10px; background: var(--cream); }
.calc__f b { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1; text-align: center; color: var(--muted); }
.calc__f .calc__eq { background: var(--ink); color: var(--cream); font-weight: 600; }
.calc__note { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* completed projects */
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: background-color .25s, color .25s, border-color .25s; }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.pj { padding: 12px 12px 24px; display: flex; flex-direction: column; }
.pj[hidden] { display: none !important; }
.pj__img { aspect-ratio: 4 / 3; border-radius: 12px; }
.pj__img img { width: 100%; height: 100%; object-fit: cover; }
.pj__body { padding: 18px 8px 0; }
.pj .mini__title { margin-top: 8px; }
.specs--sm { margin-top: 16px; }
.specs--sm dd { font-size: 20px; }
.vids__row { display: grid; grid-template-columns: 1fr 1fr .5fr; gap: clamp(14px, 1.6vw, 24px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.vids__row .video--portrait { max-height: none; }

/* about */
.vid-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(48px, 6vw, 88px); }
.tcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(28px, 4vw, 48px); }
.tcard { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; }
.tcard--lead { grid-column: 1 / -1; grid-template-columns: 280px 1fr; }
.tcard__img { aspect-ratio: 1; border-radius: 14px; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tcard:hover .tcard__img img { transform: scale(1.04); }
.tcard h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; }
.tcard .label { margin-top: 6px; display: flex; align-items: center; gap: 10px; }
.tcard p:not(.label) { margin-top: 12px; color: var(--muted); font-size: 15.5px; max-width: 62ch; }
.mas { columns: 3; column-gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(28px, 4vw, 48px); }
.mas__item { break-inside: avoid; margin-bottom: clamp(12px, 1.4vw, 20px); }
.mas__item img { width: 100%; height: auto; }

/* contact */
.contact__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.contact__phone { display: block; font-family: var(--serif); font-size: clamp(56px, 8vw, 120px); line-height: .95; letter-spacing: -.02em; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 18px; }
.contact__btns .btn svg { margin-right: 2px; }
.contact__cb .callback { margin-top: 0; width: 100%; }

/* service-area town lists */
.towns__group { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 300px 1fr; gap: 32px; scroll-margin-top: 100px; }
.towns__group:last-child { border-bottom: 1px solid var(--line); }
.towns__head h3 { margin-top: 10px; font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.towns .pills { margin: 0; align-content: start; }
.towns .pills a { background: var(--white); }

/* faq + guide */
.qs__grid--faq { grid-template-columns: .8fr 1.2fr; }
.guide { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.guide__cover { aspect-ratio: 560 / 724; border-radius: 10px; box-shadow: 0 24px 40px -24px rgba(18,26,31,.5); transform: rotate(-2deg); }
.guide__cover img { width: 100%; height: 100%; object-fit: cover; }
.guide-sec { padding-top: 0; }

/* legal */
.legal__body { max-width: 720px; }
.legal__h { margin: 40px 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.legal__note { padding: 14px 18px; border-radius: 10px; background: var(--white); font-size: 14px !important; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav, .hdr__cta { display: none; }
  .hdr__mobile { display: flex; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__photo { position: relative; top: 0; aspect-ratio: 4 / 3; max-height: 520px; width: 100%; }
  .offer__card { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; }
  .gallery { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .minis { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: 1fr; }
  .team__photos { position: relative; top: 0; max-width: 640px; }
  .qs__grid { grid-template-columns: 1fr; }
  .sits__head { grid-template-columns: 1fr; gap: 20px; }
  .sits__lede { justify-self: start; }
}

@media (max-width: 767px) {
  :root {
    --hdr-h: 64px;
    --mh: max(520px, 70svh);
    --wm: 18vw;
    --wm-lines: 2;
    --over: 1.12em;
    --over-n: 1.12;
  }
  body { font-size: 16px; }
  .logo__name { font-size: 22px; }
  .hdr.is-scrolled { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

  .wm__text span { display: block; }
  .hero__chip { display: none; }
  .hero__scroll { display: none; }
  .hero__copy { left: var(--gutter); right: var(--gutter); width: auto; bottom: calc(var(--wm) * 1.12 + 30px); }
  .hero__h1 { font-size: clamp(30px, 8.5vw, 40px); }
  .hero__p { font-size: 15px; margin-top: 12px; }
  .hero__btns { margin-top: 20px; }
  .hero__btns .btn--primary { width: 100%; }
  .hero__call { display: none; }
  .hero__mphone { display: block; margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.88); }
  .hero__mphone strong { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
  .hero__mchip { display: inline-flex; margin-top: 14px; }
  .hero__scrim { background:
    linear-gradient(180deg, rgba(18,26,31,.5) 0%, rgba(18,26,31,0) 22%),
    linear-gradient(0deg, rgba(18,26,31,.86) 0%, rgba(18,26,31,.6) 45%, rgba(18,26,31,.1) 75%); }

  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat--tall { min-height: 0; }
  .stat__num { font-size: clamp(64px, 20vw, 96px); }

  .steps__line { left: 19px; }
  .step { grid-template-columns: 40px 1fr; gap: 18px; }
  .step__num { width: 40px; height: 40px; font-size: 12px; }
  .step__meta { display: none; }

  .offer__card { padding: 22px 18px; }
  .field-row { flex-wrap: wrap; }
  .field-row .field--grow { flex: 1 1 100%; }
  .field--state { width: 76px; }
  .field--zip { flex: 1; width: auto; }
  .form input:not([type=checkbox]), .form select { height: 48px; }
  .specs dd { font-size: 24px; }

  .glass { flex-basis: 82vw; min-height: 330px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.1); }
  .chip--glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(18,26,31,.42); }
  .rail__track { gap: 12px; }

  .project { padding: 14px; gap: 22px; }
  .project__info { padding: 0 6px 8px; }
  .project .pcard__count { font-size: 44px; }
  .minis { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .minis::-webkit-scrollbar { display: none; }
  .mini { flex: 0 0 72vw; scroll-snap-align: start; }

  .cmp { display: none; }
  .cmp-m { display: grid; gap: 14px; }
  .math__card { background: transparent; padding: 0; }
  .math__card > .corner { display: none; }
  .cmp-m__col { background: var(--white); border-radius: var(--r-card); padding: 22px 20px; }
  .cmp-m__col:not(.cmp-m__col--us) { background: rgba(255,255,255,.5); }
  .cmp-m__col .label { margin-bottom: 8px; }
  .cmp-m__col--us .label { color: var(--ink); }
  .cmp-m li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
  .cmp-m li span { color: var(--muted); }
  .cmp-m li b { text-align: right; font-weight: 600; }
  .cmp-m__col:not(.cmp-m__col--us) b { color: var(--muted); font-weight: 500; }
  .cmp-m i.no { margin: 0 0 0 2px !important; }

  .team__photos { padding-top: 26%; }
  .person { grid-template-columns: 48px 1fr; gap: 14px; }
  .person img { width: 48px; height: 48px; }
  .person--lead { grid-template-columns: 60px 1fr; }
  .person--lead img { width: 60px; height: 60px; }

  .reviews__grid { grid-template-columns: 1fr; }
  .review { min-height: 0; }

  .where { display: block; min-height: 0; }
  .where__map { position: relative; height: 330px; overflow: hidden; }
  .map__frame { width: 170%; max-width: none; margin-left: -56%; }
  .where__inner { padding-top: 0; margin-top: -24px; }
  .where__cards { grid-template-columns: 1fr; padding-top: 24px; }
  .where .h2 { margin-top: 0; }
  .where__inner { padding-top: 56px; margin-top: 0; }

  .inline-form { flex-direction: column; }
  .inline-form .btn { width: 100%; }
  .inline-form--line { flex-direction: row; }
  .inline-form--line .btn { width: auto; }

  .acc__panel p { padding-right: 0; }

  .ftr { padding-bottom: 72px; }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__wm { font-size: 18vw; white-space: normal; height: auto; line-height: .82; padding-bottom: 0; margin-bottom: -.12em; }

  .fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; }
  body.mbar-on .fab { opacity: 0; pointer-events: none; transform: scale(.8); }
  .mbar {
    display: grid; grid-template-columns: 1.4fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px;
    background: rgba(243,238,231,.94); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  body.mbar-on .mbar { transform: none; }
  .mbar a { height: 50px; display: grid; place-items: center; border-radius: 10px; font-weight: 600; font-size: 15px; }
  .mbar__call { background: var(--ink); color: var(--cream); }
  .mbar__offer { background: var(--accent); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; scroll-behavior: auto !important; }
  .fab::before, .map__pin::before, .hero__scroll i::after { animation: none !important; opacity: 0; }
}
.anim-on .gallery:hover .curtain.is-in img, .anim-on .mini:hover .curtain.is-in img { transform: scale(1.03); }

/* ---------- round 2 responsive ---------- */
.hero__meta--mob { display: none; }
@media (max-width: 1180px) {
  .tcard--lead { grid-template-columns: 220px 1fr; }
}
@media (max-width: 1024px) {
  .phero--media .phero__in, .prose-grid, .contact__grid, .gbig, .qs__grid--faq { grid-template-columns: 1fr; }
  .pj-grid { grid-template-columns: repeat(2, 1fr); }
  .vids__row { grid-template-columns: 1fr 1fr; }
  .vids__row > :last-child { grid-column: 1 / -1; max-width: 340px; }
  .tcards { grid-template-columns: 1fr; }
  .calc { position: relative; top: 0; }
  .towns__group { grid-template-columns: 1fr; gap: 18px; }
  .seen { flex-wrap: wrap; }
  .seen__logos { flex-basis: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 22px 30px; }
}
@media (max-width: 767px) {
  .hero__meta--desk { display: none; }
  .hero__meta--mob { display: flex; position: static; margin-top: 14px; flex-wrap: wrap; gap: 10px; }
  .hero__meta--mob .hero__mchip { margin-top: 0; }
  .hero__copy { bottom: calc(var(--wm) * 1.12 + 24px); }
  .gallery__arrow { display: none; }
  .phero { padding-top: calc(var(--hdr-h) + 44px); }
  .phero__h1 { font-size: clamp(36px, 10vw, 48px); }
  .sstrip__list, .pj-grid, .vid-pair, .vids__row { grid-template-columns: 1fr; }
  .vids__row > :last-child { max-width: none; }
  .vids__row .video--portrait { max-width: 300px; }
  .tcard, .tcard--lead { grid-template-columns: 1fr; gap: 18px; }
  .tcard__img { max-width: 220px; }
  .mas { columns: 2; }
  .guide { grid-template-columns: 1fr; }
  .guide__cover { width: 150px; }
  .seen__logos img { height: 22px; }
  .seen--ftr .seen__logos img { height: 16px; }
  .map__label { font-size: 14px; left: 14px; }
  .review__thumb { width: 72px; }
  .contact__phone { font-size: clamp(48px, 14vw, 64px); }
  .gbig__num { font-size: 80px; }
}

/* .ph frames must not override positioned photos */
.team__tall.ph { position: absolute; }
.how__photo.ph, .calc.ph { position: sticky; }
.chip { white-space: nowrap; }
.person__img { align-self: start; width: 56px; height: 56px; }
.person--lead .person__img { width: 76px; height: 76px; }
@media (max-width: 1024px) { .how__photo.ph { position: relative; } }
@media (max-width: 767px) {
  .person__img { width: 48px; height: 48px; }
  .person--lead .person__img { width: 60px; height: 60px; }
}
.phero--media .phero__h1 { font-size: clamp(38px, 4.4vw, 68px); max-width: 15ch; }
@media (max-width: 767px) { .phero--media .phero__h1 { font-size: clamp(34px, 9.4vw, 44px); } }
