/* =====================================================================
   DWD Remodeling — site styles
   Brand: the logo's electric-blue roof, chrome silver and night navy.
   Restrained surfaces, tight radii; the motion layer (motion.js) carries
   the dynamic feel.
   ===================================================================== */

/* Self-hosted fonts (latin subsets from Google Fonts, SIL Open Font License) */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/instrument-sans-latin.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: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/unbounded-500-latin.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 {
  --ink: #0a1220;
  --ink-2: #0f1a2d;
  --ink-3: #172339;
  --blue: #1e78f0;
  --blue-2: #1561cf;
  --sky: #7db8ff;
  --paper: #f2f4f7;
  --white: #ffffff;
  --text: #0d1526;
  --muted: #5a6577;
  --line: #dfe4ec;
  --line-ink: rgba(255, 255, 255, .12);
  --on-ink: #e7ecf4;
  --on-ink-2: #9aa6b9;
  --gold: #f6b93b;
  --error: #d23c2c;

  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --wrap: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --section: clamp(88px, 11vw, 150px);
  --r: 10px;
  --r-sm: 6px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-2); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.06; }
h3 { font-family: var(--body); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin: 0; }
h4 { font-size: 1.0625rem; font-weight: 600; margin: 0; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.0625rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 56ch; }
.ink .lede, .hero .lede { color: var(--on-ink-2); }
.chrome { background: linear-gradient(180deg, #fff 0%, #d2d9e3 50%, #8e99a9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; border-radius: var(--r-sm); border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.btn:hover::after { transform: scaleY(1); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg.go { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary::after { background: var(--blue-2); }
.btn-primary:hover { color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark::after { background: var(--blue); }
.btn-dark:hover { color: #fff; }
.btn-line { border-color: var(--line); color: var(--text); background: transparent; }
.btn-line::after { background: var(--ink); }
.btn-line:hover { color: #fff; border-color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: transparent; }
.btn-ghost::after { background: #fff; }
.btn-ghost:hover { color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blue-2); }
.more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.ink .more { color: var(--sky); }

/* ---------- Header: transparent over the hero, solid once you scroll ---------- */
:root { --header-h: 88px; }
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff; transition: transform .55s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease); border-bottom: 1px solid transparent; }
.header::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(180deg, rgba(10, 18, 32, .75), rgba(10, 18, 32, 0)); transition: opacity .45s var(--ease); pointer-events: none; }
.header.is-solid { background: rgba(10, 18, 32, .9); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line-ink); }
.header.is-solid::before { opacity: 0; }
.header.is-hidden { transform: translateY(-101%); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .45s var(--ease); }
.header.is-solid .header-in { height: 70px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 104px; height: auto; transition: width .45s var(--ease); }
.header.is-solid .brand img { width: 84px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav > a, .nav-item > button { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; background: none; color: rgba(255, 255, 255, .86); font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; transition: color .25s; }
.nav > a::after, .nav-item > button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav > a:hover::after, .nav-item:hover > button::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav > a:hover, .nav-item > button:hover, .nav > a[aria-current="page"] { color: #fff; }
.nav-item { position: relative; }
.nav-item > button svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-item.is-open > button svg { transform: rotate(180deg); }
.mega { position: absolute; left: 50%; top: calc(100% + 18px); width: min(860px, 86vw); padding: 28px; border-radius: var(--r); background: var(--white); color: var(--text); box-shadow: 0 30px 70px -20px rgba(4, 10, 22, .55); display: grid; grid-template-columns: 1fr 1fr 240px; gap: 28px; opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h4 { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega h4 a { color: var(--text); text-decoration: none; }
.mega h4 a:hover { color: var(--blue-2); }
.mega h4 small { font-weight: 500; color: var(--muted); font-size: .8125rem; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mega li a { display: block; padding: 5px 0; color: var(--text); text-decoration: none; font-size: .9375rem; transition: color .2s, transform .3s var(--ease); }
.mega li a:hover { color: var(--blue-2); transform: translateX(4px); }
.mega-card { position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; min-height: 250px; text-decoration: none; }
.mega-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .8s var(--ease); }
.mega-card:hover img { transform: scale(1.05); }
.mega-card span, .mega-card strong { position: relative; }
.mega-card span { font-size: .8125rem; color: var(--sky); font-weight: 600; }
.mega-card strong { font-size: 1.125rem; line-height: 1.25; }
.mega-card:hover { color: #fff; }
.header-right { display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; line-height: 1.2; }
.header-phone small { display: block; font-size: .75rem; font-weight: 500; color: var(--on-ink-2); }
.header-phone:hover { color: var(--sky); }
.header-phone svg { width: 20px; height: 20px; color: var(--sky); }
.header .btn { min-height: 48px; padding: 0 20px; }
.header-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; opacity: 0; transition: opacity .4s; }
.header.is-solid .header-progress { opacity: 1; }
.header-progress i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line-ink); background: transparent; color: #fff; cursor: pointer; place-items: center; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 1180px) { .header-phone span { display: none; } }
@media (max-width: 1020px) { .nav { display: none; } .burger { display: grid; } .header-right { margin-left: auto; } }
@media (max-width: 560px) { .header .btn { display: none; } :root { --header-h: 72px; } .brand img { width: 84px; } .header.is-solid .brand img { width: 74px; } .header.is-solid .header-in { height: 64px; } }

/* ---------- First-visit logo intro ---------- */
.logo-intro { display: none; }
.intro-on .logo-intro { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--ink); }
.intro-logo { position: relative; width: min(340px, 64vw); overflow: hidden; }
.intro-logo img { display: block; width: 100%; height: auto; }
.intro-logo .shine { position: absolute; top: 0; bottom: 0; width: 40%; left: 0; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); mix-blend-mode: overlay; pointer-events: none; transform: translateX(-160%); }
.intro-on .intro-logo .roof { animation: intro-roof .6s cubic-bezier(.34, 1.56, .64, 1) .05s both; }
.intro-on .intro-logo .word { animation: intro-word .6s cubic-bezier(.16, 1, .3, 1) .2s both; }
.intro-on .intro-logo .shine { animation: intro-shine .6s cubic-bezier(.65, 0, .35, 1) .55s both; }
@keyframes intro-roof { from { opacity: 0; transform: translateY(-70px); } to { opacity: 1; transform: none; } }
@keyframes intro-word { from { clip-path: inset(0 0 100% 0); transform: translateY(18px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes intro-shine { from { transform: translateX(-160%); } to { transform: translateX(260%); } }

.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(4, 9, 18, .6); opacity: 0; transition: opacity .35s var(--ease); }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--ink); color: #fff; overflow-y: auto; padding: 20px var(--gutter) 40px; transform: translateX(100%); transition: transform .5s var(--ease); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer nav > a, .drawer summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line-ink); color: #fff; text-decoration: none; font-size: 1.125rem; font-weight: 500; cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 16px; height: 16px; }
.drawer details ul { list-style: none; margin: 0; padding: 8px 0 12px; display: grid; gap: 2px; }
.drawer details li a { display: block; padding: 7px 0; color: var(--on-ink-2); text-decoration: none; }
.drawer details li a:hover { color: #fff; }
.drawer .btn { width: 100%; margin-top: 22px; }

/* ---------- Hero: headline + tilted wall of moving project columns ---------- */
.hero { position: relative; display: flex; background: var(--ink); color: #fff; overflow: hidden; height: 100svh; min-height: 720px; max-height: 1080px; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 18, 32, .96) 0%, rgba(10, 18, 32, .72) 38%, rgba(10, 18, 32, 0) 62%); }
.tilt-stage { position: absolute; top: -30%; bottom: -30%; right: -12%; width: 74%; perspective: 1600px; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.tilt { height: 100%; transform: rotateX(18deg) rotateY(-22deg) rotateZ(-10deg); transform-style: preserve-3d; }
.hero-cols { height: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.col { position: relative; overflow: hidden; }
.col-track { display: grid; gap: 16px; padding-bottom: 16px; will-change: transform; }
.col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-sm); background: var(--ink-3); }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; max-width: 620px; padding-block: calc(var(--header-h) + 24px) 48px; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.hero h1 .sub { display: block; font-size: .52em; letter-spacing: -0.02em; margin-top: .45em; }
.hero-loc { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--on-ink-2); font-size: .9375rem; }
.hero-loc svg { width: 16px; height: 16px; color: var(--sky); }
.hero-copy > p.lede { margin: 0; max-width: 46ch; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 0; padding-top: 22px; border-top: 1px solid var(--line-ink); font-size: .9375rem; color: var(--on-ink); }
.hero-trust > * { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust > * + * { margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--line-ink); }
.hero-trust a { color: #fff; text-decoration: none; }
.hero-trust a:hover { color: var(--sky); }
.hero-trust .g { width: 20px; height: 20px; }
.hero-trust svg.ic { width: 18px; height: 18px; color: var(--sky); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }
@media (max-width: 1023px) {
  .hero { flex-direction: column; height: auto; min-height: 0; max-height: none; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 18, 32, 0) 78%, var(--ink) 100%); }
  .hero-inner { order: -1; }
  .hero-copy { padding-block: calc(var(--header-h) + 32px) 8px; }
  .tilt-stage { position: relative; top: auto; bottom: auto; right: auto; width: auto; height: 420px; margin: -24px -30% -40px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%); }
  .tilt { transform: rotateX(28deg) rotateZ(-12deg); }
  .hero-cols { gap: 10px; }
  .col-track { gap: 10px; padding-bottom: 10px; }
}
@media (max-width: 560px) { .tilt-stage { height: 340px; } .hero-trust > * + * { margin-left: 0; padding-left: 0; border-left: 0; } .hero-trust { flex-direction: column; align-items: flex-start; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.paper { background: var(--paper); }
.ink { background: var(--ink); color: var(--on-ink); }
.ink h2, .ink h3 { color: #fff; }
.ink a:not(.btn):not(.more) { color: var(--sky); }
.intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 72px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.intro p { margin: 0; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.about-media { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: end; }
.about-media > div { border-radius: var(--r); overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .a1 { aspect-ratio: 3 / 4; }
.about-media .a2 { aspect-ratio: 3 / 3.6; margin-bottom: 16%; }
.about h2 { margin-bottom: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0; border-top: 1px solid var(--line); }
.facts div { padding: 18px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.75rem, 2.8vw, 2.4rem); letter-spacing: -0.04em; line-height: 1; }
.facts span { color: var(--muted); font-size: .9375rem; }
.points { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.points li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: 10px; align-items: center; }
.points li::before { content: ""; width: 6px; height: 6px; background: var(--blue); flex: none; transform: rotate(45deg); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-media { order: -1; } }
@media (max-width: 480px) { .points { grid-template-columns: 1fr; } .facts strong { font-size: 1.6rem; } }

/* Services: expanding panels */
.split { display: flex; gap: 14px; min-height: 640px; }
.panel { position: relative; flex: 1; border-radius: var(--r); overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(26px, 3vw, 44px); transition: flex-grow .8s var(--ease); isolation: isolate; }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 18, 32, .1) 0%, rgba(10, 18, 32, .5) 45%, rgba(10, 18, 32, .95) 100%); }
.panel:hover > img, .panel:focus-within > img { transform: scale(1.06); }
.panel-num { position: absolute; top: clamp(24px, 2.6vw, 36px); left: clamp(26px, 3vw, 44px); font-size: .9375rem; color: var(--on-ink); }
.panel h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.5rem); letter-spacing: -0.03em; }
.panel h3 a { color: inherit; text-decoration: none; }
.panel > p { margin: 10px 0 0; color: var(--on-ink); max-width: 46ch; }
.panel-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; list-style: none; margin: 0; padding: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .5s var(--ease), margin .5s var(--ease); }
.panel-list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; font-size: .9688rem; transition: color .2s, padding .3s var(--ease); }
.panel-list a:hover { color: var(--sky); padding-left: 6px; }
.panel-list a svg { width: 14px; height: 14px; opacity: .6; }
.panel .btn { align-self: flex-start; margin-top: 22px; }
@media (min-width: 1024px) {
  .split:hover .panel { flex-grow: .7; }
  .split .panel:hover, .split .panel:focus-within { flex-grow: 1.4; }
  .panel:hover .panel-list, .panel:focus-within .panel-list { max-height: 440px; opacity: 1; margin-top: 18px; }
}
@media (max-width: 1023px) {
  .split { flex-direction: column; min-height: 0; }
  .panel { min-height: 0; padding-top: 220px; }
  .panel-list { max-height: none; opacity: 1; margin-top: 18px; }
}
@media (max-width: 520px) { .panel-list { grid-template-columns: 1fr; } }

/* Specialty */
/* Big remodel or a quick repair */
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.job-media { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; margin-bottom: 26px; background: var(--paper); }
.job-media img { width: 100%; height: 100%; object-fit: cover; }
.job h3 { font-size: clamp(1.45rem, 2.1vw, 1.8rem); margin: 0 0 10px; }
.job > p { color: var(--muted); margin: 0 0 22px; max-width: 46ch; }
.job-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 500; transition: color .25s, padding .35s var(--ease); }
.job-links a svg { width: 18px; height: 18px; flex: none; color: var(--blue); transition: transform .35s var(--ease); }
.job-links a:hover { color: var(--blue-2); padding-left: 10px; }
.job-links a:hover svg { transform: translateX(4px); }
@media (max-width: 800px) { .jobs { grid-template-columns: 1fr; } }
.job h3 a { color: inherit; text-decoration: none; }
.job h3 a:hover { color: var(--blue-2); }
/* Service area: towns */
.towns-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
.town { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.town h3 { font-size: clamp(1.35rem, 1.9vw, 1.65rem); margin: 0 0 10px; }
.town p { margin: 0; color: var(--muted); max-width: 40ch; }
@media (max-width: 900px) { .towns-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .towns-grid { grid-template-columns: 1fr; } }
/* Service pages: area note under the aside */
.aside-note { margin: 18px 4px 0; font-size: .9375rem; color: var(--muted); }
.aside-note a { color: var(--blue-2); font-weight: 600; }
/* Blog: related services */
.related { margin: 48px 0 8px; }
.related h2 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); margin-bottom: 16px; }

/* ---------- Before & after: board by board ---------- */
@media (min-width: 1024px) { .ba-section { min-height: 100vh; display: flex; align-items: center; padding-block: 48px; } .ba-section > .wrap { width: 100%; } }
.ba-pin { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.ba-text h2 { margin-bottom: 18px; }
.ba-projects { position: relative; margin-top: 40px; min-height: 210px; }
.ba-proj { position: absolute; inset: 0 0 auto 0; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ba-proj:not(.is-on) { opacity: 0; transform: translateY(14px); pointer-events: none; }
.ba-idx { display: block; color: var(--on-ink-2); font-size: .9375rem; margin-bottom: 10px; }
.ba-proj p { margin: 10px 0 0; color: var(--on-ink-2); max-width: 44ch; }
.ba-meter { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: .9375rem; color: var(--on-ink-2); }
.ba-meter i { position: relative; flex: 1; max-width: 220px; height: 2px; background: var(--line-ink); }
.ba-meter b { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
.ba-stage { position: relative; aspect-ratio: 4 / 4.3; max-height: calc(100vh - var(--header-h) - 80px); width: 100%; margin-inline: auto; }
.ba-frame { position: absolute; inset: 0; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--ink-3) center / cover no-repeat; isolation: isolate; } /* own layer: tags and caption stay with their photo */
.ba-frame + .ba-frame { opacity: 0; }
.ba-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.boards { position: absolute; inset: 0; display: flex; }
.boards span { position: relative; flex: 1; overflow: hidden; }
.motion .boards span { clip-path: inset(100% 0 0 0); }
.boards span + span { box-shadow: -1px 0 0 rgba(10, 18, 32, .35); }
.boards img { position: absolute; top: 0; height: 100%; width: calc(var(--n) * 100%); left: calc(var(--k) * -100%); max-width: none; object-fit: cover; }
.ba-tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: .8125rem; background: rgba(10, 18, 32, .72); color: #fff; z-index: 2; }
.ba-tag.b { left: 16px; }
.ba-tag.a { right: 16px; background: var(--blue); }
.ba-frame figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; color: #fff; font-weight: 600; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
@media (min-width: 1024px) { .ba-pin .ba-frame figcaption { display: none; } }
@media (max-width: 1023px) {
  .ba-pin { grid-template-columns: 1fr; }
  .ba-projects, .ba-meter { display: none; }
  /* With motion: one stage that stays on screen while the boards go in (sized to fit between header and dock) */
  .motion .ba-stage { aspect-ratio: 4 / 4.4; max-height: none; width: min(100%, calc((100svh - 210px) / 1.1)); }
  /* Without motion: both projects stacked, showing the finished work */
  html:not(.motion) .ba-stage { aspect-ratio: auto; max-height: none; display: grid; gap: 28px; }
  html:not(.motion) .ba-frame, html:not(.motion) .ba-frame + .ba-frame { position: relative; inset: auto; opacity: 1; aspect-ratio: 4 / 4.4; }
}
.ba-single .ba-stage { aspect-ratio: 4 / 4.4; max-height: none; display: block; }
.ba-single .ba-frame { position: absolute; inset: 0; aspect-ratio: auto; }

/* ---------- Our work: photo reel ---------- */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: 30px; }
.work-head > div:first-child { max-width: 640px; }
.work-head h2 { margin-bottom: 16px; }
.work-head p { margin: 0; }
.reel-ctrl { display: flex; align-items: center; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.round:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.round svg { width: 20px; height: 20px; }
.round:disabled { opacity: .35; cursor: default; background: var(--white); color: var(--text); border-color: var(--line); }
.tabs { display: flex; gap: 6px 28px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button { position: relative; padding: 12px 0 14px; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: .9688rem; color: var(--muted); transition: color .25s; }
.tabs button small { font-weight: 500; margin-left: 4px; opacity: .7; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.reel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; cursor: grab; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-right: var(--gutter); scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.reel::-webkit-scrollbar { display: none; }
.reel.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.reel.is-dragging .shot { pointer-events: none; }
.shot { flex: none; width: clamp(250px, 23vw, 340px); scroll-snap-align: start; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--text); }
.shot[hidden] { display: none; }
.shot .ph { display: block; aspect-ratio: 4 / 4.5; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); -webkit-user-drag: none; user-select: none; }
.shot:hover img { transform: scale(1.05); }
.shot .meta { display: grid; gap: 2px; margin-top: 14px; }
.shot .meta small { color: var(--blue-2); font-weight: 600; font-size: .8125rem; }
.shot .meta strong { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.reel-foot { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.reel-bar { position: relative; flex: 1; height: 2px; background: var(--line); }
.reel-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; background: var(--ink); transition: transform .2s linear, width .3s; }
.reel-foot .more { white-space: nowrap; }
@media (max-width: 700px) { .shot { width: 74vw; } .reel-ctrl { display: none; } .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; } .tabs button { white-space: nowrap; } }

/* Album rows (Our Work page) */
.album-row + .album-row { margin-top: clamp(64px, 8vw, 104px); }
.album-row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 24px; }
.album-row-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.album-row-head span { color: var(--muted); margin-left: 12px; font-size: .9375rem; }
.album-row .reel .shot { width: clamp(240px, 22vw, 320px); }

/* Album viewer */
.viewer { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: var(--ink); color: #fff; }
.viewer::backdrop { background: var(--ink); }
.viewer-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.viewer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px var(--gutter); border-bottom: 1px solid var(--line-ink); }
.viewer-top strong { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; }
.viewer-top span { color: var(--on-ink-2); margin-left: 14px; font-variant-numeric: tabular-nums; }
.viewer-stage { position: relative; overflow: hidden; display: grid; place-items: center; padding: 20px var(--gutter) 40px; }
.viewer-stage img { max-width: 100%; max-height: calc(100vh - 270px); width: auto; border-radius: var(--r-sm); }
.viewer-stage p { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0; text-align: center; color: var(--on-ink-2); font-size: .9375rem; }
.viewer-strip { display: flex; gap: 8px; overflow-x: auto; padding: 14px var(--gutter) 20px; scrollbar-width: none; border-top: 1px solid var(--line-ink); }
.viewer-strip::-webkit-scrollbar { display: none; }
.viewer-strip button { flex: none; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; opacity: .45; background: var(--ink-3); transition: opacity .3s, border-color .3s; }
.viewer-strip button.is-on { opacity: 1; border-color: var(--blue); }
.viewer-strip img { width: 100%; height: 100%; object-fit: cover; }
.vbtn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-ink); background: rgba(10, 18, 32, .5); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .3s, color .3s; }
.vbtn:hover { background: #fff; color: var(--ink); }
.vbtn svg { width: 20px; height: 20px; }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.viewer-nav.prev { left: var(--gutter); } .viewer-nav.next { right: var(--gutter); }
@media (max-width: 700px) { .viewer-nav { top: auto; bottom: 8px; transform: none; } .viewer-stage img { max-height: calc(100vh - 320px); } }

/* ---------- Process: a line drawn across ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 52px; }
.process-line { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line-ink); }
.process-line i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 1)); }
.pstep { position: relative; display: grid; gap: 12px; align-content: start; }
.pstep::before { content: ""; position: absolute; top: -50px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 2px solid var(--blue); }
.pstep small { color: var(--sky); font-weight: 600; font-size: .875rem; }
.pstep p { margin: 0; color: var(--on-ink-2); font-size: 1rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 36px; padding: 0 0 0 40px; }
  .process-line { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process-line i { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .pstep::before { top: 4px; left: -40px; }
}

/* ---------- Reviews: edge-to-edge marquee ---------- */
.reviews-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 4vw, 56px); }
.score { display: flex; align-items: center; gap: 18px; }
.score .num { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 5vw, 4.25rem); letter-spacing: -0.05em; line-height: 1; }
.score .stars svg { width: 18px; height: 18px; }
.score small { display: block; color: var(--muted); font-size: .9375rem; margin: 4px 0 6px; }
.marquee { display: grid; gap: 16px; overflow: hidden; width: 100%; }
.review-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(36px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.review-ask p { margin: 0; color: var(--muted); max-width: 58ch; }
.review-ask p strong { color: var(--text); font-weight: 600; }
.review-ask .g-badge { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.review-ask .g-badge svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .review-ask .btn { width: 100%; } }
.mrow { display: flex; gap: 16px; padding-right: 16px; width: max-content; will-change: transform; }
.review { flex: none; width: clamp(300px, 30vw, 440px); margin: 0; padding: 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: grid; gap: 18px; align-content: space-between; transition: border-color .3s; }
.review:hover { border-color: var(--blue); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 12px 0 0; font-size: 1.0625rem; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.review figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .875rem; color: #fff; background: var(--ink); flex: none; }
.review .g-ico { margin-left: auto; width: 22px; height: 22px; }

/* ---------- Area ---------- */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.area h2 { margin-bottom: 26px; }
.towns { margin: 0 0 28px; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--text); }
.towns span { color: var(--muted); }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lines li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lines li span { color: var(--muted); }
.lines a { color: var(--text); font-weight: 600; text-decoration: none; }
.lines a:hover { color: var(--blue-2); }
.map { position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; background: var(--ink-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.125rem; transition: color .25s; }
.faq summary:hover { color: var(--blue-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { overflow: hidden; }
.faq .answer p { margin: 0; padding: 0 48px 22px 0; color: var(--muted); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Estimate ---------- */
.estimate { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.estimate-info h2 { margin-bottom: 20px; }
.estimate-info .lines { margin-top: 34px; border-color: var(--line-ink); }
.estimate-info .lines li { border-color: var(--line-ink); flex-direction: column; gap: 2px; }
.estimate-info .lines span { color: var(--on-ink-2); font-size: .875rem; }
.ink .estimate-info .lines a, .estimate-info .lines strong { color: #fff; font-size: 1.125rem; font-weight: 600; }
.ink .estimate-info .lines a:hover { color: var(--sky); }
@media (max-width: 900px) { .estimate { grid-template-columns: 1fr; } }
.form { background: var(--white); color: var(--text); border-radius: var(--r); padding: clamp(24px, 3.4vw, 44px); }
.form h3, .ink .form h3 { color: var(--text); font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -0.03em; margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 24px; font-size: .9688rem; }
.ink .form a:not(.btn) { color: var(--blue-2); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .9063rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); font-size: 1rem; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586376' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(30, 120, 240, .14); }
.field .err { color: var(--error); font-size: .8125rem; font-weight: 600; margin: 0; }
.field .err:empty { display: none; }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.form .btn { width: 100%; margin-top: 22px; min-height: 58px; font-size: 1.0625rem; }
.consent { font-size: .8125rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.form-status { margin: 12px 0 0; font-weight: 600; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: calc(var(--header-h) + clamp(32px, 5vw, 72px)) 0 clamp(56px, 7vw, 100px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero.solo .page-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.page-hero .lede { margin: 20px 0 30px; color: var(--on-ink-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 26px; padding: 0; font-size: .875rem; color: var(--on-ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--on-ink); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.kind { margin: 0 0 14px; color: var(--sky); font-weight: 600; font-size: .9375rem; }
.house-wrap { position: relative; padding-top: 18px; }
.house-wrap::before { content: ""; position: absolute; left: -12px; right: -12px; top: 0; height: 36%; background: var(--blue); clip-path: polygon(50% 0%, 100% 88%, 100% 100%, 50% 14%, 0% 100%, 0% 88%); }
.house { position: relative; aspect-ratio: 1 / 1.02; clip-path: polygon(50% 0%, 100% 34%, 100% 100%, 0% 100%, 0% 34%); background: var(--ink-3); }
.house img { width: 100%; height: 100%; object-fit: cover; }
.house.blank { display: grid; place-items: center; background: linear-gradient(160deg, var(--ink-3), #0c1527); }
.win { width: 34%; aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.house.blank .win { margin-top: 18%; }
.win i { background: var(--blue); border-radius: 3px; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero .house-wrap { max-width: 380px; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .3s, transform .5s var(--ease); }
.card:hover { transform: translateY(-4px); border-color: var(--blue); color: var(--text); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, var(--ink-3), var(--ink)); display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .win { width: 60px; gap: 6px; }
.card-body { padding: 22px 22px 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.card-body p { margin: 0; color: var(--muted); font-size: .9688rem; }
.card-body .more { margin-top: 8px; }
.card .badge { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: var(--r-sm); background: var(--blue); color: #fff; font-size: .8125rem; font-weight: 600; z-index: 1; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.svc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-main h2 { margin-bottom: 18px; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.svc-main > * + h2 { margin-top: 64px; }
.included { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line); }
.included li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.included li::before { content: ""; width: 6px; height: 6px; background: var(--blue); flex: none; transform: rotate(45deg); }
@media (max-width: 600px) { .included { grid-template-columns: 1fr; } }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 22px; border-top: 1px solid var(--line); }
.why div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.why p { margin: 0; color: var(--muted); font-size: .9688rem; }
.why h3 { font-size: 1.0625rem; letter-spacing: 0; line-height: 1.4; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } }
.svc-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 31%); gap: 10px; overflow-x: auto; margin-top: 22px; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.svc-strip button { scroll-snap-align: start; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 3 / 4; cursor: zoom-in; background: var(--paper); }
.svc-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-strip button:hover img { transform: scale(1.05); }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
.aside-card { padding: 26px; border-radius: var(--r); background: var(--ink); color: #fff; display: grid; gap: 14px; }
.aside-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.375rem; letter-spacing: -0.02em; }
.aside-card p { margin: 0; color: var(--on-ink-2); font-size: .9688rem; }
.aside-card .btn { width: 100%; }
.aside-card .call { color: #fff; text-decoration: none; font-weight: 600; text-align: center; }
.aside-list { padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); }
.aside-list h4 { margin-bottom: 10px; }
.aside-list ul { list-style: none; margin: 0; padding: 0; display: grid; }
.aside-list a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .9375rem; }
.aside-list a svg { width: 14px; height: 14px; flex: none; opacity: .5; }
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover, .aside-list a[aria-current="page"] { color: var(--blue-2); }
@media (max-width: 1000px) { .svc { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }
.svc-main { min-width: 0; } /* the photo strip scrolls inside the column instead of widening the page */

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post-meta { font-size: .875rem; color: var(--muted); }
.article { max-width: 760px; margin-inline: auto; font-size: 1.125rem; line-height: 1.75; }
.article h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 48px 0 16px; }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: 8px; }
.article .cover { border-radius: var(--r); overflow: hidden; margin: 0 0 40px; aspect-ratio: 16 / 9; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cta { margin-top: 48px; padding: 30px; border-radius: var(--r); background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.article-cta p { margin: 0; font-size: 1.25rem; font-weight: 600; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 40px 0 12px; }
.legal ul { padding-left: 1.2em; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal-table { overflow-x: auto; margin: 8px 0 20px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--soft, #f4f6f9); font-weight: 600; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-more { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.next3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.next3 li { padding: 22px 22px 22px 0; display: grid; gap: 6px; }
.next3 li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.next3 p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .next3 { grid-template-columns: 1fr; } .next3 li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Footer ---------- */
.footer { background: #060c17; color: var(--on-ink-2); padding: clamp(64px, 8vw, 100px) 0 32px; font-size: .9375rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-ink); }
.footer img { width: 112px; margin-bottom: 18px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: .9688rem; }
.footer h4 a { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--on-ink); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer small { color: var(--on-ink-2); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line-ink); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer-word { display: flex; font-family: var(--display); font-weight: 500; font-size: calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 10); letter-spacing: -0.06em; line-height: .9; justify-content: space-between; margin: 48px 0 8px; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16); user-select: none; overflow: hidden; }
.footer-word span { display: inline-block; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-ink); font-size: .875rem; }
.footer-legal { margin-top: 14px; font-size: .8125rem; color: var(--on-ink-2); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer { padding-bottom: 110px; } }

/* ---------- Mobile action bar ---------- */
.dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90; display: none; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 8px; border-radius: 12px; background: rgba(10, 18, 32, .95); backdrop-filter: blur(14px); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5); transform: translateY(150%); transition: transform .5s var(--ease); }
.dock.is-shown { transform: none; }
.dock a { min-height: 50px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; border: 1px solid var(--line-ink); }
.dock a svg { width: 18px; height: 18px; }
.dock .main { background: var(--blue); border-color: var(--blue); }
@media (max-width: 760px) { .dock { display: grid; } }

/* ---------- Motion initial states (only while motion.js runs) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(34px); }
.motion [data-reveal-img] { clip-path: inset(0 0 100% 0); }
.motion [data-reveal-img] img { transform: scale(1.2); }
.motion [data-split] { visibility: hidden; }
/* Hero content waits for its entrance instead of showing, hiding and replaying */
.motion:not(.intro-on) :is([data-hero-title], .page-hero h1) { visibility: hidden; }
.motion:not(.intro-on) :is(.hero-cols .col, .hero-loc, .hero-copy > .lede, .hero-copy > .btn-row, .hero-trust),
.motion:not(.intro-on) .page-hero :is(.crumbs, .kind, .lede, .btn-row, .house-wrap) { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .boards span { clip-path: none !important; }
}
