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

:root {
  --background: #131313;
  --panel: #1c1b1b;
  --panel-high: #262525;
  --text: #e5e2e1;
  --muted: #cfc5b4;
  --accent: #ffdf96;
  --line: #4c4639;
  --accent-ink: #3e2e00;
  --content-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Manrope, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(var(--content-width), calc(100% - 40px)); margin-inline: auto; }
.muted, .card p, .legal p, .legal li { color: var(--muted); }

.header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #4c463933; background: #131313e8; backdrop-filter: blur(18px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo { width: 180px; }
.links { display: flex; align-items: center; gap: 34px; }
.links > a:not(.button) { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.links a:hover, .active { color: var(--accent); }
.menu { display: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: none; color: white; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 25px; border: 0; border-radius: 5px; background: var(--accent); color: var(--accent-ink); cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.button:hover { filter: brightness(1.08); }
.button.ghost { border: 1px solid var(--line); background: transparent; color: white; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.text-link { color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; }

.hero { padding: 110px 0 90px; border-bottom: 1px solid #4c463933; }
.eyebrow { display: block; margin-bottom: 20px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; }
.page-title, .home-hero h1 { max-width: 1000px; margin: 0 0 28px; font-size: clamp(48px, 8vw, 96px); letter-spacing: -.05em; line-height: 1.02; }
.home-hero { padding: 90px 0; }
.home-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.home-hero h1 span { color: var(--accent); }
.home-hero-image { width: 100%; aspect-ratio: 4 / 5; border-radius: 8px; object-fit: cover; filter: grayscale(1); transition: filter .5s; }
.home-hero-image:hover { filter: grayscale(0); }
.lead { max-width: 700px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }

.section { padding: 90px 0; }
.section.alt { background: var(--panel); }
.section h2 { margin: 0 0 24px; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.035em; line-height: 1.12; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.grid { display: grid; gap: 26px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.steps { display: grid; gap: 14px; }

.card { padding: 36px; border: 1px solid #4c463955; border-radius: 6px; background: var(--panel); }
.section.alt .card { background: var(--background); }
.card h3 { margin: 12px 0; font-size: 24px; }
.number { color: var(--accent); font-size: 12px; letter-spacing: .2em; }
.project { padding: 0; overflow: hidden; }
.project img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .5s; }
.project:hover img { transform: scale(1.03); filter: none; }
.project .copy { padding: 26px; }
.project .copy .eyebrow { margin-bottom: 6px; }
.project-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; }
.project-facts dt { color: var(--muted); }
.project-facts dd { margin: 0; }

.stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.stat { padding: 30px; border: 1px solid #4c463955; background: var(--panel); }
.stat strong { display: block; color: var(--accent); font-size: 34px; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; color: var(--text); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: white; letter-spacing: normal; text-transform: none; }
.field textarea { min-height: 150px; resize: vertical; }
.legal { max-width: 800px; }
.legal h2 { margin-top: 46px; font-size: 27px; }
.cta { padding: 70px; border: 1px solid #4c463955; border-radius: 8px; background: var(--panel); text-align: center; }
.cta h2 { margin-bottom: 18px; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.gallery button { padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: none; cursor: zoom-in; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.025); }
.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; padding: 70px; border: 0; background: #080808ed; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: #080808ed; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; width: 48px; height: 48px; border: 1px solid #ffffff55; border-radius: 50%; background: #131313cc; color: white; cursor: pointer; font-size: 24px; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-count { position: absolute; bottom: 20px; font-size: 12px; letter-spacing: .15em; }

.footer { padding: 55px 0 30px; border-top: 1px solid #4c463933; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer h2 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.footer a { display: block; margin: 9px 0; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 45px; padding-top: 24px; border-top: 1px solid #4c463922; color: var(--muted); font-size: 11px; }
.footer-bottom a { display: inline; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 760px) {
  .nav { height: 78px; }
  .logo { width: 145px; }
  .menu { display: block; }
  .links { position: absolute; top: 78px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; padding: 20px; border: 1px solid var(--line); background: var(--panel-high); }
  .links.open { display: flex; }
  .hero, .home-hero { padding: 70px 0; }
  .home-hero-grid, .grid.three, .grid.two, .split, .footer-grid { grid-template-columns: 1fr; }
  .home-hero-image { grid-row: 1; aspect-ratio: 16 / 10; }
  .section { padding: 65px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .card { padding: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .cta { padding: 45px 24px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery button:first-child { grid-row: auto; }
  .gallery img { min-height: 210px; aspect-ratio: 4 / 3; }
  .lightbox { padding: 65px 20px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
