@font-face{font-family:Cinzel;src:url("assets/vendor/cinzel.woff2") format("woff2");font-style:normal;font-weight:400 900;font-display:swap}
@font-face{font-family:Manrope;src:url("assets/vendor/manrope.woff2") format("woff2");font-style:normal;font-weight:400 800;font-display:swap}

:root{
  --night:#101b18;
  --night-dark:#0d1513;
  --ivory:#fff6e3;
  --paper:#f2eadc;
  --ink:#242e25;
  --gold:#f2cf90;
  --gold-deep:#805a2c;
  --gold-border:#c2a171;
  --header:72px;
  --gutter:clamp(20px,5.5vw,92px);
  --display:Cinzel,Georgia,serif;
  --body:Manrope,system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;overflow-x:clip;background:var(--night);color:var(--ivory);font:400 1rem/1.65 var(--body)}
img{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;cursor:pointer}
:focus-visible{outline:2px solid #e0a04d;outline-offset:5px}
h1,h2,h3,p,figure,dl,dd{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.1;text-wrap:balance}
h2{font-size:clamp(2.15rem,4.1vw,4.15rem);letter-spacing:-.015em}
h3{font-size:clamp(1.2rem,1.8vw,1.7rem);letter-spacing:-.005em}
h1 em,h2 em{color:var(--gold);font-style:normal}
.paper h2 em{color:var(--gold-deep)}
section[id],#main{scroll-margin-top:var(--header)}
.wrap{width:min(100% - var(--gutter) * 2,1320px);margin-inline:auto}
.eyebrow{display:flex;align-items:center;gap:.65rem;color:var(--gold);font-size:.875rem;font-weight:800;line-height:1.35;letter-spacing:.145em;text-transform:uppercase}
.eyebrow svg{width:19px;height:19px;flex:none}
.paper .eyebrow{color:var(--gold-deep)}
.symbol-library{position:absolute;width:0;height:0;overflow:hidden}
.skip-link{position:fixed;z-index:12;top:12px;left:12px;padding:10px 15px;background:var(--ivory);color:var(--night);transform:translateY(-150%)}
.skip-link:focus{transform:none}

.site-header{position:sticky;top:0;z-index:10;background:#101b18f5;border-bottom:1px solid #e2b97436;backdrop-filter:blur(12px)}
.page-progress{position:absolute;bottom:-1px;left:0;width:100%;height:2px;display:none;background:linear-gradient(90deg,#b99458,#ffe3a1);transform:scaleX(var(--page-progress,0));transform-origin:left}
.is-motion .page-progress{display:block}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;width:min(100% - var(--gutter) * 1.15,1430px);min-height:var(--header);margin:auto}
.brand{display:inline-flex;flex:none;align-items:center}
.brand img{width:128px;height:57px;object-fit:contain}
.site-nav,.header-actions{display:flex;align-items:center;gap:clamp(16px,2.45vw,42px)}
.site-nav a{padding-block:.6rem;text-decoration:none;font-size:.875rem;font-weight:750;color:#eae4d7;white-space:nowrap}
.site-nav a:hover,.site-nav a[aria-current]{color:var(--gold)}
.header-actions{gap:10px}
.menu-toggle{width:44px;height:44px;display:grid;place-content:center;gap:6px;border:1px solid #d1ae694f;background:transparent}
.menu-toggle span{display:block;width:19px;height:1px;background:var(--ivory)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;min-height:51px;padding:.65rem 1.15rem;border:1px solid transparent;border-radius:3px;text-decoration:none;font-size:.9rem;font-weight:800;line-height:1.25;white-space:nowrap;transition:background-color .2s,color .2s,border-color .2s}
.button svg{width:19px;height:19px;flex:none}
.button-gold{background:var(--gold);color:#251d11;border-color:#fce3a8;box-shadow:inset 0 0 0 2px #54402227,0 5px 22px #0003}
.button-gold:hover{background:#ffe5ac}
.button-outline{color:var(--ivory);background:#14211a80;border-color:#f0d4a67d}
.button-outline:hover{background:#2b392ce8;border-color:var(--gold)}
.header-cta{min-height:41px;padding:.55rem .9rem}
.header-cta svg{width:16px;height:16px}

.hero{min-height:max(640px,min(790px,calc(100svh - var(--header) - 51px)));display:grid;position:relative;isolation:isolate;overflow:clip;background:#263d3b}
.hero-backdrop,.hero-shade{position:absolute;inset:0;z-index:-2}
.hero-backdrop{overflow:hidden}
.hero-backdrop img{width:100%;height:100%;object-fit:cover;object-position:62% 50%;transform:perspective(1600px) translate3d(calc(var(--px,0) * -16px),calc(var(--hero-offset,0px) + var(--py,0) * -10px),0) rotateY(calc(var(--px,0) * 1.4deg)) rotateX(calc(var(--py,0) * -1deg)) scale(var(--hero-scale,1.075))}
.hero-shade{z-index:-1;background:linear-gradient(90deg,#111b18 0%,#111c18ed 16%,#15221bb5 36%,#10201825 67%,#10201800 92%),linear-gradient(0deg,#0c1715e8 0%,#101b1820 30%,transparent 70%,#18231d44 100%)}
.hero-atmosphere{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.hero-atmosphere>div{position:absolute;inset:-18%;transform:translate3d(calc(var(--px,0) * 26px),calc(var(--sky-glints,0px) + var(--py,0) * 18px),0);background:radial-gradient(circle at 15% 43%,#ffde9bc7 0 1px,#ffd47c28 2px 4px,transparent 7px),radial-gradient(circle at 24% 63%,#ffe6af90 0 1px,transparent 4px),radial-gradient(circle at 42% 32%,#ffedbbd2 0 1px,transparent 4px),radial-gradient(circle at 47% 57%,#ffde9bd7 0 2px,transparent 5px),radial-gradient(circle at 57% 63%,#ffecbfbd 0 1px,transparent 5px),radial-gradient(circle at 61% 42%,#ffbab47d 0 2px,transparent 6px),radial-gradient(circle at 78% 28%,#fff4dcb9 0 1px,transparent 4px)}
.hero-atmosphere>div+div{inset:-24%;transform:translate3d(calc(var(--px,0) * -10px),calc(var(--sky-haze,0px) + var(--py,0) * -8px),0);background:radial-gradient(ellipse at 77% 71%,#f6ca8b35,transparent 34%),radial-gradient(ellipse at 16% 37%,#5baca424,transparent 35%);mix-blend-mode:screen}
.hero-frame{position:absolute;inset:18px;transform:translate3d(calc(var(--px,0) * -5px),calc(var(--py,0) * -4px),0);z-index:-1;pointer-events:none;border:1px solid #f3d49e59;background:linear-gradient(var(--gold),var(--gold)) left top/28px 1px,linear-gradient(var(--gold),var(--gold)) left top/1px 28px,linear-gradient(var(--gold),var(--gold)) right bottom/28px 1px,linear-gradient(var(--gold),var(--gold)) right bottom/1px 28px;background-repeat:no-repeat}
.hero-inner{align-self:center;padding-block:68px 90px}
.hero-copy{max-width:40rem;text-shadow:0 2px 22px #0006;transform-origin:0 100%;transform:perspective(900px) translate3d(calc(var(--px,0) * -9px),var(--hero-copy-offset,0px),var(--hero-copy-z,0px)) rotateX(var(--hero-copy-tilt,0deg));opacity:var(--hero-copy-fade,1)}
.hero h1{font-size:clamp(3.8rem,7.6vw,7.6rem);line-height:.93;letter-spacing:-.025em;margin:25px 0 23px;font-weight:700;text-wrap:initial}
.hero h1 .line{display:block;perspective:800px}
.hero h1 .line>*{display:inline-block;transform-origin:50% 100%}
.hero h1 em{color:#ffdb9d}
.hero-lead{font-size:clamp(1.1rem,2vw,1.43rem);font-weight:800;letter-spacing:-.025em}
.hero-intro{max-width:29rem;margin-top:10px;color:#eee9dc}
.hero-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:26px;text-shadow:none}
.hero-note{margin-top:14px;color:#e8ddcb;font-size:.875rem}
.hero-note span{padding-inline:.25rem}
.hero-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;position:absolute;left:50%;bottom:34px;transform:translateX(-50%);color:#efe3c8;font-size:.875rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.hero-caption a{display:flex;align-items:center;gap:10px;text-decoration:none}
.hero-caption a:hover{text-decoration:underline;text-underline-offset:4px}
.scroll-mark{width:14px;height:24px;position:relative;border-radius:9px;border:1px solid #eac78b;display:inline-block}
.scroll-mark::after{content:"";position:absolute;top:5px;left:5px;width:2px;height:6px;background:#eac78b;border-radius:3px}
.motion-toggle{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.28rem .56rem;border:1px solid #f0d4a66b;color:var(--ivory);background:#111c18a8;border-radius:3px;font-size:.875rem;font-weight:800;white-space:nowrap}
.motion-toggle:hover{border-color:var(--gold)}
.motion-toggle svg,.scene-link svg{width:19px;height:19px;flex:none;color:var(--gold)}
.world-band{border-block:1px solid #f2cf9040;background:#172520;color:#f4e0bb}
.world-band-inner{min-height:57px;display:grid;grid-template-columns:repeat(3,1fr)}
.world-band span{display:flex;justify-content:center;align-items:center;gap:.65rem;padding:.6rem .25rem;text-align:center;font-size:.875rem;font-weight:800;letter-spacing:.05em}
.world-band span+span{border-left:1px solid #f2cf902d}
.world-band svg{width:20px;height:20px;flex:none;color:var(--gold)}
.gameplay-dialog{color:var(--ivory);background:var(--night);width:min(900px,calc(100% - 36px));max-height:calc(100% - 36px);overflow:auto;border:1px solid var(--gold-border);padding:0}
.gameplay-dialog::backdrop{background:#060d0be8;backdrop-filter:blur(4px)}
.dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 17px}
.dialog-bar h2{font-size:clamp(1.3rem,3vw,2rem);letter-spacing:-.01em}
.dialog-close{border:1px solid #d9ba826e;background:transparent;color:var(--ivory);font-size:1.65rem;line-height:1;width:44px;height:44px}
.gameplay-dialog video{display:block;width:100%;aspect-ratio:16/9;background:#080e0c}

.section{padding-block:clamp(66px,8vw,115px)}
.paper{color:var(--ink);background:radial-gradient(ellipse at 20% 0%,#fff7e84d,transparent 60%),var(--paper)}
.section-intro{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(19rem,.75fr);align-items:end;gap:clamp(16px,4vw,60px);margin-bottom:34px}
.section-intro h2,.info-grid h2{margin-top:9px}
.section-intro>p{max-width:32rem;padding-bottom:3px}
.paper .section-intro>p,.paper .info-note,.paper dd,.paper .faq details p{color:#514b40}
#world{background:linear-gradient(#172520, #1e3431 42%, #112320);color:var(--ivory)}
#world .eyebrow,#world h2 em{color:var(--gold)}
#world .section-intro>p{color:#e5ded0}
.world-story { --panorama-height: clamp(240px, 53svh, 530px); }
.world-stop, .world-story.is-pinned {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
  column-gap: clamp(32px, 5vw, 86px);
}
.world-stop { align-items: center; padding-block: 20px; }
.world-frame {
  position: relative;
  isolation: isolate;
  overflow: clip;
  width: 100%;
  height: var(--panorama-height);
  background: #203631;
  border: 1px solid #c9b48078;
}
.world-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #fff5ca40;
  pointer-events: none;
}
.world-copy { position: relative; padding: 20px 0 20px 26px; }
.world-copy::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 1px;
  width: 9px;
  height: 9px;
  rotate: 45deg;
  border: 1px solid var(--gold);
  background: #223932;
}
.world-copy h3 { margin: 10px 0 14px; font-size: clamp(1.8rem, 3.25vw, 3.3rem); }
.world-copy > p:not(.eyebrow) { max-width: 32ch; color: #e1e2d6; }
.world-story.is-pinned { align-items: start; }
.is-pinned .world-stop { display: contents; }
.is-pinned .world-frame {
  grid-column: 1;
  grid-row: 1 / span 3;
  position: sticky;
  /* Centre the pinned image in the space under the header, level with the active caption. */
  top: calc(var(--header) + (100svh - var(--header) - var(--panorama-height)) / 2);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s .45s;
}
.is-pinned .is-current .world-frame { opacity: 1; visibility: visible; transition-delay: 0s; }
.is-pinned .world-copy {
  grid-column: 2;
  min-height: var(--panorama-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-left: 1px solid #c5b58655;
}
.is-pinned .world-copy::before { top: calc(50% - 4px); left: -5px; }
.is-pinned .is-current .world-copy::before { background: var(--gold); box-shadow: 0 0 14px #f2cf9070; }
.scene-media{position:absolute;inset:-13%;z-index:-2;transform:translate3d(var(--mx,0px),calc(var(--scene-offset,0px) + var(--my,0px)),0) scale(var(--scene-scale,1))}
.scene-media img,.scene-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.scene-media img{transition:transform .45s}
.scene-video{opacity:0;transition:opacity .28s}
.scene-video.is-playing{opacity:1}
.scene-pause{position:absolute;z-index:1;top:12px;right:12px;display:grid;place-items:center;width:42px;height:42px;border:1px solid #f1d29e87;border-radius:50%;color:var(--ivory);background:#101b18d4}
.scene-pause:hover{background:var(--night);border-color:var(--gold)}
.scene-pause svg{width:21px;height:21px}
.scene-link{display:inline-flex;align-items:center;gap:.4rem;margin-top:11px;color:var(--ivory);font-size:.875rem;font-weight:800;text-underline-offset:4px;text-decoration-color:#f6d49a8a}
.scene-link:hover{color:var(--gold)}

.druid-track{position:relative}
.druid-stage{--magic:#b7dab1;--form-glow:#426b57;position:relative;isolation:isolate;overflow:clip;display:grid;align-items:center;min-height:clamp(540px,85svh,790px);background:#14261f}
.is-motion .druid-stage{min-height:max(540px,calc(100svh - var(--header)))}
.is-motion .druid-track::after{content:"";display:block;height:clamp(620px,120svh,1200px)}
.is-motion .druid-stage{position:sticky;top:var(--druid-sticky,var(--header))}
.druid-stage[data-form="wolf"]{--magic:#b7dfff;--form-glow:#376e9b}
.druid-stage[data-form="raptor"]{--magic:#fadd91;--form-glow:#77713e}
.druid-background{position:absolute;inset:-13%;z-index:-2;background:linear-gradient(90deg,#111c17f5 1%,#121e19b5 48%,#15271d61 100%),linear-gradient(0deg,#0c1713cf,transparent 55%),url("assets/druid-bg.webp") center/cover;transform:translate3d(calc(var(--px,0) * 18px),calc(var(--druid-bg-offset,0px) + var(--py,0) * 12px),0) scale(var(--druid-bg-scale,1))}
.druid-motes{position:absolute;inset:-22%;z-index:-1;pointer-events:none;transform:translate3d(calc(var(--mote-x,0px) + var(--px,0) * -34px),calc(var(--mote-y,0px) + var(--py,0) * -22px),0);background:radial-gradient(ellipse at 76% 63%,color-mix(in srgb,var(--form-glow),transparent 45%),transparent 30%),radial-gradient(circle at 62% 27%,var(--magic) 0 1px,transparent 5px),radial-gradient(circle at 65% 70%,var(--magic) 0 1px,transparent 6px),radial-gradient(circle at 50% 54%,var(--magic) 0 1px,transparent 5px),radial-gradient(circle at 79% 49%,var(--magic) 0 2px,transparent 6px),radial-gradient(circle at 71% 78%,#ffe9b7bb 0 1px,transparent 5px),radial-gradient(circle at 46% 70%,#ffe9b7bb 0 1px,transparent 5px)}
.druid-layout{display:grid;grid-template-columns:minmax(310px,.85fr) minmax(0,1.15fr);align-items:center;gap:20px}
.druid-copy{padding-block:48px;position:relative;z-index:2}
.druid-copy h2{font-size:clamp(3.25rem,6.9vw,6.8rem);margin:15px 0 18px;line-height:.95}
.druid-copy>p:not([class]){color:#eee8d8;max-width:30rem}
.form-buttons,.style-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px}
.form-buttons button,.style-options button{border:1px solid #d9ba826e;background:#12201bd9;padding:.65rem .8rem;border-radius:3px;min-height:42px;color:#f3eadb;font-size:.875rem;font-weight:800;transition:background .2s,color .2s,border-color .2s}
.form-buttons button:hover,.style-options button:hover{border-color:var(--gold)}
.form-buttons button[aria-pressed="true"],.style-options button[aria-pressed="true"]{border-color:var(--gold);background:var(--gold);color:#281e10}
.form-hint{margin-top:12px;color:#d7ccba;font-size:.875rem;display:none}
.is-motion .form-hint{display:block}
.druid-video-link{display:inline-block;color:#f1d6a4;font-size:.875rem;font-weight:800;margin-top:15px;text-underline-offset:4px}
.druid-art{position:relative;height:clamp(380px,43vw,590px);isolation:isolate}
.sigil{position:absolute;width:72%;aspect-ratio:1;left:14%;top:50%;transform:translate3d(0,calc(-50% + var(--sigil-offset,0px)),0) rotate(var(--sigil-turn,0deg));background:radial-gradient(ellipse,color-mix(in srgb,var(--form-glow),transparent 24%),transparent 72%);transition:background .35s}
.sigil::after,.sigil::before{content:"";position:absolute;inset:9%;border:1px solid color-mix(in srgb,var(--magic),transparent 62%);border-radius:50%}
.sigil::after{inset:13%;border-style:dashed}
.druid-scene{position:absolute;inset:0;perspective:1100px;transform:translate3d(calc(var(--druid-art-x,0px) + var(--px,0) * -10px),calc(var(--druid-art-offset,0px) + var(--py,0) * -8px),0) scale(var(--druid-art-scale,1))}
.relic{position:absolute;left:-18%;top:-14%;width:136%;height:136%;pointer-events:none}
.form-art{position:absolute;inset:0 3% 7%;transform-style:preserve-3d;transform:rotateY(calc(var(--px,0) * 10deg)) rotateX(calc(var(--py,0) * -5deg))}
.form-figure{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 100%;opacity:0;transform:rotateY(-75deg) scale(.78);filter:brightness(2.2) blur(10px) drop-shadow(0 14px 18px #09151191);transition:opacity .45s,transform .8s cubic-bezier(.2,.85,.25,1),filter .7s}
.form-wolf{padding:3% 4% 2%}
.form-raptor{padding:0 2% 12%;object-position:50% 40%}
[data-form="human"] .form-human,[data-form="wolf"] .form-wolf,[data-form="raptor"] .form-raptor{opacity:1;transform:none;filter:brightness(1) blur(0) drop-shadow(0 14px 18px #09151191)}
.form-burst{position:absolute;left:50%;top:52%;width:70%;aspect-ratio:1;translate:-50% -50%;border-radius:50%;pointer-events:none;opacity:0;border:2px solid var(--magic);box-shadow:0 0 40px var(--magic),inset 0 0 50px color-mix(in srgb,var(--magic),transparent 50%)}
.form-burst.is-bursting{animation:burst .9s cubic-bezier(.15,.7,.3,1)}
@keyframes burst{0%{opacity:.95;transform:scale(.25)}100%{opacity:0;transform:scale(1.45)}}
.form-caption{position:absolute;z-index:3;right:0;bottom:4%;text-align:right;padding:10px 0 8px 17px;background:linear-gradient(90deg,transparent,#14231bb0);text-shadow:0 2px 8px #07120c}
.form-caption span{color:var(--magic);font-size:.8125rem;font-weight:800;letter-spacing:.16em;display:block}
.form-caption strong{font:600 clamp(1.08rem,2vw,1.65rem)/1.25 var(--display)}
.druid-progress{display:none;position:absolute;left:var(--gutter);right:var(--gutter);bottom:12px;height:3px;background:#d2bc7d40}
.is-motion .druid-progress{display:block}
.druid-progress div{height:100%;background:var(--gold);transform:scaleX(var(--druid-progress,0));transform-origin:left}
.druid-progress::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent calc(28% - 2px),#14261f calc(28% - 2px) 28%,transparent 28% calc(62% - 2px),#14261f calc(62% - 2px) 62%,transparent 62%);}

.class-section{background:linear-gradient(140deg,#1b2b23,#14201a);border-top:1px solid #c7a66c30;padding-block:clamp(60px,7vw,95px)}
.class-section .section-intro>p{color:#ded9ca}
.class-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.class-card{background:radial-gradient(ellipse at 50% 42%,#506349,#25372d 57%,#1a271e);border:1px solid #ac98634f;min-width:0;position:relative;aspect-ratio:1.22;transform-style:preserve-3d}
.class-card:nth-child(2){background:radial-gradient(ellipse at 50% 42%,#655746,#362e29 57%,#211e1c)}
.class-card:nth-child(3){background:radial-gradient(ellipse at 50% 42%,#595d74,#303445 57%,#222532)}
.class-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#101714,transparent 47%);transform:translateZ(1px)}
.class-card img{position:absolute;object-fit:contain;width:91%;height:91%;inset:3% auto auto 4.5%;transform:translateZ(30px);transition:transform .7s cubic-bezier(.2,.85,.25,1);filter:drop-shadow(0 10px 14px #0007)}
.class-card div{position:absolute;left:16px;bottom:15px;transform:translateZ(56px);text-shadow:0 2px 10px #000d}
.class-card span{color:var(--gold);font-size:.8125rem;font-weight:800;letter-spacing:.12em}
.class-card h3{margin-top:3px}
.roster{color:var(--gold);font-size:.875rem;font-weight:800;margin-top:18px}
.roster span{color:#dfd8c9;font-weight:500;margin-left:.55rem}

#adventures { background: radial-gradient(ellipse at 22% 50%, #674d382e, transparent 65%), linear-gradient(#192623, #252e29 52%, #25292d); }
.adventure-grid{display:grid;grid-template-columns:1.4fr .85fr;align-items:stretch;gap:clamp(18px,4vw,54px)}
.adventure-photo{position:relative;isolation:isolate;min-height:300px;overflow:hidden;background:#475340;border:1px solid #b49a7e}
.adventure-photo::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#0d1714f2,transparent 52%)}
.adventure-photo figcaption{position:absolute;bottom:0;padding:14px clamp(15px,2vw,27px);font-size:.875rem;color:var(--ivory)}
.paper .adventure-photo .eyebrow{color:var(--gold)}
.adventure-photo .scene-link{margin-top:4px}
.adventure-features{position: relative; padding-left: 24px; border-left: 1px solid #ceb27c5e;}
.is-motion .adventure-features::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -1px;
  width: 2px;
  background: linear-gradient(#b98f55, #f9da9b);
  transform: scaleY(clamp(0, calc(.5 + var(--scene-progress, 0) * 1.3), 1));
  transform-origin: top;
}
.adventure-features article{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start;padding:14px 2px;border-bottom:1px solid #9b774c6b}
.adventure-features svg{width:25px;height:25px;color:var(--gold)}
.adventure-features h3{font-size:1.14rem}
.adventure-features p{color:#dddcd0;margin-top:4px}
.style-section{padding-block:clamp(55px,8vw,104px);background:radial-gradient(ellipse at 74% 48%,#6a57623b,transparent 58%),linear-gradient(#25292d,#323036 52%,#202728)}
.style-grid{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:clamp(28px,5vw,75px)}
.style-copy h2{font-size:clamp(2.6rem,5.2vw,5.4rem);line-height:.98;margin:15px 0 20px}
.style-copy>p:not(.eyebrow){max-width:28rem;color:#e8e1d2}
.style-preview{perspective:1600px}
.style-screen{position:relative;transform-origin:50% 50%;box-shadow:0 34px 60px -18px #000b}
.is-motion .style-screen {
  transform: translateY(calc(var(--scene-progress, 0) * -22px)) rotateY(calc(var(--scene-progress, 0) * 10deg)) rotateX(calc(var(--scene-progress, 0) * -4deg));
}
.style-screen::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 30%,#fff6e026 46%,#fff6e00d 54%,transparent 70%) calc(50% + var(--scene-progress,0) * 60%) 0/250% 100% no-repeat}
.style-preview img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border:1px solid #d1ad74;transition:opacity .25s,filter .25s}
.style-preview img.is-swapping{opacity:0;filter:blur(6px)}
.style-options{margin-top:12px}
.info-section { background: linear-gradient(#202728, #192321 50%, #14221f); }
.info-section dd, .info-note, .faq details p { color: #dedbd0; }
.info-section .info-note a, .info-section .faq summary::after { color: var(--gold); }
.info-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(25px,7vw,110px)}
.info-grid h2{font-size:clamp(2rem,3.2vw,3.1rem);margin-bottom:23px}
.requirements dl,.faq details:first-of-type{border-top:1px solid #9b774c70}
.requirements dl div{padding:10px 0;border-bottom:1px solid #9b774c70;display:grid;grid-template-columns:minmax(7rem,.7fr) 1.3fr;gap:.65rem;font-size:.9375rem}
.requirements dt{font-weight:800}
.info-note{font-size:.875rem;margin-top:15px}
.info-note a{text-underline-offset:3px}
.faq details{border-bottom:1px solid #9b774c70}
.faq summary{display:block;position:relative;list-style:none;cursor:pointer;font-weight:800;padding:12px 30px 12px 0}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--gold-deep);font-size:1.45rem;line-height:1;position:absolute;right:5px;top:50%;transform:translateY(-50%)}
.faq details[open] summary::after{content:"−"}
.faq details p{padding:0 20px 14px 0}
.final-cta{position:relative;isolation:isolate;overflow:clip;min-height:clamp(470px,46vw,710px);display:grid;align-items:center;background:#233a33}
.final-cta .scene-media img{object-position:center 53%}
.final-cta::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,var(--night-dark),transparent 20%,transparent 79%,#14221f),linear-gradient(90deg,#0c1b17f2,#10251d99 50%,#192a2238)}
.returning-hero {
  position: absolute;
  right: 3%;
  bottom: 4%;
  width: 48%;
  height: 87%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px #071b21b0);
  pointer-events: none;
}
.is-motion .returning-hero { transform: translate3d(calc(var(--scene-progress, 0) * -22px), calc(var(--scene-progress, 0) * -48px), 0); }
.final-inner{position: relative; padding-block:65px; padding-right:min(43vw, 640px)}
.final-inner h2{font-size:clamp(2.4rem,5.4vw,5.8rem);margin-top:10px;text-shadow:0 3px 14px #0006}
.final-inner>p:not(.eyebrow){margin-top:10px}
.final-inner .button{margin-top:23px}
.site-footer{background:var(--night-dark);border-top:1px solid #a98d594d;padding-block:23px;color:#d4cdba;font-size:.875rem}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer-inner>p{max-width:30rem}
.footer-inner>div{display:flex;flex-wrap:wrap;gap:8px 18px}
.footer-inner>div a{text-underline-offset:3px}

@media (max-width:900px){
  .site-nav,.header-actions{gap:14px}
  .site-nav a{font-size:.875rem}
}
@media (max-width:760px){
  :root{--header:64px}
  .header-inner{gap:11px;width:min(100% - 30px,1430px);flex-wrap:wrap}
  .header-inner .brand img{width:112px;height:52px}
  .site-nav{order:3;width:100%;flex-wrap:wrap;gap:3px 14px;padding-bottom:10px}
  .has-menu .site-nav{display:none;position:absolute;top:100%;right:0;left:0;background:#111c18;border-bottom:1px solid #d1ae6963;padding:10px 22px 17px}
  .has-menu .site-nav.is-open{display:grid}
  .site-nav a{padding:.55rem 0}
  .header-actions{gap:8px}
  .header-cta{min-height:39px;padding:.5rem .65rem;font-size:.875rem}
  .hero{min-height:clamp(595px,calc(100svh - 58px),725px);align-items:end}
  .hero-backdrop img{object-position:69% 35%}
  .hero-shade{background:linear-gradient(0deg,#131d18 3%,#131d18ee 23%,#14201b77 61%,#13221b1a 83%),linear-gradient(90deg,#13231d7d,transparent 75%)}
  .hero-frame{inset:10px}
  .hero-inner{align-self:end;padding-block:144px 72px}
  .hero h1{font-size:clamp(3.3rem,12.3vw,5.7rem);margin:15px 0 15px}
  .hero-lead{font-size:1.1rem}
  .hero-intro{margin-top:7px}
  .hero-actions{margin-top:16px}
  .hero-caption{bottom:22px}
  .hero-note{margin-top:10px}
  .world-band svg{width:16px;height:16px}
  .world-band span{line-height:1.3;letter-spacing:0;gap:.35rem}
  .section-intro,.adventure-grid,.style-grid,.info-grid{grid-template-columns:minmax(0,1fr);gap:19px}
  .section-intro{margin-bottom:22px}
  .druid-stage{min-height:min(640px,calc(100svh - var(--header)))}
  .is-motion .druid-stage{min-height:calc(100svh - var(--header))}
  .druid-layout{grid-template-columns:1fr;gap:0}
  .druid-copy{padding-block:27px 0}
  .druid-copy h2{font-size:clamp(2.7rem,8.5vw,4.3rem);margin-block:9px}
  .druid-copy h2 br{display:none}
  .druid-copy h2 em::before{content:" "}
  .druid-art{height:clamp(250px,min(80vw,46svh),420px)}
  .druid-background{background:linear-gradient(180deg,#111c17ef 5%,#121e198e 70%,#15271d28 100%),url("assets/druid-bg.webp") center/cover}
  .form-buttons{margin-top:14px}
  .form-hint{margin-top:6px}
  .druid-video-link{margin-top:8px}
  .class-grid{gap:8px}
  .class-card{aspect-ratio:.88}
  .class-card div{left:8px;bottom:10px}
  .class-card h3{font-size:clamp(.85rem,3.4vw,1.2rem)}
  .class-card span{font-size:.75rem;letter-spacing:.02em}
  .class-card img{width:96%;height:82%;inset:3% auto auto 2%}
  .adventure-photo{width:100%;min-height:0;aspect-ratio:16/9}
  .info-grid{gap:42px}
  .motion-toggle { width: 42px; height: 42px; }
  .motion-toggle span { display: none; }
  .motion-toggle[aria-pressed="false"] svg { color: #aaa99b; }
  .final-cta { min-height: 0; }
  .returning-hero { position: relative; right: auto; bottom: auto; justify-self: end; width: 84%; height: clamp(210px, 35svh, 360px); margin-top: 30px; }
  .final-inner { padding: 12px 0 48px; }
  .footer-inner{flex-wrap:wrap;justify-content:flex-start}
}
@media (max-width:460px){
  .header-inner{width:calc(100% - 16px);gap:4px}
  .header-inner .brand img{width:clamp(66px,20vw,86px);height:46px}
  .header-actions{gap:4px}
  .header-actions .motion-toggle,.header-actions .menu-toggle{width:38px;height:42px}
  .header-cta{font-size:.8125rem;padding-inline:.45rem;gap:.35rem}
  .header-cta svg{width:16px;height:16px}
  .hero-actions .button{font-size:.875rem;padding-inline:.65rem;gap:.36rem}
  .hero-actions .button svg{width:16px;height:16px}
  .world-band span{flex-direction:column;padding-block:.55rem}
  .form-buttons button{padding-inline:.55rem}
}
@media (max-width:360px){
  .header-cta{font-size:.8125rem;gap:.4rem;padding-inline:.5rem}
  .hero-caption{font-size:.75rem}
  .motion-toggle{font-size:.75rem;padding-inline:.4rem}
}
/* ---------- Depth & motion layer ---------- */
/* Foreground bokeh: the nearest hero layer, so it travels fastest */
.hero-atmosphere>div:nth-child(3){inset:-30%;transform:translate3d(calc(var(--px,0) * 48px),calc(var(--sky-bokeh,0px) + var(--py,0) * 32px),0);filter:blur(1.5px);background:radial-gradient(circle at 71% 80%,#ffd99a55 0 9px,#ffd99a00 26px),radial-gradient(circle at 87% 44%,#ffe7b844 0 5px,#ffe7b800 17px),radial-gradient(circle at 36% 88%,#ffd38a3a 0 13px,#ffd38a00 34px),radial-gradient(circle at 58% 24%,#fff0cc33 0 4px,#fff0cc00 15px),radial-gradient(circle at 93% 70%,#ffcf8a33 0 16px,#ffcf8a00 40px)}

/* Hero entrance: the camera settles, the title rises out of the page */
@media (prefers-reduced-motion:no-preference){
  .hero-backdrop{animation:hero-settle 1.8s cubic-bezier(.2,.7,.2,1) both}
  .hero h1 .line>*{animation:line-rise 1.15s cubic-bezier(.2,.8,.2,1) .1s both}
  .hero h1 .line+.line>*{animation-delay:.25s}
  .hero .eyebrow,.hero-lead,.hero-intro,.hero-actions,.hero-note{animation:fade-up .9s cubic-bezier(.2,.8,.2,1) both}
  .hero-lead{animation-delay:.45s}
  .hero-intro{animation-delay:.55s}
  .hero-actions{animation-delay:.65s}
  .hero-note{animation-delay:.75s}
  .hero-caption{animation:fade-in 1s 1s both}
}
@keyframes hero-settle{from{transform:scale(1.14);filter:brightness(.5) saturate(.8)}to{transform:none;filter:none}}
@keyframes line-rise{from{opacity:0;transform:translate3d(0,.4em,-.5em) rotateX(-80deg)}to{opacity:1;transform:none}}
@keyframes fade-up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes fade-in{from{opacity:0}}
.is-motion .scroll-mark::after{animation:wheel 1.8s ease-in-out infinite}
@keyframes wheel{0%{transform:translateY(0);opacity:0}20%{opacity:1}70%{transform:translateY(8px);opacity:0}100%{opacity:0}}

/* Only the entrance moves. Navigation targets, reading text and controls stay in place. */
.is-motion .is-revealed { animation: chapter-entry .65s ease-out var(--reveal-delay, 0s) backwards; }
@keyframes chapter-entry { from { opacity: .72; translate: 0 16px; } }

/* Pointer tilt with a moving glare */
[data-tilt]{transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .7s cubic-bezier(.2,.8,.2,1),box-shadow .5s}
[data-tilt].is-tilting{z-index:1;transition-duration:.15s,.5s;box-shadow:0 34px 60px -26px #000d}
.glare{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;transition:opacity .45s;background:radial-gradient(circle at var(--gx,50%) var(--gy,50%),#fff7e055,#fff7e000 58%);mix-blend-mode:overlay}
.is-tilting .glare{opacity:1}
.class-card .glare{transform:translateZ(2px)}
.class-card.is-tilting img{transform:translate3d(0,-8%,72px) scale(1.07)}
.class-card.is-tilting div{transform:translateZ(84px)}

.is-still{scroll-behavior:auto}
.is-still .relic,.is-still .scene-pause{display:none}
.is-still .form-figure,.is-still .scene-video{transition:none}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
}

.journey {
  --window-height: max(560px, calc(100svh - var(--header)));
  --magic: #f4dea1;
  --form-glow: #629b73;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #14291f;
}
.journey-window {
  position: sticky;
  top: var(--header);
  height: var(--window-height);
  overflow: clip;
  isolation: isolate;
  pointer-events: none;
}
.valley, .clearing, .journey-shade, .journey-halo {
  position: absolute;
  inset: 0;
}
.valley img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 56%;
  transform: translate3d(calc(var(--px, 0) * -7px), var(--valley-travel, 0px), 0) scale(var(--camera-scale, 1.03));
  transform-origin: 70% 57%;
}
/* The Druid stage: the valley gives way to the dark forest clearing so the rune light and crystals glow. */
.journey-window .clearing {
  inset: -13%;
  opacity: var(--clearing-opacity, 0);
  background: linear-gradient(90deg, #111c17f5 1%, #121e19b5 48%, #15271d61 100%), linear-gradient(0deg, #0c1713cf, transparent 55%), url("assets/druid-bg.webp") center / cover;
  transform: translate3d(calc(var(--px, 0) * 18px), calc(var(--druid-bg-offset, 0px) + var(--py, 0) * 12px), 0) scale(var(--druid-bg-scale, 1));
}
.journey-window .druid-motes { z-index: auto; opacity: var(--clearing-opacity, 0); }
.journey-shade {
  background: linear-gradient(90deg, #071c19eb 0%, #102822be 22%, #17392c6b 42%, transparent 67%), linear-gradient(0deg, #0b1b17e6, transparent 27%);
  /* The clearing brings its own shading, so ease this off on the stage. */
  opacity: calc(1 - var(--stage-mix, 0) * .6);
}
.journey-halo {
  background: radial-gradient(ellipse at 75% 54%, #ffecab29, transparent 35%);
  opacity: calc(.3 + var(--clearing-opacity, 0) * .7);
}
/* The art keeps its big hero box; main.js measures .druid-slot and sets --stage-tx/--stage-ty/--stage-s
   so that, as --stage-mix reaches 1, the art lands exactly in the stage's right-hand column. */
.journey .druid-art {
  position: absolute;
  left: 50%;
  right: 0;
  bottom: 5%;
  height: 87%;
  transform-origin: 0 0;
  transform:
    translate3d(calc(var(--guide-travel, 0px) + var(--stage-mix, 0) * var(--stage-tx, 0px)), calc(var(--guide-rise, 0px) + var(--stage-mix, 0) * var(--stage-ty, 0px)), 0)
    scale(calc(1 + var(--stage-mix, 0) * (var(--stage-s, 1) - 1)));
}
.journey .sigil {
  opacity: var(--clearing-opacity, 0);
}
.journey .relic {
  opacity: calc(.75 + .25 * var(--clearing-opacity, 0));
}
.journey { --crystal-color: #63efaa; }
.journey[data-form="wolf"] { --crystal-color: #53bdff; }
.journey[data-form="raptor"] { --crystal-color: #ffbd43; }
.crystal-orbit {
  position: absolute;
  inset: 0 3% 7%;
  pointer-events: none;
}
.crystal-orbit i {
  position: absolute;
  left: 15%;
  top: 58%;
  width: clamp(13px, 2vw, 33px);
  aspect-ratio: .6;
  filter: drop-shadow(0 1px 2px #10222c) drop-shadow(0 0 5px var(--crystal-color));
}
.crystal-orbit i::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0, 100% 48%, 50% 100%, 0 48%);
  background: var(--crystal-color);
  background: conic-gradient(from 0deg at 50% 48%,
    #f2ffff 0 90deg, var(--crystal-color) 90deg 180deg,
    color-mix(in srgb, var(--crystal-color), #071b38 52%) 180deg 270deg,
    var(--crystal-color) 270deg 360deg);
}
.crystal-orbit i:nth-child(2) { left: 79%; top: 40%; animation-delay: -3s; }
.crystal-orbit i:nth-child(3) { left: 52%; top: 70%; animation-delay: -6s; }
.is-motion .crystal-orbit i {
  animation-name: crystal-drift;
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
@keyframes crystal-drift {
  0%, 100% { transform: translate(-7px, -4px) rotate(-8deg); }
  50% { transform: translate(9px, 6px) rotate(10deg); }
}
.journey.has-rendered-crystals .journey-window .crystal-orbit,
.still-crystals { display: none; }
html:not(.is-motion) .still-crystals {
  display: block;
  position: absolute;
  inset: 6% 1% 5% 50%;
  pointer-events: none;
}
.journey[data-form="wolf"] { --magic: #c4e3ff; --form-glow: #3686a3; }
.journey[data-form="raptor"] { --magic: #ffe49c; --form-glow: #8d9c4b; }
.journey .hero, .journey .druid-stage {
  background: transparent;
  min-height: var(--window-height);
}
.journey .hero { isolation: auto; }
.is-motion .journey .hero { margin-top: calc(0px - var(--window-height)); }
.journey .hero-inner, .journey .hero-caption { position: relative; z-index: 1; }
.journey .hero-caption { position: absolute; }
.journey .hero-inner { padding-block: 56px 95px; }
.journey .hero-copy { transform: none; opacity: 1; max-width: min(43vw, 42rem); }
.journey .hero h1 {
  font-size: clamp(3.8rem, 7.5vw, 8rem);
  line-height: .94;
  letter-spacing: -.065em;
  margin: .15em 0 .25em;
}
.journey .hero-intro { max-width: 29rem; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.journey .hero-actions { align-items: center; gap: 20px; }
.journey .hero-actions .scene-link { margin: 0; }
.journey .hero-caption { border-top: 1px solid #f3d69c52; padding-top: 13px; }
/* Stage layout from the first version: copy on the left, the art's column on the right. */
.journey .druid-layout { display: grid; grid-template-columns: minmax(310px, .85fr) minmax(0, 1.15fr); align-items: center; gap: 20px; }
.journey .druid-copy { max-width: min(45vw, 34rem); }
.druid-slot { position: relative; height: clamp(380px, min(43vw, 100svh - var(--header) - 220px), 590px); pointer-events: none; }
html:not(.is-motion) .druid-slot .form-caption { display: none; }
/* The caption beside the art names the form, so the line in the copy is kept for screen readers only. */
.is-motion .journey .current-form { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.current-form { font: 600 1.3rem var(--display); color: var(--magic); margin-top: 15px; }
.journey .druid-progress::after { background: linear-gradient(to right, transparent 29.8%, var(--night) 29.8% 30.2%, transparent 30.2% 64.8%, var(--night) 64.8% 65.2%, transparent 65.2%); }
.journey .hero-inner, .journey .hero-caption { opacity: var(--hero-fade, 1); }
.journey .druid-progress { bottom: 5%; }
.showcase-player iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.showcase-external { display: inline-block; margin: .75rem 1rem; color: var(--gold); }
.arena-film {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(325px, 45vw, 660px);
  overflow: clip;
  background: #37291f;
}
.arena-film::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, #172520, #241e1638 52%, transparent 80%, #14291f), linear-gradient(90deg, #161a15a8, transparent 72%);
}
.arena-copy { padding-block: clamp(35px, 5.5vw, 82px); }
.arena-copy h2 { font-size: clamp(2.8rem, 6.5vw, 6.5rem); margin: .12em 0 .22em; }
.film-play { display: inline-flex; align-items: center; gap: 11px; color: var(--ivory); font-weight: 800; text-decoration: none; }
.film-play svg { width: 42px; height: 42px; padding: 9px; border: 1px solid var(--gold); border-radius: 50%; }
.film-play span { color: var(--gold); font-variant-numeric: tabular-nums; font-size: .875rem; }
.film-play:hover { color: var(--gold); }

.class-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border: 0;
  background: linear-gradient(#112320, #193535 48%, #192623);
}
.class-section::before {
  content: "";
  position: absolute;
  inset: -12% 0;
  z-index: -1;
  background: url("assets/druid-bg.webp") center / cover;
  opacity: .26;
  mask-image: linear-gradient(transparent 8%, black 40% 62%, transparent 91%);
  transform: translateY(calc((var(--class-progress, .5) - .5) * 64px));
}
.class-track { background: #192623; overflow-anchor: none; }
.class-track.is-pinned::after {
  content: "";
  display: block;
  height: calc(var(--job-count) * clamp(220px, 34svh, 330px));
}
.class-track.is-pinned .class-section {
  position: sticky;
  top: var(--class-sticky, var(--header));
  min-height: calc(100svh - var(--header));
  padding-block: clamp(18px, 4svh, 48px);
  display: grid;
  align-content: center;
}
.job-roster { display: grid; gap: clamp(24px, 5vw, 64px); }
.job-card {
  --crystal-color: #72e9af;
  display: grid;
  align-items: center;
  grid-template: "description portrait" auto / minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 20px;
  padding-block: 16px;
  border-bottom: 1px solid #c2b18c40;
}
.job-card[data-job="archer"] { --crystal-color: #b8e979; }
.job-card[data-job="swordman"] { --crystal-color: #f2a07c; }
.job-card[data-job="mage"] { --crystal-color: #bb9aff; }
.job-card[data-job="thief"] { --crystal-color: #e286ba; }
.job-card[data-job="merchant"] { --crystal-color: #ffcb64; }
.job-card[data-job="acolyte"] { --crystal-color: #8adbea; }
.job-card[data-job="gunslinger"] { --crystal-color: #73b2ff; }
.class-track.is-pinned .job-layout {
  display: grid;
  grid-template: "title portrait" auto "picker portrait" auto "description portrait" auto / minmax(0, 1fr) minmax(0, 1.05fr);
  align-content: center;
  column-gap: clamp(2rem, 5vw, 6rem);
}
.is-pinned .job-roster, .is-pinned .job-card { display: contents; }
.is-pinned .job-card .job-portrait {
  visibility: hidden;
  opacity: 0;
  transform: perspective(1000px) translateX(8%) rotateY(-18deg) scale(.91);
  transition: transform .5s ease-out, opacity .32s ease-out, visibility 0s .5s;
}
.is-pinned .job-card.has-passed .job-portrait {
  transform: perspective(1000px) translateX(-8%) rotateY(18deg) scale(.91);
}
.is-pinned .job-card.is-current .job-portrait {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.is-pinned .job-card:not(.is-current) .job-description { visibility: hidden; }
.job-portrait .crystal-orbit { display: none; }
.is-pinned .job-card.is-current .crystal-orbit { display: block; }
.job-title { grid-area: title; align-self: end; }
.job-title h2 { margin: .18em 0 .5em; }
.job-guide { margin: -.35rem 0 1rem; color: #dbdfd4; font-size: .875rem; }
.job-guide span { margin-inline: .25rem; color: var(--gold); }
.job-guide a { color: var(--gold); text-underline-offset: 3px; }
.job-picker {
  grid-area: picker;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.job-picker button {
  padding: .65rem .25rem;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--ivory);
  border: 1px solid #adad8f70;
  background-color: #11201e;
}
.job-picker button:hover { border-color: var(--gold); }
.job-picker button[aria-pressed="true"] { color: #263125; background: var(--gold); border-color: var(--gold); }
.job-description { grid-area: description; align-self: start; margin-top: 23px; border-left: 2px solid #c4ae7c; padding-left: 18px; min-height: 8.5rem; }
.job-description span { color: var(--crystal-color); font-size: .875rem; font-weight: 700; }
.job-description h3 { font-size: clamp(1.9rem, 3vw, 3rem); margin-bottom: 6px; }
.job-description p { color: #deded1; max-width: 31rem; }
.job-portrait {
  --portrait-height: clamp(265px, min(39vw, 64svh), 540px);
  grid-area: portrait;
  align-self: center;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: var(--portrait-height);
  background: radial-gradient(ellipse, #9fb69a2b, transparent 68%);
}
.job-portrait::before {
  content: "";
  z-index: -1;
  position: absolute;
  width: min(75%, 370px, var(--portrait-height) * .85);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #e6cfa95c;
  outline: 1px dashed #c1b88853;
  outline-offset: 12px;
}
.job-portrait::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(75%, 370px, var(--portrait-height) * .85);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 15deg, #e6cfa99e 0deg 1deg, transparent 1deg 15deg);
  mask-image: radial-gradient(closest-side, transparent 91%, black 92%);
  transform: rotate(calc(var(--class-progress, 0) * 250deg));
}
.job-portrait img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 18px 22px #06151080); }
.is-pinned .job-portrait img { transform: translateY(calc((.5 - var(--class-progress, .5)) * 24px)); }
.hero .eyebrow, .hero .hero-intro, .hero .hero-actions, .hero .hero-note, .hero .hero-caption { animation: none; }

@media (max-width: 760px) {
  .journey { --window-height: max(570px, calc(100svh - var(--header))); }
  .journey-window { top: min(var(--header), calc(100svh - var(--window-height))); }
  .journey .druid-art { left: 21%; right: 0; top: 0; bottom: auto; height: 52%; }
  .journey .druid-layout { display: block; }
  .druid-slot { display: none; }
  .is-motion .journey .current-form { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .journey-window .clearing { background: linear-gradient(0deg, #111c17f2 8%, #121e19b0 45%, #15271d40 100%), url("assets/druid-bg.webp") center / cover; }
  .valley img { object-position: 66% 50%; }
  .journey-shade { background: linear-gradient(to top, #0b1d18 0%, #102820f5 19%, #142e24d9 36%, #213a2855 50%, transparent 67%); }
  .journey .hero-inner { align-self: end; padding-block: 43svh 75px; }
  .journey .hero-copy, .journey .druid-copy { max-width: 34rem; }
  .journey .hero h1 { font-size: clamp(2.9rem, 10.5vw, 4.8rem); }
  .journey .hero h1 br { display: none; }
  .journey .hero h1 em::before { content: " "; }
  .journey .hero-actions { gap: 13px; margin-top: 13px; }
  .journey .hero-caption { bottom: 12px; padding-top: 8px; }
  .journey .druid-stage { align-items: end; }
  .journey .druid-copy { padding-block: 40svh 42px; }
  .journey .current-form { margin-top: 8px; }
  .journey .druid-progress { bottom: 14px; }
  .world-stop { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .world-frame { height: auto; aspect-ratio: 16/9; }
  .world-copy { padding-block: 16px 12px; }
  .world-copy::before { top: 20px; }
  .world-copy h3 { margin: 6px 0; }
  .world-copy > p:not(.eyebrow) { max-width: 48ch; }
  .class-track.is-pinned .job-layout { grid-template: "title" auto "portrait" auto "description" auto "picker" auto / minmax(0, 1fr); gap: 9px; }
  .class-track.is-pinned .class-section { padding-block: 12px; }
  .job-card { grid-template: "portrait" auto "description" auto / minmax(0, 1fr); gap: 8px; }
  .job-portrait { --portrait-height: clamp(142px, 30svh, 320px); }
  .job-description { min-height: 0; margin-top: 0; }
  .job-title h2 { margin-bottom: .22em; }
  .job-guide { margin: 0 0 .45rem; }
}
@media (max-width: 375px) {
  .job-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
html:not(.is-motion) .journey-window { position: absolute; inset: 0 0 auto; margin: 0; --crystal-color: #63efaa; }
html:not(.is-motion) .journey .druid-stage { background: #14291f; }
html:not(.is-motion) .journey .druid-stage::before {
  content: "";
  position: absolute;
  inset: 6% 1% 5% 50%;
  background: var(--still-art, url("assets/human.webp")) center / contain no-repeat;
}
.journey[data-form="wolf"] { --still-art: url("assets/druid-wolf.webp"); }
.journey[data-form="raptor"] { --still-art: url("assets/druid-raptor.webp"); }
html:not(.is-motion) .journey-window .form-figure { opacity: 0; }
html:not(.is-motion) .journey-window .form-human { opacity: 1; filter: none; transform: none; }
@media (max-width: 760px) {
  html:not(.is-motion) .journey .druid-stage::before,
  html:not(.is-motion) .still-crystals { inset: 2% 8% auto; height: 38%; }
}
