:root {
  --background: #f0eee6;
  --foreground: #0a0a0a;
  --popover: #0a0a0a;
  --popover-foreground: #f0eee6;
  --muted: #d9d6cb;
  --muted-foreground: #646158;
  --ink: #080808;
  --paper: #f0eee6;
  --signal: #ceff00;
  --coral: #f0523d;
  --line: rgba(10, 10, 10, .22);
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: "Arial Black", Impact, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--background); color: var(--foreground); font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 16px clamp(20px, 3.5vw, 58px);
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.brand { justify-self: start; }
.brand img { display: block; width: 74px; height: auto; }
.header-note { margin: 0; color: var(--signal); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.site-header nav { display: flex; justify-self: end; gap: clamp(18px, 3vw, 44px); }
.site-header nav a { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav a:hover { color: var(--signal); }

.poster-hero {
  --hero-x: 50%;
  --hero-y: 50%;
  --lens-radius: clamp(85px, 8.5vw, 150px);
  --lens-size: clamp(170px, 17vw, 300px);
  position: relative;
  min-height: calc(100svh - 82px);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(42px, 6vw, 86px) clamp(20px, 3.5vw, 58px) 36px;
  background: var(--ink);
  color: var(--paper);
}

.poster-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(0,0,0,.2), transparent 48%, rgba(0,0,0,.3));
  pointer-events: none;
}

.poster-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,.07) 25%);
  pointer-events: none;
}

.hero-title {
  position: absolute;
  inset: 0;
  z-index: 5;
  margin: 0;
  color: var(--signal);
  font-family: var(--font-display);
  font-size: clamp(98px, 18.2vw, 300px);
  line-height: .69;
  letter-spacing: -.085em;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-title-layout {
  position: absolute;
  top: 8%;
  right: clamp(18px, 2.5vw, 44px);
  left: clamp(18px, 2.5vw, 44px);
  display: block;
}
.hero-word { display: block; width: max-content; animation: hero-type-in .9s cubic-bezier(.16, 1, .3, 1) both; }
.hero-word:last-child { margin-left: 13vw; animation-delay: .1s; }
.hero-letter {
  --push-x: 0px;
  --push-y: 0px;
  --push-rotate: 0deg;
  --push-skew: 0deg;
  display: inline-block;
  transform: translate3d(var(--push-x), var(--push-y), 0) rotate(var(--push-rotate)) skewY(var(--push-skew));
  transform-origin: 50% 70%;
  transition: transform 150ms cubic-bezier(.2, .78, .2, 1);
  will-change: transform;
}
.hero-title-base {
  -webkit-mask-image: radial-gradient(
    circle at var(--hero-x) var(--hero-y),
    transparent 0 calc(var(--lens-radius) - 1px),
    #000 calc(var(--lens-radius) + 1px)
  );
  mask-image: radial-gradient(
    circle at var(--hero-x) var(--hero-y),
    transparent 0 calc(var(--lens-radius) - 1px),
    #000 calc(var(--lens-radius) + 1px)
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  will-change: mask-image;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #111;
  animation: hero-image-in 1s .18s cubic-bezier(.16, 1, .3, 1) both;
  pointer-events: none;
}
.hero-layer { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-layer-bw { filter: contrast(1.04); }
.hero-layer-color {
  clip-path: circle(var(--lens-radius) at var(--hero-x) var(--hero-y));
  filter: saturate(.95) contrast(1.04);
  will-change: clip-path;
}
.hero-lens-ring {
  position: absolute;
  top: var(--hero-y);
  left: var(--hero-x);
  z-index: 7;
  width: var(--lens-size);
  height: var(--lens-size);
  border: 2px solid var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(8,8,8,.58), 0 0 34px rgba(206,255,0,.22), inset 0 0 34px rgba(206,255,0,.1);
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: top, left;
}

.hero-meta { position: absolute; z-index: 8; font-size: 9px; font-weight: 800; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; }
.hero-meta-left {
  left: clamp(20px, 3.5vw, 58px);
  top: 50%;
  padding: 8px 11px 7px;
  border-left: 3px solid var(--signal);
  background: rgba(8,8,8,.58);
  color: var(--paper);
  white-space: nowrap;
  backdrop-filter: blur(7px);
}
.hero-meta-right { right: clamp(20px, 3.5vw, 58px); top: 14%; text-align: right; }

.hero-services { position: absolute; right: clamp(20px, 3.5vw, 58px); bottom: 34px; z-index: 8; display: flex; gap: 9px; }
.hero-services button { padding: 8px 10px 7px; border: 0; border-radius: 0; background: var(--signal); color: var(--ink); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hero-services button:hover, .hero-services button:focus-visible { background: var(--paper); transform: translateY(-3px); outline: 2px solid var(--signal); outline-offset: 2px; }
.hero-link { position: absolute; left: clamp(20px, 3.5vw, 58px); bottom: 34px; z-index: 8; display: inline-flex; align-items: center; gap: 18px; padding-bottom: 6px; border-bottom: 2px solid var(--signal); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero-link span { color: var(--signal); font-size: 18px; }

.work-section { padding: clamp(76px, 10vw, 150px) clamp(14px, 2vw, 30px) 40px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: end; gap: 40px; padding: 0 clamp(7px, 2vw, 32px) clamp(46px, 6vw, 80px); }
.section-kicker { margin: 0 0 13px; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(56px, 8vw, 126px); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
.section-intro { max-width: 540px; margin: 0 0 4px; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.4; }

.filter-board { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 12px; border: 2px solid var(--ink); background: var(--ink); gap: 2px; }
.filter-board button { display: flex; align-items: flex-end; justify-content: space-between; min-height: 102px; padding: 15px 14px 13px; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease; }
.filter-board button:hover, .filter-board button.active { background: var(--signal); }
.filter-board strong { font-family: var(--font-display); font-size: clamp(21px, 2.6vw, 42px); line-height: .85; letter-spacing: -.06em; }
.filter-board span { font-size: 10px; font-weight: 900; }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.work-card { min-width: 0; aspect-ratio: 1; }
.work-card button { position: relative; display: block; width: 100%; height: 100%; min-height: 0; padding: 0; overflow: hidden; border: 0; background: #222; color: #fff; text-align: left; cursor: pointer; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .75, .2, 1), filter .45s ease; }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 34%, rgba(0,0,0,.86)); }
.card-year { position: absolute; top: 18px; right: 18px; padding: 5px 7px; background: var(--signal); color: var(--ink); font-size: 10px; font-weight: 900; }
.card-copy { position: absolute; left: 20px; right: 20px; bottom: 19px; }
.card-copy span, .card-copy strong { display: block; }
.card-client { margin-bottom: 8px; color: var(--signal); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.card-copy strong { max-width: 90%; font-family: var(--font-display); font-size: clamp(25px, 2.8vw, 46px); line-height: .88; letter-spacing: -.055em; text-transform: uppercase; }
.card-category { margin-top: 10px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.play { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(0,0,0,.28); opacity: 0; transform: scale(.8); transition: opacity .3s ease, transform .3s ease; }
.work-card button:hover img { transform: scale(1.045); filter: saturate(1.12) contrast(1.04); }
.work-card button:hover .play { opacity: 1; transform: scale(1); }

.load-more-wrap { display: flex; justify-content: center; padding: 52px 0 24px; }
.load-more { min-width: 230px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: 0; background: var(--signal); color: var(--ink); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.load-more:hover { background: var(--ink); color: var(--signal); }
.load-more span { margin-left: 18px; }

.about-section { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr); min-height: 770px; margin-top: 90px; background: var(--coral); color: var(--ink); }
.about-image { min-height: 650px; overflow: hidden; background: #172717; }
.about-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08); }
.about-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 110px) clamp(30px, 5.5vw, 84px); }
.about-copy h2 { margin: 0 0 34px; max-width: 680px; font-family: var(--font-display); font-size: clamp(52px, 6.2vw, 96px); line-height: .84; letter-spacing: -.075em; text-transform: uppercase; }
.about-copy > p:not(.section-kicker) { max-width: 660px; margin: 0 0 17px; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.5; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; border-top: 2px solid var(--ink); }
.service-list span { padding: 16px 8px 16px 0; border-bottom: 2px solid var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.contact-section { position: relative; overflow: hidden; padding: clamp(88px, 12vw, 180px) clamp(22px, 4vw, 64px); background: var(--ink); color: var(--paper); }
.contact-section .section-kicker { color: var(--signal); }
.contact-section h2 { margin: 0 0 56px; max-width: 1200px; color: var(--signal); font-family: var(--font-display); font-size: clamp(62px, 10vw, 158px); line-height: .79; letter-spacing: -.08em; text-transform: uppercase; }
.contact-email { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 8px; border-bottom: 3px solid var(--signal); font-size: clamp(20px, 2.5vw, 38px); font-weight: 900; letter-spacing: -.04em; }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px clamp(22px, 4vw, 64px) 44px; background: var(--ink); color: var(--paper); border-top: 1px solid rgba(255,255,255,.17); }
footer p { margin: 0; }
.social-links { display: flex; flex-wrap: wrap; gap: 24px; }
.social-links a { font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.social-links a:hover { color: var(--signal); }

.video-dialog { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); gap: 0; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 0; background: #080808; color: var(--paper); }
.video-dialog::backdrop { background: rgba(0,0,0,.86); }
.dialog-close { position: absolute; z-index: 4; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.24); border-radius: 0; background: var(--signal); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.video-frame { width: 100%; background: #000; }
.video-frame video { display: block; width: 100%; max-height: 74vh; background: #000; }
.video-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 18px 22px 20px; }
.video-meta h3 { margin: 0; font-size: clamp(18px, 2vw, 26px); font-weight: 900; letter-spacing: -.03em; }
.video-meta p { margin: 0; color: rgba(240,238,230,.6); }

[data-reveal] { opacity: 0; transform: translateY(52px); transition: opacity .75s var(--reveal-delay, 0ms) ease, transform .9s var(--reveal-delay, 0ms) cubic-bezier(.16, 1, .3, 1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-group(*) { animation-duration: .58s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }

@keyframes hero-type-in { from { opacity: 0; transform: translateY(24%) skewY(4deg); } to { opacity: 1; transform: translateY(0) skewY(0); } }
@keyframes hero-image-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-note { display: none; }
  .hero-title { font-size: clamp(88px, 20vw, 170px); line-height: .76; }
  .hero-title-layout { top: 13%; }
  .hero-word:last-child { margin-left: 2vw; }
  .hero-layer { object-position: 52% center; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .filter-board { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; }
  .filter-board button { min-height: 84px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section { grid-template-columns: 1fr; }
  .about-image { min-height: 74vw; }
  .about-copy { padding-block: 70px; }
}

@media (max-width: 580px) {
  .site-header { min-height: 70px; padding-inline: 18px; }
  .brand img { width: 60px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:nth-child(2) { display: none; }
  .poster-hero { min-height: 760px; padding-inline: 18px; }
  .hero-title { font-size: clamp(76px, 26vw, 128px); line-height: .79; }
  .hero-title-layout { top: 11%; right: 15px; left: 15px; }
  .hero-meta-left { top: 47%; left: 18px; }
  .hero-meta-right { display: none; }
  .poster-hero { --lens-radius: 70px; --lens-size: 140px; }
  .hero-layer { object-position: 55% center; }
  .hero-services { right: 18px; bottom: 24px; gap: 4px; }
  .hero-services button { padding-inline: 6px; }
  .hero-link { left: 18px; bottom: 70px; }
  .section-heading h2 { font-size: clamp(51px, 17vw, 86px); }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { aspect-ratio: 1; }
  .service-list { grid-template-columns: 1fr; }
  .video-meta { align-items: flex-start; flex-direction: column; }
  footer { flex-direction: column; }
}

@media (max-aspect-ratio: 3 / 2) {
  .hero-layer { object-fit: contain; object-position: center; }
  .poster-hero::before { background: linear-gradient(180deg, rgba(0,0,0,.34), transparent 40%, rgba(0,0,0,.46)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-letter { transform: none; }
}
