:root {
  --ink: #151515;
  --coal: #252525;
  --muted: #6e6a64;
  --paper: #f7f4ef;
  --line: #ddd6cc;
  --orange: #ff7a2f;
  --orange-dark: #d95b17;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(20, 20, 20, .9), rgba(20, 20, 20, .25));
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
  height: clamp(58px, 6vw, 74px);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  font-weight: 700;
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.55);
}

.hero {
  min-height: 94vh;
  position: relative;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  padding: 130px clamp(20px, 6vw, 80px) 52px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg { object-fit: cover; filter: saturate(.95) contrast(1.08); }

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12,12,12,.92), rgba(12,12,12,.68) 42%, rgba(12,12,12,.12)),
    linear-gradient(0deg, rgba(12,12,12,.6), rgba(12,12,12,.1));
}

.hero-content, .hero-panel { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 910px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4.3vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.1; }

.hero-copy {
  max-width: 630px;
  color: #f2e8dd;
  font-size: 20px;
  line-height: 1.55;
}

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

.button, .filter {
  border: 0;
  min-height: 46px;
  padding: 14px 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}

.primary { color: var(--white); background: var(--orange); }
.primary:hover { background: var(--orange-dark); }
.ghost { border: 1px solid rgba(255,255,255,.65); color: var(--white); }

.hero-panel {
  align-self: end;
  padding: 26px;
  background: var(--orange);
  color: var(--ink);
  max-width: 390px;
}

.hero-panel span {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.hero-panel strong { display: block; font-size: 26px; line-height: 1.05; }
.hero-panel p { margin: 14px 0 0; line-height: 1.45; }

.quote-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.quote-strip a { color: var(--orange-dark); font-weight: 900; }

.section {
  padding: clamp(68px, 9vw, 120px) clamp(20px, 6vw, 80px);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.service-card {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.service-card span {
  color: var(--orange);
  font-weight: 900;
  margin-bottom: auto;
}

.service-card p { color: var(--muted); line-height: 1.55; }
.service-card.featured { background: var(--coal); color: var(--white); border-color: var(--coal); }
.service-card.featured p { color: #d9d2c8; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  background: var(--white);
}

.split p { color: var(--muted); font-size: 18px; line-height: 1.7; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--coal);
  color: var(--white);
}

.stats div { padding: 28px; border-right: 1px solid rgba(255,255,255,.14); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; color: var(--orange); font-size: 44px; line-height: 1; }
.stats span { display: block; margin-top: 8px; font-size: 13px; text-transform: uppercase; font-weight: 800; }

.projects { background: #eee9e1; }

.filters { margin-bottom: 28px; }

.filter {
  background: transparent;
  border: 1px solid #cfc6ba;
  color: var(--coal);
}

.filter.active, .filter:hover { color: var(--white); background: var(--coal); border-color: var(--coal); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 10px;
}

.gallery-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  background: var(--coal);
}

.gallery-card:nth-child(9n + 1),
.gallery-card:nth-child(9n + 6) { grid-row: span 2; min-height: 530px; }

.gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-open::after {
  content: "+";
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(21,21,21,.82);
  font-size: 25px;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}

.gallery-open:hover::after,
.gallery-open:focus-visible::after { opacity: 1; transform: translateY(0); }

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-open:hover img { transform: scale(1.035); filter: contrast(1.04); }

.modal-open { overflow: hidden; }

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox-backdrop { position: absolute; inset: 0; background: rgba(7,7,7,.92); backdrop-filter: blur(8px); }

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1240px, 96vw);
  height: min(860px, 92vh);
  color: var(--white);
}

.lightbox-stage {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform .25s ease;
  transform-origin: center;
}

.lightbox-stage img.zoomed { max-width: none; max-height: none; transform: scale(1.35); cursor: zoom-out; }

.lightbox-close,
.lightbox-nav {
  border: 0;
  color: var(--white);
  background: rgba(255,255,255,.09);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover { background: var(--orange); }

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  font-size: 34px;
  line-height: 1;
}

.lightbox-nav { align-self: center; width: 52px; height: 72px; font-size: 48px; line-height: 1; }
.lightbox-prev { grid-column: 1; grid-row: 1; justify-self: start; }
.lightbox-next { grid-column: 3; grid-row: 1; justify-self: end; }

.lightbox-caption {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 0;
}

.lightbox-caption strong,
.lightbox-caption span { display: block; }
.lightbox-caption strong { color: var(--orange); font-size: 16px; }
.lightbox-caption div span { margin-top: 5px; color: #cfc8be; font-size: 14px; }
.lightbox-count { flex: 0 0 auto; color: #cfc8be; font-weight: 800; }

.dark-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 42px;
  color: var(--white);
  background: var(--coal);
}

.dark-band h2 { max-width: 760px; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
}

.proof-grid article {
  min-height: 210px;
  padding: 24px;
  background: #303030;
}

.proof-grid strong { display: block; color: var(--orange); font-size: 21px; line-height: 1.1; }
.proof-grid span { display: block; margin-top: 14px; color: #ddd4c9; line-height: 1.5; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(68px, 9vw, 120px) clamp(20px, 6vw, 80px);
  background: var(--orange);
}

.contact-copy a {
  display: block;
  margin-top: 14px;
  font-size: 20px;
  font-weight: 900;
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}

label:has(textarea) { grid-column: 1 / -1; }

input, textarea {
  width: 100%;
  border: 0;
  padding: 14px;
  font: inherit;
  background: var(--white);
}

textarea { resize: vertical; }

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.send-button {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  min-width: 250px;
  min-height: 58px;
  padding: 16px 20px;
  border: 2px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.send-button:hover { color: var(--ink); background: transparent; transform: translateY(-2px); }
.send-button:disabled { opacity: .65; cursor: wait; transform: none; }
.send-button span:last-child { font-size: 24px; line-height: 1; }

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  font-weight: 800;
  line-height: 1.5;
}

.form-status.success { color: #15391d; }
.form-status.error { color: #65150d; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 80px);
  background: #171717;
  color: #d9d2c8;
  font-size: 14px;
}

footer a { color: var(--orange); font-weight: 900; }
.site-credit { color: #aaa198; }
.site-credit a { margin-left: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }

@media (max-width: 980px) {
  .site-header { position: absolute; align-items: flex-start; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 880px; }
  .hero-panel { margin-top: 34px; }
  .service-grid, .split, .dark-band, .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero { padding-top: 112px; min-height: 760px; }
  h1 { font-size: 42px; }
  .quote-strip, footer { flex-direction: column; align-items: flex-start; }
  .stats, form { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .gallery { grid-template-columns: 1fr; }
  .gallery-card, .gallery-card:nth-child(9n + 1), .gallery-card:nth-child(9n + 6) { min-height: 360px; grid-row: auto; }
  .lightbox { padding: 10px; }
  .lightbox-dialog { grid-template-columns: 48px minmax(0, 1fr) 48px; width: 100%; height: 94vh; }
  .lightbox-nav { width: 44px; height: 58px; font-size: 38px; }
  .lightbox-close { width: 46px; height: 46px; }
  .lightbox-caption { padding-top: 12px; gap: 12px; }
  .lightbox-caption div span { display: none; }
  .button, .filter { width: 100%; text-align: center; }
  .send-button { width: 100%; min-width: 0; }
  .footer-links { gap: 16px; }
}
