/* ============================================================
   STARBOY — Dota 2 Esports Portfolio
   Design system: ui-ux-pro-max · product "Gaming"
   Palette : neon purple #7C3AED + rose #F43F5E on #0F0F23
   Type    : Russo One (display) + Chakra Petch (body)
   Pattern : Feature-Rich Showcase · motion-driven · block-based
   ============================================================ */

:root {
  --bg:        #0F0F23;
  --bg-deep:   #0A0A18;
  --surface:   #1E1C35;
  --surface-2: #27273B;
  --line:      rgba(167, 139, 250, .14);
  --primary:   #7C3AED;
  --accent:    #A78BFA;
  --rose:      #F43F5E;
  --danger:    #EF4444;
  --text:      #E2E8F0;
  --muted:     #94A3B8;
  --grad-hero: linear-gradient(135deg, #4C1D95 0%, #7C3AED 55%, #F43F5E 130%);
  --grad-text: linear-gradient(92deg, #A78BFA, #F43F5E);
  --font-display: 'Russo One', sans-serif;
  --font-body:    'Chakra Petch', sans-serif;
  --radius: 14px;
  --shadow-card: 0 10px 34px rgba(0,0,0,.45), 0 0 0 1px rgba(167,139,250,.08) inset;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
.hidden { display: none !important; }
.mono { font-family: var(--font-body); letter-spacing: 1px; }

.container { width: min(1140px, 92%); margin-inline: auto; }

/* ---------- ambient background ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#particles { position: absolute; inset: 0; opacity: .55; }
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .35; }
.glow-1 { width: 560px; height: 560px; background: var(--primary); top: -180px; left: -120px; }
.glow-2 { width: 520px; height: 520px; background: var(--rose); bottom: -220px; right: -140px; opacity: .18; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167,139,250,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4%;
  background: rgba(15,15,35,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--grad-hero); color: #fff;
  font-family: var(--font-display); font-size: 14px;
  border-radius: 10px; box-shadow: 0 0 18px rgba(124,58,237,.55);
}
.brand-name { font-family: var(--font-display); font-size: 15px; letter-spacing: 1.5px; color: #fff; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--rose); }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 28px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  letter-spacing: .6px; text-transform: uppercase;
  border-radius: 10px; border: 1px solid transparent;
  transition: transform .2s, box-shadow .25s, background .25s, color .2s;
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-primary {
  background: var(--grad-hero); color: #fff;
  box-shadow: 0 6px 22px rgba(124,58,237,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(244,63,94,.4); }
.btn-ghost {
  background: transparent; color: var(--accent);
  border-color: rgba(167,139,250,.4);
}
.btn-ghost:hover { background: rgba(124,58,237,.14); border-color: var(--accent); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px;
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 110px 0 90px; }
.hero-inner {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: 48px; align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 12px var(--rose); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 76px);
  letter-spacing: 2px; line-height: 1.08; color: #fff;
  position: relative; margin-bottom: 20px;
}
/* glitch — ui-ux-pro-max "Gaming" effect preset */
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: var(--bg); opacity: 0;
}
.glitch::before { color: var(--rose); animation: glitch-a 3.4s infinite steps(1); }
.glitch::after  { color: var(--accent); animation: glitch-b 3.4s infinite steps(1); }
@keyframes glitch-a {
  0%, 91%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  92% { opacity: .8; transform: translate(-4px, 2px); clip-path: inset(10% 0 55% 0); }
  94% { opacity: .8; transform: translate(3px, -1px); clip-path: inset(60% 0 8% 0); }
  96% { opacity: 0; }
}
@keyframes glitch-b {
  0%, 90%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  92% { opacity: .7; transform: translate(4px, -2px); clip-path: inset(45% 0 30% 0); }
  95% { opacity: .7; transform: translate(-3px, 1px); clip-path: inset(5% 0 70% 0); }
  97% { opacity: 0; }
}

.hero-sub { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-sub strong { color: var(--text); }
.accent-rose { color: var(--rose); }
.accent-violet { color: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-tickers {
  display: flex; gap: 38px; list-style: none;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.ticker-num {
  display: block; font-family: var(--font-display);
  font-size: 30px; color: #fff;
}
.ticker-label { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }

/* rank card */
.hero-card {
  position: relative; text-align: center;
  background: linear-gradient(160deg, rgba(30,28,53,.9), rgba(15,15,35,.95));
  border: 1px solid var(--line); border-radius: 20px;
  padding: 42px 30px; box-shadow: var(--shadow-card);
  overflow: hidden;
}
.rank-glow {
  position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(124,58,237,.35), transparent 40%);
  animation: spin 7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.rank-fallback {
  position: relative; font-family: var(--font-display);
  font-size: 40px; color: var(--accent); margin-bottom: 12px;
  text-shadow: 0 0 28px rgba(124,58,237,.9);
}
.rank-tier { position: relative; font-size: 11px; letter-spacing: 4px; color: var(--muted); }
.rank-name { position: relative; font-family: var(--font-display); font-size: 34px; color: #fff; margin: 4px 0 10px; }
.rank-name span { color: var(--rose); }
.rank-note { position: relative; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.rank-link { position: relative; font-size: 13px; letter-spacing: 1px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 26px; height: 44px; border: 2px solid var(--muted); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 9px;
  background: var(--rose); border-radius: 2px; transform: translateX(-50%);
  animation: drop 1.6s infinite;
}
@keyframes drop { 60% { transform: translate(-50%, 14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, rgba(30,28,53,.35), rgba(15,15,35,.1));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-kicker { color: var(--rose); font-size: 13px; letter-spacing: 4px; margin-bottom: 10px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px); letter-spacing: 1px; color: #fff;
  margin-bottom: 12px;
}
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { color: var(--muted); margin-bottom: 46px; max-width: 640px; }

/* ---------- stat cards ---------- */
.stat-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 26px;
}
.stat-card {
  background: linear-gradient(165deg, var(--surface), rgba(15,15,35,.9));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-card);
  transition: transform .25s, border-color .25s;
}
.stat-card:hover { transform: translateY(-5px); border-color: rgba(244,63,94,.4); }
.stat-label { font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.stat-value { font-family: var(--font-display); font-size: 40px; color: #fff; line-height: 1.1; }
.stat-value small { font-size: 16px; color: var(--muted); margin-left: 8px; font-family: var(--font-body); }
.stat-sep { color: var(--rose); margin: 0 6px; }
.stat-foot { color: var(--muted); font-size: 14px; margin: 10px 0 16px; }

.winbar {
  height: 10px; border-radius: 6px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
}
.winbar-fill {
  position: relative; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
  display: flex; align-items: center; justify-content: flex-end;
}
.winbar-fill.is-hot { background: linear-gradient(90deg, var(--primary), var(--rose)); }
.winbar-fill span {
  position: absolute; right: 0; top: -24px;
  font-size: 12px; color: var(--accent); letter-spacing: 1px; white-space: nowrap;
}
.winbar { margin-top: 26px; }

/* ---------- split panels ---------- */
.split-2 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.panel {
  background: linear-gradient(165deg, var(--surface), rgba(15,15,35,.9));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-card);
}
.panel-title { font-family: var(--font-display); font-size: 20px; color: #fff; margin-bottom: 22px; letter-spacing: 1px; }
.panel-sub { font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); margin: 26px 0 14px; }
.panel-note { color: var(--muted); font-size: 14px; margin-top: 22px; border-left: 2px solid var(--primary); padding-left: 14px; }

.role-row { display: grid; grid-template-columns: 110px 1fr 56px; align-items: center; gap: 14px; margin-bottom: 16px; }
.role-tag, .role-flag { font-size: 14px; color: var(--text); }
.role-bar { height: 12px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.role-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 1.1s cubic-bezier(.22,1,.36,1);
}
.role-bar i.is-rose { background: linear-gradient(90deg, var(--rose), var(--danger)); }
.role-bar i.is-violet { background: var(--primary); }
.role-pct { font-size: 13px; color: var(--muted); text-align: right; }

.pos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pos-chip {
  background: rgba(124,58,237,.1); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 8px; text-align: center;
  transition: background .2s, transform .2s;
}
.pos-chip:hover { background: rgba(124,58,237,.22); transform: translateY(-3px); }
.pos-chip b { display: block; font-size: 13px; color: var(--accent); }
.pos-chip span { font-family: var(--font-display); font-size: 18px; color: #fff; }

/* ---------- hero pool grid ---------- */
.hero-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.hero-card-h {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.hero-card-h:hover { transform: translateY(-6px) scale(1.02); border-color: rgba(244,63,94,.5); box-shadow: 0 14px 40px rgba(244,63,94,.18); }
.hero-card-h img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(1.1); }
.hero-card-h .h-fallback {
  aspect-ratio: 16/9; display: grid; place-items: center;
  background: var(--grad-hero); font-family: var(--font-display); font-size: 26px; color: #fff;
}
.h-body { padding: 16px; }
.h-name { font-family: var(--font-display); font-size: 15px; letter-spacing: .5px; color: #fff; margin-bottom: 10px; }
.h-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.h-meta b { color: var(--text); }
.h-meta .kda { color: var(--accent); font-weight: 600; }
.h-bar { height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.h-bar i {
  display: block; height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--rose));
  transition: width 1.1s cubic-bezier(.22,1,.36,1) .2s;
}
.h-bar.is-perfect i { background: linear-gradient(90deg, #F59E0B, var(--rose)); }
.h-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(10,10,24,.85); border: 1px solid var(--line);
  color: var(--accent); font-size: 11px; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 6px; backdrop-filter: blur(4px);
}
.h-badge.gold { color: #FBBF24; border-color: rgba(251,191,36,.4); }

/* ---------- match table ---------- */
.match-table-wrap {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
  background: linear-gradient(165deg, var(--surface), rgba(15,15,35,.9));
  overflow-x: auto;
}
.match-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.match-table th {
  text-align: left; font-size: 11.5px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--muted); padding: 16px 20px; background: rgba(15,15,35,.6);
  border-bottom: 1px solid var(--line);
}
.match-table td { padding: 14px 20px; border-bottom: 1px solid rgba(167,139,250,.07); font-size: 15px; }
.match-table tr:last-child td { border-bottom: 0; }
.match-table tbody tr { transition: background .2s; }
.match-table tbody tr:hover { background: rgba(124,58,237,.1); }

.m-hero { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.m-hero img { width: 52px; height: 30px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.kda-good { color: #4ADE80; }
.kda-bad  { color: var(--muted); }
.result-w { color: #4ADE80; font-weight: 700; letter-spacing: 1px; }
.result-l { color: var(--danger); font-weight: 700; letter-spacing: 1px; }
.mode-tag {
  font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px;
}
.win-pill, .loss-pill {
  display: inline-grid; place-items: center; width: 20px; height: 20px;
  border-radius: 5px; font-size: 12px; font-weight: 700; color: #fff;
}
.win-pill { background: #16A34A; } .loss-pill { background: var(--danger); }

/* row affordance: klik untuk details */
.match-table tbody tr { cursor: pointer; }
.row-more {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(124,58,237,.16); color: var(--accent);
  font-size: 17px; font-weight: 700; line-height: 1;
  transition: background .2s, color .2s, transform .2s;
}
.match-table tbody tr:hover .row-more { background: var(--primary); color: #fff; transform: scale(1.1); }

/* ---------- match detail modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 20px;
  background: rgba(10,10,24,.82); backdrop-filter: blur(6px);
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.modal {
  position: relative; width: min(620px, 100%);
  max-height: 90vh; overflow-y: auto;
  background: linear-gradient(165deg, var(--surface), var(--bg-deep));
  border: 1px solid rgba(167,139,250,.3); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(124,58,237,.25);
  animation: popIn .3s cubic-bezier(.22,1,.36,1);
}
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.m-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(15,15,35,.8); border: 1px solid var(--line);
  color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.m-close:hover { color: var(--rose); border-color: var(--rose); }
.m-head {
  display: grid; grid-template-columns: 150px 1fr auto;
  gap: 18px; align-items: center;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.m-head.is-win  { background: linear-gradient(120deg, rgba(22,163,74,.16), transparent 60%); }
.m-head.is-loss { background: linear-gradient(120deg, rgba(239,68,68,.16), transparent 60%); }
.m-head img { width: 150px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.m-result { font-weight: 700; letter-spacing: 2px; font-size: 14px; }
.m-when { color: var(--muted); font-weight: 400; letter-spacing: .5px; text-transform: none; }
.m-hero-name { font-family: var(--font-display); font-size: 26px; color: #fff; margin: 4px 0 6px; }
.m-sub { color: var(--muted); font-size: 13px; }
.m-kda { text-align: right; font-family: var(--font-display); font-size: 30px; color: #fff; }
.m-kda i { color: var(--muted); font-style: normal; margin: 0 4px; }
.m-kda .m-death { color: var(--rose); }
.m-kda small { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: 2px; color: var(--accent); margin-top: 4px; }

.m-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; padding: 20px 24px 6px;
}
.ms-item {
  background: rgba(124,58,237,.1); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 10px; text-align: center;
}
.ms-item b { display: block; font-family: var(--font-display); font-size: 17px; color: #fff; margin-bottom: 4px; }
.ms-item span { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.m-links { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px 24px 24px; }

@media (max-width: 640px) {
  .m-head { grid-template-columns: 1fr; text-align: center; }
  .m-head img { margin-inline: auto; }
  .m-kda { text-align: center; }
  .m-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.about-photo { position: relative; }
.photo-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transform: rotate(-2deg);
}
.photo-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(124,58,237,.22), transparent 45%, rgba(244,63,94,.18));
}
.photo-deco {
  position: absolute; inset: 0; transform: rotate(3deg);
  border: 2px solid rgba(244,63,94,.5); border-radius: 18px; z-index: -1;
}
.about-copy p { color: var(--muted); margin-bottom: 18px; font-size: 16.5px; }
.about-copy p b { color: var(--text); }
.about-list { list-style: none; margin: 26px 0 32px; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check {
  flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center;
  background: rgba(124,58,237,.2); color: var(--accent);
  border-radius: 7px; font-size: 13px; margin-top: 2px;
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg-deep); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer-brand { font-family: var(--font-display); letter-spacing: 2px; }
.footer-brand em { font-style: normal; color: var(--rose); }
.footer-note { color: var(--muted); font-size: 13.5px; max-width: 560px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 380px; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; margin-inline: auto; }
  .pos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 66px; right: 0; left: 0;
    flex-direction: column; gap: 4px; padding: 18px 6% 24px;
    background: rgba(10,10,24,.97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 0; }
  .hero-tickers { flex-wrap: wrap; gap: 22px; }
  .role-row { grid-template-columns: 96px 1fr 48px; }
}

/* ---------- accessibility (ui-ux-pro-max checklist) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
