:root {
  --bg: #050506;
  --bg-2: #0e0e10;
  --fg: #f4f2ee;
  --muted: #9a978f;
  --line: #24242a;
  --glow: rgba(255, 214, 170, .14);
  --btn-bg: #f4f2ee;
  --btn-fg: #0a0a0b;
  --radius: 22px;
  --pad: clamp(16px, 4vw, 48px);
  --head: "Unbounded", "Segoe UI", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.55 var(--body); overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 18px; }
.logo { display: block; position: relative; width: clamp(170px, 22vw, 260px); mix-blend-mode: screen; }
.logo img {
  display: block; width: 100%; height: auto;
  /* fade the plate edges into the page so the image box does not show */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 12%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 12%, #000 80%, transparent);
  mask-composite: intersect;
}
/* sign loop sits exactly on the sign in logo.jpg (box x 23..299, y -20..250 of 1200x201):
   it overhangs the image so the halo and floor reflection are not cut */
.logo video {
  position: absolute; left: 1.9167%; top: -9.95%; width: 23%; height: 134.328%; opacity: 0; transition: opacity .8s ease;
  /* feathered edges hide the 2-6 level black mismatch; the same sign in logo.jpg shows underneath */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}
.logo video.on { opacity: 1; }
.langs { display: flex; gap: 4px; font: 600 13px/1 var(--body); letter-spacing: .08em; }
.langs a { text-decoration: none; color: var(--muted); padding: 10px 8px; border-radius: 10px; }
.langs a[aria-current] { color: var(--fg); }
.langs a:hover { color: var(--fg); }

/* hero */
.hero { position: relative; padding-top: clamp(20px, 4vw, 44px); }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 30% 30%, var(--glow), transparent 70%);
}
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
h1 {
  font: 600 clamp(30px, 5.2vw, 68px)/1.04 var(--head); letter-spacing: -.035em;
  margin: 0; max-width: 15ch; text-wrap: balance;
}
.lead { color: var(--muted); max-width: 46ch; margin: 14px 0 0; font-size: clamp(16px, 1.4vw, 19px); }
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 30px; border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
  font: 700 17px/1 var(--body); letter-spacing: -.01em; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 18px 50px -18px rgba(255, 214, 170, .55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 22px 60px -16px rgba(255, 214, 170, .7); }
.cta:focus-visible, .langs a:focus-visible, .card:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.cta svg { width: 22px; height: 22px; flex: none; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-note { color: var(--muted); font-size: 14px; }

/* works */
.works { margin-top: clamp(22px, 3vw, 36px); }
.reel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 14px) / 6);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 6px;
}
.reel::-webkit-scrollbar { display: none; }
.card {
  position: relative; scroll-snap-align: start; aspect-ratio: 9 / 16; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-2); cursor: pointer; border: 0; padding: 0; color: inherit; text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card video { opacity: 0; transition: opacity .5s ease; }
.card video.on { opacity: 1; }
.card::after {
  content: ""; position: absolute; inset: 55% 0 0; pointer-events: none;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
}
.card-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; }
.card-cap b { display: block; font: 600 15px/1.25 var(--body); }
.card-cap span { display: block; color: rgba(244,242,238,.72); font-size: 13px; margin-top: 2px; }
.play {
  position: absolute; z-index: 1; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(10,10,11,.55); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.play svg { width: 14px; height: 14px; margin-left: 2px; }
/* dome strip: three dome circles (square) and one wide room view, all one height */
.reel.dome { grid-auto-columns: auto; grid-template-columns: 1fr 1fr 1fr 1.778fr; }
.reel.films { grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); }
.card.sq { aspect-ratio: 1; background: #000; }
.card.wide { aspect-ratio: 16 / 9; background: #000; }
.reel-hint { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
/* layout strip: cover + opener pairs, frames one height (columns follow the page aspect), caption under the frame */
.reel.press { grid-auto-columns: auto; grid-template-columns: .77fr 1.6fr .77fr .8fr; align-items: start; }
.card.press { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; border-radius: 0; }
.card.press::after { display: none; }
.card.press .frame {
  display: block; position: relative; overflow: hidden; border-radius: 6px; background: var(--bg-2);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.06);
}
.card.press img { transition: transform .5s ease; }
.card.press:hover img { transform: scale(1.03); }
.card.cover .frame { aspect-ratio: 540 / 701; }
.card.spread .frame { aspect-ratio: 1000 / 626; }
.card.page .frame { aspect-ratio: 4 / 5; }
.card.press .card-cap { position: static; margin-top: 12px; }
.card.press .play { opacity: 0; transition: opacity .3s ease; }
.card.press:hover .play, .card.press:focus-visible .play { opacity: 1; }

/* sections */
section.block { padding-top: clamp(72px, 9vw, 130px); }
h2 { font: 600 clamp(24px, 3.2vw, 42px)/1.1 var(--head); letter-spacing: -.03em; margin: 0 0 28px; max-width: 20ch; }
.block-lead { color: var(--muted); max-width: 62ch; margin: -14px 0 26px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.tile { background: var(--bg-2); border-radius: var(--radius); padding: 26px 24px 28px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.tile h3 { font: 600 19px/1.3 var(--body); margin: 0 0 10px; letter-spacing: -.01em; }
.tile p { color: var(--muted); margin: 0; font-size: 16px; }
.tile.main { background: linear-gradient(160deg, #1b1916, var(--bg-2) 60%); }
.grid4 .tile::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font: 600 13px/1 var(--head); color: var(--muted); margin-bottom: 22px; letter-spacing: .06em;
}
.grid4 .tile.accent { box-shadow: inset 0 0 0 1px rgba(255, 214, 170, .35); }
.tile.product { display: flex; align-items: center; justify-content: space-between; gap: 22px 48px; flex-wrap: wrap; padding: 30px 32px; }
.tile.product h3 { font: 600 clamp(22px, 2.4vw, 30px)/1.1 var(--head); letter-spacing: -.03em; margin: 0 0 12px; }
.tile.product p { max-width: 62ch; }
.tile.product .product-who { margin-top: 10px; font-size: 14px; }
.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; color: var(--fg); text-decoration: none; font: 700 16px/1 var(--body);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); transition: background .2s ease, box-shadow .2s ease;
}
.btn-line:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.btn-line:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* final */
.final { text-align: center; padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 100px); }
.final h2 { margin: 0 auto 14px; max-width: 18ch; }
.final p { color: var(--muted); margin: 0 auto 30px; max-width: 44ch; }
.mail { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 16px; text-underline-offset: 4px; }
.mail:hover { color: var(--fg); }

footer { border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer a { color: var(--muted); text-underline-offset: 3px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* sticky thumb-zone button (phones) */
.dock {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20;
  display: none; transform: translateY(140%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s .35s;
}
.dock .cta { width: 100%; }
.dock.show { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1); }

/* player */
dialog.player {
  border: 0; padding: 0; background: transparent; color: var(--fg);
  max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh;
}
dialog.player::backdrop { background: rgba(0,0,0,.9); backdrop-filter: blur(6px); }
.player-in { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; }
.player video { height: min(76dvh, 860px); width: auto; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 18px; background: #000; object-fit: contain; }
dialog.player[data-shape="sq"] video { aspect-ratio: 1; }
dialog.player[data-shape="wide"] video { aspect-ratio: 16 / 9; height: auto; width: min(92vw, 1280px, calc(76dvh * 16 / 9)); }
.player .still { width: auto; height: auto; max-width: min(92vw, 1400px); max-height: 76dvh; border-radius: 6px; background: var(--bg-2); }
.player .still[hidden], .player video[hidden] { display: none; }
.player-cap { text-align: center; max-width: 44ch; }
.player-cap b { display: block; font-weight: 600; }
.player-cap span { color: var(--muted); font-size: 15px; }
.player .cta { min-height: 54px; }
.x {
  position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(20,20,22,.85); color: var(--fg); font: 400 26px/1 var(--body); z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

@media (max-width: 1100px) {
  .reel { grid-auto-columns: calc((100% - 3 * 14px) / 3.6); }
  .reel.dome { grid-template-columns: 34% 34% 34% 60%; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .reel.dome { grid-template-columns: 72% 72% 72% 100%; align-items: center; }
  .reel.films { grid-template-columns: 88% 88% 88%; }
  .reel.press { grid-template-columns: 62% 100% 62% 64%; }
  .card.press .play { opacity: 1; }
  .player .still { max-width: 100%; max-height: calc(100dvh - 260px); }
  .reel { grid-auto-columns: 58%; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 6px; scroll-padding: 0 var(--pad); }
  .grid3, .grid4 { grid-template-columns: 1fr; }
  .hero-row { gap: 18px; }
  .cta-side { width: 100%; }
  .cta-side .cta { width: 100%; }
  .tile.product { padding: 26px 24px 28px; }
  .btn-line { width: 100%; }
  .dock { display: block; }
  footer { padding-bottom: 110px; }
  .player-in { padding-top: 72px; justify-content: flex-start; }
  .player video { height: auto; width: auto; max-width: 100%; max-height: calc(100dvh - 260px); }
  dialog.player[data-shape="sq"] video, dialog.player[data-shape="wide"] video { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card video, .dock, .cta { transition: none; }
}
