/* ============================================================
   JUJU — Franchise page · elite layered-depth ("5D") design
   ============================================================ */
.franchise-page {
  --navy: #1d1b3a;
  --navy-2: #2a2752;
  --gold: #f4c24d;
  --gold-2: #ffdf8a;
  --e1: 0 1px 2px rgba(29,27,58,.06);
  --e2: 0 4px 10px rgba(29,27,58,.07);
  --e3: 0 12px 24px rgba(29,27,58,.09);
  --e4: 0 24px 48px rgba(29,27,58,.12);
  --e5: 0 48px 90px rgba(29,27,58,.16);
  --elev: var(--e1), var(--e2), var(--e3), var(--e4), var(--e5);
  --ease-out: cubic-bezier(.22,1,.36,1);
}
.fr { overflow: hidden; }
.fr .reveal { transition-delay: var(--d, 0s); }
.fr h2 { margin: .8rem 0 1rem; font-size: clamp(1.9rem, 3.7vw, 2.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; color: var(--navy); }
.fr h3 { color: var(--navy); }
.fr p { color: #4b5063; }
.fr-sec { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.fr-head { max-width: 820px; margin: 0 auto 3rem; text-align: center; }
.fr-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.fr-split--rev > :first-child { order: 2; }
.fr-strong { color: var(--navy) !important; font-weight: 700; margin-top: 1rem; }
.fr-split p + p { margin-top: .85rem; }
.fr-note { margin-top: 1.2rem !important; padding: .8rem 1rem; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: #fff8e6; color: #6b5a24 !important; font-size: .88rem; font-weight: 600; }
.fr-note--center { max-width: 760px; margin: 2.2rem auto 0 !important; text-align: center; border-left: 0; border-radius: 14px; border: 1.5px dashed #e6c46d; }
.fr-note--light { background: rgba(255,255,255,.08); color: #e6e9ff !important; border-left-color: var(--gold); }
.fr-link { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* kicker & text accents */
.fr-kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--primary), var(--gold), var(--secondary)) border-box;
  border: 2px solid transparent;
  box-shadow: var(--e2), var(--e3);
  color: var(--navy) !important; font-family: var(--font-head); font-weight: 700; font-size: .84rem; letter-spacing: .03em;
}
.fr-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(244,194,77,.25); }
.fr-kicker--light { background: rgba(255,255,255,.08); border: 1.5px solid rgba(244,194,77,.75); color: #fff !important; box-shadow: 0 0 24px rgba(244,194,77,.18); }
.fr-gold { background: linear-gradient(100deg, #f4c24d 0%, #fff1b8 25%, #f4c24d 50%, #e0a21f 75%, #f4c24d 100%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fr-shine 6s linear infinite; }
@keyframes fr-shine { to { background-position: -220% 0; } }
.fr-grad { background: linear-gradient(90deg, var(--primary), #9b5de5 55%, var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.fr-btn {
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
  will-change: transform;
}
.fr-btn--gold { background: linear-gradient(135deg, #ffe08f, #f4c24d 45%, #e0a21f); color: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -3px 0 rgba(0,0,0,.12) inset, 0 10px 24px rgba(244,194,77,.35), 0 24px 48px rgba(29,27,58,.25); }
.fr-btn--gold:hover { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -3px 0 rgba(0,0,0,.12) inset, 0 16px 34px rgba(244,194,77,.5), 0 34px 60px rgba(29,27,58,.3); }
.fr-btn--glass { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fr-btn--glass:hover { background: rgba(255,255,255,.18); }
.fr-btn--dark { background: var(--navy); color: #fff; box-shadow: var(--elev); margin-top: 1.4rem; }

/* ---------- 1 · HERO ---------- */
.fr-hero { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem); background: radial-gradient(1200px 700px at 80% 0%, #3b2f7a 0%, transparent 60%), linear-gradient(160deg, #15132e 0%, #1d1b3a 55%, #24204a 100%); color: #fff; isolation: isolate; }
.fr-aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.fr-aurora i { position: absolute; width: 46vw; aspect-ratio: 1; border-radius: 50%; filter: blur(80px); opacity: .45; animation: fr-drift 18s ease-in-out infinite; }
.fr-aurora i:nth-child(1) { background: #ec1c8c; left: -10vw; top: -14vw; }
.fr-aurora i:nth-child(2) { background: #18b9ad; right: -12vw; top: 10%; animation-delay: -6s; }
.fr-aurora i:nth-child(3) { background: #9b5de5; left: 30%; bottom: -24vw; animation-delay: -12s; }
@keyframes fr-drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw, 4vw) scale(1.15); } }
.fr-floor { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%; z-index: -1; background-image: linear-gradient(rgba(244,194,77,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(244,194,77,.22) 1px, transparent 1px); background-size: 60px 60px; transform: perspective(600px) rotateX(62deg); transform-origin: bottom; mask-image: linear-gradient(to top, #000 10%, transparent 85%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); animation: fr-grid 6s linear infinite; }
@keyframes fr-grid { to { background-position: 0 60px, 0 0; } }
.fr-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.fr-eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.06); color: #e7e5ff !important; font-weight: 700; font-size: .86rem; backdrop-filter: blur(8px); }
.fr-eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.fr-hero h1 { margin: 1.2rem 0 1rem; color: #fff; font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
.fr-tagline { color: var(--gold-2) !important; font-family: var(--font-head); font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; }
.fr-lead { max-width: 560px; margin-top: .8rem; color: #cfd0ea !important; font-size: 1.04rem; }
.fr-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.fr-hero-actions--center { justify-content: center; }
.fr-hero-stats { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.fr-hero-stats li { padding: .8rem 1.1rem; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.fr-hero-stats b { display: block; color: var(--gold); font-family: var(--font-head); font-size: 1.8rem; line-height: 1; }
.fr-hero-stats span { color: #cfd0ea; font-size: .78rem; font-weight: 600; }
.fr-crumb { margin-top: 1.4rem; color: #a9abd0 !important; font-size: .84rem; }
.fr-crumb a { color: var(--gold); }

.fr-hero-art { position: relative; aspect-ratio: 1 / .95; transform-style: preserve-3d; perspective: 1200px; }
.fr-layer { position: absolute; inset: 0; transition: transform .25s ease-out; will-change: transform; }
.fr-halo { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(244,194,77,.45), rgba(155,93,229,.25) 45%, transparent 70%); filter: blur(10px); animation: fr-pulse 5s ease-in-out infinite; }
@keyframes fr-pulse { 50% { transform: scale(1.08); opacity: .8; } }
.fr-school { position: absolute; inset: 4% 4% 0; width: 92%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); animation: fr-bob 7s ease-in-out infinite; }
@keyframes fr-bob { 50% { transform: translateY(-10px); } }
.fr-float { position: absolute; padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.35); border-radius: 16px; background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,255,255,.82)); color: var(--navy); box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 2px 0 rgba(255,255,255,.8) inset; animation: fr-bob 6s ease-in-out infinite; }
.fr-float b { display: block; font-family: var(--font-head); font-size: .98rem; }
.fr-float small { color: var(--muted); font-size: .74rem; font-weight: 600; }
.fr-float::before { content: ""; position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; translate: 0 -50%; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(244,194,77,.3); }
.fr-f1 { left: -4%; top: 16%; }
.fr-f2 { right: -2%; top: 46%; animation-delay: -2s; }
.fr-f3 { left: 6%; bottom: 6%; animation-delay: -4s; }
.fr-spark { position: absolute; width: 14px; height: 14px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: fr-twinkle 3s ease-in-out infinite; }
.fr-spark:nth-child(2) { animation-delay: -1s; background: #fff; }
.fr-spark:nth-child(3) { animation-delay: -2s; background: #18b9ad; }
@keyframes fr-twinkle { 50% { transform: scale(1.6) rotate(45deg); opacity: .5; } }

/* ---------- INTRO ---------- */
.fr-intro { padding-top: clamp(3.5rem, 6vw, 5rem); }
.fr-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.fr-intro-grid p + p { margin-top: .9rem; }
.fr-intro-quote { position: relative; padding: clamp(1.8rem, 3.5vw, 2.8rem); border-radius: 28px; background: linear-gradient(150deg, var(--navy), #3b2f7a); box-shadow: var(--elev); transform: rotate(-1.5deg); }
.fr-intro-quote::before { content: "“"; position: absolute; top: -.35em; left: .35em; color: var(--gold); font-family: Georgia, serif; font-size: 7rem; line-height: 1; }
.fr-intro-quote p { color: #fff !important; font-family: var(--font-head); font-size: clamp(1.4rem, 2.5vw, 1.95rem); font-weight: 700; line-height: 1.2; }
.fr-intro-quote span { display: block; margin-top: .5rem; color: var(--gold); }

/* ---------- 2 · WHY spotlight cards ---------- */
.fr-why { background: linear-gradient(180deg, #fff 0%, #f7f5ff 100%); }
.fr-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.fr-spot {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden;
  padding: 1.8rem 1.4rem 1.5rem;
  border-radius: 24px;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 16%, transparent), transparent 45%), #fff;
  border: 1px solid rgba(29,27,58,.07);
  box-shadow: var(--e1), var(--e2), var(--e3);
  transform-style: preserve-3d;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.fr-spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: radial-gradient(260px circle at var(--mx) var(--my), var(--c), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.fr-spot:hover { box-shadow: var(--elev); }
.fr-spot:hover::after { opacity: 1; }
.fr-spot-n { position: absolute; right: 1rem; top: .6rem; font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c) 45%, transparent); }
.fr-spot-ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.1rem; border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 85%, #fff), var(--c)); color: #fff; box-shadow: 0 10px 20px color-mix(in srgb, var(--c) 40%, transparent), 0 1px 0 rgba(255,255,255,.5) inset; transform: translateZ(30px); }
.fr-spot-ic svg, .fr-draw-checks svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fr-spot h3 { font-size: 1.12rem; line-height: 1.25; margin-bottom: .45rem; transform: translateZ(20px); }
.fr-spot p { font-size: .88rem; line-height: 1.5; }

/* ---------- 3 · MODEL tower ---------- */
.fr-tower-stage { display: grid; place-items: center; min-height: 480px; perspective: 1400px; }
.fr-tower { position: relative; width: 260px; height: 400px; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-38deg); animation: fr-tower 16s ease-in-out infinite; }
@keyframes fr-tower { 50% { transform: rotateX(-24deg) rotateY(-14deg); } }
.fr-floor-box { --h: 80px; --w: 230px; position: absolute; left: 15px; bottom: calc(var(--i) * (var(--h) + 14px)); width: var(--w); height: var(--h); transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.fr-floor-box::before, .fr-floor-box::after, .fr-floor-box span { position: absolute; }
.fr-floor-box span { inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; text-shadow: 0 2px 6px rgba(0,0,0,.25); transform: translateZ(calc(var(--w) / 2)); border-radius: 6px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.fr-floor-box::before { content: ""; inset: 0; background: var(--c2); transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); border-radius: 6px; }
.fr-floor-box::after { content: ""; left: 0; top: calc((var(--h) - var(--w)) / 2); width: var(--w); height: var(--w); background: color-mix(in srgb, var(--c) 65%, #fff); transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); border-radius: 6px; }
.fr-tower-stage:hover .fr-floor-box { transform: translateX(calc(var(--i) * 10px)) translateY(calc(var(--i) * -12px)); }
.fr-prog-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0 1rem; padding: 0; list-style: none; }
.fr-prog-pills li { padding: .55rem 1rem; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 700; font-size: .92rem; box-shadow: var(--e2), var(--e3); border-left: 5px solid var(--c); }

/* ---------- 4 · SUPPORT stages (dark, scroll meter) ---------- */
.fr-support { background: radial-gradient(900px 500px at 10% 0%, #3b2f7a, transparent 60%), linear-gradient(180deg, #1d1b3a, #15132e); }
.fr-support h2 { color: #fff; }
.fr-support .fr-head p { color: #cfd0ea; }
.fr-stages { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.fr-stage-meter { position: sticky; top: 140px; width: 220px; aspect-ratio: 1; margin-inline: auto; }
.fr-stage-meter svg { width: 100%; height: 100%; transform: rotate(-90deg); filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.fr-stage-meter circle { fill: none; stroke-width: 10; }
.fr-stage-meter .trk { stroke: rgba(255,255,255,.1); }
.fr-stage-meter .bar { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 20)); transition: stroke-dashoffset .6s var(--ease-out); }
.fr-meter-txt { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; }
.fr-meter-txt b { color: #fff; font-family: var(--font-head); font-size: 4rem; line-height: 1; }
.fr-meter-txt small { color: #a9abd0; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.fr-stage-list { display: grid; gap: 1.4rem; }
.fr-stage {
  position: relative; padding: 1.7rem 1.8rem; border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
  opacity: .45; transform: scale(.97) translateX(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), border-color .6s;
}
.fr-stage.is-active { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 0 60px color-mix(in srgb, var(--c) 25%, transparent); }
.fr-stage-tag { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--c); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.fr-stage h3 { margin: .6rem 0 .8rem; color: #fff; font-size: 1.4rem; }
.fr-stage ul { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.fr-stage li { position: relative; padding-left: 1.3rem; color: #d7d8f0; font-size: .92rem; line-height: 1.4; }
.fr-stage li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 2px; background: var(--c); rotate: 45deg; }

/* ---------- 5 · WHO ---------- */
.fr-who { background: #fff; }
.fr-marquee { display: grid; gap: 1rem; padding: .5rem 0 1rem; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.fr-mq-track { display: flex; gap: 1rem; width: max-content; animation: fr-mq 40s linear infinite; }
.fr-mq-rev { animation-direction: reverse; animation-duration: 34s; }
.fr-marquee:hover .fr-mq-track { animation-play-state: paused; }
@keyframes fr-mq { to { transform: translateX(-50%); } }
.fr-mq-track span { display: inline-flex; align-items: center; gap: .7rem; padding: 1rem 1.4rem; border-radius: 18px; background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; white-space: nowrap; box-shadow: var(--e1), var(--e2), var(--e3); border: 1px solid rgba(29,27,58,.06); }
.fr-mq-track span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 20%, transparent); }
.fr-ideal { max-width: 900px; margin: 3rem auto 0; padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: 28px; background: linear-gradient(160deg, #fffaf0, #fff); box-shadow: var(--elev); border: 1px solid #f3e3b5; }
.fr-ideal h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.fr-draw-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.fr-draw-checks li { display: flex; gap: .8rem; align-items: flex-start; color: var(--navy); font-weight: 600; line-height: 1.4; }
.fr-draw-checks svg { flex: 0 0 auto; width: 30px; height: 30px; padding: 4px; border-radius: 10px; background: var(--navy); color: var(--gold); stroke-width: 3; }
.fr-draw-checks path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .7s var(--ease-out); }
.fr-ideal.visible .fr-draw-checks path { stroke-dashoffset: 0; }
.fr-ideal.visible li:nth-child(2) path { transition-delay: .12s; } .fr-ideal.visible li:nth-child(3) path { transition-delay: .24s; } .fr-ideal.visible li:nth-child(4) path { transition-delay: .36s; } .fr-ideal.visible li:nth-child(5) path { transition-delay: .48s; } .fr-ideal.visible li:nth-child(6) path { transition-delay: .6s; }

/* ---------- 6 · BLUEPRINT ---------- */
.fr-blue { background: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(160deg, #0f3d7a, #0b2d5c); }
.fr-blue h2 { color: #fff; }
.fr-blue p { color: #d4e4ff; }
.fr-blue .fr-strong { color: #fff !important; }
.fr-plan { position: relative; padding: 1.4rem; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; background: rgba(255,255,255,.04); box-shadow: 0 40px 80px rgba(0,0,0,.35); transform: perspective(1200px) rotateY(10deg) rotateX(6deg); transition: transform .8s var(--ease-out); }
.fr-plan:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.fr-plan-svg { display: block; width: 100%; height: auto; }
.fr-plan-svg .draw * { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.6s var(--ease-out); }
.fr-plan-svg .lbl text { opacity: 0; transition: opacity .6s 1.6s; }
.fr-plan.visible .draw * { stroke-dashoffset: 0; }
.fr-plan.visible .lbl text { opacity: .95; }
.fr-plan-stamp { position: absolute; right: -14px; bottom: -18px; display: grid; place-items: center; width: 116px; height: 116px; border: 3px solid var(--gold); border-radius: 50%; background: #0b2d5c; color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: .9rem; line-height: 1.15; text-align: center; rotate: -12deg; box-shadow: 0 0 0 6px rgba(244,194,77,.15), 0 20px 40px rgba(0,0,0,.35); }
.fr-blue-list { display: grid; gap: .55rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.fr-blue-list li { position: relative; padding: .55rem .9rem .55rem 2.4rem; border: 1px dashed rgba(255,255,255,.3); border-radius: 10px; background: rgba(255,255,255,.04); color: #fff; font-size: .92rem; font-weight: 600; transition: background .3s, transform .3s var(--ease-out); }
.fr-blue-list li::before { content: ""; position: absolute; left: .85rem; top: 50%; width: 14px; height: 14px; translate: 0 -50%; border: 2px solid var(--gold); border-radius: 3px; }
.fr-blue-list li:hover { background: rgba(255,255,255,.1); transform: translateX(6px); }

/* ---------- 7 · ECOSYSTEM cylinder ---------- */
.fr-eco { background: linear-gradient(180deg, #fff, #fff7fb); }
.fr-carousel-stage { position: relative; display: grid; place-items: center; height: 460px; perspective: 1200px; }
.fr-carousel { --r: 240px; position: relative; width: 152px; height: 200px; transform-style: preserve-3d; animation: fr-rot 28s linear infinite; }
.fr-carousel-stage:hover .fr-carousel { animation-play-state: paused; }
@keyframes fr-rot { from { transform: rotateX(-8deg) rotateY(0); } to { transform: rotateX(-8deg) rotateY(-360deg); } }
.fr-ct { position: absolute; inset: 0; overflow: hidden; border-radius: 22px; border: 3px solid #fff; background: var(--c); transform: rotateY(calc(var(--i) * 40deg)) translateZ(var(--r)); box-shadow: 0 0 0 3px var(--c), 0 24px 44px rgba(29,27,58,.28); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fr-ct picture, .fr-ct img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fr-ct::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--c) 0%, color-mix(in srgb, var(--c) 55%, transparent) 22%, transparent 42%); }
.fr-ct-tag { position: absolute; z-index: 1; left: 10px; top: 10px; padding: .2rem .55rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--navy); font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.fr-ct-txt { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: .7rem .8rem; color: #fff; text-align: left; line-height: 1.05; }
.fr-ct-txt b { display: block; font-family: var(--font-head); font-size: 1.4rem; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.fr-ct-txt small { font-weight: 700; font-size: .78rem; opacity: .95; }
.fr-carousel-base { position: absolute; bottom: 40px; width: 520px; max-width: 100%; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(155,93,229,.28), transparent); }

/* ---------- 8 · MARKETING phone ---------- */
.fr-mkt { background: #fff; }
.fr-phone-stage { position: relative; display: grid; place-items: center; min-height: 520px; perspective: 1400px; }
.fr-phone { position: relative; width: 250px; height: 500px; padding: 12px; border-radius: 44px; background: linear-gradient(160deg, #3a3766, #1d1b3a); box-shadow: 0 0 0 2px #4a4680 inset, var(--elev), 30px 40px 80px rgba(29,27,58,.25); transform: rotateY(-18deg) rotateX(8deg) rotateZ(3deg); transition: transform .8s var(--ease-out); }
.fr-phone-stage:hover .fr-phone { transform: rotateY(-4deg) rotateX(2deg); }
.fr-notch { position: absolute; left: 50%; top: 18px; width: 90px; height: 22px; translate: -50% 0; border-radius: 0 0 14px 14px; background: #1d1b3a; z-index: 2; }
.fr-screen { height: 100%; border-radius: 34px; padding: 44px 16px 16px; background: linear-gradient(180deg, #fff0f7, #f1fbf8); overflow: hidden; }
.fr-scr-h { color: var(--navy) !important; font-family: var(--font-head); font-weight: 800; font-size: .9rem; }
.fr-scr-hero { margin-top: .8rem; padding: 1rem; border-radius: 18px; background: linear-gradient(135deg, var(--primary), #9b5de5); color: #fff; box-shadow: 0 12px 24px rgba(236,28,140,.35); }
.fr-scr-hero b { display: block; font-family: var(--font-head); font-size: 1.25rem; }
.fr-scr-hero small { font-size: .7rem; opacity: .95; }
.fr-scr-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.fr-scr-row i { height: 64px; border-radius: 14px; background: var(--c); opacity: .9; }
.fr-scr-bar { height: 10px; margin-top: 16px; border-radius: 999px; background: #e9e4fb; overflow: hidden; }
.fr-scr-bar span { display: block; height: 100%; width: 70%; background: linear-gradient(90deg, var(--secondary), var(--green)); animation: fr-bar 4s ease-in-out infinite; }
@keyframes fr-bar { 0% { width: 10%; } 70%,100% { width: 92%; } }
.fr-notif { position: absolute; right: 0; display: flex; flex-direction: column; min-width: 220px; padding: .8rem 1rem .8rem 3rem; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border: 1px solid rgba(29,27,58,.06); box-shadow: var(--elev); animation: fr-notif 7.2s var(--ease-out) infinite; animation-delay: var(--d); opacity: 0; }
.fr-notif::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 22px; height: 22px; translate: 0 -50%; border-radius: 8px; background: var(--c); box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 45%, transparent); }
.fr-notif b { color: var(--navy); font-family: var(--font-head); font-size: .95rem; }
.fr-notif small { color: var(--muted); font-size: .75rem; font-weight: 600; }
.fr-notif:nth-of-type(1) { top: 12%; } .fr-notif:nth-of-type(2) { top: 40%; right: -4%; } .fr-notif:nth-of-type(3) { top: 68%; }
@keyframes fr-notif { 0% { opacity: 0; transform: translateX(40px) scale(.9); } 10%,70% { opacity: 1; transform: none; } 85%,100% { opacity: 0; transform: translateY(-20px) scale(.96); } }
.fr-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.fr-chips li { padding: .55rem .95rem; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 600; font-size: .88rem; box-shadow: var(--e1), var(--e2); border: 1px solid rgba(29,27,58,.07); transition: transform .3s var(--ease-out), box-shadow .3s, background .3s, color .3s; }
.fr-chips li:hover { transform: translateY(-4px); box-shadow: var(--e3), var(--e4); background: var(--navy); color: #fff; }

/* ---------- 9 · INVESTMENT glass ---------- */
.fr-invest { background: #15132e; isolation: isolate; overflow: hidden; }
.fr-invest h2 { color: #fff; }
.fr-invest .fr-head p { color: #cfd0ea; }
.fr-blobs { position: absolute; inset: 0; z-index: -1; }
.fr-blobs i { position: absolute; width: 40vw; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: .55; animation: fr-drift 16s ease-in-out infinite; }
.fr-blobs i:nth-child(1) { background: #ec1c8c; left: -8vw; top: 10%; }
.fr-blobs i:nth-child(2) { background: #f4c24d; right: -10vw; top: -10%; animation-delay: -5s; }
.fr-blobs i:nth-child(3) { background: #18b9ad; left: 35%; bottom: -20vw; animation-delay: -10s; }
.fr-glass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.fr-glass { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 140px; padding: 1.3rem; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.25; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 30px 60px rgba(0,0,0,.25); transition: transform .5s var(--ease-out), background .4s; }
.fr-glass:hover { transform: translateY(-8px) scale(1.02); background: linear-gradient(160deg, rgba(255,255,255,.24), rgba(255,255,255,.08)); }
.fr-glass span { color: var(--gold); font-size: .85rem; letter-spacing: .14em; }
.fr-invest-foot { max-width: 760px; margin: 2.8rem auto 0; text-align: center; }
.fr-invest-foot p { color: #cfd0ea !important; }
.fr-invest-foot p + p { margin-top: .7rem; }
.fr-trust { display: inline-block; margin: 1rem 0 .4rem !important; padding: .6rem 1.2rem; border-radius: 999px; background: rgba(244,194,77,.12); border: 1px solid rgba(244,194,77,.5); color: var(--gold-2) !important; font-family: var(--font-head); font-weight: 700; }
.fr-invest-foot .fr-btn { margin-top: 1.6rem; }

/* ---------- 10 · ROAD process ---------- */
.fr-road-sec { background: linear-gradient(180deg, #fff, #f2fbf9); }
.fr-road { position: relative; max-width: 1000px; margin: 0 auto; }
.fr-road-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.fr-road-svg path { fill: none; }
.fr-road-svg #frRoadPath { stroke: #2d3142; stroke-width: 46; stroke-linecap: round; opacity: .9; }
.fr-road-dash { stroke: #fff; stroke-width: 4; stroke-dasharray: 22 22; animation: fr-dash 2s linear infinite; }
@keyframes fr-dash { to { stroke-dashoffset: -44; } }
.fr-road-car { position: absolute; z-index: 3; left: 0; top: 0; width: 58px; height: 58px; translate: -50% -50%; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--gold-2), var(--gold)); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(244,194,77,.3), 0 16px 30px rgba(0,0,0,.25); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; transition: left .15s linear, top .15s linear; }
.fr-road-steps { position: relative; z-index: 2; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.fr-rs { display: flex; gap: 1rem; align-items: flex-start; width: 42%; min-height: 200px; padding-top: 1rem; }
.fr-rs:nth-child(odd) { margin-left: 0; }
.fr-rs:nth-child(even) { margin-left: 58%; }
.fr-rs > div { padding: 1.2rem 1.3rem; border-radius: 20px; background: #fff; box-shadow: var(--elev); border-top: 4px solid var(--c); }
.fr-rs h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.fr-rs p { font-size: .9rem; line-height: 1.5; }
.fr-rs-n { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; box-shadow: 0 10px 20px color-mix(in srgb, var(--c) 45%, transparent); }
.fr-rs--final > div { background: linear-gradient(150deg, var(--navy), #3b2f7a); }
.fr-rs--final h3 { color: var(--gold); }
.fr-rs--final p { color: #e3e4fb; }

/* ---------- 11 · FAQ ---------- */
.fr-faq { background: #fff; }
.fr-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.fr-faq-side { position: sticky; top: 130px; }
.fr-faq-list { display: grid; gap: .9rem; }
.fr-qa { border-radius: 18px; background: #fff; box-shadow: var(--e1), var(--e2), var(--e3); border: 1px solid rgba(29,27,58,.07); overflow: hidden; transition: box-shadow .4s, transform .4s var(--ease-out); }
.fr-qa.open { box-shadow: var(--elev); transform: translateY(-2px); border-color: rgba(244,194,77,.6); }
.fr-qa .faq-question { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.15rem 1.3rem; border: 0; background: none; color: var(--navy); font-family: var(--font-head); font-size: 1.08rem; font-weight: 700; text-align: left; cursor: pointer; }
.fr-qa .faq-question span { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: var(--gold); font-size: 1.3rem; transition: transform .4s var(--ease-out), background .3s; }
.fr-qa.open .faq-question span { transform: rotate(135deg); background: var(--gold); color: var(--navy); }
.fr-qa .faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.fr-qa .faq-answer p { padding: 0 1.3rem 1.2rem; font-size: .95rem; }

/* ---------- 12 · FINAL ---------- */
.fr-final { padding-top: 2rem; }
.fr-final-card { position: relative; overflow: hidden; padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); border-radius: 40px; text-align: center; background: radial-gradient(800px 400px at 50% -10%, #4b3a9a, transparent 70%), linear-gradient(160deg, #1d1b3a, #15132e); box-shadow: var(--elev); isolation: isolate; }
.fr-final-card h2 { color: #fff; }
.fr-final-card > p { max-width: 760px; margin: 0 auto; color: #cfd0ea !important; }
.fr-final-strong { margin-top: 1rem !important; color: #fff !important; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; }
.fr-final-depth { position: absolute; inset: 0; z-index: -1; perspective: 800px; }
.fr-final-depth i { position: absolute; border-radius: 30%; border: 2px solid rgba(244,194,77,.35); animation: fr-depth 14s ease-in-out infinite; }
.fr-final-depth i:nth-child(1) { width: 120px; height: 120px; left: 6%; top: 14%; }
.fr-final-depth i:nth-child(2) { width: 70px; height: 70px; right: 10%; top: 12%; border-color: rgba(236,28,140,.45); animation-delay: -3s; }
.fr-final-depth i:nth-child(3) { width: 160px; height: 160px; right: 4%; bottom: -40px; border-color: rgba(24,185,173,.45); animation-delay: -6s; }
.fr-final-depth i:nth-child(4) { width: 50px; height: 50px; left: 4%; bottom: 38%; background: rgba(244,194,77,.18); animation-delay: -9s; }
.fr-final-depth i:nth-child(5) { width: 90px; height: 90px; left: 44%; top: -30px; border-color: rgba(155,93,229,.5); animation-delay: -11s; }
@keyframes fr-depth { 0%,100% { transform: rotateX(0) rotateY(0) translateZ(0); } 50% { transform: rotateX(40deg) rotateY(50deg) translateZ(80px); } }
.fr-contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem 1.6rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.fr-contact div { display: flex; flex-direction: column; text-align: center; }
.fr-contact b { color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.fr-contact em { color: var(--gold); font-size: .85rem; }
.fr-contact a { color: #e3e4fb; font-weight: 600; font-size: .92rem; border-bottom: 1px dashed rgba(255,255,255,.3); }
.fr-contact a:hover { color: var(--gold); }
.fr-disclaimer { max-width: 900px; margin: 1.6rem auto 0; color: var(--muted) !important; font-size: .78rem; line-height: 1.6; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .fr-why-grid, .fr-glass-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .fr-hero-grid, .fr-split, .fr-intro-grid, .fr-stages, .fr-faq-grid { grid-template-columns: 1fr; }
  .fr-split--rev > :first-child { order: 0; }
  .fr-hero-art { max-width: 520px; width: 100%; margin: 1rem auto 0; }
  .fr-stage-meter { position: relative; top: 0; width: 160px; }
  .fr-meter-txt b { font-size: 3rem; }
  .fr-faq-side { position: static; }
  .fr-rs, .fr-rs:nth-child(odd), .fr-rs:nth-child(even) { width: auto; margin-left: 70px; min-height: 0; padding-bottom: 1.4rem; }
  .fr-road-svg { display: none; }
  .fr-road::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 14px; border-radius: 999px; background: #2d3142; }
  .fr-road-car { left: 29px !important; }
  .fr-rs { position: relative; }
  .fr-rs-n { position: absolute; left: -66px; }
}
@media (max-width: 600px) {
  .fr-why-grid, .fr-glass-grid, .fr-draw-checks, .fr-stage ul { grid-template-columns: 1fr; }
  .fr-hero-actions .fr-btn, .fr-final .fr-btn { width: 100%; justify-content: center; }
  .fr-hero-stats li { flex: 1 1 30%; padding: .6rem .7rem; }
  .fr-hero-stats b { font-size: 1.4rem; }
  .fr-float { padding: .5rem .7rem; }
  .fr-float b { font-size: .82rem; }
  .fr-float small { display: none; }
  .fr-tower { transform: scale(.8) rotateX(-24deg) rotateY(-38deg); }
  .fr-tower-stage { min-height: 400px; }
  .fr-carousel { --r: 190px; width: 118px; height: 152px; }
  .fr-ct-txt b { font-size: 1.05rem; }
  .fr-ct-tag { display: none; }
  .fr-carousel-stage { height: 320px; }
  .fr-phone { width: 210px; height: 420px; }
  .fr-phone-stage { min-height: 460px; }
  .fr-notif { min-width: 180px; padding-left: 2.6rem; }
  .fr-notif b { font-size: .82rem; }
  .fr-plan-stamp { width: 86px; height: 86px; font-size: .72rem; right: 0; }
  .fr-mq-track span { font-size: .9rem; padding: .8rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fr *, .fr *::before, .fr *::after { animation: none !important; }
  .fr-notif { opacity: 1; position: relative; right: auto; top: auto !important; margin-top: .6rem; }
}

/* ============ Franchise enquiry modal ============ */
.frm { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.frm[hidden] { display: none; }
.frm-backdrop { position: absolute; inset: 0; background: rgba(13,12,30,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: frm-fade .35s ease both; }
@keyframes frm-fade { from { opacity: 0; } }
.frm-panel { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; width: min(980px, 100%); max-height: calc(100vh - 32px); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 50px 120px rgba(0,0,0,.45); animation: frm-in .55s var(--ease-out) both; transform-origin: 50% 60%; }
@keyframes frm-in { from { opacity: 0; transform: perspective(1200px) rotateX(10deg) translateY(40px) scale(.94); } }
.frm-side { position: relative; overflow: hidden; padding: 2.4rem 2rem; background: radial-gradient(600px 300px at 0% 0%, #4b3a9a, transparent 60%), linear-gradient(160deg, #1d1b3a, #15132e); color: #fff; }
.frm-side-glow { position: absolute; width: 320px; aspect-ratio: 1; right: -120px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(244,194,77,.5), transparent 65%); animation: fr-pulse 5s ease-in-out infinite; }
.frm-side-k { color: var(--gold) !important; font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.frm-side h3 { margin: .7rem 0 1.6rem; color: #fff; font-size: 1.7rem; line-height: 1.15; }
.frm-side h3 span { color: var(--gold); }
.frm-side-steps { position: relative; display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.frm-side-steps::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), rgba(244,194,77,.15)); }
.frm-side-steps li { position: relative; display: flex; align-items: center; gap: .8rem; color: #e3e4fb; font-weight: 600; font-size: .95rem; }
.frm-side-steps b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #2a2752; border: 2px solid var(--gold); color: var(--gold); font-family: var(--font-head); }
.frm-side-note { position: relative; margin-top: 2rem; padding: .8rem 1rem; border: 1px solid rgba(244,194,77,.4); border-radius: 14px; background: rgba(244,194,77,.08); color: var(--gold-2) !important; font-size: .85rem; font-weight: 600; }
.frm-main { position: relative; overflow-y: auto; padding: 2.2rem 2.2rem 1.8rem; }
.frm-x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 12px; background: #f1effa; color: var(--navy); font-size: 1rem; cursor: pointer; transition: transform .3s var(--ease-out), background .2s; }
.frm-x:hover { transform: rotate(90deg); background: var(--gold); }
.frm-k { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: #fff6dc; color: #8a6510 !important; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.frm-main h2 { margin: .6rem 0 .3rem; color: var(--navy); font-size: 1.75rem; line-height: 1.15; }
.frm-sub { margin-bottom: 1.3rem; font-size: .92rem; }
.frm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.frm-f { position: relative; display: block; }
.frm-f input, .frm-f select, .frm-f textarea { width: 100%; padding: 1.35rem .95rem .55rem; border: 1.5px solid #e2e0ef; border-radius: 14px; background: #faf9ff; color: var(--navy); font: inherit; font-size: .95rem; font-weight: 600; outline: none; transition: border-color .25s, box-shadow .25s, background .25s; appearance: none; -webkit-appearance: none; }
.frm-f textarea { resize: vertical; min-height: 90px; }
.frm-f--sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.frm-f span { position: absolute; left: .95rem; top: 1rem; color: #8b8da6; font-size: .92rem; font-weight: 600; pointer-events: none; transition: transform .25s var(--ease-out), color .25s, font-size .25s; transform-origin: left top; }
.frm-f input:focus, .frm-f select:focus, .frm-f textarea:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(244,194,77,.22); }
.frm-f input:focus + span, .frm-f input:not(:placeholder-shown) + span, .frm-f textarea:focus + span, .frm-f textarea:not(:placeholder-shown) + span, .frm-f select:focus + span, .frm-f select.has-val + span { transform: translateY(-.62rem) scale(.78); color: #b07d0f; }
.frm-f.is-bad input, .frm-f.is-bad select { border-color: #e5484d; background: #fff5f5; }
.frm-f--area { margin-top: .9rem; }
.frm-pills { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1rem 0 0; padding: 0; border: 0; }
.frm-pills legend { float: left; margin-right: .5rem; color: var(--navy); font-weight: 700; font-size: .9rem; }
.frm-pills label { cursor: pointer; }
.frm-pills input { position: absolute; opacity: 0; pointer-events: none; }
.frm-pills span { display: inline-block; padding: .5rem .95rem; border: 1.5px solid #e2e0ef; border-radius: 999px; background: #fff; color: var(--navy); font-size: .86rem; font-weight: 700; transition: all .25s var(--ease-out); }
.frm-pills input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--gold); box-shadow: 0 8px 18px rgba(29,27,58,.25); }
.frm-pills input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.frm-hp { position: absolute; left: -9999px; opacity: 0; }
.frm-consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; color: #4b5063; font-size: .86rem; cursor: pointer; }
.frm-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: 0 0 auto; }
.frm-err { margin-top: .8rem !important; padding: .6rem .9rem; border-radius: 10px; background: #fff0f0; color: #c0272d !important; font-size: .86rem; font-weight: 700; }
.frm-submit { width: 100%; justify-content: center; margin-top: 1.2rem; border: 0; cursor: pointer; font-size: 1.05rem; }
.frm-spin { display: none; width: 20px; height: 20px; border: 3px solid rgba(29,27,58,.25); border-top-color: var(--navy); border-radius: 50%; animation: ab-spin .8s linear infinite; }
.frm-form.is-sending .frm-spin { display: inline-block; }
.frm-form.is-sending .frm-submit { pointer-events: none; opacity: .85; }
.frm-fine { margin-top: .7rem !important; text-align: center; font-size: .78rem; color: #8b8da6 !important; }
.frm-fine b { color: var(--navy); }
.frm-done { display: grid; place-items: center; align-content: center; min-height: 420px; text-align: center; }
.frm-done[hidden] { display: none; }
.frm-done svg { width: 96px; height: 96px; fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.frm-done circle { stroke: var(--gold); stroke-dasharray: 214; stroke-dashoffset: 214; animation: frm-draw .7s .1s var(--ease-out) forwards; }
.frm-done path { stroke: var(--navy); stroke-dasharray: 60; stroke-dashoffset: 60; animation: frm-draw .5s .7s var(--ease-out) forwards; }
@keyframes frm-draw { to { stroke-dashoffset: 0; } }
.frm-done h2 { margin-top: 1rem; }
.frm-done p { max-width: 360px; margin: .4rem auto 0; }
body.frm-open { overflow: hidden; }
@media (max-width: 820px) {
  .frm { padding: 0; align-items: end; }
  .frm-panel { grid-template-columns: 1fr; max-height: 94vh; border-radius: 26px 26px 0 0; }
  .frm-side { display: none; }
  .frm-main { padding: 1.8rem 1.2rem 1.4rem; }
  .frm-grid { grid-template-columns: 1fr; }
  .frm-main h2 { font-size: 1.45rem; padding-right: 2.5rem; }
}

/* ============ Hero art v2 — elegant ============ */
.fr-hero-art--v2 { aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; width: 100%; }
.fr-portal { position: absolute; inset: 0; }
.fr-rings { position: absolute; inset: 0; width: 100%; height: 100%; animation: fr-spin 60s linear infinite; }
@keyframes fr-spin { to { transform: rotate(360deg); } }
.fr-rings .rg { fill: none; stroke: rgba(244,194,77,.18); stroke-width: 1; }
.fr-rings .r2 { stroke-dasharray: 2 8; stroke: rgba(255,255,255,.22); }
.fr-rings .r3 { stroke: rgba(155,93,229,.35); }
.fr-rings .arc { fill: none; stroke: url(#frGoldLine); stroke-width: 2.5; stroke-linecap: round; }
.fr-rings .a2 { stroke-width: 1.5; opacity: .7; }
.fr-rings .dot { fill: #ffe7a3; filter: drop-shadow(0 0 6px #f4c24d); }
.fr-portal-core { position: absolute; inset: 17%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(155,93,229,.55), rgba(59,47,122,.35) 45%, rgba(29,27,58,0) 70%); box-shadow: inset 0 0 80px rgba(244,194,77,.12); animation: fr-breathe 7s ease-in-out infinite; }
@keyframes fr-breathe { 50% { transform: scale(1.05); opacity: .8; } }
.fr-campus { position: absolute; left: 8%; top: 14%; width: 84%; height: auto; animation: fr-hover 9s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); }
@keyframes fr-hover { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fr-win polygon { animation: fr-glow 4s ease-in-out infinite; }
.fr-win polygon:nth-child(2) { animation-delay: -1s; } .fr-win polygon:nth-child(3) { animation-delay: -2s; } .fr-win polygon:nth-child(4) { animation-delay: -3s; }
@keyframes fr-glow { 50% { filter: brightness(1.18) drop-shadow(0 0 6px rgba(255,220,120,.9)); } }
.fr-flag { transform-origin: 256px 19px; animation: fr-flagw 2.6s ease-in-out infinite; }
@keyframes fr-flagw { 50% { transform: scaleX(.86) skewY(-4deg); } }
.fr-sweep { position: absolute; inset: 14% 8% 10%; overflow: hidden; pointer-events: none; -webkit-mask: radial-gradient(circle at 50% 55%, #000 45%, transparent 70%); mask: radial-gradient(circle at 50% 55%, #000 45%, transparent 70%); }
.fr-sweep::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255,240,200,.18), transparent); transform: skewX(-18deg); animation: fr-sweep 7s ease-in-out infinite; }
@keyframes fr-sweep { 0%,40% { left: -40%; } 80%,100% { left: 120%; } }
.fr-orbit { position: absolute; inset: 0; animation: fr-spin 36s linear infinite; }
.fr-chip { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: .6rem; padding: .55rem .9rem .55rem .55rem; border-radius: 16px; background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25); white-space: nowrap; transform: translate(-50%, -50%); animation: fr-spin-r 36s linear infinite; }
@keyframes fr-spin-r { from { transform: translate(-50%,-50%) rotate(0); } to { transform: translate(-50%,-50%) rotate(-360deg); } }
.fr-pos { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(-205px) rotate(calc(-1 * var(--a))); }
.fr-chip > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.fr-chip-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, #ffe7a3, #e0a21f); color: #1d1b3a; flex: 0 0 auto; }
.fr-chip-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fr-chip b { color: #fff; font-family: var(--font-head); font-size: .9rem; }
.fr-chip small { color: #cfd0ea; font-size: .7rem; font-weight: 600; }
.fr-mote { position: absolute; bottom: 8%; width: 5px; height: 5px; border-radius: 50%; background: #ffe7a3; box-shadow: 0 0 10px #f4c24d; opacity: 0; animation: fr-rise var(--t) linear infinite; animation-delay: var(--dl); }
@keyframes fr-rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .6; } 100% { transform: translateY(-380px); opacity: 0; } }
@media (max-width: 600px) {
  .fr-chip { padding: .4rem .6rem .4rem .4rem; }
  .fr-pos { transform: rotate(var(--a)) translateY(-140px) rotate(calc(-1 * var(--a))); }
  .fr-chip small { display: none; }
  .fr-chip-ic { width: 28px; height: 28px; }
  .fr-chip b { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) { .fr-chip { transform: translate(-50%,-50%); } }

/* ============ Support stages v2 — elegant tabs ============ */
.fs { background: radial-gradient(900px 420px at 15% 0%, #ffe9f3 0%, transparent 60%), radial-gradient(900px 420px at 90% 100%, #e8f8f5 0%, transparent 60%), linear-gradient(180deg, #fffdf8, #f8f5ff); overflow: hidden; }
.fs-deco i { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: fr-hover 10s ease-in-out infinite; }
.fs-deco i:nth-child(1) { width: 140px; height: 140px; left: 4%; top: 18%; border: 1.5px solid rgba(244,194,77,.5); }
.fs-deco i:nth-child(2) { width: 70px; height: 70px; right: 8%; top: 12%; background: radial-gradient(circle, rgba(236,28,140,.18), transparent 70%); animation-delay: -3s; }
.fs-deco i:nth-child(3) { width: 220px; height: 220px; right: -60px; bottom: 6%; border: 1.5px dashed rgba(155,93,229,.35); animation-delay: -6s; }
.fs-wrap { max-width: 1060px; margin: 0 auto; }
.fs-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-bottom: 2.4rem; }
.fs-line { position: absolute; left: 10%; right: 10%; top: 30px; height: 3px; border-radius: 3px; background: #ece6d6; }
.fs-line span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #f4c24d, #ec1c8c, #9b5de5); transition: width .8s var(--ease-out); box-shadow: 0 0 12px rgba(244,194,77,.6); }
.fs-tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .95rem; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; text-align: center; }
.fs-bead { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #fff; color: #9a97b3; border: 1.5px solid #e7e1f2; box-shadow: 0 6px 16px rgba(29,27,58,.08); transition: all .5s var(--ease-out); }
.fs-bead svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fs-tab:hover .fs-bead { transform: translateY(-3px); color: var(--c); border-color: color-mix(in srgb, var(--c) 40%, #fff); }
.fs-tab.is-done .fs-bead { color: var(--c); border-color: color-mix(in srgb, var(--c) 45%, #fff); }
.fs-tab.is-on .fs-bead { transform: scale(1.14); color: #fff; border-color: transparent; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: 0 0 0 6px #fff, 0 0 0 8px color-mix(in srgb, var(--c) 35%, transparent), 0 16px 30px color-mix(in srgb, var(--c) 40%, transparent); }
.fs-tab-t { color: #6b6a85; font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2; transition: color .3s; }
.fs-tab-t small { display: block; margin-bottom: .1rem; color: #b3afc6; font-family: var(--font-body); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.fs-tab.is-on .fs-tab-t { color: var(--navy); }
.fs-tab.is-on .fs-tab-t small { color: var(--c); }
.fs-tab:focus-visible .fs-bead { outline: 3px solid var(--gold); outline-offset: 4px; }

.fs-panel { position: relative; overflow: hidden; padding: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 4.5vw, 3.4rem); border-radius: 32px; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 0 #fff inset, 0 30px 70px rgba(29,27,58,.10), 0 8px 20px rgba(29,27,58,.05); }
.fs-panel::before { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); transition: background .6s; }
.fs-panel::after { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 30%, transparent)); transition: background .6s; }
.fs-panel-in { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; grid-template-areas: "num list" "kick list" "title list" "blurb list"; grid-template-rows: auto auto auto 1fr; column-gap: clamp(1.5rem, 4vw, 3.5rem); align-content: start; }
.fs-panel-in.is-anim { animation: fs-in .7s var(--ease-out) both; }
@keyframes fs-in { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
.fs-num { grid-area: num; font-family: var(--font-head); font-size: clamp(4rem, 8vw, 6rem); font-weight: 800; line-height: .9; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #fff), var(--c) 60%, #1d1b3a); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.fs-kick { grid-area: kick; margin-top: .8rem; color: var(--c) !important; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.fs-panel h3 { grid-area: title; margin: .35rem 0 .6rem; color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
.fs-blurb { grid-area: blurb; color: #5b5d75 !important; font-size: 1rem; line-height: 1.6; font-style: italic; }
.fs-list { grid-area: list; display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; align-self: start; }
.fs-list li { position: relative; display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; border-radius: 14px; background: #fff; border: 1px solid #f0ecf7; color: var(--navy); font-weight: 600; font-size: .95rem; box-shadow: 0 4px 12px rgba(29,27,58,.04); transition: transform .3s var(--ease-out), box-shadow .3s; }
.fs-list li::before { content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 50%, transparent); }
.fs-list li:hover { transform: translateX(5px); box-shadow: 0 10px 22px rgba(29,27,58,.08); }
.fs-panel-in.is-anim .fs-list li { animation: fs-li .6s var(--ease-out) both; }
.fs-panel-in.is-anim .fs-list li:nth-child(1) { animation-delay: .12s; } .fs-panel-in.is-anim .fs-list li:nth-child(2) { animation-delay: .19s; } .fs-panel-in.is-anim .fs-list li:nth-child(3) { animation-delay: .26s; } .fs-panel-in.is-anim .fs-list li:nth-child(4) { animation-delay: .33s; } .fs-panel-in.is-anim .fs-list li:nth-child(5) { animation-delay: .40s; } .fs-panel-in.is-anim .fs-list li:nth-child(6) { animation-delay: .47s; }
@keyframes fs-li { from { opacity: 0; transform: translateX(18px); } }
.fs-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.fs-timer span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 40%, #fff)); }
.fs-timer.run span { animation: fs-timer 7s linear forwards; }
.fs-wrap:hover .fs-timer.run span { animation-play-state: paused; }
@keyframes fs-timer { to { width: 100%; } }
@media (max-width: 820px) {
  .fs-track { display: flex; gap: .4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .8rem .2rem 1rem; margin-inline: -4%; padding-inline: 4%; scrollbar-width: none; }
  .fs-track::-webkit-scrollbar { display: none; }
  .fs-tab { flex: 0 0 110px; scroll-snap-align: center; }
  .fs-line { left: 60px; right: 60px; top: 42px; width: auto; min-width: 460px; }
  .fs-panel-in { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "num" "kick" "title" "blurb" "list"; }
  .fs-list { margin-top: 1.2rem; }
  .fs-bead { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .fs-panel-in.is-anim, .fs-panel-in.is-anim .fs-list li { animation: none; } .fs-timer { display: none; } }

/* ============ Infrastructure — 3D isometric school ============ */
.fr-blue .fr-split { grid-template-columns: 1fr; gap: clamp(2rem,4vw,3rem); }
.fr-blue .fr-split--rev > :first-child { order: 2; }
.fr-blue .fr-split > div:not(.fr-iso) { max-width: 980px; margin: 0 auto; text-align: center; }
.fr-blue .fr-split > div:not(.fr-iso) > p { max-width: 760px; margin-inline: auto; }
.fr-blue .fr-blue-list { grid-template-columns: 1fr 1fr 1fr; text-align: left; margin-top: 1.2rem; }
.fr-blue .fr-note--light { text-align: left; }
.fr-iso { max-width: 1040px; margin: 0 auto; width: 100%; }
.fr-iso { position: relative; }
.fr-iso-stage { position: relative; padding: .6rem; border-radius: 28px; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.14), rgba(255,255,255,.02) 65%); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 80px rgba(0,0,0,.35); transform: perspective(1400px) rotateX(4deg); transition: transform .8s var(--ease-out); }
.fr-iso:hover .fr-iso-stage { transform: perspective(1400px) rotateX(0) translateY(-4px); }
.iso-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 24px 24px rgba(0,0,0,.35)); }
/* build-up animation */
.fr-iso .ibase, .fr-iso .ifloor { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.fr-iso .ifloor { transition-delay: .15s; }
.fr-iso .iw, .fr-iso .iwdeco { opacity: 0; transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .7s var(--ease-out), opacity .4s; transition-delay: var(--d, .4s); }
.fr-iso .iwdeco { transition-delay: .75s; transform-origin: 50% 100%; }
.fr-iso .ifu { opacity: 0; transform: translateY(-36px); transition: opacity .5s ease, transform .7s cubic-bezier(.34,1.56,.64,1); transition-delay: var(--d, 1s); }
.fr-iso .ilab { opacity: 0; transform: translateY(8px); transform-box: fill-box; transition: opacity .5s ease, transform .5s var(--ease-out); transition-delay: var(--d, 1.6s); }
.fr-iso.visible .ibase, .fr-iso.visible .ifloor, .fr-iso.visible .ifu, .fr-iso.visible .ilab { opacity: 1; transform: none; }
.fr-iso.visible .iw, .fr-iso.visible .iwdeco { opacity: 1; transform: scaleY(1); }
.fr-iso .ilab { cursor: default; }
.fr-iso.visible .ilab:hover { transform: translateY(-3px); }
.fr-iso .iwin { animation: fr-glow 5s ease-in-out infinite; }
.fr-iso-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.2rem; }
.fr-ib { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 700; font-size: .85rem; backdrop-filter: blur(8px); }
.fr-ib svg { width: 18px; height: 18px; fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .fr-blue .fr-blue-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fr-blue .fr-blue-list { grid-template-columns: 1fr; } .fr-iso-stage { margin-inline: -3%; padding: .2rem; } }
@media (prefers-reduced-motion: reduce) { .fr-iso .ibase, .fr-iso .ifloor, .fr-iso .iw, .fr-iso .iwdeco, .fr-iso .ifu, .fr-iso .ilab { opacity: 1; transform: none; transition: none; } }
