/* =========================================================
   flikk — company site
   Brand tokens: CIBI/brand-kit-v2/08-design-tokens
   ========================================================= */

@font-face { font-family: "Pretendard"; src: url("assets/fonts/Pretendard-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url("assets/fonts/Pretendard-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/Nunito-Variable.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }

:root {
  --cobalt: #2455E8;
  --cobalt-light: #4C77F0;
  --cobalt-pale: #9DB4F6;
  --cobalt-deep: #1B44C8;
  --cream: #F7F2E8;
  --butter: #FFE58A;
  --ink: #18213A;
  --white: #FFFFFF;

  --font-display: "Nunito", "Pretendard", system-ui, sans-serif;
  --font-body: "Pretendard", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;

  --radius-card: 28px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --springy: cubic-bezier(.3, 1.9, .5, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--butter); color: var(--ink); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }

/* spark symbol colours (inherit through <use>) */
.sym-body { fill: var(--spark, var(--cobalt)); }
.sym-eye  { fill: var(--eye, var(--cream)); }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--cobalt);
  margin-bottom: 20px;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--cobalt);
}
.lead { font-size: clamp(16px, 1.5vw, 19px); max-width: 560px; margin-top: 20px; opacity: .85; }
.section { padding: clamp(96px, 14vw, 180px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--bounce), background .25s, color .25s, box-shadow .25s;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--bounce); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--cobalt); color: var(--cream); box-shadow: 0 6px 0 var(--cobalt-deep); }
.btn-primary:hover { box-shadow: 0 9px 0 var(--cobalt-deep); }
.btn-primary:active { box-shadow: 0 2px 0 var(--cobalt-deep); }
.btn-ghost { color: var(--cobalt); box-shadow: inset 0 0 0 2px var(--cobalt); }
.btn-ghost:hover { background: var(--cobalt); color: var(--cream); }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 0 6px 0 rgba(24,33,58,.35); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: transform .45s var(--ease-out), background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(247, 242, 232, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(36,85,232,.12); }
.site-header.hide { transform: translateY(-110%); }
.brand img { width: 104px; height: auto; transition: transform .4s var(--springy); }
.brand:hover img { transform: rotate(-4deg) scale(1.06); }
.nav ul { display: flex; align-items: center; gap: 6px; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--cobalt); text-decoration: none;
  transition: background .2s, transform .3s var(--bounce);
}
.nav a:hover { background: rgba(36,85,232,.08); transform: translateY(-2px); }
.nav a.pill { background: var(--butter); color: var(--cobalt); margin-left: 6px; }
.nav a.pill:hover { background: var(--cobalt); color: var(--cream); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: var(--cobalt); cursor: pointer;
  }
  .nav-toggle span:not(.sr) { width: 20px; height: 2.5px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--bounce); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .nav ul {
    position: absolute; right: 16px; top: 72px;
    flex-direction: column; align-items: stretch; gap: 2px;
    min-width: 200px; padding: 10px;
    background: var(--white); border-radius: 22px;
    box-shadow: 0 20px 50px rgba(24,33,58,.18);
    transform-origin: top right;
    transform: scale(.6); opacity: 0; pointer-events: none;
    transition: transform .35s var(--bounce), opacity .2s;
  }
  .nav ul.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { font-size: 17px; padding: 12px 16px; }
  .nav a.pill { margin: 6px 0 0; text-align: center; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: 104px var(--gutter) clamp(190px, 30vh, 300px);
  overflow: hidden;
  isolation: isolate;
}
.hero-inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; margin-block: auto; }

/* logo */
.hero-logo { width: min(540px, 80vw); height: auto; overflow: visible; color: var(--cobalt); }
.hero-logo path { fill: var(--cobalt); }
.hero-logo .lt,
.hero-logo .lg-spark,
.hero-logo .lg-sub path,
.foot-logo .fl,
.foot-logo .fl-spark { transform-box: fill-box; }
.hero-logo .lt { transform-origin: 50% 100%; animation: drop 1s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * .09s); }
@keyframes drop {
  0%   { transform: translateY(-140%) scale(.9, 1.15); opacity: 0; }
  40%  { opacity: 1; }
  55%  { transform: translateY(0) scale(1.12, .82); }
  70%  { transform: translateY(-14%) scale(.95, 1.06); }
  85%  { transform: translateY(0) scale(1.04, .96); }
  100% { transform: none; }
}
.hero-logo .lg-spark { transform-origin: 50% 100%; animation: sparkLand 1.1s var(--ease-out) .75s both; }
@keyframes sparkLand {
  0%   { transform: translateY(-260%) rotate(-200deg) scale(.4); opacity: 0; }
  50%  { transform: translateY(0) rotate(0) scale(1.15, .8); opacity: 1; }
  65%  { transform: translateY(-30%) scale(.92, 1.1); }
  80%  { transform: translateY(0) scale(1.06, .94); }
  100% { transform: none; }
}
.spark-bob { transform-box: fill-box; transform-origin: 50% 90%; animation: bob 3.2s ease-in-out 2s infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6%) rotate(6deg); } }
.hero-logo .spark-eyes path, .foot-logo .spark-eyes path { fill: var(--cream); }
.foot-logo .spark-eyes path { fill: var(--cobalt); }
.spark-eyes { transition: transform .25s var(--ease-out); }
.spark-eyes path { transform-box: fill-box; transform-origin: center; animation: blink 4.6s infinite 2.2s; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.08); } }
.spark-eyes.blink-now path { animation: blinkNow .22s 1; }
@keyframes blinkNow { 50% { transform: scaleY(.08); } }

.lg-sub path { opacity: 0; transform-origin: 50% 100%; transform: translateY(70%) scale(.3); transition: transform .5s var(--springy), opacity .25s; transition-delay: calc(var(--i) * 45ms); }
.hero-logo[data-sub="games"] .sub-games path,
.hero-logo[data-sub="studio"] .sub-studio path { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * 55ms); }
.hero-logo .lg-sub path { cursor: pointer; }

.hero-title {
  margin-top: 28px;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--cobalt);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; animation: lineUp 1s var(--ease-out) both; }
.hero-title .line:nth-child(1) > span { animation-delay: 1.15s; }
.hero-title .line:nth-child(2) > span { animation-delay: 1.27s; }
@keyframes lineUp { from { transform: translateY(110%) rotate(4deg); } to { transform: none; } }
.hero-sub { margin-top: 18px; max-width: 520px; font-size: clamp(16px, 1.6vw, 18px); animation: fadeUp .9s var(--ease-out) 1.45s both; }
.hero-sub em { font-family: var(--font-display); font-weight: 800; font-style: normal; color: var(--cobalt); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; animation: fadeUp .9s var(--ease-out) 1.6s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .br-d { display: none; } }

/* floating decor */
.hero-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-float > * { position: absolute; translate: var(--px, 0) var(--py, 0); transition: translate .6s var(--ease-out); }
.fs { animation: float 7s ease-in-out infinite, popIn .8s var(--springy) both; }
.fs-1 { width: 84px; height: 84px; left: 7%;  top: 20%; --spark: var(--butter); --eye: var(--cobalt); animation-delay: 0s, 1.7s; }
.fs-2 { width: 46px; height: 46px; left: 18%; top: 58%; --spark: var(--cobalt); animation-delay: -2s, 1.8s; }
.fs-3 { width: 64px; height: 64px; right: 9%; top: 16%; --spark: var(--cobalt); animation-delay: -4s, 1.9s; }
.fs-4 { width: 38px; height: 38px; right: 20%; top: 52%; --spark: var(--butter); --eye: var(--cobalt); animation-delay: -1s, 2s; }
.fs-5 { width: 110px; height: 110px; right: -24px; top: 66%; --spark: var(--cobalt-pale); animation-delay: -3s, 2.1s; }
.fs-6 { width: 30px; height: 30px; left: 42%; top: 11%; --spark: var(--butter); --eye: var(--cobalt); animation-delay: -5s, 2.2s; }
@media (max-width: 560px) {
  .fs-2, .fs-4, .fs-6, .p2 { display: none; }
  .fs-1 { width: 48px; height: 48px; left: 4%; top: 13%; }
  .fs-3 { width: 40px; height: 40px; right: 5%; top: 40%; }
  .fs-5 { width: 80px; height: 80px; top: 74%; }
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-22px) rotate(10deg); } }
@keyframes popIn { from { scale: 0; } to { scale: 1; } }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cobalt); animation: twinkle 3s ease-in-out infinite; }
.d1 { left: 12%; top: 40%; } .d2 { left: 30%; top: 24%; background: var(--butter); animation-delay: -1s; }
.d3 { right: 30%; top: 30%; width: 8px; height: 8px; animation-delay: -2s; } .d4 { right: 6%; top: 44%; background: var(--butter); width: 16px; height: 16px; }
.plus { font: 800 34px/1 var(--font-display); color: var(--butter); font-style: normal; animation: spin 9s linear infinite; }
.p1 { left: 26%; top: 72%; } .p2 { right: 34%; top: 14%; color: var(--cobalt-pale); animation-direction: reverse; }
@keyframes twinkle { 0%,100% { scale: 1; opacity: 1; } 50% { scale: .4; opacity: .4; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* hills */
.hills { position: absolute; inset: auto 0 0; height: clamp(170px, 30vh, 290px); z-index: 2; pointer-events: none; translate: 0 var(--hills-y, 0); }
.hill { position: absolute; bottom: -20px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; animation: hillBob 6s ease-in-out infinite; }
.h1 { left: -8%;  width: 48%; height: 78%; background: var(--cobalt-pale); animation-delay: -1s; }
.h2 { right: -10%; width: 52%; height: 92%; background: var(--cobalt-light); animation-delay: -3s; }
.h3 { left: 22%;  width: 46%; height: 70%; background: var(--cobalt); animation-delay: -2s; pointer-events: auto; }
.h4 { left: -14%; width: 44%; height: 44%; background: var(--cobalt-deep); animation-delay: -4s; }
.h5 { right: 4%;  width: 40%; height: 40%; background: var(--cobalt-deep); animation-delay: -.5s; }
@keyframes hillBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.hills .hill { animation: hillBob 6s ease-in-out infinite, rise 1.2s var(--ease-out) both; }
.h1 { animation-delay: -1s, .5s !important; } .h2 { animation-delay: -3s, .6s !important; } .h3 { animation-delay: -2s, .75s !important; }
.h4 { animation-delay: -4s, .9s !important; } .h5 { animation-delay: -.5s, 1s !important; }
@keyframes rise { from { translate: 0 100%; } to { translate: 0 0; } }
.sun { position: absolute; left: 62%; bottom: 46%; width: clamp(90px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--butter); animation: sunRise 1.6s var(--ease-out) .9s both, sunPulse 5s ease-in-out 2.5s infinite; }
@keyframes sunRise { from { transform: translateY(120%); } to { transform: none; } }
@keyframes sunPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,229,138,.5); } 50% { box-shadow: 0 0 0 24px rgba(255,229,138,0); } }

.buddy { position: absolute; left: 50%; top: -14px; width: 72px; height: 72px; translate: -50% 0; cursor: pointer; }
.buddy-spark { width: 100%; height: 100%; --spark: var(--cream); --eye: var(--cobalt); transform-origin: 50% 100%; animation: hop 3.6s var(--ease-out) 2.4s infinite; }
.buddy:hover .buddy-spark, .buddy.boing .buddy-spark { animation: boing .7s var(--ease-out); }
@keyframes hop {
  0%, 60%, 100% { transform: none; }
  66% { transform: scale(1.15, .8); }
  76% { transform: translateY(-46%) scale(.92, 1.1) rotate(-8deg); }
  86% { transform: translateY(0) scale(1.1, .88); }
  92% { transform: scale(.97, 1.03); }
}
@keyframes boing {
  0% { transform: none; } 20% { transform: scale(1.25, .7); } 45% { transform: translateY(-70%) rotate(200deg); }
  70% { transform: translateY(0) rotate(360deg) scale(1.1, .9); } 100% { transform: rotate(360deg); }
}
.rays { position: absolute; right: -18px; top: -14px; width: 30px; height: 30px; }
.rays i { position: absolute; left: 50%; bottom: 0; width: 5px; height: 14px; border-radius: 4px; background: var(--butter); transform-origin: 50% 160%; animation: ray 1.8s ease-in-out infinite; }
.rays i:nth-child(1) { transform: rotate(-40deg); } .rays i:nth-child(2) { transform: rotate(0); animation-delay: .15s; } .rays i:nth-child(3) { transform: rotate(40deg); animation-delay: .3s; }
@keyframes ray { 0%,100% { opacity: 1; height: 14px; } 50% { opacity: .3; height: 8px; } }

.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 22px; translate: -50% 0; width: 28px; height: 44px; border-radius: 20px; box-shadow: inset 0 0 0 2.5px var(--cream); animation: fadeUp .8s 2.2s both; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 5px; height: 9px; margin-left: -2.5px; border-radius: 3px; background: var(--cream); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquees { position: relative; z-index: 5; margin: -10px 0 0; padding: 30px 0; overflow: hidden; }
.marquee { overflow: hidden; white-space: nowrap; padding: 18px 0; }
.m-cobalt { background: var(--cobalt); color: var(--cream); transform: rotate(-2.2deg) scale(1.04); --spark: var(--butter); --eye: var(--cobalt); }
.m-butter { background: var(--butter); color: var(--cobalt); transform: rotate(1.6deg) scale(1.04); margin-top: -8px; }
.marquee-track { display: inline-flex; align-items: center; gap: 28px; will-change: transform; }
.marquee span { font: 800 clamp(30px, 4.6vw, 58px)/1 var(--font-display); letter-spacing: -.01em; }
.marquee svg { width: clamp(34px, 4vw, 52px); height: clamp(34px, 4vw, 52px); flex: none; animation: spin 6s linear infinite; }
.marquee b { font-size: 28px; }

/* =========================================================
   ABOUT
   ========================================================= */
.scrub-text {
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 58px);
  line-height: 1.32;
  letter-spacing: -0.025em;
  max-width: 1100px;
}
.scrub-text .w { color: rgba(24, 33, 58, .14); transition: color .35s; }
.scrub-text .w.on { color: var(--ink); }
.scrub-text .w.hl.on { color: var(--cobalt); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(64px, 9vw, 120px); }
.stats li { padding: 28px 24px; border-radius: 24px; background: var(--white); transition: transform .4s var(--bounce); }
.stats li:hover { transform: translateY(-8px) rotate(-1.5deg); }
.stats li:nth-child(2) { --d: .08s; } .stats li:nth-child(3) { --d: .16s; } .stats li:nth-child(4) { --d: .24s; }
.stats strong { display: block; font: 800 clamp(44px, 5.6vw, 72px)/1 var(--font-display); color: var(--cobalt); font-variant-numeric: tabular-nums; }
.stats em { display: block; margin-top: 12px; font-style: normal; font-size: 15px; opacity: .7; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* =========================================================
   BRANDS
   ========================================================= */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-card { perspective: 1000px; }
.brand-card:nth-child(2) { --d: .12s; }
.tilt-inner {
  --rx: 0deg; --ry: 0deg;
  position: relative; overflow: hidden;
  height: 100%;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 36px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out);
}
.bc-games .tilt-inner { background: var(--cobalt); color: var(--cream); --spark: var(--cream); --eye: var(--cobalt); }
.bc-studio .tilt-inner { background: var(--butter); color: var(--ink); --spark: var(--cobalt); --eye: var(--butter); }
.bc-logo { width: min(320px, 82%); height: auto; margin: -6% 0 0 -5%; transition: transform .6s var(--springy); }
.brand-card:hover .bc-logo { transform: translateZ(40px) rotate(-3deg) scale(1.04); }
.brand-card h3 { font-size: 26px; font-weight: 700; margin-top: 8px; }
.brand-card h3 span { font-size: 14px; font-weight: 400; opacity: .7; margin-left: 8px; }
.bc-studio h3 { color: var(--cobalt); }
.brand-card p { margin-top: 12px; max-width: 440px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.bc-games .tags li { background: rgba(247,242,232,.14); }
.bc-studio .tags li { background: rgba(36,85,232,.1); color: var(--cobalt); }
.bc-link { display: inline-flex; gap: 8px; margin-top: 36px; font-family: var(--font-display); font-weight: 800; font-size: 18px; text-decoration: none; }
.bc-studio .bc-link { color: var(--cobalt); }
.bc-link span { transition: transform .3s var(--bounce); }
.bc-link:hover span { transform: translateX(8px); }
.peek { position: absolute; right: 28px; bottom: -64px; width: 120px; height: 120px; transform: rotate(-12deg); transition: transform .6s var(--springy); }
.brand-card:hover .peek { transform: translateY(-58px) rotate(8deg); }
@media (max-width: 860px) { .brand-grid { grid-template-columns: 1fr; } .peek { bottom: -80px; } }

/* =========================================================
   GAMES — pinned horizontal track
   ========================================================= */
.games { position: relative; height: var(--games-h, 300vh); }
.games-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-rows: auto 1fr; align-content: center; gap: clamp(24px, 4vh, 44px);
  padding: 96px 0 40px;
  overflow: hidden;
}
.games-head { margin: 0; padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); width: 100%; margin-inline: auto; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.games-head .eyebrow, .games-head h2 { grid-column: 1; }
.games-progress { grid-column: 2; grid-row: 2; width: 160px; height: 8px; border-radius: 8px; background: rgba(36,85,232,.14); overflow: hidden; margin-bottom: 14px; }
.games-progress span { display: block; height: 100%; width: 100%; background: var(--cobalt); border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, 0)); }
.games-track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; will-change: transform; align-self: stretch; max-height: 560px; }
.game-card {
  position: relative; flex: none;
  width: clamp(290px, 34vw, 430px);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--bounce);
}
.game-card:hover { transform: translateY(-10px) rotate(-1deg); }
.scene { position: relative; flex: 1; min-height: 220px; overflow: hidden; }
.game-info { padding: 22px 26px 26px; }
.game-info h3 { font: 800 32px/1.1 var(--font-display); }
.game-info p { margin-top: 8px; font-size: 16px; opacity: .85; }
.badge { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }

/* Lumi Fields */
.g-lumi { background: var(--cobalt); color: var(--cream); }
.g-lumi .badge { background: var(--butter); color: var(--cobalt); }
.g-sun { position: absolute; right: 18%; top: 18%; width: 80px; height: 80px; border-radius: 50%; background: var(--butter); animation: sunPulse 3.5s ease-in-out infinite; }
.cloud { position: absolute; height: 26px; width: 90px; background: var(--cream); border-radius: 30px; animation: drift 18s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 40px; height: 40px; left: 14px; top: -20px; }
.cloud::after { width: 30px; height: 30px; left: 44px; top: -12px; }
.c1 { top: 26%; animation-delay: -4s; } .c2 { top: 44%; transform: scale(.7); animation-duration: 26s; animation-delay: -15s; opacity: .85; }
@keyframes drift { from { left: -120px; } to { left: 110%; } }
.g-hill { position: absolute; bottom: -30px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.gh1 { left: -20%; width: 90%; height: 52%; background: var(--cobalt-light); }
.gh2 { right: -25%; width: 95%; height: 40%; background: var(--cobalt-deep); }
.fly { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--butter); box-shadow: 0 0 12px 3px rgba(255,229,138,.7); animation: fly 6s ease-in-out infinite; }
.f1 { left: 20%; top: 60%; } .f2 { left: 40%; top: 72%; animation-delay: -1.5s; } .f3 { left: 62%; top: 58%; animation-delay: -3s; }
.f4 { left: 78%; top: 76%; animation-delay: -4s; } .f5 { left: 32%; top: 48%; animation-delay: -2.2s; }
@keyframes fly { 0%,100% { transform: translate(0,0); opacity: 1; } 25% { transform: translate(14px,-18px); opacity: .3; } 50% { transform: translate(-6px,-30px); opacity: 1; } 75% { transform: translate(-16px,-10px); opacity: .5; } }

/* Blockward */
.g-block { background: var(--butter); color: var(--ink); }
.g-block .badge { background: var(--cobalt); color: var(--cream); }
.g-block h3 { color: var(--cobalt); }
.cube-wrap { position: absolute; left: 50%; top: 44%; translate: -50% -50%; perspective: 600px; animation: cubeBounce 2.4s var(--ease-out) infinite; }
.cube { position: relative; width: 92px; height: 92px; transform-style: preserve-3d; animation: cubeSpin 7s linear infinite; }
.cube i { position: absolute; inset: 0; border-radius: 16px; background: var(--cobalt); box-shadow: inset 0 0 0 4px rgba(24,33,58,.12); }
.cube i:nth-child(1) { transform: translateZ(46px); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(46px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(46px); background: var(--cobalt-light); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(46px); background: var(--cobalt-light); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(46px); background: var(--cobalt-pale); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(46px); background: var(--cobalt-deep); }
@keyframes cubeSpin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
@keyframes cubeBounce { 0%,100% { translate: -50% -50%; } 45% { translate: -50% -78%; } }
.mini { position: absolute; bottom: 22%; width: 28px; height: 28px; border-radius: 8px; background: var(--cobalt); animation: miniHop 1.6s var(--ease-out) infinite; }
.m1 { left: 14%; } .m2 { left: 24%; animation-delay: .2s; background: var(--cream); } .m3 { right: 16%; animation-delay: .5s; width: 36px; height: 36px; }
@keyframes miniHop { 0%,100% { transform: none; } 30% { transform: translateY(-30px) rotate(90deg); } 55% { transform: scale(1.2,.8) rotate(90deg); } 70% { transform: rotate(90deg); } }
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: repeating-linear-gradient(90deg, var(--cobalt) 0 40px, var(--cobalt-deep) 40px 80px); animation: scrollGround 2s linear infinite; }
@keyframes scrollGround { to { background-position: -80px 0; } }

/* Mosslight */
.g-moss { background: var(--ink); color: var(--cream); }
.g-moss .badge { background: var(--cobalt); color: var(--cream); }
.glow { position: absolute; left: 50%; top: 52%; width: 260px; height: 260px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255,229,138,.45), rgba(255,229,138,0) 65%); animation: glow 3s ease-in-out infinite; }
@keyframes glow { 0%,100% { scale: .9; opacity: .8; } 50% { scale: 1.12; opacity: 1; } }
.shroom { position: absolute; left: 50%; bottom: 18%; translate: -50% 0; width: 130px; transform-origin: 50% 100%; animation: sway 4s ease-in-out infinite; }
.cap { position: relative; height: 64px; background: var(--butter); border-radius: 70px 70px 22px 22px; }
.cap i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); }
.cap i:nth-child(1) { left: 26px; top: 18px; } .cap i:nth-child(2) { left: 62px; top: 10px; width: 18px; height: 18px; } .cap i:nth-child(3) { left: 94px; top: 26px; width: 10px; height: 10px; }
.stem { width: 44px; height: 60px; margin: -6px auto 0; background: var(--cream); border-radius: 0 0 18px 18px; }
@keyframes sway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.hopper { position: absolute; left: 16%; bottom: 18%; width: 48px; height: 48px; --spark: var(--cream); --eye: var(--ink); transform-origin: 50% 100%; animation: hopRight 3.4s var(--ease-out) infinite; }
@keyframes hopRight { 0%,100% { transform: none; } 20% { transform: scale(1.15,.8); } 35% { transform: translate(14px,-56px) rotate(16deg); } 50% { transform: translate(28px,0) scale(1.1,.9); } 60% { transform: translate(28px,0); } 75% { transform: translate(14px,-40px) rotate(-12deg); } 90% { transform: scale(1.08,.92); } }
.spore { position: absolute; bottom: 30%; width: 6px; height: 6px; border-radius: 50%; background: var(--butter); animation: spore 5s linear infinite; }
.s1 { left: 44%; } .s2 { left: 56%; animation-delay: -1.7s; } .s3 { left: 64%; animation-delay: -3.4s; }
@keyframes spore { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } to { transform: translate(20px,-180px); opacity: 0; } }
.moss { position: absolute; left: -10px; right: -10px; bottom: -40px; height: 70px; background: var(--cobalt); border-radius: 50% 50% 0 0 / 60% 60% 0 0; }

/* Next */
.g-next { background: transparent; color: var(--cobalt); box-shadow: inset 0 0 0 3px var(--cobalt); }
.g-next .scene { background-image: radial-gradient(rgba(36,85,232,.18) 2px, transparent 2px); background-size: 22px 22px; }
.g-next .badge { background: var(--butter); color: var(--cobalt); }
.spin-spark { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; --spark: var(--cobalt); animation: spinBounce 4s var(--ease-out) infinite; }
@keyframes spinBounce { 0%,100% { transform: rotate(0) scale(1); } 40% { transform: rotate(180deg) scale(.8); } 55% { transform: rotate(360deg) scale(1.15); } 70% { transform: rotate(360deg) scale(1); } }
.q { position: absolute; right: 22%; top: 18%; font: 800 64px/1 var(--font-display); color: var(--butter); -webkit-text-stroke: 3px var(--cobalt); animation: float 3s ease-in-out infinite; }

@media (max-width: 760px) {
  .games { height: auto; }
  .games-sticky { position: static; height: auto; padding: 96px 0 72px; }
  .games-head { grid-template-columns: 1fr; }
  .games-progress { display: none; }
  .games-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: none; transform: none !important; }
  .games-track::-webkit-scrollbar { display: none; }
  .game-card { width: 82vw; height: 460px; scroll-snap-align: center; }
}

/* =========================================================
   STUDIO
   ========================================================= */
.studio-band { background: var(--ink); }
.studio { color: var(--cream); }
.studio h2 { color: var(--cream); }
.studio .eyebrow { color: var(--butter); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.btn-butter { background: var(--butter); color: var(--cobalt); box-shadow: 0 6px 0 rgba(24,33,58,.35); }
.btn-butter:hover { box-shadow: 0 9px 0 rgba(24,33,58,.35); }

/* featured product */
.product {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 36px;
  background: var(--cobalt);
  color: var(--cream);
}
.product .badge { background: var(--butter); color: var(--cobalt); }
.product h3 { font: 800 clamp(32px, 4vw, 48px)/1.1 var(--font-display); }
.product-desc { margin-top: 14px; font-size: 17px; }
.features { margin: 26px 0 32px; display: grid; gap: 12px; }
.features li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; }
.features li::before { content: ""; grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--butter) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232455E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.features b { font-weight: 700; }
.features span { font-size: 15px; opacity: .8; }

.mock {
  background: var(--cream); color: var(--ink);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 18px 0 rgba(24,33,58,.25);
  transform: rotate(1.2deg);
  font-size: 13px; line-height: 1.45;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--white); border-bottom: 1px solid rgba(24,33,58,.08); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(24,33,58,.14); }
.mock-bar span { margin-left: 8px; font: 800 13px/1 var(--font-display); color: var(--cobalt); }
.mock-body { display: grid; gap: 10px; padding: 16px; }
.mock-body > * { opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .4s, transform .55s var(--springy); }
.mock.s1 .m-in1, .mock.s2 .m-in2, .mock.s3 .m-ai, .mock.s5 .quote, .mock.s6 .split { opacity: 1; transform: none; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--white); }
.msg em { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 4px; font: 800 11px/1 var(--font-display); font-style: normal; padding: 3px 8px; border-radius: 999px; }
.ch-wa { background: rgba(36,85,232,.1); color: var(--cobalt); }
.ch-mail { background: rgba(24,33,58,.08); color: var(--ink); }
.m-ai { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--cream); position: relative; }
.ch-ai { background: var(--butter); color: var(--cobalt); }
.ch-ai svg { width: 14px; height: 14px; --spark: var(--cobalt); --eye: var(--butter); }
.m-ai p { display: none; }
.mock.s4 .m-ai p { display: block; animation: fadeUp .4s var(--ease-out); }
.mock.s4 .typing { display: none; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cream); animation: typing 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.send { display: none; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--butter); color: var(--cobalt); font-weight: 700; font-size: 12px; width: fit-content; }
.mock.s4 .send { display: block; animation: sendPulse 1.2s ease-in-out infinite; }
@keyframes sendPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,229,138,.7); } 50% { box-shadow: 0 0 0 8px rgba(255,229,138,0); } }
.quote { padding: 14px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 2px var(--cobalt); }
.q-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.q-head b { color: var(--cobalt); font-family: var(--font-display); }
.q-head span { opacity: .6; }
.q-line { display: flex; justify-content: space-between; gap: 20px; margin: 6px 0; }
.q-line i { height: 7px; border-radius: 4px; background: rgba(24,33,58,.1); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease-out) .3s; }
.q-line i:first-child { width: 55%; } .q-line i:last-child { width: 18%; }
.q-line + .q-line i:first-child { width: 40%; transition-delay: .5s; }
.mock.s5 .q-line i { transform: none; }
.q-total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px dashed rgba(24,33,58,.2); }
.q-total b { color: var(--cobalt); font-variant-numeric: tabular-nums; }
.split p { font-weight: 700; margin-bottom: 6px; }
.bar { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; margin: 5px 0; }
.bar span { font-size: 12px; opacity: .7; }
.bar i { height: 10px; border-radius: 6px; background: var(--cobalt); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--springy); width: calc(var(--w) * 100%); }
.bar:nth-child(3) i { background: var(--cobalt-light); transition-delay: .12s; } .bar:nth-child(4) i { background: var(--butter); transition-delay: .24s; }
.mock.s6 .bar i { transform: none; }
.si-next svg { width: 72px; height: 72px; --spark: var(--butter); --eye: var(--ink); animation: spinBounce 4s var(--ease-out) infinite; }
.s-next { box-shadow: inset 0 0 0 2px rgba(255,229,138,.5); }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .mock { transform: none; } }
.service {
  padding: 30px 26px 32px;
  border-radius: var(--radius-card);
  background: rgba(247,242,232,.06);
  box-shadow: inset 0 0 0 1px rgba(247,242,232,.1);
  transition: background .3s, transform .45s var(--bounce);
}
.service:nth-child(2) { --d: .08s; } .service:nth-child(3) { --d: .16s; } .service:nth-child(4) { --d: .24s; }
.service:hover { background: var(--cobalt); transform: translateY(-10px); }
.service h3 { margin-top: 26px; font-size: 21px; font-weight: 700; }
.service p { margin-top: 10px; font-size: 15px; opacity: .75; }
.s-icon { position: relative; width: 84px; height: 84px; }
/* brand: orbiting circles */
.si-brand i { position: absolute; width: 44px; height: 44px; border-radius: 50%; mix-blend-mode: normal; animation: orbit 4s ease-in-out infinite; }
.si-brand i:nth-child(1) { left: 0; top: 20px; background: var(--cobalt); }
.si-brand i:nth-child(2) { left: 20px; top: 0; background: var(--butter); animation-delay: -1.3s; }
.si-brand i:nth-child(3) { left: 36px; top: 30px; background: var(--cream); animation-delay: -2.6s; }
@keyframes orbit { 0%,100% { transform: translate(0,0); } 33% { transform: translate(8px,-6px); } 66% { transform: translate(-6px,6px); } }
.service:hover .si-brand i:nth-child(1) { background: var(--ink); }
/* interactive: ripple tap */
.si-inter i:nth-child(1) { position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--butter); animation: ripple 1.8s ease-out infinite; }
.si-inter i:nth-child(2) { position: absolute; left: 34px; top: 34px; width: 16px; height: 16px; border-radius: 50%; background: var(--butter); animation: tap 1.8s ease-out infinite; }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(2); opacity: 0; } }
@keyframes tap { 0%,100% { transform: scale(1); } 10% { transform: scale(.6); } 25% { transform: scale(1.1); } }
/* app: equalizer bars */
.si-app { display: flex; align-items: flex-end; gap: 8px; padding: 14px 18px; border-radius: 20px; box-shadow: inset 0 0 0 3px var(--cream); }
.si-app i { flex: 1; height: 30%; border-radius: 6px; background: var(--butter); animation: eq 1.4s ease-in-out infinite; }
.si-app i:nth-child(2) { animation-delay: -.4s; background: var(--cobalt-light); } .si-app i:nth-child(3) { animation-delay: -.8s; }
.service:hover .si-app i:nth-child(2) { background: var(--cream); }
@keyframes eq { 0%,100% { height: 25%; } 50% { height: 100%; } }
/* motion: squash ball */
.si-motion::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 4px; border-radius: 4px; background: rgba(247,242,232,.3); }
.si-motion i { position: absolute; left: 26px; bottom: 4px; width: 32px; height: 32px; border-radius: 50%; background: var(--butter); transform-origin: 50% 100%; animation: ball 1.1s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes ball { 0%,100% { transform: translateY(0) scale(1.3,.7); } 15% { transform: translateY(0) scale(1); } 50% { transform: translateY(-46px) scale(.9,1.1); } 85% { transform: translateY(0) scale(1); } }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* =========================================================
   PROCESS — spark rides a path
   ========================================================= */
.path-wrap { position: relative; height: clamp(980px, 120vw, 1300px); }
.path-svg { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.path-bg { fill: none; stroke: rgba(36,85,232,.16); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 16; }
.path-fg { fill: none; stroke: var(--cobalt); stroke-width: 8; stroke-linecap: round; }
.path-rider { --spark: var(--butter); --eye: var(--cobalt); }
.path-rider use { transform-box: fill-box; transform-origin: center; animation: spin 5s linear infinite; }
.steps li {
  position: absolute; width: min(330px, 40%);
  padding: 24px 26px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 0 0 0 var(--cobalt);
  opacity: .35; transform: scale(.92);
  transition: opacity .4s, transform .6s var(--springy), box-shadow .4s;
}
.steps li.on { opacity: 1; transform: none; box-shadow: 0 0 0 3px var(--cobalt), 0 12px 0 var(--cobalt); }
.steps b { font: 800 15px/1 var(--font-display); color: var(--cream); background: var(--cobalt); padding: 6px 10px; border-radius: 999px; }
.steps h3 { margin-top: 14px; font: 800 24px/1.2 var(--font-display); color: var(--cobalt); }
.steps p { margin-top: 8px; font-size: 15px; }
@media (max-width: 760px) {
  .path-wrap { height: 1080px; }
  .steps li { width: auto; }
}

/* =========================================================
   CAREERS
   ========================================================= */
.careers { position: relative; overflow: hidden; background: var(--butter); padding: clamp(110px, 15vw, 200px) var(--gutter); }
.careers-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.careers h2 { font-size: clamp(44px, 8vw, 104px); line-height: 1.08; }
.careers .lead { margin-bottom: 36px; }
.wobble-title .ch { display: inline-block; }
.wobble-title.in .ch { animation: wave .9s var(--springy) both; animation-delay: calc(var(--ci) * 35ms); }
.wobble-title .ch:hover { animation: jelly .6s var(--springy); }
@keyframes wave { from { transform: translateY(60%) rotate(8deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes jelly { 0% { transform: none; } 30% { transform: scale(1.25,.75); } 50% { transform: scale(.85,1.2) translateY(-12%); } 75% { transform: scale(1.05,.95); } 100% { transform: none; } }
.c-spark { position: absolute; --spark: var(--cobalt); --eye: var(--butter); animation: float 6s ease-in-out infinite; translate: 0 var(--cy, 0); }
.cs1 { width: 180px; height: 180px; right: 6%; top: 14%; }
.cs2 { width: 70px; height: 70px; right: 28%; bottom: 14%; animation-delay: -2s; --spark: var(--white); --eye: var(--cobalt); }
.cs3 { width: 44px; height: 44px; right: 4%; bottom: 22%; animation-delay: -4s; }
@media (max-width: 760px) { .cs1 { width: 100px; height: 100px; top: 6%; opacity: .9; } .cs2 { display: none; } }

/* =========================================================
   CONTACT + FOOTER
   ========================================================= */
.contact { background: var(--cobalt); color: var(--cream); padding: clamp(110px, 14vw, 180px) var(--gutter) 0; overflow: hidden; }
.contact-inner { max-width: var(--max); margin: 0 auto; }
.contact .eyebrow { color: var(--butter); }
.contact h2 { color: var(--cream); }
.mail {
  --mx: 0px; --my: 0px;
  display: inline-block; margin-top: 40px;
  font: 800 clamp(28px, 5vw, 64px)/1.1 var(--font-display);
  color: var(--butter); text-decoration: none;
  background: linear-gradient(var(--butter), var(--butter)) 0 100% / 0 4px no-repeat;
  transition: background-size .5s var(--ease-out), translate .35s var(--bounce);
  translate: var(--mx) var(--my);
  word-break: break-all;
}
.mail:hover { background-size: 100% 4px; }
.contact-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; padding-top: 32px; border-top: 1px solid rgba(247,242,232,.2); }
.contact-cols h3 { font: 800 20px/1.2 var(--font-display); }
.contact-cols p { margin-top: 6px; opacity: .8; }
.contact-cols a { text-decoration: none; border-bottom: 1px solid rgba(247,242,232,.4); }
.contact-cols a:hover { color: var(--butter); border-color: var(--butter); }
@media (max-width: 760px) { .contact-cols { grid-template-columns: 1fr; } }

.footer-logo { max-width: 1400px; margin: clamp(80px, 10vw, 140px) auto 0; padding: 0 var(--gutter); }
.foot-logo { width: 100%; height: auto; overflow: visible; }
.foot-logo path { fill: var(--cream); }
.foot-logo .fl { transform-origin: 50% 100%; transition: transform .5s var(--springy); }
.foot-logo .fl:hover, .foot-logo .fl.jump { transform: translateY(-14%) scale(.96, 1.06); transition-duration: .25s; }
.foot-logo .fl-spark { transform-origin: 50% 100%; }
.foot-logo.in .fl { animation: footIn .9s var(--springy) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes footIn { from { transform: translateY(70%) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.site-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: var(--max); margin: 32px auto 0; padding: 24px 0 32px; font-size: 14px; border-top: 1px solid rgba(247,242,232,.2); opacity: .85; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--butter); }

/* ---------- click burst ---------- */
.burst { position: fixed; z-index: 90; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
