/*
Theme Name: Denise Van De Cruze
Theme URI: https://vandecruze.com
Author: Denise Van De Cruze
Author URI: https://vandecruze.com
Description: Personal one-page theme for Denise Van De Cruze. 70s retro design, bilingual EN/DE toggle, floating project circles, expandable timeline, podcast and media sections. Content for projects, timeline and media lives in assets/js/data.js.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vandecruze
*/

/* ==========================================================
   Denise Van De Cruze: 70s retro groove
   Palette & shapes taken from a textured 70s wall-art print:
   mustard, burnt orange, bubblegum pink, brick red, cream,
   deep teal, aqua, plum: nested rounded bands and waves.
   ========================================================== */

:root {
  --paper: #f5e8d3;
  --paper-2: #ead6b5;
  --ink: #2b1d17;
  --ink-soft: #5c463a;

  /* palette (the JS colour names map onto these) */
  --yellow: #f2c14e;   /* mustard */
  --green:  #e2682d;   /* burnt orange (class name "green" kept for data.js) */
  --pink:   #e8798f;   /* bubblegum */
  --blue:   #1e4b4a;   /* deep teal (class name "blue" kept for data.js) */
  --teal:   #6bc0bb;
  --red:    #c2402c;
  --plum:   #6c3c62;
  --rose:   #df5470;
  --tangerine: #ee9a3a;
  --cream:  #ecd9b9;

  --on-dark: #fbf1e1;
  --radius: 28px;
  --display: "Fraunces", "Cooper Black", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #13292a;
    --paper-2: #1b3536;
    --ink: #f6e9d4;
    --ink-soft: #c9b79e;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: clamp(17px, 0.5vw + 14px, 19px); line-height: 1.6;
  overflow-x: clip; position: relative;
}
/* paper grain over everything, like the textured print */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
  background-image: var(--grain); opacity: .16; mix-blend-mode: multiply;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: #2b1d17; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* language toggle */
html[data-lang="en"] .de { display: none !important; }
html[data-lang="de"] .en { display: none !important; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--yellow); color: #2b1d17; padding: 8px 12px; z-index: 60; border-radius: 999px; }

.tilt-l, .tilt-r { transform: none; }

/* ---------- NAV ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); }
.top::after { /* striped rainbow edge */
  content: ""; display: block; height: 8px;
  background: linear-gradient(90deg,
    var(--yellow) 0 14%, var(--green) 14% 28%, var(--pink) 28% 42%, var(--red) 42% 56%,
    var(--cream) 56% 70%, var(--blue) 70% 85%, var(--teal) 85% 100%);
}
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 1.6rem; text-decoration: none; letter-spacing: -0.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.logo span { color: var(--green); display: inline-block; margin-left: 2px; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav { display: flex; gap: 4px; }
.nav a {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; padding: 7px 13px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--yellow); color: #2b1d17; }
.lang { display: flex; background: var(--paper-2); border-radius: 999px; padding: 3px; }
.lang button {
  font: 500 0.75rem/1 var(--mono); background: transparent; color: var(--ink);
  border: 0; padding: 7px 12px; cursor: pointer; border-radius: 999px;
}
.lang button[aria-pressed="true"] { background: var(--green); color: #2b1d17; }

/* ---------- STICKERS & TAGS ---------- */
.sticker {
  display: inline-block; margin: 0 0 18px; padding: 7px 18px; border-radius: 999px;
  font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 0.8rem;
  color: #2b1d17;
}
.sticker--yellow { background: var(--yellow); }
.sticker--pink { background: var(--pink); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.tag {
  font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em;
  padding: 7px 14px; border-radius: 999px; color: #2b1d17;
}
.tag--pink { background: var(--pink); } .tag--blue { background: var(--blue); color: var(--on-dark); }
.tag--yellow { background: var(--yellow); } .tag--green { background: var(--green); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(72px, 9vw, 120px);
}
.hero::before { /* nested quarter-circle bands in the corner, like the print */
  content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--gutter) - 40px); top: -10px;
  width: 520px; height: 520px; border-radius: 0 0 100% 0; opacity: .55;
  background: radial-gradient(circle at 0 0,
    var(--yellow) 0 150px, var(--green) 150px 230px, var(--pink) 230px 310px, var(--red) 310px 370px, transparent 370px);
}
.hero__text { min-width: 0; }
.hero__name {
  margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(3.4rem, 9.5vw, 8.4rem);
  line-height: 0.88; letter-spacing: -0.035em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.hero__name > span { display: block; }
.hl { width: fit-content; }
.hl--pink { color: var(--green); }
.outline { color: var(--pink); font-style: italic; font-weight: 600; }
.hero__deck { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; max-width: 36ch; margin: 28px 0 0; }

/* the arch portrait with rainbow bands */
.hero__art { position: relative; padding: 0 64px; }
.frame {
  aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden;
  box-shadow:
    0 0 0 14px var(--cream),
    0 0 0 30px var(--yellow),
    0 0 0 46px var(--green),
    0 0 0 62px var(--pink);
  clip-path: inset(-70px -70px 0 -70px round 999px 999px 0 0);
}
.hero__art .ph img { object-position: 51% 50%; }
.burst { /* the sun */
  position: absolute; right: 8px; top: -26px; width: 124px; height: 124px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--yellow); color: #2b1d17; z-index: 2;
  font-family: var(--display); font-style: italic; font-weight: 700; font-size: 0.95rem; line-height: 1.05;
  box-shadow: 0 0 0 10px var(--tangerine), 0 0 0 20px color-mix(in srgb, var(--tangerine) 40%, transparent);
}
.hero__art::after { /* ground wave under the arch */
  content: ""; position: absolute; left: 0; right: 0; bottom: -34px; height: 46px; z-index: 1;
  background: var(--yellow); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 14px 0 var(--tangerine), 0 28px 0 var(--green);
}

/* ---------- IMAGE PLACEHOLDERS ---------- */
.ph { margin: 0; position: relative; overflow: hidden; background-color: var(--c, var(--pink)); }
.ph::before { /* concentric arcs instead of an empty block */
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 0% 100%, transparent 0 38px, rgba(255,255,255,.18) 38px 70px);
}
.ph::after {
  content: attr(data-label); position: absolute; left: 12px; bottom: 12px;
  font: 500 0.66rem/1 var(--mono); color: #2b1d17; background: var(--cream); padding: 6px 9px; border-radius: 999px;
}
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph--pink { --c: var(--pink); } .ph--yellow { --c: var(--yellow); }
.ph--blue { --c: var(--teal); } .ph--green { --c: var(--green); }

/* ---------- MARQUEE (a wave band) ---------- */
.marquee {
  position: relative; background: var(--green); color: var(--cream); overflow: hidden; white-space: nowrap;
  margin-top: 30px;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22px; background: var(--paper);
  -webkit-mask: radial-gradient(22px 22px at 50% 0, #000 98%, transparent) 0 0 / 60px 22px repeat-x;
          mask: radial-gradient(22px 22px at 50% 0, #000 98%, transparent) 0 0 / 60px 22px repeat-x;
}
.marquee::before { top: -11px; transform: scaleY(-1); }
.marquee::after { bottom: -11px; }
.marquee__track { display: inline-flex; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.3rem); padding: 22px 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
section { scroll-margin-top: 80px; }
.about, .media { padding-block: clamp(64px, 9vw, 128px) 0; }
.sec-title {
  display: inline-block; margin: 0 0 clamp(28px, 4vw, 48px);
  font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; line-height: 1;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  background: var(--yellow); color: #2b1d17; padding: 10px 34px 16px; border-radius: 999px;
  box-shadow: 0 0 0 10px var(--paper), 0 0 0 20px var(--green);
  margin-left: 20px;
}
.sec-title--pink { background: var(--pink); box-shadow: 0 0 0 10px var(--paper), 0 0 0 20px var(--red); }
.sec-title--blue { background: var(--blue); color: var(--on-dark); box-shadow: 0 0 0 10px var(--paper), 0 0 0 20px var(--teal); }
.sec-title--yellow { background: var(--teal); box-shadow: 0 0 0 10px var(--paper), 0 0 0 20px var(--plum); }

/* ---------- ABOUT ---------- */
.about__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about__text p { margin: 0 0 1.1em; max-width: 62ch; }
.about__text .lead { font-family: var(--display); font-size: 1.45em; line-height: 1.3; font-weight: 500; }
.about__text strong { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--yellow) 75%, transparent) 60%); color: inherit; padding-inline: 2px; font-weight: 700; }
.quote-card {
  position: relative; overflow: hidden; background: var(--blue); color: var(--on-dark);
  padding: 34px 30px; border-radius: 999px 999px var(--radius) var(--radius);
  text-align: center; padding-top: 60px;
}
.quote-card::before {
  content: ""; position: absolute; left: 50%; bottom: -80px; width: 260px; height: 260px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, var(--yellow) 0 60px, var(--green) 60px 90px, var(--pink) 90px 120px, transparent 120px);
  opacity: .9;
}
.quote-card__q { position: relative; margin: 0 0 14px; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 0.95; }
.quote-card__c { position: relative; margin: 0 0 90px; font-family: var(--mono); font-size: 0.78rem; }

.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 36px); max-width: 980px; margin-inline: auto; margin-top: clamp(48px, 6vw, 80px); }
.strip .ph { aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; }
.strip .ph:nth-child(even) { border-radius: 18px 18px 999px 999px; translate: 0 22px; }
.strip .ph:first-child { border-radius: 24px; } /* keep the magazine masthead visible */

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block; font-family: var(--mono); font-weight: 500; font-size: 0.8rem; text-decoration: none;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border: 0; border-radius: 999px;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--green); color: #2b1d17; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--yellow); color: #2b1d17; box-shadow: none; }
.btn--light { background: var(--cream); color: #2b1d17; }
.btn--big { font-size: clamp(1rem, 2.4vw, 1.5rem); padding: 16px 28px; }

/* ---------- PROJECTS: floating circles ---------- */
.projects, .timeline { padding-top: clamp(64px, 9vw, 128px); }
.hint { margin: 0 0 24px; font-family: var(--mono); font-size: 0.85rem; max-width: 60ch; color: var(--ink-soft); }
.universe { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: stretch; }
.bubbles {
  position: relative; height: 600px; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, var(--teal) 0 90px, var(--blue) 90px 140px, transparent 140px),
    radial-gradient(circle at 0 100%, var(--plum) 0 70px, var(--rose) 70px 115px, transparent 115px),
    var(--paper-2);
  touch-action: pan-y;
}
.bubble {
  position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 50%; will-change: transform; color: #2b1d17;
}
.bubble__in {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 7px color-mix(in srgb, var(--c2) 100%, transparent), inset 0 0 0 14px var(--c);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
  text-align: center; padding: 14%;
}
.bubble__name { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 0.95; font-size: 0.95rem; font-variation-settings: "SOFT" 100; }
.bubble--s3 .bubble__name { font-size: clamp(1.3rem, 2.8vw, 2rem); font-style: italic; }
.bubble--s2 .bubble__name { font-size: clamp(0.85rem, 1.6vw, 1.1rem); }
.bubble--s1 .bubble__name { font-size: clamp(0.7rem, 1.2vw, 0.85rem); }
.bubble--pink   { --c: var(--pink);   --c2: var(--rose); }
.bubble--yellow { --c: var(--yellow); --c2: var(--tangerine); }
.bubble--green  { --c: var(--green);  --c2: var(--red); }
.bubble--blue   { --c: var(--blue);   --c2: var(--teal); }
.bubble--blue .bubble__in { color: var(--on-dark); }
.bubble:hover .bubble__in, .bubble:focus-visible .bubble__in { transform: scale(1.1); }
.bubble:focus-visible { outline: none; }
.bubble.is-selected .bubble__in {
  box-shadow: inset 0 0 0 7px var(--c2), inset 0 0 0 14px var(--c), 0 0 0 6px var(--paper-2), 0 0 0 12px var(--c2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.06); } }

.detail {
  display: flex; flex-direction: column; overflow: hidden; background: var(--paper);
  border-radius: var(--radius); box-shadow: 0 0 0 8px var(--accent, var(--pink));
}
.detail--pink { --accent: var(--pink); } .detail--yellow { --accent: var(--yellow); }
.detail--blue { --accent: var(--teal); } .detail--green { --accent: var(--green); }
.detail .ph { aspect-ratio: 16 / 10; }
.detail__body { padding: 22px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__meta {
  align-self: flex-start; margin: 0 0 10px; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: .06em;
  background: var(--accent, var(--yellow)); color: #2b1d17; padding: 5px 11px; border-radius: 999px;
}
.detail h3 { margin: 0 0 4px; font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 0.95; letter-spacing: -0.03em; font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1; }
.detail__full { margin: 0 0 10px; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-soft); }
.detail p { margin: 8px 0 18px; }
.detail__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.detail.flash { animation: pop .5s cubic-bezier(.2,.8,.2,1); }

/* ---------- TIMELINE ---------- */
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex: none; margin-right: 6px; vertical-align: -1px; }
.dot--pink { background: var(--pink); } .dot--blue { background: var(--teal); }
.dot--yellow { background: var(--yellow); } .dot--green { background: var(--green); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button {
  font: 500 0.78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; cursor: pointer;
  background: var(--paper-2); color: var(--ink); border: 0; border-radius: 999px; padding: 10px 16px;
  transition: background .2s;
}
.filters button:hover { background: var(--cream); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filters small { opacity: 0.6; font-size: 0.85em; margin-left: 2px; }

.tl-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 32px; }
.tl-controls .filters { margin: 0; }
.tl-wrap { position: relative; }
.tl__line { /* vertical stripes like the print */
  position: absolute; left: 14px; top: 8px; bottom: 0; width: 22px; border-radius: 11px; overflow: hidden;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--cream) 25% 50%, var(--blue) 50% 75%, var(--teal) 75% 100%);
  opacity: .25;
}
.tl__fill {
  display: block; width: 100%; height: 0; transition: height .12s linear;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--cream) 25% 50%, var(--blue) 50% 75%, var(--teal) 75% 100%);
}
.tl-wrap:has(.tl__fill) .tl__line { opacity: 1; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.tl { list-style: none; margin: 0; padding: 0; }
.tl__year { position: relative; padding-left: 78px; padding-bottom: 36px; scroll-margin-top: 96px; }
.tl__year[hidden] { display: none; }
.tl__node {
  position: absolute; left: 6px; top: 4px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 4px var(--ink-soft); transition: background .35s, box-shadow .35s, transform .35s;
}
.tl__year.is-passed .tl__node { background: var(--yellow); box-shadow: inset 0 0 0 6px var(--green), 0 0 0 5px var(--paper); transform: scale(1.1); }
.tl__year.is-target .tl__y { background: var(--yellow); color: #2b1d17; }
.tl__y {
  display: inline-block; margin: 0 0 12px; padding: 0 10px; border-radius: 14px;
  font-family: var(--display); font-weight: 900; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 100, "WONK" 1; transition: background .3s;
}
.tl__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tl__item { background: var(--paper-2); border-radius: 20px; transition: box-shadow .25s, transform .25s, opacity .6s, translate .6s; }
.tl__item[hidden] { display: none; }
.tl__item:hover { transform: translateX(5px); }
.tl__item.is-open { background: var(--cream); box-shadow: 0 0 0 4px var(--tangerine); }
html:not([data-theme="light"]) .tl__item.is-open { color: #2b1d17; }
@media (prefers-color-scheme: light) { html .tl__item.is-open { color: inherit; } }
.tl__head {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  background: none; border: 0; color: inherit; padding: 13px 16px; font: inherit;
}
.tl__title { flex: 1; font-weight: 700; font-size: 1.04rem; line-height: 1.25; }
.tl__plus {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font: 500 1.2rem/1 var(--body); transition: transform .3s, background .3s;
}
.tl__item.is-open .tl__plus { transform: rotate(45deg); background: var(--green); color: #2b1d17; }
.chip { flex: none; font: 500 0.64rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; color: #2b1d17; }
.chip--pink { background: var(--pink); } .chip--yellow { background: var(--yellow); }
.chip--green { background: var(--green); } .chip--blue { background: var(--teal); }
.tl__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1); }
.tl__body > div { overflow: hidden; padding-inline: 16px; }
.tl__item.is-open .tl__body { grid-template-rows: 1fr; }
.tl__body p { margin: 0 0 8px; }
.tl__body .link { display: inline-block; margin-bottom: 16px; }
.tl__body .link + .link { margin-left: 12px; }
.tl__img { margin: 4px 0 14px; max-width: 260px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 6px var(--paper), 0 0 0 12px var(--pink); }
.tl__img img { width: 100%; height: auto; }
.link { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; color: inherit; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { background: var(--yellow); color: #2b1d17; border-radius: 4px; }

/* ---------- PODCAST ---------- */
.podcast {
  position: relative; overflow: hidden;
  margin-top: clamp(72px, 10vw, 140px); padding-block: clamp(64px, 9vw, 120px);
  background: var(--blue); color: var(--on-dark);
}
.podcast::before { /* big rainbow arch in the corner */
  content: ""; position: absolute; right: -180px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; opacity: .55;
  background: radial-gradient(circle, transparent 0 140px, var(--yellow) 140px 190px, var(--tangerine) 190px 240px, var(--green) 240px 290px, var(--pink) 290px 310px, transparent 310px);
}
.podcast__grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.podcast__title { margin: 0 0 10px; font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 8.5vw, 7rem); line-height: 0.88; letter-spacing: -0.04em; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--yellow); }
.podcast__tag { margin: 0 0 14px; font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.75rem); color: var(--pink); }
.podcast__text { margin: 0 0 26px; max-width: 46ch; }
.podcast__links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.podcast .btn--big { background: var(--yellow); color: #2b1d17; }
.podcast .btn--big:hover { background: var(--pink); }
.player { background: #163b3a; border-radius: var(--radius); padding: 24px; box-shadow: 0 0 0 8px var(--teal); }
.eq { display: flex; align-items: flex-end; gap: 6px; height: 110px; margin-bottom: 18px; }
.eq span { flex: 1; background: var(--pink); border-radius: 999px 999px 4px 4px; height: 30%; animation: eq 1.1s ease-in-out infinite alternate; }
.eq span:nth-child(3n) { background: var(--yellow); animation-duration: .8s; }
.eq span:nth-child(4n) { background: var(--green); animation-duration: 1.4s; }
.eq span:nth-child(5n) { background: var(--teal); animation-delay: -.4s; }
.eq span:nth-child(2n) { animation-delay: -.7s; }
@keyframes eq { 0% { height: 12%; } 100% { height: 100%; } }
.player__embed { color: var(--on-dark); font-family: var(--mono); font-size: 0.78rem; display: flex; align-items: center; gap: 16px; }
.player__embed p { margin: 0; flex: 1; }
.player__embed iframe { border-radius: 12px; display: block; }
.play {
  flex: none; width: 76px; height: 76px; border-radius: 50%; cursor: pointer;
  background: var(--yellow); color: #2b1d17; border: 0; font-size: 1.6rem;
  box-shadow: 0 0 0 7px var(--tangerine), 0 0 0 14px var(--green);
  transition: transform .2s;
}
.play:hover { transform: scale(1.08) rotate(-8deg); }

/* ---------- MEDIA ---------- */
.media-list { list-style: none; margin: 0; padding: 0; }
.media-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center;
  padding: 18px 20px; margin-bottom: 8px; border-radius: 20px; background: var(--paper-2); position: relative;
  transition: background .2s, transform .2s;
  animation: slideIn .45s cubic-bezier(.2,.8,.2,1) both;
}
.media-item:hover { background: var(--yellow); color: #2b1d17; transform: translateX(4px); }
.media-item[hidden] { display: none; }
.media-item.is-todo { opacity: .6; }
.media-item h3 { margin: 0 0 4px; font-family: var(--display); font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
.media-item h3 a { text-decoration: none; }
.media-item h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.media-item h3 a:focus-visible { outline: none; }
.media-item:focus-within { box-shadow: 0 0 0 4px var(--green); }
.media-item p { margin: 0; font-family: var(--mono); font-size: 0.76rem; opacity: 0.85; }
.media-item__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 1.1rem; transition: transform .2s; }
.media-item:hover .media-item__arrow { transform: rotate(45deg); background: #2b1d17; color: var(--yellow); }
.badge {
  justify-self: start; font: 500 0.7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: #2b1d17;
  padding: 8px 12px; border-radius: 999px;
}
.badge--pink { background: var(--pink); } .badge--yellow { background: var(--cream); box-shadow: inset 0 0 0 2px var(--tangerine); }
.badge--green { background: var(--green); } .badge--blue { background: var(--teal); }
@keyframes slideIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

/* ---------- CONTACT ---------- */
.contact {
  position: relative; overflow: hidden;
  margin-top: clamp(72px, 10vw, 140px); padding-block: clamp(64px, 9vw, 120px) clamp(120px, 14vw, 180px);
  background: var(--pink); color: #2b1d17;
}
.contact::before { /* nested arches bottom-left */
  content: ""; position: absolute; left: -120px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, var(--rose) 0 90px, var(--plum) 90px 150px, var(--teal) 150px 210px, transparent 210px);
}
.contact::after { /* wavy mustard + orange hills on the right */
  content: ""; position: absolute; right: -10%; bottom: -60px; width: 70%; height: 160px;
  background: var(--yellow); border-radius: 60% 40% 0 0 / 100% 100% 0 0;
  box-shadow: 0 34px 0 var(--tangerine), 0 68px 0 var(--green);
}
.contact .wrap { position: relative; z-index: 1; }
.contact .sticker { background: var(--yellow); }
.contact__big { margin: 0 0 18px; font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 6.5vw, 5.6rem); line-height: 0.92; letter-spacing: -0.035em; max-width: 14ch; font-variation-settings: "SOFT" 100, "WONK" 1; }
.contact__sub { max-width: 46ch; font-size: 1.1rem; margin: 0 0 28px; }
.contact .btn--big { background: var(--blue); color: var(--on-dark); word-break: break-all; }
.contact .btn--big:hover { background: var(--yellow); color: #2b1d17; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--mono); font-size: 0.85rem; }

/* ---------- FOOTER ---------- */
.foot { background: var(--blue); color: var(--on-dark); }
.foot__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; font-family: var(--mono); font-size: 0.78rem; }
.foot p { margin: 0; }

/* ---------- SIMPLE PAGE (Impressum) ---------- */
.dvc-page { padding-block: clamp(40px, 7vw, 96px); max-width: 780px; }
.dvc-page h1 { font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 0.95; margin: 0 0 32px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.dvc-page h2 { font-family: var(--display); font-size: 1.4rem; margin: 36px 0 8px; display: inline-block; background: var(--yellow); color: #2b1d17; padding: 4px 16px; border-radius: 999px; }
.dvc-page .todo { background: var(--pink); color: #2b1d17; padding: 0 4px; border-radius: 4px; }

/* ---------- SCROLL PROGRESS & MOTION ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 30; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), var(--green), var(--pink), var(--red), var(--teal)); }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.85); } 70% { transform: scale(1.03); } 100% { opacity: 1; transform: none; } }
.rise { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
.pop-in { animation: pop .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
.reveal { opacity: 0; translate: 0 32px; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; translate: 0 0; }
.hero__name > span { transition: transform .3s; }
.hero__name > span:hover { transform: translateX(10px) rotate(-1deg); }
.burst { animation: sun 6s ease-in-out infinite; }
@keyframes sun { 50% { transform: translateY(-8px) scale(1.04); } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .about__grid, .universe, .podcast__grid { grid-template-columns: 1fr; }
  .quote-card { max-width: 380px; }
  .bubbles { height: 520px; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero::before { width: 300px; height: 300px; opacity: .3; }
  .hero__art { width: min(100%, 420px); margin: 30px auto 0; padding: 0 44px; }
  .frame { box-shadow: 0 0 0 10px var(--cream), 0 0 0 22px var(--yellow), 0 0 0 34px var(--green), 0 0 0 46px var(--pink); }
  .burst { width: 96px; height: 96px; font-size: 0.78rem; right: 0; top: -30px; }
  .strip { gap: 10px; }
  .media-item { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .media-item .badge { grid-column: 1 / -1; }
  .sec-title { margin-left: 14px; padding: 8px 24px 12px; }
}
@media (max-width: 560px) {
  .bubbles { height: 460px; }
  .tl__year { padding-left: 58px; }
  .tl__line { left: 9px; width: 16px; }
  .tl__node { left: 2px; width: 30px; height: 30px; }
  .tl__head { flex-wrap: wrap; gap: 8px; }
  .tl__title { flex-basis: calc(100% - 44px); order: 2; }
  .tl__plus { order: 3; }
  .player__embed { flex-direction: column; align-items: flex-start; }
  .contact::after { width: 100%; right: -20%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .pop-in, .burst, .eq span, .media-item, .detail.flash, .bubble.is-selected .bubble__in, .marquee__track, .logo span { animation: none !important; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .tl__body { transition: none; }
}


/* ---------- WordPress additions ---------- */
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
.dvc-page .entry-content > * { max-width: 70ch; }
.dvc-page .entry-content a { color: inherit; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.posts-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.posts-list li { background: var(--paper-2); border-radius: 20px; padding: 16px 20px; }
.posts-list a { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-decoration: none; }
