/* the101company studio site. Brand: night navy and lime (the 101 mark); playful accents. */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/fredoka-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/fredoka-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/nunito-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/nunito-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --night: #0f1330; --night-2: #1a1f4d; --ink: #151b38; --muted: #555d84; --line: #e6e3f2;
  --paper: #fbfaf6; --paper-2: #f3f0ff; --lime: #d9fb67; --lime-2: #c6ec52;
  --violet: #7b61ff; --coral: #ff7a59; --sky: #4cc9f0; --pink: #ff8fb8; --sun: #ffd166;
  --shadow: 0 22px 50px -24px rgba(21, 27, 56, .45);
  --shadow-lg: 0 40px 90px -40px rgba(15, 19, 48, .7);
  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
main { display: block; overflow-x: clip; }
main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
svg text { font-family: var(--display); font-weight: 700; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 10px; }
.s-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.s-ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.s-ico.fill { fill: currentColor; stroke: none; }
.s-skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--lime); color: var(--ink); font-weight: 900; text-decoration: none; transition: top .2s; }
.s-skip:focus { top: 12px; }

/* Buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 900 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s, background .18s; -webkit-tap-highlight-color: transparent; }
.s-btn:hover { transform: translateY(-2px); }
.s-btn:active { transform: translateY(0) scale(.98); }
.s-btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(217, 251, 103, .9); }
.s-btn-lime:hover { box-shadow: 0 18px 36px -14px rgba(217, 251, 103, 1); }
.s-btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .38); }
.s-btn-glass:hover { background: rgba(255, 255, 255, .18); }
.s-btn-ink { background: var(--ink); color: var(--lime); box-shadow: 0 14px 30px -16px rgba(21, 27, 56, .8); }
.s-btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.s-btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.s-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.s-actions.center { justify-content: center; }
.s-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; text-decoration: none; }
.s-link:hover { text-decoration: underline; }

/* Header */
/* Always its own compositing layer: hover effects in the header never re-rasterize the animated hero below. */
.s-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .25s, box-shadow .25s, backdrop-filter .25s; will-change: transform; }
.s-header.scrolled, .s-header.menu-open { background: rgba(15, 19, 48, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .6); }
.s-header-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.s-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.s-mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 1.5px rgba(217, 251, 103, .35); transition: transform .3s var(--ease); }
.s-brand:hover .s-mark { transform: rotate(-8deg) scale(1.06); }
.s-word b { color: var(--lime); font-weight: 700; }
.s-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.s-nav a:not(.s-btn) { color: rgba(255, 255, 255, .82); font-weight: 800; text-decoration: none; position: relative; padding: 6px 0; }
.s-nav a:not(.s-btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--lime); transform: scaleX(0); transition: transform .25s var(--ease); }
.s-nav a:not(.s-btn):hover { color: #fff; }
.s-nav a:not(.s-btn):hover::after { transform: scaleX(1); }
.s-nav-cta { display: none; }
.s-menu { display: none; width: 44px; height: 44px; margin-left: 4px; padding: 0; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; -webkit-tap-highlight-color: transparent; }
.s-menu span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.s-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.s-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.s-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.s-hero { position: relative; overflow: hidden; color: #fff; padding: 132px 0 150px;
  background: radial-gradient(900px 560px at 85% 20%, #2c2780 0%, transparent 62%), radial-gradient(800px 520px at 0% 100%, #173a6b 0%, transparent 60%), var(--night); }
.s-sky { position: absolute; inset: 0; pointer-events: none; }
.s-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
.s-orb.o1 { width: 340px; height: 340px; left: -80px; top: 18%; background: #3d5bff; }
.s-orb.o2 { width: 280px; height: 280px; right: 6%; bottom: 4%; background: #6d3bff; animation-delay: -6s; }
.s-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.s-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-weight: 800; font-size: .92rem; }
.s-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.s-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(217, 251, 103, .7); animation: ping 2.2s ease-out infinite; will-change: transform, opacity; }
.s-hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.8rem); line-height: 1.02; margin-bottom: 22px; }
.s-hl { position: relative; display: inline-block; color: var(--lime); white-space: nowrap; }
.s-hl svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.s-hl path { fill: none; stroke: var(--lime); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .5s var(--ease) forwards; }
.s-lead { font-size: 1.2rem; color: rgba(255, 255, 255, .84); max-width: 34ch; }
.s-facts { display: flex; flex-wrap: wrap; gap: 30px; margin: 40px 0 0; padding: 0; list-style: none; }
.s-facts li { display: grid; }
.s-facts b { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--lime); }
.s-facts span { font-size: .9rem; font-weight: 700; color: rgba(255, 255, 255, .7); }
/* Parallax moves one composited layer; the art's shadow is a static gradient, not a per-frame filter. */
.s-hero-art { position: relative; will-change: transform; transition: transform .35s var(--ease); }
.s-hero-art::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 2%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .32), transparent); pointer-events: none; }
.hero-art { position: relative; width: 100%; max-width: 580px; margin-inline: auto; overflow: visible; }
.s-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 80px; fill: var(--paper); }

/* Illustration motion */
.tw { fill: #fff; transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.d1 { animation-delay: .8s; } .d2 { animation-delay: 1.6s; } .d3 { animation-delay: 2.4s; }
.fl { animation: bob 5s ease-in-out infinite; }
.fl.f2 { animation-duration: 6s; animation-delay: -2s; }
.fl.f3 { animation-duration: 5.6s; animation-delay: -3.4s; }
.fl.f4 { animation-duration: 4.4s; animation-delay: -1s; }
.buddy-body { animation: hop 3.6s ease-in-out infinite; }
.buddy-shadow { transform-box: fill-box; transform-origin: center; animation: squash 3.6s ease-in-out infinite; }
.eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.arm-r { transform-box: fill-box; transform-origin: 0% 100%; animation: wave 2.4s ease-in-out infinite; }
.orbit { transform-box: view-box; transform-origin: 300px 360px; animation: spin 16s linear infinite reverse; }
.flame { transform-box: fill-box; transform-origin: 50% 0; animation: flicker .25s ease-in-out infinite alternate; }
.ring-back { animation: dash 5s linear infinite; }
.pencil { transform-box: fill-box; transform-origin: 0% 100%; animation: scribble 1.6s ease-in-out infinite; }
.dash-tile { animation: dash 4s linear infinite; }
.note { transform-box: fill-box; transform-origin: 50% 0; animation: sway 4s ease-in-out infinite; }
.note.n1 { animation-delay: -1s; } .note.n2 { animation-delay: -2s; } .note.n3 { animation-delay: -3s; }
.steam { stroke-dasharray: 52; animation: steam 2.6s ease-in-out infinite; }
.steam.s2 { animation-delay: -1.3s; }
.px.flip { transform-box: fill-box; transform-origin: center; animation: flip 3s ease-in-out infinite; }
.beam { animation: glow 3s ease-in-out infinite alternate; }
.idle, .idle *, .idle ::before, .idle ::after { animation-play-state: paused !important; }

/* Marquee */
.s-marquee { position: relative; z-index: 2; margin: -34px 0 0; padding: 16px 0; background: var(--lime); color: var(--ink); transform: rotate(-2deg); box-shadow: 0 16px 40px -20px rgba(21, 27, 56, .5); overflow: hidden; }
.s-marquee-track { display: flex; width: max-content; align-items: center; animation: marquee 32s linear infinite; }
.s-marquee span { font-family: var(--display); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .02em; }
.s-marquee i { font-style: normal; color: var(--violet); margin: 0 26px; font-size: 1.3rem; }

/* Section heads */
.s-head { max-width: 680px; margin-bottom: 44px; }
.s-head.center { margin-inline: auto; text-align: center; }
.s-head p:not(.s-eyebrow) { color: var(--muted); font-size: 1.12rem; }
.s-eyebrow { margin: 0 0 12px; font-weight: 900; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); }
.s-eyebrow.dark { color: var(--ink); opacity: .7; }

/* Games */
.s-games { padding: 120px 0 100px; }
.c-card { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 32px; align-items: center; padding: 52px; border-radius: 40px; color: #fff; overflow: hidden; box-shadow: var(--shadow-lg);
  background: radial-gradient(circle at 88% 16%, rgba(25, 221, 251, .4), transparent 42%), linear-gradient(135deg, #5134dc 0%, #7b4dff 55%, #087eeb 100%); }
.c-title { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.c-title img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5); }
.c-title h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.c-tagline { margin: 4px 0 0; font-weight: 900; color: var(--lime); }
.c-copy > p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; }
.c-tags, .c-facts { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.c-tags { gap: 8px; margin-bottom: 22px; }
.c-tags li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .15); font-weight: 800; font-size: .85rem; }
.c-facts { gap: 30px; margin-bottom: 22px; }
.c-facts li { display: grid; }
.c-facts b { font-family: var(--display); font-size: 2rem; line-height: 1; }
.c-facts span { font-size: .88rem; font-weight: 700; color: rgba(255, 255, 255, .75); }
.c-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(15, 19, 48, .32); font-weight: 800; font-size: .92rem; }
.c-stage { position: relative; display: grid; place-items: center; min-height: 540px; }
.c-blob { position: absolute; width: 380px; height: 380px; background: linear-gradient(140deg, var(--lime), #8ff0c9); opacity: .92; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: morph 12s ease-in-out infinite; }
.c-phone { position: relative; width: 248px; padding: 10px; border-radius: 42px; background: var(--night); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .12); transform: rotate(4deg); animation: phone 7s ease-in-out infinite; }
.c-phone img { border-radius: 32px; }
.c-tiles { position: absolute; left: 0; bottom: 34px; display: flex; gap: 6px; }
.c-tile { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: #fff; box-shadow: 0 6px 0 rgba(0, 0, 0, .18); animation: wavey 2.8s ease-in-out infinite; }
.c-tile.ok { background: #3fa34d; } .c-tile.near { background: #f0b429; } .c-tile.off { background: #75809f; }
.c-tile.t1 { animation-delay: .12s; } .c-tile.t2 { animation-delay: .24s; } .c-tile.t3 { animation-delay: .36s; } .c-tile.t4 { animation-delay: .48s; } .c-tile.t5 { animation-delay: .6s; } .c-tile.t6 { animation-delay: .72s; }
.c-power { position: absolute; width: 70px; height: auto; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .3)); animation: bob 5s ease-in-out infinite; will-change: transform; }
.c-power.p1 { top: 6%; left: 8%; }
.c-power.p2 { top: 14%; right: 2%; animation-delay: -2s; width: 78px; }
.c-power.p3 { bottom: 24%; right: 4%; animation-delay: -3.5s; width: 62px; }
.next-card { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; margin-top: 28px; padding: 32px 40px; border-radius: 32px; background: #fff; border: 3px dashed #d6cff5; }
.next-card h3 { font-size: 1.6rem; }
.next-card p:not(.s-eyebrow) { margin: 0; color: var(--muted); }
.sketch-art { width: 100%; }

/* Studio */
.s-studio { padding: 90px 0 110px; }
.s-studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.studio-art { width: 100%; }
.s-studio p { color: var(--muted); font-size: 1.1rem; }
.s-checks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.s-checks li { position: relative; padding-left: 40px; font-weight: 800; }
.s-checks li::before { content: "✓"; position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--lime); color: var(--ink); font-weight: 900; }

/* Values */
.s-values { padding: 110px 0; background: var(--paper-2); }
.v-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.v-card { padding: 30px 26px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); border: 2px solid transparent; transition: transform .25s var(--ease), border-color .25s, opacity .7s, translate .7s; }
.v-card:hover { transform: translateY(-6px); border-color: var(--violet); }
.v-icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 20px; border-radius: 24px; }
.v-icon svg { width: 50px; height: 50px; }
.v0 .v-icon { background: #fff4d6; } .v1 .v-icon { background: #f2fccf; } .v2 .v-icon { background: #dcf5fd; } .v3 .v-icon { background: #ebe6ff; }
.v-card p { margin: 0; color: var(--muted); }

/* Process */
.s-process { padding: 110px 0; }
.p-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.p-line { position: absolute; left: 10%; right: 10%; top: 30px; width: 80%; height: 40px; overflow: visible; }
.p-line path { fill: none; stroke: #cfc6f6; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 14; animation: dash 4s linear infinite; }
.p-step { position: relative; text-align: center; }
.p-icon { position: relative; display: grid; place-items: center; width: 100px; height: 100px; margin: 0 auto 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.p-icon svg { width: 54px; height: 54px; }
.p-icon span { position: absolute; top: -4px; right: -6px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--lime); font: 700 .85rem/1.4 var(--display); }
.p-step p { margin: 0; color: var(--muted); }
.p-step:hover .p-icon { animation: jelly .6s var(--ease); }

/* Numbers */
.s-numbers { padding: 72px 0; color: #fff; background-color: var(--night); background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.6px); background-size: 28px 28px; }
.n-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.n-item strong { display: block; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--lime); }
.n-item span { display: block; margin-top: 8px; font-weight: 700; color: rgba(255, 255, 255, .75); }

/* Contact */
.s-contact { padding: 190px 0 120px; }
.k-card { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: 40px; background: var(--lime); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(120, 160, 20, .8); }
.k-card h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.k-copy > p:not(.s-eyebrow) { font-size: 1.12rem; }
.k-side { display: grid; gap: 16px; }
.k-box { padding: 22px 24px; border-radius: 24px; background: rgba(255, 255, 255, .6); }
.k-box h3 { font-size: 1.2rem; margin-bottom: 6px; }
.k-box p { margin-bottom: 10px; }
.k-buddy { position: absolute; right: 64px; top: -150px; width: 180px; }
.k-buddy svg { width: 100%; overflow: visible; }

/* Footer */
.s-footer { padding: 70px 0 30px; background: var(--night); color: rgba(255, 255, 255, .8); }
.s-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.s-foot-brand p { max-width: 30ch; margin: 18px 0 14px; }
.s-footer .s-brand { color: #fff; }
.s-mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--lime); }
.s-footer h2 { font-family: var(--body); font-size: .8rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.s-footer .s-foot-grid a:not(.s-brand):not(.s-mail) { display: block; padding: 5px 0; text-decoration: none; }
.s-footer a:hover { color: #fff; }
.s-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: rgba(255, 255, 255, .55); }

/* 404 */
.s-404 { min-height: 88vh; display: grid; align-items: center; text-align: center; }
.s-404-in { position: relative; display: grid; justify-items: center; }
.s-404 .s-lead { margin-inline: auto; }
.s-page { padding: 150px 0 140px; text-align: center; }
.s-page-in { position: relative; display: grid; justify-items: center; }
.s-page .s-lead { margin-inline: auto; }
.s-contact-page { padding-top: 70px; }
.k-address { font-style: normal; font-size: 1.15rem; line-height: 1.6; margin: 12px 0 18px; }
.lost-art { width: 220px; margin-bottom: 10px; overflow: visible; }

/* Reveal on scroll (only when JavaScript runs) */
.js .reveal { opacity: 0; translate: 0 30px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .25s var(--ease), border-color .25s; }
.js .reveal.in { opacity: 1; translate: none; }
.v1, .p1 { transition-delay: .08s; } .v2, .p2 { transition-delay: .16s; } .v3, .p3 { transition-delay: .24s; }

@keyframes twinkle { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: .25; transform: scale(.55); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes squash { 0%, 100% { transform: scaleX(1); opacity: .28; } 50% { transform: scaleX(.82); opacity: .18; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-16deg); } 75% { transform: rotate(10deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker { from { transform: scaleY(.7); } to { transform: scaleY(1.25); } }
@keyframes dash { to { stroke-dashoffset: -150; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.6); opacity: 0; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -40px) scale(1.15); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes morph { 0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0); } 50% { border-radius: 58% 42% 38% 62% / 55% 38% 62% 45%; transform: rotate(20deg); } }
@keyframes phone { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-12px); } }
@keyframes wavey { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
@keyframes scribble { 0%, 100% { transform: rotate(0) translate(0, 0); } 25% { transform: rotate(-4deg) translate(-4px, 2px); } 75% { transform: rotate(3deg) translate(3px, -2px); } }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes steam { 0% { stroke-dashoffset: 52; opacity: 0; } 40% { opacity: 1; } 100% { stroke-dashoffset: -52; opacity: 0; } }
@keyframes flip { 0%, 70%, 100% { transform: scaleX(1); } 85% { transform: scaleX(-1); } }
@keyframes glow { from { opacity: .12; } to { opacity: .26; } }
@keyframes jelly { 0% { transform: scale(1); } 40% { transform: scale(1.12, .9); } 70% { transform: scale(.95, 1.05); } 100% { transform: scale(1); } }

@media (max-width: 1024px) {
  .s-hero-grid, .c-card, .s-studio-grid, .k-card { grid-template-columns: 1fr; }
  .s-hero { padding-top: 116px; }
  .s-hero-copy { text-align: center; }
  .s-hero-copy .s-lead { margin-inline: auto; }
  .s-hero .s-actions, .s-facts { justify-content: center; }
  .hero-art { max-width: 470px; }
  .c-card { padding: 44px 36px; }
  .c-stage { min-height: 500px; }
  .s-studio-art { max-width: 560px; margin-inline: auto; width: 100%; }
  .v-grid { grid-template-columns: repeat(2, 1fr); }
  .p-list { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .p-line { display: none; }
  .n-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .s-foot-grid { grid-template-columns: 1fr 1fr; }
  .s-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .s-menu { display: inline-flex; }
  .s-header-cta { margin-left: auto; }
  .s-nav { position: absolute; left: 16px; right: 16px; top: 76px; margin: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: 24px; background: var(--night-2); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
  .s-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .s-nav a:not(.s-btn) { padding: 12px 14px; border-radius: 14px; font-size: 1.1rem; }
  .s-nav a:not(.s-btn)::after { display: none; }
  .s-nav a:not(.s-btn):hover { background: rgba(255, 255, 255, .08); }
  .s-nav-cta { display: inline-flex; margin-top: 8px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .s-header-cta { display: none; }
  .s-menu { margin-left: auto; }
  .s-brand { font-size: 1.2rem; }
  .s-mark { width: 36px; height: 36px; }
  .s-hero { padding: 104px 0 120px; }
  .s-lead { font-size: 1.08rem; }
  .s-actions .s-btn { flex: 1 1 100%; }
  .s-facts { gap: 18px 26px; }
  .s-marquee span { font-size: 1.3rem; }
  .s-marquee i { margin: 0 16px; }
  .s-games, .s-values, .s-process { padding: 84px 0; }
  .c-card { padding: 30px 20px; border-radius: 30px; gap: 12px; }
  .c-title img { width: 60px; height: 60px; }
  .c-facts { gap: 22px; }
  .c-stage { min-height: 440px; }
  .c-blob { width: 290px; height: 290px; }
  .c-phone { width: 200px; border-radius: 34px; padding: 8px; }
  .c-phone img { border-radius: 27px; }
  .c-tile { width: 34px; height: 34px; font-size: 1.1rem; border-radius: 9px; }
  .c-tiles { gap: 4px; bottom: 20px; left: 50%; translate: -50% 0; }
  .c-power { width: 54px; } .c-power.p2 { width: 60px; } .c-power.p3 { width: 50px; }
  .next-card { grid-template-columns: 1fr; padding: 26px 22px; text-align: center; }
  .sketch-art { max-width: 210px; margin-inline: auto; }
  .s-studio { padding: 70px 0 84px; }
  .s-studio-grid { gap: 36px; }
  .v-grid, .p-list { grid-template-columns: 1fr; }
  .s-contact { padding: 150px 0 84px; }
  .k-card { padding: 34px 22px; border-radius: 30px; gap: 26px; }
  .k-buddy { width: 132px; right: 24px; top: -110px; }
  .s-foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .s-hero h1 { font-size: 2.35rem; }
  .s-hl { white-space: normal; }
  .c-tile { width: 30px; height: 30px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  .s-hl path { stroke-dashoffset: 0; }
}
