:root {
  --ink: #2a1f35;
  --ink-soft: #6b5f7a;
  --ink-faint: #a89bb8;
  --base: #faf7f4;
  --base-2: #f3edf8;
  --card: #fffcfa;
  --accent: #7c5cbf;
  --accent-deep: #5b3a8a;
  --accent-bright: #9678d4;
  --lavender: #c4b5fd;
  --plum: #4a2d6e;
  --mauve: #b8a4d4;
  --cream-gold: #e8dcc8;
  --violet: #8b6bb8;
  --line: #e8e0f0;
  --f-d: 'Gabarito', 'Plus Jakarta Sans', sans-serif;
  --f-b: 'Plus Jakarta Sans', system-ui, sans-serif;
  --maxw: 1320px;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.2, 0.9, 0.25, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --r: 30px;
  --r-lg: 44px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--base);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(196, 181, 253, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(184, 164, 212, 0.15), transparent);
  color: var(--ink);
  font-family: var(--f-b);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, video { display: block; max-width: 100%; }

::selection { background: var(--accent); color: #fff; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

.label {
  font-family: var(--f-b);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(124, 92, 191, 0.12);
  padding: 8px 16px;
  border-radius: 999px;
}

.label.soft { color: var(--violet); background: rgba(139, 107, 184, 0.14); }
.label.warm { color: #7a6248; background: rgba(232, 220, 200, 0.55); }
.label.deep { color: var(--plum); background: rgba(74, 45, 110, 0.1); }

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--bounce);
}

.reveal.in { opacity: 1; transform: none; }

.d1 { transition-delay: 0.09s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.27s; }

.btn {
  font-family: var(--f-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: 999px;
  border: 2.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--bounce), box-shadow 0.3s, background 0.3s, color 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 0 -2px var(--accent-deep);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 0 -2px var(--accent-deep);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 5px 0 -2px var(--accent-deep);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: var(--ink);
  color: var(--base);
}

.float {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(18px, -26px) rotate(18deg); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(-22px, 18px) rotate(-16deg); }
}

@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(14px, 22px) rotate(12deg); }
}

.fl-a { animation: drift1 9s ease-in-out infinite; }
.fl-b { animation: drift2 11s ease-in-out infinite; }
.fl-c { animation: drift3 8s ease-in-out infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

/* NAV */
.nav {
  position: fixed;
  inset: 14px 0 auto 0;
  z-index: 100;
  transition: transform 0.3s;
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  background: rgba(255, 252, 250, 0.88);
  backdrop-filter: blur(16px);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 11px 12px 11px 22px;
  box-shadow: 0 6px 0 -1px rgba(42, 31, 53, 0.1);
}

.brand {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  transition: color 0.2s, transform 0.3s var(--bounce);
}

.brand:hover { color: var(--accent); transform: translateY(-1px); }

.nav-links { display: flex; align-items: center; gap: 26px; }

.nav-links a {
  font-family: var(--f-b);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.2s, transform 0.2s;
}

.nav-links a:hover { color: var(--accent); transform: translateY(-1px); }

.nav-links .tool { display: inline-flex; align-items: center; gap: 6px; }

.nav-links a.nav-has-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-b);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: default;
  transition: color 0.2s, transform 0.2s;
  outline: none;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-dropdown-chevron {
  font-size: 9px;
  color: var(--ink-faint);
  transition: transform 0.2s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown:focus-within .nav-dropdown-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 220px;
  padding: 8px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 0 12px 0 -2px rgba(42, 31, 53, 0.12);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px) scale(0.98);
  transition:
    opacity 0.2s var(--ease),
    transform 0.25s var(--bounce),
    visibility 0.2s;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: calc(var(--r) - 8px);
  font-family: var(--f-b);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav-dropdown-menu a:hover {
  background: var(--base-2);
  color: var(--accent-deep);
  transform: none;
}

.new-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  padding: 3px 7px;
  border-radius: 999px;
}

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-picker {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-b);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--base-2);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--ink);
  transition: transform 0.25s var(--bounce), background 0.2s, box-shadow 0.2s;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  background: var(--card);
  box-shadow: 0 4px 0 -1px rgba(42, 31, 53, 0.08);
}

.lang-chevron {
  font-size: 10px;
  color: var(--ink-soft);
  transition: transform 0.2s;
}

.lang-picker:has(.lang-menu.open) .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  overflow: hidden;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 0 12px 0 -2px rgba(42, 31, 53, 0.12);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.2s var(--ease), transform 0.25s var(--bounce), visibility 0.2s;
}

.lang-menu-scroll {
  max-height: min(60vh, 420px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 31, 53, 0.28) transparent;
}

.lang-menu-scroll::-webkit-scrollbar {
  width: 8px;
}

.lang-menu-scroll::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 10px;
}

.lang-menu-scroll::-webkit-scrollbar-thumb {
  background: rgba(42, 31, 53, 0.22);
  border-radius: 999px;
  border: 2px solid var(--card);
}

.lang-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--f-b);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
  background: var(--base-2);
  color: var(--ink);
}

.lang-option.active {
  background: rgba(124, 92, 191, 0.14);
  color: var(--accent-deep);
  font-weight: 800;
}

[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .sec-head-end { margin-left: 0; margin-right: auto; text-align: left; }

[dir="rtl"] .hero-side { border-left: none; border-right: 2px solid var(--line); padding-left: 0; padding-right: clamp(20px, 3vw, 36px); }

[dir="rtl"] .lang-option { text-align: right; }

@media (max-width: 940px) {
  .lang-menu {
    right: 0;
    left: auto;
    min-width: min(72vw, 260px);
  }
}

.nav-cta {
  font-family: var(--f-d);
  font-size: 12px;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform 0.25s var(--bounce), box-shadow 0.25s, background 0.25s;
}

.nav-cta:hover {
  transform: translateY(-2px) rotate(-2deg);
  background: #5865f2;
  box-shadow: 0 8px 0 -2px #4752c4;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 940px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--base);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    border-left: 2px solid var(--ink);
    z-index: 90;
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    font-size: 20px;
    cursor: pointer;
  }
  .nav-dropdown-chevron { font-size: 12px; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    width: 100%;
    margin-top: 10px;
    padding: 0 0 0 8px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a {
    font-size: 17px;
    padding: 8px 0;
    border-radius: 0;
  }
  .burger { display: flex; position: relative; z-index: 95; }
  .nav.menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.menu-open .burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-pill { backdrop-filter: none; background: var(--base); }
  body.nav-open { overflow: hidden; }
}

/* HERO */
.hero {
  position: relative;
  padding: clamp(130px, 16vw, 180px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}

.hero-line {
  position: absolute;
  top: clamp(100px, 14vw, 160px);
  left: var(--pad);
  right: var(--pad);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--line) 42%, transparent 100%);
  opacity: 0.55;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.hero-main { position: relative; z-index: 1; }

.hero-kick { margin-bottom: clamp(18px, 3vw, 28px); }

.hero h1 {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(52px, 10vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero h1 .hero-indent {
  display: inline-block;
  padding-left: clamp(0px, 8vw, 100px);
}

.hero h1 .hero-outdent {
  display: inline-block;
  margin-left: clamp(0px, 4vw, 48px);
}

.hero h1 .c-accent { color: var(--accent); }

.hero-side {
  position: relative;
  z-index: 1;
  padding: clamp(16px, 2vw, 24px) 0 clamp(8px, 1vw, 12px);
  padding-left: clamp(20px, 3vw, 36px);
  border-left: 2px solid var(--line);
}

.hero-index {
  font-family: var(--f-b);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.hero-lede {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-soft);
  max-width: 34ch;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-lede b { color: var(--ink); font-weight: 800; }

.hero-lede .kw {
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.hero-lede .kw-sound:hover { color: #e6b800; }
.hero-lede .kw-quality:hover { color: #e63946; }
.hero-lede .kw-creativity:hover { color: #2f5bff; }
.hero-lede .kw-execution:hover { color: #00a86b; }

.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid var(--line);
    padding-top: 28px;
  }
  .hero h1 .hero-indent { padding-left: 0; }
  .hero h1 .hero-outdent { margin-left: 0; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
}

/* TIMELINE BAND (replaces text marquee) */
.timeline-band {
  padding: 0 var(--pad) clamp(32px, 5vw, 56px);
  margin-top: -8px;
}

.tl-bar {
  background: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 12px 0 -2px rgba(42, 31, 53, 0.25);
}

.tl-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tl-tag {
  font-family: var(--f-b);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lavender);
}

.tl-tag.dim { color: rgba(196, 181, 253, 0.45); font-weight: 600; text-transform: lowercase; letter-spacing: 0.04em; }
.tl-tag.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; color: var(--base); }
.tl-dot { color: rgba(255, 255, 255, 0.2); font-size: 10px; }
.tl-spacer { flex: 1; }

.tl-viewport {
  position: relative;
  padding: 14px 18px 18px;
}

.tl-ruler {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  height: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tl-ruler span {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  height: 6px;
  align-self: end;
}

.tl-ruler span:nth-child(3n) { height: 10px; border-color: rgba(196, 181, 253, 0.35); }

.tl-lane {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.tl-lane-video {
  height: 52px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
}

.tl-lane-audio {
  height: 36px;
  background: rgba(124, 92, 191, 0.12);
}

.tl-scroll {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 100%;
  padding: 6px 8px;
  width: max-content;
  animation: tl-drift 22s linear infinite;
}

.tl-bar:hover .tl-scroll,
.tl-bar:focus-within .tl-scroll { animation-play-state: paused; }

.tl-bar:hover .tl-playhead,
.tl-bar:focus-within .tl-playhead { animation-play-state: paused; }

.tl-clip {
  flex-shrink: 0;
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  padding: 4px 8px;
  min-width: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.tl-clip span {
  font-family: var(--f-b);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

.tl-clip.c1 { width: 110px; background: linear-gradient(180deg, #9678d4, #5b3a8a); }
.tl-clip.c2 { width: 72px; background: linear-gradient(180deg, #b8a4d4, #7c5cbf); }
.tl-clip.c3 { width: 140px; background: linear-gradient(180deg, #8b6bb8, #4a2d6e); }
.tl-clip.c4 { width: 56px; background: linear-gradient(180deg, #c4b5fd, #9678d4); }
.tl-clip.c5 { width: 96px; background: linear-gradient(180deg, #7c5cbf, #5b3a8a); }
.tl-clip.c6 { width: 64px; background: linear-gradient(180deg, #e8dcc8, #b8a4d4); }

.tl-clip.c6 span { color: rgba(42, 31, 53, 0.65); }

.tl-gap { flex-shrink: 0; width: 18px; }
.tl-gap.sm { width: 8px; }

.tl-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.85), 0 0 24px var(--lavender);
  z-index: 4;
  pointer-events: none;
  animation: tl-scrub 9s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.tl-playhead::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -5px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 2px;
  transform: rotate(45deg);
}

.tl-wave {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  height: 100%;
  padding: 0 8px;
  width: max-content;
  animation: tl-drift 18s linear infinite reverse;
}

.tl-bar:hover .tl-wave,
.tl-bar:focus-within .tl-wave { animation-play-state: paused; }

.tl-wave .bar {
  flex-shrink: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--lavender);
  opacity: 0.55;
  animation: tl-pulse 1.2s ease-in-out infinite alternate;
}

.tl-wave .bar:nth-child(3n) { background: var(--accent-bright); opacity: 0.75; }
.tl-wave .bar:nth-child(5n) { background: var(--mauve); }

@keyframes tl-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-28%); }
}

@keyframes tl-scrub {
  0% { left: 0%; opacity: 1; }
  48% { left: 78%; opacity: 1; }
  50% { left: 78%; opacity: 0.4; }
  52% { left: 0%; opacity: 1; }
  100% { left: 0%; opacity: 1; }
}

@keyframes tl-pulse {
  from { transform: scaleY(0.55); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-scroll,
  .tl-wave,
  .tl-playhead { animation: none !important; }
  .tl-playhead { left: 35%; }
  .tl-wave .bar { animation: none; opacity: 0.5; }
}

@media (max-width: 640px) {
  .tl-meta { gap: 6px; }
  .tl-tag.dim { display: none; }
  .tl-lane-video { height: 44px; }
}

/* SECTIONS */
.sec { padding: clamp(70px, 10vw, 130px) 0; position: relative; }

.sec-pull { margin-top: -20px; }

.sec-offset .wrap { padding-left: clamp(var(--pad), 8vw, 120px); }

.wrap-narrow { max-width: 920px; }

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 68px); }

.sec-head-end {
  margin-left: auto;
  text-align: right;
}

.sec-head-end .sub { margin-left: auto; }

.sec-head h2 {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 82px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 18px;
}

.sec-head .sub {
  color: var(--ink-soft);
  margin-top: 18px;
  max-width: 54ch;
  font-weight: 500;
  font-size: 17px;
}

/* WORLDS */
.worlds-dual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 880px) {
  .worlds-dual { grid-template-columns: 1fr; }
}

.worlds-asym {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 22px;
}

.worlds-asym .world.tall { grid-row: span 2; min-height: 100%; }

.worlds-asym .world:nth-child(3) { grid-column: 2; }

@media (max-width: 880px) {
  .worlds-asym {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .worlds-asym .world.tall { grid-row: auto; }
  .worlds-asym .world:nth-child(3) { grid-column: auto; }
}

.worlds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.world {
  position: relative;
  border-radius: var(--r-lg);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  transition: transform 0.4s var(--bounce), box-shadow 0.4s;
}

.world.plum { background: var(--plum); color: #fff; box-shadow: 0 12px 0 -2px #3a2258; }
.world.lavender { background: var(--lavender); color: var(--ink); box-shadow: 0 12px 0 -2px #a898e8; }
.world.violet { background: var(--violet); color: #fff; box-shadow: 0 12px 0 -2px #6d5494; }

.world.platform {
  text-decoration: none;
  cursor: pointer;
}

.world.instagram {
  background: linear-gradient(145deg, #833ab4 0%, #c13584 45%, #e1306c 70%, #fd1d1d 100%);
  color: #fff;
  box-shadow: 0 12px 0 -2px #6a2578;
}

.world.discord {
  background: linear-gradient(145deg, #5865F2 0%, #4752C4 55%, #3c45a5 100%);
  color: #fff;
  box-shadow: 0 12px 0 -2px #3239a0;
}

.world.platform .platform-icon {
  width: 44px;
  height: 44px;
  margin-top: 10px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.world.platform .platform-icon svg {
  width: 100%;
  height: 100%;
}

.world.platform .platform-glyph {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 96px;
  height: 96px;
  opacity: 0.14;
  pointer-events: none;
}

.world.platform .platform-glyph svg {
  width: 100%;
  height: 100%;
}

.world.platform .wgo {
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
}

.world.platform:hover .wgo {
  background: rgba(0, 0, 0, 0.48);
}

.world:hover { transform: translateY(-8px) rotate(-1.5deg); }

.world .wnum {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: 13px;
  opacity: 0.55;
  letter-spacing: 0.08em;
}

.world h3 {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  margin: 16px 0 6px;
  letter-spacing: -0.03em;
}

.world .wtag {
  font-family: var(--f-b);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
}

.world p { font-size: 14.5px; flex: 1; line-height: 1.6; font-weight: 500; }

.world .wnote { font-size: 12px; opacity: 0.8; margin-top: 12px; font-style: italic; }

.world .wgo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 13px;
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: 999px;
  align-self: flex-start;
  transition: transform 0.3s var(--bounce);
}

.world.lavender .wgo { background: var(--ink); color: var(--lavender); }

.world .wgo .arrow {
  display: inline-block;
  transition: transform 0.3s var(--bounce);
}

.world .wgo:hover { transform: scale(1.05) rotate(-2deg); }
.world .wgo:hover .arrow { transform: translateX(3px); }

.world::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  z-index: 0;
}

.world > * { position: relative; z-index: 1; }

@media (max-width: 880px) {
  .worlds { grid-template-columns: 1fr; }
  .world { min-height: auto; }
}

/* REEL */
.reel-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 32px;
}

.reel-head h2 {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 82px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 18px;
}

.reel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 0 28px;
  margin: 0 calc(-1 * var(--pad));
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reel-lead {
  flex: 0 0 var(--pad);
  align-self: stretch;
  pointer-events: none;
}

.reel::-webkit-scrollbar { display: none; }

.reel.drag {
  cursor: grabbing;
  user-select: none;
}

.reel-card {
  flex: 0 0 clamp(220px, 28vw, 300px);
  aspect-ratio: 9 / 13;
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  background: var(--card);
  border: 2.5px solid var(--ink);
  transition: transform 0.4s var(--bounce);
}

.reel-card:nth-child(odd) { transform: rotate(1.5deg); }
.reel-card:nth-child(even) { transform: rotate(-1.5deg); }
.reel-card:hover { transform: rotate(0) scale(1.03); }

.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--plum);
}

.reel-placeholder { width: 100%; height: 100%; }

.reel-card .rc-lbl {
  position: absolute;
  left: 12px;
  bottom: 11px;
  z-index: 2;
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  background: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
}

/* STATS */
.statband {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(40px, 6vw, 68px);
}

.statx {
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  padding: clamp(28px, 4vw, 44px) 30px;
  background: var(--card);
  text-align: center;
  transition: transform 0.4s var(--bounce);
}

.statx:hover { transform: translateY(-6px) rotate(1deg); }

.statx b {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  display: block;
}

.statx:nth-child(1) b { color: var(--accent); }
.statx:nth-child(2) b { color: var(--violet); }
.statx:nth-child(3) b { color: var(--plum); }

.statx span {
  font-family: var(--f-b);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 16px;
  display: block;
}

@media (max-width: 760px) { .statband { grid-template-columns: 1fr; } }

/* CITIES */
.cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.cityx {
  border: 2.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--bounce);
}

.cityx.deep { background: var(--accent-deep); color: #fff; box-shadow: 0 12px 0 -2px #452a6a; }
.cityx.soft { background: var(--mauve); color: var(--ink); box-shadow: 0 12px 0 -2px #9a86b4; }

.cityx:hover { transform: translateY(-6px) rotate(-1deg); }

.cityx .coord { font-family: var(--f-b); font-size: 12px; font-weight: 700; opacity: 0.8; }

.cityx b {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: block;
  margin: 10px 0 8px;
}

.cityx p { font-size: 14.5px; font-weight: 500; opacity: 0.95; }

.cityx .who {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 13px;
  margin-top: 18px;
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
}

.cityx.soft .who { color: var(--mauve); }

@media (max-width: 640px) { .cities { grid-template-columns: 1fr; } }

/* TEAM */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.member {
  border: 2.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px);
  background: var(--card);
  transition: transform 0.4s var(--bounce);
}

.member:hover { transform: translateY(-6px) rotate(1deg); }

.member .role {
  font-family: var(--f-b);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(124, 92, 191, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
}

.member:nth-child(2) .role {
  color: var(--violet);
  background: rgba(139, 107, 184, 0.16);
}

.member h3 {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 16px 0 16px;
}

.member p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 500;
}

.member .handle {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  transition: color 0.2s;
}

.member .handle:hover { color: var(--accent-deep); }

@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

.reel-head .sub.reel-sub { margin-top: 14px; max-width: 40ch; margin-inline: auto; }

.statband-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--card);
}

.statband-inline .statx {
  flex: 1;
  min-width: 140px;
  border: none;
  border-radius: 0;
  border-right: 2px solid var(--line);
  padding: clamp(24px, 3vw, 36px) 24px;
}

.statband-inline .statx:last-child { border-right: none; }

.statband-inline .statx:hover { transform: none; background: var(--base-2); }

.cities-stagger .push-right { margin-top: clamp(24px, 4vw, 48px); }

.team-offset { margin-left: clamp(0px, 6vw, 80px); }

@media (max-width: 760px) {
  .team-offset { margin-left: 0; }
  .sec-offset .wrap { padding-left: var(--pad); }
  .statband-inline { flex-direction: column; }
  .statband-inline .statx { border-right: none; border-bottom: 2px solid var(--line); }
  .statband-inline .statx:last-child { border-bottom: none; }
}

/* CTA */
.cta-minimal {
  text-align: left;
  padding: clamp(44px, 6vw, 72px) clamp(36px, 5vw, 56px);
}

.cta-index {
  font-family: var(--f-b);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.cta-minimal h2 { text-align: left; font-size: clamp(32px, 5.5vw, 72px); }

.cta-minimal p { margin: 16px 0 0; text-align: left; max-width: 48ch; }

.cta-minimal .hero-cta {
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 28px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-tag {
  font-family: var(--f-b);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.cta {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 0 14px 0 -2px var(--accent-deep);
  padding: clamp(50px, 8vw, 110px) var(--pad);
  text-align: center;
}

.cta .fl1 { top: 14%; left: 9%; width: 60px; height: 60px; opacity: 0.35; }
.cta .fl2 { bottom: 16%; right: 10%; width: 80px; height: 80px; opacity: 0.35; }

.cta h2 {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(38px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 2;
}

.cta p {
  max-width: 42ch;
  margin: 20px auto 0;
  position: relative;
  z-index: 2;
  font-weight: 500;
  opacity: 0.95;
}

.cta .hero-cta {
  justify-content: center;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}

.cta .btn-primary {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 10px 0 -2px rgba(42, 31, 53, 0.2);
}

.cta .btn-primary:hover { box-shadow: 0 14px 0 -2px rgba(42, 31, 53, 0.2); }

.cta .btn-ghost { border-color: #fff; color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--accent-deep); }

.cta .shape-star { fill: rgba(255, 255, 255, 0.5); }
.cta .shape-ring { stroke: rgba(255, 255, 255, 0.45); }

/* FOOTER */
.footer { padding: 64px 0 44px; border-top: 2.5px solid var(--ink); }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 10px; }

.link-chip {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 17px;
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 12px;
  transition: transform 0.25s var(--bounce), background 0.25s, color 0.25s;
}

.link-chip:hover {
  transform: translateY(-2px) rotate(-2deg);
  background: var(--accent);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--f-b);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .links { display: flex; gap: 22px; }

.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.roster-page {
  padding: clamp(120px, 14vw, 160px) 0 clamp(80px, 10vw, 120px);
  min-height: 70vh;
}

.roster-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 7vw, 80px);
}

.roster-title {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  margin-top: 20px;
  line-height: 1.05;
}

.roster-sub {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.5vw, 16px);
}

.roster-group { margin-bottom: clamp(40px, 6vw, 64px); }

.roster-group-title {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 28px);
  color: var(--ink);
}

.roster-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 14px);
  max-width: 1040px;
  margin: 0 auto;
}

.roster-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(118px, 13vw, 156px);
  padding: 14px clamp(16px, 2.2vw, 22px);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  background: var(--card);
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.08em;
  color: var(--ink);
  transition: transform 0.25s var(--bounce), box-shadow 0.25s var(--ease), border-color 0.25s, background 0.25s, color 0.25s;
}

a.roster-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--base-2);
  box-shadow: 0 8px 24px rgba(74, 45, 110, 0.12);
  color: var(--accent-deep);
}

.roster-card-static {
  cursor: default;
  opacity: 0.7;
  border-style: dashed;
  border-color: var(--line);
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .roster-card { min-width: calc(50% - 14px); flex: 1 1 calc(50% - 14px); }
}

/* APPLICATIONS */
.apply-page {
  padding: clamp(120px, 14vw, 160px) 0 clamp(80px, 10vw, 120px);
  min-height: 75vh;
}

.apply-card {
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 12px 40px rgba(42, 31, 53, 0.06);
}

.apply-card-center {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.apply-lock {
  font-size: 28px;
  margin-bottom: 12px;
}

.apply-title {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.apply-lede {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.apply-error {
  margin-top: 16px;
  color: #c0392b;
  font-size: 14px;
  font-weight: 600;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  padding: 16px 24px;
  border-radius: 999px;
  border: none;
  background: #5865f2;
  color: #fff;
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 0 -2px #4752c4;
  transition: transform 0.25s var(--bounce), box-shadow 0.25s;
}

.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 0 -2px #4752c4;
  color: #fff;
}

.apply-head {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.apply-head .apply-title { margin-top: 14px; }

.apply-user-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 16px;
}

.apply-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.apply-logout {
  padding: 10px 20px;
  font-size: 12px;
}

.apply-avatar {
  border-radius: 50%;
  border: 2px solid var(--line);
  object-fit: cover;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.apply-field,
.apply-field fieldset {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: none;
  padding: 0;
  margin: 0;
}

.apply-field > span,
.apply-field legend,
.apply-sublabel {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.apply-field em,
.apply-sublabel em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink-soft);
}

.apply-field input[type="text"],
.apply-field input[type="email"],
.apply-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--r);
  background: var(--base);
  color: var(--ink);
  font-family: var(--f-b);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.2s;
}

.apply-field input[readonly] {
  background: var(--base-2);
  color: var(--ink-soft);
}

.apply-field input:focus,
.apply-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.apply-uploads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.apply-file {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.apply-file-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.apply-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.apply-file-face {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 16px 18px;
  border: 2px dashed var(--mauve);
  border-radius: var(--r);
  background:
    linear-gradient(145deg, rgba(196, 181, 253, 0.18), rgba(243, 237, 248, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition:
    transform 0.3s var(--bounce),
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}

.apply-file-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--accent-bright), var(--accent));
  color: #fff;
  box-shadow: 0 8px 18px rgba(124, 92, 191, 0.35);
  transition: transform 0.3s var(--bounce), box-shadow 0.3s;
}

.apply-file-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.apply-file-action {
  font-family: var(--f-d);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.apply-file-hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
}

.apply-file-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
  padding: 0 4px;
  word-break: break-all;
}

.apply-file-name::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(124, 92, 191, 0.16);
  color: var(--accent);
  font-size: 11px;
}

.apply-file:hover .apply-file-face,
.apply-file:focus-within .apply-file-face {
  transform: translateY(-3px);
  border-color: var(--accent);
  border-style: solid;
  background:
    linear-gradient(145deg, rgba(196, 181, 253, 0.28), rgba(255, 252, 250, 0.95));
  box-shadow:
    0 12px 28px rgba(124, 92, 191, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.apply-file:hover .apply-file-icon,
.apply-file:focus-within .apply-file-icon {
  transform: scale(1.06) rotate(-4deg);
  box-shadow: 0 10px 22px rgba(124, 92, 191, 0.42);
}

.apply-file.is-dragover .apply-file-face {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--accent-bright);
  border-style: solid;
  background: rgba(196, 181, 253, 0.32);
}

.apply-file.is-filled .apply-file-face {
  border-style: solid;
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(124, 92, 191, 0.12), rgba(255, 252, 250, 0.98));
}

.apply-file.is-filled .apply-file-action {
  color: var(--accent-deep);
}

.apply-file.is-filled .apply-file-hint {
  color: var(--ink-faint);
}

.apply-radio-group legend { margin-bottom: 4px; }

.apply-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.apply-radio input { width: 18px; height: 18px; accent-color: var(--accent); }

.apply-goodluck {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-deep);
  text-align: center;
  padding-top: 4px;
}

.apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.apply-status {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

.apply-status.is-error { color: #c0392b; }

.tools-list {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 36px);
}

.tools-search-wrap {
  margin-top: clamp(20px, 3.5vw, 28px);
}

.tools-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tools-search {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink);
  font-family: var(--f-b);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 6px 18px rgba(42, 31, 53, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237c5cbf' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.65' y1='16.65' x2='21' y2='21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
}

.tools-search::placeholder {
  color: var(--ink-soft);
  opacity: 0.75;
}

.tools-search:hover {
  border-color: rgba(124, 92, 191, 0.35);
}

.tools-search:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 191, 0.14);
}

.tools-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  margin-right: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232a1f35' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  cursor: pointer;
}

.tools-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 24px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(42, 31, 53, 0.05);
  transition: transform 0.3s var(--bounce), box-shadow 0.3s;
}

.tools-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(124, 92, 191, 0.1);
}

.tools-item-title {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(17px, 2.5vw, 20px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.tools-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tools-item-type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(124, 92, 191, 0.12);
  padding: 5px 10px;
  border-radius: 999px;
}

.tools-item-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  word-break: break-all;
}

.tools-dl {
  margin-top: 4px;
  padding: 12px 22px;
  font-size: 12px;
}

.tools-empty {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 32px 16px;
}

.tools-empty.is-error { color: #c0392b; }

.tools-software-note {
  margin-top: clamp(16px, 3vw, 24px);
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-soft);
  background: rgba(124, 92, 191, 0.08);
  border: 1px solid rgba(124, 92, 191, 0.18);
  border-radius: var(--r-md);
}

.tools-platform {
  margin-top: clamp(28px, 5vw, 44px);
}

.tools-platform-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(42, 31, 53, 0.08);
}

.tools-platform-title {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(22px, 3.5vw, 28px);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.tools-platform-source {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
}

.tools-platform-source:hover { text-decoration: underline; }

.tools-category {
  margin-top: 24px;
}

.tools-category-title {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(16px, 2.4vw, 18px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.tools-software-grid {
  display: grid;
  gap: 12px;
}

.tools-software-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 6px 18px rgba(42, 31, 53, 0.04);
  transition: transform 0.3s var(--bounce), box-shadow 0.3s;
}

.tools-software-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(124, 92, 191, 0.08);
}

.tools-software-version {
  font-family: var(--f-d);
  font-weight: 800;
  font-size: clamp(15px, 2.2vw, 17px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.3;
}

.tools-software-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  width: 100%;
}

.tools-mirror-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tools-mirror-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  text-decoration: none;
  padding: 8px 12px;
  border: 1.5px solid rgba(124, 92, 191, 0.28);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}

.tools-mirror-link:hover {
  background: rgba(124, 92, 191, 0.1);
  border-color: rgba(124, 92, 191, 0.45);
}

@media (max-width: 600px) {
  .apply-uploads { grid-template-columns: 1fr; }
  .apply-actions { flex-direction: column; align-items: stretch; }
  .apply-actions .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
