/* ================================================================ fonts (Google Sans, self-hosted) */
@font-face { font-family: "Google Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/google-sans-normal-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: "Google Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/google-sans-normal-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: "Google Sans"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/google-sans-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Google Sans Code"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("assets/fonts/google-sans-code-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Google Sans Code"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("assets/fonts/google-sans-code-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F; }

/* ================================================================ tokens (from GDG Riga + DevFest 2026 kit) */
:root {
  --paper: #f0f0f0; --paper-grid: #e2e2e2; --paper-2: #f7f6f2; --white: #fff;
  --ink: #1e1e1e; --ink-2: #4a4f55;
  --blue: #4285f4; --red: #ea4335; --yellow: #fbbc04; --green: #34a853;
  --t-blue: #57caff; --t-pink: #ff7daf; --t-yellow: #ffd427; --t-green: #5cdb6d; --t-orange: #f9ab00;
  --p-blue: #c3ecf6; --p-green: #ccf6c5; --p-yellow: #ffe7a5; --p-red: #f8d8d8;
  --cta: #196bfe; --link: #1558d6;
  --g-grad: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%);
  --font: "Google Sans", "Product Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Google Sans Code", "Roboto Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(18px, 5vw, 112px);
  --r-s: 14px; --r: 22px; --r-l: 28px; --r-xl: 40px;
  --stroke: 2px solid var(--ink);
  --drop: 0 6px 0 0 var(--ink);
  --lift: 0 10px 0 -2px rgb(0 0 0 / .35);
  --ease: cubic-bezier(.2, 0, 0, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --container: 1760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    linear-gradient(var(--paper-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.rot90 { transform: rotate(90deg); }

/* ================================================================ buttons, chips, tags */
.btn {
  --bg: var(--cta); --fg: #fff;
  display: inline-flex; align-items: center; gap: .5em; padding: 14px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: var(--stroke); font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 0 0 var(--ink); transition: transform .18s var(--spring), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--ink); }
.btn--outlined { --bg: #fff; --fg: var(--ink); }
.btn--sm { padding: 9px 18px; font-size: 15px; box-shadow: 0 3px 0 0 var(--ink); }
.btn--lg { padding: 18px 32px; font-size: 19px; }
.btn__arr { transition: transform .2s var(--spring); }
.btn:hover .btn__arr { transform: translateX(4px); }
.linkish { background: none; border: 0; padding: 0; color: var(--ink-2); font-family: var(--mono); font-size: 14px; text-decoration: underline dotted; text-underline-offset: 4px; }
.linkish:hover { color: var(--ink); }

.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 13px; font-weight: 600; background: #fff; }
.tag--blue { background: var(--t-blue); } .tag--green { background: var(--t-green); }
.tag--yellow { background: var(--t-yellow); } .tag--red { background: var(--t-pink); }

.c-blue { background: var(--p-blue); } .c-green { background: var(--p-green); } .c-yellow { background: var(--p-yellow); }
.c-pink { background: var(--p-red); } .c-pink2 { background: #ffc4dc; } .c-cyan { background: #d8f3ff; }

.kicker { font-family: var(--mono); font-size: 14px; text-transform: lowercase; color: var(--ink-2); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 6px; border-radius: 3px; background: var(--g-grad); }
.h2 { font-size: clamp(34px, 4.6vw, 84px); font-weight: 600; margin-bottom: 20px; }
.h2--xl { font-size: clamp(48px, 9vw, 128px); }
.lede { font-size: clamp(17px, 1.3vw, 21px); color: var(--ink-2); max-width: 64ch; }
.lede--c { margin-inline: auto; text-align: center; }
.small { font-size: 14px; color: var(--ink-2); }
.u-grad { background: linear-gradient(90deg, var(--blue), var(--red) 35%, var(--yellow) 65%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -.12em; right: -.12em; bottom: .04em; height: .5em; border-radius: .2em; z-index: -1; transform-origin: left; transform: scaleX(0); animation: hl 1s .8s var(--ease) forwards; }
.hl--yellow::after { background: var(--t-yellow); }
@keyframes hl { to { transform: scaleX(1); } }

.sec { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.sec--paper2 { background: var(--paper-2); border-block: var(--stroke); }
.sec-head { margin-bottom: 48px; }
.dots { margin: 0; padding: 0; list-style: none; }
.dots li { position: relative; padding-left: 22px; margin: 6px 0; }
.dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--t-yellow); }
.dots li:nth-child(4n+2)::before { background: var(--t-blue); } .dots li:nth-child(4n+3)::before { background: var(--t-green); } .dots li:nth-child(4n+4)::before { background: var(--t-pink); }

/* ================================================================ appbar */
.appbar { position: sticky; top: 0; z-index: 50; background: rgb(240 240 240 / .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.appbar.is-scrolled { border-bottom-color: var(--ink); }
.appbar__in { max-width: var(--container); margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; gap: 24px; }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.lockup__txt { display: flex; flex-direction: column; line-height: 1.1; font-size: 15px; }
.lockup__txt b { font-weight: 500; }
.lockup__txt span { font-size: 13px; color: var(--blue); font-weight: 600; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; transition: background .15s; }
.nav a:hover, .nav a.is-active { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: var(--stroke); border-radius: 50%; background: #fff; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 18px; height: 2px; background: var(--ink); transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav[hidden] { display: none; }
.mnav { display: grid; padding: 8px var(--pad) 20px; gap: 4px; }
.mnav a { color: var(--ink); text-decoration: none; padding: 12px 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; }
@media (max-width: 1080px) { .nav { display: none; } .burger { display: flex; } .appbar__in > .btn { margin-left: auto; } .burger { margin-left: 0; } }
@media (max-width: 520px) { .appbar__in > .btn { display: none; } .burger { margin-left: auto; } }

/* ================================================================ hero */
.hero { position: relative; min-height: min(100svh, 980px); padding: clamp(32px, 6vw, 80px) 0 140px; overflow: hidden; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; pointer-events: none; }
.hero__grid a, .hero__grid button, .hero__grid .badge-stage { pointer-events: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; background: #fff; border: 1.5px solid var(--ink); padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgb(52 168 83 / .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgb(52 168 83 / 0); } 100% { box-shadow: 0 0 0 0 rgb(52 168 83 / 0); } }

.wordmark { display: inline-flex; align-items: center; gap: .08em; font-size: clamp(64px, 11vw, 196px); font-weight: 600; line-height: 1; margin-bottom: 28px; user-select: none; }
.wm__brace { font-weight: 400; color: var(--blue); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; display: inline-block; animation: braceIn 1s var(--spring) both; transform-origin: center; }
.wm__brace--l { color: var(--t-blue); }
.wm__brace--r { color: var(--t-green); animation-delay: .1s; }
.wm__body { display: flex; flex-direction: column; align-items: center; }
.wm__word { letter-spacing: -.035em; display: inline-block; animation: wordIn .9s .15s var(--ease) both; }
.wm__pill { font-size: .17em; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border: 2.5px solid var(--ink); border-radius: 999px; padding: .1em 1.6em; margin-top: .25em; background: #fff; animation: wordIn .9s .3s var(--ease) both; }
.wordmark:hover .wm__brace--l { transform: translateX(-.08em) rotate(-6deg); transition: transform .3s var(--spring); }
.wordmark:hover .wm__brace--r { transform: translateX(.08em) rotate(6deg); transition: transform .3s var(--spring); }
@keyframes braceIn { from { transform: scale(.2) rotate(-30deg); opacity: 0; } }
@keyframes wordIn { from { transform: translateY(30px); opacity: 0; filter: blur(6px); } }

.hero__h { font-size: clamp(28px, 3.1vw, 58px); font-weight: 500; max-width: 16em; margin-bottom: 20px; }
.hero__lede { font-size: clamp(17px, 1.35vw, 22px); color: var(--ink); max-width: 38em; }
.chips { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #fff; border: var(--stroke); border-radius: 999px; padding: 8px 18px 8px 8px; display: flex; align-items: center; gap: 10px; font-weight: 500; box-shadow: 0 3px 0 0 var(--ink); }
.chip em { font-style: normal; color: var(--ink-2); font-weight: 400; font-size: 14px; }
.chip__k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; background: var(--p-blue); border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 10px; }
.chip--date .chip__k { background: var(--p-yellow); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__hint { margin: 0; }

.hero__stickers { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stk { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: grab; user-select: none; -webkit-user-drag: none; touch-action: none; will-change: transform; filter: drop-shadow(0 4px 0 rgb(0 0 0 / .28)); }
.stk.grabbed { cursor: grabbing; filter: drop-shadow(0 14px 6px rgb(0 0 0 / .3)); z-index: 5; }
.hero__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--g-grad); }

/* ---- 3D lanyard badge */
.badge-stage { position: relative; height: 560px; perspective: 1200px; display: flex; justify-content: center; }
.lanyard { position: absolute; top: -140px; left: 50%; width: 0; transform-origin: 0 0; will-change: transform; }
.lanyard__strap { position: absolute; left: -13px; top: -60px; width: 26px; height: 362px; transform-origin: 50% 100%; border-inline: 2px solid var(--ink); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.lanyard__strap--l { transform: rotate(14deg); background: repeating-linear-gradient(180deg, var(--blue) 0 44px, var(--red) 44px 88px, var(--yellow) 88px 132px, var(--green) 132px 176px); }
.lanyard__strap--r { transform: rotate(-14deg); background: repeating-linear-gradient(180deg, var(--green) 0 44px, var(--yellow) 44px 88px, var(--red) 88px 132px, var(--blue) 132px 176px); }
.lanyard__strap::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 10px, rgb(255 255 255 / .18) 10px 12px); }
.lanyard__ring { position: absolute; left: -18px; top: 282px; width: 36px; height: 22px; border: 3px solid var(--ink); border-radius: 10px; background: #cfd3d8; z-index: 2; box-shadow: inset 0 3px 0 #fff; }
.badge { position: absolute; top: 290px; left: -150px; width: 300px; height: 410px; transform-style: preserve-3d; transition: transform .7s var(--spring); cursor: grab; touch-action: none; }
.badge.is-flipped { transform: rotateY(180deg); }
.badge__face { position: absolute; inset: 0; border: 2.5px solid var(--ink); border-radius: 26px; background: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 34px 24px 22px; display: flex; flex-direction: column; box-shadow: 0 18px 40px -12px rgb(0 0 0 / .35); overflow: hidden; }
.badge__front::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .75) 45%, transparent 60%); transform: translateX(var(--shine, -60%)); pointer-events: none; mix-blend-mode: soft-light; }
.badge__back { transform: rotateY(180deg); background: var(--p-yellow); justify-content: center; }
.badge__clip { position: absolute; top: 10px; left: 50%; width: 60px; height: 12px; margin-left: -30px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); }
.badge__top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.badge__wm { font-size: 58px; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-top: 20px; color: var(--yellow); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.badge__wm b { color: var(--ink); -webkit-text-stroke: 0; font-weight: 600; padding: 0 .04em; }
.badge__city { align-self: flex-start; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 20px; margin: 8px 0 0 28px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.badge__name { margin-top: auto; background: var(--p-blue); border: 2px solid var(--ink); border-radius: 16px; padding: 10px 14px; }
.badge__name small { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.badge__name span { font-size: 28px; font-weight: 600; }
.badge__row { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.badge__row .tag { font-size: 12px; padding: 2px 10px; }
.badge__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-family: var(--mono); font-size: 13px; }
.barcode { width: 90px; height: 22px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
.badge__q { font-size: 56px; font-weight: 600; line-height: .98; letter-spacing: -.03em; margin: 0 0 18px; }
.badge__s { font-family: var(--mono); font-size: 14px; }
.badge__hash { position: absolute; right: 18px; bottom: 18px; width: 72px; transform: rotate(12deg); }
.badge-hint { position: absolute; bottom: -64px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .badge-stage { height: 620px; transform: scale(.82); transform-origin: top center; margin: 0 0 -100px; }
  .badge-hint { bottom: 0; }
  .wm__pill { border-width: 2px; }
}

/* ================================================================ marquee */
.marquee { background: #fff; border-block: var(--stroke); overflow: hidden; padding: 14px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marq 36s linear infinite; }
.marquee__track span { font-size: clamp(22px, 3vw, 36px); font-weight: 500; white-space: nowrap; }
.marquee__track img { height: 40px; width: auto; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ================================================================ globe + stats */
.globe-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
#globe { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#globe:active { cursor: grabbing; }
.globe-pin { position: absolute; left: 50%; top: 8%; background: #fff; border: var(--stroke); border-radius: 16px; padding: 8px 14px; box-shadow: var(--drop); font-family: var(--mono); font-size: 12px; line-height: 1.3; display: flex; flex-direction: column; transform: translateX(-50%) rotate(-3deg); }
.globe-pin b { font-family: var(--font); font-size: 17px; }
.globe-deco { position: absolute; pointer-events: none; }
.globe-deco--a { width: 54px; right: 6%; bottom: 10%; animation: bob 4s ease-in-out infinite; }
.globe-deco--b { width: 70px; left: 2%; bottom: 18%; animation: bob 5s 1s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(8deg); } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
.stat { border: var(--stroke); border-radius: var(--r); padding: 18px 22px; background: #fff; box-shadow: var(--drop); transition: transform .25s var(--spring); position: relative; overflow: hidden; }
.stat:hover { transform: translateY(-4px) rotate(-1deg); }
.stat::after { content: ""; position: absolute; right: -20px; top: -20px; width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--ink); }
.stat--blue::after { background: var(--t-blue); } .stat--green::after { background: var(--t-green); }
.stat--yellow::after { background: var(--t-yellow); } .stat--red::after { background: var(--t-pink); }
.stat__n, .stat__plus { font-size: clamp(40px, 3.6vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__plus { color: var(--blue); }
.stat__l { display: block; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 900px) { .globe-grid { grid-template-columns: 1fr; } }

/* ================================================================ expect (cut photo shapes) */
.expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px); }
.exp { position: relative; }
.exp h3 { color: var(--link); font-size: clamp(22px, 1.8vw, 30px); font-weight: 500; margin: 22px 0 10px; padding-left: 12px; }
.exp p { color: var(--ink-2); padding-left: 12px; max-width: 42ch; }
.cut { display: block; width: 100%; height: auto; overflow: visible; }
.cut__img { transform-box: fill-box; transform-origin: center; transition: transform .9s var(--ease); }
.exp:hover .cut__img { transform: scale(1.07); }
.cut__line { fill: none; stroke: var(--ink); stroke-width: 3.5; }
.doodle { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.doodle--arrow { transition: transform .4s var(--spring); }
.exp:hover .doodle--arrow { transform: translateX(10px); }
.doodle--spin { transform-box: fill-box; transform-origin: center; }
.exp:hover .doodle--spin { animation: spin 3s linear infinite; }
.doodle--slash { transition: transform .35s var(--spring); transition-delay: calc(var(--i) * 60ms); }
.exp:hover .doodle--slash { transform: translateY(-8px); }
.doodle--bob { transition: transform .4s var(--spring); }
.exp:hover .doodle--bob { transform: translateY(-6px); }
.doodle--roll { transition: transform .6s var(--spring); }
.exp:hover .doodle--roll { transform: translateX(-12px); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .expect { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

/* ================================================================ theme */
.theme-head { text-align: center; margin-bottom: 48px; }
.theme-head .kicker { justify-content: center; }
.word { display: inline-block; transition: transform .4s var(--spring), color .3s; cursor: default; }
.w-build:hover { color: var(--blue); transform: translateY(-8px) rotate(-3deg); }
.w-secure:hover { color: var(--green); transform: translateY(-8px) rotate(2deg); }
.w-scale:hover { color: var(--yellow); transform: scale(1.12) rotate(-2deg); }

.shift { max-width: 860px; margin: 0 auto 56px; background: #fff; border: var(--stroke); border-radius: var(--r-l); padding: 26px clamp(18px, 3vw, 36px); box-shadow: var(--drop); }
.shift__lbl { font-family: var(--mono); font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.shift__rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shift__step { border: 2px solid var(--ink); border-radius: 999px; padding: 10px 14px; text-align: center; font-weight: 500; display: flex; gap: 8px; align-items: center; justify-content: center; opacity: .4; transition: all .3s var(--ease); font-size: 15px; }
.shift__step.is-on { opacity: 1; background: var(--t-yellow); transform: translateY(-3px); box-shadow: 0 3px 0 var(--ink); }
.shift__step.is-past { opacity: .75; background: var(--p-green); }
.shift__ico { font-family: var(--mono); font-weight: 500; }
.shift__range { width: 100%; margin: 22px 0 10px; accent-color: var(--cta); height: 28px; cursor: pointer; }
.shift__out { margin: 0; min-height: 3em; font-size: 18px; }
@media (max-width: 600px) { .shift__step { font-size: 13px; padding: 8px; } .shift__ico { display: none; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
.pillar { position: relative; text-align: left; border: var(--stroke); border-radius: var(--r-l); padding: 28px; min-height: 300px; display: flex; flex-direction: column; box-shadow: var(--drop); transition: transform .3s var(--spring), box-shadow .3s; overflow: hidden; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 12px 0 0 var(--ink); }
.pillar--blue { background: var(--p-blue); } .pillar--green { background: var(--p-green); } .pillar--yellow { background: var(--p-yellow); }
.pillar__n { font-family: var(--mono); font-size: 14px; }
.pillar__t { font-size: clamp(40px, 4vw, 56px); font-weight: 600; letter-spacing: -.03em; margin: 8px 0 14px; }
.pillar__d { color: var(--ink); font-size: 16px; max-width: 30ch; }
.pillar__stk { position: absolute; right: -10px; bottom: -10px; width: 110px; transition: transform .5s var(--spring); }
.pillar:hover .pillar__stk { transform: rotate(-18deg) scale(1.15) translate(-8px, -8px); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; padding-bottom: 80px; } }

.builder { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: stretch; }
.builder__card { position: relative; background: #fff; border: var(--stroke); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); }
.builder__pre { font-size: 28px; font-weight: 600; margin: 0; }
.builder__q { display: inline-block; font-size: clamp(36px, 5vw, 64px); background: var(--p-yellow); border: var(--stroke); border-radius: 18px; padding: 4px 22px; margin: 10px 0 20px; letter-spacing: -.03em; line-height: 1.15; }
.builder__q em { font-weight: 600; }
.builder__a { font-size: 18px; max-width: 46ch; margin: 0; }
.builder__chev { position: absolute; width: 52px; top: 26px; transition: transform .4s var(--spring); }
.builder__chev--l { right: 92px; } .builder__chev--r { right: 30px; }
.builder__card:hover .builder__chev--l { transform: translateX(-10px); }
.builder__card:hover .builder__chev--r { transform: translateX(10px); }
.meter { background: var(--green); color: #fff; border: var(--stroke); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; }
.meter__svg { width: 190px; height: 190px; transform: rotate(-90deg); }
.meter__bg { fill: none; stroke: rgb(255 255 255 / .25); stroke-width: 16; }
.meter__fg { fill: none; stroke: var(--t-yellow); stroke-width: 16; stroke-linecap: round; stroke-dasharray: 527.8; stroke-dashoffset: 527.8; transition: stroke-dashoffset 2s var(--ease); }
.meter__txt { margin-top: -130px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.meter__txt b { font-size: 54px; line-height: 1; letter-spacing: -.03em; }
.meter__txt > span { margin-top: 70px; font-size: 16px; max-width: 26ch; }
.meter__txt small { font-family: var(--mono); font-size: 12px; opacity: .8; }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } }

/* ================================================================ formats (flip cards) */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flip { perspective: 1400px; height: 340px; cursor: pointer; outline: none; }
.flip__in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .75s var(--spring); }
.flip.is-flipped .flip__in { transform: rotateY(180deg); }
.flip:not(.is-flipped):hover .flip__in { transform: rotateY(-8deg) rotateX(4deg); }
.flip:focus-visible .flip__in { outline: 3px solid var(--cta); outline-offset: 4px; border-radius: var(--r-l); }
.flip__f { position: absolute; inset: 0; border: var(--stroke); border-radius: var(--r-l); padding: 26px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; box-shadow: var(--drop); }
.flip__front h3 { font-size: 34px; font-weight: 600; margin-top: auto; margin-bottom: 8px; }
.flip__front p { margin: 0; font-size: 16px; max-width: 28ch; }
.flip__back { background: #fff; transform: rotateY(180deg); }
.flip__back h4 { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.flip__back .dots li { font-size: 15.5px; margin: 7px 0; }
.fmt__tag { align-self: flex-start; font-family: var(--mono); font-size: 12px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 12px; background: #fff; }
.fmt__stk { position: absolute; top: 20px; right: 20px; width: 92px; transition: transform .5s var(--spring); }
.flip:hover .fmt__stk { transform: rotate(10deg) scale(1.1); }
.flip__cue { position: absolute; right: 22px; bottom: 18px; font-family: var(--mono); font-size: 12px; opacity: .6; }
.minilink { margin-top: auto; font-weight: 600; }
@media (max-width: 1000px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .formats { grid-template-columns: 1fr; } .flip { height: 320px; } }

/* ================================================================ agent terminal */
.sec--agent { background: var(--p-blue); border-block: var(--stroke); overflow: hidden; }
.sec--agent::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--ink) 1px, transparent 1.2px); background-size: 22px 22px; opacity: .12; pointer-events: none; }
.agent-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; position: relative; }
.agent-stk { display: flex; gap: 20px; margin-top: 28px; }
.agent-stk img.agent-bot { height: 130px; }
.agent-stk img { height: 100px; width: auto; animation: bob 5s ease-in-out infinite; }
.agent-stk img:last-child { animation-delay: -2s; }
.term { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r-l); box-shadow: 0 10px 0 0 var(--ink); overflow: hidden; display: flex; flex-direction: column; height: 540px; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: var(--stroke); background: var(--paper); font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.term__bar i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); }
.term__bar i:nth-child(1) { background: var(--red); } .term__bar i:nth-child(2) { background: var(--yellow); } .term__bar i:nth-child(3) { background: var(--green); }
.term__bar span { margin-left: 8px; }
.term__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.msg { max-width: 86%; animation: msgIn .35s var(--spring) both; }
.msg p { margin: 0; padding: 12px 16px; border: 1.5px solid var(--ink); border-radius: 18px; font-size: 16px; }
.msg .who { font-family: var(--mono); font-size: 11px; color: var(--ink-2); display: block; margin: 0 0 4px 6px; }
.msg--bot p { background: var(--paper-2); border-top-left-radius: 4px; }
.msg--me { align-self: flex-end; } .msg--me .who { text-align: right; margin-right: 6px; }
.msg--me p { background: var(--cta); color: #fff; border-top-right-radius: 4px; }
.msg p a { color: inherit; font-weight: 600; }
.msg--tool p { background: transparent; border-style: dashed; font-family: var(--mono); font-size: 13px; color: var(--ink-2); padding: 6px 12px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--paper-2); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; transform: translateY(-3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.term__chips { display: flex; gap: 8px; padding: 10px 14px; overflow-x: auto; border-top: 1.5px solid var(--paper-grid); scrollbar-width: none; }
.term__chips button { flex: none; border: 1.5px solid var(--ink); background: var(--p-yellow); border-radius: 999px; padding: 6px 14px; font-size: 14px; transition: transform .15s var(--spring); }
.term__chips button:nth-child(3n+2) { background: var(--p-green); } .term__chips button:nth-child(3n+3) { background: var(--p-red); }
.term__chips button:hover { transform: translateY(-2px); }
.term__in { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: var(--stroke); font-family: var(--mono); }
.term__in input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; min-width: 0; }
.term__in button { border: 1.5px solid var(--ink); background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 16px; font-family: var(--font); }
@media (max-width: 900px) { .agent-grid { grid-template-columns: 1fr; } .agent-stk { display: none; } .term { height: 500px; } }

/* ================================================================ videos + quote */
.videos { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.vid { margin: 0; }
.vid--main { grid-row: span 2; }
.vid__facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 2.5px solid var(--ink); border-radius: var(--r-l); overflow: hidden; background: var(--ink); box-shadow: var(--drop); }
.vid__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vid__facade:hover img { transform: scale(1.05); }
.vid__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px; border-radius: 50%; background: var(--red); border: 2.5px solid var(--ink); display: grid; place-items: center; box-shadow: 0 5px 0 var(--ink); transition: transform .25s var(--spring); }
.vid__play svg { width: 38px; fill: #fff; margin-left: 4px; }
.vid__facade:hover .vid__play { transform: scale(1.12) rotate(-6deg); }
.vid--side .vid__play { width: 64px; height: 64px; margin: -32px; background: var(--blue); }
.vid--side .vid__play svg { width: 28px; }
.vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 2.5px solid var(--ink); border-radius: var(--r-l); box-shadow: var(--drop); background: #000; }
.vid figcaption { margin-top: 14px; display: flex; gap: 10px; align-items: center; font-weight: 500; }
.vid--main .vid__facade, .vid--main iframe { aspect-ratio: 16 / 10; }
.quote { position: relative; background: var(--green); color: #fff; border: var(--stroke); border-radius: var(--r-l); padding: 34px 34px 50px; box-shadow: var(--drop); min-height: 260px; }
.quote__o { position: absolute; left: 18px; top: -18px; width: 70px; }
.quote__c { position: absolute; right: 18px; bottom: -14px; width: 64px; }
.quote__slides { position: relative; min-height: 170px; }
.quote blockquote { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(12px); transition: all .5s var(--ease); pointer-events: none; }
.quote blockquote.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote p { font-size: 19px; line-height: 1.45; }
.quote cite { display: inline-block; font-style: normal; font-weight: 600; font-size: 14px; background: var(--p-yellow); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px; padding: 3px 12px; }
.quote__dots { position: absolute; left: 34px; bottom: 18px; display: flex; gap: 8px; }
.quote__dots button { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); background: rgb(255 255 255 / .5); padding: 0; }
.quote__dots button.is-on { background: #fff; width: 30px; border-radius: 999px; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr; } .vid--main { grid-row: auto; } }

/* ================================================================ made in riga */
.riga-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.riga-facts { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.riga-facts li { background: #fff; border: var(--stroke); border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; box-shadow: 0 3px 0 var(--ink); transition: transform .2s var(--spring); }
.riga-facts li:hover { transform: translateX(6px); }
.riga-facts li:nth-child(1) { border-left: 10px solid var(--blue); } .riga-facts li:nth-child(2) { border-left: 10px solid var(--green); } .riga-facts li:nth-child(3) { border-left: 10px solid var(--yellow); }
.riga-facts span { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.skyline-card { margin: 0; max-width: 420px; border: 2.5px solid var(--ink); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--drop); transform: rotate(-2deg); transition: transform .4s var(--spring); }
.skyline-card:hover { transform: rotate(0) scale(1.02); }
.skyline-card img { width: 100%; aspect-ratio: 1 / .8; object-fit: cover; object-position: 50% 70%; }
.skyline-card { background: #fff; }
.skyline-card img { aspect-ratio: auto; object-fit: contain; padding: 18px; }
.riga-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
.skyline-card { justify-self: center; max-width: 560px; width: 100%; }

/* pinboard */
.wall-wrap { margin-top: 72px; }
.wall-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.wall-head .kicker { margin: 0; }
.wall { position: relative; height: 900px; margin: 0 var(--pad); border: 2px dashed rgb(30 30 30 / .25); border-radius: var(--r-xl); background: rgb(255 255 255 / .35); }
.polaroid { position: absolute; left: 0; top: 0; width: 220px; margin: 0; background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 10px 10px 0; box-shadow: 0 8px 18px -6px rgb(0 0 0 / .35); transform: rotate(var(--r, 0deg)); cursor: grab; touch-action: none; user-select: none; transition: transform .3s var(--spring), box-shadow .3s, translate .5s var(--spring), left .6s var(--spring), top .6s var(--spring); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; pointer-events: none; }
.polaroid figcaption { font-family: var(--mono); font-size: 13px; text-align: center; padding: 8px 0 10px; }
.polaroid:hover { transform: rotate(0deg) scale(1.04); z-index: 30; }
.polaroid.lift { cursor: grabbing; transform: rotate(0deg) scale(1.08); box-shadow: 0 26px 40px -10px rgb(0 0 0 / .45); transition: transform .3s var(--spring), box-shadow .3s; }
.pin { position: absolute; left: 50%; top: -12px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; border: 2px solid var(--ink); background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / .85) 0 3px, transparent 4px), var(--pin, var(--red)); box-shadow: 2px 4px 0 rgb(0 0 0 / .25); z-index: 2; transition: transform .25s var(--spring); }
.pin::after { content: ""; position: absolute; left: 50%; top: 18px; width: 2px; height: 8px; margin-left: -1px; background: #8a8f96; border-radius: 1px; }
.polaroid.lift .pin { transform: translateY(-10px) scale(1.15); }
@media (max-width: 960px) { .skyline-card { margin-top: 8px; } }
@media (max-width: 560px) { .polaroid { padding: 6px 6px 0; } .polaroid figcaption { font-size: 11px; padding: 5px 0 6px; } .pin { width: 18px; height: 18px; margin-left: -9px; top: -9px; } }

/* ================================================================ road */
.road { background: #fff; border: var(--stroke); border-radius: var(--r-xl); padding: 56px clamp(24px, 5vw, 64px) 36px; box-shadow: var(--drop); }
.road__track { position: relative; height: 10px; border-radius: 5px; background: var(--paper-grid); border: 1.5px solid var(--ink); margin: 30px 30px 60px; touch-action: none; cursor: pointer; }
.road__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 5px; background: var(--g-grad); }
.road__stop { position: absolute; left: var(--x); top: 50%; width: 64px; height: 64px; margin: -32px; border: var(--stroke); border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .3s var(--spring), background .3s; }
.road__stop img { width: 34px; height: 34px; object-fit: contain; }
.road__stop.is-hit { background: var(--p-yellow); transform: scale(1.12); }
.road__knob { position: absolute; z-index: 2; left: 0; top: 50%; width: 46px; height: 46px; margin: -23px; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; filter: drop-shadow(0 4px 0 rgb(0 0 0 / .3)); transition: left .5s var(--spring); }
.road__knob.dragging { transition: none; cursor: grabbing; }
.road__knob img { width: 100%; }
.road__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.road__card { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 18px; opacity: .45; transform: scale(.97); transition: all .4s var(--spring); cursor: pointer; }
.road__card.is-on { opacity: 1; transform: translateY(-6px); background: var(--paper-2); box-shadow: var(--drop); }
.road__card h3 { font-size: 21px; font-weight: 600; margin: 12px 0 8px; }
.road__card p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .road__cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .road__cards { grid-template-columns: 1fr; } .road__card:not(.is-on) { display: none; } .road__stop { width: 48px; height: 48px; margin: -24px; } .road__stop img { width: 26px; height: 26px; } .road__track { margin-inline: 22px; } }

/* ================================================================ involved */
.sec--involved { background: var(--p-yellow); border-block: var(--stroke); overflow: hidden; }
.roles { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.role { display: flex; align-items: center; gap: 10px; border: var(--stroke); border-radius: 999px; padding: 8px 20px 8px 8px; font-weight: 600; font-size: 17px; box-shadow: 0 3px 0 var(--ink); transition: transform .2s var(--spring), box-shadow .2s; }
.role img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 50%; border: 1.5px solid var(--ink); padding: 5px; }
.role:hover { transform: translateY(-3px); }
.role.is-on { transform: translateY(-4px) rotate(-1.5deg); box-shadow: 0 7px 0 var(--ink); outline: 3px solid var(--ink); outline-offset: 2px; }
.role-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); box-shadow: 0 10px 0 var(--ink); position: relative; }
.role-panel h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; margin-bottom: 14px; }
.role-panel p { font-size: 18px; }
.role-panel__txt > * { transition: opacity .25s, transform .25s; }
.role-panel.is-swap .role-panel__txt > * { opacity: 0; transform: translateY(8px); }
.role-panel__cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; position: relative; }
.role-panel__arr { position: absolute; width: 110px; right: 0; top: -10px; transform: rotate(150deg); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: rotate(150deg) translateX(-10px); } }
@media (max-width: 860px) { .role-panel { grid-template-columns: 1fr; } .role-panel__arr { display: none; } }

/* ================================================================ faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq-brace { width: 140px; margin-top: 30px; opacity: .9; }
.faq details { border: var(--stroke); border-radius: var(--r); background: #fff; margin-bottom: 12px; transition: box-shadow .2s, transform .2s; }
.faq details[open] { box-shadow: var(--drop); transform: translateY(-2px); background: var(--paper-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 60px 18px 22px; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; background: var(--p-blue); transition: transform .3s var(--spring); }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--p-yellow); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-brace { display: none; } }

/* ================================================================ footer */
.foot { background: #fff; border-top: var(--stroke); }
.foot__band { display: flex; justify-content: space-around; align-items: center; padding: 20px var(--pad); border-bottom: 1.5px solid var(--paper-grid); overflow: hidden; }
.foot__band img { height: 38px; width: auto; }
.foot__band img.rot90 { height: 80px; margin: -20px 0; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.foot__big { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 28px; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot__cols h4 { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.foot__cols a { display: block; color: var(--ink); text-decoration: none; margin: 6px 0; }
.foot__cols a:hover { color: var(--link); text-decoration: underline; }
.foot__legal { font-size: 13px; color: var(--ink-2); padding-bottom: 40px; padding-top: 18px; border-top: 1px solid var(--paper-grid); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } .foot__band img:nth-child(n+5) { display: none; } }

/* ================================================================ click-pop stickers + reveal */
.pop { position: fixed; z-index: 90; pointer-events: none; width: 54px; animation: pop .9s var(--spring) forwards; }
@keyframes pop { 0% { transform: translate(-50%, -50%) scale(0) rotate(-40deg); opacity: 1; } 40% { transform: translate(-50%, -80%) scale(1.1) rotate(10deg); } 100% { transform: translate(-50%, -160%) scale(.8) rotate(25deg); opacity: 0; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.hero__copy { position: relative; z-index: 2; }
.badge-stage { z-index: 1; }

/* ================================================================ hero background photo (light wash keeps text readable) */
.hero { isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--paper); }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease); }
.hero__bg img.is-on { opacity: 1; animation: kenburns 14s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08) translate3d(0,0,0); } to { transform: scale(1.18) translate3d(-2%, -1.5%, 0); } }
.hero__wash { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(240 240 240 / .97) 0%, rgb(240 240 240 / .9) 34%, rgb(240 240 240 / .55) 58%, rgb(240 240 240 / .25) 78%, rgb(240 240 240 / .45) 100%),
    linear-gradient(180deg, rgb(240 240 240 / .55) 0%, transparent 22%, transparent 70%, rgb(240 240 240 / .95) 100%);
}
.hero__wash::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(30 30 30 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(30 30 30 / .06) 1px, transparent 1px); background-size: 32px 32px; }
.hero .chip, .hero .eyebrow { backdrop-filter: blur(6px); }
.bg-dots { position: absolute; right: var(--pad); bottom: 120px; z-index: 2; display: flex; gap: 8px; }
.bg-dots button { width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 2px solid var(--ink); background: #fff; transition: width .3s var(--spring), background .3s; }
.bg-dots button.is-on { width: 34px; background: var(--t-yellow); }
@media (max-width: 900px) {
  .hero__wash { background: linear-gradient(180deg, rgb(240 240 240 / .5) 0%, rgb(240 240 240 / .88) 30%, rgb(240 240 240 / .92) 100%); }
  .bg-dots { display: none; }
}

/* wider screens: spread grids across the viewport */
@media (min-width: 1400px) {
  .formats { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .flip { height: 380px; }
  .globe-grid { grid-template-columns: 1fr 1fr; gap: 96px; }
  .globe-wrap { max-width: 720px; }
  .expect { gap: 48px; }
  .agent-grid { grid-template-columns: .8fr 1.2fr; gap: 96px; }
  .term { height: 600px; }
  .riga-grid { gap: 96px; }
  .wall { height: 1000px; }
  .road__cards { gap: 22px; }
  .faq-grid { gap: 96px; }
  .shift { max-width: 1100px; }
  .badge-stage { height: 640px; }
}

/* ================================================================ official DevFest 2026 brand pieces */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 26px; font-size: clamp(64px, 11vw, 196px); }
.wm__img { width: min(100%, 4.9em); height: auto; animation: wordIn .9s .1s var(--ease) both; filter: drop-shadow(0 6px 0 rgb(0 0 0 / .06)); }
.wm__pill { margin-top: .12em; font-size: .16em; }

/* official lanyard strap texture */
.lanyard__strap { background: #fff url("assets/official/lanyard-strap.png") center top / 100% auto repeat-y !important; border-inline: 2px solid var(--ink); }
.lanyard__strap::after { background: linear-gradient(90deg, rgb(0 0 0 / .08), transparent 30%, transparent 70%, rgb(0 0 0 / .08)); }
.lanyard__strap--r { background-position: center 37px !important; }

/* official badge (DevFest 2026 badge template) */
.ob { padding: 30px 20px 16px; gap: 0; }
.ob--blue { background: var(--p-blue); }
.ob--yellow { background: var(--p-yellow); }
.ob__logo { width: 100%; margin-top: 6px; }
.ob__loc { align-self: center; margin-top: -2px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 1px 34px; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.ob__row { display: flex; align-items: center; gap: 8px; margin: 14px 0 12px; }
.ob__dots { display: flex; }
.ob__dots i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); background: var(--blue); margin-right: -9px; }
.ob--blue .ob__dots i { background: #5b86d6; }
.ob__arrow { flex: 1; height: 2px; background: var(--ink); position: relative; margin-left: 14px; }
.ob__arrow::after { content: ""; position: absolute; right: 0; top: -5px; width: 10px; height: 10px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.ob__year { font-weight: 500; font-size: 13px; border: 2px solid var(--ink); border-radius: 999px; padding: 1px 10px; background: var(--t-blue); }
.ob__card { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 12px 14px 30px; display: flex; flex-direction: column; }
.ob__card small { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.ob__card strong { font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.ob__meta { font-family: var(--mono); font-size: 11px; margin-top: 4px; }
.ob__role { position: absolute; right: -2px; bottom: -2px; background: #fff; border: 2px solid var(--ink); border-radius: 14px 0 14px 0; padding: 4px 14px; font-weight: 600; font-size: 15px; }
.ob__foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.ob__foot img { width: 46px; height: auto; }
.ob__slash { display: flex; gap: 5px; margin-right: auto; }
.ob__slash i { width: 7px; height: 30px; background: var(--blue); border: 1.5px solid var(--ink); transform: skewX(-18deg); }
.ob--yellow .ob__slash i { background: var(--yellow); }
.ob__gdg { font-size: 11px; line-height: 1.15; }
.ob__q { font-size: 54px; font-weight: 600; line-height: .98; letter-spacing: -.03em; margin: 18px 0 14px; }
.ob__s { font-family: var(--mono); font-size: 13px; margin: 0; }
.badge__front::before { z-index: 3; }

/* marquee track lockups */
.marquee__track span { font-weight: 400; }
.marquee__track span b { font-weight: 600; }

/* role sticker picker */
.roles-stk { margin-top: 56px; text-align: center; }
.roles-stk__q { font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 22px; }
.roles-stk__q span { display: block; font-family: var(--mono); font-size: 14px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; margin-top: 6px; }
.roles-stk__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 1.6vw, 26px); }
.rs { background: none; border: 0; padding: 0; width: clamp(130px, 13vw, 210px); transition: transform .35s var(--spring), filter .3s; filter: drop-shadow(0 5px 0 rgb(0 0 0 / .18)); }
.rs:nth-child(odd) { transform: rotate(-3deg); } .rs:nth-child(even) { transform: rotate(3deg); }
.rs:hover { transform: rotate(0) translateY(-8px) scale(1.06); filter: drop-shadow(0 12px 6px rgb(0 0 0 / .2)); }
.rs.is-on { transform: rotate(0) translateY(-10px) scale(1.1); filter: drop-shadow(0 14px 0 rgb(0 0 0 / .25)); }
.rs.is-on::after { content: "✓ on your badge"; display: block; font-family: var(--mono); font-size: 12px; margin-top: 6px; }
.rs img { width: 100%; height: auto; }

/* DevFest in motion */
.motion { margin-top: 56px; }
.motion__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.motion__head h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.motion__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 24px); }
.loop { margin: 0; }
.loop video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper-2); box-shadow: 0 5px 0 var(--ink); transition: transform .3s var(--spring), box-shadow .3s; }
.loop:hover video { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 9px 0 var(--ink); }
.loop figcaption { font-family: var(--mono); font-size: 13px; margin-top: 10px; color: var(--ink-2); }
@media (max-width: 900px) { .motion__row { grid-template-columns: 1fr 1fr; } }

/* footer sticker */
.foot__stk { width: clamp(160px, 16vw, 240px); margin-bottom: 18px; transform: rotate(-4deg); transition: transform .4s var(--spring); filter: drop-shadow(0 6px 0 rgb(0 0 0 / .15)); }
.foot__stk:hover { transform: rotate(3deg) scale(1.05); }

/* ================================================================ motion polish */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--g-grad); }

.glyph { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; opacity: .9; pointer-events: none; z-index: 0; will-change: transform; }
.sec > .wrap, .sec > .wall-wrap, .sec > .rail { position: relative; z-index: 1; }
@media (max-width: 900px) { .glyph { display: none; } }

.sec--watch { padding-top: clamp(48px, 6vw, 96px); }
.videos { grid-template-columns: 1.7fr 1fr; }

/* stories rail */
.sec--stories { overflow: hidden; background: var(--paper-2); border-block: var(--stroke); }
.stories-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.rail { display: flex; gap: clamp(18px, 2.4vw, 40px); overflow-x: auto; padding: 20px var(--pad) 40px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.phone { flex: none; margin: 0; width: clamp(190px, 17vw, 270px); scroll-snap-align: center; transform: rotate(calc((var(--i) - 2.5) * 1.6deg)) translateY(calc(var(--i) * 0px)); transition: transform .45s var(--spring); }
.phone:nth-child(odd) { margin-top: 36px; }
.phone:hover { transform: rotate(0) translateY(-10px) scale(1.03); }
.phone__screen { position: relative; aspect-ratio: 9 / 16; border: 3px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--paper); box-shadow: 0 10px 0 var(--ink); }
.phone__screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 34%; height: 14px; margin-left: -17%; border-radius: 999px; background: var(--ink); z-index: 2; }
.phone__screen video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.phone figcaption { text-align: center; font-family: var(--mono); font-size: 13px; margin-top: 16px; }
@media (max-width: 900px) { .stories-head { grid-template-columns: 1fr; gap: 8px; } }

/* join-us loop in the involve panel */
.join-loop { width: 100%; max-width: 420px; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 0 5px 0 var(--ink); margin-bottom: 12px; background: var(--paper-2); }
.role-panel__arr { display: none; }

/* section headings: masked rise */
.reveal .h2 { clip-path: inset(0 0 100% 0); transform: translateY(30px); transition: clip-path 1s var(--ease) .1s, transform 1s var(--ease) .1s; }
.reveal.in .h2 { clip-path: inset(-20% -5% -20% -5%); transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal .h2 { clip-path: none; transform: none; } }

/* native 1080p opener player */
.vplayer { position: relative; border: 2.5px solid var(--ink); border-radius: var(--r-l); overflow: hidden; background: #000; box-shadow: var(--drop); }
.vplayer video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.vplayer__btn { cursor: pointer; z-index: 2; }
.vplayer.is-playing .vplayer__btn { opacity: 0; transform: scale(.6); pointer-events: none; }
.vplayer__btn { transition: opacity .25s, transform .25s var(--spring); }

/* ================================================================ phone pass */
/* quotes: stack slides in one grid cell so the box always fits the tallest quote */
.quote__slides { display: grid; min-height: 0; }
.quote blockquote { position: relative; inset: auto; grid-area: 1 / 1; }

@media (max-width: 900px) {
  .videos { grid-template-columns: 1fr; }
  .vid--main .vid__facade, .vid--main iframe, .vid--main video { aspect-ratio: 16 / 9; }
  .riga-grid { grid-template-columns: 1fr; gap: 32px; }
  .skyline-card { max-width: 420px; }
  .globe-wrap { max-width: 440px; }
}

@media (max-width: 700px) {
  :root { --pad: 20px; }
  .sec { padding-block: 64px; }
  .h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .lede { font-size: 17px; }

  /* hero: smaller badge so the next section peeks in */
  .hero { padding-bottom: 96px; }
  .badge-stage { transform: scale(.72); margin-bottom: -170px; }

  .globe-wrap { max-width: 330px; }
  .globe-grid { gap: 24px; }

  .vid__play { width: 64px; height: 64px; margin: -32px; }
  .vid__play svg { width: 28px; }
  .vid figcaption { flex-wrap: wrap; font-size: 15px; }
  .quote { padding: 30px 22px 50px; min-height: 0; }
  .quote blockquote p { font-size: 17px; }
  .quote__dots { left: 22px; }
  .motion__head { flex-wrap: wrap; gap: 4px 12px; }
  .motion__row { gap: 12px; }

  /* formats: swipe carousel instead of six tall stacked cards */
  .formats { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding: 6px var(--pad) 22px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .formats::-webkit-scrollbar { display: none; }
  .formats > * { flex: 0 0 82%; scroll-snap-align: start; }
  .flip { height: 330px; }
  .flip__front h3 { font-size: 28px; }

  /* pinboard: swipeable strip of pinned photos (no drag-to-move, so the page scrolls normally) */
  .wall-wrap { margin-top: 48px; }
  .wall { display: flex; gap: 18px; height: auto !important; margin: 0; padding: 30px var(--pad) 34px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); border: 0; border-block: 2px dashed rgb(30 30 30 / .2); border-radius: 0; scrollbar-width: none; }
  .wall::-webkit-scrollbar { display: none; }
  .polaroid { position: relative; left: auto !important; top: auto !important; width: 62vw !important; flex: none; scroll-snap-align: center; touch-action: auto; cursor: default; translate: none !important; }
  .polaroid:nth-child(even) { margin-top: 18px; }
  #pileShuffle { display: none; }
  .wall-head::after { content: "swipe →"; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
  .wall-head { display: flex; justify-content: space-between; align-items: baseline; }

  .stories-head { margin-bottom: 16px; }
  .term { height: 460px; }
  .riga-facts span { font-size: 12.5px; }
}

html, body { overflow-x: clip; }

/* badge hinges at its clip so it never detaches from the lanyard ring */
.badge { transform-origin: 50% 14px; }

/* =====================================================================================
   v3: official lockup, reel + player, patches, tracks, track record, share badges,
   be-first-in-line, partner band, partners page
   ===================================================================================== */

/* ---- official GDG Riga lockup */
.lockup { gap: 14px; }
.lockup__mark { width: 52px; height: auto; flex: none; }
.lockup__txt { font-size: 19px; line-height: 1.12; }
.lockup__txt b { font-weight: 400; letter-spacing: -.005em; }
.lockup__txt span { font-size: 17px; font-weight: 500; color: var(--blue); }
.nav__partner { font-weight: 600; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: transparent; box-shadow: none; padding-inline: 12px; }
.btn--ghost:hover { box-shadow: none; text-decoration: underline; text-underline-offset: 5px; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.pdf { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: rgb(255 255 255 / .28); }
.btn--outlined .pdf { background: var(--p-blue); }
@media (max-width: 1240px) { .nav a { padding: 8px 9px; font-size: 14px; } }
@media (max-width: 520px) { .lockup__mark { width: 42px; } .lockup__txt { font-size: 16px; } .lockup__txt span { font-size: 14px; } }

/* ---- hero tweaks */
.eyebrow--org { font-family: var(--font); font-weight: 500; font-size: 15px; gap: 8px; padding: 7px 16px 7px 12px; box-shadow: 0 3px 0 var(--ink); }
.eyebrow--org .x { color: var(--ink-2); font-weight: 400; }
.hero__photo { object-position: 50% 38%; }
@media (max-width: 760px) { .br-lg { display: none; } }

/* ---- motion "patches": official loops stitched onto sections */
.patch { position: relative; margin: 0; width: clamp(200px, 19vw, 300px); aspect-ratio: 16 / 9; border-radius: 18px; background: #fff; padding: 6px; border: 2px solid var(--ink); box-shadow: 0 7px 0 var(--ink); transform: rotate(var(--rot, -4deg)); transition: transform .5s var(--spring); flex: none; }
.patch::before { content: ""; position: absolute; inset: 3px; border: 1.5px dashed rgb(30 30 30 / .35); border-radius: 15px; pointer-events: none; z-index: 1; }
.patch video { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; background: var(--paper-2); }
.patch:hover { transform: rotate(0) scale(1.04); }
.patch--globe { position: absolute; left: -2%; bottom: 4%; width: clamp(170px, 15vw, 240px); z-index: 3; }
@media (max-width: 700px) { .patch--globe { left: auto; right: 0; bottom: -6%; width: 150px; } }

/* ---- watch: full-width autoplay reel */
.reel { position: relative; overflow: hidden; border: 2.5px solid var(--ink); border-radius: var(--r-xl); box-shadow: 0 8px 0 var(--ink); background: #111; aspect-ratio: 16 / 7; min-height: 460px; isolation: isolate; }
.reel__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.reel__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 10 10 / .78) 0%, rgb(10 10 10 / .45) 45%, rgb(10 10 10 / .1) 75%), linear-gradient(0deg, rgb(10 10 10 / .55), transparent 55%); }
.reel__copy { position: absolute; left: clamp(22px, 4.5vw, 72px); bottom: clamp(24px, 4.5vw, 72px); right: 22px; color: #fff; max-width: 760px; }
.reel .h2 { color: #fff; margin-bottom: 14px; }
.kicker--light { color: rgb(255 255 255 / .8); }
.reel__lede { font-size: clamp(16px, 1.25vw, 20px); color: rgb(255 255 255 / .88); max-width: 46ch; margin-bottom: 26px; }
.reel__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.reel__dur { font-family: var(--mono); font-weight: 500; opacity: .9; margin-left: 4px; }
.btn--glass { --bg: rgb(255 255 255 / .14); --fg: #fff; border-color: rgb(255 255 255 / .7); box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { --bg: rgb(255 255 255 / .24); box-shadow: none; }
.reel__pause { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; display: grid; place-items: center; padding: 0; box-shadow: 0 3px 0 var(--ink); transition: transform .2s var(--spring); }
.reel__pause svg { width: 18px; height: 18px; }
.reel__pause:hover { transform: scale(1.08); }
@media (max-width: 900px) { .reel { aspect-ratio: auto; min-height: 0; height: min(78svh, 620px); } .reel__shade { background: linear-gradient(0deg, rgb(10 10 10 / .85) 0%, rgb(10 10 10 / .45) 55%, rgb(10 10 10 / .15)); } }
@media (max-width: 520px) { .reel__cta .btn { width: 100%; justify-content: center; } .reel__cta .btn--lg { padding: 15px 22px; font-size: 17px; } }

/* full-video player (native <dialog>) */
.player { width: min(1280px, 94vw); max-height: 94svh; padding: 0; border: 2.5px solid var(--ink); border-radius: var(--r-l); background: #1b1b1b; color: #fff; box-shadow: 0 12px 0 var(--ink); overflow: hidden; }
.player::backdrop { background: rgb(15 15 15 / .78); backdrop-filter: blur(6px); }
.player[open] { animation: playerIn .45s var(--spring); }
@keyframes playerIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.player__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-size: 17px; }
.player__x { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: #fff; font: 600 16px var(--font); padding: 6px 4px; }
.player__x svg { width: 18px; height: 18px; }
.player__stage { background: var(--p-yellow); padding: clamp(10px, 2vw, 26px); }
.player__stage video, .player__stage iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 22px; background: #000; max-height: calc(94svh - 120px); }
html.is-modal { overflow: hidden; }

/* ---- who can join us: belt */
.roles-stk__q { text-align: center; }
.belt { position: relative; overflow: hidden; padding: 30px 0 26px; margin-inline: calc(var(--pad) * -1); cursor: grab; touch-action: pan-y; user-select: none; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.belt.dragging { cursor: grabbing; }
.belt__track { display: flex; gap: clamp(16px, 2vw, 34px); width: max-content; will-change: transform; padding-inline: 20px; }
.belt .rs { flex: none; width: clamp(170px, 15vw, 250px); }
.belt .rs:nth-child(3n+1) { transform: rotate(-3deg) translateY(6px); }
.belt .rs:nth-child(3n+2) { transform: rotate(2.5deg) translateY(-6px); }
.belt .rs:nth-child(3n) { transform: rotate(-1deg); }
.belt .rs img { pointer-events: none; animation: bob 4s ease-in-out infinite; }
.belt .rs:nth-child(2n) img { animation-delay: -2s; }
.belt .rs:hover { transform: rotate(0) translateY(-10px) scale(1.05); }

/* ---- tracks */
.tracks-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.patch--tracks { margin-bottom: 10px; }
.tracks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.track { border: var(--stroke); border-radius: var(--r-l); padding: 22px 22px 24px; box-shadow: var(--drop); transition: transform .35s var(--spring); }
.track:hover { transform: translateY(-6px) rotate(-.6deg); }
.track header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.track__n { font-family: var(--mono); font-size: 13px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 12px; background: #fff; }
.track__stk { width: 58px; height: 58px; object-fit: contain; }
.track h3 { font-size: clamp(22px, 1.7vw, 30px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }
.track .dots li { font-size: 15.5px; margin: 8px 0; }
.cfp { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 28px; background: #fff; border: var(--stroke); border-radius: var(--r-l); padding: clamp(20px, 2.4vw, 34px); box-shadow: var(--drop); }
.cfp__formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fmt { border: 1.5px solid var(--ink); border-radius: 18px; padding: 16px; background: var(--paper-2); display: flex; flex-direction: column; gap: 6px; }
.fmt b { font-size: 18px; } .fmt span { font-size: 14.5px; color: var(--ink-2); }
.cfp__rules p { margin-bottom: 18px; }
.cfp__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.also { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 26px; }
.also__k { font-family: var(--mono); font-size: 14px; color: var(--ink-2); margin-right: 6px; }
.also__i { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 16px 6px 8px; font-weight: 500; }
.also__i img { width: 28px; height: 28px; object-fit: contain; }
@media (max-width: 1400px) { .tracks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .cfp { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .tracks-head { flex-direction: column; align-items: flex-start; gap: 10px; } .patch--tracks { align-self: flex-end; width: 200px; margin-top: -10px; } .tracks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .tracks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding: 6px var(--pad) 22px; scroll-padding-inline: var(--pad); scrollbar-width: none; gap: 14px; }
  .tracks::-webkit-scrollbar { display: none; }
  .track { flex: 0 0 80%; scroll-snap-align: start; }
  .cfp__formats { grid-template-columns: 1fr; }
}

/* ---- track record timeline */
.rec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.rec-side { display: flex; align-items: flex-end; gap: 24px; }
.rec-side .lede { margin: 0; }
.patch--rec { width: clamp(170px, 13vw, 220px); }
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 1fr; gap: 28px; position: relative; }
.tl::before { content: ""; position: absolute; left: 10px; right: 0; top: 10px; height: 3px; background: linear-gradient(90deg, var(--ink) 0 52%, transparent 52%); }
.tl::after { content: ""; position: absolute; left: 52%; right: 0; top: 10px; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 18px); }
.tl__i { position: relative; padding-top: 38px; }
.tl__i::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--c); z-index: 1; }
.tl__i.is-plan::before { background: #fff; }
.tl__i.is-next::before { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(251 188 4 / .35); } }
.tl__when { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; margin-bottom: 14px; }
.tl__when em { font-style: normal; font-family: var(--font); }
.tl__card { background: #fff; border: var(--stroke); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--drop); }
.tl__card img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-bottom: var(--stroke); display: block; }
.tl__body { padding: 20px 22px 22px; }
.tl__body h3 { font-size: clamp(20px, 1.5vw, 26px); font-weight: 500; margin-bottom: 6px; }
.tl__body p { color: var(--ink-2); margin: 0; }
.tl__body a { color: var(--link); font-weight: 500; }
.tl__body dl { margin: 16px 0 0; padding-top: 14px; border-top: 1.5px solid var(--paper-grid); display: grid; gap: 6px; }
.tl__body dl div { display: flex; gap: 8px; align-items: baseline; }
.tl__body dt { font-weight: 700; font-size: 18px; white-space: nowrap; }
.tl__body dd { margin: 0; }
.tl__card--plan { background: transparent; border-style: dashed; box-shadow: none; }
@media (max-width: 1100px) {
  .rec-head { grid-template-columns: 1fr; gap: 18px; }
  .tl { grid-template-columns: 1fr 1fr; }
  .tl::before, .tl::after { display: none; }
}
@media (max-width: 700px) {
  .rec-side { flex-direction: column; align-items: flex-start; }
  .patch--rec { align-self: flex-end; margin-top: -6px; }
  .tl { grid-template-columns: 1fr; gap: 20px; padding-left: 26px; }
  .tl::before { display: block; left: 8px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: linear-gradient(180deg, var(--ink) 0 50%, transparent 50%); }
  .tl__i { padding-top: 0; }
  .tl__i::before { left: -26px; top: 2px; }
}

/* ---- social: share + follow badges */
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sbadge { --bg: #fff; --fg: var(--ink); display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 9px; border-radius: 999px; border: 2px solid var(--ink); background: var(--bg); color: var(--fg); font: 600 15px var(--font); text-decoration: none; box-shadow: 0 4px 0 var(--ink); transform: rotate(var(--r, 0deg)); transition: transform .3s var(--spring), box-shadow .2s; cursor: pointer; }
.sbadge svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: rgb(255 255 255 / .22); flex: none; }
.sbadge:hover { transform: rotate(0) translateY(-4px) scale(1.04); box-shadow: 0 7px 0 var(--ink); }
.sbadge:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.sb--instagram { --bg: radial-gradient(circle at 30% 110%, #ffd776 0 10%, #f56040 35%, #c13584 62%, #5851db 95%); --fg: #fff; }
.sb--facebook { --bg: #1877f2; --fg: #fff; }
.sb--x { --bg: #111; --fg: #fff; }
.sb--linkedin, .sb--linktree { --bg: #0a66c2; --fg: #fff; }
.sb--snapchat { --bg: #fffc00; --fg: var(--ink); }
.sb--snapchat svg { background: transparent; }
.sb--whatsapp { --bg: #25d366; --fg: #fff; }
.sb--telegram { --bg: #26a5e4; --fg: #fff; }
.sb--link, .sb--gdg { --bg: #fff; }
.sb--link svg, .sb--gdg img { background: var(--p-blue); }
.sb--gdg img { width: 26px; height: 26px; padding: 6px 3px; border-radius: 50%; object-fit: contain; }
.share__toast { font-family: var(--mono); font-size: 14px; margin-top: 14px; min-height: 1.4em; opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); }
.share__toast.is-on { opacity: 1; transform: none; }
.follow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.follow .sbadge { font-size: 14px; }

/* ---- be first in line */
.first { background: var(--paper-2); border-top: var(--stroke); }
.first__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.first__h { font-size: clamp(64px, 11vw, 200px); font-weight: 700; letter-spacing: -.05em; line-height: .98; }
.ul { position: relative; display: inline-block; z-index: 0; }
.ul::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: -.02em; height: .2em; border-radius: 999px; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.ul--blue::after { background: var(--blue); } .ul--red::after { background: var(--red); transition-delay: .12s; }
.ul--yellow::after { background: var(--yellow); transition-delay: .24s; } .ul--green::after { background: var(--green); transition-delay: .36s; }
.first__h.in .ul::after { transform: none; }
.first__side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.first__side .lede { margin: 0; }
.patch--first { width: clamp(200px, 16vw, 280px); }
@media (max-width: 900px) { .first__grid { grid-template-columns: 1fr; } .patch--first { align-self: flex-end; width: 190px; margin-top: -40px; } }

/* ---- become a partner band (main page) */
.pband { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 64px); box-shadow: 0 8px 0 var(--ink); }
.pband__types { display: grid; grid-template-columns: repeat(4, auto); gap: 10px; justify-content: start; margin: 26px 0 28px; }
.ptype { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; box-shadow: 0 3px 0 var(--ink); transition: transform .25s var(--spring); }
.ptype svg { width: 34px; height: 34px; padding: 6px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; }
.ptype:hover { transform: translateY(-3px) rotate(-1.5deg); }
.pband__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pband__art { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.pband__art .join-loop { max-width: 560px; transform: rotate(2deg); box-shadow: 0 8px 0 var(--ink); }
.pband__art a { color: var(--link); }
@media (max-width: 1200px) { .pband__types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .pband { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pband__types { grid-template-columns: 1fr; } }

/* =================================================================== partners page */
.phero { position: relative; padding: clamp(40px, 6vw, 96px) 0 clamp(56px, 7vw, 110px); overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.phero__h { font-size: clamp(44px, 6.4vw, 120px); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 26px; }
.phero .lede { margin-bottom: 24px; }
.pchips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.pchips li { display: inline-flex; align-items: center; gap: 8px; border: var(--stroke); border-radius: 999px; padding: 8px 18px; background: #fff; color: var(--ink-2); }
.pchips b { color: var(--ink); font-weight: 600; }
.pchips svg { width: 20px; height: 20px; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.phero__art { position: relative; }
.phero__art .join-loop { max-width: none; width: 100%; transform: rotate(-2.5deg); box-shadow: 0 10px 0 var(--ink); border-width: 2.5px; border-radius: var(--r-l); }
.phero__stk { position: absolute; width: 74px; animation: bob 5s ease-in-out infinite; }
.phero__stk--a { left: -26px; top: -30px; } .phero__stk--b { right: -18px; bottom: -34px; animation-delay: -2s; }
.pstats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 5vw, 72px); background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r-xl); box-shadow: 0 8px 0 var(--ink); overflow: hidden; }
.pstat { padding: clamp(20px, 2.4vw, 38px); border-right: 2px solid var(--ink); }
.pstat:last-child { border-right: 0; }
.pstat b { display: block; font-size: clamp(44px, 5vw, 92px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.pstat i { display: block; width: 54px; height: 9px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--c); margin: 18px 0 12px; }
.pstat p { margin: 0 0 14px; font-weight: 500; }
.pstat small { font-family: var(--mono); color: var(--ink-2); font-size: 13px; }
@media (max-width: 1000px) { .phero__grid { grid-template-columns: 1fr; } .phero__art { max-width: 520px; } .pstats { grid-template-columns: 1fr 1fr; } .pstat:nth-child(2) { border-right: 0; } .pstat:nth-child(-n+2) { border-bottom: 2px solid var(--ink); } }
@media (max-width: 520px) { .pstats { grid-template-columns: 1fr; } .pstat { border-right: 0; border-bottom: 2px solid var(--ink); } .pstat:last-child { border-bottom: 0; } .phero__cta .btn { width: 100%; justify-content: center; } }

.ways { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.ways__big { border-left: 6px solid var(--blue); padding: 4px 0 4px 26px; margin: 34px 0; }
.ways__big b { font-size: clamp(56px, 6vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.ways__big span { font-weight: 600; font-size: 20px; margin-left: 10px; }
.ways__big p { color: var(--ink-2); margin: 8px 0 0; }
.ways__h3 { font-size: 26px; font-weight: 500; margin-bottom: 12px; }
.ptabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.ptab { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border: 2px solid var(--ink); border-radius: 999px; background: #fff !important; font: 600 16px var(--font); box-shadow: 0 4px 0 var(--ink); transition: transform .25s var(--spring), background .2s; }
.ptab__ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink); }
.ptab.c-blue .ptab__ico { background: var(--t-blue); } .ptab.c-green .ptab__ico { background: var(--t-green); } .ptab.c-yellow .ptab__ico { background: #fff; } .ptab.c-pink .ptab__ico { background: var(--t-pink); }
.ptab__ico svg { width: 19px; height: 19px; }
.ptab:hover { transform: translateY(-2px); }
.ptab.is-on { transform: rotate(-2deg) translateY(-4px); }
.ptab.is-on.c-blue { background: var(--t-blue) !important; } .ptab.is-on.c-green { background: var(--t-green) !important; } .ptab.is-on.c-yellow { background: var(--t-yellow) !important; } .ptab.is-on.c-pink { background: var(--t-pink) !important; }
.ppanel { border: 2.5px solid var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 48px); box-shadow: 0 10px 0 var(--ink); min-height: 440px; display: flex; flex-direction: column; }
.ppanel h3 { font-size: clamp(30px, 3vw, 50px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 24px; }
.ppanel__cols { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; }
.ppanel__k { font-family: var(--mono); font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.ppanel__cols > div > p:not(.ppanel__k) { font-size: 18px; }
.ppanel__cta { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.ppanel__cta .linkish { font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.ways__note { margin-top: 26px; font-size: 17px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 90px); background: #fff; border: 2px solid var(--ink); border-radius: var(--r-l); overflow: hidden; }
.values > div { padding: 24px 26px; border-right: 2px solid var(--ink); }
.values > div:last-child { border-right: 0; }
.values h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.values p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 1100px) { .ways { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr 1fr; } .values > div:nth-child(2) { border-right: 0; } .values > div:nth-child(-n+2) { border-bottom: 2px solid var(--ink); } }
@media (max-width: 700px) { .ppanel { min-height: 0; } .ppanel__cols { grid-template-columns: 1fr; gap: 18px; } .ptabs { gap: 8px; } .ptab { font-size: 14.5px; padding-right: 14px; } .ptab__ico { width: 30px; height: 30px; } .values { grid-template-columns: 1fr; } .values > div { border-right: 0 !important; border-bottom: 2px solid var(--ink); } .values > div:last-child { border-bottom: 0; } }

.decks-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.decks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.deck { display: flex; flex-direction: column; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r-l); overflow: hidden; box-shadow: 0 8px 0 var(--ink); transform: rotate(calc((var(--i) - 1.5) * .7deg)); transition: transform .4s var(--spring); }
.deck:hover { transform: rotate(0) translateY(-8px); }
.deck.is-start { background: var(--p-yellow); }
.deck__cover { display: block; aspect-ratio: 16 / 9.4; overflow: hidden; border-bottom: 2.5px solid var(--ink); background: var(--paper-2); }
.deck__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.deck.is-start .deck__cover { background: var(--t-yellow); padding: 18px 26px 0; }
.deck.is-start .deck__cover img { border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0; }
.deck:hover .deck__cover img { transform: scale(1.04); }
.deck__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.deck__body .tag { align-self: flex-start; }
.deck__body h3 { font-size: clamp(20px, 1.5vw, 26px); font-weight: 600; letter-spacing: -.01em; }
.deck__body p { margin: 0; color: var(--ink-2); }
.deck__meta { font-family: var(--mono); font-size: 13.5px; margin-top: auto !important; padding-top: 8px; }
.deck__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 1300px) { .decks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .decks-head { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 620px) { .decks { grid-template-columns: 1fr; } .deck { transform: none; } }

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 88px); align-items: start; }
.contact .dots a { color: var(--link); }
.formcard { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r-xl); box-shadow: 0 10px 0 var(--ink); padding: clamp(24px, 3vw, 44px); position: relative; }
.formcard__stk { position: absolute; right: -18px; top: -40px; width: 150px; transform: rotate(8deg); filter: drop-shadow(0 4px 0 rgb(0 0 0 / .25)); }
.formcard h3 { font-size: 30px; font-weight: 600; margin-bottom: 8px; }
.formcard > div > p { color: var(--ink-2); margin-bottom: 22px; max-width: 34ch; }
.picks { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.picks label { cursor: pointer; }
.picks input { position: absolute; opacity: 0; pointer-events: none; }
.picks span { display: inline-block; padding: 9px 18px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 500; background: #fff; transition: transform .2s var(--spring), background .2s; }
.picks input:checked + span { background: var(--t-yellow); transform: rotate(-2deg); box-shadow: 0 3px 0 var(--ink); }
.picks input:focus-visible + span { outline: 3px solid var(--cta); outline-offset: 2px; }
.formcard.has-form { padding: 10px; }
.formcard__frame { width: 100%; height: 900px; border: 0; border-radius: 26px; display: block; }
.formcard.has-form .linkish { display: inline-block; margin: 12px 14px 6px; }
@media (max-width: 1000px) { .contact { grid-template-columns: 1fr; } .formcard__stk { width: 110px; right: -6px; top: -36px; } }
.ppanel[hidden] { display: none; }
.foot__cols { grid-template-columns: repeat(3, minmax(0, auto)); gap: 28px 48px; }
@media (max-width: 760px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
.pband__types { display: flex; flex-wrap: wrap; }
.ptype { white-space: nowrap; }

/* ---- talk formats (v3.1): icon, chips and the <> mark as motif */
.cfp { align-items: start; }
.cfp__formats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fmt { --a: var(--t-blue); --bgc: var(--p-blue); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 18px; border: 2px solid var(--ink); border-radius: 22px; background: var(--bgc); box-shadow: 0 5px 0 var(--ink); transition: transform .35s var(--spring), box-shadow .25s; }
.fmt--green { --a: var(--t-green); --bgc: var(--p-green); }
.fmt--yellow { --a: var(--t-yellow); --bgc: var(--p-yellow); }
.fmt:hover { transform: translateY(-5px) rotate(-.8deg); box-shadow: 0 9px 0 var(--ink); }
.fmt__top { display: flex; align-items: center; justify-content: space-between; }
.fmt__ico { width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--ink); background: var(--a); display: grid; place-items: center; box-shadow: 0 3px 0 var(--ink); transition: transform .4s var(--spring); }
.fmt__ico svg { width: 24px; height: 24px; }
.fmt:hover .fmt__ico { transform: rotate(-8deg) scale(1.08); }
.fmt__n { font-family: var(--mono); font-size: 12.5px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 10px; background: #fff; }
.fmt h3 { font-size: clamp(20px, 1.45vw, 24px); font-weight: 600; letter-spacing: -.015em; margin: 6px 0 0; }
.fmt p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; position: relative; z-index: 1; }
.fmt__chips { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; padding-right: 54px; }
.fmt__chips li { font-size: 12.5px; font-weight: 600; background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 10px; }
.fmt__mark { position: absolute; right: -10px; bottom: -8px; width: 82px; height: auto; transform: rotate(-12deg); opacity: .9; transition: transform .5s var(--spring); }
.fmt:hover .fmt__mark { transform: rotate(0) translateX(-6px); }
@media (max-width: 1400px) and (min-width: 1001px) { .cfp { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cfp__formats { grid-template-columns: 1fr; } }
.cfp { grid-template-columns: 1fr; gap: 22px; }
.cfp__rules { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 4px; }
.cfp__rules p { margin: 0; max-width: 70ch; }
.cfp__cta { flex: none; }
.fmt { padding: 22px 22px 22px; }
.fmt__mark { right: 18px; bottom: 18px; width: 52px; transform: none; opacity: 1; }
.fmt:hover .fmt__mark { transform: rotate(-8deg) scale(1.1); }
.fmt__chips { padding-right: 70px; }
@media (max-width: 1000px) { .cfp__rules { flex-direction: column; align-items: flex-start; } }

/* ---- deck preview viewer */
.deck__btns .btn { flex: 1 1 auto; justify-content: center; }
.pv { width: min(1320px, 96vw); height: min(92svh, 1000px); padding: 0; border: 2.5px solid var(--ink); border-radius: var(--r-l); background: #1b1b1b; color: #fff; box-shadow: 0 12px 0 var(--ink); overflow: hidden; }
.pv[open] { display: flex; flex-direction: column; animation: playerIn .45s var(--spring); }
.pv::backdrop { background: rgb(15 15 15 / .78); backdrop-filter: blur(6px); }
.pv__bar { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 22px; }
.pv__t { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv__n { font-family: var(--mono); font-size: 14px; color: rgb(255 255 255 / .7); margin-right: auto; white-space: nowrap; }
.pv__acts { display: flex; align-items: center; gap: 10px; }
.pv__acts .btn { box-shadow: none; border-color: #fff; }
.pv__x { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; display: grid; place-items: center; padding: 0; }
.pv__x svg { width: 18px; height: 18px; }
.pv__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--paper); touch-action: pan-y; cursor: grab; user-select: none; }
.pv__track { display: flex; height: 100%; transition: transform .45s var(--ease); will-change: transform; }
.pv__page { flex: 0 0 100%; height: 100%; margin: 0; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px) clamp(12px, 6vw, 90px); }
.pv__page img { max-width: 100%; max-height: 100%; object-fit: contain; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 0 8px 0 var(--ink); background: #fff; pointer-events: none; }
.pv__nav { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); display: grid; place-items: center; padding: 0; box-shadow: 0 4px 0 var(--ink); transition: transform .2s var(--spring), opacity .2s; }
.pv__nav svg { width: 22px; height: 22px; }
.pv__nav:hover { transform: scale(1.08); }
.pv__nav:disabled { opacity: .25; pointer-events: none; }
.pv__nav--prev { left: 18px; } .pv__nav--next { right: 18px; }
.pv__thumbs { display: flex; gap: 10px; padding: 12px 16px; overflow-x: auto; scrollbar-width: thin; background: #1b1b1b; }
.pv__thumb { position: relative; flex: none; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; opacity: .55; transition: opacity .2s, border-color .2s, transform .2s var(--spring); }
.pv__thumb img { height: 100%; width: auto; border-radius: 6px; display: block; }
.pv__thumb span { position: absolute; left: 4px; bottom: 3px; font: 600 11px var(--mono); background: rgb(0 0 0 / .65); color: #fff; padding: 0 5px; border-radius: 4px; }
.pv__thumb:hover { opacity: .9; }
.pv__thumb.is-on { opacity: 1; border-color: var(--t-yellow); transform: translateY(-2px); }
@media (max-width: 700px) {
  .pv { width: 100vw; height: 100svh; max-height: none; max-width: none; border-radius: 0; border: 0; }
  .pv__bar { padding: 10px 10px 10px 16px; gap: 10px; }
  .pv__acts .btn span, .pv__t { font-size: 15px; }
  .pv__nav { width: 42px; height: 42px; margin-top: -21px; }
  .pv__nav--prev { left: 8px; } .pv__nav--next { right: 8px; }
  .pv__page { padding: 16px 8px; }
  .pv__thumb { height: 48px; }
}

/* partners page: way back home */
.nav__home { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 600; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); margin-right: 8px; }
.nav__home svg { width: 18px; height: 18px; }
.nav__home:hover { background: var(--p-yellow) !important; }
.backlink { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; box-shadow: 0 3px 0 var(--ink); transition: transform .2s var(--spring); }
.backlink span { transition: transform .2s var(--spring); }
.backlink:hover { transform: translateY(-2px); }
.backlink:hover span { transform: translateX(-4px); }

/* pinboard: DevFest worldwide photos */
.wtag { margin-right: 4px; }
.wkey { margin-left: 8px; padding: 2px 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--p-blue); color: var(--ink); text-transform: none; }
.polaroid--world { background: #fdfcf5; }
.polaroid--world figcaption { color: #1a57c4; }
.polaroid { transition: transform .3s var(--spring), box-shadow .3s, translate .5s var(--spring), left .9s var(--spring), top .9s var(--spring); }

.hero__photo { object-position: 68% 45%; }

/* globe patch: cursor "clicks" the patch corner instead of hiding behind it */
.patch--globe { left: -3%; bottom: -1%; }
.patch__cursor { position: absolute; right: -30px; bottom: -34px; width: 64px; z-index: 2; transform: rotate(-8deg); filter: drop-shadow(0 4px 0 rgb(0 0 0 / .2)); animation: tap 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes tap { 0%, 70%, 100% { transform: rotate(-8deg) translate(0, 0); } 80% { transform: rotate(-8deg) translate(-6px, -6px) scale(.92); } }
@media (prefers-reduced-motion: reduce) { .patch__cursor { animation: none; } }

/* ---- share composer */
.sc { width: min(1120px, 95vw); max-height: 94svh; padding: 0; border: 2.5px solid var(--ink); border-radius: var(--r-l); background: var(--paper-2); color: var(--ink); box-shadow: 0 12px 0 var(--ink); overflow: auto; }
.sc[open] { animation: playerIn .45s var(--spring); }
.sc::backdrop { background: rgb(15 15 15 / .7); backdrop-filter: blur(6px); }
.sc__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; background: #fff; border-bottom: 2px solid var(--ink); }
.sc__ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--bg, #fff); color: var(--fg, var(--ink)); }
.sc__ico svg { width: 22px; height: 22px; }
.sc__t { font-size: 19px; margin-right: auto; }
.sc__x { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; display: grid; place-items: center; padding: 0; }
.sc__x svg { width: 18px; height: 18px; }
.sc__body { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; padding: 24px; }
.sc__media { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.sc__frame { width: 100%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; padding: 16px; min-height: 300px; background-image: linear-gradient(var(--paper-grid) 1px, transparent 1px), linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px); background-size: 22px 22px; }
.sc__img { max-width: 100%; max-height: 52svh; border-radius: 12px; border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink); background: #fff; }
.sc__fmts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sc__fmts button { border: 2px solid var(--ink); background: #fff; border-radius: 999px; padding: 6px 14px; font: 600 14px var(--font); }
.sc__fmts button.is-on { background: var(--t-yellow); box-shadow: 0 3px 0 var(--ink); transform: translateY(-2px); }
.sc__compose { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sc__lbl { font-weight: 600; } .sc__lbl span { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.sc__ta { width: 100%; resize: vertical; min-height: 230px; font: 16px/1.5 var(--font); color: var(--ink); padding: 14px 16px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; }
.sc__ta:focus { outline: 3px solid var(--cta); outline-offset: 2px; }
.sc__meta { display: flex; justify-content: space-between; align-items: center; min-height: 22px; }
.sc__count { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.sc__count.is-over { color: var(--red); font-weight: 600; }
.sc__acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.sc__hint { font-size: 14px; color: var(--ink-2); margin: 4px 0 0; }
@media (max-width: 820px) { .sc__body { grid-template-columns: 1fr; padding: 16px; } .sc__img { max-height: 36svh; } .sc__frame { min-height: 0; } .sc__go { width: 100%; justify-content: center; } }
@media (max-width: 520px) { .sc { width: 100vw; max-width: none; max-height: 100svh; height: 100svh; border-radius: 0; border: 0; } }

.rs.is-on::after { content: none; }
.belt .rs { cursor: grab; }

/* ---- hackathon band (cash prizes) */
.hackband { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 44px); align-items: center; margin-top: 28px; padding: clamp(22px, 3vw, 38px); background: var(--p-yellow); border: 2.5px solid var(--ink); border-radius: var(--r-l); box-shadow: var(--drop); overflow: hidden; }
.hackband__prize { position: relative; width: 120px; height: 110px; }
.hackband__coin { position: absolute; left: 10px; top: 20px; width: 78px; height: 78px; border-radius: 50%; border: 3px solid var(--ink); background: var(--t-yellow); box-shadow: inset 0 -6px 0 rgb(0 0 0 / .12), 0 4px 0 var(--ink); display: grid; place-items: center; font: 700 38px var(--font); animation: coin 3s ease-in-out infinite; }
.hackband__coin--2 { left: 44px; top: 0; width: 64px; height: 64px; font-size: 30px; background: #ffe37a; animation-delay: -1s; }
.hackband__coin--3 { left: 52px; top: 52px; width: 54px; height: 54px; font-size: 26px; background: #ffd95a; animation-delay: -2s; }
@keyframes coin { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(6deg); } }
.hackband h3 { font-size: clamp(26px, 2.4vw, 40px); font-weight: 600; letter-spacing: -.02em; margin: 0 0 8px; }
.hackband__txt > p:not(.kicker) { margin: 0 0 6px; max-width: 60ch; }
.hackband__txt .fmt__chips { padding-right: 0; }
.hackband__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hackband__stk { position: absolute; right: -14px; top: -16px; width: 74px; transform: rotate(14deg); opacity: .9; }
.also__i { text-decoration: none; color: var(--ink); }
a.also__i:hover { transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
@media (prefers-reduced-motion: reduce) { .hackband__coin { animation: none; } }
@media (max-width: 1100px) { .hackband { grid-template-columns: auto 1fr; } .hackband__cta { grid-column: 1 / -1; } }
@media (max-width: 640px) { .hackband { grid-template-columns: 1fr; } .hackband__prize { width: 110px; height: 96px; } .hackband__cta .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; } }

/* pinboard: 10 pinned at a time, the rest wait in the pile */
.polaroid { transition: transform .5s var(--spring), box-shadow .3s, translate .5s var(--spring), left .9s var(--spring), top .9s var(--spring), opacity .5s var(--ease); }
.polaroid.is-off { opacity: 0; transform: rotate(var(--r, 0deg)) scale(.6) translateY(-40px); pointer-events: none; z-index: 0 !important; }
@media (max-width: 700px) { .polaroid.is-off { display: none; } }

/* =================================================================== badge studio */
.studio { background: var(--paper-2); border-top: var(--stroke); overflow: hidden; }
.studio-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.studio-head .lede b { color: var(--ink); }
.studio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.studio__form { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r-xl); box-shadow: 0 8px 0 var(--ink); padding: clamp(20px, 2.6vw, 36px); display: grid; gap: 26px; }
.step { position: relative; display: grid; gap: 8px; padding-left: 52px; }
.step__n { position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--t-yellow); display: grid; place-items: center; font: 700 16px var(--font); box-shadow: 0 3px 0 var(--ink); }
.step:nth-child(2) .step__n { background: var(--t-blue); } .step:nth-child(3) .step__n { background: var(--t-pink); }
.studio__form label, .studio__form .lbl { font-weight: 600; font-size: 15px; }
.studio__form label span, .studio__form .lbl span { font-weight: 400; color: var(--ink-2); }
.field { width: 100%; font: 500 17px var(--font); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 13px 16px; margin-bottom: 6px; transition: box-shadow .2s, transform .2s var(--spring); }
.field:focus { outline: none; box-shadow: 0 0 0 4px var(--t-blue); background: #fff; }
.field--ta { resize: vertical; line-height: 1.5; font-size: 15.5px; }
.studio__drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px; border: 2px dashed var(--ink); border-radius: 18px; background: var(--paper); cursor: pointer; transition: background .2s, transform .2s var(--spring); }
.studio__drop:hover, .studio__drop.is-over { background: var(--p-blue); transform: rotate(-.5deg); }
.studio__drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.studio__drop:focus-within { box-shadow: 0 0 0 4px var(--t-blue); }
.studio__drop-ph { width: 58px; height: 58px; flex: none; border-radius: 50%; border: 2px solid var(--ink); background: #fff var(--ph, none) center / cover; display: grid; place-items: center; }
.studio__drop:not(.has-photo) .studio__drop-ph::before { content: "📸"; font-size: 24px; }
.studio__drop-t { font-size: 15px; color: var(--ink-2); } .studio__drop-t b { color: var(--ink); }
.studio__rm { display: none; margin-left: auto; border: 1.5px solid var(--ink); background: #fff; border-radius: 999px; padding: 4px 12px; font: 500 13px var(--font); }
.studio__drop.has-photo .studio__rm { display: inline-block; }
.studio__drop.has-photo .studio__drop-t b::after { content: " ✓"; color: var(--green); }
.rpicks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rpick { padding: 6px; border: 2px solid transparent; border-radius: 14px; background: none; transition: transform .25s var(--spring), border-color .2s, background .2s; }
.rpick img { width: 100%; display: block; filter: drop-shadow(0 3px 0 rgb(0 0 0 / .15)); }
.rpick:hover { transform: rotate(-3deg) scale(1.04); }
.rpick[aria-pressed="true"] { border-color: var(--ink); background: var(--paper); transform: rotate(-2deg) scale(1.05); box-shadow: 0 4px 0 var(--ink); }
.studio__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.lbl--in { margin-right: 2px; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); padding: 0; transition: transform .2s var(--spring); }
.sw--blue { background: #c3ecf6; } .sw--green { background: #ccf6c5; } .sw--yellow { background: #ffe7a5; } .sw--pink { background: #f8d8d8; }
.swatch[aria-pressed="true"] { transform: scale(1.18); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.dice { margin-left: auto; border: 2px solid var(--ink); background: #fff; border-radius: 999px; padding: 7px 14px; font: 600 14px var(--font); box-shadow: 0 3px 0 var(--ink); transition: transform .3s var(--spring); }
.dice:hover { transform: rotate(-6deg) scale(1.05); }
.dice:active { transform: rotate(180deg); }

.studio__stage { display: flex; flex-direction: column; align-items: center; gap: 14px; position: sticky; top: 90px; }
.studio__top { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 460px; }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; background: #fff; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 7px 16px; font: 600 14px var(--font); color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.seg--sm button { padding: 5px 12px; font-size: 13px; }
.studio__frame { width: 100%; display: grid; place-items: center; }
.studio__frame canvas { display: block; border: 2.5px solid var(--ink); background: var(--paper); box-shadow: 0 10px 0 var(--ink); }
.studio__frame[data-fmt="story"] canvas { width: min(100%, 360px); aspect-ratio: 9 / 16; border-radius: 34px; outline: 10px solid var(--ink); outline-offset: -1px; }
.studio__frame[data-fmt="square"] canvas { width: min(100%, 460px); aspect-ratio: 1; border-radius: 28px; }
.studio__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.studio__video { position: relative; overflow: hidden; }
.studio__video::before { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: rgb(255 255 255 / .25); transition: width .2s linear; }
.studio__video:disabled { cursor: progress; }
.studio__sub { font-family: var(--mono); font-size: 13px; font-weight: 500; opacity: .85; }
.studio__status { min-height: 1.4em; margin: 0; font-size: 14px; color: var(--ink-2); text-align: center; max-width: 460px; }
.studio__cap { margin-top: 36px; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r-l); box-shadow: 0 6px 0 var(--ink); padding: clamp(18px, 2.4vw, 30px); display: grid; gap: 12px; }
.studio__cap-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.studio__cap-a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sc__studio { display: block; margin-top: 10px; padding: 12px 16px; border: 2px dashed var(--ink); border-radius: 16px; background: var(--p-yellow); color: var(--ink); text-decoration: none; font-size: 15px; transition: transform .2s var(--spring); }
.sc__studio:hover { transform: rotate(-.6deg) translateY(-2px); }
@media (max-width: 1000px) { .studio-head, .studio__grid { grid-template-columns: 1fr; } .studio__stage { position: static; order: -1; } }
@media (max-width: 520px) { .step { padding-left: 0; padding-top: 44px; } .rpicks { grid-template-columns: repeat(2, 1fr); } .studio__video { width: 100%; justify-content: center; } .seg--sm { overflow-x: auto; max-width: 100%; } }

/* hero video background (YouTube). The photo shows until the video fades in. */
.hero__yt { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s var(--ease); pointer-events: none; }
.hero__yt.is-on { opacity: 1; }
.hero__yt iframe { position: absolute; left: 50%; top: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); min-height: 100%; transform: translate(-50%, -50%) scale(1.18); border: 0; pointer-events: none; }
.hero__bg.has-video ~ .bg-dots, .hero.has-video .bg-dots { display: none; }

/* =================================================================== who it's for: hanging passes */
.who { margin-top: clamp(56px, 7vw, 110px); }
.who__h { margin-bottom: 12px; }
.who__rail { position: relative; margin-top: 40px; }
.who__bar { position: relative; z-index: 2; height: 22px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 0 5px 0 var(--ink); }
.who__bar::before, .who__bar::after { content: ""; position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--t-yellow); }
.who__bar::before { left: -8px; } .who__bar::after { right: -8px; background: var(--t-blue); }
.who__list { list-style: none; margin: 0; padding: 0 12px 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 28px); }
.hang { position: relative; padding-top: calc(var(--drop) + 66px); transform-origin: 50% -11px; animation: sway 5.5s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
.hang__strap { position: absolute; left: 50%; top: -6px; width: 30px; height: calc(var(--drop) + 52px); margin-left: -15px; background: var(--strap); border-inline: 2.5px solid var(--ink); background-image: repeating-linear-gradient(180deg, transparent 0 14px, rgb(255 255 255 / .4) 14px 18px); }
.hang__clip { position: absolute; left: 50%; top: calc(var(--drop) + 36px); width: 46px; height: 34px; margin-left: -23px; border: 2.5px solid var(--ink); border-radius: 10px; background: linear-gradient(#e9ecef, #c4c9cf); box-shadow: inset 0 3px 0 #fff; z-index: 2; }
.hang__clip::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 56px; height: 12px; margin-left: -28px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; }
.hang__card { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 22px 22px 20px; border: 2.5px solid var(--ink); border-radius: 26px; box-shadow: 0 8px 0 var(--ink); transform: rotate(var(--tilt)); transition: transform .5s var(--spring); outline: none; }
.hang__card header { display: flex; justify-content: space-between; align-items: center; font: 500 12.5px var(--mono); letter-spacing: .1em; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 2px dashed rgb(30 30 30 / .35); }
.hang__card header i { width: 50px; height: 10px; background: radial-gradient(circle, var(--blue) 4px, transparent 4.5px) 0 0 / 12.5px 10px, radial-gradient(circle, var(--red) 4px, transparent 4.5px) 12.5px 0 / 12.5px 10px no-repeat, radial-gradient(circle, var(--yellow) 4px, transparent 4.5px) 25px 0 / 12.5px 10px no-repeat, radial-gradient(circle, var(--green) 4px, transparent 4.5px) 37.5px 0 / 12.5px 10px no-repeat; background-repeat: no-repeat; }
.hang__card h3 { font-size: clamp(24px, 1.9vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 12px; }
.hang__card p { margin: 0; font-size: 16px; line-height: 1.5; }
.hang__card footer { margin-top: auto; padding-top: 70px; display: flex; justify-content: space-between; align-items: flex-end; font: 600 13px var(--mono); letter-spacing: .16em; }
.hang__bc { width: 92px; height: 30px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 7px, var(--ink) 7px 10px, transparent 10px 11px); }
.hang__stk { position: absolute; left: -16px; bottom: 54px; width: 62%; max-width: 170px; transform: rotate(-9deg); filter: drop-shadow(0 4px 0 rgb(0 0 0 / .18)); transition: transform .5s var(--spring); pointer-events: none; }
.hang:nth-child(even) .hang__stk { left: auto; right: -18px; transform: rotate(8deg); }
.hang:hover, .hang:focus-within { animation: swing 1.6s cubic-bezier(.3, 0, .3, 1) 1; }
.hang:hover .hang__card, .hang__card:focus-visible { transform: rotate(0) translateY(-4px); }
.hang:hover .hang__stk { transform: rotate(-3deg) scale(1.08); }
.hang:nth-child(even):hover .hang__stk { transform: rotate(3deg) scale(1.08); }
.hang__card:focus-visible { box-shadow: 0 8px 0 var(--ink), 0 0 0 4px var(--cta); }
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
@keyframes swing { 0% { transform: rotate(0); } 15% { transform: rotate(9deg); } 35% { transform: rotate(-6deg); } 55% { transform: rotate(3.5deg); } 75% { transform: rotate(-1.5deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .hang, .hang:hover { animation: none; } }
@media (max-width: 1300px) { .who__list { grid-template-columns: repeat(5, minmax(240px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 40px; } .who__list::-webkit-scrollbar { display: none; } .hang { scroll-snap-align: start; } .who__bar { margin-inline: -6px; } }
@media (max-width: 700px) { .who__list { grid-template-columns: repeat(5, 78vw); } .hang { --drop: 0px !important; } .hang__card { min-height: 360px; } }
.hang__card { min-height: 0; padding-bottom: 20px; margin-bottom: 64px; }
.hang__card footer { padding-top: 28px; }
.hang__card p { min-height: 7.5em; }
.hang__stk, .hang:nth-child(even) .hang__stk { left: 50%; right: auto; bottom: -78px; width: 150px; max-width: none; margin-left: -96px; transform: rotate(-7deg); z-index: 3; }
.hang:nth-child(even) .hang__stk { margin-left: -54px; transform: rotate(6deg); }
.hang:hover .hang__stk { transform: rotate(-2deg) scale(1.08) translateY(-4px); }
.hang:nth-child(even):hover .hang__stk { transform: rotate(2deg) scale(1.08) translateY(-4px); }
.hang__card footer > span { position: relative; z-index: 4; }
.who__list { padding-bottom: 40px; }
@media (max-width: 700px) { .hang__card { min-height: 0; } }

/* ---- hackathon: robots in space */
.hackband--space { grid-template-columns: 1fr auto; background: radial-gradient(120% 140% at 85% 10%, #2a3f8f 0%, #141c3d 45%, #0b0f22 100%); color: #fff; padding: clamp(26px, 3.6vw, 52px); min-height: 440px; isolation: isolate; }
.hackband--space .h3, .hackband--space h3 { color: #fff; font-size: clamp(32px, 3.4vw, 58px); line-height: 1.04; margin-bottom: 14px; }
.hackband--space .hl::after { background: #f9ab00; }
.hackband--space .hackband__txt > p:not(.kicker) { color: rgb(255 255 255 / .86); font-size: clamp(16px, 1.2vw, 19px); max-width: 58ch; }
.hackband--space .hackband__txt b { color: #fff; }
.hackband--space .fmt__chips { margin: 16px 0 24px; }
.hackband--space .fmt__chips li { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .55); }
.hackband--space .hackband__cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px; }
.linkish--light { color: rgb(255 255 255 / .75); } .linkish--light:hover { color: #fff; }
.space__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(1.6px 1.6px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 28% 70%, #fff 50%, transparent 51%), radial-gradient(1.8px 1.8px at 46% 14%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 58% 86%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 66% 40%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 76% 8%, #fff 50%, transparent 51%), radial-gradient(1.8px 1.8px at 92% 62%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 6% 88%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 36% 44%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 84% 30%, #fff 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .55; } }
.planet { position: absolute; border-radius: 50%; border: 2.5px solid var(--ink); }
.planet--a { right: 7%; top: -60px; width: 170px; height: 170px; background: radial-gradient(circle at 35% 30%, #ffd427, #f9ab00 60%, #d07a00); box-shadow: inset -14px -10px 0 rgb(0 0 0 / .18); }
.planet--b { right: 34%; bottom: -46px; width: 96px; height: 96px; background: radial-gradient(circle at 35% 30%, #ff7daf, #ea4335); box-shadow: inset -8px -6px 0 rgb(0 0 0 / .2); }
.orbit { position: absolute; right: -6%; top: 8%; width: 560px; height: 300px; border: 2px dashed rgb(255 255 255 / .25); border-radius: 50%; transform: rotate(-14deg); }
.space__bot { position: relative; align-self: end; width: clamp(180px, 16vw, 250px); margin: -10px 10px -20px 0; animation: float 5s ease-in-out infinite; }
.space__bot img { width: 100%; display: block; filter: drop-shadow(0 18px 24px rgb(0 0 0 / .45)); }
.space__shadow { display: block; width: 70%; height: 16px; margin: 10px auto 0; border-radius: 50%; background: rgb(0 0 0 / .45); filter: blur(4px); animation: shadow 5s ease-in-out infinite; }
.space__bubble { position: absolute; left: -64px; top: 6%; z-index: 2; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 18px 18px 4px 18px; background: #fff; color: var(--ink); font: 600 14px var(--font); white-space: nowrap; box-shadow: 0 3px 0 var(--ink); transform: rotate(-6deg); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.75); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .space__sky, .space__bot, .space__shadow { animation: none; } }
@media (max-width: 900px) { .hackband--space { grid-template-columns: 1fr; } .space__bot { justify-self: center; width: 170px; margin: 10px 0 0; } .space__bubble { left: -50px; } .orbit, .planet--b { display: none; } }

/* ---- who it's for: stickers sit ON the pass */
.hang__card { margin-bottom: 0; }
.hang__card p { min-height: 0; }
.hang__card footer { padding-top: 130px; }
.hang__stk, .hang:nth-child(even) .hang__stk { left: 18px; right: auto; bottom: 58px; width: 150px; margin-left: 0; transform: rotate(-7deg); z-index: 1; }
.hang:nth-child(even) .hang__stk { left: auto; right: 18px; transform: rotate(6deg); }
.hang__card footer > span, .hang__bc { position: relative; z-index: 2; }
.who__list { padding-bottom: 30px; }

/* =================================================================== hackathon: robots in space (Google theme) */
.robo { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; margin-top: 28px; padding: clamp(26px, 4vw, 64px); background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r-xl); box-shadow: 0 8px 0 var(--ink); overflow: hidden; isolation: isolate; }
.robo::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--paper-grid) 1px, transparent 1px), linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px); background-size: 32px 32px; opacity: .6; -webkit-mask: linear-gradient(90deg, transparent 30%, #000 75%); mask: linear-gradient(90deg, transparent 30%, #000 75%); }
.robo::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--g-grad); }
.robo__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.robo__tag { font: 600 13px var(--font); padding: 5px 14px; border-radius: 999px; border: 1.5px solid var(--ink); }
.robo__tag--b { background: var(--p-blue); } .robo__tag--r { background: var(--p-red); } .robo__tag--y { background: var(--p-yellow); }
.robo__h { font-size: clamp(44px, 5.6vw, 96px); font-weight: 700; letter-spacing: -.045em; line-height: .98; margin: 0 0 18px; }
.robo__g { background: linear-gradient(90deg, var(--blue), var(--red) 35%, var(--yellow) 65%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.robo__lede { font-size: clamp(17px, 1.25vw, 20px); color: var(--ink-2); max-width: 54ch; margin: 0 0 26px; }
.robo__lede b { color: var(--ink); }
.robo__steps { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.robo__steps li { display: flex; gap: 16px; align-items: center; padding: 12px 16px; border: 1.5px solid var(--paper-grid); border-radius: 18px; background: var(--paper-2); transition: transform .3s var(--spring), border-color .2s; }
.robo__steps li:hover { transform: translateX(6px); border-color: var(--ink); }
.robo__n { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 600 15px var(--mono); color: #fff; background: var(--c); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.robo__steps b { display: block; font-size: 17px; } .robo__steps span { color: var(--ink-2); font-size: 15px; }
.robo__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.robo__meta { font-size: 14px; color: var(--ink-2); } .robo__meta a { color: var(--link); }
.robo__media { position: relative; display: grid; place-items: center; min-height: 560px; }
.robo__orbit { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.robo__orbit i { position: absolute; border-radius: 50%; border: 3px solid; }
.robo__orbit i:nth-child(1) { width: 440px; height: 440px; border-color: var(--blue); border-right-color: transparent; border-bottom-color: transparent; animation: spin 18s linear infinite; }
.robo__orbit i:nth-child(2) { width: 380px; height: 380px; border-color: var(--red); border-left-color: transparent; border-top-color: transparent; animation: spin 14s linear infinite reverse; }
.robo__orbit i:nth-child(3) { width: 320px; height: 320px; border-color: var(--yellow); border-bottom-color: transparent; border-left-color: transparent; animation: spin 11s linear infinite; }
.robo__orbit i:nth-child(4) { width: 500px; height: 500px; border-color: var(--green); border-top-color: transparent; border-right-color: transparent; border-bottom-color: transparent; animation: spin 24s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.robo__phone { position: relative; z-index: 1; width: clamp(230px, 19vw, 290px); aspect-ratio: 9 / 16; border: 3px solid var(--ink); border-radius: 36px; background: radial-gradient(circle at 50% 30%, #fff, var(--paper-2)); box-shadow: 0 12px 0 var(--ink); overflow: hidden; outline: 9px solid var(--ink); outline-offset: -2px; transform: rotate(3deg); transition: transform .5s var(--spring); }
.robo__phone:hover { transform: rotate(0) scale(1.02); }
.robo__poster { position: absolute; left: 50%; bottom: 4%; height: 88%; transform: translateX(-50%); animation: float 5s ease-in-out infinite; transition: opacity .8s; }
.robo__phone iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .8s; pointer-events: none; }
.robo__phone.is-on iframe { opacity: 1; } .robo__phone.is-on .robo__poster { opacity: 0; }
.robo__phone.has-sound iframe { pointer-events: auto; } .robo__phone.has-sound .robo__play { display: none; }
.robo__play { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--red); color: #fff; display: grid; place-items: center; padding: 0; box-shadow: 0 3px 0 var(--ink); transition: transform .2s var(--spring); }
.robo__play svg { width: 20px; margin-left: 3px; } .robo__play:hover { transform: scale(1.1); }
.robo__chip { position: absolute; z-index: 2; font: 600 14px var(--font); padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; box-shadow: 0 3px 0 var(--ink); animation: bob 4s ease-in-out infinite; }
.robo__chip--a { left: 2%; top: 18%; transform: rotate(-6deg); background: var(--p-green); }
.robo__chip--b { right: 0; bottom: 16%; transform: rotate(5deg); background: var(--p-blue); animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) { .robo__orbit i, .robo__poster, .robo__chip { animation: none; } }
@media (max-width: 1000px) { .robo { grid-template-columns: 1fr; } .robo__media { min-height: 480px; } .robo__orbit i:nth-child(4) { display: none; } }
@media (max-width: 520px) { .robo__media { min-height: 440px; } .robo__orbit { transform: scale(.75); } .robo__cta .btn { width: 100%; justify-content: center; white-space: normal; } .robo__chip--a { left: 0; } }

.robo__steps .robo__n { color: #fff; font-size: 15px; }

/* crop YouTube's title bar (channel name/avatar) out of the muted loops */
.robo__phone:not(.has-sound) iframe { inset: auto; left: -16%; top: -19%; width: 132%; height: 138%; }
.hero__yt iframe { transform: translate(-50%, -50%) scale(1.32); }

/* partner form: full width, 16:9, big open button on the right */
.contact { grid-template-columns: 1fr; gap: 32px; }
.contact__txt { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px 48px; align-items: end; }
.contact__txt .kicker, .contact__txt .h2 { grid-column: 1; }
.contact__txt .lede { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; }
.contact__txt .dots { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; }
.formcard.has-form { padding: 18px; }
.formcard__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 6px 18px; flex-wrap: wrap; }
.formcard__bar b { display: block; font-size: 22px; }
.formcard__bar span { color: var(--ink-2); font-size: 15px; }
.formcard.has-form .formcard__frame { height: auto; aspect-ratio: 16 / 9; border: 2px solid var(--ink); border-radius: 20px; background: #fff; }
@media (max-width: 900px) { .contact__txt { grid-template-columns: 1fr; } .contact__txt .lede { grid-column: 1; grid-row: auto; } .formcard__bar .btn { width: 100%; justify-content: center; } .formcard.has-form .formcard__frame { aspect-ratio: auto; height: 75svh; } }

/* partner form: text left, form right */
.contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact__txt { display: block; position: sticky; top: 100px; }
.contact__txt .lede { margin: 0 0 20px; }
.contact__txt .dots { display: block; }
.formcard.has-form .formcard__frame { aspect-ratio: 16 / 9; min-height: 620px; }
@media (max-width: 1000px) { .contact { grid-template-columns: 1fr; } .contact__txt { position: static; } .formcard.has-form .formcard__frame { aspect-ratio: auto; min-height: 0; height: 75svh; } }

/* hero: video only (no photo underneath) */
.hero__bg { background: #1b2340; }
.hero__yt { transition: opacity .8s var(--ease); }

/* change requests 22 Nov: smaller RĪGA label, two balanced hero CTAs */
.wm__pill { font-size: .13em; padding: .12em 1.7em; }
.hero__cta { align-items: flex-start; gap: 14px; }
.cta-join { display: flex; flex-direction: column; gap: 8px; }
.cta-join__note { font-size: 14px; color: var(--ink-2); padding-left: 6px; }
.hero__cta > .btn--lg, .cta-join .btn--lg { min-width: 260px; justify-content: center; }
@media (max-width: 520px) { .hero__cta, .cta-join { width: 100%; } .hero__cta > .btn--lg, .cta-join .btn--lg { width: 100%; min-width: 0; } }

/* =================================================================== hero fits one screen (desktop) */
@media (min-width: 901px) {
  .hero { min-height: 0; height: calc(100svh - 72px); max-height: 1100px; min-height: 620px; padding: clamp(18px, 3.5vh, 48px) 0 clamp(96px, 13vh, 130px); display: flex; align-items: center; }
  .hero > .wrap.hero__grid { width: 100%; }
  .eyebrow--org { margin-bottom: clamp(10px, 2vh, 22px); }
  .wordmark { font-size: min(11vw, 16vh, 196px); margin-bottom: clamp(8px, 2vh, 24px); }
  .hero__h { font-size: min(3.1vw, 5.4vh, 58px); max-width: 19em; margin-bottom: clamp(8px, 1.6vh, 18px); }
  .hero__lede { font-size: min(1.35vw, 2.3vh, 22px); }
  .hero .chips { margin: clamp(10px, 2vh, 22px) 0 clamp(12px, 2.4vh, 26px); }
  .badge-stage { transform: scale(var(--hs, 1)); transform-origin: 50% 0; }
}

/* responsive pass: every desktop size */
.nav a { white-space: nowrap; }
@media (max-width: 1320px) { .nav { gap: 0; } .nav a { padding: 8px 8px; font-size: 14px; } .nav__partner { display: none; } }
@media (max-width: 1180px) { .nav { display: none; } .burger { display: flex; margin-left: 12px; } .appbar__in > .btn { margin-left: auto; } }
@media (min-width: 901px) {
  .wordmark { font-size: min(11vw, 14.5vh, 196px); }
  .hero__h { font-size: min(3.1vw, 5vh, 58px); }
  .hero__lede { font-size: min(1.35vw, 2.15vh, 22px); }
  .hero__cta > .btn--lg, .cta-join .btn--lg { min-width: 0; padding: min(18px, 2.1vh) min(32px, 2.4vw); font-size: min(19px, 1.5vw + 4px); }
  .hero .chip { padding-block: min(8px, 1vh); }
  .hero { padding-bottom: clamp(80px, 12vh, 130px); }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .hero__grid { grid-template-columns: 1.6fr 1fr; gap: 20px; }
  .hero__cta { flex-wrap: nowrap; }
  .hero .chips { flex-wrap: nowrap; }
  .hero .chip em { display: none; }
}
@media (min-width: 901px) and (max-height: 760px) { .hero__lede { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .eyebrow--org { display: none; } }
@media (max-width: 900px) { .badge-stage { margin-top: 130px; } }
@media (max-width: 700px) { .badge-stage { margin-top: 110px; } }

/* robot phone: self-hosted dancing clip */
.robo__phone--mp4 { background: #111; }
.robo__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.robo__sound svg { width: 22px; height: 22px; margin: 0; }
.robo__sound .ico-on { display: none; }
.robo__sound[aria-pressed="true"] .ico-on { display: block; } .robo__sound[aria-pressed="true"] .ico-off { display: none; }
.robo__sound[aria-pressed="true"] { background: var(--green); }

/* =================================================================== scroll intro */
.intro { position: relative; height: 420vh; background: #ededed; border-bottom: var(--stroke); }
.intro__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; background-image: linear-gradient(var(--paper-grid) 1px, transparent 1px), linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px); background-size: 40px 40px; }
.intro__mid { position: absolute; inset: 0; display: grid; place-items: center; }
.intro__brace { position: absolute; top: 50%; left: 50%; width: clamp(46px, 5vw, 74px); height: auto; margin-top: calc(clamp(46px, 5vw, 74px) * -1.88); will-change: transform; }
.intro__brace--l { margin-left: calc(clamp(46px, 5vw, 74px) * -1.55); }
.intro__brace--r { margin-left: calc(clamp(46px, 5vw, 74px) * .55); transform-origin: 50% 50%; }
.intro__brace--r { scale: -1 1; }
.intro__inner { position: relative; width: min(860px, 70vw); height: 200px; display: grid; place-items: center; text-align: center; }
.intro__dots { display: flex; gap: 12px; }
.intro__dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); background: var(--blue); animation: dotHop 1.4s ease-in-out infinite; }
.intro__dots i:nth-child(2) { background: var(--red); animation-delay: .12s; } .intro__dots i:nth-child(3) { background: var(--yellow); animation-delay: .24s; } .intro__dots i:nth-child(4) { background: var(--green); animation-delay: .36s; }
@keyframes dotHop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-12px); } }
.intro__line { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; opacity: 0; font-size: clamp(30px, 4.6vw, 76px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.intro__line b { background: linear-gradient(90deg, var(--blue), var(--red) 35%, var(--yellow) 65%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro__end { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; width: min(1100px, 92vw); text-align: center; }
.intro__end .kicker { justify-content: center; margin: 0; }
.intro__h { font-size: clamp(48px, 8vw, 140px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin: 0; will-change: transform; }
.intro__video { position: relative; display: block; width: min(860px, 88vw, calc((100svh - 330px) * 1.778)); aspect-ratio: 16 / 9; padding: 0; margin-top: 12px; border: 2.5px solid var(--ink); border-radius: var(--r-xl); overflow: hidden; background: #111; box-shadow: 0 10px 0 var(--ink); cursor: pointer; will-change: transform; }
.intro__video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.intro__video:hover img { transform: scale(1.04); }
.intro__play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px; border-radius: 50%; background: var(--red); color: #fff; border: 2.5px solid var(--ink); display: grid; place-items: center; box-shadow: 0 5px 0 var(--ink); transition: transform .25s var(--spring); }
.intro__play svg { width: 40px; margin-left: 5px; }
.intro__video:hover .intro__play { transform: scale(1.1) rotate(-6deg); }
.intro__cap { position: absolute; left: 18px; bottom: 16px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font: 600 15px var(--font); }
.intro__hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font: 500 14px var(--mono); color: var(--ink-2); animation: bob 2s ease-in-out infinite; }
@media (max-width: 700px) { .intro { height: 360vh; } .intro__inner { width: 64vw; } .intro__play { width: 68px; height: 68px; margin: -34px; } .intro__play svg { width: 28px; } }
/* reduced motion: show it as a normal section */
.intro.is-static { height: auto; }
.intro.is-static .intro__stage { position: static; height: auto; padding: 90px 0; }
.intro.is-static .intro__mid, .intro.is-static .intro__hint { display: none; }
.intro.is-static .intro__end, .intro.is-static .intro__video { opacity: 1; }
.intro__brace--r { scale: none; }
.intro__brace { margin-left: 0 !important; left: calc(50% - clamp(46px, 5vw, 74px) / 2); }
.intro__brace--l { left: calc(50% - clamp(46px, 5vw, 74px) * 1.45); }
.intro__brace--r { left: calc(50% + clamp(46px, 5vw, 74px) * .45); }
.intro__brace { overflow: visible; width: clamp(70px, 7.7vw, 114px); margin-top: calc(clamp(70px, 7.7vw, 114px) * -1.39); }
.intro__brace--l { left: calc(50% - clamp(70px, 7.7vw, 114px) * 1.1); }
.intro__brace--r { left: calc(50% + clamp(70px, 7.7vw, 114px) * .1); }
.intro__brace { transform-origin: 50% 50%; }
.intro__inner { width: min(1100px, 66vw); height: 50vh; }
.intro__line { font-size: clamp(34px, 5.4vw, 96px); will-change: filter, opacity, transform; }
.intro { height: 320vh; }
.intro__line { display: grid; place-items: center; }
.intro__line > span { display: block; max-width: 13em; text-align: center; }
@media (max-width: 700px) { .intro { height: 280vh; } }

.intro__stage { background-image: none; background-color: #ededed; }


/* =================================================================== multi-page: page heads + explore cards */
.nav a.is-active { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; }
.pagehead { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 90px) 0 clamp(40px, 6vw, 80px); border-bottom: var(--stroke); background: #fff; }
.pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--g-grad); }
.pagehead .backlink { margin-bottom: 26px; }
.pagehead__h { font-size: clamp(44px, 7vw, 120px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin: 0 0 18px; max-width: 14em; }
.pagehead .lede { max-width: 60ch; }
.pagehead__stk { position: absolute; pointer-events: none; animation: bob 5s ease-in-out infinite; }
.pagehead__stk--a { right: 6%; top: 18%; width: clamp(80px, 9vw, 140px); }
.pagehead__stk--b { right: 18%; bottom: 14%; width: clamp(50px, 5vw, 80px); animation-delay: -2s; }
@media (max-width: 760px) { .pagehead__stk { display: none; } }
.hack-page .robo { margin-top: 0; }

.explore { background: #fff; border-top: var(--stroke); }
.xcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.xcard { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 24px; border: 2.5px solid var(--ink); border-radius: var(--r-l); box-shadow: 0 8px 0 var(--ink); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .4s var(--spring), box-shadow .3s; transform: rotate(calc((var(--i) - 1.5) * .6deg)); }
.xcard:hover { transform: translateY(-8px) rotate(0); box-shadow: 0 14px 0 var(--ink); }
.xcard.c-dark { background: radial-gradient(120% 120% at 80% 0%, #2a3f8f, #121833); color: #fff; }
.xcard__n { font: 600 13px var(--mono); border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 11px; align-self: flex-start; }
.xcard__img { position: absolute; right: 14px; top: 18px; width: 46%; max-height: 52%; object-fit: contain; transition: transform .5s var(--spring); filter: drop-shadow(0 6px 0 rgb(0 0 0 / .15)); }
.xcard__img--photo { width: 56%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: 16px; transform: rotate(4deg); }
.xcard:hover .xcard__img { transform: rotate(-4deg) scale(1.06); }
.xcard h3 { margin: auto 0 8px; font-size: clamp(26px, 2.2vw, 38px); font-weight: 700; letter-spacing: -.03em; }
.xcard p { margin: 0 0 18px; font-size: 16px; opacity: .85; }
.xcard__go { font-weight: 600; display: inline-flex; gap: 6px; }
.xcard__go span { transition: transform .25s var(--spring); }
.xcard:hover .xcard__go span { transform: translateX(5px); }
@media (max-width: 1200px) { .xcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .xcards { grid-template-columns: 1fr; } .xcard { min-height: 280px; transform: none; } }

/* =================================================================== phone pass 2 */
@media (max-width: 700px) {
  /* hero badge: smaller, tucked under the CTAs */
  .badge-stage { transform: scale(.6); transform-origin: 50% 0; margin: 70px 0 -300px; }
  .hero { padding-bottom: 110px; }
  /* explore: swipe row */
  .xcards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--pad) * -1); padding: 6px var(--pad) 26px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .xcards::-webkit-scrollbar { display: none; }
  .xcard { flex: 0 0 78%; min-height: 330px; scroll-snap-align: start; transform: none; }
  .xcard__img { width: 40%; top: 16px; }
  .xcard__img--photo { width: 48%; }
  .explore .sec-head { margin-bottom: 20px; }
  .pagehead__h { font-size: clamp(38px, 11vw, 56px); }
  .pagehead .backlink { margin-bottom: 18px; }
}

/* =================================================================== supported by */
.sup { background: #fff; border-top: var(--stroke); }
.sup__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.sup__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.sup__tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; aspect-ratio: 1 / .82; padding: 22px 18px 16px; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); transition: transform .35s var(--spring), box-shadow .25s, background .25s; }
.sup__tile:hover { transform: translateY(-6px) rotate(calc((var(--i) - 3) * .6deg)); box-shadow: 0 10px 0 var(--ink); background: #fff; }
.sup__tile > img, .sup__lockup { flex: 1; width: 100%; min-height: 0; max-height: 64px; object-fit: contain; }
.sup--google > img { max-height: 44px; } .sup--netflix > img { max-height: 40px; } .sup--microsoft > img { max-height: 38px; }
.sup--mongodb > img { max-height: 40px; } .sup--rtu > img { max-height: 70px; } .sup--rbs > img { max-height: 64px; }
.sup__lockup { display: flex; align-items: center; justify-content: center; gap: 10px; }
.sup__lockup img { width: 42px; height: 42px; }
.sup__lockup b { font-size: 17px; font-weight: 500; line-height: 1.1; color: #3c4043; }
.sup__name { font: 500 12px var(--mono); color: var(--ink-2); text-align: center; }
.sup__note { margin: 28px 0 0; font-size: 16px; } .sup__note a { color: var(--link); font-weight: 600; }
@media (max-width: 1300px) { .sup__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .sup__head { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 640px) { .sup__grid { grid-template-columns: 1fr 1fr; gap: 12px; } .sup__tile { aspect-ratio: auto; min-height: 120px; } }
.sup__grid { grid-template-columns: repeat(8, 1fr); }
.sup--aistudio-wm > img { max-height: 26px; } .sup--rtug > img { max-height: 48px; } .sup--rtui > img { max-height: 70px; }
@media (max-width: 1300px) { .sup__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .sup__grid { grid-template-columns: 1fr 1fr; } }
.sup--aistudio-wm > img { max-height: 34px; }
