:root {
  --bg: #070505;
  --bg-2: #0d0908;
  --glass: rgba(255, 240, 230, .035);
  --glass-2: rgba(255, 240, 230, .06);
  --line: rgba(255, 220, 200, .09);
  --line-2: rgba(255, 220, 200, .16);
  --text: #f6eee8;
  --muted: #a8968c;
  --faint: #6d5f58;
  --mars: #d9532a;
  --mars-2: #ff8f5a;
  --gold: #e7c79a;
  --gold-2: #f7e3c4;
  --todo: #ffd37a;
  --radius: 20px;
  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: Manrope, Inter, system-ui, sans-serif;
  --mono: Orbitron, Manrope, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--mars); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 500; }
h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.005em; }
code { font-size: .9em; color: var(--gold); }

.todo { color: var(--todo) !important; font-style: italic; }

#starfield { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.stars {
  position: absolute; inset: 0; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 50% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 10%, #fff, transparent),
    radial-gradient(1px 1px at 85% 45%, #fff, transparent), radial-gradient(1.5px 1.5px at 15% 85%, #fff, transparent),
    radial-gradient(1px 1px at 60% 90%, #fff, transparent), radial-gradient(1px 1px at 92% 80%, #fff, transparent);
  background-size: 420px 420px;
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px max(20px, calc((100% - var(--maxw)) / 2));
  transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(7, 5, 5, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.brand { font: 700 15px var(--mono); letter-spacing: .32em; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: url('../images/logo_white.png') no-repeat center center / cover;
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-links { display: flex; gap: 2px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); }
.nav-links a { position: relative; text-decoration: none; color: var(--muted); padding: 7px 15px; border-radius: 999px; font-weight: 500; font-size: 14px; transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--glass-2); }
.nav-toggle { display: none; background: var(--glass); border: 1px solid var(--line); color: var(--text); border-radius: 12px; font-size: 18px; width: 42px; height: 42px; cursor: pointer; }

.lang-switch { position: relative; display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--glass); backdrop-filter: blur(12px); }
.lang-switch button { all: unset; cursor: pointer; position: relative; z-index: 1; font: 600 12px var(--sans); letter-spacing: .1em; padding: 6px 13px; border-radius: 999px; color: var(--muted); transition: color .3s; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { color: #1b0904; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 2px 12px rgba(231,199,154,.35); }
.lang-switch button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px max(20px, calc((100% - var(--maxw)) / 2)) 90px;
  background:
    radial-gradient(ellipse 60% 70% at 78% 55%, rgba(217,83,42,.22), transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(231,199,154,.06), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
.planet-wrap { position: absolute; right: -10vmin; top: 50%; width: 82vmin; height: 82vmin; transform: translateY(-50%); z-index: -2; }
.planet {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 70%, rgba(0,0,0,.28) 0 5%, transparent 6%),
    radial-gradient(circle at 56% 34%, rgba(0,0,0,.2) 0 3.5%, transparent 4.5%),
    radial-gradient(circle at 68% 62%, rgba(0,0,0,.22) 0 7%, transparent 8%),
    radial-gradient(circle at 40% 45%, rgba(0,0,0,.14) 0 2.5%, transparent 3.5%),
    radial-gradient(ellipse 70% 20% at 50% 50%, rgba(255,170,110,.18), transparent 60%),
    radial-gradient(circle at 30% 28%, #ffad78, #e0602f 34%, #9c3215 64%, #2e0b04 100%);
  box-shadow: inset -60px -40px 110px rgba(0,0,0,.75), inset 18px 14px 40px rgba(255,190,140,.15), 0 0 160px rgba(217,83,42,.32);
  animation: float 14s ease-in-out infinite;
}
.planet-wrap::before {
  content: ""; position: absolute; inset: -3%; border-radius: 50%;
  background: radial-gradient(circle, transparent 64%, rgba(255,143,90,.18) 69%, transparent 74%);
  filter: blur(6px);
}
.orbit { position: absolute; inset: -14%; border-radius: 50%; border: 1px solid rgba(231,199,154,.12); transform: rotateX(72deg) rotateZ(-18deg); }
.orbit::after { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
@keyframes float { 50% { transform: translateY(-14px); } }

.hero-text { position: relative; max-width: 620px; animation: rise 1.1s var(--ease) both; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 11.5px var(--mono); color: var(--gold); letter-spacing: .32em; text-transform: uppercase; margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero h1 {
  font: 800 clamp(56px, 11vw, 110px)/.92 var(--mono); letter-spacing: .04em;
  background: linear-gradient(180deg, #fff 0%, var(--gold-2) 45%, var(--mars-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(217,83,42,.25));
}
.tagline { font: 400 clamp(20px, 2.6vw, 26px)/1.45 var(--serif); font-style: italic; color: #d7c5b9; margin: 26px 0 38px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.facts { list-style: none; padding: 0; margin: 46px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.facts li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--muted); letter-spacing: .02em; }
.facts li::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); box-shadow: 0 0 8px var(--gold); }

.scroll-hint { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: 24px; height: 38px; border: 1px solid var(--line-2); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 60% { transform: translate(-50%, 12px); opacity: 0; } 100% { opacity: 0; } }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px;
  font: 600 15px var(--sans); letter-spacing: .02em; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, border-color .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #1b0904; background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--mars-2)); box-shadow: 0 10px 34px rgba(217,83,42,.35), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 0 16px 48px rgba(217,83,42,.5), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(231,199,154,.4); background: var(--glass-2); }

.section { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 130px 20px; }
.section::before {
  content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, rgba(231,199,154,.25) 50%, var(--line-2) 80%, transparent);
}
.section-head { display: grid; grid-template-columns: 90px 1fr; column-gap: 24px; margin-bottom: 56px; max-width: 100%; }
.section-head .eyebrow { grid-row: span 3; align-self: start; margin: 12px 0 0; font-size: 13px; letter-spacing: .2em; flex-direction: column; align-items: flex-start; gap: 0; }
.section-head .eyebrow::before { display: none; }
.section-head .eyebrow::after { content: ""; display: block; width: 1px; height: 46px; margin: 12px 0 0 9px; background: linear-gradient(var(--gold), transparent); }
.section-head h2 { white-space: nowrap; font-size: clamp(22px, 3.5vw, 44px); }
.lead { color: var(--muted); font-size: 17.5px; margin: 16px 0 0; max-width: 620px; }

.glass {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,240,230,.05), rgba(255,240,230,.015));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.play-screen {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 21 / 9; min-height: 300px; border-radius: 28px; text-decoration: none;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(231,199,154,.05) inset;
}
.play-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,5,5,.1) 30%, rgba(7,5,5,.85)),
    radial-gradient(ellipse at 50% 125%, #c24f22 0 28%, transparent 60%),
    radial-gradient(ellipse at 15% 112%, #6e240d 0 26%, transparent 52%),
    radial-gradient(ellipse at 88% 118%, #8a3013 0 26%, transparent 52%),
    radial-gradient(circle at 78% 26%, rgba(255,220,180,.45) 0 1.5%, transparent 2.5%),
    linear-gradient(180deg, #1c0905, #4e1c0c 55%, #94401b);
  transition: transform 1.2s var(--ease);
}
.play-screen:hover .play-bg { transform: scale(1.05); }
.play-screen::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.35) 3px 4px);
}
.play-corner { position: absolute; width: 26px; height: 26px; border: 1px solid var(--gold); opacity: .6; }
.play-corner.tl { top: 22px; left: 22px; border-right: 0; border-bottom: 0; }
.play-corner.tr { top: 22px; right: 22px; border-left: 0; border-bottom: 0; }
.play-corner.bl { bottom: 22px; left: 22px; border-right: 0; border-top: 0; }
.play-corner.br { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }
.play-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; }
.play-button {
  position: relative; width: clamp(82px, 11vw, 116px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; padding-left: 6px;
  font-size: clamp(26px, 4vw, 38px); color: #1b0904;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--mars-2));
  box-shadow: 0 0 60px rgba(217,83,42,.6), inset 0 2px 0 rgba(255,255,255,.5);
  transition: transform .4s var(--ease);
}
.play-button::before, .play-button::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(231,199,154,.4); animation: ring 2.6s var(--ease) infinite; }
.play-button::after { animation-delay: 1.3s; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.play-screen:hover .play-button { transform: scale(1.08); }
.play-title { font: 700 clamp(18px, 3vw, 28px) var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.play-sub { color: #cdb9ad; font-size: 15px; }

.controls { margin-top: 26px; padding: 26px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; }
.controls h3 { font: 600 11.5px var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.key-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 30px; }
.key-list li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14.5px; }
kbd {
  font: 600 12px var(--sans); color: var(--text); white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 9px; padding: 5px 11px;
}

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.card { position: relative; padding: 38px 34px; background: var(--bg); transition: background .5s; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(217,83,42,.14), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card-num { position: absolute; top: 30px; right: 32px; font: 500 13px var(--mono); color: var(--faint); letter-spacing: .1em; }
.card-icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 26px; border-radius: 16px; margin-bottom: 26px; background: var(--glass-2); border: 1px solid var(--line); }
.card h3 { position: relative; font-size: 20px; margin-bottom: 10px; }
.card p { position: relative; margin: 0; color: var(--muted); }

.aboutusx { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.aboutus { position: relative; padding: 38px 34px; background: var(--bg); transition: background .5s; overflow: hidden; overflow: visible !important;}
.aboutus::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(217,83,42,.14), transparent 60%);
}
.aboutus:hover::before { opacity: 1; }
.aboutus-num { position: absolute; top: 30px; right: 32px; font: 500 13px var(--mono); color: var(--faint); letter-spacing: .1em; }
.aboutus-icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 26px; border-radius: 16px; margin-bottom: 26px; background: var(--glass-2); border: 1px solid var(--line); }
.aboutus h3 { position: relative; font-size: 20px; margin-bottom: 120px; }
.aboutus p { position: relative; margin: -40px; left: -110px; top: -50px; padding-left: 85px; max-width: 2000px;color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.gallery_videos, .gallery_screenshots { display: contents; }
.shot { margin: 0; grid-column: span 2; }
.gallery_videos .shot:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery_videos .shot:nth-child(1) .shot-btn { aspect-ratio: auto; height: calc(100% - 36px); min-height: 280px; cursor: pointer; }

.development-phase-grid,
.developing-phrase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.development-phase_videos,
.development-phase_screenshots,
.developing-phrase_videos,
.developing-phrase_screenshots {
  display: contents;
}
.development-phase-grid .shot,
.developing-phrase-grid .shot {
  margin: 0;
  grid-column: span 2;
  grid-row: auto;
}
.development-phase-grid .shot .shot-btn,
.developing-phrase-grid .shot .shot-btn {
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
  cursor: pointer;
}

.shot-btn { all: unset; position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; cursor: zoom-in; border: 1px solid var(--line); background: var(--bg-2); box-sizing: border-box; }
.shot-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.5)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.shot-btn:hover::after { opacity: 1; }
.shot-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.shot-btn img, .shot-btn video, .shot-btn iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; transition: transform 1s var(--ease); }
.shot-btn:hover img { transform: scale(1.06); }
.shot.empty .shot-btn { cursor: default; display: grid; place-items: center; border-style: dashed; border-color: var(--line-2); background: radial-gradient(circle at 50% 40%, rgba(217,83,42,.08), transparent 70%), var(--bg-2); }
.shot-empty { white-space: pre-line; text-align: center; color: var(--faint); font-size: 12.5px; letter-spacing: .04em; padding: 12px; }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.member { position: relative; text-align: center; padding: 42px 24px 34px; overflow: hidden; transition: transform .5s var(--ease), border-color .5s; }
.member:hover { transform: translateY(-6px); border-color: rgba(231,199,154,.3); }
.member::before { content: ""; position: absolute; top: -60%; left: 50%; width: 260px; height: 260px; transform: translateX(-50%); background: radial-gradient(circle, rgba(217,83,42,.16), transparent 65%); }
.avatar {
  position: relative; width: 108px; height: 108px; margin: 0 auto 22px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; font: 700 30px var(--mono); color: #1b0904;
  background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--mars-2) 50%, var(--mars) 80%);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px rgba(231,199,154,.35), 0 18px 40px rgba(217,83,42,.3);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { position: relative; font: 500 24px var(--serif); margin-bottom: 6px; }
.member p { position: relative; margin: 0; color: var(--muted); font-size: 14px; letter-spacing: .02em; }

.sources { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.source { position: relative; display: block; padding: 26px 28px 24px; text-decoration: none; transition: transform .4s var(--ease), border-color .4s, background .4s; }
a.source:hover { transform: translateY(-3px); border-color: rgba(231,199,154,.3); background: linear-gradient(180deg, rgba(255,240,230,.07), rgba(255,240,230,.02)); }
a.source::after { content: "↗"; position: absolute; top: 22px; right: 24px; color: var(--faint); font-size: 18px; transition: color .3s, transform .3s var(--ease); }
a.source:hover::after { color: var(--gold); transform: translate(3px, -3px); }
.source-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-right: 26px; }
.source h3 { font-size: 17px; }
.source p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.source-url { display: inline-block; margin-top: 14px; color: var(--gold); font-size: 13px; letter-spacing: .02em; word-break: break-all; opacity: .85; }
.badge { font: 600 10px var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--todo); border: 1px solid rgba(255,211,122,.45); border-radius: 999px; padding: 2px 9px; }

.footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 40px max(20px, calc((100% - var(--maxw)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer strong {
  font: 700 13px var(--mono);
  letter-spacing: .28em;
  color: var(--text);
}
.footer .coverley img {
  width: 35px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0.85;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) brightness(0.95);
  transition: all 0.3s ease;
}
.footer .coverley img:hover {
  opacity: 1;
  filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.15)) brightness(1.05);
  transform: scale(1.05);
}
.footer .coverley {
  font-weight: 700;
}
.footer .coverley a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.footer a {
  text-decoration: none;
  color: var(--gold);
  transition: opacity 0.2s ease;
}
.footer a:hover {
  opacity: 0.8;
}

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(4,2,2,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: fade .35s ease; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal-box {
  position: relative; width: min(820px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  padding: 44px 40px 36px; border-radius: 30px;
  background: linear-gradient(180deg, #160e0b, #0b0807);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 140px rgba(0,0,0,.7), 0 0 0 1px rgba(231,199,154,.06) inset;
  animation: rise .5s var(--ease);
}
.modal-box::before { content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.modal-box h2 { font-size: clamp(30px, 4.6vw, 46px); }
.modal-box .lead { margin-bottom: 0; }
.modal-close { position: absolute; top: 18px; right: 18px; background: var(--glass); color: var(--text); border: 1px solid var(--line-2); border-radius: 50%; width: 42px; height: 42px; cursor: pointer; font-size: 15px; transition: transform .3s var(--ease), background .3s; }
.modal-close:hover { transform: rotate(90deg); background: var(--glass-2); }
.engines { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.engine {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
  padding: 28px 26px 24px; border-radius: 22px; text-decoration: none;
  background: linear-gradient(180deg, rgba(255,240,230,.05), rgba(255,240,230,.01));
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.engine::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .45s; background: radial-gradient(circle at 20% 0%, rgba(217,83,42,.22), transparent 60%); }
.engine:hover, .engine:focus-visible { transform: translateY(-4px); border-color: rgba(231,199,154,.45); box-shadow: 0 20px 60px rgba(217,83,42,.2); outline: none; }
.engine:hover::before, .engine:focus-visible::before { opacity: 1; }
.engine > * { position: relative; }
.engine-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font: 800 18px var(--mono); color: #1b0904; background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--mars-2)); box-shadow: 0 8px 24px rgba(217,83,42,.3); }
.engine-name { font: 700 24px var(--mono); letter-spacing: .06em; margin-top: 12px; }
.engine-desc { color: var(--muted); font-size: 14.5px; flex: 1; }
.engine-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: .04em; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,2,2,.94); backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; animation: fade .3s ease; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; border-radius: 16px; box-shadow: 0 40px 120px rgba(0,0,0,.8); animation: rise .45s var(--ease); }
.lb-caption { color: var(--muted); margin-top: 18px; text-align: center; font: italic 19px var(--serif); }
.lb-close { position: absolute; top: 18px; right: 18px; background: var(--glass); color: var(--text); border: 1px solid var(--line-2); border-radius: 50%; width: 44px; height: 44px; font-size: 16px; cursor: pointer; }

@media (max-width: 960px) {
  .planet-wrap { right: -30vmin; opacity: .6; }
  
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .shot { grid-column: span 1; grid-row: auto; }
  .gallery_videos .shot:nth-child(1) { grid-column: span 2; }
  .gallery_videos .shot:nth-child(1) .shot-btn { aspect-ratio: 16 / 9; height: auto; min-height: 0; }

  .development-phase-grid,
  .developing-phrase-grid { grid-template-columns: 1fr 1fr; }
  .development-phase-grid .shot,
  .developing-phrase-grid .shot { grid-column: span 1; grid-row: auto; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; padding: 10px; border-radius: 20px; background: rgba(12,8,7,.96); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .lang-switch button { padding: 10px 12px; min-width: 22px; text-align: center; }
  .brand { letter-spacing: .2em; }
}
@media (max-width: 420px) {
  .brand { letter-spacing: .06em; gap: 8px; font-size: 14px; }
  .nav-right { gap: 8px; }
  .lang-switch button { padding: 10px 9px; }
}
@media (max-width: 640px) {
  .hero { align-items: flex-end; padding-top: 110px; }
  .planet-wrap { width: 120vmin; height: 120vmin; right: -45vmin; top: 26%; opacity: .75; }
  .section { padding: 90px 16px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .eyebrow { grid-row: auto; flex-direction: row; margin: 0 0 12px; }
  .section-head .eyebrow::after { display: none; }
  .play-screen { aspect-ratio: 4 / 5; }
  .sources { grid-template-columns: 1fr; }
  .engines { grid-template-columns: 1fr; }
  .modal-box { padding: 40px 20px 22px; border-radius: 24px; }
  .scroll-hint { display: none; }
  
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery_videos .shot:nth-child(1) { grid-column: span 1; }

  .development-phase-grid,
  .developing-phrase-grid { grid-template-columns: 1fr; }
  .development-phase-grid .shot,
  .developing-phrase-grid .shot { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
.shot-btn {
  position: relative;
}

.shot-btn video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.shot-btn:hover .video-badge {
  opacity: 0;
  transform: scale(1.1);
}

#lb video,
.lightbox video {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: inherit;
  outline: none;
}

[hidden] {
  display: none !important;
}