:root{--bg:#151613;--bg2:#1c1d18;--panel:#20211c;--panel2:#181a16;--ink:#f0eada;--muted:#bbbdb1;--faint:#a5a99a;--line:#4b4c3f;--line2:#34382f;--line-soft:#33372d;--gold:#c6ac7c;--gold-hi:#e5d3aa;--gold2:#e5d3aa;--support:#acd3c8;--attack:#dcb7c3;--tank:#c2c1da;--guard:#c2c1da;--serif:var(--ca-serif);--sans:var(--ca-sans)}
html{background:var(--bg);scroll-padding-top:94px}
body{background:var(--bg);color:var(--ink);font-size:17px;line-height:1.65}
.wrap{width:min(var(--max),calc(100% - 64px))}
.site-nav{background:#171914f5;backdrop-filter:none;border-bottom:1px solid #494939}
.nav-inner{height:76px}
.brand{font-family:Georgia,serif;font-size:21px;font-weight:700;letter-spacing:-.035em}
.nav-links,.navlinks{gap:24px}
.nav-links a,.navlinks a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;letter-spacing:.075em;font-weight:650;color:#c3c6b9;transition:color .18s,border-color .18s}
.nav-links a:hover,.navlinks a:hover{color:#f4e9ce}
.nav-links .nav-play,.navlinks .play{min-height:42px;background:transparent;border-color:#807457;color:#e8d6b0!important;letter-spacing:.06em;padding-inline:18px}
.nav-links .nav-play:hover,.navlinks .play:hover{border-color:#ddc391;background:#27291f}
.cta,.cta-alt,.ghost,.small-button{min-height:49px;padding-inline:24px;border-radius:1px;font-weight:650;font-size:14px;letter-spacing:.07em;line-height:1.2;transition:background .18s,color .18s,border-color .18s,transform .18s}
.cta{background:#d9c392;border-color:#e4d4ae;color:#221e15;box-shadow:inset 0 -3px #66502b30}
.cta:hover{background:#ebd9af;border-color:#f2e2be}
.cta-alt,.ghost{background:#191c18bd;border-color:#8a8c7b;color:#f0ebdb}
.cta-alt:hover,.ghost:hover{background:#2b2f25;border-color:#d4c6a4}
.small-button{background:#24271f;border-color:#73745f;color:#e9e4d5}
.cta:active,.cta-alt:active,.ghost:active,.small-button:active{transform:translateY(1px)}
.section{padding:88px 0;border-bottom:1px solid #414335}
.section.alt{background:#1b1e18}
.section-label,.section-kicker,.eyebrow{font-size:12px;font-weight:650;letter-spacing:.18em;color:#d0b787;margin-bottom:17px;display:flex;align-items:center;gap:13px}
.section-label::before,.section-kicker::before,.eyebrow::before{content:"";height:1px;width:28px;background:currentColor;flex:0 0 auto}
.section h2{font-family:var(--serif);font-size:clamp(36px,3.85vw,54px);font-weight:450;line-height:1.09;letter-spacing:-.045em;text-wrap:balance}
.lede,.section-intro{font-size:17px;line-height:1.7;color:#bfc1b5;margin-top:22px;max-width:62ch}
.home-page .hero{padding:22px 0 0}
.home-page .hero-art{min-height:clamp(590px,48vw,710px);background-color:#171813;background-position:center;border-color:#5f5842}
.home-page .hero-art::before{background:linear-gradient(90deg,rgba(17,20,16,.94),rgba(17,20,16,.82) 27%,rgba(17,20,16,.35) 52%,rgba(17,20,16,0) 76%),linear-gradient(0deg,rgba(17,20,16,.52),transparent 48%)}
.home-page .hero-art::after{content:"";position:absolute;inset:16px;border:1px solid #d7c19330;pointer-events:none;z-index:-1}
.home-page .hero-inner .hero-copy{max-width:615px;padding:52px 0}
.hero-kicker{font-size:12px;font-weight:650;color:#dacda9;letter-spacing:.16em;margin-bottom:29px}
.home-page .hero h1{font-family:Georgia,serif;font-size:clamp(70px,6.4vw,96px);font-weight:500;line-height:.87;letter-spacing:-.055em;text-shadow:none}
.home-page .hero h1 span{color:#e2d0a5;font-size:.77em;font-weight:400;letter-spacing:-.055em;margin-top:12px}
.hero-deck{font-size:clamp(19px,1.45vw,22px);font-weight:400;line-height:1.48;color:#f0ede3;max-width:45ch;margin-top:30px}
.hero-support{font-size:16px;color:#c5c8bc;line-height:1.6;max-width:56ch;margin-top:17px}
.hero-support strong{color:#e3ddcc;font-weight:650}
.hero-audience{font-size:14px;font-weight:450;color:#c9ba97;max-width:57ch;margin-top:17px;line-height:1.55}
.hero-actions{gap:12px;margin-top:27px}
/* Vellum chapters retain their original columns and reading order. */
.world-section,.home-page #evolve,.release-section{--line:#b8aa8e;--ca-focus:#67502a;color:#2b2c23;background:linear-gradient(#eee7d8ed,#e3d8c0ed),url('arena-medieval-vellum.webp') center/cover}
.world-section{padding:77px 0 81px}
.world-section .section-label,.home-page #evolve .section-label,.release-section .section-label{color:#78613b}
.world-heading h2{font-size:clamp(36px,3.65vw,52px);max-width:14ch}
.world-copy-block{padding-top:23px;border-top-color:#a6987c}
.world-copy-block .world-lede{font-family:var(--serif);font-size:25px;line-height:1.5;color:#333428;font-weight:450;letter-spacing:-.025em}
.world-copy-block p{font-size:17px;color:#58584a;line-height:1.75;margin-bottom:17px}
.world-copy-block p:last-child{margin-bottom:0}
.world-copy-block strong{color:#473c26}
/* The roster stays a six-Hero, class-filtered grid. */
#heroes{background:#151914;padding-bottom:94px}
.role-tabs{gap:0;border-bottom:1px solid #444b3c;margin:32px 0 27px}
.filter{position:relative;min-height:48px;margin:0 28px -1px 0;padding:12px 2px;font-size:13px;font-weight:650;letter-spacing:.09em;border-bottom:2px solid transparent;color:#adb6a6;transition:color .18s,border-color .18s}
.filter:hover{color:#eee5cd}
.filter.active{color:#e6d1a5;border-color:#d3b986}
.heroes-grid{gap:32px 22px}
.hero-card{padding:25px 24px 23px;min-height:470px;background:#1b211a;border:0;border-top:1px solid #817153;border-bottom:1px solid #5c604a;transition:border-color .24s}
.hero-card::before{background-position:var(--hero-pos,center 20%);transition:transform .7s cubic-bezier(.2,.6,.25,1)}
.hero-card::after{background:linear-gradient(180deg,transparent 22%,rgba(11,16,12,.1) 34%,rgba(11,16,12,.88) 62%,#10180f 95%)}
.hero-role{font-size:12px;font-weight:650;letter-spacing:.16em;margin-bottom:9px}
.hero-card h3{font-size:35px;font-weight:450;letter-spacing:-.04em;line-height:1.03}
.hero-card h3 .hero-epithet{font-size:12px;font-weight:550;letter-spacing:.12em;color:#dcc8a2;margin-top:8px;line-height:1.4}
.profession{font-size:14px;font-weight:550;color:#eee5cf;margin-top:12px;padding-top:10px;border-top:1px solid #a38e5c55}
.hero-card p{font-size:15px;line-height:1.5;color:#c3c9bb;margin-top:6px;max-width:35ch;min-height:6em}
@media(hover:hover) and (pointer:fine){.hero-card:hover{border-color:#d8bd87}.hero-card:hover::before{transform:scale(1.035)}}
.party-visual{min-height:500px;background:#151811;border-color:#60604a;box-shadow:none}
.party-visual::before{inset:16px;border-color:#73775b40}
.party-card-home{border-color:#bca06a9c;background:#1c2018;box-shadow:0 12px 20px #080a0750}
.party-card-home::after{background:linear-gradient(180deg,transparent 28%,#12181133 51%,#0e160eef 96%)}
.party-card-copy{left:13px;right:13px;bottom:17px}
.party-card-copy span{font-size:11px;line-height:1.4;letter-spacing:.06em;font-weight:600}
.party-card-copy strong{font-size:29px;font-weight:500}
.party-copy-home p:not(.lede){font-size:17px;line-height:1.7;color:#b8bdae}
.home-page #evolve .lede{color:#565749}
.mastery-row-home{padding:27px 0;grid-template-columns:72px 1fr}
.flow-num{font-size:35px;color:#857048;font-weight:400;line-height:1.2;font-variant-numeric:tabular-nums}
.mastery-row-home h3{font-family:var(--serif);font-size:24px;line-height:1.3;font-weight:550;letter-spacing:-.02em;margin:0 0 10px}
.mastery-row-home p{font-size:16px;line-height:1.65;color:#57594c}
.mastery-row-home:nth-child(2) h3{color:#72562b}
.mastery-row-home:nth-child(3){border-bottom-color:#9e8963}
.howto-poster-home{border-color:#7a745b;box-shadow:none;padding:5px;background:#272b20}
.howto-poster-home img{opacity:1;transition:transform .5s}
.howto-poster-home:hover img{opacity:1;transform:scale(1.015)}
.poster-play-home{isolation:isolate;font-size:22px;color:#ecdfbb;text-shadow:none}
.poster-play-home::before{width:64px;height:64px;background:#151a15e6;border-color:#dbc499}
.arena-preview-home{width:100%;border-color:#776a4d;padding:7px;background:#25291f;box-shadow:none}
.arena-preview-home span{font-size:12px;letter-spacing:.14em;font-weight:550;color:#d0bc94;padding:12px 5px 5px}
.updates{border-top:0;padding-top:0;align-items:center}
.updates h2{font-size:41px}
.updates p{color:#57584a;font-size:17px;line-height:1.65}
.tiny{font-size:13px;color:#6e6c5b;line-height:1.6;margin-top:12px}
.kit-embed{color:#24281e}
.kit-embed .formkit-form{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-family:var(--sans)!important}
.kit-embed .formkit-fields{gap:8px!important;padding:0!important}
#updates .kit-embed input.formkit-input{border:1px solid #9d9279!important;border-radius:1px!important;background:#f5f0e6!important;color:#2d3124!important;font:400 17px var(--sans)!important;padding:13px 14px!important;min-height:49px!important}
#updates .kit-embed input.formkit-input::placeholder{color:#696b5d!important;opacity:1!important}
.kit-embed .formkit-submit{background:#283024!important;color:#f1e6ca!important;border:1px solid #283024!important;border-radius:1px!important;font:600 14px var(--sans)!important;letter-spacing:.08em!important;min-height:49px!important;transition:background .18s}
.kit-embed .formkit-submit:hover{background:#3e4935!important}
.kit-embed .formkit-alert{font-size:15px!important}
footer{font-size:14px;line-height:1.6;padding:34px 0 54px;color:#a7af9d;background:#151914}
.footer-row strong,.footer strong{font-family:Georgia,serif;font-size:19px;letter-spacing:-.03em;color:#dfd7bf}
.footer-links{gap:20px}
.footer-links a,.footer a{display:inline-flex;align-items:center;min-height:44px;color:#bdc3b2}
.footer-links a:hover,.footer a:hover{color:#ebd6a9}
.mobile-cta .cta{box-shadow:0 4px 16px #0003;border-color:#efddb1}
/* The rules page reads as the companion rulebook to the same product. */
.rules-page .hero{padding:65px 0 52px;background:linear-gradient(#eee7d8f0,#e4dac4f0),url('arena-medieval-vellum.webp') center/cover;color:#292d23;--line:#b5a88c;--ca-focus:#67502a}
.rules-page .eyebrow{color:#79603a}
.rules-page .hero h1{font-size:clamp(51px,5.5vw,78px);font-weight:450;letter-spacing:-.05em;line-height:1.04}
.rules-page .hero h1 em{color:#78603d;font-weight:450}
.rules-page .lead{font-size:21px;line-height:1.65;color:#585b4c;max-width:64ch}
.rules-page .hero .cta{background:#303728;color:#f4e9d0;border-color:#303728;box-shadow:none}
.rules-page .hero .ghost{background:transparent;border-color:#8c846c;color:#34392a}
.quick{margin-top:39px}
.quick article{padding:21px 17px}
.quick b{font-weight:500;font-size:23px;color:#41432f}
.quick span{font-size:14px;line-height:1.5;color:#5b5e50}
.video-stage{border-color:#7b745a;box-shadow:none;padding:5px;background:#25291e}
.video-caption{font-size:14px;background:#24291f;color:#c0c6b4;border-color:#62674e;padding:14px}
.video-caption strong{color:#e5ddc7}
.video-caption span:last-child{color:#d3bd8d}
.watch-note{color:#b6bdae;font-size:15px}
.watch-note .mark{color:#e4d3a6;background:#242a1e;border-color:#7f7655}
.step-count{font-size:12px;font-weight:600;color:#c1c9b5}
.step-panel h3{font-size:31px;font-weight:500;line-height:1.14;margin-top:11px}
.step-panel p{font-size:16px;line-height:1.65;color:#bdc5b3}
.step-panel .why{color:#deceb0!important;border-color:#ac9461}
.step-btn{font-size:15px;min-height:45px;font-weight:600;background:#252d20;border-color:#74795f;transition:background .18s}
.step-btn.primary{background:#d1ba89;color:#2b2a1e;border-color:#d6c59f}
.step-btn:hover:not(:disabled){background:#39432c}.step-btn.primary:hover:not(:disabled){background:#e0cb9d}
.step-dots{gap:0}
.step-dots button{width:25px;height:30px;border-radius:0;background:transparent;position:relative}
.step-dots button::before{content:"";position:absolute;width:8px;height:8px;left:8px;top:11px;border:1px solid #a6b18e;background:transparent;border-radius:50%}
.step-dots button.on{background:transparent}.step-dots button.on::before{background:#d5bd87;border-color:#d5bd87}
.arena-demo{background:#20281e;border-color:#646e52;box-shadow:none}
.arena-top,.center-band{background:#2b3224;border-color:#666d54}
.arena-team,.team-label,.round{color:#c1c9b5}
.mini-hero{background:#263024;border-color:#657353}.mini-hero.used{background:#252d24;border-color:#7e7357}
.mini-hero.selected,.mini-hero.target{box-shadow:none}
.mini-card{background:#293223;border-color:#596a4a}
.mc-type,.mh-role{color:#b7c4a9}.mc-effect,.stats{color:#d3dac9}
.event-banner{background:#1b251a;border-color:#566749;color:#d2dcc7;font-size:12px}
.opp-pill{font-weight:650;background:#4a442a;border-color:#b39c60}
.mf{padding:24px 20px}.mf small{font-size:30px;color:#bea777}.mf h3{font-family:var(--serif);font-size:21px;line-height:1.25;font-weight:500;margin-top:22px}.mf p{font-size:15px;color:#b9c2ac;line-height:1.6}
.mf:not(:last-child)::after{background:#151613;color:#d4be90}.slot{font-size:11px;background:#242e20;border-color:#637252;color:#c5ceb8}.slot.on{background:#3d3c27;color:#ead5a4;border-color:#a2905c}
.rule-nav a{font-size:14px;line-height:1.45;padding:13px 10px 13px 0;color:#b9c2ac;border-color:#3d4633}
.rule-nav a:hover{color:#edd7a7}
.rule-section{padding:32px 0}.rule-section h3{font-size:31px;font-weight:500;letter-spacing:-.035em;line-height:1.25;color:#ece6d4}
.rule-section h4{font-size:18px;font-weight:600;color:#e6dec7}
.rule-section p,.rule-section li{font-size:17px;line-height:1.75;color:#bdc6b1}
.rule-section li+li{margin-top:5px}
.rule-callout{font-size:16px;color:#d8cdaf;background:#30352470;border-color:#b09965;line-height:1.6}
.term-grid{gap:0 26px}
.term{border:0;border-top:1px solid #556044;padding:17px 0;background:transparent}
.term b{font-size:17px;font-weight:550;color:#e1d7ba}.term span{font-size:16px;color:#b7c1a9;line-height:1.6}
.end-card p{font-size:17px;color:#bbc4ae}
@media(max-width:1100px){.nav-links,.navlinks{gap:16px}.nav-links a,.navlinks a{font-size:12px}.heroes-grid{gap:24px 18px}.hero-card{padding:22px 19px}.hero-card h3{font-size:32px}}
@media(max-width:980px){.wrap{width:calc(100% - 48px)}.world-layout,.party-layout-home,.mastery-layout-home,.learn-layout-home,.arena-layout-home{gap:34px}.world-heading h2{max-width:24ch}.home-page .hero-inner .hero-copy{max-width:575px}.world-copy-block{max-width:760px}.section{padding:70px 0}.party-visual{min-height:460px}.home-page .hero-art{background-position:59% center}.hero-card{min-height:470px}.mastery-row-home{grid-template-columns:64px 1fr}.updates{gap:28px}.rules-page .lead{font-size:19px}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.nav-inner{height:66px}.brand{font-size:18px}.navlinks .play{padding-inline:11px;min-height:42px;font-size:11px}.rules-page .hero h1{font-size:clamp(42px,10vw,58px)}.rules-page .hero{padding:46px 0}.rules-page .lead{font-size:18px}.quick article{padding:18px 0}.quick b{font-size:23px}.quick span{font-size:15px}.section h2{font-size:clamp(35px,8vw,46px)}.video-caption{font-size:13px}.rule-nav a{font-size:14px}.rule-section h3{font-size:29px}.rule-section p,.rule-section li{font-size:16px}.mf{padding-inline:0}.mf p{font-size:16px}.arena-demo .arena-top{gap:6px;padding:10px 8px}.arena-team{font-size:9px}.opp-pill{padding:5px 7px}.center-band{gap:5px;padding:8px}.mini-hero .stats{font-size:11px}.mini-hero .mh-name{font-size:18px}.mini-hero .mh-role{font-size:10px}.mini-card .mc-name{font-size:12px;padding-right:14px}.mini-card .mc-type{font-size:10px}.mini-card .mc-effect{font-size:11px}.mini-card .mc-ap{font-size:10px}.mini-card{min-height:108px}.video-stage{padding:3px}.term span{font-size:16px}}
@media(max-width:650px){
  html{scroll-padding-top:83px}.home-page .hero{padding-top:10px}.home-page .hero-art{min-height:650px;background-position:63% center}
  .home-page .hero-art::before{background:linear-gradient(90deg,#111810c9,#11181052),linear-gradient(0deg,#10170ff2 6%,#10170fc9 42%,#10170f15 100%)}
  .home-page .hero-art::after{inset:9px}.home-page .hero-inner .hero-copy{max-width:none;padding:42px 0 39px}
  .home-page .hero h1{font-size:clamp(61px,17.3vw,80px)}.hero-kicker{font-size:11px;line-height:1.7;letter-spacing:.11em;margin-bottom:25px;max-width:32ch}
  .hero-deck{font-size:19px;max-width:100%;line-height:1.5;margin-top:25px}.hero-support{font-size:16px;line-height:1.55}.hero-audience{font-size:14px;line-height:1.5}.hero-actions{margin-top:23px;gap:10px}
  .cta,.cta-alt,.ghost{min-height:48px;padding:14px 19px;font-size:13px;line-height:1.35}.section{padding:60px 0}.section-label{font-size:11px;margin-bottom:17px}.lede{font-size:17px;margin-top:20px}.world-copy-block .world-lede{font-size:24px}.world-copy-block p{font-size:17px}
  .role-tabs{margin:25px 0 23px;justify-content:space-between}.filter{margin-right:0;font-size:12px;letter-spacing:.07em}.hero-card{min-height:490px;padding:24px}.hero-card h3{font-size:37px}.hero-card p{font-size:16px;max-width:33ch}.hero-card::after{background:linear-gradient(180deg,transparent 28%,#10180f1a 37%,#10180feb 69%,#10180f 100%)}
  .party-visual{min-height:375px;padding-inline:8px}.party-card-copy{left:9px;right:8px;bottom:13px}.party-card-copy span{font-size:10px;letter-spacing:.02em}.party-card-copy strong{font-size:24px}.party-copy-home p:not(.lede){font-size:17px}
  .mastery-row-home{grid-template-columns:43px 1fr;gap:14px;padding:23px 0}.mastery-row-home h3{font-size:23px}.mastery-row-home p{font-size:16px}.flow-num{font-size:29px}.updates h2{font-size:36px}.updates p{font-size:17px}.tiny{font-size:13px}.arena-preview-home span{font-size:11px}.footer-links{gap:5px 19px}footer{padding-bottom:113px}.footer-row{gap:22px}
}
@media(max-width:370px){.wrap{width:calc(100% - 28px)}.brand{font-size:17px}.hero-card{padding:21px}.filter{font-size:11px}.hero-card h3{font-size:33px}.party-card-copy span{font-size:9px}}

/* === FIX56: viewport-height-aware homepage hero fit (desktop only) ===
   Keeps the approved composition but prevents wide/short desktop displays
   from sizing the hero solely from viewport width. */
@media (min-width:981px) and (max-height:900px){
  .home-page .hero{padding-top:14px}
  .home-page .hero-art{
    min-height:0;
    height:clamp(540px,calc(100svh - 205px),640px);
    max-height:640px;
    background-position:center 48%;
  }
  .home-page .hero-inner{min-height:100%;height:100%}
  .home-page .hero-inner .hero-copy{max-width:590px;padding:26px 0 28px}
  .home-page .hero-kicker{margin-bottom:15px;font-size:11px;line-height:1.5}
  .home-page .hero h1{font-size:clamp(64px,9.8vh,84px);line-height:.86}
  .home-page .hero h1 span{margin-top:8px}
  .home-page .hero-deck{font-size:clamp(17px,2.1vh,20px);line-height:1.42;margin-top:18px}
  .home-page .hero-support{font-size:14px;line-height:1.48;margin-top:12px}
  .home-page .hero-audience{font-size:12.5px;line-height:1.45;margin-top:9px}
  .home-page .hero-actions{margin-top:18px}
  .home-page .hero-actions .cta,
  .home-page .hero-actions .cta-alt{min-height:42px;padding-inline:16px;font-size:11px}
}

/* Extra guardrail for especially short desktop browser viewports. */
@media (min-width:981px) and (max-height:720px){
  .home-page .hero-art{height:540px;max-height:540px;background-position:center 46%}
  .home-page .hero-inner .hero-copy{padding:20px 0 22px;max-width:570px}
  .home-page .hero-kicker{margin-bottom:11px}
  .home-page .hero h1{font-size:64px}
  .home-page .hero-deck{font-size:17px;margin-top:14px}
  .home-page .hero-support{font-size:13.5px;line-height:1.42;margin-top:9px}
  .home-page .hero-audience{font-size:12px;margin-top:7px}
  .home-page .hero-actions{margin-top:14px}
}


/* === FIX57: wide-desktop hero artwork fit ===
   The source banner is 16:9. On maximized wide/short browser viewports,
   background-size: cover makes the characters appear artificially zoomed.
   Preserve the full character composition by fitting the art to the hero's
   height, anchoring it right, and allowing the approved dark field to fill
   the copy side. This is desktop-only and does not affect mobile/tablet. */
@media (min-width:1200px) and (min-aspect-ratio:19/10){
  .home-page .hero-art{
    background-size:auto 100%;
    background-position:right center;
    background-repeat:no-repeat;
    background-color:#07090e;
  }
}
