:root {
  --bg: #03050d;
  --bg2: rgba(8, 14, 34, .75);
  --card: rgba(11, 18, 42, .62);
  --card2: rgba(20, 34, 80, .7);
  --line: rgba(110, 170, 255, .14);
  --line2: rgba(130, 190, 255, .26);
  --text: #f4f4f5;
  --muted: #93a3c9;
  --lime: #2f8bff;
  --lime2: #7fe3ff;
  --lime-dk: #1846c9;
  --green: #49e6ff;
  --light: linear-gradient(135deg, #0e1f5c 0%, #1a1468 55%, #0b3a7a 100%);
  --r: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Geist, system-ui, sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--lime); color: #111; }

main, .nav .links { transition: opacity .16s, filter .16s; }
body.swapping main, body.swapping .nav .links { opacity: 0; filter: blur(4px); }

.silver {
  background: linear-gradient(180deg, #ffffff 15%, #c9d8ff 55%, #6f86c4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lime {
  background: linear-gradient(180deg, var(--lime2), var(--lime) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* announcement bar */
.bar {
  display: flex; align-items: center; gap: 10px; padding: 9px clamp(16px, 3.6vw, 52px);
  background: #060c24; border-bottom: 1px solid rgba(110,170,255,.2); color: #8fd8ff; font-size: 14px;
}
.bdot { width: 6px; height: 6px; border-radius: 50%; background: #8fd8ff; flex: none; }
.bar-x { margin-left: auto; color: #8fd8ff; font-size: 14px; padding: 2px 6px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 24px;
  height: 72px; padding: 0 clamp(16px, 3.6vw, 52px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.nav.stuck { background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; }
.mark {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--lime); color: #111; font: 800 20px/1 Geist, system-ui, sans-serif;
}
.word { font: 800 21px/1 Geist, system-ui, sans-serif;  letter-spacing: .01em; }
.links { display: flex; gap: 28px; margin: 0 auto; }
.links a { color: var(--muted); font-size: 15px; transition: color .2s; }
.links a:hover { color: var(--text); }
.right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.links + .right { margin-left: 0; }

.lang {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px;
  border: 1px solid var(--line2); border-radius: 999px; background: var(--card);
}
.lang button {
  position: relative; z-index: 1; width: 46px; height: 34px; border-radius: 999px;
  font-weight: 600; font-size: 13px; color: var(--muted); transition: color .25s;
}
.lang button[aria-pressed="true"] { color: #111; }
.lang i {
  position: absolute; top: 3px; left: 3px; width: 46px; height: 34px; border-radius: 999px;
  background: var(--lime); box-shadow: 0 0 18px rgba(47, 139, 255, .35);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.lang[data-active="es"] i { transform: translateX(46px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; font-weight: 600;
  padding: 16px 30px; font-size: 17px; transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn-lime {
  color: #111; background: linear-gradient(180deg, var(--lime2), var(--lime));
  box-shadow: 0 4px 0 var(--lime-dk), 0 10px 34px rgba(47, 139, 255, .22);
}
.btn-lime:hover { filter: brightness(1.05); box-shadow: 0 4px 0 var(--lime-dk), 0 12px 44px rgba(47, 139, 255, .38); }
.btn-lime:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lime-dk), 0 6px 20px rgba(47, 139, 255, .2); }
.btn-sm { padding: 10px 18px; font-size: 14px; box-shadow: 0 3px 0 var(--lime-dk), 0 6px 24px rgba(47, 139, 255, .2); }
.btn-lg { padding: 20px 40px; font-size: 19px; }
.ghost { color: var(--muted); font-weight: 500; font-size: 17px; transition: color .2s; }
.ghost:hover { color: var(--text); }

/* hero */
.hero {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  max-width: 1440px; margin: 0 auto; padding: 56px clamp(16px, 3.6vw, 52px) 80px;
  min-height: calc(100svh - 110px);
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 40%; z-index: -1;
  background: radial-gradient(60% 60% at 60% 45%, #232326 0%, transparent 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line2); background: var(--card); color: var(--muted); font-size: 14px; margin-bottom: 26px;
}
.gdot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.h-hero {
  font: 800 clamp(64px, 9.2vw, 138px)/.9 Geist, system-ui, sans-serif;  letter-spacing: -.005em;
}
.h-hero span { display: block; }
.h-hero .lime { font-size: .62em; line-height: .95; margin-top: 14px; max-width: 12em; padding-bottom: .06em; }
.lead { max-width: 520px; margin: 30px 0 38px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.hero-art {
  --px: 0; --py: 0;
  position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 4 / 5;
}
.portrait {
  position: absolute; inset: 0; border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, #0a1230, #050817); border: 1px solid var(--line2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  display: grid; place-items: center;
}
.portrait::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%);
}
.halo {
  position: absolute; width: 78%; aspect-ratio: 1; top: 50%; left: 50%; translate: -50% -56%; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 139, 255, .38), rgba(47, 139, 255, .08) 45%, transparent 70%);
  filter: blur(10px);
}
.ring {
  position: absolute; width: 74%; aspect-ratio: 1; top: 50%; left: 50%; translate: -50% -56%; border-radius: 50%;
  border: 1.5px dashed rgba(47, 139, 255, .55); animation: spin 40s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.face {
  position: relative; width: 62%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; translate: 0 -6%;
  border: 3px solid var(--lime); box-shadow: 0 0 0 8px rgba(47, 139, 255, .12), 0 30px 80px rgba(0, 0, 0, .55);
  background: #0a1230;
}
.face img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: 50% 30%; }
.tagline { position: absolute; top: 22px; left: 24px; color: var(--muted); font-size: 12px; letter-spacing: .14em; }
.glass {
  position: absolute; z-index: 2; border-radius: 22px; padding: 14px;
  background: rgba(30, 30, 33, .62); border: 1px solid var(--line2);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.g-roles { left: -14%; top: 54%; width: 290px; }
.g-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.g-head b { color: var(--text); font-weight: 500; }
.role-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rc {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px;
  height: 78px; padding: 8px 4px; border-radius: 14px; font-size: 12px; font-weight: 600;
  background: #e9f0ff; color: #111; border: 2px solid transparent; transition: border-color .3s, transform .3s;
}
.rc-ic { font-size: 26px; line-height: 1; }
.rc.on { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(47, 139, 255, .25); transform: translateY(-2px); }
.rc-chk {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime); color: #111; font-size: 11px; font-style: normal; display: grid; place-items: center; font-weight: 800;
}
.g-status {
  right: -8%; bottom: 6%; display: flex; align-items: center; gap: 14px; border-radius: 999px; padding: 12px 20px;
  font-size: 14px; white-space: nowrap;
}
.g-status b { font-weight: 600; }
.sep { width: 1px; height: 14px; background: var(--line2); }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font: 500 12px 'Geist Mono', monospace; letter-spacing: .1em;  }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.scroll-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 15px; display: flex; gap: 6px; align-items: center;
}

/* sections */
.section { max-width: 1440px; margin: 0 auto; padding: 130px clamp(16px, 3.6vw, 52px) 0; }
.h2 {
  font: 800 clamp(48px, 7vw, 100px)/.92 Geist, system-ui, sans-serif; 
  padding-bottom: .05em;
}
.center { text-align: center; margin-bottom: 56px; }
.split-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.side { color: var(--muted); max-width: 380px; text-align: right; font-size: 16px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px 30px;
  transition: border-color .2s, transform .2s;
}
.stat:hover { border-color: var(--line2); transform: translateY(-3px); }
.stat small { display: block; color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.stat b { font: 600 clamp(44px, 4.6vw, 62px)/1 Geist, sans-serif; letter-spacing: -.03em; }
.stat:first-child b { color: var(--lime); }

/* experience */
.exp { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: stretch; }
.exp-rail { display: flex; flex-direction: column; gap: 10px; }
.rail-item {
  position: relative; display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 20px 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.rail-item::before {
  content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px;
  background: var(--lime); opacity: 0; transition: opacity .2s;
}
.rail-item:hover { border-color: var(--line2); }
.rail-item[aria-selected="true"] { background: var(--card2); border-color: rgba(47, 139, 255, .45); }
.rail-item[aria-selected="true"]::before { opacity: 1; }
.r-num { color: var(--muted); font-size: 13px; }
.rail-item[aria-selected="true"] .r-num { color: var(--lime); }
.r-txt { display: flex; flex-direction: column; min-width: 0; }
.r-txt b { font: 800 22px/1.05 Geist, system-ui, sans-serif;  }
.r-txt small { color: var(--muted); font-size: 13px; margin-top: 4px; }
.r-now {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; flex: none;
  color: var(--green); font: 500 11px 'Geist Mono', monospace; letter-spacing: .1em; 
}
.r-now i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.exp-panel { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; }
.exp-panel.swap-in { animation: swapIn .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } }
.ep-top {
  position: relative; display: flex; justify-content: space-between; align-items: flex-end;
  min-height: 190px; padding: 26px 30px; background: var(--light); color: #111; overflow: hidden;
}
.ep-big {
  position: absolute; right: 22px; top: -18px; font: 800 210px/1 Geist, system-ui, sans-serif;
  color: rgba(0, 0, 0, .07); letter-spacing: -.02em; pointer-events: none;
}
.ep-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 7px 14px; border-radius: 999px; background: var(--lime); color: #111; font-weight: 600; font-size: 13px; }
.pill-dark { background: #111; color: #fff; font-size: 12px; }
.ep-bot { padding: 28px 30px 34px; }
.ep-bot small { color: var(--muted); font-size: 13px; }
.ep-bot h3 { font: 800 clamp(32px, 3.4vw, 46px)/1 Geist, system-ui, sans-serif;  margin: 10px 0 6px; }
.ep-co { color: var(--lime); font-weight: 500; font-size: 15px; margin-bottom: 22px; letter-spacing: .02em; }
.ep-bot ul { list-style: none; display: grid; gap: 10px; }
.ep-bot li {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px;
  background: var(--bg2); border: 1px solid var(--line); color: #d6d6da; font-size: 15.5px;
}
.chk {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--lime); color: #111;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}

/* statement */
.statement {
  position: relative; border-radius: 32px; padding: clamp(32px, 6vw, 80px);
  background: radial-gradient(80% 120% at 0% 0%, #12235e 0%, var(--card) 60%); border: 1px solid var(--line);
}
.pill-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(47, 139, 255, .4);
  color: var(--lime); font: 500 12px 'Geist Mono', monospace; letter-spacing: .12em;  margin-bottom: 26px;
}
.statement p {
  font: 700 clamp(28px, 3.6vw, 52px)/1.08 Geist, system-ui, sans-serif;  max-width: 26ch;
  background: linear-gradient(180deg, #ffffff 20%, #b9ccff 60%, #6f86c4); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* education */
.edu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.edu { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.edu:hover { transform: translateY(-4px); border-color: var(--line2); }
.edu-top {
  height: 150px; background: var(--light); color: #111; display: flex; justify-content: space-between; align-items: flex-start; padding: 18px;
}
.edu-year { background: #111; color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12px; }
.edu-ic {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; align-self: flex-end;
  background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.edu-bot { padding: 20px 20px 26px; }
.edu-bot small { color: var(--muted); font-size: 12px; }
.edu-bot h3 { font: 800 23px/1.05 Geist, system-ui, sans-serif;  margin: 8px 0 10px; }
.edu-bot p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* skills */
.skill-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1080px; margin: 0 auto; }
.tick {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-weight: 500; font-size: 16px;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.tick i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.tick:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.lang-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.lc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.lc-head b { font: 800 26px/1 Geist, system-ui, sans-serif;  }
.lc-head span { color: var(--muted); font-size: 13px; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.seg i { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.seg i.on { background: linear-gradient(90deg, var(--lime), var(--lime2)); box-shadow: 0 0 10px rgba(47, 139, 255, .3); }

/* contact */
.cta-band {
  position: relative; overflow: hidden; text-align: center; border-radius: 36px; padding: clamp(48px, 8vw, 110px) clamp(20px, 5vw, 70px);
  background: radial-gradient(70% 90% at 50% 0%, #152a6e 0%, var(--card) 70%); border: 1px solid var(--line);
}
.h-cta { font: 800 clamp(70px, 13vw, 190px)/.85 Geist, system-ui, sans-serif;  padding-bottom: .04em; }
.cta-band .side { margin: 22px auto 44px; text-align: center; max-width: 460px; font-size: 17px; }
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 44px; text-align: left; }
.c-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 20px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line2); text-align: left; transition: border-color .2s, background .2s;
}
.c-card:hover { border-color: var(--lime); background: rgba(47, 139, 255, .05); }
.c-card small { color: var(--muted); font-size: 13px; }
.c-card b { font-weight: 600; font-size: 18px; word-break: break-word; }
.arrow { position: absolute; top: 18px; right: 20px; color: var(--lime); font-size: 16px; }
.arrow.mono { font-size: 11px;  letter-spacing: .1em; padding: 3px 8px; border: 1px solid rgba(47, 139, 255, .4); border-radius: 99px; }

.foot {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between;
  max-width: 1440px; margin: 110px auto 0; padding: 30px clamp(16px, 3.6vw, 52px) 40px; border-top: 1px solid var(--line); font-size: 14px;
}
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 60; transform: translate(-50%, 110px); visibility: hidden;
  padding: 13px 22px; border-radius: 999px; background: var(--lime); color: #111; font-weight: 600;
  box-shadow: 0 10px 40px rgba(47, 139, 255, .3); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), visibility .3s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* reveal */
.fx { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.fx.in { opacity: 1; transform: none; }
.stat.fx:nth-child(2) { transition-delay: .06s; }
.stat.fx:nth-child(3) { transition-delay: .12s; }
.stat.fx:nth-child(4) { transition-delay: .18s; }
.hero .fx:nth-child(2) { transition-delay: .08s; }
.hero .fx:nth-child(3) { transition-delay: .16s; }
.hero .fx:nth-child(4) { transition-delay: .24s; }

/* ===== glam neon layer ===== */
body { background: radial-gradient(120% 80% at 50% -10%, #0b1640 0%, var(--bg) 55%) fixed, var(--bg); }
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; }
body::before {
  background:
    radial-gradient(40vw 40vw at 85% 15%, rgba(47, 139, 255, .22), transparent 60%),
    radial-gradient(35vw 35vw at 5% 60%, rgba(98, 70, 255, .18), transparent 60%),
    radial-gradient(30vw 30vw at 70% 95%, rgba(73, 230, 255, .12), transparent 60%);
  animation: drift 18s ease-in-out infinite alternate;
}
body::after {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #cfe6ff, transparent),
    radial-gradient(1px 1px at 32% 68%, #9fd2ff, transparent),
    radial-gradient(1.5px 1.5px at 58% 12%, #fff, transparent),
    radial-gradient(1px 1px at 76% 44%, #bfe0ff, transparent),
    radial-gradient(1.5px 1.5px at 90% 80%, #fff, transparent),
    radial-gradient(1px 1px at 22% 88%, #9fd2ff, transparent),
    radial-gradient(1px 1px at 46% 40%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 66% 76%, #cfe6ff, transparent);
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-3vw, 2vh) scale(1.05); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }

.h-hero, .h2, .h-cta, .word, .r-txt b, .ep-bot h3, .edu-bot h3, .lc-head b, .statement p, .mark, .ep-big {
  font-family: Geist, system-ui, sans-serif;
}
.h-hero { font-weight: 700; font-size: clamp(50px, 6.6vw, 104px); line-height: 1; letter-spacing: .01em; }
.h-hero .silver { font-style: normal; }
.h-hero .lime { font-weight: 600; font-size: .4em; line-height: 1.1; margin-top: 18px; max-width: 14em; }
.lime {
  background: linear-gradient(100deg, #7fe3ff 0%, #2f8bff 45%, #9a7bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(47, 139, 255, .55));
}
.silver { filter: drop-shadow(0 0 22px rgba(120, 170, 255, .18)); }
.h2 { font-weight: 600; font-size: clamp(36px, 5vw, 72px); letter-spacing: .01em; line-height: 1.05; }
.h-cta { font-weight: 700; font-size: clamp(48px, 9vw, 130px); letter-spacing: 0; line-height: 1; }
.h-cta .lime { font-weight: 500; }
.word { font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.mark { font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #7fe3ff, #2f8bff 50%, #7a5cff);
  box-shadow: 0 0 18px rgba(47, 139, 255, .6);
}
.r-txt b { font-weight: 600; font-size: 19px; letter-spacing: .01em; }
.ep-bot h3 { font-weight: 600; letter-spacing: -.01em; }
.edu-bot h3 { font-weight: 600; font-size: 20px; line-height: 1.2; }
.lc-head b { font-weight: 600; font-size: 24px; }
.statement p { font-weight: 500; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.4; max-width: 44ch; }
.ep-big { color: rgba(255, 255, 255, .06); }

/* neon buttons with a moving shine */
.btn-lime, .pill, .chk, .lang i, .toast, ::selection {
  background: linear-gradient(135deg, #7fe3ff 0%, #2f8bff 50%, #6d5cff 100%);
  color: #fff;
}
.btn-lime { position: relative; overflow: hidden; box-shadow: 0 0 0 1px rgba(160, 210, 255, .5) inset, 0 0 24px rgba(47, 139, 255, .55), 0 10px 40px rgba(47, 139, 255, .35); text-shadow: 0 1px 8px rgba(0, 20, 80, .4); }
.btn-lime:hover { box-shadow: 0 0 0 1px rgba(190, 230, 255, .8) inset, 0 0 36px rgba(73, 180, 255, .8), 0 12px 50px rgba(47, 139, 255, .5); }
.btn-lime:active { box-shadow: 0 0 14px rgba(47, 139, 255, .5); }
.btn-lime::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.lang button[aria-pressed="true"] { color: #fff; }
.lang i { box-shadow: 0 0 18px rgba(47, 139, 255, .7); }
.pill { color: #fff; box-shadow: 0 0 14px rgba(47, 139, 255, .5); }
.pill-dark, .edu-year { background: rgba(3, 6, 20, .7); color: #cfe6ff; border: 1px solid var(--line2); }
.chk { color: #fff; box-shadow: 0 0 10px rgba(47, 139, 255, .7); }
.toast { color: #fff; }

/* glass + neon edges */
.stat, .rail-item, .exp-panel, .edu, .tick, .lang-card, .c-card, .statement, .cta-band, .portrait, .eyebrow, .lang, .glass {
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.stat:hover, .edu:hover, .lang-card:hover { border-color: rgba(127, 227, 255, .5); box-shadow: 0 0 30px rgba(47, 139, 255, .25); }
.stat:first-child b, .stat b { background: linear-gradient(180deg, #fff, #8fd8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:first-child b { filter: drop-shadow(0 0 14px rgba(47, 139, 255, .7)); }
.rail-item[aria-selected="true"] { border-color: rgba(127, 227, 255, .6); box-shadow: 0 0 28px rgba(47, 139, 255, .3), inset 0 0 20px rgba(47, 139, 255, .12); }
.rail-item::before { box-shadow: 0 0 12px #2f8bff; }
.rail-item[aria-selected="true"] .r-num { color: #7fe3ff; }
.ep-top, .edu-top { color: #fff; border-bottom: 1px solid var(--line2); }
.exp-panel { box-shadow: 0 0 60px rgba(47, 139, 255, .14); }
.ep-co { color: #7fe3ff; text-shadow: 0 0 12px rgba(47, 139, 255, .6); }
.edu-ic { background: rgba(255, 255, 255, .1); border: 1px solid var(--line2); box-shadow: 0 0 20px rgba(47, 139, 255, .35); }
.tick:hover { border-color: #7fe3ff; color: #fff; box-shadow: 0 0 22px rgba(47, 139, 255, .45); }
.seg i.on { background: linear-gradient(90deg, #2f8bff, #7fe3ff); box-shadow: 0 0 12px rgba(73, 200, 255, .7); }
.c-card:hover { border-color: #7fe3ff; box-shadow: 0 0 26px rgba(47, 139, 255, .35); }
.arrow { color: #7fe3ff; }
.cta-band { box-shadow: 0 0 90px rgba(47, 139, 255, .18), inset 0 0 0 1px rgba(127, 227, 255, .12); }
.statement { box-shadow: 0 0 70px rgba(98, 70, 255, .14); }
.pill-tag { color: #7fe3ff; border-color: rgba(127, 227, 255, .45); box-shadow: 0 0 14px rgba(47, 139, 255, .3); }
.face { border-color: #7fe3ff; box-shadow: 0 0 0 6px rgba(47, 139, 255, .18), 0 0 50px rgba(47, 139, 255, .7), 0 0 120px rgba(98, 70, 255, .4); }
.halo { background: radial-gradient(circle, rgba(47, 139, 255, .5), rgba(98, 70, 255, .15) 45%, transparent 70%); }
.ring { border-color: rgba(127, 227, 255, .55); }
.portrait { box-shadow: 0 0 80px rgba(47, 139, 255, .2), 0 40px 120px rgba(0, 0, 0, .6); }
.gdot, .live i, .r-now i, .tick i { background: #49e6ff; box-shadow: 0 0 10px #49e6ff; }
.bar { box-shadow: 0 1px 20px rgba(47, 139, 255, .15); }
.nav.stuck { background: rgba(3, 5, 13, .72); }
.sparkle { position: absolute; color: #bfe6ff; text-shadow: 0 0 12px #2f8bff; animation: twinkle 2.4s ease-in-out infinite alternate; pointer-events: none; z-index: 3; }

.kw { margin-right: 0; }
.h-hero .kw { display: inline; margin-right: 0; }

/* ===== hero fit + square photo ===== */
.hero {
  min-height: calc(100svh - 116px); padding-top: clamp(16px, 3vh, 40px); padding-bottom: clamp(28px, 5vh, 64px);
  align-items: center; gap: clamp(28px, 4vw, 64px);
}
.h-hero { font-size: clamp(40px, min(6.6vw, 10.5vh), 104px); }
.eyebrow { margin-bottom: clamp(12px, 2.6vh, 26px); }
.lead { margin: clamp(14px, 3vh, 30px) 0 clamp(18px, 3.6vh, 38px); }
.hero-art { width: min(100%, 560px, calc(100svh - 200px)); min-width: 280px; aspect-ratio: 1; }
.hero-art::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(47, 139, 255, .35), rgba(98, 70, 255, .14) 45%, transparent 70%);
  filter: blur(20px);
}
.portrait {
  border-radius: 32px; border: 1.5px solid rgba(127, 227, 255, .55); background: #0a1230;
  box-shadow: 0 0 0 6px rgba(47, 139, 255, .12), 0 0 60px rgba(47, 139, 255, .45), 0 0 140px rgba(98, 70, 255, .25);
}
.portrait::before { display: none; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 5, 13, .35) 0%, transparent 22%, transparent 62%, rgba(3, 5, 13, .75) 100%); }
.tagline { z-index: 1; color: #cfe6ff; }
.g-status { right: auto; left: 50%; bottom: 18px; translate: -50% 0; width: max-content; max-width: calc(100% - 24px); }
@media (max-height: 760px) and (min-width: 901px) {
  .lead { font-size: 16px; line-height: 1.5; }
  .btn { padding: 13px 24px; font-size: 16px; }
  .ghost { font-size: 16px; }
  .eyebrow { padding: 5px 12px; font-size: 13px; }
  .scroll-hint { display: none; }
  .g-status { font-size: 12px; gap: 9px; padding: 8px 14px; bottom: 12px; }
  .g-status .live { font-size: 11px; }
}

/* ===== anchor landing + experience fits the screen ===== */
.section { padding-top: 0; margin-top: clamp(90px, 14vh, 130px); }
html { scroll-padding-top: 88px; }
.h2 { font-size: clamp(32px, min(5vw, 8.5vh), 72px); }
.center { margin-bottom: clamp(20px, 4.5vh, 56px); }
#experience { min-height: calc(100svh - 88px); }
.exp { gap: 16px; }
.exp-rail { gap: 8px; }
.rail-item { padding: clamp(12px, 2.2vh, 20px) 18px; }
.r-txt b { font-size: clamp(16px, 2.6vh, 19px); }
.ep-top { min-height: clamp(84px, 15vh, 150px); padding: clamp(14px, 2.6vh, 24px) 28px; }
.ep-big { font-size: clamp(90px, 19vh, 190px); top: -.12em; }
.ep-bot { padding: clamp(16px, 3vh, 28px) 28px clamp(18px, 3.4vh, 32px); }
.ep-bot h3 { font-size: clamp(22px, min(2.8vw, 5vh), 38px); margin: 6px 0 4px; }
.ep-co { margin-bottom: clamp(10px, 2vh, 20px); }
.ep-bot ul { gap: 8px; }
.ep-bot li { padding: clamp(8px, 1.6vh, 13px) 14px; font-size: clamp(14px, 2.2vh, 15.5px); line-height: 1.5; }

@media (max-height: 760px) and (min-width: 901px) {
  .ep-top { min-height: 0; padding: 12px 24px; }
  .ep-big { display: none; }
  .ep-bot small { display: none; }
  .ep-bot { padding-top: 14px; }
  .ep-bot li { padding: 7px 12px; font-size: 13.5px; line-height: 1.45; }
  .chk { width: 19px; height: 19px; font-size: 11px; }
  .rail-item { padding: 10px 16px; }
  .center { margin-bottom: 16px; }
}

/* ===== modern pass ===== */
h1, h2, h3, .h-hero, .h2, .h-cta, .word, .r-txt b, .ep-bot h3, .edu-bot h3, .lc-head b, .statement p { text-transform: none; }
.h-hero { font-weight: 600; letter-spacing: -.055em; line-height: .92; font-size: clamp(48px, min(7.4vw, 12vh), 120px); }
.h-hero .lime { font-weight: 500; letter-spacing: -.035em; font-size: .38em; line-height: 1.15; margin-top: .55em; }
.h2 { font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.h-cta { font-weight: 600; letter-spacing: -.06em; line-height: .95; }
.word { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.mark { font-weight: 700; font-size: 16px; border-radius: 9px; }
.r-txt b { font-weight: 600; letter-spacing: -.02em; }
.ep-bot h3 { font-weight: 600; letter-spacing: -.035em; }
.edu-bot h3 { font-weight: 600; font-size: 18px; letter-spacing: -.02em; line-height: 1.25; }
.lc-head b { font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.statement p { font-weight: 500; font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -.035em; line-height: 1.25; max-width: 32ch; }
.ep-big { font-weight: 700; letter-spacing: -.06em; }

/* floating glass nav */
.nav {
  position: fixed; top: 14px; left: 50%; translate: -50% 0; z-index: 40;
  width: min(1180px, calc(100% - 32px)); height: 60px; padding: 0 10px 0 18px; gap: 18px;
  border-radius: 999px; border: 1px solid var(--line2);
  background: rgba(8, 12, 30, .55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.nav.stuck { background: rgba(8, 12, 30, .78); border-color: var(--line2); }
.links { gap: 4px; }
.links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.links a:hover { background: rgba(255, 255, 255, .06); }
.lang button { height: 32px; width: 44px; }
.lang i { height: 32px; width: 44px; }
.lang[data-active="es"] i { transform: translateX(44px); }
main { padding-top: 88px; }
.hero { min-height: calc(100svh - 88px); }
.hero-art { width: min(100%, 560px, calc(100svh - 170px)); }
html { scroll-padding-top: 92px; }
#experience { min-height: calc(100svh - 92px); }

/* cards: hairline top highlight + cursor spotlight */
.stat, .rail-item, .exp-panel, .edu, .lang-card, .c-card, .statement, .cta-band, .tick {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -100%), rgba(80, 160, 255, .16), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.spot:hover::after { opacity: 1; }
.stat b { font-weight: 600; letter-spacing: -.05em; }
.btn { letter-spacing: -.01em; }

@media (max-height: 600px) and (min-width: 901px) {
  #experience .h2 { font-size: 38px; }
  .ep-bot h3 { font-size: 20px; }
  .ep-bot li { padding: 5px 12px; font-size: 13px; }
  .ep-co { margin-bottom: 8px; }
}

/* responsive */
@media (max-width: 1100px) {
  .edu-grid, .langs { grid-template-columns: repeat(2, 1fr); }
  .g-roles { left: -6%; }
  .g-status { right: -4%; }
}
@media (max-width: 900px) {
  .links, .hide-sm { display: none; }
  .hero { min-height: 0; }
  .links + .right { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; gap: 48px; }
  .hero::before { inset: 0; }
  .hero-art { width: min(100%, 460px); min-width: 0; order: 2; }
  .scroll-hint { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .exp { grid-template-columns: 1fr; }
  .exp-rail { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .exp-rail::-webkit-scrollbar { display: none; }
  .rail-item { flex: 0 0 78%; scroll-snap-align: start; }
  .split-title { flex-direction: column; align-items: flex-start; gap: 16px; }
  .side { text-align: left; }
  .contact-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bar { font-size: 12px; }
  .word { font-size: 18px; }
  .section { margin-top: 90px; }
  .h-hero { font-size: 52px; }
  .lead { font-size: 16px; }
  .btn { padding: 15px 24px; font-size: 16px; }
  .g-roles { left: 10px; right: 10px; top: auto; bottom: 66px; width: auto; }
  .face { width: 60%; translate: 0 -8%; }
  .halo, .ring { translate: -50% -57%; width: 74%; }
  .ring { width: 70%; }
  .g-status { left: 50%; right: auto; bottom: 12px; translate: -50% 0; justify-content: center; gap: 10px; font-size: 13px; padding: 10px 14px; }
  .stat { padding: 20px; }
  .ep-top { min-height: 140px; padding: 20px; }
  .ep-big { font-size: 150px; }
  .ep-bot { padding: 22px 18px 26px; }
  .ep-bot li { font-size: 15px; padding: 12px 14px; }
  .edu-grid, .langs { grid-template-columns: 1fr; }
  .edu-top { height: 120px; }
  .tick { font-size: 14px; padding: 10px 16px; }
  .btn-lg { padding: 18px 30px; font-size: 17px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 10px; }
}
/* ===== interactive pass ===== */
/* nav: active-section pill + scroll progress + command button */
.links { position: relative; }
.links a { position: relative; z-index: 1; transition: color .25s, background .2s; }
.links a.on { color: #fff; }
.links a.on:hover { background: none; }
.ind {
  position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(127, 227, 255, .16), rgba(47, 139, 255, .14));
  box-shadow: inset 0 0 0 1px rgba(127, 227, 255, .3), 0 0 18px rgba(47, 139, 255, .25);
  opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), width .45s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}
.ind.show { opacity: 1; }
.nav-progress {
  position: absolute; left: 26px; right: 26px; bottom: -1px; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, #2f8bff, #7fe3ff 60%, #b28cff);
  box-shadow: 0 0 12px rgba(73, 200, 255, .8);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}
.kbtn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 12px; border-radius: 999px;
  border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--muted);
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.kbtn:hover { color: #fff; border-color: rgba(127, 227, 255, .5); background: rgba(47, 139, 255, .12); box-shadow: 0 0 20px rgba(47, 139, 255, .25); }
.kbtn svg, .cmdk-in svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
kbd { font: 500 11.5px/1 'Geist Mono', ui-monospace, monospace; padding: 4px 7px; border-radius: 7px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .06); color: #cfe6ff; }

/* hero headline: line-by-line rise */
.h-hero .ln { display: block; }
.h-hero .ln { animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.h-hero .ln + .ln { animation-delay: .1s; }
.h-hero .lime { animation: fadeUp 1s .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(45%); filter: blur(10px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }

/* portrait: 3D tilt + glare following the cursor */
.portrait {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
  will-change: transform;
}
.portrait.tilt { transition: transform .12s linear, box-shadow .4s; box-shadow: 0 0 0 6px rgba(47, 139, 255, .18), 0 0 80px rgba(47, 139, 255, .6), 0 0 160px rgba(98, 70, 255, .3); }
.portrait img { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.portrait.tilt img { transform: scale(1.04); }
.glare {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(190, 230, 255, .22), transparent 45%);
  mix-blend-mode: screen;
}
.portrait.tilt .glare { opacity: 1; }

/* magnetic buttons */
.btn.mag { transition: transform .15s, box-shadow .2s, filter .2s, translate .35s cubic-bezier(.2, .8, .2, 1); }
.ghost.mag { display: inline-block; transition: color .2s, translate .35s cubic-bezier(.2, .8, .2, 1); }
.kbtn.mag { transition: color .2s, border-color .2s, background .2s, box-shadow .2s, translate .35s cubic-bezier(.2, .8, .2, 1); }

/* skills marquee */
.marquee {
  position: relative; overflow: hidden; padding: 18px 0; margin-top: clamp(8px, 2vh, 24px);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(47, 139, 255, .05), rgba(98, 70, 255, .06), rgba(47, 139, 255, .05));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mq-track { display: flex; width: max-content; animation: mq 60s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track > div { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.mq-track span { font-weight: 600; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.03em; color: #e6eeff; white-space: nowrap; transition: color .2s, text-shadow .2s; }
.mq-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(160, 205, 255, .7); }
.mq-track span:hover { color: #fff; -webkit-text-stroke: 0; text-shadow: 0 0 18px rgba(73, 200, 255, .8); }
.mq-track i { font-style: normal; color: #49e6ff; text-shadow: 0 0 12px #2f8bff; font-size: 14px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* cards lift */
.stat, .edu, .lang-card, .c-card { transition: translate .35s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s; }
.stat:hover, .edu:hover, .lang-card:hover, .c-card:hover { translate: 0 -4px; }

/* cursor aura */
.aura {
  position: fixed; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%;
  pointer-events: none; z-index: -1; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(47, 139, 255, .12), rgba(98, 70, 255, .05) 40%, transparent 68%);
}
.aura.on { opacity: 1; }

/* command menu */
html.noscroll { overflow: hidden; }
.cmdk {
  position: fixed; inset: 0; z-index: 80; display: flex; justify-content: center; align-items: flex-start;
  padding: 14vh 16px 16px; background: rgba(2, 4, 12, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .18s;
}
.cmdk[hidden] { display: none; }
.cmdk.open { opacity: 1; }
.cmdk-box {
  width: min(620px, 100%); border-radius: 20px; overflow: hidden;
  background: rgba(10, 16, 38, .94); border: 1px solid var(--line2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 70px rgba(47, 139, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: translateY(10px) scale(.98); transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}
.cmdk.open .cmdk-box { transform: none; }
.cmdk-in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmdk-in svg { width: 18px; height: 18px; }
.cmdk-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 400 17px Geist, system-ui, sans-serif; }
.cmdk-in input::placeholder { color: #6f7fa6; }
.cmdk-list { list-style: none; max-height: min(52vh, 430px); overflow-y: auto; padding: 8px; scrollbar-width: thin; }
.k-g { padding: 10px 12px 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6f7fa6; }
.k-it { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; color: #dfe9ff; }
.k-it[aria-selected="true"] { background: rgba(47, 139, 255, .16); box-shadow: inset 0 0 0 1px rgba(127, 227, 255, .28); color: #fff; }
.k-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #7fe3ff; font-size: 14px; }
.k-it[aria-selected="true"] .k-ic { background: linear-gradient(180deg, #7fe3ff, #2f8bff); color: #04102a; border-color: transparent; box-shadow: 0 0 16px rgba(47, 139, 255, .6); }
.k-l { font-weight: 500; letter-spacing: -.01em; }
.k-h { margin-left: auto; font-size: 12px; color: #6f7fa6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-empty { padding: 26px; text-align: center; color: var(--muted); }
.cmdk-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: #6f7fa6; }
.cmdk-foot kbd { padding: 2px 5px; margin-right: 2px; font-size: 10.5px; }

@media (max-width: 900px) {
  .kbtn { width: 40px; padding: 0; justify-content: center; }
  .kbtn kbd { display: none; }
  .nav-progress { left: 20px; right: 20px; }
}
@media (max-width: 560px) {
  .marquee { padding: 14px 0; }
  .cmdk { padding-top: 10vh; }
  .cmdk-foot { display: none; }
  .k-h { display: none; }
}
@media (hover: none) {
  .cmdk-foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fx { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
