/* ==========================================================================
   VCARVE Constructions — site styles
   Palette kept from the original site: VCARVE red, charcoal, white.
   ========================================================================== */

:root {
  --red: #ed1c24;
  --red-dark: #c4141b;
  --ink: #16191c;          /* darkest sections, footer */
  --charcoal: #212529;     /* original nav / text colour */
  --text: #2a2e33;
  --muted: #646b73;
  --line: #e2e5e8;
  --bg: #ffffff;
  --bg-alt: #f4f5f6;
  --on-dark: #f3f4f5;
  --on-dark-muted: #a9b0b7;

  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(22, 25, 28, 0.12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--charcoal); line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 15px 26px; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--charcoal); }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: #000; }
.btn svg { width: 16px; height: 16px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--red);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.08); border-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: var(--charcoal);
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .2s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { right: 0; }
.nav .btn { padding: 11px 20px; color: #fff; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--charcoal);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .brand img { height: 24px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(0,0,0,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--red); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 700px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: min(86vh, 820px); display: flex; align-items: center;
  color: #fff; background: var(--ink); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14,16,18,.92) 0%, rgba(14,16,18,.72) 42%, rgba(14,16,18,.25) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 140px; }
.hero__content { max-width: 680px; }
.hero .eyebrow { color: #fff; }
.hero h1 {
  color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: -.015em;
  font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; margin-bottom: 24px;
}
.hero h1 span { color: var(--red); }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #e4e7ea; max-width: 580px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Stats card overlapping the hero */
.stats-wrap { position: relative; z-index: 3; margin-top: -80px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--red); border-radius: var(--radius);
}
.stat { padding: 30px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 3.6vw, 44px); color: var(--charcoal); line-height: 1; letter-spacing: -.02em; }
.stat__num small { font-size: .5em; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.stat__label { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Project cards ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 5; background: var(--charcoal); color: #fff; text-decoration: none;
}
.project-card--feature { grid-column: span 2; aspect-ratio: auto; min-height: 100%; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(14,16,18,.88) 100%);
}
.project-card:hover img { transform: scale(1.05); }
.project-card__tags { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  display: inline-block; background: #fff; color: var(--charcoal);
  font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 2px;
}
.tag--red { background: var(--red); color: #fff; }
.project-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 22px 24px; }
.project-card__body::before { content: ""; display: block; width: 36px; height: 3px; background: var(--red); margin-bottom: 14px; transition: width .3s; }
.project-card:hover .project-card__body::before { width: 72px; }
.project-card h3 { color: #fff; font-size: 21px; font-weight: 700; margin: 0 0 4px; }
.project-card--feature h3 { font-size: clamp(22px, 2.6vw, 32px); }
.project-card__meta { font-size: 14px; color: #d5d9dd; }
@media (max-width: 960px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card--feature { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card, .project-card--feature { grid-column: auto; aspect-ratio: 4 / 3; }
}

/* ---------- Model (Invest / Develop / Build) ---------- */
.model { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.model .section-head { margin-bottom: 0; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--red); line-height: 1; }
.step h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .model { grid-template-columns: 1fr; } .step { grid-template-columns: 56px 1fr; } .step__num { font-size: 32px; } }

/* ---------- Track record table ---------- */
.record { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 1px 0 var(--line); }
.record th, .record td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.record thead th {
  font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark-muted); background: var(--ink); border-bottom: 0;
}
.record tbody tr { transition: background-color .15s; }
.record tbody tr:hover { background: #fafafa; }
.record__year { font-family: var(--font-head); font-weight: 700; color: var(--charcoal); white-space: nowrap; }
.record__name { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--charcoal); }
.record__name a { text-decoration: none; }
.record__name a:hover { color: var(--red); }
.record__note { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--muted); }
.record td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.record td:last-child { text-align: right; }
@media (max-width: 760px) {
  .record thead { display: none; }
  .record, .record tbody, .record tr, .record td { display: block; width: 100%; }
  .record tr { padding: 18px 18px 14px; border-bottom: 1px solid var(--line); position: relative; }
  .record td { padding: 2px 0; border: 0; }
  .record td:last-child { text-align: left; padding-top: 8px; }
  .record td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 14px; }
  .record td.record__year::before { content: none; }
}

/* ---------- Mission quote ---------- */
.mission { position: relative; text-align: center; }
.mission blockquote { margin: 0 auto; max-width: 920px; }
.mission__mark { font-family: Georgia, serif; font-size: 110px; line-height: .6; color: var(--red); display: block; margin-bottom: 18px; }
.mission blockquote p {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.4; color: #fff; margin-bottom: 26px;
}
.mission cite { font-style: normal; font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--on-dark-muted); }
.mission cite strong { color: #fff; }

/* ---------- Audience cards ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 28px;
  display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.audience:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.audience__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.audience__icon svg { width: 24px; height: 24px; }
.audience h3 { font-size: 20px; margin-bottom: 10px; }
.audience p { color: var(--muted); flex: 1; }
@media (max-width: 860px) { .audiences { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact .section-head { margin-bottom: 24px; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); align-items: start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: var(--red); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list .label { display: block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 2px; }
.contact-list .value { font-size: 18px; color: #fff; }
.contact-list a.value { text-decoration: none; }
.contact-list a.value:hover { color: var(--red); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Placeholder for content that still needs to be supplied (see CONTENT-TODO.md) */
.tbd { border: 1px dashed currentColor; padding: 0 6px; border-radius: 3px; opacity: .8; font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 26px; width: auto; margin-bottom: 18px; background: #fff; padding: 8px 10px; box-sizing: content-box; border-radius: 3px; }
.footer-brand p { max-width: 320px; }
.footer-title { font-family: var(--font-head); color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Project detail pages
   ========================================================================== */
.p-hero { position: relative; min-height: min(68vh, 640px); display: flex; align-items: flex-end; background: var(--ink); color: #fff; overflow: hidden; }
.p-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14,16,18,.25) 0%, rgba(14,16,18,.35) 45%, rgba(14,16,18,.9) 100%); }
.p-hero .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 130px; }
.crumbs { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #cfd4d8; margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; color: var(--red); }
.p-hero h1 { color: #fff; font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 5.6vw, 68px); letter-spacing: -.015em; margin: 14px 0 10px; }
.p-hero__loc { font-size: 18px; color: #dfe3e6; display: flex; align-items: center; gap: 8px; margin: 0; }
.p-hero__loc svg { width: 18px; height: 18px; color: var(--red); }

.facts-wrap { position: relative; z-index: 3; margin-top: -76px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--red); border-radius: var(--radius); }
.fact { padding: 24px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact dt { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fact dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--charcoal); line-height: 1.25; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding: 18px; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact dd { font-size: 17px; }
}

.overview { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.overview__text p { font-size: 19px; line-height: 1.7; }
.overview__text p:first-of-type { font-size: 21px; color: var(--charcoal); }
.aside-card { background: var(--bg-alt); border-left: 4px solid var(--red); padding: 26px 28px; border-radius: 0 var(--radius) var(--radius) 0; }
.aside-card h2 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.aside-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15px; }
.aside-card dt { color: var(--muted); }
.aside-card dd { margin: 0; color: var(--charcoal); font-weight: 600; }
@media (max-width: 860px) { .overview { grid-template-columns: 1fr; } }

.gallery-group + .gallery-group { margin-top: 48px; }
.gallery-group h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gallery-group h3 small { font-family: var(--font-body); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery a { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.gallery a:first-child.is-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 13px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .2s;
}
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery a:first-child.is-wide { grid-row: auto; aspect-ratio: 3 / 2; } }

.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 32px var(--gutter); text-decoration: none; transition: background-color .2s; }
.pager a:hover { background: var(--bg-alt); }
.pager a + a { border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.pager small { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.pager strong { font-family: var(--font-head); font-size: clamp(18px, 2.2vw, 24px); color: var(--charcoal); }

.cta-band { background: var(--red); color: #fff; padding: clamp(48px, 6vw, 72px) 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; text-transform: uppercase; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #ffe3e4; }

/* ---------- Lightbox ---------- */
.lightbox { overflow: hidden; border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(10,11,12,.95); color: #fff; }
.lightbox::backdrop { background: rgba(10,11,12,.95); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-family: var(--font-head); font-size: 13px; letter-spacing: .1em; color: #c9ced2; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__caption { text-align: center; padding: 14px 18px 22px; color: #e6e8ea; }
.lb-btn { background: rgba(255,255,255,.08); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.lb-btn:hover { background: var(--red); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
@media (max-width: 600px) { .lightbox__stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: -60px; transform: none; } .lb-prev { left: 18px; } .lb-next { right: 18px; } }

/* ---------- Legal pages ---------- */
.page-title { background: var(--ink); color: #fff; padding: 72px 0 56px; }
.page-title h1 { color: #fff; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.5vw, 48px); margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: 22px; margin-top: 1.8em; }
.prose p, .prose li { color: var(--text); }

/* Stronger hero overlay on narrow screens, where text sits over the busiest part of the photo */
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(14,16,18,.78) 0%, rgba(14,16,18,.86) 100%); }
  .hero .wrap { padding-top: 56px; padding-bottom: 120px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .12em; }
}

/* Project status (track record table) */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa1a8; }
.status--active { color: var(--red); font-weight: 600; }
.status--active::before { background: var(--red); box-shadow: 0 0 0 3px rgba(237, 28, 36, .18); }
@media (max-width: 760px) {
  .fact:last-child:nth-child(odd) { grid-column: span 2; }
  .record td[data-label="Status"]::before { content: none; }
}
@media (min-width: 761px) {
  .record th, .record td { padding: 16px 14px; }
  .record td[data-label="Location"], .record td[data-label="Type"] { white-space: nowrap; }
}
