/* ===================================================
   TC BUILDER SUPPLY — Design System
   =================================================== */

:root {
  --gold: #8A6E44;         /* darkened from #B08D5A for WCAG AA contrast on cream + white-on-gold */
  --gold-2: #B5945F;       /* light accent (was #C9A76B) */
  --gold-dk: #6D5735;      /* deeper hover / active (was #8A6E44 — now living in --gold) */
  --black: #0B0B0B;
  --black-2: #141414;
  --ink: #1A1A1A;
  --muted: #6B6B6B;
  --line: #E5E0D7;
  --cream: #F7F2EA;
  --cream-2: #FBF7F0;
  --white: #FFFFFF;

  --f-head: 'Montserrat', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 4px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.28);

  --ease: cubic-bezier(.2,.7,.2,1);

  /* Header height driver — bump these two and everything downstream (hero
     offset, mobile menu top, scroll-padding) stays in sync. */
  --header-h: 98px;         /* logo 62 + padding 18*2 */
  --header-h-scrolled: 76px;/* logo 52 + padding 12*2 */
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* fixed header clearance for anchor links */
}
@media (max-width: 1024px) { html { scroll-padding-top: 90px; } }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream-2);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--ink);
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
}
p { margin: 0 0 1em; }

.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad);
  width: 100%;
}

/* ---------- Utility ---------- */
.text-gold { color: var(--gold); }
.text-white { color: #fff; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
  line-height: 1.4;
}
.eyebrow-gold { color: var(--gold); }

.section {
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--cream-2);
  position: relative;
}
.section-dark {
  padding: clamp(60px, 8vw, 110px) 0;
  background-color: var(--black);
  background-image:
    linear-gradient(180deg, rgba(11,11,11,.55), rgba(11,11,11,.7)),
    url("assets/marquina-midnight-quartz.jpg");
  background-image:
    linear-gradient(180deg, rgba(11,11,11,.55), rgba(11,11,11,.7)),
    image-set(
      url("assets/marquina-midnight-quartz.webp") type("image/webp"),
      url("assets/marquina-midnight-quartz.jpg") type("image/jpeg")
    );
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  margin-bottom: 24px;
}
.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .section-title { margin-bottom: 16px; }
.section-lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ---------- Quartz background (dark sections) ----------
   Marquina Midnight quartz behind everything with a slight gradient
   darken so text always sits over the darker regions of the slab. */

/* Legacy overlay divs still in HTML → now just a soft vignette for depth,
   the actual texture comes from the parent's .dark-quartz background. */
.marble-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,0,0,.15), transparent 60%);
}
.marble-overlay--dark { display: none; }
.marble-overlay--gold { display: none; }

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { flex-shrink: 0; }

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(138, 110, 68, .35);
}


.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

.btn-lg {
  padding: 18px 32px;
  font-size: 13px;
  letter-spacing: .2em;
  gap: 14px;
}
.btn-lg svg { transition: transform .25s var(--ease); }
.btn-lg:hover svg { transform: translateX(4px); }

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(11,11,11,.72), rgba(11,11,11,.82)),
    url("assets/marquina-midnight-quartz.jpg");
  background-image:
    linear-gradient(rgba(11,11,11,.72), rgba(11,11,11,.82)),
    image-set(
      url("assets/marquina-midnight-quartz.webp") type("image/webp"),
      url("assets/marquina-midnight-quartz.jpg") type("image/jpeg")
    );
  background-size: cover, cover;
  background-position: center, center;
  overflow: visible;
  /* Note: do NOT set `will-change: transform` here — it would establish a
     containing block that traps position:fixed descendants (mobile menu). */
  transition: padding .25s var(--ease), box-shadow .25s var(--ease), transform .3s var(--ease);
}
.site-header.at-footer { transform: translateY(-100%); }
.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}
.brand-logo {
  display: block;
  height: 62px;
  width: auto;
  transition: height .25s var(--ease);
}
.site-header.scrolled .brand-logo { height: 52px; }
.site-header.scrolled .header-inner { padding-block: 12px; }
.brand-footer .brand-logo { height: 78px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}
.main-nav ul a {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 2px;
  position: relative;
  display: inline-block;
}
.main-nav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s var(--ease);
}
.main-nav ul a:hover,
.main-nav ul a.active { color: var(--gold); }
.main-nav ul a:hover::after,
.main-nav ul a.active::after { transform: scaleX(1); }

.btn-cta-header {
  padding: 12px 22px;
  font-size: 11px;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 620px;
  height: calc(100vh - 20px);
  max-height: 780px;
  margin-top: var(--header-h);
  overflow: hidden;
  background: var(--black);
}
.hero-photo {
  position: absolute;
  inset: 0;
  /* Main homepage image is hero.jpg; kitchen-04 stays as an ultimate fallback. */
  background-image: url("assets/hero.jpg"), url("assets/projects/kitchen-04.jpg");
  background-image:
    image-set(
      url("assets/hero.webp") type("image/webp"),
      url("assets/hero.jpg") type("image/jpeg")
    ),
    image-set(
      url("assets/projects/kitchen-04.webp") type("image/webp"),
      url("assets/projects/kitchen-04.jpg") type("image/jpeg")
    );
  background-size: cover, cover;
  background-position: center right, center right;
  background-repeat: no-repeat, no-repeat;
  background-color: #2a2a2a;
  z-index: 1;
}
.hero-dark {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: var(--black);
  background-image:
    linear-gradient(115deg, rgba(11,11,11,.72) 0%, rgba(11,11,11,.45) 60%, rgba(11,11,11,.7) 100%),
    url("assets/marquina-midnight-quartz.jpg");
  background-image:
    linear-gradient(115deg, rgba(11,11,11,.72) 0%, rgba(11,11,11,.45) 60%, rgba(11,11,11,.7) 100%),
    image-set(
      url("assets/marquina-midnight-quartz.webp") type("image/webp"),
      url("assets/marquina-midnight-quartz.jpg") type("image/jpeg")
    );
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  /* signature diagonal arrow — pulled in so more of the hero photo shows */
  clip-path: polygon(0 0, 44% 0, 56% 50%, 44% 100%, 0 100%);
  display: flex;
  align-items: center;
}
/* gold outline echo behind the dark clip */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--gold);
  clip-path: polygon(0 0, 45.2% 0, 57.2% 50%, 45.2% 100%, 0 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  padding-block: 40px;
  /* No max-width so .container's 1240px applies — text starts at
     container-left (aligned with the logo above). Widths on individual
     elements below keep the copy from spilling into the photo area. */
}
.hero-content .eyebrow { color: var(--gold); margin-bottom: 22px; }
.hero-title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: #fff;
  margin: 0 0 22px;
  max-width: 580px;
  text-wrap: balance;
}
.hero-brand-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 26px;
  padding: 8px 14px;
  border-top: 1px solid rgba(138, 110, 68, .55);
  border-bottom: 1px solid rgba(138, 110, 68, .55);
  max-width: 100%;
}
/* Covers large phones too (iPhone Pro Max is ~430pt wide) so the brand line
   stays on one line instead of wrapping with full-width rules. */
@media (max-width: 520px) {
  .hero-brand-line { font-size: 13px; letter-spacing: .16em; padding: 8px 10px; }
}
@media (max-width: 400px) {
  .hero-brand-line { font-size: 12px; letter-spacing: .13em; }
}
.hero-sub {
  font-size: 16.5px;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===================================================
   ABOUT
   =================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
}
.about-photo {
  min-height: 440px;
  background-image: url("assets/projects/porter-reserve-01.jpg");
  background-size: cover;
  background-position: center;
  background-color: #eee;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
}
.about-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.15;
  max-width: 540px;
}
.about-copy .lead {
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 500;
  max-width: 560px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.about-copy > p:not(.lead):not(.eyebrow):not(.about-mission) {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin-bottom: 18px;
  line-height: 1.7;
}
.about-copy .about-mission {
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin-bottom: 40px;
  font-size: 15.5px;
}
.about-copy .about-mission strong {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Why Us block (inside About) ---------- */
.why-block {
  margin-top: clamp(60px, 8vw, 96px);
  padding-top: clamp(40px, 5vw, 56px);
}
.why-block .eyebrow { margin-bottom: 10px; }
.why-block-title {
  text-align: center;
  font-family: var(--f-head);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 44px;
  line-height: 1.2;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 32px;
}
.why-item {
  position: relative;
  padding-top: 14px;
  border-top: 2px solid var(--gold);
}
.why-num {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--gold);
  margin: 6px 0 12px;
}
.why-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}
.why-item p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}


.divider-v {
  width: 1px;
  align-self: stretch;
  background: var(--line);
  min-height: 100px;
}
.divider-v--light { background: rgba(255,255,255,.18); }

/* ===================================================
   SERVICES
   =================================================== */
.services-inner { text-align: center; position: relative; z-index: 2; }
.services-inner .eyebrow { color: var(--gold); margin-bottom: 14px; }
.services-inner .section-title { margin-bottom: 60px; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.service { text-align: center; }
.service-icon {
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 24px;
  object-fit: contain;
  /* PNGs already contain the RESIDENTIAL / MULTIFAMILY / TURNKEY wordmarks */
}
.service p {
  font-size: 14.5px;
  color: rgba(255,255,255,.75);
  max-width: 280px;
  line-height: 1.65;
  margin: 0 auto;
}

/* ===================================================
   PROCESS
   =================================================== */
.process .eyebrow,
.process .section-title { text-align: center; }
.process .section-title { margin-bottom: 56px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 32px;
}
.process-step {
  position: relative;
  padding-top: 8px;
  border-top: 2px solid var(--gold);
}
.process-num {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
  margin: 12px 0 10px;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

/* ===================================================
   PROJECTS
   =================================================== */
.projects .eyebrow { margin-bottom: 14px; }
.projects .section-title { margin-bottom: 50px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.project-grid--8 {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
}
.project-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  display: block;
  background: #222;
  margin: 0;
  transition: transform .35s var(--ease);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.project-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.8) 100%);
  transition: opacity .35s var(--ease);
}
.project-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(0);
  transition: transform .35s var(--ease);
}
.project-cat {
  font-family: var(--f-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.project-name {
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
}
.project-card:hover img { transform: scale(1.05); }
.project-card:hover .project-caption { transform: translateY(-2px); }

/* ---------- Project lightbox ---------- */
.project-card { cursor: pointer; }
.project-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lightbox {
  border: none;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(5, 5, 5, 0.93); }
.lightbox figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: min(1400px, 100vw - 120px);
}
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
}
.lightbox figcaption {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 520px) {
  .lightbox figure { max-width: calc(100vw - 24px); }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  /* keep arrows clear of the photo on narrow screens */
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
}


/* ===================================================
   SERVICE AREA (standalone section between Services & Process)
   =================================================== */
.service-area-body {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.service-area-map-wrap {
  border-radius: 4px;
  overflow: hidden;
}
.service-area-map {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.92;
}
.service-area-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.service-area-copy > section {
  margin: 0;
}
.service-area-copy > section h3 {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.service-area-copy > section p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0;
  max-width: 40ch;
}
.service-area-copy > section p strong {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 820px) {
  .service-area-body { grid-template-columns: 1fr; gap: 32px; }
  .service-area-copy > section p { max-width: 100%; }
}

/* ===================================================
   CONTACT CTA
   =================================================== */
.contact-cta {
  position: relative;
  background: var(--cream);
  padding: clamp(60px, 8vw, 110px) 0;
  overflow: hidden;
}
.cta-gold-strip {
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 8px;
  background: var(--gold);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 100%, 0 100%);
}
.cta-inner {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- Service area (inside Contact left column) ---------- */

/* ---------- Contact form ---------- */
.contact-form {
  background: #fff;
  border-radius: 4px;
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--gold);
}
.form-field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row .form-field { margin-bottom: 18px; }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
.form-field label {
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.form-radio {
  border: none;
  padding: 0;
  margin: 0 0 18px;
  display: block;
}
.form-radio legend {
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0;
  margin: 0 0 10px;
  display: block;
}
.form-radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-radio label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--cream-2);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin: 0;
}
.form-radio label:hover {
  border-color: var(--gold);
}
.form-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: border-color .2s var(--ease);
}
.form-radio input[type="radio"]:checked {
  border-color: var(--gold);
}
.form-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--gold);
}
.form-radio label:has(input:checked) {
  border-color: var(--gold);
  background: #fff;
  color: var(--ink);
}
.form-radio input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(138, 110, 68, .3);
}
.form-field .opt {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: none;
  font-size: 10.5px;
  margin-left: 4px;
}
.form-field input,
.form-field textarea {
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  border-radius: 3px;
  padding: 11px 14px;
  width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.55;
}
.form-field input:hover,
.form-field textarea:hover {
  border-color: #c9c1b0;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(138, 110, 68, .18);
}
.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: #c04a3d;
}
.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  padding: 16px 24px;
  font-size: 12px;
}
.form-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
.form-note:empty { display: none; margin: 0; }
.form-note a { color: var(--gold); text-decoration: underline; }
.form-note.is-error { color: #c04a3d; }
.form-note.is-success { color: #2d7a3f; font-weight: 600; }
/* Honeypot — invisible to humans AND to browser autofill (Chrome autofills
   offscreen fields but never display:none ones), still visible to naive bots
   parsing the raw HTML. */
.hp { display: none !important; }
a.info-val:hover { color: var(--gold); }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(11,11,11,.7), rgba(11,11,11,.85)),
    url("assets/marquina-midnight-quartz.jpg");
  background-image:
    linear-gradient(rgba(11,11,11,.7), rgba(11,11,11,.85)),
    image-set(
      url("assets/marquina-midnight-quartz.webp") type("image/webp"),
      url("assets/marquina-midnight-quartz.jpg") type("image/jpeg")
    );
  background-size: cover, cover;
  background-position: center bottom, center bottom;
  color: #fff;
  padding-top: 34px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.footer-nav a:hover { color: var(--gold); }

.footer-contact-band {
  padding-block: 18px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-contact-band .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-contact-band a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-family: var(--f-body);
  font-size: 14px;
  transition: color .2s var(--ease);
}
.footer-contact-band a:hover { color: var(--gold); }
.footer-contact-band a svg { color: var(--gold); flex-shrink: 0; }
.footer-contact-sep {
  color: rgba(255,255,255,.35);
  font-weight: 700;
}
@media (max-width: 520px) {
  .footer-contact-sep { display: none; }
  .footer-contact-band .container { flex-direction: column; }
}

.footer-tagline-band {
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-block: clamp(22px, 3vw, 34px);
  text-align: center;
}
.footer-tagline {
  font-family: var(--f-head);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  line-height: 1.2;
}
.footer-tagline span { display: inline-block; margin: 0 6px; }

.footer-bottom {
  padding-block: 18px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.55);
  font-size: 12.5px;
}
.footer-bottom-inner p { margin: 0; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; align-items: start; }
  .about-photo { max-width: 100%; min-height: 0; aspect-ratio: 16/11; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid--8 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .site-header.scrolled .main-nav { top: var(--header-h-scrolled); }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    transition: top .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 32px 28px;
    transform: translateX(105%);
    box-shadow: -12px 0 30px rgba(0,0,0,.35);
    overflow-y: auto;
    visibility: hidden;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; transition: top .25s var(--ease), transform .3s var(--ease), visibility 0s; }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  .main-nav a { padding: 10px 0; display: block; font-size: 15px; }
  .btn-cta-header { align-self: flex-start; }

  .hero { min-height: 560px; height: auto; }
  .hero-dark { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .hero::before { display: none; }
  /* Don't ship the hero photo to mobile — it's covered by the dark clip and
     was barely visible at .18 opacity anyway. Saves ~617 KB on cellular. */
  .hero-photo { display: none; }
  /* Keep the container's symmetric side padding — the old desktop design
     zeroed padding-right so text could slide under the diagonal photo, but on
     phones that bled the CTA button and brand-line rules to the screen edge. */
  .hero-content { padding-block: 64px 48px; }
  .hero-title { font-size: clamp(30px, 8vw, 44px); }

  .divider-v { display: none; }

  .services-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid .divider-v { display: none; }

  .process-grid { grid-template-columns: 1fr; }


  .project-grid { grid-template-columns: 1fr; }
  .project-grid--8 { grid-template-columns: 1fr; }

  .contact-form { padding: 22px; }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-nav ul { justify-content: center; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 18px; font-size: 11px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
    scroll-behavior: auto;
  }
}
