/* =========================================================================
   Kids Life — "The Fruit Stand"
   A sticker-book world for Pre-K – 5th grade. The four Kids Life colours,
   the fruit characters as the cast, chunky rounded display type (Baloo 2).
   Resting state is the finished state: motion is gated on html[data-anim].
   ========================================================================= */
main.stand, .ev-dialog.stand {
  --green: #50AB65; --yellow: #E8C05B; --red: #EF5C59; --blue: #4F97AA;
  --ink: #1B1B1B; --paper: #FFFBF2; --paper-2: #FFF3D6; --purple: #7B5CD6;
  --disp: "Baloo 2", "Inter Tight", "Helvetica Neue", sans-serif;
  --tint: var(--yellow); --on: #000;
  color: var(--ink); background: var(--paper);
}
.stand h1, .stand h2, .stand h3, .stand .disp { font-family: var(--disp); font-weight: 800; text-transform: none; letter-spacing: -.02em; line-height: .96; color: var(--ink); }
.stand .eyebrow { font-family: var(--disp); font-weight: 700; letter-spacing: .14em; color: var(--ink); }
.stand p, .stand li, .stand dd, .stand dt, .stand summary { font-family: var(--disp); font-weight: 500; }
.stand p { font-size: 17px; line-height: 1.55; }
.stand .w { display: inline-block; }
.stand .w:nth-child(odd) { transform: rotate(-2.5deg); }
.stand .w:nth-child(even) { transform: rotate(2deg); }
.stand h2 .w:nth-child(3n) { transform: rotate(-1deg) translateY(2px); }
.c-red { color: var(--red); } .c-blue { color: var(--blue); } .c-green { color: var(--green); } .c-yellow { color: var(--yellow); }
.stand .btn { border-radius: 999px; font-family: var(--disp); font-weight: 700; letter-spacing: .04em; text-transform: none; font-size: 16px; min-height: 54px; padding: 0 28px; }
.stand .btn-sm { min-height: 44px; font-size: 15px; }
.stand .btn-red { background: var(--red); color: #fff; } .stand .btn-red:hover { background: #d9423f; }
.stand .btn-ink { background: var(--ink); color: #fff; } .stand .btn-ink:hover { background: #000; }
.stand .btn-white { background: #fff; color: var(--ink); } .stand .btn-white:hover { background: var(--green); color: #fff; }
.stand .btn-ghost { border-color: currentColor; border-width: 2.5px; } .stand .btn-ghost:hover { background: rgba(0,0,0,.08); color: inherit; }
.stand .h-xl { font-family: var(--disp); font-size: clamp(38px, 4.8vw, 80px) !important; line-height: .98; text-transform: none; }
.stand .sec { padding: clamp(64px, 9vw, 130px) 0; }
.stand .sec-h { margin-bottom: clamp(28px, 4vw, 56px); }
.stand .wrap { max-width: 1280px; }
.stand .vid-cap, .k-video .vid-cap { font-family: var(--disp); font-weight: 700; letter-spacing: .12em; }

/* ---------- 00 hero: the fruit ring ---------- */
.k-hero.st { height: 220vh; background: var(--paper); }
.k-hero-pin { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: hidden; display: grid; place-items: center; padding: calc(var(--hdr) + 2vh) 0 6vh; background: var(--paper); }
html:not([data-anim]) .k-hero.st { height: auto !important; }
html:not([data-anim]) .k-hero-pin { position: relative; height: auto; min-height: 100svh; }
.k-hero .dots { position: absolute; inset: 0; background-image: radial-gradient(var(--yellow) 1.6px, transparent 1.7px); background-size: 26px 26px; opacity: .55; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 1; }
.ring .fr { position: absolute; left: 0; top: 0; width: calc(clamp(64px, 8.4vw, 140px) * var(--w, 1)); z-index: var(--z, 2); transform: translate(-50%, -50%); will-change: transform; filter: drop-shadow(0 14px 18px rgba(0,0,0,.14)); }
/* the stage behind the gathered gang: colour blobs, the Kids Life wordmark and badges, confetti — all keyed to --g */
.k-stage { position: absolute; inset: 0; z-index: 0; opacity: var(--g, 0); pointer-events: none; }
.k-stage .blob { position: absolute; width: 34vw; aspect-ratio: 1; border-radius: 50%; filter: blur(2px); opacity: .42; }
.k-stage .b-red { background: radial-gradient(circle, var(--red) 0 40%, transparent 70%); left: -8vw; top: 8%; }
.k-stage .b-yellow { background: radial-gradient(circle, var(--yellow) 0 40%, transparent 70%); left: 24vw; top: -14%; width: 40vw; }
.k-stage .b-blue { background: radial-gradient(circle, var(--blue) 0 40%, transparent 70%); right: -6vw; top: 4%; }
.k-stage .b-green { background: radial-gradient(circle, var(--green) 0 40%, transparent 70%); left: 50%; bottom: -22%; width: 46vw; translate: -50% 0; opacity: .4; }
.stand .k-welcome { position: absolute; left: 50%; top: 17%; translate: -50% 0; margin: 0; font-family: var(--disp); font-weight: 700; font-size: clamp(16px, 1.6vw, 24px); letter-spacing: .28em; text-transform: uppercase; color: var(--ink); opacity: .85; }
.k-stage .k-wm { position: absolute; left: 50%; top: 22%; width: min(560px, 46vw); height: auto; translate: -50% 0; rotate: -2deg; filter: drop-shadow(0 10px 18px rgba(0,0,0,.12)); transform: scale(calc(.8 + var(--g, 0) * .2)); }
.k-stage .k-badge { position: absolute; width: clamp(64px, 7vw, 110px); height: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18)); }
.k-stage .kb1 { left: 5%; top: 14%; rotate: -12deg; } .k-stage .kb2 { right: 6%; top: 12%; rotate: 10deg; } .k-stage .kb3 { left: 8%; bottom: 10%; rotate: 8deg; } .k-stage .kb4 { right: 7%; bottom: 12%; rotate: -9deg; }
.cf { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); rotate: var(--r); opacity: .85; }
.cf.c-red { --c: var(--red); } .cf.c-yellow { --c: var(--yellow); } .cf.c-blue { --c: var(--blue); } .cf.c-green { --c: var(--green); }
.cf-dot { background: var(--c); border-radius: 50%; }
.cf-sq { background: var(--c); border-radius: 3px; }
.cf-ring { border: 3px solid var(--c); border-radius: 50%; }
.cf-tri { width: 0; height: 0; border-left: calc(var(--s) / 2) solid transparent; border-right: calc(var(--s) / 2) solid transparent; border-bottom: var(--s) solid var(--c); }
html[data-anim] .cf { animation: cf-float 4s ease-in-out var(--d, 0s) infinite alternate; }
@keyframes cf-float { from { transform: translateY(-6px) rotate(0); } to { transform: translateY(8px) rotate(25deg); } }
/* name tags: hidden until hover, focus or tap, and only once the gang has gathered */
.ring .fr { outline: none; }
.k-hero.is-gang .ring .fr { cursor: pointer; }
.ring .fr i { position: absolute; left: 50%; top: 100%; translate: -50% 8px; scale: calc(1 / var(--sc, 1)); transform-origin: 50% 0; display: grid; justify-items: center; font-style: normal; font-family: var(--disp); font-weight: 600; font-size: 12px; letter-spacing: .04em; line-height: 1.15; color: var(--ink); white-space: nowrap; opacity: 0; visibility: hidden; background: #fff; padding: 6px 12px; border-radius: 999px; box-shadow: 0 8px 18px rgba(0,0,0,.12); transition: opacity .25s, visibility .25s, translate .25s var(--ease-std, ease); pointer-events: none; z-index: 5; }
.ring .fr i b { font-weight: 800; font-size: 14px; }
.k-hero.is-gang .ring .fr:hover i, .k-hero.is-gang .ring .fr:focus-visible i, .k-hero.is-gang .ring .fr.show i { opacity: 1; visibility: visible; translate: -50% 2px; }
.k-hero.is-gang .ring .fr:hover, .k-hero.is-gang .ring .fr.show { z-index: 9; }
.k-hero.is-gang .ring .fr:focus-visible img { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 30%; }
.stand .gang-hint { position: absolute; left: 50%; bottom: 7vh; translate: -50% 0; z-index: 4; margin: 0; font-family: var(--disp); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .4s; pointer-events: none; }
.k-hero.is-gang .gang-hint { opacity: .7; }
.ring .fr img { width: 100%; height: auto; display: block; }
html[data-anim] .ring .fr img { animation: bob 3.2s ease-in-out calc(var(--z, 2) * -.7s) infinite alternate; }
@keyframes bob { from { transform: translateY(-5px) rotate(-3deg); } to { transform: translateY(5px) rotate(3deg); } }
/* the title holds for the first quarter of the scroll, then fades out over the next quarter */
.k-hero-wrap { --t: clamp(0, (var(--hp, 0) - .25) * 4, 1); position: relative; z-index: 2; text-align: center; transform: scale(calc(1 - var(--t) * .12)); opacity: calc(1 - var(--t)); pointer-events: none; }
.k-hero-wrap .btn { pointer-events: auto; }
.k-logo { width: min(420px, 60vw); height: auto; margin: 0 auto 8px; display: block; }
.stand .k-title { font-family: var(--disp); font-weight: 800; font-size: clamp(56px, 8.6vw, 136px); line-height: .88; letter-spacing: -.03em; margin: 0 0 20px; }
.k-logo { width: min(300px, 50vw); height: auto; margin: 0 auto 6px; display: block; }
.k-title .w { display: inline-block; }
html[data-anim] .k-title .w { animation: pop .8s cubic-bezier(.34, 1.5, .64, 1) calc(.4s + var(--i, 0) * .1s) both; }
.k-title .w:nth-child(1) { --i: 0; } .k-title .w:nth-child(2) { --i: 1; } .k-title .w:nth-child(4) { --i: 2; } .k-title .w:nth-child(5) { --i: 3; }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-6deg); } }
.k-hero .when { font-family: var(--disp); font-weight: 600; font-size: 17px; color: var(--ink); margin: 0 auto 22px; background: #fff; display: inline-block; padding: 9px 20px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.k-hero .when b { font-weight: 800; }
.k-hero .row-btns { justify-content: center; }
.k-hero .scroll { position: absolute; left: 50%; bottom: 5vh; translate: -50% 0; z-index: 4; font-family: var(--disp); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: calc(1 - var(--hp, 0) * 4); display: grid; justify-items: center; gap: 8px; }
.k-hero .scroll i { width: 2px; height: 34px; background: var(--ink); border-radius: 2px; transform-origin: top; }
.k-hero .scroll { opacity: calc(1 - var(--hp, 0) * 2) !important; }
html[data-anim] .k-hero .scroll i { animation: drop-line 1.6s ease-in-out infinite; }
@keyframes drop-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ticker ---------- */
.k-ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 14px 0; font-family: var(--disp); font-weight: 700; font-size: clamp(16px, 1.6vw, 22px); letter-spacing: .04em; border-top: 6px solid var(--red); border-bottom: 6px solid var(--blue); }
.k-ticker .row { display: flex; gap: 48px; white-space: nowrap; width: max-content; }
html[data-anim] .k-ticker .row { animation: ticker 36s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.k-ticker span { display: inline-flex; align-items: center; gap: 48px; }
.k-ticker img { height: 32px; width: auto; }

/* ---------- mission ---------- */
.k-mission { background: var(--paper); }
.m-head { margin-bottom: clamp(32px, 4vw, 56px); text-align: center; }
.k-mission h2 { font-size: clamp(38px, 5.2vw, 84px); line-height: .96; margin: 0 auto clamp(22px, 2.6vw, 36px); max-width: 22ch; }
.k-mission h2 .w { display: inline-block; }
.m-copy { max-width: 66ch; margin: 0 auto; text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; }
.m-copy p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; margin-bottom: .9em; }
.m-copy p:last-child { margin-bottom: 0; }
.m-media { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
.m-vid { position: relative; }
.m-vid .deco { filter: none; }
.k-video { position: relative; aspect-ratio: 16 / 9; border-radius: 36px; overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(0,0,0,.16); }
.k-video img { width: 100%; height: 100%; object-fit: cover; display: block; }

.m-spec { margin: 0; padding: clamp(22px, 2.2vw, 30px); border-top: 0; border-radius: 30px; background: var(--paper-2); grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.m-spec dt { font-size: 10px; letter-spacing: .22em; opacity: .7; }
.m-spec dd { font-size: 17px; }
.m-spec .lead { grid-template-columns: 48px 1fr; } .m-spec .lead img { width: 48px; height: 48px; }
.m-cta { margin-top: auto; padding-top: 8px; }

/* ---------- efforts: the sticker peel ---------- */
.k-efforts { background: var(--blue); color: #fff; }
.k-efforts.st { height: 320vh; }
.k-efforts .pin { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: hidden; display: grid; align-items: center; padding: calc(var(--hdr) + 2vh) 0 4vh; }
.k-efforts h2, .k-efforts .eyebrow { color: #fff; }
.k-efforts .sec-h { margin-bottom: clamp(16px, 2.2vw, 30px); }
.k-efforts .sec-h .h-xl { font-size: clamp(34px, 4vw, 64px) !important; }
.k-stack { position: relative; height: min(520px, 60vh); max-width: 1100px; margin: 0 auto; }
.k-sticker { position: absolute; inset: 0; z-index: var(--z); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(26px, 3.4vw, 48px) clamp(26px, 4vw, 60px); border-radius: 40px; border: 5px solid #fff; box-shadow: 0 30px 60px rgba(0,0,0,.2); overflow: hidden;
  transform: translateY(calc(var(--o, 0) * -130vh)) rotate(calc(var(--o, 0) * -18deg + (3 - var(--z)) * 2deg)) scale(calc(1 - (3 - var(--z)) * .04 + var(--lift, 0) * .04)); transform-origin: 50% 100%; }
.k-sticker:nth-child(2) { --lift: var(--o1, 0); } .k-sticker:nth-child(3) { --lift: var(--o2, 0); }
.s-green { background: var(--green); color: #fff; } .s-yellow { background: var(--yellow); color: var(--ink); } .s-red { background: var(--red); color: #fff; }
.s-fruit { text-align: center; }
.s-fruit img { width: 100%; max-width: 300px; max-height: 300px; object-fit: contain; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 16px 22px rgba(0,0,0,.22)); }
.s-fruit em { display: inline-block; margin-top: 12px; font-style: normal; font-family: var(--disp); font-weight: 800; font-size: 15px; letter-spacing: .04em; background: rgba(255,255,255,.9); color: var(--ink); padding: 5px 14px; border-radius: 999px; }
.s-n { font-family: var(--disp); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 10px; opacity: .9; }
.k-sticker h3 { font-size: clamp(36px, 4.2vw, 66px); margin: 0 0 14px; color: inherit; }
.stand .k-sticker p:last-child { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; max-width: 52ch; }
.peel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.peel-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background-color .3s, transform .3s; }
.peel-dots i.on { background: #fff; transform: scale(1.3); }
html:not([data-anim]) .k-efforts.st { height: auto !important; }
html:not([data-anim]) .k-efforts .pin { position: relative; height: auto; min-height: 0; }
html:not([data-anim]) .k-stack { height: auto; display: grid; gap: 24px; }
html:not([data-anim]) .k-sticker { position: static; transform: none; }
html:not([data-anim]) .peel-dots { display: none; }

/* ---------- meet the Fruit Gang: pinned intro, one character at a time, then the finale ---------- */
.k-gang.st { height: 1100vh; background: var(--paper-2); }
.k-gang-pin { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: hidden; }
html:not([data-anim]) .k-gang.st { height: auto !important; }
html:not([data-anim]) .k-gang-pin { position: relative; height: auto; min-height: 0; }
/* the scene: sky, sun, clouds, hills, a playground silhouette, grass and a path */
.fg-scene { position: absolute; inset: 0; z-index: 0; }
.fg-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #CFE6F7 0%, #EAF4FB 55%, #F6EFD9 100%); }
.fg-sun { position: absolute; left: 12%; top: 12%; width: clamp(90px, 10vw, 160px); aspect-ratio: 1; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 18px rgba(232,192,91,.22), 0 0 0 40px rgba(232,192,91,.1); }
.fg-cloud { position: absolute; height: 46px; width: 150px; background: #fff; border-radius: 999px; opacity: .9; }
.fg-cloud::before, .fg-cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; width: 70px; height: 70px; top: -34px; left: 24px; }
.fg-cloud::after { width: 54px; height: 54px; left: 76px; top: -22px; }
.fg-cloud.c1 { left: 30%; top: 14%; } .fg-cloud.c2 { right: 14%; top: 10%; scale: .8; } .fg-cloud.c3 { right: 34%; top: 22%; scale: .6; opacity: .7; }
html[data-anim] .fg-cloud { animation: cloud-drift 60s linear infinite alternate; }
@keyframes cloud-drift { to { translate: 60px 0; } }
.fg-hill { position: absolute; left: -10%; right: -10%; bottom: 18%; height: 34%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #A9D3B5; }
.fg-hill.h2 { left: 30%; right: -30%; bottom: 20%; height: 26%; background: #BFDFC7; }
.fg-play { position: absolute; left: 50%; bottom: 20%; width: min(900px, 80vw); height: auto; translate: -50% 0; color: #6FA583; opacity: .75; }
.fg-grass { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, #5DB877 0, #50AB65 30%, #3F9A56 100%); }
.fg-grass::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 28px; background: radial-gradient(circle at 50% 100%, #5DB877 0 60%, transparent 62%) 0 0 / 28px 28px repeat-x; }
.fg-path { position: absolute; left: -5%; right: -5%; bottom: 7%; height: 6%; border-radius: 50%; background: #E9D7A6; opacity: .8; }
/* heading: visible on the first beat, then fades out */
.fg-head { position: absolute; left: 0; right: 0; top: calc(var(--hdr) + 3vh); z-index: 3; text-align: center; opacity: 0; transition: opacity .4s; }
.k-gang.is-head .fg-head { opacity: 1; }
.fg-head h2 { font-size: clamp(38px, 5.2vw, 84px); margin: 0; }
/* each intro: the character on the grass, the card beside it */
.fg-steps { position: absolute; inset: 0; z-index: 2; }
.fg-step { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: 4vw; padding: 0 var(--gut) 22%; max-width: 1200px; margin: 0 auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; pointer-events: none; }
.fg-step.on { opacity: 1; visibility: visible; }
.fg-char { justify-self: center; width: clamp(180px, 22vw, 340px); transform: translateY(40px) scale(.7); opacity: 0; transition: transform .6s cubic-bezier(.3, 1.4, .4, 1), opacity .4s; }
.fg-step.on .fg-char { transform: none; opacity: 1; }
.fg-char img { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 20px rgba(0,0,0,.18)); }
/* each character moves the way its pose suggests, and casts a soft shadow on the grass */
.fg-char { position: relative; }
.fg-char::after, .fg-fin::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -8px; height: 16px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(20,40,20,.32) 0%, rgba(20,40,20,.12) 45%, transparent 70%); transform-origin: 50% 50%; z-index: -1; }
.fg-char img, .fg-fin img { transform-origin: 50% 100%; }
html[data-anim] .act-sway .fg-char img, html[data-anim] .act-sway img { animation: sway 2.6s ease-in-out infinite alternate; }
html[data-anim] .act-dance .fg-char img, html[data-anim] .act-dance img { animation: dance .55s ease-in-out infinite alternate; }
html[data-anim] .act-swing .fg-char img { transform-origin: 50% 0; animation: swing 3.4s ease-in-out infinite alternate; }
html[data-anim] .act-sleep .fg-char img, html[data-anim] .act-breathe img { animation: breathe 2.8s ease-in-out infinite alternate; }
html[data-anim] .act-startle .fg-char img { animation: startle 3s ease-in-out infinite; }
html[data-anim] .act-roll .fg-char img { transform-origin: 50% 50%; animation: rock 1.6s ease-in-out infinite alternate; }
html[data-anim] .act-write .fg-char img { animation: write .5s ease-in-out infinite alternate; }
html[data-anim] .act-read .fg-char img, html[data-anim] .act-read img { animation: read 1.9s ease-in-out infinite alternate; }
html[data-anim] .act-handstand .fg-char img { animation: wobble 1.3s ease-in-out infinite alternate; }
html[data-anim] .act-hop .fg-char img, html[data-anim] .act-cheer img { animation: hop .9s cubic-bezier(.3, 0, .2, 1) infinite; }
html[data-anim] .act-hop .fg-char::after, html[data-anim] .act-cheer::after, html[data-anim] .act-startle .fg-char::after { animation: shadow-hop .9s cubic-bezier(.3, 0, .2, 1) infinite; }
html[data-anim] .act-startle .fg-char::after { animation-duration: 3s; animation-name: shadow-startle; }
html[data-anim] .act-sip .fg-char img, html[data-anim] .act-cool img { animation: sip 4.2s ease-in-out infinite; }
html[data-anim] .act-wave img { animation: wave-arm .9s ease-in-out infinite alternate; }
html[data-anim] .act-stack img { animation: wobble 1.6s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(3deg) translateY(-3px); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.04); } }
@keyframes dance { from { transform: rotate(-9deg) scaleX(.96); } to { transform: rotate(9deg) scaleX(1.04); } }
@keyframes swing { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes startle { 0%, 28%, 100% { transform: translateY(0); } 8% { transform: translateY(-30px) scale(.98, 1.04); } 16% { transform: translateY(0) scale(1.03, .96); } }
@keyframes shadow-startle { 0%, 28%, 100% { transform: scale(1); opacity: 1; } 8% { transform: scale(.7); opacity: .6; } }
@keyframes rock { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
@keyframes write { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg) translateX(2px); } }
@keyframes read { from { transform: translateY(0) rotate(0); } to { transform: translateY(-4px) rotate(1.5deg); } }
@keyframes wobble { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes shadow-hop { 0%, 100% { transform: scale(1); opacity: 1; } 35% { transform: scale(.72); opacity: .55; } 60% { transform: scale(1.08); opacity: 1; } }
@keyframes sip { 0%, 55%, 100% { transform: rotate(0); } 25%, 40% { transform: rotate(-7deg) translateY(-3px); } }
@keyframes wave-arm { from { transform: rotate(-4deg); } to { transform: rotate(4deg) translateY(-2px); } }
.fg-card { align-self: end; margin-bottom: 6vh; background: #fff; border-radius: 28px; padding: clamp(22px, 2.6vw, 40px); box-shadow: 0 24px 60px rgba(0,0,0,.14); transform: translateX(40px); opacity: 0; transition: transform .6s var(--ease-std, ease) .1s, opacity .4s .1s; max-width: 560px; }
.fg-step.on .fg-card { transform: none; opacity: 1; }
.fg-k { font-family: var(--disp); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.fg-card h3 { font-size: clamp(36px, 4.2vw, 64px); margin: 0 0 10px; }
.fg-card p:last-child { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }
/* the finale: the whole gang on the grass, jumping, with confetti */
.fg-finale { position: absolute; inset: 0; z-index: 2; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.k-gang.is-finale .fg-finale { opacity: 1; visibility: visible; }
.stand .fg-fintitle { position: absolute; left: 0; right: 0; top: calc(var(--hdr) + 5vh); margin: 0; text-align: center; font-family: var(--disp); font-weight: 800; font-size: clamp(44px, 7vw, 120px); line-height: .9; color: var(--ink); }
.fg-fin { position: absolute; left: var(--gx); bottom: 20.5%; width: max(var(--gw), 54px); translate: -50% 0; transform: translateY(60px); transition: transform .7s cubic-bezier(.3, 1.4, .4, 1) calc(var(--i) * 70ms); }
.k-gang.is-finale .fg-fin { transform: none; }
.fg-fin img { width: 100%; height: auto; display: block; filter: drop-shadow(0 12px 16px rgba(0,0,0,.18)); }
html[data-anim] .k-gang.is-finale .fg-fin img { animation-delay: calc(var(--i) * 120ms); }
.fg-fin::after { bottom: -6px; height: 12px; left: 8%; right: 8%; }
@keyframes jump { 0%, 100% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(-34px) scale(.96, 1.06); } 55% { transform: translateY(0) scale(1.04, .94); } 70% { transform: translateY(0) scale(1, 1); } }
.fg-fin i { position: absolute; left: 50%; top: 100%; translate: -50% 6px; font-style: normal; font-family: var(--disp); font-weight: 700; font-size: 11px; white-space: nowrap; background: #fff; padding: 3px 9px; border-radius: 999px; }
.fg-confetti { position: absolute; left: 0; bottom: 20%; width: 100%; height: 0; pointer-events: none; }
.fg-confetti i { position: absolute; left: 50vw; top: 0; width: var(--s); height: calc(var(--s) * .6); background: var(--c); opacity: 0; }
.fg-confetti.go i { animation: confetti-pop 2.6s cubic-bezier(.2, .8, .3, 1) var(--d) forwards; }
@keyframes confetti-pop { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 60% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(var(--x) - 50vw), calc(var(--y) + 60vh)) rotate(var(--r)); } }
.fg-dots { position: absolute; left: 50%; bottom: 3vh; translate: -50% 0; z-index: 4; display: flex; gap: 7px; }
.fg-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(27,27,27,.25); transition: background-color .3s, transform .3s; }
.fg-dots i.on { background: var(--red); transform: scale(1.3); }
/* resting / reduced motion: every card, stacked */
html:not([data-anim]) .fg-scene, html:not([data-anim]) .fg-dots, html:not([data-anim]) .fg-finale { display: none; }
html:not([data-anim]) .fg-head { position: static; opacity: 1; padding: 60px 0 20px; }
html:not([data-anim]) .fg-steps { position: static; display: grid; gap: 24px; padding: 0 var(--gut) 60px; }
html:not([data-anim]) .fg-step { position: static; opacity: 1; visibility: visible; padding: 0; }
html:not([data-anim]) .fg-char, html:not([data-anim]) .fg-card { transform: none; opacity: 1; }

/* ---------- classes ---------- */
.k-classes { background: var(--paper); }
.rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rm { position: relative; border-radius: 32px; overflow: hidden; color: #fff; display: flex; flex-direction: column; transition: transform .5s var(--ease-std, ease); }
.rm:hover { transform: translateY(-6px) rotate(-1deg); }
.rm-red { background: var(--red); } .rm-yellow { background: var(--yellow); color: var(--ink); } .rm-blue { background: var(--blue); } .rm-green { background: var(--green); }
.rm .badge { position: absolute; z-index: 2; right: 14px; top: 14px; width: 68px; height: 68px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.25)); }
.rm-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.rm-body { padding: 22px 22px 26px; }
.rm-k { font-family: var(--disp); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 8px; opacity: .9; }
.rm h3 { font-size: clamp(30px, 2.6vw, 40px); margin: 0 0 10px; color: inherit; }
.rm-v { margin: 0; font-size: 15px; line-height: 1.45; }
.rm-v b { font-weight: 800; }

/* ---------- a Sunday (steps + sticky tour) ---------- */
.k-expect { background: var(--ink); color: var(--paper); }
.k-expect h2, .k-expect .eyebrow { color: var(--paper); }
.k-steps { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 14px; }
.k-steps li { counter-increment: st; position: relative; padding: 18px 22px 18px 76px; border-radius: 22px; background: rgba(255,255,255,.07); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; }
.k-steps li::before { content: counter(st); position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 20px; color: var(--ink); background: var(--yellow); }
.k-steps li:nth-child(2)::before { background: var(--red); color: #fff; } .k-steps li:nth-child(3)::before { background: var(--blue); color: #fff; } .k-steps li:nth-child(4)::before { background: var(--green); color: #fff; }
.k-steps b { font-weight: 800; }
.k-sticky { position: sticky; top: calc(var(--hdr) + 24px); }
.k-sticky .deco { filter: none; }

/* ---------- faq ---------- */
.k-faq { background: var(--paper); }
.k-faq .acc details { border-color: rgba(0,0,0,.14); }
.k-faq .acc summary { font-family: var(--disp); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 20px; }
.faq-fruit { display: flex; gap: 30px; align-items: flex-end; margin-top: 40px; }
.faq-fruit img { width: clamp(120px, 14vw, 220px); height: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.14)); }

/* ---------- the crew: sticker badges ---------- */
.k-team { background: var(--green); color: #fff; }
.k-team h2, .k-team .eyebrow { color: #fff; }
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.cm { text-align: center; }
.cm figure { --c: var(--yellow); position: relative; width: min(100%, 190px); aspect-ratio: 1; margin: 0 auto 16px; border-radius: 50%; background: var(--c); padding: 12px; rotate: var(--tl, -2deg); transition: rotate .5s var(--ease-std, ease), transform .5s var(--ease-std, ease); }
.cm:nth-child(even) figure { --tl: 2deg; }
.cm figure::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2.5px dashed var(--dash, rgba(255,255,255,.9)); z-index: 1; }
.cm img:not(.peek) { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; position: relative; z-index: 2; }
/* easter egg: a gang member peeks out from behind the portrait on hover */
.cm .peek { position: absolute; left: 50%; top: 24%; height: 50%; width: auto; max-width: 50%; object-fit: contain; translate: -50% 0; z-index: 1; transform: translateY(0) rotate(0); filter: drop-shadow(0 8px 12px rgba(0,0,0,.2)); }   /* parked fully inside the circle, so it is hidden behind the portrait until hover */
html[data-anim] .cm:hover .peek { animation: peek 1.5s cubic-bezier(.3, 1.2, .4, 1) both; }
.cm:nth-child(3n) .peek { left: 36%; } .cm:nth-child(3n+1) .peek { left: 64%; }
@keyframes peek { 0% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-105%) rotate(5deg); } 65% { transform: translateY(-105%) rotate(-5deg); } 100% { transform: translateY(0) rotate(0); } }
.cm:hover figure { rotate: 0deg; transform: scale(1.04); }
/* every portrait gets a white ring; the dashed line inside the ring takes each person's colour */
/* coloured rings with white dashes; the white rings each get their own coloured dash */
.c-r figure { --c: var(--red); } .c-y figure { --c: var(--yellow); } .c-b figure { --c: var(--blue); }
.c-g figure { --c: #fff; }
.cm.c-g:nth-child(4n+1 of .c-g) figure { --dash: var(--red); }
.cm.c-g:nth-child(4n+2 of .c-g) figure { --dash: var(--blue); }
.cm.c-g:nth-child(4n+3 of .c-g) figure { --dash: var(--yellow); }
.cm.c-g:nth-child(4n+4 of .c-g) figure { --dash: var(--green); }
.cm b { display: block; font-family: var(--disp); font-weight: 800; font-size: 17px; line-height: 1.1; }
.cm span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* ---------- events, shop, gallery, explore ---------- */
.k-events { background: var(--paper-2); }
.k-shop { background: var(--paper); }
.k-shop .prod figure { background: var(--paper-2); }
.k-gallery { background: var(--yellow); padding: 26px 0; overflow: hidden; }
.k-strip { overflow: hidden; }
.k-strip + .k-strip { margin-top: 14px; }
.k-strip .k-track { display: flex; gap: 14px; width: max-content; }
.k-strip img { width: clamp(180px, 20vw, 300px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; display: block; border: 5px solid #fff; }
html[data-anim] .k-strip[data-dir="1"] .k-track { animation: strip-l 60s linear infinite; }
html[data-anim] .k-strip[data-dir="-1"] .k-track { animation: strip-r 60s linear infinite; }
@keyframes strip-l { to { transform: translateX(-50%); } }
@keyframes strip-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.k-explore { background: var(--paper); }

/* ---------- next step: fruit peeking over the edge ---------- */
.k-next { position: relative; overflow: hidden; background: var(--red); color: #fff; text-align: center; padding: clamp(80px, 12vw, 160px) 0 clamp(140px, 18vw, 240px); }
.k-next h2, .k-next .eyebrow { color: #fff; }
.k-next h2 { font-size: clamp(44px, 6.4vw, 104px); margin: 0 0 24px; }
.k-next .row-btns { justify-content: center; }
.k-next .wrap { position: relative; z-index: 2; }
.peek img { position: absolute; bottom: -12px; width: var(--w, 140px); height: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.2)); }

/* ---------- phones ---------- */
@media (max-width: 820px) {
  .k-hero.st { height: 190vh; }
  .ring .fr { width: calc(11vw * var(--w, 1)); }
  .ring .fr i { font-size: 10px; padding: 4px 9px; } .ring .fr i b { font-size: 12px; }
  .stand .gang-hint { font-size: 11px; bottom: 4vh; white-space: nowrap; }
  .k-stage .k-wm { width: 64vw; top: 13%; }
  .stand .k-welcome { top: 9%; font-size: 12px; }
  .k-stage .k-badge { width: 50px; }
  .k-stage .kb1 { top: 6%; } .k-stage .kb2 { top: 5%; } .k-stage .kb3 { bottom: 16%; } .k-stage .kb4 { bottom: 17%; }
  .k-stage .blob { width: 60vw; }
  .stand .k-title { font-size: clamp(52px, 16vw, 90px); }
  .k-hero .when { font-size: 13px; padding: 8px 14px; max-width: 86vw; }
  .k-logo { width: 58vw; }
  .m-media { grid-template-columns: minmax(0, 1fr); }
  /* the stickers still peel away one at a time as you scroll, sized to the phone */
  .k-efforts .pin { min-height: 0; align-items: start; padding: calc(var(--hdr) + 16px) 0 16px; }
  .k-efforts .sec-h { margin-bottom: 14px; }
  .k-efforts .sec-h .h-xl { font-size: clamp(28px, 8.4vw, 40px) !important; }
  .k-stack { height: min(560px, calc(100svh - var(--hdr) - 190px)); }
  .k-sticker { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 12px; padding: 22px 20px; border-radius: 28px; overflow: hidden; }
  .s-fruit img { max-width: 120px; max-height: 120px; }
  .s-fruit em { margin-top: 6px; font-size: 13px; }
  .k-sticker h3 { font-size: clamp(28px, 8vw, 38px); margin-bottom: 8px; }
  .stand .k-sticker p:last-child { font-size: 15px; }
  .peel-dots { margin-top: 14px; }
  .k-gang.st { height: 900vh; }
  .fg-step { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: end; gap: 10px; padding: 0 var(--gut) 24%; }
  .fg-char { width: 34vw; justify-self: start; }
  .fg-card { padding: 18px 20px; border-radius: 22px; }
  .fg-card h3 { font-size: 34px; }
  .fg-fin { width: max(calc(var(--gw) * 1.6), 44px); }
  .fg-fin:nth-child(even) { bottom: 30%; }
  .fg-fin i { display: none; }
  .fg-play { width: 150vw; }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rm .badge { width: 50px; height: 50px; }
  .rm-body { padding: 16px 16px 20px; }
  .k-sticky { position: static; margin-top: 26px; }
  .faq-fruit { display: none; }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .cm figure { width: 38vw; }
  .peek img { width: calc(var(--w, 140px) * .6); }
}

/* ---------- directors feature ---------- */
.k-dir { background: var(--paper-2); }
.dir-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.dir-port { position: relative; margin: 0; border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 520px; border: 6px solid #fff; box-shadow: 0 24px 50px rgba(11,59,102,.14); }
.dir-port img:not(.dir-stk) { width: 100%; height: 100%; object-fit: cover; display: block; }
.dir-port .dir-stk { position: absolute; right: 14px; bottom: 14px; width: 110px; height: auto; rotate: -8deg; filter: drop-shadow(0 10px 16px rgba(0,0,0,.25)); }
.dir-text h2 { font-size: clamp(40px, 5.2vw, 84px); margin: 0 0 10px; }
.dir-role { font-family: var(--disp); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--red); margin: 0 0 16px; }
.dir-text p:not(.eyebrow):not(.dir-role) { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; max-width: 48ch; }
.dir-text .row-btns { margin-top: 22px; }
@media (max-width: 820px) { .dir-feat { grid-template-columns: minmax(0, 1fr); } .dir-port { max-width: 360px; } .dir-port .dir-stk { width: 80px; } }

/* ---------- more easter eggs ---------- */
/* class tiles: the badge spins */
html[data-anim] .rm:hover .badge { animation: spin-badge .8s cubic-bezier(.3, 1.3, .4, 1); }
@keyframes spin-badge { to { transform: rotate(360deg) scale(1.1); } }
/* the ticker badges spin on hover, the stickers in the effort cards bounce */
html[data-anim] .k-ticker:hover img { animation: spin-badge 1.2s linear infinite; }
html[data-anim] .k-sticker:hover .s-fruit img { animation: hop .9s cubic-bezier(.3, 0, .2, 1); }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1, 1); } 35% { transform: translateY(-26px) scale(.96, 1.06); } 60% { transform: translateY(0) scale(1.04, .94); } }
/* next band: the fruit peek higher over the edge */
.peek img { transition: transform .5s cubic-bezier(.3, 1.3, .4, 1); }
.k-next:hover .peek img { transform: translateY(-16px); }
@media (max-width: 560px) { .rooms { grid-template-columns: minmax(0, 1fr); gap: 16px; } .rm-body { padding: 18px 18px 22px; } }
/* mission: option 2 */
.k-mission .mz-copy p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; text-align: left; }
.k-mission .mz-strip > li { background: var(--paper-2); border-radius: 24px; }
.k-mission .mz-strip .v { font-family: var(--disp); font-weight: 700; font-size: 17px; }

/* ======================= GALLERY: bento board ======================= */
.kg { background: var(--paper); padding: clamp(70px, 10vh, 120px) 0; overflow: hidden; }
.kg .wrap { position: relative; }
.kg .sec-h { margin-bottom: clamp(28px, 4vw, 52px); }
.kg-board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 11vw, 170px); grid-auto-flow: dense; gap: clamp(10px, 1.2vw, 16px); }
.kg-board figure { margin: 0; border-radius: 26px; overflow: hidden; border: 6px solid var(--fc); background: var(--fc); rotate: var(--r); transition: rotate .45s cubic-bezier(.3,1.5,.5,1), transform .45s cubic-bezier(.3,1.5,.5,1), box-shadow .3s; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.kg-board figure.p { grid-row: span 2; }
.kg-board figure.l { grid-column: span 2; }
.kg-board figure.sq2 { grid-column: span 2; grid-row: span 2; }
@media (min-width: 821px) { .kg-board { grid-template-rows: repeat(7, clamp(110px, 11vw, 170px)); } .kg-board figure[style] { grid-column: var(--gc); grid-row: var(--gr); } }
.kg-board img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 20px; transition: transform .8s var(--ease-std, ease); }
.kg-board figure:hover { rotate: 0deg; transform: translateY(-6px) scale(1.03); z-index: 2; box-shadow: 0 22px 40px rgba(0,0,0,.18); }
.kg-board figure:hover img { transform: scale(1.06); }
.kg-fruit { position: absolute; z-index: 3; height: auto; pointer-events: none; filter: drop-shadow(0 12px 16px rgba(0,0,0,.18)); }
.kg-fruit.f1 { width: clamp(110px, 11vw, 170px); left: -2%; top: 20px; rotate: -8deg; }
.kg-fruit.f2 { width: clamp(100px, 10vw, 150px); right: -1%; top: 46%; rotate: 8deg; }
.kg-fruit.f3 { width: clamp(110px, 11vw, 160px); left: 30%; bottom: -60px; rotate: -4deg; }
html[data-anim] .kg-fruit { animation: kg-bob 3.6s ease-in-out infinite alternate; }
.kg-fruit.f2 { animation-delay: -1.2s; } .kg-fruit.f3 { animation-delay: -2.4s; }
@keyframes kg-bob { to { translate: 0 -14px; } }
@media (max-width: 820px) {
  .kg-board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; gap: 10px; }
  .kg-board figure { border-width: 4px; border-radius: 18px; } .kg-board img { border-radius: 14px; }
  .kg-board figure.sq2 { grid-column: span 1; grid-row: span 1; }
  .kg-fruit.f1 { width: 90px; top: -10px; } .kg-fruit.f2 { width: 84px; } .kg-fruit.f3 { display: none; }
}

/* next step: friends hanging off the letters */
.kn-hang { position: relative; }
.kn-h .hang { position: absolute; height: auto; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(0,0,0,.2)); transform-origin: 50% 0; }
.kn-h .hang.h1 { width: 1.25em; left: -.95em; top: .5em; rotate: -6deg; }
.kn-h .hang.h2 { width: .95em; right: -.7em; top: -.7em; rotate: 10deg; }
.kn-h .hang.h3 { width: .9em; left: -.1em; top: .72em; rotate: -8deg; }
.kn-h .hang.h4 { width: .82em; right: -1em; top: -.05em; rotate: 12deg; }
html[data-anim] .kn-h .hang { animation: kn-swing 2.8s ease-in-out infinite alternate; }
.kn-h .hang.h2 { animation-delay: -.7s; } .kn-h .hang.h3 { animation-delay: -1.4s; } .kn-h .hang.h4 { animation-delay: -2.1s; }
@keyframes kn-swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@media (max-width: 820px) { .kn-h .hang.h1, .kn-h .hang.h3 { display: none; } }

/* ======================= SUNDAY MORNINGS: Sunday School → JAM Session → mini-stries ======================= */
.k-sun { background: var(--paper); }
.ks-time { list-style: none; margin: clamp(30px, 4vw, 50px) 0 0; padding: 0; display: grid; gap: 22px; position: relative; }
.ks-slot { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 26px; align-items: start; position: relative; }
.ks-slot::before { content: ""; position: absolute; left: 150px; top: 30px; bottom: -22px; width: 0; border-left: 3px dashed rgba(0,0,0,.15); translate: 12px 0; }
.ks-slot:last-child::before { display: none; }
.ks-when { margin: 6px 0 0; display: grid; font-family: var(--disp); font-weight: 700; font-size: 15px; color: rgba(0,0,0,.6); text-align: right; }
.ks-when b { font-size: 46px; line-height: 1; color: var(--ink); }
.ks-card { position: relative; margin-left: 26px; padding: clamp(24px, 3vw, 40px); border-radius: 30px; background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.08); }
.ks-card::before { content: ""; position: absolute; left: -36px; top: 22px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px var(--paper); }
.ks-jam .ks-card::before { background: var(--red); }
.ks-k { margin: 0 0 6px; font-family: var(--disp); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.ks-card h3 { margin: 0 0 12px; font-size: clamp(34px, 3.6vw, 54px); }
.ks-card > p, .ks-jamcopy > p { margin: 0 0 14px; font-size: 17px; line-height: 1.55; color: rgba(0,0,0,.72); max-width: 60ch; }
.ks-grades { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ks-grades li { padding: 8px 14px; border-radius: 999px; font-family: var(--disp); font-weight: 800; font-size: 15px; background: color-mix(in srgb, var(--c, var(--green)) 18%, #fff); color: var(--ink); }
.ks-grades li:nth-child(3n+1) { --c: var(--green); } .ks-grades li:nth-child(3n+2) { --c: var(--red); } .ks-grades li:nth-child(3n) { --c: var(--blue); }
.ks-jamcard { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; background: linear-gradient(160deg, #fff 0%, #FFF4F1 100%); }
.ks-jamh { display: flex; align-items: baseline; gap: 4px; font-size: clamp(44px, 5vw, 80px) !important; }
.ks-jamh span { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: 22%; color: #fff; font-size: .82em; line-height: 1; rotate: var(--r); }
.ks-jamh .j { background: var(--red); --r: -6deg; } .ks-jamh .a { background: var(--blue); --r: 4deg; } .ks-jamh .m { background: var(--green); --r: -3deg; margin-right: 10px; }
.ks-acro { font-family: var(--disp); font-size: 26px !important; font-weight: 700; color: var(--ink) !important; }
.ks-acro b { color: var(--red); font-size: 1.15em; }
.ks-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.ks-list li { display: flex; gap: 10px; align-items: baseline; font-size: 17px; font-weight: 600; }
.ks-list li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); translate: 0 -2px; }
.ks-pun { padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--green) 16%, #fff); color: var(--ink) !important; font-size: 15.5px !important; }
.ks-pun b { color: var(--red); }
/* the jar: a real jam-jar silhouette (shoulders and neck), gingham cap tied with twine, glass shine, a light interior */
.ks-jarwrap { position: relative; display: grid; justify-items: center; gap: 18px; }
.ks-jar { position: relative; width: min(290px, 74%); padding-top: 34px; }
.ks-lid { position: absolute; left: 14%; right: 14%; top: 0; height: 58px; z-index: 4; border-radius: 16px 16px 10px 10px; background: repeating-linear-gradient(0deg, rgba(79,151,170,.55) 0 9px, transparent 9px 18px), repeating-linear-gradient(90deg, rgba(79,151,170,.55) 0 9px, #fff 9px 18px); box-shadow: 0 6px 0 -2px rgba(0,0,0,.08); -webkit-mask: radial-gradient(9px at 9px 100%, transparent 98%, #000) 0 0 / 18px 100%; mask: radial-gradient(9px at 9px 100%, transparent 98%, #000) 0 0 / 18px 100%; }
.ks-lid i { position: absolute; left: -4%; right: -4%; top: 30px; height: 8px; border-radius: 4px; background: #C79A5A; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.ks-glass { position: relative; aspect-ratio: 200 / 240; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%20240%22%3E%3Cpath%20d%3D%22M46%200H154V22C154%2030%20160%2034%20168%2038C184%2046%20194%2062%20194%2084V206C194%20226%20180%20240%20160%20240H40C20%20240%206%20226%206%20206V84C6%2062%2016%2046%2032%2038C40%2034%2046%2030%2046%2022Z%22%20fill%3D%22%23000%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%20240%22%3E%3Cpath%20d%3D%22M46%200H154V22C154%2030%20160%2034%20168%2038C184%2046%20194%2062%20194%2084V206C194%20226%20180%20240%20160%20240H40C20%20240%206%20226%206%20206V84C6%2062%2016%2046%2032%2038C40%2034%2046%2030%2046%2022Z%22%20fill%3D%22%23000%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; background: linear-gradient(90deg, #EAF6FB 0%, #FFFFFF 40%, #F4FAFD 100%); overflow: hidden; }
.ks-jelly { position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: 0; background: linear-gradient(180deg, rgba(123,92,214,.62), rgba(98,66,190,.88)); transition: height 1.6s cubic-bezier(.3,.8,.3,1) 1.4s; }
.ks-jelly::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 20px; background: radial-gradient(14px 10px at 50% 100%, rgba(123,92,214,.62) 98%, transparent) 0 0 / 28px 20px repeat-x; }
.ks-jar.in .ks-jelly { height: 93%; } /* filled to the shoulder of the jar */
.ks-glass .jf { position: absolute; z-index: 1; width: 30%; height: auto; top: -40%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.18)); }
.ks-glass .jf0 { left: 6%; } .ks-glass .jf1 { left: 36%; } .ks-glass .jf2 { left: 64%; } .ks-glass .jf3 { left: 8%; } .ks-glass .jf4 { left: 38%; } .ks-glass .jf5 { left: 66%; } .ks-glass .jf6 { left: 10%; } .ks-glass .jf7 { left: 38%; } .ks-glass .jf8 { left: 64%; }
.ks-jar.in .jf0, .ks-jar.in .jf1, .ks-jar.in .jf2 { --to: 70%; } .ks-jar.in .jf3, .ks-jar.in .jf4, .ks-jar.in .jf5 { --to: 46%; } .ks-jar.in .jf6, .ks-jar.in .jf7, .ks-jar.in .jf8 { --to: 22%; }
.ks-jar.in .jf { top: var(--to); }
.ks-jar.in .jf { animation: jf-drop .9s cubic-bezier(.3,1.3,.5,1) calc(var(--i) * .14s) both; }
@keyframes jf-drop { from { top: -40%; rotate: -20deg; } }
html[data-anim] .ks-jar.in .jf { animation: jf-drop .9s cubic-bezier(.3,1.3,.5,1) calc(var(--i) * .14s) both, jf-bob 3s ease-in-out calc(1.4s + var(--i) * .2s) infinite alternate; }
@keyframes jf-bob { to { translate: 0 -6px; rotate: 6deg; } }
.ks-outline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 200 / 240; z-index: 3; overflow: visible; pointer-events: none; fill: none; }
.ks-outline path:first-child { stroke: #1B1B1B; stroke-width: 4; }
.ks-outline .sh1, .ks-outline .sh2 { stroke: rgba(255,255,255,.95); stroke-width: 7; stroke-linecap: round; }
.ks-label { position: absolute; left: 50%; top: 62%; translate: -50% -50%; z-index: 4; display: grid; justify-items: center; gap: 2px; padding: 10px 18px 9px; border-radius: 14px; background: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); rotate: -4deg; white-space: nowrap; }
.ks-label b { display: flex; gap: 2px; font-family: var(--disp); font-size: 42px; line-height: .9; }
.ks-label i { font-style: normal; } .ks-label .lj { color: var(--red); } .ks-label .la { color: var(--blue); } .ks-label .lm { color: var(--green); }
.ks-label span { font-family: var(--disp); font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ks-fruits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 420px; }
.ks-fruits li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; border: 1.5px solid rgba(0,0,0,.08); font-family: var(--disp); font-weight: 700; font-size: 13px; }
.ks-fruits img { width: 24px; height: 24px; object-fit: contain; }
/* mini-stries */
.ks-mini { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(30px, 5vw, 80px); align-items: center; margin-top: clamp(60px, 9vw, 120px); padding: clamp(28px, 4vw, 56px); border-radius: 36px; background: var(--blue); color: #fff; }
.ks-mini .eyebrow, .ks-mini h3 { color: #fff; }
.ks-mini h3 { margin: 8px 0 14px; }
.ks-mini h3 .c-red { color: #fff !important; }
.ks-minih > p:not(.eyebrow) { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.9); }
.ks-serve { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ks-serve li { display: grid; gap: 4px; padding: 18px; border-radius: 22px; background: #fff; color: var(--ink); transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.ks-serve li:hover { transform: translateY(-4px) rotate(-1deg); }
.ks-ic { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 8px; border-radius: 50%; background: color-mix(in srgb, var(--blue) 18%, #fff); }
.ks-ic img { width: 58px; height: 58px; object-fit: contain; transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.ks-serve li:hover .ks-ic img { transform: rotate(-8deg) scale(1.12); }
.ks-serve li:nth-child(2) .ks-ic { background: color-mix(in srgb, var(--green) 22%, #fff); } .ks-serve li:nth-child(3) .ks-ic { background: color-mix(in srgb, var(--red) 18%, #fff); } .ks-serve li:nth-child(4) .ks-ic { background: color-mix(in srgb, var(--blue) 20%, #fff); } .ks-serve li:nth-child(5) .ks-ic { background: color-mix(in srgb, var(--purple) 18%, #fff); }
.ks-serve b { font-family: var(--disp); font-size: 18px; line-height: 1.1; }
.ks-serve span:not(.ks-ic) { font-size: 13.5px; line-height: 1.4; color: rgba(0,0,0,.65); }
@media (max-width: 960px) { .ks-jamcard, .ks-mini { grid-template-columns: minmax(0, 1fr); } .ks-serve { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ks-slot { grid-template-columns: minmax(0, 1fr); gap: 8px; } .ks-slot::before { display: none; }
  .ks-when { text-align: left; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 8px; } .ks-when b { font-size: 34px; }
  .ks-card { margin-left: 0; } .ks-card::before { display: none; }
  .ks-serve { grid-template-columns: minmax(0, 1fr); }
}
.ks-nw { white-space: nowrap; }
/* the crew: a playful backdrop of drifting fruit, confetti and loose doodles behind the portraits */
.k-team { position: relative; overflow: hidden; isolation: isolate; }
.k-team::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background:
    radial-gradient(circle at 20px 20px, rgba(255,255,255,.22) 5px, transparent 6px) 0 0 / 120px 120px,
    radial-gradient(circle at 80px 70px, rgba(232,192,91,.55) 4px, transparent 5px) 0 0 / 160px 140px,
    radial-gradient(circle at 40px 100px, rgba(239,92,89,.45) 4px, transparent 5px) 30px 10px / 190px 170px,
    radial-gradient(circle at 60px 30px, rgba(79,151,170,.55) 5px, transparent 6px) 60px 40px / 210px 180px;
  animation: crew-drift 40s linear infinite; }
@keyframes crew-drift { to { background-position: 120px 240px, -160px 280px, 220px 350px, -150px 400px; } }
.k-team .crew-fruit { position: absolute; z-index: -1; height: auto; opacity: .22; filter: saturate(.8); pointer-events: none; }
.k-team .crew-fruit.f1 { width: 180px; left: -40px; top: 12%; rotate: -14deg; } .k-team .crew-fruit.f2 { width: 150px; right: -30px; top: 30%; rotate: 12deg; }
.k-team .crew-fruit.f3 { width: 170px; left: 4%; bottom: 6%; rotate: 8deg; } .k-team .crew-fruit.f4 { width: 140px; right: 6%; bottom: 3%; rotate: -10deg; }
.k-team .crew-fruit.f5 { width: 120px; left: 46%; top: 2%; rotate: 6deg; }
html[data-anim] .k-team .crew-fruit { animation: crew-bob 6s ease-in-out infinite alternate; } .k-team .crew-fruit.f2 { animation-delay: -2s; } .k-team .crew-fruit.f3 { animation-delay: -4s; } .k-team .crew-fruit.f4 { animation-delay: -1s; }
@keyframes crew-bob { to { translate: 0 -18px; } }
@media (prefers-reduced-motion: reduce) { .k-team::before { animation: none; } }
@media (max-width: 820px) { .k-team .crew-fruit { opacity: .16; } .k-team .crew-fruit.f5 { display: none; } }
