/* ==========================================================
   Jay Wollin — site styles
   Two themes share one structure:
   body.pro      → light, ink-on-paper (business / education / science)
   body.creative → dark, stage-lit (theater / film / music)
   ========================================================== */

:root {
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1080px;
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

body.pro {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #1b2330;
  --muted: #5b6575;
  --line: #e2ded4;
  --accent: #1f4e79;
  --accent-soft: #e6eef6;
}

body.creative {
  --bg: #111014;
  --surface: #1a181f;
  --ink: #f1ece4;
  --muted: #a49d93;
  --line: #2d2a33;
  --accent: #e0a64a;
  --accent-soft: rgba(224, 166, 74, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }

/* ---------- Landing ---------- */
body.landing {
  margin: 0;
  min-height: 100vh;
  background: #111014;
  color: #fff;
  overflow-x: hidden;
}
.landing-name {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 5;
  pointer-events: none;
}
.landing-name .layer {
  position: absolute;
  top: 0; left: 0; right: 0;
  text-align: center;
  padding: 36px 20px 0;
}
.landing-name .on-light { color: #1b2330; clip-path: inset(0 50% 0 0); }
.landing-name .on-dark  { color: #f1ece4; clip-path: inset(0 0 0 50%); }
.landing-name h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: .01em;
  margin: 0;
}
.landing-name p {
  margin: 6px 0 0;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .7;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding: 0;
}
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 6vw, 72px);
  text-decoration: none;
  overflow: hidden;
  transition: flex .5s var(--ease);
}
.door::before {
  content: "";
  position: absolute; inset: 0;
  transition: transform .9s var(--ease), opacity .6s var(--ease);
}
.door > * { position: relative; }
.door-pro { background: #f7f5f0; color: #1b2330; }
.door-pro::before {
  background:
    linear-gradient(#1b233010 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, #1b233010 1px, transparent 1px) 0 0 / 32px 100%;
  opacity: .7;
}
.door-creative { background: #111014; color: #f1ece4; }
.door-creative::before {
  background: radial-gradient(ellipse 60% 70% at 50% -10%, rgba(224,166,74,.38), transparent 65%);
  opacity: .55;
}
.door:hover::before, .door:focus-visible::before { transform: scale(1.06); opacity: 1; }
/* Portrait between the name and the door's text, feathered into an oval */
.door { padding-top: 150px; }
.door-portrait {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(16px, 3vh, 36px);
}
.door-portrait img {
  display: block;
  height: 100%;
  max-height: 50vh;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  /* Uncropped square photos: the face sits high in the frame, so the oval is
     centered above the middle and the top edge gets its own short fade. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 12%),
    radial-gradient(ellipse 50% 52% at 50% 42%, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, transparent 0, #000 12%),
    radial-gradient(ellipse 50% 52% at 50% 42%, #000 55%, transparent 100%);
          mask-composite: intersect;
  transition: transform .9s var(--ease);
}
.door:hover .door-portrait img { transform: scale(1.03); }

.door .kicker {
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .7;
}
.door h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1;
  margin: .25em 0 .3em;
}
.door-pro h2 { color: #1f4e79; }
.door-creative h2 { color: #e0a64a; font-style: italic; }
.door ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: .95rem;
  opacity: .85;
}
.door .enter {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 600;
  font-size: .95rem;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: 4px;
}
.door .enter span { transition: transform .3s var(--ease); }
.door:hover .enter span { transform: translateX(6px); }
.door:focus-visible { outline: 3px solid #e0a64a; outline-offset: -6px; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .door { min-height: 50vh; padding-top: 140px; }
  .door-portrait { flex: none; height: 300px; }
  .door-creative { padding-top: 48px; }
  .door-creative .door-portrait { margin-top: 0; }
  .landing-name { position: absolute; }
  .landing-name .on-light { clip-path: none; }
  .landing-name .on-dark { display: none; }
}

/* ---------- Site header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav {
  display: flex; gap: 20px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font-size: .88rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }
.switch {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  color: var(--ink);
}
.switch:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 760px) {
  .site-header .inner { flex-wrap: wrap; gap: 10px 16px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; }
  .switch { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) 24px clamp(40px, 6vw, 70px);
}
.hero .kicker {
  font-size: .75rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: .3em 0 .4em;
  max-width: 16ch;
}
body.creative .hero h1 em { color: var(--accent); }
.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 26px;
  font-size: .9rem; color: var(--muted);
}

/* ---------- Full-bleed photo hero ---------- */
.hero-band {
  position: relative;
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}
.hero-band--pro {
  /* Paper-colored wash on the left keeps the text readable; the face stays clear on the right. */
  background-image:
    linear-gradient(90deg, #f7f5f0 0%, #f7f5f0 34%, rgba(247,245,240,.82) 50%, rgba(247,245,240,0) 72%),
    url("../img/hero-professional.jpg");
  background-position: center, right center;
  background-size: cover, auto 100%;
}
.hero-band .hero {
  min-height: min(78vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-band .hero .lede { color: #3d4654; max-width: 54ch; }
.stats--after-band { border-top: 0; }

/* Creative: portrait photo on the right, fading into the dark page */
.hero-band--creative { overflow: hidden; }
.hero-band--creative::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: min(52%, 620px);
  background:
    linear-gradient(rgba(17,16,20,.28), rgba(17,16,20,.28)),
    url("../img/hero-creative.jpg") center 38% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 25%, #000 65%);
          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 25%, #000 65%);
}
.hero-band--creative .hero { position: relative; z-index: 1; }
.hero-band--creative .hero h1 { max-width: min(14ch, 56vw); }
.hero-band--creative .hero .lede { max-width: min(54ch, 54vw); }
.hero-band--creative .hero .lede { color: var(--muted); }
.photo-credit {
  position: absolute;
  right: 16px; bottom: 10px;
  margin: 0;
  font-size: .72rem;
  letter-spacing: .02em;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
@media (max-width: 860px) {
  .hero-band--pro {
    background-image:
      linear-gradient(180deg, rgba(247,245,240,0) 0, rgba(247,245,240,0) 46vw, #f7f5f0 66vw),
      url("../img/hero-professional.jpg");
    background-position: top, right top;
    background-size: 100% 100%, 100% auto;
  }
  .hero-band .hero { min-height: 0; padding-top: 62vw; }
  .hero-band--creative::before {
    width: 100%; bottom: auto; height: 96vw;
    background-position: center 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
            mask-image: linear-gradient(180deg, #000 55%, transparent);
  }
  .hero-band--creative .hero { padding-top: 82vw; }
  .hero-band--creative .hero h1,
  .hero-band--creative .hero .lede { max-width: none; }
  .photo-credit { bottom: auto; top: 10px; right: 12px; }
}
@media print {
  .hero-band { background: none !important; }
  .photo-credit { display: none; }
  .hero-band--creative::before { display: none; }
  .hero-band .hero { min-height: 0; padding-top: 0; }
}

/* ---------- Stats ---------- */
.stats {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 22px 18px 22px 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line); }
.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  color: var(--accent);
}
.stat span { font-size: .85rem; color: var(--muted); }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
main { padding-bottom: 40px; }
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) 24px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin: 0;
}
.section-head p { margin: 4px 0 0; color: var(--muted); max-width: 62ch; }
.section-body { margin-left: 252px; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .section-body { margin-left: 0; }
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 4px;
  line-height: 1.3;
}
.sub-head {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  margin: 40px 0 14px;
}
.sub-head:first-child { margin-top: 0; }

/* ---------- Entries (experience list) ---------- */
.entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.entry:last-child { border-bottom: 1px solid var(--line); }
.entry .when {
  font-size: .85rem; color: var(--muted);
  white-space: nowrap; text-align: right;
  font-variant-numeric: tabular-nums;
}
.entry .role { color: var(--accent); font-weight: 500; font-size: .95rem; margin: 0; }
.entry .desc { grid-column: 1 / -1; margin: 8px 0 0; color: var(--muted); max-width: 70ch; }
.entry ul { grid-column: 1 / -1; margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.entry li { margin: 3px 0; }
/* Collapsible venture details */
.entry .more { grid-column: 1 / -1; margin-top: 8px; }
.entry .more > summary {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; list-style: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  padding: 4px 0;
}
.entry .more > summary::-webkit-details-marker { display: none; }
.entry .more > summary::after {
  content: ""; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.entry .more[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.entry .more > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.entry .more > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.entry .more[open] > summary { margin-bottom: 2px; }
@media print { .entry .more > summary { display: none; } }

@media (max-width: 560px) {
  .entry { grid-template-columns: 1fr; }
  .entry .when { text-align: left; order: -1; }
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.card .meta { font-size: .85rem; color: var(--muted); margin: 0; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.tag {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px; border-radius: 4px;
  margin-bottom: 10px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
}
.feature h3 { font-size: 1.4rem; }
.feature p { margin: 8px 0 0; color: var(--muted); }

.feature--show {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px 30px;
}
.feature--show p { margin: 0; }
.show-logo { display: block; width: 100%; height: auto; max-height: 190px; object-fit: contain; object-position: center; }
@media (max-width: 640px) {
  .feature--show { grid-template-columns: 1fr; gap: 18px; padding: 24px 22px; }
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Chips / pills ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  font-size: .88rem;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.skill-groups { columns: 2 240px; column-gap: 36px; }
.skill-groups > div { break-inside: avoid; margin-bottom: 18px; }
.skill-groups h4 {
  margin: 0 0 4px; font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
/* Compact skills: inline lists separated by middots instead of chips */
.skill-groups .chips { display: block; font-size: .9rem; line-height: 1.6; color: var(--ink); }
.skill-groups .chips li {
  display: inline; padding: 0; border: 0; background: none; border-radius: 0; font-size: inherit;
}
.skill-groups .chips li:not(:last-child)::after { content: "\00a0· "; color: var(--muted); }

/* ---------- Simple table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  background: color-mix(in srgb, var(--surface) 92%, var(--ink));
  position: sticky; top: 0;
}
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
td em { color: var(--ink); }

/* ---------- Theater log ---------- */
.log-controls {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 16px;
}
.log-controls input[type="search"] {
  flex: 1 1 240px;
  font: inherit; font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
}
.log-controls input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.filter-btn {
  font: inherit; font-size: .85rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn[aria-pressed="true"] { color: #111014; background: var(--accent); border-color: var(--accent); }
.log-count { font-size: .85rem; color: var(--muted); margin: 0 0 10px; }
.log-scroll { max-height: 640px; overflow-y: auto; }
.badge {
  display: inline-block;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 4px;
  margin-left: 6px; vertical-align: 1px;
  white-space: nowrap;
}
.badge.win { background: var(--accent); color: #111014; }
.badge.nom { border: 1px solid var(--accent); color: var(--accent); }
.badge.soon { border: 1px solid var(--muted); color: var(--muted); }

/* ---------- Song catalog ---------- */
.catalog { columns: 3 200px; column-gap: 28px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .92rem; }
.catalog li { break-inside: avoid; padding: 3px 0; color: var(--muted); }
details.disclose {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
details.disclose:last-of-type { border-bottom: 1px solid var(--line); }
details.disclose summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
details.disclose summary::-webkit-details-marker { display: none; }
details.disclose summary h3 { margin: 0; }
details.disclose summary .count { font-size: .85rem; color: var(--muted); white-space: nowrap; }
details.disclose summary::after {
  content: "+";
  font-size: 1.3rem; line-height: 1; color: var(--accent);
  margin-left: 8px;
}
details.disclose[open] summary::after { content: "–"; }
details.disclose .note { color: var(--muted); font-size: .92rem; margin: 8px 0 0; }

/* ---------- Press ---------- */
.press { list-style: none; padding: 0; margin: 0; }
.press li { padding: 16px 0; border-top: 1px solid var(--line); }
.press li:last-child { border-bottom: 1px solid var(--line); }
.press .src { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.press a { display: block; font-family: var(--serif); font-size: 1.15rem; text-decoration: none; margin-top: 2px; }
.press a:hover { text-decoration: underline; }

/* Screen credits with poster thumbnails */
.credit { display: flex; align-items: center; gap: 14px; }
#screen td { vertical-align: middle; }
.credit .poster {
  flex: none; width: 40px; height: 60px; object-fit: cover;
  border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.35);
  background: var(--line);
}
.credit .poster--empty {
  display: block;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--line); box-shadow: none;
}

/* Broadcast TV: series thumbnails + network logos */
.tv-table td { vertical-align: middle; }
.series-thumb {
  flex: none; display: block; box-sizing: border-box; width: 72px; height: 44px;
  border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.series-thumb--logo { object-fit: contain; background: #f4f1ea; padding: 5px; }
.series-thumb--card { object-fit: cover; background: #000; }
.series-thumb--empty {
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--line); box-shadow: none;
}
.net-logo {
  display: block; box-sizing: border-box; width: 92px; height: 34px;
  background: #f4f1ea; padding: 6px 10px; border-radius: 4px;
  object-fit: contain;
}
.net-text { color: var(--muted); font-size: .9rem; }

/* Video link card (e.g. Penn Jillette on Tiny) */
.video-link {
  display: flex; align-items: center; gap: 14px; margin-top: 16px;
  padding: 10px; border: 1px solid var(--line); border-radius: 8px;
  text-decoration: none; color: inherit; max-width: 420px;
  transition: border-color .2s ease, background .2s ease;
}
.video-link:hover { border-color: var(--accent); background: rgba(255,255,255,.03); }
.video-thumb { position: relative; flex: none; width: 128px; aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; }
.video-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,.6); border: 1.5px solid rgba(255,255,255,.85);
}
.video-play::after {
  content: ""; position: absolute; left: 12px; top: 9px;
  border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.video-text { font-family: var(--serif); font-size: 1.05rem; line-height: 1.3; }
.video-kicker { display: block; font-family: var(--sans, inherit); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.feature-links { margin-top: 12px !important; font-size: .9rem; }

/* Original musical cards (buttons) */
.show-card {
  width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.show-card:hover { border-color: var(--accent); background: color-mix(in srgb, var(--surface) 88%, #fff 12%); }
.show-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.show-card-text { display: flex; flex-direction: column; gap: 14px; }
.show-blurb { color: var(--muted); }
.show-more {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.show-card:hover .show-more span { display: inline-block; transform: translateX(3px); transition: transform .2s ease; }

/* Show detail modal */
html.modal-open { overflow: hidden; }
.show-modal {
  width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  padding: 0; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink, inherit);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.show-modal::backdrop { background: rgba(8,8,12,.72); backdrop-filter: blur(3px); }
.show-modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-inner { position: relative; padding: 34px 38px 32px; }
.modal-close {
  position: absolute; top: 12px; right: 14px; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%; background: transparent;
  color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.modal-close:hover { color: var(--accent); border-color: var(--accent); }
.modal-logo { display: block; width: 100%; max-height: 170px; object-fit: contain; margin: 4px 0 22px; }
.show-modal .kicker {
  margin: 0 0 4px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.show-modal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 16px; }
.show-modal p { color: var(--muted); margin: 0 0 14px; }
.modal-sub {
  margin: 26px 0 8px; font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.modal-facts { margin: 20px 0 0; border-top: 1px solid var(--line); }
.modal-facts > div {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem;
}
.modal-facts dt { color: var(--muted); font-size: .85rem; }
.modal-facts dd { margin: 0; }
.modal-links { margin-top: 20px !important; font-size: .9rem; }
.show-modal .video-link { margin-top: 0; }
@media (max-width: 560px) {
  .modal-inner { padding: 28px 20px 24px; }
  .modal-facts > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--maxw);
  margin: 80px auto 0;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: .88rem; color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Print (professional page prints as a clean CV) ---------- */
@media print {
  .site-header, .site-footer, .switch, .log-controls { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding-top: 24px; break-inside: avoid-page; }
  .card, .feature, .table-wrap { border-color: #ccc; }
  a { color: #000; text-decoration: none; }
}
