/* ═══════════════════════════════════════
   TEAM PLUSH — styles.css
   ═══════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --p-blue: #a8bede;
  --p-green: #a4c9b0;
  --p-purple: #bfa8d8;
  --p-navy: #1f2342;
  --p-deep: #2c3a58;
  --p-bg: #eef3ee;
  --p-white: #fff;
  --p-blue-tint: #d4e3f5;
  --p-green-tint: #c8e6d4;
  --p-purple-tint: #e2d4f0;
  /* theme tokens */
  --t-body-bg: #eef3ee;
  --t-nav-bg: #fff;
  --t-nav-border: var(--p-green);
  --t-nav-shadow: rgba(164,201,176,.2);
  --t-nav-text: #2c3a58;
  --t-nav-hover-bg: var(--p-blue-tint);
  --t-nav-hover-border: var(--p-blue);
  --t-card-bg: #fff;
  --t-card-border: rgba(44,58,88,.1);
  --t-text: #1f2342;
  --t-section-about: var(--p-blue-tint);
  --t-section-team: var(--p-green-tint);
  --t-section-robots: var(--p-purple-tint);
  --t-section-values: var(--p-blue-tint);
  --t-fact-bg: #fff;
  --t-notebook-bg: #fff;
  --t-footer-bg: #fff;
  --t-footer-text: #1f2342;
  --t-hero-bg: #0d1120;
  --t-hero-text: #e8edf8;
}

html.dark {
  --t-body-bg: #0d1120;
  --t-nav-bg: #111827;
  --t-nav-border: rgba(164,201,176,.25);
  --t-nav-shadow: rgba(0,0,0,.4);
  --t-nav-text: #c8daf0;
  --t-nav-hover-bg: rgba(168,190,222,.12);
  --t-nav-hover-border: var(--p-blue);
  --t-card-bg: #1a2235;
  --t-card-border: rgba(168,190,222,.15);
  --t-text: #dce6f5;
  --t-section-about: #131e30;
  --t-section-team: #0f1e18;
  --t-section-robots: #1a1228;
  --t-section-values: #131e30;
  --t-fact-bg: #1a2235;
  --t-notebook-bg: #1a2235;
  --t-footer-bg: #111827;
  --t-footer-text: #c8daf0;
  --t-hero-bg: #070c18;
  --t-hero-text: #e8edf8;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--t-body-bg);
  font-family: 'Nunito', sans-serif;
  color: var(--t-text);
  overflow-x: hidden;
  transition: background .35s, color .35s;
}

/* ── CUSTOM CURSOR ── */
body.cursor-cat *, body.cursor-bunny *, body.cursor-bear * { cursor: none !important; }
#custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 1.6rem;
  line-height: 1;
  transform: translate(-50%, -50%);
  display: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
body.cursor-cat #custom-cursor,
body.cursor-bunny #custom-cursor,
body.cursor-bear #custom-cursor { display: block; }

/* ── THEME TOGGLE ── */
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-actions .theme-toggle {
  position: static; bottom: auto; right: auto;
  width: 38px; height: 38px; font-size: 1.05rem;
  box-shadow: none;
}
.theme-toggle {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--p-blue);
  background: var(--t-card-bg);
  cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: background .3s, transform .2s;
  font-size: 1.3rem;
}
.theme-toggle:hover { transform: scale(1.12) rotate(15deg); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html.dark .theme-toggle .icon-sun { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }

/* ── NAVIGATION ── */
nav {
  padding: .8rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--t-nav-bg);
  border-bottom: 2px solid var(--t-nav-border);
  box-shadow: 0 2px 16px var(--t-nav-shadow);
  position: sticky; top: 0; z-index: 99;
  transition: background .35s, border-color .35s;
  gap: 1rem; flex-wrap: wrap;
}
.nav-mark {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 900; font-size: 1.1rem;
  color: var(--t-nav-text); cursor: pointer; white-space: nowrap;
}
.nav-links { display: flex; gap: .15rem; list-style: none; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: .82rem;
  color: var(--t-nav-text); padding: .35rem .75rem;
  border-radius: 50px; border: 2px solid transparent;
  transition: border-color .18s, background .18s, color .35s;
  cursor: pointer; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  border-color: var(--t-nav-hover-border);
  background: var(--t-nav-hover-bg);
}
.nav-pill {
  background: var(--p-purple); color: var(--p-deep);
  font-family: 'Nunito'; font-weight: 900; font-size: .82rem;
  border: 2px solid rgba(44,58,88,.25); cursor: pointer;
  padding: .45rem 1.1rem; border-radius: 50px;
  transition: opacity .18s, transform .15s; white-space: nowrap;
}
.nav-pill:hover { opacity: .8; transform: scale(1.04); }
a.nav-pill, a.btn-inv { display: inline-block; text-decoration: none; text-align: center; }

/* ── PAGE SYSTEM ── */
.page { display: none; animation: pageFadeIn .4s ease both; }
.page.active { display: block; }
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ── SHARED UTILITIES ── */
.wrap { max-width: 1060px; margin: 0 auto; position: relative; z-index: 2; }
.inner-page {
  padding: 3.5rem 2rem 4rem;
  min-height: calc(100vh - 60px);
  transition: background .35s;
  position: relative; overflow: hidden;
}
.section-bg-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.ruled-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.ruled-title h2 {
  font-family: 'Caveat', cursive; font-size: 2.2rem; font-weight: 700;
  color: var(--t-text); white-space: nowrap;
}
.ruled-title .rule { flex: 1; height: 2px; background: var(--p-blue); border-radius: 2px; opacity: .4; }
.ruled-title.center { justify-content: center; }

.page-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem 2rem; background: var(--t-nav-bg);
  border-bottom: 1px solid var(--t-card-border);
  font-size: .8rem; font-weight: 700;
  color: var(--t-text); opacity: .6; transition: background .35s;
}
.page-bar a { cursor: pointer; color: var(--p-blue); opacity: 1; text-decoration: none; }
.page-bar a:hover { text-decoration: underline; }
.page-bar span { opacity: .4; }

.fade { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade.in { opacity: 1; transform: none; }

.tag {
  display: inline-block; padding: .2rem .7rem; border-radius: 50px;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.tag-blue { background: var(--p-blue-tint); color: var(--p-deep); border: 1.5px solid var(--p-blue); }
.tag-green { background: var(--p-green-tint); color: var(--p-deep); border: 1.5px solid var(--p-green); }
.tag-purple { background: var(--p-purple-tint); color: var(--p-deep); border: 1.5px solid var(--p-purple); }

/* ── FOOTER ── */
footer {
  background: var(--t-footer-bg); border-top: 2px solid var(--p-purple);
  padding: 1.4rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; transition: background .35s;
}
.footer-logo { font-family: 'Caveat', cursive; font-size: 1.4rem; font-weight: 700; color: var(--t-footer-text); cursor: pointer; }
.footer-slogan { font-family: 'Caveat', cursive; font-size: .95rem; color: var(--t-footer-text); opacity: .5; letter-spacing: .04em; }
.footer-links { display: flex; gap: 1rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  text-decoration: none; font-weight: 700; font-size: .78rem;
  color: var(--t-footer-text); opacity: .55; transition: opacity .18s;
  letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.footer-links a:hover { opacity: 1; }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 60px);
  background: var(--t-hero-bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 5rem 2rem 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.hero-bg-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-eyebrow {
  font-family: 'Caveat', cursive; font-size: 1.35rem; font-weight: 600;
  color: var(--t-hero-text); opacity: .55; margin-bottom: .4rem;
  letter-spacing: .05em; position: relative; z-index: 2;
}
.hero-wordmark { position: relative; display: inline-block; margin: .2rem 0 .6rem; z-index: 2; }
.hero-wordmark .word {
  font-family: 'Nunito'; font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 900; line-height: .95; color: var(--t-hero-text);
  letter-spacing: -.04em; display: block; position: relative; z-index: 2;
}
.smear { position: absolute; border-radius: 50%; z-index: 1; opacity: .55; }
.smear-1 { background: var(--p-blue); width: 260px; height: 70px; top: 10px; left: -20px; transform: rotate(-2deg); filter: blur(18px); }
.smear-2 { background: var(--p-purple); width: 200px; height: 65px; top: 10px; left: 220px; transform: rotate(1.5deg); filter: blur(18px); }
.smear-3 { background: var(--p-green); width: 180px; height: 65px; top: 10px; left: 440px; transform: rotate(-1deg); filter: blur(18px); }
.hero-tagline {
  font-family: 'Caveat', cursive; font-size: 1.5rem; font-weight: 400;
  color: var(--t-hero-text); opacity: .5; margin-bottom: 2rem;
  letter-spacing: .05em; position: relative; z-index: 2;
}
.hero-tagline .dot { color: var(--p-green); font-size: 1.1rem; opacity: 1; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; position: relative; z-index: 2; }
.cta-dark {
  background: var(--p-blue); color: #0d1120; border: 2px solid var(--p-blue);
  font-family: 'Nunito'; font-weight: 900; font-size: .9rem;
  padding: .7rem 1.6rem; border-radius: 50px; cursor: pointer;
  transition: transform .18s, opacity .18s;
}
.cta-dark:hover { transform: translateY(-2px); opacity: .85; }
.cta-light {
  background: transparent; color: var(--t-hero-text); border: 2px solid rgba(232,237,248,.4);
  font-family: 'Nunito'; font-weight: 900; font-size: .9rem;
  padding: .7rem 1.6rem; border-radius: 50px; cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s;
}
.cta-light:hover { background: rgba(232,237,248,.1); border-color: rgba(232,237,248,.8); transform: translateY(-2px); }
.hero-stats {
  display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 2; margin-bottom: 2.5rem;
}
.hero-stat-num { font-family: 'Caveat', cursive; font-size: 2.4rem; font-weight: 700; line-height: 1; }
.hero-stat-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(232,237,248,.4); }
.sticker-row { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.sticker {
  background: rgba(255,255,255,.06); border: 2px solid rgba(168,190,222,.3);
  border-radius: 18px; padding: 1rem 1.1rem;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  min-width: 95px; box-shadow: 0 4px 20px rgba(0,0,0,.3);
  backdrop-filter: blur(8px); transition: transform .2s; cursor: default;
}
.sticker:hover { transform: translateY(-5px) rotate(-1.5deg); }
.sticker:nth-child(2):hover { transform: translateY(-5px) rotate(0); }
.sticker:nth-child(3):hover { transform: translateY(-5px) rotate(1.5deg); }
.sticker-art { font-size: 2rem; line-height: 1; }
.sticker-label { font-family: 'Caveat', cursive; font-size: 1rem; font-weight: 600; color: var(--t-hero-text); opacity: .8; }

/* ── MASCOT CHOOSER ── */
.mascot-section { background: #0d1120; padding: 3.5rem 2rem 4rem; position: relative; overflow: hidden; }
.mascot-picker { display: flex; align-items: center; justify-content: center; gap: clamp(.5rem,3vw,2.5rem); margin-bottom: 1.5rem; }
.mascot-arrow { background: none; border: none; cursor: pointer; padding: .5rem; flex-shrink: 0; transition: transform .15s; display: flex; }
.mascot-arrow:hover { transform: scale(1.15); }
.mascot-arrow svg path { stroke: #a8bede; transition: stroke .35s; }
.mascot-stage { display: flex; flex-direction: column; align-items: center; width: clamp(240px,45vw,360px); gap: .5rem; position: relative; }
.mascot-glow {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  top: -20px; left: 50%; transform: translateX(-50%);
  pointer-events: none; z-index: 0;
  animation: mgp 3s ease-in-out infinite; transition: background .5s;
}
@keyframes mgp {
  0%,100% { opacity: .45; transform: translateX(-50%) scale(1); }
  50% { opacity: .75; transform: translateX(-50%) scale(1.1); }
}
.mascot-figure {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  position: relative; z-index: 1;
  transition: opacity .22s, transform .3s cubic-bezier(.34,1.3,.64,1);
}
.mascot-figure.slide-out-left { opacity: 0; transform: translateX(-50px) scale(.85); }
.mascot-figure.slide-out-right { opacity: 0; transform: translateX(50px) scale(.85); }
.mascot-svg-wrap { animation: mfloat 2.8s ease-in-out infinite; display: flex; }
@keyframes mfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mascot-ground { width: 80px; height: 12px; border-radius: 50%; margin-top: -4px; transition: background .4s; animation: mshadow 2.8s ease-in-out infinite; }
@keyframes mshadow { 0%,100% { transform: scaleX(1); opacity: .5; } 50% { transform: scaleX(.75); opacity: .25; } }
.mascot-name { font-family: 'Caveat', cursive; font-size: 2.2rem; font-weight: 700; line-height: 1; margin-top: .4rem; transition: color .4s; }
.mascot-role { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(232,237,248,.4); }
.mascot-fact {
  background: rgba(255,255,255,.05); border: 1.5px solid rgba(168,190,222,.2);
  border-radius: 14px; padding: .85rem 1.1rem; backdrop-filter: blur(8px);
  max-width: 300px; text-align: center;
  font-family: 'Caveat', cursive; font-size: 1rem; font-weight: 600;
  color: rgba(232,237,248,.6); line-height: 1.55;
  transition: border-color .4s, opacity .22s; position: relative; z-index: 1;
}
.mascot-dots { display: flex; justify-content: center; gap: .6rem; margin-top: .5rem; }
.mascot-dot {
  width: 10px; height: 10px; border-radius: 50%; cursor: pointer;
  background: rgba(232,237,248,.2); transition: background .3s, transform .2s; border: none;
}
.mascot-dot:hover { transform: scale(1.4); }
.mascot-dot.active { transform: scale(1.2); }
.cursor-chooser { text-align: center; margin-top: 1.5rem; position: relative; z-index: 2; }
.cursor-chooser p { font-family: 'Caveat', cursive; font-size: 1.05rem; color: rgba(232,237,248,.45); margin-bottom: .75rem; letter-spacing: .04em; }
.cursor-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.cursor-btn {
  background: rgba(255,255,255,.06); border: 2px solid rgba(168,190,222,.25);
  border-radius: 50px; padding: .5rem 1.2rem; cursor: pointer;
  font-family: 'Nunito'; font-weight: 800; font-size: .82rem;
  color: rgba(232,237,248,.7); display: flex; align-items: center; gap: .4rem;
  transition: background .2s, border-color .2s, transform .15s;
}
.cursor-btn:hover, .cursor-btn.active { border-color: var(--p-blue); background: rgba(168,190,222,.18); color: #e8edf8; transform: scale(1.05); }
.cursor-btn-off {
  background: rgba(255,255,255,.04); border: 2px solid rgba(168,190,222,.12);
  border-radius: 50px; padding: .5rem 1.2rem; cursor: pointer;
  font-family: 'Nunito'; font-weight: 800; font-size: .82rem;
  color: rgba(232,237,248,.35); transition: background .2s, transform .15s;
}
.cursor-btn-off:hover { background: rgba(255,255,255,.08); transform: scale(1.04); }

.track-journey-section { background: radial-gradient(circle at 18% 18%, rgba(168,190,222,.16) 0, transparent 30%), radial-gradient(circle at 82% 24%, rgba(191,168,216,.14) 0, transparent 25%), #0b1226; padding: 3.5rem 2rem; position: relative; overflow: hidden; }
.track-journey-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 12% 15%, rgba(255,255,255,.08) 0, transparent 28%), radial-gradient(circle at 88% 18%, rgba(232,237,248,.06) 0, transparent 20%); pointer-events: none; }
.track-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.75rem; align-items: center; position: relative; z-index: 1; }
@media(max-width:900px) { .track-grid { grid-template-columns: 1fr; } }
.track-graph { position: relative; min-height: 380px; border: 2px solid rgba(255,255,255,.08); border-radius: 28px; background: rgba(255,255,255,.04); overflow: hidden; box-shadow: 0 20px 48px rgba(0,0,0,.15); }
.track-graph svg { width: 100%; height: 100%; }
.track-path { fill: none; stroke: rgba(232,237,248,.55); stroke-width: 3; stroke-dasharray: 10 10; stroke-linecap: round; }
.track-node { fill: rgba(255,255,255,.12); stroke: rgba(232,237,248,.4); stroke-width: 2; }
.track-node-core { fill: var(--p-purple); stroke: var(--p-white); stroke-width: 3; }
.track-point { fill: var(--p-blue); filter: drop-shadow(0 0 12px rgba(168,190,222,.4)); }
.track-badge { position: absolute; top: 1.2rem; left: 1.4rem; padding: .45rem .95rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #e8edf8; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.track-robot { position: absolute; bottom: 1.5rem; right: 1.5rem; font-size: 3.2rem; line-height: 1; transform: rotate(6deg); }
.track-cards { display: grid; gap: 1rem; }
.track-card { background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.12); border-radius: 24px; padding: 1.5rem 1.5rem 1.8rem; box-shadow: 0 18px 40px rgba(0,0,0,.12); transition: transform .25s, background .35s; position: relative; overflow: hidden; }
.track-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); }
.track-card::after { content: ''; position: absolute; top: -10px; right: -10px; width: 110px; height: 110px; background: radial-gradient(circle, #fff 0%, transparent 52%); opacity: .08; pointer-events: none; }
.track-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .75rem; border-radius: 999px; background: rgba(168,190,222,.12); color: var(--t-text); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; border: 1px solid rgba(168,190,222,.16); }
.track-card-title { font-size: 1.05rem; font-weight: 900; color: var(--t-text); margin-bottom: .65rem; }
.track-card-desc { font-size: .89rem; color: var(--t-text); opacity: .75; line-height: 1.7; }
.track-card:nth-child(2) .track-tag { background: rgba(191,168,216,.14); border-color: rgba(191,168,216,.18); }
.track-card:nth-child(3) .track-tag { background: rgba(164,201,176,.14); border-color: rgba(164,201,176,.18); }
.track-card:nth-child(4) .track-tag { background: rgba(168,190,222,.14); border-color: rgba(168,190,222,.18); }

/* ── ABOUT ── */
.page-about .inner-page { background: var(--t-section-about); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
@media(max-width:700px) { .about-layout { grid-template-columns: 1fr; gap: 2rem; } }
.about-copy p { font-size: 1rem; line-height: 1.85; color: var(--t-text); margin-bottom: 1rem; opacity: .85; }
.about-copy em { font-style: italic; color: var(--p-blue); }
.about-copy h3 { font-family: 'Caveat', cursive; font-size: 1.5rem; font-weight: 700; color: var(--t-text); margin: 1.5rem 0 .5rem; }
.fact-stack { display: flex; flex-direction: column; gap: .85rem; }
.fact-card {
  border: 2px solid var(--p-green); border-radius: 14px; padding: 1.1rem 1.3rem;
  background: var(--t-fact-bg); display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 4px 16px rgba(164,201,176,.15); transition: transform .2s, background .35s;
}
.fact-card:hover { transform: translateY(-2px); }
.fact-num { font-family: 'Caveat', cursive; font-size: 2.2rem; font-weight: 700; color: var(--p-green); line-height: 1; min-width: 52px; }
.fact-label { font-size: .88rem; font-weight: 700; color: var(--t-text); opacity: .7; line-height: 1.4; }
.subteam-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 1rem; margin-top: .5rem; }
.subteam-card { background: var(--t-card-bg); border: 2px solid var(--t-card-border); border-radius: 16px; padding: 1.2rem; transition: transform .2s, background .35s; }
.subteam-card:hover { transform: translateY(-3px); }
.subteam-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.subteam-name { font-weight: 900; font-size: .92rem; color: var(--t-text); }
.subteam-desc { font-size: .8rem; color: var(--t-text); opacity: .65; margin-top: .3rem; line-height: 1.5; }
.timeline { display: flex; flex-direction: column; position: relative; padding-left: 1.8rem; margin-top: .75rem; }
.timeline::before { content: ''; position: absolute; left: .6rem; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--p-blue), var(--p-purple), var(--p-green)); border-radius: 2px; opacity: .4; }
.tl-item { position: relative; padding: .75rem 0 .75rem .8rem; }
.tl-dot { position: absolute; left: -1.2rem; top: 1rem; width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--t-body-bg); }
.tl-year { font-family: 'Caveat', cursive; font-size: 1.05rem; font-weight: 700; color: var(--p-blue); margin-bottom: .1rem; }
.tl-title { font-weight: 900; font-size: .9rem; color: var(--t-text); }
.tl-desc { font-size: .83rem; color: var(--t-text); opacity: .65; margin-top: .15rem; line-height: 1.5; }

/* ── TEAM ── */
.page-team .inner-page { background: var(--t-section-team); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 1.2rem; }
.team-card {
  background: var(--t-card-bg); border: 2px solid var(--t-card-border);
  border-radius: 18px; padding: 1.5rem 1.2rem; text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.08); transition: transform .2s, background .35s; position: relative;
}
.team-card:hover { transform: translateY(-5px); }
.tc-stripe { position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 15px 15px 0 0; }
.tc-blue { background: var(--p-blue); }
.tc-purple { background: var(--p-purple); }
.tc-green { background: var(--p-green); }
.tc-ava { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--t-card-border); display: grid; place-items: center; margin: .5rem auto .9rem; font-size: 1.8rem; }
.tc-name { font-weight: 900; font-size: .95rem; color: var(--t-text); }
.tc-role { font-family: 'Caveat', cursive; font-size: 1rem; color: var(--t-text); opacity: .6; margin-top: .2rem; }
.tc-quote { font-size: .78rem; color: var(--t-text); opacity: .45; margin-top: .5rem; line-height: 1.4; font-style: italic; }
.mentor-row { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: .5rem; }
.mentor-card { background: var(--t-card-bg); border: 2px solid var(--p-blue); border-radius: 14px; padding: 1rem 1.2rem; flex: 1; min-width: 220px; transition: transform .2s, background .35s; }
.mentor-card:hover { transform: translateY(-2px); }
.mentor-name { font-weight: 900; font-size: .95rem; color: var(--t-text); }
.mentor-role { font-family: 'Caveat', cursive; font-size: .95rem; color: var(--p-blue); margin-top: .2rem; }
.mentor-bio { font-size: .82rem; color: var(--t-text); opacity: .65; margin-top: .4rem; line-height: 1.5; }

/* ── ROBOTS ── */
.page-robots .inner-page { background: var(--t-section-robots); }
.robots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; }
.robot-card { border: 2px solid var(--t-card-border); border-radius: 18px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.1); transition: transform .2s, background .35s; background: var(--t-card-bg); }
.robot-card:hover { transform: translateY(-5px); }
.robot-thumb { height: 185px; display: grid; place-items: center; border-bottom: 2px solid var(--t-card-border); }
.rt-blue { background: var(--p-blue-tint); }
.rt-green { background: var(--p-green-tint); }
.rt-purple { background: var(--p-purple-tint); }
html.dark .rt-blue { background: #1a2840; }
html.dark .rt-green { background: #122010; }
html.dark .rt-purple { background: #1e1530; }
.robot-body { padding: 1.2rem 1.4rem; }
.robot-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.robot-year { font-family: 'Caveat', cursive; font-size: .95rem; color: var(--t-text); opacity: .5; }
.robot-name { font-weight: 900; font-size: 1.15rem; color: var(--t-text); }
.robot-desc { font-size: .88rem; color: var(--t-text); opacity: .72; margin-top: .4rem; line-height: 1.65; }
.robot-specs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.robot-spec { font-size: .75rem; font-weight: 800; color: var(--t-text); opacity: .6; }
.awards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; }
.award-card { background: var(--t-card-bg); border: 2px solid var(--p-purple); border-radius: 14px; padding: 1rem 1.2rem; transition: transform .2s, background .35s; }
.award-card:hover { transform: translateY(-2px); }
.award-icon { font-size: 1.6rem; margin-bottom: .4rem; }
.award-name { font-weight: 900; font-size: .9rem; color: var(--t-text); }
.award-event { font-family: 'Caveat', cursive; font-size: .9rem; color: var(--p-purple); }
.award-desc { font-size: .78rem; color: var(--t-text); opacity: .6; margin-top: .3rem; line-height: 1.4; }

/* ── SCHEDULE ── */
.page-schedule .inner-page { background: var(--t-body-bg); }
.countdown-box { background: linear-gradient(135deg,#1a2840,#0d1120); border-radius: 20px; padding: 2rem; text-align: center; margin-bottom: 2.5rem; }
.countdown-label { font-family: 'Caveat', cursive; font-size: 1.1rem; color: rgba(232,237,248,.5); margin-bottom: .5rem; }
.countdown-event { font-family: 'Caveat', cursive; font-size: 1.6rem; font-weight: 700; color: #e8edf8; margin-bottom: 1.2rem; }
.countdown-nums { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.cnum-val { font-family: 'Caveat', cursive; font-size: 3rem; font-weight: 700; color: var(--p-blue); line-height: 1; }
.cnum-label { font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(232,237,248,.4); }
.schedule-grid { display: flex; flex-direction: column; gap: .75rem; }
.sched-card { background: var(--t-card-bg); border: 2px solid var(--t-card-border); border-radius: 14px; padding: 1rem 1.3rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; transition: transform .2s, background .35s; }
.sched-card:hover { transform: translateX(4px); }
.sched-card.upcoming { border-left: 4px solid var(--p-green); }
.sched-card.past { border-left: 4px solid rgba(168,190,222,.3); opacity: .65; }
.sched-card.current { border-left: 4px solid var(--p-purple); background: var(--p-purple-tint); }
html.dark .sched-card.current { background: #1e1530; }
.sched-month { font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-blue); }
.sched-day { font-family: 'Caveat', cursive; font-size: 2rem; font-weight: 700; color: var(--t-text); line-height: 1; text-align: center; }
.sched-name { font-weight: 900; font-size: .95rem; color: var(--t-text); }
.sched-loc { font-size: .8rem; color: var(--t-text); opacity: .6; margin-top: .15rem; }
.sched-badge { font-size: .72rem; font-weight: 800; padding: .2rem .65rem; border-radius: 50px; white-space: nowrap; }
.badge-upcoming { background: var(--p-green-tint); color: #0d1a10; border: 1.5px solid var(--p-green); }
.badge-past { background: rgba(168,190,222,.15); color: var(--t-text); }
.badge-current { background: var(--p-purple); color: #fff; }

/* ── VALUES ── */
.page-values .inner-page { background: var(--t-section-values); }
.notebook { background: var(--t-notebook-bg); border: 2px solid var(--t-card-border); border-radius: 20px; box-shadow: 0 6px 28px rgba(0,0,0,.1); overflow: hidden; transition: background .35s; }
.notebook-tab { background: var(--p-green); color: #0d1a10; font-family: 'Caveat', cursive; font-size: 1.1rem; font-weight: 700; padding: .55rem 1.4rem; letter-spacing: .04em; }
.notebook-body { padding: 1.8rem 2.2rem; }
.value-row { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1.5px dashed rgba(168,190,222,.35); }
.value-row:last-child { border-bottom: none; }
.value-ltr { font-family: 'Caveat', cursive; font-size: 2.6rem; font-weight: 700; line-height: 1; min-width: 40px; text-align: center; }
.value-title { font-weight: 900; font-size: 1rem; color: var(--t-text); }
.value-desc { font-size: .88rem; color: var(--t-text); opacity: .7; margin-top: .2rem; line-height: 1.65; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; margin-top: 2.5rem; }
.pillar-card { background: var(--t-card-bg); border: 2px solid var(--t-card-border); border-radius: 16px; padding: 1.3rem; transition: transform .2s, background .35s; }
.pillar-card:hover { transform: translateY(-3px); }
.pillar-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.pillar-name { font-weight: 900; font-size: .95rem; color: var(--t-text); }
.pillar-desc { font-size: .82rem; color: var(--t-text); opacity: .65; margin-top: .3rem; line-height: 1.55; }
.gp-box { background: var(--t-card-bg); border: 2px solid var(--p-blue); border-radius: 16px; padding: 1.5rem 1.8rem; margin-top: 2.5rem; transition: background .35s; }
.gp-label { font-family: 'Caveat', cursive; font-size: 1rem; font-weight: 700; color: var(--p-blue); margin-bottom: .4rem; letter-spacing: .06em; text-transform: uppercase; }
.gp-quote { font-family: 'Caveat', cursive; font-size: 1.35rem; font-weight: 600; color: var(--t-text); line-height: 1.5; }
.gp-attr { font-size: .8rem; font-weight: 700; color: var(--t-text); opacity: .5; margin-top: .5rem; }
.circuit-bar { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.3rem 2rem; background: var(--t-section-team); border-top: 2px solid var(--p-green); border-bottom: 2px solid var(--p-green); font-family: 'Caveat', cursive; font-size: .9rem; font-weight: 600; color: var(--t-text); letter-spacing: .12em; transition: background .35s; }

/* ── SOCIALS ── */
.page-socials .inner-page { background: var(--t-body-bg); }
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.2rem; }
.social-card { background: var(--t-card-bg); border: 2px solid var(--t-card-border); border-radius: 18px; padding: 1.5rem 1.3rem; text-align: center; transition: transform .2s, background .35s; position: relative; overflow: hidden; }
.social-card:hover { transform: translateY(-5px); }
.social-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 16px 16px 0 0; }
.sc-instagram::before { background: linear-gradient(90deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sc-twitter::before { background: #1da1f2; }
.sc-youtube::before { background: #ff0000; }
.sc-tiktok::before { background: linear-gradient(90deg,#69C9D0,#010101,#EE1D52); }
.sc-discord::before { background: #5865f2; }
.sc-github::before { background: #555; }
.sc-linkedin::before { background: #0a66c2; }
.sc-facebook::before { background: #1877f2; }
.social-icon { font-size: 2.4rem; margin: .5rem 0 .6rem; }
.social-name { font-weight: 900; font-size: 1rem; color: var(--t-text); }
.social-handle { font-family: 'Caveat', cursive; font-size: 1.05rem; color: var(--p-blue); margin-top: .2rem; }
.social-desc { font-size: .8rem; color: var(--t-text); opacity: .6; margin-top: .4rem; line-height: 1.5; }
.social-btn { display: inline-block; margin-top: .9rem; padding: .45rem 1.1rem; border-radius: 50px; font-weight: 800; font-size: .78rem; border: 2px solid var(--p-blue); color: var(--p-blue); text-decoration: none; transition: background .18s, color .18s; }
.social-btn:hover { background: var(--p-blue); color: #0d1120; }
.newsletter-box { background: linear-gradient(135deg, var(--p-purple-tint), var(--p-blue-tint)); border: 2px solid var(--p-purple); border-radius: 20px; padding: 2rem 2.2rem; margin-top: 2.5rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; transition: background .35s; }
html.dark .newsletter-box { background: linear-gradient(135deg,#1a1228,#131e30); }
.newsletter-text h3 { font-family: 'Caveat', cursive; font-size: 1.7rem; font-weight: 700; color: var(--t-text); }
.newsletter-text p { font-size: .88rem; color: var(--t-text); opacity: .7; margin-top: .3rem; line-height: 1.55; max-width: 340px; }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; flex: 1; min-width: 260px; }
.newsletter-input { flex: 1; padding: .65rem 1rem; border-radius: 50px; border: 2px solid var(--p-purple); background: var(--t-card-bg); color: var(--t-text); font-family: 'Nunito'; font-size: .88rem; font-weight: 700; outline: none; transition: border-color .18s, background .35s; min-width: 180px; }
.newsletter-input:focus { border-color: var(--p-blue); }
.newsletter-btn { background: var(--p-purple); color: var(--p-deep); border: none; padding: .65rem 1.3rem; border-radius: 50px; font-family: 'Nunito'; font-weight: 900; font-size: .85rem; cursor: pointer; transition: opacity .18s, transform .15s; }
.newsletter-btn:hover { opacity: .85; transform: scale(1.03); }

/* ── SPONSORS ── */
.page-sponsors .inner-page { background: var(--t-body-bg); }
.sponsor-tier { margin-bottom: 2.5rem; }
.tier-label { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.tier-label h3 { font-family: 'Caveat', cursive; font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.tier-rule { flex: 1; height: 2px; border-radius: 2px; opacity: .3; }
.tier-gold .tier-label h3 { color: #f0b429; } .tier-gold .tier-rule { background: #f0b429; }
.tier-silver .tier-label h3 { color: #a0a8b8; } .tier-silver .tier-rule { background: #a0a8b8; }
.tier-bronze .tier-label h3 { color: #c08040; } .tier-bronze .tier-rule { background: #c08040; }
.tier-community .tier-label h3 { color: var(--p-green); } .tier-community .tier-rule { background: var(--p-green); }
.tier-title .tier-label h3 { color: var(--p-purple); } .tier-title .tier-rule { background: var(--p-purple); }
.tier-diamond .tier-label h3 { color: var(--p-blue); } .tier-diamond .tier-rule { background: var(--p-blue); }
.tier-inkind .tier-label h3 { color: var(--p-green); } .tier-inkind .tier-rule { background: var(--p-green); }
.tier-amount { font-family: 'Caveat', cursive; font-size: 1.15rem; font-weight: 700; opacity: .7; white-space: nowrap; }
.tier-perks { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: .5rem .5rem; margin: 0; padding: 0; }
.tier-perks li { position: relative; padding-left: 1.3rem; font-size: .84rem; color: var(--t-text); opacity: .75; line-height: 1.5; }
.tier-perks li::before { content: "✦"; position: absolute; left: 0; opacity: .5; }
.tier-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: .85rem; margin-top: 1rem; }
.sponsor-card.open { border-style: dashed; opacity: .6; }
.sponsor-card.open .sponsor-logo-placeholder { border-style: dashed; opacity: .5; }
.slot-label { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .45; color: var(--t-text); margin-top: .35rem; }
.sponsor-grid-gold { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.2rem; }
.sponsor-grid-silver { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; }
.sponsor-grid-small { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: .85rem; }
.sponsor-card { background: var(--t-card-bg); border: 2px solid var(--t-card-border); border-radius: 16px; padding: 1.3rem; text-align: center; transition: transform .2s, background .35s; }
.sponsor-card:hover { transform: translateY(-3px); }
.sponsor-logo-placeholder { width: 80px; height: 80px; border-radius: 12px; margin: 0 auto .8rem; display: grid; place-items: center; font-size: 2rem; border: 2px solid var(--t-card-border); }
.sponsor-logo-placeholder.sm { width: 50px; height: 50px; font-size: 1.3rem; border-radius: 8px; }
.sponsor-name { font-weight: 900; font-size: .92rem; color: var(--t-text); }
.sponsor-desc { font-size: .78rem; color: var(--t-text); opacity: .55; margin-top: .3rem; line-height: 1.4; }
.sponsor-cta { background: linear-gradient(135deg,#1a2840,#0d1120); border-radius: 20px; padding: 2.5rem; text-align: center; margin-top: 2.5rem; }
.sponsor-cta h3 { font-family: 'Caveat', cursive; font-size: 2rem; font-weight: 700; color: #e8edf8; margin-bottom: .5rem; }
.sponsor-cta p { color: rgba(232,237,248,.6); font-size: .9rem; max-width: 460px; margin: 0 auto .5rem; line-height: 1.65; }
.pdf-embed {
  border: 2px solid var(--t-card-border); border-radius: 16px; overflow: hidden;
  background: var(--t-card-bg); box-shadow: 0 4px 20px rgba(0,0,0,.12);
  transition: background .35s;
}
.pdf-embed iframe {
  display: block; width: 100%; height: min(85vh, 1100px); border: 0;
}
@media (max-width: 640px) { .pdf-embed iframe { height: 70vh; } }
.tiers-mini { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
.tier-mini { text-align: center; padding: .6rem 1rem; border-radius: 12px; background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.1); min-width: 90px; }
.tier-mini-label { font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .5; color: #e8edf8; }
.tier-mini-amount { font-family: 'Caveat', cursive; font-size: 1.5rem; font-weight: 700; }

/* ── JOIN CTA ── */
.join-section { background: linear-gradient(135deg,#1a2840 0%,#0d1120 100%); color: #e8edf8; position: relative; overflow: hidden; padding: 4rem 2rem; }
html.dark .join-section { background: linear-gradient(135deg,#0a1020 0%,#050810 100%); }
.join-bg-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .15; }
.join-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; position: relative; z-index: 2; }
.join-sticker { font-family: 'Caveat', cursive; font-size: 1rem; font-weight: 600; background: var(--p-blue); color: #0d1120; padding: .3rem 1rem; border-radius: 50px; border: 2px solid rgba(255,255,255,.2); display: inline-block; transform: rotate(-1.5deg); }
.join-h { font-family: 'Caveat', cursive; font-size: 3rem; font-weight: 700; line-height: 1.1; color: #e8edf8; }
.join-h em { font-style: normal; -webkit-text-stroke: 2px #e8edf8; color: transparent; }
.join-sub { opacity: .6; font-size: .95rem; max-width: 400px; line-height: 1.7; }
.join-btns { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-top: .5rem; }
.btn-inv { background: var(--p-blue); color: #0d1120; border: 2px solid var(--p-blue); font-family: 'Nunito'; font-weight: 900; font-size: .9rem; padding: .7rem 1.6rem; border-radius: 50px; cursor: pointer; transition: opacity .18s, transform .18s; }
.btn-inv:hover { opacity: .88; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #e8edf8; border: 2px solid rgba(232,237,248,.35); font-family: 'Nunito'; font-weight: 900; font-size: .9rem; padding: .7rem 1.6rem; border-radius: 50px; cursor: pointer; transition: border-color .18s, transform .18s; }
.btn-ghost:hover { border-color: rgba(232,237,248,.8); transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media(max-width: 600px) {
  nav { padding: .7rem 1rem; }
  .nav-links { display: none; }
  .hero-stats { gap: 1.5rem; }
  .about-layout { grid-template-columns: 1fr; }
  .notebook-body { padding: 1.2rem 1rem; }
}
