/* GloryBuild — site styles
   Layout concept: architectural drawing set. Charcoal + brushed brass from the logo,
   cool "render white" paper, dimension-line labels in a technical mono.
*/
:root {
  --ink: #17181b;          /* charcoal: header, dark bands, primary text on light */
  --ink-2: #222327;
  --paper: #f5f5f2;        /* cool render white */
  --stone: #e8e6e1;        /* concrete */
  --line: #d3d0c8;
  --text: #1b1c1f;
  --muted: #5a5c60;
  --on-ink: #eceae5;
  --on-ink-muted: #a9a8a3;
  --ink-line: rgba(255, 255, 255, .14);
  --brass: #b08b45;        /* logo gold: fills */
  --brass-ink: #7a5d26;    /* gold for text on light (AA) */
  --brass-hi: #d7b774;     /* gold for text on dark */
  --ok: #2f6b45;
  --err: #a3322a;

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --sec: clamp(64px, 9vw, 120px);
  --radius: 2px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brass); color: var(--ink); padding: 10px 14px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

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

/* ---------- Type ---------- */
.h1, .h2, .h3, .hero__title, .cta-band h2 {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 600; letter-spacing: -0.02em; line-height: 1.02;
}
.h1 { font-size: clamp(40px, 6.4vw, 84px); }
.h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.05; margin-bottom: 20px; }
.h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.15; font-stretch: 105%; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.narrow { max-width: 56ch; }
p + p { margin-top: 1em; }

/* Dimension-line eyebrow: |—— LABEL */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink);
}
.eyebrow::before {
  content: ""; width: 34px; height: 9px; flex: none;
  border-left: 1px solid currentColor; border-right: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}
.section--ink .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--brass-hi); }

.dimline {
  display: flex; align-items: center; gap: 10px; color: var(--brass-ink);
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; margin-bottom: 18px;
}
.dimline::before, .dimline::after {
  content: ""; flex: 1; height: 9px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}
.dimline::before { border-left: 1px solid currentColor; }
.dimline::after { border-right: 1px solid currentColor; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow::after { content: "→"; transition: transform .25s; }
a:hover > .link-arrow::after, .link-arrow:hover::after { transform: translateX(4px); }

.fineprint { margin-top: 24px; font-size: 13px; color: var(--muted); max-width: 80ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 15px/1.2 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-hi); }
.btn--dark { background: var(--ink); color: var(--on-ink); }
.btn--dark:hover { background: var(--ink-2); color: var(--brass-hi); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(0,0,0,.15); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-ink);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s, box-shadow .35s;
}
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.has-hero .site-header.is-solid, .has-hero .site-header.is-open { background: var(--ink); box-shadow: 0 1px 0 var(--ink-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand__word { font: 600 19px/1 var(--f-display); font-stretch: 118%; letter-spacing: .06em; text-transform: uppercase; }
.brand__word b { font-weight: 600; color: var(--brass-hi); }

.site-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav a { text-decoration: none; }
.site-nav > ul > li > a:not(.btn) {
  display: block; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--on-ink);
  border-bottom: 1px solid transparent;
}
.site-nav > ul > li > a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--brass-hi); }
.site-nav__cta { margin-left: 10px; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; padding: 10px 0;
  background: var(--ink); border: 1px solid var(--ink-line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a, .sub .soon { display: block; padding: 9px 20px; font-size: 14px; color: var(--on-ink); }
.sub a:hover { color: var(--brass-hi); background: var(--ink-2); }
.sub__indent a { padding-left: 34px; color: var(--on-ink-muted); font-family: var(--f-mono); font-size: 13px; }
.soon { color: var(--on-ink-muted) !important; }
.soon small { display: block; font: 500 10px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-hi); }

.menu-btn { display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--ink-line); border-radius: var(--radius); cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 20px; height: 1.5px; background: var(--on-ink); margin: auto; position: relative; transition: .25s; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; } .menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .site-nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--ink);
    overflow-y: auto; padding: 16px var(--gutter) 40px; display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li > a:not(.btn) { font: 600 24px/1.2 var(--f-display); font-stretch: 110%; padding: 16px 0; border-bottom: 1px solid var(--ink-line); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 4px 0 12px; min-width: 0; }
  .sub a, .sub .soon { padding-left: 0; }
  .sub__indent a { padding-left: 16px; }
  .site-nav__cta { margin: 24px 0 0; }
  .site-nav__cta .btn { width: 100%; min-height: 54px; font-size: 16px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (video, shown uncropped so its own captions stay readable) ---------- */
.hero { background: var(--ink); color: #fff; }
.hero__media { position: relative; aspect-ratio: 16 / 9; max-height: 84svh; width: 100%; overflow: hidden; background: #000; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,12,.6) 0%, rgba(10,10,12,0) 20%, rgba(10,10,12,0) 78%, var(--ink) 100%); }
.hero__band { padding-block: clamp(8px, 2vw, 24px) clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero__eyebrow { font: 500 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-hi); margin-bottom: 18px; }
.hero__title { font-size: clamp(46px, 8vw, 116px); line-height: .95; }
.hero__lead { max-width: 46ch; font-size: clamp(17px, 1.5vw, 19px); color: var(--on-ink-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__pause {
  position: absolute; right: var(--gutter); bottom: 24%; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.3); border-radius: 50%; cursor: pointer;
}
.hero__pause-icon { display: block; width: 10px; height: 12px; margin: auto; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero__pause[aria-pressed="true"] .hero__pause-icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; margin-left: 16px; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
  .hero__shade { background: linear-gradient(180deg, rgba(10,10,12,0) 70%, var(--ink) 100%); }
  .hero__pause { bottom: 12px; width: 38px; height: 38px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink .lead, .section--ink p { color: var(--on-ink-muted); }
.section--ink .h2, .section--ink .h3, .section--ink h3 { color: var(--on-ink); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head .h2 { margin-bottom: 0; max-width: 20ch; }
.section-head .link-arrow { margin-top: 0; }

/* Intro + values */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.intro__copy p:not(.eyebrow) { max-width: 54ch; }
.intro__copy .lead { margin-bottom: 1em; }
.values { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.values li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.values li:nth-child(odd) { border-right: 1px solid var(--line); }
.values li:nth-child(even) { padding-left: 24px; }
.values h3 { font: 600 19px/1.2 var(--f-display); font-stretch: 108%; margin-bottom: 8px; }
.values p { font-size: 15px; color: var(--muted); }
.values__warranty { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; border-right: 0 !important; padding-left: 0 !important; }
.values__num { font: 600 64px/1 var(--f-display); font-stretch: 125%; color: var(--brass-ink); }
.values__warranty span:last-child { font: 500 13px/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; max-width: 22ch; }
.values--row { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.values--row li { padding: 28px 24px !important; border-right: 1px solid var(--line); }
.values--row li:last-child { border-right: 0; }

/* Spec list (squares / beds / baths / cars) */
.specs { display: flex; flex-wrap: wrap; margin: 14px 0 16px; border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.specs > div { padding: 8px 14px; border-right: 1px solid var(--line); }
.specs > div:last-child { border-right: 0; }
.specs dt { font: 500 10px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 3px 0 0; font: 500 16px/1.2 var(--f-mono); font-variant-numeric: tabular-nums; }
.specs dd span { color: var(--muted); font-size: 12px; }

/* Design cards */
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.design-card { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, transform .3s; min-width: 0; }
.design-card:hover { border-color: var(--brass); transform: translateY(-3px); }
.design-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); position: relative; max-width: 100%; }
.design-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.design-card:hover .design-card__media img { transform: scale(1.04); }
.design-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.design-card__body h3 { font: 600 24px/1.1 var(--f-display); font-stretch: 112%; }
.design-card__body p { font-size: 15px; color: var(--muted); }
.design-card__body .link-arrow { margin-top: auto; padding-top: 18px; border: 0; align-self: flex-start; }

/* Blueprint placeholder (designs without images yet) */
.design-card__media--plan, .cat-card__media--plan, .empty-plan .plan-placeholder {
  background-color: #1d2a33;
  background-image:
    linear-gradient(rgba(215,183,116,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,183,116,.12) 1px, transparent 1px),
    linear-gradient(rgba(215,183,116,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,183,116,.06) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
  display: grid; place-items: center;
}
.plan-placeholder { font: 600 clamp(64px, 8vw, 110px)/1 var(--f-display); font-stretch: 125%; color: var(--brass-hi); display: flex; align-items: baseline; gap: 6px; }
.plan-placeholder small { font: 500 16px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.design-card__note { position: absolute; left: 14px; bottom: 12px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); }

/* Feature project */
.feature-project__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-project__copy .lead { margin-bottom: 28px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__a { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.mosaic__b, .mosaic__c { aspect-ratio: 4 / 3; }

/* Stages (home) */
.stages { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink-line); }
.stages li { padding: 28px 20px 8px 0; position: relative; min-width: 0; }
.stages li + li { padding-left: 20px; border-left: 1px solid var(--ink-line); }
.stages__n { display: block; font: 500 13px/1 var(--f-mono); color: var(--brass-hi); margin-bottom: 40px; letter-spacing: .1em; }
.stages h3 { font: 600 20px/1.15 var(--f-display); font-stretch: 108%; margin-bottom: 10px; }
.stages p { font-size: 14px; }

/* Services split */
.services-split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.services-split > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.service-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.service-list li { padding: 24px 0; border-top: 1px solid var(--line); min-width: 0; }
.service-list h3, .service-list .h3 { font: 600 19px/1.2 var(--f-display); font-stretch: 108%; margin-bottom: 8px; }
.service-list p { font-size: 15px; color: var(--muted); }

/* Reno teaser */
.reno-teaser { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.reno-teaser__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reno-teaser__inner { position: relative; padding-block: 72px; }
.reno-teaser__card { background: var(--paper); padding: clamp(28px, 4vw, 48px); max-width: 520px; }
.reno-teaser__card p:not(.eyebrow) { color: var(--muted); margin-bottom: 26px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--on-ink); padding-block: clamp(56px, 7vw, 88px); border-top: 3px solid var(--brass); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 4vw, 52px); max-width: 18ch; margin-bottom: 14px; }
.cta-band p { color: var(--on-ink-muted); max-width: 54ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-band__alt { font-size: 14px; }
.cta-band__alt a { color: var(--brass-hi); }

/* Footer */
.site-footer { background: #0f1012; color: var(--on-ink-muted); padding-top: 72px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.site-footer__brand img { width: 96px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 40ch; }
.site-footer__h { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-hi); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--on-ink); overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--brass-hi); }
.site-footer .btn--line { margin-top: 8px; color: var(--on-ink); }
.site-footer .btn--line:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ink-line); font-size: 13px; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--ink); color: var(--on-ink); padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-head .eyebrow { color: var(--brass-hi); }
.page-head__lead { color: var(--on-ink-muted); margin-top: 22px; }
.page-head .btn { margin-top: 30px; }
.page-head--short { padding-block: clamp(48px, 6vw, 80px) clamp(36px, 4vw, 56px); }
.page-head--image { min-height: 560px; display: flex; align-items: flex-end; }
.page-head__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-head--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,24,27,.92) 0%, rgba(23,24,27,.35) 70%, rgba(23,24,27,.6) 100%); }
.page-head--image .wrap { z-index: 1; }
.page-head--image .wrap { position: relative; }
.back { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 28px; font-size: 14px; text-decoration: none; color: var(--on-ink-muted); }
.back::before { content: "←"; }
.back:hover { color: var(--brass-hi); }

/* About */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.story__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story__copy p:not(.eyebrow) { color: var(--muted); max-width: 56ch; }
.warranty { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.warranty__num { font: 600 clamp(140px, 22vw, 300px)/.8 var(--f-display); font-stretch: 125%; color: var(--brass-hi); }

/* Designs hub */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat-card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); background: var(--paper); transition: border-color .25s; min-width: 0; }
.cat-card:hover { border-color: var(--brass); }
.cat-card__media { aspect-ratio: 16 / 9; overflow: hidden; max-width: 100%; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__body { padding: 24px 26px 28px; }
.cat-card__body h2 { font: 600 26px/1.1 var(--f-display); font-stretch: 112%; margin-bottom: 8px; }
.cat-card__body p { color: var(--muted); }
.cat-card__body .link-arrow { margin-top: 18px; border: 0; }
.cat-card--soon { opacity: .8; }
.cat-card--soon .cat-card__media { aspect-ratio: 16 / 5; }
.pill { display: inline-block; margin-bottom: 12px; padding: 5px 10px; font: 500 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--brass-hi); }

/* Single storey list */
.design-list { display: grid; gap: 56px; }
.design-row { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.design-row:nth-child(even) .design-row__media { order: 2; }
.design-row__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; max-width: 100%; }
.design-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.design-row__media:hover img { transform: scale(1.03); }
.design-row__body h2 a { text-decoration: none; }
.design-row__body h2 { font-size: clamp(30px, 3.4vw, 44px); }
.design-row__body > p { color: var(--muted); }

/* Design detail */
.detail-head { background: var(--ink); color: var(--on-ink); padding-block: clamp(48px, 6vw, 84px); }
.detail-head .eyebrow { color: var(--brass-hi); }
.detail-head .lead { color: var(--on-ink-muted); margin-top: 18px; }
.detail-head__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.detail-head__specs { min-width: 0; }
.detail-head .specs { border-color: var(--ink-line); }
.detail-head .specs > div { border-color: var(--ink-line); }
.detail-head .specs dt, .detail-head .specs dd span { color: var(--on-ink-muted); }
.detail-head .dimline { color: var(--brass-hi); }
.detail-head .btn { margin-top: 10px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery__item { margin: 0; min-width: 0; }
.gallery__item--lead { grid-column: span 2; grid-row: span 2; }
.gallery__open { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 2; }
.gallery__item--wide { grid-column: 1 / -1; grid-row: auto; }
.gallery__item--half { grid-column: span 2; grid-row: auto; }
.gallery__item--half .gallery__open { aspect-ratio: 3.05 / 1 !important; height: auto !important; min-height: 0 !important; }
.gallery__item--wide .gallery__open { aspect-ratio: 21 / 9 !important; height: auto !important; min-height: 0 !important; }
.gallery__item--lead .gallery__open { aspect-ratio: auto; height: calc(100% - 30px); min-height: 300px; }
.gallery__open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__open:hover img { transform: scale(1.03); }
.gallery figcaption, .floorplan figcaption { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 10px; height: 30px; }

.detail-body { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.floorplan { margin: 0; background: #fff; padding: 12px; border: 1px solid var(--line); }
.floorplan .gallery__open { aspect-ratio: auto; background: #fff; }
.floorplan img { object-fit: contain; }
.ticks { list-style: none; display: grid; gap: 0; margin-top: 8px; }
.ticks li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 6px; border-left: 2px solid var(--brass-ink); border-bottom: 2px solid var(--brass-ink); transform: rotate(-45deg); }
.ticks--light li { border-color: var(--ink-line); color: var(--on-ink); }
.ticks--light li::before { border-color: var(--brass-hi); }

.built { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.built__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.built p:not(.eyebrow) { color: var(--muted); margin-bottom: 26px; }

.others { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 20px; }
.others a { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border: 1px solid var(--line); text-decoration: none; }
.others a:hover { border-color: var(--brass); }
.others strong { font: 600 20px/1 var(--f-display); font-stretch: 110%; }
.others span { font: 500 12px/1 var(--f-mono); color: var(--muted); }

.empty-plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.empty-plan .plan-placeholder { aspect-ratio: 16 / 10; font-size: clamp(80px, 12vw, 160px); }
.empty-plan p { color: var(--muted); margin: 12px 0 22px; }

/* Projects */
.project-head { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; margin-bottom: 36px; }
.project-head .h2 { font-size: clamp(40px, 5.5vw, 72px); }
.project-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.project-facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { font: 500 10px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.project-facts dd { margin: 4px 0 0; font-weight: 500; }
.gallery--project .gallery__item--lead { grid-row: span 2; }
.more-soon p { color: var(--muted); margin-top: 8px; max-width: 60ch; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,10,12,.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox figure { margin: 0; max-width: min(92vw, 1600px); display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-height: 82vh; width: auto; object-fit: contain; }
.lightbox figcaption { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-hi); }
.lightbox__btn, .lightbox__close { position: fixed; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 52px; height: 52px; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%; }
.lightbox__btn:hover, .lightbox__close:hover { background: var(--brass); color: var(--ink); }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 16px; top: calc(16px + env(safe-area-inset-top, 0px)); }

/* Renovations */
.statement { font: 500 clamp(22px, 2.6vw, 34px)/1.35 var(--f-display); font-stretch: 100%; letter-spacing: -.01em; max-width: 46ch; }
.reno-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.reno-card { background: var(--paper); border: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; }
.reno-card__media { aspect-ratio: 4 / 3; overflow: hidden; max-width: 100%; }
.reno-card__media img { width: 100%; height: 100%; object-fit: cover; }
.reno-card__body { padding: 22px 22px 26px; }
.reno-card h3 { font: 600 20px/1.2 var(--f-display); font-stretch: 108%; margin-bottom: 8px; }
.reno-card p { font-size: 15px; color: var(--muted); }
.reno-card--text { justify-content: flex-end; background: var(--ink); border-color: var(--ink); }
.reno-card--text h3 { color: var(--on-ink); }
.reno-card--text p { color: var(--on-ink-muted); }
.approach { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.approach__intro p:not(.eyebrow) { color: var(--muted); }
.approach__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.approach__list li { padding: 24px 0; border-top: 1px solid var(--line); }
.approach__list h3 { font: 600 19px/1.2 var(--f-display); font-stretch: 108%; margin-bottom: 8px; }
.approach__list p { font-size: 15px; color: var(--muted); }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }

/* Services page */
.services-page { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.services-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.services-aside img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.services-aside p { margin-top: 16px; font: 500 13px/1.6 var(--f-mono); color: var(--muted); }

/* Process page */
.timeline { list-style: none; display: grid; gap: 0; position: relative; }
.timeline__item { display: grid; grid-template-columns: 96px 1fr; gap: 24px; position: relative; padding-bottom: 28px; }
.timeline__item::before { content: ""; position: absolute; left: 47px; top: 64px; bottom: 0; width: 1px; background: var(--line); }
.timeline__item:last-child::before { display: none; }
.timeline__marker span { display: grid; place-items: center; width: 96px; height: 64px; background: var(--ink); color: var(--brass-hi); font: 500 20px/1 var(--f-mono); }
.timeline__card { border: 1px solid var(--line); padding: 26px 28px; background: var(--paper); min-width: 0; }
.timeline__phase { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 10px; }
.timeline .ticks { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 28px; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.promise p { color: var(--muted); margin-top: 8px; }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact__info { min-width: 0; }
.contact__list { margin: 32px 0; border-top: 1px solid var(--line); }
.contact__list > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { font: 500 11px/1.8 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__list dd { margin: 0; overflow-wrap: anywhere; font-weight: 500; }
.contact__next ol { margin-top: 14px; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.contact__formwrap { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); min-width: 0; }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-weight: 600; font-size: 14px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); background: #fff; }
.field--err input, .field--err textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { justify-self: start; min-width: 200px; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__note { font-size: 13px; color: var(--muted); }
.notice { padding: 16px 18px; border-left: 3px solid; }
.notice--ok { border-color: var(--ok); background: #eef5f0; color: #1d3d29; }
.notice--ok p { margin-top: 6px; }
.notice--err { border-color: var(--err); background: #fbefee; color: #5e1d18; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .stages { grid-template-columns: 1fr 1fr; }
  .stages li, .stages li + li { padding: 24px 16px 24px 0; border-left: 0; border-bottom: 1px solid var(--ink-line); }
  .stages li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--ink-line); }
  .stages__n { margin-bottom: 18px; }
  .design-grid { grid-template-columns: 1fr 1fr; }
  .values--row { grid-template-columns: 1fr 1fr; }
  .values--row li:nth-child(2) { border-right: 0; }
}
@media (max-width: 900px) {
  .intro__grid, .feature-project__grid, .services-split, .story, .warranty, .cat-grid, .design-row,
  .detail-head__grid, .detail-body, .built, .project-head, .approach, .why, .services-page, .contact, .empty-plan, .site-footer__grid { grid-template-columns: 1fr; }
  .design-row:nth-child(even) .design-row__media { order: 0; }
  .services-split > div:first-child, .services-aside { position: static; }
  .services-aside img { aspect-ratio: 16 / 10; }
  .reno-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--lead { grid-column: 1 / -1; grid-row: auto; }
  .gallery__item--lead .gallery__open { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
  .promise { grid-template-columns: 1fr; gap: 20px; }
  .warranty__num { font-size: 140px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .design-grid, .service-list, .approach__list, .reno-grid, .form__row, .values--row { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values li, .values li:nth-child(even), .values--row li { border-right: 0 !important; padding: 22px 0 !important; }
  .stages { grid-template-columns: 1fr; }
  .stages li:nth-child(even) { padding-left: 0; border-left: 0; }
  .timeline__item { grid-template-columns: 1fr; gap: 0; }
  .timeline__item::before { display: none; }
  .timeline__marker span { width: auto; height: 44px; justify-content: start; padding-left: 16px; font-size: 15px; }
  .gallery { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__title { font-size: 44px; }
  .page-head--image { min-height: 480px; }
  .reno-teaser { min-height: 0; }
  .reno-teaser__img { position: static; height: 260px; }
  .reno-teaser__inner { padding-block: 0; padding-inline: 0; }
  .reno-teaser__card { max-width: none; }
  .project-facts { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 900px) { .has-hero .site-header { background: var(--ink); } }
@media (max-width: 640px) {
  .specs > div { padding: 8px 10px; }
  .specs dd { font-size: 15px; }
  .specs dd span { display: block; margin-top: 2px; }
}

/* Phone in nav, footer legal line */
.site-nav > ul > li.site-nav__phone > a { font-family: var(--f-mono); font-size: 14px; color: var(--brass-hi); white-space: nowrap; }
.site-footer__badge { margin-top: 16px; display: inline-block; padding: 6px 10px; border: 1px solid var(--ink-line); font: 500 11px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-hi); }
.site-footer__legal { font-variant-numeric: tabular-nums; }
@media (max-width: 1180px) and (min-width: 1021px) { .site-nav__phone { display: none; } }
@media (max-width: 1020px) { .site-nav > ul > li.site-nav__phone > a { font: 500 20px/1.2 var(--f-mono) !important; color: var(--brass-hi) !important; } }
.gallery--project .gallery__item--half { grid-row: auto; }
@media (max-width: 900px) { .gallery__item--half { grid-column: 1 / -1; } .gallery__item--half .gallery__open { aspect-ratio: 3 / 2 !important; } }

.plan-request { border: 1px solid var(--line); background: var(--paper); padding: 28px; display: grid; gap: 12px; align-content: start; justify-items: start; }
.plan-request p { color: var(--muted); }
