/* ==========================================================================
   KINETIC MOTION-VIDEO PRELUDE ENGINE (9 Bespoke Directed Title Sequences)
   60fps GPU-composited choreography scoped strictly to #yn-kinetic-prelude.
   ========================================================================== */

#yn-kinetic-prelude {
  position: fixed;
  top: var(--ynp-top, 64px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  overflow: hidden;
  pointer-events: auto;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}

#yn-kinetic-prelude[hidden] {
  display: none !important;
}

#yn-kinetic-prelude *,
#yn-kinetic-prelude *::before,
#yn-kinetic-prelude *::after {
  box-sizing: border-box;
}

.ynp-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  will-change: transform, opacity, clip-path;
}

/* Global Hairline Progress & Quiet Skip Control */
.ynp-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.ynp-progress-bar {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--ynp-accent, #e0462b);
  will-change: transform;
}

.ynp-skip {
  position: absolute;
  right: clamp(16px, 2.8vw, 34px);
  bottom: clamp(16px, 2.6vh, 28px);
  z-index: 42;
  padding: 6px 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 12, 14, 0.68);
  backdrop-filter: blur(8px);
  color: #f4f1ea;
  font: 600 10px/1 var(--mono-code, "IBM Plex Mono", monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
  cursor: pointer;
  transition: opacity 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ynp-skip:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.56);
    transform: translateY(-1px);
  }
}

.ynp-hud-top {
  position: absolute;
  top: clamp(16px, 2.6vh, 28px);
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  z-index: 25;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font: 600 10.5px/1 var(--mono-code, "IBM Plex Mono", monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
  pointer-events: none;
}

.ynp-hud-bot {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  bottom: clamp(18px, 2.8vh, 30px);
  max-width: calc(100% - 140px);
  z-index: 25;
  font: 500 10px/1.45 var(--mono-code, "IBM Plex Mono", monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
  pointer-events: none;
}

/* Shared Masked Display Lines & Montage Aperture */
.ynp-mask {
  overflow: hidden;
  display: block;
}

.ynp-montage-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.ynp-montage-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  will-change: transform, opacity;
}

/* Split Shutters / Folios / Blades */
.ynp-shutter-l,
.ynp-shutter-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  z-index: 30;
  will-change: transform;
}
.ynp-shutter-l { left: 0; }
.ynp-shutter-r { right: 0; }

.ynp-blade-t,
.ynp-blade-b {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  z-index: 30;
  will-change: transform;
}
.ynp-blade-t { top: 0; transform-origin: top center; }
.ynp-blade-b { bottom: 0; transform-origin: bottom center; }

/* ==========================================================================
   01 · SFBT — AUTHENTIC RED-ROAD FRENCH CAMPAIGN POSTER FILM
   ========================================================================== */
.ynp-sfbt {
  --ynp-accent: #ba1a20;
  background: #ffffff;
  color: #141414;
}

.ynp-sfbt-wave {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.ynp-sfbt-wave--tr { top: 0; right: 0; width: clamp(140px, 18vw, 260px); height: clamp(110px, 18vh, 210px); }
.ynp-sfbt-wave--bl { bottom: 0; left: 0; width: clamp(220px, 28vw, 380px); height: clamp(120px, 20vh, 210px); }

.ynp-sfbt-mark {
  position: absolute;
  left: clamp(22px, 3.6vw, 48px);
  bottom: clamp(18px, 3.2vh, 34px);
  z-index: 12;
  font: 700 clamp(1.5rem, 2.8vw, 2.3rem)/1 "SFBT Display", "Barlow", sans-serif;
  letter-spacing: 0.04em;
  color: #ffffff;
  pointer-events: none;
}

.ynp-sfbt-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.ynp-sfbt-core {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, 320px);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  width: min(1100px, 88vw);
  margin-top: -54px;
}

.ynp-sfbt-copy {
  background: transparent;
  padding: 6px 0;
}

.ynp-sfbt-pill {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 6px;
  background: #e8dac4;
  color: #ba1a20;
  font: 700 11px/1 var(--mono-code, "IBM Plex Mono", monospace);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.ynp-sfbt-title {
  margin: 0;
  font: 700 clamp(3rem, 7.2vw, 6.4rem)/0.88 "SFBT Display", "Barlow", sans-serif;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #141414;
}

.ynp-sfbt-title em {
  font-style: normal;
  color: #ba1a20;
}

.ynp-sfbt-sub {
  margin: 12px 0 0;
  font: 400 clamp(0.95rem, 1.25vw, 1.12rem)/1.45 "SFBT Body", "DM Sans", sans-serif;
  color: #55514c;
  max-width: 40ch;
}

.ynp-sfbt-aperture {
  aspect-ratio: 4 / 5;
  border: 6px solid #e8dac4;
  outline: 2px solid #ba1a20;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(20, 18, 16, 0.16);
}

.ynp-sfbt-dots {
  position: absolute;
  right: clamp(22px, 4vw, 56px);
  bottom: clamp(54px, 7vh, 72px);
  z-index: 15;
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.ynp-sfbt-dots span { width: 16px; height: 3px; border-radius: 2px; background: #e8dac4; }
.ynp-sfbt-dots span.on { background: #ba1a20; width: 26px; }

.ynp-sfbt-bot {
  left: 50%;
  transform: translateX(-50%);
  color: #4d4640;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 720px) {
  .ynp-sfbt-bot { display: none; }
}

.ynp-sfbt .ynp-shutter-l,
.ynp-sfbt .ynp-shutter-r {
  background: #ffffff;
  opacity: 0;
}
.ynp-sfbt .ynp-shutter-l { border-right: 6px solid #ba1a20; box-shadow: 6px 0 0 #e8dac4; }
.ynp-sfbt .ynp-shutter-r { border-left: 6px solid #ba1a20; box-shadow: -6px 0 0 #e8dac4; }

/* ==========================================================================
   02 · BEYOND THE DUNES — RESTRAINED ANAMORPHIC STAGE MATCH-CUT
   ========================================================================== */
.ynp-dunes {
  --ynp-accent: #e6b566;
  background: #07090d;
  color: #f4ece1;
}

.ynp-dunes-stage {
  position: relative;
  z-index: 6;
  width: min(1160px, 90vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ynp-dunes-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 181, 102, 0.58) 18%, rgba(230, 181, 102, 0.58) 82%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  will-change: transform;
}

.ynp-dunes-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  max-height: 62vh;
  background: #07090d;
  overflow: hidden;
  clip-path: inset(49% 0% 49% 0%);
  will-change: clip-path;
}

.ynp-dn-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  will-change: transform, opacity;
}
.ynp-dn-plate--b {
  opacity: 0;
}

.ynp-dn-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.45) 0%, rgba(7, 9, 13, 0.2) 38%, rgba(7, 9, 13, 0.58) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(7, 9, 13, 0.12) 0%, rgba(7, 9, 13, 0.72) 100%);
  pointer-events: none;
  z-index: 2;
}

.ynp-dunes-copy {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 28px;
  pointer-events: none;
}

.ynp-dunes-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #e6b566;
  font: 600 10.5px/1 var(--mono-code, "IBM Plex Mono", monospace);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.ynp-dunes-title {
  margin: 0;
  font: 600 clamp(2.4rem, 5.4vw, 4.7rem)/0.98 "Dunes Display", "Space Grotesk", sans-serif;
  letter-spacing: -0.025em;
  color: #f6efe4;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.72);
}

.ynp-dunes-title em {
  font-style: normal;
  color: #e6b566;
}

.ynp-dunes-sub {
  margin: 14px 0 0;
  font: 400 clamp(0.88rem, 1.15vw, 1.02rem)/1.4 var(--mono-sans, "Space Grotesk", sans-serif);
  letter-spacing: 0.04em;
  color: rgba(244, 236, 225, 0.78);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   03 · WHY PROD. — ACOUSTIC RESONANCE & BRUSH SIGNATURE FILM
   ========================================================================== */
.ynp-why {
  --ynp-accent: #d5ff3e;
  background: #0e0e0d;
  color: #f2efe9;
  transition: background-color 0.08s linear, color 0.08s linear;
}

.ynp-why[data-flash="lime"] { background: #d5ff3e; color: #0e0e0d; }
.ynp-why[data-flash="chalk"] { background: #f2efe9; color: #0e0e0d; }

.ynp-why-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.ynp-why-bgimg {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.24;
  mix-blend-mode: screen;
}

.ynp-why-core {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.ynp-why-mark {
  width: clamp(140px, 22vw, 240px);
  height: auto;
  filter: brightness(0) invert(1);
  will-change: transform, opacity;
}

.ynp-why[data-flash="lime"] .ynp-why-mark,
.ynp-why[data-flash="chalk"] .ynp-why-mark {
  filter: brightness(0);
}

.ynp-why-words {
  display: flex;
  gap: clamp(10px, 1.8vw, 22px);
  flex-wrap: wrap;
  justify-content: center;
  font: 700 clamp(2.4rem, 6.8vw, 5.8rem)/0.88 "Why Display", "Barlow", sans-serif;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ynp-why-words .lime { color: #d5ff3e; }
.ynp-why[data-flash="lime"] .ynp-why-words .lime { color: #0e0e0d; }

.ynp-why-eq {
  position: absolute;
  left: 50%;
  bottom: clamp(54px, 8vh, 84px);
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 36px;
  z-index: 10;
}

.ynp-why-eq i {
  width: 4px;
  height: 100%;
  background: #d5ff3e;
  transform-origin: bottom center;
  transform: scaleY(0.15);
  border-radius: 1px;
}

.ynp-why-louvers {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
}

.ynp-why-louvers div {
  background: #0e0e0d;
  border-right: 1px solid rgba(213, 255, 62, 0.28);
  transform-origin: top center;
  transform: scaleY(0);
}
.ynp-why-louvers div:nth-child(even) { background: #d5ff3e; }

/* ==========================================================================
   04 · CULTURE COURS — EDITORIAL WIREFRAME-TO-UI X-RAY SEQUENCE
   ========================================================================== */
.ynp-culture {
  --ynp-accent: #2d6f96;
  background:
    radial-gradient(rgba(45, 111, 150, 0.11) 1px, transparent 1px) 0 0 / 24px 24px,
    #f8f7f4;
  color: #14212d;
}

.ynp-cc-guide-h,
.ynp-cc-guide-v {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  background: rgba(45, 111, 150, 0.18);
}
.ynp-cc-guide-h { left: 0; right: 0; top: 50%; height: 1px; transform-origin: left center; transform: scaleX(0); }
.ynp-cc-guide-v { top: 0; bottom: 0; left: 48%; width: 1px; transform-origin: top center; transform: scaleY(0); }

.ynp-culture-split {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  width: min(1140px, 90vw);
}

.ynp-culture-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 18px;
}

.ynp-cc-brandrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ynp-cc-svg {
  display: block;
  flex: none;
  overflow: visible;
}

#ynp-cc-spark,
#ynp-cc-halo {
  transform-box: fill-box;
  transform-origin: center;
}

.ynp-cc-word-mask {
  display: inline-block;
  overflow: hidden;
  padding-right: 4px;
}

.ynp-cc-word {
  display: inline-block;
  font: 700 1.28rem/1.05 "Culture Alexandria", "Space Grotesk", sans-serif;
  letter-spacing: -0.025em;
  color: #14212d;
}

.ynp-culture-title {
  margin: 0;
  font: 700 clamp(2.1rem, 4.3vw, 3.7rem)/1.02 "Culture Alexandria", "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
}
.ynp-culture-title em { font-style: normal; color: #2d6f96; }

.ynp-culture-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ynp-culture-pill {
  padding: 7px 13px;
  border-radius: 999px;
  background: #e8f2f7;
  border: 1px solid rgba(45, 111, 150, 0.28);
  color: #205778;
  font: 600 10.5px/1 var(--mono-code, monospace);
  letter-spacing: 0.08em;
}

.ynp-culture-pill--amber {
  background: #f6a33d;
  border-color: #d98722;
  color: #14212d;
}

.ynp-cc-browser {
  border-radius: 14px;
  border: 1px solid rgba(20, 33, 45, 0.16);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(20, 33, 45, 0.16);
}

.ynp-cc-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: #f2f5f7;
  border-bottom: 1px solid rgba(20, 33, 45, 0.1);
}
.ynp-cc-chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(20, 33, 45, 0.22); }
.ynp-cc-chrome span {
  margin-left: 8px;
  font: 500 10px/1 var(--mono-code, monospace);
  color: #53697a;
  letter-spacing: 0.06em;
}

.ynp-cc-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f1d2c;
  overflow: hidden;
}

.ynp-cc-wire {
  position: absolute;
  inset: 0;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background:
    linear-gradient(to right, rgba(71, 169, 217, 0.1) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(to bottom, rgba(71, 169, 217, 0.1) 1px, transparent 1px) 0 0 / 28px 28px,
    #0f1d2c;
}
.ynp-cc-wire .w-bar { display: flex; justify-content: space-between; align-items: center; }
.ynp-cc-wire .w-bar span { width: 84px; height: 10px; border-radius: 3px; border: 1px solid rgba(114, 198, 240, 0.6); }
.ynp-cc-wire .w-bar b { width: 64px; height: 18px; border-radius: 999px; border: 1px solid rgba(246, 163, 61, 0.7); }
.ynp-cc-wire .w-hero { flex: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; align-items: center; }
.ynp-cc-wire .w-hero i { display: block; height: 14px; width: 88%; border-radius: 3px; border: 1px solid rgba(114, 198, 240, 0.55); margin-bottom: 8px; }
.ynp-cc-wire .w-hero i.s { width: 62%; opacity: 0.65; }
.ynp-cc-wire .w-hero em.cta { display: block; width: 104px; height: 24px; border-radius: 6px; background: rgba(246, 163, 61, 0.25); border: 1px solid #f6a33d; margin-top: 12px; }
.ynp-cc-wire .w-photo { height: 100%; min-height: 92px; border-radius: 8px; border: 1px dashed rgba(114, 198, 240, 0.5); background: rgba(45, 111, 150, 0.14); }
.ynp-cc-wire .w-search { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; padding: 8px; border-radius: 8px; border: 1px solid rgba(114, 198, 240, 0.4); }
.ynp-cc-wire .w-search span { height: 22px; border-radius: 4px; border: 1px solid rgba(114, 198, 240, 0.35); }
.ynp-cc-wire .w-search b { width: 56px; height: 22px; border-radius: 4px; background: rgba(45, 111, 150, 0.55); }

.ynp-cc-ui-reveal {
  position: absolute;
  inset: 0;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}
.ynp-cc-ui-reveal img {
  object-position: top center;
}

.ynp-cc-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #47a9d9;
  box-shadow: 0 0 22px 4px rgba(71, 169, 217, 0.85);
  opacity: 0;
  z-index: 6;
}

.ynp-culture .ynp-shutter-l,
.ynp-culture .ynp-shutter-r {
  background: #f8f7f4;
  opacity: 0;
}
.ynp-culture .ynp-shutter-l { border-right: 2px solid #2d6f96; }
.ynp-culture .ynp-shutter-r { border-left: 2px solid #2d6f96; }

@media (max-width: 820px) {
  .ynp-culture-split,
  .ynp-sfbt-core { grid-template-columns: 1fr; text-align: center; }
  .ynp-culture-left { align-items: center; text-align: center; }
  .ynp-culture-steps { justify-content: center; }
}

/* ==========================================================================
   05 · UNSEEN — MONOLITH POLARITY & MIRRORED SYMMETRY FILM
   ========================================================================== */
.ynp-unseen {
  --ynp-accent: #e0462b;
  background: #0e0c0a;
  color: #f2ece1;
}

.ynp-unseen-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 3;
}
.ynp-unseen-half--bone { left: 0; background: #f2ece1; color: #0e0c0a; transform: translateX(-100%); }
.ynp-unseen-half--noir { right: 0; background: #0e0c0a; color: #f2ece1; transform: translateX(100%); }

.ynp-unseen-axis {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-1px) scaleY(0);
  background: #e0462b;
  box-shadow: 0 0 26px rgba(224, 70, 43, 0.65);
  z-index: 18;
}

.ynp-unseen-mirror {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  width: min(1040px, 90vw);
}

.ynp-unseen-word {
  font: 700 clamp(2.6rem, 7vw, 6.2rem)/0.86 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  margin: 0;
}
.ynp-unseen-word--l { color: #0e0c0a; text-align: right; }
.ynp-unseen-word--r { color: #f2ece1; text-align: left; }

.ynp-unseen-card {
  width: clamp(170px, 22vw, 270px);
  aspect-ratio: 4 / 5;
  border: 2px solid #e0462b;
  background: #0e0c0a;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   06 · SQUEEZY — 60° PRESS-CUT CITRUS KINETIC FILM
   ========================================================================== */
.ynp-squeezy {
  --ynp-accent: #ff8a00;
  background: #0f3d1f;
  color: #fff7e8;
}

.ynp-sq-ribbons {
  position: absolute;
  inset: -30%;
  transform: rotate(-30deg);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  z-index: 2;
  pointer-events: none;
}
.ynp-sq-ribbons div {
  transform-origin: bottom center;
  transform: scaleY(0);
}
.ynp-sq-ribbons div:nth-child(1) { background: rgba(255, 138, 0, 0.24); }
.ynp-sq-ribbons div:nth-child(2) { background: rgba(241, 90, 36, 0.24); }
.ynp-sq-ribbons div:nth-child(3) { background: rgba(255, 210, 63, 0.18); }
.ynp-sq-ribbons div:nth-child(4) { background: rgba(224, 62, 82, 0.2); }
.ynp-sq-ribbons div:nth-child(5) { background: rgba(255, 247, 232, 0.08); }

.ynp-sq-core {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3.6vw, 50px);
  width: min(980px, 88vw);
}

.ynp-sq-orb {
  position: relative;
  width: clamp(180px, 24vw, 290px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid #ff8a00;
  background: #fff7e8;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.ynp-sq-wheel {
  width: 78%;
  height: 78%;
  object-fit: contain;
  position: relative;
  z-index: 3;
}

.ynp-sq-title {
  margin: 0;
  font: 800 clamp(2.8rem, 6.8vw, 5.8rem)/0.9 "Squeezy Outfit", "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}
.ynp-sq-title em { font-style: normal; color: #ff8a00; }

/* ==========================================================================
   07 · ADAM — RUN — 320MS SILVER-GELATIN FILM LEADER & STROBE
   ========================================================================== */
.ynp-adam {
  --ynp-accent: #e0462b;
  background: #050505;
  color: #eae6df;
}

.ynp-adam-sprockets {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 12;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 12px,
    rgba(234, 230, 223, 0.22) 12px 26px,
    transparent 26px 38px
  );
  opacity: 0.7;
}
.ynp-adam-sprockets--l { left: 10px; }
.ynp-adam-sprockets--r { right: 10px; }

.ynp-adam-gate {
  position: relative;
  z-index: 8;
  width: min(1020px, 84vw);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(234, 230, 223, 0.28);
  background: #0a0a0a;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.ynp-adam-gate img {
  filter: grayscale(1) contrast(1.22);
}

.ynp-adam-safelight {
  position: absolute;
  inset: 0;
  background: #e0462b;
  mix-blend-mode: multiply;
  opacity: 0;
  z-index: 6;
  pointer-events: none;
}

.ynp-adam-crosshair {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.ynp-adam-copy {
  position: relative;
  z-index: 9;
  text-align: center;
  padding: 16px 28px;
  background: rgba(5, 5, 5, 0.45);
  backdrop-filter: blur(2px);
}

.ynp-adam-title {
  margin: 0;
  font: 700 clamp(2.8rem, 7.2vw, 6.4rem)/0.86 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.ynp-adam-title em { font-style: normal; color: #e0462b; }

.ynp-adam .ynp-blade-t,
.ynp-adam .ynp-blade-b {
  background: #050505;
  opacity: 0;
}
.ynp-adam .ynp-blade-t { border-bottom: 1px solid #e0462b; }
.ynp-adam .ynp-blade-b { border-top: 1px solid #e0462b; }

/* ==========================================================================
   08 · LYRICS IN MOTION — 12 FPS CHARCOAL LIGHT-TABLE FILM
   ========================================================================== */
.ynp-lyrics {
  --ynp-accent: #d8cfc0;
  background: radial-gradient(circle at 50% 52%, #24201b 0%, #13110f 74%);
  color: #f0e8da;
}

.ynp-lyrics-sheet {
  position: relative;
  z-index: 8;
  width: min(980px, 88vw);
  padding: clamp(22px, 3.2vh, 36px) clamp(24px, 3.5vw, 44px);
  border-radius: 4px;
  background: #f0e8da;
  color: #161310;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  transform-origin: top center;
  will-change: transform, opacity;
}

.ynp-pegbar {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 54px;
}

.ynp-pegbar i {
  display: block;
  width: 24px;
  height: 7px;
  border-radius: 999px;
  background: #161310;
  opacity: 0.78;
}
.ynp-pegbar i:nth-child(2) { width: 10px; height: 10px; border-radius: 50%; }

.ynp-lyrics-title {
  margin: 0;
  font: 700 clamp(2.4rem, 5.6vw, 4.8rem)/0.92 "Lyrics Display", "Barlow", sans-serif;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.ynp-lyrics-arabizi {
  margin: 10px 0 0;
  font: 500 clamp(1rem, 1.8vw, 1.35rem)/1.3 var(--mono-code, monospace);
  color: #5b5246;
}

.ynp-lyrics-cel {
  aspect-ratio: 16 / 10;
  border: 2px solid #161310;
  background: #13110f;
}

/* ==========================================================================
   09 · ARDARY — TELEPHONY SIGNAL CONDUIT & PULSE FILM
   ========================================================================== */
.ynp-ardary {
  --ynp-accent: #00cee0;
  background: radial-gradient(circle at 70% 36%, #132f3d 0%, #0b151b 74%);
  color: #f5f8f6;
}

.ynp-ardary-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 206, 224, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 206, 224, 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.ynp-ardary-core {
  position: relative;
  z-index: 10;
  width: min(1040px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ynp-ardary-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.ynp-ardary-title {
  margin: 0;
  font: 700 clamp(2.4rem, 5.4vw, 4.6rem)/0.95 "Ardary Alexandria", "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}
.ynp-ardary-title em { font-style: normal; color: #00cee0; }

.ynp-ardary-screen {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  border: 1.5px solid rgba(0, 206, 224, 0.55);
  background: #0d181e;
  box-shadow: 0 22px 58px rgba(0, 206, 224, 0.18);
}

.ynp-ardary-conduit {
  width: 100%;
  height: 76px;
  display: block;
}

.ynp-ardary-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #00cee0;
  box-shadow: 0 0 28px 6px rgba(0, 206, 224, 0.72);
  transform: translateX(-20px);
  opacity: 0;
  z-index: 30;
}

/* Responsive Mobile Tweaks */
@media (max-width: 780px) {
  .ynp-sfbt-core,
  .ynp-sq-core,
  .ynp-lyrics-sheet,
  .ynp-ardary-row {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .ynp-sfbt-aperture { width: min(220px, 55vw); aspect-ratio: 4 / 3; }
  .ynp-dunes-frame { aspect-ratio: 4 / 3; min-height: 240px; }
  .ynp-dunes-copy { padding: 14px 18px; }
  .ynp-dunes-kicker { font-size: 9px; letter-spacing: 0.16em; margin-bottom: 8px; }
  .ynp-dunes-title { font-size: clamp(1.85rem, 8.2vw, 2.45rem); line-height: 1.02; }
  .ynp-dunes-sub { font-size: 0.8rem; margin-top: 8px; }
  .ynp-unseen-mirror { flex-direction: column; gap: 14px; }
  .ynp-unseen-word--l,
  .ynp-unseen-word--r { text-align: center; }
  .ynp-unseen-card { width: min(190px, 52vw); aspect-ratio: 4 / 4; }
  .ynp-skip {
    min-height: 44px;
    min-width: 72px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .ynp-hud-top,
  .ynp-hud-bot {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  #yn-kinetic-prelude { display: none !important; }
}
