/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
  --bg:      #08080f;
  --glass:   rgba(255,255,255,0.06);
  --glh:     rgba(255,255,255,0.10);
  --gb:      rgba(255,255,255,0.10);
  --gbh:     rgba(255,255,255,0.22);
  --text:    #ffffff;
  --sub:     rgba(255,255,255,0.55);
  --accent:  #BF5AF2;
  --glow:    rgba(191,90,242,0.28);
  --r:       16px;
  --rs:      10px;
  --sb-w:    68px;
  --f:       "Plus Jakarta Sans", sans-serif;
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* ═══════════════════════════════════════════
   BOKEH BACKGROUND
═══════════════════════════════════════════ */
#bg {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.15;
  animation: drift 22s ease-in-out infinite alternate;
}
.o1 { width: 600px; height: 600px; background: radial-gradient(circle, #BF5AF2, transparent); top: -150px; left: -100px; }
.o2 { width: 450px; height: 450px; background: radial-gradient(circle, #7c3aed, transparent); top: 30%; right: -80px; animation-duration: 27s; animation-direction: alternate-reverse; }
.o3 { width: 400px; height: 400px; background: radial-gradient(circle, #4f46e5, transparent); bottom: -80px; left: 35%; animation-duration: 19s; }
@keyframes drift { to { transform: translate(40px, 30px); } }

/* ═══════════════════════════════════════════
   CURSOR
═══════════════════════════════════════════ */
#cur  { position: fixed; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); }
#curR { position: fixed; width: 28px; height: 28px; border: 1.5px solid rgba(191,90,242,0.5); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); }

/* ═══════════════════════════════════════════
   LOADER
═══════════════════════════════════════════ */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
#lw {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 300; color: #fff; font-style: italic;
  letter-spacing: -0.02em; min-height: 64px;
  display: flex; align-items: center; justify-content: center;
}
#lb {
  width: 90px; height: 1px;
  background: rgba(255,255,255,0.12);
  position: relative; overflow: hidden;
}
#lb::after {
  content: ""; position: absolute; left: 0; top: 0;
  height: 100%; width: 0; background: var(--accent);
  animation: lbar 4s ease forwards;
}
@keyframes lbar { to { width: 100%; } }
#ldot {
  width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
  animation: lpulse 0.9s ease infinite;
}
@keyframes lpulse { 0%,100% { opacity:.3; transform:scale(1); } 50% { opacity:1; transform:scale(1.4); } }

/* ═══════════════════════════════════════════
   PAGE LAYOUT  —  flex row, sidebar + main
═══════════════════════════════════════════ */
#app {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  position: relative; z-index: 1;
}

/* ── SIDEBAR ── */
#sb {
  position: fixed;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: var(--sb-w);
  background: var(--glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--gb);
  border-radius: 32px;
  z-index: 100;
  padding: 16px 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  opacity: 0; transition: opacity 0.4s;
}
.ni {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: none; color: var(--sub); font-size: 16px;
  border: none; background: transparent;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.ni:hover { background: var(--glh); color: var(--text); transform: scale(1.12); }
.ni.on    { background: var(--accent); color: #fff; box-shadow: 0 0 18px var(--glow); }
.tip {
  position: absolute; left: calc(100% + 10px);
  background: rgba(0,0,0,0.88); backdrop-filter: blur(10px);
  border: 1px solid var(--gb); color: #fff;
  font-size: 11px; font-weight: 500; padding: 4px 10px;
  border-radius: 7px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.ni:hover .tip { opacity: 1; }
.nd { width: 20px; height: 1px; background: var(--gb); margin: 3px 0; }

/* ── MAIN ── */
#main {
  flex: 1;
  margin-left: calc(var(--sb-w) + 24px);
  padding: 16px 16px 16px 0;
  min-width: 0; /* prevents flex blowout */
}

/* ═══════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════ */
#tb {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--glass); backdrop-filter: blur(24px);
  border: 1px solid var(--gb); border-radius: var(--r);
  padding: 8px 14px; margin-bottom: 16px;
  opacity: 0;
}
.tabs { display: flex; gap: 3px; flex-wrap: nowrap; }
.tab {
  padding: 6px 13px; border-radius: var(--rs);
  border: none; background: transparent;
  color: var(--sub); font-family: var(--f);
  font-size: 13px; font-weight: 500; cursor: none;
  transition: all 0.22s; white-space: nowrap;
}
.tab:hover { color: var(--text); background: var(--glh); }
.tab.on {
  background: rgba(191,90,242,0.15);
  color: var(--accent);
  border: 1px solid rgba(191,90,242,0.25);
}
#ntog {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--gb);
  display: flex; align-items: center; justify-content: center;
  cursor: none; font-size: 14px; color: var(--sub);
  transition: all 0.22s; flex-shrink: 0;
}
#ntog:hover { background: var(--glh); color: var(--text); }

/* ═══════════════════════════════════════════
   HERO BANNER
═══════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #0d0d1a, #130e38);
  opacity: 0;

  /* flex to lay out children */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* default state — GOOFY centered */
#hero-def {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 0 180px 0 40px; /* leave room for badge on right */
  z-index: 2;
  position: relative;
}

/* GOOFY text — proven gradient approach */
.bname {
  display: inline-block;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  /* gradient text */
  background: linear-gradient(135deg, #ffffff 0%, #BF5AF2 65%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.broles {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
}
.brc {
  padding: 4px 11px; border-radius: 20px; font-size: 11px; font-weight: 500;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
}

/* pinned video iframe layer */
#hpin {
  position: absolute; inset: 0; display: none; z-index: 0;
}
#hpin iframe { width: 100%; height: 100%; border: none; pointer-events: none; opacity: 0.4; }

/* pinned overlay gradient */
#hov {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,0.88) 40%, rgba(0,0,0,0.05) 100%);
  display: flex; align-items: flex-end; padding: 28px;
}
.hm { max-width: 480px; }
.hey { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.htit { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.hdesc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 16px; }
.hacts { display: flex; gap: 10px; }
.btnp {
  padding: 10px 20px; border-radius: var(--rs); border: none;
  background: var(--accent); color: #fff; font-family: var(--f);
  font-size: 12px; font-weight: 700; cursor: none;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.btnp:hover { transform: scale(1.06); box-shadow: 0 6px 22px var(--glow); }
.btns {
  padding: 10px 20px; border-radius: var(--rs);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-family: var(--f); font-size: 12px; font-weight: 600;
  cursor: none; transition: all 0.25s;
}
.btns:hover { background: rgba(255,255,255,0.16); }

/* name badge — top right of hero */
#hbadge {
  position: absolute; top: 16px; right: 16px;
  text-align: right; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  max-width: 220px;
}
.hbn { font-size: clamp(1rem, 1.8vw, 1.5rem); font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.hbrc {
  font-size: 10px; color: rgba(255,255,255,0.55);
  padding: 2px 8px; border-radius: 12px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
}

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.sec { display: none; }
.sec.on { display: block; }

.sh {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.stit { font-size: 17px; font-weight: 700; }
.sa {
  font-size: 11px; font-weight: 600; color: var(--sub);
  background: var(--glass); border: 1px solid var(--gb);
  padding: 4px 12px; border-radius: 20px; cursor: none; transition: all 0.22s;
}
.sa:hover { color: var(--text); background: var(--glh); }
.cw { margin-bottom: 28px; }
.swiper { overflow: visible !important; }

/* ═══════════════════════════════════════════
   VIDEO CARD
═══════════════════════════════════════════ */
.vc {
  border-radius: var(--r); overflow: hidden;
  background: var(--glass); backdrop-filter: blur(20px);
  border: 1px solid var(--gb);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  cursor: none;
}
.vc:hover {
  border-color: var(--gbh);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px var(--glow);
}
.vthumb { width: 100%; aspect-ratio: 16/9; position: relative; overflow: hidden; background: #0d0d1a; }
.vthumb canvas { width: 100%; height: 100%; display: block; }
.vover {
  position: absolute; inset: 0; background: rgba(0,0,0,0);
  transition: background 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.vc:hover .vover { background: rgba(0,0,0,0.32); }
.pb {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  color: #000; font-size: 15px;
}
.vc:hover .pb { opacity: 1; transform: scale(1); }
.pinbadge {
  position: absolute; top: 8px; left: 8px;
  background: var(--accent); color: #fff;
  font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 12px;
}
.vinfo { padding: 11px; }
.vtit {
  font-size: 12px; font-weight: 600; line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vmeta { font-size: 10px; color: var(--sub); }
.protlay { position: absolute; inset: 0; z-index: 10; user-select: none; -webkit-user-select: none; }

/* ═══════════════════════════════════════════
   DESIGN CARD
═══════════════════════════════════════════ */
.dc {
  border-radius: var(--r); overflow: hidden;
  background: var(--glass); backdrop-filter: blur(20px);
  border: 1px solid var(--gb);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  cursor: none; aspect-ratio: 4/3; position: relative;
}
.dc:hover {
  border-color: var(--gbh);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px var(--glow);
}
.dc canvas { width: 100%; height: 100%; display: block; }
.dov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 11px;
}
.dc:hover .dov { opacity: 1; }
.dname { font-size: 12px; font-weight: 600; color: #fff; }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
#agrid { display: grid; grid-template-columns: 280px 1fr; gap: 18px; }
.acard {
  background: var(--glass); backdrop-filter: blur(20px);
  border: 1px solid var(--gb); border-radius: var(--r); padding: 22px;
}
.aphoto {
  width: 100%; aspect-ratio: 1; border-radius: var(--r);
  background: linear-gradient(135deg, rgba(191,90,242,0.2), rgba(124,58,237,0.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; margin-bottom: 16px;
}
.aname  { font-size: 22px; font-weight: 800; margin-bottom: 3px; }
.anick  { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.astats { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.asv    { font-size: 17px; font-weight: 800; color: var(--accent); }
.asl    { font-size: 10px; color: var(--sub); font-weight: 500; }
.atag   { font-size: 19px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.abio   { font-size: 13px; color: rgba(255,255,255,0.68); line-height: 1.85; margin-bottom: 16px; }
.aquote {
  font-size: 14px; font-style: italic; font-weight: 500; color: var(--accent);
  padding: 12px; border-left: 3px solid var(--accent);
  background: rgba(191,90,242,0.08); border-radius: 0 var(--rs) var(--rs) 0; margin-bottom: 16px;
}
.nwrap  { display: flex; flex-wrap: wrap; gap: 6px; }
.ntag {
  padding: 4px 11px; border-radius: 20px; font-size: 11px; font-weight: 500;
  background: var(--glass); border: 1px solid var(--gb); color: var(--sub); transition: all 0.22s;
}
.ntag:hover { border-color: var(--accent); color: var(--accent); }
.alinks { display: flex; gap: 8px; margin-top: 16px; }
.alink {
  padding: 6px 12px; border-radius: var(--rs);
  background: var(--glass); border: 1px solid var(--gb);
  color: var(--sub); font-size: 11px; font-weight: 500;
  text-decoration: none; cursor: none; transition: all 0.22s;
}
.alink:hover { background: var(--glh); color: var(--text); }

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
#sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 12px; }
.scard {
  background: var(--glass); backdrop-filter: blur(20px);
  border: 1px solid var(--gb); border-radius: var(--r);
  padding: 20px; transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1); cursor: none;
}
.scard:hover { transform: translateY(-4px); border-color: var(--gbh); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.sicon  { font-size: 1.7rem; margin-bottom: 10px; }
.stitle { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.sdesc  { font-size: 11px; color: var(--sub); line-height: 1.6; }

/* ═══════════════════════════════════════════
   TIMELINE
═══════════════════════════════════════════ */
#tlwrap { position: relative; padding-left: 26px; }
#tlwrap::before {
  content: ""; position: absolute; left: 5px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--accent), transparent);
}
.titem  { position: relative; margin-bottom: 20px; }
.tdot {
  position: absolute; left: -22px; top: 4px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg);
  box-shadow: 0 0 8px var(--glow);
}
.tcard {
  background: var(--glass); backdrop-filter: blur(20px);
  border: 1px solid var(--gb); border-radius: var(--rs);
  padding: 16px; transition: border-color 0.25s;
}
.tcard:hover { border-color: var(--gbh); }
.tdate  { font-size: 10px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.ttitle { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.tdesc  { font-size: 11px; color: var(--sub); line-height: 1.6; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#ctwrap { display: flex; flex-wrap: wrap; gap: 14px; }
.ccard {
  background: var(--glass); backdrop-filter: blur(20px);
  border: 1px solid var(--gb); border-radius: var(--r);
  padding: 22px; text-align: center; min-width: 160px;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1); cursor: none;
}
.ccard:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 30px var(--glow); }
.cicon  { font-size: 1.7rem; margin-bottom: 8px; }
.clabel { font-size: 10px; font-weight: 700; color: var(--sub); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.cval   { font-size: 13px; font-weight: 600; word-break: break-all; }

/* ═══════════════════════════════════════════
   VIDEO / IMAGE MODAL
═══════════════════════════════════════════ */
#vm {
  position: fixed; inset: 0; z-index: 5000;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(22px);
}
#vm.on { display: flex; }
#vmbox {
  width: min(860px, 92vw);
  background: rgba(10,10,16,0.96); border: 1px solid var(--gb);
  border-radius: var(--r); overflow: hidden; position: relative;
}
#vmclose {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid var(--gb);
  color: #fff; font-size: 14px; cursor: none; z-index: 2;
  display: flex; align-items: center; justify-content: center; transition: background 0.22s;
}
#vmclose:hover { background: rgba(255,255,255,0.2); }
#vmplayer { width: 100%; aspect-ratio: 16/9; }
#vmplayer iframe { width: 100%; height: 100%; border: none; }
#vminfo  { padding: 16px; }
#vmtitle { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
#vmdesc  { font-size: 11px; color: var(--sub); line-height: 1.6; }

/* ═══════════════════════════════════════════
   ADMIN PORTAL
═══════════════════════════════════════════ */
#portal {
  position: fixed; inset: 0; z-index: 8000;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.96); backdrop-filter: blur(30px);
}
#portal.on { display: flex; }
#pring {
  width: 260px; height: 260px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  animation: pp 2.5s ease infinite; position: relative;
}
@keyframes pp { 0%,100% { box-shadow: 0 0 40px var(--glow); } 50% { box-shadow: 0 0 80px var(--glow); } }
#pinner {
  background: rgba(8,8,15,0.98); border: 1px solid var(--gb);
  border-radius: var(--r); padding: 32px; text-align: center; width: 230px;
}
#ptitle { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
#psub   { font-size: 11px; color: var(--sub); margin-bottom: 20px; line-height: 1.6; }
#gsbtn {
  width: 100%; padding: 12px; border-radius: var(--rs);
  background: rgba(255,255,255,0.07); border: 1px solid var(--gb);
  color: #fff; font-family: var(--f); font-size: 12px; font-weight: 600;
  cursor: none; transition: all 0.25s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
#gsbtn:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.22); }
#pclose {
  position: absolute; top: -42px; right: 0;
  color: var(--sub); font-size: 11px; cursor: none;
  background: none; border: none; font-family: var(--f);
}

/* ═══════════════════════════════════════════
   TOAST
═══════════════════════════════════════════ */
#toast {
  position: fixed; top: 18px; right: 18px; z-index: 9000;
  background: rgba(10,10,16,0.96); backdrop-filter: blur(20px);
  border: 1px solid var(--gb); border-radius: var(--rs);
  padding: 10px 16px; font-size: 12px; font-weight: 500;
  transform: translateY(-60px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); pointer-events: none;
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast.ok   { border-color: rgba(34,197,94,0.4);  color: #4ade80; }
#toast.err  { border-color: rgba(239,68,68,0.4);  color: #f87171; }

/* ═══════════════════════════════════════════
   SKELETON + EMPTY STATE
═══════════════════════════════════════════ */
.sk {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%; animation: sk 1.5s infinite; border-radius: var(--r);
}
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.es     { text-align: center; padding: 40px 20px; color: var(--sub); }
.esico  { font-size: 2.2rem; margin-bottom: 12px; opacity: 0.5; }

/* ═══════════════════════════════════════════
   NIGHT MODE
═══════════════════════════════════════════ */
body.nite {
  --bg:    #030308;
  --glass: rgba(255,255,255,0.04);
  --glh:   rgba(255,255,255,0.07);
  --gb:    rgba(255,255,255,0.07);
}

/* ═══════════════════════════════════════════
   PROTECTION
═══════════════════════════════════════════ */
body.dopen .prot { filter: blur(18px); pointer-events: none; }

/* ═══════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(191,90,242,0.35); border-radius: 2px; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  #agrid { grid-template-columns: 220px 1fr; }
}
@media (max-width: 768px) {
  :root { --sb-w: 0px; }
  #sb   { display: none; }
  #main { margin-left: 0; padding: 12px; }
  #agrid { grid-template-columns: 1fr; }
  #hbadge { display: none; }
  #hero-def { padding: 0 20px; }
  .tabs { gap: 2px; }
  .tab  { padding: 5px 9px; font-size: 12px; }
}
@media (max-width: 480px) {
  .bname { font-size: 2.4rem; }
  #hero  { height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
