:root {
  --paper: #f1eee8;
  --ink: #141414;
  --muted: #68645e;
  --line: rgba(20,20,20,.18);
  --dark: #171717;
  --shell: 1440px;
  --pad: clamp(18px, 3vw, 44px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}
img, video { display: block; width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--pad); }

.site-header {
  height: 62px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(27px, 2.4vw, 38px);
  letter-spacing: -.06em;
}
.site-header nav { display: flex; gap: clamp(16px, 2.5vw, 34px); font-size: 13px; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(30px, 4vw, 56px);
  padding-bottom: clamp(30px, 4vw, 56px);
}
.hero-copy { max-width: 620px; }
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 700;
}
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.045em; }
h1 { font-size: clamp(44px, 5vw, 76px); max-width: 11ch; }
h2 { font-size: clamp(34px, 3.5vw, 54px); max-width: 15ch; }
h3 { font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.035em; }
.lede { max-width: 520px; font-size: clamp(17px, 1.55vw, 22px); margin: 22px 0 0; color: var(--muted); }
.hero-actions { display: flex; gap: 10px; margin-top: 28px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 42px; padding: 0 17px; align-items: center; border: 1px solid var(--ink); font-size: 13px; }
.button.dark { background: var(--ink); color: var(--paper); }
.button.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button.text { border-color: transparent; padding-inline: 7px; }

.lead-film { position: relative; aspect-ratio: 16 / 9; min-height: 0; background: #111; overflow: hidden; }
.media-button { display: block; position: absolute; inset: 0; width: auto; height: auto; padding: 0; border: 0; background: #111; color: white; cursor: pointer; overflow: hidden; }
.media-button video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.64), transparent 55%); }
.film-label { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; width: 100%; box-sizing: border-box; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; padding: 18px; text-align: left; }
.film-label > * { min-width: 0; }
.film-label b { display: block; font-size: clamp(23px, 2.5vw, 38px); font-weight: 500; line-height: 1; }
.play-mark { flex: 0 0 auto; white-space: nowrap; font-size: 12px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.links { padding-top: clamp(54px, 6vw, 82px); padding-bottom: clamp(54px, 6vw, 82px); }
.top-links { padding-top: 0; padding-bottom: 0; }
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.link-grid a { min-height: 108px; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; transition: background .2s ease, color .2s ease; }
.link-grid a:hover { background: var(--ink); color: var(--paper); }
.link-grid span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.link-grid a:hover span { color: #aaa; }
.link-grid b { font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 28px; }
.compact-heading { margin-bottom: 24px; }

.lanes { background: var(--dark); color: var(--paper); padding: clamp(54px, 6vw, 82px) 0; margin-top: clamp(42px, 5vw, 70px); }
.lane-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lane-card { display: grid; grid-template-columns: 42% 58%; min-height: 228px; background: #242424; overflow: hidden; }
.lane-card img { height: 100%; object-fit: cover; }
.lane-card > div { padding: 18px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.lane-card span { font-size: 9px; letter-spacing: .12em; }
.lane-card h3 { margin: 7px 0 9px; font-size: clamp(21px, 1.8vw, 29px); }
.lane-card p { margin: 0; color: #bbb6ae; font-size: 13px; }
.lane-cta { margin-top: 22px; }

.work { padding-top: clamp(48px, 6vw, 82px); padding-bottom: clamp(58px, 7vw, 96px); }
.work-heading { margin-bottom: 18px; }
.work-heading .eyebrow { margin-bottom: 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 92px;
  gap: 10px;
}
.tile { position: relative; overflow: hidden; background: #d8d3cb; min-width: 0; border: 0; padding: 0; text-align: left; }
button.tile, .media-open { cursor: zoom-in; }
.tile > img, .tile > video, .media-open > img, .media-open > video { height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
button.tile:hover > img, button.tile:hover > video, .mini-grid .media-open:hover img, .mini-grid .media-open:hover video { transform: scale(1.025); }
.tile-label { position: absolute; z-index: 2; pointer-events: none; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(241,238,232,.97) 45%); padding-top: 52px; }
.tile-label.light { color: white; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.tile-label span { display: block; margin-bottom: 4px; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.tile-label h3, .tile-label .tile-title { display: block; margin: 0; font-size: clamp(20px, 2vw, 31px); text-transform: none; letter-spacing: -.035em; line-height: 1; }

.tile-antwerp { grid-column: span 5; grid-row: span 4; }
.tile-fur { grid-column: span 3; grid-row: span 4; }
.tile-music { grid-column: span 4; grid-row: span 2; }
.tile-film { grid-column: span 4; grid-row: span 2; }
.tile-fashion { grid-column: span 4; grid-row: span 3; }
.tile-music-grid { grid-column: span 4; grid-row: span 3; }
.tile-tech { grid-column: span 4; grid-row: span 3; display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); color: white; }
.tile-tech img { height: 100%; object-fit: cover; }
.tech-copy { padding: 18px; display: flex; align-items: center; justify-content: center; text-align: center; min-width: 0; }
.tech-title { display: block; max-width: 9ch; font-size: clamp(22px, 2vw, 31px); line-height: .98; letter-spacing: -.035em; overflow-wrap: anywhere; }
.tile-water, .tile-fire, .tile-glow, .tile-alley, .tile-clouds, .tile-nene { grid-column: span 2; grid-row: span 2; }

.mini-grid { width: 100%; height: 100%; display: grid; gap: 2px; }
.mini-grid .media-open { width: 100%; height: 100%; border: 0; padding: 0; overflow: hidden; background: transparent; min-width: 0; }
.mini-grid img, .mini-grid video { width: 100%; height: 100%; object-fit: cover; min-width: 0; }
.mini-grid.four { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mini-grid.three { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mini-grid.three .media-open:first-child { grid-row: span 2; }


.tile-music > img { object-position: center 8%; }
.work-cta { display: flex; justify-content: center; margin-top: 28px; }

button:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

footer { min-height: 150px; border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 20px; }
footer p { margin: 0; color: var(--muted); font-size: 13px; }
footer p:last-child { text-align: right; }



/* Robust cross-browser lightbox, deliberately not based on <dialog>. */
html.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .94);
  overflow: auto;
  overscroll-behavior: contain;
}
.lightbox-panel {
  position: relative;
  width: min(100%, 1180px);
  min-width: 0;
  display: grid;
  justify-items: center;
}
.lightbox-media {
  width: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
}
.lightbox-media img,
.lightbox-media video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 92px);
  object-fit: contain;
  background: #050505;
}
.lightbox-close {
  position: fixed;
  z-index: 2;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.82);
  color: #fff;
  padding: 10px 14px;
  cursor: pointer;
}
.lightbox-caption {
  width: 100%;
  max-width: 1180px;
  margin: 0;
  padding: 10px 0 0;
  color: #d0ccc5;
  font-size: 12px;
  text-align: center;
}
.lightbox-caption:empty { display: none; }
@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox-media img,
  .lightbox-media video { max-height: calc(100dvh - 76px); }
  .lightbox-close { top: 10px; right: 10px; }
}

@media (max-width: 1050px) {
  .hero { grid-template-columns: .9fr 1.1fr; gap: 28px; }
  .portfolio-grid { grid-auto-rows: 78px; }
  .tile-antwerp { grid-column: span 6; }
  .tile-fur { grid-column: span 3; }
  .tile-music, .tile-film { grid-column: span 3; }
  .tile-fashion, .tile-music-grid, .tile-tech { grid-column: span 4; }
  .lane-card { grid-template-columns: 1fr; grid-template-rows: 130px auto; }
}

@media (max-width: 760px) {
  .site-header { height: 58px; }
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .hero-copy { max-width: 620px; }
  h1 { max-width: 12ch; }
  .lead-film { width: 100%; }
  .section-heading { display: block; }
  .portfolio-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 76px; }
  .tile-antwerp { grid-column: span 6; grid-row: span 4; }
  .tile-fur { grid-column: span 3; grid-row: span 4; }
  .tile-music { grid-column: span 3; grid-row: span 2; }
  .tile-film { grid-column: span 3; grid-row: span 2; }
  .tile-fashion, .tile-music-grid, .tile-tech { grid-column: span 6; grid-row: span 3; }
  .tile-water, .tile-fire, .tile-glow, .tile-alley, .tile-clouds, .tile-nene { grid-column: span 2; grid-row: span 2; }
  .lane-row { grid-template-columns: 1fr; }
  .lane-card { grid-template-columns: 38% 62%; grid-template-rows: none; min-height: 190px; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .site-header nav { gap: 12px; font-size: 11px; }
  h1 { font-size: 43px; }
  h2 { font-size: 35px; }
  .hero-actions { margin-top: 22px; }
  .film-label { padding: 13px; }
  .play-mark { display: none; }
  .link-grid { grid-template-columns: 1fr; }
  .link-grid a { min-height: 88px; }
  .portfolio-grid { grid-auto-rows: 62px; gap: 6px; }
  .tile-label { padding: 10px; padding-top: 45px; }
  .tile-label h3, .tile-label .tile-title { font-size: 18px; }
  .tile-fur { grid-column: span 3; grid-row: span 4; }
  .tile-music, .tile-film { grid-column: span 3; grid-row: span 2; }
  .tile-water, .tile-fire, .tile-glow, .tile-alley, .tile-clouds, .tile-nene { grid-column: span 2; grid-row: span 2; }
  .tile-tech { grid-template-columns: 1fr 1fr; }
  .tech-copy { padding: 12px; }
  .tech-title { font-size: 20px; }
  .lane-card { grid-template-columns: 36% 64%; min-height: 175px; }
  .lane-card > div { padding: 14px; }
  footer { grid-template-columns: 1fr; min-height: 200px; }
  footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  video[autoplay], video[data-lazy-video] { display: none; }
  .tile-fur { background: url('media-v11/fur-street.webp') center / cover; }
}
