@font-face{font-family:Pharaoh;src:url(display.ttf) format("truetype");font-display:swap}
:root{color-scheme:dark;--gold:#ffca60;--ink:#100e19;--line:#443044;--sand:#fff0cc}
*{box-sizing:border-box}
body{margin:0;background:var(--ink);color:var(--sand);font:17px/1.6 system-ui,sans-serif}
.wrap{width:min(1160px,88%);margin:auto}
a{color:inherit;text-decoration:none}
a:hover,summary:hover{color:var(--gold)}
:focus-visible{outline:3px solid #76deda;outline-offset:5px}
nav,footer,.studio{display:flex;align-items:center}
nav,footer{gap:clamp(18px,3vw,42px);font-size:15px;font-weight:600}
nav{min-height:78px}
.studio{margin-right:auto;gap:10px;color:var(--gold);font:22px/1.1 Pharaoh,serif}
.studio img,.grid img,.hero::before{image-rendering:pixelated}
header{border-bottom:1px solid #aa733e69}
.hero{position:relative;isolation:isolate;overflow:hidden;background:#110e1b;border-bottom:2px solid #80502e}
.hero::before,.hero::after{content:"";position:absolute;inset:0;z-index:-1}
.hero::before{background:url(temple.png) right center/auto 100% no-repeat}
.hero::after{background:linear-gradient(90deg,#100d19 0%,#100d19f5 17%,#100d19ba 34%,#100d1900 62%),linear-gradient(0deg,#140f21a1,transparent 25%)}
.hero .wrap{padding-block:clamp(60px,7vw,112px)}
.kicker{display:flex;align-items:center;gap:12px;margin:0 0 17px;color:var(--gold);font:bold 13px/1.4 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.18em}
.kicker::before{content:"";height:2px;width:32px;background:currentColor}
h1,h2{font-family:Pharaoh,Georgia,serif;font-weight:400;line-height:1.08;margin:0}
h1{font-size:clamp(34px,4.5vw,68px);letter-spacing:.02em;text-shadow:0 5px #150e17,3px 0 #150e17}
h1 span{display:block;font-size:1.38em;color:var(--gold);text-shadow:0 5px #81401c,0 9px #150e17}
.intro{max-width:min(440px,45%);font-size:clamp(17px,1.4vw,20px);margin:28px 0;color:#fff3dc;text-shadow:0 1px 4px #100d19}
.cta{display:inline-flex;align-items:center;gap:24px;background:var(--gold);color:#281419;font-weight:750;padding:13px 22px;box-shadow:inset 0 3px #ffe49a,0 4px #a45728,0 7px #180c18}
.cta:hover{color:#281419;background:#ffdc82}
.cta span{font-size:22px;line-height:1}
.platforms{font-size:14px;color:#e3cdbb;margin:20px 0 0}
h2{font-size:clamp(30px,3.4vw,48px)}
.gallery,.help{padding-block:clamp(48px,6vw,84px)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px}
.grid a{display:block;font:22px/1.4 Pharaoh,Georgia,serif}
.grid img{display:block;width:100%;height:auto;border:1px solid #8e663e;margin-bottom:15px}
.grid a:hover img{border-color:var(--gold)}
.help{display:grid;grid-template-columns:4fr 6fr;gap:8%;border-top:1px solid var(--line)}
.help h2{max-width:12em}
details{border-bottom:1px solid var(--line);padding:18px 0}
details:first-child{padding-top:0}
summary{display:flex;justify-content:space-between;gap:14px;cursor:pointer;font-weight:600;list-style:none}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font:24px/1 system-ui;color:var(--gold)}
details[open] summary::after{content:"−"}
details p{color:#d8c8cb;font-size:16px;margin:14px 0 0}
footer{padding:26px 0 36px;border-top:1px solid var(--line);color:#dcc7ba}
footer span{margin-right:auto}
dialog{border:1px solid #8e663e;background:#120e1b;color:var(--sand);padding:8px;max-width:94vw}
dialog::backdrop{background:#070612e8}
dialog img{display:block;width:auto;max-width:90vw;max-height:75vh}
dialog p{margin:10px 6px 4px}
dialog button{position:absolute;right:12px;top:12px;background:#100d19;color:white;border:1px solid var(--gold);font:30px/1 system-ui;width:44px;height:44px;cursor:pointer}
@media(min-width:1510px){.hero::before{background-size:80% auto}}
@media(max-width:850px){
  .hero::before{background-size:cover;background-position:60% center}
  .hero::after{background:linear-gradient(90deg,#100d19ef,#100d19a3 48%,transparent)}
  .intro{max-width:55%}
  .grid{gap:14px}.grid a{font-size:18px}.help{grid-template-columns:1fr;gap:32px}
}
@media(max-width:650px){
  nav,footer{font-size:13px;gap:14px;flex-wrap:wrap}
  nav{min-height:64px}.studio{font-size:17px;gap:5px}.studio img{width:24px;height:24px}
  nav a[href="#gallery"]{display:none}
  .hero::before{background-position:center top;background-size:100% auto}
  .hero::after{background:linear-gradient(180deg,transparent 30vw,#100e19 56vw)}
  .hero .wrap{padding:42vw 0 40px}
  .hero .kicker{display:none}
  h1{font-size:8vw}
  .intro{max-width:none;margin:22px 0}
  .grid{grid-template-columns:1fr;gap:26px}.grid img{margin-bottom:9px}.grid a{font-size:21px}
  footer span{flex-basis:100%}
}
