/* strangefield.adelyons.com (website/web/build_site.py). The approved canvas: near-black ground,
   Oswald display, IBM Plex Mono labels, Inter body, brass and phosphor green. */
:root { --bg: #141210; --bg2: #0F0E0C; --card: #1C1916; --line: #2A2621; --line2: #4A443B; --ink: #EDE6D8; --head: #F4EEE2;
  --mute: #8A8272; --soft: #C9C0B0; --brass: #D9B36A; --brass2: #F0CF86; --green: #8FE3A8; --red: #E0533E;
  --display: Oswald, 'Arial Narrow', sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace; --body: Inter, system-ui, -apple-system, 'Segoe UI', 'Hiragino Sans', 'Noto Sans JP', sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); }
a { color: var(--brass); } a:hover { color: var(--brass2); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--head); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); letter-spacing: .005em; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
main > section.wrap, main > div.wrap, main.wrap > section { margin-bottom: 64px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--bg); padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; }
.mono { font: 500 12px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 0 0 .6em; }
.green { color: var(--green); }
.lead { font-size: 18px; color: var(--soft); }
.fine { font-size: 14px; color: var(--mute); }
.sec-p { color: var(--mute); max-width: 70ch; }
section { margin: 0 0 64px; }

/* the receiver bar */
.bar { background: var(--bg2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.bar .wrap { display: flex; align-items: center; gap: 8px 20px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { border-radius: 7px; }
.brand span { font: 500 20px var(--display); letter-spacing: .12em; text-transform: uppercase; }
.tabs { display: flex; gap: 6px; }
.tabs a { text-decoration: none; color: var(--soft); border: 1px solid var(--line2); padding: 9px 13px; border-radius: 6px; font: 500 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; }
.tabs a[aria-current] { background: var(--brass); color: var(--bg); border-color: var(--brass); }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; font: 500 13px var(--mono); color: var(--soft); border: 1px solid var(--line2); border-radius: 6px; padding: 0 12px; min-height: 44px; display: flex; align-items: center; }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; right: 0; top: 48px; list-style: none; margin: 0; padding: 6px; background: var(--card); border: 1px solid var(--line2); border-radius: 8px; min-width: 200px; }
.langs li a { display: block; padding: 8px 10px; color: var(--ink); text-decoration: none; border-radius: 4px; }
.langs li a:hover, .langs li a[aria-current] { background: var(--line); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px auto 0; padding: 0; font: 12px var(--mono); color: var(--mute); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--mute); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 6px; border: 1px solid var(--line2);
  font: 600 15px var(--body); text-decoration: none; cursor: pointer; background: transparent; color: var(--ink); }
.btn.brass { background: var(--brass); color: var(--bg); border-color: var(--brass); }
.btn.brass:hover { background: var(--brass2); color: var(--bg); }
.btn.ghost:hover { border-color: var(--brass); color: var(--brass2); }
.btn.small { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn .price { font-weight: 600; }
.btn .price:empty { display: none; }
.btn.unlocked { background: var(--green); border-color: var(--green); }
.linkbtn { background: none; border: 0; color: var(--brass); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0 14px; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px; border-radius: 6px; border: 1px solid var(--line2); color: var(--ink); text-decoration: none; }
.badge svg { width: 20px; height: 20px; }
.badge span { display: flex; flex-direction: column; line-height: 1.1; }
.badge small { font-size: 11px; color: var(--mute); }
.badge b { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { background: transparent; color: var(--soft); border: 1px solid var(--line2); font: 500 14px var(--body); padding: 10px 16px; border-radius: 999px; min-height: 44px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.chip.on { background: var(--brass); color: var(--bg); border-color: var(--brass); }
.stamp { display: inline-block; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; background: rgba(20, 18, 16, .85); color: var(--brass); border: 1px solid var(--brass); }
.stamp.open { background: var(--green); color: var(--bg); border-color: var(--green); }

/* landing */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(30px, 3.7vw, 46px); }
.hero-art { margin: 0; }
.hero-art img, .split figure img { border-radius: 10px; border: 1px solid var(--line); }
figcaption { margin-top: 8px; }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.proof { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.proof p:last-child { color: var(--soft); margin: 0; }
.others { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; color: var(--mute); }
.grid.bands { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.band-tile, .station { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); height: 100%; }
.band-tile:hover, .station:hover { border-color: var(--line2); color: var(--ink); }
.band-tile img, .station .pic img { width: 100%; height: 160px; object-fit: cover; opacity: .9; }
.band-tile .body, .station .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.nm { font: 500 22px var(--display); color: var(--head); }
.pl { font-size: 13px; color: var(--mute); }
.hook { font-size: 14px; color: var(--soft); margin-top: 4px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 24px; }
.list a { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.list .nm { font-size: 19px; }
.list .mono { margin: 0; }
.more { font-weight: 600; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split figure { margin: 0; }
.split.rev figure { order: 2; }
.split.rx { grid-template-columns: minmax(0, 360px) 1fr; }
.footer-sample { border: 1px dashed var(--line2); padding: 10px 12px; border-radius: 6px; color: var(--soft); text-transform: none; letter-spacing: .04em; }
.objectives { padding-left: 1.3em; color: var(--soft); }
.objectives li { margin: 0 0 8px; }
.objectives strong { color: var(--head); margin-right: 6px; }
.faq { margin-top: 24px; }
.qa { border-bottom: 1px solid var(--line); padding: 14px 0; }
.qa summary { cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { display: inline; font-size: 19px; }
.qa p { color: var(--soft); margin: 10px 0 0; max-width: 75ch; }
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.cta .cta-row { margin: 0; }

.vr-line a { display: inline-flex; align-items: center; gap: 8px; color: var(--green); text-decoration: none; font-size: 15px; }
.vr-i { flex: none; vertical-align: -4px; margin-right: 6px; }
.vr-line .vr-i { margin: 0; }
.vr-note { color: var(--soft); }
.vr { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.vr-head { display: flex; gap: 18px; align-items: flex-start; }
.vr-head > .vr-i { width: 40px; height: 40px; color: var(--green); margin-top: 4px; }
.vr-head p:last-child { color: var(--soft); max-width: 72ch; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.steps li { counter-increment: s; border-top: 1px solid var(--line2); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; color: var(--soft); font-size: 15px; }
.steps li b { font: 500 19px var(--display); color: var(--head); }
.steps li b::before { content: counter(s) " · "; color: var(--green); font-family: var(--mono); font-size: 13px; }

/* all cases */
.all-head { margin: 28px 0 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.filters .chips { margin: 0; }
.search { flex: 1 1 280px; }
.search input { width: 100%; background: var(--card); border: 1px solid var(--line2); color: var(--ink); font: 15px var(--body); padding: 12px 14px; border-radius: 6px; min-height: 48px; }
.stations { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.stations li { display: flex; }
.stations li[hidden] { display: none; }
.station { width: 100%; }
.station .pic { position: relative; display: block; }
.station .stamp { position: absolute; top: 10px; left: 10px; }
.station .mono { margin: 0; }
.stations.small .station .pic img { height: 120px; }
.none { color: var(--mute); }

/* a band, a case */
.band-head, .case-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; margin: 28px 0 56px; }
.band-head figure, .case-head figure { margin: 0; }
.band-head img, .case-head img { border-radius: 10px; border: 1px solid var(--line); }
.case-head .sub { font: 500 15px var(--mono); color: var(--soft); margin: -4px 0 12px; }
.case-head .stamp { margin-bottom: 14px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.col-side { position: relative; }
.side-card { position: sticky; top: 90px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.side-card h2 { font-size: 22px; }
.side-card p { color: var(--soft); font-size: 15px; }
.script { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line2); }
.script li { padding: 4px 0 10px 18px; }
.script .who { display: block; margin: 0 0 2px; color: var(--green); font-size: 11px; }
.script .narr p { color: var(--ink); }
.script .voice p { font-style: italic; color: var(--soft); }
.script p { margin: 0; }
.moment { margin-top: 12px; color: var(--soft); }
.moment .mono { display: inline; margin-right: 8px; }
.other { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 10px; padding: 22px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card-ev { background: #EFE8DA; color: #2A2621; border-radius: 6px; padding: 18px; font-family: var(--mono); font-size: 14px; line-height: 1.55; }
.card-ev h3 { color: #1C1916; font-size: 20px; margin: 10px 0 6px; }
.card-ev p { margin: 0; }
.tag { display: inline-block; font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px; border: 2px solid currentColor; border-radius: 3px; }
.tag.rep { color: #8A5A12; } .tag.inv { color: #4F5A63; } .tag.exp { color: #2F7A45; } .tag.folk { color: #7B4A86; } .tag.known { color: #2C4E86; }
.sources { padding-left: 1.2em; color: var(--soft); font-size: 15px; }
.sources li { margin-bottom: 8px; }
.sources cite { font-style: normal; color: var(--ink); }
.sources .for { color: var(--mute); font-size: 13px; display: block; }
.prevnext { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 20px 0 48px; }
.pn { display: flex; flex-direction: column; text-decoration: none; }
.pn .mono { margin: 0; }
.pn.next { text-align: right; margin-left: auto; }
.pn b { font: 500 20px var(--display); color: var(--head); }

/* licence card */
dialog.pw { background: #EFE8DA; color: #2A2621; border: 0; border-radius: 10px; width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 22px; overflow: auto; }
dialog.pw::backdrop { background: rgba(10, 9, 8, .78); }
dialog.pw h2 { color: #1C1916; font-size: 28px; }
dialog.pw .mono { color: #8A5A12; margin: 0; }
dialog.pw .fine { color: #6B6355; }
dialog.pw a { color: #8A5A12; }
.pw-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.iconbtn { background: none; border: 1px solid #B9AE99; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; font-size: 16px; color: #2A2621; }
.pw-cases { padding-left: 1.2em; margin: 0 0 12px; }
.pw-buy { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.pw-buy .btn { justify-content: space-between; width: 100%; }
.pw-buy .btn.ghost { color: #2A2621; border-color: #8A8272; }
.pw-buy .btn[hidden] { display: none; }
.pw-status { min-height: 1.4em; font-size: 14px; }
.pw-acct { border-top: 1px solid #CFC5B2; padding-top: 12px; margin-top: 8px; }
.pw-acct-h { font-weight: 600; margin: 0 0 4px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.signins .btn { color: inherit; }
dialog.pw .btn.ghost { color: #2A2621; border-color: #8A8272; }
.pw-code { margin: 12px 0; }
.pw-code summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.pw-code input { flex: 1 1 200px; min-height: 48px; font: 16px var(--mono); padding: 8px 10px; border: 1px solid #8A8272; border-radius: 6px; background: #FFF9EE; color: #1C1916; }
.code-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.code-box code { font: 600 20px var(--mono); letter-spacing: .06em; background: #FFF9EE; padding: 8px 12px; border-radius: 6px; border: 1px dashed #8A8272; }
.cl-working .bar { height: 4px; background: #CFC5B2; border-radius: 2px; overflow: hidden; position: static; }
.cl-working .bar i { display: block; height: 100%; width: 40%; background: #8A5A12; animation: sfbar 1.2s infinite ease-in-out; }
@keyframes sfbar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* account, legal, auth */
.account, .legal { padding-top: 28px; padding-bottom: 56px; }
.legal section { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; margin: 0 0 16px; }
.legal section h2 { font-size: 22px; }
.legal li { margin-bottom: 6px; color: var(--soft); }
.legal p { color: var(--soft); }
.legal strong { color: var(--head); }
.last-updated { font: 13px var(--mono); color: var(--mute); }
.owned { padding-left: 1.2em; }
.auth { text-align: center; padding-top: 80px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.auth img { border-radius: 16px; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 32px; padding: 24px 0 96px; font-size: 13px; color: var(--mute); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { color: var(--mute); }
.foot-langs a { white-space: nowrap; }

@media (max-width: 900px) {
  .hero, .split, .split.rx, .band-head, .case-head, .cols { grid-template-columns: 1fr; gap: 24px; }
  .split.rev figure { order: 0; }
  .split.rx figure { max-width: 260px; }
  .side-card { position: static; }
  .tabs a { padding: 8px 10px; font-size: 12px; }
}
@media (max-width: 560px) {
  .vr { padding: 20px; }
  .vr-head { flex-direction: column; }
  .wrap { padding: 0 16px; }
  .bar .wrap { gap: 8px; }
  .brand span { font-size: 17px; }
  .tabs { order: 3; width: 100%; }
  .tabs a { flex: 1; justify-content: center; }
  .bar { position: static; }
  .bar .btn.small { padding: 8px 10px; width: auto; }
  .cta { padding: 22px; }
  .btn { width: 100%; }
  .cta-row .badge { width: 100%; justify-content: center; }
  section { margin-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) { .cl-working .bar i { animation: none; } }
