/* GET for Organisations — the school operating system page.
   Builds on get-2026.css: same navy, orange, cyan, Mier A and Inter, same grounds.
   Everything that moves stops under prefers-reduced-motion. */

:root { --head-h: 76px; --violet: #6b4ce6; --green: #13a06b; }

/* Reveal on scroll: a short rise and fade, staggered by --d. */
[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 900ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.os-hero { position: relative; min-height: 100vh; padding: 132px 0 88px; overflow: hidden; display: flex; align-items: center; }
.os-hero .wrap { position: relative; z-index: 2; width: 100%; max-width: 1320px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ground--os .ground__field { background:
  radial-gradient(34% 40% at 80% 22%, rgba(253, 101, 66, 0.78) 0%, transparent 100%),
  radial-gradient(36% 40% at 96% 78%, rgba(107, 76, 230, 0.7) 0%, transparent 100%),
  radial-gradient(40% 42% at 52% 104%, rgba(0, 167, 223, 0.5) 0%, transparent 100%),
  radial-gradient(45% 45% at 6% 8%, #183a6e 0%, transparent 100%),
  linear-gradient(160deg, #0c2345, #091731 70%); }
.os-hero .grid-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%); }
.os-hero h1 { font-size: clamp(44px, 5.6vw, 88px); line-height: 0.98; letter-spacing: -0.03em; }
.os-hero h1 .word { display: inline-block; opacity: 0; transform: translate3d(0, 0.5em, 0) rotate(2deg); filter: blur(8px); animation: word-in 1000ms var(--ease) forwards; animation-delay: calc(120ms + var(--i) * 70ms); }
.os-hero h1 .accent { background: linear-gradient(92deg, #ff8a6a, var(--orange) 40%, #ffb199 70%, var(--orange)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: word-in 1000ms var(--ease) forwards, sheen 7s linear 1.4s infinite; }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
@keyframes sheen { to { background-position: -220% 0; } }
.os-hero .lede { margin-top: 26px; font-size: 20px; max-width: 34ch; }
.os-hero .ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.os-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 7px 12px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--on-dark-2); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--orange)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--orange)) 25%, transparent); }
.hero-in { opacity: 0; transform: translate3d(0, 18px, 0); animation: word-in 1000ms var(--ease) forwards; animation-delay: var(--d, 600ms); }

/* The console: the school's operating system, with agents working inside it. */
.scene { position: relative; perspective: 1600px; }
.console { position: relative; border-radius: 22px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 50px 100px rgba(2, 8, 26, .55), 0 0 0 1px rgba(255,255,255,.4) inset; overflow: hidden; transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 5deg)); transform-style: preserve-3d; transition: transform 500ms var(--ease); }
.console__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.console__bar .dots { display: flex; gap: 6px; } .console__bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: #e3e7f0; }
.console__bar .where { margin-left: 8px; color: var(--ink-2); font-weight: 600; }
.console__bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #13784a; }
.console__bar .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.console__body { display: grid; grid-template-columns: 160px 1fr; min-height: 440px; }
.console__side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 2px; font-size: 13.5px; background: #fafbfd; }
.console__side span { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); transition: background 300ms var(--ease), color 300ms var(--ease); }
.console__side span b { width: 8px; height: 8px; border-radius: 3px; background: var(--c); flex: none; }
.console__side span.on { background: #eef1f8; color: var(--ink); font-weight: 600; }
.console__main { padding: 16px 18px; display: grid; align-content: start; gap: 10px; }
.console__main .h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ink-3); }
.console__main .h strong { font: 600 17px/1.2 var(--head); color: var(--ink); }
.feed-list { display: grid; gap: 8px; }
.act { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; font-size: 13.5px; background: #fff; animation: act-in 700ms var(--ease) both; }
.act img { width: 30px; height: 30px; }
.act .t { line-height: 1.35; } .act .t small { display: block; color: var(--ink-3); font-size: 12px; }
.act .p { font-size: 12px; padding: 3px 9px; border-radius: 99px; background: #e7f7ef; color: #13784a; white-space: nowrap; }
.act .p.wait { background: #fff1ec; color: #b4361a; }
.act.held { background: var(--navy); color: #fff; border-color: transparent; grid-template-columns: 30px 1fr; }
.act.held .t small { color: var(--on-dark-2); }
.act.held .btns { grid-column: 1 / -1; display: flex; gap: 8px; }
.act.held .btns span { flex: 1; text-align: center; padding: 8px; border-radius: 10px; font-weight: 600; font-size: 13px; background: rgba(255,255,255,.12); }
.act.held .btns span.yes { background: var(--orange); }
.act.held .btns span.yes.pressed { animation: press-once 500ms var(--ease); }
@keyframes press-once { 40% { transform: scale(.92); } }
@keyframes act-in { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.98); } }
.cursor { position: absolute; width: 22px; height: 22px; z-index: 5; pointer-events: none; transition: left 900ms var(--ease), top 900ms var(--ease), opacity 300ms; opacity: 0; filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); }

/* Floating pieces around the console, each a real object from the platform. */
.float { position: absolute; z-index: 3; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px rgba(2, 8, 26, .4); padding: 12px 14px; font-size: 13px; transform: translate3d(var(--px, 0), var(--py, 0), 60px); transition: transform 600ms var(--ease); animation: bob 7s ease-in-out infinite; animation-delay: var(--bd, 0s); }
.float small { display: block; color: var(--ink-3); font-size: 11.5px; }
.float--ticket { left: -42px; bottom: 54px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.float--member { right: 8px; top: -58px; background: linear-gradient(135deg, var(--violet), #3b2aa8); color: #fff; width: 190px; }
.float--member small { color: rgba(255,255,255,.7); }
.float--food { right: 8px; bottom: -30px; display: flex; gap: 10px; align-items: center; }
.float--food .ok { width: 22px; height: 22px; border-radius: 50%; background: #e7f7ef; color: #13784a; display: grid; place-items: center; font-weight: 700; }
@keyframes bob { 50% { translate: 0 -10px; } }
.qr { width: 46px; height: 46px; flex: none; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(7, 1fr); gap: 1.5px; position: relative; overflow: hidden; }
.qr i { background: var(--ink); border-radius: 1px; } .qr i.o { background: transparent; }
.qr::after { content: ''; position: absolute; left: -10%; right: -10%; height: 3px; background: var(--orange); box-shadow: 0 0 12px var(--orange); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 0; } 50% { top: calc(100% - 3px); } }

/* ---------- Ribbon of who it is for ---------- */
.ribbon { background: var(--navy-2); color: var(--on-dark-2); border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 18px 0; }
.ribbon__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; font: 600 18px/1 var(--head); }
.ribbon__track span { display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.ribbon__track span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- The layer stack, pinned while it is read ---------- */
.stack { position: relative; background: #071226; color: #fff; }
.stack__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.ground--deep .ground__field { background:
  radial-gradient(30% 36% at 72% 40%, rgba(var(--glow, 253, 101, 66), .55) 0%, transparent 100%),
  radial-gradient(40% 40% at 20% 90%, rgba(0, 167, 223, .3) 0%, transparent 100%),
  radial-gradient(40% 40% at 95% 5%, rgba(107, 76, 230, .45) 0%, transparent 100%),
  linear-gradient(170deg, #0a1a35, #050d1f); transition: background 900ms var(--ease); }
.stack__inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: center; padding-top: var(--head-h); }
.stack__copy .eyebrow { color: #ff9a80; }
.stack__copy h2 { max-width: 15ch; }
.layer-text { position: relative; margin-top: 34px; min-height: 340px; }
.layer-text article { position: absolute; inset: 0 auto auto 0; max-width: 46ch; opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity 600ms var(--ease), transform 600ms var(--ease); pointer-events: none; }
.layer-text article.on { opacity: 1; transform: none; pointer-events: auto; }
.layer-text .n { font-size: 14px; color: var(--on-dark-2); }
.layer-text h3 { font-size: 28px; margin-top: 6px; }
.layer-text p { color: var(--on-dark-2); margin-top: 10px; }
.layer-text ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: #e8edf8; font-size: 15.5px; }
.layer-text li { display: flex; gap: 10px; } .layer-text li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--orange); }
.layer-text .status { margin-top: 18px; background: rgba(255,255,255,.1); color: #fff; border-color: transparent; }
.layer-text .status.live { color: #7ff0bd; }
.rail { display: flex; gap: 6px; margin-top: 28px; }
.rail button { flex: 1; height: 4px; border: 0; padding: 0; border-radius: 99px; background: rgba(255,255,255,.18); cursor: pointer; position: relative; overflow: hidden; }
.rail button::after { content: ''; position: absolute; inset: 0; background: var(--orange); transform: scaleX(var(--f, 0)); transform-origin: left; }
.rail-names { display: flex; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--on-dark-2); }
.rail-names span { flex: 1; } .rail-names span.on { color: #fff; }

.plates { --ps: min(440px, 32vw, 50vh); position: relative; height: 100%; display: grid; place-items: center; perspective: 2000px; }
.plates__inner { width: var(--ps); height: var(--ps); transform-style: preserve-3d; transform: rotateX(62deg) rotateZ(-42deg) translateY(calc(var(--active, 0) * var(--ps) * .06)); transition: transform 800ms var(--ease); }
.plate { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--ps) * .13 * var(--i))); transition: transform 800ms var(--ease), opacity 600ms var(--ease); }
.plate[data-state='next'] { transform: translateZ(calc(var(--ps) * .13 * var(--i) + 240px)); opacity: 0; }
.plate__glass { position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.3); box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 30px 60px rgba(0,0,0,.35); transition: background 500ms, box-shadow 500ms; }
.plate[data-state='top'] .plate__glass { background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(236,240,250,.96)); box-shadow: 0 0 80px rgba(var(--glow, 253,101,66), .55), 0 40px 80px rgba(0,0,0,.45); }
.plate__art { position: absolute; inset: 9%; opacity: .35; transition: opacity 500ms; color: #fff; }
.plate[data-state='top'] .plate__art { opacity: 1; color: var(--ink); }
.plate__label { position: absolute; left: 7%; bottom: -14%; font: 600 15px/1 var(--head); color: rgba(255,255,255,.55); white-space: nowrap; transition: color 500ms; }
.plate[data-state='top'] .plate__label { color: #fff; }
.plate:not([data-state='top']) .plate__art * { animation-play-state: paused !important; }

/* Plate art: drawn in the platform's own shapes, ink on the open plate. */
.pa { width: 100%; height: 100%; display: grid; gap: calc(var(--ps) * .05); align-content: center; }
.pa .bar { height: calc(var(--ps) * .045); border-radius: 8px; background: currentColor; opacity: .14; }
.pa .bar.s { width: 60%; } .pa .bar.m { width: 80%; }
.pa .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7%; }
.pa .blk { aspect-ratio: 1; border-radius: 14%; background: var(--c, currentColor); opacity: .9; }
.pa .core { width: 42%; aspect-ratio: 1; margin: auto; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9b80, var(--orange) 55%, #c9401f); box-shadow: 0 0 0 10px rgba(253,101,66,.15), 0 0 0 22px rgba(253,101,66,.07); animation: core 3s ease-in-out infinite; }
@keyframes core { 50% { box-shadow: 0 0 0 16px rgba(253,101,66,.18), 0 0 0 34px rgba(253,101,66,.05); } }
.pa .tk { display: grid; grid-template-columns: 1fr 30%; border-radius: 18px; overflow: hidden; height: calc(var(--ps) * .34); box-shadow: 0 0 0 1.5px currentColor inset; }
.pa .tk div:first-child { padding: 10%; display: grid; gap: 12px; align-content: center; border-right: 2px dashed currentColor; }
.pa .tk div:last-child { background: var(--orange); }
.pa .cards3 { position: relative; height: calc(var(--ps) * .5); }
.pa .cards3 i { position: absolute; inset: 0 10% 10% 0; border-radius: 12%; background: var(--c); transform: translate(calc(var(--k) * 9%), calc(var(--k) * 9%)); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.pa .tray { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: calc(var(--ps) * .46); padding: 6%; border-radius: 14%; box-shadow: 0 0 0 1.5px currentColor inset; }
.pa .tray i { border-radius: 18%; background: var(--c); opacity: .85; }
.pa .tray i:first-child { grid-row: span 2; }
.pa.posts { gap: calc(var(--ps) * .07); }
.pa .post { display: grid; grid-template-columns: calc(var(--ps) * .16) 1fr; gap: 14px; align-items: center; }
.pa .post b { aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.pa .agents3 { display: flex; justify-content: space-around; align-items: center; }
.pa .agents3 img { width: 28%; animation: bob 4s ease-in-out infinite; } .pa .agents3 img:nth-child(2) { animation-delay: -1.3s; width: 34%; } .pa .agents3 img:nth-child(3) { animation-delay: -2.6s; }

/* ---------- Agents ---------- */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.agent { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.agent:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(16, 24, 40, .12); }
.agent__art { position: relative; height: 230px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.agent__art img { position: relative; z-index: 2; width: 132px; animation: bob 6s ease-in-out infinite; transition: transform 400ms var(--ease); }
.agent:hover .agent__art img { transform: scale(1.08) rotate(-4deg); }
.agent__art .ring { position: absolute; z-index: 1; width: 190px; height: 190px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.35); animation: turn 30s linear infinite; }
.agent__art .ring::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff; }
@keyframes turn { to { transform: rotate(360deg); } }
.ground--navy .ground__field { background: radial-gradient(50% 50% at 70% 30%, #2c5aa6 0%, transparent 100%), radial-gradient(45% 45% at 20% 90%, rgba(0,167,223,.6) 0%, transparent 100%), linear-gradient(160deg, #0c2345, #0a1a35); }
.ground--blue .ground__field { background: radial-gradient(50% 50% at 30% 25%, #8fd8ff 0%, transparent 100%), radial-gradient(45% 45% at 85% 85%, rgba(253,101,66,.55) 0%, transparent 100%), linear-gradient(160deg, #1b6fa8, #0c3a6a); }
.ground--orange .ground__field { background: radial-gradient(50% 50% at 75% 25%, #ffb199 0%, transparent 100%), radial-gradient(45% 45% at 15% 85%, rgba(107,76,230,.6) 0%, transparent 100%), linear-gradient(160deg, #e2522f, #8a2a14); }
.agent__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.agent__body .who { font-size: 14px; color: var(--ink-3); }
.agent__body ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.agent__body li { display: flex; gap: 10px; } .agent__body li::before { content: '✓'; color: var(--orange); font-weight: 700; }
.agent__body .status { margin-top: auto; }

/* ---------- Module bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.mod { grid-column: span 2; border-radius: var(--radius); background: var(--mist); overflow: hidden; display: flex; flex-direction: column; transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.mod.wide { grid-column: span 4; }
.mod:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(16, 24, 40, .1); }
.mod__art { position: relative; height: 250px; overflow: hidden; isolation: isolate; display: grid; place-items: center; padding: 20px; }
.mod__art > :not(.ground) { position: relative; z-index: 1; }
.mod__body { padding: 22px 26px 26px; display: grid; gap: 8px; }
.mod__body p { color: var(--ink-2); font-size: 15.5px; }
.mod__body .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status.dev { color: #8a5a00; background: #fff7e6; border-color: #fde7b5; }
.ground--t1 .ground__field { background: radial-gradient(50% 50% at 20% 20%, #ffd9cc 0%, transparent 100%), radial-gradient(45% 50% at 90% 90%, #c9d8f5 0%, transparent 100%), linear-gradient(160deg, #fff4ef, #eef2fb); }
.ground--t2 .ground__field { background: radial-gradient(50% 50% at 80% 20%, #ddd3ff 0%, transparent 100%), radial-gradient(45% 50% at 10% 90%, #cfe9f6 0%, transparent 100%), linear-gradient(160deg, #f4f1ff, #eef4fb); }
.ground--t3 .ground__field { background: radial-gradient(50% 50% at 25% 25%, #d5f3e4 0%, transparent 100%), radial-gradient(45% 50% at 90% 80%, #ffe3d6 0%, transparent 100%), linear-gradient(160deg, #f1fbf6, #fff6f1); }
.ground--t4 .ground__field { background: radial-gradient(50% 50% at 75% 30%, #cfe9f6 0%, transparent 100%), radial-gradient(45% 50% at 15% 85%, #ddd3ff 0%, transparent 100%), linear-gradient(160deg, #eef8fd, #f4f1ff); }
.ground--t5 .ground__field { background: radial-gradient(50% 50% at 30% 20%, #fde7b5 0%, transparent 100%), radial-gradient(45% 50% at 85% 85%, #cfe9f6 0%, transparent 100%), linear-gradient(160deg, #fffaf0, #eef4fb); }

.paper { background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(16, 24, 40, .12); padding: 14px 16px; font-size: 13.5px; color: var(--ink); }
.paper small, .paper .k { color: var(--ink-3); font-size: 12px; }
.paper .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.paper .pill { font-size: 12px; padding: 3px 9px; border-radius: 99px; background: #e7f7ef; color: #13784a; white-space: nowrap; }
.paper .pill.wait { background: #fff1ec; color: #b4361a; }

/* Events: a ticket, a door scanner, a check-in count climbing. */
.ev { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; width: 100%; max-width: 640px; align-items: center; }
.ticket .main small { white-space: nowrap; }
.ticket { display: grid; grid-template-columns: 1fr auto; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(16,24,40,.14); overflow: hidden; transform: rotate(-4deg); animation: bob 6s ease-in-out infinite; }
.ticket .main { padding: 16px 18px; display: grid; gap: 4px; border-right: 2px dashed var(--line); }
.ticket .main strong { font: 700 19px/1.15 var(--head); }
.ticket .stub { padding: 14px; display: grid; place-items: center; background: #fff8f5; }
.ticket .stub .qr { width: 58px; height: 58px; }
.checkin .big { font: 700 34px/1 var(--head); margin-top: 4px; }
.checkin .meter { height: 7px; border-radius: 99px; background: var(--mist); overflow: hidden; margin-top: 10px; }
.checkin .meter span { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--orange), #ff9b80); border-radius: 99px; transition: width 200ms linear; }

/* Memberships: three club cards that fan out. */
.fan { position: relative; width: 220px; height: 150px; }
.fan .mc { position: absolute; inset: 0; border-radius: 16px; padding: 14px 16px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 16px 34px rgba(16,24,40,.2); transition: transform 600ms var(--ease); font-size: 13px; }
.fan .mc strong { font: 700 17px/1.1 var(--head); }
.fan .mc small { opacity: .8; font-size: 12px; }
.fan .mc:nth-child(1) { background: linear-gradient(135deg, #00a7df, #0b6f9c); transform: rotate(-9deg) translate(-16px, 6px); }
.fan .mc:nth-child(2) { background: linear-gradient(135deg, #13a06b, #0b6a47); transform: rotate(-2deg); }
.fan .mc:nth-child(3) { background: linear-gradient(135deg, var(--violet), #3b2aa8); transform: rotate(6deg) translate(16px, 4px); }
.mod:hover .fan .mc:nth-child(1) { transform: rotate(-16deg) translate(-48px, 10px); }
.mod:hover .fan .mc:nth-child(3) { transform: rotate(13deg) translate(48px, 8px); }

/* Food: Friday's lunch, checked against the child's allergies and limit. */
.lunch { width: 250px; display: grid; gap: 10px; }
.lunch .checks { display: grid; gap: 7px; margin-top: 10px; }
.lunch .checks div { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-2); opacity: 0; transform: translateX(-6px); }
.lunch .checks b { width: 18px; height: 18px; border-radius: 50%; background: #e7f7ef; color: #13784a; display: grid; place-items: center; font-size: 11px; }
.mod.in .lunch .checks div { animation: tick-in 500ms var(--ease) forwards; animation-delay: calc(400ms + var(--k) * 450ms); }
@keyframes tick-in { to { opacity: 1; transform: none; } }

/* Feed: posts rising through the school's own feed. */
.feedwin { width: 260px; height: 200px; overflow: hidden; mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.feedwin .track { display: grid; gap: 10px; animation: rise 16s linear infinite; }
.feedwin .paper { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 10px 12px; }
.feedwin .av { width: 30px; height: 30px; border-radius: 9px; background: var(--c); }
@keyframes rise { to { transform: translateY(-50%); } }

/* Fees and the register: a class list becoming invoices. */
.fees { width: 280px; }
.fees .line { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.fees .line:first-of-type { border-top: 0; }
.fees .pill.wait { animation: blink 1.8s ease-in-out infinite; }
.csv { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-2); margin-bottom: 8px; }
.csv b { padding: 3px 8px; border-radius: 6px; background: var(--mist); font-weight: 600; }

/* ---------- The approval rail ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.flow__line { position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: rgba(255,255,255,.16); }
.flow__line i { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px var(--orange), 0 0 0 6px rgba(253,101,66,.2); animation: travel 9s var(--ease) infinite; }
@keyframes travel { 0% { left: 0%; } 22%, 40% { left: 33.3%; } 62% { left: 66.6%; } 85%, 100% { left: 100%; } }
.fstep { position: relative; padding-top: 72px; }
.fstep::before { content: attr(data-n); position: absolute; top: 6px; left: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--navy); font: 700 18px/1 var(--head); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.fstep.gate::before { background: var(--orange); color: #fff; }
.fstep p { color: var(--on-dark-2); margin-top: 8px; font-size: 15.5px; }

/* ---------- Department platforms ---------- */
.depts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dept { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 300px; display: flex; flex-direction: column; padding: 24px; isolation: isolate; text-decoration: none; transition: transform 300ms var(--ease); }
.dept:hover { transform: translateY(-4px); }
.dept > :not(.ground) { position: relative; z-index: 1; }
.dept .k { font-size: 14px; color: var(--on-dark-2); margin-top: 6px; }
.dept ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.dept li strong { display: block; font-weight: 600; }
.dept li span { color: var(--on-dark-2); font-size: 13.5px; }
.dept .go { margin-top: auto; padding-top: 18px; font-weight: 600; }
.ground--d1 .ground__field { background: radial-gradient(45% 55% at 85% 15%, #2c6cd6 0%, transparent 100%), radial-gradient(50% 60% at 8% 95%, #0a8fc7 0%, transparent 100%), linear-gradient(160deg, #0e2142, #13295a 60%, #0b1a36); }
.ground--d2 .ground__field { background: radial-gradient(45% 55% at 85% 15%, #5b2fd6 0%, transparent 100%), radial-gradient(50% 60% at 8% 95%, #ff6a3d 0%, transparent 100%), linear-gradient(160deg, #0e2142, #13295a 60%, #0b1a36); }
.ground--d3 .ground__field { background: radial-gradient(45% 55% at 85% 15%, #1f8a6e 0%, transparent 100%), radial-gradient(50% 60% at 8% 95%, #2c6cd6 0%, transparent 100%), linear-gradient(160deg, #0e2142, #13295a 60%, #0b1a36); }
.ground--d4 .ground__field { background: radial-gradient(45% 55% at 85% 15%, #ff6a3d 0%, transparent 100%), radial-gradient(50% 60% at 8% 95%, #5b2fd6 0%, transparent 100%), linear-gradient(160deg, #0e2142, #13295a 60%, #0b1a36); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .depts { grid-template-columns: 1fr 1fr; }
  .float--ticket { left: -12px; } .float--member { right: -8px; } .float--food { right: 0; }
}
@media (max-width: 920px) {
  .os-hero { min-height: 0; padding: 116px 0 72px; }
  .os-hero .wrap { grid-template-columns: 1fr; gap: 64px; }
  .console { transform: none; }
  .agents, .flow { grid-template-columns: 1fr; }
  .flow__line { display: none; }
  .fstep { padding-top: 60px; }
  .bento { grid-template-columns: 1fr; }
  .mod, .mod.wide { grid-column: auto; }
  /* Phones and tablets: the stack unpins and each layer becomes its own card. */
  .stack { height: auto !important; }
  .stack__pin { position: relative; height: auto; overflow: visible; }
  .stack__inner { grid-template-columns: 1fr; padding: 72px 0; }
  .plates, .rail, .rail-names { display: none; }
  .layer-text { min-height: 0; display: grid; gap: 14px; }
  .layer-text article { position: relative; opacity: 1; transform: none; pointer-events: auto; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); max-width: none; }
}
@media (max-width: 560px) {
  .console__body { grid-template-columns: 1fr; }
  .console__side { display: none; }
  .float--member { display: none; }
  .float--ticket { left: -6px; bottom: -40px; }
  .float--food { display: none; }
  .depts { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 1fr; }
  .ticket { transform: none; }
  .ticket .main small { white-space: normal; }
  .mod__art { height: auto; min-height: 240px; }
  .os-hero h1 { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .hero-in, .os-hero h1 .word { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important; }
  .os-hero h1 .accent { color: var(--orange); background: none; }
  .ribbon__track, .feedwin .track, .flow__line i, .float, .ticket, .agent__art img, .agent__art .ring, .qr::after, .pa *, .console__bar .live::before, .fees .pill.wait { animation: none !important; }
  .lunch .checks div { opacity: 1; transform: none; animation: none !important; }
  .plate, .plates__inner, .console { transition: none; }
}
