/* Homepage only. The guides keep their existing illustrated layout.
   Natural heading wrapping replaces the former forced two-line slogans.
   All image panels retain readable text outside their image bounds on phones. */
.page-index h1,.page-index h2,.page-index h3{font-style:normal;text-wrap:pretty}
.page-index h2{font-size:clamp(32px,3.1vw,46px);line-height:1.17;letter-spacing:-.025em;margin:0 0 20px}
.page-index h3{line-height:1.2;letter-spacing:-.015em}
.page-index p{line-height:1.8}
.page-index .eyebrow{margin:0 0 17px;font-size:10px;letter-spacing:.19em}
.page-index .wrap{max-width:1200px}
.page-index main section{scroll-margin-top:110px}
.home-hero{position:relative;isolation:isolate;min-height:690px;display:flex;align-items:center;background:#101219;overflow:hidden}
.home-hero-art,.home-hero-shade{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.home-hero-art{object-fit:cover;object-position:62% center}
.home-hero-shade{background:linear-gradient(90deg,#070a11ed 0%,#0a0e18cb 30%,#10132135 72%),linear-gradient(0deg,#101219 0%,transparent 33%)}
.home-hero:after{content:'';position:absolute;inset:24px;border:1px solid #c8ab6e36;pointer-events:none}
.home-hero-content{padding-block:75px 120px;position:relative;z-index:1}
.page-index .home-hero h1{font-size:clamp(86px,8.5vw,128px);font-weight:400;line-height:1;margin:0 0 8px;letter-spacing:-.045em;color:#f2e7d1;text-shadow:0 3px 35px #0009}
.page-index .home-subtitle{font-family:var(--serif);font-size:clamp(24px,2.5vw,34px);letter-spacing:.07em;line-height:1.3;color:#dcc193;margin:0 0 30px}
/* Balance this short introduction so a single trailing word never sits alone. */
.home-hero-copy{max-width:510px;color:#e0dcd2;font-size:17px;margin:0;text-wrap:balance}
.home-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:28px}
.home-access{font-size:12px;color:#c5bda9;margin-top:20px;max-width:510px}
.home-access a{color:#e1c799;text-decoration:underline;text-underline-offset:4px}
.home-hero-foot{position:absolute;bottom:27px;left:0;right:0;display:flex;justify-content:space-between;gap:24px;border-top:1px solid #c4a16e4d;padding-top:18px;font-size:11px;color:#cfc4b0;letter-spacing:.035em}
.home-hero-foot a{color:#e5c792}.home-hero-foot a span{margin-left:15px}
.home-intro{background:linear-gradient(120deg,#eee2c9,#f6edd9 60%,#e5d7bb);border-block:1px solid #a48958;color:#30281e;padding:75px 0}
.home-intro-grid{display:grid;grid-template-columns:.95fr 1.2fr;gap:85px;align-items:start}
.home-intro h2{color:#342b21}.home-intro .eyebrow{color:#77532c}
.home-intro .home-intro-lead{font:24px/1.5 var(--serif);color:#5a4630;max-width:390px;margin-bottom:0}
.home-prose p{font-size:15px;color:#514637;margin:0 0 18px}.home-prose .text-link{color:#664820;border-color:#a2875e}
.home-regions{padding-block:86px 70px}
.home-section-head{display:flex;gap:40px;align-items:flex-end;justify-content:space-between;margin-bottom:32px}
.home-section-head>div{max-width:790px;min-width:0}
.home-section-head h2{margin-bottom:14px}.home-section-head p:not(.eyebrow){max-width:660px;font-size:15px;margin-bottom:0}
.home-section-head>.text-link{flex-shrink:0;margin-bottom:6px;font-size:12px}
.home-region-grid{display:grid;grid-template-columns:1.15fr 1fr;grid-template-rows:245px 245px;gap:20px}
.home-region{position:relative;isolation:isolate;display:flex;align-items:flex-end;overflow:hidden;border:1px solid #b08b4e75;background:#12151c}
.home-region-main{grid-row:span 2}
.home-region img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .4s}
.home-region:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#070b13fa,#070b13b8 18%,transparent 80%);z-index:-1}
.home-region:hover img{transform:scale(1.025)}
.home-region>div{padding:28px;width:100%}.home-region span{font-size:9px;letter-spacing:.16em;color:#e4c38b}
.home-region h3{font-size:32px;margin:10px 0 10px;color:#f3e7ce}.home-region-main h3{font-size:40px}
.home-region p{font-size:14px;color:#e0d8c8;margin:0;max-width:390px}
.home-caption{font-size:12px;color:#a9a495;margin:20px 0 0}.home-caption a{color:#d5b681;text-decoration:underline;text-underline-offset:4px;margin-left:5px}
.home-classes{padding-block:75px;background:radial-gradient(ellipse at 50% 100%,#33414955,transparent 70%),#161a23;border-block:1px solid #9e7f4c40}
.home-class-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.home-class{min-width:0;border-bottom:1px solid #a88c5d66;padding-bottom:22px;display:block}
.home-class-art{height:235px;position:relative;background:radial-gradient(ellipse,#bdac6e16,transparent 70%);display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #baa47a24;margin-bottom:20px}
.home-class-art img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 10px #0009);transition:transform .25s}
.home-class:hover img{transform:translateY(-4px)}.home-class h3{font-size:23px;color:#e5d3b4;margin:0 0 10px;min-height:56px;display:flex;align-items:center}
.home-class p{font-size:12px;margin:0;color:#bbb9b1;line-height:1.7;max-width:170px}
.home-quests{display:grid;grid-template-columns:1.05fr 1fr;gap:65px;align-items:center;padding-block:90px}
.home-quests figure{margin:0;min-width:0}.home-quests figure img{width:100%;height:auto;border:1px solid #a1845366;padding:8px;background:#171b23;box-shadow:0 18px 45px #0005}.home-quests figcaption{font-size:11px;color:#aaa391;margin-top:13px}
.home-quests p{font-size:15px;margin:0 0 19px}.home-herald-note{border-left:2px solid #b79254;padding:6px 0 6px 23px;margin-top:28px}.home-herald-note h3{font-size:23px;margin:0 0 10px;color:#dcc69e}.home-herald-note p{font-size:14px;margin-bottom:10px}.home-herald-note code{color:#ead5a9;font-size:13px;background:#c0a16b12;padding:2px 5px}.home-herald-note .text-link{font-size:12px}
.home-legends{background:#0c1018;border-block:1px solid #b5945c44;padding-block:75px}
.home-legend-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}.home-legend{display:block;border:1px solid #93764966;background:#171b24;overflow:hidden}
.home-legend>img{width:100%;height:305px;object-fit:cover;object-position:center 44%;display:block;transition:filter .25s}.home-legend:hover>img{filter:brightness(1.08)}
.home-legend>div{padding:28px 30px 30px}.home-legend h3{font-size:32px;color:#e8d4b3;margin:0 0 16px}.home-legend p{font-size:14px;margin:0 0 21px;color:#c6c1b6}.home-legend>div>span{font-size:12px;color:#d8b780}.home-legend>div>span>span{margin-left:16px}
.home-chronicles{display:flex;align-items:center;justify-content:space-between;gap:50px;border-top:1px solid #967b514d;padding-top:36px;margin-top:40px}.home-chronicles>div{max-width:730px}.home-chronicles h3{font-size:29px;color:#e8d4b3;margin:0 0 13px}.home-chronicles p:not(.eyebrow){font-size:14px;margin:0}.home-chronicles .button{flex-shrink:0}
.home-start{display:grid;grid-template-columns:1.5fr 1fr;gap:85px;align-items:center;padding-block:85px}.home-start p{font-size:15px}.home-start .home-start-detail{font-size:13px;color:#aaa89f}.home-start aside{padding:30px;border:1px solid #aa8b5359;background:linear-gradient(130deg,#292b3055,#191b2244)}.home-start aside h3{font-size:26px;margin:0 0 17px;color:#ddc69e}.home-start aside p{font-size:14px}
.page-index a:focus-visible{outline:2px solid #e4c38a;outline-offset:5px}
@media(min-width:1600px){.home-hero{min-height:780px}.home-hero-content{padding-block:95px 135px}}
@media(max-width:1100px){.home-intro-grid{gap:45px}.home-section-head{display:block}.home-section-head>.text-link{margin-top:20px}.home-class-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.home-class-art{height:260px}.home-class h3{min-height:0;font-size:26px}.home-class p{max-width:230px}.home-quests{gap:35px}.home-start{gap:40px}.home-chronicles{gap:30px}}
@media(max-width:760px){.page-index h2{font-size:34px;line-height:1.2}.page-index .eyebrow{font-size:9px}.home-hero{min-height:660px}.home-hero-content{padding-block:60px 130px}.home-hero-art{object-position:65% center}.home-hero-shade{background:linear-gradient(90deg,#070a11e8,#0a0e18ac 65%,#10132177),linear-gradient(0deg,#101219,transparent 60%)}.home-hero:after{inset:14px}.page-index .home-hero h1{font-size:84px}.page-index .home-subtitle{font-size:25px}.home-hero-copy{font-size:15px;max-width:460px}.home-hero-foot{display:block;bottom:25px}.home-hero-foot a{display:block;margin-top:12px}.home-intro{padding-block:52px}.home-intro-grid{grid-template-columns:1fr;gap:28px}.home-intro .home-intro-lead{font-size:22px;max-width:600px}.home-regions{padding-block:55px}.home-region-grid{grid-template-columns:1fr;grid-template-rows:auto;gap:18px}.home-region,.home-region-main{grid-row:auto;min-height:310px}.home-region-main{min-height:360px}.home-region>div{padding:24px}.home-region h3,.home-region-main h3{font-size:32px}.home-classes{padding-block:55px}.home-class-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}.home-class-art{height:235px}.home-class h3{font-size:24px;min-height:58px}.home-quests{grid-template-columns:1fr;padding-block:60px;gap:32px}.home-quests figure{max-width:600px}.home-legends{padding-block:55px}.home-legend-grid{grid-template-columns:1fr}.home-legend>img{height:280px}.home-chronicles{display:block;margin-top:30px;padding-top:30px}.home-chronicles .button{margin-top:24px}.home-start{grid-template-columns:1fr;gap:35px;padding-block:55px}.home-actions .button{padding:14px 18px;font-size:11px;min-height:49px}.home-start aside{padding:25px}}
@media(max-width:400px){.page-index .home-hero h1{font-size:72px}.page-index .home-subtitle{font-size:22px}.home-hero{min-height:700px}.home-hero-content{padding-top:45px}.home-hero .home-actions{align-items:stretch;flex-direction:column;max-width:260px}.home-hero .button{justify-content:space-between}.home-class-art{height:205px}.home-legend>div{padding:24px}.home-legend>img{height:240px}}
@media(prefers-reduced-motion:reduce){.home-region img,.home-class-art img,.home-legend>img{transition:none}.home-region:hover img,.home-class:hover img{transform:none}}

/* Keep long profession names within the narrow two-column phone cards. */
@media(max-width:400px){.home-class h3{font-size:21px;min-height:52px}}
