/* Muzo Builders website. Direction: the dark room (a deep navy field, lit pictures), with liquid glass where the
   founder asked for it: the navigation bar and the panels that sit over photographs. Brand: navy, steel blue, bronze. */
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face { /* fallback tuned to Work Sans' width so the swap doesn't jump */
  font-family: "Work Sans Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 92%;
}

:root {
  /* the first design's flow (one deep field, lit pictures) lifted to a richer, brighter navy; the logo's blue is the accent */
  --ground: oklch(0.255 0.055 258);
  --ground-2: oklch(0.295 0.06 258);
  --ground-3: oklch(0.335 0.062 258);
  --ink: oklch(0.97 0.006 250);
  --ink-soft: oklch(0.87 0.018 252);
  --ink-dim: oklch(0.76 0.026 252);
  --line: oklch(1 0 0 / 0.18);
  --tint: oklch(1 0 0 / 0.08);
  --tint-2: oklch(1 0 0 / 0.14);
  --steel: #4fb0ec;
  --bronze: #0b6fb0;
  --bronze-hover: #118ad1;
  --bronze-text: #6cc1f2;
  --bronze-ink: #ffffff;
  --paper: oklch(0.965 0.006 250);
  --paper-ink: oklch(0.27 0.07 258);
  --white: oklch(0.985 0.004 250);
  --glass: oklch(0.24 0.05 258 / 0.5);
  --glass-edge: oklch(1 0 0 / 0.16);

  --font: "Work Sans", "Work Sans Fallback", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.5rem, 1.2rem + 6vw, 6.5rem);

  --margin: clamp(20px, 3.2vw, 48px);
  --gap: 24px;
  --section: clamp(96px, 14vw, 200px);
  --radius: 0;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: var(--step-body);
  line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); letter-spacing: -0.015em; line-height: 1.2; font-weight: 400; }
::selection { background: rgb(17 138 209 / 0.25); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -60px; border-radius: 2px; z-index: 100; background: var(--bronze); color: var(--bronze-ink); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.soft { color: var(--ink-soft); }
.small { font-size: var(--step-small); }
.measure { max-width: 62ch; }

/* ---------- the one solid light thing: the action ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  background: var(--bronze); color: var(--bronze-ink); font: 500 1rem/1 var(--font); text-decoration: none; border: 0;
  border-radius: 2px; cursor: pointer; transition: transform 180ms var(--ease), background 180ms var(--ease);
}
.btn:hover { background: var(--bronze-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); transition: text-decoration-color 160ms; }
.link:hover { text-decoration-color: var(--bronze); }
.btn-ghost {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 2px; color: var(--ink);
  text-decoration: none; background: oklch(1 0 0 / 0.06); transition: background 160ms;
}
.btn-ghost:hover { background: var(--tint-2); }

/* ---------- liquid glass (founder's direction): nav and panels over photographs ---------- */
.glass {
  background: var(--glass);
  /* taste-skill-ignore: liquid glass and its edge are the founder's stated direction */
  -webkit-backdrop-filter: blur(22px) saturate(150%); /* taste-skill-ignore */
  backdrop-filter: blur(22px) saturate(150%); /* taste-skill-ignore */
  box-shadow: inset 0 0 0 1px var(--glass-edge); /* taste-skill-ignore */
}

/* ---------- header: a full-width rectangular bar, as on the current site. Clear with the white logo over the dark
   top of each page; frosted white with the full-colour logo once the page scrolls under it. ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; height: 88px; display: flex; align-items: center; gap: 28px;
  padding: 0 var(--margin); border-bottom: 1px solid transparent; transition: background 300ms var(--ease), border-color 300ms var(--ease); } /* taste-skill-ignore: the bar edge, as on the current site */
.site-head.solid, .site-head.open { background: oklch(1 0 0 / 0.86); border-bottom-color: oklch(0.3 0.06 258 / 0.1);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%); } /* taste-skill-ignore: founder's frosted bar */
.site-head .mark { display: flex; align-items: center; flex: none; }
.site-head .mark img { height: 54px; width: auto; }
.site-head .mark .on-dark { filter: brightness(0) invert(1); }
.site-head .mark .on-light { display: none; }
.site-head.solid .mark .on-dark, .site-head.open .mark .on-dark { display: none; }
.site-head.solid .mark .on-light, .site-head.open .mark .on-light { display: block; }
.site-head nav { display: flex; gap: 30px; margin-left: auto; font-size: 1.0625rem; font-weight: 500; }
.site-head nav a, .site-head .tel { text-decoration: none; color: var(--white); transition: color 160ms; }
.site-head nav a { position: relative; padding: 6px 0; }
.site-head nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease); }
.site-head nav a:hover::after, .site-head nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-head .tel { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 0.97rem; }
.site-head.solid nav a, .site-head.solid .tel, .site-head.open nav a, .site-head.open .tel, .site-head.solid .menu-btn, .site-head.open .menu-btn { color: oklch(0.27 0.07 258); }
.site-head .btn { min-height: 46px; padding: 0 22px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--white); font: 500 1.0625rem var(--font); padding: 10px 4px; cursor: pointer; }
@media (max-width: 1080px) {
  .site-head { height: 76px; }
  .site-head .mark img { height: 46px; }
  .site-head nav, .site-head .tel, .site-head .btn { display: none; }
  .menu-btn { display: block; }
  .site-head.open { height: auto; flex-wrap: wrap; padding-top: 14px; padding-bottom: 22px; }
  .site-head.open nav { display: flex; flex-direction: column; gap: 2px; width: 100%; order: 3; font-size: 1.2rem; margin: 14px 0 0; }
  .site-head.open nav a { padding: 12px 0; }
  .site-head.open .tel { display: block; order: 4; width: 100%; padding: 10px 0; }
  .site-head.open .btn { display: inline-flex; order: 5; width: 100%; margin-top: 8px; }
}

/* ---------- hero: the counter object over Raleigh at night ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center;
  padding: 120px var(--margin) 56px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62) saturate(0.95); position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.6s ease; transform: scale(1.06); }
.hero-bg img.on { opacity: 1; animation: drift 24s ease-in-out infinite alternate; }
.hero-bg img.tall { object-position: 50% 38%; }
@keyframes drift { to { transform: scale(1.0) translate3d(-1.5%, -1%, 0); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(oklch(0.2 0.032 258 / 0.38), oklch(0.2 0.032 258 / 0.18) 35%, oklch(0.2 0.032 258 / 0.5)); } /* keeps the title and menu readable over daylight photos */
.hero-object { width: min(24vw, 30svh, 340px); aspect-ratio: 4 / 5; overflow: hidden; margin: 0 auto 30px; }
.hero-object img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.03); }
.wordmark { display: block; font-size: clamp(2.75rem, 1.2rem + 5vw, 6.25rem); font-weight: 500; letter-spacing: -0.035em; line-height: 0.95; color: var(--ink); white-space: nowrap; }
.hero .lead { margin: 18px auto 0; max-width: 30ch; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }
.hero-row { display: inline-flex; align-items: center; gap: 40px; margin-top: 30px; padding: 10px 10px 10px 30px; border-radius: 2px; font-size: 0.97rem; }
.hero-row .spec { color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 760px) {
  .hero { padding-top: 104px; }
  .hero-object { width: 70vw; margin-bottom: 28px; }
  .wordmark { font-size: 12.5vw; }
  .hero .lead { font-size: 6vw; }
  .hero-row { flex-direction: column; gap: 14px; padding: 18px; width: 100%; }
  .hero-row .btn { width: 100%; order: 2; }
  .hero-row .spec:last-child { order: 3; }
}

/* ---------- intro: the promise over Raleigh, faded into the navy ---------- */
.stair { position: relative; isolation: isolate; min-height: 78svh; display: grid; place-content: center; text-align: center; gap: 40px; padding-block: var(--section); }
.stair .pics { position: absolute; inset: 0; z-index: -1; }
.stair .pics img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: brightness(0.34) saturate(0.85);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 58%, transparent 90%); mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 58%, transparent 90%); }
.stair .statement, .stair .note { text-shadow: 0 1px 18px oklch(0.2 0.04 258 / 0.8); }
.stair .statement { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.75rem); font-weight: 400; line-height: 1.18; letter-spacing: -0.02em; }
.stair .statement span { display: block; }
.stair .statement span:nth-child(5) { color: var(--bronze-text); }
.stair .note { color: var(--ink-soft); font-size: 1rem; max-width: 52ch; margin: 0 auto; }
@media (max-width: 760px) { .stair { min-height: 0; } .stair .statement { font-size: 1.45rem; } }

/* ---------- showcase: the picture in full, the list beneath it ---------- */
.closeup { background: var(--ground); }
.closeup > img { display: block; width: 100%; height: clamp(340px, 64svh, 760px); object-fit: cover; object-position: 50% 40%; }
.closeup .built { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 24px var(--gap); align-items: start;
  padding: clamp(48px, 6vw, 88px) var(--margin); }
.closeup .built h2 { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; }
.closeup .built ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--gap); font-size: 1.125rem; line-height: 1.35; }
.closeup .built li { break-inside: avoid; padding: 0 0 14px; }
@media (max-width: 900px) {
  .closeup .built { grid-template-columns: 1fr; }
  .closeup .built ul { columns: 1; }
  .closeup .built .btn { justify-self: start; }
}

/* ---------- how it works: pictures down a diagonal ---------- */
.diag { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); align-items: start; padding-block: var(--section) clamp(80px, 9vw, 140px); }
.diag > .grid { grid-column: 1 / -1; display: block; }
.diag h2 { margin-bottom: 48px; }
.diag .stage { display: block; }
.diag figure { margin: 0; }
.diag figure img, .diag .portal { width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent); mask-image: linear-gradient(to bottom, #000 58%, transparent); }
.diag figcaption { display: none; }
.diag .txt { margin-top: -12px; position: relative; }
.diag .txt p { max-width: 38ch; }
.diag .txt b { font-weight: 500; color: var(--ink); }
@media (max-width: 860px) {
  .diag { grid-template-columns: 1fr; gap: 48px; }
  .diag h2 { margin-bottom: 0; }
}

/* the client portal, drawn as the real product (data-ui keeps its own borders) */
.portal { border: 1px solid oklch(0.88 0.012 255); /* taste-skill-ignore: data-ui */ background: oklch(1 0 0); color: oklch(0.24 0.035 258); padding: 22px; font-size: 14px; line-height: 1.4; overflow: hidden; border-radius: 14px; }
.portal .bar { height: 8px; border-radius: 9px; background: oklch(0.92 0.01 255); overflow: hidden; margin: 8px 0 14px; }
.portal .bar span { display: block; height: 100%; background: oklch(0.465 0.13 256); }
.portal .row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.portal .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: oklch(0.88 0.01 255); }
.portal .done { background: oklch(0.6 0.13 150); } .portal .now { background: oklch(0.465 0.13 256); }
.portal .post { margin-top: 12px; border: 1px solid oklch(0.9 0.01 255); border-radius: 10px; padding: 10px 12px; } /* taste-skill-ignore: inside the data-ui portal fragment */
.portal small { color: oklch(0.5 0.03 258); }

/* ---------- planner (the live thing) ---------- */
.planner { padding-block: clamp(80px, 9vw, 140px); background: var(--ground-2); }
.planner .head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: 48px; }
.planner .head h2 { grid-column: 1 / 7; }
.planner .head p { grid-column: 8 / 13; color: var(--ink-soft); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.choices button { min-height: 46px; padding: 0 20px; border-radius: 2px; border: 0; background: var(--tint); color: var(--ink-soft);
  font: 400 1rem var(--font); cursor: pointer; transition: background 160ms, color 160ms, transform 160ms; }
.choices button:hover { background: var(--tint-2); color: var(--ink); }
.choices button[aria-pressed="true"] { background: var(--bronze); color: var(--white); }
.plan { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.plan .total { grid-column: 1 / 5; }
.plan .total strong { display: block; font-size: var(--step-display); font-weight: 300; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.plan .total p { margin-top: 14px; color: var(--ink-soft); max-width: 34ch; }
.plan .phases { grid-column: 5 / 10; list-style: none; margin: 0; padding: 0; }
.plan .phases li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 9px 0; align-items: center; }
.plan .phases li .meter { grid-column: 1 / -1; height: 6px; background: var(--tint-2); border-radius: 6px; overflow: hidden; }
.plan .phases li .meter span { display: block; height: 100%; background: var(--steel); border-radius: 6px; transform-origin: left; transition: transform 600ms var(--ease); }
.plan .phases li .days { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.plan .pay { grid-column: 10 / 13; }
.plan .pay h3 { margin-bottom: 14px; }
.plan .pay ol { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.plan .pay li { margin-bottom: 8px; }
.plan .pay .btn { margin-top: 22px; }
@media (max-width: 980px) {
  .planner .head, .plan { grid-template-columns: 1fr; }
  .planner .head h2, .planner .head p, .plan .total, .plan .phases, .plan .pay { grid-column: 1; }
  .planner .head p { margin-top: 18px; }
}

/* ---------- services: one-size name columns ---------- */
.names { padding-block: var(--section); }
.names h2 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.75rem); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 72px; }
.names .cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.names .col { grid-column: span 2; }
.names .col h3 { font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; margin-bottom: 18px; }
.names .col ul { list-style: none; margin: 0; padding: 0; }
.names .col li { color: var(--ink-dim); line-height: 1.3; padding: 4px 0; cursor: default; transition: color 160ms; }
.names .col li:hover, .names .col li:focus { color: var(--ink); outline: none; }
.names .desc { grid-column: 10 / 13; grid-row: 1; color: var(--ink); min-height: 4.8em; }
.names .col .sum { display: none; }
@media (max-width: 1100px) {
  .names .col { grid-column: span 6; margin-bottom: 40px; }
  .names .desc { display: none; }
  .names .col .sum { display: block; color: var(--ink-soft); margin-top: 12px; }
  .names .col li { font-size: 1.125rem; line-height: 1.4; color: var(--ink-soft); }
}
@media (max-width: 560px) { .names .col { grid-column: 1 / -1; } }

/* ---------- about: portrait as drop cap ---------- */
.dropcap { padding-block: 40px 120px; }
.dropcap .facts { grid-column: 1 / 3; font-size: var(--step-small); color: var(--ink-soft); display: grid; gap: 14px; align-content: start; }
.dropcap .facts b { display: block; color: var(--ink); font-weight: 500; }
.dropcap .bio { grid-column: 3 / 13; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem); line-height: 1.22; font-weight: 300; letter-spacing: -0.015em; }
.dropcap .bio p { color: var(--ink-soft); }
.dropcap .bio p + p { margin-top: 1.2em; }
.dropcap .bio b { color: var(--ink); font-weight: 400; }
.dropcap .bio img { float: left; width: 3.6em; height: 3.6em; object-fit: cover; margin: 0.18em 0.5em 0 0; }
@media (max-width: 860px) {
  .dropcap .facts, .dropcap .bio { grid-column: 1 / -1; }
  .dropcap .facts { grid-template-columns: repeat(3, 1fr); order: 2; margin-top: 32px; }
  .dropcap .bio img { width: 4.6em; height: 4.6em; }
}

/* ---------- proof: credentials as one sentence ---------- */
.sentence { padding-block: 120px; }
@media (max-width: 760px) { .sentence { padding-block: 64px; } .dropcap { padding-bottom: 64px; } }
.sentence p { font-size: clamp(1.25rem, 1rem + 1vw, 2rem); line-height: 1.25; font-weight: 300; letter-spacing: -0.015em; }
.sentence .lead-in { color: var(--ink); font-weight: 400; }
.sentence .item { color: var(--ink-dim); transition: color 400ms; }
.sentence .item.lit { color: var(--bronze-text); }

/* ---------- land development ---------- */
.land { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding-block: var(--section); }
.land figure { grid-column: 1 / 8; margin: 0; }
.land figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.land .txt { grid-column: 9 / 13; }
.land .txt p { margin-top: 20px; color: var(--ink-soft); }
.land .txt .link { display: inline-block; margin-top: 26px; }
@media (max-width: 860px) { .land figure, .land .txt { grid-column: 1 / -1; } .land .txt { margin-top: 28px; } }

/* ---------- faq: questions beside a tall photograph ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-bottom: var(--section); background: var(--ground-2); }
.faq .qcol { grid-column: 1 / 6; padding-top: var(--section); padding-right: 0; }
@media (max-width: 860px) { .faq .qcol { padding-right: var(--margin); } }
.faq .qcol h2 { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); }
.faq .facts { list-style: none; margin: 28px 0 36px; padding: 0; font-size: 1.125rem; }
.faq .facts li { padding: 3px 0; }
.faq details { padding: 14px 0; }
.faq summary { list-style: none; cursor: pointer; font-size: 1.25rem; display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; flex: none; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translateY(-3px); transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details p { margin-top: 10px; color: var(--ink-soft); font-size: 1.0625rem; }
.faq .actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 36px; }
.faq .pics { grid-column: 7 / 13; position: relative; }
.faq .pics .tall { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq .pics .trusses { object-position: 86% 50%; }
.faq .pics .square { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 16px; }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq .pics { grid-column: 1; grid-row: 1; }
  .faq .pics .tall { aspect-ratio: 4 / 5; }
  .faq .qcol { grid-column: 1; padding-top: 72px; }
  .faq .actions .btn { width: 100%; }
}

/* ---------- contact: the email as display type ---------- */
.mailband { min-height: 70svh; background: var(--paper); color: var(--paper-ink); display: grid; grid-template-rows: auto 1fr auto; padding: 56px var(--margin) 40px; }
.mailband p.top { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.375rem); max-width: 30ch; }
.mailband a.mail { align-self: end; font-size: clamp(2.4rem, 7.6vw, 9rem); font-weight: 300; letter-spacing: -0.045em; line-height: 0.95; text-decoration: none;
  color: var(--paper-ink); margin-bottom: 9vh; overflow-wrap: anywhere; transition: color 200ms; }
.mailband a.mail:hover { color: var(--bronze); }
.mailband .corners { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.95rem; }
.mailband .corners a { color: inherit; }
@media (max-width: 640px) { .mailband a.mail { font-size: 9.4vw; } .mailband a.mail .at { display: block; } }

/* ---------- footer: the name across the last photograph ---------- */
.foot { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 32px var(--margin) 40px; overflow: hidden; isolation: isolate; }
.foot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.66); }
.foot .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot nav { display: grid; gap: 6px; }
.foot nav a, .foot address a { color: var(--ink); text-decoration: none; }
.foot nav a:hover, .foot address a:hover { text-decoration: underline; }
.foot address { font-style: normal; text-align: right; display: grid; gap: 6px; }
.foot .name { align-self: end; font-size: clamp(3.4rem, 14.2vw, 16rem); font-weight: 300; letter-spacing: -0.05em; line-height: 0.82; margin: 0 0 22px -0.04em; color: var(--white); white-space: nowrap; }
.foot .legal { font-size: var(--step-small); color: var(--ink-soft); display: grid; gap: 6px; }
.foot .legal a { color: var(--ink-soft); }
@media (max-width: 640px) { .foot { min-height: 88svh; } .foot address { text-align: left; } .foot .name { font-size: 15.4vw; } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; min-height: 72svh; display: grid; align-content: end; padding: 140px var(--margin) 64px; overflow: hidden; isolation: isolate; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.62); }
.page-hero h1 { font-size: var(--step-display); max-width: 14ch; }
.page-hero p { margin-top: 28px; font-size: var(--step-lead); color: var(--ink-soft); max-width: 40ch; line-height: 1.35; }
.band { padding-block: clamp(72px, 8vw, 128px); }
.band.alt { background: var(--ground-2); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; }
.split > .l { grid-column: 1 / 6; }
.split > .r { grid-column: 7 / 13; }
.split h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
.split .r p + p { margin-top: 1em; }
.split .r ul { margin: 18px 0 0; padding-left: 1.1em; color: var(--ink-soft); }
.split .r li { margin-bottom: 6px; }
.split figure { margin: 0; }
.split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split > .l, .split > .r { grid-column: 1 / -1; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); }
.steps li h3 { font-size: 1.25rem; }
.steps li p { color: var(--ink-soft); }
@media (max-width: 700px) { .steps li { grid-template-columns: 1fr; gap: 8px; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); margin: 2em 0 0.6em; }
.prose h3 { margin: 1.6em 0 0.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--ink); }

/* ---------- intake ---------- */
.intake { min-height: 100svh; position: relative; padding: 130px var(--margin) 80px; isolation: isolate; }
.intake > img.backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.52) saturate(0.9); }
.intake .shell { max-width: 880px; margin: 0 auto; border-radius: 2px; padding: clamp(24px, 4vw, 52px); }
.intake h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.75rem); }
.intake .sub { margin-top: 18px; color: var(--ink-soft); max-width: 52ch; }
.progress { display: flex; gap: 8px; margin: 34px 0 30px; }
.progress span { height: 4px; flex: 1; border-radius: 4px; background: var(--tint-2); transition: background 300ms; }
.progress span.on { background: var(--bronze); }
.step-title { font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.015em; margin-bottom: 20px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; }
.types label { position: relative; display: block; cursor: pointer; }
.types input { position: absolute; opacity: 0; inset: 0; }
.types span { display: block; padding: 16px 18px; border-radius: 2px; background: var(--tint); color: var(--ink-soft); transition: background 160ms, color 160ms; min-height: 78px; }
.types span b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.types label:hover span { background: var(--tint-2); }
.types input:checked + span { background: var(--bronze); color: oklch(0.94 0.02 245); }
.types input:checked + span b { color: var(--white); }
.types input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 1rem; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 2px; border: 1px solid var(--line);
  background: oklch(0.2 0.045 258 / 0.6); color: var(--ink); font: 400 1.0625rem var(--font); transition: border-color 160ms, background 160ms; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); background: oklch(0.2 0.045 258 / 0.85); }
.field .hint { margin-top: 6px; font-size: var(--step-small); color: var(--ink-dim); }
.field .err { margin-top: 6px; font-size: var(--step-small); color: oklch(0.78 0.14 30); }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 1rem; }
.check span { max-width: 68ch; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--bronze); flex: none; }
.drop { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 18px; border-radius: 2px; border: 1px dashed var(--line); }
.drop.over { border-color: var(--steel); background: var(--tint); }
.drop .thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.drop .thumbs figure { margin: 0; position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; }
.drop .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.drop .thumbs button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: oklch(0 0 0 / 0.6); color: white; cursor: pointer; }
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 34px; }
.done { text-align: left; scroll-margin-top: 120px; }
.intake form, .intake .shell { scroll-margin-top: 110px; }
.done h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.done p { margin-top: 16px; color: var(--ink-soft); max-width: 52ch; }
.side-facts { max-width: 880px; margin: 26px auto 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } .nav-row .btn { flex: 1; } }

/* ---------- motion: entrances (content is visible without script) ---------- */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; transition: none; }
  .hero-bg img.on { animation: none; }
  .plan .phases li .meter span { transition: none; }
}

/* what happens after the intake */
.next { padding-block: clamp(72px, 8vw, 128px); }
.next h2 { margin-bottom: 48px; }
.next .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.next figure { margin: 0; }
.next figure img, .next figure .portal { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.next h3 { margin-top: 20px; }
.next p { margin-top: 8px; color: var(--ink-soft); max-width: 40ch; }
@media (max-width: 860px) { .next .row { grid-template-columns: 1fr; gap: 48px; } }

/* things that sit on a photograph keep light type */
.hero, .page-hero, .foot, .intake > .side-facts {
  --ink: oklch(0.97 0.005 250); --ink-soft: oklch(0.9 0.012 250); --ink-dim: oklch(0.82 0.014 250); --line: oklch(1 0 0 / 0.35);
  --glass: oklch(0.2 0.032 258 / 0.42); --glass-edge: oklch(1 0 0 / 0.16); color: var(--ink);
}
.intake > .side-facts a { color: var(--ink); }

/* ---------- photo blending: every picture melts into the navy, no hard boxes ---------- */
.hero::after, .page-hero::after, .intake::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, oklch(0.255 0.055 258 / 0), var(--ground)); }
.foot::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 32%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--ground-2), oklch(0.295 0.06 258 / 0)); }
main figure img { -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent), linear-gradient(to bottom, transparent, #000 16%, #000 76%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent), linear-gradient(to bottom, transparent, #000 16%, #000 76%, transparent); mask-composite: intersect; }
.closeup > img {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 66%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 66%, transparent); }
.closeup .built { margin-top: -8svh; position: relative; }
.faq .pics img {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30%), linear-gradient(to bottom, transparent, #000 12%, #000 78%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 30%), linear-gradient(to bottom, transparent, #000 12%, #000 78%, transparent);
  mask-composite: intersect; }
@media (max-width: 860px) {
  .faq .pics img { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 70%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 70%, transparent); }
}
