:root {
  color-scheme: dark;
  --ground: #102727;
  --deep: #0c2020;
  --paper: #f5f1e3;
  --muted: #c2cfca;
  --gold: #e5c780;
  --line: #425752;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--paper);
  background: var(--ground);
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, p, ul, ol { margin: 0; }
body { font-size: 1rem; line-height: 1.55; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffe19b; outline-offset: 4px; }
.shell { width: min(76rem, calc(100% - clamp(2.25rem, 9vw, 9rem))); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--deep); transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead { background: var(--deep); border-bottom: 1px solid var(--line); }
.mast-inner, .footer-inner, .brand, nav, figcaption, .eyebrow { display: flex; align-items: center; }
.mast-inner, .footer-inner, figcaption { justify-content: space-between; gap: 1rem; }
.mast-inner { min-height: 4.75rem; }
.brand { gap: .85rem; font: 600 clamp(1rem, 2vw, 1.35rem)/1.2 var(--serif); }
.compass { flex: none; position: relative; width: 1.7rem; height: 1.7rem; border: 1px solid var(--gold); border-radius: 50%; }
.compass::before, .compass::after { content: ""; position: absolute; inset: -.2rem .52rem; background: var(--gold); clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); transform: rotate(25deg); }
.compass::after { inset: .2rem .62rem; transform: rotate(115deg); }
nav { gap: clamp(.8rem, 3vw, 2rem); }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9rem; color: var(--muted); text-decoration: none; }
nav a:hover, footer a:hover { color: var(--gold); text-decoration: underline; }
.hero { background: radial-gradient(ellipse at 78% 30%, #234140, transparent 60%), var(--ground); border-bottom: 1px solid var(--line); }
.hero-inner, .guide { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.hero-inner { align-items: center; padding-block: clamp(2.5rem, 5vw, 5.25rem); }
.intro, .guide section, .field-view { min-width: 0; }
.eyebrow, .caption-meta { color: var(--gold); font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { gap: .8rem; }
.rule { width: 2rem; height: 1px; background: currentColor; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { margin-block: 1.15rem; font-size: clamp(3.1rem, 6.2vw, 6.15rem); letter-spacing: -.045em; line-height: .99; }
.lead { max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); }
.access { margin-top: 1.65rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
label { display: block; font-weight: 650; }
.hint, #status { font-size: .92rem; color: var(--muted); }
.hint { margin-top: .25rem; }
.entry { display: flex; gap: .55rem; margin-top: .85rem; }
.granted { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .8rem; }
input { min-width: 0; flex: 1; border: 1px solid #839790; background: var(--deep); color: var(--paper); padding: .65rem .85rem; border-radius: 3px; }
input::placeholder { color: #b7c4bf; }
.action { display: inline-flex; justify-content: center; align-items: center; gap: 1rem; min-height: 2.95rem; padding: .6rem 1.15rem; border: 1px solid var(--gold); border-radius: 3px; font-weight: 650; color: var(--deep); background: var(--gold); text-decoration: none; }
.action:hover { background: #f4dca6; }
.action:disabled { cursor: wait; opacity: .72; }
.secondary { background: transparent; color: var(--gold); }
.secondary:hover { background: #243d37; }
#status:not(:empty) { margin-block: .6rem; }
.field-view { border: 1px solid #647265; padding: .5rem; background: var(--deep); }
.map-frame { border: 1px solid #52645b; background: #152c2e; }
.map-frame img { display: block; width: 100%; height: auto; }
figcaption { padding: .85rem .55rem .4rem; flex-wrap: wrap; gap: .2rem 1rem; }
figcaption > :first-child { font: 1.15rem/1.3 var(--serif); }
.caption-meta { font-size: .65rem; }
.guide { padding-block: clamp(2rem, 4.5vw, 4.25rem); }
.guide section { scroll-margin-top: 1.5rem; }
h2 { margin-bottom: 1rem; font-size: clamp(1.85rem, 3vw, 2.5rem); letter-spacing: -.035em; line-height: 1.1; }
.guide p, .steps { color: var(--muted); }
.steps { padding-inline-start: 1.45rem; margin-top: 1rem; }
.steps li { padding-inline-start: .45rem; margin-block: .65rem; }
.steps li::marker { color: var(--gold); font-weight: 650; }
code, kbd { font: .92em ui-monospace, Consolas, monospace; color: var(--paper); }
code { white-space: nowrap; }
.films { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.trailer-page { margin-bottom: 1rem; }
.trailer-page a { color: var(--gold); }
.films a { display: flex; gap: .95rem; align-items: center; padding: .9rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.films a:hover { color: var(--gold); background: #193434; }
.play { width: 1.9rem; height: 1.9rem; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid #7d8b76; }
.play::before { content: ""; margin-left: .15rem; border-block: .28rem solid transparent; border-left: .45rem solid var(--gold); }
.arrow { margin-left: auto; color: var(--gold); }
footer { border-top: 1px solid var(--line); background: var(--deep); color: var(--muted); font-size: .9rem; }
.footer-inner { flex-wrap: wrap; padding-block: 1.4rem; }
footer a { margin-inline-start: .35rem; color: var(--paper); overflow-wrap: anywhere; }
@media (max-width: 48rem) {
  .hero-inner, .guide { grid-template-columns: 1fr; }
  .hero-inner { gap: 2rem; }
  .lead { max-width: 55ch; }
  .field-view { width: min(100%, 31rem); justify-self: center; }
}
@media (max-width: 32rem) {
  .mast-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .25rem; padding-block: .9rem .25rem; }
  .entry { flex-direction: column; }
  input { min-height: 2.95rem; }
  footer a { display: block; margin-inline-start: 0; }
}
