/* =========================
   RESET + TOKENS
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --split: 50%;

  --bg-dark: #040404;
  --bg-dark-soft: #050507;
  --bg-nav-inner: rgba(5, 5, 12, 0.72);

  --text-main: #f6f4fb;
  --text-muted: rgba(246, 244, 251, 0.76);

  --accent: #8f59ff;
  --accent-2: #b38cff;
  --accent-glow: rgba(143, 89, 255, 0.34);
  --accent-soft: rgba(143, 89, 255, 0.12);
  --accent-border: rgba(143, 89, 255, 0.24);

  --panel: rgba(255, 255, 255, 0.03);
  --panel-border: rgba(143, 89, 255, 0.2);
  --card-border: rgba(103, 89, 255, 0.16);

  --max-width: 1120px;
  --radius: 14px;
  --radius-lg: 24px;
  --pill: 999px;
}

/* =========================
   BASE
========================= */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: "Quicksand", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-weight: 500;
}

/* =========================
   GLOBAL PAGE SAFETY
========================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

/* =========================
   NAV LOGO IMAGE
========================= */
.nav-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
}

.nav-logo {
  display: block;
  height: clamp(40px, 5vw, 60px);
  width: auto;
  max-width: none;
  opacity: 0.95;
  image-rendering: auto;
  filter: drop-shadow(0 0 4px rgba(120, 90, 255, 0.25));
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.nav-brand:hover .nav-logo,
.nav-brand:focus-visible .nav-logo {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 6px rgba(143, 89, 255, 0.6))
    drop-shadow(0 0 14px rgba(143, 89, 255, 0.35));
}

/* =========================
   PAGE TRANSITIONS
========================= */
.nav {
  transition:
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.56s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.hero,
.page-header,
.section,
.intro-copy,
.about-enter-left,
.about-enter-right {
  transition:
    transform 0.92s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.92s ease;
}

.nav {
  transform: translateY(-110%);
  opacity: 0;
}

body.page-ready .nav {
  transform: translateY(0);
  opacity: 1;
}

body.page-leaving .nav {
  transform: translateY(-110%);
  opacity: 0;
}

body.page-leaving .hero,
body.page-leaving .page-header,
body.page-leaving .section,
body.page-leaving .intro-copy {
  opacity: 0;
  transform: translateY(24px);
}

/* =========================
   GLOBAL NAVIGATION
========================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 5000;

  background: rgba(18, 20, 34, 0.46);
  border-bottom: 1px solid rgba(143, 89, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transform: translateY(-110%);
  opacity: 0;

  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

body.page-ready .nav,
body.nav-visible .nav {
  transform: translateY(0);
  opacity: 1;
}

body.nav-hidden .nav,
body.page-leaving .nav {
  transform: translateY(-110%);
  opacity: 0;
}

.nav-inner {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 86px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  text-shadow:
    0 0 6px rgba(143, 89, 255, 0.6),
    0 0 14px rgba(143, 89, 255, 0.35);
  transform: translateY(-1px);
}

/* =========================
   NAV SOCIAL LINKS
========================= */
.nav-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.95rem;
}

.nav-social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.018);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-social-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  opacity: 0.92;
}

.nav-social-link:hover {
  transform: translateY(-2px);
  background: rgba(143, 89, 255, 0.1);
  border-color: rgba(179, 140, 255, 0.62);
  box-shadow: 0 0 16px rgba(143, 89, 255, 0.14);
}

.nav-social-link:hover img {
  opacity: 1;
}

/* =========================
   MOBILE NAV TOGGLE
========================= */
.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 120;
}

.nav-toggle span {
  position: absolute;
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 10px rgba(143, 89, 255, 0.22);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) {
  top: 12px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 30px;
}

body.menu-open .nav-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .nav-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* =========================
   LANDING PAGE NAV TONE
========================= */
body[data-page="home"] .nav {
  background: rgba(16, 18, 30, 0.58);
  border-bottom: 0.5px solid rgba(143, 89, 255, 0.12);
}

/* =========================
   INNER PAGE NAV TONE
========================= */
body[data-page="cyber"] .nav,
body[data-page="art"] .nav,
body[data-page="about"] .nav {
  background: rgba(18, 20, 34, 0.58);
  border-bottom: 0.5px solid rgba(143, 89, 255, 0.14);
}

/* =========================
   ANIMATED NIGHT SKY
========================= */
.hero-bg,
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 30%, rgba(143, 89, 255, 0.08), transparent 26%),
    radial-gradient(circle at 20% 70%, rgba(80, 120, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #050507 0%, #040404 100%);
  overflow: hidden;
  pointer-events: none;
}

.stars {
  position: absolute;
  inset: -10%;
  background-repeat: repeat;
  opacity: 0.6;
  animation: driftStars linear infinite;
}

.stars-1 {
  background-image:
    radial-gradient(2px 2px at 40px 60px, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 130px 120px, rgba(255, 255, 255, 0.75) 50%, transparent 51%),
    radial-gradient(2px 2px at 240px 40px, rgba(179, 140, 255, 0.9) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 320px 180px, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(2px 2px at 480px 100px, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 620px 60px, rgba(143, 89, 255, 0.85) 50%, transparent 51%);
  background-size: 700px 260px;
  animation-duration: 90s;
}

.stars-2 {
  background-image:
    radial-gradient(1.5px 1.5px at 70px 30px, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 180px 150px, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
    radial-gradient(2px 2px at 360px 80px, rgba(179, 140, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 520px 170px, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 760px 60px, rgba(255, 255, 255, 0.45) 50%, transparent 51%);
  background-size: 820px 320px;
  animation-duration: 130s;
  opacity: 0.4;
}

.shooting-star {
  position: absolute;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.9), rgba(143,89,255,0));
  border-radius: 999px;
  filter: blur(0.3px);
  opacity: 0;
  transform: rotate(-18deg);
  box-shadow: 0 0 16px rgba(255,255,255,0.3);
}

.shooting-star-1 {
  top: 18%;
  left: 62%;
  animation: shoot 9s linear infinite;
}

.shooting-star-2 {
  top: 28%;
  left: 18%;
  animation: shoot 12s linear infinite 4s;
}

.shooting-star-3 {
  top: 12%;
  left: 75%;
  animation: shoot 14s linear infinite 7s;
}

@keyframes driftStars {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-120px, 40px, 0);
  }
}

@keyframes shoot {
  0%, 86% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-18deg);
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(-260px, 110px, 0) rotate(-18deg);
  }
}

/* =========================
   LANDING HERO
========================= */
.hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  padding-top: 78px;
  overflow: hidden;
}

.portrait-stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 10;
}

.effect-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.portrait {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(40vw, 520px);
  max-height: 82vh;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
}

.effect-image {
  z-index: 2;
}

.cyber-layer {
  z-index: 3;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.creative-layer {
  z-index: 4;
  clip-path: inset(0 0 0 var(--split));
}

.cyber-layer .effect-image {
  width: min(40vw, 520px);
  filter: grayscale(0.4) contrast(1.1) saturate(0.85) brightness(0.95);
}

.creative-layer .effect-image {
  width: min(40vw, 520px);
  filter: grayscale(0) contrast(1.04) saturate(1.05) brightness(1.02);
}

.glitch-rgb {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.glitch-r {
  transform: translateX(5px);
  filter: brightness(0.96) saturate(1.06) hue-rotate(300deg);
  opacity: 0.55;
}

.glitch-c {
  transform: translateX(-5px);
  filter: brightness(0.96) saturate(1.06) hue-rotate(170deg);
  opacity: 0.55;
}

.divider,
.hero-text,
.hero-nav,
.glitch-scan,
.creative-color,
.creative-grain {
  display: none;
}

/* =========================
   HOME HERO / INTRO
========================= */
.intro-copy {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16vw;
  pointer-events: none;
}

.intro-side {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 320px;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.intro-word {
  pointer-events: auto;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 0.95;
  opacity: 0.96;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    color 0.25s ease,
    text-shadow 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}

.intro-sub {
  color: rgba(246, 244, 251, 0.78);
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  white-space: normal;
  opacity: 0.96;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.intro-left {
  transform: translateX(-48px);
}

.intro-right {
  transform: translateX(48px);
  text-align: right;
}

body.page-ready.intro-start .intro-left,
body.page-ready.intro-start .intro-right {
  transform: translateX(0);
}

.intro-copy .intro-side:hover .intro-word,
.intro-copy .intro-side:active .intro-word {
  color: var(--accent);
  filter: brightness(1.12);
  text-shadow:
    0 0 6px rgba(143, 89, 255, 0.6),
    0 0 14px rgba(143, 89, 255, 0.35);
}

.intro-copy .intro-side:hover .intro-sub,
.intro-copy .intro-side:active .intro-sub {
  color: rgba(246, 244, 251, 0.94);
}

.intro-copy:hover .intro-side:not(:hover) {
  opacity: 0.42;
  transform: translateY(3px);
}

/* =========================
   INTRO PORTRAIT MOTION
========================= */

/* previous fly-in speeds...
.cyber-portrait,
.creative-portrait {
  transition:
    transform 1.50s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.50s ease;
  will-change: transform, opacity;
}
... */

.cyber-portrait,
.creative-portrait {
  transition:
    transform 2.40s cubic-bezier(0.22, 1, 0.36, 1),  
    opacity 0.90s ease;                              
  will-change: transform, opacity;
}

.cyber-portrait {
  transform: translate(-180%, -50%);
}

.creative-portrait {
  transform: translate(80%, -50%);
}

.intro-ready {
  opacity: 1;
}

body.page-ready.intro-start .cyber-portrait,
body.page-ready.intro-start .creative-portrait {
  transform: translate(-50%, -50%);
}

/* =========================
   INNER PAGE LAYOUT
========================= */
.page-header {
  padding: 140px 20px 56px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.6;
}

.section {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 44px 20px;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.section-kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.section h2 {
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.section-intro {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.compact-hero {
  max-width: 920px;
  padding-bottom: 18px;
}

.compact-hero p:last-child {
  max-width: 760px;
  margin: 0 auto;
}

.compact-center {
  text-align: center;
}

.filter-heading-wrap {
  margin-bottom: 1.6rem;
}

/* =========================
   SHARED COMPONENTS
========================= */
.btn-theme,
.btn-theme-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 150px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-theme {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-theme:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px var(--accent-glow);
}

.btn-theme-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--accent-border);
}

.btn-theme-outline:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(143, 89, 255, 0.14);
}

/* =========================
   PROJECT FILTERS
========================= */
.project-filter-section {
  padding-top: 4px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-filter-section .section-heading {
  width: 100%;
  text-align: center;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

/* =========================
   FILTER BUTTONS (UNIFIED STYLE)
========================= */
.filter-pill {
  padding: 0.45rem 1rem;

  border-radius: 12px;

  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;

  color: rgba(255, 255, 255, 0.88);

  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(143, 89, 255, 0.45);

  cursor: pointer;

  transition:
    transform 0.18s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

/* HOVER */
.filter-pill:hover {
  transform: translateY(-1px);

  border-color: rgba(143, 89, 255, 0.7);
  background: rgba(143, 89, 255, 0.06);

  box-shadow: 0 0 12px rgba(143, 89, 255, 0.1);
  color: #ffffff;
}

/* ACTIVE */
.filter-pill.active {
  color: #ffffff;

  background: rgba(143, 89, 255, 0.1);
  border-color: rgba(143, 89, 255, 0.8);

  box-shadow: 0 0 14px rgba(143, 89, 255, 0.16);
}


/* =========================
   PROJECT CARDS GRID
========================= */
.projects-grid-section {
  padding-top: 26px;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.project-card-simple {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(12, 14, 28, 0.96) 0%, rgba(9, 10, 20, 0.96) 100%);
  border: 1px solid var(--card-border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 18px 40px rgba(0, 0, 0, 0.24);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, opacity 0.2s ease;
}

.project-card-simple:hover {
  transform: translateY(-8px);
  border-color: rgba(143, 89, 255, 0.42);
  box-shadow:
    0 0 28px rgba(143, 89, 255, 0.14),
    0 24px 48px rgba(0, 0, 0, 0.28);
}

.project-card-simple.is-hidden {
  display: none;
}

.project-card-simple-image {
  padding: 1rem 1rem 0;
}

.project-card-simple-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  background: #050505;
}

.project-card-simple-body {
  padding: 1.2rem 1.35rem 1.45rem;
}

.project-card-simple-kicker {
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.project-card-simple h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.85rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.project-card-simple p:last-of-type {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-link {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.project-link:hover {
  color: #fff;
  transform: translateX(2px);
}

/* =========================
   CYBER SKILLS GRID
========================= */
.skills-grid-section {
  padding-top: 28px;
}

.skills-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.skill-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.35rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(103, 89, 255, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  /* make skill cards behave like cards, not links */
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.skill-grid-item:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 89, 255, 0.3);
  box-shadow: 0 0 18px rgba(143, 89, 255, 0.1);
}

.skill-grid-item:hover span {
  color: #ffffff;
}

.skill-grid-item:active {
  transform: translateY(-2px);
}


.skill-grid-item:focus-visible {
  outline: 2px solid rgba(143, 89, 255, 0.6);
  outline-offset: 4px;
}

/* =========================
   SKILL LOGO ICONS
========================= */
.skill-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.skill-logo img {
  width: 70px; 
  height: 70px;
  object-fit: contain;
  display: block;

  /* keeps them crisp + slightly more premium */
  image-rendering: -webkit-optimize-contrast;
}

.skill-grid-item:hover .skill-logo img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(143, 89, 255, 0.16));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.skill-grid-item span {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
}

/* =========================
   CERT BADGES MARQUEE
========================= */
.cert-verify-section {
  padding-top: 32px;
}

.cert-verify-copy {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0.4rem auto 0;
}

.badges-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 1.8rem;
  mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
}

.badges-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: badgesScroll 32s linear infinite;
}

.badges-marquee:hover .badges-track {
  animation-play-state: paused;
}

.badge-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  gap: 0.8rem;
  text-decoration: none;
  padding: 18px 20px;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.badge-logo-item:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 0 0 1px rgba(103, 89, 255, 0.25),
    0 8px 28px rgba(103, 89, 255, 0.18);
}

.badge-logo-item img {
  width: auto;
  height: 90px;
  object-fit: contain;
  filter: brightness(0.95) contrast(1.05);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.badge-logo-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.1) contrast(1.1);
  filter: drop-shadow(0 0 10px rgba(143, 89, 255, 0.18));
}

.badge-logo-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
}

.badge-logo-track {
  gap: 2rem;
}
@keyframes badgesScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cert-profile-link {
  margin-top: 2rem;
  text-align: center;
}

/* =========================
   CERT MODAL
========================= */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 8000;   /* was 1100 */
  display: none;
}

.cert-modal.is-open {
  display: block;
}

.cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cert-modal-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 560px);
  margin: 12vh auto 0;
  padding: 1.75rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 16, 30, 0.98) 0%, rgba(8, 9, 18, 0.98) 100%);
  border: 1px solid rgba(143, 89, 255, 0.24);
  box-shadow:
    0 0 30px rgba(143, 89, 255, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.cert-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.95rem;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.cert-modal-content img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.cert-modal-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.cert-modal-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cert-modal-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .intro-copy {
    padding: 0 10vw;
  }

  .portrait,
  .cyber-layer .effect-image,
  .creative-layer .effect-image {
    width: min(46vw, 500px);
  }
}

@media (max-width: 1050px) {
  .simple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-inner {
    gap: 1rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .intro-copy {
    padding: 0 6vw;
  }

  .intro-word {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  .portrait,
  .cyber-layer .effect-image,
  .creative-layer .effect-image {
    width: min(56vw, 460px);
  }

  .skills-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nav {
    padding-top: 0.45rem;
  }

  .nav-inner {
    position: relative;
    width: min(calc(100% - 20px), 1280px);
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    box-sizing: border-box;
  }

  .nav-brand {
    justify-content: flex-start;
  }

  .nav-logo {
    width: 54px;
    height: 54px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links,
  .nav-social {
    display: none;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    z-index: 6000;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: calc(100% - 20px);
    margin: 0;
    padding: 0.65rem;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(8, 10, 22, 0.985) 0%, rgba(10, 10, 20, 0.975) 100%);
    border: 1px solid rgba(143, 89, 255, 0.18);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.45),
      0 0 22px rgba(143, 89, 255, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

  .mobile-menu a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    transition:
      color 0.22s ease,
      background 0.22s ease,
      box-shadow 0.22s ease,
      transform 0.22s ease;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible {
    color: var(--accent-2);
    background: rgba(143, 89, 255, 0.08);
    box-shadow: 0 0 16px rgba(143, 89, 255, 0.14);
    transform: translateX(2px);
    outline: none;
  }

  .hero {
    min-height: 100svh;
    padding-top: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .portrait-stack {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .portrait,
  .cyber-layer .effect-image,
  .creative-layer .effect-image {
    width: min(72vw, 320px);
    max-height: 52vh;
    object-fit: contain;
  }

  .intro-copy {
    inset: auto 0 2.3rem 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0 0.95rem;
    pointer-events: auto;
  }

  .intro-side,
  .intro-left,
  .intro-right {
    max-width: 43%;
  }

  .intro-word {
    font-size: clamp(1.15rem, 5.2vw, 1.45rem);
    line-height: 1;
    letter-spacing: 0.04em;
  }

  .intro-sub {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .cyber-portrait {
    transform: translate(-210%, -50%);
  }

  .creative-portrait {
    transform: translate(110%, -50%);
  }

  body.page-ready.intro-start .cyber-portrait,
  body.page-ready.intro-start .creative-portrait {
    transform: translate(-50%, -50%);
  }

  .page-header {
    padding-top: 148px;
  }

  .simple-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .skills-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .skill-grid-item {
    padding: 1.1rem 0.8rem;
  }

  .skill-logo {
    width: 62px;
    height: 62px;
    font-size: 0.95rem;
  }

  .skill-grid-item span {
    font-size: 0.88rem;
  }

  .badges-track {
    gap: 1.4rem;
  }

  .badge-logo-item {
    min-width: 100px;
  }

  .badge-logo-item img {
    width: 64px;
    height: 64px;
  }

  .badge-logo-item span {
    font-size: 0.82rem;
  }

  .cert-modal-content {
    padding: 1.5rem 1rem;
    margin-top: 10vh;
  }
}

@media (max-width: 520px) {
  .nav-inner {
    width: min(calc(100% - 16px), 1280px);
    min-height: 72px;
    padding: 0.45rem 0;
    box-sizing: border-box;
  }

  .nav-logo {
    width: 50px;
    height: 50px;
  }

  .mobile-menu {
    width: calc(100% - 16px);
    padding: 0.55rem;
  }

  .mobile-menu a {
    font-size: 0.95rem;
    padding: 0.72rem 0.8rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 88px;
  }

  .portrait,
  .cyber-layer .effect-image,
  .creative-layer .effect-image {
    width: min(68vw, 270px);
    max-height: 48vh;
  }

  .intro-copy {
    bottom: 2.4rem;
    padding: 0 0.72rem;
    gap: 0.6rem;
  }

  .intro-side,
  .intro-left,
  .intro-right {
    max-width: 44%;
  }

  .intro-word {
    font-size: clamp(1.08rem, 5.2vw, 1.28rem);
  }

  .intro-sub {
    font-size: 0.66rem;
    line-height: 1.28;
  }
}

@media (max-width: 1050px) {
  .about-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-grid,
  .toolkit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .about-highlights-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-card,
  .contact-card,
  .timeline-card,
  .toolkit-card,
  .about-highlight-card {
    padding: 1.25rem 1rem;
  }
}

@media (max-width: 768px) {
  .badge-logo-item img {
    height: 58px;
  }
}

/* =========================
   ABOUT PAGE COMPONENTS
========================= */
.about-intro-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 16, 30, 0.75) 0%, rgba(8, 9, 18, 0.75) 100%);
  border: 1px solid rgba(143, 89, 255, 0.16);
  box-shadow:
    0 0 24px rgba(143, 89, 255, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.22);
}

.about-intro-card p + p {
  margin-top: 1rem;
}

.about-intro-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-highlight-card {
  padding: 1.35rem 1.15rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(103, 89, 255, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 89, 255, 0.26);
  box-shadow: 0 0 18px rgba(143, 89, 255, 0.1);
}

.about-highlight-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.about-highlight-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.timeline-grid.single-column {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.timeline-card {
  padding: 1.55rem 1.35rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 14, 28, 0.9) 0%, rgba(9, 10, 20, 0.9) 100%);
  border: 1px solid rgba(103, 89, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 18px 36px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 89, 255, 0.3);
  box-shadow:
    0 0 20px rgba(143, 89, 255, 0.1),
    0 22px 42px rgba(0, 0, 0, 0.24);
}

.timeline-date {
  color: var(--accent-2);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.timeline-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.timeline-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.timeline-card p:last-child,
.timeline-card p {
  color: var(--text-muted);
  line-height: 1.65;
}

.timeline-card .btn-theme-outline {
  margin-top: 1rem;
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.toolkit-card {
  padding: 1rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(103, 89, 255, 0.1);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.toolkit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 89, 255, 0.26);
  box-shadow: 0 0 18px rgba(143, 89, 255, 0.08);
}

.toolkit-card h3 {
  font-size: 0.96rem;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.toolkit-card p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.9rem;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  text-align: center;
  background: rgba(14, 16, 30, 0.45);
  border: 1px solid rgba(143, 89, 255, 0.12);
  box-shadow: none;
}

.contact-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-links {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* =========================
   HERO TITLE UPGRADE
========================= */
.hero-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.compact-hero {
  max-width: 980px;
  padding-bottom: 8px;
}

.hero-subtext {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* =========================
   FEATURED WORK TITLE
========================= */
.section-title-accent {
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  text-shadow: none;
}

.section-title-accent {
  position: relative;
}

.section-title-accent::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
}

/* =========================
   ABOUT PAGE REBUILT
========================= */
.about-page-shell {
  padding-top: 96px;
}

.about-rebuilt-profile {
  padding-top: 18px;
  padding-bottom: 34px;
}

.about-rebuilt-top {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2.6rem;
  align-items: start;
}

.about-rebuilt-image-col {
  display: flex;
  justify-content: flex-start;
}

.about-rebuilt-frame {
  position: relative;
  width: 210px;
  padding: 10px;
  border: 1px solid rgba(143, 89, 255, 0.22);
  background: rgba(255, 255, 255, 0.01);
}

.about-rebuilt-frame::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(143, 89, 255, 0.16);
  pointer-events: none;
}

.about-rebuilt-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #08080d;
}

.about-eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.about-name {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}

.about-lead {
  color: var(--accent-2);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.about-body {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.82;
  max-width: 760px;
  margin-bottom: 0.9rem;
}

.about-rebuilt-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  max-width: 840px;
}

.about-rebuilt-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.74;
}

.about-rebuilt-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 8px rgba(143, 89, 255, 0.18);
}

.about-rebuilt-list span {
  color: var(--text-main);
  font-weight: 600;
}

.about-rebuilt-actions {
  margin-top: 1.35rem;
}

/* =========================
   ABOUT SECTION LABELS
========================= */
.about-section-label {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.06;
  margin-bottom: 1rem;
}

.about-section-gap {
  margin-top: 2.35rem;
}

/* =========================
   ABOUT TWO COLUMN LAYOUT
========================= */
.about-rebuilt-content {
  padding-top: 18px;
}

.about-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.4rem;
}

.about-col {
  min-width: 0;
}

/* =========================
   ABOUT TIMELINE
========================= */
.about-timeline {
  position: relative;
  display: grid;
  gap: 1.2rem;
}

.about-timeline::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  bottom: 0.45rem;
  left: 6px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.about-timeline-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.95rem;
  position: relative;
}

.about-timeline-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 2px solid var(--accent-2);
  background: #08080d;
  margin-top: 0.42rem;
  z-index: 2;
}

.about-timeline-main {
  min-width: 0;
}

/* =========================
   ABOUT DATE CHIPS
========================= */
.about-date-chip {
  display: inline-block;
  padding: 0.38rem 0.95rem;
  margin-bottom: 0.6rem;

  border-radius: 12px;

  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;

  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(143, 89, 255, 0.62);

  box-shadow: 0 0 12px rgba(143, 89, 255, 0.08);
}

.about-timeline-box {
  padding: 0.92rem 0.95rem;
  border: 1px solid rgba(103, 89, 255, 0.12);
  background: rgba(11, 13, 24, 0.74);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.about-timeline-box:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 89, 255, 0.26);
  background: rgba(12, 14, 26, 0.86);
}

.about-timeline-box h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.about-mini-accent {
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.55rem;
}

.about-timeline-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.about-inline-link {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--accent-2);
  font-size: 0.88rem;
  text-decoration: none;
}

.about-inline-link:hover {
  color: #fff;
}

/* =========================
   ABOUT CONTACT
========================= */
.about-contact-section {
  padding-top: 40px;
  padding-bottom: 64px;
}

.about-contact-wrap {
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(143, 89, 255, 0.12);
  border-radius: 16px;
  background: rgba(14, 16, 30, 0.38);
}

.about-contact-wrap p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.about-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

/* =========================
   ABOUT RESPONSIVE
========================= */
@media (max-width: 980px) {
  .about-rebuilt-top,
  .about-columns {
    grid-template-columns: 1fr;
  }

  .about-rebuilt-image-col {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .about-page-shell {
    padding-top: 110px;
  }

  .about-rebuilt-frame {
    width: 180px;
  }

  .about-tools-grid {
    grid-template-columns: 1fr;
  }

  .about-contact-links {
    justify-content: center;
  }
}

/* =========================
   PRIMARY OUTLINE CTA
========================= */
.btn-theme-strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 220px;
  padding: 0.95rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  color: #ffffff;
  background: rgba(143, 89, 255, 0.08);
  border: 1.5px solid rgba(143, 89, 255, 0.72);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 0 18px rgba(143, 89, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-theme-strong:hover {
  transform: translateY(-2px);
  background: rgba(143, 89, 255, 0.14);
  border-color: rgba(179, 140, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 0 24px rgba(143, 89, 255, 0.2);
}

/* =========================
   CYBER ENTRY MOTION
========================= */
.cyber-enter-up {
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.85s ease;
}

.page-header.cyber-enter-up {
  transition-delay: 0.2s;
}

.filter-pills.cyber-enter-up {
  transition-delay: 0.34s;
}

.projects-grid.cyber-enter-up {
  transition-delay: 0.48s;
}

body.page-ready .cyber-enter-up {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ABOUT ENTRY MOTION
========================= */
.about-enter-left,
.about-enter-right {
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease;
}

.about-enter-left {
  transform: translateX(-36px);
  transition-delay: 0.28s;
}

.about-enter-right {
  transform: translateX(36px);
  transition-delay: 0.42s;
}

body.page-ready .about-enter-left,
body.page-ready .about-enter-right {
  opacity: 1;
  transform: translateX(0);
}

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

/* =========================
   PROJECT MODAL
========================= */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 8000;   /* was 2000 */
  display: none;
}

.project-modal.active {
  display: block;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.project-modal-content {
  position: relative;
  max-width: 600px;
  margin: 10vh auto;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(20, 22, 36, 0.95);
  border: 1px solid rgba(143, 89, 255, 0.25);
  backdrop-filter: blur(16px);
  text-align: center;
}

.project-modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.project-modal-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.project-modal-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.project-modal-actions {
  display: flex;
  justify-content: center;
}

.project-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
}

/* =========================
   BOTTOM NAV BAR
========================= */
.bottom-nav {
  margin-top: 80px;
  padding: 18px 0;

  background: rgba(18, 20, 34, 0.46);
  border-top: 1px solid rgba(143, 89, 255, 0.14);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.16);
}

.bottom-nav-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* LEFT */
.bottom-nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.bottom-nav-left span {
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}

/* CENTER (UP BUTTON) */
.bottom-nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-nav-up {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  text-decoration: none;

  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);

  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(143, 89, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.bottom-nav-up:hover,
.bottom-nav-up:focus-visible {
  transform: translateY(-2px);
  background: rgba(143, 89, 255, 0.08);
  border-color: rgba(143, 89, 255, 0.55);
  box-shadow: 0 0 14px rgba(143, 89, 255, 0.14);
  color: #ffffff;
  outline: none;
}

/* RIGHT LINKS */
.bottom-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.9rem;
}

.bottom-nav-right a {
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

.bottom-nav-right a:hover,
.bottom-nav-right a:focus-visible {
  color: var(--accent);
  text-shadow:
    0 0 6px rgba(143, 89, 255, 0.6),
    0 0 14px rgba(143, 89, 255, 0.35);
  transform: translateY(-1px);
  outline: none;
}

.bottom-nav-right a.active,
.bottom-nav-right a[aria-current="page"] {
  color: var(--accent);
  text-shadow:
    0 0 6px rgba(143, 89, 255, 0.6),
    0 0 14px rgba(143, 89, 255, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .bottom-nav-inner {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .bottom-nav-left,
  .bottom-nav-center,
  .bottom-nav-right {
    justify-content: center;
  }

  .bottom-nav-right {
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
  }
}

@media (max-width: 640px) {
  .bottom-nav {
    margin-top: 64px;
    padding: 16px 0;
  }

  .bottom-nav-inner {
    width: min(1280px, calc(100% - 32px));
  }

  .bottom-nav-left span,
  .bottom-nav-right a {
    font-size: 0.94rem;
  }

  .bottom-nav-right {
    gap: 0.95rem 1.2rem;
  }
}

/* =========================
   ART PAGE
========================= */
.art-gallery-section {
  padding-top: 10px;
  padding-bottom: 34px;
}

.art-filter-pills {
  justify-content: center;
  margin-bottom: 1.4rem;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.art-card {
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
  transform: translateY(0);
  background: linear-gradient(180deg, rgba(12, 14, 28, 0.94) 0%, rgba(9, 10, 20, 0.94) 100%);
  border: 1px solid rgba(103, 89, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 16px 30px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.26s ease,
    border-color 0.26s ease,
    box-shadow 0.26s ease;
}

.art-card:hover {
  transform: translateY(-8px);
  border-color: rgba(143, 89, 255, 0.38);
  box-shadow:
    0 0 20px rgba(143, 89, 255, 0.09),
    0 22px 40px rgba(0, 0, 0, 0.24);
}

.art-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.9rem 0.9rem 0;
  border-radius: 16px;
}

.art-card-image img {
  width: 100%;
  height: 370px;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  border: 1px solid rgba(103, 89, 255, 0.12);
  background: #08080d;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
}

.art-card:hover .art-card-image img {
  transform: scale(1.025);
  filter: brightness(1.03);
}

.art-card-body {
  padding: 0.9rem 1rem 1.05rem;
}

.art-card-kicker {
  margin-bottom: 0.35rem;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.art-card h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.art-card:hover .art-card-kicker {
  color: #c4a7ff;
}

.art-card:hover h3 {
  color: #ffffff;
}

/* =========================
   ART ENTRY MOTION
========================= */
.art-enter-up {
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.85s ease;
}

.page-header.art-enter-up {
  transition-delay: 0.2s;
}

.art-grid.art-enter-up {
  transition-delay: 0.38s;
}

body.page-ready .art-enter-up {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ART MODAL
========================= */
.art-modal {
  position: fixed;
  inset: 0;
  z-index: 8000;   /* was 2000 */
  display: none;
}

.art-modal.active {
  display: block;
}

.art-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.art-modal-content {
  position: relative;
  z-index: 2;
  width: min(88vw, 820px);
  min-height: 560px;
  margin: 6vh auto 0;
  padding: 1.25rem;
  border-radius: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(14, 16, 30, 0.98) 0%, rgba(8, 9, 18, 0.98) 100%);
  border: 1px solid rgba(143, 89, 255, 0.18);
  box-shadow:
    0 0 30px rgba(143, 89, 255, 0.1),
    0 24px 60px rgba(0, 0, 0, 0.42);
}

.art-modal-image {
  width: 100%;
  height: 400px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  background: #08080d;
  margin-bottom: 1rem;
}

.art-modal-medium {
  margin-bottom: 0.4rem;
  color: var(--accent-2);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.art-modal-content h3 {
  margin-bottom: 0.55rem;
  font-size: 1.3rem;
  font-weight: 500;
}

.art-modal-content p:last-child {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.7;
}

.art-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.95rem;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* =========================
   ART IMAGE PROTECTION
========================= */
.artwork-image,
.art-modal-image {
  -webkit-user-drag: none;
  user-select: none;
}

/* =========================
   ART RESPONSIVE
========================= */
@media (max-width: 1050px) {
  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .art-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .art-modal-content {
    width: min(94vw, 760px);
    min-height: auto;
    padding: 1rem;
    margin-top: 10vh;
  }

  .art-modal-image {
    height: 280px;
  }
}

/* =========================
   CLEANUP PATCHES
========================= */
/* Keep modal open-state behavior consistent */
.cert-modal.active,
.cert-modal.is-open,
.project-modal.active,
.art-modal.active {
  display: block;
}

/* Shared hidden state for filtered cards */
.project-card-simple.is-hidden,
.art-card.is-hidden {
  display: none !important;
}

/* Safer keyboard focus for interactive UI */
.nav-links a:focus-visible,
.intro-word:focus-visible,
.filter-pill:focus-visible,
.project-link:focus-visible,
.badge-logo-item:focus-visible,
.bottom-nav-right a:focus-visible,
.bottom-nav-up:focus-visible,
.art-card:focus-visible,
.project-card-simple:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid rgba(143, 89, 255, 0.9);
  outline-offset: 3px;
}

/* Reduce layout thrash during nav motion */
.nav {
  will-change: transform, opacity;
}

/* Performance: only animate what needs it */
.project-card-simple,
.art-card,
.badge-logo-item,
.filter-pill,
.bottom-nav-up,
.nav-links a,
.button,
.btn,
.cta-button {
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================
   ART PAGE HEADER OVERRIDE
========================= */
.art-page-header {
  padding-top: 140px;
  padding-bottom: 28px;
  max-width: 900px;
}

.art-page-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #f5f2ff;
}

.art-page-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}

/* =========================
   CYBER SECTION HEADING TWEAKS
========================= */
/* Top Skills */
.skills-grid-section .section-heading h2 {
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #f5f2ff;
  margin-bottom: 0.7rem;
}

.skills-grid-section .section-intro {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}

/* Certifications */
.cert-verify-section .section-heading h2 {
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #f5f2ff;
  margin-bottom: 0.7rem;
}

.cert-verify-section .cert-verify-copy {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}

/* =========================
   SAFE CARD COMPACTING OVERRIDES
========================= */
/* --- CYBER PROJECT CARDS --- */
.project-card-simple {
  border-radius: 20px;
}

.project-card-simple-image {
  padding: 0.85rem 0.85rem 0;
}

.project-card-simple-image img {
  aspect-ratio: 16 / 8.8;
  border-radius: 16px;
}

.project-card-simple-body {
  padding: 1rem 1.05rem 1.1rem;
}

.project-card-simple-kicker {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
}

.project-card-simple h3 {
  font-size: clamp(1.12rem, 1.45vw, 1.45rem);
  line-height: 1.15;
  margin-bottom: 0.55rem;
}

.project-card-simple p:last-of-type {
  font-size: 0.93rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

/* --- ART CARDS --- */
.art-grid {
  gap: 1.25rem;
}

.art-card {
  border-radius: 18px;
}

.art-card-image {
  padding: 0.8rem 0.8rem 0;
}

.art-card-image img {
  height: 300px;
  border-radius: 14px;
}

.art-card-body {
  padding: 0.8rem 0.9rem 0.95rem;
}

.art-card-kicker {
  margin-bottom: 0.28rem;
  font-size: 0.76rem;
  letter-spacing: 0.035em;
}

.art-card h3 {
  font-size: 0.96rem;
  line-height: 1.18;
}

/* --- RESPONSIVE TUNING --- */
@media (max-width: 1050px) {
  .art-card-image img {
    height: 270px;
  }
}

@media (max-width: 700px) {
  .project-card-simple-body {
    padding: 0.95rem 0.95rem 1rem;
  }

  .project-card-simple h3 {
    font-size: 1.08rem;
  }

  .project-card-simple p:last-of-type {
    font-size: 0.91rem;
  }

  .art-card-image img {
    height: 240px;
  }

  .art-card-body {
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .art-card h3 {
    font-size: 0.94rem;
  }
}

/* =========================
   LANDING INTRO SMOOTHING
========================= */
.cyber-portrait,
.creative-portrait,
.cyber-layer .effect-image,
.creative-layer .effect-image {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.cyber-portrait,
.creative-portrait {
  opacity: 0.001;
}

body.page-ready.intro-start .cyber-portrait,
body.page-ready.intro-start .creative-portrait {
  opacity: 1;
}

/* =========================
   ADDITIONAL TOOLS 
========================= */
.tools-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.tool-pill {
  padding: 0.5rem 0.75rem;
  border-radius: 10px; 

  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(235, 228, 255, 0.82);

  background: linear-gradient(
    180deg,
    rgba(14, 16, 30, 0.9) 0%,
    rgba(10, 12, 24, 0.9) 100%
  );

  border: 1px solid rgba(103, 89, 255, 0.14);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

/* make pills behave like UI elements, not links */
.tool-pill {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tool-pill:hover,
.tool-pill:focus-visible {
  transform: translateY(-1px);

  border-color: rgba(143, 89, 255, 0.3);

  box-shadow:
    0 0 12px rgba(143, 89, 255, 0.12);

  color: #ffffff;

  outline: none;
}

.tool-pill:hover::after {
  content: " ↗";
  font-size: 0.75rem;
  opacity: 0.6;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-page-header {
  padding-top: 140px;
  padding-bottom: 24px;
  max-width: 900px;
}

.contact-page-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #f5f2ff;
}

.contact-page-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}

.contact-section {
  padding-top: 12px;
}

.contact-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.6rem;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(14, 16, 30, 0.92) 0%,
    rgba(10, 12, 24, 0.92) 100%
  );
  border: 1px solid rgba(103, 89, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 14px 38px rgba(0, 0, 0, 0.28);
}

.contact-panel-copy {
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-panel-copy h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600;
  color: #f5f2ff;
}

.contact-panel-copy p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px)); 
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.2rem;
}

.contact-tile {
  display: flex;
  flex-direction: column;  
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;

  min-height: 120px;
  padding: 1rem 0.9rem;
  border-radius: 20px;

  text-decoration: none;
  color: inherit;

  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(103, 89, 255, 0.12);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}
.contact-tile:hover .contact-tile-label {
  color: #ffffff;
}

.contact-tile:hover,
.contact-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(143, 89, 255, 0.3);
  box-shadow: 0 0 16px rgba(143, 89, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

.contact-tile-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(103, 89, 255, 0.08);
  border: 1px solid rgba(103, 89, 255, 0.16);
}

.contact-tile-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.contact-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.contact-tile-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.contact-tile-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-note {
  margin: 1.2rem 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .contact-panel {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .contact-tile {
    padding: 0.95rem 1rem;
    border-radius: 18px;
  }

  .contact-tile-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .contact-tile-icon img {
    width: 27px;
    height: 27px;
  }

  .contact-tile-value {
    font-size: 0.95rem;
  }
}

/* =========================
   CONTACT PAGE TRANSITION TUNING
========================= */
body[data-page="contact"] .page-header,
body[data-page="contact"] .contact-panel,
body[data-page="contact"] .bottom-nav {
  will-change: transform, opacity;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s ease,
    box-shadow 0.25s ease;
}

body[data-page="contact"] .page-header {
  transform: translateY(12px);
  opacity: 0;
}

body[data-page="contact"] .contact-panel {
  transform: translateY(18px);
  opacity: 0;
}

body[data-page="contact"] .bottom-nav {
  transform: translateY(10px);
  opacity: 0;
}

body.page-ready[data-page="contact"] .page-header,
body.page-ready[data-page="contact"] .contact-panel,
body.page-ready[data-page="contact"] .bottom-nav {
  transform: translateY(0);
  opacity: 1;
}

body.page-leaving[data-page="contact"] .page-header,
body.page-leaving[data-page="contact"] .contact-panel,
body.page-leaving[data-page="contact"] .bottom-nav {
  transform: translateY(8px);
  opacity: 0;
}

/* =========================
   MENU LAYER SAFETY PATCH
========================= */
.nav {
  z-index: 5000;
}

.nav-toggle {
  position: relative;
  z-index: 7000;
}

.mobile-menu {
  z-index: 6000;
}

body.menu-open .hero,
body.menu-open main,
body.menu-open .page-header,
body.menu-open .section,
body.menu-open .bottom-nav {
  pointer-events: none;
}

body.menu-open .nav,
body.menu-open .nav-brand,
body.menu-open .nav-toggle,
body.menu-open .mobile-menu {
  pointer-events: auto;
}
