/* Hallmark | theme: Lumen, night | draw: 393cc6 | material: public character portraits, screenshots and plan data | signature: Vex on a two-cover folio | desktop and phone. */
/* critique: one collectible cover opens the guide; the directory and screen reader provide the evidence. */
:root {
  color-scheme: dark;
  --paper: #16151d;
  --surface: #201e29;
  --panel: #2a2633;
  --ink: #f5f1e9;
  --muted: #c3bdc9;
  --quiet: #aba4b5;
  --line: #48444f;
  --faint: #34313c;
  --brass: #f0c689;
  --button-hover: #ffdbab;
  --deep: #191521;
  --grid: #b6a0bf0e;
  --well: #211c28;
  --edge: #987d67;
  --back: #463947;
  --edge2: #b29277;
  --shine: #ffdfae;
  --shade: #131117f5;
  --clear: transparent;
  --base: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --display: "Georgia Pro Cond", "Georgia Pro", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html,body { margin: 0; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--base); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--brass); }
button { cursor: pointer; font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - clamp(2.25rem, 9vw, 10rem), 77rem); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-200%); z-index: 10; padding: .65rem 1rem; background: var(--ink); color: var(--deep); }
.skip:focus { transform: none; }
.sitehead { border-bottom: 1px solid var(--faint); }
.topbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .45rem; font-weight: 730; font-size: 1.24rem; line-height: 1; text-decoration: none; white-space: nowrap; color: var(--ink); }
.wordmark img { width: 31px; height: 31px; image-rendering: pixelated; }
.wordmark b { color: var(--muted); font-weight: 420; }
.topbar nav,.sitefoot nav { display: flex; align-items: center; gap: clamp(1.1rem,3vw,2.7rem); }
.topbar nav a,.sitefoot nav a { color: var(--muted); text-decoration: none; font-size: .92rem; padding-block: .5rem; }
.topbar nav a:hover,.sitefoot nav a:hover { color: var(--ink); text-decoration: underline; }
.head-offer,.button,.outline { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; border-radius: 5px; padding: .78rem 1.1rem; min-height: 44px; font-weight: 620; text-decoration: none; line-height: 1.25; }
.head-offer { border: 1px solid var(--edge); color: var(--brass); font-size: .9rem; }
.head-offer:hover,.outline:hover { background: var(--panel); }
.external,.down { width: 12px; height: 12px; position: relative; display: inline-block; flex: 0 0 auto; }
.external:before { content: ""; position: absolute; right: 1px; top: 1px; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.external:after { content: ""; width: 11px; height: 1.5px; background: currentColor; transform: rotate(-45deg); position: absolute; top: 5px; right: 0; }
.down:before { content: ""; width: 1.5px; height: 11px; background: currentColor; position: absolute; left: 5px; top: 0; }
.down:after { content: ""; position: absolute; bottom: 1px; left: 2px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.button { border: 1px solid var(--brass); background: var(--brass); color: var(--deep); padding: .95rem 1.35rem; }
.button:hover { background: var(--button-hover); color: var(--deep); }
.outline { border: 1px solid var(--line); background: var(--clear); color: var(--ink); }
.plainlink { color: var(--ink); font-weight: 550; }
h1,h2,h3 { overflow-wrap: break-word; min-width: 0; font-family: var(--display); font-weight: 400; }
h1,h2,h3,p,figure { margin: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center; gap: clamp(1.4rem,5vw,6rem); }
.hero { border-bottom: 1px solid var(--faint); }
.hero-grid { padding-block: clamp(2rem,4.2vw,4.3rem) clamp(2.2rem,4vw,3.8rem); }
.hero-copy { padding-block: 1rem; }
.hero h1 { font-size: clamp(3rem,6.4vw,5.75rem); line-height: .99; letter-spacing: -.062em; }
.hero h1 span { display: block; }
.standfirst { max-width: 36ch; margin-top: 1.6rem; font-size: clamp(1.06rem,1.45vw,1.27rem); color: var(--muted); line-height: 1.55; }
.hero-actions { margin-top: 2rem; display: flex; gap: 1.45rem; align-items: center; flex-wrap: wrap; }
.hero-actions .plainlink { font-size: .94rem; }
.disclosure { font-size: .79rem; margin-top: 1.2rem; max-width: 52ch; color: var(--quiet); }
.disclosure a,.source a { color: var(--muted); }
.feature-art { min-width: 0; }
.folio { isolation: isolate; position: relative; width: 100%; aspect-ratio: 1.34; min-height: 0; background-color: var(--well); display: grid; place-items: center; border: 1px solid var(--line); overflow: hidden; }
.board-grid { position: absolute; inset: 0; z-index: -1; opacity: .85; background-image: linear-gradient(var(--grid) 1px,var(--clear) 1px),linear-gradient(90deg,var(--grid) 1px,var(--clear) 1px); background-size: 23px 23px; }
.plate { position: relative; width: 55%; aspect-ratio: .83; transform: rotate(-5deg); max-height: 89%; }
.plate-edge { position: absolute; inset: 0; background: repeating-linear-gradient(45deg,var(--back) 0 4px,var(--well) 4px 5px); border: 1px solid var(--edge); transform: rotate(11deg) translate(3%,-1%); }
.plate-edge:after { content: ""; position: absolute; inset: 7px; border: 1px solid var(--edge); }
.cover { display: block; position: absolute; inset: 0; padding: 8px; border: 1px solid var(--edge2); background: var(--deep); color: var(--ink); }
.cover:after { content: ""; position: absolute; inset: 7px; border: 1px solid var(--edge); pointer-events: none; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: 49% 44%; }
.cover-label { position: absolute; bottom: 7px; inset-inline: 7px; padding: 26% 7% 6%; background: linear-gradient(to top,var(--shade),var(--clear)); }
.cover-label span { display: block; color: var(--brass); font-size: clamp(.73rem,.9vw,.85rem); }
.cover-label strong { font: 400 clamp(2.4rem,4.1vw,4.2rem)/1 var(--display); color: var(--ink); }
.star { position: absolute; width: 29px; height: 29px; background: var(--brass); clip-path: polygon(50% 0,57% 40%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,41% 42%); }
.st1 { top: 17%; left: 11%; } .st2 { width: 16px; height: 16px; bottom: 16%; right: 10%; }
.art-credit { display: flex; align-items: center; gap: .65rem; padding-block: .75rem .05rem; font-size: .8rem; }
.diamond { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--brass); }
.muted,.credit-right { color: var(--muted); }
.credit-right { margin-left: auto; }
.section { padding-block: clamp(3.3rem,6.2vw,6.5rem); scroll-margin-top: 1rem; }
.sectionhead { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,.85fr); align-items: end; gap: clamp(1rem,5vw,6rem); margin-bottom: 2.1rem; }
h2 { font-size: clamp(2.45rem,4.15vw,4.55rem); line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
.sectionhead p,.partner p { color: var(--muted); max-width: 50ch; line-height: 1.6; }
.filterbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.filters,.screen-buttons { display: flex; gap: .5rem; flex-wrap: wrap; }
.filters button,.screen-buttons button { background: var(--clear); border: 1px solid var(--line); border-radius: 6px; padding: .52rem 1rem; min-height: 40px; font-size: .91rem; color: var(--muted); }
.filters button[aria-pressed=true],.screen-buttons button[aria-pressed=true] { background: var(--brass); border-color: var(--brass); color: var(--deep); }
.filters button:hover,.screen-buttons button:hover { border-color: var(--brass); }
#count { font-size: .83rem; font-variant-numeric: tabular-nums; }
.card-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); column-gap: clamp(1rem,2vw,1.8rem); row-gap: 2.5rem; }
.card { min-width: 0; scroll-margin-top: 1rem; }
.card-photo { display: block; overflow: hidden; background: var(--surface); color: var(--ink); outline-offset: 2px; }
.card-photo img { width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; }
.card-photo:hover { outline: 1px solid var(--brass); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .15rem .45rem; margin: .9rem 0 .35rem; color: var(--quiet); font-size: .78rem; overflow-wrap: anywhere; }
.card-meta span:first-child { color: var(--brass); }
.card h3 { margin-top: .75rem; font-size: clamp(1.65rem,2.5vw,2.15rem); line-height: 1.15; letter-spacing: -.035em; }
.card h3 + .card-meta { margin-top: .35rem; }
.card h3 a { text-decoration: none; } .card h3 a:hover { text-decoration: underline; }
.card p { color: var(--muted); font-size: .95rem; line-height: 1.55; margin-top: .5rem; }
.morewrap { display: flex; justify-content: center; }
.morewrap .outline { margin-top: 2.2rem; }
.screen-band { background: var(--surface); color: var(--ink); }
.screen-buttons { margin-bottom: 1.4rem; }
.screen-figure { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,.8fr); gap: clamp(1.5rem,5vw,5rem); align-items: center; margin-bottom: 1.25rem; }
.screen-image { display: grid; place-items: center; background: var(--deep); border: 1px solid var(--line); aspect-ratio: 16/9; }
.screen-image img { width: 100%; height: 100%; object-fit: contain; }
.screen-image.phone { aspect-ratio: auto; padding: .75rem; }
.screen-image.phone img { width: auto; height: min(32rem,66vh); max-width: 100%; }
.screen-figure h3 { font-size: clamp(1.85rem,3vw,3rem); line-height: 1.06; letter-spacing: -.04em; }
.screen-figure p { color: var(--muted); margin: 1rem 0; }
.screen-figure .plainlink { font-size: .9rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; text-align: left; }
caption { text-align: left; font-size: .85rem; color: var(--quiet); padding: 0 0 .9rem; }
td,th { padding: 1rem .85rem; border-bottom: 1px solid var(--faint); }
thead { background: var(--surface); color: var(--muted); font-size: .88rem; }
th { font-weight: 600; } td { color: var(--muted); }
.source { color: var(--quiet); font-size: .9rem; margin-top: 1rem; }
.faq-grid { border-top: 1px solid var(--faint); display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: clamp(2rem,7vw,8rem); }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.25rem; padding: 1.2rem 0; font-weight: 550; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; color: var(--brass); font-size: 1.3rem; line-height: 1; }
details[open] summary:after { content: "−"; }
details p { color: var(--muted); padding: 0 1.6rem 1.3rem 0; }
.partner { padding-block: 3.5rem; background: var(--surface); border-block: 1px solid var(--faint); }
.partnerrow,.footrow { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.partner h2 { font-size: clamp(2.1rem,3.1vw,3rem); }
.partner p { margin-top: .65rem; }
.partner .button { flex-shrink: 0; }
.sitefoot { padding-block: 2rem; border-top: 1px solid var(--faint); }
.sitefoot p { margin-top: .4rem; color: var(--quiet); font-size: .83rem; }
.sitefoot nav { gap: .65rem 1.3rem; flex-wrap: wrap; }
.sitefoot nav a { font-size: .84rem; }
.legal { max-width: 46rem; margin-block: clamp(2.8rem,6vw,5.5rem); }
.legal h1 { font-size: clamp(2.8rem,5.8vw,5rem); line-height: 1.04; letter-spacing: -.045em; }
.legal h2 { font-size: 1.8rem; margin: 2.2rem 0 .55rem; }
.legal p { color: var(--muted); margin: .8rem 0; }
.legal a { color: var(--brass); }
.button:active,.head-offer:active,button:active { transform: translateY(1px); }
button:disabled { cursor: default; opacity: .6; }
@media(max-width: 900px) {
  .topbar { gap: 1rem; }
  .topbar nav { gap: 1.15rem; }
  .card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-actions { gap: .8rem 1rem; }
  .sectionhead { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); }
}
@media(max-width: 740px) {
  .topbar { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 .5rem; padding-top: .65rem; }
  .topbar nav { grid-row: 2; grid-column: 1/-1; justify-content: space-between; margin-top: .45rem; }
  .topbar nav a { padding-block: .55rem .7rem; }
  .head-offer { grid-column: 2; grid-row: 1; font-size: .8rem; padding: .55rem .7rem; }
  .hero-grid,.sectionhead,.screen-figure,.faq-grid { grid-template-columns: minmax(0,1fr); }
  .hero-grid { gap: 1.3rem; padding-block: 1.9rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.8rem,10.4vw,5.3rem); }
  .standfirst { margin-top: 1rem; max-width: 45ch; }
  .hero-actions { margin-top: 1.4rem; }
  .disclosure { margin-top: .85rem; max-width: 50ch; }
  .feature-art { width: min(100%,33rem); margin-inline: auto; }
  .folio { min-height: 0; aspect-ratio: 1.58; }
  .plate { width: 45%; }
  .sectionhead { gap: .85rem; margin-bottom: 1.5rem; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filterbar { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .filters,.screen-buttons { gap: .4rem; }
  .filters button,.screen-buttons button { padding: .45rem .75rem; min-height: 40px; }
  .screen-figure { gap: 1rem; }
  .screen-image.phone img { height: min(32rem,64vh); }
  .faq-grid { gap: 1.2rem; }
  .partnerrow,.footrow { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .legal + .sitefoot { padding-bottom: 1rem; }
  .sitehead .topbar:not(:has(nav)) { display: flex; padding-block: .65rem; }
}
@media(max-width: 480px) {
  .hero h1 { font-size: clamp(2.55rem,12.2vw,3.6rem); }
  .wordmark { font-size: 1.02rem; gap: .1rem; }
  .wordmark img { width: 26px; height: 26px; }
  .topbar nav a { font-size: .86rem; }
  .hero-actions .plainlink { font-size: .88rem; }
  .hero-actions .button { padding: .85rem 1rem; }
  .card-grid { gap: 1.8rem .9rem; }
  .card h3 { font-size: 1.55rem; }
  .card p { font-size: .88rem; }
  .card-meta { display: block; }
  .card-meta span { display: block; }
  .tablewrap th,.tablewrap td { font-size: .78rem; padding: .7rem .3rem; }
  .tablewrap td:last-child { width: 36%; }
}
@media(prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Output-only localisation: source palette/folio preserved. */
.hero-grid>*{min-width:0}.hero-grid{direction:ltr;grid-template-areas:'copy media'}[dir=rtl] .hero-copy,[dir=rtl] .art-credit{direction:rtl}.hero-copy{grid-area:copy}.feature-art{grid-area:media}h1,h2,h3{overflow-wrap:anywhere}.card p{overflow-wrap:anywhere}.topbar>*{min-width:0}.topbar nav{flex-wrap:wrap}.wordmark{direction:ltr;unicode-bidi:isolate}.head-offer{max-width:100%;overflow-wrap:anywhere}.pixel-locales{display:block!important;margin-top:1.5rem}.pixel-locales .pixel-locale-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.15rem 1rem}.pixel-locales a{display:block;min-height:44px;padding-block:10px;overflow-wrap:anywhere}.pixel-locales [aria-current=page]{font-weight:700;text-decoration:underline}.pixel-locales{width:100%}.tablewrap{max-width:100%;overflow-x:auto}table{overflow-wrap:anywhere}[dir=rtl] table,[dir=rtl] caption{text-align:right}.footrow{flex-wrap:wrap}.footrow>.pixel-locales{flex-basis:100%}[dir=rtl] .credit-right{margin-left:0;margin-inline-start:auto}[dir=rtl] .feature-art .folio{direction:ltr}[dir=rtl] .cover-label{direction:rtl}
@media(max-width:740px){.hero-grid{grid-template-areas:'media' 'copy'}.topbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.wordmark{white-space:normal}.head-offer{text-align:center}.topbar nav{gap:.3rem 1rem;justify-content:flex-start}.hero-grid{padding-block:1.3rem}.feature-art{max-width:28rem}}
