@font-face { font-family: Fraunces; src: url('assets/fonts/fraunces-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Fraunces; src: url('assets/fonts/fraunces-italic.ttf') format('truetype'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('assets/fonts/dm-sans-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('assets/fonts/dm-sans-semibold.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }

:root {
  --pine: #142820;
  --deep: #0c1b17;
  --mist: #0d2424;
  --gold: #c6a26c;
  --sun: #e9bc73;
  --cream: #f8f1df;
  --muted: #b9c1ad;
  --serif: Fraunces, Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; }
/* Hide the page scrollbar without disabling scrolling. */
html, body { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
body { margin: 0; background: var(--pine); color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, em { font-weight: 400; }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
[hidden] { display: none !important; }
.content-width { width: min(1240px, calc(100% - 128px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 15px; background: var(--cream); color: var(--pine); }
.skip-link:focus { top: 15px; }

/* A black opening fade gives way to a lighter cloud canopy on scroll. */
.site-header {
  --cloud-height: 240px;
  position: fixed; top: 0; left: 0; z-index: 30; isolation: isolate;
  width: 100%; height: 112px; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header::before {
  content: ''; position: absolute; inset: 0 0 auto; z-index: -1;
  height: calc(100% + 72px); pointer-events: none;
  background: linear-gradient(180deg, #000000f5 0%, #000000d9 36%, #00000066 65%, transparent 100%);
  transition: opacity .45s ease;
}
.site-header.is-scrolled::before { opacity: .7; }
.header-clouds {
  position: absolute; inset: 0 0 auto; z-index: -2;
  height: calc(var(--cloud-height) + 36px); overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity .45s ease;
}
.site-header.is-scrolled .header-clouds { opacity: .5; }
/* Bleed the artwork past the viewport so its transparent sides stay offscreen. */
.header-clouds::before, .header-clouds::after {
  content: ''; position: absolute; inset: 0 -12% auto; height: var(--cloud-height);
  background: url('assets/header-clouds.webp') center top / 100% 100% no-repeat;
}
.header-clouds::before { z-index: -1; filter: brightness(.85) saturate(.85); }
.header-clouds::after { z-index: -2; opacity: .24; transform: translateY(6px); filter: blur(8px) brightness(.8); }
.brand { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.brand-mark, .brand-wordmark {
  display: block; flex-shrink: 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.brand-mark {
  width: 53px; height: 57px; background-color: var(--gold);
  -webkit-mask-image: url('assets/forged-acorn-mark.webp');
  mask-image: url('assets/forged-acorn-mark.webp');
}
.brand-wordmark {
  width: 143px; height: 43px; background-color: var(--cream);
  -webkit-mask-image: url('assets/forged-acorn-wordmark.webp');
  mask-image: url('assets/forged-acorn-wordmark.webp');
}
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: 20px; }
.main-nav a { position: relative; font-size: 13px; padding: 14px 0; color: #edeedfdb; }
.main-nav a::after { position: absolute; content: ''; bottom: 4px; left: 0; height: 1px; width: 0; background: var(--sun); transition: width .2s; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { width: 100%; }
.header-link { font-size: 12px; letter-spacing: .4px; border: 1px solid #ddcda45e; padding: 13px 19px; display: flex; gap: 24px; align-items: center; }
.header-link:hover { border-color: var(--sun); background: #e9bc7312; }
.header-link span { font-size: 18px; }
.menu-toggle { display: none; }

/* The opening scene uses original artwork, with live, selectable text. */
.hero { position: relative; min-height: 810px; height: min(960px, 100svh); isolation: isolate; overflow: hidden; background: #15271e; }
.hero-art, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-art { background-image: url('assets/woodland.webp'); background-size: cover; background-position: 65% 58%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #081a14a3, #0b1b142b 48%, transparent 72%), linear-gradient(0deg, #091d16a6, transparent 27%, transparent 75%, #0c1c1761); }
.hero-content { padding-top: 182px; margin-left: max(7%, calc((100vw - 1210px)/2)); max-width: 660px; }
.eyebrow { text-transform: uppercase; font-size: 10px; letter-spacing: 2.6px; font-weight: 600; line-height: 1.6; }
.hero-eyebrow { color: var(--sun); display: flex; align-items: center; gap: 12px; margin-bottom: 27px; }
.little-star { font-size: 18px; font-weight: 400; }
.hero h1 { font-family: var(--serif); font-size: clamp(72px, 7.1vw, 110px); line-height: .96; letter-spacing: -4.5px; text-shadow: 0 3px 32px #0b221938; }
.hero h1 em { color: var(--sun); }
.title-last { white-space: nowrap; }
.hero-description { font-size: 15px; line-height: 1.7; margin-top: 27px; color: #f0ead9db; letter-spacing: .15px; }
.button { display: inline-flex; align-items: center; gap: 40px; padding: 18px 23px; font-size: 12px; font-weight: 600; letter-spacing: .2px; transition: background .2s, transform .2s; }
.button span { font-size: 21px; line-height: 1; }
.button-gold { background: var(--sun); color: #17251a; margin-top: 27px; box-shadow: 4px 4px 0 #12291f80; }
.button-gold:hover { background: #f4d39b; transform: translateY(-3px); }
.scroll-cue { position: absolute; bottom: 60px; left: 7%; display: flex; gap: 14px; align-items: center; font-family: var(--serif); font-style: italic; font-size: 15px; color: #efe9d6c9; }
.scroll-line { display: block; width: 1px; height: 35px; background: #ebd6a87a; position: relative; }
.scroll-line::after { content: ''; position: absolute; bottom: 0; left: -2px; width: 5px; height: 5px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); }
.woodland-discovery { position: absolute; right: 5%; bottom: 66px; }
.discovery-toggle { background: transparent; color: #f6e3b7; font-family: var(--serif); font-style: italic; font-size: 16px; padding: 10px 0; display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 10px #000; }
.discovery-toggle > span { font-size: 24px; }
.discovery-note { position: absolute; bottom: 60px; right: 0; width: 290px; padding: 26px 33px 26px 25px; background: #132d28; color: var(--cream); border: 1px solid #c6a26c75; box-shadow: 0 8px 30px #03100c80; transform: rotate(-2deg); }
.discovery-note .eyebrow { font-size: 8px; letter-spacing: 1.8px; }
.discovery-note p { font: 19px/1.45 var(--serif); margin-top: 10px; }
.note-close { position: absolute; top: 4px; right: 7px; background: transparent; font-size: 24px; width: 32px; height: 32px; }
.scene-fade { position: absolute; bottom: -1px; left: 0; width: 100%; height: 85px; background: linear-gradient(transparent, var(--mist)); pointer-events: none; }

/* Woodland mist connects the illustrated scenes and studio sections. */
.mystic-surface {
  background-color: var(--mist); color: var(--cream);
  background-image: linear-gradient(180deg, var(--mist), #0d242400 var(--surface-fade-top, 22%), #0d242400 75%, var(--mist)), linear-gradient(#0d242421, #0d242421), url('assets/enchanted-woodland.webp');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.game-section { padding-top: 0; scroll-margin-top: 40px; background-color: var(--mist); }
.game-intro, .team-section {
  background-image: linear-gradient(180deg, var(--mist), #0d242400 35%, #0d242400 65%, var(--mist)), radial-gradient(ellipse at 12% 55%, #52705c24, transparent 65%), radial-gradient(ellipse at 90% 65%, #34514a38, transparent 65%);
}
.section-intro { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding-block: 46px 42px; }
.game-intro-copy { position: relative; z-index: 1; }
.chapter-note { justify-self: end; padding-right: 14px; text-align: center; }
.chapter-invitation { font: italic 20px/1.55 var(--serif); color: #c7c9a7; }
.chapter-note .ornament-rule { width: 148px; height: 14px; margin: 18px auto 0; opacity: .8; }
.section-intro h2, .about-copy h2, .team-intro h2 { font: clamp(42px, 4.3vw, 65px)/1.1 var(--serif); letter-spacing: -2px; }
.mystic-surface h2 { color: #ebd29a; text-shadow: 0 2px 22px #020c0a40; }
.section-lead { margin-top: 14px; font: italic 24px/1.45 var(--serif); color: #c4ccb2; text-wrap: pretty; }
.realm-feature { position: relative; min-height: clamp(660px, 43vw, 960px); width: 100%; display: flex; align-items: center; isolation: isolate; overflow: hidden; background: var(--mist); }
.realm-feature::before, .realm-feature::after { content: ''; position: absolute; left: 0; right: 0; z-index: -1; height: 70px; pointer-events: none; }
.realm-feature::before { top: -1px; background: linear-gradient(var(--mist), transparent); }
.realm-feature::after {
  bottom: -1px; height: clamp(180px, 17vw, 270px);
  background: linear-gradient(180deg, #0d242400 0%, #0d24240d 15%, #0d242433 34%, #0d242480 56%, #0d2424d9 80%, var(--mist) 100%);
}
.realm-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; }
.realm-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, transparent 20%, #0d241d16 44%, #0c241dba 66%, #0c241de6 100%); }
.realm-content { margin-left: 61%; width: 32%; padding: 81px 0 85px; color: var(--cream); }
.realm-content .eyebrow { color: var(--sun); font-size: 9px; letter-spacing: 2.3px; }
.realm-content h3 { font: clamp(58px, 6.2vw, 94px)/.97 var(--serif); letter-spacing: -3px; margin: 24px 0 27px; }
.realm-content h3 em { color: var(--sun); }
.ornament-rule { width: 190px; height: 20px; display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--gold); }
.ornament-rule::before, .ornament-rule::after { content: ''; height: 1px; flex: 1; background: #c6a26c70; }
.ornament-rule span { font-size: 12px; }
.realm-description { font-size: 14px; line-height: 1.9; color: #e1e6d7d4; max-width: 320px; }
.text-link { display: inline-flex; align-items: center; gap: 36px; padding: 12px 0 10px; background: none; border-bottom: 1px solid #c6a26c8a; color: var(--sun); font-size: 12px; letter-spacing: .3px; margin-top: 28px; text-align: left; }
.text-link span { font-size: 23px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.art-caption { position: absolute; bottom: 25px; left: 30px; color: #e9e7d3c4; text-transform: uppercase; font-size: 8px; letter-spacing: 1.8px; }
.game-bottom { height: 104px; display: flex; align-items: center; justify-content: center; gap: 35px; font: italic 14px var(--serif); color: #b7c1a8; }
.game-bottom .game-bottom-mark { width: 42px; height: 42px; opacity: .85; }

.about-section { --surface-fade-top: 220px; padding: 98px 0 102px; }
.about-layout { display: grid; grid-template-columns: 1fr 1.45fr; align-items: center; gap: 8%; }
.studio-identity { width: min(355px, 100%); margin: auto; text-align: center; }
.studio-seal { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(ellipse at 38% 30%, #3653419c, #112b24d9 70%); color: #d9ba7f; box-shadow: 0 0 80px #d7b76e12, 0 15px 50px #04100d66; }
.seal-frame { display: block; width: 100%; height: auto; overflow: visible; }
.seal-rim, .seal-inner-rim, .seal-halo, .seal-rule { fill: none; stroke: currentColor; }
.seal-rim { stroke-width: 1; }
.seal-inner-rim { stroke-width: .6; opacity: .55; }
.seal-halo { stroke-width: .6; opacity: .22; }
.seal-rule { stroke-width: .65; opacity: .6; }
.seal-frame text, .seal-diamonds { fill: currentColor; }
.seal-motto { font: 10.5px var(--sans); letter-spacing: 2.3px; }
.seal-name { font: 21px var(--serif); letter-spacing: 1.5px; }
.seal-date { font: 10px var(--sans); letter-spacing: 2.2px; }
.studio-seal .studio-seal-mark { position: absolute; top: 25.5%; left: 28%; width: 44%; height: 44%; background-color: #cfb27b; }
.about-copy h2 { font-size: clamp(39px, 3.8vw, 57px); letter-spacing: -2px; }
.studio-description { font-size: 14px; line-height: 1.95; color: #c5cdbd; margin-top: 26px; max-width: 540px; }
.studio-link { color: var(--sun); margin-top: 24px; border-color: #c6a26c80; }
/* A compact studio roster pairs each person with a small gilded emblem. */
.team-section { position: relative; isolation: isolate; overflow: hidden; padding: 12px 0 104px; }
.team-section::before, .team-section::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: clamp(52px, 11vw, 190px); pointer-events: none; z-index: 0;
  background: url('assets/team-stardust.svg') left center / 160px 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 12%, #0009 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 12%, #0009 55%, transparent 100%);
  opacity: .85;
}
.team-section::after { left: auto; right: 0; transform: rotate(180deg); }
.team-layout { position: relative; z-index: 1; border-top: 1px solid #c6a26c33; padding-top: 76px; display: grid; grid-template-columns: .85fr 1fr; gap: clamp(48px, 9vw, 130px); align-items: center; }
.team-intro h2 { font-size: clamp(40px, 3.6vw, 55px); }
.team-intro .section-lead { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.4; margin-top: 22px; }
.team-intro .section-lead span { display: block; }
.team-roster { min-width: 0; }
.team-member { display: flex; align-items: center; gap: 26px; padding: 24px 0; }
.team-member + .team-member { border-top: 1px solid #c6a26c30; }
.member-emblem { position: relative; display: grid; place-items: center; width: 78px; height: 88px; flex-shrink: 0; border: 1px solid #c6a26c5c; border-radius: 50%; color: #d2b57b; background: radial-gradient(ellipse at 40% 30%, #c6a26c14, #c6a26c02 75%); }
.member-emblem::before { content: ''; position: absolute; inset: 5px; border: 1px solid #c6a26c1f; border-radius: inherit; pointer-events: none; }
.member-emblem svg { width: 49px; height: 49px; transform: rotate(-6deg); }
.member-details { min-width: 0; }
.member-details h3 { font: clamp(26px, 2.4vw, 34px)/1.15 var(--serif); letter-spacing: -.6px; }
.member-details p { margin-top: 8px; font-size: 13px; line-height: 1.5; color: #b6c2aa; letter-spacing: .3px; }
.member-photo { overflow: hidden; }
.team-member:has(.member-bio) { align-items: flex-start; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.member-photo::before { z-index: 1; }
.member-details .member-bio { margin-top: 10px; font-size: 14px; line-height: 1.6; letter-spacing: 0; color: #c9d1bf; max-width: 46ch; }

.site-footer { background: linear-gradient(var(--mist), #081a19); position: relative; padding: 69px 0 25px; }
.site-footer::before { position: absolute; content: ''; top: 0; height: 1px; left: 7%; right: 7%; background: linear-gradient(90deg, transparent, #c6a26c5e, transparent); }
.footer-main { display: flex; align-items: center; justify-content: space-between; padding-bottom: 61px; }
.footer-brand .brand-mark { width: 64px; height: 69px; }
.footer-brand .brand-wordmark { width: 171px; height: 51px; }
.footer-main > p { font: 44px/1.05 var(--serif); letter-spacing: -1px; color: #e9e6d2; }
.footer-main > p em { color: var(--sun); }
.back-top { font-size: 11px; display: flex; align-items: center; gap: 20px; color: #c8ccba; }
.back-top span { display: inline-flex; border: 1px solid #a3ac8759; width: 40px; height: 40px; align-items: center; justify-content: center; font-size: 18px; transition: transform .2s; }
.back-top:hover span { transform: translateY(-4px); }
.footer-bottom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; border-top: 1px solid #b5bd9630; padding-top: 12px; color: #a5b19a; font-size: 11px; line-height: 1.5; letter-spacing: .2px; }
.footer-legal { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 18px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: #d8c694; font: 13px/1.4 var(--serif); letter-spacing: 0; text-decoration: underline; text-decoration-color: #c6a26c66; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.footer-legal a:hover { color: var(--cream); text-decoration-color: var(--cream); }
.footer-signature { font: italic 14px var(--serif); }

.art-dialog { padding: 20px; background: var(--deep); color: var(--cream); border: 1px solid #b7a17c6b; width: min(1220px, 94vw); max-height: 92svh; box-shadow: 0 20px 80px #0008; }
.art-dialog::backdrop { background: #071510e8; backdrop-filter: blur(6px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.dialog-top h2 { font: 22px var(--serif); }
.dialog-top h2 span { font: 11px var(--sans); color: var(--muted); }
.dialog-close { background: transparent; display: flex; gap: 15px; align-items: center; font-size: 12px; min-height: 44px; }
.dialog-close span { font-size: 28px; }
.art-dialog > img { width: 100%; height: auto; max-height: calc(92svh - 103px); object-fit: contain; }
.reveal { transition: opacity .7s, transform .7s; }
.reveal.is-pending { opacity: 0; transform: translateY(20px); }

@media (min-width: 1600px) {
  .hero-content { padding-top: 190px; }
  .hero { min-height: 900px; }
}

@media (max-width: 1100px) {
  .content-width { width: calc(100% - 88px); }
  .site-header { padding-inline: 4%; height: 98px; }
  .main-nav { gap: 23px; margin-left: 0; }
  .header-link { gap: 16px; padding: 11px 14px; }
  .hero-content { margin-left: 7%; padding-top: 171px; }
  .hero h1 { font-size: 86px; }
  .chapter-invitation { font-size: 18px; }
  .realm-feature { min-height: 620px; }
  .realm-content { margin-left: 57%; width: 36%; padding-top: 74px; }
  .realm-shade { background: linear-gradient(90deg, transparent 6%, #0d241d55 40%, #0c241dd6 71%); }
  .about-layout { gap: 6%; grid-template-columns: .8fr 1.2fr; }
  .studio-identity { width: min(290px, 100%); }
  .team-layout { gap: 48px; }
  .footer-main > p { font-size: 36px; }
  .footer-brand .brand-wordmark { width: 151px; height: 45px; }
  .footer-legal { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 12px; }
  .footer-legal a { font-size: 12px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 85px; }
  .content-width { width: calc(100% - 44px); }
  .site-header { --cloud-height: 180px; height: 80px; padding: 0 20px; }
  .brand { gap: 10px; }
  .brand-mark { width: 38px; height: 42px; }
  .brand-wordmark { width: 118px; height: 36px; }
  .header-link { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: 13px; background: none; min-height: 44px; padding: 10px 0 10px 12px; font-size: 12px; }
  .menu-lines { display: block; width: 22px; height: 12px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transition: transform .2s; }
  .menu-toggle[aria-expanded=true] .menu-lines { transform: rotate(-45deg); height: 1px; border-bottom: 0; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--pine); border-bottom: 1px solid #c6a26c55; padding: 8px 20px 12px; flex-direction: column; gap: 0; align-items: stretch; max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; }
  .main-nav.is-open { display: flex; }
  .main-nav a { display: flex; align-items: center; min-height: 44px; font-family: var(--serif); font-size: 16px; line-height: 1.4; padding: 8px 4px; }
  .main-nav a::after { display: none; }
  .site-header:has(.main-nav.is-open) { background: var(--pine); }
  .site-header:has(.main-nav.is-open)::before { opacity: 0; }
  .site-header:has(.main-nav.is-open) .header-clouds { opacity: 0; }
  .hero { height: auto; min-height: min(720px, 100svh); padding-bottom: 110px; }
  .hero-art { background-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, #0b241ca6, #0b241c24 95%), linear-gradient(0deg, #091d16a6, transparent 32%, #0c1c1747); }
  .hero-content { padding-top: 128px; margin-inline: 22px; max-width: none; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 1.7px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 56px); letter-spacing: -2px; line-height: 1.02; }
  .title-last { white-space: normal; }
  .hero-description { font-size: 15px; line-height: 1.6; margin-top: 22px; }
  .button { font-size: 12px; padding: 16px 20px; gap: 24px; }
  .hero .button { margin-top: 24px; }
  .scroll-cue { left: 22px; bottom: 36px; min-height: 44px; font-size: 12px; gap: 8px; }
  .woodland-discovery { right: 22px; bottom: 36px; }
  .discovery-toggle { font-size: 13px; gap: 5px; }
  .discovery-toggle > span { font-size: 20px; }
  .discovery-note { width: min(280px, calc(100vw - 44px)); transform: none; }
  .note-close { width: 44px; height: 44px; top: 0; right: 0; }
  .game-section { scroll-margin-top: 60px; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 30px; }
  .chapter-note { justify-self: start; padding: 0; }
  .chapter-invitation { font-size: 17px; }
  .chapter-note .ornament-rule { width: 112px; margin-top: 14px; }
  .eyebrow { font-size: 9px; letter-spacing: 2px; }
  .section-intro h2, .about-copy h2, .team-intro h2 { font-size: clamp(32px, 9vw, 38px); letter-spacing: -1.2px; }
  .section-lead { margin-top: 10px; font-size: 20px; }
  .realm-feature { min-height: 660px; align-items: flex-end; }
  .realm-art { height: 100%; object-position: 32% center; }
  .realm-shade { background: linear-gradient(0deg, #0c241df5 2%, #0c241de8 35%, #0c241d38 69%, #0c241d14); }
  .realm-content { padding: clamp(220px, 60vw, 300px) 22px 64px; margin: 0; width: 100%; }
  .realm-content h3 { font-size: clamp(42px, 12vw, 54px); line-height: 1; letter-spacing: -2px; margin: 18px 0 20px; }
  .realm-content h3 br { display: none; }
  .realm-content h3 em { display: block; }
  .realm-content .eyebrow { font-size: 10px; letter-spacing: 1.8px; }
  .realm-description { max-width: 390px; font-size: 14px; line-height: 1.8; }
  .ornament-rule { width: 140px; margin-bottom: 19px; }
  .text-link { margin-top: 18px; font-size: 12px; gap: 20px; min-height: 44px; max-width: 100%; }
  .art-caption { bottom: 20px; left: 22px; font-size: 9px; letter-spacing: 1.3px; }
  .game-bottom { gap: 14px; min-height: 90px; height: auto; padding-block: 20px; font-size: 12px; text-align: center; }
  .game-bottom > span { max-width: 130px; line-height: 1.5; }
  .game-bottom .game-bottom-mark { width: 36px; height: 36px; flex-shrink: 0; }
  .about-section { --surface-fade-top: 170px; padding: 30px 0 72px; }
  .about-layout { display: flex; flex-direction: column; gap: 38px; }
  .studio-identity { width: min(220px, 64vw, 100%); }
  .about-copy { width: 100%; }
  .studio-description { font-size: 14px; line-height: 1.85; margin-top: 22px; }
  .team-section { padding-bottom: 72px; }
  .team-section::before, .team-section::after { background-size: 110px 100%; opacity: .6; }
  .team-layout { padding-top: 48px; grid-template-columns: 1fr; gap: 24px; }
  .team-intro .section-lead { margin-top: 12px; font-size: 22px; }
  .team-intro .section-lead span { display: inline; }
  .team-member { padding: 22px 0; gap: 20px; }
  .member-emblem { width: 62px; height: 72px; }
  .member-emblem svg { width: 41px; height: 41px; }
  .member-details h3 { font-size: clamp(23px, 6vw, 26px); }
  .member-details p { font-size: 12px; margin-top: 6px; }
  .site-footer { padding-top: 53px; }
  .footer-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 32px; }
  .footer-main > p { font-size: 28px; }
  .footer-brand { justify-self: start; }
  .footer-brand .brand-mark { width: 53px; height: 57px; }
  .footer-brand .brand-wordmark { width: 151px; height: 45px; }
  .back-top { justify-self: start; font-size: 12px; gap: 14px; min-height: 44px; }
  .back-top span { width: 44px; height: 44px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 8px; padding-top: 20px; }
  .footer-legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
  .footer-legal a { font-size: 12px; }
  .dialog-top { gap: 12px; align-items: flex-start; }
  .dialog-top h2 { font-size: 19px; }
  .dialog-top h2 span { display: block; font-size: 9px; margin-top: 7px; }
  .art-dialog { padding: 14px; }
  .dialog-close { font-size: 12px; gap: 8px; flex-shrink: 0; }
}

@media (max-width: 360px) {
  .scroll-cue { font-size: 11px; }
  .discovery-toggle { font-size: 12px; }
}

/* Short landscape screens need their own scale, even above the phone breakpoint. */
@media (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
  html { scroll-padding-top: 84px; }
  .site-header { --cloud-height: 105px; height: 64px; padding-inline: 28px; }
  .site-header::before { height: calc(100% + 40px); }
  .site-header .brand { gap: 10px; }
  .site-header .brand-mark { width: 38px; height: 42px; }
  .site-header .brand-wordmark { width: 118px; height: 36px; }
  .main-nav { max-height: calc(100dvh - 64px); }
  .header-link { padding: 10px 12px; gap: 12px; font-size: 11px; }
  .hero { height: auto; min-height: 100svh; padding-bottom: 80px; }
  .hero-shade { background: linear-gradient(90deg, #081a14b3, #081a1433 45%, #081a1499), linear-gradient(0deg, #091d16a6, transparent 45%, #0c1c1761); }
  .hero-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 28px; max-width: none; margin-inline: 28px; padding-top: 92px; }
  .hero-eyebrow { grid-column: 1 / -1; margin-bottom: 14px; font-size: 10px; letter-spacing: 1.7px; }
  .hero h1 { grid-column: 1; grid-row: 2 / 4; font-size: clamp(38px, 5.2vw, 48px); line-height: 1.02; letter-spacing: -1.6px; }
  .hero-description { grid-column: 2; grid-row: 2; align-self: end; margin: 0; font-size: 14px; line-height: 1.6; }
  .hero .button { grid-column: 2; grid-row: 3; align-self: start; justify-self: start; margin-top: 16px; padding: 14px 18px; gap: 20px; }
  .scroll-cue { left: 28px; bottom: 20px; min-height: 44px; font-size: 12px; }
  .woodland-discovery { right: 28px; bottom: 20px; }
  .discovery-toggle { min-height: 44px; font-size: 13px; }
  .discovery-note { max-height: calc(100svh - 150px); overflow-y: auto; transform: none; }
  .note-close { width: 44px; height: 44px; top: 0; right: 0; }
  .art-dialog { width: min(94vw, calc(160svh - 140px)); padding: 14px; }
  .dialog-top { gap: 12px; }
  .dialog-top h2 { font-size: 19px; }
  .dialog-top h2 span { display: block; font-size: 9px; margin-top: 7px; }
  .dialog-close { font-size: 12px; gap: 8px; flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
