/* ============================================================
   Juju — Curriculum page (3D + 2D effects)
   Builds on tokens/components in style.css + about-page.css
   ============================================================ */

/* ---------- Hero ---------- */
.cu-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 1px 1px, rgba(45,49,66,.09) 1.4px, transparent 0) 0 0 / 26px 26px,
    radial-gradient(1200px 500px at 85% 20%, #e9e0ff 0%, transparent 60%),
    linear-gradient(135deg, #fff0f7 0%, #f1fbf8 55%, #fff8e1 100%);
  overflow: hidden;
}
.cu-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cu-hero h1 { margin: 1.1rem 0 1rem; color: var(--ink); font-size: clamp(2.4rem, 5.2vw, 4.3rem); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
.cu-hero h1 .ab-hl--pink { color: var(--primary); }
.cu-hero h1 .ab-hl--teal { color: var(--secondary-dark); }
.cu-lead { max-width: 560px; color: var(--ink) !important; font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 500; }
.cu-lead strong { color: var(--primary-dark); }
.cu-partner-pill {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-top: 1.5rem; padding: .5rem 1rem .5rem .5rem;
  border: 2px solid var(--ink); border-radius: 999px;
  background: #fff; box-shadow: 4px 4px 0 var(--secondary);
  color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.15;
  transition: transform .25s var(--ease-pop), box-shadow .25s var(--ease-pop);
}
.cu-partner-pill small { display: block; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cu-partner-pill:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--secondary); }
.cu-partner-dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--primary)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }

.cu-hero-art { position: relative; }
.cu-scene {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%; max-width: 560px; margin-inline: auto;
  border: 4px solid var(--ink);
  border-radius: 48% 52% 44% 56% / 50% 44% 56% 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.9), transparent 45%),
    linear-gradient(150deg, #ffd0e6 0%, #e3d4fb 50%, #c4efe9 100%);
  box-shadow: 14px 14px 0 var(--ink);
  overflow: hidden;
  animation: ab-morph 14s ease-in-out infinite;
}
.cu-scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.cu-scene.has-webgl .cu-fallback { display: none; }
.cu-sticker-hero { left: -10px; bottom: 6%; rotate: -5deg; background: var(--accent); }
.cu-award {
  position: absolute; z-index: 5; right: -6px; top: 2%;
  display: flex; align-items: center; gap: .6rem; max-width: 250px;
  padding: .65rem .85rem;
  border: 2.5px solid var(--ink); border-radius: 16px;
  background: #fff; box-shadow: 5px 5px 0 var(--ink);
  font-size: .8rem; line-height: 1.25; rotate: 4deg;
}
.cu-award b { display: block; font-family: var(--font-head); color: var(--ink); font-size: .9rem; }
.cu-award small { display: block; margin-top: .15rem; color: var(--muted); font-size: .7rem; font-weight: 600; }
.cu-award-icon { font-size: 1.6rem; }

/* CSS 3D fallback cube */
.cu-fallback { position: absolute; inset: 0; display: grid; place-items: center; perspective: 900px; }
.cu-cube { --s: 150px; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; }
.cu-cube span { position: absolute; inset: 0; display: grid; place-items: center; border: 4px solid var(--ink); border-radius: 22px; color: #fff; font-family: var(--font-head); font-size: 4rem; font-weight: 800; backface-visibility: hidden; }
.cu-cube .f1 { background: var(--primary); transform: translateZ(calc(var(--s)/2)); }
.cu-cube .f2 { background: var(--blue); transform: rotateY(90deg) translateZ(calc(var(--s)/2)); }
.cu-cube .f3 { background: var(--green); transform: rotateY(180deg) translateZ(calc(var(--s)/2)); }
.cu-cube .f4 { background: var(--orange); transform: rotateY(-90deg) translateZ(calc(var(--s)/2)); }
.cu-cube .f5 { background: var(--purple); transform: rotateX(90deg) translateZ(calc(var(--s)/2)); }
.cu-cube .f6 { background: var(--accent-dark); transform: rotateX(-90deg) translateZ(calc(var(--s)/2)); }
@keyframes cu-spin { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }
.spin-cube { animation: cu-spin 12s linear infinite; }

/* ---------- Pillars (tilt cards) ---------- */
.cu-pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.cu-pillar {
  position: relative;
  padding: 1.8rem 1.4rem 1.5rem;
  border: 2.5px solid var(--ink); border-radius: 26px;
  background: linear-gradient(180deg, var(--t) 0%, #fff 70%);
  box-shadow: var(--pop) var(--pop) 0 var(--c);
  transform-style: preserve-3d;
  transition: transform .25s ease-out, box-shadow .3s var(--ease-pop);
}
.cu-pillar:hover { box-shadow: 11px 11px 0 var(--c); }
.cu-pillar-ico {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1rem;
  border: 2.5px solid var(--ink); border-radius: 20px;
  background: var(--c); color: #fff;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
  transform: translateZ(40px) rotate(-6deg);
}
.cu-pillar h3 { font-size: 1.3rem; transform: translateZ(25px); }
.cu-pillar p { font-size: .92rem; line-height: 1.5; transform: translateZ(15px); }

/* ---------- Pedagogy 3D cube ---------- */
.cu-ped-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cu-cube-stage { position: relative; display: grid; place-items: center; min-height: 420px; perspective: 1100px; }
.cu-bigcube { --s: 230px; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; transform: rotateX(-18deg) rotateY(-30deg); transition: transform 1.1s cubic-bezier(.34,1.3,.64,1); }
.cu-bigcube .bf {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  border: 4px solid var(--ink); border-radius: 30px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.45), transparent 50%),
    var(--c);
  color: #fff; text-align: center;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.18);
}
.cu-bigcube .bf b { font-family: var(--font-head); font-size: 4.2rem; line-height: 1; text-shadow: 4px 4px 0 rgba(45,49,66,.35); }
.cu-bigcube .bf span { padding: 0 1rem; font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; line-height: 1.15; }
.bf-1 { transform: translateZ(calc(var(--s)/2)); }
.bf-2 { transform: rotateY(90deg) translateZ(calc(var(--s)/2)); }
.bf-3 { transform: rotateY(180deg) translateZ(calc(var(--s)/2)); }
.bf-4 { transform: rotateY(-90deg) translateZ(calc(var(--s)/2)); }
.bf-5 { transform: rotateX(90deg) translateZ(calc(var(--s)/2)); }
.bf-6 { transform: rotateX(-90deg) translateZ(calc(var(--s)/2)); }
.cu-cube-shadow { position: absolute; bottom: 30px; width: 220px; height: 30px; border-radius: 50%; background: rgba(45,49,66,.16); filter: blur(6px); animation: cu-shadow 3.5s ease-in-out infinite; }
.cu-cube-stage .cu-bigcube { animation: cu-bob 3.5s ease-in-out infinite; }
@keyframes cu-bob { 0%,100% { translate: 0 -8px; } 50% { translate: 0 8px; } }
@keyframes cu-shadow { 0%,100% { scale: .85; opacity: .7; } 50% { scale: 1; opacity: 1; } }

.cu-ped-list { display: grid; gap: .9rem; }
.cu-ped-item {
  display: flex; gap: 1rem; align-items: flex-start; width: 100%;
  padding: 1rem 1.1rem;
  border: 2.5px solid var(--ink); border-radius: 20px;
  background: #fff; box-shadow: 4px 4px 0 var(--c);
  color: var(--ink-soft); font: inherit; font-size: .92rem; line-height: 1.45; text-align: left;
  cursor: pointer;
  transition: transform .3s var(--ease-pop), box-shadow .3s var(--ease-pop), background .3s;
}
.cu-ped-item b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.15rem; }
.cu-ped-item small { display: block; margin-bottom: .25rem; color: var(--c); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; filter: brightness(.85); }
.cu-ped-num { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 800; }
.cu-ped-item:hover, .cu-ped-item.is-active { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--c); }
.cu-ped-item.is-active { background: linear-gradient(90deg, #fff, #fff 60%, rgba(255,255,255,0)), #fff8ec; }
.cu-ped-item:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }

/* ---------- 3D books ---------- */
.cu-shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; perspective: 1200px; }
.cu-book { text-align: center; }
.cu-book h3 { margin: 1.4rem 0 .3rem; font-size: 1.05rem; line-height: 1.25; }
.cu-book p { font-size: .86rem; line-height: 1.45; }
.cu-book-3d {
  position: relative; width: 78%; margin: 0 auto; aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transform: rotateY(-28deg) rotateX(6deg);
  transition: transform .7s cubic-bezier(.34,1.4,.64,1);
}
.cu-book:hover .cu-book-3d, .cu-book:focus-within .cu-book-3d { transform: rotateY(-4deg) rotateX(0) translateY(-10px) scale(1.04); }
.cu-cover {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between; padding: 14% 10%;
  border: 3px solid var(--ink); border-radius: 6px 16px 16px 6px;
  background:
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.55) 0 18%, transparent 19%),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,.25) 0 22%, transparent 23%),
    linear-gradient(160deg, var(--c2), var(--c));
  transform: translateZ(14px);
  box-shadow: inset 10px 0 0 rgba(0,0,0,.12);
}
.cu-book-3d::before { /* pages */
  content: ""; position: absolute; top: 3%; bottom: 3%; right: 0; width: 28px;
  background: repeating-linear-gradient(0deg, #fff 0 3px, #e8e4dc 3px 4px);
  border: 2px solid var(--ink); border-left: 0;
  transform: rotateY(90deg) translateZ(calc(100% - 15px));
  transform-origin: right center;
}
.cu-book-3d::after { /* back + shadow */
  content: ""; position: absolute; inset: 0;
  border: 3px solid var(--ink); border-radius: 6px 16px 16px 6px;
  background: var(--c);
  transform: translateZ(-14px);
  box-shadow: 18px 18px 0 rgba(45,49,66,.18);
}
.cu-cover-ico { align-self: flex-end; display: grid; place-items: center; width: 54px; height: 54px; border: 2.5px solid var(--ink); border-radius: 50%; background: #fff; color: var(--c); font-size: 1.6rem; font-weight: 800; }
.cu-cover-t { color: #fff; font-family: var(--font-head); font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 800; line-height: 1.05; text-align: left; text-shadow: 2px 2px 0 rgba(45,49,66,.35); }

/* ---------- Theme flow ---------- */
.cu-flow-wrap { position: relative; }
.cu-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.cu-flow-line { position: absolute; left: 6%; right: 6%; top: 34px; width: 88%; height: 60px; z-index: 0; overflow: visible; }
.cu-flow-line path { fill: none; stroke: var(--primary); stroke-opacity: .55; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s ease; }
.cu-flow-wrap.is-in .cu-flow-line path { stroke-dashoffset: 0; }
.cu-step { position: relative; z-index: 1; text-align: center; }
.cu-step-ico {
  display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto .9rem;
  border: 3px solid var(--ink); border-radius: 50%;
  background: #fff; box-shadow: 5px 5px 0 var(--c);
  font-size: 2.3rem;
  transition: transform .5s var(--ease-pop);
}
.cu-step:hover .cu-step-ico { transform: translateY(-8px) rotate(-10deg) scale(1.08); }
.cu-step b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.3rem; }
.cu-step p { margin-top: .2rem; font-size: .9rem; line-height: 1.45; }

/* ---------- 360 orbit ---------- */
.cu-assess-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cu-orbit-wrap { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin-inline: auto; perspective: 1000px; display: grid; place-items: center; }
.cu-orbit-center {
  position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%;
  width: 38%; aspect-ratio: 1 / 1;
  display: grid; place-items: end center; overflow: hidden;
  border: 4px solid var(--ink); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 20%, #ffe36b 21%);
  box-shadow: 8px 8px 0 var(--ink);
}
.cu-orbit-center img { width: 88%; height: auto; translate: 0 6%; }
.cu-orbit {
  --r: 210px;
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: cu-orbit 26s linear infinite;
}
.cu-orbit-wrap::after { content: ""; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,0) 70%); z-index: 0; }
.cu-orbit { z-index: 4; }
.cu-orbit::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: calc(var(--r) * 2); height: calc(var(--r) * 2); translate: -50% -50%;
  border: 3px dashed rgba(45,49,66,.35); border-radius: 50%;
}
@keyframes cu-orbit { from { transform: rotateZ(0deg); } to { transform: rotateZ(360deg); } }
.cu-node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateZ(var(--a)) translateX(var(--r)) rotateZ(calc(-1 * var(--a))); }
.cu-node span {
  position: absolute; left: 0; top: 0;
  display: block; white-space: nowrap;
  padding: .5rem .85rem;
  border: 2.5px solid var(--ink); border-radius: 999px;
  background: var(--c); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  box-shadow: 3px 3px 0 var(--ink);
  transform-origin: 0 0;
  animation: cu-counter 26s linear infinite;
}
@keyframes cu-counter {
  from { transform: rotateZ(0deg) translate(-50%, -50%); }
  to { transform: rotateZ(-360deg) translate(-50%, -50%); }
}
.cu-assess-list { display: grid; gap: .9rem; }
.cu-a-card {
  position: relative; padding: 1rem 1.2rem 1rem 1.5rem;
  border: 2.5px solid var(--ink); border-radius: 18px;
  background: #fff; box-shadow: 4px 4px 0 var(--c);
  transition: transform .3s var(--ease-pop);
}
.cu-a-card::before { content: ""; position: absolute; left: -2px; top: 18%; bottom: 18%; width: 7px; border-radius: 0 6px 6px 0; background: var(--c); }
.cu-a-card:hover { transform: translateX(6px); }
.cu-a-card b { color: var(--ink); font-family: var(--font-head); font-size: 1.1rem; }
.cu-a-card p { margin-top: .2rem; font-size: .9rem; line-height: 1.45; }

/* ---------- NEP ---------- */
.cu-nep-sec { padding-top: clamp(2rem, 4vw, 3rem); }
.cu-nep {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(2rem, 4.5vw, 3.4rem);
  border: 3px solid var(--ink); border-radius: 36px;
  background:
    radial-gradient(circle at 96% 10%, #ffdc35 0 60px, transparent 61px),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1.4px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(135deg, #12a6e8, #18b9ad);
  box-shadow: 12px 12px 0 var(--ink);
}
.cu-nep h2 { color: #fff !important; }
.cu-nep p { color: rgba(255,255,255,.94) !important; }
.cu-nep-badge {
  display: grid; place-items: center; align-content: center;
  width: clamp(130px, 16vw, 180px); aspect-ratio: 1 / 1;
  border: 4px solid var(--ink); border-radius: 50%;
  background: #fff; box-shadow: 6px 6px 0 var(--ink);
  font-family: var(--font-head); line-height: 1; color: var(--ink);
  animation: cu-badge 6s ease-in-out infinite;
}
.cu-nep-badge span { font-size: 1.3rem; font-weight: 800; color: var(--secondary-dark); letter-spacing: .1em; }
.cu-nep-badge b { font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--primary); }
@keyframes cu-badge { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-6px); } }
.cu-nep-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.cu-nep-tags li { padding: .4rem .85rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; box-shadow: 3px 3px 0 rgba(45,49,66,.45); }

.cu .ab-small a { color: var(--secondary-dark); font-weight: 700; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cu-pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .cu-shelf { grid-template-columns: repeat(3, 1fr); row-gap: 2.4rem; }
  .cu-flow { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .cu-flow-line { display: none; }
}
@media (max-width: 860px) {
  .cu-hero-grid, .cu-ped-grid, .cu-assess-grid, .cu-nep { grid-template-columns: 1fr; }
  .cu-scene { max-width: 420px; }
  .cu-award { right: 0; }
  .cu-cube-stage { min-height: 340px; }
  .cu-bigcube { --s: 190px; }
  .cu-orbit { --r: 165px; }
  .cu-orbit-wrap { max-width: 420px; }
  .cu-nep-badge { margin-inline: auto; }
}
@media (max-width: 560px) {
  .cu-pillar-grid, .cu-shelf { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .cu-pillar { padding: 1.2rem 1rem; }
  .cu-pillar-ico { width: 52px; height: 52px; font-size: 1.1rem; }
  .cu-pillar h3 { font-size: 1.08rem; }
  .cu-pillar p { font-size: .84rem; }
  .cu-flow { grid-template-columns: 1fr 1fr; }
  .cu-step:last-child { grid-column: 1 / -1; }
  .cu-step-ico { width: 74px; height: 74px; font-size: 1.9rem; }
  .cu-orbit { --r: 118px; }
  .cu-node span { font-size: .72rem; padding: .35rem .6rem; }
  .cu-bigcube { --s: 160px; }
  .cu-bigcube .bf b { font-size: 3rem; }
  .cu-bigcube .bf span { font-size: .85rem; }
  .cu-award { position: relative; right: auto; top: auto; margin: 1.4rem auto 0; rotate: 0deg; max-width: 320px; }
  .cu-sticker-hero { display: none; }
  .cu-scene { box-shadow: 8px 8px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .cu-scene, .spin-cube, .cu-cube-stage .cu-bigcube, .cu-cube-shadow, .cu-orbit, .cu-node span, .cu-nep-badge { animation: none !important; }
}

/* ============================================================
   Unique illustrated concepts (no repeated photos)
   ============================================================ */

/* ---------- Animated 3D storybook ---------- */
.cu-sb-stage { position: relative; padding: 2.5rem 0 3rem; perspective: 1800px; }
.cu-sb-blob {
  position: absolute; inset: 4% 4% 0 4%;
  border: 3px solid var(--ink);
  border-radius: 42% 58% 46% 54% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 1px 1px, rgba(45,49,66,.12) 1.4px, transparent 0) 0 0 / 22px 22px, #ffe36b;
  box-shadow: 10px 10px 0 var(--ink);
  animation: ab-morph 14s ease-in-out infinite;
}
.cu-sb {
  --w: min(40vw, 470px);
  position: relative; z-index: 1;
  width: var(--w); aspect-ratio: 2 / 1.3; margin: 0 auto;
  transform-style: preserve-3d;
  transform: rotateX(22deg) rotateZ(-3deg);
}
.cu-sb::before { /* hard cover */
  content: ""; position: absolute; inset: -14px -16px -18px;
  border: 3px solid var(--ink); border-radius: 18px;
  background: linear-gradient(135deg, #ec1c8c, #9b5de5);
  transform: translateZ(-6px);
  box-shadow: 14px 16px 0 rgba(45,49,66,.25);
}
.cu-sb::after { /* spine */
  content: ""; position: absolute; left: 50%; top: -14px; bottom: -18px; width: 10px; translate: -50% 0;
  background: #2d3142; border-radius: 6px; transform: translateZ(-5px);
}
.cu-sb-page, .cu-sb-face {
  position: absolute; top: 0; width: 50%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  padding: 1rem; text-align: center;
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(45,49,66,.08), transparent 18%),
    repeating-linear-gradient(180deg, transparent 0 26px, rgba(18,166,232,.08) 26px 27px),
    #fffdf6;
  color: var(--ink);
}
.cu-sb-left { left: 0; border-radius: 14px 4px 4px 14px; background: linear-gradient(270deg, rgba(45,49,66,.08), transparent 18%), #fffdf6; }
.cu-sb-right { right: 0; border-radius: 4px 14px 14px 4px; }
.cu-sb-page b, .cu-sb-face b { font-family: var(--font-head); font-size: clamp(.95rem, 1.6vw, 1.3rem); line-height: 1.15; }
.cu-sb-page small, .cu-sb-face small { color: var(--muted); font-size: clamp(.68rem, 1vw, .82rem); font-weight: 600; }
.cu-sb-emoji { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.1; }
.cu-sb-letter { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--c); letter-spacing: .05em; background: radial-gradient(circle, var(--c) 1.4px, transparent 1.6px) 0 0 / 7px 7px; -webkit-background-clip: text; background-clip: text; }
.cu-sb-tag { padding: .2rem .6rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--c, #18b9ad); color: #fff; font-family: var(--font-head); font-size: clamp(.62rem, .95vw, .78rem); font-weight: 800; letter-spacing: .04em; }
.cu-sb-left .cu-sb-tag { --c: #18b9ad; }
.cu-sb-right .cu-sb-tag { --c: #f9b616; }
.cu-sb-leaf {
  position: absolute; right: 0; top: 0; width: 50%; height: 100%;
  transform-style: preserve-3d; transform-origin: left center;
  transform: translateZ(calc(var(--i) * 1.5px));
  animation: cu-flip 13s cubic-bezier(.6,.05,.3,1) infinite;
}
.cu-sb-leaf[style*="--i:1"] { animation-name: cu-flip-1; }
.cu-sb-leaf[style*="--i:2"] { animation-name: cu-flip-2; }
.cu-sb-leaf[style*="--i:3"] { animation-name: cu-flip-3; }
.cu-sb-face { left: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cu-sb-front { border-radius: 4px 14px 14px 4px; }
.cu-sb-back { transform: rotateY(180deg); border-radius: 14px 4px 4px 14px; background: linear-gradient(270deg, rgba(45,49,66,.08), transparent 18%), #fffdf6; }
@keyframes cu-flip-1 { 0%,8% { transform: translateZ(4.5px) rotateY(0); } 18%,88% { transform: translateZ(1.5px) rotateY(-180deg); } 96%,100% { transform: translateZ(4.5px) rotateY(0); } }
@keyframes cu-flip-2 { 0%,30% { transform: translateZ(3px) rotateY(0); } 40%,90% { transform: translateZ(3px) rotateY(-180deg); } 98%,100% { transform: translateZ(3px) rotateY(0); } }
@keyframes cu-flip-3 { 0%,52% { transform: translateZ(1.5px) rotateY(0); } 62%,92% { transform: translateZ(4.5px) rotateY(-180deg); } 100% { transform: translateZ(1.5px) rotateY(0); } }
.cu-sb-sticker { right: 0; bottom: 0; rotate: 4deg; background: #fff; }

/* ---------- 360 dial (orbit centre) ---------- */
.cu-orbit-center:has(.cu-dial) { background: transparent; overflow: visible; border: 0; box-shadow: none; place-items: center; }
.cu-dial { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.cu-dial-ring {
  position: absolute; inset: 0; border: 4px solid var(--ink); border-radius: 50%;
  background: conic-gradient(#ec1c8c 0 60deg, #18b9ad 0 120deg, #9b5de5 0 180deg, #12a6e8 0 240deg, #ff8c42 0 300deg, #5cc845 0 360deg);
  box-shadow: 8px 8px 0 var(--ink);
  animation: ab-spin 18s linear infinite;
}
.cu-dial-ring::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 3px dashed rgba(255,255,255,.75); }
.cu-dial-core {
  position: relative; z-index: 1; width: 68%; aspect-ratio: 1;
  display: grid; place-items: center; align-content: center;
  border: 4px solid var(--ink); border-radius: 50%; background: #fff;
  font-family: var(--font-head); text-align: center; line-height: 1;
}
.cu-dial-core b { font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--ink); }
.cu-dial-core small { margin-top: .3rem; color: var(--primary); font-size: clamp(.7rem, 1.2vw, .95rem); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- 3D tablet planner ---------- */
.cu-tab-stage { position: relative; padding: 2.5rem 1rem; perspective: 1400px; }
.cu-tablet {
  position: relative; max-width: 500px; margin: 0 auto; padding: 16px;
  border: 4px solid var(--ink); border-radius: 30px;
  background: #2d3142;
  box-shadow: 16px 18px 0 rgba(155,93,229,.45);
  transform: rotateY(-16deg) rotateX(10deg) rotateZ(2deg);
  transition: transform .8s var(--ease-pop);
}
.cu-tab-stage:hover .cu-tablet { transform: rotateY(-4deg) rotateX(4deg) rotateZ(0); }
.cu-tab-screen { border-radius: 16px; background: #fffdf6; padding: 14px; overflow: hidden; }
.cu-tab-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.cu-tab-head b { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.cu-tab-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 16px 0 0 var(--accent), 32px 0 0 var(--secondary); margin-right: 32px; }
.cu-tab-pills { margin-left: auto; display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: #efeaf9; }
.cu-tab-pills i { padding: .2rem .55rem; border-radius: 999px; font-style: normal; font-size: .7rem; font-weight: 800; color: var(--muted); animation: cu-pill 9s infinite; }
.cu-tab-pills i:nth-child(2) { animation-delay: 3s; }
.cu-tab-pills i:nth-child(3) { animation-delay: 6s; }
@keyframes cu-pill { 0%,30% { background: var(--purple); color: #fff; } 34%,100% { background: transparent; color: var(--muted); } }
.cu-tab-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 6px; }
.cu-tab-days span { text-align: center; font-size: .68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cu-tab-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cu-tab-grid i {
  display: grid; place-items: center; min-height: 46px; padding: 4px;
  border: 2px solid var(--ink); border-radius: 10px;
  background: var(--c); color: #fff; font-style: normal; font-size: .66rem; font-weight: 800; text-align: center; line-height: 1.1;
  opacity: 0; transform: scale(.6);
  animation: cu-cell 9s calc((var(--r) * 5 + var(--s)) * .12s) infinite both;
}
@keyframes cu-cell { 0% { opacity: 0; transform: scale(.6); } 8%,88% { opacity: 1; transform: scale(1); } 96%,100% { opacity: 0; transform: scale(.6); } }
.cu-tab-progress { margin-top: 12px; height: 10px; border: 2px solid var(--ink); border-radius: 999px; background: #efeaf9; overflow: hidden; }
.cu-tab-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--secondary), var(--green)); animation: cu-prog 9s ease-in-out infinite; }
@keyframes cu-prog { 0% { width: 0; } 80%,100% { width: 100%; } }
.cu-chip {
  position: absolute; z-index: 3;
  padding: .55rem .9rem; border: 2.5px solid var(--ink); border-radius: 14px;
  background: #fff; box-shadow: 4px 4px 0 var(--c);
  font-family: var(--font-head); font-weight: 800; font-size: .92rem; color: var(--ink); white-space: nowrap;
}

/* ---------- Iso steps (CTA) ---------- */
.cu-steps-art { align-self: center; margin: 0 !important; }
.cu-iso { display: block; width: 100%; max-width: 360px; margin-inline: auto; overflow: visible; }
.cu-ball { animation: cu-hop 4.5s ease-in-out infinite; }
@keyframes cu-hop {
  0%, 8%   { transform: translate(78px, 214px); }
  20%      { transform: translate(130px, 150px); }
  32%, 40% { transform: translate(170px, 182px); }
  52%      { transform: translate(210px, 92px); }
  64%, 80% { transform: translate(250px, 122px); }
  92%      { transform: translate(170px, 60px) scale(.6); opacity: 0; }
  100%     { transform: translate(78px, 214px); opacity: 1; }
}
.cu-flag { transform-origin: 292px 96px; animation: cu-wave 1.6s ease-in-out infinite; }
@keyframes cu-wave { 0%,100% { transform: skewY(0); } 50% { transform: skewY(-8deg); } }

@media (max-width: 860px) {
  .cu-sb { --w: min(86vw, 520px); }
  .cu-chip { font-size: .8rem; }
}
@media (max-width: 560px) {
  .cu-sb-page, .cu-sb-face { padding: .5rem; gap: .2rem; }
  .cu-sb-page small, .cu-sb-face small { display: none; }
  .cu-tab-grid i { min-height: 34px; font-size: .55rem; }
  .cu-tab-pills i { padding: .15rem .35rem; font-size: .6rem; }
  .cu-chip { font-size: .72rem; padding: .4rem .6rem; }
  .cu-tablet { padding: 10px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cu-sb-leaf, .cu-sb-blob, .cu-dial-ring, .cu-tab-pills i, .cu-tab-grid i, .cu-tab-progress span, .cu-ball, .cu-flag { animation: none !important; }
  .cu-tab-grid i { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .cu-sb { --w: 76vw; }
  .cu-dial-core small { font-size: .55rem; letter-spacing: .02em; }
  .cu-dial-core b { font-size: 1.7rem; }
  .cu-chip[style*="left"] { left: 2px !important; }
  .cu-chip[style*="right"] { right: 2px !important; }
  .cu-tab-head b { font-size: .9rem; }
}

/* ---------- Premium line icons (replace emoji) ---------- */
.cu-i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.cu-step-ico { color: var(--c); }
.cu-step-ico .cu-i { width: 46px; height: 46px; }
.cu-sb-emoji { display: grid; place-items: center; width: clamp(46px, 6vw, 70px); aspect-ratio: 1; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--c); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.cu-sb-emoji .cu-i { width: 62%; height: 62%; }
.cu-award-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 12px; background: var(--accent); color: var(--ink); flex: 0 0 auto; }
.cu-award-icon .cu-i { width: 26px; height: 26px; }
.cu-chip { display: inline-flex; align-items: center; gap: .45rem; }
.cu-chip .cu-i { width: 20px; height: 20px; color: var(--c); }
.cu-ped-num{background:color-mix(in srgb,var(--c) 52%,#1c1930)}
.cu-ped-item small{color:color-mix(in srgb,var(--c) 52%,#1c1930);filter:none}
