/* v2 polish: readable small text, sentence-case labels, one size per role. Loaded after styles.css + valwood.css. */
.eyebrow, .hero-eyebrow, .realm-content .eyebrow, .discovery-note .eyebrow { text-transform: none; font-size: 14px; letter-spacing: .2px; font-weight: 600; }
.art-caption { text-transform: none; font-size: 12px; letter-spacing: .2px; }
.main-nav a { font-size: 14px; }
.header-link { font-size: 14px; }
.button { font-size: 14px; letter-spacing: 0; }
.text-link, .concept-link { font-size: 14px; letter-spacing: 0; }
.hero-description { font-size: 17px; line-height: 1.6; max-width: 34ch; }
.realm-description { font-size: 15px; line-height: 1.8; }
.footer-bottom { font-size: 13px; }
.button-gold:hover { transform: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
@media (max-width: 760px) {
  .eyebrow, .hero-eyebrow, .realm-content .eyebrow { font-size: 13px; letter-spacing: .2px; }
  .button { font-size: 14px; }
  .hero-description { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
.path-traits li, .map-open, .atlas-story-link, .atlas-tools a { font-size: 14px; }
.faction-panel dt { font-size: 13px; }

/* Header: solid once scrolled, so section text no longer shows through the clouds. */
.site-header { transition: background-color .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background-color: #0d2424f2; border-bottom-color: #c6a26c26; }
.site-header.is-scrolled::before, .site-header.is-scrolled .header-clouds { opacity: 0; }

/* Body copy: one readable size for every paragraph. */
.path-copy > p, .faction-panel p, .about-copy p:not(.section-lead) { font-size: 16px; line-height: 1.75; }
.path-traits li { font-size: 14px; }
.member-details p { font-size: 14px; }
.member-details .member-bio { font-size: 15px; }

/* Team: heading on top, members as an even grid of cards instead of a lopsided list. */
.team-layout { grid-template-columns: 1fr; gap: 40px; align-items: start; }
.team-intro .section-lead span { display: inline; }
.team-roster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.team-member { padding: 24px; gap: 20px; border: 1px solid #c6a26c30; border-radius: 12px; background: #0c1b1799; align-items: flex-start; }
.team-member + .team-member { border-top: 1px solid #c6a26c30; }
@media (max-width: 760px) {
  .team-roster { grid-template-columns: 1fr; }
  .team-member { padding: 20px; }
}

/* Concept art gallery: thumbnails under the large picture. */
.art-dialog > img { max-height: calc(92svh - 190px); }
.art-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 3px; }
.art-thumbs button { flex: 0 0 auto; width: 112px; padding: 0; background: none; border: 1px solid #b7a17c6b; opacity: .6; cursor: pointer; }
.art-thumbs button:hover, .art-thumbs button[aria-current] { opacity: 1; }
.art-thumbs button[aria-current] { border-color: var(--sun); }
.art-thumbs img { display: block; width: 100%; height: 63px; object-fit: cover; }
@media (max-width: 760px) { .art-thumbs button { width: 88px; } .art-thumbs img { height: 50px; } }

/* Opening scene: concept art picked at random by the script in index.html (the v1 page keeps the woodland from styles.css). */
.hero-art { background-image: var(--hero-art, url('assets/concept-brandalhall.webp')); background-position: center; }

/* Hierarchy pass (2026-11-24, from the site review):
   one type scale (title > section heading > subtitle > body > small), one strong accent,
   cream for all other text, gold only for lines and borders. */
:root { --sun: #f5a524; }
.button-gold:hover { background: #ffbb4a; }
.mystic-surface h2, .valwood-section-heading h3, .map-dialog-header h2, .guide-intro h1, .guide-chapter > h2,
.footer-main > p, .discovery-toggle { color: var(--cream); }

/* Title: normal tracking, lines sit evenly. */
.hero h1 { letter-spacing: -1.5px; line-height: 1.02; }
.hero h1 em { display: inline-block; padding-right: .04em; }

/* Subtitle level: the hero tagline and realm label read as the step below the title. */
.hero-eyebrow { font: italic 400 26px/1.3 var(--serif); letter-spacing: 0; gap: 14px; margin-bottom: 20px; }
.hero-eyebrow .little-star { font-size: 20px; }
.realm-content .eyebrow { font-size: 16px; }
.section-lead, .team-intro .section-lead { font-size: 24px; }

/* Section level: the game title no longer outsizes the section headings around it. */
.realm-content .valwood-title span { font-size: 28px; }
.realm-content .valwood-title em { font-size: clamp(42px, 4.3vw, 65px); }
.realm-content h3 { letter-spacing: -1.5px; }

/* Body level: one size. */
.hero-description, .realm-description, .studio-description, .path-copy > p, .faction-panel p, .about-copy p:not(.section-lead) { font-size: 17px; line-height: 1.7; }

/* Footer line: one clean centered line between logo and back link. */
.footer-main { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
.footer-main > p { text-align: center; white-space: nowrap; }
.footer-main .back-top { justify-self: end; }

/* Lower sections: subtitles and body use the same levels, small text never below 14px. */
.valwood-section-heading p { font-size: 18px; line-height: 1.6; }
.location-story > p { font-size: 17px; line-height: 1.7; }
.guide-link, .atlas-tools > a, .map-open, .atlas-story-link, .concept-link, .faction-panel dt { font-size: 14px; }

@media (max-width: 760px) {
  .hero h1 { letter-spacing: -1px; }
  .hero-eyebrow { font-size: 20px; margin-bottom: 16px; }
  .hero-eyebrow .little-star { font-size: 16px; }
  .section-lead, .team-intro .section-lead { font-size: 20px; }
  .realm-content .valwood-title span { font-size: 22px; }
  .realm-content .valwood-title em { font-size: clamp(36px, 10vw, 44px); }
  .hero-description, .realm-description, .studio-description, .path-copy > p, .faction-panel p, .about-copy p:not(.section-lead), .location-story > p { font-size: 16px; }
  .valwood-section-heading p { font-size: 16px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .footer-main > p { white-space: normal; text-wrap: balance; }
  .footer-brand, .footer-main .back-top { justify-self: center; }
}
