/* ============================================================
   BAD BAD JOEL — the TV
   Brand rules: core colors dominate, no gradients/blends,
   max two secondary colors (Satellite Cyan + Signal Green),
   centered/symmetrical, slow idle motion, cuts & fades only.
   ============================================================ */

/* Drop licensed webfont files into /fonts and uncomment:
@font-face { font-family: "Artegra Sans"; src: url("fonts/ArtegraSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Artegra Sans"; src: url("fonts/ArtegraSans-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Trade Gothic"; src: url("fonts/TradeGothic-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "VCR OSD Mono"; src: url("fonts/VCR_OSD_MONO.woff2") format("woff2"); font-display: swap; }
*/

:root {
  --black: #0E0E10;   /* Warm Black */
  --white: #E6E4DF;   /* CRT White */
  --cyan: #3AF2FF;    /* Satellite Cyan — frames, structure */
  --green: #7CFF6B;   /* Signal Green — activity, cursors */
  --blue: #1F4ED8;    /* VCR OSD Blue — OSD backgrounds only */

  --bezel: #161618;
  --dim: rgba(230, 228, 223, 0.62);
  --rule: rgba(230, 228, 223, 0.14);

  --font-head: "Artegra Sans", "Archivo", system-ui, sans-serif;
  --font-body: "Trade Gothic", "Trade Gothic Next", "News Cycle", "Arial Narrow", sans-serif;
  --font-osd: "VCR OSD Mono", "VT323", ui-monospace, monospace;

  /* Screen height: as big as fits, 4:3 */
  --sh: min(calc(100svh - 150px), calc((100vw - 72px) * 0.75), 800px);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; background: var(--black); color: var(--white); }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- The set ---------- */
.js body { overflow: hidden; }
.room {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 16px;
}
.tv {
  background: var(--bezel);
  border: 1px solid var(--rule);
  border-radius: 28px;
  padding: 28px 28px 0;
}

.screen {
  position: relative;
  height: var(--sh);
  aspect-ratio: 4 / 3;
  background: var(--black);
  border-radius: 22px / 26px;
  overflow: hidden;
  container-type: size;
  box-shadow:
    0 0 0 6px #0a0a0b,                         /* tube surround */
    0 0 60px rgba(230, 228, 223, 0.07);         /* soft bloom off the glass */
}

/* Glass: scanlines + grain + tube vignette (textures, not color blends) */
.glass {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.75), inset 0 0 18px rgba(0, 0, 0, 0.6);
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, 0.2) 2px 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Channels ---------- */
.channels { position: absolute; inset: 0; }
.channel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 15cqh 8cqw 7cqh; /* top clears the channel label */
  scrollbar-width: thin;
  scrollbar-color: rgba(58, 242, 255, 0.45) transparent;
}
.js .channel { display: none; }
.js .channel.active { display: flex; }
.ch-inner { margin: auto; width: 100%; max-width: 100%; }  /* margin:auto centers without clipping overflow */
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.tuning .channels { visibility: hidden; }

/* Station bug — the BBJ mark, translucent like a broadcast bug (no effects) */
.station-bug {
  position: absolute;
  z-index: 20;
  top: 5.5cqh;
  right: 5cqw;
  width: clamp(26px, 6cqw, 52px);
  height: auto;
  opacity: 0.55;
  pointer-events: none;
}

/* On-screen display after a channel change */
.osd {
  position: absolute;
  z-index: 20;
  top: 5.5cqh;
  left: 5cqw;
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(18px, 3.6cqw, 34px);
  line-height: 1.1;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.osd.on { opacity: 1; transition: none; }
.osd-num, .osd-name { background: var(--blue); color: var(--white); padding: 2px 10px; }
.osd-num { color: var(--white); }

/* Tuning static — soft grey snow, brief */
.static {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  background-color: var(--black);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 1 1 0 -1.25 1 1 1 0 -1.25 1 1 1 0 -1.25 0 0 0 0 .95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}
.tuning .static { opacity: 1; animation: snow 0.24s steps(3) infinite; }
@keyframes snow {
  0%   { background-position: 0 0; }
  100% { background-position: 147px 83px; }
}

/* Channel guide */
.guide {
  position: absolute;
  inset: 0;
  z-index: 25;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8cqh 12cqw;
}
.guide[hidden] { display: none; }
.guide-title { font-size: clamp(20px, 4cqw, 38px); margin: 0 0 3cqh; }
.guide-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 6cqw; }
.guide-list button {
  display: flex;
  gap: 18px;
  width: 100%;
  font: inherit;
  font-size: clamp(18px, 3.4cqw, 32px);
  text-transform: uppercase;
  letter-spacing: inherit;
  color: var(--white);
  background: transparent;
  border: 0;
  padding: 4px 10px;
  text-align: left;
  cursor: pointer;
}
.guide-list button span { opacity: 0.7; }
.guide-list button:hover,
.guide-list button:focus-visible,
.guide-list button[aria-current="true"] { background: var(--white); color: var(--blue); outline: none; }
.guide-foot { font-size: clamp(14px, 2.2cqw, 22px); opacity: 0.75; margin: 4cqh 0 0; }

/* ---------- Bezel panel ---------- */
.panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 76px;
}
.panel-left { display: flex; align-items: center; gap: 12px; }
.panel-right { display: flex; justify-content: flex-end; gap: 8px; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.ch-display {
  font-family: var(--font-osd);
  font-size: 26px;
  line-height: 1;
  color: var(--green);
  background: #000;
  border: 1px solid var(--rule);
  padding: 3px 8px 1px;
  min-width: 46px;
  text-align: center;
}
.maker {
  font-family: var(--font-head);
  font-weight: 400;
  font-stretch: 112%;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--dim);
}
.key {
  font-family: var(--font-osd);
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim);
  background: var(--black);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 6px 12px 4px;
  cursor: pointer;
  white-space: nowrap;
}
.key:hover { color: var(--white); border-color: rgba(230, 228, 223, 0.35); }
.key:active { background: var(--white); color: var(--black); }

/* ---------- Shared type inside the screen ---------- */
.osd-sub {
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(15px, 2cqw, 20px);
  line-height: 1.3;
  color: var(--dim);
  margin: 0;
}
.lede { font-size: clamp(17px, 2.6cqw, 24px); color: var(--dim); margin: 0; }

/* CH 01 — Home */



/* CH 02 — Bio */
.bio-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5cqw;
  align-items: start;
  text-align: left;
}
.frame { display: block; margin: 0; border: 1px solid var(--cyan); padding: 6px; background: #000; }
.bio-text { font-size: clamp(16px, 2.15cqw, 20px); }
.bio-text p { margin: 0 0 1em; }
.bio-text .big {
  font-family: var(--font-head);
  font-weight: 400;
  font-stretch: 110%;
  font-size: 1.45em;
  line-height: 1.25;
}

/* Photo slot: VCR "NO SIGNAL" card until the image loads */
.no-signal { position: relative; aspect-ratio: 4 / 5; background: var(--blue); overflow: hidden; }
.no-signal::before {
  content: "NO SIGNAL";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-osd);
  font-size: 22px;
  letter-spacing: 0.08em;
}
.no-signal img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.82) brightness(0.92);
}

/* CH 03 — Listen */
.wide { max-width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.grid-2 iframe { width: 100%; border: 0; border-radius: 12px; display: block; }
.links-row { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin: 4cqh 0 0; }
.links-row a, .socials a {
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(17px, 2.3cqw, 22px);
  text-decoration: none;
  color: var(--dim);
}
.links-row a:hover, .socials a:hover { color: var(--cyan); }

/* CH 04 — Watch */
/* Widescreen show on a 4:3 set: full width, black letterbox bars above and below */
#watch.channel { padding: 0; overflow: hidden; }
#watch .ch-inner { width: 100%; }
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.screen[data-channel="watch"] .station-bug { display: none; } /* the video carries its own BBJ bug */
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* CH 05 — Press */
.press-list {
  list-style: none;
  margin: 3cqh 0 4cqh;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.press-list li { display: flex; flex-direction: column; gap: 8px; padding: 4cqh 12px; }
.press-list li + li { border-left: 1px solid var(--rule); }
.station {
  font-family: var(--font-head);
  font-weight: 400;
  font-stretch: 115%;
  font-size: clamp(22px, 3.8cqw, 36px);
  line-height: 1.1;
  text-decoration: none;
}
a.station { text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 6px; text-decoration-thickness: 1px; }
a.station:hover { color: var(--cyan); }
.readouts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.readout {
  border: 1px solid var(--cyan);
  padding: 3cqh 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.readout strong {
  font-family: var(--font-head);
  font-weight: 400;
  font-stretch: 110%;
  font-size: clamp(20px, 3.2cqw, 30px);
  line-height: 1.2;
}
.readout span {
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(14px, 1.9cqw, 19px);
  color: var(--dim);
}

/* CH 06 — Photos */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(100%, calc((100cqh - 42cqh) * 0.8 * 3 + 28px));
}
.photo-grid .frame:hover { border-color: var(--white); }
.photo-note { margin-top: 3cqh; }

/* CH 07 — Contact */
#contact .lede { margin-bottom: 3cqh; }
.email {
  font-family: var(--font-head);
  font-weight: 400;
  font-stretch: 110%;
  font-size: clamp(1.15rem, 4.2cqw, 2.2rem);
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 4px;
  word-break: break-word;
}
.email:hover { color: var(--cyan); }
.socials { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 7cqh; }
.copy { font-size: 14px; color: var(--dim); margin: 0; }

/* ---------- Narrow screens: the TV fills the phone ---------- */
@media (max-width: 760px) {
  .room { padding: 0; place-items: stretch; }
  .tv { border-radius: 0; border: 0; padding: 10px 10px 0; display: flex; flex-direction: column; height: 100svh; }
  .screen { flex: 1; height: auto; aspect-ratio: auto; border-radius: 14px / 16px; }
  .panel { height: 64px; grid-template-columns: auto 1fr auto; }
  .maker { display: none; }
  .channel { padding: 86px 22px 32px; }
  .bio-grid { grid-template-columns: 1fr; gap: 24px; }
  .portrait { max-width: 260px; width: 100%; margin: 0 auto; }
  .grid-2, .press-list, .readouts { grid-template-columns: 1fr; }
  .press-list li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .photo-grid { grid-template-columns: 1fr; width: min(100%, 300px); }
  .video { width: 100%; }
  .guide { padding: 64px 28px; }
  .guide-list { columns: 1; }
  .key { font-size: 15px; padding: 6px 8px 4px; letter-spacing: 0.02em; }
  .panel { gap: 8px; }
  .panel-left { gap: 8px; }
  .panel-right { gap: 6px; }
  .ch-display { font-size: 22px; min-width: 38px; padding: 3px 6px 1px; }
}

/* ---------- No JavaScript: just show every channel stacked ---------- */
html:not(.js) .room { display: block; padding: 0; }
html:not(.js) .tv, html:not(.js) .screen { all: unset; display: block; }
html:not(.js) .channels, html:not(.js) .channel { position: static; }
html:not(.js) .channel { padding: 80px 24px; max-width: 1000px; margin: 0 auto; container-type: inline-size; }
html:not(.js) .panel, html:not(.js) .static, html:not(.js) .glass, html:not(.js) .osd, html:not(.js) .station-bug { display: none; }

/* ---------- Low-stim: honour reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .tuning .static { animation: none; }
  .osd { transition: none; }
}

/* Players: show a VCR "searching" card until the embed paints over it */
.grid-2 > *, .video { position: relative; }
.grid-2 { isolation: isolate; }
.grid-2::before, .video::before {
  content: "SEARCHING\2026";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-osd);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--dim);
  z-index: -1;
}
.grid-2 { position: relative; }

/* ---------- Standby / title screen (BBJ screensaver) ---------- */
.standby {
  position: absolute;
  inset: 0;
  z-index: 15;
  background: var(--blue);
  overflow: hidden;
  cursor: pointer;
}
.standby[hidden] { display: none; }
.dvd {
  --w: clamp(92px, 24cqw, 230px);
  position: absolute;
  top: 0;
  left: 0;
  width: var(--w);
  will-change: transform;
}
.dvd img { display: block; width: 100%; height: auto; }
.dvd span {
  display: block;
  margin-top: calc(var(--w) * 0.07);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: calc(var(--w) * 0.168);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--white);
}
.standby-prompt {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 9cqh;
  transform: translateX(-50%);
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(18px, 3.2cqw, 30px);
  color: var(--white);
  background: transparent;
  border: 0;
  padding: 4px 12px;
  cursor: pointer;
  white-space: nowrap;
  animation: prompt 1.8s steps(1, end) infinite;
}
.is-boot .standby-prompt { display: block; }
@keyframes prompt { 65% { opacity: 0; } }
.pointer-coarse { display: none; }
@media (pointer: coarse) {
  .pointer-fine { display: none; }
  .pointer-coarse { display: inline; }
}
.screen.is-standby .station-bug, .screen.is-standby .osd { display: none; }
.led.off { background: #E35B5B; } /* Muted Signal Red — standby light */
.panel-left .key { margin-right: 4px; }
@media (prefers-reduced-motion: reduce) {
  .standby-prompt { animation: none; }
}

/* "STEREO where available" — appears under the show for a few seconds after tuning in */
.stereo {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 1.2cqh;
  transform: translateX(-50%);
  width: clamp(150px, 22cqw, 300px);
  height: auto;
  opacity: 0;
  transition: opacity 0.8s;
  pointer-events: none;
}
.stereo.on { opacity: 1; transition: none; }
.screen.is-standby .stereo { display: none; }

/* ---------- Weak signal (one random channel per visit) ----------
   Faint snow + a slow rolling band; every few seconds a brief crackle with gentle jitter. */
.weak-signal {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.9 .9 .9 0 0 .9 .9 .9 0 0 .9 .9 .9 0 0 0 0 0 0 .9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  animation: snow 0.3s steps(3) infinite;
}
.weak-signal::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9%;
  top: -10%;
  background: rgba(230, 228, 223, 0.35);
  animation: roll 7s linear infinite;
}
@keyframes roll { to { top: 110%; } }
.screen.weak-on .weak-signal { display: block; }
.screen.weak-on.crackle .weak-signal { opacity: 0.38; }
.screen.weak-on.crackle .channels { transform: translateX(3px); }
.screen.is-standby .weak-signal { display: none; }
@media (prefers-reduced-motion: reduce) {
  .weak-signal, .weak-signal::after { animation: none; }
  .weak-signal::after { display: none; }
}

/* ---------- CH 01 Home: full-screen still + title card ---------- */
#home { padding: 0; }
.home-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  filter: brightness(0.82) saturate(0.9) contrast(1.05);
}

/* ---------- Unlisted loop channels (CH 08+) ---------- */
.loop-ch { padding: 0; background: #000; }
.loop-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.loop-sound {
  position: absolute;
  left: 50%;
  bottom: 4cqh;
  transform: translateX(-50%);
  margin: 0;
  padding: 2px 10px;
  background: var(--blue);
  color: var(--white);
  white-space: nowrap;
  pointer-events: none;
}
.loop-ch.sound-on .loop-sound { display: none; }
.bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 78% 22%;
}
.snow-ch {
  position: absolute;
  inset: 0;
  background-color: var(--black);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.45 .45 .45 0 0 .45 .45 .45 0 0 .45 .45 .45 0 0 0 0 0 0 .7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  animation: snow 0.3s steps(3) infinite;
}
.no-signal-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 4px 14px;
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(20px, 3.6cqw, 34px);
  background: var(--blue);
  color: var(--white);
}
.osd-name[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .snow-ch { animation: none; } }

/* Readable by search engines and screen readers, not shown */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* CH 08: crop in to fill the set, framed on the body and hands */
.loop-video.crop-in { object-fit: cover; object-position: 50% 67%; }

/* CH 03 Listen: one player — top tracks */
.player { position: relative; width: min(100%, 560px); height: min(78cqh, 560px); }
.player::before {
  content: "SEARCHING\2026";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-osd);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.player iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; border-radius: 12px; }
@media (max-width: 760px) { .player { height: min(72cqh, 520px); } }

/* ---------- CH 05 Credits: decoupage of taped-down scraps ---------- */
.collage {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-areas:
    "eye  isc ahfm"
    "keya isc labels";
  gap: 4cqh 3.5cqw;
  align-items: center;
  justify-items: center;
}
.scrap { position: relative; margin: 0; text-decoration: none; color: inherit; }
.tilt-l  { transform: rotate(-3deg); }
.tilt-l2 { transform: rotate(-1.5deg); }
.tilt-r  { transform: rotate(2.5deg); }
.tilt-r2 { transform: rotate(1.5deg); }

/* Index cards: CRT-white paper, typed */
.card {
  display: flex;
  flex-direction: column;
  gap: 0.5cqh;
  width: 100%;
  max-width: 260px;
  padding: 3cqh 2cqw 2.4cqh;
  background: var(--white);
  color: var(--black);
  text-align: left;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
a.card:hover { outline: 2px solid var(--cyan); outline-offset: 3px; }
.card-kicker {
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(13px, 1.9cqw, 19px);
  opacity: 0.7;
}
.card-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-stretch: 108%;
  font-size: clamp(18px, 3.2cqw, 30px);
  line-height: 1.1;
}
.card-note {
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(13px, 1.8cqw, 18px);
}
.card.small { max-width: 200px; text-align: center; align-items: center; }
.tape {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 34%;
  height: 20px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(230, 228, 223, 0.45);
  border-left: 1px dashed rgba(14, 14, 16, 0.15);
  border-right: 1px dashed rgba(14, 14, 16, 0.15);
}

/* Label-maker strips */
.dymo {
  display: inline-block;
  padding: 4px 12px 2px;
  background: #000;
  color: var(--white);
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(15px, 2.2cqw, 22px);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(230, 228, 223, 0.18), 0 2px 0 rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
.dymo-stack { display: flex; flex-direction: column; align-items: center; gap: 2.4cqh; }

/* The ISC badge */
.badge { display: flex; flex-direction: column; align-items: center; gap: 1.6cqh; }
.badge img { display: block; width: clamp(150px, 26cqw, 300px); height: auto; }
.badge figcaption { display: flex; flex-direction: column; align-items: center; gap: 1cqh; text-align: center; }
.badge-note {
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(13px, 1.8cqw, 18px);
  color: var(--dim);
  line-height: 1.25;
}

@media (max-width: 760px) {
  .collage {
    grid-template-columns: 1fr;
    grid-template-areas: "isc" "eye" "keya" "ahfm" "labels";
    gap: 30px;
  }
  .card { max-width: 280px; padding: 20px 18px 16px; }
}

/* CH 06 Press: one-sheet button */
.one-sheet {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 3.5cqh;
  padding: 6px 22px 4px;
  font-family: var(--font-osd);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(18px, 2.8cqw, 26px);
  text-decoration: none;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--white);
}
.one-sheet span { font-size: 0.7em; opacity: 0.6; }
.one-sheet:hover { background: var(--cyan); border-color: var(--cyan); }
