/* Drift hero: a dark production desk of eleven studio objects that glide between three layouts
   (Scatter / Align / Cluster). Every object sits at top:0 left:0 and is placed only by
   transform: translate(x, y) rotate(r), so a plain CSS transform transition does the morph (drift.js).
   Brand colours only: black, green #04592a, gold #bf9000, cream and greys. Font: Axiforma. */

.dd {
  --dd-ink: #f3f0e8;
  --dd-muted: rgba(243, 240, 232, .66);
  --dd-green: #04592a;
  --dd-gold: #bf9000;
  --k: 1;                         /* object scale: smaller on phones */
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: var(--dd-ink);
  background:
    radial-gradient(60% 55% at 50% 48%, rgba(4, 89, 42, .22), transparent 70%),
    radial-gradient(40% 40% at 85% 10%, rgba(191, 144, 0, .08), transparent 70%),
    #060706;
  isolation: isolate;
}
.dd__desk { position: relative; width: 100%; height: 100%; max-width: 1400px; margin: 0 auto; }

/* ---------- Header: centred, or offset left in Align ---------- */
.dd__header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 420px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  pointer-events: none;
  will-change: transform;
}
.dd__header.is-left { align-items: flex-start; text-align: left; }
.dd__header::before {               /* a soft pool of dark so the words read over the objects */
  position: absolute;
  z-index: -1;
  inset: -40px -60px;
  content: "";
  background: radial-gradient(closest-side, rgba(6, 7, 6, .5), rgba(6, 7, 6, 0));
}
.dd__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--dd-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.dd__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--dd-gold); box-shadow: 0 0 0 4px rgba(191, 144, 0, .22); animation: dd-blink 1.6s ease-in-out infinite; }
@keyframes dd-blink { 50% { opacity: .35; } }
.home-dark .dd__header h1 {
  margin: 0;
  color: var(--dd-ink);
  font-family: var(--font-display, inherit);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.dd__header p.dd__lede { margin: 0; color: var(--dd-muted); font-size: 16px; line-height: 1.65; }
.dd__cta { display: flex; flex-wrap: wrap; justify-content: inherit; gap: 10px; margin-top: 6px; pointer-events: auto; }
.dd__header.is-left .dd__cta { justify-content: flex-start; }
.dd__header:not(.is-left) .dd__cta { justify-content: center; }
.dd__btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.dd__btn:active { transform: scale(.96); }
.dd__btn--gold { color: #000; background: var(--dd-gold); }
.dd__btn--gold:hover { background: #d4a10a; }
.dd__btn--ghost { color: var(--dd-ink); border-color: rgba(243, 240, 232, .28); background: rgba(255, 255, 255, .04); }
.dd__btn--ghost:hover { border-color: var(--dd-gold); color: var(--dd-gold); }
.dd__btn:focus-visible, .dd__modes button:focus-visible { outline: 2px solid var(--dd-gold); outline-offset: 3px; }

/* ---------- Objects ---------- */
.dd__item {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--w) * var(--k) * 1px);
  height: calc(var(--w) * var(--k) * 1px);
  font-size: calc(16px * var(--k));
  will-change: transform;
  pointer-events: none;
}
.dd__art { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: .9em; box-shadow: 0 1.4em 3em -1.2em rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); }

/* 1. Livestream player: gold level bars, LIVE row */
.dd-player { display: flex; flex-direction: column; justify-content: space-between; padding: 1.5em; background: linear-gradient(150deg, #0b2a19, #04592a); }
.dd-player__top { display: flex; align-items: center; justify-content: space-between; color: var(--dd-ink); font-size: .78em; font-weight: 700; letter-spacing: .14em; }
.dd-player__top b { display: inline-flex; align-items: center; gap: .5em; padding: .35em .7em; border-radius: 99em; color: #000; background: var(--dd-gold); }
.dd-player__top b::before { width: .5em; height: .5em; border-radius: 50%; background: #04592a; content: ""; }
.dd-player__bars { display: flex; height: 45%; align-items: flex-end; gap: .35em; }
.dd-player__bars span { flex: 1; border-radius: .2em; background: linear-gradient(180deg, #e2b42a, var(--dd-gold)); }
.dd-player__row { display: flex; align-items: center; gap: .75em; color: var(--dd-ink); }
.dd-player__play { display: grid; width: 2.3em; height: 2.3em; flex: none; place-items: center; border-radius: 50%; background: var(--dd-ink); }
.dd-player__play::before { margin-left: .15em; border-top: .45em solid transparent; border-bottom: .45em solid transparent; border-left: .7em solid #04592a; content: ""; }
.dd-player__meta { font-size: .82em; line-height: 1.3; }
.dd-player__meta small { display: block; color: rgba(243, 240, 232, .6); font-size: .9em; }

/* 2. App icon: the Sembule mark on a cream tile */
.dd-mark { display: grid; place-items: center; border-radius: 1.4em; background: var(--dd-ink); }
.dd-mark img { width: 66%; height: 66%; object-fit: contain; }

/* 3. Camera lens: rings, gold band, glass with green and gold reflections */
.dd-lens { border-radius: 50%; background:
    radial-gradient(circle at 50% 50%, #050505 0 26%, transparent 26.5%),
    radial-gradient(circle at 38% 36%, rgba(191, 144, 0, .55) 0 6%, transparent 14%),
    radial-gradient(circle at 60% 64%, rgba(4, 89, 42, .9) 0 10%, transparent 24%),
    radial-gradient(circle at 50% 50%, #111 0 44%, #2a2a2a 44.5% 47%, #0c0c0c 47.5% 60%, var(--dd-gold) 60.5% 62.5%, #151515 63% 78%, #2b2b2b 78.5% 82%, #0a0a0a 82.5% 100%); }
.dd-lens::after { position: absolute; inset: 0; border-radius: 50%; content: ""; background: repeating-conic-gradient(rgba(255, 255, 255, .06) 0 2deg, transparent 2deg 6deg); -webkit-mask: radial-gradient(circle, transparent 82%, #000 82.5%); mask: radial-gradient(circle, transparent 82%, #000 82.5%); }
.dd-lens__text { position: absolute; inset: 0; display: grid; place-items: start center; padding-top: 7%; color: rgba(243, 240, 232, .55); font-size: .62em; font-weight: 700; letter-spacing: .3em; }

/* 4. Pointer */
.dd-cursor { display: grid; place-items: center; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.dd-cursor svg { width: 70%; height: 70%; fill: var(--dd-ink); stroke: #000; stroke-width: 1.2; filter: drop-shadow(0 .4em .6em rgba(0, 0, 0, .6)); }

/* 5. Zoom-style call window: four tiles */
.dd-call { display: flex; flex-direction: column; background: #121412; }
.dd-call__bar { display: flex; height: 2.4em; flex: none; align-items: center; gap: .45em; padding: 0 .9em; background: #1c1f1c; }
.dd-call__bar i { width: .7em; height: .7em; border-radius: 50%; background: #3a3d3a; }
.dd-call__bar i:first-child { background: var(--dd-gold); }
.dd-call__bar span { margin-left: auto; color: rgba(243, 240, 232, .6); font-size: .62em; font-weight: 700; letter-spacing: .12em; }
.dd-call__grid { display: grid; flex: 1; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: .4em; padding: .5em; }
.dd-plat { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: .45em; padding: .4em .2em; border-radius: .45em; background: #1b1e1b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); text-align: center; }
.dd-plat svg { width: 2.1em; height: 2.1em; flex: none; }
.dd-plat b { color: rgba(243, 240, 232, .82); font-size: .56em; font-weight: 700; line-height: 1.15; letter-spacing: .01em; }
.dd-plat.is-live { background: #23180c; box-shadow: inset 0 0 0 .12em var(--dd-gold); }

/* 6. Folder: the gig rider */
.dd-folder { overflow: visible; border-radius: .5em .9em .9em .9em; background: linear-gradient(160deg, #d6a312, var(--dd-gold)); }
.dd-folder::before { position: absolute; top: -.7em; left: .9em; width: 45%; height: 1.5em; border-radius: .5em .5em 0 0; background: #d6a312; content: ""; }
.dd-folder span { position: absolute; right: .7em; bottom: .6em; color: #2a2000; font-size: .7em; font-weight: 700; letter-spacing: .06em; }

/* 7. Handheld wireless mic */
.dd-mic { overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.dd-mic__body { position: absolute; top: 30%; left: 50%; width: 22%; height: 66%; border-radius: .5em .5em 1.6em 1.6em; background: linear-gradient(90deg, #0b0b0b, #2b2b2b 45%, #0b0b0b); transform: translateX(-50%); box-shadow: 0 1em 2em -1em rgba(0, 0, 0, .8); }
.dd-mic__body::after { position: absolute; top: 18%; left: 0; right: 0; height: 7%; background: var(--dd-green); content: ""; }
.dd-mic__head { position: absolute; top: 2%; left: 50%; width: 36%; height: 32%; border-radius: 50% 50% 40% 40%; background: radial-gradient(circle, #9a9a9a 18%, transparent 20%) 0 0 / .55em .55em, linear-gradient(180deg, #6d6d6d, #3a3a3a); transform: translateX(-50%); box-shadow: inset 0 -.4em .6em rgba(0, 0, 0, .5); }

/* 8. Vision mixer: program bus, preview bus, a T-bar */
.dd-mixer { display: flex; flex-direction: column; justify-content: center; gap: .55em; padding: 1em; border-radius: 1em; background: linear-gradient(160deg, #262826, #121312); }
.dd-mixer__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4em; }
.dd-mixer__row i { aspect-ratio: 1; border-radius: .3em; background: #3a3d3a; box-shadow: inset 0 -.15em 0 rgba(0, 0, 0, .4); }
.dd-mixer__row .pgm { background: var(--dd-gold); box-shadow: 0 0 .9em rgba(191, 144, 0, .7); }
.dd-mixer__row .pvw { background: #0c7a3c; box-shadow: 0 0 .8em rgba(4, 89, 42, .9); }
.dd-mixer__tbar { position: relative; height: 1.2em; border-radius: .6em; background: #0a0a0a; }
.dd-mixer__tbar::after { position: absolute; top: -.25em; left: 38%; width: 2.4em; height: 1.7em; border-radius: .35em; background: linear-gradient(180deg, #cfcfcf, #8d8d8d); content: ""; }

/* 9. Run of show on paper */
.dd-paper { display: flex; flex-direction: column; justify-content: space-between; gap: .8em; padding: 1.7em 1.6em 1.5em; color: #161616; background: #f3f0e8; }
.home-dark .dd-paper .dd-paper__title { margin: 0; color: #0b0c0c; font-size: 1.35em; font-weight: 700; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.dd-paper ul { display: grid; gap: .65em; margin: 0; padding: 0; list-style: none; }
.home-dark .dd-paper li { display: flex; gap: .7em; color: #1b1b1b; font-size: .8em; font-weight: 600; line-height: 1.25; }
.dd-paper li b { flex: none; width: 1.7em; color: var(--dd-green); }
.home-dark .dd-paper .dd-paper__foot { margin: 0; padding-top: .7em; border-top: 1px solid rgba(0, 0, 0, .12); color: #000; font-size: .8em; font-weight: 700; }
.dd-paper__foot::before { display: inline-block; width: .55em; height: .55em; margin-right: .5em; border-radius: 50%; background: var(--dd-gold); content: ""; }

/* 10. Crew pass */
.dd-pass { display: flex; flex-direction: column; justify-content: space-between; padding: 1.3em; color: var(--dd-ink); background: linear-gradient(150deg, #04592a, #023d1d); }
.dd-pass::before { position: absolute; top: .6em; left: 50%; width: 22%; height: .55em; border-radius: .3em; background: #060706; transform: translateX(-50%); content: ""; }
.dd-pass__top { margin-top: .7em; font-size: .68em; font-weight: 700; letter-spacing: .18em; }
.dd-pass__role { font-size: 1.6em; font-weight: 700; line-height: .95; letter-spacing: -.03em; }
.dd-pass__foot { display: flex; align-items: flex-end; justify-content: space-between; font-size: .62em; letter-spacing: .14em; }
.dd-pass__chip { width: 2.6em; height: 2em; border-radius: .35em; background: linear-gradient(135deg, #e2b42a, var(--dd-gold)); }

/* 11. Framed photo from a real Sembule event */
.dd-photo { padding: 1em 1em 2.8em; border-radius: .3em; background: #f3f0e8; }
.dd-photo img, .dd-photo video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: .15em; background: #1a1c1a; }
.dd-photo span { position: absolute; left: 1em; bottom: .9em; color: #333; font-size: .72em; font-weight: 700; letter-spacing: .04em; }

/* ---------- Mode switcher, bottom centre ---------- */
.dd__modes {
  position: absolute;
  bottom: max(6.5svh, 24px);
  left: 50%;
  z-index: 20;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(10, 11, 10, .66);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}
.dd__modes button {
  display: flex;
  height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  color: var(--dd-muted);
  background: transparent;
  font: 700 14px/1 var(--font-body, inherit);
  cursor: pointer;
  transition: background .35s ease, color .35s ease, transform .15s ease;
}
.dd__modes button:hover { color: var(--dd-ink); }
.dd__modes button:active { transform: scale(.94); }
.dd__modes button[aria-pressed="true"] { color: #000; background: var(--dd-gold); }
.dd__glyph { font-size: 15px; }

/* ---------- Before the script places things (or without it): a centred title, no objects ---------- */
.dd:not(.is-ready) .dd__item, .dd:not(.is-ready) .dd__modes { display: none; }
.dd:not(.is-ready) .dd__header { top: 50%; left: 50%; transform: translate(-50%, -50%); }
html.intro-on .dd__item { transition: none !important; }

@media (max-width: 760px) {
  .dd { --k: .56; }
  .dd__header { width: min(330px, calc(100vw - 32px)); }
  .home-dark .dd__header h1 { font-size: clamp(34px, 9.6vw, 42px); }
  .dd__header p.dd__lede { font-size: 15px; }
  .dd__modes button { height: 42px; padding: 0 11px; font-size: 13px; }
}

/* Header entrance, once, as the desk opens (drift.js adds .is-on): the eyebrow and title as one beat,
   then the line and the buttons. Shrinking gaps (0, 80, 140ms) so it reads as one gesture. */
.dd.is-ready:not(.is-on) .dd__in { opacity: 0; transform: translateY(14px); }
.dd.is-on .dd__in { transition: opacity 600ms cubic-bezier(.23, 1, .32, 1) var(--d, 0ms), transform 700ms cubic-bezier(.23, 1, .32, 1) var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .dd.is-ready:not(.is-on) .dd__in { transform: none; }
  .dd.is-on .dd__in { transition: opacity 300ms ease; }
  .dd__live i { animation: none; }
}

/* Safety: nothing on the homepage may make it scroll sideways. "clip" (not "hidden") so the pinned
   sections and position: sticky keep working. */
body.home-page { overflow-x: clip; }

/* Vision mixer card: the switcher close-up loops inside it, a gold PGM tally on top */
.dd-mixer { padding: 0; background: #121312; }
.dd-mixer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dd-mixer::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.dd-mixer__tag { position: absolute; z-index: 1; left: .8em; bottom: .7em; display: inline-flex; align-items: center; gap: .4em; padding: .3em .6em; border-radius: 99em; color: #000; background: var(--dd-gold); font-size: .62em; font-weight: 700; letter-spacing: .14em; }
.dd-mixer__tag i { width: .55em; height: .55em; border-radius: 50%; background: #04592a; }

/* The What we do card is real content: on phones it is drawn larger than the decorative objects */
@media (max-width: 760px) { .dd__item--content { --k: .78; } }

/* The livestream player card shows a picture on its screen, with the gold level bars over its foot */
.dd-player__screen { position: relative; flex: 1 1 auto; min-height: 0; margin: .8em 0; overflow: hidden; border-radius: .5em; background: #0b0d0b; }
.dd-player__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.dd-player__screen::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .65)); }
.dd-player__screen .dd-player__bars { position: absolute; z-index: 1; right: .6em; bottom: .5em; left: .6em; height: 34%; gap: .25em; }

/* Background film behind the desk: camera centred behind the headline, held well back by a dark,
   slightly green shade so the objects and the words stay in front */
.dd__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }
.dd__bg-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 38% at 50% 50%, rgba(6, 7, 6, .18), rgba(6, 7, 6, .55) 70%, rgba(6, 7, 6, .82) 100%),
    linear-gradient(180deg, rgba(6, 7, 6, .55), rgba(6, 7, 6, .25) 35%, rgba(6, 7, 6, .35) 65%, rgba(6, 7, 6, .8)),
    rgba(4, 89, 42, .12);
}
.dd__desk { z-index: 1; }
/* On phones the headline sits at 58% of the height, so the film is drawn taller to keep the camera behind it */
@media (max-width: 760px) { .dd__bg { height: 102%; } }

/* ---------- Liquid glass ----------
   The cards are frosted panes over the moving film: the background blurs and brightens through them,
   each keeps a whisper of its own colour (green, gold, clear), a bright rim catches the light along the
   top edge, a soft sheen sits in the top-left corner, and a deep shadow lifts them off the desk.
   Lens, mic and pointer stay solid objects. */
.dd-player, .dd-mark, .dd-call, .dd-folder, .dd-mixer, .dd-paper, .dd-pass, .dd-photo {
  --tint: rgba(255, 255, 255, .05);
  --blur: 18px;
  background:
    radial-gradient(120% 85% at 8% 0%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 52%),
    linear-gradient(165deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .06)),
    var(--tint);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(170%) brightness(1.08);
  backdrop-filter: blur(var(--blur)) saturate(170%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -1px 0 rgba(255, 255, 255, .07),
    inset 0 0 0 1px rgba(255, 255, 255, .13),
    inset 0 -1.2em 2.4em -1.6em rgba(255, 255, 255, .10),
    0 1.8em 3.6em -1.5em rgba(0, 0, 0, .85),
    0 .3em .8em -.3em rgba(0, 0, 0, .5);
}
.dd-player { --tint: rgba(4, 89, 42, .46); }
.dd-mark   { --tint: rgba(243, 240, 232, .12); }
.dd-call   { --tint: rgba(8, 10, 8, .42); }
.dd-folder { --tint: rgba(191, 144, 0, .46); }
.dd-mixer  { --tint: rgba(255, 255, 255, .05); }
.dd-paper  { --tint: rgba(243, 240, 232, .07); }
.dd-pass   { --tint: rgba(4, 89, 42, .52); }
.dd-photo  { --tint: rgba(243, 240, 232, .1); }

/* Inside the glass: inner panes are lighter glass too */
.dd-call__bar { background: rgba(255, 255, 255, .05); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
.dd-call__bar i { background: rgba(255, 255, 255, .22); }
.dd-plat { background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.dd-plat.is-live { background: rgba(191, 144, 0, .16); box-shadow: inset 0 0 0 .12em var(--dd-gold), inset 0 1px 0 rgba(255, 255, 255, .2); }
.dd-player__screen { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

/* Folder: the tab is glass of the same tint; the label reads light */
.dd-folder::before { background: rgba(214, 163, 18, .5); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.dd-folder span { color: #f3f0e8; }

/* Mixer: the clip sits inset in a glass rim */
.dd-mixer video { inset: .45em; width: calc(100% - .9em); height: calc(100% - .9em); border-radius: .65em; }
.dd-mixer::after { inset: .45em; border-radius: .65em; }

/* What we do: clear glass, light words, gold numbers */
.home-dark .dd-paper .dd-paper__title { color: #f3f0e8; }
.home-dark .dd-paper li { color: rgba(243, 240, 232, .86); }
.dd-paper li b { color: var(--dd-gold); }
.home-dark .dd-paper .dd-paper__foot { color: #f3f0e8; border-top-color: rgba(255, 255, 255, .16); }

/* Pass: the lanyard slot is cut through the glass */
.dd-pass::before { background: rgba(0, 0, 0, .55); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6); }

/* Photo frame: glass mount, light caption */
.dd-photo { border-radius: .7em; }
.dd-photo img, .dd-photo video { border-radius: .45em; }
.dd-photo span { color: rgba(243, 240, 232, .85); }

/* Phones: a lighter blur keeps the glass smooth while three clips play */
@media (max-width: 760px) {
  .dd-player, .dd-mark, .dd-call, .dd-folder, .dd-mixer, .dd-paper, .dd-pass, .dd-photo { --blur: 10px; }
}
/* No backdrop blur, or the visitor asked for less transparency: solid panes with the same tints and rims */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .dd-player, .dd-mark, .dd-call, .dd-folder, .dd-mixer, .dd-paper, .dd-pass, .dd-photo { background-color: #121412; }
}
@media (prefers-reduced-transparency: reduce) {
  .dd-player, .dd-mark, .dd-call, .dd-folder, .dd-mixer, .dd-paper, .dd-pass, .dd-photo {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: #121412;
  }
  .dd-folder::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: #8a6a08; }
}

/* ---------- Hero, livestream-first: a plain line under the headline, one gold button ---------- */
.dd__header { width: 460px; gap: 16px; }
.dd__sub { max-width: 34ch; color: rgba(243, 240, 232, .82); font-size: clamp(15px, 1.15vw, 18px); font-weight: 500; line-height: 1.45; text-wrap: balance; }
.dd__book {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 0 26px;
  border-radius: 999px;
  color: #000;
  background: linear-gradient(180deg, #d9a812, #bf9000);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 6px rgba(191, 144, 0, .14), 0 18px 40px -14px rgba(191, 144, 0, .8);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  pointer-events: auto;
  transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}
.dd__book span { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.dd__book:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 8px rgba(191, 144, 0, .18), 0 24px 46px -14px rgba(191, 144, 0, .9); }
.dd__book:hover span { transform: translateX(3px); }
.dd__book:active { transform: scale(.97); }
.dd__book:focus-visible { outline: 2px solid #f3f0e8; outline-offset: 4px; }

/* The layout switch steps back: quiet glass, so the only gold on the first screen is the booking button */
.dd__modes { padding: 4px; gap: 4px; }
.dd__modes button { height: 36px; padding: 0 12px; font-size: 12.5px; }
.dd__modes button[aria-pressed="true"] { color: #f3f0e8; background: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }

/* ---------- ON AIR sign: a studio light on the desk ---------- */
.dd-onair {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15em;
  border-radius: 1em;
  color: #bf9000;
  background:
    radial-gradient(80% 70% at 50% 45%, rgba(191, 144, 0, .28), rgba(191, 144, 0, 0) 70%),
    rgba(10, 8, 2, .7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(191, 144, 0, .45), 0 0 2.4em -.4em rgba(191, 144, 0, .7), 0 1.6em 3em -1.4em rgba(0, 0, 0, .85);
  animation: dd-onair 2.4s ease-in-out infinite;
}
.dd-onair b { font-size: 1.85em; font-weight: 700; line-height: .95; letter-spacing: .06em; text-shadow: 0 0 .5em rgba(191, 144, 0, .9), 0 0 1.4em rgba(191, 144, 0, .5); }
.dd-onair i { width: .55em; height: .55em; margin-bottom: .35em; border-radius: 50%; background: #bf9000; box-shadow: 0 0 .8em #bf9000; }
@keyframes dd-onair { 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(191, 144, 0, .6), 0 0 3.4em -.2em rgba(191, 144, 0, .9), 0 1.6em 3em -1.4em rgba(0, 0, 0, .85); } }
@media (prefers-reduced-motion: reduce) { .dd-onair { animation: none; } }

/* ---------- Phones: a calm first screen. Four cards and the ON AIR light; the rest stay off ---------- */
@media (max-width: 760px) {
  .dd__item[data-drift-item="mark"], .dd__item[data-drift-item="cursor"],
  .dd__item[data-drift-item="pass"], .dd__item[data-drift-item="mixer"] { display: none; }
  .dd__item--content { --k: .66; }
  .dd__header { width: min(340px, calc(100vw - 32px)); gap: 12px; }
  .dd__sub { font-size: 15px; }
  .dd__book { min-height: 50px; font-size: 15px; }
}
@media (max-width: 760px) { .dd__live { font-size: 10.5px; letter-spacing: .14em; gap: 6px; } }
@media (max-width: 760px) { .dd__item[data-drift-item="folder"] { --w: 104 !important; } }
@media (min-width: 761px) { .dd__header { width: clamp(360px, 31vw, 460px); } }
