/* =================================================================
   SKVK PANDEY — styles.css
   Dark founder/dev portfolio. Ink-dark base + teal accent.
   Vanilla CSS, mobile-first, no frameworks.
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:        #0a0d12;
  --bg-2:      #10141b;
  --bg-3:      #161b24;
  --line:      #222a36;
  --line-2:    #2c3543;
  --text:      #e9edf2;
  --muted:     #9aa4b2;
  --muted-2:   #6b7583;
  --accent:    #16c79a;
  --accent-2:  #0e9e79;
  --accent-ink:#042019;

  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs:   0.78rem;
  --fs-sm:   0.9rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.2rem;
  --fs-xl:   1.55rem;
  --fs-2xl:  2.1rem;
  --fs-3xl:  2.9rem;
  --fs-5xl:  4.9rem;

  --space-section: clamp(4.5rem, 11vw, 8.5rem);
  --maxw: 1120px;
  --gutter: 1.4rem;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --glow: 0 0 60px -20px rgba(22, 199, 154, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

p { text-wrap: pretty; }
strong { color: var(--text); font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.accent-text { color: var(--accent); }

::selection { background: var(--accent); color: var(--accent-ink); }
html { scrollbar-color: var(--line-2) var(--bg); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid var(--bg); }

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; border-radius: 0 0 var(--radius-sm) 0; z-index: 400;
}
.skip-link:focus { left: 0; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll, 0));
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow); }
.btn--accent:hover { background: #1fdcac; }
.btn--accent::after {
  content: "";
  position: absolute; top: 0; left: -70%;
  width: 42%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease);
  pointer-events: none;
}
.btn--accent:hover::after { left: 135%; }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--lg { padding: 1rem 1.7rem; font-size: var(--fs-base); }

.link-arrow { color: var(--accent); font-weight: 600; font-size: var(--fs-sm); border-bottom: 1px solid transparent; transition: border-color 0.15s var(--ease); }
.link-arrow:hover { border-bottom-color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 13, 18, 0.7);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 13, 18, 0.88); }

.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav__mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.nav__mark img { width: 100%; height: 100%; object-fit: cover; }
.nav__word { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.03em; }

.nav__menu { display: flex; align-items: center; gap: 1.8rem; }
.nav__menu a:not(.btn) {
  font-size: var(--fs-sm); font-weight: 500; color: var(--muted);
  position: relative; transition: color 0.15s var(--ease);
}
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 2px; background: var(--accent); border-radius: 2px;
  transition: width 0.22s var(--ease);
}
.nav__menu a:not(.btn):hover,
.nav__menu a:not(.btn).is-active { color: var(--text); }
.nav__menu a:not(.btn):hover::after,
.nav__menu a:not(.btn).is-active::after { width: 100%; }

.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none;
  border: 1px solid var(--line-2); border-radius: 11px; cursor: pointer;
}
.nav__toggle span { display: block; width: 18px; height: 2px; margin-inline: auto; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 12vw, 9rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute;
  width: 640px; height: 640px; top: -260px; right: -180px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 199, 154, 0.16), transparent 70%);
  filter: blur(48px);
  animation: aurora 16s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: ""; position: absolute;
  width: 460px; height: 460px; bottom: -220px; left: -140px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 199, 154, 0.08), transparent 70%);
  filter: blur(42px);
  animation: aurora 21s ease-in-out infinite alternate-reverse;
}
@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-70px, 50px, 0) scale(1.16); }
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(233, 237, 242, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(65% 60% at 75% 10%, #000, transparent 70%);
  mask-image: radial-gradient(65% 60% at 75% 10%, #000, transparent 70%);
}

.hero__inner { position: relative; z-index: 1; max-width: 880px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm);
  color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 0.4rem 0.95rem; border-radius: 999px;
  margin-bottom: 1.6rem;
}
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(22, 199, 154, 0.18); }

.hero__title { font-size: clamp(2.5rem, 7.4vw, var(--fs-5xl)); letter-spacing: -0.035em; margin-bottom: 1.5rem; }
.hero__sub { font-size: clamp(var(--fs-base), 2.3vw, var(--fs-lg)); color: var(--muted); max-width: 56ch; margin-bottom: 1rem; }
.hero__now { font-size: var(--fs-sm); color: var(--muted-2); margin-bottom: 2.2rem; }

/* rotating word */
.rotator { display: inline-block; position: relative; color: var(--accent); font-weight: 600; }
.rotator__word { display: inline-block; }
.rotator__word.is-off { animation: wordOut 0.35s var(--ease) both; }
.rotator__word.is-on  { animation: wordIn 0.4s var(--ease) both; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-0.6em); filter: blur(3px); } }
@keyframes wordIn  { from { opacity: 0; transform: translateY(0.6em); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.8rem; }
.hero__social { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.hero__social a {
  font-size: var(--fs-sm); font-weight: 500; color: var(--muted-2);
  transition: color 0.15s var(--ease);
}
.hero__social a:hover { color: var(--accent); }

/* Hero entrance choreography */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.hero-enter { animation: riseIn 0.85s var(--ease) both; }
.hero__eyebrow.hero-enter { animation-delay: 0.05s; }
.hero__title.hero-enter   { animation-delay: 0.14s; }
.hero__sub.hero-enter     { animation-delay: 0.26s; }
.hero__now.hero-enter     { animation-delay: 0.34s; }
.hero__cta.hero-enter     { animation-delay: 0.42s; }
.hero__social.hero-enter  { animation-delay: 0.52s; }

/* Word-by-word title reveal */
.hero__title.is-split { animation: none; opacity: 1; filter: none; transform: none; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .w__inner {
  display: inline-block;
  animation: wordUp 0.75s var(--ease) both;
  animation-delay: calc(0.1s + var(--i, 0) * 0.055s);
}
@keyframes wordUp {
  from { opacity: 0; transform: translateY(0.95em); filter: blur(5px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.hero__title .accent-text { position: relative; white-space: nowrap; }
.hero__title .accent-text::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em;
  height: 0.09em; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: 0 50%;
  animation: strokeIn 0.7s var(--ease) 1.15s both;
}
@keyframes strokeIn { to { transform: scaleX(1); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 0.95rem 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: flex; align-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm);
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted-2); white-space: nowrap;
}
.marquee__track span::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); opacity: 0.6; margin-inline: 1.7rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
.section { padding: var(--space-section) 0; }
.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.8rem); }
.section__head h2, .about__text h2, .contact h2 { font-size: clamp(var(--fs-2xl), 4.6vw, var(--fs-3xl)); }

.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.kicker::after { content: ""; width: 26px; height: 1.5px; background: var(--accent); border-radius: 2px; }

/* ---------- About ---------- */
.about { background: var(--bg-2); border-block: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1fr; gap: 2.6rem; align-items: start; }
.about__media { display: grid; gap: 1.4rem; }
.portrait {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  max-width: 380px;
  position: relative;
}
.portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 13, 18, 0.55));
  pointer-events: none;
}
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.facts { display: grid; gap: 1rem; max-width: 380px; }
.facts li { display: grid; gap: 0.15rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); }
.facts strong { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); }

.about__text h2 { margin-bottom: 1.3rem; }
.about__text p { color: var(--muted); margin-bottom: 1.1rem; }

/* ---------- Ventures ---------- */
.ventures { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
.venture {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.venture:hover { transform: translateY(-5px); border-color: rgba(22, 199, 154, 0.45); box-shadow: var(--shadow); }
.venture--feature {
  border-color: rgba(22, 199, 154, 0.3);
  box-shadow: 0 0 70px -40px rgba(22, 199, 154, 0.5);
}
.venture__tag {
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.venture__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.venture h3 { font-size: var(--fs-xl); }
.venture__pitch { color: var(--muted); font-size: var(--fs-sm); }
.venture__stack { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.venture__stack li {
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600;
  color: var(--muted); background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.28rem 0.75rem;
}

/* ---------- Experience ---------- */
.experience { background: var(--bg-2); border-block: 1px solid var(--line); }
.xp { display: grid; gap: 0; }
.xp__item {
  display: grid; grid-template-columns: 1fr; gap: 0.5rem 2.5rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.xp__item:last-child { border-bottom: 0; }
.xp__when {
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm);
  color: var(--accent); white-space: nowrap;
}
.xp__body h3 { font-size: var(--fs-lg); margin-bottom: 0.45rem; }
.xp__body p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Skills ---------- */
.skillgrid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
.skillgroup {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.skillgroup:hover { transform: translateY(-4px); border-color: rgba(22, 199, 154, 0.4); }
.skillgroup h3 { font-size: var(--fs-base); color: var(--accent); margin-bottom: 0.9rem; }
.skillgroup ul { display: grid; gap: 0.45rem; }
.skillgroup li { color: var(--muted); font-size: var(--fs-sm); display: flex; align-items: center; gap: 0.6rem; }
.skillgroup li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.7; flex: none; }

/* ---------- Education ---------- */
.edu { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
.edu__item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.edu__item:hover { transform: translateY(-4px); border-color: rgba(22, 199, 154, 0.4); }
.edu__years { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--accent); }
.edu__item h3 { font-size: var(--fs-lg); margin: 0.5rem 0 0.3rem; }
.edu__item p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 80% at 50% 0%, rgba(22, 199, 154, 0.14), transparent 70%);
  pointer-events: none;
  animation: ctaGlow 7s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  from { opacity: 0.7; transform: translateX(-3%); }
  to   { opacity: 1; transform: translateX(3%); }
}
.contact__inner { position: relative; max-width: 680px; }
.contact .kicker { justify-content: center; }
.contact h2 { margin-bottom: 1.1rem; }
.contact__lead { color: var(--muted); margin-bottom: 2rem; }
.contact__social { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.8rem; }
.contact__social a { font-size: var(--fs-sm); font-weight: 500; color: var(--muted-2); transition: color 0.15s var(--ease); }
.contact__social a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { padding: 2rem 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; }
.footer p { font-size: var(--fs-xs); color: var(--muted-2); }

/* ---------- Cursor-aware glow (JS-injected .glow spans) ---------- */
.glow {
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(22, 199, 154, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.venture:hover .glow, .skillgroup:hover .glow, .edu__item:hover .glow { opacity: 1; }
.venture > :not(.glow), .skillgroup > :not(.glow) { position: relative; z-index: 1; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(5px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), filter 0.75s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.ventures .reveal.is-visible:nth-child(2),
.skillgrid .reveal.is-visible:nth-child(2),
.edu .reveal.is-visible:nth-child(2) { transition-delay: 0.08s; }
.ventures .reveal.is-visible:nth-child(3),
.skillgrid .reveal.is-visible:nth-child(3) { transition-delay: 0.16s; }
.skillgrid .reveal.is-visible:nth-child(4) { transition-delay: 0.24s; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (min-width: 640px) {
  .skillgrid { grid-template-columns: repeat(2, 1fr); }
  .edu { grid-template-columns: repeat(2, 1fr); }
  .xp__item { grid-template-columns: 190px 1fr; }
}

@media (min-width: 880px) {
  :root { --gutter: 2.2rem; }
  .ventures { grid-template-columns: repeat(2, 1fr); }
  .venture--feature { grid-column: 1 / -1; }
  .skillgrid { grid-template-columns: repeat(4, 1fr); }
  .about__grid { grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; }
}

@media (min-width: 1024px) {
  .ventures { grid-template-columns: 1.25fr 1fr 1fr; align-items: stretch; }
  .venture--feature { grid-column: auto; }
}

/* Mobile nav */
@media (max-width: 879px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.4rem;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.32s var(--ease);
    visibility: hidden;
  }
  .nav__menu.is-open { transform: translateY(0); visibility: visible; }
  .nav__menu a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-enter, .hero__title .w__inner { animation: none; opacity: 1; transform: none; filter: none; }
  .hero__title .accent-text::after { animation: none; transform: scaleX(1); }
  .btn:hover, .venture:hover, .skillgroup:hover, .edu__item:hover { transform: none; }
  .hero__bg::before, .hero__bg::after, .marquee__track, .contact::before,
  .rotator__word.is-off, .rotator__word.is-on { animation: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
