:root {
  --ink: #111214;
  --ink-2: #2a2e33;
  --muted: #5b626b;
  --line: #e3e5e8;
  --paper: #ffffff;
  --paper-2: #f3f2ef;
  --red: #8e1b1f;
  --red-dark: #6e1417;
  --max: 1180px;
  --radius: 2px;
  --head: "Jost", "Futura", "Century Gothic", sans-serif;
  --body: "Jost", "Futura", "Century Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.76rem; color: var(--muted); font-weight: 600; margin-bottom: 1.2em; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.rule { width: 100%; height: 1px; background: var(--line); border: 0; margin: 0 0 2em; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 760px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { font-family: var(--body); font-size: 0.93rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: 8px 12px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); color: var(--ink); }
.nav a.btn { color: #fff; border-bottom: 2px solid var(--red); margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font-family: var(--head); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--red); color: #fff; font-family: var(--body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; padding: 14px 26px; border-radius: var(--radius); text-decoration: none; border: 2px solid var(--red); cursor: pointer; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.42; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,18,20,.85) 0%, rgba(17,18,20,.35) 70%); }
.hero .wrap { z-index: 1; }
.hero .wrap { position: relative; padding: 150px 20px 130px; }
.hero h1 { max-width: 900px; }
.hero p { font-size: 1.25rem; max-width: 700px; color: #e8e9eb; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero.short .wrap { padding: 90px 20px 70px; }
.hero .eyebrow { color: #e8e9eb; }

/* Sections */
section { padding: 112px 0; }
section.alt { background: var(--paper-2); }
section.dark { background: var(--ink); color: #fff; }
section.dark .lede, section.dark p { color: #d7d9dc; }
.grid { display: grid; gap: 24px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--ink); }
.card .num { display: block; font-family: var(--head); font-size: 0.9rem; color: var(--red); font-weight: 600; margin-bottom: 18px; }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,0.15); margin-top: 32px; }
.markets div { padding-top: 28px; }
.markets h3 { color: #fff; font-size: 1.9rem; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; height: 460px; object-fit: cover; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 10px; background: var(--red); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.98rem; }
.phase h3 { font-size: 1.8rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; }
.clients div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 110px; display: flex; align-items: center; justify-content: center; padding: 16px; }
.clients img { max-height: 72px; width: auto; object-fit: contain; }
.clients div:hover img { filter: none; opacity: 1; }

/* CTA band */
.cta { background: var(--red); color: #fff; padding: 64px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0; }
.cta p { margin: 6px 0 0; color: #f6dcdd; }
.cta .btn { background: #fff; color: var(--red); border-color: #fff; }
.cta .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Notice */
.notice { border-left: 4px solid var(--red); background: #fff; padding: 22px 26px; border-radius: var(--radius); }

/* Contact details */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-family: var(--body); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list strong { font-size: 1.2rem; font-weight: 600; color: var(--ink); text-decoration: none; }

/* Forms */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.wix-form .field { margin-bottom: 18px; }
.wix-form label, .wix-form .group-label { display: block; font-weight: 600; margin-bottom: 6px; }
.wix-form .req { color: var(--red); }
.wix-form input[type=text], .wix-form input[type=email], .wix-form input[type=tel], .wix-form input[type=url], .wix-form input[type=number], .wix-form input[type=date], .wix-form input[type=time], .wix-form input[type=datetime-local], .wix-form select, .wix-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #c9cdd2; border-radius: var(--radius); padding: 11px 12px;
}
.wix-form textarea { min-height: 140px; resize: vertical; }
.wix-form input:focus, .wix-form select:focus, .wix-form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.wix-form [aria-invalid="true"] { border-color: var(--red); }
.wix-form .checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px; }
.wix-form .checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.wix-form .checks input, .wix-form input[type=checkbox], .wix-form input[type=radio] { width: 18px; height: 18px; accent-color: var(--red); }
.wix-form .help { font-size: 0.92rem; color: var(--muted); margin: 6px 0 0; }
.wix-form .err { color: var(--red); font-size: 0.92rem; margin: 6px 0 0; }
.wix-form .form-error { background: #fbeaea; color: var(--red-dark); padding: 12px 14px; border-radius: var(--radius); margin-bottom: 14px; }
.form-thanks { padding: 24px; border-left: 4px solid var(--red); background: var(--paper-2); }
.form-status { color: var(--muted); }

/* Footer */
.site-footer { background: #0f1113; color: #c3c7cc; padding: 56px 0 28px; font-size: 0.98rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.16em; color: #fff; font-size: 0.78rem; margin: 0 0 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .legal { border-top: 1px solid #2a2e33; margin-top: 40px; padding-top: 20px; font-size: 0.88rem; color: #8b9097; }

/* Responsive */
@media (max-width: 1060px) {
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split img { height: 320px; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin: 12px 0 0; text-align: center; }
  .menu-toggle { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .grid.c2, .grid.c3, .grid.c4, .markets, .site-footer .cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 180px; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { padding: 80px 20px 72px; }
  .wix-form .checks { grid-template-columns: 1fr; }
  .form-wrap { padding: 22px; }
  .brand img { height: 38px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat-row div { padding: 28px 24px 0 0; }
.stat-row strong { display: block; font-family: var(--head); font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat-row span { color: var(--muted); font-size: 0.95rem; }
.phase { border-top: 1px solid var(--line); padding-top: 32px; }
.actions { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.wix-form .btn.ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
@media (max-width: 1060px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }
.hero-logo { display: block; margin-bottom: 40px; }
.hero-logo img { height: 110px; width: auto; filter: url(#logo-on-dark) drop-shadow(0 4px 18px rgba(0,0,0,.35)); }
@media (max-width: 640px) { .hero-logo { margin-bottom: 28px; } .hero-logo img { height: 72px; } }

.svc-block { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
.svc-grid h3 { margin-bottom: 16px; }
.svc-grid .pill-list li { background: var(--paper-2); border-color: transparent; font-size: 0.92rem; padding: 7px 14px; }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; gap: 32px; } }

.hero-tags { margin-bottom: 28px; max-width: 980px; }
.hero-tags-row { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: #e8e9eb; }
.hero-tags-row + .hero-tags-row { margin-top: 10px; color: #b9bdc3; font-weight: 500; }
.hero-tags-row.markets::before { content: ""; width: 28px; height: 2px; background: var(--red); align-self: center; margin-right: 12px; }
.hero-tags-row span:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--red); }

.svc-icon { width: 64px; height: 64px; color: var(--ink); display: block; margin-bottom: 18px; }
.svc-grid > div { border-top: 1px solid var(--line); padding-top: 28px; }

.card-icon { width: 72px; height: 72px; color: var(--ink); display: block; margin-bottom: 22px; }
.card .card-icon + .num { margin-top: 0; }
@media (max-width: 640px) { .card-icon { width: 60px; height: 60px; margin-bottom: 16px; } }

.card-icon { width: 96px; height: 96px; stroke-width: 2.4; }
.card-icon path, .card-icon rect, .card-icon circle { vector-effect: non-scaling-stroke; }
@media (max-width: 640px) { .card-icon { width: 80px; height: 80px; } }

.card-icon.old-icon { width: 120px; height: 96px; filter: drop-shadow(1px 1px 2px rgba(0,0,0,.35)); }
@media (max-width: 640px) { .card-icon.old-icon { width: 100px; height: 80px; } }

.card.has-photo { padding-top: 0; overflow: hidden; }
.card-photo { display: block; width: calc(100% + 64px); max-width: none; margin: 0 -32px 24px; height: 220px; object-fit: cover; }
.phase-photo { display: block; width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
@media (max-width: 640px) { .card-photo { height: 200px; } .phase-photo { height: 200px; } }

.svc-grid.boxes { gap: 28px; }
.svc-grid.boxes > div { border-top: 0; padding-top: 0; }
.svc-box { background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 22px rgba(17,18,20,.08); padding: 32px 32px 28px; }
.svc-box h3 { color: var(--red); text-transform: uppercase; letter-spacing: .04em; font-size: 1.35rem; margin-bottom: 18px; }
.svc-box .svc-icon { margin-bottom: 14px; }
.svc-bullets { list-style: disc; padding-left: 1.2em; margin: 0; columns: 1; }
.svc-bullets li { padding: 4px 0; line-height: 1.45; break-inside: avoid; }
.svc-bullets li::marker { color: var(--ink); }
.svc-bullets.cols { columns: 3; column-gap: 40px; }
@media (max-width: 1060px) { .svc-bullets.cols { columns: 2; } }
@media (max-width: 640px) { .svc-box { padding: 24px 22px; } .svc-bullets.cols { columns: 1; } }

/* Architectural type (Jost, Futura-style geometric) */
body { font-weight: 400; letter-spacing: 0.005em; }
h1, h2, h3 { font-weight: 500; letter-spacing: 0.01em; line-height: 1.1; }
h1 { text-transform: uppercase; letter-spacing: 0.04em; }
h2 { letter-spacing: 0.015em; }
.nav a { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem; }
.btn { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; font-size: 0.85rem; }
.stat-row strong { letter-spacing: 0.01em; font-weight: 500; }
.svc-box h3 { letter-spacing: 0.08em; font-weight: 500; }

.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }

.svc-box.has-photo { padding-top: 0; overflow: hidden; }
.svc-photo { display: block; width: calc(100% + 64px); max-width: none; margin: 0 -32px 22px; height: 200px; object-fit: cover; }
@media (max-width: 640px) { .svc-photo { width: calc(100% + 44px); margin: 0 -22px 18px; } }

/* White client logos need a dark tile */
.clients div:has(img[alt="TMVCS"]), .clients div:has(img[alt="SATLC"]) { background: var(--ink); border-color: var(--ink); }

/* Before / after */
.ba-pair { margin-top: 32px; }
.ba-pair h3 { margin-bottom: 14px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-grid figure { margin: 0; position: relative; }
.ba-grid img { display: block; width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); }
.ba-grid figcaption { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; }
.ba-grid figure + figure figcaption { background: var(--red); }
@media (max-width: 640px) { .ba-grid img { height: 240px; } }

/* Project management band */
.pm-band { display: grid; grid-template-columns: 1fr 1.6fr; gap: 0; margin-top: 32px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); overflow: hidden; }
.pm-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.pm-body { padding: 32px; }
.checklist.cols { columns: 2; column-gap: 32px; }
.checklist.cols li { break-inside: avoid; }
@media (max-width: 860px) { .pm-band { grid-template-columns: 1fr; } .pm-photo { min-height: 220px; height: 220px; } .checklist.cols { columns: 1; } }

.ba-grid.tall { max-width: 760px; }
.ba-grid.tall img { height: 480px; object-position: center; }
@media (max-width: 640px) { .ba-grid.tall img { height: 300px; } }

/* Larger header logo */
.site-header .wrap { height: 100px; }
.brand img { height: 72px; }
@media (max-width: 900px) { .nav { top: 100px; } }
@media (max-width: 640px) { .site-header .wrap { height: 80px; } .brand img { height: 54px; } .nav { top: 80px; } }
