/* ==========================================================================
   roLERbot — modern design system
   One stylesheet for index + blog. Tokens → base → components → sections.
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  --bg: #09090b;
  --bg-2: #101014;
  --bg-3: #17171c;
  --ink: #f4f1ec;
  --ink-dim: #b9b5bd;
  --mute: #7d7a85;
  --line: rgba(244, 241, 236, .12);
  --line-strong: rgba(244, 241, 236, .28);
  --pink: #f9056c;
  --pink-hi: #ff3d8f;
  --pink-lo: #a0033f;
  --bone: #f2eee7;
  --bone-ink: #121014;

  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --nav-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--pink-hi); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 999;
  background: var(--pink); color: #fff; padding: 10px 16px; border-radius: 999px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* film grain — static, extremely light */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(90px, 14vw, 190px); }
.section--bone { background: var(--bone); color: var(--bone-ink); }
.section--bone .mono-label { color: var(--pink-lo); }

.mono-label {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink-hi); display: inline-flex; align-items: center; gap: 12px;
}
.mono-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.h-xl {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; line-height: .92;
  font-size: clamp(56px, 11vw, 168px); text-transform: uppercase;
}
.h-lg {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.03em; line-height: .98;
  font-size: clamp(38px, 6vw, 88px);
}
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head .sub { color: var(--ink-dim); font-size: clamp(17px, 1.6vw, 22px); max-width: 52ch; }
.section--bone .sec-head .sub { color: #4a4650; }
.sec-index { font-family: var(--f-mono); font-size: 12px; color: var(--mute); letter-spacing: .12em; }

/* ---------- buttons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: var(--h);
  padding: 0 14px 0 28px; border-radius: 999px; background: var(--pink); color: #fff;
  font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em;
  overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s;
  box-shadow: 0 10px 40px -10px rgba(249, 5, 108, .7);
}
.btn .btn-dot {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--pink);
  display: grid; place-items: center; transition: transform .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn:hover .btn-dot { transform: rotate(-45deg); background: var(--pink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost .btn-dot { background: var(--pink); color: #fff; }
.btn--ghost:hover .btn-dot { background: var(--bg); color: #fff; }
.section--bone .btn--ghost { color: var(--bone-ink); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.section--bone .btn--ghost::before { background: var(--bone-ink); }
.section--bone .btn--ghost:hover { color: var(--bone); }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal="clip"].in { clip-path: inset(0 0 0 0); }
[data-reveal="left"] { transform: translateX(-48px); }
[data-reveal="right"] { transform: translateX(48px); }
[data-reveal="left"].in, [data-reveal="right"].in { transform: none; }

.js-split .ch { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js-split .ch > i {
  display: inline-block; font-style: normal; transform: translateY(110%) rotate(6deg);
  transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + 150ms);
}
.js-split.in .ch > i { transform: none; }

/* ---------- progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; background: var(--pink); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; pointer-events: none;
  padding-inline: 16px; transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(-120%); }
.nav-bar {
  pointer-events: auto; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px;
  border-radius: 999px; background: rgba(14, 14, 18, .62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -20px rgba(0,0,0,.8);
  max-width: 100%;
}
.nav-logo { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; transition: transform .6s var(--ease); }
.nav-logo:hover { transform: rotate(-12deg) scale(1.08); }
.nav-logo img { width: 100%; height: 100%; object-fit: cover; }
.nav-links { display: flex; align-items: center; position: relative; margin-inline: 8px; }
.nav-links a {
  position: relative; z-index: 1; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-dim);
  transition: color .3s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-pill { position: absolute; z-index: 0; top: 0; left: 0; height: 100%; border-radius: 999px; background: rgba(249,5,108,.22); box-shadow: inset 0 0 0 1px rgba(249,5,108,.55); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; opacity: 0; }

.lang { display: flex; align-items: center; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); position: relative; }
.lang button { position: relative; z-index: 1; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; padding: 8px 11px; border-radius: 999px; color: var(--ink-dim); transition: color .3s; }
.lang::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--pink); transition: transform .5s var(--ease); }
html[lang="en"] .lang::before { transform: translateX(100%); }
html:not([lang="en"]) .lang [data-set-lang="ro"], html[lang="en"] .lang [data-set-lang="en"] { color: #fff; }

.nav-duck { font-size: 18px; width: 40px; height: 40px; border-radius: 50%; transition: transform .4s var(--ease); }
.nav-duck:hover { transform: scale(1.25) rotate(-14deg); }
.nav-back { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pink); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu-sheet {
  position: fixed; inset: 0; z-index: 99; background: var(--bg); display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 100px var(--gutter) 40px; clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.menu-open .menu-sheet { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
.menu-sheet a { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 11vw, 72px); letter-spacing: -.03em; line-height: 1.1; text-transform: uppercase; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.menu-sheet a:hover { color: var(--pink-hi); }
.menu-open .menu-sheet a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 70ms + 350ms); }
.menu-sheet .menu-foot { margin-top: 28px; font-family: var(--f-mono); font-size: 12px; color: var(--mute); letter-spacing: .1em; }
.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-links, .nav-duck { display: none; }
  .nav-toggle { display: block; }
  .nav { justify-content: space-between; align-items: center; padding-inline: 16px; }
  .nav-bar { width: 100%; justify-content: space-between; }
  .nav-bar .lang { margin-left: auto; margin-right: 6px; }
}

/* ==========================================================================
   HERO (index)
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-bottom: clamp(32px, 5vw, 64px); isolation: isolate; }
.hero-media { position: absolute; inset: -6% 0 -6% 0; z-index: -3; will-change: transform; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(120% 80% at 50% 110%, rgba(9,9,11,.95) 10%, transparent 60%),
  linear-gradient(180deg, rgba(9,9,11,.65) 0%, rgba(9,9,11,.15) 40%, rgba(9,9,11,.85) 100%); }
.hero-tint { position: absolute; inset: 0; z-index: -2; background: var(--pink); mix-blend-mode: soft-light; opacity: .18; }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px; mask-image: radial-gradient(70% 60% at 50% 55%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(70% 60% at 50% 55%, #000 20%, transparent 80%); }
.hero-top { position: absolute; top: calc(var(--nav-h) + 40px); left: 0; right: 0; }
.hero-top .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }

.hero-title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.05em; line-height: .82; font-size: clamp(60px, 17.4vw, 330px); margin-left: -.04em; white-space: nowrap; color: var(--ink); }
.hero-title .ch > i { background: linear-gradient(180deg, #fff 30%, #c9c5cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .ch.is-pink > i { background: none; color: var(--pink); -webkit-text-fill-color: var(--pink); }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: clamp(22px, 3vw, 44px); flex-wrap: wrap; }
.hero-lead { max-width: 30ch; font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -.025em; font-weight: 600; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.sound-toggle { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); backdrop-filter: blur(8px); transition: background .3s, transform .4s var(--ease); }
.sound-toggle:hover { background: rgba(255,255,255,.1); transform: scale(1.08); }
.sound-toggle svg { width: 22px; height: 22px; }
.sound-toggle .on { display: none; }
.sound-toggle[aria-pressed="true"] .on { display: block; }
.sound-toggle[aria-pressed="true"] .off { display: none; }

.hud { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); line-height: 1.9; }
.hud b { color: var(--ink); font-weight: 500; }
.hud .clock { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.02em; color: var(--ink); line-height: 1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.hud .phase { display: inline-flex; align-items: center; gap: 8px; }
.hud .phase::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hud-bars { display: flex; gap: 3px; margin-top: 10px; }
.hud-bars i { flex: 1; height: 4px; background: var(--line-strong); border-radius: 1px; }
.hud-bars i.f { background: var(--pink); }
.hud-r { text-align: right; }
.hud-r .hud-bars { flex-direction: row-reverse; }

.tag-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.tag-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(249,5,108,.25); }

.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(32px, 5vw, 64px); display: none; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); position: relative; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 40px; padding: 22px 20px 22px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 4vw, 54px); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.marquee-item .star { color: var(--pink); font-size: .7em; }
.marquee-item .o { color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.team-copy { display: grid; gap: 22px; color: var(--ink-dim); font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; }
.team-copy strong, .team-copy .highlight { color: var(--ink); font-weight: 600; }
.team-copy .highlight { color: var(--pink-hi); }
.team-copy p:first-child { color: var(--ink); font-size: clamp(20px, 2vw, 27px); line-height: 1.35; font-family: var(--f-display); font-weight: 500; letter-spacing: -.015em; }

.team-visual { position: relative; }
.team-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 8/5; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.team-photo.in img { transform: scale(1); }
.team-visual::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--pink); border-radius: 28px; z-index: -1; opacity: .8; }
.team-badge { position: absolute; right: -34px; bottom: -34px; width: 132px; height: 132px; animation: spin 18s linear infinite; }
.team-badge text { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .22em; fill: var(--ink); text-transform: uppercase; }
.team-badge-wrap { position: absolute; right: -28px; bottom: -28px; width: 132px; height: 132px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; box-shadow: 0 20px 50px -10px rgba(249,5,108,.6); }
.team-badge-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.team-badge-wrap svg text { fill: #fff; }
.team-badge-wrap .core { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; }
.team-badge-wrap .core img { width: 100%; height: 100%; object-fit: cover; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.stat { padding: 34px 24px 6px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat-n { font-family: var(--f-display); font-weight: 800; font-size: clamp(54px, 8vw, 124px); line-height: .9; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat-n sup { font-size: .38em; color: var(--pink); vertical-align: top; margin-left: 4px; letter-spacing: 0; }
.stat-l { margin-top: 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }

/* ==========================================================================
   SPONSORS
   ========================================================================== */
.sponsors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; perspective: 1200px; }
.sponsor {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4/3.2; padding: 22px; border-radius: 22px;
  background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 40px -28px rgba(30,10,30,.45); overflow: hidden; transform-style: preserve-3d; will-change: transform;
  transition: transform .5s var(--ease), box-shadow .4s;
}
.sponsor::after { content: ""; position: absolute; inset: 0; background: var(--pink); transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; border-radius: inherit; }
.sponsor:hover::after { transform: none; }
.sponsor > * { position: relative; z-index: 1; }
.sponsor img { width: 100%; height: 100%; object-fit: contain; max-height: 150px; margin: auto; transition: transform .6s var(--ease), filter .5s; filter: grayscale(1) contrast(1.05); opacity: .85; }
.sponsor:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.sponsor-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6b6773; transition: color .3s; }
.sponsor:hover .sponsor-meta { color: #fff; }
.sponsor-meta .arr { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px currentColor; transition: transform .5s var(--ease), background .3s; }
.sponsor:hover .arr { transform: rotate(45deg); background: #fff; color: var(--pink); }
.sponsor-num { position: absolute; top: 20px; left: 22px; z-index: 1; font-family: var(--f-mono); font-size: 11px; color: #9b97a3; transition: color .3s; }
.sponsor:hover .sponsor-num { color: rgba(255,255,255,.8); }
.sponsor-cta { grid-column: span 2; aspect-ratio: auto; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.2); align-items: flex-start; justify-content: flex-end; }
.sponsor-cta .t { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); line-height: 1; letter-spacing: -.03em; }
.sponsor-cta::after { background: var(--bone-ink); }
.sponsor-cta:hover .t { color: #fff; }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.tl { position: relative; max-width: 1100px; margin-inline: auto; }
.tl-rail { position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-rail i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(180deg, var(--pink), var(--pink-hi)); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); box-shadow: 0 0 20px var(--pink); }
.tl-item { position: relative; display: grid; grid-template-columns: minmax(120px, 280px) 1fr; gap: clamp(20px, 5vw, 80px); padding: 0 0 clamp(60px, 9vw, 120px) 70px; }
.tl-item::before { content: ""; position: absolute; left: 10px; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px var(--line-strong); transition: box-shadow .5s, background .5s; z-index: 2; }
.tl-item.in::before { background: var(--pink); box-shadow: 0 0 0 6px rgba(249,5,108,.25); }
.tl-year { font-family: var(--f-display); font-weight: 800; letter-spacing: -.05em; line-height: .85; font-size: clamp(64px, 11vw, 170px); color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); position: sticky; top: 110px; align-self: start; transition: color .8s, -webkit-text-stroke-color .8s; }
.tl-item.in .tl-year { color: var(--ink); -webkit-text-stroke-color: transparent; }
.tl-body { display: grid; gap: 18px; align-content: start; padding-top: 6px; }
.tl-date { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-hi); }
.tl-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.03em; line-height: 1; }
.tl-desc { color: var(--ink-dim); max-width: 62ch; }
.tl-img { width: min(100%, 460px); aspect-ratio: 16/10; border-radius: 20px; overflow: hidden; background: var(--bg-3); margin-top: 8px; }
.tl-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.tl-item.in .tl-img img { transform: scale(1); }
.tl-end { padding: 10px 0 0 70px; }
.tl-end a { display: inline-block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.04em; line-height: .9; font-size: clamp(48px, 9vw, 130px); transition: color .4s; }
.tl-end a:hover { color: var(--pink-hi); }
.tl-end a em { font-style: normal; color: var(--pink); display: inline-block; transition: transform .6s var(--ease); }
.tl-end a:hover em { transform: translateX(14px) rotate(-12deg); }

/* ==========================================================================
   BLOG RAIL (index) + MEMBER RAIL (blog)
   ========================================================================== */
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.rail-ctrl { display: flex; gap: 10px; align-items: center; }
.rail-btn { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s, color .3s, transform .4s var(--ease), box-shadow .3s; }
.rail-btn:hover { background: var(--pink); box-shadow: none; transform: scale(1.08); }
.rail-btn svg { width: 22px; height: 22px; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag a { pointer-events: none; }
.rail > * { flex: none; scroll-snap-align: start; }
.rail::before, .rail::after { content: ""; flex: none; width: max(0px, calc((100vw - var(--maxw)) / 2 - var(--gutter))); }
.rail-bar { height: 2px; background: var(--line); margin: 10px var(--gutter) 0; position: relative; max-width: var(--maxw); margin-inline: auto; width: calc(100% - var(--gutter) * 2); }
.rail-bar i { position: absolute; left: 0; top: -1px; height: 4px; background: var(--pink); width: 20%; border-radius: 2px; transition: transform .2s linear; }

.post { width: min(420px, 82vw); display: flex; flex-direction: column; border-radius: 26px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .4s; user-select: none; }
.post:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(249,5,108,.6), 0 30px 60px -30px rgba(249,5,108,.5); }
.post-img { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); -webkit-user-drag: none; }
.post:hover .post-img img { transform: scale(1.08); }
.post-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(16,16,20,.9)); }
.post-tag { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--pink); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.post-n { position: absolute; z-index: 1; right: 18px; bottom: 6px; font-family: var(--f-display); font-weight: 800; font-size: 76px; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.post-body { padding: 24px 26px 28px; display: grid; gap: 12px; }
.post-date { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.post-title { font-family: var(--f-display); font-weight: 700; font-size: 26px; line-height: 1.05; letter-spacing: -.025em; }
.post-desc { color: var(--ink-dim); font-size: 15.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

.blog-cta { display: flex; justify-content: center; margin-top: clamp(40px, 6vw, 80px); }

/* member cards */
.member { width: min(300px, 70vw); border-radius: 26px; overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease); user-select: none; }
.member:hover { transform: translateY(-10px) rotate(-1.2deg); }
.member-pic { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 110%, #ff8fbd, #ffc2da 55%, #ffe6ef); overflow: hidden; }
.member-pic::before { content: attr(data-n); position: absolute; z-index: 2; left: 14px; top: 6px; font-family: var(--f-display); font-weight: 800; font-size: 60px; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px #f9056c; pointer-events: none; }
.member-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; mix-blend-mode: multiply; transform: translateY(6%) scale(1.04); transition: transform .8s var(--ease); -webkit-user-drag: none; }
.member:hover .member-pic img { transform: translateY(0) scale(1.1); }
.member-info { padding: 20px 22px 24px; display: grid; gap: 6px; }
.member-name { font-family: var(--f-display); font-weight: 700; font-size: 23px; letter-spacing: -.025em; line-height: 1.05; }
.member-dept { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-hi); line-height: 1.5; }

/* ==========================================================================
   BLOG HERO + SEASONS
   ========================================================================== */
.hero--blog { min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 60px; background: radial-gradient(55% 60% at 75% 50%, rgba(249,5,108,.28), transparent 70%), var(--bg); }
.hero--blog .hero-title { font-size: clamp(110px, 28vw, 480px); line-height: .78; position: relative; z-index: 2; }
.blog-hero-grid { position: relative; width: 100%; display: grid; grid-template-columns: 1fr; align-items: center; }
.blog-hero-copy { position: relative; z-index: 2; }
.paper { position: absolute; z-index: 1; right: -2vw; top: 50%; width: clamp(340px, 52vw, 860px); transform: translateY(-50%) rotate(6deg); filter: drop-shadow(0 50px 60px rgba(0,0,0,.7)); transition: transform .9s var(--ease); }
.paper:hover { transform: translateY(-52%) rotate(2deg) scale(1.03); }

.seasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.season {
  position: relative; display: flex; flex-direction: column; text-align: left; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .4s, opacity .9s var(--ease);
}
.season:hover, .season:focus-visible { transform: translateY(-10px); box-shadow: inset 0 0 0 1px var(--pink), 0 40px 70px -35px rgba(249,5,108,.6); }
.season-pic { position: relative; aspect-ratio: 5/4; background: radial-gradient(circle at 50% 100%, #ffc2da, var(--bone) 70%); display: grid; place-items: center; overflow: hidden; }
.season-pic img { width: 82%; height: 82%; object-fit: contain; transition: transform .9s var(--ease); filter: drop-shadow(0 20px 20px rgba(0,0,0,.25)); }
.season:hover .season-pic img { transform: scale(1.08) rotate(-2deg); }
.season-n { position: absolute; left: 20px; top: 14px; font-family: var(--f-display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.05em; color: rgba(249,5,108,.35); }
.season-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 24px 26px 28px; }
.season-y { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .95; font-size: clamp(34px, 3.6vw, 56px); white-space: nowrap; }
.season-y small { font-size: 12px; font-family: var(--f-mono); letter-spacing: .12em; font-weight: 400; display: block; margin-top: 10px; color: var(--pink-hi); }
.season-go { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: transform .6s var(--ease), background .3s, box-shadow .3s; }
.season:hover .season-go { background: var(--pink); box-shadow: none; transform: rotate(-45deg); }
.season-go svg { width: 40%; height: 40%; }

/* ---------- modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(5,5,7,.78); backdrop-filter: blur(10px); display: flex; justify-content: flex-end; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.modal-overlay.active { opacity: 1; visibility: visible; transition: opacity .5s; }
.modal-window { width: min(1080px, 100%); height: 100%; background: var(--bg); box-shadow: -1px 0 0 var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .8s var(--ease-io); }
.modal-overlay.active .modal-window { transform: none; }
.modal-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px clamp(20px, 4vw, 56px) 18px; }
.modal-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 5vw, 64px); letter-spacing: -.04em; line-height: 1; text-transform: uppercase; }
.modal-close { width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 20px; transition: background .3s, transform .5s var(--ease); flex: none; }
.modal-close:hover { background: var(--pink); transform: rotate(90deg); box-shadow: none; }
.modal-tabs { display: flex; gap: 6px; padding: 0 clamp(20px, 4vw, 56px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-btn { position: relative; padding: 16px 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); white-space: nowrap; transition: color .3s; }
.tab-btn::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--pink); transform: scaleX(0); transition: transform .5s var(--ease); }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); }
.tab-btn.active::after { transform: scaleX(1); }
.modal-body { flex: 1; overflow-y: auto; padding: clamp(24px, 4vw, 56px); overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: tabin .7s var(--ease); }
@keyframes tabin { from { opacity: 0; transform: translateY(24px); } }

/* styles for the HTML injected from i18n dictionaries */
.modal-body h4 { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 18px; }
.modal-body h5 { font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; margin: 24px 0 10px; color: var(--pink-hi); }
.modal-body p { color: var(--ink-dim); margin-bottom: 14px; }
.modal-body strong { color: var(--ink); }
.modal-body ul { list-style: none; display: grid; gap: 8px; margin-bottom: 12px; }
.modal-body ul li { position: relative; padding-left: 22px; color: var(--ink-dim); }
.modal-body ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--pink); }
.modal-body img { border-radius: 16px; max-width: 100%; height: auto; }
.modal-body .row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.modal-body .col-md-6.text-center { display: grid; gap: 14px; }
.modal-body .mb-3, .modal-body .mb-2 { margin-bottom: 0; }
.modal-body .robot-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.modal-body .robot-media { position: sticky; top: 0; border-radius: 20px; background: var(--bone); padding: 18px; }
.modal-body .robot-image { width: 100%; border-radius: 12px; }
.modal-body .activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.modal-body .activity-card { background: var(--bg-2); border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .3s; }
.modal-body .activity-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(249,5,108,.6); }
.modal-body .activity-media { aspect-ratio: 16/10; overflow: hidden; }
.modal-body .activity-img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 1s var(--ease); }
.modal-body .activity-card:hover .activity-img { transform: scale(1.06); }
.modal-body .activity-body { padding: 20px 22px 24px; }
.modal-body .activity-title { margin: 0 0 6px; color: var(--ink); font-size: 21px; }
.modal-body .activity-meta { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-hi); margin-bottom: 12px; }
.modal-body .activity-text { font-size: 15px; line-height: 1.55; }
.modal-body .card { background: var(--bg-2); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 18px !important; overflow: hidden; }
.modal-body .card-header { padding: 20px 24px !important; background: transparent !important; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.modal-body .card-header .d-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 12px; flex-wrap: wrap; }
.modal-body .card-header h5 { margin: 0; color: var(--ink); font-size: 21px; }
.modal-body .card-body { padding: 20px 24px !important; }
.modal-body .badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--pink); color: #fff; }
.modal-body .badge.bg-success { background: #1fa971; }
.modal-body .badge.bg-warning { background: #e9b23a; color: #1a1300; }
.modal-body .badge.bg-info { background: #3aa7e9; color: #00131f; }
.modal-body .text-primary { color: var(--pink-hi); }
.modal-body .accordion { display: grid; gap: 10px; }
.modal-body .d-flex { display: flex; }
.modal-body .justify-content-between { justify-content: space-between; }
.modal-body .align-items-center { align-items: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: var(--bg); border-top: 1px solid var(--line); overflow: hidden; padding-top: clamp(80px, 11vw, 150px); }
.footer-talk { font-family: var(--f-display); font-weight: 700; letter-spacing: -.04em; line-height: .95; font-size: clamp(38px, 7.4vw, 118px); max-width: 15ch; }
.footer-talk a { color: var(--pink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat; transition: background-size .6s var(--ease); }
.footer-talk a:hover { background-size: 100% 3px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-top: clamp(64px, 8vw, 110px); padding-bottom: 60px; }
.footer h4 { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 20px; }
.footer-desc { color: var(--ink-dim); max-width: 38ch; font-size: 15.5px; }
.footer-list { display: grid; gap: 10px; }
.footer-list a, .footer-list span { position: relative; display: inline-block; font-size: 16px; color: var(--ink); transition: color .3s, transform .4s var(--ease); }
.footer-list a:hover { color: var(--pink-hi); transform: translateX(6px); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.socials a { padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 13.5px; transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--pink); box-shadow: none; transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--mute); text-transform: uppercase; }
.footer-bottom .text-primary { color: var(--pink-hi); }
.footer-bottom .to-top { color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.footer-mark { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.06em; line-height: .76; text-align: center; white-space: nowrap; font-size: clamp(60px, 19.4vw, 380px); color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); margin: 10px 0 -.14em; user-select: none; background: linear-gradient(180deg, var(--pink) 0%, transparent 70%) no-repeat; background-size: 100% 0; -webkit-background-clip: text; background-clip: text; transition: background-size 1.4s var(--ease); }
.footer-mark.in { background-size: 100% 100%; }

/* chicken rain easter egg */
.chicken-rain { position: fixed; inset: 0; z-index: 200; pointer-events: none; overflow: hidden; }
.chicken { position: absolute; top: -60px; font-size: 34px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(115vh) rotate(540deg); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .seasons { grid-template-columns: 1fr; max-width: 520px; }
  .team-grid { grid-template-columns: 1fr; }
  .sponsors { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; margin-right: 0; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .modal-body .row, .modal-body .robot-section, .modal-body .activity-grid { grid-template-columns: 1fr; }
  .modal-body .robot-media { position: static; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .sponsors { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sponsor { padding: 14px; aspect-ratio: 1; border-radius: 18px; }
  .sponsor-num { top: 14px; left: 14px; }
  .hero-top { display: none; }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .tl-item { grid-template-columns: 1fr; padding-left: 52px; gap: 10px; }
  .tl-year { position: static; font-size: 76px; }
  .tl-rail { left: 12px; }
  .tl-item::before { left: 4px; }
  .tl-end { padding-left: 52px; }
  .paper { width: 86vw; right: -14vw; top: 62%; opacity: .9; }
  .footer-cols { grid-template-columns: 1fr; }
  .team-badge-wrap { right: -8px; bottom: -40px; width: 104px; height: 104px; }
  .modal-header { padding-top: 20px; }
  .modal-close { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal], .js-split .ch > i { opacity: 1; transform: none; clip-path: none; }
  .marquee-track { animation: none; }
}
