:root{
  --ref-gold:#dab674;
  --ref-gold-strong:#e7c88e;
  --ref-ivory:#f4efe6;
  --ref-night:#030609;
  --ref-blue-black:#081018;
  --ref-muted:#aeb3ba;
  --ref-line:rgba(255,255,255,.12);
}

/* Approved FABLEMARQ homepage direction: cinematic, editorial, master-brand first. */
.home-page--cinematic{background:var(--ref-night)}
.home-page--cinematic .section-heading,
.home-page--cinematic .world-stage__copy h3,
.home-page--cinematic .manifesto-heading,
.home-page--cinematic .featured-book h3{
  font-family:ui-serif,Georgia,"Times New Roman",serif;
}

/* HEADER */
.home-page--cinematic .site-header{
  position:absolute;inset:0 0 auto;z-index:50;height:auto;
  background:linear-gradient(180deg,rgba(2,5,8,.96),rgba(2,5,8,.78) 76%,rgba(2,5,8,0));
  border-bottom:0;backdrop-filter:none;
}
.home-page--cinematic .site-header .nav{
  min-height:88px;display:grid;grid-template-columns:auto 1fr auto;gap:30px;align-items:center;
}
.home-page--cinematic .brand--reuse-title{width:226px;height:54px;overflow:hidden}
.home-page--cinematic .brand--reuse-title img{width:226px;height:auto;max-width:none;transform:none;object-fit:contain;object-position:left center}
.home-desktop-nav{display:flex;align-items:center;justify-content:center;gap:28px;min-width:0}
.home-desktop-nav a{position:relative;min-height:42px;color:#e6e1d8;text-decoration:none;font-size:.77rem;font-weight:760;letter-spacing:.03em}
.home-desktop-nav a::after{content:"";position:absolute;left:10px;right:10px;bottom:2px;height:1px;background:var(--ref-gold);transform:scaleX(0);transform-origin:left;transition:transform var(--fm-motion-fast) var(--fm-ease-editorial)}
.home-desktop-nav a[aria-current="page"]::after,.home-desktop-nav a:hover::after{transform:scaleX(1)}
.home-header-actions{display:flex;align-items:center;gap:12px}
.home-page--cinematic .header-lang{display:flex;gap:1px;padding:0;border:0;background:transparent}
.home-page--cinematic .header-lang button{min-width:30px;min-height:32px;border-radius:0;color:#9da3ad;font-size:.69rem}
.home-page--cinematic .header-lang button[aria-pressed="true"]{background:transparent;color:#fff;border-bottom:1px solid var(--ref-gold)}
.home-menu-toggle{display:none;position:relative;width:44px;height:44px;border:0;background:transparent;color:#fff;cursor:pointer}
.home-menu-toggle span{position:absolute;left:7px;width:30px;height:1.5px;background:currentColor;transition:transform .18s ease,top .18s ease,opacity .18s ease}
.home-menu-toggle span:nth-child(1){top:13px}.home-menu-toggle span:nth-child(2){top:21px}.home-menu-toggle span:nth-child(3){top:29px}
.home-menu-toggle[aria-expanded="true"] span:nth-child(1){top:21px;transform:rotate(45deg)}
.home-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.home-menu-toggle[aria-expanded="true"] span:nth-child(3){top:21px;transform:rotate(-45deg)}
.home-mobile-menu{display:none}

/* HERO */
.home-reference-hero{
  position:relative;min-height:clamp(700px,88svh,900px);padding-top:88px;display:flex;align-items:stretch;overflow:hidden;isolation:isolate;
  background-color:var(--ref-night);
  background-image:url("../assets/home/home-hero.avif");
  background-size:cover;background-position:center center;background-repeat:no-repeat;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.home-reference-hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(2,4,6,.93) 0%,rgba(2,4,6,.80) 31%,rgba(2,4,6,.44) 49%,rgba(2,4,6,.11) 69%,rgba(2,4,6,.20) 100%)}
.home-reference-hero::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.03) 60%,rgba(1,3,5,.66) 100%)}
.home-reference-hero__scene{position:absolute;inset:88px 0 0;z-index:1;pointer-events:none}
.home-reference-hero__scene>span:not(.ref-copy-note){display:none!important}
.ref-copy-note{position:absolute;right:12%;top:24%;max-width:205px;color:rgba(239,233,223,.70);font:700 clamp(1.05rem,1.8vw,1.8rem)/1.35 ui-serif,Georgia,"Times New Roman",serif;letter-spacing:.025em;text-transform:uppercase;transform:rotate(-7deg);text-align:left;text-shadow:0 2px 16px rgba(0,0,0,.52)}
.ref-copy-note::after{content:"";display:block;width:46px;height:1px;margin:16px 0 0 32px;background:var(--ref-gold)}
.home-reference-hero__inner{position:relative;z-index:2;width:100%;display:flex;align-items:center;padding-block:clamp(70px,8vw,108px) 58px}
.home-reference-hero__copy{width:min(53%,720px);padding-top:12px}
.home-reference-hero .fm-index{display:none}
.home-reference-hero .hero-kicker{display:flex;align-items:center;gap:16px;margin:0 0 18px;color:var(--ref-gold-strong);font-size:.72rem;font-weight:850;letter-spacing:.31em;text-transform:uppercase}
.home-reference-hero .hero-kicker::after{content:"";width:74px;height:1px;background:var(--ref-gold)}
.home-reference-hero h1{margin:0;max-width:9.5ch;color:var(--ref-ivory);font-family:ui-serif,Georgia,"Times New Roman",serif;font-size:clamp(4.35rem,7.2vw,7.35rem);font-weight:700;line-height:.91;letter-spacing:-.05em;text-transform:uppercase;text-wrap:balance;text-shadow:0 4px 28px rgba(0,0,0,.42)}
.home-reference-hero h1 .hero-title-main,.home-reference-hero h1 .hero-title-accent{display:block;font-style:normal}
.home-reference-hero h1 .hero-title-accent{color:var(--ref-gold-strong)}
.home-reference-hero__lead{max-width:505px;margin:22px 0 0;color:#f0ece5;font-size:clamp(1rem,1.4vw,1.15rem);line-height:1.5;text-shadow:0 2px 14px rgba(0,0,0,.72)}
.home-reference-hero__actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:30px}
.home-reference-hero .hero-btn{min-height:52px;padding:11px 20px;border-radius:2px;font-size:.78rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.home-reference-hero .hero-btn--brand{background:#edce94!important;border-color:#edce94!important;color:#181109!important;box-shadow:0 14px 40px rgba(215,177,106,.16)}
.home-reference-hero .hero-btn--brand-ghost{background:rgba(4,5,6,.28)!important;border:1px solid rgba(255,255,255,.58)!important;color:#fff!important}
.home-reference-hero .hero-btn::after{content:"→";margin-left:12px;font-size:1.05em}
@media(hover:hover){.home-reference-hero .hero-btn:hover{transform:translateY(-2px)}}

/* SECTION TITLES */
.home-reference-worlds,.home-reference-featured,.brand-manifesto{position:relative}
.home-reference-worlds .section-kicker,.home-reference-featured .section-kicker,.brand-manifesto .section-kicker{display:flex;align-items:center;gap:14px;color:#cbb384;letter-spacing:.22em;text-transform:uppercase}
.home-reference-worlds .section-kicker::before,.home-reference-featured .section-kicker::before,.brand-manifesto .section-kicker::before{content:"";width:48px;height:1px;background:var(--ref-gold)}

/* TWO FABLEMARQ WORLDS */
.home-reference-worlds{padding:clamp(60px,7vw,92px) 0 74px;background:linear-gradient(180deg,#04090e,#061019 68%,#04090e);border-bottom:1px solid rgba(255,255,255,.06)}
.home-reference-worlds .section-heading{max-width:17ch;font-size:clamp(2.65rem,4.9vw,4.65rem);line-height:.94;letter-spacing:-.035em;color:#f3eee5}
.home-reference-worlds .section-intro{max-width:690px;margin-top:14px;color:#aeb5bf}
.home-reference-worlds .world-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:34px}
.home-reference-worlds .world-stage{position:relative;overflow:hidden;min-height:500px;border-radius:5px;border:1px solid rgba(255,255,255,.13);box-shadow:0 24px 68px rgba(0,0,0,.32)}
.home-reference-worlds .world-stage::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(3,6,10,.04) 5%,rgba(3,6,10,.18) 35%,rgba(3,6,10,.88) 78%,#03070a 100%);pointer-events:none}
.home-reference-worlds .world-stage--kids{background:radial-gradient(360px 320px at 72% 20%,rgba(184,204,255,.32),transparent 70%),radial-gradient(380px 360px at 34% 34%,rgba(147,126,255,.18),transparent 72%),linear-gradient(150deg,#172a52,#0a1022 70%)}
.home-reference-worlds .world-stage--gamebooks{background:radial-gradient(420px 340px at 74% 20%,rgba(207,55,60,.26),transparent 72%),radial-gradient(320px 280px at 24% 38%,rgba(214,129,58,.11),transparent 70%),linear-gradient(150deg,#211115,#07090d 72%)}
.home-reference-worlds .world-stage__art{position:absolute;inset:0;z-index:0;overflow:hidden}
.home-reference-worlds .world-stage__art::before{content:"";position:absolute;width:290px;aspect-ratio:1;border:1px solid rgba(255,255,255,.10);border-radius:50%;right:4%;top:26px}
.home-reference-worlds .world-stage--kids .world-stage__art::after{content:"";position:absolute;width:215px;aspect-ratio:1;border-radius:50%;right:12%;top:62px;background:radial-gradient(circle at 37% 34%,#fffdf6,#efe5cc 44%,rgba(239,229,204,.08) 70%,transparent 71%);opacity:.84;filter:drop-shadow(0 0 30px rgba(245,239,217,.18))}
.home-reference-worlds .world-stage__cover{position:absolute;display:block;object-fit:contain!important;filter:none!important;opacity:1!important;border:1px solid rgba(255,255,255,.13);background:#05070a;box-shadow:0 28px 62px rgba(0,0,0,.50)}
.home-reference-worlds .world-stage--kids .world-stage__cover{width:min(34%,196px);right:12%;top:66px;transform:rotate(2deg);z-index:2}
.home-reference-worlds .world-stage--gamebooks .world-stage__cover--crime{width:min(33%,190px);right:8%;top:58px;transform:rotate(3deg);z-index:2}
.home-reference-worlds .world-stage--gamebooks .world-stage__cover--survive{width:min(31%,178px);right:33%;top:96px;transform:rotate(-4deg);z-index:1}
.home-reference-worlds .world-stage__copy{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:clamp(24px,3.4vw,38px);background:linear-gradient(180deg,transparent,rgba(3,6,9,.86) 24%,#03070a 100%)}
.home-reference-worlds .world-stage__copy .fm-index{margin-bottom:10px}
.home-reference-worlds .world-stage__eyebrow{display:block;margin-bottom:8px;color:#d2d6df;font-size:.67rem;font-weight:900;letter-spacing:.17em;text-transform:uppercase}
.home-reference-worlds .world-stage__copy h3{max-width:12ch;margin:0;color:#f7f2e9;font-size:clamp(2.35rem,3.9vw,3.8rem);line-height:.94;letter-spacing:-.035em}
.home-reference-worlds .world-stage__copy p{max-width:42ch;margin:13px 0 17px;color:#bec4cd;font-size:.88rem;line-height:1.52}
.world-stage__series{margin:17px 0 0!important;color:#cbb384!important;font-size:.68rem!important;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.home-reference-worlds .world-stage__cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border-radius:2px;background:#edce94;color:#171007;text-decoration:none;font-size:.73rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.home-reference-worlds .world-stage__cta::after{content:"→";margin-left:10px}
.home-reference-worlds .world-stage--kids .world-stage__cta{background:#e7eaf6;color:#101827}
@media(hover:hover){.home-reference-worlds .world-stage{transition:transform var(--fm-motion-normal) var(--fm-ease-editorial),border-color var(--fm-motion-normal) var(--fm-ease-editorial)}.home-reference-worlds .world-stage:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.21)}}

/* SELECTED WORKS */
.home-reference-featured{padding:clamp(58px,7vw,86px) 0;background:#03070a;border-bottom:1px solid rgba(255,255,255,.055)}
.home-reference-featured .section-heading{margin-top:7px;max-width:none;font-size:clamp(2.35rem,4vw,3.7rem);line-height:.96;color:#f3eee5}
.home-reference-featured .section-intro{max-width:680px;margin-top:11px;color:#979faa}
.home-reference-featured .featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:30px}
.home-reference-featured .featured-book{display:grid;grid-template-columns:minmax(92px,38%) minmax(0,1fr);min-height:270px;border-radius:0;border:1px solid rgba(255,255,255,.10);background:#060a0e;box-shadow:none;overflow:hidden}
.home-reference-featured .featured-book__cover{display:grid;place-items:center;padding:12px;border:0;border-right:1px solid rgba(255,255,255,.08);background:#020406}
.home-reference-featured .featured-book__cover img{width:100%;height:100%;max-height:245px;object-fit:contain!important;filter:none!important;opacity:1!important}
.home-reference-featured .featured-book__body{display:flex;flex-direction:column;padding:18px 17px}
.home-reference-featured .featured-book__meta{display:grid;gap:6px;margin-bottom:10px}
.home-reference-featured .featured-book__meta span{color:#8db8ff;font-size:.61rem;letter-spacing:.06em;text-transform:uppercase}.home-reference-featured .featured-book__meta b{color:#8edc9b;font-size:.60rem;letter-spacing:.06em;text-transform:uppercase}
.home-reference-featured .featured-book h3{margin:0;color:#f0ece5;font-size:clamp(1.22rem,1.8vw,1.72rem);line-height:1.02}
.home-reference-featured .featured-book p{margin:10px 0 14px;color:#aeb5bf;font-size:.77rem;line-height:1.48}
.home-reference-featured .featured-book__link{margin-top:auto;color:var(--ref-gold-strong);font-size:.68rem;font-weight:900;letter-spacing:.055em;text-transform:uppercase;text-decoration:none}
.home-reference-featured .featured-book__link::after{content:"→";margin-left:8px}

/* MANIFESTO */
.brand-manifesto{overflow:hidden;padding:clamp(70px,8vw,104px) 0 78px;background-color:#080806;background-image:linear-gradient(90deg,rgba(4,5,5,.90) 0%,rgba(4,5,5,.74) 44%,rgba(4,5,5,.51) 100%),url("../assets/home/home-hero.avif");background-size:cover;background-position:center 72%;border-top:0;border-bottom:1px solid rgba(255,255,255,.07)}
.brand-manifesto__header{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,72px);align-items:end}
.brand-manifesto__label{display:none}
.manifesto-heading{margin:8px 0 0;max-width:12ch;color:#f2e7d4;font-size:clamp(2.7rem,5vw,4.9rem);line-height:.91;letter-spacing:-.04em;text-transform:uppercase;text-shadow:0 3px 22px rgba(0,0,0,.58)}
.brand-manifesto__intro{max-width:620px;margin:17px 0 0;color:#e0ddd6;font-size:.95rem;line-height:1.65;text-shadow:0 2px 14px rgba(0,0,0,.62)}
.brand-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:36px;background:rgba(218,182,116,.35);border:1px solid rgba(218,182,116,.26)}
.brand-value{position:relative;min-height:190px;padding:21px;background:rgba(4,7,9,.78);backdrop-filter:blur(2px)}
.brand-value::before{display:block;margin-bottom:24px;color:var(--ref-gold);font:400 1.45rem/1 ui-serif,Georgia,serif}
.brand-value:nth-child(1)::before{content:"✦"}.brand-value:nth-child(2)::before{content:"◈"}.brand-value:nth-child(3)::before{content:"◇"}.brand-value:nth-child(4)::before{content:"♧"}
.brand-value__num{color:#d9bd87;font-size:.62rem;font-weight:900;letter-spacing:.16em}
.brand-value h3{margin:10px 0 0;color:#f2eee7;font-size:.87rem;letter-spacing:.04em;text-transform:uppercase}
.brand-value p{margin:8px 0 0;color:#c5c7c8;font-size:.76rem;line-height:1.48}

/* FOOTER */
.home-page--cinematic .home-footer--editorial{padding:30px 0 36px;background:#03070a;border-top:0}
.home-page--cinematic .footer-brand{font-family:ui-serif,Georgia,"Times New Roman",serif;font-size:1.28rem;letter-spacing:.14em;color:#f0eae0}
.home-page--cinematic .footer-links a{border-radius:0;letter-spacing:.025em}

@media(max-width:980px){
  .home-page--cinematic .site-header .nav{gap:16px}
  .home-desktop-nav{gap:17px}
  .home-reference-hero__copy{width:58%}
  .ref-copy-note{right:7%}
  .home-reference-worlds .world-stage{min-height:530px}
  .home-reference-featured .featured-grid{grid-template-columns:1fr 1fr}.home-reference-featured .featured-book:last-child{grid-column:1/-1}
}

@media(max-width:760px){
  .home-page--cinematic .site-header .nav{min-height:74px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px}
  .home-page--cinematic .brand--reuse-title{width:178px;height:44px}.home-page--cinematic .brand--reuse-title img{width:178px}
  .home-desktop-nav{display:none}.home-page--cinematic .header-lang{display:none}.home-menu-toggle{display:block}
  .home-mobile-menu{position:absolute;left:0;right:0;top:74px;display:grid;gap:1px;padding:10px 13px 15px;background:rgba(3,6,9,.985);border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.09);transform:translateY(-10px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
  .home-mobile-menu.is-open{transform:none;opacity:1;visibility:visible;pointer-events:auto}
  .home-mobile-menu a{display:flex;align-items:center;min-height:47px;padding:8px 7px;border-bottom:1px solid rgba(255,255,255,.055);color:#f0ece4;text-decoration:none;font-size:.81rem;font-weight:800;letter-spacing:.04em}
  .home-mobile-menu .lang-switch-home{display:flex;justify-content:flex-start;padding:10px 2px 1px}
  .home-reference-hero{min-height:720px;padding-top:74px;background-position:62% center}
  .home-reference-hero::before{background:linear-gradient(180deg,rgba(2,4,6,.14) 0%,rgba(2,4,6,.18) 30%,rgba(2,4,6,.66) 56%,rgba(2,4,6,.96) 86%,#020406 100%),linear-gradient(90deg,rgba(2,4,6,.58),rgba(2,4,6,.04) 66%,rgba(2,4,6,.18))}
  .home-reference-hero::after{background:linear-gradient(180deg,transparent 0 58%,rgba(0,0,0,.24) 72%,rgba(0,0,0,.60) 100%)}
  .home-reference-hero__scene{inset:74px 0 0}.ref-copy-note{right:5%;top:12%;max-width:120px;font-size:.83rem;line-height:1.28;opacity:.72}.ref-copy-note::after{width:30px;margin-top:10px}
  .home-reference-hero__inner{align-items:flex-end;padding:260px 0 36px}
  .home-reference-hero__copy{width:100%;max-width:600px}
  .home-reference-hero .hero-kicker{margin-bottom:13px;font-size:.58rem;letter-spacing:.27em}.home-reference-hero .hero-kicker::after{width:43px}
  .home-reference-hero h1{max-width:8.9ch;font-size:clamp(3.15rem,14.7vw,4.75rem);line-height:.92}
  .home-reference-hero__lead{max-width:31ch;margin-top:15px;font-size:.91rem;line-height:1.45}
  .home-reference-hero__actions{display:grid;grid-template-columns:1fr;gap:8px;width:min(100%,350px);margin-top:20px}.home-reference-hero .hero-btn{min-height:48px;width:100%;font-size:.72rem}
  .home-reference-worlds{padding:54px 0 60px}.home-reference-worlds .section-heading{font-size:clamp(2.15rem,10vw,3.2rem)}.home-reference-worlds .section-intro{font-size:.88rem}
  .home-reference-worlds .world-stage-grid{grid-template-columns:1fr;gap:12px;margin-top:27px}.home-reference-worlds .world-stage{min-height:470px}.home-reference-worlds .world-stage__copy h3{font-size:clamp(2.2rem,10vw,3.1rem)}
  .home-reference-featured{padding:52px 0}.home-reference-featured .section-heading{font-size:2.25rem}.home-reference-featured .section-intro{font-size:.86rem}
  .home-reference-featured .featured-grid{display:grid;grid-template-columns:1fr;gap:9px;margin-top:24px}.home-reference-featured .featured-book:last-child{grid-column:auto}.home-reference-featured .featured-book{grid-template-columns:112px minmax(0,1fr);min-height:176px}.home-reference-featured .featured-book__cover{padding:8px}.home-reference-featured .featured-book__cover img{max-height:158px}.home-reference-featured .featured-book__body{padding:14px}.home-reference-featured .featured-book p{margin:7px 0 10px}
  .brand-manifesto{padding:58px 0;background-position:60% center}.brand-manifesto__header{grid-template-columns:1fr;gap:0}.manifesto-heading{font-size:clamp(2.35rem,11vw,3.5rem)}.brand-values{grid-template-columns:1fr 1fr;margin-top:28px}.brand-value{min-height:165px;padding:17px}.brand-value::before{margin-bottom:15px}
}

@media(max-width:420px){
  .home-page--cinematic .site-header .nav{min-height:70px}.home-page--cinematic .brand--reuse-title{width:160px;height:41px}.home-page--cinematic .brand--reuse-title img{width:160px}.home-mobile-menu{top:70px}
  .home-reference-hero{padding-top:70px;min-height:690px;background-position:63% center}.home-reference-hero__scene{inset:70px 0 0}.home-reference-hero__inner{padding-top:235px}.home-reference-hero h1{font-size:clamp(3rem,15.2vw,4.35rem)}
  .ref-copy-note{top:10%;right:4%;font-size:.75rem}
  .home-reference-worlds .world-stage{min-height:450px}.home-reference-worlds .world-stage--kids .world-stage__cover{width:34%}.home-reference-worlds .world-stage--gamebooks .world-stage__cover--crime{width:33%}.home-reference-worlds .world-stage--gamebooks .world-stage__cover--survive{width:30%}
  .brand-values{grid-template-columns:1fr}.brand-value{min-height:145px}
}

@media(prefers-reduced-motion:reduce){
  .home-menu-toggle span,.home-mobile-menu,.home-desktop-nav a::after,.home-reference-worlds .world-stage{transition:none!important}
  .home-reference-hero .hero-btn:hover,.home-reference-worlds .world-stage:hover{transform:none!important}
}

/* Approved mobile artwork composition — intentionally last so it overrides older responsive rules. */
@media (max-width:760px){
  .home-page--cinematic{background:#02070b}
  .home-page--cinematic .container{width:min(100% - 28px,1180px)}
  .home-page--cinematic .site-header{background:linear-gradient(180deg,rgba(2,5,8,.98),rgba(2,5,8,.78) 72%,rgba(2,5,8,0))}
  .home-page--cinematic .site-header .nav{min-height:72px;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-inline:0}
  .home-page--cinematic .brand--reuse-title{width:170px;height:44px}
  .home-page--cinematic .brand--reuse-title img{width:170px}
  .home-desktop-nav,.home-page--cinematic .header-lang{display:none}
  .home-header-actions{justify-self:end;gap:5px}
  .home-header-actions::before{content:"IT";display:inline-flex;align-items:center;min-height:44px;padding:0 5px;color:#fff;font-size:.72rem;font-weight:850;letter-spacing:.08em}
  .home-menu-toggle{display:block;width:42px;height:44px}
  .home-mobile-menu{top:72px}

  .home-reference-hero{min-height:680px;padding-top:72px;align-items:flex-end;background-size:auto 100%;background-position:57% center}
  .home-reference-hero::before{background:linear-gradient(90deg,rgba(2,4,6,.88) 0%,rgba(2,4,6,.64) 42%,rgba(2,4,6,.16) 72%,rgba(2,4,6,.10) 100%)}
  .home-reference-hero::after{background:linear-gradient(180deg,rgba(0,0,0,.04) 0%,rgba(0,0,0,.05) 45%,rgba(2,4,6,.72) 74%,#02070b 100%)}
  .home-reference-hero__scene{inset:72px 0 0}
  .ref-copy-note{display:block;right:5%;top:11%;max-width:116px;font-size:.82rem;line-height:1.34;color:rgba(245,238,226,.68);transform:rotate(-6deg)}
  .ref-copy-note::after{width:32px;margin:11px 0 0 20px}
  .home-reference-hero__inner{align-items:flex-end;padding:238px 0 34px}
  .home-reference-hero__copy{width:100%;max-width:430px;padding:0}
  .home-reference-hero .hero-kicker{margin:0 0 11px;font-size:.61rem;letter-spacing:.28em}
  .home-reference-hero .hero-kicker::after{display:none}
  .home-reference-hero h1{max-width:9.8ch;font-size:clamp(3.05rem,13vw,4.25rem);line-height:.91;letter-spacing:-.048em}
  .home-reference-hero__lead{max-width:25ch;margin-top:13px;font-size:.94rem;line-height:1.42}
  .home-reference-hero__actions{display:grid;grid-template-columns:1fr;gap:8px;width:min(100%,310px);margin-top:20px}
  .home-reference-hero .hero-btn{min-height:46px;width:100%;padding:9px 15px;font-size:.69rem}

  .home-reference-worlds,.home-reference-featured,.brand-manifesto{border-top:0}
  .home-reference-worlds .section-kicker,.home-reference-featured .section-kicker,.brand-manifesto .section-kicker{gap:10px;font-size:.66rem;letter-spacing:.18em}
  .home-reference-worlds .section-kicker::before,.home-reference-featured .section-kicker::before,.brand-manifesto .section-kicker::before{width:30px}

  .home-reference-worlds{padding:30px 0 34px;background:linear-gradient(180deg,#02070b,#041019 58%,#02070b)}
  .home-reference-worlds .section-heading{max-width:100%;margin-top:8px;font-size:clamp(2rem,8.6vw,2.8rem);line-height:.96}
  .home-reference-worlds .section-intro{display:none}
  .home-reference-worlds .world-stage-grid{grid-template-columns:1fr;gap:10px;margin-top:20px}
  .home-reference-worlds .world-stage{min-height:310px;border-radius:7px;box-shadow:none}
  .home-reference-worlds .world-stage::after{background:linear-gradient(90deg,rgba(3,6,10,.88) 0%,rgba(3,6,10,.68) 49%,rgba(3,6,10,.18) 76%,rgba(3,6,10,.35) 100%),linear-gradient(180deg,rgba(3,6,10,.04),rgba(3,6,10,.48) 76%,#03070a)}
  .home-reference-worlds .world-stage__art::before{width:190px;right:-8px;top:14px}
  .home-reference-worlds .world-stage--kids .world-stage__art::after{width:145px;right:16px;top:39px}
  .home-reference-worlds .world-stage--kids .world-stage__cover{width:118px;right:20px;top:43px;transform:rotate(2deg)}
  .home-reference-worlds .world-stage--gamebooks .world-stage__cover--crime{width:112px;right:16px;top:42px}
  .home-reference-worlds .world-stage--gamebooks .world-stage__cover--survive{width:103px;right:91px;top:70px}
  .home-reference-worlds .world-stage__copy{top:0;bottom:0;right:auto;width:68%;display:flex;flex-direction:column;justify-content:center;padding:20px;background:none}
  .home-reference-worlds .world-stage__copy .fm-index{display:none}
  .home-reference-worlds .world-stage__eyebrow{margin-bottom:5px;font-size:.58rem}
  .home-reference-worlds .world-stage__copy h3{max-width:10.5ch;font-size:clamp(1.85rem,8vw,2.5rem);line-height:.94}
  .home-reference-worlds .world-stage__copy p{margin:9px 0 12px;font-size:.74rem;line-height:1.42;color:#d0d4da}
  .world-stage__series{margin:10px 0 0!important;font-size:.56rem!important}
  .home-reference-worlds .world-stage__cta{align-self:flex-start;min-height:38px;padding:8px 12px;font-size:.62rem}

  .home-reference-featured{padding:34px 0 38px}
  .home-reference-featured .section-heading{font-size:clamp(2rem,8.2vw,2.55rem);margin-top:7px}
  .home-reference-featured .section-intro{display:none}
  .home-reference-featured .featured-grid{display:flex;gap:8px;margin-top:19px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 14px 8px;margin-inline:-14px;scrollbar-width:none}
  .home-reference-featured .featured-grid::-webkit-scrollbar{display:none}
  .home-reference-featured .featured-book{flex:0 0 min(76vw,300px);min-height:188px;display:grid;grid-template-columns:92px minmax(0,1fr);scroll-snap-align:start;border-color:rgba(255,255,255,.08);background:#04090d}
  .home-reference-featured .featured-book__cover{padding:8px}
  .home-reference-featured .featured-book__cover img{max-height:172px}
  .home-reference-featured .featured-book__body{padding:12px 11px}
  .home-reference-featured .featured-book__meta{gap:4px;margin-bottom:6px}
  .home-reference-featured .featured-book__meta span,.home-reference-featured .featured-book__meta b{font-size:.50rem}
  .home-reference-featured .featured-book h3{font-size:1.08rem;line-height:1.02}
  .home-reference-featured .featured-book__body>p{margin:7px 0;font-size:.67rem;line-height:1.36}
  .home-reference-featured .featured-book__link{margin-top:auto;font-size:.60rem}

  .brand-manifesto{padding:40px 0 36px;background-position:62% center!important;background-size:cover!important}
  .brand-manifesto__header{display:block}
  .brand-manifesto__label{display:none}
  .brand-manifesto .manifesto-heading{max-width:11ch;margin-top:7px;font-size:clamp(2rem,8.3vw,2.75rem);line-height:.93;color:#e6c689}
  .brand-manifesto__intro{max-width:31ch;margin-top:12px;font-size:.75rem;line-height:1.45}
  .brand-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin-top:24px;background:transparent;border:0}
  .brand-value{min-height:0;padding:10px 0 0;border-top:1px solid rgba(218,182,116,.36);background:transparent;backdrop-filter:none}
  .brand-value::before{margin-bottom:9px}
  .brand-value__num{font-size:.62rem}
  .brand-value h3{margin-top:5px;font-size:.82rem}
  .brand-value p{margin-top:4px;font-size:.64rem;line-height:1.35}

  .home-footer--editorial{padding:25px 0 21px;background:#02070b}
  .footer-editorial{display:grid;grid-template-columns:1fr auto;gap:16px 12px;align-items:start}
  .footer-brand{font-size:1.72rem}
  .footer-links{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:.66rem}
  .footer-editorial>.lang-switch-home{grid-column:2;grid-row:1}
  .footer-editorial__note{grid-column:1/-1;margin:0;padding-top:12px;border-top:1px solid rgba(255,255,255,.08);font-size:.58rem;color:#818891}
}

@media (max-width:430px){
  .home-page--cinematic .container{width:min(100% - 24px,1180px)}
  .home-page--cinematic .brand--reuse-title{width:154px;height:41px}
  .home-page--cinematic .brand--reuse-title img{width:154px}
  .home-reference-hero{min-height:650px;background-position:59% center}
  .home-reference-hero__inner{padding-top:218px;padding-bottom:30px}
  .home-reference-hero h1{font-size:clamp(2.85rem,13.3vw,3.9rem)}
  .ref-copy-note{right:3%;top:10%;max-width:100px;font-size:.72rem}
  .home-reference-worlds .world-stage{min-height:296px}
  .home-reference-worlds .world-stage__copy{width:70%;padding:17px}
  .home-reference-worlds .world-stage__copy h3{font-size:clamp(1.72rem,7.7vw,2.25rem)}
  .home-reference-worlds .world-stage__copy p{font-size:.69rem}
  .home-reference-featured .featured-book{flex-basis:82vw}
}

@media (max-width:350px){
  .home-header-actions::before{display:none}
  .home-reference-hero{min-height:630px;background-position:61% center}
  .home-reference-hero h1{font-size:2.7rem}
  .home-reference-worlds .world-stage__copy{width:73%}
  .home-reference-worlds .world-stage__cover{opacity:.82!important}
  .brand-values{grid-template-columns:1fr}
}
