/* ============================================================
   The Building Guys — workshop-industrial aesthetic
   Type stack: Anton (display) · Archivo (body) · JetBrains Mono (spec)
   ============================================================ */

:root {
  --red: #C8332E;
  --red-deep: #A82922;
  --ink: #1A1A1A;
  --ink-soft: #2A2A2A;
  --ink-mute: #5A5550;
  --tan: #A87445;
  --tan-soft: #C9A47B;
  --bg: #FAF7F2;
  --bg-dim: #F2EDE2;
  --bg-warm: #EFE8DA;
  --line: #E1D8C5;
  --line-strong: #C8BDA5;

  --display: 'Anton', 'Bebas Neue', Impact, 'Arial Narrow Bold', sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --container: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);
  --pad-y: clamp(64px, 9vw, 144px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--red); color: var(--bg); }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--red);
}

/* ---------- layout primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
section { position: relative; }

.section-pad { padding: var(--pad-y) 0; }

/* blueprint grid background */
.grid-bg {
  background-image:
    linear-gradient(rgba(26,26,26,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,26,26,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
}

/* ---------- top ticker bar ---------- */
.ticker {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--ink);
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  padding: 10px 0;
  animation: tick 38s linear infinite;
  width: max-content;
}
.ticker-track span { padding: 0 36px; }
.ticker-track span::before { content: '◆ '; color: var(--red); margin-right: 8px; }
@keyframes tick {
  to { transform: translateX(-50%); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand .mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}
.brand .mark rect { fill: var(--red); }
.brand .name {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.brand .name span { color: var(--red); }

.nav { display: flex; gap: 32px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 22px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '→';
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: 0;
  transition: transform 0.25s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--bg);
}
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-outline {
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { padding: 10px 14px; }

.menu-toggle {
  display: none;
  width: 36px; height: 36px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 17px; }
.menu-toggle span:nth-child(3) { top: 22px; }
.menu-toggle.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 10vh, 96px) 0 clamp(64px, 12vh, 120px); position: relative; }
.hero .grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 22px;
}
.hero h1 .red { color: var(--red); }
.hero h1 .line { display: block; }
.hero .lede {
  margin-top: 32px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  max-width: 540px;
  color: var(--ink-soft);
}
.hero .lede strong { color: var(--ink); font-weight: 700; }
.hero .ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .stats {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero .stat .num {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--ink);
}
.hero .stat .num em { color: var(--red); font-style: normal; }
.hero .stat .lbl {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero-fig {
  position: relative;
  align-self: center;
}
.hero-fig .frame {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--ink);
  padding: 14px;
  transform: rotate(-1.5deg);
  box-shadow: 18px 18px 0 0 var(--bg-warm), 18px 18px 0 1px var(--line-strong);
  transition: transform 0.5s var(--ease);
}
.hero-fig:hover .frame { transform: rotate(0); }
.hero-fig .frame img { display: block; width: 100%; height: auto; }
.hero-fig .caption {
  position: absolute;
  left: 14px; right: 14px;
  bottom: -34px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-fig .caption .ref { color: var(--red); font-weight: 600; }
.hero-fig::before {
  content: '';
  position: absolute;
  inset: -40px -40px -40px -40px;
  background-image:
    linear-gradient(rgba(200,51,46,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,51,46,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
  border-radius: 4px;
}

/* ---------- section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-head .ref {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.2em;
  font-weight: 600;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-head .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

/* ---------- services ---------- */
.services .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--line);
}
.services .card {
  background: var(--bg);
  padding: 36px 28px 32px;
  position: relative;
  transition: background 0.3s var(--ease);
}
.services .card:hover { background: var(--ink); color: var(--bg); }
.services .card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.2em;
  font-weight: 600;
}
.services .card .icon {
  margin: 28px 0 24px;
  width: 48px; height: 48px;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.services .card:hover .icon { color: var(--red); }
.services .card:hover .num { color: var(--bg); }
.services .card h3 {
  font-family: var(--display);
  font-size: clamp(26px, 2.4vw, 34px);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.services .card:hover h3 { color: var(--bg); }
.services .card p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mute);
  transition: color 0.3s var(--ease);
}
.services .card:hover p { color: var(--bg-dim); }
.services .card::after {
  content: '';
  position: absolute;
  left: 28px; right: 28px; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.services .card:hover::after { transform: scaleX(1); }

/* ---------- about (dark contrast) ---------- */
.about {
  background: var(--ink);
  color: var(--bg);
  padding: var(--pad-y) 0;
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.about .container { position: relative; z-index: 1; }
.about .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about .eyebrow { color: var(--red); }
.about h2 {
  font-family: var(--display);
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
  margin-top: 18px;
  color: var(--bg);
}
.about h2 .red { color: var(--red); }
.about .body {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--bg-warm);
  max-width: 520px;
}
.about .body p + p { margin-top: 16px; }
.about .body strong { color: var(--bg); font-weight: 700; }
.about .signers {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  gap: 36px;
}
.about .signer .name {
  font-family: var(--display);
  font-size: 28px;
  color: var(--bg);
  text-transform: uppercase;
  line-height: 1;
}
.about .signer .role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--tan-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 6px;
}

.about .photo-stack {
  position: relative;
}
.about .photo-stack .photo {
  position: relative;
  border: 1px solid var(--bg-warm);
  padding: 12px;
  background: var(--bg);
}
.about .photo-stack .photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 20%;
}
.about .photo-stack .photo .tag {
  position: absolute;
  top: -12px; left: 12px;
  background: var(--red);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
  font-weight: 600;
}
.about .photo-stack .photo .caption {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.about .photo-stack .cartoon {
  position: absolute;
  width: 32%;
  bottom: -10%;
  right: -8%;
  border: 1px solid var(--bg-warm);
  padding: 6px;
  background: var(--bg);
  transform: rotate(4deg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.about .photo-stack .cartoon img { display: block; width: 100%; }

/* ---------- projects ---------- */
.projects {
  padding: var(--pad-y) 0;
  background: var(--bg);
}
.projects .grid-mason {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 80px;
  gap: 16px;
}
.proj {
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.proj img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
  filter: saturate(0.9) contrast(1.05);
}
.proj:hover img { transform: scale(1.04); filter: saturate(1.1) contrast(1.05); }
.proj .label {
  position: absolute;
  left: 0; bottom: 0; right: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0) 100%);
  color: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.proj:hover .label { transform: translateY(0); }
.proj .label .ref {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--red);
}
.proj .label .ttl {
  font-family: var(--display);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}
.proj .corner {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 600;
  padding: 5px 8px;
  z-index: 2;
}

.proj.p1 { grid-column: span 4; grid-row: span 5; }
.proj.p2 { grid-column: span 2; grid-row: span 5; }
.proj.p3 { grid-column: span 2; grid-row: span 4; }
.proj.p4 { grid-column: span 2; grid-row: span 4; }
.proj.p5 { grid-column: span 2; grid-row: span 4; }
.proj.p6 { grid-column: span 3; grid-row: span 4; }
.proj.p7 { grid-column: span 3; grid-row: span 4; }

/* ---------- areas served (red strip — visual hero moment) ---------- */
.areas {
  background: var(--red);
  color: var(--bg);
  padding: clamp(72px, 10vw, 144px) 0;
  overflow: hidden;
  position: relative;
}
.areas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.areas .container { position: relative; }
.areas .head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.areas .head .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 600;
  align-self: end;
}
.areas .head h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 0.92;
  text-transform: uppercase;
  text-align: right;
  letter-spacing: -0.005em;
}
.areas .wall {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 36px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}
.areas .wall span { display: inline; }
.areas .wall .dot {
  color: var(--ink);
  margin: 0 0.4em;
  font-family: var(--body);
  font-weight: 900;
}
.areas .wall .end {
  display: block;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.85;
}

/* ---------- why us ---------- */
.why { padding: var(--pad-y) 0; background: var(--bg-dim); }
.why .grid-w {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.why .item {
  padding: 36px 28px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.why .item:last-child { border-right: 0; }
.why .item .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.2em;
  font-weight: 600;
}
.why .item h3 {
  margin-top: 24px;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.why .item p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mute);
}
.why .item::before {
  content: '';
  position: absolute;
  left: 28px; top: 0;
  width: 32px;
  height: 2px;
  background: var(--red);
}

/* ---------- contact ---------- */
.contact {
  padding: var(--pad-y) 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.contact .container { position: relative; }
.contact .section-head {
  border-bottom-color: rgba(255,255,255,0.15);
}
.contact .section-head h2 { color: var(--bg); }
.contact .section-head .meta { color: var(--tan-soft); }

.contact .grid {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact .actions { display: flex; flex-direction: column; gap: 12px; }
.contact .action {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.02);
  color: var(--bg);
  transition: all 0.25s var(--ease);
}
.contact .action:hover {
  border-color: var(--red);
  background: var(--red);
  transform: translateX(4px);
}
.contact .action .icon { width: 28px; height: 28px; color: var(--red); transition: color 0.25s var(--ease); }
.contact .action:hover .icon { color: var(--bg); }
.contact .action .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tan-soft); transition: color 0.25s var(--ease); }
.contact .action:hover .lbl { color: rgba(255,255,255,0.85); }
.contact .action .val { font-family: var(--display); font-size: 22px; text-transform: uppercase; line-height: 1; margin-top: 6px; letter-spacing: -0.005em; }
.contact .action .arrow { font-size: 22px; opacity: 0.4; transition: all 0.25s var(--ease); }
.contact .action:hover .arrow { opacity: 1; transform: translateX(4px); }

.contact .form {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 36px 32px;
  background: rgba(255,255,255,0.02);
}
.contact .form .field { margin-bottom: 22px; }
.contact .form label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan-soft);
  margin-bottom: 8px;
}
.contact .form input,
.contact .form select,
.contact .form textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(255,255,255,0.25);
  color: var(--bg);
  font-family: var(--body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s var(--ease);
}
.contact .form input:focus,
.contact .form select:focus,
.contact .form textarea:focus {
  border-bottom-color: var(--red);
}
.contact .form textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.contact .form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l5 5 5-5' stroke='%23FAF7F2' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; }
.contact .form select option { background: var(--ink); color: var(--bg); }
.contact .form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact .form button[type=submit] {
  margin-top: 12px;
  width: 100%;
  background: var(--red);
  color: var(--bg);
  border: 0;
  padding: 18px 24px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.contact .form button[type=submit]:hover { background: var(--red-deep); }
.contact .form .pot { display: none; }
.contact .form .note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  text-align: center;
}
.contact .form .success {
  background: rgba(168, 116, 69, 0.15);
  border: 1px solid var(--tan);
  padding: 18px;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--bg);
  display: none;
}
.contact .form .success.on { display: block; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--bg-warm);
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.site-footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer .legal {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}
.site-footer .social {
  display: flex;
  gap: 12px;
}
.site-footer .social a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.25s var(--ease);
}
.site-footer .social a:hover { background: var(--red); border-color: var(--red); }
.site-footer .social svg { width: 16px; height: 16px; color: var(--bg-warm); }

/* ---------- floating WhatsApp ---------- */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--bg);
  padding: 14px 22px 14px 16px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(200,51,46,0.35), 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s var(--ease);
}
.fab.hide { opacity: 0; pointer-events: none; transform: translateY(12px); }
.fab:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(200,51,46,0.45), 0 6px 12px rgba(0,0,0,0.18); }
.fab svg { width: 22px; height: 22px; }
.fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(200,51,46,0.5);
  animation: pulse 2.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200,51,46,0.5); }
  60% { box-shadow: 0 0 0 24px rgba(200,51,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,51,46,0); }
}

/* ---------- entrance animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.in-view .fade-up,
.fade-up.in-view { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in-view > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.in-view > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.in-view > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.in-view > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.in-view > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.in-view > *:nth-child(7) { transition-delay: 0.47s; }

/* hero entrance is automatic on load */
.hero-anim > * { opacity: 0; transform: translateY(20px); animation: heroIn 0.8s var(--ease) forwards; }
.hero-anim > *:nth-child(1) { animation-delay: 0.05s; }
.hero-anim > *:nth-child(2) { animation-delay: 0.18s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.34s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.5s; }
.hero-anim > *:nth-child(5) { animation-delay: 0.62s; }
.hero-fig { opacity: 0; transform: translateY(20px); animation: heroIn 0.9s 0.3s var(--ease) forwards; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-fig { max-width: 460px; margin: 32px auto 16px; }
  .services .cards { grid-template-columns: repeat(2, 1fr); }
  .why .grid-w { grid-template-columns: repeat(2, 1fr); }
  .why .item:nth-child(2) { border-right: 0; }
  .why .item:nth-child(1), .why .item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .about .grid { grid-template-columns: 1fr; }
  .about .photo-stack { max-width: 480px; }
  .contact .grid { grid-template-columns: 1fr; }
}

@media (max-width: 740px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px 24px 32px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .site-header .btn { display: none; }
  .ticker-track { font-size: 11px; padding: 8px 0; }

  .projects .grid-mason {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 70px;
  }
  .proj.p1 { grid-column: span 2; grid-row: span 5; }
  .proj.p2 { grid-column: span 2; grid-row: span 4; }
  .proj.p3, .proj.p4, .proj.p5 { grid-column: span 1; grid-row: span 4; }
  .proj.p6, .proj.p7 { grid-column: span 1; grid-row: span 4; }
  .proj .label { transform: translateY(0); }

  .why .grid-w { grid-template-columns: 1fr; }
  .why .item { border-right: 0; border-bottom: 1px solid var(--line); }
  .why .item:last-child { border-bottom: 0; }

  .contact .form { padding: 28px 22px; }
  .contact .form .row2 { grid-template-columns: 1fr; }

  .hero h1 { margin-top: 20px; }
  .areas .head { grid-template-columns: 1fr; gap: 12px; }
  .areas .head h2 { text-align: left; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head .meta { text-align: left; }

  .fab { padding: 12px 18px 12px 14px; font-size: 11px; }
  .fab .label-text { display: none; }
  .fab svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ticker-track { animation: none; }
}
