/* WOLFGANG WEARS A PINSTRIPE (Wave 110n).
 * He is the boss on the old boardwalk at night, in a pinstripe suit, holding up a pocketwatch whose face turns
 * toward you. So the page is the suit: navy worsted with an ivory chalk stripe, the whole page one cloth (no
 * banner band), and the first screen is centred the way a deco front is: the name in a stepped arch, sunburst
 * rays behind it, and the watch below (scripts/wolfgang-watch.js). Brass is kept to the watch. Type is Gill Sans,
 * the deco railway face, for the name and the labels, and a book face for his word. No web fonts. */

body[data-world="wolfgang"] {
  --bg: #161d30; --surface: #1b2339; --surface2: #222b45; --text: #ece4ce; --muted: #9ea6bb; --dim: #3a4463;
  --amber: #d9c48f; --amber2: #ece4ce; --ember: #d9c48f; --glow: rgba(217, 196, 143, .06);
  --brass-a: #e8cf8a; --brass-b: #a9843e; --brass-c: #6e5322;
  --w-accent: #d9c48f; --w-accent2: #ece4ce;
  --nav-bg: rgba(22, 29, 48, .94);
  --f-display: 'Gill Sans', 'Gill Sans MT', 'Seravek', Calibri, 'Trebuchet MS', sans-serif;
  --f-label: 'Gill Sans', 'Gill Sans MT', 'Seravek', Calibri, 'Trebuchet MS', sans-serif;
  --f-body: 'Hoefler Text', Garamond, 'Iowan Old Style', Georgia, serif;
  --f-num: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-family: var(--f-body); font-size: 16.5px;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 25px, rgb(236 228 206 / .075) 25px 26px),
    repeating-linear-gradient(45deg, rgb(255 255 255 / .012) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-45deg, rgb(0 0 0 / .05) 0 1px, transparent 1px 3px);
}
body[data-world="wolfgang"]::before { opacity: .25; }

/* the deco front: no band, the cloth runs on; everything on the centre line */
body[data-world="wolfgang"] .banner-block {
  background: radial-gradient(ellipse 46% 60% at 50% 58%, rgb(217 196 143 / .07), transparent 70%);
  border-bottom: 0; padding: 4.4rem 2rem 3rem; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden;
}
body[data-world="wolfgang"] .banner-block::after {
  background: repeating-conic-gradient(from 0deg at 50% 64%, rgb(217 196 143 / .05) 0 2deg, transparent 2deg 12deg);
  -webkit-mask-image: radial-gradient(circle at 50% 64%, #000 0 30%, transparent 62%); mask-image: radial-gradient(circle at 50% 64%, #000 0 30%, transparent 62%);
}
.arch { position: relative; z-index: 2; padding: 1.6rem 3.4rem 1.4rem; border: 1px solid rgb(217 196 143 / .55);
  clip-path: polygon(0 100%, 0 26%, 7% 26%, 7% 12%, 15% 12%, 15% 0, 85% 0, 85% 12%, 93% 12%, 93% 26%, 100% 26%, 100% 100%);
  background: linear-gradient(180deg, rgb(34 43 69 / .9), rgb(22 29 48 / .6)); }
.arch::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgb(217 196 143 / .25); pointer-events: none;
  clip-path: inherit; }
body[data-world="wolfgang"] .banner-eyebrow { justify-content: center; color: var(--amber); font-family: var(--f-label); letter-spacing: .5em; margin: .8rem 0 .6rem; }
body[data-world="wolfgang"] .banner-eyebrow::before { display: none; }
body[data-world="wolfgang"] .banner-title { font-family: var(--f-display); font-weight: 300; text-transform: uppercase; color: var(--text); letter-spacing: .32em; margin-right: -.32em;
  font-size: clamp(2.6rem, 7vw, 5.8rem); line-height: 1.05; }
body[data-world="wolfgang"] .banner-tagline { font-family: var(--f-label); color: var(--muted); letter-spacing: .28em; font-size: .74rem; margin-top: .7rem; }

/* the watch */
.watch { position: relative; z-index: 2; width: min(300px, 70vw); margin: 2rem auto 0; filter: drop-shadow(0 18px 22px rgb(0 0 0 / .45)); }
.watch svg { display: block; width: 100%; height: auto; }
.w-bow circle { fill: none; stroke: var(--brass-b); stroke-width: 6; }
.w-bow rect { fill: var(--brass-b); }
.w-case { fill: var(--brass-b); }
.w-bezel { fill: none; stroke: var(--brass-a); stroke-width: 6; }
.w-face { fill: #f3ecd8; }
.w-ticks line { stroke: #2b2a26; stroke-width: 1; }
.w-nums text { font: 600 15px/1 var(--f-display); fill: #2b2a26; text-anchor: middle; letter-spacing: .02em; }
.w-sub circle { fill: none; stroke: #8f8668; stroke-width: 1; }
.w-days { font: 700 17px/1 var(--f-num); fill: #2b2a26; text-anchor: middle; dominant-baseline: middle; }
.w-days-l { font: 600 6.5px/1 var(--f-label); fill: #6e664f; text-anchor: middle; letter-spacing: .2em; text-transform: uppercase; }
.w-maker { font: 600 9px/1 var(--f-label); fill: #6e664f; text-anchor: middle; letter-spacing: .3em; }
.w-hand path { fill: #1d2235; }
.w-pin { fill: var(--brass-c); }
/* stopped (no script): the hands rest together at twelve, and the line says so */
html:not(.watch-running) .w-hand { opacity: .55; }
.watch-line { position: relative; z-index: 2; max-width: 36rem; margin: 1.4rem auto 0; font: italic .95rem/1.6 var(--f-body); color: var(--muted); }

/* the rest of the house, on the cloth */
body[data-world="wolfgang"] .relic-glyph { color: var(--amber); background: var(--surface2); border: 1px solid rgb(217 196 143 / .5); border-radius: 50%; box-shadow: none; }
body[data-world="wolfgang"] .badge { font-family: var(--f-label); color: var(--text); }
body[data-world="wolfgang"] .relic-description { font-style: normal; color: var(--text); border-left-color: var(--amber); }
body[data-world="wolfgang"] .portrait-frame { box-shadow: 0 18px 36px -18px rgb(0 0 0 / .7); }
body[data-world="wolfgang"] .bv-stanza, body[data-world="wolfgang"] .ledger-body { font-family: var(--f-body); color: var(--text); }
body[data-world="wolfgang"] .bv-eyebrow, body[data-world="wolfgang"] .bv-coda, body[data-world="wolfgang"] .ledger-eyebrow, body[data-world="wolfgang"] .ledger-stamp, body[data-world="wolfgang"] .ledger-foot { font-family: var(--f-label); color: var(--muted); letter-spacing: .2em; }
body[data-world="wolfgang"] .cipher-eq, body[data-world="wolfgang"] [data-world-steps] .vt-eq { font-family: var(--f-display); font-weight: 300; letter-spacing: .08em; color: var(--text); }
body[data-world="wolfgang"] .cert-doc { background: var(--surface); border-color: rgb(217 196 143 / .5); }
body[data-world="wolfgang"] .cert-name, body[data-world="wolfgang"] .stat-value, body[data-world="wolfgang"] .section-title, body[data-world="wolfgang"] .link-card-name { font-family: var(--f-display); color: var(--text); letter-spacing: .12em; }
body[data-world="wolfgang"] .cert-witnesses { white-space: normal; overflow-wrap: anywhere; }
body[data-world="wolfgang"] .btn-primary { color: var(--bg); background: var(--amber); }
body[data-world="wolfgang"] .btn-primary:hover { background: var(--text); }
body[data-world="wolfgang"] .entrance .en-scene { color: var(--text); font-family: var(--f-body); }
body[data-world="wolfgang"] .entrance .en-scene::first-letter { color: var(--amber); font-family: var(--f-display); font-weight: 300; }
body[data-world="wolfgang"] .entrance .en-arrive, body[data-world="wolfgang"] .entrance .en-tuned { color: var(--muted); font-family: var(--f-label); }
body[data-world="wolfgang"] .en-tuned b { color: var(--amber); font-family: var(--f-display); }
body[data-world="wolfgang"] .en-ways button, body[data-world="wolfgang"] .entrance .en-ways a { color: var(--text); font-family: var(--f-label); background: var(--surface); border-color: rgb(217 196 143 / .45); }
body[data-world="wolfgang"] .en-ways button:hover, body[data-world="wolfgang"] .entrance .en-ways a:hover { color: var(--amber); border-color: var(--amber); }
body[data-world="wolfgang"] .entrance .en-ways .en-next { color: var(--muted); border-color: var(--dim); }
body[data-world="wolfgang"] nav:first-of-type, body[data-world="wolfgang"] .world-nav { background: var(--nav-bg); border-bottom-color: var(--dim); }
body[data-world="wolfgang"] .world-nav { font-family: var(--f-label); --w-accent: var(--amber) !important; --w-accent2: var(--text) !important; }
body[data-world="wolfgang"] .world-nav a, body[data-world="wolfgang"] .nav-back { color: var(--muted); }
body[data-world="wolfgang"] .nav-brand, body[data-world="wolfgang"] .footer-brand { color: var(--text); font-family: var(--f-display); letter-spacing: .3em; text-transform: uppercase; font-weight: 300; }
body[data-world="wolfgang"] .nav-ticker { color: var(--amber); font-family: var(--f-label); }
body[data-world="wolfgang"] .world-room-head .wr-no, body[data-world="wolfgang"] .world-room-head h2, body[data-world="wolfgang"] .ws-no { font-family: var(--f-display); font-weight: 300; letter-spacing: .2em; text-transform: uppercase; }
body[data-world="wolfgang"] .world-room-head .wr-no { color: var(--dim); }
body[data-world="wolfgang"] .wl-row, body[data-world="wolfgang"] .world-record-head { font-family: var(--f-num); }
body[data-world="wolfgang"] .wl-bar { background: rgb(217 196 143 / .45); }
body[data-world="wolfgang"] .surface-dust, body[data-world="wolfgang"] .street-chalk { max-width: 100%; overflow-wrap: anywhere; }

@media (max-width: 560px) {
  body[data-world="wolfgang"] .banner-block { padding: 3.4rem 16px 2.4rem; }
  .arch { padding: 1.4rem 1.2rem 1.2rem; }
  body[data-world="wolfgang"] .banner-title { letter-spacing: .18em; margin-right: -.18em; }
  body[data-world="wolfgang"] .banner-eyebrow { letter-spacing: .3em; }
  body[data-world="wolfgang"] nav:first-of-type { padding: 1rem 16px; gap: 10px; }
  body[data-world="wolfgang"] nav:first-of-type .nav-brand { display: none; }
  body[data-world="wolfgang"] .nav-ticker { font-size: .74rem; letter-spacing: .12em; }
}
