/* Ductayp — studio site
   Black, white, one accent per game. Nothing else. */

:root {
  --bg: #000;
  --fg: #fff;
  --fg-2: rgba(255, 255, 255, 0.72);
  --fg-3: rgba(255, 255, 255, 0.46);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);
  --panel: #0b0b0b;
  --accent: #fff;            /* studio pages stay monochrome */
  --gold: #f3c35a;           /* Treasure Hunt accent */
  --jade: #3fe0a5;           /* Treasure Hunt curse green */

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: #fff; color: #000; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.bare::before { display: none; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.display { font-size: clamp(44px, 8vw, 112px); font-weight: 600; }
.h2 { font-size: clamp(34px, 5vw, 68px); }
.h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.025em; line-height: 1.1; }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--fg-2); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--fg-3); }
p { margin: 0 0 1em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  border-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav a {
  font-size: 14px; color: var(--fg-2); letter-spacing: .01em;
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav .btn { color: var(--fg); }
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .brand img { height: 18px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: #fff; color: #000; border-color: #fff; }
.btn.solid { background: #fff; color: #000; border-color: #fff; }
.btn.solid:hover { background: transparent; color: #fff; }
.btn.lg { height: 54px; padding: 0 28px; font-size: 15px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(96px, 14vw, 180px) 0; }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- home hero ---------- */
.hero-studio {
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-studio::before {           /* slow light bloom behind the logo */
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 30% at 50% 48%, rgba(255,255,255,.10), transparent 70%),
    radial-gradient(30% 20% at 30% 70%, rgba(255,255,255,.04), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
  z-index: -1;
}
@keyframes drift { to { transform: translate3d(3%, -2%, 0) scale(1.06); } }
.hero-studio .logo-xl {
  width: min(760px, 84vw);
  margin: 0 auto;
  position: relative;
}
.logo-shine {                    /* a light sweep that passes across the logo once */
  position: relative; display: block;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  aspect-ratio: 1734 / 384;
  background: linear-gradient(100deg, #fff 0 40%, #9a9a9a 48%, #fff 56% 100%) 120% 0 / 300% 100% no-repeat, #fff;
  animation: shine 3.2s 0.6s var(--ease) both;
}
@keyframes shine { from { background-position: 120% 0; } to { background-position: -40% 0; } }
.hero-studio .tag { margin-top: clamp(28px, 4vw, 44px); font-size: clamp(18px, 2vw, 24px); color: var(--fg-2); letter-spacing: -0.01em; }
.hero-studio .tag strong { color: var(--fg); font-weight: 500; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3);
  display: grid; justify-items: center; gap: 12px;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(var(--fg-3), transparent);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- ethos ---------- */
.ethos-statement {
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 20ch;
}
.ethos-statement em { font-style: normal; color: var(--fg-3); }
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(64px, 9vw, 120px);
}
.pillar { padding: 36px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar .num { font-family: var(--mono); font-size: 12px; color: var(--fg-3); letter-spacing: .12em; }
.pillar h3 { font-size: 24px; margin: 18px 0 12px; letter-spacing: -0.02em; }
.pillar p { color: var(--fg-2); font-size: 16px; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- game card (home) ---------- */
.game-feature {
  display: block;
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
  aspect-ratio: 16 / 8.2;
  min-height: 460px;
}
.game-feature .art {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
  z-index: -2;
}
.game-feature:hover .art { transform: scale(1.07); }
.game-feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,0) 70%),
    linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 40%);
}
.game-feature .copy {
  position: absolute; inset: auto auto 0 0;
  padding: clamp(24px, 4vw, 56px);
  max-width: 560px;
  display: grid; gap: 18px; justify-items: start;
}
.game-feature .game-logo { width: clamp(200px, 26vw, 320px); filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.game-feature .copy p { color: var(--fg-2); margin: 0; }
.status {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; color: var(--fg);
  padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(0,0,0,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5dff9d; box-shadow: 0 0 10px #5dff9d; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.coming-soon {
  margin-top: 20px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.slot-card {
  border: 1px dashed var(--line-2);
  border-radius: calc(var(--radius) + 6px);
  min-height: 180px;
  display: grid; place-items: center; text-align: center;
  color: var(--fg-3);
  padding: 32px;
}
.slot-card .mono { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 760px) {
  .game-feature { aspect-ratio: auto; min-height: 560px; }
  .game-feature::after { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 55%, transparent 80%); }
  .coming-soon { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */
.contact {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end;
}
.contact .mail {
  font-size: clamp(28px, 4.4vw, 60px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05;
  display: inline-block; border-bottom: 1px solid var(--line-2); padding-bottom: 8px;
  transition: border-color .3s;
  word-break: break-word;
}
.contact .mail:hover { border-color: #fff; }
.contact dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact dl div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact dt { color: var(--fg-3); }
.contact dd { margin: 0; text-align: right; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; color: var(--fg-3); }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.site-footer img { height: 16px; width: auto; opacity: .9; }
.site-footer .rg { display: flex; align-items: center; gap: 14px; justify-self: center; text-align: center; }
.age {
  flex: none;
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--fg-2); color: var(--fg); font-weight: 600; font-size: 12px;
}
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a:hover { color: #fff; }
@media (max-width: 860px) {
  .site-footer .wrap { grid-template-columns: 1fr; justify-items: start; }
  .site-footer .rg { justify-self: start; text-align: left; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   TREASURE HUNT
   ========================================================= */
.th { --accent: var(--gold); }

.th-hero {
  min-height: 100svh;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end;
  padding: 140px 0 clamp(56px, 8vw, 104px);
}
.th-hero .bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
  animation: kenburns 24s ease-out both;
}
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.th-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, #000 0%, rgba(0,0,0,.72) 22%, rgba(0,0,0,.05) 60%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,.7) 0%, transparent 55%);
}
.th-hero .inner { display: grid; gap: 28px; justify-items: start; max-width: 720px; }
.th-hero .game-logo { width: clamp(260px, 34vw, 460px); filter: drop-shadow(0 14px 40px rgba(0,0,0,.7)); }
.th-hero h1 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 500; letter-spacing: -0.035em; }
.th-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.th .btn.gold { background: var(--gold); border-color: var(--gold); color: #1a1204; font-weight: 600; }
.th .btn.gold:hover { background: #fff; border-color: #fff; }

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 28px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .v { font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); margin-top: 12px; }
@media (max-width: 760px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- demo ---------- */
.demo-shell {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line-2);
  overflow: hidden;
  background: #050403;
  aspect-ratio: 16 / 9;
  box-shadow: 0 60px 160px -40px rgba(243, 195, 90, .22), 0 0 0 1px rgba(0,0,0,.6);
}
.demo-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.demo-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; text-align: center;
  cursor: pointer; isolation: isolate;
}
.demo-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: brightness(.55) saturate(1.05); }
.demo-poster:hover img { transform: scale(1.03); filter: brightness(.7); }
.demo-poster::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(38% 48% at 50% 50%, rgba(0,0,0,.72), rgba(0,0,0,.25) 70%, rgba(0,0,0,.45));
  transition: opacity .6s var(--ease);
}
.demo-poster:hover::before { opacity: .75; }
.demo-poster .play {
  display: grid; justify-items: center; gap: 18px;
}
.demo-poster .ring {
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: #1a1204;
  box-shadow: 0 0 0 10px rgba(243,195,90,.18), 0 0 80px rgba(243,195,90,.55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.demo-poster:hover .ring { transform: scale(1.07); box-shadow: 0 0 0 16px rgba(243,195,90,.14), 0 0 110px rgba(243,195,90,.7); }
.demo-poster .ring svg { width: 34px; height: 34px; margin-left: 6px; }
.demo-poster .label { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.demo-poster .sub { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.demo-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 18px; font-size: 14px; color: var(--fg-3);
}
.demo-bar .tools { display: flex; gap: 10px; }
.demo-bar .btn { height: 38px; padding: 0 16px; font-size: 13px; }
@media (max-width: 700px) and (orientation: portrait) {
  .demo-shell { aspect-ratio: 9 / 16; max-height: 82svh; margin: 0 auto; }
}

/* ---------- how it plays ---------- */
.how {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; color: var(--gold); padding-top: 5px; letter-spacing: .1em; }
.steps strong { display: block; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 4px; }
.steps span { color: var(--fg-2); font-size: 16px; }
.shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9);
  background: #111;
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(64px, 8vw, 104px); }
.tier {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent);
  transition: border-color .3s, transform .4s var(--ease);
}
.tier:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tier .name { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.tier .max { font-size: clamp(38px, 4vw, 54px); font-weight: 600; letter-spacing: -0.045em; margin: 16px 0 4px; line-height: 1; }
.tier .bombs { color: var(--fg-2); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.tier .dots { display: inline-flex; gap: 4px; }
.tier .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-3); }
.tier.cursed { border-color: rgba(63,224,165,.35); background: linear-gradient(180deg, rgba(63,224,165,.08), transparent); }
.tier.cursed .dots i { background: var(--jade); }
.tier.cursed .max { color: var(--jade); }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- bonus features ---------- */
.feature {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center;
  padding: clamp(56px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}
.feature:nth-of-type(even) { grid-template-columns: 1fr 1.35fr; }
.feature:nth-of-type(even) .media { order: 2; }
.feature .media { position: relative; padding-bottom: 12%; }
.feature .cine {
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 3 / 2;
}
.feature .cine img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.feature:hover .cine img { transform: scale(1.04); }
.feature .cine::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); border-radius: inherit; pointer-events: none; }
.feature .inset {
  position: absolute; width: 52%; right: -4%; bottom: 0;
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 30px 80px -10px rgba(0,0,0,.95), 0 0 0 6px rgba(0,0,0,.65);
  cursor: zoom-in;
}
.feature:nth-of-type(even) .inset { right: auto; left: -4%; }
.feature .inset img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.feature .inset .tag {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff;
}
.feature .num { font-family: var(--mono); font-size: 12px; color: var(--fg-3); letter-spacing: .14em; }
.feature h3 { font-size: clamp(32px, 3.8vw, 52px); letter-spacing: -0.04em; margin: 14px 0 12px; }
.feature .hook { color: var(--gold); font-size: 18px; font-weight: 500; margin-bottom: 18px; letter-spacing: -0.01em; }
.feature.cursed .hook { color: var(--jade); }
.feature .copy p { color: var(--fg-2); }
.feature .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-2);
}
@media (max-width: 900px) {
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .media { order: 0; }
  .feature .inset, .feature:nth-of-type(even) .inset { right: 12px; left: auto; width: 58%; }
}

/* ---------- full-bleed band ---------- */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(92vh, 900px);
  display: flex; align-items: flex-end;
  padding: clamp(56px, 8vw, 104px) 0;
}
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.6) 30%, transparent 65%), linear-gradient(180deg, #000 0%, transparent 18%);
}
.band .inner { max-width: 640px; display: grid; gap: 20px; }

/* ---------- gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.gallery button {
  border-radius: 10px; overflow: hidden; position: relative; border: 1px solid var(--line);
  aspect-ratio: 16 / 9; padding: 0; cursor: zoom-in;
  transition: border-color .3s, transform .4s var(--ease);
}
.gallery button:hover { border-color: var(--line-2); transform: translateY(-3px); }
.gallery button.wide { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; text-align: left;
  font-size: 13px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  opacity: 0; transition: opacity .3s;
}
.gallery button:hover .cap, .gallery button:focus-visible .cap { opacity: 1; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .cap { opacity: 1; }
}

/* ---------- specs ---------- */
.specs { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 96px); }
.specs dl { margin: 0; border-top: 1px solid var(--line); }
.specs dl div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding-top: 3px; }
.specs dd { margin: 0; }
@media (max-width: 860px) {
  .specs { grid-template-columns: 1fr; }
  .specs dl div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- CTA ---------- */
.cta {
  text-align: center; display: grid; justify-items: center; gap: 28px;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.94);
  display: grid; place-items: center;
  padding: 56px var(--gutter);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; display: grid; gap: 14px; max-width: min(1400px, 100%); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--line); }
.lightbox figcaption { text-align: center; color: var(--fg-2); font-size: 14px; }
.lightbox .close, .lightbox .nav-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 20px;
  background: rgba(0,0,0,.5);
}
.lightbox .close { top: 16px; right: 16px; }
.lightbox .prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { background: #fff; color: #000; }
