/* Showcase: dark, quiet, image-first. Shares fonts and palette with the 3D explorer. */
:root {
  --bg: #0f1214;
  --bg2: #161a1d;
  --ink: #ecebe6;
  --muted: #9aa1a6;
  --line: rgba(236, 235, 230, 0.14);
  --accent: #e8b46a;
  --display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

.kicker { margin: 0 0 14px; font: 500 12px var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.big { font: 500 clamp(21px, 2.3vw, 28px)/1.45 var(--display); margin: 0 0 18px; text-wrap: pretty; }
.sub { margin: 0; color: var(--muted); }
.head { margin-bottom: 32px; }

.btn {
  display: inline-block; font: 500 14px var(--body); letter-spacing: 0.02em; text-decoration: none; color: var(--ink);
  border: 1px solid rgba(236, 235, 230, 0.45); padding: 12px 20px; border-radius: 2px; transition: background .2s, color .2s;
}
.btn:hover { background: rgba(236, 235, 230, 0.12); }
.btn.solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.solid:hover { background: #fff; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; }
.hero-media { position: absolute; inset: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.on { opacity: 1; }
.tour { position: absolute; right: clamp(24px, 4vw, 48px); bottom: clamp(40px, 7vh, 80px); display: grid; justify-items: end; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(236,235,230,.85); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tour-label { transition: opacity .6s; }
.tour-dots { display: flex; gap: 6px; }
.tour-dots i { width: 22px; height: 2px; background: rgba(236,235,230,.3); overflow: hidden; }
.tour-dots i b { display: block; height: 100%; width: 0; background: var(--ink); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,14,.55) 0%, rgba(10,12,14,0) 22%, rgba(10,12,14,0) 40%, rgba(10,12,14,.85) 100%), linear-gradient(90deg, rgba(10,12,14,.5) 0%, rgba(10,12,14,0) 60%); }
.top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 22px clamp(24px, 4vw, 48px); font-size: 13px; letter-spacing: 0.08em; }
.mark { font-family: var(--display); font-size: 15px; }
.links a { text-decoration: none; margin-left: 24px; opacity: .85; }
.links a:hover { opacity: 1; }
.hero-copy { position: relative; margin-top: auto; padding: 0 clamp(24px, 4vw, 48px) clamp(40px, 7vh, 80px); max-width: 860px; }
.eyebrow { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(236,235,230,.8); }
h1 { margin: 0 0 16px; font: 600 clamp(44px, 7.5vw, 96px)/1 var(--display); letter-spacing: -0.005em; }
.lede { margin: 0 0 28px; font-size: clamp(16px, 1.5vw, 19px); max-width: 640px; color: rgba(236,235,230,.92); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* Intro */
.intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(72px, 10vw, 140px) 0; align-items: start; }
.intro-text p:not(.big) { color: #c9cbc6; max-width: 62ch; }
.program { margin: 0; border-top: 1px solid var(--line); }
.program div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.program dt { color: var(--muted); }
.program dd { margin: 0; font-family: var(--display); font-variant-numeric: tabular-nums; }

/* Films */
.films { padding: 0 0 clamp(72px, 10vw, 140px); }
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.film { margin: 0; cursor: pointer; }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg2); border-radius: 2px; }
figcaption { padding-top: 10px; font-size: 14px; display: grid; }
figcaption span { color: var(--muted); font-size: 13px; }

/* Views */
.views { padding-bottom: clamp(56px, 8vw, 110px); }
.chapter { margin-bottom: clamp(48px, 7vw, 88px); }
.chapter h3 { font: 600 clamp(24px, 2.6vw, 32px)/1.2 var(--display); margin: 0 0 6px; }
.chapter > .wrap > p { margin: 0 0 22px; color: var(--muted); max-width: 70ch; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.tile { grid-column: span var(--span, 4); margin: 0; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: zoom-in; font: inherit; }
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; background: var(--bg2); transition: opacity .25s, transform .6s; }
.tile:hover img { opacity: .88; }
.tile .cap { display: block; padding-top: 8px; font-size: 13.5px; }
.tile .cap i { font-style: normal; color: var(--muted); }

/* Explore */
.explore { padding: 0 0 clamp(72px, 10vw, 140px); }
.explore-card { position: relative; display: block; width: min(1240px, 100% - 48px); margin-inline: auto; text-decoration: none; border-radius: 2px; overflow: hidden; }
.explore-card img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; transition: transform 1.2s ease; }
.explore-card:hover img { transform: scale(1.03); }
.explore-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,14,.88) 0%, rgba(10,12,14,.55) 45%, rgba(10,12,14,0) 75%); }
.explore-copy { position: absolute; z-index: 1; inset: 0 auto 0 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(24px, 5vw, 64px); max-width: 620px; }
.note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* Work in progress */
.model { padding-bottom: clamp(56px, 8vw, 110px); }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.model-grid figure { margin: 0; }
.model-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 13px; }

/* Lightbox */
dialog { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(8,10,11,.96); color: var(--ink); }
dialog::backdrop { background: rgba(0,0,0,.6); }
dialog[open] { display: flex; align-items: center; justify-content: center; }
dialog figure { margin: 0; display: grid; justify-items: center; gap: 4px; padding: 0 64px; }
dialog img { max-width: calc(100vw - 128px); max-height: calc(100vh - 110px); object-fit: contain; }
dialog figcaption { text-align: center; }
.lb-close, .lb-nav { position: absolute; background: none; border: 0; color: var(--ink); cursor: pointer; font: 300 40px/1 var(--body); padding: 12px 16px; opacity: .75; }
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-nav.prev { left: 4px; } .lb-nav.next { right: 4px; }

@media (max-width: 860px) {
  .tour { top: 64px; bottom: auto; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,12,14,.5) 0%, rgba(10,12,14,0) 18%, rgba(10,12,14,.35) 38%, rgba(10,12,14,.9) 70%); }
  .intro { grid-template-columns: 1fr; }
  .film-grid { grid-template-columns: 1fr; }
  .tile { grid-column: span 12; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .explore-card img { aspect-ratio: 4 / 5; }
  .explore-card::after { background: linear-gradient(0deg, rgba(10,12,14,.92) 10%, rgba(10,12,14,.3) 70%); }
  .explore-copy { inset: auto 0 0 0; justify-content: flex-end; }
  .links a { margin-left: 16px; }
  dialog figure { padding: 0 8px; }
  dialog img { max-width: calc(100vw - 16px); }
  .lb-nav { top: auto; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .explore-card img, .tile img { transition: none; }
}
