/* Extend the existing Roost paint, timber and field-ledger visual language. */
[hidden] { display: none !important; }
.explore-section { background: var(--slough-deep); }
.explore-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.explore-heading h2 span { color: var(--signal-hi); }
.explore-heading .lede { max-width: 39ch; margin-bottom: 8px; }
.atlas { border: 1px solid var(--edge); }
.atlas-picture { position: relative; background: var(--plank); }
.atlas-picture > img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; }
.atlas-label { position: absolute; top: 20px; left: 20px; color: var(--paper); background: var(--slough); font: 700 .875rem var(--ledger); padding: 9px 12px; letter-spacing: .06em; }
.map-pins { position: absolute; inset: 0; }
.map-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; padding: 0 12px 0 0; min-height: 46px; border: 1px solid var(--paper); color: var(--paper); background: var(--slough); cursor: pointer; box-shadow: 0 4px 18px #0008; font: 700 .875rem var(--ledger); transition: background .15s, color .15s; }
.map-pin span { display: grid; place-items: center; align-self: stretch; min-width: 44px; margin-right: 10px; background: var(--paper); color: var(--slough); }
.map-pin[aria-pressed="true"] { color: var(--slough); background: var(--drift); border-color: var(--drift); }
.map-pin[aria-pressed="true"] span { background: var(--drift); border-right: 1px solid var(--drift-dim); }
.map-pin:hover { border-color: var(--drift); }
.map-pin:focus-visible, .mission-choice:focus-visible, .mission-reset:focus-visible { outline: 3px solid var(--drift-hi); outline-offset: 5px; }
.atlas-bottom { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--plank); }
.place-detail { padding: clamp(22px, 4vw, 40px); border-top: 4px solid var(--drift); }
.place-detail .plate { margin-bottom: 13px; }
.place-detail h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 15px; }
.place-detail > p:not(.plate) { max-width: 58ch; min-height: 5em; }
.atlas-note { align-self: center; padding: 32px; border-left: 1px solid var(--edge); color: var(--muted); }
.atlas-note .stencil { color: var(--signal-hi); margin-bottom: 15px; }
.atlas-note .ledger { font-size: .875rem; }
.map-fallback { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 20px; }
.scene-feature { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--hair); margin: 36px 0 0; background: var(--plank); }
.scene-feature > img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.scene-feature figcaption { padding: clamp(24px, 4vw, 48px); align-self: center; }
.scene-feature h3 { font-size: clamp(30px, 3.4vw, 46px); margin: 14px 0 18px; }
.scene-feature p:last-child { margin-bottom: 0; }
.mission-section { background: var(--slough-deep); scroll-margin-top: 85px; }
.mission { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--edge); background: var(--plank); }
.mission-art { position: relative; min-height: 650px; overflow: hidden; }
.mission-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.mission-art::after { content: ''; position: absolute; inset: 20% 0 0; background: linear-gradient(transparent, #0c100ee8); pointer-events: none; }
.mission-art > div { position: absolute; bottom: 0; left: 0; right: 0; padding: clamp(26px, 3.5vw, 46px); z-index: 1; }
.mission-art .stencil { display: inline-block; padding: 7px 10px; background: var(--slough); color: var(--drift-hi); margin-bottom: 18px; }
.mission-art .display { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.08; max-width: 10ch; margin: 0; }
.mission-body { padding: clamp(24px, 4vw, 46px); min-width: 0; }
.mission-body > h2 { font-size: clamp(30px, 3.6vw, 45px); }
.mission-intro { color: var(--muted); margin: 16px 0 25px; }
.mission-meter { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--edge); color: var(--signal-hi); font: .875rem var(--ledger); }
[data-question] { font: 600 1.22rem/1.45 var(--body); margin: 15px 0 20px; }
.mission-choices { display: grid; gap: 10px; }
.mission-choice { display: flex; gap: 12px; align-items: center; text-align: left; padding: 13px 16px; width: 100%; min-height: 58px; font: 1rem/1.4 var(--body); color: var(--paper); background: var(--slough); border: 1px solid var(--edge); cursor: pointer; }
.choice-letter { font: 700 .875rem var(--ledger); color: var(--drift-hi); border-right: 1px solid var(--edge); padding-right: 12px; }
.mission-choice:hover { background: var(--plank-hi); border-color: var(--paper); }
.mission-choice[data-result="correct"] { border-color: var(--signal-hi); background: #2c3e26; }
.mission-choice[data-result="retry"] { border-color: var(--drift); }
.mission-choice[aria-disabled="true"] { cursor: default; }
.mission-feedback:not(:empty) { margin: 18px 0; padding: 14px 17px; border-left: 3px solid var(--drift); background: var(--slough); font-size: 1rem; }
.mission-feedback[data-kind="correct"] { border-color: var(--signal-hi); }
.mission-storage, .mission-disclaimer { font: .875rem/1.5 var(--ledger); color: var(--muted); margin: 20px 0 0; }
.mission-disclaimer { padding-top: 16px; border-top: 1px solid var(--hair); }
.mission-reset { display: block; background: none; color: var(--paper); border: 0; text-decoration: underline; font: 1rem var(--body); padding: 12px 0; margin-top: 10px; cursor: pointer; min-height: 44px; }
.earned-stamp { display: inline-block; color: var(--signal-hi); border: 3px double var(--signal-hi); padding: 15px 22px; font: 700 1rem/1.5 var(--ledger); text-align: center; letter-spacing: .12em; transform: rotate(-4deg); margin: 24px 0 32px; }
.mission-jump { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; }
.mission-jump::before { content: '▶'; font-size: .75em; }
.field-stamp { display: block; font: .8rem var(--ledger); color: var(--signal-hi); margin-top: 10px; }
.hero .hero-copy { max-width: 650px; }
.hero .hero-scrim { background: linear-gradient(90deg, #0c100ef5 0%, #0c100edb 27%, #0c100e55 54%, #0c100e08 80%), linear-gradient(0deg, #121714b0, transparent 40%); }
.hero .under { max-width: 44ch; }
.hero .hero-in { min-height: 720px; }
.hero .hero-copy h1 { font-size: clamp(44px, 5.2vw, 76px); }
.explore-teaser { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding: 24px var(--gut); max-width: 1240px; margin: 0 auto; font: 1rem var(--ledger); }
.explore-teaser > span { color: var(--muted); }
.explore-teaser a { color: var(--drift-hi); }
@media (max-width: 1000px) {
  .mission { grid-template-columns: .75fr 1fr; }
  .mission-art .display { font-size: 44px; }
  .map-pin b { font-size: .8rem; }
}
@media (max-width: 760px) {
  .explore-heading, .atlas-bottom, .scene-feature, .mission { grid-template-columns: 1fr; }
  .explore-heading { gap: 18px; }
  .atlas-note { border-left: 0; border-top: 1px solid var(--edge); padding: 24px; }
  .atlas-label { font-size: .75rem; top: 10px; left: 10px; }
  .map-pin { padding-right: 0; min-height: 44px; min-width: 44px; }
  .map-pin span { margin-right: 0; }
  .map-pin b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .place-detail > p:not(.plate) { min-height: 0; }
  .mission-art { min-height: 310px; }
  .mission-art > img { object-position: center 58%; }
  .mission-art .display { max-width: 17ch; font-size: clamp(32px, 7vw, 44px); }
  .scene-feature > img { min-height: 0; height: auto; }
  .hero .hero-in { min-height: 790px; align-items: end; padding-top: 260px; }
  .hero .hero-scrim { background: linear-gradient(0deg, #0c100efa 0%, #0c100ee0 45%, #0c100e00 90%); }
  .hero .hero-img img { object-position: 62% 12%; }
  .explore-teaser { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin { transition: none; }
}
