/* Self-hosted web fonts (SIL OFL 1.1, licence texts in /fonts/OFL-*.txt). Same families as neuralesed.dev. */
@font-face { font-family: "Saira Stencil"; font-weight: 100 900; font-display: swap; src: url("/fonts/SairaStencil-latin-var.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-weight: 400; font-display: swap; src: url("/fonts/IBMPlexSansCondensed-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/IBMPlexSansCondensed-600-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("/fonts/IBMPlexMono-400-latin.woff2") format("woff2"); }

:root {
  --bg: #0e1013;
  --fg: #e8e6df;
  --muted: #9a968c;
  --yellow: #ffc800;
  --panel: #14171c;
  --line: #2a2e36;
  --infrastructure-opacity: .29;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: "IBM Plex Sans Condensed", ui-sans-serif, system-ui, sans-serif;
  background: var(--bg); color: var(--fg); line-height: 1.55; font-size: 1.1rem;
}
/* The image is already blurred; adjust this layer without dimming the content. */
:root:not([data-skin]) body,
:root[data-skin="industrial"] body { isolation: isolate; }
:root:not([data-skin]) body::before,
:root[data-skin="industrial"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/img/network-background.webp") center right / cover no-repeat;
  opacity: var(--infrastructure-opacity);
}
.background-tuner { position: fixed; bottom: 1rem; right: 1rem; z-index: 20; display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; max-width: calc(100vw - 2rem); padding: .75rem 1rem; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font-size: .9rem; }
.background-tuner input { accent-color: var(--yellow); width: 140px; }
.background-tuner[hidden] { display: none; }
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--yellow); color: #000; padding: .5rem 1rem; z-index: 10; }

.in, .wrap { max-width: none; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.topbar { border-bottom: 1px solid var(--line); background: var(--bg); }
.topbar .in { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; padding-block: .85rem; gap: 1rem; }
.brand { font-family: "IBM Plex Mono", monospace; font-weight: 600; letter-spacing: .12em; color: var(--yellow); }

.hero { display: flex; gap: 2rem; align-items: center; padding: 4rem 0 2rem; }
.headshot { position: relative; display: block; width: 180px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; flex: none; }
.headshot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.headshot picture { display: block; width: 100%; height: 100%; }
h1, h2 { font-family: "Saira Stencil", sans-serif; font-weight: 700; text-transform: uppercase; line-height: 1; margin: .2rem 0 .6rem; }
h1 { font-size: clamp(2.6rem, 9vw, 5rem); }
h2 { font-size: 1.8rem; }
.kicker { font-family: "IBM Plex Mono", monospace; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0; }
.tagline { font-size: 1.35rem; margin: 0; }
.lede { max-width: none; color: var(--fg); font-size: 1.2rem; }
.muted { color: var(--muted); margin: 0; }

.band { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin: 3rem 0; padding: 1.5rem; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--yellow); }
.btn { display: inline-block; background: var(--yellow); color: #000; font-family: "IBM Plex Mono", monospace; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; padding: .8rem 1.4rem; }
.btn.sm { padding: .45rem .9rem; font-size: .8rem; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.call-details { flex: 1 1 28rem; min-width: 0; }
.call-summary { margin: 1rem 0 .5rem; color: var(--yellow); font-weight: 600; }
.call-description { margin: 0 0 1rem; }
.band .btn { flex: none; }
.contact-qr { width: fit-content; max-width: 100%; margin: 0 auto 2rem; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .5rem; background: var(--bg); text-align: center; font-size: .7rem; }
.contact-qr img { display: block; width: 208px; height: 208px; }
.unlocked-contact { width: calc(100% - 32px); max-width: 420px; margin: 0 auto 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-left: 3px solid var(--yellow); background: var(--panel); color: var(--fg); }
.unlocked-contact[hidden] { display: none; }
.unlocked-contact h2 { margin: 0 0 .5rem; font-size: 1.1rem; }
.unlocked-contact p { color: var(--muted); margin: .5rem 0 1rem; }
.unlocked-contact .contact-expiry { font-size: .85rem; }
.unlocked-contact ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.unlocked-contact li { color: var(--muted); font-size: 1rem; }
.unlocked-contact a { overflow-wrap: anywhere; }
.contact-qr:focus-visible, .btn:focus-visible { outline: 3px solid var(--fg); outline-offset: 5px; }

@media (max-width: 600px) {
  .hero { flex-direction: column; align-items: flex-start; padding-top: 2rem; }
  .headshot { width: 130px; }
}

.topbar-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.remix { border: 1px solid var(--line); background: transparent; color: var(--fg); padding: .45rem .8rem; font: inherit; font-size: .9rem; cursor: pointer; }
.remix[hidden] { display: none; }
.remix:hover { border-color: var(--yellow); }
.remix:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skin-name { font-family: "IBM Plex Mono", monospace; font-size: .65rem; margin-left: .5rem; color: var(--muted); }
.skin-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Editorial: warm paper, generous type, and a forest-green accent. */
:root[data-skin="editorial"] {
  --bg: #f5f2e9;
  --fg: #223c31;
  --muted: #62695b;
  --yellow: #285c46;
  --panel: #e7ecdf;
  --line: #c8cdbd;
}
[data-skin="editorial"] body { font-family: system-ui, sans-serif; font-size: 1rem; }
[data-skin="editorial"] .in, [data-skin="editorial"] .wrap { padding-inline: clamp(16px, 4vw, 48px); }
[data-skin="editorial"] .topbar .in { padding-block: 1.2rem; }
[data-skin="editorial"] .brand { font-family: Georgia, serif; letter-spacing: -.04em; font-size: 1.4rem; }
[data-skin="editorial"] .hero { flex-direction: row-reverse; justify-content: space-between; gap: 3rem; padding: 5rem 0 2.5rem; }
[data-skin="editorial"] .hero > div { flex: 1; }
[data-skin="editorial"] .headshot { width: 220px; border-radius: 110px 110px 12px 12px; border: 6px solid var(--panel); box-shadow: 12px 12px 0 var(--line); }
[data-skin="editorial"] h1, [data-skin="editorial"] h2 { font-family: Georgia, "Times New Roman", serif; text-transform: none; font-weight: 400; letter-spacing: -.06em; }
[data-skin="editorial"] h1 { font-size: clamp(3.5rem, 8vw, 6rem); line-height: 1.08; margin-block: 1rem; }
[data-skin="editorial"] h2 { font-size: 2.6rem; }
[data-skin="editorial"] .kicker { font-size: .7rem; letter-spacing: .12em; }
[data-skin="editorial"] .tagline { font-size: 1.25rem; line-height: 1.6; }
[data-skin="editorial"] .lede { max-width: none; font-size: 1.1rem; line-height: 1.85; padding-top: 1.5rem; border-top: 1px solid var(--line); }
[data-skin="editorial"] .band { border: 0; border-radius: 20px; padding: 2rem; margin-block: 2.5rem; }
[data-skin="editorial"] .btn { color: #fff; border-radius: 100px; font-family: system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
[data-skin="editorial"] .remix { border-radius: 100px; }
[data-skin="editorial"] .contact-qr { border-radius: 16px; }
@media (max-width: 600px) {
  .topbar .in { gap: .75rem; }
  .topbar-actions { gap: .5rem; }
  [data-skin="editorial"] .in, [data-skin="editorial"] .wrap { padding-inline: 20px; }
  [data-skin="editorial"] .hero { flex-direction: column; align-items: flex-start; gap: 2rem; padding-top: 2.5rem; }
  [data-skin="editorial"] .headshot { width: 150px; }
  [data-skin="editorial"] .band { padding: 1.5rem; }
}

/* 90s ICQ: teal desktop, beveled windows, and an online flower. */
:root[data-skin="icq"] { --bg: #008080; --fg: #171717; --muted: #444; --yellow: #004d00; --panel: #c0c0c0; --line: #808080; }
[data-skin="icq"] body { font-family: Tahoma, Verdana, sans-serif; font-size: .95rem; background-image: radial-gradient(#ffffff25 1px, transparent 1px); background-size: 4px 4px; }
[data-skin="icq"] .topbar { margin: 20px clamp(16px, 4vw, 48px) 0; border: 3px outset #eee; background: #c0c0c0; }
[data-skin="icq"] .topbar .in { background: linear-gradient(90deg, #000080, #1084d0); margin: 3px; padding: .65rem; }
[data-skin="icq"] .brand { color: white; font-family: Tahoma, sans-serif; letter-spacing: 0; }
[data-skin="icq"] .brand::before { content: '✿'; color: #76ff00; font-size: 1.8rem; vertical-align: middle; margin-right: .5rem; text-shadow: 1px 1px #003500; }
[data-skin="icq"] .wrap { margin-block: 18px; margin-inline: clamp(16px, 4vw, 48px); padding: 20px; background: #c0c0c0; border: 3px outset #eee; box-shadow: 6px 6px 0 #004747; }
[data-skin="icq"] .hero { padding: 1rem; background: #fff; border: 2px inset #eee; gap: 1.5rem; }
[data-skin="icq"] .headshot { width: 130px; border-radius: 0; border: 3px outset #ddd; }
[data-skin="icq"] h1, [data-skin="icq"] h2 { font-family: Tahoma, Verdana, sans-serif; text-transform: none; line-height: 1.15; }
[data-skin="icq"] h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
[data-skin="icq"] h2 { font-size: 1.6rem; }
[data-skin="icq"] .kicker { letter-spacing: 0; font-size: .75rem; }
[data-skin="icq"] .hero .kicker::before { content: '● Online · '; color: #006000; }
[data-skin="icq"] .tagline { font-size: 1rem; }
[data-skin="icq"] .lede { font-size: 1rem; padding: 1rem; background: #ffffe1; border: 1px solid #808080; }
[data-skin="icq"] .band { margin: 1.5rem 0 0; border: 2px groove #fff; padding: 1rem; }
[data-skin="icq"] .btn, [data-skin="icq"] .remix { color: #111; background: #c0c0c0; border: 2px outset #fff; font-family: Tahoma, sans-serif; letter-spacing: 0; text-transform: none; }
[data-skin="icq"] .btn:active, [data-skin="icq"] .remix:active { border-style: inset; }
[data-skin="icq"] .skin-name { color: #333; }
[data-skin="icq"] .contact-qr { background: #c0c0c0; border: 3px outset #fff; padding: .75rem; }

/* Bauhaus: bold geometry, primary colors, and offset ink borders. */
:root[data-skin="bauhaus"] { --bg: #f8e9cf; --fg: #191919; --muted: #514b43; --yellow: #a82c20; --panel: #f4bf34; --line: #191919; }
[data-skin="bauhaus"] body { font-family: system-ui, sans-serif; }
[data-skin="bauhaus"] .topbar { border-bottom: 3px solid var(--fg); }
[data-skin="bauhaus"] .topbar .in { padding-block: 1.2rem; }
[data-skin="bauhaus"] .brand { color: var(--fg); font-family: system-ui, sans-serif; font-weight: 900; letter-spacing: -.04em; }
[data-skin="bauhaus"] .hero { position: relative; gap: 2.5rem; padding-block: 4rem 2.5rem; }
[data-skin="bauhaus"] .headshot { border-radius: 0; border: 4px solid var(--fg); box-shadow: -12px 12px 0 #2454ab; width: 190px; }
[data-skin="bauhaus"] h1, [data-skin="bauhaus"] h2 { font-family: system-ui, sans-serif; font-weight: 900; letter-spacing: -.07em; }
[data-skin="bauhaus"] h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
[data-skin="bauhaus"] .kicker { letter-spacing: .04em; font-weight: 600; }
[data-skin="bauhaus"] .tagline { font-size: 1.2rem; }
[data-skin="bauhaus"] .lede { border-top: 3px solid var(--fg); padding-top: 1.5rem; font-size: 1.1rem; }
[data-skin="bauhaus"] .band { border: 3px solid var(--fg); box-shadow: 8px 8px 0 var(--fg); padding: 2rem; }
[data-skin="bauhaus"] .call-summary { color: var(--fg); }
[data-skin="bauhaus"] .btn { color: white; background: #a82c20; border: 2px solid var(--fg); box-shadow: 3px 3px 0 var(--fg); }
[data-skin="bauhaus"] .remix { border: 2px solid var(--fg); background: #2454ab; color: white; box-shadow: 3px 3px 0 var(--fg); }
[data-skin="bauhaus"] .skin-name { color: white; }
[data-skin="bauhaus"] .contact-qr { border: 3px solid var(--fg); background: #fff; padding: .75rem; }
@media (max-width: 600px) {
  [data-skin="icq"] .topbar, [data-skin="icq"] .wrap { margin-inline: 10px; }
  [data-skin="icq"] .wrap { padding: 12px; }
  [data-skin="icq"] .hero { align-items: flex-start; }
  [data-skin="bauhaus"] .hero { gap: 2rem; padding-top: 2.5rem; }
  [data-skin="bauhaus"] .headshot { width: 140px; margin-left: 12px; }
  [data-skin="bauhaus"] .band { padding: 1.25rem; margin-right: 8px; }
}

.icq-interface { display: none; }
[data-skin="icq"] .icq-interface { display: block; width: 320px; max-width: calc(100% - 32px); margin: 36px auto; }
.icq-interface img { display: block; width: 100%; height: auto; }
@media (min-width: 1100px) {
  [data-skin="icq"] body { display: grid; grid-template-columns: clamp(260px, 22vw, 320px) minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: start; column-gap: 24px; padding: 20px 24px; }
  [data-skin="icq"] .icq-interface { grid-column: 1; grid-row: 1 / 4; max-width: 100%; margin: 110px 0 0; }
  [data-skin="icq"] .topbar { grid-column: 2; grid-row: 1; width: 100%; margin: 0; }
  [data-skin="icq"] .wrap { grid-column: 2; grid-row: 2; width: 100%; min-width: 0; margin-inline: 0; }
  [data-skin="icq"] .contact-qr { grid-column: 2; grid-row: 3; }
}

/* Teletext: broadcast page colors, mosaic portrait, and a CRT surround. */
.teletext-portrait { display: none; }
:root[data-skin="teletext"] { --bg: #08080a; --fg: #f4f4f4; --muted: #22ffff; --yellow: #ffff22; --panel: #000; --line: #2244ff; }
[data-skin="teletext"] body { font-family: "IBM Plex Mono", monospace; font-size: 1rem; background: radial-gradient(ellipse at top, #171721, #08080a 70%); }
[data-skin="teletext"] .topbar { margin: 24px clamp(16px, 4vw, 48px) 0; background: #000; border: 0; border-top: 8px solid #2244ff; }
[data-skin="teletext"] .topbar .in { justify-content: space-between; padding: 1rem 24px; }
[data-skin="teletext"] .topbar .in::before { content: 'P100  LAI TEXT'; color: #22ff22; font-size: 1rem; font-weight: bold; letter-spacing: .08em; }
[data-skin="teletext"] .wrap { position: relative; margin-inline: clamp(16px, 4vw, 48px); background: #000; padding: 24px; border: 16px solid #222228; border-radius: 0 0 24px 24px; box-shadow: 0 24px 60px #000, inset 0 0 40px #ffffff09; }
[data-skin="teletext"] .wrap::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(0deg, #00000022 0 1px, transparent 1px 4px); }
[data-skin="teletext"] .hero { padding: 1.5rem 0 2rem; gap: 2rem; border-bottom: 8px solid #22ffff; }
[data-skin="teletext"] .headshot { width: 160px; border-radius: 0; border: 4px solid #22ffff; }
[data-skin="teletext"] .teletext-portrait { display: block; width: 100%; height: 100%; image-rendering: pixelated; position: absolute; inset: 0; }
[data-skin="teletext"] h1, [data-skin="teletext"] h2 { font-family: "IBM Plex Mono", monospace; font-weight: 400; line-height: 1.1; letter-spacing: -.05em; }
[data-skin="teletext"] h1 { font-size: clamp(2rem, 5.5vw, 4rem); color: #ffff22; text-shadow: 2px 0 #ffff2250; }
[data-skin="teletext"] h2 { color: #22ffff; font-size: 1.8rem; }
[data-skin="teletext"] .kicker { color: #22ff22; letter-spacing: 0; font-size: .8rem; margin-bottom: .75rem; }
[data-skin="teletext"] .tagline { font-size: 1rem; color: #22ffff; }
[data-skin="teletext"] .lede { font-size: 1rem; line-height: 1.8; max-width: none; margin-block: 1.5rem; }
[data-skin="teletext"] .band { padding: 1.5rem; border: 0; border-top: 8px solid #ff22ff; margin: 2rem 0 0; background: #000; }
[data-skin="teletext"] .band .kicker::before { content: 'P101 · '; }
[data-skin="teletext"] .call-summary { color: #ffff22; }
[data-skin="teletext"] .btn { background: #ffff22; color: #000; letter-spacing: 0; font-weight: 400; }
[data-skin="teletext"] .topbar .btn { background: #22ff22; }
[data-skin="teletext"] .remix { border: 0; background: #2244ff; color: #fff; font-family: "IBM Plex Mono", monospace; }
[data-skin="teletext"] .skin-name { color: #fff; }
[data-skin="teletext"] .contact-qr { margin-top: 2rem; color: #22ffff; }
@media (max-width: 600px) {
  [data-skin="teletext"] .topbar { margin: 12px 10px 0; }
  [data-skin="teletext"] .topbar .in { padding: 12px; }
  [data-skin="teletext"] .wrap { margin-inline: 10px; border-width: 8px; padding: 16px; }
  [data-skin="teletext"] .headshot { width: 120px; }
  [data-skin="teletext"] .band { padding: 1rem 0; }
  [data-skin="teletext"] .btn { padding-inline: 1rem; }
}

.clock-gallery { display: none; }
:root[data-skin="chronarium"] { --bg: #080705; --fg: #ece5d4; --muted: #c8c0ad; --yellow: #c6a15f; --panel: #100e0a; --line: #b8934e40; }
[data-skin="chronarium"] body { font-family: Georgia, serif; background: radial-gradient(ellipse at 50% 15%, #252015, #080705 65%); }
[data-skin="chronarium"] .topbar { background: #080705b0; }
[data-skin="chronarium"] .topbar .in { padding-block: 1.2rem; }
[data-skin="chronarium"] .wrap { padding-inline: clamp(16px, 4vw, 48px); }
[data-skin="chronarium"] .clock-gallery { display: block; padding-top: 2.5rem; }
.gallery-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font-family: "IBM Plex Mono", monospace; font-size: .65rem; color: var(--yellow); letter-spacing: .15em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.clock-instruments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-top: 2rem; }
.clock-instrument { margin: 0; min-width: 0; animation: clock-drift 9s ease-in-out infinite; animation-delay: var(--delay); }
.clock-instrument canvas { display: block; width: 100%; height: auto; }
.clock-instrument figcaption { display: flex; flex-direction: column; gap: .4rem; text-align: center; font-family: "IBM Plex Mono", monospace; font-size: .7rem; color: var(--yellow); text-transform: uppercase; letter-spacing: .13em; }
.clock-instrument time { color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes clock-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
[data-skin="chronarium"] .hero { padding: 4rem 0 2rem; border-bottom: 1px solid var(--line); }
[data-skin="chronarium"] .headshot { width: 130px; border: 3px solid #806237; filter: sepia(.4); }
[data-skin="chronarium"] h1, [data-skin="chronarium"] h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: .02em; }
[data-skin="chronarium"] h1 { font-size: clamp(2.7rem, 7vw, 5rem); }
[data-skin="chronarium"] h2 { font-size: 2rem; }
[data-skin="chronarium"] .kicker { font-size: .65rem; letter-spacing: .17em; }
[data-skin="chronarium"] .tagline { font-style: italic; color: var(--muted); }
[data-skin="chronarium"] .lede { font-size: 1.2rem; line-height: 1.8; }
[data-skin="chronarium"] .band { border-left: 2px solid var(--yellow); padding: 2rem; }
[data-skin="chronarium"] .btn, [data-skin="chronarium"] .remix { background: transparent; border: 1px solid var(--yellow); color: var(--fg); font-family: "IBM Plex Mono", monospace; letter-spacing: .08em; }
[data-skin="chronarium"] .btn:hover, [data-skin="chronarium"] .remix:hover { background: #b8934e22; }
[data-skin="chronarium"] .contact-qr { background: transparent; }
@media (max-width: 600px) {
  [data-skin="chronarium"] .wrap { padding-inline: 20px; }
  .clock-instruments { gap: .25rem; margin-inline: -12px; }
  .clock-instrument figcaption { font-size: .55rem; letter-spacing: .03em; }
  [data-skin="chronarium"] .hero { padding-top: 2.5rem; }
  [data-skin="chronarium"] .band { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .clock-instrument { animation: none; } }

/* New Years: midnight blue, champagne foil, and a still firework sky. */
:root[data-skin="newyears"] { --bg: #090f25; --fg: #f6f1e7; --muted: #c0c9df; --yellow: #efd398; --panel: #111a35; --line: #536083; }
[data-skin="newyears"] body { font-family: Georgia, "Times New Roman", serif; background: url('/img/newyears-fireworks.svg') center top / 1440px 780px repeat-x, radial-gradient(ellipse at 50% 0, #1d2b50, #090f25 70%); }
[data-skin="newyears"] .topbar { background: #090f25ed; border-bottom: 1px solid #efd39880; }
[data-skin="newyears"] .hero { padding-block: 4rem 2.5rem; }
[data-skin="newyears"] .headshot { border: 5px double #efd398; box-shadow: 0 0 0 8px #090f25, 0 0 0 9px #efd39855; }
[data-skin="newyears"] h1, [data-skin="newyears"] h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; text-transform: none; letter-spacing: -.035em; color: #efd398; }
[data-skin="newyears"] h1 { font-size: clamp(2.6rem, 9vw, 5.5rem); }
[data-skin="newyears"] .kicker { letter-spacing: .18em; }
[data-skin="newyears"] .hero .kicker::before { content: '✦ '; }
[data-skin="newyears"] .tagline { font-style: italic; }
[data-skin="newyears"] .band { background: #111a35f5; border: 1px solid #efd39890; border-top: 3px double #efd398; border-radius: 12px; box-shadow: 0 12px 40px #0003; }
[data-skin="newyears"] .btn { background: #efd398; color: #090f25; border: 1px solid #fff1cf; border-radius: 3px; }
[data-skin="newyears"] .remix { border-color: #efd39890; border-radius: 3px; background: #090f25; }
[data-skin="newyears"] .contact-qr { background: #090f25; border: 1px solid #efd39880; border-radius: 12px; padding: 1rem; }
@media (max-width: 600px) {
  [data-skin="newyears"] body { background-size: 600px 325px, auto; }
  [data-skin="newyears"] .hero { padding-top: 2rem; }
}

/* Christmas: evergreen, ribbon red, gold foil, and a string of ornaments. */
:root[data-skin="christmas"] { --bg: #102e26; --fg: #fff5df; --muted: #d1ddce; --yellow: #f4cd7c; --panel: #193c31; --line: #688c72; }
[data-skin="christmas"] body { font-family: Georgia, serif; background-image: radial-gradient(#fff5df25 1px, transparent 1px); background-size: 26px 26px; }
/* A wire of red and green bulbs across the bottom of the top bar; the two colours fade in turn. */
[data-skin="christmas"] .topbar { position: relative; border-bottom: 2px solid #f4cd7c; background: linear-gradient(#3d6a4c, #3d6a4c) left bottom 16px / 100% 1px no-repeat, #0a221b; }
[data-skin="christmas"] .topbar::before, [data-skin="christmas"] .topbar::after { content: ''; display: block; height: 18px; background-size: 60px 18px; animation: christmas-twinkle 2.4s ease-in-out infinite alternate; }
[data-skin="christmas"] .topbar::before { position: absolute; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 45px 8px, #7ee38c 0 3px, #3fbf5a 4px, #3fbf5a55 6px, transparent 10px); animation-delay: -2.4s; }
[data-skin="christmas"] .topbar::after { background-image: radial-gradient(circle at 15px 8px, #ff8a7a 0 3px, #d6403f 4px, #d6403f55 6px, transparent 10px); }
@keyframes christmas-twinkle { from { opacity: 1; } to { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { [data-skin="christmas"] .topbar::before, [data-skin="christmas"] .topbar::after { animation: none; } }
[data-skin="christmas"] .hero { padding-block: 4rem 2.5rem; }
[data-skin="christmas"] .headshot { border: 6px double #f4cd7c; box-shadow: 0 0 0 7px #315b40; }
[data-skin="christmas"] h1, [data-skin="christmas"] h2 { font-family: Georgia, serif; text-transform: none; font-weight: 400; }
[data-skin="christmas"] h1 { font-size: clamp(3rem, 9vw, 5.5rem); }
[data-skin="christmas"] .tagline { font-style: italic; }
[data-skin="christmas"] .band { border: 1px solid #f4cd7c; border-top: 10px solid #b6343c; border-radius: 8px; box-shadow: 0 8px 30px #0003; }
[data-skin="christmas"] .btn { background: #b6343c; color: #fff; border: 1px solid #f4cd7c; border-radius: 4px; }
[data-skin="christmas"] .remix { border-color: #f4cd7c; border-radius: 4px; }
[data-skin="christmas"] .contact-qr { background: #0a221b; border: 1px solid #688c72; padding: 1rem; border-radius: 8px; }

/* Halloween: violet night, a harvest moon, and pumpkin-orange accents. */
:root[data-skin="halloween"] { --bg: #140f21; --fg: #f5ebdc; --muted: #c5b5d7; --yellow: #ffad50; --panel: #211630; --line: #655078; }
[data-skin="halloween"] body { font-family: Georgia, serif; background: radial-gradient(ellipse at top right, #252238, #0c0916 65%); }
[data-skin="halloween"] .topbar { background: #140f21b0; border-bottom: 1px solid #ffad5060; }
[data-skin="halloween"] .hero { padding-block: 4rem 2.5rem; }
[data-skin="halloween"] .headshot { border-radius: 45% 45% 12% 12%; border: 3px solid #ffad50; box-shadow: 0 0 30px #ff8a2022; }
[data-skin="halloween"] h1, [data-skin="halloween"] h2 { font-family: Georgia, serif; text-transform: none; font-weight: 700; letter-spacing: -.04em; }
[data-skin="halloween"] h1 { color: #ffad50; text-shadow: 3px 3px #542744; }
[data-skin="halloween"] .band { border: 1px solid #655078; border-left: 5px solid #ffad50; border-radius: 0 24px 24px 0; }
[data-skin="halloween"] .btn { color: #21102c; background: #ffad50; border-radius: 6px; }
[data-skin="halloween"] .remix { border-color: #ffad50; background: #211630; border-radius: 6px; }
[data-skin="halloween"] .contact-qr { background: #211630; border-radius: 16px; padding: 1rem; }

/* Blueprint: drafting grid, technical labels, and white construction lines. */
:root[data-skin="blueprint"] { --bg: #123c74; --fg: #f1f7ff; --muted: #c0d8f4; --yellow: #f7db75; --panel: #0b2e5a; --line: #91b9ec; }
[data-skin="blueprint"] body { font-family: "IBM Plex Mono", monospace; font-size: 1rem; background-image: linear-gradient(#b4d8ff12 1px, transparent 1px), linear-gradient(90deg, #b4d8ff12 1px, transparent 1px), linear-gradient(#b4d8ff18 1px, transparent 1px), linear-gradient(90deg, #b4d8ff18 1px, transparent 1px); background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px; }
[data-skin="blueprint"] .topbar { background: #0b2e5a; border-bottom: 2px solid #91b9ec; }
[data-skin="blueprint"] .hero { border-bottom: 1px dashed #91b9ec; padding-block: 3.5rem 2rem; }
[data-skin="blueprint"] .headshot { border-radius: 0; border: 2px solid #f1f7ff; outline: 1px dashed #91b9ec; outline-offset: 8px; }
[data-skin="blueprint"] h1, [data-skin="blueprint"] h2 { font-family: "IBM Plex Mono", monospace; font-weight: 400; }
[data-skin="blueprint"] h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -.05em; }
[data-skin="blueprint"] .tagline, [data-skin="blueprint"] .lede { font-size: 1rem; }
[data-skin="blueprint"] .band { border: 2px solid #91b9ec; background: #0b2e5a; }
[data-skin="blueprint"] .band .kicker::before { content: 'FIG. 02 / '; }
[data-skin="blueprint"] .btn { border: 1px solid #f7db75; background: #f7db75; color: #0b2e5a; letter-spacing: 0; }
[data-skin="blueprint"] .remix { border: 1px solid #91b9ec; }
[data-skin="blueprint"] .contact-qr { border: 1px solid #91b9ec; padding: .8rem; background: #0b2e5a; }

/* Y2K Chrome: metallic panels, translucent lavender, and electric blue. */
:root[data-skin="chrome"] { --bg: #e8e8f5; --fg: #22234b; --muted: #595775; --yellow: #3933a7; --panel: #f2f2fc; --line: #9999b8; }
[data-skin="chrome"] body { font-family: Arial, sans-serif; background: radial-gradient(ellipse at 15% 25%, #bdcaff 0, transparent 55%), radial-gradient(ellipse at 85% 65%, #f4c9ef 0, transparent 55%), #e8e8f5; }
[data-skin="chrome"] .topbar { background: linear-gradient(#fcfcff, #c3c5d9 50%, #ececf8); border-bottom: 2px solid #9999b8; }
[data-skin="chrome"] .hero { flex-direction: row-reverse; padding-block: 4rem 2rem; gap: 2.5rem; }
[data-skin="chrome"] .hero > div { flex: 1; min-width: 0; }
[data-skin="chrome"] .headshot { border: 7px solid #c6c9db; box-shadow: 0 0 0 2px #fff, 8px 12px 25px #3933a730; }
[data-skin="chrome"] h1, [data-skin="chrome"] h2 { font-family: Arial, sans-serif; font-style: italic; font-weight: 900; letter-spacing: -.06em; }
[data-skin="chrome"] h1 { color: #3933a7; text-shadow: 2px 2px #fff; }
[data-skin="chrome"] .kicker { letter-spacing: .07em; }
[data-skin="chrome"] .band { border: 2px solid #fff; border-radius: 28px; background: linear-gradient(135deg, #ffffffdd, #d7d9efcc); box-shadow: 0 8px 24px #3933a71a; }
[data-skin="chrome"] .btn { border-radius: 100px; background: linear-gradient(#6761df, #3933a7); color: #fff; border: 2px solid #e5e4ff; font-family: Arial, sans-serif; letter-spacing: .03em; }
[data-skin="chrome"] .remix { border-radius: 100px; border: 1px solid #9999b8; background: linear-gradient(#fff, #cdd0e4); }
[data-skin="chrome"] .contact-qr { background: #ffffffa0; border-radius: 20px; padding: 1rem; }

/* Botanical: pale sage paper, leaf-shaped portrait, and restrained ink. */
:root[data-skin="botanical"] { --bg: #eff0e6; --fg: #283e30; --muted: #58654f; --yellow: #365c3a; --panel: #dce4d1; --line: #a6b79b; }
[data-skin="botanical"] body { font-family: Georgia, serif; background: radial-gradient(ellipse at top right, #cedbc17a, transparent 60%), #eff0e6; }
[data-skin="botanical"] .topbar { background: #eff0e6; border-bottom: 1px solid #a6b79b; }
[data-skin="botanical"] .wrap { padding-inline: clamp(16px, 4vw, 48px); }
[data-skin="botanical"] .hero { gap: 3rem; padding-block: 4rem 2.5rem; }
[data-skin="botanical"] .headshot { border-radius: 50% 0 50% 0; background: #dce4d1; border: 5px solid #a6b79b; }
[data-skin="botanical"] h1, [data-skin="botanical"] h2 { font-family: Georgia, serif; text-transform: none; font-weight: 400; letter-spacing: -.04em; }
[data-skin="botanical"] h1 { font-size: clamp(3rem, 8vw, 5rem); }
[data-skin="botanical"] .tagline { font-style: italic; }
[data-skin="botanical"] .lede { line-height: 1.9; font-size: 1.15rem; }
[data-skin="botanical"] .band { border: 1px solid #a6b79b; border-radius: 0 36px 0 36px; padding: 2rem; }
[data-skin="botanical"] .btn { color: #fff; background: #365c3a; border-radius: 0 16px 0 16px; font-family: Georgia, serif; text-transform: none; letter-spacing: .02em; }
[data-skin="botanical"] .remix { border-radius: 0 12px 0 12px; border-color: #a6b79b; }
[data-skin="botanical"] .contact-qr { background: #dce4d1; border-radius: 0 20px 0 20px; padding: 1rem; }
@media (max-width: 600px) {
  [data-skin="christmas"] .hero, [data-skin="halloween"] .hero, [data-skin="blueprint"] .hero, [data-skin="chrome"] .hero, [data-skin="botanical"] .hero { flex-direction: column; align-items: flex-start; padding-top: 2.5rem; gap: 2rem; }
  [data-skin="botanical"] .wrap { padding-inline: 20px; }
  [data-skin="botanical"] .band { padding: 1.5rem; }
}

.halloween-sky, .halloween-costume, .halloween-pumpkin { display: none; pointer-events: none; }
[data-skin="halloween"] .halloween-sky { display: block; position: absolute; top: 70px; right: 0; width: 100%; height: 400px; }
[data-skin="halloween"] .topbar, [data-skin="halloween"] .wrap, [data-skin="halloween"] .contact-qr { position: relative; }
[data-skin="halloween"] .headshot { overflow: visible; background: #211b33; }
[data-skin="halloween"] .headshot picture { overflow: hidden; border-radius: inherit; background: #252238; }
[data-skin="halloween"] .headshot img { filter: brightness(.65) saturate(.6) sepia(.15); }
[data-skin="halloween"] .headshot picture::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #5552a42b; pointer-events: none; }
[data-skin="halloween"] .halloween-costume { display: block; position: absolute; width: 115%; height: 130%; left: -7.5%; top: -22%; overflow: visible; }
[data-skin="halloween"] .halloween-pumpkin { display: inline-block; width: 1.8rem; height: 1.8rem; vertical-align: middle; margin-left: .25rem; }
@media (max-width: 600px) {
  [data-skin="halloween"] .hero { padding-top: 4rem; }
  [data-skin="halloween"] .halloween-sky { height: 300px; }
}

/* Matrix: green phosphor terminals over a live katakana code field. */
@font-face { font-family: "MatrixKatakana"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/MatrixKatakana.ttf") format("truetype"); }
.matrix-rain { display: none; }
:root[data-skin="matrix"] { --bg: #020804; --fg: #d0ffda; --muted: #8bcda0; --yellow: #54ff8e; --panel: #031008ed; --line: #22673a; }
[data-skin="matrix"] body { font-family: "IBM Plex Mono", monospace; font-size: 1rem; background: #020804; isolation: isolate; }
[data-skin="matrix"] .matrix-rain { display: block; position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
[data-skin="matrix"] .topbar { background: #020804eb; border-bottom: 1px solid #22673a; }
[data-skin="matrix"] .wrap { margin-top: 2rem; margin-inline: clamp(16px, 4vw, 48px); padding: 24px; background: #020804dc; border: 1px solid #22673a; box-shadow: 0 0 32px #00ff4410; }
[data-skin="matrix"] .hero { padding: 2rem 0; border-bottom: 1px dashed #22673a; }
[data-skin="matrix"] .headshot { border-radius: 0; border: 2px solid #54ff8e; box-shadow: 0 0 20px #00ff4422; }
[data-skin="matrix"] .headshot img { filter: grayscale(1) sepia(1) hue-rotate(75deg) saturate(2) brightness(.8); }
[data-skin="matrix"] h1, [data-skin="matrix"] h2 { font-family: "IBM Plex Mono", monospace; font-weight: 400; letter-spacing: -.05em; color: #54ff8e; text-shadow: 0 0 12px #00ff4460; }
[data-skin="matrix"] h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
[data-skin="matrix"] h2 { font-size: 1.65rem; }
[data-skin="matrix"] .kicker { letter-spacing: .04em; font-size: .75rem; }
[data-skin="matrix"] .hero .kicker::before { content: '[ SYSTEM ONLINE ] '; }
[data-skin="matrix"] .tagline, [data-skin="matrix"] .lede { font-size: 1rem; line-height: 1.8; }
[data-skin="matrix"] .band { margin-block: 2rem; border: 1px solid #22673a; border-left: 4px solid #54ff8e; }
[data-skin="matrix"] .btn { background: #54ff8e; color: #020804; letter-spacing: 0; border: 1px solid #54ff8e; }
[data-skin="matrix"] .remix { color: #54ff8e; border-color: #22673a; background: #031008; }
[data-skin="matrix"] .contact-qr { background: #020804eb; border: 1px solid #22673a; padding: 1rem; }
@media (max-width: 600px) {
  [data-skin="matrix"] .wrap { margin: 1rem 12px; padding: 16px; }
  [data-skin="matrix"] .hero { padding-top: 1rem; }
  [data-skin="matrix"] .band { padding: 1rem; }
}

/* Matrix's type-cycle keeps a full-size text layer to prevent layout shifts. */
type-cycle { display: inline; }
.type-visual { display: none; }
[data-skin="matrix"] type-cycle { display: block; position: relative; }
[data-skin="matrix"] .type-source { display: block; opacity: 0; }
[data-skin="matrix"] .type-visual { display: block; position: absolute; inset: 0; pointer-events: none; }
[data-skin="matrix"] type-cycle.typing .type-visual::after { content: ''; display: inline-block; width: .62em; height: 1em; margin-left: .08em; vertical-align: -.12em; background: currentColor; box-shadow: 0 0 7px #54ff8e80; animation: matrix-cursor 1s steps(1) infinite; }
@keyframes matrix-cursor { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.matrix-dissolve-char { position: relative; color: transparent; }
.matrix-dissolve-char > span { position: absolute; left: 0; top: 0; font-family: "MatrixKatakana", monospace; font-size: .65em; color: var(--yellow); text-shadow: 0 0 8px #54ff8e80; }
@media (prefers-reduced-motion: reduce) {
  [data-skin="matrix"] type-cycle.typing .type-visual::after { animation: none; }
}

.matrix-intro-screen { display: none; }
[data-skin="matrix"] .matrix-intro .matrix-intro-screen { display: block; position: fixed; inset: 0; z-index: 40; background: #000; padding: clamp(32px, 10vw, 140px); color: #54ff8e; font-family: "IBM Plex Mono", monospace; }
.matrix-intro-text { margin: 12vh 0 0; font-size: clamp(1.1rem, 3vw, 2rem); line-height: 1.8; text-shadow: 0 0 10px #54ff8e50; }
.matrix-intro-text.typing::after { content: ''; display: inline-block; width: .62em; height: 1em; margin-left: .08em; vertical-align: -.12em; background: currentColor; animation: matrix-cursor 1s steps(1) infinite; }
.matrix-intro-skip { position: absolute; right: 24px; bottom: 24px; padding: .6rem .8rem; color: #8bcda0; background: #000; border: 1px solid #22673a; font: inherit; font-size: .8rem; cursor: pointer; }
.matrix-intro-skip:focus-visible { outline: 2px solid #54ff8e; outline-offset: 4px; }
[data-skin="matrix"] .matrix-intro .matrix-rain { visibility: hidden; }
.blueprint-gpu { display: none; }
[data-skin="blueprint"] .blueprint-gpu { display: block; width: calc(100% - 32px); max-width: 960px; margin: 0 auto 2rem; }
.blueprint-gpu img { display: block; width: 100%; height: auto; pointer-events: none; }

/* Editorial notebook: faint ink on warm paper, with a close double margin. */
.paper-holes { display: none; }
[data-skin="editorial"] { background: #deddd4; }
[data-skin="editorial"] body {
  --paper-margin: 70px;
  position: relative; min-height: calc(100vh - 48px);
  margin: 24px clamp(16px, 4vw, 48px); padding-left: 88px;
  background-color: #faf8f0;
  background-image:
    linear-gradient(90deg, transparent var(--paper-margin), #d890983b var(--paper-margin), #d890983b calc(var(--paper-margin) + 1px), transparent calc(var(--paper-margin) + 1px), transparent calc(var(--paper-margin) + 5px), #d890983b calc(var(--paper-margin) + 5px), #d890983b calc(var(--paper-margin) + 6px), transparent calc(var(--paper-margin) + 6px)),
    repeating-linear-gradient(180deg, transparent 0 31px, #76afcf30 31px 32px);
  box-shadow: 0 8px 32px #3e45301a;
}
[data-skin="editorial"] .paper-holes { display: flex; position: absolute; left: 24px; top: 140px; bottom: 100px; flex-direction: column; justify-content: space-between; pointer-events: none; }
.paper-holes span { display: block; width: 27px; height: 27px; border-radius: 50%; background: #deddd4; box-shadow: inset 1px 2px 3px #655e4f35, 0 1px 0 #fff; }
[data-skin="editorial"] .topbar { background: transparent; }
[data-skin="editorial"] .contact-qr { background: #faf8f0; }
[data-skin="editorial"] .band { background: #e7ecdfdd; }
@media (max-width: 600px) {
  [data-skin="editorial"] body { --paper-margin: 34px; margin: 12px 8px; padding-left: 44px; min-height: calc(100vh - 24px); }
  [data-skin="editorial"] .paper-holes { left: 12px; top: 120px; bottom: 80px; }
  [data-skin="editorial"] .paper-holes span { width: 18px; height: 18px; }
  [data-skin="editorial"] .in, [data-skin="editorial"] .wrap { padding-inline: 12px; }
  [data-skin="editorial"] h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  [data-skin="editorial"] .band { padding: 1rem; }
}

/* Japanese Ink: rice-paper warmth, a brush-drawn enso, and vermilion seals. */
.ink-divider, .watchmaker-gallery, .sonar-instrument { display: none; }
:root[data-skin="ink"] { --bg: #f2efe5; --fg: #242d27; --muted: #5f675c; --yellow: #a83d32; --panel: #e8e6da; --line: #b7b8a8; }
[data-skin="ink"] body { font-family: Georgia, serif; background-color: #f2eddf; background-image: url('/img/ink-paper.webp'); background-size: 256px 256px; }
[data-skin="ink"] .topbar { background: transparent; border-bottom: 1px solid #b7b8a8; }
[data-skin="ink"] .wrap { padding-inline: clamp(16px, 4vw, 48px); }
[data-skin="ink"] .hero { position: relative; flex-direction: row-reverse; gap: 3rem; padding: 5rem 0 3rem; }
[data-skin="ink"] .hero::before { content: ''; position: absolute; right: -20px; top: 18px; width: 350px; height: 350px; background: url('/img/ink-enso-reference.webp') center / contain no-repeat; pointer-events: none; }
[data-skin="ink"] .hero > div { flex: 1; min-width: 0; }
[data-skin="ink"] .headshot { width: 180px; border-radius: 50%; filter: grayscale(.65); z-index: 1; margin-inline: 45px; }
[data-skin="ink"] h1, [data-skin="ink"] h2 { font-family: Georgia, serif; text-transform: none; font-weight: 400; letter-spacing: -.05em; }
[data-skin="ink"] h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
[data-skin="ink"] .kicker { color: #a83d32; font-size: .7rem; letter-spacing: .13em; }
[data-skin="ink"] .tagline { font-style: italic; font-size: 1.3rem; }
[data-skin="ink"] .lede { line-height: 1.95; font-size: 1.15rem; border-top: 1px solid #b7b8a8; padding-top: 1.5rem; }
[data-skin="ink"] .band { background: #e8e6da80; border: 1px solid #b7b8a8; border-left: 3px solid #a83d32; padding: 2rem; }
[data-skin="ink"] .btn { background: #a83d32; color: #fff; font-family: Georgia, serif; letter-spacing: .04em; text-transform: none; }
[data-skin="ink"] .remix { border-color: #b7b8a8; }
[data-skin="ink"] .ink-divider { display: block; max-width: 1050px; width: calc(100% - 40px); margin: 0 auto 1rem; }
.ink-divider img { display: block; width: 100%; height: auto; }
[data-skin="ink"] .contact-qr { background: transparent; }

/* Luxury Watchmaker: a Blender-made platinum watch in a midnight gallery. */
:root[data-skin="watchmaker"] { --bg: #07111f; --fg: #e8eaf0; --muted: #aeb9ca; --yellow: #dbbf84; --panel: #0c1a2b; --line: #9da8bd40; }
[data-skin="watchmaker"] body { font-family: Georgia, serif; background: radial-gradient(ellipse at 50% 15%, #1b2b44, #07111f 60%); }
[data-skin="watchmaker"] .topbar { background: #07111fcc; border-bottom: 1px solid #dbbf8440; }
[data-skin="watchmaker"] .topbar .in { padding-block: 1.2rem; }
[data-skin="watchmaker"] .wrap { padding-inline: clamp(16px, 4vw, 48px); }
[data-skin="watchmaker"] .watchmaker-gallery { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; margin: 1.5rem 0 0; border-bottom: 1px solid var(--line); }
.watchmaker-stage { position: relative; width: 100%; height: 380px; background: radial-gradient(ellipse at center, #b5c7ef0d, transparent 70%); }
.watchmaker-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.watchmaker-canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.watchmaker-stage[data-rendered="true"] .watchmaker-canvas { display: block; }
.watchmaker-stage[data-rendered="true"] .watchmaker-poster { opacity: 0; }
.watchmaker-gallery figcaption { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; color: #dbbf84; padding: 1.5rem; font-style: italic; }
.watchmaker-gallery figcaption span { display: block; margin-top: 1.5rem; font-family: "IBM Plex Mono", monospace; font-size: .65rem; font-style: normal; letter-spacing: .13em; text-transform: uppercase; color: #aeb9ca; line-height: 1.8; }
[data-skin="watchmaker"] .hero { padding: 3rem 0 2rem; gap: 2.5rem; }
[data-skin="watchmaker"] .headshot { width: 130px; border: 2px solid #dbbf84; }
[data-skin="watchmaker"] h1, [data-skin="watchmaker"] h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: .02em; text-transform: none; }
[data-skin="watchmaker"] h1 { font-size: clamp(3rem, 7vw, 5rem); }
[data-skin="watchmaker"] .kicker { font-size: .65rem; letter-spacing: .16em; }
[data-skin="watchmaker"] .tagline { color: #aeb9ca; font-style: italic; }
[data-skin="watchmaker"] .lede { font-size: 1.15rem; line-height: 1.8; }
[data-skin="watchmaker"] .band { padding: 2rem; border: 1px solid var(--line); border-left: 2px solid #dbbf84; }
[data-skin="watchmaker"] .btn, [data-skin="watchmaker"] .remix { color: #dbbf84; border: 1px solid #dbbf84; background: transparent; font-size: .85rem; }
[data-skin="watchmaker"] .btn:hover, [data-skin="watchmaker"] .remix:hover { background: #dbbf8415; }
[data-skin="watchmaker"] .contact-qr { background: transparent; }

/* Underwater Sonar: a moving sweep over a Canvas 2D instrument face. */
:root[data-skin="sonar"] { --bg: #041d28; --fg: #d9f3ef; --muted: #9ac3c8; --yellow: #73e9d5; --panel: #082b37; --line: #337785; }
[data-skin="sonar"] body { font-family: "IBM Plex Mono", monospace; font-size: 1rem; background: radial-gradient(ellipse at top, #104153, #041d28 65%); }
[data-skin="sonar"] .topbar { background: #041d28d0; border-bottom: 1px solid #337785; }
[data-skin="sonar"] .sonar-instrument { display: block; position: relative; width: 280px; height: 280px; margin: 2rem auto 2.5rem; }
.sonar-instrument img { display: block; width: 100%; height: auto; }
.sonar-sweep { position: absolute; inset: 4.2%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg 280deg, #73e9d505 290deg, #73e9d54d 359deg, transparent 360deg); }
.sonar-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #73e9d5; transform: translate(-50%, -50%); box-shadow: 0 0 5px #73e9d570; }
.sonar-dot.ping { animation: sonar-dot-ping 1.2s ease-out; }
@keyframes sonar-dot-ping { 0% { box-shadow: 0 0 0 0 #73e9d5a0, 0 0 12px #73e9d5; background: #e2fff8; } 100% { box-shadow: 0 0 0 18px #73e9d500, 0 0 5px #73e9d570; background: #73e9d5; } }
.sonar-readout { position: absolute; top: calc(100% + .5rem); left: 0; width: 100%; text-align: center; font-size: .6rem; letter-spacing: .2em; color: #73e9d5; }
[data-skin="sonar"] .hero { padding: 1rem 0 2rem; border-bottom: 1px solid #337785; }
[data-skin="sonar"] .headshot { border: 3px solid #73e9d5; box-shadow: 0 0 30px #73e9d522; }
[data-skin="sonar"] .headshot img { filter: grayscale(.7) sepia(.35) hue-rotate(115deg); }
[data-skin="sonar"] h1, [data-skin="sonar"] h2 { font-family: "IBM Plex Mono", monospace; font-weight: 400; letter-spacing: -.04em; }
[data-skin="sonar"] h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
[data-skin="sonar"] .kicker { font-size: .7rem; letter-spacing: .06em; }
[data-skin="sonar"] .tagline, [data-skin="sonar"] .lede { font-size: 1rem; line-height: 1.9; }
[data-skin="sonar"] .band { border: 1px solid #337785; border-left: 4px solid #73e9d5; background: #082b37b0; }
[data-skin="sonar"] .btn { color: #041d28; background: #73e9d5; letter-spacing: 0; }
[data-skin="sonar"] .remix { background: #082b37; color: #73e9d5; border-color: #337785; }
[data-skin="sonar"] .contact-qr { border: 1px solid #337785; background: #082b37; padding: .8rem; }
@media (max-width: 600px) {
  [data-skin="ink"] .wrap, [data-skin="watchmaker"] .wrap { padding-inline: 20px; }
  [data-skin="ink"] .hero { flex-direction: column; align-items: flex-start; padding-top: 3rem; gap: 2rem; }
  [data-skin="ink"] .hero::before { right: auto; left: -12px; top: 10px; width: 220px; height: 220px; }
  [data-skin="ink"] .headshot { width: 130px; margin-inline: 24px; }
  [data-skin="ink"] .band, [data-skin="watchmaker"] .band { padding: 1.25rem; }
  [data-skin="watchmaker"] .watchmaker-gallery { grid-template-columns: 1fr; }
  .watchmaker-stage { height: 290px; }
  .watchmaker-gallery figcaption { padding: 0 0 1.5rem; text-align: center; }
  .watchmaker-gallery figcaption span { margin-top: .8rem; }
  [data-skin="watchmaker"] .hero { gap: 1.5rem; padding-top: 2rem; }
  [data-skin="sonar"] .sonar-instrument { width: 220px; height: 220px; }
}
@media (prefers-reduced-motion: reduce) { .sonar-sweep { transform: rotate(35deg); } .sonar-dot.ping { animation: none; } }

/* Macintosh 1984: monochrome desktop, striped title bars and sharp windows. */
.retro-hardware { display: none; }
:root[data-skin="mac1984"] { --bg: #d6d6d0; --fg: #111; --muted: #454541; --yellow: #111; --panel: #fffff7; --line: #111; }
[data-skin="mac1984"] body { font-family: "IBM Plex Mono", monospace; font-size: 1rem; background: repeating-conic-gradient(#c4c4be 0% 25%, #d6d6d0 0% 50%) 0 0 / 4px 4px; }
[data-skin="mac1984"] .topbar { background: #fffff7; border-bottom: 2px solid #111; }
[data-skin="mac1984"] .topbar .in { justify-content: space-between; }
[data-skin="mac1984"] .topbar .in::before { content: 'File   Edit   View'; font-size: .8rem; white-space: pre; }
[data-skin="mac1984"] .wrap { position: relative; margin: 2rem clamp(16px, 4vw, 48px); padding: 44px 24px 24px; border: 2px solid #111; background: #fffff7; box-shadow: 6px 6px 0 #111; }
[data-skin="mac1984"] .wrap::before { content: 'About Brandon'; position: absolute; top: 0; left: 0; right: 0; height: 28px; line-height: 28px; text-align: center; font-size: .8rem; font-weight: 600; background: repeating-linear-gradient(180deg, #fffff7 0 2px, #111 2px 3px, #fffff7 3px 4px); text-shadow: -3px 0 #fffff7, 3px 0 #fffff7, 0 2px #fffff7, 0 -2px #fffff7; border-bottom: 2px solid #111; }
[data-skin="mac1984"] .hero { padding: 1rem 0 2rem; gap: 2rem; }
[data-skin="mac1984"] .headshot { width: 140px; border-radius: 0; border: 2px solid #111; }
[data-skin="mac1984"] .headshot img { filter: grayscale(1) contrast(1.4); }
[data-skin="mac1984"] h1, [data-skin="mac1984"] h2 { font-family: "IBM Plex Mono", monospace; text-transform: none; font-weight: 600; letter-spacing: -.07em; }
[data-skin="mac1984"] h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
[data-skin="mac1984"] .kicker { font-size: .7rem; letter-spacing: 0; }
[data-skin="mac1984"] .tagline, [data-skin="mac1984"] .lede { font-size: 1rem; line-height: 1.7; }
[data-skin="mac1984"] .band { margin: 1.5rem 0 0; border: 2px solid #111; padding: 1.5rem; box-shadow: 3px 3px 0 #111; }
[data-skin="mac1984"] .btn { background: #fffff7; color: #111; border: 2px solid #111; border-radius: 8px; box-shadow: 2px 2px 0 #111; letter-spacing: 0; text-transform: none; }
[data-skin="mac1984"] .remix { border: 2px solid #111; background: #fffff7; border-radius: 8px; }
[data-skin="mac1984"] .btn:active, [data-skin="mac1984"] .remix:active { background: #111; color: #fffff7; }
[data-skin="mac1984"] .retro-mac { display: block; }
[data-skin="mac1984"] .contact-qr { border: 2px solid #111; background: #fffff7; padding: .75rem; box-shadow: 3px 3px 0 #111; }

/* 80286 AT: DOS-blue console, amber type, beige hardware and floppy disks. */
:root[data-skin="pc486"] { --bg: #071b34; --fg: #e6e2cd; --muted: #b9c4c8; --yellow: #ffd27c; --panel: #031018; --line: #7a9ba8; }
[data-skin="pc486"] body { font-family: "IBM Plex Mono", monospace; font-size: 1rem; background: linear-gradient(#091c39, #030f20); }
[data-skin="pc486"] .topbar { background: #0b2851; border-bottom: 2px solid #7a9ba8; }
[data-skin="pc486"] .topbar .in { justify-content: space-between; }
[data-skin="pc486"] .topbar .in::before { content: 'AMIBIOS (C) 1985-1990, American Megatrends Inc.,'; font-size: .85rem; color: #ffd27c; max-width: 100%; }
[data-skin="pc486"] .wrap { margin-top: 2rem; margin-inline: clamp(16px, 4vw, 48px); padding: 24px; border: 2px solid #7a9ba8; background: #031018; box-shadow: 5px 5px 0 #0008; }
[data-skin="pc486"] .hero { padding: 1.5rem 0 2rem; border-bottom: 1px dashed #7a9ba8; }
[data-skin="pc486"] .headshot { width: 140px; border-radius: 0; padding: 6px; border: 3px outset #e6e2cd; background: #b8b9a9; }
[data-skin="pc486"] .headshot img { filter: sepia(.65) contrast(1.1); }
[data-skin="pc486"] h1, [data-skin="pc486"] h2 { font-family: "IBM Plex Mono", monospace; color: #ffd27c; font-weight: 400; letter-spacing: -.04em; }
[data-skin="pc486"] h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
[data-skin="pc486"] .kicker { color: #85ddbf; font-size: .7rem; letter-spacing: 0; }
[data-skin="pc486"] .tagline, [data-skin="pc486"] .lede { font-size: 1rem; line-height: 1.8; }
[data-skin="pc486"] .band { border: 1px dashed #7a9ba8; border-left: 3px solid #ffd27c; background: #0b2130; margin-bottom: 2rem; }
[data-skin="pc486"] .btn { background: #bfc1b1; color: #10202a; border: 3px outset #e6e2cd; letter-spacing: 0; }
[data-skin="pc486"] .remix { border: 2px outset #e6e2cd; background: #bfc1b1; color: #10202a; }
[data-skin="pc486"] .skin-name { color: #364a53; }
[data-skin="pc486"] .btn:active, [data-skin="pc486"] .remix:active { border-style: inset; }
[data-skin="pc486"] .retro-pc { display: block; }
[data-skin="pc486"] .contact-qr { background: #031018; border: 1px solid #7a9ba8; padding: .8rem; }
.retro-hardware { width: calc(100% - 32px); max-width: 960px; margin: 0 auto 2rem; }
.retro-hardware img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) {
  [data-skin="mac1984"] .wrap { margin: 1.5rem 12px 2rem; padding: 40px 16px 16px; }
  [data-skin="mac1984"] .hero, [data-skin="pc486"] .hero { padding-top: 1rem; gap: 1.5rem; }
  [data-skin="mac1984"] .band, [data-skin="pc486"] .band { padding: 1rem; }
  [data-skin="pc486"] .wrap { margin: 1.5rem 12px 2rem; padding: 16px; }
}

/* Graphite (default): a Pickering landmark elevation drawn in pale graphite on a dark drawing sheet. */
.elevation, .elevation-ruler, .elevation-spacer, .elevation-key { display: none; }
:root[data-skin="graphite"] { --bg: #111315; --fg: #e2ddd1; --muted: #a9a497; --yellow: #e3a34e; --panel: #17191c; --line: #e2ddd13d; --sheet-grid: #e2ddd10d; --sheet-pad: clamp(1.25rem, 3.4vw, 2.75rem); }
[data-skin="graphite"] body { font-size: 1.0625rem; line-height: 1.5; }
[data-skin="graphite"] .topbar { background: var(--bg); }
[data-skin="graphite"] .wrap { max-width: 1320px; padding-bottom: 1rem; container-type: inline-size; }
[data-skin="graphite"] h1, [data-skin="graphite"] h2 { font-family: "IBM Plex Sans Condensed", ui-sans-serif, system-ui, sans-serif; font-weight: 600; letter-spacing: -.01em; line-height: 1.02; }
[data-skin="graphite"] h2 { text-transform: none; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
[data-skin="graphite"] .kicker { font-size: .75rem; overflow-wrap: anywhere; }
[data-skin="graphite"] .btn { color: #17191c; border: 1px solid var(--yellow); border-radius: 3px; font-weight: 400; font-size: .82rem; padding: .7rem 1.15rem; }
[data-skin="graphite"] .btn.sm { padding: .5rem .9rem; font-size: .78rem; }
[data-skin="graphite"] .topbar-actions .btn:first-child { background: transparent; color: var(--fg); border-color: var(--line); }
[data-skin="graphite"] .topbar-actions .btn:first-child:hover { border-color: var(--fg); filter: none; }
[data-skin="graphite"] .remix { border-style: dashed; border-radius: 3px; }
[data-skin="graphite"] .code-entry { border-radius: 3px; }
[data-skin="graphite"] .hero,
[data-skin="graphite"] .website-check-invite {
  position: relative; background-color: var(--panel); border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: -8px;
  background-image: linear-gradient(var(--sheet-grid) 1px, transparent 1px), linear-gradient(90deg, var(--sheet-grid) 1px, transparent 1px);
  background-size: 28px 28px; background-position: -1px -1px; padding: var(--sheet-pad);
}
[data-skin="graphite"] .hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; gap: 0; align-items: stretch; margin-top: clamp(1.5rem, 4vw, 3rem); }
[data-skin="graphite"] .elevation-ruler { display: flex; grid-area: 1 / 1; margin: calc(var(--sheet-pad) * -1 + 10px) 0 clamp(1rem, 2.4vw, 1.75rem); padding: 0 .25rem; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: .62rem; }
.elevation-ruler span { flex: 1; text-align: center; border-left: 1px solid var(--line); line-height: 1.6; }
.elevation-ruler span:last-child { border-right: 1px solid var(--line); }
[data-skin="graphite"] .hero > .headshot + div { grid-area: 2 / 1; min-width: 0; max-width: 48%; position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; align-content: start; padding-bottom: 1rem; }
[data-skin="graphite"] .hero .kicker { font-size: clamp(.64rem, .95vw, .75rem); letter-spacing: .1em; }
[data-skin="graphite"] .hero h1 { max-width: 4.6em; margin: 0; font-size: clamp(2.6rem, 6.4vw, 5.6rem); overflow-wrap: anywhere; }
[data-skin="graphite"] .tagline { font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.3; max-width: 26ch; }
[data-skin="graphite"] .headshot { grid-area: 2 / 1; justify-self: end; align-self: start; position: relative; z-index: 2; width: clamp(110px, 15%, 190px); margin-right: 1%; padding: 7px; border: 1px solid var(--fg); background: var(--panel); box-shadow: 0 0 0 7px var(--panel), 0 0 0 8px var(--line); }
[data-skin="graphite"] .headshot picture { border-radius: 50%; overflow: hidden; }
[data-skin="graphite"] .headshot img { object-fit: cover; }
[data-skin="graphite"] .elevation-spacer { display: block; grid-area: 3 / 1; aspect-ratio: 2000 / 345; }
[data-skin="graphite"] .elevation { display: block; grid-area: 2 / 1 / 4 / 2; align-self: end; position: relative; z-index: 1; }
.elevation-canvas { position: relative; width: 100%; aspect-ratio: 2000 / 667; }
.elevation-lines { position: absolute; inset: 0; background: var(--fg); -webkit-mask: url("/img/elevation-lines.webp") center / 100% 100% no-repeat; mask: url("/img/elevation-lines.webp") center / 100% 100% no-repeat; }
[data-skin="graphite"] .elevation-key { display: flex; grid-area: 4 / 1; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; margin: clamp(1rem, 2.4vw, 1.75rem) 0 0; padding: .9rem 0 0; border-top: 1px solid var(--line); font-family: "IBM Plex Mono", monospace; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.elevation-key li { display: inline-flex; align-items: center; gap: .55em; min-width: 0; overflow-wrap: anywhere; }
.elevation-key li:first-child { margin-right: auto; }
[data-skin="graphite"] .lede { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 1rem 3rem; margin: clamp(2.5rem, 6vw, 4.5rem) 0; font-size: clamp(1.2rem, 2.1vw, 1.55rem); line-height: 1.42; text-wrap: pretty; }
[data-skin="graphite"] .lede::before { content: ""; border-top: 1px solid var(--fg); margin-top: .85em; }
[data-skin="graphite"] .website-check-invite { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3.5rem); row-gap: .85rem; justify-items: start; align-items: center; margin: 0 0 clamp(2.5rem, 6vw, 4.5rem); padding-block: clamp(1.75rem, 4vw, 3rem); }
[data-skin="graphite"] .website-check-invite > * { grid-column: 2; margin: 0; }
[data-skin="graphite"] .website-check-invite::before,
[data-skin="graphite"] .website-check-invite::after { content: ""; grid-column: 1; grid-row: 1 / span 5; width: clamp(150px, 18vw, 230px); aspect-ratio: 1; border-radius: 50%; }
[data-skin="graphite"] .website-check-invite::before { border: 1px solid var(--fg); box-shadow: 0 0 0 8px var(--panel), 0 0 0 9px var(--line); background: var(--panel); }
[data-skin="graphite"] .website-check-invite::after { background: var(--fg); clip-path: circle(calc(50% - 2px)); -webkit-mask: url("/img/elevation-lines.webp") 44.8% 7.6% / 1100% auto no-repeat; mask: url("/img/elevation-lines.webp") 44.8% 7.6% / 1100% auto no-repeat; }
[data-skin="graphite"] .website-check-invite h2 { margin: 0; }
[data-skin="graphite"] .website-check-invite p:not(.kicker) { font-size: 1.0625rem; max-width: 52ch; }
[data-skin="graphite"] .website-check-invite p.check-facts { font-family: "IBM Plex Mono", monospace; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
[data-skin="graphite"] .website-check-invite .btn { margin-top: .35rem; }
[data-skin="graphite"] .band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; align-items: stretch; margin: 0 0 2rem; padding: 0; background: var(--panel); border: 1px solid var(--fg); }
[data-skin="graphite"] .call-details { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; border-right: 1px solid var(--line); }
[data-skin="graphite"] .call-details > * { margin: 0; padding-inline: clamp(1rem, 2.4vw, 1.6rem); grid-column: 1; }
[data-skin="graphite"] .call-details .kicker { padding-top: clamp(1rem, 2.4vw, 1.6rem); padding-bottom: .5rem; }
[data-skin="graphite"] .call-details h2 { padding-bottom: .5rem; }
[data-skin="graphite"] .call-description { color: var(--muted); max-width: 46ch; padding-bottom: clamp(1rem, 2.4vw, 1.6rem); }
[data-skin="graphite"] .call-summary,
[data-skin="graphite"] .call-details .muted { grid-column: 2; border-left: 1px solid var(--fg); padding-block: clamp(1rem, 2.4vw, 1.6rem); font-family: "IBM Plex Mono", monospace; font-size: .8rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
[data-skin="graphite"] .call-summary { grid-row: 1 / 3; color: var(--fg); }
[data-skin="graphite"] .call-details .muted { grid-row: 3; border-top: 1px solid var(--line); }
[data-skin="graphite"] .band > .btn { align-self: end; margin: clamp(1rem, 2.4vw, 1.6rem); }
[data-skin="graphite"] .wrap > p:last-child { font-family: "IBM Plex Mono", monospace; font-size: .78rem; letter-spacing: .06em; }
[data-skin="graphite"] .wrap > p:last-child a { color: var(--fg); text-decoration: underline; text-underline-offset: .25em; }
/* Reflow when enlarged text leaves too little room for side-by-side content. */
@container (max-width: 48rem) {
  [data-skin="graphite"] .hero { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; }
  [data-skin="graphite"] .elevation-ruler { grid-column: 1 / 3; }
  [data-skin="graphite"] .hero > .headshot + div { max-width: none; padding-bottom: 1.25rem; }
  [data-skin="graphite"] .headshot { grid-area: 2 / 2; width: clamp(84px, 24vw, 130px); margin: .25rem 0 0; }
  [data-skin="graphite"] .elevation-spacer { display: none; }
  [data-skin="graphite"] .elevation { grid-area: 3 / 1 / 4 / 3; overflow: hidden; margin-inline: calc(var(--sheet-pad) * -1 + 9px); }
  [data-skin="graphite"] .elevation-canvas { width: 150%; margin-left: -20.5%; }
  [data-skin="graphite"] .elevation-key { grid-column: 1 / 3; }
  .elevation-key li:first-child { margin-right: 0; flex-basis: 100%; }
  [data-skin="graphite"] .lede { grid-template-columns: minmax(0, 1fr); }
  [data-skin="graphite"] .lede::before { width: 4rem; margin: 0; }
  [data-skin="graphite"] .band { grid-template-columns: minmax(0, 1fr); }
  [data-skin="graphite"] .call-details { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; border-right: 0; }
  [data-skin="graphite"] .call-summary, [data-skin="graphite"] .call-details .muted { order: 1; grid-column: 1; grid-row: auto; border-left: 0; border-top: 1px solid var(--line); padding-block: 1rem; }
  [data-skin="graphite"] .band > .btn { align-self: stretch; text-align: center; margin: 0 1rem 1rem; }
}
@container (max-width: 38rem) {
  [data-skin="graphite"] .website-check-invite { grid-template-columns: minmax(0, 1fr); }
  [data-skin="graphite"] .website-check-invite > * { grid-column: 1; }
  [data-skin="graphite"] .website-check-invite::before, [data-skin="graphite"] .website-check-invite::after { grid-area: 1 / 1; width: 150px; margin: .5rem 0 .75rem 8px; }
}
@container (max-width: 20rem) {
  [data-skin="graphite"] .hero { grid-template-columns: minmax(0, 1fr); }
  [data-skin="graphite"] .elevation-ruler { grid-column: 1; }
  [data-skin="graphite"] .headshot { grid-area: 2 / 1; justify-self: start; margin-bottom: 1rem; }
  [data-skin="graphite"] .hero > .headshot + div { grid-area: 3 / 1; }
  [data-skin="graphite"] .elevation { grid-area: 4 / 1; }
  [data-skin="graphite"] .elevation-key { grid-area: 5 / 1; }
}
