/* =====================================================================
   Made of Steel — landing page (rebuilt to the reference design language)
   See mockups/DESIGN-LANGUAGE.md. Core rules:
   - Manrope only. Headings 700, modest sizes (32px section, 56/36px hero).
   - Flat: zero shadows. Sharp: 0px corners on everything except pill buttons.
   - Monochrome steel: #fff / #D3D9DE / #23292E / #48535B + ONE accent #4F5D68.
   - Left-aligned, sentence/Title case, normal letter-spacing. No icons/eyebrows.
   - Label-left (300px) / content-right shell, 80px gutters, 120px section padding.
   ===================================================================== */

:root {
  --paper:  #ffffff;   /* page bg, nav, white sections, hero/footer text */
  --steel:  #d3d9de;   /* signature steel-grey panel surface */
  --ink:    #23292e;   /* heading text AND footer bg */
  --body:   #48535b;   /* all subtitles, body, captions */
  --accent: #4f5d68;   /* the ONLY accent — primary button fill */
  --gold:   #e6a817;   /* review/rating stars — client override of the mono spec */
  --hair:   rgba(35, 41, 46, 0.1);   /* rare hairline dividers */
  --error:  #c0392b;   /* inline form validation */

  --font: 'Manrope', ui-sans-serif, system-ui, sans-serif;

  --container: 1440px;
  --gutter: 80px;
  --section-y: 120px;
  --nav-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: inherit; }

/* ---- layout ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--steel { background: var(--steel); }

/* The signature shell: heading pinned left (~300px), content right, big gap. */
.shell { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .shell { grid-template-columns: 300px minmax(0, 1fr); gap: 80px; align-items: start; }
}
.shell__head h2 { margin: 0; }
.shell__head .label { margin-bottom: 8px; }
.shell__head .subtitle { margin-top: 12px; }
.shell__body--narrow { max-width: 600px; }

/* ---- type ---- */
/* Type scale (px): 12 · 13 · 14 · 15 · 16 · 18 · 22 · 32 · 44 · 56.
   Tight leading on display, open leading on prose — hierarchy by weight+space. */
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; color: var(--ink); letter-spacing: normal; }
h2 { font-size: 32px; line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.3; }
p { color: var(--body); line-height: 1.4; }
.subtitle { font-weight: 400; font-size: 16px; line-height: 1.4; color: var(--body); max-width: 40ch; }
.label { font-weight: 500; font-size: 16px; line-height: 1.2; color: var(--ink); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; line-height: 1; text-transform: capitalize;
  padding: 14px 26px; border-radius: 1000px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #3e4952; }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); font-weight: 500; font-size: 16px; text-transform: none; padding: 16px 28px; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--block { width: 100%; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 1.5rem; }
.brand img { height: 20px; width: 160px; }
.header-right { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.rating { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 14px; color: var(--body); }
.rating .stars { color: var(--ink); letter-spacing: 1px; }
.header-right .rating { display: none; }
@media (min-width: 720px) { .header-right .rating { display: inline-flex; } }

/* ---- hero: photo left, headline + form right ---- */
.hero { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1fr; } .hero__media { order: -1; } }
.hero__content { padding: clamp(48px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.hero__content h1 { font-size: 36px; line-height: 1.1; letter-spacing: normal; }
@media (min-width: 900px) { .hero__content h1 { font-size: 56px; line-height: 1.1; max-width: 13ch; } }
.hero__sub { margin-top: 20px; font-size: 18px; line-height: 1.4; color: var(--body); max-width: 46ch; }
.hero__sub b { color: var(--ink); font-weight: 700; }
.hero__media { position: relative; min-height: 62vw; }
@media (min-width: 900px) { .hero__media { min-height: 620px; } }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* hero form — underline fields */
.hero-form { margin-top: 36px; width: 100%; max-width: 430px; }
.form-note { margin-top: 16px; font-size: 14px; color: var(--body); }

/* form fields — underline style, flat */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; font-size: 13px; letter-spacing: 0.02em; color: var(--body); margin-bottom: 4px; }
.field input, .field select {
  width: 100%; padding: 8px 0; background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(35,41,46,0.25); border-radius: 0;
  transition: border-color 0.15s ease;
}
.field input::placeholder { color: #9aa2a8; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); }
.hero-form .btn { margin-top: 10px; }

/* ---- trust strip ---- */
.trust-strip { border-block: 1px solid var(--hair); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem 2rem; padding-block: 24px; }
.trust-strip .item { font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.trust-strip .sep { color: #b8c0c6; font-weight: 300; }
@media (max-width: 620px) { .trust-strip .sep { display: none; } .trust-strip .container { flex-direction: column; align-items: center; gap: 10px; } }

/* ---- stat numbers ---- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-weight: 700; font-size: 44px; line-height: 1; color: var(--ink); }
.stat__cap { margin-top: 12px; font-size: 16px; line-height: 1.4; color: var(--body); }

/* ---- split section (text left, full-bleed image right) ---- */
.split { display: grid; grid-template-columns: 1fr; }
.split__text {
  padding: var(--section-y) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
}
.split__text h2 { margin: 0; }
.split__text .subtitle { margin-top: 12px; }
.split__media { position: relative; min-height: 340px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split__media { min-height: 0; }
}

/* ---- media / product photo (sharp, flat) ---- */
.media img { width: 100%; height: auto; display: block; }
.media--cover img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---- plain rows (checklist / option list) ---- */
.rows { list-style: none; padding: 0; margin: 0; }
.rows li { padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: 16px; line-height: 1.4; color: var(--body); transition: color 0.2s ease; }
.rows li:hover { color: var(--ink); }
.rows li:first-child { border-top: 1px solid var(--hair); }
.block-gap { margin-top: 40px; }

/* ---- built-to-size options (2-col plain) ---- */
.opts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .opts { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.opts li { padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: 16px; color: var(--body); transition: color 0.2s ease; }
.opts li:hover { color: var(--ink); }
.note { margin-top: 32px; color: var(--body); }
.note b { color: var(--ink); font-weight: 700; }

/* ---- how it works ---- */
.steps { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding-top: 24px; border-top: 2px solid var(--hair); transition: border-color 0.25s ease; }
.step:hover { border-top-color: var(--ink); }
.step__no { font-weight: 600; font-size: 14px; color: var(--body); }
.step h3 { margin: 14px 0 8px; }
.step p { margin: 0; }

/* ---- real builds ---- */
.builds { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 720px) { .builds { grid-template-columns: repeat(3, 1fr); } }
.build { overflow: hidden; }
.build img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.45s ease; }
.build:hover img { transform: scale(1.04); }
.build__cap { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; gap: 1rem; }
.build__name { font-weight: 500; font-size: 16px; color: var(--ink); }
.build__loc { font-weight: 500; font-size: 12px; color: var(--body); }

/* ---- meet the owner ---- */
.meet { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 960px) { .meet { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } }
.meet-body h2 { margin-bottom: 16px; }
.meet-body p { max-width: 46ch; }
.meet-body .sign { margin-top: 20px; font-weight: 700; color: var(--ink); }
.meet-photo { position: relative; aspect-ratio: 3 / 4; max-height: 560px; background: #c9d0d6; }
.meet-photo--placeholder {
  display: grid; place-items: center; text-align: center; padding: 2rem;
  background: repeating-linear-gradient(135deg, rgba(35,41,46,.04) 0 14px, rgba(35,41,46,.08) 14px 28px), #cdd4da;
  border: 1px dashed #aab3ba; color: var(--body);
}
.meet-photo--placeholder .lbl { font-weight: 600; color: var(--ink); }
.meet-photo--placeholder p { margin-top: 6px; }
.meet-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- reviews ---- */
.reviews { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 820px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { padding-top: 24px; border-top: 2px solid var(--hair); transition: border-color 0.25s ease; }
.review:hover { border-top-color: var(--ink); }
.review__stars { color: var(--ink); font-size: 14px; letter-spacing: 2px; display: block; }
.shell__head .review__stars { margin-bottom: 12px; }
/* blockquote animates its max-height between the clamped and full heights;
   collapsible cards fade out at the bottom as a "there's more" cue. */
.review blockquote { position: relative; margin: 16px 0; font-size: 16px; line-height: 1.5; color: var(--body); overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.review blockquote.is-collapsible::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em;
  background: linear-gradient(rgba(255, 255, 255, 0), var(--paper));
  pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
}
.review blockquote.is-collapsible.is-collapsed::after { opacity: 1; }
/* reserve the clamp height so names align across the row — columns only */
@media (min-width: 820px) { .review blockquote.is-reserve { min-height: var(--clamp-h); } }
@media (prefers-reduced-motion: reduce) { .review blockquote { transition: none; } }
.review__name { font-weight: 500; font-size: 16px; color: var(--ink); }
.review__loc { font-weight: 500; font-size: 12px; color: var(--body); margin-top: 4px; }

/* ---- final CTA ---- */
.cta .subtitle { margin-bottom: 28px; }
.cta .btn { margin-top: 8px; }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #fff; padding-block: 80px 40px; }
.site-footer .container { display: grid; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-brand img { height: 22px; filter: brightness(0) invert(1); }
.footer-tag { margin-top: 16px; color: rgba(255,255,255,0.7); max-width: 40ch; font-size: 14px; }
.footer-contact a { color: #fff; font-weight: 500; }
.footer-contact .hours { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 14px; color: rgba(255,255,255,0.7); border-top: 1px solid rgba(255,255,255,0.15); padding-top: 32px; }

/* ---- modal — full-screen funnel ---- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: grid; grid-template-columns: 1fr; animation: modal-enter 0.3s ease-out; }
@media (min-width: 900px) { .modal.is-open { grid-template-columns: 1fr 1fr; } }
@keyframes modal-enter { from { opacity: 0; } to { opacity: 1; } }

.modal__feature { display: none; position: relative; overflow: hidden; }
@media (min-width: 900px) { .modal__feature { display: block; } }
.modal__feature-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__feature-overlay {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  justify-content: space-between; height: 100%; padding: var(--gutter);
  background: linear-gradient(180deg, rgba(35,41,46,0.2) 0%, rgba(35,41,46,0.7) 100%);
  color: #fff;
}
.modal__feature-logo { height: 20px; width: 160px; filter: brightness(0) invert(1); }
.modal__feature-stat { font-size: 18px; line-height: 1.5; }
.modal__feature-stat b { font-weight: 700; }

.modal__main { background: var(--paper); display: flex; flex-direction: column; overflow-y: auto; }
.modal__header { display: flex; align-items: center; justify-content: space-between; padding: 28px var(--gutter); }
.modal__progress { display: flex; gap: 8px; }
.modal__dot { width: 40px; height: 3px; background: rgba(35,41,46,0.12); border-radius: 2px; transition: background 0.35s ease; }
.modal__dot.is-active { background: var(--ink); }
.modal__close { width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.5rem; color: var(--body); }
.modal__close:hover { color: var(--ink); }
.modal__body {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter) var(--gutter);
  animation: modal-slide 0.4s ease-out 0.08s both;
}
@keyframes modal-slide { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal__panel { width: 100%; max-width: 420px; }

.modal h3 { font-size: 28px; line-height: 1.15; margin-bottom: 8px; }
.step-intro { margin-bottom: 28px; }
.step-panel { display: none; }
.step-panel.is-active { display: block; }
.step-panel .btn { margin-top: 14px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.radio-group label { border: 1px solid rgba(35,41,46,0.25); padding: 10px 18px; font-size: 14px; font-weight: 500; color: var(--body); cursor: pointer; transition: all 0.15s ease; }
.radio-group input { position: absolute; opacity: 0; width: 0; }
.radio-group label:has(input:checked) { background: var(--accent); color: #fff; border-color: var(--accent); }
.thankyou { padding-block: 8px; }
.thankyou h3 { font-size: 32px; }
.thankyou p { margin-top: 16px; max-width: 40ch; }
.thankyou a { color: var(--ink); font-weight: 700; }

/* ---- scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="delay"] { transition-delay: 0.15s; }

/* ---- utilities ---- */
.rows--mt { margin-top: 16px; }

@media (max-width: 900px) {
  :root { --gutter: 16px; --section-y: 80px; --nav-h: 58px; }
}

/* =====================================================================
   Design feedback pass (2026-07) — shared by all pages.
   Originally scoped under `.canterbury` while iterating; promoted to the
   default once approved so every page (and future fork) inherits it.
   ===================================================================== */

/* gold stars — header rating + reviews (client request) */
.rating .stars,
.review__stars { color: var(--gold); }

/* hero: smaller headline, top-aligned so the headline top meets the
   photo top and the form reads as the main attraction */
.hero__content { justify-content: flex-start; padding-block: clamp(20px, 2.4vw, 32px) clamp(32px, 5vw, 72px); }
.hero__content h1 { font-size: 30px; }
@media (min-width: 900px) {
  .hero__content h1 { font-size: 40px; line-height: 1.12; max-width: none; }
}

/* price line under the sub, above the form */
.hero__price { margin-top: 18px; font-size: 16px; font-weight: 600; color: var(--ink); }
.hero-form { margin-top: 28px; }

/* trust strip: thin, one weight, sentence case */
.trust-strip .item { font-weight: 500; font-size: 13px; letter-spacing: 0.02em; text-transform: none; color: var(--body); }

/* section headings a touch smaller so long titles don't run to four lines */
.shell__head h2 { font-size: 27px; }

/* ---- inline form validation ---- */
.field__error { margin-top: 6px; font-size: 12px; line-height: 1.3; color: var(--error); }
.field--error input { border-bottom-color: var(--error); }
.field--error label { color: var(--error); }

/* ---- kitset checklist: real bullets, tight, no dividers ---- */
.bullets { list-style: disc; padding-left: 1.25rem; margin: 16px 0 0; }
.bullets li { padding: 5px 0; font-size: 16px; line-height: 1.45; color: var(--body); }
.bullets li::marker { color: var(--accent); }

/* ---- built-to-size options: bullets, keep the dividers ---- */
.opts--bullet li { list-style: none; position: relative; padding-left: 1.15rem; }
.opts--bullet li::before { content: "•"; position: absolute; left: 0; color: var(--accent); }

/* ---- centred mid-page CTA block ----
   Spans the full grid and centres within the container, so it sits centred
   relative to the viewport rather than within the body column. */
.mid-cta { grid-column: 1 / -1; text-align: center; max-width: 620px; margin-inline: auto; }
.mid-cta__line { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 20px; }

/* ---- real-builds gallery (full-width feature + lightbox) ---- */
.gallery-head { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 44px); }
.gallery-head .subtitle { max-width: none; }
.gallery__frame { position: relative; overflow: hidden; background: var(--steel); aspect-ratio: 16 / 9; max-height: 680px; }
.gallery__slide img { cursor: zoom-in; }
.gallery__track { display: flex; height: 100%; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.gallery__slide { flex: 0 0 100%; height: 100%; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(35, 41, 46, 0.55); color: #fff; font-size: 20px; line-height: 1;
  transition: background 0.2s ease;
}
.gallery__arrow:hover { background: rgba(35, 41, 46, 0.82); }
.gallery__arrow--prev { left: 16px; }
.gallery__arrow--next { right: 16px; }
.gallery__dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.gallery__dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(35, 41, 46, 0.2); transition: background 0.2s ease, transform 0.2s ease; }
.gallery__dot.is-active { background: var(--ink); transform: scale(1.3); }

/* ---- lightbox (opens any gallery image full-screen) ---- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(20, 23, 26, 0.97); padding: clamp(16px, 4vw, 56px); }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5); }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: clamp(14px, 3vw, 30px); text-align: center; color: rgba(255, 255, 255, 0.82); font-size: 14px; line-height: 1.4; padding-inline: 24px; }
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center; color: #fff; line-height: 1;
  background: rgba(255, 255, 255, 0.12); border-radius: 999px; transition: background 0.2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox__close { top: clamp(14px, 3vw, 24px); right: clamp(14px, 3vw, 28px); width: 44px; height: 44px; font-size: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 22px; }
.lightbox__nav--prev { left: clamp(12px, 3vw, 32px); }
.lightbox__nav--next { right: clamp(12px, 3vw, 32px); }

/* ---- review read-more (animated inline expand) ---- */
.review__toggle { display: inline-block; margin-top: 6px; padding: 0; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.review__toggle:hover { color: var(--body); }

/* ---- footer address ---- */
.footer-address { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* ---- "Who you're dealing with": copy-only, tightened (2026-07 feedback) ----
   Photo removed and the section vertical space cut back per Karan's note. The
   old two-column .meet/.meet-photo/.meet-body markup is retired for this block;
   .meet-copy is a single left-column statement in the shell's content column. */
.section--tight { padding-block: clamp(56px, 7vw, 84px); }
.meet-copy { max-width: 60ch; }
.meet-copy p { font-size: 19px; line-height: 1.55; color: var(--ink); }
.meet-copy .sign { margin-top: 18px; font-weight: 700; color: var(--ink); }

/* ---- lead form: honeypot (spam trap) + submit error line ----
   .hp is a decoy field hidden from humans; bots auto-fill it and the server
   silently drops those submissions. Kept out of the layout and the a11y tree. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 12px; font-size: 14px; line-height: 1.4; color: var(--error); }
.form-error a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
