/* ==========================================================================
   G&A Construction and Home Improvement LLC
   main.css — global styles
   Sections: 1 Tokens · 2 Reset · 3 Type · 4 Layout · 5 Buttons · 6 Header
             7 Hero · 8 Services · 9 Process · 10 Proof · 11 Form · 12 Footer
             13 Interior pages · 14 Motion & a11y
   ========================================================================== */

/* 1 — TOKENS ------------------------------------------------------------- */
:root {
  /* Palette sampled from the company logo: slate navy #2c3f50, orange #f7931e */
  --ink:        #1b2833;   /* darker slate, for large fields */
  --ink-2:      #22323f;
  --ink-3:      #2c3f50;   /* the logo navy */
  --paper:      #edeeec;
  --paper-2:    #e3e5e2;
  --white:      #ffffff;
  --flame:      #f7931e;   /* logo orange — fills, rules, accents */
  --flame-lift: #ffa63d;
  --flame-deep: #8f5205;   /* darkened for legible text on light backgrounds */
  --flame-soft: #fdead2;
  --steel:      #5c6873;
  --danger:     #b3261e;
  --ok:         #17683c;

  --line:       rgba(27, 40, 51, 0.14);
  --line-2:     rgba(27, 40, 51, 0.28);
  --line-dark:  rgba(237, 238, 236, 0.18);

  /* Stud spacing — 16" on center, scaled to the viewport */
  --stud-gap:   clamp(46px, 6.2vw, 92px);
  --stud-w:     2px;

  /* Type scale (perfect fourth, trimmed) */
  --t-xs:   0.8125rem;
  --t-sm:   0.9375rem;
  --t-base: 1.0625rem;
  --t-md:   1.1875rem;
  --t-lg:   clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
  --t-xl:   clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
  --t-2xl:  clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  --t-3xl:  clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);

  --wrap:   1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --sp-sec: clamp(64px, 9vw, 132px);

  --radius: 3px;
  --shadow: 0 18px 44px -28px rgba(27, 40, 51, 0.55);
  --ease:   cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2 — RESET -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 118px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--t-base);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--flame-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; text-decoration: none; font-weight: 600;
  transition: top 0.18s var(--ease);
}
.skip:focus { top: 12px; color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3 — TYPE --------------------------------------------------------------- */
h1, h2, h3, h4, .display {
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-stretch: 118%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { font-size: var(--t-3xl); font-weight: 900; font-stretch: 125%; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); font-stretch: 112%; }
h4 { font-size: var(--t-lg); font-stretch: 105%; font-weight: 700; letter-spacing: -0.012em; }

p { max-width: 68ch; }

.lede {
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 56ch;
}

.muted { color: var(--steel); }

.rule-head {
  border-top: 3px solid var(--ink);
  padding-top: 16px;
  margin-bottom: 26px;
}
.rule-head .count {
  font-size: var(--t-sm);
  font-weight: 700;
  font-stretch: 100%;
  color: var(--steel);
  letter-spacing: 0;
}

/* 4 — LAYOUT ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-sec); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--tight + .section { padding-top: 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .lede { color: rgba(237, 238, 236, 0.76); }
.section--ink a,
.section--ink .lede a,
.page-head a:not(.btn) { color: var(--flame); }
.section--ink a:hover { color: var(--white); }
/* Buttons keep their own colours inside dark sections */
.section--ink a.btn--accent, .page-head a.btn--accent { color: var(--ink); }
.section--ink a.btn--accent:hover, .page-head a.btn--accent:hover { color: var(--ink); }
.section--ink a.btn, .page-head a.btn { color: var(--paper); }
.section--ink a.btn--accent, .page-head a.btn--accent { color: var(--ink); }
.section--ink a.btn--ghost:hover, .page-head a.btn--ghost:hover { color: var(--ink); }

/* Studs: the recurring structural motif, 16" on center */
.studs {
  position: relative;
  isolation: isolate;
}
.studs::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    90deg,
    var(--line) 0 var(--stud-w),
    transparent var(--stud-w) var(--stud-gap)
  );
  pointer-events: none;
}
.section--ink .studs::before,
.studs--dark::before { background-image: repeating-linear-gradient(
    90deg,
    var(--line-dark) 0 var(--stud-w),
    transparent var(--stud-w) var(--stud-gap)
  );
}

.grid { display: grid; gap: clamp(24px, 3.4vw, 48px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

/* 5 — BUTTONS ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-stretch: 106%;
  font-size: var(--t-sm);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
              border-color 0.16s var(--ease), transform 0.12s var(--ease);
}
.btn:hover { background: var(--flame); border-color: var(--flame); color: var(--ink); }
.btn:active { transform: translateY(1px); }

.btn--accent { background: var(--flame); border-color: var(--flame); color: var(--ink); }
.btn--accent:hover { background: var(--flame-lift); border-color: var(--flame-lift); color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.section--ink .btn--ghost,
.hero .btn--ghost,
.page-head .btn--ghost { color: var(--paper); border-color: rgba(237, 238, 236, 0.75); }
.section--ink .btn--ghost:hover,
.hero .btn--ghost:hover,
.page-head .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* 6 — HEADER ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 12px 28px -26px rgba(27, 40, 51, 0.6); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.brand img, .brand svg { height: 76px; width: auto; flex: none; }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.brand-name b {
  font-size: 1.32rem;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.028em;
}
.brand-name span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.04em;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav-cta { display: none; }
.nav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); list-style: none; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--t-sm);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--line-2); }
.nav a[aria-current="page"] { border-bottom-color: var(--flame); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  font-weight: 800;
  font-stretch: 110%;
  font-size: var(--t-sm);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--flame-deep); }

.nav-toggle {
  display: none;
  width: 46px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* 7 — HERO --------------------------------------------------------------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

/* The wall: top plate, studs, bottom plate */
.wall {
  position: absolute;
  inset: clamp(18px, 3vw, 40px) 0;
  pointer-events: none;
}
.wall__studs {
  position: absolute;
  left: 0; right: 0; top: 14px; bottom: 14px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(247, 147, 30, 0.2) 0 3px,
    transparent 3px var(--stud-gap)
  );
  clip-path: inset(0 100% 0 0);
  animation: raise-wall 1.25s var(--ease) 0.15s forwards;
}
.wall__plate {
  position: absolute;
  left: 0; right: 0; height: 14px;
  background: rgba(247, 147, 30, 0.22);
  clip-path: inset(0 100% 0 0);
  animation: raise-wall 0.9s var(--ease) forwards;
}
.wall__plate--top { top: 0; }
.wall__plate--bottom { bottom: 0; animation-delay: 0.1s; }

@keyframes raise-wall { to { clip-path: inset(0 0 0 0); } }

.hero-inner {
  position: relative;
  padding-block: clamp(76px, 12vw, 154px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}

.hero h1 { color: var(--white); max-width: 13ch; }
.hero-inner > * { min-width: 0; }
.hero h1 em {
  font-style: normal;
  display: block;
  color: var(--flame);
}
.hero .lede { margin-top: 26px; color: rgba(237, 238, 236, 0.78); }
.hero .btn-row { margin-top: 36px; }

.hero-facts {
  border-top: 3px solid var(--flame);
  padding-top: 18px;
  display: grid;
  gap: 18px;
}
.hero-facts div b {
  display: block;
  font-size: var(--t-lg);
  font-weight: 800;
  font-stretch: 115%;
  color: var(--white);
  line-height: 1.1;
}
.hero-facts div span { font-size: var(--t-sm); color: rgba(237, 238, 236, 0.66); display: block; overflow-wrap: anywhere; }

/* Service strip under hero */
.strip {
  background: var(--flame);
  color: var(--ink);
  border-block: 1px solid rgba(27, 40, 51, 0.16);
}
.strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
  padding-block: 18px;
  font-weight: 700;
  font-size: var(--t-sm);
  font-stretch: 106%;
}
.strip li { display: flex; align-items: center; gap: 10px; }
.strip li::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--ink);
  flex: none;
}

/* 8 — SERVICES ----------------------------------------------------------- */
.svc-list { list-style: none; border-top: 1px solid var(--line-2); }
.svc {
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.svc a.svc-link {
  display: grid;
  grid-template-columns: clamp(120px, 13vw, 168px) minmax(0, 0.4fr) minmax(0, 1fr) auto;
  gap: clamp(16px, 2.4vw, 40px);
  align-items: center;
  padding-block: clamp(24px, 3vw, 38px);
  text-decoration: none;
  color: var(--ink);
  transition: padding-inline 0.2s var(--ease), background 0.2s var(--ease);
}
.svc a.svc-link:hover,
.svc a.svc-link:focus-visible {
  background: var(--white);
  padding-inline: clamp(12px, 1.6vw, 22px);
}
.svc h3 { transition: color 0.16s var(--ease); }
.svc a.svc-link:hover h3 { color: var(--flame-deep); }
.svc p { font-size: var(--t-sm); color: var(--steel); max-width: 54ch; }
.svc .go {
  font-weight: 800;
  font-size: var(--t-sm);
  color: var(--flame-deep);
  white-space: nowrap;
}

/* Trades included in a new-home contract */
.trades { margin-bottom: clamp(40px, 5vw, 64px); }
.trades .lede { max-width: 62ch; margin-bottom: 26px; }
.trade-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px clamp(18px, 2.4vw, 32px);
}
.trade-list li { border-top: 3px solid var(--flame); padding-top: 12px; }
.trade-list b {
  display: block;
  font-size: var(--t-md);
  font-weight: 800;
  font-stretch: 112%;
  color: var(--ink);
  margin-bottom: 4px;
}
.trade-list span { display: block; font-size: var(--t-sm); color: var(--steel); line-height: 1.45; }
@media (max-width: 1000px) { .trade-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px)  { .trade-list { grid-template-columns: minmax(0, 1fr); } }

/* 9 — PROCESS (a real sequence, so it is numbered) ----------------------- */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 34px);
  padding-block: 30px;
  border-top: 1px solid var(--line-dark);
}
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step::before {
  content: counter(step);
  font-size: 2.4rem;
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  color: var(--flame);
  letter-spacing: -0.04em;
}
.step h3 { margin-bottom: 8px; }
.step p { color: rgba(237, 238, 236, 0.72); font-size: var(--t-sm); }

/* 10 — PROOF / TESTIMONIALS ---------------------------------------------- */
.quotes {
  columns: 3;
  column-gap: clamp(20px, 2.6vw, 38px);
  list-style: none;
}
.quote {
  break-inside: avoid;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--flame);
  padding: 26px 26px 22px;
  margin-bottom: clamp(20px, 2.6vw, 38px);
}
.quote blockquote { font-size: var(--t-sm); line-height: 1.62; }
.quote figcaption {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: var(--t-xs);
  color: var(--steel);
}
.quote figcaption b { display: block; color: var(--ink); font-size: var(--t-sm); font-weight: 700; }

/* Stat band */
.band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-2);
  background: var(--white);
}
.band div { padding: 26px 24px; border-right: 1px solid var(--line); }
.band div:last-child { border-right: 0; }
.band b {
  display: block;
  font-size: var(--t-xl);
  font-weight: 900;
  font-stretch: 120%;
  line-height: 1;
  letter-spacing: -0.03em;
}
.band span { font-size: var(--t-sm); color: var(--steel); }

/* 11 — QUOTE FORM -------------------------------------------------------- */
.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.form-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 5px solid var(--flame);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--shadow);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: var(--t-sm);
  margin-bottom: 7px;
}
.field .hint { font-weight: 400; color: var(--steel); }
.req { color: var(--danger); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--paper);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; background-image: none; cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus {
  background: var(--white);
  border-color: var(--flame-deep);
  outline: none;
  box-shadow: 0 0 0 3px var(--flame-soft);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa3ab; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-row--3 { grid-template-columns: 2fr 1fr 1fr; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); background: #fdf4f3; }
.field .err {
  display: none;
  margin-top: 6px;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--danger);
}
.field.has-error .err { display: block; }

.pot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { font-size: var(--t-xs); color: var(--steel); margin-top: 14px; max-width: 46ch; }

.form-status {
  display: none;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: var(--t-sm);
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #e8f4ec; border-left: 4px solid var(--ok); color: #124d2d; }
.form-status.is-bad { background: #fdecea; border-left: 4px solid var(--danger); color: #8a1c16; }

.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(27, 40, 51, 0.35);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.contact-aside dl { display: grid; gap: 22px; margin: 28px 0 0; }
.contact-aside dt {
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--flame);
  margin-bottom: 4px;
}
.contact-aside dd { margin: 0; font-size: var(--t-md); font-weight: 600; }
.contact-aside dd a { color: inherit; text-decoration: none; }
.contact-aside dd a:hover { color: var(--flame); }

/* 12 — FOOTER ------------------------------------------------------------ */
.site-footer {
  background: var(--ink-2);
  color: rgba(237, 238, 236, 0.8);
  padding-top: clamp(50px, 6vw, 84px);
  font-size: var(--t-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(26px, 3.2vw, 52px);
  padding-bottom: 46px;
}
.site-footer h4 { color: var(--white); font-size: var(--t-sm); margin-bottom: 16px; font-stretch: 100%; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(237, 238, 236, 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--flame); }
.footer-brand b {
  display: block;
  color: var(--white);
  font-size: 1.28rem;
  font-weight: 900;
  font-stretch: 122%;
  letter-spacing: -0.026em;
  margin-bottom: 12px;
}
.footer-bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: rgba(237, 238, 236, 0.55);
}

/* 13 — INTERIOR PAGES ---------------------------------------------------- */
.page-head {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(54px, 7vw, 96px);
  position: relative;
}
.page-head h1 { color: var(--white); max-width: 18ch; font-size: var(--t-2xl); }
.page-head .lede { margin-top: 18px; color: rgba(237, 238, 236, 0.78); }
.crumbs {
  list-style: none;
  display: flex;
  gap: 10px;
  font-size: var(--t-xs);
  color: rgba(237, 238, 236, 0.6);
  margin-bottom: 20px;
}
.crumbs a { color: rgba(237, 238, 236, 0.8); text-decoration: none; }
.crumbs a:hover { color: var(--flame); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }

.prose > * + * { margin-top: 1.05em; }
.prose h3 { margin-top: 1.9em; }
.prose ul { padding-left: 1.15em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--flame-deep); }

.spec-list { list-style: none; border-top: 1px solid var(--line-2); }
.spec-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-sm);
}
.spec-list b { font-weight: 700; }
.spec-list span { color: var(--steel); }

.sticky-aside { position: sticky; top: 130px; }

.aside-card {
  background: var(--ink);
  color: var(--paper);
  padding: 30px;
  border-top: 5px solid var(--flame);
}
.aside-card h3 { color: var(--white); font-size: var(--t-lg); margin-bottom: 12px; }
.aside-card p { font-size: var(--t-sm); color: rgba(237, 238, 236, 0.75); margin-bottom: 20px; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-2); }
.tile {
  background: var(--white);
  padding: 28px 24px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.tile b { font-size: var(--t-lg); font-weight: 800; font-stretch: 112%; }
.tile span { font-size: var(--t-sm); color: var(--steel); }

.link-list { list-style: none; margin-top: 12px; border-top: 1px solid var(--line-2); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a {
  display: block;
  padding: 13px 0;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.link-list a:hover { color: var(--flame-deep); padding-left: 8px; transition: padding-left .18s var(--ease); }

/* Projects placeholder — an invitation, not a dead end */
.empty {
  border: 2px dashed var(--line-2);
  background: var(--white);
  padding: clamp(34px, 5vw, 64px);
  text-align: center;
}
.empty h3 { margin-bottom: 12px; }
.empty p { margin-inline: auto; margin-bottom: 24px; }

/* 14 — RESPONSIVE -------------------------------------------------------- */
@media (max-width: 1000px) {
  .grid--3, .band, .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { columns: 2; }
  .band div:nth-child(2) { border-right: 0; }
  .band div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-inner, .grid--split, .form-shell { grid-template-columns: minmax(0, 1fr); }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .sticky-aside { position: static; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 104px 0 auto 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 28px;
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.28s var(--ease), visibility 0.28s;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a {
    color: var(--paper);
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: var(--t-md);
  }
  .nav a[aria-current="page"] { color: var(--flame); border-bottom-color: var(--flame); }
  .nav-cta { display: block; margin-top: 18px; }
  .nav-cta a {
    background: var(--flame);
    color: var(--ink);
    text-align: center;
    border-bottom: 0;
    border-radius: var(--radius);
    font-weight: 700;
    padding: 16px;
  }
  .header-phone { display: none; }
  /* The header CTA moves into the panel, so the bar stays readable */
  .header-actions > .btn { display: none; }
  .brand img, .brand svg { height: 52px; }
  .brand-name b { font-size: 1.05rem; }
  .header-inner { min-height: 78px; gap: 12px; }
  .nav { inset: 78px 0 auto 0; max-height: calc(100vh - 78px); }
  /* Quieter studs behind hero text on small screens */
  .wall__studs { opacity: .55; }
  .svc a.svc-link { grid-template-columns: 96px minmax(0, 1fr); gap: 14px 16px; align-items: start; }
  .svc .svc-thumb { grid-row: span 3; }
  .svc .go { grid-column: 2; }
  .svc .go { justify-self: start; }
  .spec-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (max-width: 700px) {
  .grid--2, .grid--3, .band, .tile-grid, .field-row, .field-row--3 { grid-template-columns: minmax(0, 1fr); }
  .quotes { columns: 1; }
  .band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .band div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 52px minmax(0, 1fr); }
  .step::before { font-size: 1.7rem; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-name span { display: none; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
}

/* 15 — MOTION & PRINT ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .wall__studs, .wall__plate { clip-path: inset(0 0 0 0); }
}

@media print {
  .site-header, .site-footer, .strip, .form-card, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
  .hero, .page-head, .section--ink { background: #fff !important; color: #000 !important; }
}

/* 16 — PHOTOGRAPHY -------------------------------------------------------- */

/* Hero image panel */
.hero-media {
  position: relative;
  border: 1px solid rgba(247, 147, 30, 0.35);
  background: var(--ink-2);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.hero-media figcaption {
  position: absolute;
  left: 0; bottom: 0;
  font-stretch: 105%;
  letter-spacing: .01em;
  background: var(--ink);
  color: var(--flame);
  font-size: var(--t-xs);
  font-weight: 700;
  padding: 8px 14px;
}
.hero-media figcaption a { color: inherit; text-decoration: none; }
.hero-media figcaption a:hover { text-decoration: underline; }

/* Thumbnail in the service list rows */
.svc-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--paper-2);
  border: 1px solid var(--line);
  filter: saturate(0.94);
  transition: filter 0.2s var(--ease);
}
.svc a.svc-link:hover .svc-thumb { filter: saturate(1.08); }

/* A single supporting photo inside prose */
.photo { margin: 0; }
.photo img {
  width: 100%;
  border: 1px solid var(--line);
  display: block;
}
.photo figcaption {
  font-size: var(--t-xs);
  color: var(--steel);
  padding-top: 9px;
  border-top: 1px solid var(--line);
  margin-top: 9px;
}
.section--ink .photo figcaption {
  color: rgba(237, 238, 236, 0.66);
  border-top-color: var(--line-dark);
}

/* Gallery grid — deliberately uneven so it does not read as a card kit */
.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(210px, 24vw, 300px), 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}
.gallery li { min-width: 0; }

.shot {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
  cursor: zoom-in;
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s var(--ease);
}
.shot:hover img, .shot:focus-visible img { transform: scale(1.03); }
.shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(27, 40, 51, 0.92), rgba(27, 40, 51, 0));
  color: var(--white);
  font-size: var(--t-xs);
  font-weight: 600;
  text-align: left;
  padding: 30px 12px 10px;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.shot:hover figcaption, .shot:focus-visible figcaption { opacity: 1; }

/* Category filter */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 18px;
}
.filters button {
  padding: 9px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-size: var(--t-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 22, 28, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 48px);
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  object-fit: contain;
}
.lightbox figcaption {
  color: rgba(237, 238, 236, 0.82);
  font-size: var(--t-sm);
  text-align: center;
  margin-top: 14px;
  max-width: 62ch;
}
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lb-btn {
  position: absolute;
  background: transparent;
  border: 1.5px solid rgba(237, 238, 236, 0.5);
  color: var(--paper);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lb-btn:hover { background: var(--flame); border-color: var(--flame); color: var(--ink); }
.lb-close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); }
.lb-prev { left: clamp(8px, 2vw, 24px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(8px, 2vw, 24px); top: 50%; transform: translateY(-50%); }

@media (max-width: 860px) {
  .shot figcaption { opacity: 1; font-size: 11px; padding: 22px 9px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-next { right: 16px; }
  .lb-prev { left: 16px; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* 17 — FAQ ---------------------------------------------------------------- */
.faq-head { margin-bottom: 8px; }
.faq-list {
  border-top: 2px solid var(--ink);
  max-width: 78ch;
}
.faq {
  border-bottom: 1px solid var(--line);
  padding-block: 22px;
}
.faq h3 {
  font-size: var(--t-md);
  font-stretch: 104%;
  font-weight: 700;
  letter-spacing: -0.008em;
  margin-bottom: 8px;
}
.faq p { font-size: var(--t-sm); color: var(--ink-3); max-width: 70ch; }
.prose .faq-list { margin-top: 1.1em; }
.prose .faq h3 { margin-top: 0; }
.section--ink .faq-list { border-top-color: var(--flame); }
.section--ink .faq p { color: rgba(237, 238, 236, 0.75); }
.prose .faq-head { font-size: var(--t-xl); margin-top: 1.9em; }

/* Footer credential strip */
.footer-creds {
  border-top: 1px solid var(--line-dark);
  color: rgba(237, 238, 236, 0.62);
}
.footer-creds span:first-child { color: var(--flame); font-weight: 600; }

/* 18 — PROJECT CASE STUDIES ---------------------------------------------- */
.build-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.build-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.build-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.build-card > div { padding: 22px 24px 24px; }
.build-card h3 { margin-bottom: 8px; transition: color 0.16s var(--ease); }
.build-card:hover h3 { color: var(--flame-deep); }
.build-card p { font-size: var(--t-sm); color: var(--steel); margin-bottom: 14px; }
.build-card .go { font-weight: 800; font-size: var(--t-sm); color: var(--flame-deep); }

.photo--hero img { border: 1px solid var(--line-2); }
.photo--hero figcaption { max-width: 80ch; }
