/* v4.2.0 RC10 — cinematic editorial landing page inspired by the supplied reference.
   This layer is intentionally scoped to the home page; reading and admin workspaces
   retain their high-contrast, content-first layouts. */
body[data-page="home"]{
  --bg:#e9e6df;--paper:#f3f0e9;--card:#f7f4ed;--ink:#242725;--muted:#74746d;
  --green:#56635b;--gold:#b69a67;--terracotta:#934c43;--line:#d4d0c7;
  background:#e9e6df;color:var(--ink);font-family:'Manrope',Arial,sans-serif;
}
body[data-page="home"] .topline{display:none}
body[data-page="home"] .header{
  position:absolute;top:0;left:0;right:0;z-index:30;height:82px;min-height:82px;
  padding:0 clamp(20px,5vw,76px);gap:clamp(10px,2vw,28px);
  background:linear-gradient(180deg,rgba(13,16,15,.88),rgba(13,16,15,.48));
  border:0;border-bottom:1px solid rgba(255,255,255,.15);backdrop-filter:blur(9px);color:#f5f1e8;
}
body[data-page="home"] .brand{color:#f5f1e8;gap:11px}
body[data-page="home"] .brand b{color:#f5f1e8;font-size:12px;letter-spacing:.16em}
body[data-page="home"] .brand small{color:#c2c0b8;font-size:9px;letter-spacing:.12em}
body[data-page="home"] .logo{width:38px;height:38px;border:1px solid rgba(207,184,133,.65);border-radius:50%;background:rgba(18,23,21,.5);color:#d1b77e;font-size:19px}
body[data-page="home"] #nav{gap:clamp(9px,1.6vw,24px)}
body[data-page="home"] #nav>a,body[data-page="home"] #nav .nav-trigger{color:#e5e2d9;font-size:10px;font-weight:700;letter-spacing:.075em;text-transform:uppercase}
body[data-page="home"] #nav>a:hover,body[data-page="home"] #nav .nav-trigger:hover{color:#d3b879}
body[data-page="home"] .nav-trigger span{color:#d3b879}
body[data-page="home"] .nav-menu,body[data-page="home"] .profile-menu{background:#202522;border-color:#454a43;box-shadow:0 16px 38px #0007}
body[data-page="home"] .nav-menu a,body[data-page="home"] .profile-menu a{color:#e9e5db}
body[data-page="home"] .nav-menu a:hover,body[data-page="home"] .profile-menu a:hover{background:#343b35;color:#dfc58c}
body[data-page="home"] .profile-area{gap:6px}
body[data-page="home"] .profile-link{border-color:rgba(255,255,255,.25);color:#e9e5db;font-size:10px;padding:8px 11px}
body[data-page="home"] .profile-tools summary,body[data-page="home"] .actions button,body[data-page="home"] .menu{border-color:rgba(255,255,255,.25);color:#f4f0e8;background:rgba(255,255,255,.04)}
body[data-page="home"] .hero{
  min-height:min(900px,100svh);min-height:max(720px,94svh);display:flex;align-items:center;overflow:hidden;
  border-radius:0;background-image:linear-gradient(90deg,rgba(12,15,14,.9) 0%,rgba(12,15,14,.68) 43%,rgba(12,15,14,.18) 100%),linear-gradient(0deg,rgba(10,13,12,.76),transparent 45%),url('../assets/hero-battle-illustration.webp');
  background-position:center,center,center 48%;background-size:cover;color:#f4f0e8;
}
body[data-page="home"] .hero:before{content:"";position:absolute;inset:82px 0 0;pointer-events:none;opacity:.25;background:linear-gradient(90deg,transparent 49.9%,rgba(255,255,255,.16) 50%,transparent 50.1%)}
body[data-page="home"] .hero:after{top:auto;right:clamp(20px,5vw,76px);bottom:25px;color:#e0ddd4;background:rgba(10,13,12,.52);border:1px solid rgba(255,255,255,.12);padding:7px 10px;font:9px 'Manrope',sans-serif;letter-spacing:.08em}
body[data-page="home"] .hero-inner{width:min(1180px,calc(100% - 48px));padding:155px 0 130px;position:relative;z-index:1}
body[data-page="home"] .hero .eyebrow{color:#d5bd87;font-size:10px;letter-spacing:.24em}
body[data-page="home"] .hero h1{max-width:780px;margin:26px 0 20px;font:500 clamp(48px,7.5vw,100px)/.99 'Source Serif 4',Georgia,serif;letter-spacing:-.045em;text-transform:uppercase}
body[data-page="home"] .hero h1 i{display:inline-block;color:#d0b77e;font-style:normal;font-weight:400}
body[data-page="home"] .hero p{max-width:550px;color:#d7d8d1;font:400 clamp(14px,1.35vw,17px)/1.8 'Manrope',Arial,sans-serif}
body[data-page="home"] .buttons{gap:12px;margin:34px 0 24px}
body[data-page="home"] .hero .btn{min-height:46px;padding:13px 22px;border-radius:2px;font-size:10px;letter-spacing:.09em;text-transform:uppercase}
body[data-page="home"] .hero .btn.light{background:#a23e35;color:#fff;border:1px solid #a23e35;box-shadow:0 9px 24px #0003}
body[data-page="home"] .hero .btn.light:hover{background:#b44c40}
body[data-page="home"] .hero .btn.outline{border:1px solid rgba(235,229,211,.58);background:rgba(12,15,14,.16);color:#f0ece2}
body[data-page="home"] .hero-note{color:#b9b8af;font-size:9px;letter-spacing:.2em}
body[data-page="home"] .stamp{right:clamp(22px,5vw,76px);bottom:90px;border:0;border-left:1px solid #c4a96f;background:rgba(13,17,15,.38);backdrop-filter:blur(7px);padding:13px 18px;text-align:left}
body[data-page="home"] .stamp b{font:500 46px 'Source Serif 4',Georgia,serif;color:#d4bd88}
body[data-page="home"] .stamp span{font-size:10px;line-height:1.45;letter-spacing:.12em;color:#e3e0d7;text-transform:uppercase}
body[data-page="home"] #dailyQuiz{background:#202522;color:#f1eee6;border:1px solid #444a42;border-radius:2px;padding:28px 32px;box-shadow:0 20px 55px #1b211d20}
body[data-page="home"] #dailyQuiz .eyebrow{color:#c7aa70}
body[data-page="home"] #dailyQuiz h3{font:27px 'Source Serif 4',Georgia,serif;margin:7px 0 12px}
body[data-page="home"] #dailyQuiz p{color:#c9c9c1}
body[data-page="home"] #dailyQuiz button{border-radius:0}
body[data-page="home"] #intro{padding-top:100px;padding-bottom:92px;grid-template-columns:.9fr 1.1fr;gap:9vw}
body[data-page="home"] #intro h2{font:500 clamp(35px,4.5vw,58px)/1.08 'Source Serif 4',Georgia,serif;letter-spacing:-.035em}
body[data-page="home"] #intro h2 i{color:#9c493e;font-style:normal}
body[data-page="home"] #intro p{font-size:15px;line-height:1.95;color:#64665f;max-width:650px}
body[data-page="home"] #discover{padding-top:78px;padding-bottom:95px}
body[data-page="home"] #discover .heading h2,body[data-page="home"] #history .heading h2,body[data-page="home"] #battles .heading h2,body[data-page="home"] #heroes .heading h2,body[data-page="home"] #articles .heading h2,body[data-page="home"] #museum .heading h2{font:500 clamp(34px,4vw,52px)/1.1 'Source Serif 4',Georgia,serif;letter-spacing:-.025em}
body[data-page="home"] #discover .heading p{color:#77766e}
body[data-page="home"] .feature-grid{grid-template-columns:1.18fr .91fr .91fr;gap:13px;align-items:stretch}
body[data-page="home"] .feature,body[data-page="home"] .feature.large{height:410px;border-radius:0;box-shadow:none;background:#252a26}
body[data-page="home"] .feature.large{height:460px}
body[data-page="home"] .feature .overlay{background:linear-gradient(0deg,rgba(11,15,13,.94),rgba(11,15,13,.12) 75%)}
body[data-page="home"] .feature-text{left:24px;right:24px;bottom:25px}
body[data-page="home"] .feature-text small{color:#d2b87f;letter-spacing:.18em}
body[data-page="home"] .feature h3{font:500 27px 'Source Serif 4',Georgia,serif}
body[data-page="home"] .feature p{color:#d3d3cb;font-size:12px;line-height:1.7}
body[data-page="home"] .feature b{color:#d4b978;text-transform:uppercase;font-size:9px;letter-spacing:.13em}
body[data-page="home"] .home-op-launch{margin-top:20px;padding:30px 34px;background:#252b27;color:#f2eee5;border:1px solid #424a43;border-radius:0;display:flex;justify-content:space-between;align-items:center;gap:24px}
body[data-page="home"] .home-op-launch .eyebrow{color:#d2b87f}
body[data-page="home"] .home-op-launch h2{font:500 clamp(24px,3vw,34px) 'Source Serif 4',Georgia,serif;margin:8px 0}
body[data-page="home"] .home-op-launch p{color:#c7cbc3;max-width:650px;margin:0}
body[data-page="home"] .home-op-launch .btn{flex:none;background:transparent;border:1px solid #8f8b7b;color:#eee8d9;border-radius:0;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
body[data-page="home"] .dark{background:#202522;color:#f1eee6}
body[data-page="home"] #history{background:#202522;border-top:1px solid #343a34;border-bottom:1px solid #343a34}
body[data-page="home"] #history .heading p{color:#b9bcb4}
body[data-page="home"] #history .time-travel{border:1px solid #454b43;background:#282e29;padding:24px}
body[data-page="home"] #history .time-travel p{color:#c3c5bd}
body[data-page="home"] #history .event{border:1px solid #454b43;background:#292f2a;border-radius:0}
body[data-page="home"] #history .event h3{font:22px 'Source Serif 4',Georgia,serif}
body[data-page="home"] #battles,body[data-page="home"] #heroes,body[data-page="home"] #articles{background:#e9e6df}
body[data-page="home"] #battles .info-card,body[data-page="home"] #heroes .profile-card,body[data-page="home"] #articles .article-card{border-radius:0;border:1px solid #d4d0c7;box-shadow:none;background:#f3f0e9}
body[data-page="home"] #museum{background:#252b27}
body[data-page="home"] #museum .heading p{color:#c4c7bf}
body[data-page="home"] #museum .museum-explorer{border-radius:0;border-color:#4a5149;background:#2c332e;color:#f1eee6}
body[data-page="home"] #museum .museum-guide p,body[data-page="home"] #museum .museum-guide small{color:#c4c7bf}
body[data-page="home"] #memory{background:#d8d2c5;color:#272b27;padding:95px 0}
body[data-page="home"] #memory blockquote{font:500 clamp(32px,5vw,58px)/1.1 'Source Serif 4',Georgia,serif;letter-spacing:-.025em}
body[data-page="home"] #memory p{color:#69675e;font-size:12px;letter-spacing:.06em}
body[data-page="home"] #about{padding-top:78px;padding-bottom:90px}
body[data-page="home"] #about .heading h2{font:500 clamp(32px,4vw,48px) 'Source Serif 4',Georgia,serif}
body[data-page="home"] footer{background:#151917;color:#e7e4db;padding:54px 0 22px}
body[data-page="home"] footer .foot p,body[data-page="home"] footer .foot a{color:#aeb4aa}
body[data-page="home"] footer .footbottom{border-color:#39413a;color:#8e968c}
body[data-page="home"] .eyebrow{font-family:'Manrope',Arial,sans-serif}
@media(max-width:1050px){body[data-page="home"] .header{gap:12px}body[data-page="home"] #nav{gap:10px}body[data-page="home"] #nav>a,body[data-page="home"] #nav .nav-trigger{font-size:9px}body[data-page="home"] .profile-link{padding:7px 8px}}
@media(max-width:980px){body[data-page="home"] .header{height:72px;min-height:72px;padding:0 20px}body[data-page="home"] #nav{order:5;position:absolute;top:72px;left:0;right:0;display:none;max-height:75vh;overflow:auto;background:#1d2420;padding:15px 22px;flex-direction:column;align-items:stretch;border-bottom:1px solid #454b43}body[data-page="home"] #nav.open{display:flex}body[data-page="home"] #nav>a,body[data-page="home"] #nav .nav-trigger{font-size:12px;padding:11px 4px;text-align:left}body[data-page="home"] .nav-group{display:block}body[data-page="home"] .nav-menu{position:static;box-shadow:none;border:0;border-left:1px solid #596054;border-radius:0;margin-left:8px}body[data-page="home"] .menu{display:block;order:4;margin-left:4px}body[data-page="home"] .header{flex-wrap:nowrap}body[data-page="home"] .profile-area{margin-left:auto}body[data-page="home"] .feature-grid{grid-template-columns:1fr 1fr}body[data-page="home"] .feature.large{grid-column:span 2}body[data-page="home"] .feature{height:350px}body[data-page="home"] .feature.large{height:390px}}
@media(max-width:600px){body[data-page="home"] .header{padding:0 14px}body[data-page="home"] .brand b{font-size:10px}body[data-page="home"] .brand small{font-size:8px}body[data-page="home"] .brand{gap:8px}body[data-page="home"] .logo{width:32px;height:32px}body[data-page="home"] .profile-link{font-size:9px;padding:7px 8px}body[data-page="home"] .profile-area{gap:4px}body[data-page="home"] .profile-link:nth-child(2){display:none}body[data-page="home"] .actions{margin:0 0 0 4px}body[data-page="home"] .hero{min-height:790px;min-height:92svh;background-position:center,center,58% center}body[data-page="home"] .hero-inner{width:calc(100% - 36px);padding:140px 0 150px}body[data-page="home"] .hero h1{font-size:clamp(43px,12vw,65px);max-width:520px;margin:20px 0 16px}body[data-page="home"] .hero p{font-size:14px;max-width:390px}body[data-page="home"] .buttons{align-items:flex-start;flex-direction:column;margin:24px 0 18px}body[data-page="home"] .hero .btn{min-width:210px}body[data-page="home"] .stamp{right:18px;bottom:70px;padding:7px 12px}body[data-page="home"] .stamp b{font-size:34px}body[data-page="home"] .hero:after{right:14px;bottom:13px;font-size:8px}body[data-page="home"] #intro{grid-template-columns:1fr;gap:12px;padding:65px 0}body[data-page="home"] #intro p{font-size:14px}body[data-page="home"] #discover{padding-top:55px;padding-bottom:62px}body[data-page="home"] .feature-grid{grid-template-columns:1fr;gap:10px}body[data-page="home"] .feature,body[data-page="home"] .feature.large{height:320px;grid-column:auto}body[data-page="home"] .home-op-launch{display:block;padding:23px 20px}body[data-page="home"] .home-op-launch .btn{margin-top:18px}body[data-page="home"] #dailyQuiz{padding:22px 20px}body[data-page="home"] #memory{padding:68px 0}body[data-page="home"] .foot{grid-template-columns:1fr 1fr}body[data-page="home"] .foot>div:first-child{grid-column:span 2}body[data-page="home"] .footbottom{display:block}body[data-page="home"] .footbottom span{display:block;margin-top:8px}}
@media(prefers-reduced-motion:reduce){body[data-page="home"] .feature .photo{transition:none}}
