/* Sepia Art Deco television. The homepage loads this file.
   Inner pages use site.css for a lighter version of the same look. */
:root {
  --ink: #f4ecdf;
  --muted: #d9cbb6;
  --screen: #110e0b;
  --paper: #f3e6c8;
  --paper-ink: #24180f;
  --brass: #e4d0a4;
  --line: rgba(228, 208, 164, .32);
  --ui: "Josefin Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --display: "Josefin Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --serif: "Cormorant Garamond", Palatino, Georgia, serif;
  --script: "Pinyon Script", "Segoe Script", cursive;
  --pad: clamp(.85rem, 2.4vw, 1.35rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0c0a08;
  color: var(--ink);
  font: 500 17px/1.5 var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid #f0e2c4; outline-offset: 3px; }
.skip {
  position: absolute; left: .6rem; top: -4rem; z-index: 80;
  background: var(--paper); color: var(--paper-ink);
  padding: .55rem .9rem; text-decoration: none;
}
.skip:focus { top: .5rem; }

.parlor {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-color: #100e0c;
  background-image:
    radial-gradient(1.1px 1.1px at 12% 16%, rgba(255,244,220,.45), transparent),
    radial-gradient(1px 1px at 78% 10%, rgba(255,244,220,.35), transparent),
    radial-gradient(1.3px 1.3px at 64% 22%, rgba(255,244,220,.4), transparent),
    radial-gradient(1px 1px at 30% 8%, rgba(255,244,220,.28), transparent),
    radial-gradient(1px 1px at 88% 28%, rgba(255,244,220,.22), transparent),
    radial-gradient(ellipse at 50% 0%, rgba(90, 62, 36, .35), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 220, 170, .035) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #1a140f, #0c0a08 46%, #14110d);
}
.vignette {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(30, 16, 6, .28) 72%, rgba(8, 4, 2, .62) 100%);
}

.set-wrap { position: relative; z-index: 1; padding: .85rem .7rem 1.4rem; }
.antenna { position: relative; height: 1.15rem; max-width: 1180px; margin: 0 auto; }
.mast {
  position: absolute; left: 50%; bottom: 0; width: 3px; height: 1.15rem;
  background: linear-gradient(#d9d2c6, #6a645c); transform: translateX(-50%);
}
.rod {
  position: absolute; bottom: .15rem; width: 2px; height: 1.7rem; border-radius: 1px;
  background: linear-gradient(#f0ebe3, #8a847c); transform-origin: bottom center;
}
.rod-l { left: calc(50% - 1px); transform: rotate(-32deg); }
.rod-r { left: calc(50% - 1px); transform: rotate(32deg); }

.cabinet {
  position: relative; max-width: 1180px; margin: 0 auto;
  padding: .75rem .7rem .95rem; border-radius: 1.05rem 1.05rem 1.35rem 1.35rem;
  background-color: #5a341c;
  background-image:
    linear-gradient(180deg, rgba(255, 226, 180, .16), transparent 22%),
    repeating-linear-gradient(88deg, rgba(255, 214, 160, .06) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(92deg, rgba(28, 10, 4, .22) 0 2px, transparent 3px 8px),
    radial-gradient(ellipse at 18% 0%, rgba(255, 196, 130, .22), transparent 46%),
    radial-gradient(ellipse at 90% 110%, rgba(0, 0, 0, .38), transparent 52%),
    linear-gradient(168deg, #8b5a32 0%, #6b3e20 42%, #4a2b16 78%, #2c1a0e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 224, 176, .32),
    inset 0 0 0 6px rgba(36, 18, 8, .62),
    inset 0 0 0 7px rgba(201, 163, 96, .34),
    0 26px 48px -22px #000;
}
.cabinet::before, .cabinet::after {
  content: ""; position: absolute; bottom: -7px; width: 16%; max-width: 6rem; height: 7px;
  border-radius: 0 0 3px 3px; background: linear-gradient(#3a2414, #140c08);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .45);
}
.cabinet::before { left: 8%; }
.cabinet::after { right: 8%; }
.plaque {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  margin: .1rem .2rem .55rem; color: #f0ddb4;
  font-family: var(--ui); letter-spacing: .28em; text-transform: uppercase; font-size: .66rem;
}
.plaque-mark { font-family: var(--display); letter-spacing: .2em; font-size: 1rem; }
.plaque-rule { width: 2.2rem; height: 1px; background: rgba(240, 221, 180, .7); }

.cabinet-main { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.bezel {
  min-width: 0;
  padding: .42rem; border-radius: 1rem;
  background: linear-gradient(165deg, #efe8dc 0%, #b7aea2 7%, #5c564e 16%, #2a261f 48%, #8d867c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 2px #161310, 0 10px 16px rgba(0, 0, 0, .28);
}
.glass { min-width: 0;
  position: relative; border-radius: .7rem; background: var(--screen); color: var(--ink);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.tube { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; overflow: hidden; }
.scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .28) 0 1px, transparent 1px 4px);
  opacity: .22;
}
.flicker { position: absolute; inset: 0; background: rgba(255, 244, 220, .05); animation: tube 6.8s infinite; }
.grain {
  position: absolute; inset: -20%; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sheen {
  position: absolute; left: 6%; top: 0; width: 38%; height: 22%; border-radius: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent);
  transform: rotate(-8deg);
}
@keyframes tube {
  0%, 92%, 100% { opacity: .25; }
  94% { opacity: .7; }
  96% { opacity: .2; }
}

.side {
  display: flex; flex-direction: row; align-items: center; gap: .65rem;
  padding: .1rem .15rem 0; order: -1;
}
.lamp {
  width: .5rem; height: .5rem; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, #ffe7b0, #e07020 55%, #6a2408);
  box-shadow: 0 0 6px rgba(255, 140, 40, .9);
}
.knob-deco, .knob {
  position: relative; width: 1.7rem; height: 1.7rem; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 28%, #fff6e6 0 8%, #e7d0a4 22%, #a67c48 48%, #5a3a20 74%, #24160c 100%);
  box-shadow: 0 1px 0 rgba(255, 236, 200, .45), 0 3px 4px rgba(0, 0, 0, .55), inset 0 -3px 4px rgba(0, 0, 0, .4);
}
.knob-deco::before, .knob::before {
  content: ""; position: absolute; left: 50%; top: 14%; width: 2px; height: 28%; border-radius: 1px;
  background: #1a1008; transform: translateX(-50%) rotate(-18deg); transform-origin: 50% 160%;
}
.static-btn {
  display: flex; flex-direction: column; align-items: center; gap: .12rem;
  min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: #f0ddb4; cursor: pointer;
}
.static-btn .knob { width: 1.85rem; height: 1.85rem; }
.static-label {
  font-family: var(--ui); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
}
.static-btn[aria-pressed="true"] .knob::before { transform: translateX(-50%) rotate(48deg); transform-origin: 50% 160%; }
.sound-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .14rem;
  flex: none; min-width: 56px; min-height: 64px; padding: .32rem .4rem .26rem;
  border: 1px solid rgba(228, 208, 164, .66); border-radius: 6px; color: #f0ddb4; cursor: pointer;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 220, 170, .18), transparent 58%),
    linear-gradient(180deg, #4e3420, #24160e);
  box-shadow: inset 0 1px 0 rgba(255, 230, 190, .3), 0 2px 3px rgba(0, 0, 0, .4);
  touch-action: manipulation; -webkit-tap-highlight-color: rgba(228, 208, 164, .35);
}
.sound-btn .sound-icon { width: 2.35rem; height: 2.35rem; display: block; }
.sound-btn .static-label { font-size: .74rem; letter-spacing: .08em; font-weight: 600; line-height: 1; }
.sound-btn[aria-pressed="true"] {
  box-shadow: inset 0 1px 0 rgba(255, 230, 190, .42), 0 0 0 1px rgba(228, 208, 164, .3), 0 0 14px rgba(255, 168, 64, .4);
}
.sound-btn[aria-pressed="false"] { color: #cbbba4; }
.sound-btn[aria-pressed="true"] .sound-slash { display: none; }
.sound-btn[aria-pressed="false"] .sound-waves { display: none; }
.speaker {
  display: block; flex: 1; height: 1.7rem; border-radius: .35rem;
  background-color: #3a2718;
  background-image: radial-gradient(circle, #120c08 1.05px, transparent 1.25px);
  background-size: 5px 5px;
  box-shadow: inset 0 0 0 2px rgba(16, 8, 4, .75), inset 0 0 0 3px rgba(201, 163, 96, .32);
}

.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center; gap: .6rem;
  padding: .55rem var(--pad); background: rgba(14, 11, 9, .94);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display); font-size: 1.35rem; letter-spacing: .14em; text-decoration: none; color: var(--ink);
}
.brand span { color: var(--brass); }
.nav nav { display: none; }
.nav.open nav { display: flex; }
.nav-toggle {
  display: flex; width: 44px; height: 44px; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
}
.nav-toggle span { display: block; height: 1px; background: var(--ink); }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-link, .nav-label {
  display: inline-flex; align-items: center; justify-content: space-between; gap: .4rem;
  width: 100%; min-height: 44px; padding: .7rem 0; border: 0; border-bottom: 1px solid rgba(228, 208, 164, .16);
  background: transparent; color: var(--muted); cursor: pointer; text-decoration: none;
  font-family: var(--ui); font-size: .78rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
}
.nav-label::after {
  content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .75;
}
.nav-link.on { color: var(--brass); }
.nav-menu { display: none; padding: 0 0 .2rem .2rem; }
.nav-group.is-open > .nav-menu { display: grid; }
.nav-group.is-open > .nav-label { color: var(--brass); }
.nav-group.is-open > .nav-label::after { transform: rotate(180deg); }
.nav-menu a {
  display: block; min-height: 44px; padding: .7rem .2rem .7rem .85rem;
  color: var(--ink); text-decoration: none; font-family: var(--ui);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(228, 208, 164, .12);
}
.nav.open { background: #120f0c; }
.nav.open nav {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
  flex-direction: column; align-items: stretch; padding: .2rem var(--pad) .8rem;
  background: #120f0c; border-bottom: 1px solid var(--line); max-height: 70vh; overflow: auto;
}

.kicker {
  font-family: var(--ui); font-size: .68rem; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brass);
}
.kicker i { font-style: normal; opacity: .65; margin: 0 .3em; }
.script { font-family: var(--script); font-weight: 400; line-height: 1.45; color: #f7f0e4; }
.hero-name, .home-h, .end-name {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .14em; line-height: .9;
}

.testcard { position: relative; overflow: hidden; min-height: 15.5rem; display: flex; flex-direction: column; justify-content: flex-end; }
.pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.testcard-copy {
  position: relative; z-index: 1; text-align: center; padding: .7rem var(--pad) .45rem;
  background: radial-gradient(ellipse at 50% 46%, rgba(8, 6, 4, .92) 0%, rgba(8, 6, 4, .78) 46%, rgba(8, 6, 4, .2) 70%, transparent 80%);
}
.standby-script { font-size: clamp(1.65rem, 3.6vw, 2.2rem); margin-bottom: .1rem; }
.testcard .kicker { margin-bottom: .3rem; }
.hero-name {
  font-size: clamp(2.15rem, 6.4vw, 4.35rem); letter-spacing: .14em; color: #fbf6ee;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .55), 0 10px 22px rgba(0, 0, 0, .85);
}
.hero-name span { display: block; }
.graybar { position: relative; z-index: 1; display: flex; height: .7rem; }
.graybar i { flex: 1; display: block; }
.graybar i:nth-child(1) { background: #14110e; }
.graybar i:nth-child(2) { background: #2a241c; }
.graybar i:nth-child(3) { background: #40362c; }
.graybar i:nth-child(4) { background: #5c5144; }
.graybar i:nth-child(5) { background: #7a6d5c; }
.graybar i:nth-child(6) { background: #9a8b76; }
.graybar i:nth-child(7) { background: #b7a892; }
.graybar i:nth-child(8) { background: #d4c6ae; }
.graybar i:nth-child(9) { background: #e7dcc8; }
.graybar i:nth-child(10) { background: #f4ecdf; }

.scene { position: relative; overflow: hidden; }
.hero-slides, .slide { position: absolute; inset: 0; }
.slide {
  background-position: center; background-size: cover; opacity: 0;
  filter: grayscale(.72) sepia(.62) contrast(1.05) brightness(.72);
}
.slide.s1 { background-image: url("../../images/hero/hero-1.jpg"); opacity: .85; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 8, .2), rgba(12, 10, 8, .55) 40%, rgba(12, 10, 8, .78));
}
.scene-inner { position: relative; z-index: 1; padding: 1.15rem var(--pad) 1.2rem; }
.hero-line, .bcard em, .mcard em, .hero-preview em, .hero-feature em {
  font-family: var(--serif); font-style: italic; font-weight: 500; color: #f3eadf;
}
.hero-line { font-size: clamp(1.28rem, 2.5vw, 1.7rem); line-height: 1.35; max-width: 38rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.hero-stack { position: relative; height: 7.5rem; margin-top: .85rem; }
.stack {
  position: absolute; height: 100%; width: auto; max-width: 46%; object-fit: cover; object-position: center top;
  border-radius: 2px; filter: sepia(.28) saturate(.75) contrast(1.04);
  box-shadow: 0 16px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(244, 236, 223, .28);
}
.stack.c1 { left: 22%; z-index: 3; }
.stack.c2 { left: 46%; top: 6%; height: 90%; transform: rotate(7deg); z-index: 2; }
.stack.c3 { left: 0; top: 10%; height: 86%; transform: rotate(-8deg); z-index: 1; }

.titlecard {
  position: relative; overflow: hidden; text-align: center;
  padding: 1.45rem var(--pad) 1.25rem; background: #100e0c;
}
.titlecard::before {
  content: ""; position: absolute; left: 50%; top: 46%; width: 160%; aspect-ratio: 1;
  transform: translate(-50%, -50%); pointer-events: none;
  background: repeating-conic-gradient(rgba(243, 230, 206, .2) 0deg 1.4deg, rgba(243, 230, 206, 0) 1.4deg 7.2deg);
}
.titlecard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, rgba(16, 14, 12, .15), rgba(16, 14, 12, .78) 72%);
}
.titlecard > * { position: relative; z-index: 1; }
.bulletin .script, .books-card .script { font-size: clamp(1.85rem, 4.5vw, 2.7rem); }
.spec {
  margin: .2rem 0 .15rem; font-family: var(--ui); font-size: .7rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--brass);
}
.interrupt {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.85rem);
  color: #f7f1e6; margin-bottom: .85rem;
}
.hero-feature {
  display: flex; gap: .75rem; align-items: flex-start; text-align: left;
  max-width: 40rem; margin: 0 auto; padding: .8rem .9rem;
  background: var(--paper); color: var(--paper-ink);
  box-shadow: inset 0 0 0 1px rgba(70, 46, 22, .25);
}
.badge {
  flex: none; font-family: var(--ui); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  background: #5c2e22; color: #f8f1e6; padding: .4rem .5rem;
}
.hero-feature strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.15; }
.hero-feature em { display: block; color: #3a2a1c; font-size: 1.12rem; margin: .15rem 0 .35rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .55rem .8rem; align-items: center; }
.hero-feature .cta-row a {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: .01em;
  text-decoration: underline; text-underline-offset: .18em; color: #3d2414; min-height: 44px;
  display: inline-flex; align-items: center;
}
.hero-actions { padding: .9rem var(--pad) .2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: .7rem 1rem; text-decoration: none; cursor: pointer;
  font-family: var(--ui); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid rgba(228, 208, 164, .55); color: var(--ink); background: transparent;
}
.btn-fire { background: #f3e6c8; color: #24180f; border-color: #f3e6c8; }
.btn-line:hover, .btn-fire:hover { border-color: #fff6e4; }
.hero-previews { display: grid; gap: .65rem; padding: .85rem var(--pad) 1rem; }
.hero-preview {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: .7rem; align-items: center;
  text-decoration: none; padding: .4rem; border: 1px solid var(--line); background: rgba(255, 248, 236, .03);
}
.hero-preview img { width: 5.5rem; height: 3.6rem; object-fit: cover; filter: sepia(.35) saturate(.7); }
.hero-preview-color img { object-fit: contain; background: #f7f1e6; filter: sepia(.12); }
.hero-preview strong {
  display: block; font-family: var(--ui); font-weight: 400; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem;
}
.hero-preview em { color: var(--muted); font-size: 1.02rem; line-height: 1.3; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); background: rgba(8, 6, 5, .55); }
.track {
  display: flex; gap: 1.4rem; width: max-content; padding: .7rem 0;
  animation: crawl 42s linear infinite; white-space: nowrap;
  font-family: var(--ui); letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; color: #cbbba4;
}
.track b { color: var(--brass); font-weight: 400; }
@keyframes crawl { to { transform: translateX(-50%); } }

.home-books { padding-bottom: 1.2rem; }
.books-card { padding-top: 1.7rem; padding-bottom: 1.35rem; }
.home-h { font-size: clamp(2.4rem, 7vw, 4.4rem); margin: .15rem 0 .35rem; }
.books-card .kicker { color: var(--muted); }
.home-inner { padding: 1rem var(--pad) 0; }
.bcards, .more-grid { display: grid; gap: .8rem; }
.bcard, .mcard {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: #16130f; overflow: hidden;
}
.bcard-img { display: block; position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #0c0a08; }
.bcard-img img, .mcard-img img, .end-covers img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.32) saturate(.72) contrast(1.04); }
.bcard-text, .mcard-text { display: flex; flex-direction: column; gap: .28rem; padding: .85rem .9rem 1rem; flex: 1; }
.bcard-genre {
  font-family: var(--ui); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
}
.bcard-title { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.05; }
.bcard-title small { display: block; margin-top: .2rem; font-family: var(--ui); font-weight: 400; font-size: .62em; letter-spacing: .14em; }
.bcard em, .mcard em { color: var(--muted); font-size: 1.08rem; line-height: 1.35; }
.bcard-go {
  margin-top: auto; padding-top: .45rem; font-family: var(--ui); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brass);
}
.bcard-western { background: var(--paper); color: var(--paper-ink); border-color: #c4a56a; }
.bcard-western .bcard-genre, .bcard-western .bcard-go { color: #6a4320; }
.bcard-western em { color: #3f2c1a; }
.bcard-scifi {
  background-color: #121418;
  background-image:
    radial-gradient(1px 1px at 18% 22%, rgba(255, 248, 230, .75), transparent),
    radial-gradient(1px 1px at 72% 16%, rgba(255, 248, 230, .55), transparent),
    radial-gradient(1.2px 1.2px at 40% 78%, rgba(220, 230, 240, .6), transparent),
    radial-gradient(1px 1px at 84% 62%, rgba(255, 248, 230, .4), transparent);
  box-shadow: inset 0 0 0 1px rgba(214, 220, 228, .28);
}
.bcard-scifi .bcard-title { font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; font-size: 1.35rem; font-weight: 400; }
.bcard-woods { background: #141614; }
.bcard-brass { box-shadow: inset 0 0 0 1px rgba(210, 170, 96, .45); }
.soon {
  position: absolute; top: .5rem; right: .5rem; z-index: 1;
  background: #3a2418; color: #f6edd9; font-family: var(--ui);
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .45rem;
}
.mcard-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0c0a08; }
.mcard-color { background: #f7f1e6; }
.mcard-color img { object-fit: contain; filter: sepia(.1); }
.mcard strong {
  font-family: var(--display); font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  font-size: 1.25rem; line-height: 1.05;
}
.home-more { padding: 0 0 1.2rem; }

.endcard { text-align: center; padding: 1.4rem var(--pad) 1.6rem; }
.end-covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; max-width: 28rem; margin: 0 auto .9rem; }
.end-covers img { aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 10px 18px rgba(0, 0, 0, .4); }
.end-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .85rem; margin-bottom: .8rem; }
.end-nav a {
  font-family: var(--ui); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center;
}
.end-nav a[aria-current="page"] { color: var(--brass); }
.end-name { font-size: clamp(2.2rem, 7vw, 4rem); }
.end-name span { display: inline; }
.end-rule { width: min(14rem, 60%); height: 1px; margin: .75rem auto .65rem; border: 0; background: rgba(244, 236, 223, .75); }
.end-url {
  display: inline-block; max-width: 100%; overflow-wrap: anywhere;
  font-family: var(--ui); font-size: .68rem; letter-spacing: .06em; text-transform: lowercase;
  color: var(--muted); text-decoration: none;
}

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem;
  padding: .9rem var(--pad) 1.1rem; border-top: 1px solid var(--line);
  font-family: var(--ui); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #cbbba4;
}
footer a { text-decoration: none; }
.visit-count {
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  color: var(--brass); font-weight: 700; letter-spacing: .14em; line-height: 1.25; text-transform: none;
}
.visit-count .visit-avg { font-size: clamp(1.7rem, 6vw, 2.05rem); letter-spacing: .01em; line-height: 1.15; }
.visit-count .visit-month { font-size: clamp(1.15rem, 3.6vw, 1.35rem); letter-spacing: .03em; line-height: 1.2; }
.foot-links { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
footer a:hover, .end-url:hover, .end-nav a:hover { color: var(--ink); }

.teletype { display: grid; }
.tele-full, .tele-live { grid-area: 1 / 1; }
.teletype.is-armed .tele-full { color: transparent; }
.tele-live { pointer-events: none; }
.teletype.is-armed:not(.is-done) .tele-live::after {
  content: ""; display: inline-block; width: 1px; height: .85em; margin-left: 2px;
  background: currentColor; vertical-align: text-bottom; animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (min-width: 720px) {
  .hero-previews { grid-template-columns: 1fr 1fr; }
  .bcards { grid-template-columns: 1fr 1fr; }
  .bcard { min-height: 100%; }
}
@media (min-width: 880px) {
  .set-wrap { padding: 1.1rem 1.25rem 2rem; }
  .cabinet { padding: 1rem 1rem 1.2rem; }
  .cabinet-main { display: grid; grid-template-columns: minmax(0, 1fr) 5.75rem; gap: .8rem; align-items: start; }
  .sound-btn { width: 100%; min-width: 0; min-height: 4.6rem; }
  .side {
    order: 0; position: sticky; top: .6rem; flex-direction: column; align-items: center;
    padding: .2rem 0 0; gap: .7rem;
  }
  .speaker { width: 100%; height: 8.5rem; flex: none; }
  .scene-inner {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(220px, .8fr);
    gap: 1rem 1.4rem; align-items: end; min-height: 16rem;
  }
  .hero-stack { height: 17rem; margin: 0; }
  .stack { max-width: 62%; }
  .slide.s1 { animation: ken 32s infinite; }
  .slide.s2 { background-image: url("../../images/hero/hero-2.jpg"); animation: ken 32s infinite -8s; }
  .slide.s3 { background-image: url("../../images/hero/hero-3.jpg"); animation: ken 32s infinite -16s; }
  .slide.s4 { background-image: url("../../images/hero/hero-4.jpg"); animation: ken 32s infinite -24s; }
  .more-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1100px) {
  .bcards { grid-template-columns: repeat(4, 1fr); }
}
@keyframes ken {
  0%, 18% { opacity: .8; }
  25%, 100% { opacity: 0; }
}
@media (min-width: 861px) {
  .nav-toggle { display: none; }
  .nav nav { display: flex; align-items: center; gap: .1rem; }
  .nav-link, .nav-label {
    width: auto; min-height: 44px; padding: .45rem .7rem; border: 0; border-radius: 2px;
  }
  .nav-menu {
    position: absolute; top: calc(100% - 2px); left: 0; z-index: 40; min-width: 13.5rem;
    padding: .35rem; background: #16130f; border: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .45);
  }
  .nav-group { position: relative; }
  .nav-group:hover > .nav-menu, .nav-group:focus-within > .nav-menu, .nav-group.is-open > .nav-menu { display: grid; }
  .nav-menu a { border: 0; padding: .7rem .8rem; min-height: 44px; }
  .nav-menu a:hover, .nav-link:hover, .nav-label:hover { color: var(--brass); }
  .nav.open nav { position: static; display: flex; flex-direction: row; padding: 0; background: transparent; border: 0; max-height: none; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .nav-link, .nav-label { letter-spacing: .08em; padding: .45rem .4rem; font-size: .68rem; }
}
@media (max-width: 560px) {
  .bcard { display: grid; grid-template-columns: 6.4rem minmax(0, 1fr); }
  .bcard-img { aspect-ratio: auto; min-height: 9.2rem; }
  .mcard { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); }
  .mcard-img { aspect-ratio: auto; min-height: 100%; }
  .spec { letter-spacing: .18em; }
  .hero-name { font-size: 2.05rem; letter-spacing: .08em; }
  .testcard .kicker { letter-spacing: .05em; line-height: 1.4; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .flicker, .track, .slide, .tele-live::after { animation: none !important; }
  .slide { opacity: 0; }
  .slide.s1 { opacity: .85; }
  .marquee-copy { display: none; }
  .track { width: auto; flex-wrap: wrap; justify-content: center; white-space: normal; transform: none; }
  html { scroll-behavior: auto; }
}
html.reduce-motion .flicker,
html.reduce-motion .track,
html.reduce-motion .slide,
html.reduce-motion .tele-live::after { animation: none !important; }
html.reduce-motion .slide { opacity: 0; }
html.reduce-motion .slide.s1 { opacity: .85; }
html.reduce-motion .marquee-copy { display: none; }
html.reduce-motion .track { width: auto; flex-wrap: wrap; justify-content: center; white-space: normal; }

/* Home choices: five matching cards under the hero. */
.home-choices {
  padding: 1.15rem var(--pad) 1.45rem;
  border-top: 1px solid var(--line);
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.05rem;
}
.choice {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: #16130f;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(210, 170, 96, .16);
  -webkit-tap-highlight-color: rgba(228, 208, 164, .28);
  min-height: 22.5rem;
}
.choice:hover, .choice:focus-visible {
  border-color: rgba(228, 208, 164, .75);
  box-shadow: inset 0 0 0 1px rgba(228, 208, 164, .32);
}
.choice:active { background: #1c1814; }
.choice-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c0a08;
}
.choice-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: sepia(.32) saturate(.72) contrast(1.04);
}
.choice-media-portrait > img { object-position: center 18%; }
.choice-media-books { display: flex; flex-direction: column; }
.choice-media-books .choice-covers { flex: 1 1 auto; height: auto; min-height: 0; }
.choice-soon {
  flex: none;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
  padding: .45rem .55rem;
  background: #f3e6c8;
  color: #24180f;
}
.choice-covers {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: .4rem;
  padding: .5rem .55rem;
  background:
    linear-gradient(180deg, rgba(255, 226, 180, .05), transparent 28%),
    #100e0c;
}
.choice-covers > img {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(.22) saturate(.8) contrast(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .45);
}
.choice-copy {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
}
.choice-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  line-height: 1.12;
  color: #f7f1e6;
}
.choice-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.4;
  color: #e6d7c2;
}
@media (min-width: 720px) {
  .choice-grid { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
  .choice-title { font-size: 1.8rem; }
  .home-choices { padding-top: 1.35rem; padding-bottom: 1.7rem; }
}
@media (min-width: 1100px) {
  .choice-grid { grid-template-columns: 1fr 1fr 1fr; }
}
