:root {
  --ink: #111111;
  --muted: #67625d;
  --line: #ded8d0;
  --paper: #f7f3ee;
  --white: #ffffff;
  --accent: #8f2d2d;
  --dark: #151515;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.45;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.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: 22px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 243, 238, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18) 52%, rgba(0, 0, 0, 0.02));
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-video {
  position: absolute;
  inset: 0;
}

.hero-video-primary {
  filter: contrast(1.04) saturate(0.9);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  font-size: clamp(72px, 15vw, 190px);
}

h2 {
  font-size: clamp(38px, 6vw, 84px);
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 25px);
}

.hero-copy a {
  border-bottom: 1px solid currentColor;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button.primary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button.secondary {
  color: var(--white);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  padding: clamp(22px, 3vw, 36px);
  background: var(--paper);
}

.intro-band span,
.stats-grid dt {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-band strong,
.stats-grid dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 128px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.section-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px 0 0;
  color: #36332f;
  font-size: clamp(18px, 2vw, 25px);
}

.feature-image {
  height: min(760px, 76vh);
  margin: 0;
}

.press-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: clamp(42px, 6vw, 80px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--dark);
}

.press-strip h2 {
  max-width: 980px;
}

.press-links {
  display: grid;
  gap: 12px;
  min-width: 220px;
}

.press-links a,
.email-link {
  border-bottom: 1px solid currentColor;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.gallery-section.light {
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.portfolio-grid,
.digitals-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(280px, 36vw);
  gap: 12px;
}

.category-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(520px, 56vw);
  gap: 0;
}

.digitals-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(420px, 56vw);
}

.image-tile,
.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: #d8d1c7;
}

.image-tile.tall {
  grid-row: span 2;
}

.image-tile.wide {
  grid-column: span 2;
}

.image-tile::after,
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.46));
  opacity: 0.82;
  transition: opacity 180ms ease;
}

.image-tile img,
.category-tile img,
.category-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.image-tile span,
.category-tile span {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-tile span {
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 4px);
  width: 100%;
  padding: 0 24px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: none;
}

.category-tile small {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(50% + 38px);
  transform: translateX(-50%);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-tile:hover img,
.category-tile:hover img,
.category-tile:hover video {
  transform: scale(1.025);
  filter: contrast(1.04);
}

.image-tile:hover::after,
.category-tile:hover::after {
  opacity: 1;
}

.measurements {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) 1fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.stats-grid div {
  padding: clamp(20px, 3vw, 34px);
  background: var(--paper);
}

.contact-section {
  padding: clamp(72px, 9vw, 140px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--accent);
}

.contact-section h2 {
  max-width: 1100px;
  margin-bottom: 32px;
}

.email-link {
  display: inline-block;
  font-size: clamp(16px, 2vw, 24px);
}

.lightbox {
  width: min(92vw, 1120px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.84);
}

.lightbox-carousel {
  position: relative;
}

.lightbox-stage {
  display: grid;
  place-items: center;
  min-height: min(74vh, 820px);
  background: #050505;
  touch-action: pan-y;
}

.lightbox img,
.lightbox video {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #050505;
}

.lightbox video {
  display: none;
}

.lightbox-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 0;
}

.lightbox p,
.lightbox-counter,
.lightbox-meta span {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close {
  display: block;
  margin: 0 0 12px auto;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    padding: 18px 18px;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
    max-width: 260px;
    font-size: 10px;
  }

  .hero {
    min-height: 88vh;
    padding: 128px 20px 50px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.78));
  }

  .hero-media img,
  .hero-video {
    object-position: 56% 10%;
  }

  .intro-band,
  .split-section,
  .press-strip,
  .measurements {
    grid-template-columns: 1fr;
  }

  .portfolio-grid,
  .digitals-grid,
  .category-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(420px, 72vh);
  }

  .image-tile.tall,
  .image-tile.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .feature-image {
    height: 72vh;
  }

  .section-heading {
    display: block;
  }

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

  .lightbox-nav {
    width: 40px;
    height: 54px;
    font-size: 34px;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    display: block;
  }

  .brand {
    display: block;
    margin-bottom: 14px;
  }

  .nav-links {
    justify-content: flex-start;
    max-width: none;
  }

  h1 {
    font-size: clamp(58px, 22vw, 94px);
  }

  .hero-actions {
    display: grid;
  }
}
