:root{
  --bg:#050505;
  --panel:#0b0b0b;
  --text:#f2efe8;
  --muted:#aaa59d;
  --red:#d90d16;
  --red2:#7a050a;
  --line:rgba(255,255,255,.08);
  --max:1280px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Inter",system-ui,sans-serif;
  overflow-x:hidden;
}
body.is-locked{overflow:hidden}

a{color:inherit;text-decoration:none}
img,video{display:block;max-width:100%}
button{font:inherit}

#cursor-dot,#cursor-ring{
  position:fixed;
  left:0;top:0;
  pointer-events:none;
  z-index:9999;
  transform:translate(-50%,-50%);
}
#cursor-dot{
  width:6px;height:6px;
  border-radius:50%;
  background:var(--red);
}
#cursor-ring{
  width:34px;height:34px;
  border:1px solid rgba(217,13,22,.75);
  border-radius:50%;
  transition:width .2s,height .2s,border-color .2s;
}
body.cursor-hover #cursor-ring{
  width:58px;height:58px;
  border-color:#fff;
}

.intro{
  position:fixed;
  inset:0;
  z-index:10000;
  display:grid;
  place-items:center;
  background:#000;
}
.intro-noise{
  position:absolute;inset:0;
  opacity:.06;
  background-image:
    radial-gradient(circle at 30% 20%,rgba(255,0,0,.2),transparent 25%),
    linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:auto,100% 4px;
  animation:noiseFlicker .16s steps(2,end) infinite;
}
@keyframes noiseFlicker{50%{opacity:.035}}
.intro-content{text-align:center;position:relative;z-index:2}
.intro-logo{width:150px;margin:0 auto 30px;opacity:.88}
.intro-present{
  letter-spacing:.34em;
  font-size:.72rem;
  color:#8f8f8f;
  margin-bottom:34px;
}
.intro-207{
  font-family:"Cinzel",serif;
  font-size:clamp(5rem,15vw,11rem);
  color:var(--red);
  text-shadow:0 0 18px rgba(217,13,22,.45),0 0 60px rgba(217,13,22,.18);
  margin-bottom:28px;
}
.enter-btn{
  color:#ddd;background:transparent;
  border:1px solid rgba(255,255,255,.2);
  padding:13px 28px;
  letter-spacing:.2em;
  cursor:pointer;
}

.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 clamp(22px,5vw,72px);
  transition:background .3s,backdrop-filter .3s,border-color .3s;
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(5,5,5,.72);
  backdrop-filter:blur(18px);
  border-bottom-color:rgba(255,255,255,.06);
}
.brand img{width:124px}
.nav{display:flex;gap:34px}
.nav a{
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.08em;
  opacity:.82;
}
.nav a:hover{color:#fff}
.steam-btn,.primary-btn,.ghost-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:4px;
  padding:15px 22px;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.06em;
  cursor:pointer;
}
.steam-btn,.primary-btn{
  background:linear-gradient(180deg,#ea101b,#9a060c);
  box-shadow:0 10px 40px rgba(217,13,22,.18);
}
.ghost-btn{
  color:#eee;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.24);
}

.section{position:relative}
.hero{
  height:100vh;
  min-height:720px;
  overflow:hidden;
  display:flex;
  align-items:center;
}
.hero-video{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  transform:scale(1.05);
  filter:saturate(.78) contrast(1.08) brightness(.7);
}
.hero-vignette{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 62% 42%,transparent 0 18%,rgba(0,0,0,.1) 38%,rgba(0,0,0,.75) 92%),
    linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.27) 58%,rgba(0,0,0,.63));
}
.hero-fog{
  position:absolute;
  width:70vw;height:35vh;
  background:radial-gradient(ellipse,rgba(255,255,255,.07),transparent 70%);
  filter:blur(35px);
  opacity:.45;
}
.fog-a{left:-15vw;bottom:0}
.fog-b{right:-20vw;bottom:10vh}
.hero-content{
  width:min(var(--max),calc(100% - 10vw));
  margin:0 auto;
  position:relative;
  z-index:2;
  padding-top:80px;
}
.eyebrow{
  color:#9b9690;
  font-size:.75rem;
  letter-spacing:.28em;
  font-weight:800;
  text-transform:uppercase;
}
.hero-title{
  font-family:"Cinzel",serif;
  font-size:clamp(3rem,7vw,7rem);
  line-height:.9;
  margin:18px 0 22px;
  max-width:900px;
}
.hero-title span,.hero-title strong{display:block}
.hero-title strong{
  color:var(--red);
  font-weight:600;
}
.hero-tagline{
  font-family:"Cinzel",serif;
  font-size:clamp(1rem,1.5vw,1.3rem);
  letter-spacing:.08em;
  color:#d4d0c7;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:34px;
}
.scroll-hint{
  position:absolute;
  bottom:28px;left:50%;
  transform:translateX(-50%);
  z-index:2;
  font-size:.64rem;
  letter-spacing:.2em;
  color:#9a9a9a;
}
.scroll-hint i{
  display:block;
  margin:10px auto 0;
  width:1px;height:36px;
  background:linear-gradient(var(--red),transparent);
  animation:scrollPulse 1.4s infinite;
}
@keyframes scrollPulse{50%{height:52px;opacity:.3}}

.door-journey{height:300vh;background:#000}
.door-scene{
  position:sticky;
  top:0;
  height:100vh;
  overflow:hidden;
}
.door-bg{
  position:absolute;inset:-6%;
  width:112%;height:112%;
  object-fit:cover;
  filter:brightness(.35) saturate(.65);
}
.door-dark{
  position:absolute;inset:0;
  background:radial-gradient(circle at 64% 46%,transparent 0 10%,rgba(0,0,0,.5) 42%,#000 100%);
}
.journey-copy{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  pointer-events:none;
  z-index:3;
}
.journey-line{
  position:absolute;
  opacity:0;
  font-family:"Cinzel",serif;
  font-size:clamp(1.3rem,3vw,3.1rem);
  letter-spacing:.12em;
  text-align:center;
}
.door-focus{
  position:absolute;
  right:12vw;top:17vh;
  width:min(32vw,430px);
  height:68vh;
  border:1px solid rgba(255,255,255,.08);
  transform-style:preserve-3d;
}
.door-number{
  position:absolute;
  top:9%;left:50%;
  transform:translateX(-50%);
  z-index:4;
  font-family:"Cinzel",serif;
  font-size:3rem;
  color:#ff2630;
  text-shadow:0 0 16px rgba(255,0,0,.75);
}
.door-panel{
  position:absolute;inset:0;
  transform-origin:left center;
  background:linear-gradient(90deg,#15100f,#080707);
  box-shadow:inset 0 0 60px #000;
}
.door-handle{
  position:absolute;
  right:8%;top:53%;
  width:18px;height:18px;border-radius:50%;
  background:#70634a;
}
.door-red-glow{
  position:absolute;
  inset:0;
  box-shadow:inset 0 0 80px rgba(225,0,0,.08),0 0 90px rgba(225,0,0,.07);
  pointer-events:none;
}

.content-section{
  width:min(var(--max),calc(100% - 10vw));
  margin:0 auto;
  padding:120px 0;
}
.section-heading{text-align:center;margin-bottom:54px}
.section-heading h2{
  font-family:"Cinzel",serif;
  margin:10px 0 0;
  font-size:clamp(2rem,4vw,4.2rem);
}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.feature-card{
  min-height:320px;
  padding:28px;
  background:linear-gradient(180deg,#0e0e0e,#090909);
  border:1px solid rgba(217,13,22,.28);
  transition:transform .3s,border-color .3s,box-shadow .3s;
}
.feature-card:hover{
  transform:translateY(-8px);
  border-color:rgba(217,13,22,.72);
  box-shadow:0 24px 70px rgba(0,0,0,.45);
}
.feature-icon{font-size:2.6rem;color:var(--red)}
.feature-card h3{
  font-family:"Cinzel",serif;
  margin:24px 0 14px;
}
.feature-card p{
  color:var(--muted);
  line-height:1.75;
  font-size:.92rem;
}

.story{padding-bottom:160px}
.timeline{position:relative}
.timeline:before{
  content:"";
  position:absolute;
  top:0;left:50%;
  width:1px;height:100%;
  background:rgba(255,255,255,.1);
}
.timeline-progress{
  position:absolute;
  top:0;left:50%;
  width:1px;height:0;
  background:var(--red);
}
.timeline-item{
  width:calc(50% - 56px);
  margin-bottom:95px;
  position:relative;
}
.timeline-item:nth-of-type(odd){margin-left:auto}
.timeline-item img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  filter:brightness(.68) saturate(.72);
}
.year{
  color:#e8e1d6;
  font-family:"Cinzel",serif;
  font-size:2.3rem;
  margin-bottom:14px;
}
.year.red{color:var(--red)}
.timeline-copy h3{font-family:"Cinzel",serif}
.timeline-copy p{color:var(--muted);line-height:1.7}

.gallery-section{height:360vh;background:#030303}
.gallery-pin{
  position:sticky;top:0;
  height:100vh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.gallery-heading{margin-bottom:34px}
.gallery-track{
  display:flex;
  gap:28px;
  width:max-content;
  padding-left:8vw;
}
.gallery-card{
  width:min(68vw,860px);
  margin:0;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
}
.gallery-card img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  transition:transform .8s ease,filter .8s ease;
  filter:brightness(.7);
}
.gallery-card:hover img{transform:scale(1.035);filter:brightness(.88)}
.gallery-card-focus{border-color:rgba(217,13,22,.7)}
.gallery-card figcaption{
  position:absolute;
  left:0;right:0;bottom:0;
  display:flex;justify-content:space-between;
  padding:42px 24px 20px;
  background:linear-gradient(transparent,rgba(0,0,0,.9));
  font-family:"Cinzel",serif;
}
.gallery-card figcaption span{color:#9b9690;font-size:.8rem}

.trailer{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:55px;
  align-items:center;
}
.trailer-media{
  border:1px solid rgba(217,13,22,.45);
  box-shadow:0 30px 100px rgba(0,0,0,.5);
}
.trailer-media video{width:100%}
.trailer-copy h2{
  font-family:"Cinzel",serif;
  font-size:clamp(2.2rem,4vw,4rem);
  margin:12px 0;
}
.trailer-copy p{color:var(--muted)}
.trailer-copy .ghost-btn{margin-top:20px}

.final-cta{
  min-height:82vh;
  display:grid;
  place-items:center;
  text-align:center;
  overflow:hidden;
}
.final-bg{
  position:absolute;inset:0;
  background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.86)),
    url("../assets/images/story/room207.jpg") center/cover no-repeat;
  transform:scale(1.04);
}
.final-content{position:relative;z-index:2}
.final-content h2{
  font-family:"Cinzel",serif;
  font-size:clamp(2.6rem,6vw,6.8rem);
  margin:16px 0;
}
.final-content p{color:#c0bbb3;letter-spacing:.12em}
.final-content small{
  display:block;
  margin-top:26px;
  letter-spacing:.25em;
  color:#8b8883;
}

/* ==============================
   FOOTER
================================ */

.footer {
    min-height: 150px;

    border-top: 1px solid rgba(217, 13, 22, 0.35);

    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;

    align-items: center;
    gap: 30px;

    padding: 30px 5vw;

    background: #050505;

    font-size: 0.72rem;
    color: #807d77;
}


/* LEFT SIDE */

.footer-brand {
    display: flex;
    align-items: center;
    gap: 28px;
}


.footer-logo {
    width: 110px;
    height: auto;
}


/* SOCIAL ICONS */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}


.footer-socials a {

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    color: #9c9994;

    font-size: 15px;

    background: rgba(255, 255, 255, 0.02);

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* HOVER */

.footer-socials a:hover {

    color: #ffffff;

    border-color: #d90d16;

    background: rgba(217, 13, 22, 0.12);

    transform: translateY(-4px);

    box-shadow:
        0 0 15px rgba(217, 13, 22, 0.18),
        0 0 30px rgba(217, 13, 22, 0.08);
}


/* CENTER */

.footer-copyright {
    text-align: center;

    margin: 0;

    letter-spacing: 0.04em;

    color: #77736e;
}


/* RIGHT SIDE */

.footer-links {
    display: flex;

    justify-content: flex-end;

    gap: 20px;
}


.footer-links a {

    color: #8d8983;

    transition: color 0.25s ease;
}


.footer-links a:hover {
    color: #d90d16;
}
.footer img{width:105px}
.footer p{text-align:center}
.footer-links{display:flex;justify-content:flex-end;gap:18px}

/* =====================================
   MOBILE MENU
===================================== */

.header-actions{
    display:flex;
    align-items:center;
    gap:14px;
}


.mobile-menu-btn{
    display:none;

    position:relative;

    width:46px;
    height:46px;

    padding:0;

    border:1px solid rgba(255,255,255,.12);

    background:rgba(0,0,0,.3);

    cursor:pointer;

    z-index:1101;
}


.mobile-menu-btn span{
    position:absolute;

    left:12px;

    width:20px;
    height:1px;

    background:#fff;

    transition:
        transform .35s ease,
        opacity .25s ease,
        top .35s ease;
}


.mobile-menu-btn span:nth-child(1){
    top:15px;
}

.mobile-menu-btn span:nth-child(2){
    top:22px;
}

.mobile-menu-btn span:nth-child(3){
    top:29px;
}


/* BUTTON BECOMES X */

.mobile-menu-btn.active span:nth-child(1){
    top:22px;

    transform:rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2){
    opacity:0;
}

.mobile-menu-btn.active span:nth-child(3){
    top:22px;

    transform:rotate(-45deg);
}


/* FULLSCREEN MENU */

.mobile-menu{
    position:fixed;

    inset:0;

    z-index:1050;

    display:none;

    background:#050505;

    opacity:0;

    visibility:hidden;

    pointer-events:none;
}


.mobile-menu-bg{
    position:absolute;

    inset:0;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(217,13,22,.13),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #080808,
            #020202
        );
}


.mobile-menu-nav{
    position:relative;

    z-index:2;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:90px 8vw;
}


.mobile-menu-nav a{
    display:flex;

    align-items:center;

    gap:18px;

    padding:20px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

    font-family:"Cinzel",serif;

    font-size:clamp(2rem,9vw,4rem);

    color:#eee;

    transition:
        color .25s ease,
        padding-left .25s ease;
}


.mobile-menu-nav a span{
    font-family:"Inter",sans-serif;

    font-size:.65rem;

    letter-spacing:.15em;

    color:#d90d16;
}


.mobile-menu-nav a:hover{
    color:#d90d16;

    padding-left:10px;
}


.mobile-menu-bottom{
    position:absolute;

    z-index:2;

    left:8vw;

    bottom:35px;
}


.mobile-menu-bottom p{
    margin:0 0 5px;

    font-size:.65rem;

    letter-spacing:.18em;

    color:#777;
}


.mobile-menu-bottom strong{
    color:#d90d16;

    font-family:"Cinzel",serif;

    font-size:.85rem;

    letter-spacing:.15em;
}

@media (max-width:960px){

    /* HIDE CUSTOM CURSOR ON MOBILE */
    #cursor-dot,
    #cursor-ring{
        display:none !important;
    }

    body{
        cursor:auto !important;
    }


    /* MOBILE HEADER */
    .site-header{
        height:64px;

        padding:0 16px;

        display:flex;

        align-items:center;

        justify-content:space-between;

        background:rgba(5,5,5,.92);

        backdrop-filter:blur(14px);

        border-bottom:1px solid rgba(255,255,255,.06);
    }


    /* LOGO */
    .brand img{
        width:92px;
    }


    /* HIDE DESKTOP NAV */
    .nav{
        display:none;
    }


    /* STEAM BUTTON */
    .steam-btn{
        padding:10px 13px;

        font-size:.62rem;

        line-height:1.2;

        text-align:center;

        max-width:130px;

        white-space:normal;
    }


    /* HERO */
    .hero{
        min-height:100svh;
        height:auto;

        padding-top:80px;

        align-items:center;
    }


    .hero-content{
        width:92%;

        margin:0 auto;

        padding-top:20px;
    }


    .hero-title{
        font-size:clamp(2.4rem,11vw,4.5rem);

        line-height:.93;

        max-width:100%;

        overflow-wrap:break-word;
    }


    .hero-title span,
    .hero-title strong{
        max-width:100%;
    }


    .hero-tagline{
        font-size:.95rem;

        line-height:1.55;

        max-width:92%;
    }


    .hero-actions{
        flex-direction:column;

        align-items:flex-start;

        width:100%;
    }


    .primary-btn,
    .ghost-btn{
        width:100%;

        max-width:310px;
    }


    .scroll-hint{
        bottom:24px;
    }


    /* OTHER MOBILE LAYOUT */
    .feature-grid{
        grid-template-columns:1fr 1fr;
    }


    .door-focus{
        right:6vw;

        width:48vw;
    }


    .trailer{
        grid-template-columns:1fr;
    }


    .timeline:before,
    .timeline-progress{
        left:14px;
    }


    .timeline-item,
    .timeline-item:nth-of-type(odd){
        width:calc(100% - 48px);

        margin-left:48px;
    }


    /* FOOTER */
    .footer{
        grid-template-columns:1fr;

        text-align:center;
    }


    .footer-logo{
        margin:auto;
    }


    .footer-links{
        justify-content:center;
    }
}

@media (max-width:640px){

    .content-section{
        width:92%;

        padding:88px 0;
    }


    .hero-content{
        width:92%;
    }


    .hero-title{
        font-size:clamp(2.1rem,10.5vw,3.7rem);

        line-height:.95;

        letter-spacing:-.02em;
    }


    .hero-tagline{
        font-size:.82rem;

        letter-spacing:.06em;
    }


    .feature-grid{
        grid-template-columns:1fr;
    }


    .door-focus{
        right:4vw;

        width:60vw;

        height:60vh;

        top:20vh;
    }


    .journey-line{
        padding:0 22px;
    }


    .gallery-card{
        width:84vw;
    }

}
