/* Q4 Labs product pages: mascot hero (Quinn, Cleo) and each page's theme. Loaded after skill.css. Behaviour in mascot.js. */

/* ---------- Mascot hero ---------- */
.mh { position: relative; isolation: isolate; padding: 150px 16px 70px; overflow: hidden; overflow: clip; }
.mh__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 48px; max-width: 1160px; margin: 0 auto; }
.mh__copy .sk-crumbs { justify-content: flex-start; }
.mh__copy .closing__title { font-size: clamp(40px, 5.2vw, 66px); }
.mh__lead { margin-top: 24px; max-width: 540px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: #b4bdbc; }
.mh__copy .hero__actions { justify-content: flex-start; }
.mh__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.mh__meta li { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #cfe3e0; background: rgba(111, 184, 174, 0.1); border: 1px solid rgba(111, 184, 174, 0.22); }

.mh-stage { position: relative; isolation: isolate; aspect-ratio: 1 / 1.04; max-width: 540px; width: 100%; margin: 0 auto; }
.mh-stage::before { content: ""; position: absolute; left: 50%; top: 46%; z-index: -1; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(111, 184, 174, 0.2) 0deg 8deg, transparent 8deg 22deg);
  -webkit-mask: radial-gradient(closest-side, #000 10%, rgba(0, 0, 0, 0.5) 45%, transparent 70%); mask: radial-gradient(closest-side, #000 10%, rgba(0, 0, 0, 0.5) 45%, transparent 70%);
  animation: mh-spin 120s linear infinite; }
.mh-stage::after { content: ""; position: absolute; left: 50%; top: 46%; z-index: -1; width: 60%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(42, 107, 102, 0.55), rgba(11, 47, 44, 0.25) 60%, transparent 100%); }
/* the Q4 orb (same as the home hero, styled in site.css) glows behind the character */
.mh-stage .orb-stage { top: 6%; left: 4%; width: 92%; height: 84%; margin: 0; z-index: -1; }
.mh-stage .orb { opacity: 1; filter: blur(30px); }
[data-mascot="quinn"] .orb-stage { top: 2%; }
[data-mascot="quinn"]::before { display: none; }   /* Quinn: the orb alone, no rays */
.mh-char { all: unset; box-sizing: border-box; position: absolute; left: 50%; bottom: 3%; height: 76%; transform: translateX(-50%); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mh-char:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 24px; }
.mh-svg { display: block; height: 100%; width: auto; overflow: visible; }
[data-mascot="cleo"] .mh-char { height: 66%; bottom: 6%; }
.mh-rig { transform-box: view-box; transform-origin: 540px 1640px; animation: mh-float 4.6s ease-in-out infinite; }
.mh-svg [data-look], .mh-svg [data-eyes], .mh-svg .mh-arm, .mh-svg .mh-clap { transform-box: view-box; }
.mh-svg [data-look] { transform-origin: 540px 1070px; }
.mh-svg [data-blink] { transform-box: fill-box; transform-origin: center; transition: transform .07s ease; }
.is-blink .mh-svg [data-blink] { transform: scaleY(0.12); }

.mh-bubble { position: absolute; left: 50%; top: 6%; z-index: 2; width: max-content; max-width: 80%; margin: 0; padding: 12px 18px; border-radius: 18px;
  font-size: 15px; font-weight: 500; line-height: 1.35; text-align: center; color: #0b1414; background: #f4f8f8;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.6); opacity: 0; transform: translate(-50%, 8px) scale(0.96);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.mh-bubble::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.mh-bubble.is-in { opacity: 1; transform: translate(-50%, 0) scale(1); }
.mh-hint { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; margin: 0; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(207, 227, 224, 0.55); pointer-events: none; }

@keyframes mh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes mh-spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes mh-hop { 0% { transform: translateY(0) scale(1, 1); } 18% { transform: translateY(6px) scale(1.06, 0.94); } 45% { transform: translateY(-110px) scale(0.97, 1.03); } 72% { transform: translateY(0) scale(1.05, 0.95); } 100% { transform: translateY(0) scale(1, 1); } }
@keyframes mh-wave-q { 0%, 100% { transform: rotate(-58deg); } 50% { transform: rotate(-84deg); } }
@keyframes mh-wave-c { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(14deg); } }
@keyframes mh-clap { 0% { transform: rotate(0deg); } 30% { transform: rotate(16deg); } 45% { transform: rotate(13deg); } 60% { transform: rotate(16deg); } 100% { transform: rotate(0deg); } }
@keyframes mh-squash { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.04, 0.95); } 55% { transform: scale(0.98, 1.03); } }

.is-hop .mh-rig { animation: mh-hop .85s cubic-bezier(.3, .7, .4, 1); }
[data-mascot="quinn"] .mh-svg .mh-arm { transform-origin: 728px 1140px; }
[data-mascot="quinn"].is-wave .mh-svg .mh-arm, [data-mascot="quinn"].is-hop .mh-svg .mh-arm { animation: mh-wave-q .5s ease-in-out infinite; }
[data-mascot="cleo"] .mh-rig { transform-origin: 540px 1650px; }
[data-mascot="cleo"] .mh-svg [data-look] { transform-origin: 540px 1650px; }
[data-mascot="cleo"] .mh-svg .mh-arm { transform-origin: 752px 1250px; }
[data-mascot="cleo"].is-wave .mh-svg .mh-arm { animation: mh-wave-c .45s ease-in-out infinite; }
[data-mascot="cleo"] .mh-svg .mh-clap { transform-origin: 340px 1046px; }
[data-mascot="cleo"].is-clap .mh-svg .mh-clap { animation: mh-clap .7s cubic-bezier(.3, .7, .3, 1); }
[data-mascot="cleo"].is-clap .mh-rig { animation: mh-squash .7s ease; }

@media (max-width: 900px) {
  .mh { padding-top: 120px; padding-bottom: 40px; }
  .mh__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .mh__copy .sk-crumbs, .mh__copy .hero__actions, .mh__meta { justify-content: center; }
  .mh__lead { margin-left: auto; margin-right: auto; }
  .mh-stage { order: -1; max-width: 340px; }
  .mh { padding-top: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-rig, .mh-stage::before, .mh-svg .mh-arm, .mh-svg .mh-clap { animation: none !important; }
  .mh-bubble { transition: opacity .2s ease; transform: translate(-50%, 0); }
}

.sk-get { padding: 40px 16px 100px; }
.sk-get::before { display: none; }
.sk-get .ct__grid { margin-top: 44px; }

/* ---------- Quinn theme: the editor's timeline ---------- */
.theme-quinn .sk-card { position: relative; overflow: hidden; }
.theme-quinn .sk-card::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 4px; border-radius: 0 0 4px 4px; opacity: .9;
  background: linear-gradient(90deg, #6fb8ae 0 22%, transparent 22% 26%, #3f8d85 26% 58%, transparent 58% 62%, #a0e1d6 62% 78%, transparent 78% 82%, #2a6b66 82% 100%); }
.theme-quinn .sk-num { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0; }
.theme-quinn .sk-h2::after { content: ""; display: block; width: min(420px, 80%); height: 14px; margin: 24px auto 0; opacity: .6;
  background: repeating-linear-gradient(90deg, rgba(111, 184, 174, 0.55) 0 2px, transparent 2px 12px) left bottom / 100% 7px no-repeat,
              repeating-linear-gradient(90deg, rgba(111, 184, 174, 0.9) 0 2px, transparent 2px 60px) left bottom / 100% 14px no-repeat; }
.theme-quinn .ct-form { border-color: rgba(127, 240, 222, 0.28); box-shadow: 0 0 0 1px rgba(127, 240, 222, 0.05), 0 30px 80px -40px rgba(127, 240, 222, 0.35); }

/* ---------- Cleo theme: the film set ---------- */
/* Cleo's hero: a spotlight from above and a camera viewfinder around her (no rays) */
.theme-cleo .mh-stage::before { top: -6%; left: 50%; width: 74%; height: 100%; aspect-ratio: auto; transform: translateX(-50%); animation: none;
  -webkit-mask: none; mask: none; clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%); filter: blur(10px);
  background: linear-gradient(180deg, rgba(255, 244, 214, 0.24) 0%, rgba(255, 244, 214, 0.08) 55%, rgba(255, 244, 214, 0) 92%); }
.theme-cleo .mh-stage::after { top: auto; bottom: 1%; left: 50%; width: 76%; height: 15%; aspect-ratio: auto; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 244, 214, 0.2), rgba(134, 208, 197, 0.07) 60%, transparent); }
.mh-vf { position: absolute; inset: 7% 4% 4%; pointer-events: none; }
.mh-vf i { position: absolute; width: 38px; height: 38px; border: 0 solid rgba(233, 241, 240, 0.6); }
.mh-vf i:nth-child(1) { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 10px; }
.mh-vf i:nth-child(2) { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 10px; }
.mh-vf i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 10px; }
.mh-vf i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 10px; }
.mh-vf__rec, .mh-vf__tc { position: absolute; top: 18px; font: 600 13px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0.08em; color: rgba(233, 241, 240, 0.75); }
.mh-vf__rec { left: 20px; display: flex; align-items: center; gap: 7px; }
.mh-vf__rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 10px rgba(229, 72, 77, 0.8); animation: vf-rec 1.2s steps(1) infinite; }
.mh-vf__tc { right: 20px; font-variant-numeric: tabular-nums; }
.theme-cleo .mh-bubble { top: 13%; }
@keyframes vf-rec { 50% { opacity: 0.15; } }
@media (max-width: 900px) { .mh-vf__rec, .mh-vf__tc { top: auto; bottom: 16px; font-size: 11px; } .mh-vf__rec { left: 16px; } .mh-vf__tc { right: 16px; } }
@media (prefers-reduced-motion: reduce) { .mh-vf__rec::before { animation: none; } }
.theme-cleo .sk-h2::after { content: ""; display: block; width: min(300px, 70%); height: 12px; margin: 24px auto 0; border-radius: 4px; opacity: .85;
  background: repeating-linear-gradient(-55deg, #e9f1f0 0 14px, #16292b 14px 28px); }
.theme-cleo .sk-card { position: relative; overflow: hidden; padding-top: 36px; }
.theme-cleo .sk-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; opacity: .9; background: repeating-linear-gradient(-55deg, #e9f1f0 0 12px, #16292b 12px 24px); }
.theme-cleo .sk-num { align-self: flex-start; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #0b1414; background: #86d0c5; }
.theme-cleo .ct-form { border-color: rgba(134, 208, 197, 0.3); }

/* Cleo: one long video in, several Reels out (an animated diagram, not footage) */
.reel-flow { max-width: 1100px; margin: 52px auto 0; padding: 34px; border-radius: 26px; background: linear-gradient(180deg, #0d1111, #080a0a); border: 1px solid rgba(255, 255, 255, 0.08); }
.reel-flow__label { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 13px; font-weight: 500; color: #7d8786; }
.reel-flow__strip { position: relative; height: 74px; margin-top: 12px; border-radius: 12px; overflow: hidden; background: #0a1f23; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.reel-flow__strip::before, .reel-flow__strip::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255, 255, 255, 0.16) 8px 18px, transparent 18px 26px); }
.reel-flow__strip::before { top: 5px; }
.reel-flow__strip::after { bottom: 5px; }
.reel-flow__wave { position: absolute; left: 12px; right: 12px; top: 19px; bottom: 19px; display: flex; align-items: center; gap: 3px; }
.reel-flow__wave i { flex: 1; border-radius: 2px; background: rgba(134, 208, 197, 0.35); }
.reel-flow__pick { position: absolute; top: 3px; bottom: 3px; border-radius: 8px; border: 2px solid #86d0c5; background: rgba(134, 208, 197, 0.14); animation: rf-pick 6s ease-in-out infinite; }
.reel-flow__pick--2 { animation-delay: .4s; }
.reel-flow__pick--3 { animation-delay: .8s; }
.reel-flow__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.reel { position: relative; aspect-ratio: 9 / 16; width: 100%; max-width: 190px; margin: 0 auto; border-radius: 22px; overflow: hidden;
  background: radial-gradient(80% 50% at 50% 34%, #1d5a54, #0b2f2c 70%); border: 3px solid #1b2b2b; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
  animation: rf-pop 6s ease-in-out infinite; }
.reel:nth-child(2) { animation-delay: .4s; }
.reel:nth-child(3) { animation-delay: .8s; }
.reel__hook { position: absolute; left: 10%; right: 10%; top: 12%; margin: 0; padding: 7px 9px; border-radius: 9px; background: #fff; color: #0b0b0b; font-size: 11px; font-weight: 700; line-height: 1.15; text-align: center; letter-spacing: -0.01em; }
.reel__head { position: absolute; left: 50%; top: 36%; width: 34%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: #2f6f68; box-shadow: 0 64px 0 22px #2a615b; }
.reel__cap { position: absolute; left: 6%; right: 6%; top: 70%; margin: 0; text-align: center; font-size: 15px; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; color: #fff; -webkit-text-stroke: 4px #000; paint-order: stroke fill; }
.reel__cap b { color: #ffd23f; }
.reel__bar { position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: #86d0c5; transform-origin: 0 50%; animation: rf-bar 6s linear infinite; }
@keyframes rf-pick { 0%, 8% { opacity: 0; transform: scaleY(.6); } 18%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
@keyframes rf-pop { 0%, 22% { opacity: .25; transform: translateY(14px) scale(.96); } 32%, 84% { opacity: 1; transform: none; } 96%, 100% { opacity: .25; transform: translateY(14px) scale(.96); } }
@keyframes rf-bar { 0%, 30% { transform: scaleX(0); } 86%, 100% { transform: scaleX(1); } }
@media (max-width: 640px) {
  .reel-flow { padding: 20px 14px; }
  .reel-flow__out { gap: 10px; }
  .reel { border-radius: 14px; border-width: 2px; }
  .reel__cap { font-size: 11px; -webkit-text-stroke-width: 3px; }
  .reel__hook { font-size: 8px; padding: 4px 5px; border-radius: 6px; }
}
@media (prefers-reduced-motion: reduce) { .reel-flow__pick, .reel, .reel__bar { animation: none; opacity: 1; transform: none; } }

/* ---------- Magnus theme: the inspector (a grid, a scan beam and the checks around her) ---------- */
[data-mascot="magnus"] .mh-char { height: 70%; bottom: 5%; }
[data-mascot="magnus"] .mh-rig { transform-origin: 540px 1650px; }
[data-mascot="magnus"] .mh-svg [data-look] { transform-origin: 540px 1650px; }
[data-mascot="magnus"] .mh-svg .mh-arm { transform-origin: 768px 1250px; }
.mh-svg [data-mouth]:not([data-mouth="X"]) { opacity: 0; }
.theme-magnus .mh-stage::before { top: 48%; width: 112%; animation: none; border-radius: 50%;
  background: linear-gradient(rgba(111, 184, 174, 0.16) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, rgba(111, 184, 174, 0.16) 1px, transparent 1px) 0 0 / 34px 34px;
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 78%); mask: radial-gradient(closest-side, #000 30%, transparent 78%); }
.mh-scan { position: absolute; inset: 8% 10% 6%; z-index: -1; overflow: hidden; border-radius: 28px; pointer-events: none; }
.mh-scan__beam { position: absolute; left: 0; right: 0; top: 0; height: 26%; animation: au-scan 5.5s ease-in-out infinite;
  background: linear-gradient(180deg, transparent, rgba(134, 208, 197, 0.16) 70%, rgba(160, 225, 214, 0.55) 98%, transparent 100%); }
.mh-scan__beam::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 1px; height: 2px; border-radius: 2px; background: #a0e1d6; box-shadow: 0 0 14px 2px rgba(160, 225, 214, 0.7); }
.mh-chips { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.mh-chips li { position: absolute; display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: #e9f1f0; background: rgba(10, 31, 35, 0.82); border: 1px solid rgba(134, 208, 197, 0.3); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7);
  animation: au-chip 5.5s ease-in-out infinite; }
.mh-chips li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #86d0c5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2 6.1 9.2 10 5' fill='none' stroke='%230a1f23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.mh-chips li:nth-child(1) { left: 2%; top: 30%; }
.mh-chips li:nth-child(2) { right: 0; top: 40%; animation-delay: .7s; }
.mh-chips li:nth-child(3) { left: 0; top: 60%; animation-delay: 1.4s; }
.mh-chips li:nth-child(4) { right: 3%; top: 70%; animation-delay: 2.1s; }
.theme-magnus .mh-bubble { top: 7%; }
@keyframes au-scan { 0% { transform: translateY(-30%); opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { transform: translateY(300%); opacity: 0; } }
@keyframes au-chip { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-6px); opacity: 1; } }
@keyframes mh-lens { 0% { transform: rotate(0deg); } 25% { transform: rotate(-16deg); } 50% { transform: rotate(6deg); } 75% { transform: rotate(-10deg); } 100% { transform: rotate(0deg); } }
@keyframes mh-wave-a { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-12deg); } }
[data-mascot="magnus"].is-wave .mh-svg .mh-arm { animation: mh-wave-a .5s ease-in-out infinite; }
[data-mascot="magnus"].is-scan .mh-svg .mh-arm { animation: mh-lens .9s ease-in-out; }
[data-mascot="magnus"].is-scan .mh-rig { animation: mh-squash .7s ease; }
[data-mascot="magnus"].is-scan .mh-scan__beam { animation: au-scan .9s ease-in-out; }
@media (max-width: 900px) { .mh-chips li { font-size: 11px; padding: 5px 10px 5px 7px; } .mh-chips li:nth-child(1) { left: 0; } .mh-chips li:nth-child(2) { right: -2%; } }
@media (prefers-reduced-motion: reduce) { .mh-scan__beam, .mh-chips li { animation: none !important; } .mh-scan__beam { opacity: 0; } }
.theme-magnus .sk-card { position: relative; overflow: hidden; }
.theme-magnus .sk-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; opacity: .85;
  background: linear-gradient(90deg, #86d0c5 0 var(--p, 72%), rgba(134, 208, 197, 0.16) var(--p, 72%)); }
.theme-magnus .sk-card:nth-child(3n+2)::before { --p: 48%; }
.theme-magnus .sk-card:nth-child(3n)::before { --p: 90%; }
.theme-magnus .sk-num { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.theme-magnus .sk-h2::after { content: ""; display: block; width: 46px; height: 46px; margin: 22px auto 0; opacity: .75;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46' fill='none' stroke='%2386d0c5' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='19' cy='19' r='12'/%3E%3Cpath d='m28 28 11 11'/%3E%3Cpath d='M13.5 19.5 17.5 23 24.5 15.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-magnus .ct-form { border-color: rgba(134, 208, 197, 0.3); }

/* Magnus: an illustrated report (cover, scorecard, action plan), not a real audit */
.au-report { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 900px; margin: 52px auto 0; padding: 34px; border-radius: 26px;
  background: linear-gradient(180deg, #0d1111, #080a0a); border: 1px solid rgba(255, 255, 255, 0.08); }
.au-page { position: relative; display: flex; flex-direction: column; gap: 12px; aspect-ratio: 8.5 / 11; padding: 18px 16px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, #0f2a28, #0a1d1c); border: 1px solid rgba(134, 208, 197, 0.18); box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.9); animation: au-page 7s ease-in-out infinite; }
.au-page:nth-child(2) { animation-delay: .35s; }
.au-page:nth-child(3) { animation-delay: .7s; }
.au-page--cover { justify-content: center; background: radial-gradient(90% 60% at 70% 20%, #1d4f4a, #0a1d1c 70%); }
.au-kicker { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #86d0c5; }
.au-title { font-size: clamp(15px, 2vw, 22px); font-weight: 700; line-height: 1.1; color: #f4f8f8; letter-spacing: -0.01em; }
.au-line { display: block; height: 6px; width: 70%; border-radius: 3px; background: rgba(233, 241, 240, 0.18); }
.au-line--s { width: 45%; }
.au-foot { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(233, 241, 240, 0.12); }
.au-foot i { flex: 1; height: 5px; border-radius: 3px; background: rgba(233, 241, 240, 0.14); }
.au-bars, .au-tasks { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.au-bars li { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; }
.au-bars b { font-size: 9px; font-weight: 600; color: #b4bdbc; }
.au-bars i, .au-tasks i { display: block; height: 7px; border-radius: 4px; background: rgba(233, 241, 240, 0.1); position: relative; overflow: hidden; }
.au-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: #3fb98a; transform-origin: 0 50%; animation: au-fill 7s ease-in-out infinite; }
.au-bars i.is-y::after { background: #e8b84a; }
.au-bars i.is-r::after { background: #e5484d; }
.au-tasks li { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 8px; }
.au-tasks i { width: 9px; height: 9px; border-radius: 50%; background: #3fb98a; }
.au-tasks i.is-y { background: #e8b84a; }
.au-tasks i.is-r { background: #e5484d; }
.au-tasks span { height: 6px; border-radius: 3px; background: rgba(233, 241, 240, 0.18); }
.au-tasks li:nth-child(2n) span { width: 80%; }
.au-tasks em { font-style: normal; font-size: 9px; font-weight: 600; color: #7d8786; }
.au-note { margin: 14px auto 0; max-width: 900px; text-align: center; font-size: 13px; color: #7d8786; }
.au-note + .sk-grid { margin-top: 44px; }
@keyframes au-page { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes au-fill { 0%, 10% { transform: scaleX(0); } 35%, 100% { transform: scaleX(1); } }
@media (max-width: 640px) {
  .au-report { gap: 10px; padding: 16px 12px; }
  .au-page { padding: 10px 8px; gap: 7px; border-radius: 7px; }
  .au-kicker { font-size: 6px; }
  .au-title { font-size: 11px; }
  .au-bars li { grid-template-columns: 1fr; gap: 2px; }
  .au-bars b, .au-tasks em { font-size: 6px; }
  .au-bars, .au-tasks { gap: 4px; }
  .au-bars b { line-height: 1.1; }
  .au-bars i { height: 4px; }
  .au-foot { left: 8px; right: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .au-page, .au-bars i::after { animation: none; } }

/* ---------- Rio theme: the trend surfer (behaviour in rio-hero.js) ---------- */
.rio-hero { position: relative; isolation: isolate; width: 100%; max-width: 600px; margin: 0 auto; aspect-ratio: 600 / 440; }
.rio-hero::before { content: ""; position: absolute; left: 50%; top: 46%; z-index: -1; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(111, 184, 174, 0.16) 0deg 8deg, transparent 8deg 22deg);
  -webkit-mask: radial-gradient(closest-side, #000 10%, rgba(0, 0, 0, 0.45) 40%, transparent 66%); mask: radial-gradient(closest-side, #000 10%, rgba(0, 0, 0, 0.45) 40%, transparent 66%);
  animation: mh-spin 120s linear infinite; }
.rio-hero::after { content: ""; position: absolute; left: 50%; top: 48%; z-index: -1; width: 64%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(42, 107, 102, 0.55), rgba(11, 47, 44, 0.2) 60%, transparent 100%); }
.rio-hero__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible;
  -webkit-mask: radial-gradient(ellipse 58% 60% at 50% 46%, #000 70%, transparent 100%); mask: radial-gradient(ellipse 58% 60% at 50% 46%, #000 70%, transparent 100%); }
.rio-hero__svg > g[opacity] { display: none; }
.rio-hero__svg [data-mouth]:not([data-mouth="X"]) { opacity: 0; }
.rio-hero__hit { all: unset; position: absolute; inset: 0; z-index: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rio-hero__hit:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 24px; }
.rio-hero .mh-bubble { top: 5%; left: 54%; max-width: 70%; z-index: 2; }
.rio-hero .mh-hint { bottom: 10px; }
@media (max-width: 900px) { .rio-hero { order: -1; max-width: 520px; } .rio-hero .mh-bubble { font-size: 13px; padding: 9px 14px; } }
.theme-rio .sk-card { position: relative; overflow: hidden; }
.theme-rio .sk-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; opacity: .8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M0 7 C10 7 12 2 20 2 S30 7 40 7 S52 3 60 3' fill='none' stroke='%2386d0c5' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 60px 10px repeat-x; }
.theme-rio .sk-h2::after { content: ""; display: block; width: 56px; height: 30px; margin: 22px auto 0; opacity: .75;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 30' fill='none' stroke='%2386d0c5' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M2 24 C12 24 16 20 22 14 S34 4 42 6 C50 8 52 16 46 18 C42 19 40 15 43 13'/%3E%3Ccircle cx='22' cy='14' r='2.4' fill='%2386d0c5'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-rio .ct-form { border-color: rgba(134, 208, 197, 0.3); }
/* report illustration extras: trend bars and a month calendar */
.au-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 4px; }
.au-cal i { aspect-ratio: 1; border-radius: 3px; background: rgba(233, 241, 240, 0.08); }
.au-cal i.is-p { background: #86d0c5; } .au-cal i.is-c { background: #b6a8f0; } .au-cal i.is-s { background: #e8b84a; }
.au-bars i.is-t::after { background: #86d0c5; }
@media (prefers-reduced-motion: reduce) { .rio-hero::before { animation: none; } .rio-hero .mh-bubble { transform: translate(-50%, 0); } }

/* ---------- Juno theme: the content planner (a social post with a face; the posts of the week float around it) ---------- */
[data-mascot="juno"] .mh-char { height: 70%; bottom: 5%; }
[data-mascot="juno"] .mh-rig { transform-origin: 540px 1650px; }
[data-mascot="juno"] .mh-svg [data-look] { transform-origin: 540px 1650px; }
[data-mascot="juno"] .mh-svg .mh-arm { transform-origin: 768px 1250px; }
.theme-juno .mh-bubble { top: 7%; }
@keyframes mh-like { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-14deg); } 60% { transform: rotate(6deg); } }
[data-mascot="juno"].is-wave .mh-svg .mh-arm { animation: mh-wave-a .5s ease-in-out infinite; }
[data-mascot="juno"].is-hop .mh-svg .mh-arm { animation: mh-like .55s ease-in-out; }
[data-mascot="juno"] .mh-chips li:nth-child(1) { left: 0; top: 30%; }
[data-mascot="juno"] .mh-chips li:nth-child(2) { right: -4%; top: 47%; }
[data-mascot="juno"] .mh-chips li:nth-child(3) { left: -2%; top: 58%; }
[data-mascot="juno"] .mh-chips li:nth-child(4) { right: -6%; top: 84%; }
@media (max-width: 600px) {
  [data-mascot="juno"] .mh-chips li:nth-child(2), [data-mascot="juno"] .mh-chips li:nth-child(4) { display: none; }
  [data-mascot="juno"] .mh-chips li:nth-child(1) { left: 0; top: 34%; }
  [data-mascot="juno"] .mh-chips li:nth-child(3) { left: 0; top: 82%; }
}

/* ---------- Otto theme: the ad maker (a megaphone with a face; the ad sizes float around it) ---------- */
[data-mascot="otto"] .mh-char { height: 72%; bottom: 5%; }
[data-mascot="otto"] .mh-rig { transform-origin: 540px 1650px; }
[data-mascot="otto"] .mh-svg [data-look] { transform-origin: 540px 1650px; }
[data-mascot="otto"] .mh-svg .mh-arm { transform-origin: 800px 1100px; }
.theme-otto .mh-bubble { top: 6%; }
[data-mascot="otto"].is-wave .mh-svg .mh-arm { animation: mh-wave-a .5s ease-in-out infinite; }
[data-mascot="otto"].is-hop .mh-svg .mh-arm { animation: mh-like .55s ease-in-out; }
[data-mascot="otto"] .mh-chips li:nth-child(1) { left: -2%; top: 30%; }
[data-mascot="otto"] .mh-chips li:nth-child(2) { right: -4%; top: 50%; }
[data-mascot="otto"] .mh-chips li:nth-child(3) { left: -2%; top: 62%; }
[data-mascot="otto"] .mh-chips li:nth-child(4) { right: -6%; top: 84%; }
@media (max-width: 600px) {
  [data-mascot="otto"] .mh-chips li:nth-child(2), [data-mascot="otto"] .mh-chips li:nth-child(4) { display: none; }
  [data-mascot="otto"] .mh-chips li:nth-child(1) { left: 0; top: 34%; }
  [data-mascot="otto"] .mh-chips li:nth-child(3) { left: 0; top: 82%; }
}

/* ---------- Paige theme: the blog writer (an open book with a fountain pen; the article parts float around it) ---------- */
[data-mascot="paige"] .mh-char { height: 72%; bottom: 5%; }
[data-mascot="paige"] .mh-rig { transform-origin: 540px 1650px; }
[data-mascot="paige"] .mh-svg [data-look] { transform-origin: 540px 1650px; }
[data-mascot="paige"] .mh-svg .mh-arm { transform-origin: 800px 1250px; }
.theme-paige .mh-bubble { top: 6%; }
[data-mascot="paige"].is-wave .mh-svg .mh-arm { animation: mh-wave-a .5s ease-in-out infinite; }
[data-mascot="paige"].is-hop .mh-svg .mh-arm { animation: mh-like .55s ease-in-out; }
[data-mascot="paige"] .mh-chips li:nth-child(1) { left: -2%; top: 30%; }
[data-mascot="paige"] .mh-chips li:nth-child(2) { right: -4%; top: 50%; }
[data-mascot="paige"] .mh-chips li:nth-child(3) { left: -2%; top: 62%; }
[data-mascot="paige"] .mh-chips li:nth-child(4) { right: -6%; top: 84%; }
@media (max-width: 600px) {
  [data-mascot="paige"] .mh-chips li:nth-child(2), [data-mascot="paige"] .mh-chips li:nth-child(4) { display: none; }
  [data-mascot="paige"] .mh-chips li:nth-child(1) { left: 0; top: 34%; }
  [data-mascot="paige"] .mh-chips li:nth-child(3) { left: 0; top: 82%; }
}

/* ---------- Paige theme: the blog writer (an open book with a fountain pen; the article parts float around it) ---------- */
