/* STORMIE · ARCANE STORM theme — cosmic, lightning, glass, editorial */

:root {
  --bg: #04001a;
  --bg-2: #0a0228;
  --bg-3: #160845;
  --paper: #ede4ff;
  --paper-d: #a896c2;
  --paper-x: #5e4b85;
  --violet: #c382ff;
  --violet-l: #e0b4ff;
  --violet-d: #6a3aaa;
  --cyan: #00e5ff;
  --magenta: #ff2d92;
  --gold: #ffd166;
  --glass: rgba(255, 255, 255, .04);
  --glass-border: rgba(255, 255, 255, .14);
  --serif: 'Cinzel', 'Cormorant Unicase', serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --pad: clamp(20px, 4vw, 48px);
  --rad: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--paper); font-family: var(--body); overflow-x: hidden; }
body {
  min-height: 100vh;
  line-height: 1.55;
  font-size: 16px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(107, 43, 217, .25), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255, 45, 146, .12), transparent 70%),
    var(--bg);
  padding-bottom: 80px; /* mobile tabbar safe area */
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

::selection { background: var(--violet); color: var(--bg); }

/* ============ PRELOADER ============ */
.arc-pre {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(circle at center, #0a0228 0%, #04001a 80%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
  overflow: hidden;
}
.arc-pre.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.arc-pre__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.arc-pre__core { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.arc-pre__sigil { width: min(70vmin, 420px); height: min(70vmin, 420px); animation: arc-spin 30s linear infinite; }
.arc-pre__runes { animation: arc-spin 60s linear infinite reverse; transform-origin: 200px 200px; }
.arc-pre__star { opacity: 0; animation: arc-star-in 1.4s var(--ease) .3s forwards; }
.arc-pre__runeGlyphs text { animation: arc-glyph-in .6s var(--ease) forwards; }
.arc-pre__runeGlyphs text:nth-child(1) { animation-delay: .8s; }
.arc-pre__runeGlyphs text:nth-child(2) { animation-delay: 1.0s; }
.arc-pre__runeGlyphs text:nth-child(3) { animation-delay: 1.2s; }
.arc-pre__runeGlyphs text:nth-child(4) { animation-delay: 1.4s; }
.arc-pre__runeGlyphs text:nth-child(5) { animation-delay: 1.6s; }
.arc-pre__runeGlyphs text:nth-child(6) { animation-delay: 1.8s; }
.arc-pre__runeGlyphs text:nth-child(7) { animation-delay: 2.0s; }
.arc-pre__runeGlyphs text:nth-child(8) { animation-delay: 2.2s; }
.arc-pre__bolt {
  position: absolute; top: 50%; left: 50%; width: 4px; height: 0; background: var(--cyan);
  transform: translate(-50%, -50%); box-shadow: 0 0 20px var(--cyan), 0 0 40px var(--violet);
  opacity: 0; pointer-events: none;
}
.arc-pre.is-striking .arc-pre__bolt { animation: arc-bolt .5s var(--ease) forwards; }
@keyframes arc-bolt {
  0% { opacity: 0; height: 0; }
  10% { opacity: 1; height: 80%; }
  20% { opacity: 1; height: 0; }
  30% { opacity: 1; height: 70%; }
  40% { opacity: 0; height: 0; }
  100% { opacity: 0; height: 0; }
}
.arc-pre__text { text-align: center; margin-top: -8vmin; position: relative; z-index: 3; }
.arc-pre__name {
  font-family: var(--serif); font-weight: 800; font-size: clamp(40px, 6vw, 76px);
  letter-spacing: 10px; color: var(--paper);
  text-shadow: 0 0 30px var(--violet), 0 0 60px rgba(0, 229, 255, .5);
  opacity: 0; transform: scale(.8);
  animation: arc-name-in .9s var(--ease) 2.4s forwards;
}
.arc-pre__sub {
  font-family: var(--mono); font-size: 11px; letter-spacing: 4px; color: var(--cyan);
  margin-top: 12px; text-transform: uppercase;
  opacity: 0; animation: arc-fade-in .6s var(--ease) 3.0s forwards;
}
.arc-pre__bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(195,130,255,.1);
}
.arc-pre__barFill {
  height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
  box-shadow: 0 0 12px var(--violet);
  animation: arc-bar 3.2s var(--ease) forwards;
}
.arc-pre.is-gone .arc-pre__core, .arc-pre.is-gone .arc-pre__bar { opacity: 0; transition: opacity .4s; }
@keyframes arc-spin { to { transform: rotate(360deg); } }
@keyframes arc-star-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes arc-glyph-in { from { opacity: 0; } to { opacity: .8; } }
@keyframes arc-name-in { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes arc-fade-in { from { opacity: 0; } to { opacity: .7; } }
@keyframes arc-bar { 0% { width: 0; } 100% { width: 100%; } }

/* ============ NAV (DESKTOP) ============ */
.arc-nav {
  position: sticky; top: 16px; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  margin: 16px auto 0;
  max-width: calc(1280px - 32px);
  padding: 10px 16px 10px 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--rad);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.05);
  box-shadow: none;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.arc-nav.is-hidden { transform: translateY(-130%); opacity: 0; }
.arc-nav__logo { display: flex; align-items: center; gap: 10px; color: var(--violet-l); font-family: var(--serif); font-weight: 700; font-size: 14px; letter-spacing: 3px; }
.arc-nav__logo .arc-logo { width: 28px; height: 28px; }
.arc-nav__menu { display: flex; gap: 8px; align-items: center; }
.arc-nav__menu a {
  font-family: var(--body); font-size: 13px; font-weight: 500;
  color: var(--paper-d); padding: 8px 14px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase; transition: color .2s, background .2s;
}
.arc-nav__menu a:hover { color: var(--paper); background: rgba(195,130,255,.08); }
.arc-nav__tiktok { color: var(--cyan) !important; }
.arc-nav__tiktok:hover { background: rgba(0, 229, 255, .1) !important; }

@media (max-width: 720px) {
  .arc-nav { display: none; }
}

/* ============ MOBILE TABBAR ============ */
.arc-tabbar {
  position: fixed; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: none; /* shown on mobile via @media */
  align-items: center; gap: 4px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100vw - 20px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--rad);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.05);
  box-shadow: none;
}
.arc-tab__item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 7px 10px; flex: 1; min-width: 0; border-radius: 22px;
  color: var(--paper-d);
  font-family: var(--body); font-size: 10px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  transition: color .2s, background .2s;
}
.arc-tab__rune { font-size: 16px; line-height: 1; }
.arc-tab__item.is-on { color: var(--violet-l); background: rgba(195,130,255,.12); }
.arc-tab__item:active { transform: scale(.95); }

@media (max-width: 720px) {
  .arc-tabbar { display: flex; }
}

/* ============ HERO ============ */
.arc-hero {
  position: relative; padding: 60px var(--pad) 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}
.arc-hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.arc-hero__auras { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.arc-aura { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .6; }
.arc-aura--1 { width: 500px; height: 500px; background: var(--violet-d); top: -150px; right: -100px; }
.arc-aura--2 { width: 400px; height: 400px; background: rgba(255, 45, 146, .4); bottom: -100px; left: -100px; }
.arc-aura--3 { width: 300px; height: 300px; background: rgba(0, 229, 255, .3); top: 40%; left: 30%; opacity: .3; }

.arc-hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center;
  max-width: 1280px; margin: 0 auto; width: 100%;
}
@media (max-width: 900px) {
  .arc-hero__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
}

.arc-hero__kicker {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 4px;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 20px;
  padding: 6px 12px; border: 1px solid rgba(0, 229, 255, .3); border-radius: 999px;
}
.arc-hero__name {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .95; margin-bottom: 16px; letter-spacing: 1px;
}
.arc-hero__line {
  display: block;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-d) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.arc-hero__line--accent {
  background: linear-gradient(180deg, var(--violet-l) 0%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 45, 146, .4));
}
.arc-hero__line::after {
  content: attr(data-text); position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .15), transparent);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: arc-shine 6s linear infinite;
}
@keyframes arc-shine { to { background-position: 200% 0; } }

.arc-hero__alias { font-size: 16px; color: var(--paper-d); margin-bottom: 6px; }
.arc-hero__alias em { color: var(--violet-l); font-style: normal; font-weight: 600; }
.arc-hero__real { font-size: 13px; color: var(--paper-x); font-family: var(--mono); margin-bottom: 28px; }
.arc-hero__real em { color: var(--paper-d); }
.arc-hero__oath {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px;
  color: var(--paper); border-left: 1px solid var(--violet); padding-left: 20px;
  margin-bottom: 36px; max-width: 460px;
}
@media (max-width: 900px) { .arc-hero__oath { margin-left: auto; margin-right: auto; } }

.arc-hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 520px;
  margin-bottom: 36px;
}
@media (max-width: 900px) { .arc-hero__stats { margin: 0 auto 28px; } }
.arc-stat { position: relative; padding: 8px 0 0 16px; border-left: 1px solid var(--violet-d); overflow: hidden; }
.arc-stat__num {
  font-family: var(--serif); font-weight: 800; font-size: 32px;
  color: var(--violet-l); font-variant-numeric: tabular-nums; letter-spacing: 1px;
  line-height: 1; margin-bottom: 6px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.arc-stat__lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--paper-d); text-transform: uppercase; }
.arc-stat__spark {
  position: absolute; top: 8px; right: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
  animation: arc-spark 2s ease-in-out infinite;
}
@keyframes arc-spark { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }

.arc-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .arc-hero__cta { justify-content: center; } }

.arc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 999px;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.arc-btn--solid { background: var(--violet); color: var(--bg); }
.arc-btn--solid:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(195, 130, 255, .5); }
.arc-btn--ghost { background: transparent; color: var(--violet-l); border: 1px solid var(--violet-d); }
.arc-btn--ghost:hover { background: rgba(195, 130, 255, .1); border-color: var(--violet); }

/* portrait */
.arc-hero__portrait { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.arc-portrait__img {
  width: 320px; height: 320px; border-radius: 50%; object-fit: cover;
  position: relative; z-index: 4;
  border: 2px solid rgba(195, 130, 255, .4);
  filter: contrast(110%) saturate(120%);
  transition: transform .5s var(--ease);
  box-shadow: 0 0 60px rgba(195, 130, 255, .3), inset 0 0 30px rgba(107, 43, 217, .2);
}
.arc-portrait__aura {
  position: absolute; inset: 0; margin: auto; width: 360px; height: 360px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--violet), var(--cyan), var(--magenta), var(--violet));
  z-index: 2; opacity: .25; filter: blur(30px);
  animation: arc-spin 12s linear infinite;
}
.arc-portrait__rune {
  position: absolute; border-radius: 50%; border: 1px solid var(--violet);
  z-index: 3; pointer-events: none;
}
.arc-portrait__rune--1 { inset: 0; margin: auto; width: 400px; height: 400px; opacity: .4; }
.arc-portrait__rune--2 { inset: 0; margin: auto; width: 450px; height: 450px; opacity: .25; border-style: dashed; animation: arc-spin 40s linear infinite; }
.arc-portrait__rune--3 { inset: 0; margin: auto; width: 510px; height: 510px; opacity: .15; border-style: dotted; animation: arc-spin 80s linear infinite reverse; }
.arc-portrait__label {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; padding: 6px 14px; z-index: 5;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 999px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--violet-l);
  text-transform: uppercase; white-space: nowrap;
}

/* hero radar sweep */
.arc-hero__radar { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(120vmin, 800px); height: min(120vmin, 800px); pointer-events: none; z-index: 1; opacity: .7; }
.arc-hero__radar svg { width: 100%; height: 100%; display: block; }
.arc-radar__ring { fill: none; stroke: rgba(195, 130, 255, .18); stroke-width: 1; }
.arc-radar__ring--1 { stroke-dasharray: 1 4; }
.arc-radar__ring--2 { stroke: rgba(0, 229, 255, .15); stroke-dasharray: 2 6; }
.arc-radar__ring--3 { stroke: rgba(255, 45, 146, .12); }
.arc-radar__cross { stroke: rgba(195, 130, 255, .1); stroke-width: .5; }
.arc-radar__sweep { transform-origin: 400px 400px; animation: arc-spin 6s linear infinite; }
.arc-radar__sweepArc { fill: url(#arcRadarSweep); opacity: .5; }
.arc-radar__blip { fill: var(--cyan); filter: drop-shadow(0 0 4px var(--cyan)); }
.arc-radar__blip--1 { animation: arc-blip 3s ease-in-out infinite; }
.arc-radar__blip--2 { fill: var(--magenta); filter: drop-shadow(0 0 4px var(--magenta)); animation: arc-blip 4s ease-in-out 1.2s infinite; }
.arc-radar__blip--3 { fill: var(--violet-l); filter: drop-shadow(0 0 4px var(--violet-l)); animation: arc-blip 5s ease-in-out 2.4s infinite; }
@keyframes arc-blip { 0%, 100% { opacity: 0; transform: scale(.5); transform-origin: center; } 30% { opacity: 1; transform: scale(1.2); } 60% { opacity: .4; } }
.arc-radar__blip { transform-origin: center; transform-box: fill-box; }

.arc-hero__scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--paper-x);
  text-transform: uppercase; z-index: 2;
}
.arc-hero__scrollLine {
  width: 1px; height: 40px; background: linear-gradient(180deg, var(--violet), transparent);
  position: relative; overflow: hidden;
}
.arc-hero__scrollLine::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 8px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: arc-scroll-dot 2s ease-in-out infinite;
}
@keyframes arc-scroll-dot {
  0% { top: -10%; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}
@media (max-width: 900px) { .arc-hero__scroll { display: none; } }

/* ============ SECTIONS (GENERIC) ============ */
.arc-sec {
  padding: 100px var(--pad); max-width: 1280px; margin: 0 auto;
  position: relative;
}
.arc-sec__head { margin-bottom: 60px; }
.arc-sec__mark { font-family: var(--mono); font-size: 11px; letter-spacing: 4px; color: var(--cyan); text-transform: uppercase; margin-bottom: 12px; }
.arc-sec__title {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: 1px;
  margin-bottom: 12px;
}
.arc-sec__title em {
  font-style: normal; color: var(--violet-l);
  text-shadow: 0 0 20px rgba(195, 130, 255, .5);
}
.arc-sec__sub { font-family: var(--body); font-size: 14px; color: var(--paper-d); max-width: 600px; }

/* ============ SPELL GRID ============ */
.arc-spell-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.arc-spell {
  position: relative; padding: 32px 24px; overflow: hidden;
  background: linear-gradient(135deg, rgba(195, 130, 255, .08), transparent 70%);
  border: 1px solid var(--violet-d);
  border-radius: 16px;
  transition: border-color .3s, transform .3s var(--ease), background .3s;
  opacity: 0; transform: translateY(30px);
  animation: arc-reveal .8s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
.arc-spell:hover { border-color: var(--violet); transform: translateY(-4px); background: linear-gradient(135deg, rgba(195, 130, 255, .15), transparent 70%); }
.arc-spell__rune { font-family: var(--serif); font-size: 36px; font-weight: 800; color: var(--violet-l); margin-bottom: 12px; line-height: 1; }
.arc-spell h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--paper); margin-bottom: 8px; letter-spacing: 1px; }
.arc-spell p { font-size: 14px; color: var(--paper-d); line-height: 1.55; }
.arc-spell__trail {
  position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-l), transparent);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
}
.arc-spell:hover .arc-spell__trail { transform: translateX(100%); }
@keyframes arc-reveal { to { opacity: 1; transform: translateY(0); } }

/* ============ OATH ============ */
.arc-oath { padding-bottom: 120px; }
.arc-oath__content { max-width: 760px; }
.arc-oath__quote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--violet-l); line-height: 1.25;
  margin-bottom: 16px; letter-spacing: 0;
  text-shadow: 0 0 30px rgba(195, 130, 255, .4);
}
.arc-oath__src { font-family: var(--mono); font-size: 12px; color: var(--paper-d); letter-spacing: 3px; margin-bottom: 36px; text-transform: uppercase; }
.arc-oath__body { font-size: 17px; color: var(--paper-d); line-height: 1.75; max-width: 640px; }

/* ============ GRIMOIRE ============ */
.arc-grim { list-style: none; counter-reset: gr; }
.arc-grim li {
  display: grid; grid-template-columns: 100px 1fr 100px; gap: 24px; align-items: center;
  padding: 22px 0; border-top: 1px solid var(--violet-d);
  position: relative; overflow: hidden;
  transition: background .2s, padding-left .3s var(--ease);
}
.arc-grim li:last-child { border-bottom: 1px solid var(--violet-d); }
.arc-grim li:hover { background: rgba(195, 130, 255, .04); padding-left: 12px; }
.arc-grim__date { font-family: var(--mono); font-size: 12px; color: var(--cyan); letter-spacing: 1.5px; }
.arc-grim__title { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--paper); margin-bottom: 4px; letter-spacing: .5px; }
.arc-grim__award { font-size: 13px; color: var(--paper-d); }
.arc-grim__tier {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  padding: 4px 10px; border: 1px solid var(--violet);
  color: var(--violet-l); text-align: center; border-radius: 4px;
}
@media (max-width: 600px) {
  .arc-grim li { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .arc-grim__tier { justify-self: start; }
}

/* ============ PATH (CAREER) ============ */
.arc-path { list-style: none; position: relative; padding-left: 30px; }
.arc-path::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--violet-d) 8%, var(--violet) 50%, var(--violet-d) 92%, transparent);
}
.arc-path li {
  position: relative; padding: 22px 0 22px 36px;
  border-bottom: 1px solid rgba(195, 130, 255, .12);
  opacity: 0; transform: translateX(-20px);
  animation: arc-reveal-x .7s var(--ease) forwards;
}
.arc-path li:last-child { border-bottom: none; }
.arc-path li:nth-child(1) { animation-delay: 0ms; }
.arc-path li:nth-child(2) { animation-delay: 80ms; }
.arc-path li:nth-child(3) { animation-delay: 160ms; }
.arc-path li:nth-child(4) { animation-delay: 240ms; }
.arc-path li:nth-child(5) { animation-delay: 320ms; }
.arc-path li::before {
  content: '✦'; position: absolute; left: -10px; top: 22px;
  font-family: var(--serif); font-size: 20px; color: var(--violet-l);
  text-shadow: 0 0 14px var(--violet);
  animation: arc-pulse 3s ease-in-out infinite;
}
@keyframes arc-pulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes arc-reveal-x { to { opacity: 1; transform: translateX(0); } }
.arc-path__period { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--cyan); margin-bottom: 6px; text-transform: uppercase; }
.arc-path__team { font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--violet-l); margin-bottom: 2px; letter-spacing: 1px; text-shadow: 0 0 10px rgba(195, 130, 255, .3); }
.arc-path__role { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--paper-d); margin-bottom: 10px; text-transform: uppercase; }
.arc-path__note { font-size: 15px; color: var(--paper-d); line-height: 1.6; }
@media (max-width: 600px) { .arc-path { padding-left: 22px; } .arc-path li { padding-left: 26px; } }

/* ============ FILTERS + GRID (SCROLLS) ============ */
.arc-filters { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.arc-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px;
  padding: 10px 18px; background: transparent; border: 1px solid var(--violet-d); color: var(--paper-d);
  text-transform: uppercase; border-radius: 999px; transition: all .2s;
}
.arc-chip:hover { color: var(--violet-l); border-color: var(--violet); }
.arc-chip.is-on { background: var(--violet); color: var(--bg); border-color: var(--violet); }

.arc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 40px; }
.arc-clip {
  position: relative; aspect-ratio: 9/14; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--violet-d);
  border-radius: 16px;
  display: block; cursor: pointer;
  transition: border-color .2s, transform .2s var(--ease);
}
.arc-clip:hover { border-color: var(--violet); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(195, 130, 255, .25); }
.arc-clip__thumb { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s var(--ease); }
.arc-clip:hover .arc-clip__thumb { transform: scale(1.08); }
.arc-clip__veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4, 0, 26, .95) 100%); }
.arc-clip__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--paper); z-index: 2; }
.arc-clip__id { background: rgba(0, 0, 0, .7); padding: 4px 8px; border: 1px solid var(--violet-d); border-radius: 4px; }
.arc-clip__dur { background: var(--violet); color: var(--bg); padding: 4px 8px; font-weight: 700; border-radius: 4px; }
.arc-clip__bot { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 14px; z-index: 2; }
.arc-clip__title {
  font-family: var(--body); font-size: 14px; line-height: 1.35; color: var(--paper);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px;
}
.arc-clip__meta { font-family: var(--mono); font-size: 10px; color: var(--violet-l); letter-spacing: 1.5px; display: flex; gap: 12px; }
.arc-clip__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border: 1.5px solid var(--violet-l); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .4); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .2s, transform .2s; z-index: 2;
}
.arc-clip__play::before { content: ''; width: 0; height: 0; border-left: 18px solid var(--violet-l); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.arc-clip:hover .arc-clip__play { opacity: .95; transform: translate(-50%, -50%) scale(1.05); }

.arc-grid__more { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.arc-foot { background: var(--bg-2); border-top: 1px solid var(--violet-d); padding: 60px var(--pad); margin-top: 80px; position: relative; overflow: hidden; }
.arc-foot::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
}
.arc-foot__inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.arc-foot__sigil { width: 50px; height: 50px; color: var(--violet); margin: 0 auto 16px; }
.arc-foot__name { font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: 4px; color: var(--violet-l); margin-bottom: 8px; }
.arc-foot__line { font-family: var(--serif); font-style: italic; color: var(--paper-d); margin-bottom: 12px; }
.arc-foot__src { font-family: var(--mono); font-size: 11px; color: var(--paper-x); letter-spacing: 1px; text-transform: uppercase; }
.arc-foot__src a { color: var(--cyan); }

/* ============ MODAL ============ */
.arc-modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; }
.arc-modal.is-on { display: flex; }
.arc-modal__bg { position: absolute; inset: 0; background: rgba(2, 1, 8, .94); backdrop-filter: blur(14px); }
.arc-modal__panel {
  position: relative; width: min(420px, 92vw); aspect-ratio: 9/16;
  background: var(--bg-2); border: 1px solid var(--violet);
  border-radius: 16px; max-height: 90vh; display: flex; flex-direction: column;
  box-shadow: 0 0 60px rgba(195, 130, 255, .3);
}
.arc-modal__close {
  position: absolute; top: -40px; right: 0;
  background: transparent; border: 1px solid var(--violet-d); color: var(--violet-l);
  width: 32px; height: 32px; font-size: 22px; line-height: 1; border-radius: 50%;
}
.arc-modal__title { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--violet-l); padding: 12px 16px; border-bottom: 1px solid var(--violet-d); }
.arc-modal__embed { position: relative; flex: 1; background: #000; min-height: 0; }
.arc-modal__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.arc-modal__stats { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--paper-d); padding: 12px 16px; border-top: 1px solid var(--violet-d); }
.arc-modal__stats b { color: var(--violet-l); margin-left: 4px; }
.arc-skel { position: absolute; inset: 0; background: radial-gradient(circle, rgba(195, 130, 255, .12), #000 70%); }

/* ============ MOBILE-SPECIFIC OVERRIDES ============ */
@media (max-width: 900px) {
  .arc-hero { padding: 32px var(--pad) 60px; min-height: auto; }
  .arc-hero__name { font-size: clamp(2.4rem, 11vw, 3.6rem) !important; }
  .arc-hero__oath { max-width: 100%; font-size: 16px; }
  .arc-hero__stats { padding-top: 20px; text-align: center; justify-items: center; }
  .arc-portrait__img { width: 240px; height: 240px; }
  .arc-portrait__aura { width: 280px; height: 280px; }
  .arc-portrait__rune--1 { width: 310px; height: 310px; }
  .arc-portrait__rune--2 { width: 350px; height: 350px; }
  .arc-portrait__rune--3 { width: 400px; height: 400px; }
  .arc-sec { padding: 60px var(--pad); }
  .arc-sec__head { margin-bottom: 36px; }
}
