/* Case study pages in the sticker design (first used by /projects/esimo). Loaded after chrome.css; stands alone otherwise. */
:root { --bg: #f5f5f5; --ink: #000; --dark: #0a0a0a; --grey: #5b5b5b; --line: #0000001a; --lime: #c6f432; --sans: 'Inter', system-ui, sans-serif; --cond: 'Archivo', Impact, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
	--c1: #1ca4ff; --c2: #ffc233; --c3: #0b1a26; --c4: #fff; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.2 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
:focus-visible { outline: 2px solid #2e90fa; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #000; color: #fff; padding: 10px 16px; border-radius: 8px; }
.mono { font: 400 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 100px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; transition: transform .3s, background .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn i { transition: transform .3s; }
.btn:hover i { transform: translate(2px, -2px); }
.btn-dark { background: #000; color: #fff; }
.btn-lime { background: var(--lime); color: #000; }
.btn-light { background: #fff; color: #000; }
.btn-ghost { box-shadow: inset 0 0 0 1px #00000040; }
.btn-ghost:hover { background: #000; color: #fff; }
.cs { display: flex; flex-direction: column; align-items: center; width: 100%; }
.cs-wrap { width: 100%; max-width: 1500px; padding-inline: 48px; }

/* hero */
.cs-hero { position: relative; width: 100%; padding: 132px 48px 70px; display: flex; flex-direction: column; align-items: center; gap: 30px; overflow: clip; }
.cs-crumbs { display: flex; gap: 10px; color: var(--grey); }
.cs-crumbs a:hover { color: #000; }
.cs-title-box { position: relative; width: min(72%, 1100px); isolation: isolate; }
.cs-title { width: 100%; text-align: center; font: 900 28vw/.84 var(--cond); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.cs-stickers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cs-stickers .stk img { display: block; border: 5px solid #fff; background: #fff; }
.cs-hero .k-icon { top: -12%; left: -13%; }
.cs-hero .k-icon img { width: 128px; height: 128px; border: 0; background: none; }
.cs-hero .k-a { top: 4%; right: -12%; }
.cs-hero .k-b { bottom: -6%; left: -9%; }
.cs-hero .k-mascot { bottom: -22%; right: -12%; }
.cs-hero .k-mascot img { width: 150px; height: 150px; border: 0; background: none; filter: drop-shadow(0 6px 10px #0000002e); }
.sp.sky { color: #fff; background: linear-gradient(100deg, #01aeff, #7fd6ff 30%, #b9e8ff 52%, #33bdff 78%, #01aeff); }
.sp.sun { color: #2b2400; background: linear-gradient(100deg, #fedb03, #fff3a0 30%, #ffe95c 55%, #ffd000 80%, #fedb03); }
.cs-lead { max-width: 760px; text-align: center; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; letter-spacing: -.015em; color: #1c1c1c; }
.cs-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cs-facts { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 1500px; margin-top: 26px; border-top: 1px solid var(--line); }
.cs-facts li { padding: 22px 24px 0 0; }
.cs-facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.cs-facts span { display: block; margin-bottom: 10px; color: var(--grey); }
.cs-facts strong { font-size: clamp(17px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.02em; }

/* cover */
.cs-cover { width: 100%; padding-inline: clamp(12px, 2vw, 28px); }
.cs-cover figure { border-radius: 40px; overflow: hidden; background: var(--c1); aspect-ratio: 2200 / 1000; }
.cs-cover img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }

/* statement */
.cs-state { display: grid; grid-template-columns: 280px 1fr; gap: 90px; padding-block: 170px 150px; }
.cs-state .mono { padding-top: 14px; }
.cs-lead-big { font-size: clamp(30px, 4.2vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; text-wrap: pretty; }
.js .cs-lead-big .w { color: #00000024; transition: color .35s; }
.js .cs-lead-big .w.on { color: #000; }
.cs-nums { display: flex; flex-wrap: wrap; gap: 60px; margin-top: 60px; }
.cs-nums b { display: block; font: 900 clamp(64px, 7vw, 110px)/.86 var(--cond); font-stretch: 62%; }
.cs-nums span { display: block; margin-top: 12px; max-width: 220px; font-size: 14px; line-height: 1.35; color: var(--grey); }

/* dark block: what we did */
.cs-dark { position: relative; width: 100%; background: var(--dark); color: #fff; padding: 170px 48px 190px; display: flex; flex-direction: column; align-items: center; border-top-left-radius: 50% calc((1 - var(--curve, 1)) * 150px); border-top-right-radius: 50% calc((1 - var(--curve, 1)) * 150px); }
.cs-head { max-width: 900px; text-align: center; }
.cs-head .mono { color: #ffffffb3; }
.cs-head h2 { margin-top: 22px; font: 900 clamp(60px, 9.4vw, 160px)/.86 var(--cond); font-stretch: 62%; text-transform: uppercase; }
.cs-parts { display: flex; justify-content: center; align-items: flex-start; gap: 1.8vw; width: 100%; max-width: 1560px; margin-top: 100px; }
.cs-part { position: relative; flex: 1 1 0; min-width: 0; max-width: 370px; aspect-ratio: 4 / 6.1; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border-radius: 24px; color: #06213f; rotate: var(--rot); translate: 0 var(--dy); isolation: isolate; transition: rotate .5s cubic-bezier(.34, 1.56, .64, 1), translate .5s cubic-bezier(.34, 1.56, .64, 1); }
.cs-part:hover { rotate: 0deg; translate: 0 calc(var(--dy) - 12px); }
.cs-part.p1 { background: var(--c1); color: #fff; }
.cs-part.p2 { background: var(--c2); }
.cs-part.p3 { background: var(--c4); }
.cs-part.p4 { background: var(--c3); color: #fff; }
.cs-part .num { position: absolute; top: 24px; left: 28px; font: 400 13px/1 var(--mono); }
.cs-part .ghost { position: absolute; z-index: -1; top: -5%; right: 5%; font: 900 clamp(130px, 15vw, 240px)/1 var(--cond); font-stretch: 62%; color: #00000014; pointer-events: none; }
.cs-part.p1 .ghost, .cs-part.p4 .ghost { color: #ffffff24; }
.cs-part .ico { position: absolute; top: 56px; left: 28px; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: #fff; color: #000; font-size: 36px; rotate: -8deg; box-shadow: 0 10px 20px -10px #00000066; transition: rotate .5s cubic-bezier(.34, 1.56, .64, 1), scale .5s cubic-bezier(.34, 1.56, .64, 1); }
.cs-part:hover .ico { rotate: 6deg; scale: 1.08; }
.cs-part .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.cs-part .chips li { padding: 6px 11px; border-radius: 100px; background: #0000001a; font: 500 12px/1 var(--mono); }
.cs-part.p1 .chips li, .cs-part.p4 .chips li { background: #ffffff33; }
.cs-part h3 { font: 900 clamp(28px, 2.9vw, 46px)/.92 var(--cond); font-stretch: 62%; text-transform: uppercase; }
.cs-part p { margin-top: 12px; font-size: 15px; line-height: 1.4; }

/* marquee */
.cs-marquee { width: 100%; overflow: hidden; padding-block: 50px; background: var(--c2); color: #06213f; rotate: -1.5deg; scale: 1.04; margin-top: -60px; position: relative; z-index: 2; }
.cs-marquee ul { display: flex; gap: 0; width: max-content; animation: cs-marq 26s linear infinite; font: 900 clamp(60px, 8vw, 130px)/.9 var(--cond); font-stretch: 62%; text-transform: uppercase; white-space: nowrap; }
.cs-marquee li::after { content: '✺'; margin-inline: .35em; font-size: .6em; vertical-align: .18em; }
@keyframes cs-marq { to { transform: translateX(-50%); } }

/* chapters */
.cs-chapter { padding-block: 150px 0; }
.cs-chapter:last-of-type { padding-bottom: 150px; }
.cs-ch-head { display: grid; grid-template-columns: 280px 1fr; gap: 90px; align-items: end; margin-bottom: 54px; }
.cs-ch-head .mono { color: var(--grey); padding-bottom: 12px; }
.cs-ch-head h2 { font-size: clamp(40px, 5.6vw, 88px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.cs-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.cs-tile { position: relative; border-radius: 34px; overflow: hidden; background: #fff; min-height: 240px; }
.cs-tile > img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.cs-tile:hover > img { transform: scale(1.035); }
.cs-tile.sky { background: var(--c1); }
.cs-tile.dark { background: #000; color: #fff; }
.cs-tile.text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 38px; }
.cs-tile.text p { font-size: clamp(20px, 1.9vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.cs-tile.text.dark p { color: #fff; }
.cs-list { display: grid; gap: 0; font-size: 16px; }
.cs-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.cs-tile.dark .cs-list li { border-color: #ffffff24; }
.cs-list i { font-size: 18px; }
.w12 { grid-column: span 12; } .w8 { grid-column: span 8; } .w7 { grid-column: span 7; } .w6 { grid-column: span 6; } .w5 { grid-column: span 5; } .w4 { grid-column: span 4; } .w3 { grid-column: span 3; }
.r-sq { aspect-ratio: 1; } .r-wide { aspect-ratio: 16 / 9; } .r-og { aspect-ratio: 1200 / 630; } .r-tall { aspect-ratio: 4 / 5; }
.cs-browser { align-self: start; background: #000; padding: 12px; border-radius: 34px; box-shadow: 0 30px 60px -30px #00000080; }
.cs-browser .bar { display: flex; align-items: center; gap: 8px; padding: 6px 10px 16px; }
.cs-browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ffffff33; }
.cs-browser .bar span { margin-inline: auto; padding: 7px 60px; border-radius: 100px; background: #ffffff1a; color: #ffffffb3; font: 400 12px/1 var(--mono); }
.cs-browser img { width: 100%; border-radius: 22px; }
.cs-swatches { display: grid; grid-template-columns: repeat(6, 1fr); height: 100%; min-height: 300px; }
.cs-swatches li { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; transition: flex .4s; }
.cs-swatches b { font: 600 14px/1.1 var(--sans); letter-spacing: -.01em; }
.cs-swatches li:nth-child(1) { background: #0b1a26; color: #fff; }
.cs-swatches li:nth-child(2) { background: #112a3b; color: #fff; }
.cs-swatches li:nth-child(3) { background: #17364d; color: #fff; }
.cs-swatches li:nth-child(4) { background: #1ca4ff; color: #fff; }
.cs-swatches li:nth-child(5) { background: #ffc233; color: #2b2400; }
.cs-swatches li:nth-child(6) { background: #fff; color: #000; }
.cs-tile.pad { display: grid; place-items: center; padding: 10%; }
.cs-tile.pad > img { width: 100%; height: auto; object-fit: contain; border-radius: 18px; }
.cs-cap { position: absolute; left: 22px; bottom: 20px; padding: 8px 14px; border-radius: 100px; background: #000000b3; color: #fff; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* logo steps */
.cs-steps { counter-reset: none; border-top: 1px solid var(--line); }
.cs-steps > li { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; padding-block: 60px; border-bottom: 1px solid var(--line); }
.cs-step-t .mono { color: var(--grey); }
.cs-step-t h3 { margin: 18px 0 16px; font: 900 clamp(34px, 3.8vw, 60px)/.92 var(--cond); font-stretch: 62%; text-transform: uppercase; }
.cs-step-t p { max-width: 46ch; font-size: 18px; line-height: 1.45; color: #1c1c1c; }
.cs-spec { display: grid; margin-top: 26px; font: 400 13px/1.5 var(--mono); }
.cs-spec li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.cs-spec b { font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.cs-step-m { display: grid; gap: 14px; }
.cs-step-m.two { grid-template-columns: 1fr 1fr; }
.cs-step-m.three { grid-template-columns: 1fr 1fr 1fr; }
.cs-step-m .cs-tile { min-height: 0; }
.cs-step-m .cs-tile > img { height: auto; }
.cs-step-m.two .cs-tile { aspect-ratio: 1; display: grid; place-items: center; padding: 0; }
.cs-step-m.two .cs-tile > img { width: 46%; height: auto; border-radius: 22%; }
.cs-tile.fit { min-height: 0; align-self: start; }
.cs-tile.fit > img { height: auto; }
.cs-tile.pad.dark { background: #0b1a26; }

/* store screenshots strip */
.cs-strip { display: flex; gap: 16px; overflow-x: auto; padding: 4px 48px 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.cs-strip figure { flex: 0 0 clamp(210px, 19vw, 300px); border-radius: 28px; overflow: hidden; scroll-snap-align: center; background: var(--c1); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cs-strip figure:nth-child(odd) { margin-top: 36px; }
.cs-strip figure:hover { transform: translateY(-8px); }
.cs-strip img { width: 100%; }

/* more work + closing */
.cs-more { padding-block: 170px 0; }
.cs-more h2 { font: 900 clamp(60px, 9vw, 150px)/.86 var(--cond); font-stretch: 62%; text-transform: uppercase; margin-bottom: 50px; }
.cs-more .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cs-card { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 30px; background: #000; color: #fff; box-shadow: 0 10px 30px -12px #00000059; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cs-card:hover { transform: translateY(-6px); }
.cs-card .media { aspect-ratio: 6 / 4.4; border-radius: 20px; overflow: hidden; background: #1c1c1c; }
.cs-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.cs-card:hover .media img { transform: scale(1.04); }
.cs-card .text { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 10px; }
.cs-card h3 { font-size: 26px; letter-spacing: -.02em; }
.cs-card span { padding: 6px 12px; border-radius: 100px; background: #ffffff1f; font-size: 13px; color: #ffffffcc; white-space: nowrap; }
.cs-all { display: flex; justify-content: center; margin-top: 44px; }
.cs-all a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 270px; height: 70px; border-radius: 100px; box-shadow: inset 0 0 0 1px #000; font-weight: 500; transition: background .3s, color .3s; }
.cs-all a:hover { background: #000; color: #fff; }
.cs-cta { width: calc(100% - 2 * clamp(12px, 2vw, 28px)); margin: 150px 0 40px; padding: 120px 24px 110px; border-radius: 40px; background: var(--dark); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cs-cta h2 { max-width: 14ch; margin-inline: auto; font: 900 clamp(54px, 8vw, 140px)/.86 var(--cond); font-stretch: 62%; text-transform: uppercase; }
.cs-cta p { max-width: 520px; margin: 26px auto 36px; font-size: 18px; line-height: 1.45; color: #ffffffa6; }
.cs-cta .cs-actions { position: relative; z-index: 3; }
.cs-cta .stk { z-index: 2; }
.cs-cta .q-a { top: 14%; left: 8%; } .cs-cta .q-b { bottom: 16%; right: 9%; }

/* motion */
@keyframes cs-up { from { opacity: 0; transform: translateY(70px); } }
@keyframes cs-pop { from { scale: 0; opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
	.cs-title { animation: cs-up 1s cubic-bezier(.3, 1.45, .5, 1) both .15s; }
	.cs-crumbs, .cs-lead, .cs-hero .cs-actions, .cs-facts { animation: cs-up .9s cubic-bezier(.3, 1.3, .5, 1) both .5s; }
	.cs-lead { animation-delay: .6s; } .cs-hero .cs-actions { animation-delay: .7s; } .cs-facts { animation-delay: .8s; }
	.cs-stickers .stk { animation: cs-pop .7s cubic-bezier(.34, 1.56, .64, 1) backwards .9s; }
	.cs-stickers .k-a { animation-delay: 1s; } .cs-stickers .k-b { animation-delay: 1.1s; } .cs-stickers .k-mascot { animation-delay: 1.2s; }
	.js .rv { opacity: 0; transform: translateY(44px); transition: opacity .7s ease-out, transform 1s cubic-bezier(.3, 1.45, .5, 1); }
	.js .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .cs-marquee ul { animation: none; } }

@media (max-width: 1100px) {
	.cs-state, .cs-ch-head { grid-template-columns: 1fr; gap: 26px; }
	.cs-parts { flex-wrap: wrap; gap: 26px; }
	.cs-part { flex: 0 1 calc(50% - 14px); max-width: 380px; translate: none; }
	.cs-part:hover { translate: none; }
	.w8, .w7, .w6, .w5, .w4 { grid-column: span 12; }
	.w3 { grid-column: span 6; }
	.cs-facts { grid-template-columns: 1fr 1fr; }
	.cs-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
	.cs-facts li:nth-child(n + 3) { margin-top: 22px; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
	.cs-wrap { padding-inline: 20px; }
	.cs-hero { padding: 116px 20px 50px; gap: 24px; }
	.cs-title-box { width: 86%; }
	.cs-stickers .stk { scale: .5; }
	.cs-title-box { margin-block: 44px 56px; }
	.cs-stickers .stk { scale: .4; }
	.cs-hero .k-icon { top: -62%; left: -12%; } .cs-hero .k-a { top: -50%; right: -22%; } .cs-hero .k-b { bottom: -52%; left: -22%; } .cs-hero .k-mascot { bottom: -108%; right: -12%; }
	.cs-cover figure { border-radius: 24px; aspect-ratio: 4 / 3.4; }
	.cs-state { padding-block: 90px; }
	.cs-nums { gap: 34px; }
	.cs-dark { padding: 100px 20px 130px; }
	.cs-parts { margin-top: 60px; }
	.cs-part { flex: 0 1 100%; max-width: 340px; aspect-ratio: 4 / 4.6; }
	.cs-marquee { padding-block: 30px; }
	.cs-chapter { padding-block: 90px 0; }
	.cs-chapter:last-of-type { padding-bottom: 90px; }
	.cs-tile { border-radius: 24px; }
	.cs-tile.text { padding: 26px; }
	.w3 { grid-column: span 12; }
	.cs-swatches { grid-template-columns: 1fr 1fr 1fr; }
	.cs-steps > li { grid-template-columns: 1fr; gap: 22px; padding-block: 36px; }
	.cs-step-m.three { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
	.cs-strip { gap: 10px; padding-inline: 20px; }
	.cs-strip figure { flex-basis: 62vw; border-radius: 22px; }
	.cs-browser { padding: 8px; border-radius: 24px; } .cs-browser img { border-radius: 16px; } .cs-browser .bar span { padding: 6px 24px; }
	.cs-more { padding-block: 100px 0; }
	.cs-more .grid { grid-template-columns: 1fr; }
	.cs-card { border-radius: 24px; padding: 8px; } .cs-card .media { border-radius: 17px; } .cs-card h3 { font-size: 22px; }
	.cs-cta { margin: 90px 0 24px; padding: 80px 20px 70px; border-radius: 28px; }
	.cs-cta .stk { scale: .5; } .cs-cta .q-a { top: 3%; left: -6%; } .cs-cta .q-b { bottom: 2%; right: -8%; }
}
@media (max-width: 760px) { .cs-step-m.three .cs-cap { left: 8px; bottom: 8px; padding: 5px 8px; font-size: 8px; } }

.cs-note { margin: -30px 0 0; font-size: 18px; line-height: 1.45; color: #1c1c1c; }
.cs .ba { margin-top: 30px; }
.cs .ba img { height: 100%; }
