/* Blackstone Construction, LLC — styles */
:root {
  --bg: #0f0f10;
  --bg-2: #161618;
  --bg-3: #1d1d20;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #ecebe8;
  --muted: #a3a09a;
  --gold: #c6a15b;
  --gold-2: #e0c084;
  --gold-dim: rgba(198,161,91,0.14);
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.accent { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: all .25s ease; font-family: var(--font);
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #15120c; box-shadow: 0 10px 30px -12px rgba(198,161,91,.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(198,161,91,.9); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(15,15,16,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold); border-radius: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
}
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.05; display: flex; flex-direction: column; }
.logo-text small { font-family: var(--font); font-weight: 500; font-size: .62rem; letter-spacing: .24em; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a:not(.btn) { font-size: .92rem; color: #cfccc6; position: relative; transition: color .2s; }
.site-nav a:not(.btn):hover { color: var(--gold-2); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(198,161,91,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(198,161,91,.07), transparent 60%),
    linear-gradient(180deg, #121213 0%, #0f0f10 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, transparent, var(--bg)); z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 800; max-width: 14ch; margin-bottom: 24px; letter-spacing: -0.035em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c3c0b9; max-width: 56ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 36px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 680px; }
.hero-points li { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.section-sub.left { max-width: 48ch; margin-bottom: 28px; }

/* Services cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(198,161,91,.4); }
.card-featured { background: linear-gradient(180deg, rgba(198,161,91,.09), var(--bg-2) 60%); border-color: rgba(198,161,91,.35); }
.card-tag { position: absolute; top: 20px; right: 20px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(198,161,91,.4); padding: 4px 10px; border-radius: 999px; }
.card-icon { width: 54px; height: 54px; border-radius: 12px; background: var(--gold-dim); display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); }
.card-list { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.card-list li { font-size: .93rem; padding: 5px 0 5px 22px; position: relative; color: #d6d3cd; }
.card-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 1.5px; background: var(--gold); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { position: relative; padding: 32px 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 20px; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -24px; width: 24px; height: 1px; background: rgba(198,161,91,.5);
}

/* Area */
.area-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.area-lists { display: grid; gap: 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.area-block h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .92rem; background: var(--bg-3); }
.chips .chip-primary { border-color: var(--gold); color: var(--gold-2); background: var(--gold-dim); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
.ph {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.04) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.04) 50%, rgba(255,255,255,.04) 75%, transparent 75%) 0 0 / 22px 22px,
    linear-gradient(160deg, #26262a, #1a1a1d);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.ph span {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #8d8a84;
  padding: 8px 14px; border: 1px dashed rgba(255,255,255,.18); border-radius: 6px; background: rgba(15,15,16,.6);
}
.ph figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .82rem; color: var(--muted); }
.ph-lg { grid-column: span 2; grid-row: span 2; }
.ph-wide { grid-column: span 2; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why { background: var(--bg); padding: 34px 30px; }
.why h3 { display: flex; align-items: center; gap: 12px; }
.why h3::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.why p { color: var(--muted); margin: 0; }

.testimonials { margin-top: 72px; }
.placeholder-label { text-align: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.t-card { margin: 0; padding: 34px; border: 1px dashed rgba(198,161,91,.4); border-radius: var(--radius); background: var(--bg-2); }
.t-card p { font-size: 1.1rem; font-style: italic; color: #cfccc6; }
.t-card footer { color: var(--muted); font-size: .9rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #1c1912, #121212 60%); border-top: 1px solid rgba(198,161,91,.25); border-bottom: 1px solid rgba(198,161,91,.25); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.2rem); max-width: 22ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list a:hover { color: var(--gold-2); }
.contact-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: .85rem; font-weight: 500; margin-bottom: 8px; color: #d6d3cd; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 13px 14px; transition: border-color .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.validated :invalid { border-color: #d0705f; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-note.success { color: #9fcf9a; }
.form-note.error { color: #e38c7d; }

/* Footer */
.site-footer { background: #0a0a0b; border-top: 1px solid var(--line); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.4fr 1fr; gap: 40px; }
.footer-tag { color: var(--muted); margin-top: 18px; max-width: 34ch; font-size: .93rem; }
.site-footer h4 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-family: var(--font); font-weight: 600; }
.site-footer li { color: var(--muted); font-size: .93rem; padding: 4px 0; }
.site-footer li a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: #7c7974; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--gold-2); }

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card-featured { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .site-nav {
    position: fixed; inset: 0; height: 100vh; height: 100dvh; background: #0c0c0d;
    flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; }
  .site-nav a:not(.btn) { font-size: 1.3rem; }
  .area-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .container { padding: 0 20px; }
  .header-inner { height: 66px; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { flex-direction: column; gap: 10px; }
  .section-head { margin-bottom: 40px; }
  .cards, .steps, .why-grid, .t-grid, .field-row { grid-template-columns: 1fr; }
  .cards .card-featured { grid-column: auto; }
  .field-row { gap: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 12px; }
  .ph-lg { grid-column: span 2; grid-row: span 2; }
  .ph-wide { grid-column: span 2; }
  .ph span { font-size: .66rem; letter-spacing: .14em; padding: 6px 10px; }
  .ph figcaption { left: 10px; bottom: 8px; font-size: .7rem; }
  .hero .eyebrow { font-size: .64rem; letter-spacing: .1em; }
  .hero .eyebrow::before { display: none; }
  .area-lists, .contact-form { padding: 26px 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
/* Prevent the header's backdrop-filter from trapping the fixed mobile menu */
body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0c0c0d; }

/* Phone in header + mobile call button */
.i-phone, .i-ig { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.site-nav a.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 600; white-space: nowrap; padding-left: 22px; border-left: 1px solid var(--line-2); }
.site-nav a.nav-phone:hover { color: #fff; }
.call-btn { display: none; align-items: center; gap: 7px; margin-left: auto; margin-right: 8px; padding: 9px 15px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #15120c; font-weight: 700; font-size: .88rem; position: relative; z-index: 60; }
.call-btn .i-phone { width: 15px; height: 15px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; }
.site-footer li.social-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #7c7974; padding-top: 12px; }
.site-footer li a { overflow-wrap: anywhere; }
@media (max-width: 1100px) and (min-width: 881px) {
  .site-nav { gap: 18px; }
  .site-nav a:not(.btn) { font-size: .86rem; }
  .site-nav a.nav-phone { padding-left: 16px; }
}
@media (max-width: 880px) {
  .call-btn { display: inline-flex; }
  .site-nav a.nav-phone { border-left: 0; padding-left: 0; font-size: 1.15rem; }
}

/* Netlify honeypot (hidden from users) */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.form-note:empty { display: none; }

/* Thank-you page */
.thanks { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; position: relative; overflow: hidden; }
.thanks-card { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 56px 40px; box-shadow: var(--shadow); }
.thanks-icon { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-dim); border: 1px solid rgba(198,161,91,.45); }
.thanks-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thanks-card .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.thanks-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; }
.thanks-card p { color: var(--muted); }
.thanks-contact { margin: 28px 0 32px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.thanks-contact a { color: var(--gold-2); font-weight: 500; overflow-wrap: anywhere; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.site-header.solid { background: rgba(15,15,16,.92); border-color: var(--line); }
@media (max-width: 640px) { .thanks-card { padding: 40px 22px; } .thanks-actions .btn { width: 100%; } }

/* ===== v3: Photo hero ===== */
.hero-photo { background: #0b0b0c; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 60% 45%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.82) 35%, rgba(10,10,11,.45) 70%, rgba(10,10,11,.35) 100%),
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 30%);
}
.hero-photo .lead { color: #d9d6cf; }
.hero-photo .hero-points { border-top-color: rgba(255,255,255,.16); }
.hero-photo .hero-points li { color: #c9c5bd; }
.hero-credit { position: absolute; right: 24px; bottom: 22px; z-index: 2; margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(236,235,232,.7); }

/* ===== Featured projects ===== */
.proj-tabs { display: flex; justify-content: center; gap: 12px; margin: 0 auto 40px; flex-wrap: wrap; }
.proj-tab {
  font: inherit; color: var(--muted); background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 14px 22px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, color .2s, background .2s;
}
.proj-tab:hover { border-color: rgba(198,161,91,.5); color: var(--text); }
.proj-tab.is-active { border-color: var(--gold); background: var(--gold-dim); color: var(--text); }
.proj-tab-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.proj-tab-meta { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.proj-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 26px; }
.proj-intro h3 { font-size: 1.5rem; margin-bottom: 8px; }
.proj-intro p { color: var(--muted); max-width: 62ch; margin: 0; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; flex: none; max-width: 40%; }
.proj-tags li { font-size: .78rem; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: #d6d3cd; background: var(--bg-3); }

.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; grid-auto-flow: dense; }
.g-item { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,8,9,.85) 100%); pointer-events: none; }
.g-lg { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }
.g-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-size: .74rem; color: #cfccc6; line-height: 1.35; display: flex; flex-direction: column; }
.g-cap strong { font-family: var(--font-display); font-size: .95rem; color: #fff; font-weight: 700; }
.g-lg .g-cap strong { font-size: 1.15rem; }

/* ===== Featured build video ===== */
.fb-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.fb-video { justify-self: center; width: 100%; max-width: 380px; }
.fb-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; border: 1px solid rgba(198,161,91,.35); box-shadow: var(--shadow); object-fit: cover; }
.fb-copy .hero-actions { margin-bottom: 0; }

/* ===== Lightbox ===== */
body.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,6,7,.95); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-img { max-width: min(1200px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-cap { display: flex; gap: 18px; align-items: baseline; color: #d6d3cd; font-size: .9rem; text-align: center; flex-wrap: wrap; justify-content: center; }
.lb-count { color: var(--gold); font-size: .78rem; letter-spacing: .14em; }
.lb-btn { position: absolute; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: var(--text); width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lb-btn:hover { background: var(--gold-dim); border-color: var(--gold); }
.lb-close { top: 16px; right: 16px; font-size: 1.6rem; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1024px) {
  .g-grid { grid-template-columns: repeat(3, 1fr); }
  .fb-grid { gap: 40px; }
}
@media (max-width: 880px) {
  .proj-intro { flex-direction: column; align-items: flex-start; gap: 14px; }
  .proj-tags { justify-content: flex-start; max-width: none; }
  .fb-grid { grid-template-columns: 1fr; }
  .fb-video { max-width: 340px; }
}
@media (max-width: 640px) {
  .hero-media img { object-position: 50% 60%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(10,10,11,.70) 0%, rgba(10,10,11,.50) 45%, rgba(10,10,11,.62) 75%, rgba(10,10,11,.92) 100%); }
  .hero-credit { left: 20px; right: auto; bottom: 18px; font-size: .64rem; }
  .proj-tabs { flex-direction: column; gap: 10px; }
  .proj-tab { width: 100%; }
  .g-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .g-lg { grid-column: span 2; grid-row: span 2; }
  .g-cap { left: 10px; right: 10px; bottom: 8px; font-size: .64rem; }
  .g-cap strong { font-size: .8rem; }
  .g-lg .g-cap strong { font-size: 1rem; }
  .lightbox { padding: 64px 10px 80px; }
  .lb-img { max-height: calc(100vh - 190px); }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
.g-wide { grid-column: span 2; }

/* Footer social icons */
.site-footer li.social-row { display: flex; gap: 10px; padding-top: 8px; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: #d6d3cd; transition: border-color .2s, color .2s, background .2s; }
.social-icon:hover { border-color: var(--gold); color: var(--gold-2); background: var(--gold-dim); }
.social-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-icon svg.fill { fill: currentColor; stroke: none; }
