/* ─────────────────────────────────────────────────────────── tokens */
:root {
  --paper:       #ede9df;
  --paper-deep:  #e3dfd2;
  --ink:         #1a1a1a;
  --ink-soft:    #2a2a2a;
  --mute:        #6b6963;
  --rule:        rgba(26, 26, 26, .22);
  --rule-soft:   rgba(26, 26, 26, .10);
  --accent:      #aa8240;
  --accent-deep: #91702f;
  --accent-soft: rgba(170, 130, 64, .18);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Spectral", Georgia, serif;

  --orb-size: 84px;
  --orb-size-mobile: 58px;
}

/* ─────────────────────────────────────────────────────────── reveal animations */
.r {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 1s cubic-bezier(.2, .7, .2, 1),
    transform 1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
body.loaded .r {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .r { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ─────────────────────────────────────────────────────────── reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color .2s, color .2s; }
a:hover { color: var(--accent); border-bottom-color: var(--accent); }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* paper grain — very subtle */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.012) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,.012) 0, transparent 40%);
  mix-blend-mode: multiply;
  z-index: 0;
}

/* ─────────────────────────────────────────────────────────── header */
header.site {
  position: relative; z-index: 2;
  padding: 26px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
header.site .wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: .08em;
  text-transform: none;
  color: var(--ink);
  border-bottom: 0;
  transition: color .2s ease;
}
header.site .wordmark:hover { color: var(--accent); }
header.site .meta { color: var(--mute); }

/* ─────────────────────────────────────────────────────────── hero text */
.hero {
  position: relative; z-index: 2;
  text-align: center;
  padding: 64px 24px 40px;
  max-width: 760px;
  margin: 0 auto;
}
.kicker {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
}
.kicker::before, .kicker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 36px;
  height: 1px;
  background: var(--rule);
}
.kicker::before { right: 100%; margin-right: 16px; }
.kicker::after  { left:  100%; margin-left:  16px; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -.005em;
  margin: 0 0 18px;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
}
.hero .subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
}
.hero .subtitle .role {
  font-style: italic;
  color: var(--mute);
}

/* ─────────────────────────────────────────────────────────── stage / constellation */
main.canvas {
  position: relative; z-index: 1;
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 24px 24px 80px;
}
.stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  padding: 110px 140px;
  isolation: isolate;
}

/* SVG line layer */
.lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  color: var(--ink-soft);
  z-index: 1;
  overflow: visible;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(.2, .7, .2, 1);
  transition-delay: 1s;
}
body.loaded .lines { opacity: 1; }
.lines line {
  stroke: currentColor;
  stroke-width: 1;
  opacity: .55;
  vector-effect: non-scaling-stroke;
}

/* ─────────────────────────────────────────────────────────── orbs */
.orb {
  position: absolute;
  width: calc(var(--orb-size) * var(--orb-scale, 1));
  height: calc(var(--orb-size) * var(--orb-scale, 1));
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%) scale(.55);
  opacity: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: calc(var(--orb-size) * var(--orb-scale, 1) * .58);
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  transition:
    opacity .9s cubic-bezier(.2, .7, .2, 1),
    transform .9s cubic-bezier(.2, .7, .2, 1),
    border-color .35s ease, color .35s ease, background .35s ease, box-shadow .35s ease;
  will-change: transform, opacity;
  user-select: none;
}
.orb.is-in {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.orb::after {
  /* tiny inner ring for refinement */
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid var(--rule-soft);
  pointer-events: none;
}
.orb .orb-icon {
  display: block;
  transform: translate(.02em, .04em);
  font-size: calc(var(--orb-size) * var(--orb-scale, 1) * .46);
  line-height: 1;
}
.orb .orb-badge {
  position: absolute;
  right: 13%;
  bottom: 13%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: calc(var(--orb-size) * var(--orb-scale, 1) * .13);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--accent);
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 99px;
  padding: 2px 5px;
  pointer-events: none;
}
.orb:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 1px 0 var(--paper-deep), 0 8px 24px -12px rgba(170, 130, 64, .45);
}
.orb:hover::after { border-color: var(--accent-soft); }

/* drift animations — each orb gets a different rhythm via nth-of-type */
@keyframes drift-a { 0%,100% { translate: 0 0; } 50% { translate: 6px -8px; } }
@keyframes drift-b { 0%,100% { translate: 0 0; } 50% { translate: -7px 6px; } }
@keyframes drift-c { 0%,100% { translate: 0 0; } 50% { translate: 5px 7px; } }
@keyframes drift-d { 0%,100% { translate: 0 0; } 50% { translate: -6px -5px; } }

.orb:nth-of-type(1) { animation: drift-a 7.5s ease-in-out infinite; }
.orb:nth-of-type(2) { animation: drift-b 8.2s ease-in-out infinite; animation-delay: -1.4s; }
.orb:nth-of-type(3) { animation: drift-c 6.8s ease-in-out infinite; animation-delay: -2.6s; }
.orb:nth-of-type(4) { animation: drift-d 9.1s ease-in-out infinite; animation-delay: -.8s; }
.orb:nth-of-type(5) { animation: drift-a 7.9s ease-in-out infinite; animation-delay: -3.2s; }
.orb:nth-of-type(6) { animation: drift-b 6.4s ease-in-out infinite; animation-delay: -4.1s; }
.orb:nth-of-type(7) { animation: drift-c 8.7s ease-in-out infinite; animation-delay: -2.0s; }
.orb:nth-child(4n+1) { animation: drift-a 7.6s ease-in-out infinite; }
.orb:nth-child(4n+2) { animation: drift-b 8.4s ease-in-out infinite; animation-delay: -1.6s; }
.orb:nth-child(4n+3) { animation: drift-c 7.1s ease-in-out infinite; animation-delay: -2.8s; }
.orb:nth-child(4n+4) { animation: drift-d 9.0s ease-in-out infinite; animation-delay: -.9s; }
.orb[data-auto="1"] { transform-origin: center; }
.orb[data-ring="2"] { opacity: 0; }
.orb[data-ring="3"] { opacity: 0; }
body.loaded .orb[data-ring="2"].is-in,
body.loaded .orb[data-ring="3"].is-in { opacity: .92; }

/* irregular placement around the video */
.orb[data-pos="tl"]  { --x: 6%;  --y: 13%; }
.orb[data-pos="tc"]  { --x: 30%; --y: 4%;  }
.orb[data-pos="tr"]  { --x: 78%; --y: 9%;  }
.orb[data-pos="r"]   { --x: 95%; --y: 46%; }
.orb[data-pos="br"]  { --x: 82%; --y: 84%; }
.orb[data-pos="bc"]  { --x: 36%; --y: 93%; }
.orb[data-pos="bl"]  { --x: 5%;  --y: 64%; }

/* ─────────────────────────────────────────────────────────── player */
.player {
  position: relative;
  width: 100%;
  /* aspect-ratio set dynamically once metadata loads; sensible fallback */
  aspect-ratio: var(--video-aspect, 16 / 9);
  /* prevent extremely tall portrait videos from dominating; dvh adapts to iOS address-bar changes */
  max-height: 72vh;
  max-height: 72dvh;
  /* and constrain width so portrait stays narrow & centered */
  max-width: calc(72vh * var(--video-ratio, 1.7777));
  max-width: calc(72dvh * var(--video-ratio, 1.7777));
  margin-inline: auto;
  background: #0a0a0a;
  overflow: hidden;
  border-radius: 16px;
  z-index: 3;
  touch-action: manipulation;
  box-shadow:
    0 1px 0 var(--paper-deep),
    0 30px 60px -30px rgba(0, 0, 0, .45),
    0 12px 30px -16px rgba(0, 0, 0, .30);
}
.player video {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #0a0a0a;
  touch-action: manipulation;
}

/* loading shimmer — covers player until poster + metadata both ready */
.player .shimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      100deg,
      #141414 0%,
      #1f1f1f 35%,
      #2a2a2a 50%,
      #1f1f1f 65%,
      #141414 100%
    );
  background-size: 220% 100%;
  animation: shimmer-slide 1.8s linear infinite;
  transition: opacity .9s ease;
  pointer-events: none;
}
.player .shimmer::after {
  /* subtle paper-mark inside the shimmer to feel branded */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(170, 130, 64, .06), transparent 60%);
}
.player .shimmer.is-gone {
  opacity: 0;
  pointer-events: none;
}
@keyframes shimmer-slide {
  from { background-position: 200% 0; }
  to   { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .player .shimmer { animation: none; background: #1a1a1a; }
}

/* big centered play overlay */
.player .big-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, .28);
  transition: opacity .35s ease, background .35s ease;
  z-index: 4;
}
.player.is-playing .big-play { opacity: 0; pointer-events: none; }
.player .big-play .disc {
  width: 84px; height: 84px;
  border: 1px solid rgba(237, 233, 223, .8);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(237, 233, 223, .08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
  animation: play-disc-pulse 2.4s ease-in-out infinite;
}
@keyframes play-disc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237,233,223,.24); }
  50%      { box-shadow: 0 0 0 14px rgba(237,233,223,0); }
}
.player .big-play:hover .disc {
  transform: scale(1.04);
  background: rgba(237, 233, 223, .16);
  border-color: var(--paper);
}
.player .big-play svg { width: 26px; height: 26px; fill: var(--paper); margin-left: 4px; }

/* controls bar */
.player .controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 38px 18px max(14px, env(safe-area-inset-bottom, 14px));
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 100%);
  color: var(--paper);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 5;
}
.player.is-active .controls,
.player:not(.is-playing) .controls {
  opacity: 1; transform: none;
}

.player .ctrl {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  color: var(--paper);
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}
.player .ctrl:hover { opacity: 1; }
.player .ctrl:active { transform: scale(.94); }
.player .ctrl svg { width: 18px; height: 18px; fill: currentColor; }

.player .scrub {
  flex: 1;
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.player .scrub-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(237, 233, 223, .25);
}
.player .scrub-buffer,
.player .scrub-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: rgba(237, 233, 223, .45);
  width: 0%;
}
.player .scrub-fill { background: var(--paper); z-index: 1; }
.player .scrub-thumb {
  position: absolute;
  top: 50%;
  width: 10px; height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--paper);
  transform: translateY(-50%) scale(0);
  transition: transform .2s ease;
  z-index: 2;
}
.player .scrub:hover .scrub-thumb,
.player .scrub.is-dragging .scrub-thumb { transform: translateY(-50%) scale(1); }
.player .scrub:hover .scrub-track { height: 3px; }

.player .time {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(237, 233, 223, .9);
  font-variant-numeric: tabular-nums;
  min-width: 90px;
  text-align: center;
}

/* volume */
.player .vol {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.player .vol-slider {
  width: 0;
  height: 24px;
  display: flex;
  align-items: center;
  transition: width .25s ease, margin-left .25s ease;
  margin-left: 0;
}
.player .vol:hover .vol-slider,
.player .vol:focus-within .vol-slider {
  width: 74px;
  margin-left: 4px;
}
.player .vol-track {
  position: relative;
  width: 100%; height: 2px;
  background: rgba(237, 233, 223, .25);
  cursor: pointer;
  touch-action: none;
}
.player .vol-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--paper);
  width: 100%;
}

/* ─────────────────────────────────────────────────────────── prelude */
.prelude {
  position: relative; z-index: 2;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 24px 80px;
  text-align: center;
}
.prelude .rule {
  width: 1px; height: 56px;
  background: var(--rule);
  margin: 0 auto 28px;
}
.prelude p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}
.prelude .small {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 22px;
  font-style: normal;
}

/* seek toast (±10s feedback on double-click) */
.player .toast {
  position: absolute;
  top: 50%;
  width: 88px; height: 88px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(10, 10, 10, .55);
  color: var(--paper);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: .02em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) scale(.85);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 6;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.player .toast.left  { left:  6%;  transform: translateY(-50%) scale(.85); }
.player .toast.right { right: 6%;  transform: translateY(-50%) scale(.85); }
.player .toast.is-on { opacity: 1; transform: translateY(-50%) scale(1); }
.player .toast svg { width: 22px; height: 22px; fill: currentColor; margin-bottom: 2px; }
.player .toast span { font-variant-numeric: tabular-nums; font-style: italic; }

/* scrub preview tooltip */
.player .preview {
  position: absolute;
  bottom: 56px;
  width: 168px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 7;
}
.player .preview.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.player .preview .frame {
  width: 100%;
  background: #0a0a0a;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 22px -10px rgba(0,0,0,.6);
  aspect-ratio: var(--video-aspect, 16/9);
  display: grid; place-items: center;
}
.player .preview .frame img,
.player .preview .frame canvas {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
}
.player .preview .frame .ph {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(237, 233, 223, .45);
  letter-spacing: .1em;
}
.player .preview .label {
  margin-top: 6px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

/* ─────────────────────────────────────────────────────────── CTA */
.cta {
  position: relative; z-index: 2;
  padding: 60px 24px 80px;
  text-align: center;
}
.cta-inner {
  max-width: 820px;
  margin: 0 auto;
}
.cta .headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 26px;
}
.cta .headline .it { font-style: italic; }
.cta .headline .hl { color: var(--accent); font-style: italic; }
.cta .headline .brand {
  font-style: normal;
  font-weight: 600;
  letter-spacing: .01em;
}
.cta .hrule {
  width: 64px; height: 1px;
  background: var(--accent);
  margin: 0 auto 26px;
  opacity: .7;
}
.cta .subline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--mute);
  margin: 0 0 44px;
  letter-spacing: .01em;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .28em;
  text-transform: uppercase;
  padding: 20px 36px;
  text-decoration: none;
  border: 0;
  border-bottom: 0;
  transition: background .2s ease, transform .2s ease;
  min-width: 360px;
}
.cta-btn:hover {
  background: var(--accent-deep);
  color: var(--paper);
  border-bottom: 0;
}
.cta-btn .arrow {
  display: inline-block;
  font-style: normal;
  transition: transform .25s ease;
  font-size: 18px;
}
.cta-btn:hover .arrow { transform: translateX(6px); }
.cta-mark {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 0;
  transition: color .2s ease;
}
.cta-mark:hover { color: var(--accent-deep); border-bottom: 0; }

@media (max-width: 520px) {
  .cta { padding: 48px 20px 60px; }
  .cta-btn { min-width: 0; width: 100%; padding: 18px 24px; font-size: 13px; letter-spacing: .22em; gap: 16px; }
  .cta-mark { font-size: 12px; letter-spacing: .3em; }
  .player .preview { display: none; }
  .player .toast { width: 70px; height: 70px; font-size: 15px; }
}

/* ─────────────────────────────────────────────────────────── footer */
footer.site {
  position: relative; z-index: 2;
  padding: 28px 40px max(30px, env(safe-area-inset-bottom, 30px));
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 24px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mute);
  border-top: 1px solid var(--rule-soft);
}
footer.site a { border-bottom: 1px solid var(--rule-soft); }

/* ─────────────────────────────────────────────────────────── responsive */
@media (max-width: 1080px) {
  .stage { padding: 90px 96px; }
  :root { --orb-size: 72px; }
}

@media (max-width: 820px) {
  header.site { padding: 22px 22px 0; flex-wrap: wrap; gap: 8px; }
  header.site .meta { font-size: 11px; }
  .hero { padding: 48px 20px 28px; }
  .stage { padding: 70px 36px; }
  :root { --orb-size: 58px; }
  /* drop center & side orbs on mobile — keep just the four corners */
  .orb[data-pos="tc"],
  .orb[data-pos="bc"],
  .orb[data-pos="r"]  { display: none; }
  /* push corner orbs to the outside of the video */
  .orb[data-pos="tl"]  { --x: 0%;  --y: 6%;  }
  .orb[data-pos="tr"]  { --x: 100%;--y: 6%;  }
  .orb[data-pos="br"]  { --x: 100%;--y: 94%; }
  .orb[data-pos="bl"]  { --x: 0%;  --y: 94%; }
  footer.site { flex-direction: column; align-items: center; padding: 24px 22px; text-align: center; }
}

@media (max-width: 520px) {
  :root { --orb-size: 50px; }
  .stage { padding: 52px 16px; }
  .player .time { min-width: 78px; font-size: 11.5px; }
  .player .controls { gap: 8px; padding: 32px 12px 10px; }
  .player .vol { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none !important; }
}

/* fullscreen */
.player:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; }
.player:fullscreen video { object-fit: contain; }
.player:-webkit-full-screen { width: 100vw; height: 100vh; aspect-ratio: auto; }
.player:-webkit-full-screen video { object-fit: contain; }

/* ─────────────────────────────────────────────────────────── neue Orb-Varianten */

/* "scene" — Illustration statt ? */
.orb.orb-scene { padding: 0; overflow: hidden; }
.orb.orb-scene img {
  width: 64%;
  height: 64%;
  object-fit: contain;
  filter: contrast(.95);
}
.orb.orb-scene:hover img { filter: contrast(1); }

/* "folge" — Play-Symbol mit Episodennummer */
.orb.orb-folge {
  text-decoration: none;
  border-bottom: 0;
  position: absolute; /* a-tag braucht's explizit */
}
.orb.orb-folge .play {
  width: 44%;
  height: 44%;
  fill: var(--ink);
  transition: fill .35s ease, transform .35s ease;
  margin-bottom: 2px;
  animation: mini-play-breathe 2.6s ease-in-out infinite;
}
@keyframes mini-play-breathe {
  0%, 100% { transform: translateX(0) scale(1); opacity: .92; }
  50%      { transform: translateX(2px) scale(1.08); opacity: 1; }
}
.orb.orb-folge .num {
  position: absolute;
  bottom: 14%;
  right: 18%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: calc(var(--orb-size) * var(--orb-scale, 1) * .26);
  line-height: 1;
  color: var(--accent);
  background: var(--paper);
  padding: 0 4px;
  border-radius: 99px;
  pointer-events: none;
}
.orb.orb-folge:hover .play { fill: var(--accent); transform: translateX(2px) scale(1.08); }

.orb.orb-folge-custom .folge-orb-image {
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: contrast(.96);
  transition: transform .35s ease, filter .35s ease;
}
.orb.orb-folge-custom:hover .folge-orb-image {
  transform: scale(1.05);
  filter: contrast(1);
}
.orb.orb-folge-custom .orb-icon {
  font-style: normal;
}
.orb.orb-folge-custom .orb-badge {
  top: 12%;
  right: 12%;
  bottom: auto;
}
.orb.orb-folge-custom .num {
  bottom: 10%;
  right: 14%;
}
.orb.orb-folge::before {
  /* sanft pulsierender Ring damit Play-Orb sich von Szenen-Orbs abhebt */
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: orb-pulse 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orb-pulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%      { opacity: .35; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .orb.orb-folge::before,
  .orb.orb-folge .play { animation: none; }
}

/* ─────────────────────────────────────────────────────────── Folgen-Liste */
.folgen-list {
  position: relative; z-index: 2;
  padding: 20px 24px 60px;
}
.folgen-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.folgen-kicker {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
  margin: 0 0 32px;
  position: relative;
}
.folgen-kicker::before, .folgen-kicker::after {
  content: ""; position: absolute; top: 50%; width: 60px; height: 1px; background: var(--rule);
}
.folgen-kicker::before { left:  calc(50% - 110px); }
.folgen-kicker::after  { right: calc(50% - 110px); }

.folgen-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px 28px;
}
.folgen-card a {
  display: block;
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
  padding-bottom: 8px;
  transition: transform .3s ease;
}
.folgen-card a:hover { transform: translateY(-2px); }
.folgen-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0a;
  margin-bottom: 14px;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.45);
}
.folgen-card .thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.folgen-card a:hover .thumb img { transform: scale(1.03); }
.folgen-card .play-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.3) 100%);
}
.folgen-card .play-overlay svg {
  width: 44px; height: 44px;
  fill: var(--paper);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  transition: transform .3s ease;
}
.folgen-card a:hover .play-overlay svg { transform: scale(1.08); }
.folgen-card .meta-line {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.folgen-card .meta-line .num { color: var(--accent); }
.folgen-card .titel {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.22;
  margin: 0 0 8px;
  color: var(--ink);
}
.folgen-card .kurz {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mute);
  margin: 0;
}

/* ─────────────────────────────────────────────────────────── Folge-Detailseite */
body.is-folge .folge-hero {
  padding: 32px 24px 24px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
body.is-folge .folge-hero .folge-kicker {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
body.is-folge .folge-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.18;
  margin: 0 0 14px;
}
body.is-folge .folge-hero .folge-meta {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--mute);
  font-style: italic;
}
body.is-folge .folge-text {
  max-width: 680px;
  margin: 40px auto 60px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
body.is-folge .folge-text p { margin: 0 0 1.1em; }
body.is-folge .back-link {
  display: inline-block;
  margin: 0 auto;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--mute);
  font-size: 14px;
  border-bottom: 0;
}
body.is-folge .back-link:hover { color: var(--accent); }
body.is-folge .back-wrap { text-align: center; padding: 8px 24px 40px; }

body.is-folge .folge-disclaimer {
  max-width: 600px;
  margin: 40px auto 60px;
  padding: 22px 28px;
  background: var(--paper-deep);
  border-left: 2px solid var(--accent);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.55;
}

@media (max-width: 520px) {
  .folgen-kicker::before, .folgen-kicker::after { display: none; }
  .folgen-grid { gap: 28px 20px; }
}

/* ─────────────────────────────────────────────────────────── interaktive Folgenseite */
body.is-folge .episode-canvas {
  padding-top: 10px;
  padding-bottom: 34px;
}
body.is-folge .episode-stage {
  max-width: 1060px;
  padding: 12px 24px 32px;
}
body.is-folge .folge-chipline {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
body.is-folge .folge-chipline span {
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  background: rgba(255,255,255,.22);
}
.episode-player-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 8px;
  border: 1px solid rgba(237,233,223,.62);
  border-radius: 999px;
  background: rgba(26,26,26,.42);
  color: var(--paper);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.episode-player-badge .episode-play-mini {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(237,233,223,.75);
  font-size: 11px;
  line-height: 1;
  animation: episode-play-dot 2.2s ease-in-out infinite;
}
.episode-player-badge .episode-num-mini {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--paper);
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
@keyframes episode-play-dot {
  0%, 100% { transform: scale(1); opacity: .86; }
  50%      { transform: scale(1.12); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .player .big-play .disc,
  .episode-player-badge .episode-play-mini { animation: none; }
}

.episode-no-video {
  max-width: 820px;
  margin: 0 auto;
  min-height: 260px;
  border: 1px dashed var(--rule);
  border-radius: 16px;
  background: var(--paper-deep);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px;
  box-shadow: 0 20px 40px -30px rgba(0,0,0,.25);
}
.episode-no-video strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 6px;
}
.episode-no-video span { color: var(--mute); font-style: italic; }

.folge-interactive {
  max-width: 920px;
  margin: 34px auto 0;
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  background: rgba(255,255,255,.34);
  box-shadow: 0 24px 60px -42px rgba(0,0,0,.35);
  overflow: hidden;
}
.episode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--rule-soft);
  background: rgba(227,223,210,.55);
}
.episode-tabs button {
  flex: 1 1 130px;
  padding: 15px 14px;
  border-right: 1px solid var(--rule-soft);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  transition: background .2s ease, color .2s ease;
}
.episode-tabs button:last-child { border-right: 0; }
.episode-tabs button:hover,
.episode-tabs button.is-active {
  background: var(--paper);
  color: var(--accent);
}
.episode-panel {
  padding: 30px 32px 34px;
}
.episode-panel h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  margin: 0 0 12px;
}
.episode-panel p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}
.episode-panel-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 28px;
  align-items: start;
}
.episode-facts {
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  background: var(--paper);
  padding: 16px 18px;
}
.episode-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.episode-facts div:last-child { border-bottom: 0; }
.episode-facts strong {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 400;
}
.episode-facts span {
  text-align: right;
  color: var(--accent-deep);
  font-style: italic;
}
.chapter-buttons,
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.chapter-buttons button,
.share-actions button,
.share-actions a {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
}
.chapter-buttons button:hover,
.share-actions button:hover,
.share-actions a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.episode-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  cursor: pointer;
}
.episode-check:last-child { border-bottom: 0; }
.episode-check input {
  margin-top: .38em;
  accent-color: var(--accent);
}
.episode-check span { color: var(--ink-soft); }
.episode-notes,
.episode-share-text {
  width: 100%;
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  background: var(--paper);
  padding: 14px 16px;
  font-family: var(--font-body);
  color: var(--ink);
  resize: vertical;
  line-height: 1.55;
}
.episode-notes:focus,
.episode-share-text:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.episode-note-status {
  margin-top: 8px;
  font-size: 12px;
  color: var(--mute);
  font-style: italic;
}
.episode-share-text { margin-top: 16px; }

@media (max-width: 720px) {
  body.is-folge .episode-stage { padding: 8px 16px 24px; }
  .episode-panel { padding: 24px 20px 28px; }
  .episode-panel-grid { grid-template-columns: 1fr; }
  .episode-tabs button { flex-basis: 50%; border-bottom: 1px solid var(--rule-soft); }
  .episode-tabs button:nth-child(even) { border-right: 0; }
}
