:root {
  --bg: #11100e;
  --paper: #f4f0e8;
  --ink: #14120f;
  --muted: #6b645a;
  --line: rgba(244, 240, 232, 0.18);
  --line-dark: rgba(20, 18, 15, 0.16);
  --accent: #d6ff4d;
  --rust: #b5532b;
  --steel: #6e8792;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 16, 14, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 20px;
  font-size: 13px;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
  color: rgba(244, 240, 232, 0.74);
}

nav a:hover {
  color: var(--accent);
}

.hero {
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 16, 14, 0) 48%, rgba(17, 16, 14, 0.42));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 64px clamp(28px, 5vw, 72px);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow),
.feature-copy p,
.about-layout p,
.project-card p {
  color: rgba(244, 240, 232, 0.75);
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button-secondary {
  background: transparent;
  color: var(--paper);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
}

.intro-strip p {
  min-height: 76px;
  margin: 0;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: rgba(244, 240, 232, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.intro-strip p:last-child {
  border-right: 0;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 92px 28px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading .eyebrow,
.feature-copy .eyebrow,
.about-layout .eyebrow,
.footer .eyebrow {
  margin-bottom: 12px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #191815;
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-card-content {
  min-height: 238px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  background: rgba(244, 240, 232, 0.08);
  color: rgba(244, 240, 232, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.gallery-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-section {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding: 86px max(28px, calc((100vw - var(--max)) / 2 + 28px));
  background: var(--paper);
  color: var(--ink);
}

.feature-copy p {
  color: var(--muted);
}

.feature-copy .eyebrow,
.about-layout .eyebrow {
  color: var(--rust);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.process-grid img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border: 1px solid var(--line-dark);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.about-layout > img {
  max-height: 620px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0 0;
}

.stats div {
  padding: 18px;
  border: 1px solid var(--line);
}

.stats dt {
  color: var(--accent);
  font-size: 28px;
  font-weight: 900;
}

.stats dd {
  margin: 4px 0 0;
  color: rgba(244, 240, 232, 0.68);
  font-size: 13px;
  line-height: 1.35;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  padding: 76px max(28px, calc((100vw - var(--max)) / 2 + 28px));
  border-top: 1px solid var(--line);
  background: #070706;
}

.footer h2 {
  max-width: 760px;
}

address {
  display: grid;
  gap: 10px;
  font-style: normal;
  font-size: 18px;
  font-weight: 800;
}

address a {
  text-decoration: none;
}

address a:hover {
  color: var(--accent);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 7, 6, 0.94);
  padding: 72px 84px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox figure {
  margin: 0;
  width: min(100%, 980px);
}

.lightbox img {
  max-height: 76vh;
  object-fit: contain;
}

.lightbox figcaption {
  min-height: 34px;
  padding-top: 12px;
  color: rgba(244, 240, 232, 0.76);
  text-align: center;
}

.lightbox button {
  position: absolute;
  border: 1px solid rgba(244, 240, 232, 0.28);
  background: rgba(17, 16, 14, 0.72);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  min-height: 38px;
  padding: 0 14px;
}

.lightbox-nav {
  top: 50%;
  width: 56px;
  height: 56px;
  transform: translateY(-50%);
}

.lightbox-nav.prev {
  left: 22px;
}

.lightbox-nav.next {
  right: 22px;
}

@media (max-width: 960px) {
  .hero,
  .feature-section,
  .about-layout,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 46vh;
  }

  .hero-copy {
    padding-top: 42px;
  }

  .intro-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid img {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 34px 20px 46px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .intro-strip,
  .project-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 20px;
  }

  .feature-section,
  .footer {
    padding: 64px 20px;
  }

  .lightbox {
    padding: 76px 16px 56px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 12px;
    transform: none;
  }
}
