
/* Public website visual upgrade inspired by the approved mockup.
   Existing PHP pages, URLs, APIs and content remain in place. */
:root{--pub-gold:#e4b34d;--pub-gold2:#ffda7a;--pub-bg:#030b12;--pub-panel:#07131c}
body{background:#020810!important;color:#dce5eb}
.site-header{background:rgba(3,10,17,.94)!important;border-bottom:1px solid rgba(228,179,77,.35)!important;backdrop-filter:blur(12px)}
.site-header__inner{max-width:1460px!important;min-height:72px!important}
.public-brand{display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important}
.public-brand .brand__mark img{width:58px!important;height:58px!important;object-fit:contain!important}
.public-brand__text{display:flex;flex-direction:column}
.public-brand__text b{font-family:Cinzel,Georgia,serif;color:#f0ca70;font-size:18px;letter-spacing:.05em}
.public-brand__text small{font-size:8px;letter-spacing:.18em;text-transform:uppercase;color:#7f8d99}
.main-nav{gap:24px!important}.main-nav a{font-size:12px!important}.header-cta{background:linear-gradient(135deg,#6c4710,#d29b32)!important;color:#fff1c4!important;border:1px solid #efc76d!important}
.public-home{overflow:hidden}
.public-hero{position:relative;min-height:610px;display:flex;align-items:center;background:url('/assets/images/hero.jpg.png') center 40%/cover no-repeat;border-bottom:1px solid rgba(228,179,77,.45)}
.public-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,8,14,.98) 0%,rgba(2,8,14,.87) 27%,rgba(2,8,14,.25) 60%,rgba(2,8,14,.1)),linear-gradient(0deg,rgba(2,8,14,.76),transparent 48%)}
.public-hero__content{position:relative;z-index:1;width:100%;padding-top:50px;padding-bottom:46px}
.public-hero__content>*{max-width:650px}
.public-hero h1{margin:8px 0 0;color:#f3ce78;font:700 clamp(52px,5.5vw,92px)/.96 Cinzel,Georgia,serif;letter-spacing:.015em;text-shadow:0 3px 30px #000}
.public-hero h2{margin:13px 0 18px;color:#fff;font:500 clamp(20px,2vw,30px)/1.1 Cinzel,Georgia,serif;letter-spacing:.2em}
.public-hero p{max-width:590px;color:#d3dce3;font-size:17px;line-height:1.55}
.public-actions{display:flex;gap:14px;margin-top:25px}.public-download{background:linear-gradient(135deg,#f0c66d,#b67819)!important;color:#171006!important;border-color:#ffd982!important}
.public-mini-features{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:38px;max-width:690px!important}
.public-mini-features a{display:flex;align-items:center;gap:9px;color:#dce4e8;text-decoration:none}.public-mini-features b{font-size:25px;color:#efc35d}.public-mini-features span{display:flex;flex-direction:column}.public-mini-features strong{font-size:11px}.public-mini-features small{font-size:9px;color:#87959f}
.public-statbar{border-bottom:1px solid rgba(228,179,77,.35);background:#06101a}.public-statbar .shell{display:grid;grid-template-columns:repeat(4,1fr);padding-top:18px;padding-bottom:18px}
.public-statbar a{text-align:center;text-decoration:none;border-right:1px solid rgba(228,179,77,.16);color:#e5ebee}.public-statbar a:last-child{border:0}.public-statbar b,.public-statbar span{display:block}.public-statbar b{color:#f0ca70;font-family:Cinzel,serif}.public-statbar span{font-size:10px;color:#8c9aa4;margin-top:3px}
.public-feature-section{background:radial-gradient(circle at 10% 50%,rgba(56,38,93,.35),transparent 38%),#030b12!important}
.public-feature-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:42px;align-items:center}.public-feature-copy h2{font-size:40px}.public-feature-copy p{color:#aab7bf;line-height:1.7}
.public-feature-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.public-image-card{position:relative;min-height:320px;border:1px solid rgba(228,179,77,.3);background-image:linear-gradient(0deg,#030910 0%,rgba(3,9,16,.12) 70%),var(--card-img);background-size:cover;background-position:center;text-decoration:none;overflow:hidden}.public-image-card span{position:absolute;left:0;right:0;bottom:0;padding:20px}.public-image-card b,.public-image-card small{display:block}.public-image-card b{color:#f0c866;font:700 17px Cinzel,serif}.public-image-card small{color:#c3ccd1;font-size:11px;line-height:1.45;margin-top:7px}
.public-showcase{background:#06101a!important}.public-shot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.public-shot-grid a{position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid rgba(228,179,77,.26)}.public-shot-grid img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.public-shot-grid a:hover img{transform:scale(1.03)}.public-shot-grid span{position:absolute;left:0;right:0;bottom:0;padding:28px 14px 12px;background:linear-gradient(transparent,rgba(0,0,0,.88));color:#f1cf78;font-family:Cinzel,serif}
.public-link-band{background:#020810;border-top:1px solid rgba(228,179,77,.2);border-bottom:1px solid rgba(228,179,77,.2)}.public-link-grid{display:grid;grid-template-columns:repeat(4,1fr);padding-top:28px;padding-bottom:28px}.public-link-grid a{padding:12px 25px;text-decoration:none;border-right:1px solid rgba(228,179,77,.15)}.public-link-grid a:last-child{border:0}.public-link-grid span,.public-link-grid b,.public-link-grid small{display:block}.public-link-grid span{font-size:9px;text-transform:uppercase;letter-spacing:.18em;color:#798995}.public-link-grid b{margin-top:4px;color:#f0c86a;font:700 20px Cinzel,serif}.public-link-grid small{margin-top:5px;color:#9ba8b0}
.public-download-band{background:linear-gradient(90deg,rgba(3,10,17,.96),rgba(3,10,17,.74)),url('/assets/images/gallery/village.jpg') center/cover;padding:34px 0;border-bottom:1px solid rgba(228,179,77,.25)}.public-download-band .shell{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:35px}.public-download-band h2{margin:4px 0;color:#fff;font-family:Cinzel,serif}.public-download-band p{margin:0;color:#9caab3}.public-download-points{display:grid;grid-template-columns:1fr 1fr;gap:9px;color:#b7c1c8;font-size:11px}
.site-footer{background:#01060a!important;border-top:1px solid rgba(228,179,77,.25)!important}
@media(max-width:1000px){.main-nav{gap:12px!important}.public-feature-layout{grid-template-columns:1fr}.public-feature-cards{grid-template-columns:repeat(2,1fr)}.public-image-card{min-height:280px}.public-download-band .shell{grid-template-columns:1fr auto}.public-download-points{grid-column:1/-1}}
@media(max-width:720px){.public-brand__text{display:none}.public-hero{min-height:690px;background-position:64% center}.public-hero__shade{background:linear-gradient(90deg,rgba(2,8,14,.96),rgba(2,8,14,.62)),linear-gradient(0deg,rgba(2,8,14,.9),transparent)}.public-hero__content{padding-top:70px}.public-hero h1{font-size:48px}.public-hero h2{font-size:18px}.public-actions{flex-direction:column;max-width:100%}.public-actions .btn{width:100%;text-align:center}.public-mini-features{grid-template-columns:1fr 1fr}.public-statbar .shell{grid-template-columns:1fr 1fr;gap:18px}.public-statbar a{border:0}.public-feature-cards{grid-template-columns:1fr 1fr}.public-image-card{min-height:250px}.public-shot-grid{grid-template-columns:1fr 1fr}.public-link-grid{grid-template-columns:1fr 1fr}.public-link-grid a{border:0}.public-download-band .shell{grid-template-columns:1fr}.public-download-band .btn{width:100%;text-align:center}.public-download-points{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.public-feature-cards,.public-shot-grid{grid-template-columns:1fr}.public-image-card{min-height:280px}.public-link-grid{grid-template-columns:1fr}.public-download-points{grid-template-columns:1fr}}



/* ================================================================
   PUBLIC WEBSITE MOBILE + RESPONSIVE FIX
   ================================================================ */
html{scroll-padding-top:80px}
img,svg,video{max-width:100%;height:auto}
iframe{max-width:100%}
.shell{width:min(1240px,calc(100% - 32px))!important;margin-left:auto!important;margin-right:auto!important}
.public-nav-backdrop{display:none}

/* Give every public page sane horizontal bounds. */
#mainContent{min-width:0!important;overflow-x:hidden!important}
#mainContent>*{min-width:0!important}

/* Tablet */
@media(max-width:1000px){
  .public-feature-layout{grid-template-columns:1fr!important}
  .public-feature-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .public-download-band .shell{grid-template-columns:1fr!important}
  .public-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Public header / navigation */
@media(max-width:860px){
  body.public-nav-open{overflow:hidden!important}

  .site-header{
    position:sticky!important;
    top:0!important;
    z-index:1200!important;
    background:rgba(3,10,17,.985)!important;
  }
  .site-header__inner{
    min-height:66px!important;
    padding:7px 12px!important;
    gap:10px!important;
  }
  .public-brand{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  .public-brand .brand__mark img{
    width:48px!important;
    height:48px!important;
  }
  .public-brand__text{
    min-width:0!important;
  }
  .public-brand__text b{
    font-size:15px!important;
    white-space:nowrap!important;
  }
  .public-brand__text small{
    font-size:7px!important;
    white-space:nowrap!important;
  }

  .menu-toggle{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:4px!important;
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
    padding:0 11px!important;
    border:1px solid rgba(228,179,77,.42)!important;
    border-radius:5px!important;
    background:#071117!important;
    z-index:1305!important;
  }
  .menu-toggle span{
    display:block!important;
    width:100%!important;
    height:2px!important;
    background:#efca70!important;
    transition:transform .18s ease,opacity .18s ease!important;
  }
  .menu-toggle.open span:nth-child(1){transform:translateY(6px) rotate(45deg)!important}
  .menu-toggle.open span:nth-child(2){opacity:0!important}
  .menu-toggle.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)!important}

  .main-nav{
    position:fixed!important;
    top:0!important;
    right:-100%!important;
    bottom:0!important;
    z-index:1300!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    width:min(86vw,340px)!important;
    height:100dvh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding:calc(82px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom))!important;
    border-left:1px solid rgba(228,179,77,.34)!important;
    background:linear-gradient(180deg,#06111a,#02080d)!important;
    box-shadow:-18px 0 50px rgba(0,0,0,.62)!important;
    transition:right .2s ease!important;
  }
  .main-nav.open{right:0!important}
  .main-nav a{
    display:flex!important;
    align-items:center!important;
    min-height:48px!important;
    width:100%!important;
    padding:11px 12px!important;
    border-bottom:1px solid rgba(255,255,255,.06)!important;
    color:#d9e1e5!important;
    font-size:13px!important;
    text-decoration:none!important;
  }
  .main-nav a:hover,
  .main-nav a.active{
    color:#f0cb70!important;
    background:rgba(164,105,15,.13)!important;
  }

  .public-nav-backdrop{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:1250!important;
    pointer-events:none!important;
    opacity:0!important;
    border:0!important;
    background:rgba(0,0,0,.66)!important;
    transition:opacity .2s ease!important;
  }
  .public-nav-backdrop.open{
    pointer-events:auto!important;
    opacity:1!important;
  }

  .header-cta{
    flex:0 0 auto!important;
    min-height:42px!important;
    padding:9px 11px!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }
}

/* Small phone header */
@media(max-width:560px){
  .public-brand__text{display:none!important}
  .header-cta{
    padding:9px 10px!important;
    font-size:10px!important;
  }
  .shell{width:min(100% - 22px,1240px)!important}
}

/* Homepage */
@media(max-width:720px){
  .section{padding-top:46px!important;padding-bottom:46px!important}

  .public-hero{
    min-height:670px!important;
    align-items:flex-end!important;
    background-position:64% center!important;
  }
  .public-hero__shade{
    background:
      linear-gradient(90deg,rgba(2,8,14,.96),rgba(2,8,14,.67)),
      linear-gradient(0deg,rgba(2,8,14,.9),transparent 54%)!important;
  }
  .public-hero__content{
    padding-top:84px!important;
    padding-bottom:34px!important;
  }
  .public-hero h1{
    font-size:clamp(40px,13vw,58px)!important;
    line-height:.95!important;
    overflow-wrap:anywhere!important;
  }
  .public-hero h2{
    font-size:clamp(15px,4.8vw,20px)!important;
    letter-spacing:.12em!important;
  }
  .public-hero p{
    font-size:15px!important;
    line-height:1.55!important;
  }

  .public-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .public-actions .btn{
    width:100%!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .public-mini-features{
    grid-template-columns:1fr 1fr!important;
    gap:12px 8px!important;
    margin-top:26px!important;
  }

  .public-statbar .shell{
    grid-template-columns:1fr 1fr!important;
    padding:0!important;
  }
  .public-statbar a{
    padding:16px 8px!important;
    border-right:1px solid rgba(228,179,77,.13)!important;
    border-bottom:1px solid rgba(228,179,77,.13)!important;
  }
  .public-statbar a:nth-child(2n){border-right:0!important}
  .public-statbar a:nth-last-child(-n+2){border-bottom:0!important}

  .public-feature-copy h2{
    font-size:clamp(30px,9vw,42px)!important;
  }
  .public-feature-cards{
    grid-template-columns:1fr!important;
  }
  .public-image-card{
    min-height:285px!important;
  }

  .public-shot-grid{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }
  .public-shot-grid a{aspect-ratio:4/3!important}

  .public-link-grid{
    grid-template-columns:1fr!important;
  }
  .public-link-grid a{
    border-right:0!important;
    border-bottom:1px solid rgba(228,179,77,.13)!important;
    padding:18px 6px!important;
  }
  .public-link-grid a:last-child{border-bottom:0!important}

  .public-download-band{
    padding:30px 0!important;
  }
  .public-download-band .btn{
    width:100%!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .public-download-points{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }
}

@media(max-width:460px){
  .public-shot-grid{grid-template-columns:1fr!important}
  .public-download-points{grid-template-columns:1fr!important}
}

/* Secondary public pages: stop desktop layouts overflowing on phones. */
@media(max-width:860px){
  #mainContent .grid-2,
  #mainContent .grid-3,
  #mainContent .cards-2,
  #mainContent .cards-3,
  #mainContent .feature-grid,
  #mainContent .hero-grid,
  #mainContent .content-grid,
  #mainContent .split,
  #mainContent .two-col,
  #mainContent .three-col{
    grid-template-columns:1fr!important;
  }

  #mainContent .table-wrap,
  #mainContent .data-table-wrap,
  #mainContent .ranking-table{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  #mainContent table{min-width:680px}

  #mainContent input,
  #mainContent select,
  #mainContent textarea{
    width:100%;
    max-width:100%;
    font-size:16px!important;
  }

  #mainContent .card,
  #mainContent .panel,
  #mainContent article{
    min-width:0!important;
    max-width:100%!important;
  }

  #mainContent h1,
  #mainContent h2,
  #mainContent h3,
  #mainContent p{
    overflow-wrap:anywhere!important;
  }
}

/* Footer */
@media(max-width:760px){
  .footer-grid{
    grid-template-columns:1fr 1fr!important;
    gap:20px!important;
  }
}
@media(max-width:520px){
  .footer-grid{grid-template-columns:1fr!important}
  .site-footer{text-align:left!important}
  .footer-bottom{
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
    align-items:flex-start!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
}

/* Safe-area support */
@supports(padding:max(0px)){
  @media(max-width:860px){
    .site-header__inner{
      padding-left:max(12px,env(safe-area-inset-left))!important;
      padding-right:max(12px,env(safe-area-inset-right))!important;
    }
  }
}




/* =================================================================
   IDLE ASCENSION PUBLIC WEBSITE — CINEMATIC V3
   Full home-page redesign using existing site artwork only.
   ================================================================= */
:root{
  --ia-bg:#02070d;
  --ia-bg2:#050d14;
  --ia-panel:#07121a;
  --ia-panel2:#0a1720;
  --ia-gold:#dba843;
  --ia-gold-hi:#f4d17d;
  --ia-gold-dim:#7c571a;
  --ia-line:rgba(219,168,67,.24);
  --ia-text:#eef3f5;
  --ia-muted:#95a4ad;
}
.public-home-v3{overflow:hidden;background:var(--ia-bg)}
.public-home-v3 *{box-sizing:border-box}
.v3-section{position:relative;padding:100px 0}
.v3-kicker{
  display:inline-block;
  color:var(--ia-gold);
  font:700 11px/1.2 Inter,system-ui,sans-serif;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.v3-heading{max-width:760px;margin-bottom:44px}
.v3-heading--center{text-align:center;margin-left:auto;margin-right:auto}
.v3-heading h2{
  margin:10px 0 12px;
  color:var(--ia-text);
  font:700 clamp(34px,4.2vw,58px)/1.04 Cinzel,Georgia,serif;
  letter-spacing:-.025em;
}
.v3-heading p{
  margin:0;
  max-width:680px;
  color:var(--ia-muted);
  font-size:15px;
  line-height:1.7;
}
.v3-heading--center p{margin-inline:auto}

/* Header cleanup + fix the small/clipped Download button. */
.site-header{
  position:sticky!important;
  top:0!important;
  z-index:1100!important;
  background:rgba(2,8,13,.92)!important;
  border-bottom:1px solid rgba(219,168,67,.2)!important;
  box-shadow:0 8px 30px rgba(0,0,0,.22)!important;
}
.site-header__inner{
  width:min(1460px,calc(100% - 36px))!important;
  margin:0 auto!important;
  padding:0!important;
}
.main-nav a{
  position:relative!important;
  padding:27px 0 23px!important;
  color:#aeb9bf!important;
  font-size:11px!important;
  letter-spacing:.065em!important;
  text-transform:uppercase!important;
}
.main-nav a:after{
  content:"";
  position:absolute;
  left:50%;right:50%;bottom:16px;height:1px;
  background:var(--ia-gold);
  transition:left .18s,right .18s;
}
.main-nav a:hover{color:#f2d17a!important}
.main-nav a:hover:after{left:0;right:0}
.public-download-cta{
  clip-path:none!important;
  min-width:126px!important;
  height:46px!important;
  min-height:46px!important;
  padding:0 20px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  border:1px solid #d6a442!important;
  border-radius:4px!important;
  background:linear-gradient(180deg,#b77c18,#78500f)!important;
  color:#fff1c9!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 6px 22px rgba(0,0,0,.3)!important;
  text-transform:none!important;
  overflow:visible!important;
}
.public-download-cta:before,.public-download-cta:after{display:none!important}
.public-download-cta span{
  display:block!important;
  color:#fff0c7!important;
  font:700 12px/1 Cinzel,serif!important;
  letter-spacing:.045em!important;
}
.public-download-cta small{
  display:block!important;
  color:#d7bd83!important;
  font:600 8px/1 Inter,system-ui,sans-serif!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}

/* HERO */
.v3-hero{
  position:relative;
  min-height:760px;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--ia-line);
  isolation:isolate;
}
.v3-hero__art{
  position:absolute;
  inset:0;
  z-index:-3;
  background:url('/assets/images/hero.jpg.png') center 43%/cover no-repeat;
  transform:scale(1.015);
}
.v3-hero__veil{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 68% 42%,rgba(116,78,150,.12),transparent 30%),
    linear-gradient(90deg,rgba(1,6,11,.99) 0%,rgba(1,6,11,.92) 27%,rgba(1,6,11,.46) 52%,rgba(1,6,11,.16) 72%,rgba(1,6,11,.35) 100%),
    linear-gradient(0deg,rgba(1,6,11,.92) 0%,transparent 28%,rgba(1,6,11,.2) 75%,rgba(1,6,11,.54) 100%);
}
.v3-hero__inner{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.5fr);
  align-items:center;
  gap:70px;
  width:100%;
  padding-top:65px;
  padding-bottom:72px;
}
.v3-hero__copy{max-width:780px}
.v3-hero h1{
  margin:12px 0 6px;
  color:#f6d47f;
  font:800 clamp(62px,7vw,108px)/.78 Cinzel,Georgia,serif;
  letter-spacing:-.04em;
  text-shadow:0 5px 35px rgba(0,0,0,.9);
}
.v3-hero h1 em{
  display:inline-block;
  margin-left:72px;
  color:#f0c867;
  font-style:normal;
}
.v3-tagline{
  margin:28px 0 16px!important;
  color:#f4f6f7!important;
  font:600 clamp(18px,1.7vw,25px)/1 Cinzel,Georgia,serif!important;
  letter-spacing:.24em!important;
}
.v3-lead{
  max-width:610px;
  margin:0!important;
  color:#c7d0d5!important;
  font-size:16px!important;
  line-height:1.72!important;
}
.v3-hero__actions{
  display:flex;
  align-items:stretch;
  gap:12px;
  margin-top:30px;
}
.v3-btn{
  min-height:62px;
  min-width:220px;
  padding:12px 20px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  border:1px solid var(--ia-line);
  border-radius:4px;
  text-decoration:none!important;
  transition:transform .18s,border-color .18s,box-shadow .18s;
}
.v3-btn:hover{transform:translateY(-2px)}
.v3-btn span{font:700 13px/1.1 Cinzel,Georgia,serif}
.v3-btn small{margin-top:5px;font:500 9px/1.1 Inter,sans-serif;letter-spacing:.035em}
.v3-btn--gold{
  border-color:#efc96e;
  background:linear-gradient(135deg,#efc96e,#a66d13);
  color:#160f05!important;
  box-shadow:0 8px 28px rgba(154,101,14,.19);
}
.v3-btn--gold span,.v3-btn--gold small{color:#160f05!important}
.v3-btn--dark{
  border-color:rgba(219,168,67,.34);
  background:rgba(3,11,17,.88);
  color:#e7edef!important;
}
.v3-btn--dark small{color:#7f9099!important}
.v3-hero__systems{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  max-width:700px;
  margin-top:36px;
}
.v3-hero__systems a{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:15px;
  border-top:1px solid rgba(219,168,67,.2);
  color:#dbe3e6;
  text-decoration:none;
}
.v3-hero__systems i{
  color:#edc665;
  font:700 24px/1 Cinzel,serif;
  font-style:normal;
}
.v3-hero__systems span{min-width:0}
.v3-hero__systems b,.v3-hero__systems small{display:block}
.v3-hero__systems b{font-size:10px}
.v3-hero__systems small{margin-top:3px;color:#73858f;font-size:8px}

.v3-hero__realm-card{
  align-self:end;
  width:100%;
  max-width:330px;
  margin-left:auto;
  padding:28px 24px;
  border:1px solid rgba(219,168,67,.32);
  border-radius:5px;
  background:
    linear-gradient(180deg,rgba(4,11,16,.82),rgba(2,7,11,.94)),
    radial-gradient(circle at top,rgba(219,168,67,.08),transparent 60%);
  box-shadow:0 25px 70px rgba(0,0,0,.4);
  backdrop-filter:blur(7px);
}
.v3-realm-card__eyebrow{
  display:block;
  color:#8d9ca4;
  font-size:8px;
  letter-spacing:.18em;
  text-transform:uppercase;
  text-align:center;
}
.v3-hero__realm-card img{
  display:block;
  width:150px;
  height:150px;
  object-fit:contain;
  margin:12px auto;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.5));
}
.v3-hero__realm-card strong{
  display:block;
  color:#f1d17b;
  font:600 17px/1.35 Cinzel,serif;
  text-align:center;
}
.v3-hero__realm-card>div{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  margin-top:20px;
}
.v3-hero__realm-card a{
  padding:9px 5px;
  border:1px solid rgba(219,168,67,.16);
  color:#a8b4ba;
  font-size:9px;
  text-align:center;
  text-decoration:none;
}
.v3-hero__realm-card a:hover{border-color:#c6912e;color:#f1cf75}
.v3-hero__scroll{
  position:absolute;
  left:50%;
  bottom:16px;
  display:flex;
  align-items:center;
  gap:8px;
  transform:translateX(-50%);
  color:#697b84;
  font-size:8px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.v3-hero__scroll span{display:block;width:34px;height:1px;background:#8d6724}

/* REALM STRIP */
.v3-realm-strip{
  border-bottom:1px solid var(--ia-line);
  background:#050e15;
}
.v3-realm-strip .shell{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.v3-realm-strip a{
  position:relative;
  min-height:112px;
  padding:24px 28px 22px 56px;
  border-right:1px solid rgba(219,168,67,.14);
  text-decoration:none;
}
.v3-realm-strip a:last-child{border-right:0}
.v3-realm-strip a>span{
  position:absolute;
  top:26px;
  left:21px;
  color:#574629;
  font:700 12px Cinzel,serif;
}
.v3-realm-strip b,.v3-realm-strip small{display:block}
.v3-realm-strip b{color:#e9c66c;font:700 16px Cinzel,serif}
.v3-realm-strip small{margin-top:6px;color:#74868f;font-size:9px}
.v3-realm-strip a:hover{background:rgba(219,168,67,.04)}

/* ASCENSION CYCLE */
.v3-cycle{
  background:
    radial-gradient(circle at 10% 35%,rgba(65,44,92,.16),transparent 30%),
    #02080d;
}
.v3-cycle-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.v3-cycle-card{
  min-width:0;
  border:1px solid var(--ia-line);
  border-radius:5px;
  overflow:hidden;
  background:#061018;
  text-decoration:none;
  transition:transform .2s,border-color .2s;
}
.v3-cycle-card:hover{transform:translateY(-5px);border-color:rgba(239,197,95,.6)}
.v3-cycle-card__image{height:220px;overflow:hidden}
.v3-cycle-card__image img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .3s;
}
.v3-cycle-card:hover img{transform:scale(1.035)}
.v3-cycle-card>div:last-child{padding:20px 19px 22px}
.v3-cycle-card span{color:#6e5731;font:700 10px Cinzel,serif}
.v3-cycle-card h3{margin:7px 0;color:#edca72;font:700 21px Cinzel,serif}
.v3-cycle-card p{margin:0;color:#8999a1;font-size:11px;line-height:1.55}

/* WORLD/BENTO */
.v3-world{
  border-top:1px solid rgba(219,168,67,.12);
  border-bottom:1px solid rgba(219,168,67,.12);
  background:
    radial-gradient(circle at 80% 42%,rgba(46,71,98,.16),transparent 30%),
    #050d14;
}
.v3-world__layout{
  display:grid;
  grid-template-columns:minmax(280px,.58fr) minmax(0,1.42fr);
  gap:58px;
  align-items:center;
}
.v3-world__copy h2{
  margin:10px 0 16px;
  color:#eef3f5;
  font:700 clamp(38px,4vw,58px)/1.04 Cinzel,serif;
}
.v3-world__copy p{color:#94a3ab;line-height:1.75}
.v3-world__links{display:grid;gap:8px;margin-top:24px}
.v3-world__links a,.v3-text-link{
  color:#e5c46d!important;
  font:600 11px Inter,sans-serif!important;
  text-decoration:none!important;
}
.v3-world__links a span{float:right}
.v3-bento{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(3,210px);
  gap:12px;
}
.v3-bento__item{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(219,168,67,.22);
  border-radius:5px;
  text-decoration:none;
}
.v3-bento__item--wide{grid-row:span 2}
.v3-bento__item img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.v3-bento__item:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(1,6,10,.93),rgba(1,6,10,.06) 70%);
}
.v3-bento__item:hover img{transform:scale(1.035)}
.v3-bento__item span{position:absolute;z-index:1;left:18px;right:18px;bottom:16px}
.v3-bento__item b,.v3-bento__item small{display:block}
.v3-bento__item b{color:#efcc75;font:700 18px Cinzel,serif}
.v3-bento__item small{margin-top:5px;color:#c1cbd0;font-size:9px}

/* HERO + GUILD PANELS */
.v3-heroes-guilds{background:#02080d}
.v3-duo{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.v3-feature-panel{
  position:relative;
  min-height:540px;
  overflow:hidden;
  border:1px solid var(--ia-line);
  border-radius:5px;
  background:#061018;
}
.v3-feature-panel>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.v3-feature-panel:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(1,7,11,.98) 0%,rgba(1,7,11,.82) 32%,rgba(1,7,11,.04) 72%);
}
.v3-feature-panel>div{position:absolute;z-index:2;left:30px;right:30px;bottom:28px;max-width:480px}
.v3-feature-panel h3{margin:8px 0;color:#f0d07a;font:700 30px/1.15 Cinzel,serif}
.v3-feature-panel p{color:#a6b2b8;font-size:12px;line-height:1.6}
.v3-feature-panel a{color:#ecc96e;text-decoration:none;font-size:11px;font-weight:700}

/* LIVE REALM */
.v3-live-realm{
  background:
    radial-gradient(circle at 70% 50%,rgba(90,54,108,.14),transparent 32%),
    #050d14;
  border-block:1px solid rgba(219,168,67,.12);
}
.v3-live-realm__layout{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:54px;
  align-items:center;
}
.v3-live-realm__art{
  position:relative;
  min-height:440px;
  overflow:hidden;
  border:1px solid var(--ia-line);
  border-radius:5px;
}
.v3-live-realm__art img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.v3-live-realm__art:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(1,7,11,.95),transparent 65%);
}
.v3-live-realm__art div{position:absolute;z-index:2;left:24px;bottom:22px}
.v3-live-realm__art span{display:block;color:#dfad46;font-size:9px;letter-spacing:.18em}
.v3-live-realm__art strong{display:block;margin-top:4px;color:#fff;font:700 22px Cinzel,serif}
.v3-live-realm__copy h2{
  margin:8px 0 15px;
  color:#f1f4f5;
  font:700 clamp(40px,4vw,60px) Cinzel,serif;
}
.v3-live-realm__copy p{color:#96a5ad;line-height:1.7}
.v3-live-actions{display:flex;align-items:center;gap:22px;margin-top:26px}

/* GALLERY */
.v3-gallery{background:#02080d}
.v3-gallery-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  grid-auto-rows:180px;
  gap:12px;
}
.v3-gallery-grid a{
  position:relative;overflow:hidden;
  border:1px solid rgba(219,168,67,.2);
  border-radius:4px;
  text-decoration:none;
}
.v3-gallery-grid a:nth-child(1){grid-column:span 5;grid-row:span 2}
.v3-gallery-grid a:nth-child(2){grid-column:span 4}
.v3-gallery-grid a:nth-child(3){grid-column:span 3}
.v3-gallery-grid a:nth-child(4){grid-column:span 3}
.v3-gallery-grid a:nth-child(5){grid-column:span 4}
.v3-gallery-grid a:nth-child(6){grid-column:span 7}
.v3-gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.v3-gallery-grid a:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.78),transparent 55%)}
.v3-gallery-grid a:hover img{transform:scale(1.035)}
.v3-gallery-grid span{position:absolute;z-index:2;left:15px;bottom:13px;color:#efcc76;font:700 14px Cinzel,serif}
.v3-gallery__foot{display:flex;justify-content:flex-end;margin-top:18px}
.v3-gallery__foot a{color:#e9c76f;text-decoration:none;font-size:11px}

/* NEWS / ROADMAP / FAQ */
.v3-discover{
  padding-top:20px;
  background:#02080d;
}
.v3-discover .shell{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.v3-discover-card{
  min-height:230px;
  padding:28px;
  display:flex;
  flex-direction:column;
  border:1px solid var(--ia-line);
  border-radius:5px;
  background:
    linear-gradient(145deg,rgba(10,22,30,.92),rgba(4,10,14,.98));
  text-decoration:none;
  transition:transform .18s,border-color .18s;
}
.v3-discover-card:hover{transform:translateY(-4px);border-color:rgba(239,200,106,.55)}
.v3-discover-card h3{margin:8px 0;color:#f0cf78;font:700 26px Cinzel,serif}
.v3-discover-card p{color:#87979f;font-size:11px;line-height:1.6}
.v3-discover-card b{margin-top:auto;color:#dfbd65;font-size:10px}

/* DOWNLOAD */
.v3-download{
  position:relative;
  padding:68px 0;
  overflow:hidden;
  border-top:1px solid var(--ia-line);
  background:#061019;
}
.v3-download__art{
  position:absolute;inset:0;
  background:url('/assets/images/gallery/village.jpg') center 58%/cover no-repeat;
  opacity:.24;
}
.v3-download:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,#030a10 0%,rgba(3,10,16,.82) 48%,rgba(3,10,16,.92));
}
.v3-download__inner{
  position:relative;z-index:2;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:28px;
}
.v3-download__inner>img{width:115px;height:115px;object-fit:contain}
.v3-download h2{margin:5px 0;color:#f2d17b;font:700 clamp(30px,3.4vw,48px) Cinzel,serif}
.v3-download p{margin:0;color:#9ba9b0}
.v3-download .v3-btn{align-items:center}

/* Secondary pages: make typography feel closer to home without replacing content. */
#mainContent:not(:has(.public-home-v3)) .section-head h1,
#mainContent:not(:has(.public-home-v3)) .section-head h2{
  color:#f1d079!important;
  font-family:Cinzel,Georgia,serif!important;
}
#mainContent:not(:has(.public-home-v3)) .card,
#mainContent:not(:has(.public-home-v3)) .panel{
  border-color:rgba(219,168,67,.22)!important;
  background:linear-gradient(145deg,rgba(7,18,25,.97),rgba(3,9,14,.98))!important;
}

/* Desktop reveal fallback: content is always visible if JS is unavailable. */
.reveal{opacity:1!important;transform:none!important}

/* TABLET */
@media(max-width:1100px){
  .v3-hero__inner{grid-template-columns:1fr .42fr;gap:30px}
  .v3-hero h1 em{margin-left:40px}
  .v3-cycle-grid{grid-template-columns:1fr 1fr}
  .v3-world__layout{grid-template-columns:1fr}
  .v3-bento{grid-template-rows:repeat(3,190px)}
  .v3-live-realm__layout{grid-template-columns:1fr 1fr;gap:28px}
}

/* MOBILE */
@media(max-width:860px){
  .public-download-cta{
    min-width:92px!important;
    width:auto!important;
    height:42px!important;
    min-height:42px!important;
    padding:0 12px!important;
  }
  .public-download-cta small{display:none!important}

  .v3-section{padding:66px 0}
  .v3-hero{
    min-height:auto!important;
    align-items:stretch!important;
  }
  .v3-hero__art{
    background-position:66% center;
  }
  .v3-hero__veil{
    background:
      linear-gradient(90deg,rgba(1,6,11,.98) 0%,rgba(1,6,11,.75) 65%,rgba(1,6,11,.46) 100%),
      linear-gradient(0deg,rgba(1,6,11,.96) 0%,transparent 48%,rgba(1,6,11,.44) 100%);
  }
  .v3-hero__inner{
    grid-template-columns:1fr;
    padding-top:84px;
    padding-bottom:70px;
  }
  .v3-hero__copy{max-width:640px}
  .v3-hero h1{
    font-size:clamp(54px,15vw,86px);
  }
  .v3-hero h1 em{margin-left:0}
  .v3-tagline{letter-spacing:.16em!important}
  .v3-hero__realm-card{display:none}
  .v3-hero__scroll{display:none}
  .v3-realm-strip .shell{grid-template-columns:1fr 1fr}
  .v3-realm-strip a:nth-child(2){border-right:0}
  .v3-realm-strip a:nth-child(-n+2){border-bottom:1px solid rgba(219,168,67,.14)}
  .v3-duo{grid-template-columns:1fr}
  .v3-feature-panel{min-height:470px}
  .v3-live-realm__layout{grid-template-columns:1fr}
  .v3-live-realm__art{min-height:360px}
  .v3-discover .shell{grid-template-columns:1fr}
  .v3-download__inner{grid-template-columns:auto 1fr}
  .v3-download .v3-btn{grid-column:1/-1;width:100%}
}

/* PHONE */
@media(max-width:620px){
  .v3-section{padding:54px 0}
  .v3-heading{margin-bottom:28px}
  .v3-heading h2{font-size:34px}
  .v3-hero__inner{padding-top:70px;padding-bottom:54px}
  .v3-hero h1{font-size:clamp(48px,16vw,68px)}
  .v3-tagline{font-size:15px!important;letter-spacing:.13em!important}
  .v3-lead{font-size:14px!important}
  .v3-hero__actions{display:grid;grid-template-columns:1fr}
  .v3-btn{width:100%;min-width:0}
  .v3-hero__systems{grid-template-columns:1fr;gap:8px}
  .v3-hero__systems a{padding:10px 0}
  .v3-realm-strip a{min-height:96px;padding:20px 12px 18px 42px}
  .v3-realm-strip a>span{left:14px;top:21px}
  .v3-realm-strip b{font-size:14px}
  .v3-cycle-grid{grid-template-columns:1fr}
  .v3-cycle-card__image{height:230px}
  .v3-bento{grid-template-columns:1fr;grid-template-rows:none}
  .v3-bento__item,.v3-bento__item--wide{grid-row:auto;min-height:250px}
  .v3-feature-panel{min-height:430px}
  .v3-feature-panel>div{left:18px;right:18px;bottom:18px}
  .v3-feature-panel h3{font-size:24px}
  .v3-live-realm__art{min-height:300px}
  .v3-live-actions{align-items:stretch;flex-direction:column}
  .v3-gallery-grid{display:grid;grid-template-columns:1fr;grid-auto-rows:240px}
  .v3-gallery-grid a:nth-child(n){grid-column:auto;grid-row:auto}
  .v3-download{padding:50px 0}
  .v3-download__inner{grid-template-columns:1fr;text-align:center}
  .v3-download__inner>img{margin:auto}
  .v3-download .v3-btn{align-items:center}
}

/* Tiny phones */
@media(max-width:390px){
  .v3-realm-strip .shell{grid-template-columns:1fr}
  .v3-realm-strip a{border-right:0!important;border-bottom:1px solid rgba(219,168,67,.14)!important}
  .v3-realm-strip a:last-child{border-bottom:0!important}
}



/* =================================================================
   PUBLIC WEBSITE V4 — DESKTOP SCALE + MOBILE NAV HARD FIX
   ================================================================= */

/* Wider, fuller desktop composition */
@media(min-width:1101px){
  .shell{
    width:min(1520px,calc(100% - 72px))!important;
  }
  .site-header__inner{
    width:min(1540px,calc(100% - 64px))!important;
  }

  .v3-section{
    padding:82px 0!important;
  }

  .v3-hero{
    min-height:720px!important;
  }
  .v3-hero__inner{
    grid-template-columns:minmax(0,1.28fr) minmax(330px,.48fr)!important;
    gap:84px!important;
    padding-top:54px!important;
    padding-bottom:62px!important;
  }
  .v3-hero__copy{
    max-width:860px!important;
  }
  .v3-hero h1{
    font-size:clamp(72px,6.7vw,118px)!important;
    line-height:.8!important;
  }
  .v3-hero h1 em{
    margin-left:82px!important;
  }
  .v3-lead{
    max-width:680px!important;
    font-size:17px!important;
  }
  .v3-hero__realm-card{
    max-width:370px!important;
    padding:32px 28px!important;
  }
  .v3-hero__realm-card img{
    width:175px!important;
    height:175px!important;
  }

  .v3-realm-strip .shell{
    width:min(1520px,calc(100% - 72px))!important;
  }
  .v3-realm-strip a{
    min-height:104px!important;
  }

  .v3-heading{
    max-width:900px!important;
    margin-bottom:36px!important;
  }
  .v3-heading h2{
    font-size:clamp(42px,3.7vw,64px)!important;
  }
  .v3-heading p{
    max-width:780px!important;
    font-size:16px!important;
  }

  .v3-cycle-grid{
    gap:18px!important;
  }
  .v3-cycle-card__image{
    height:255px!important;
  }
  .v3-cycle-card>div:last-child{
    padding:22px 22px 26px!important;
  }
  .v3-cycle-card h3{
    font-size:23px!important;
  }
  .v3-cycle-card p{
    font-size:12px!important;
  }

  .v3-world__layout{
    grid-template-columns:minmax(340px,.55fr) minmax(0,1.45fr)!important;
    gap:72px!important;
  }
  .v3-world__copy{
    max-width:470px!important;
  }
  .v3-world__copy p{
    font-size:14px!important;
  }
  .v3-bento{
    grid-template-rows:repeat(3,230px)!important;
    gap:14px!important;
  }

  .v3-duo{
    gap:22px!important;
  }
  .v3-feature-panel{
    min-height:560px!important;
  }

  .v3-live-realm__layout{
    grid-template-columns:1.2fr .8fr!important;
    gap:72px!important;
  }
  .v3-live-realm__art{
    min-height:500px!important;
  }
  .v3-live-realm__copy{
    max-width:520px!important;
  }

  .v3-gallery-grid{
    grid-auto-rows:205px!important;
    gap:14px!important;
  }

  .v3-discover{
    padding-top:26px!important;
    padding-bottom:86px!important;
  }
  .v3-discover-card{
    min-height:210px!important;
  }

  .v3-download{
    padding:62px 0!important;
  }
}

/* Reduce the giant dead gaps visible on very wide screens. */
@media(min-width:1500px){
  .v3-section{
    padding-top:76px!important;
    padding-bottom:76px!important;
  }
  .v3-heroes-guilds{
    padding-top:72px!important;
    padding-bottom:72px!important;
  }
  .v3-gallery{
    padding-top:72px!important;
    padding-bottom:58px!important;
  }
}

/* MOBILE NAV HARD FIX
   style.css gives .main-nav left:12px at <=820px.
   Explicitly reset left and use transform/visibility so the drawer CANNOT
   remain visible when closed. */
@media(max-width:860px){
  .site-header__inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 46px!important;
    align-items:center!important;
  }

  .public-brand{
    grid-column:1!important;
    min-width:0!important;
  }

  .header-cta,
  .public-download-cta{
    display:none!important;
  }

  .menu-toggle{
    grid-column:2!important;
    display:flex!important;
    margin-left:0!important;
    position:relative!important;
    z-index:1405!important;
  }

  .main-nav,
  #mainNav{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    bottom:0!important;
    right:0!important;
    left:auto!important;
    width:min(88vw,360px)!important;
    max-width:360px!important;
    height:100dvh!important;
    margin:0!important;
    padding:calc(82px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom))!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:linear-gradient(180deg,#06111a 0%,#02070b 100%)!important;
    border:0!important;
    border-left:1px solid rgba(219,168,67,.35)!important;
    box-shadow:-22px 0 55px rgba(0,0,0,.72)!important;

    transform:translate3d(105%,0,0)!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;

    transition:
      transform .22s ease,
      opacity .18s ease,
      visibility 0s linear .22s!important;
  }

  .main-nav.open,
  #mainNav.open{
    right:0!important;
    left:auto!important;
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    transition:
      transform .22s ease,
      opacity .18s ease,
      visibility 0s!important;
  }

  .main-nav a,
  #mainNav a{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    width:100%!important;
    min-height:52px!important;
    padding:13px 12px!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.065)!important;
    color:#d5dee2!important;
    font:600 13px/1.2 Cinzel,Georgia,serif!important;
    letter-spacing:.055em!important;
    text-align:left!important;
    text-transform:uppercase!important;
  }

  .main-nav a::after,
  #mainNav a::after{
    display:none!important;
  }

  .main-nav .mobile-nav-download{
    margin-top:12px!important;
    min-height:54px!important;
    justify-content:center!important;
    border:1px solid #d6a442!important;
    border-radius:4px!important;
    background:linear-gradient(180deg,#b77c18,#78500f)!important;
    color:#fff1c9!important;
  }

  .public-nav-backdrop{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:1350!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    background:rgba(0,0,0,.72)!important;
    transition:opacity .18s ease,visibility 0s linear .18s!important;
  }
  .public-nav-backdrop.open{
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    transition:opacity .18s ease,visibility 0s!important;
  }

  body.public-nav-open{
    overflow:hidden!important;
    touch-action:none!important;
  }

  /* Home mobile: less cramped, no overlap behind menu */
  .v3-hero{
    min-height:640px!important;
  }
  .v3-hero__inner{
    padding-top:62px!important;
    padding-bottom:50px!important;
  }
  .v3-hero__actions{
    margin-top:24px!important;
  }
  .v3-btn{
    min-height:58px!important;
  }
}

/* Phone cleanup */
@media(max-width:560px){
  .site-header__inner{
    min-height:64px!important;
    padding:6px 10px!important;
  }

  .public-brand .brand__mark img{
    width:46px!important;
    height:46px!important;
  }

  .v3-hero{
    min-height:610px!important;
  }
  .v3-hero__inner{
    padding-top:52px!important;
    padding-bottom:42px!important;
  }
  .v3-hero h1{
    font-size:clamp(47px,15.5vw,66px)!important;
  }
  .v3-hero__systems{
    margin-top:22px!important;
  }
  .v3-realm-strip a{
    min-height:92px!important;
  }
  .v3-section{
    padding:50px 0!important;
  }
  .v3-cycle-card__image{
    height:220px!important;
  }
  .v3-bento__item,
  .v3-bento__item--wide{
    min-height:230px!important;
  }
  .v3-feature-panel{
    min-height:410px!important;
  }
  .v3-gallery-grid{
    grid-auto-rows:220px!important;
  }
}

/* Never show the mobile-only download link on desktop. */
@media(min-width:861px){
  .mobile-nav-download{
    display:none!important;
  }
}




/* ================================================================
   DESKTOP PUBLIC HEADER — REMOVE BRAND BLOCK + CENTER NAVIGATION
   Mobile header/brand remain unchanged.
   ================================================================ */
@media(min-width:861px){
  .site-header__inner{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:68px!important;
  }

  /* Remove the logo/title block shown at the left on desktop only */
  .site-header .public-brand{
    display:none!important;
  }

  /* Keep the navigation visually centered across the whole header */
  .site-header .main-nav{
    margin:0 auto!important;
    justify-content:center!important;
    align-items:center!important;
  }

  /* Keep Download on the far right without pushing the menu off-center */
  .site-header .public-download-cta{
    position:absolute!important;
    right:0!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin:0!important;
  }

  .site-header .public-download-cta:hover{
    transform:translateY(-50%) translateY(-2px)!important;
  }
}




/* =================================================================
   MAIN SITE — LESS "AI", MORE STRAIGHTFORWARD GAME WEBSITE
   ================================================================= */
.human-site{
  background:#03090e;
  color:#e9eef0;
  overflow:hidden;
}

.human-site .shell{
  width:min(1320px,calc(100% - 40px))!important;
  margin:0 auto!important;
}

.human-kicker{
  color:#caa24e;
  font:700 10px/1.2 Inter,system-ui,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.human-section{
  padding:76px 0;
}

.human-heading{
  max-width:760px;
  margin-bottom:30px;
}

.human-heading h2,
.human-copy h2,
.human-wide-card h2,
.human-download h2{
  margin:7px 0 10px;
  color:#f0d07a;
  font:700 clamp(30px,3.2vw,48px)/1.08 Cinzel,Georgia,serif;
  letter-spacing:-.02em;
}

.human-heading p,
.human-copy p,
.human-wide-card p,
.human-download p{
  color:#9aa7ad;
  font-size:14px;
  line-height:1.65;
}

/* Hero */
.human-hero{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:center;
  border-bottom:1px solid rgba(202,162,78,.22);
}

.human-hero__art{
  position:absolute;
  inset:0;
  background:url('/assets/images/hero.jpg.png') center 43%/cover no-repeat;
}

.human-hero__shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(2,8,13,.97) 0%,rgba(2,8,13,.84) 34%,rgba(2,8,13,.30) 68%,rgba(2,8,13,.18)),
    linear-gradient(0deg,rgba(2,8,13,.65),transparent 45%);
}

.human-hero__inner{
  position:relative;
  z-index:2;
  width:100%;
}

.human-hero__copy{
  max-width:650px;
  padding:64px 0;
}

.human-hero h1{
  margin:10px 0 4px;
  color:#f0ca6d;
  font:800 clamp(54px,6vw,88px)/.92 Cinzel,Georgia,serif;
  letter-spacing:-.035em;
}

.human-tagline{
  margin:12px 0 18px!important;
  color:#fff!important;
  font:600 20px/1.1 Cinzel,Georgia,serif!important;
  letter-spacing:.14em!important;
}

.human-lead{
  max-width:600px;
  margin:0!important;
  color:#c5cdd1!important;
  font-size:16px!important;
  line-height:1.65!important;
}

.human-actions{
  display:flex;
  gap:10px;
  margin-top:26px;
}

.human-btn{
  min-height:48px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:3px;
  text-decoration:none!important;
  font:700 12px Cinzel,Georgia,serif;
}

.human-btn--gold{
  border:1px solid #e5be64;
  background:linear-gradient(180deg,#d1a042,#966414);
  color:#120d05!important;
}

.human-btn--plain{
  border:1px solid rgba(202,162,78,.32);
  background:rgba(5,13,19,.82);
  color:#dfe6e9!important;
}

/* Feature strip */
.human-strip{
  background:#071119;
  border-bottom:1px solid rgba(202,162,78,.2);
}

.human-strip .shell{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.human-strip a{
  min-height:88px;
  padding:20px 22px;
  border-right:1px solid rgba(202,162,78,.14);
  text-decoration:none;
}

.human-strip a:last-child{border-right:0}

.human-strip b,
.human-strip span{
  display:block;
}

.human-strip b{
  color:#e7c56c;
  font:700 15px Cinzel,serif;
}

.human-strip span{
  margin-top:5px;
  color:#788891;
  font-size:10px;
}

/* Core cards */
.human-loop{background:#03090e}

.human-card-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}

.human-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  border:1px solid rgba(202,162,78,.22);
  border-radius:4px;
  overflow:hidden;
  background:#071119;
  text-decoration:none;
}

.human-card img{
  width:100%;
  height:210px;
  object-fit:cover;
  object-position:center;
  display:block;
}

.human-card>div{
  flex:1;
  padding:18px;
}

.human-card h3{
  margin:0 0 7px;
  color:#e9c86f;
  font:700 19px Cinzel,serif;
}

.human-card p{
  margin:0;
  color:#8d9ba2;
  font-size:11px;
  line-height:1.55;
}

/* Systems split */
.human-feature-row{
  background:#061018;
  border-block:1px solid rgba(202,162,78,.14);
}

.human-split{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:48px;
  align-items:center;
}

.human-split--reverse{
  grid-template-columns:.85fr 1.15fr;
}

.human-copy{
  max-width:470px;
}

.human-text-links{
  display:flex;
  gap:18px;
  margin-top:22px;
}

.human-text-links a{
  color:#d9b75f;
  font-size:11px;
  text-decoration:none;
}

/* Aligned image stack */
.human-image-stack{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  grid-template-rows:repeat(3,170px);
  gap:12px;
  align-items:stretch;
}

.human-image-panel{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(202,162,78,.22);
  border-radius:4px;
}

.human-image-panel--large{
  grid-row:1 / span 3;
}

.human-image-panel img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.human-image-panel:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.72),transparent 58%);
}

.human-image-panel span{
  position:absolute;
  z-index:2;
  left:13px;
  bottom:11px;
  color:#e9c86f;
  font:700 14px Cinzel,serif;
}

/* Two-up cards */
.human-two-up{background:#03090e}

.human-two-up .shell{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  align-items:stretch;
}

.human-wide-card{
  position:relative;
  min-height:430px;
  overflow:hidden;
  border:1px solid rgba(202,162,78,.22);
  border-radius:4px;
}

.human-wide-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.human-wide-card:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(1,7,11,.96),rgba(1,7,11,.2) 70%);
}

.human-wide-card>div{
  position:absolute;
  z-index:2;
  left:24px;
  right:24px;
  bottom:22px;
  max-width:470px;
}

.human-wide-card h2{
  font-size:28px;
}

.human-wide-card a{
  color:#e3c068;
  font-size:11px;
  text-decoration:none;
}

/* Ranking */
.human-ranking{
  background:#061018;
  border-block:1px solid rgba(202,162,78,.14);
}

.human-ranking-image{
  aspect-ratio:16/9;
  overflow:hidden;
  border:1px solid rgba(202,162,78,.22);
  border-radius:4px;
}

.human-ranking-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

/* Gallery — force consistent alignment */
.human-gallery{background:#03090e}

.human-gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}

.human-gallery-grid a{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  border:1px solid rgba(202,162,78,.22);
  border-radius:4px;
}

.human-gallery-grid img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.human-gallery-grid a:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.72),transparent 55%);
}

.human-gallery-grid span{
  position:absolute;
  z-index:2;
  left:12px;
  bottom:10px;
  color:#e8c76e;
  font:700 13px Cinzel,serif;
}

/* Info */
.human-info{
  padding-top:18px;
  background:#03090e;
}

.human-info .shell{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.human-info a{
  min-height:145px;
  padding:22px;
  border:1px solid rgba(202,162,78,.2);
  border-radius:4px;
  background:#071119;
  text-decoration:none;
}

.human-info b,
.human-info span{
  display:block;
}

.human-info b{
  color:#e8c66c;
  font:700 21px Cinzel,serif;
}

.human-info span{
  margin-top:7px;
  color:#83929a;
  font-size:11px;
}

/* Download */
.human-download{
  padding:54px 0;
  border-top:1px solid rgba(202,162,78,.2);
  background:
    linear-gradient(90deg,rgba(3,10,15,.96),rgba(3,10,15,.84)),
    url('/assets/images/gallery/village.jpg') center/cover no-repeat;
}

.human-download .shell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.human-download h2{
  font-size:36px;
}

/* Tablet */
@media(max-width:980px){
  .human-card-grid{
    grid-template-columns:1fr 1fr;
  }

  .human-split,
  .human-split--reverse{
    grid-template-columns:1fr;
  }

  .human-copy{
    max-width:720px;
  }

  .human-two-up .shell{
    grid-template-columns:1fr;
  }
}

/* Mobile */
@media(max-width:720px){
  .human-site .shell{
    width:min(100% - 22px,1320px)!important;
  }

  .human-section{
    padding:48px 0;
  }

  .human-hero{
    min-height:560px;
  }

  .human-hero__art{
    background-position:62% center;
  }

  .human-hero__shade{
    background:
      linear-gradient(90deg,rgba(2,8,13,.96),rgba(2,8,13,.63)),
      linear-gradient(0deg,rgba(2,8,13,.88),transparent 58%);
  }

  .human-hero__copy{
    padding:62px 0 44px;
  }

  .human-hero h1{
    font-size:clamp(46px,14vw,62px);
  }

  .human-tagline{
    font-size:16px!important;
  }

  .human-lead{
    font-size:14px!important;
  }

  .human-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .human-btn{
    width:100%;
  }

  .human-strip .shell{
    grid-template-columns:1fr 1fr;
  }

  .human-strip a{
    min-height:78px;
    padding:16px 14px;
  }

  .human-card-grid{
    grid-template-columns:1fr;
  }

  .human-card img{
    height:220px;
  }

  .human-image-stack{
    grid-template-columns:1fr;
    grid-template-rows:none;
  }

  .human-image-panel,
  .human-image-panel--large{
    min-height:230px;
    grid-row:auto;
  }

  .human-wide-card{
    min-height:390px;
  }

  .human-gallery-grid{
    grid-template-columns:1fr;
  }

  .human-info .shell{
    grid-template-columns:1fr;
  }

  .human-download .shell{
    align-items:flex-start;
    flex-direction:column;
  }

  .human-download .human-btn{
    width:100%;
  }
}




/* =================================================================
   PUBLIC MAIN SITE — MOBILE DROPDOWN FIX
   Replaces the previous off-canvas drawer with a simple header dropdown.
   ================================================================= */
@media(max-width:860px){

  body.public-nav-open{
    overflow:auto!important;
  }

  .site-header{
    position:sticky!important;
    top:0!important;
    z-index:5000!important;
    overflow:visible!important;
  }

  .site-header__inner{
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 46px!important;
    align-items:center!important;
    width:100%!important;
    min-height:66px!important;
    padding:7px 12px!important;
    overflow:visible!important;
  }

  .public-brand{
    display:flex!important;
    grid-column:1!important;
    min-width:0!important;
  }

  .menu-toggle{
    display:flex!important;
    grid-column:2!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:4px!important;
    width:42px!important;
    height:42px!important;
    margin:0!important;
    padding:0 10px!important;
    border:1px solid rgba(202,162,78,.42)!important;
    border-radius:4px!important;
    background:#071017!important;
    position:relative!important;
    z-index:5010!important;
    cursor:pointer!important;
  }

  .menu-toggle span{
    display:block!important;
    width:100%!important;
    height:2px!important;
    background:#e7c66d!important;
    transition:transform .18s ease,opacity .18s ease!important;
  }

  .menu-toggle.open span:nth-child(1){
    transform:translateY(6px) rotate(45deg)!important;
  }

  .menu-toggle.open span:nth-child(2){
    opacity:0!important;
  }

  .menu-toggle.open span:nth-child(3){
    transform:translateY(-6px) rotate(-45deg)!important;
  }

  /* CLOSED BY DEFAULT */
  .main-nav,
  #mainNav{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    bottom:auto!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    max-height:0!important;
    min-height:0!important;

    display:block!important;
    margin:0!important;
    padding:0 12px!important;

    overflow:hidden!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    transform:none!important;

    border:0!important;
    border-bottom:1px solid rgba(202,162,78,.28)!important;
    background:#030a0f!important;
    box-shadow:0 18px 32px rgba(0,0,0,.52)!important;

    transition:
      max-height .22s ease,
      opacity .16s ease,
      visibility 0s linear .22s!important;
  }

  /* OPEN */
  .main-nav.mobile-open,
  #mainNav.mobile-open{
    max-height:calc(100dvh - 72px)!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    padding-top:8px!important;
    padding-bottom:10px!important;
    transition:
      max-height .22s ease,
      opacity .16s ease,
      visibility 0s!important;
  }

  .main-nav a,
  #mainNav a{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:45px!important;
    margin:0!important;
    padding:10px 9px!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.055)!important;
    background:transparent!important;
    color:#d7dfe2!important;
    font:600 12px/1.2 Cinzel,Georgia,serif!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
    text-align:left!important;
  }

  .main-nav a::after,
  #mainNav a::after{
    display:none!important;
  }

  .main-nav .mobile-nav-download{
    margin-top:8px!important;
    min-height:47px!important;
    justify-content:center!important;
    border:1px solid #d1a348!important;
    border-radius:3px!important;
    background:linear-gradient(180deg,#b77c18,#78500f)!important;
    color:#fff0c7!important;
  }

  .public-download-cta{
    display:none!important;
  }

  /* The old drawer backdrop is not needed for a dropdown. */
  .public-nav-backdrop,
  #publicNavBackdrop{
    display:none!important;
  }
}

@media(max-width:560px){
  .public-brand__text{
    display:flex!important;
  }

  .public-brand__text b{
    font-size:14px!important;
  }

  .public-brand__text small{
    font-size:6px!important;
  }

  .public-brand .brand__mark img{
    width:44px!important;
    height:44px!important;
  }
}

