@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --ink: #111111;
  --ink-2: #1a1a1a;
  --ink-3: #242424;
  --gold: #f5c400;
  --gold-soft: #ffd84a;
  --gold-dim: rgba(245, 196, 0, 0.16);
  --cream: #f3f3f3;
  --paper: #ffffff;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(17, 17, 17, 0.1);
  --muted: #8a8a8a;
  --muted-dark: #5c5c5c;
  --text: #1a1a1a;
  --nav-h: 80px;
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Inter", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 9999; background: #fff; color: #000; padding: 8px 14px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.wrap-wide { width: min(1440px, calc(100% - 40px)); margin: 0 auto; }

/* Header — BG&E: transparent over photo, solid on scroll */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s;
}
.site-header.scrolled,
.site-header.force-solid {
  background: rgba(17, 17, 17, 0.94);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header-inner {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }
.brand-word {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: #fff;
}
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-item > a,
.nav-item > button.nav-link {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  background: none;
  border: 0;
}
.nav-item > a:hover,
.nav-item:hover > button.nav-link { color: var(--gold); }
.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 520px;
  background: #111;
  border: 1px solid var(--line);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.22s var(--ease);
  box-shadow: 0 28px 60px rgba(0,0,0,0.35);
}
.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1; visibility: visible; transform: none;
}
.nav-item:nth-child(3) .mega { left: auto; right: 0; }
.mega a {
  display: block;
  padding: 10px 0;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mega a small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.mega a:hover { color: var(--gold); }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 18px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 14px; font-weight: 600;
  margin-left: 12px;
  transition: 0.25s;
}
.header-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.nav-toggle {
  display: none; width: 42px; height: 42px; color: #fff; margin-left: auto;
}
.nav-toggle span { display: block; height: 1.5px; background: #fff; margin: 7px 8px; }

.mobile-nav {
  display: none;
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: rgba(17,17,17,0.98);
  z-index: 199;
  padding: 28px 28px 60px;
  overflow: auto;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav .m-label {
  display: block; color: #fff; font-size: 22px; font-weight: 600; padding: 8px 0;
}
.mobile-nav .sub { padding-left: 12px; }
.mobile-nav .sub a { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.7); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  font-size: 14px; font-weight: 600;
  transition: 0.25s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #333; }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.72) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto 88px;
}
.kicker {
  font-size: 13px; letter-spacing: 0.04em;
  color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(42px, 6.6vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero p.lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
}
.hero .cta-row { margin-top: 32px; }

.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 0 64px;
}
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.72));
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 16ch;
}
.page-hero p { margin-top: 16px; max-width: 620px; color: rgba(255,255,255,0.82); font-size: 18px; }

.plain-hero {
  padding: calc(var(--nav-h) + 72px) 0 40px;
  background: var(--ink);
  color: #fff;
}
.plain-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.plain-hero p { margin-top: 14px; color: rgba(255,255,255,0.72); max-width: 640px; }

.section { padding: 96px 0; }
.section-ink { background: var(--ink); color: #fff; }
.section-cream { background: var(--cream); }
.section-tight { padding: 72px 0; }
.split-head {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: end;
  margin-bottom: 48px;
}
.eyebrow {
  font-size: 13px;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.section-ink .eyebrow { color: var(--gold); }
h2.display {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.lede { font-size: 18px; color: var(--muted-dark); max-width: 640px; }
.section-ink .lede { color: rgba(255,255,255,0.72); }

.bleed-photo {
  position: relative;
  height: min(88vh, 860px);
  overflow: hidden;
  background: #111;
}
.bleed-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bleed-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,0.78));
}
.bleed-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 1;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto 56px;
  color: #fff;
}
.bleed-cap h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.bleed-cap p { margin-top: 10px; color: rgba(255,255,255,0.8); max-width: 520px; }
.bleed-cap a {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 600;
}

.marquee-wrap {
  overflow: hidden;
  background: var(--ink-2);
  padding: 20px 0;
}
.marquee {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 38s linear infinite;
  color: rgba(255,255,255,0.55);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
}
.marquee span::before { content: "●"; color: var(--gold); margin-right: 48px; font-size: 8px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 48px;
}
.stat b {
  display: block;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,0.65); font-size: 14px; }

.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.exp-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background: var(--ink-3);
}
.exp-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.exp-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,0.82));
}
.exp-card:hover img { transform: scale(1.06); }
.exp-card h3, .exp-card p, .exp-card .more { position: relative; z-index: 1; }
.exp-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.exp-card p { color: rgba(255,255,255,0.75); font-size: 14px; }
.exp-card .more { margin-top: 14px; color: var(--gold); font-size: 13px; font-weight: 600; }

.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.proj-card { display: block; color: #fff; }
.proj-frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--ink);
}
.proj-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.proj-card:hover img { transform: scale(1.05); }
.proj-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.78));
}
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 11px; letter-spacing: 0.04em;
  padding: 5px 8px; border: 1px solid rgba(255,255,255,0.2);
}
.proj-overlay h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.proj-overlay p { color: rgba(255,255,255,0.75); font-size: 14px; margin-top: 4px; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.why-item { border-top: 2px solid var(--gold); padding-top: 22px; }
.section-ink .why-item { border-top-color: var(--gold); }
.why-num { color: var(--gold); font-size: 13px; font-weight: 700; }
.why-item h3 { font-size: 20px; font-weight: 700; margin: 10px 0 8px; letter-spacing: -0.02em; }
.why-item p { color: var(--muted-dark); font-size: 15px; }
.section-ink .why-item p { color: rgba(255,255,255,0.68); }

.two-col {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.two-col.top { align-items: start; }
.media-frame { overflow: hidden; background: var(--ink); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.play-btn span {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.prose h2, .prose h3 { margin: 28px 0 12px; font-weight: 700; letter-spacing: -0.03em; }
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 22px; }
.prose p { margin: 0 0 16px; color: var(--muted-dark); }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--muted-dark); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 6px 0; }
.prose a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.section-ink .prose p, .section-ink .prose li { color: rgba(255,255,255,0.68); }
.section-ink .prose a { color: var(--gold); }

.quote-block {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 20px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin: 28px 0;
  letter-spacing: -0.02em;
}
.quote-block cite {
  display: block; font-size: 13px; color: var(--muted-dark); margin-top: 10px;
  font-style: normal; font-weight: 500;
}

.spec-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 22px 0;
}
.spec-grid small { display: block; font-size: 12px; color: var(--muted-dark); font-weight: 600; }
.spec-grid b { display: block; margin-top: 6px; font-weight: 600; }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.insight-card { display: block; background: #fff; }
.insight-card img { width: 100%; height: 220px; object-fit: cover; }
.insight-card .body { padding: 20px 4px 8px; }
.insight-card .meta { font-size: 13px; color: var(--gold); font-weight: 600; }
.insight-card h3 { font-size: 20px; font-weight: 700; margin: 8px 0; letter-spacing: -0.02em; }
.insight-card p { color: var(--muted-dark); font-size: 14px; }

.jobs { display: flex; flex-direction: column; }
.job {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}
.job h3 { font-size: 22px; font-weight: 700; }
.job span { color: var(--muted-dark); font-size: 14px; }
.job:hover h3 { color: var(--gold); }
.job-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 36px;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.job-meta small { display: block; font-size: 12px; color: var(--muted-dark); font-weight: 600; }
.job-meta b { display: block; margin-top: 6px; }

.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: 16px; padding: 12px 14px;
  border: 1px solid var(--line-dark); background: #fff; color: var(--text); font-weight: 400;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 1px solid var(--gold); border-color: var(--gold);
}

.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item button {
  width: 100%; text-align: left; padding: 18px 0;
  font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px;
}
.faq-item .ans { display: none; padding: 0 0 18px; color: var(--muted-dark); }
.faq-item.open .ans { display: block; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filter-row button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: rgba(255,255,255,0.8);
  font-size: 13px; font-weight: 500;
}
.filter-row button.on, .filter-row button:hover {
  background: var(--gold); border-color: var(--gold); color: var(--ink);
}

.cta-band {
  position: relative;
  padding: 100px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band .cta-bg { position: absolute; inset: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.62);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.035em;
  font-weight: 700;
}
.cta-band p { margin: 16px auto 28px; max-width: 520px; color: rgba(255,255,255,0.78); }
.cta-band .cta-row { justify-content: center; }

.site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.72);
  padding: 64px 0 28px;
  font-size: 14px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 14px; }
.foot-brand img { width: 28px; height: 28px; }
.foot-brand span { letter-spacing: 0.18em; font-size: 12px; font-weight: 700; }
.site-footer h4 {
  color: var(--gold);
  font-size: 12px; font-weight: 700; margin-bottom: 14px;
}
.site-footer a { display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; font-size: 12px; color: var(--muted);
}
.foot-bottom nav { display: flex; gap: 16px; }

.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 300;
  background: var(--ink-2); color: #fff; border: 1px solid var(--line);
  padding: 18px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  max-width: 720px; margin: 0 auto;
}
.cookie p { font-size: 13px; color: rgba(255,255,255,0.75); max-width: 420px; }
.cookie .row { display: flex; gap: 8px; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: #fff; }
.team-card img { width: 100%; height: 280px; object-fit: cover; }
.team-card .pad { padding: 18px 4px; }
.team-card h3 { font-size: 22px; font-weight: 700; }
.team-card .role { color: var(--gold); font-size: 13px; font-weight: 600; margin: 4px 0 8px; }

@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .split-head, .two-col, .exp-grid, .why-grid, .insight-grid, .stats, .foot-grid, .spec-grid, .team-grid, .related {
    grid-template-columns: 1fr 1fr;
  }
  .proj-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .split-head, .two-col, .exp-grid, .why-grid, .insight-grid, .stats, .foot-grid, .spec-grid, .team-grid, .related, .job-meta {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 88vh; }
  .hero-copy { margin-bottom: 48px; }
  .section { padding: 64px 0; }
  .wrap { width: calc(100% - 32px); }
}
