/* ═══════════════════════════════════════════════
   ISHAN SHRESTHA — CV WEBSITE
   Palette: Copper & Slate Editorial
   ═══════════════════════════════════════════════ */

:root {
  --copper:       #B87333;
  --copper-light: #D4A574;
  --copper-pale:  #F0D9C0;
  --slate-dark:   #2F3640;
  --slate:        #3D4A56;
  --slate-mid:    #6B7A8A;
  --cream:        #F5F0EB;
  --cream-dark:   #EDE5DA;
  --white:        #FAFAF8;
  --text-dark:    #1C2128;
  --text-mid:     #4A5568;
  --text-light:   #8A9BB0;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --nav-width: 80px;
  --section-pad: clamp(80px, 10vw, 140px);
  --content-max: 1100px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ─── Custom Cursor ─── */
.cursor {
  width: 8px; height: 8px;
  background: var(--copper);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
}
.cursor-follower {
  width: 32px; height: 32px;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
  opacity: 0.6;
}

/* ─── Side Navigation ─── */
.sidenav {
  position: fixed;
  left: 0; top: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--slate-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  z-index: 100;
}
.sidenav__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--copper-light);
  letter-spacing: 0.05em;
  margin-bottom: 48px;
}
.sidenav__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sidenav__links li { width: 100%; }
.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  width: var(--nav-width);
  transition: color 0.3s;
}
.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--slate-mid);
  transition: all 0.3s var(--ease-out);
  display: block;
}
.nav-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-mid);
  transition: color 0.3s;
}
.nav-link:hover .nav-dot,
.nav-link.active .nav-dot {
  background: var(--copper);
  border-color: var(--copper);
  transform: scale(1.5);
}
.nav-link:hover .nav-label,
.nav-link.active .nav-label {
  color: var(--copper-light);
}
.sidenav__line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--slate-mid), transparent);
  margin-top: 16px;
}

/* ─── Mobile Header ─── */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--slate-dark);
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 200;
}
.mobile-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--copper-light);
}
.hamburger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--cream);
  transition: all 0.3s var(--ease-out);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--slate-dark);
  padding: 24px;
  z-index: 199;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-out);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
  display: block; padding: 14px 16px;
  font-size: 1rem; font-weight: 500;
  color: var(--cream); border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.mobile-link:hover { background: rgba(184,115,51,0.15); color: var(--copper-light); }

/* ─── Main Content ─── */
.main-content { margin-left: var(--nav-width); }

/* ─── Sections ─── */
.section {
  min-height: 100vh;
  padding: var(--section-pad) clamp(32px, 6vw, 100px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 24px;
}
.section__heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 48px;
}
.section__heading em {
  font-style: italic;
  color: var(--copper);
}

/* ─── Reveal Animations ─── */
.reveal-up, .reveal-left {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left {
  transform: translateX(-20px);
}
.reveal-up.visible, .reveal-left.visible {
  opacity: 1;
  transform: translate(0);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  cursor: none;
}
.btn--primary {
  background: var(--copper);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--slate-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,115,51,0.3);
}
.btn--ghost {
  border: 1.5px solid var(--slate-dark);
  color: var(--slate-dark);
}
.btn--ghost:hover {
  background: var(--slate-dark);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
  background: var(--cream);
  overflow: hidden;
  min-height: 100vh;
  justify-content: flex-end;
  padding-bottom: clamp(60px, 8vw, 100px);
}
.hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -52%);
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--cream-dark);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
}
.hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(184,115,51,0.1);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
  transition-delay: 0.1s;
}
.hero__name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  transition-delay: 0.2s;
}
.hero__name--first {
  color: var(--text-dark);
}
.hero__name--last {
  color: var(--copper);
  font-style: italic;
  font-weight: 400;
  padding-left: clamp(20px, 4vw, 80px);
}
.hero__sub {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  transition-delay: 0.3s;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  transition-delay: 0.4s;
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  transition-delay: 0.5s;
}
.scroll-line {
  width: 60px; height: 1px;
  background: var(--copper-light);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--copper);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}
.hero__meta {
  position: absolute;
  right: clamp(32px, 6vw, 100px);
  bottom: clamp(60px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
.meta-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}
.meta-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ═══════════════════════ ABOUT ═══════════════════════ */
.about { background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  max-width: var(--content-max);
  align-items: start;
}
.about__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 36px;
}
.about__details {
  margin-bottom: 36px;
  border-top: 1px solid var(--cream-dark);
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.detail-key {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.detail-val {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}
.pref-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}
.pref-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  color: var(--text-mid);
  transition: all 0.2s;
}
.tag:hover {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

/* ═══════════════════════ EXPERIENCE ═══════════════════════ */
.experience { background: var(--cream); }
.exp__total {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: -32px;
  margin-bottom: 56px;
}
.timeline { max-width: 800px; }
.timeline__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}
.timeline__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 3px var(--copper-pale);
  flex-shrink: 0;
}
.timeline__line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, var(--copper-pale), transparent);
  margin-top: 8px;
}
.timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.timeline__role {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.timeline__company {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--copper);
}
.timeline__meta {
  text-align: right;
  flex-shrink: 0;
}
.timeline__date {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 4px;
}
.timeline__duration {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--slate-dark);
  padding: 3px 10px;
  border-radius: 2px;
}
.timeline__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline__bullets li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}
.timeline__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 1px;
  background: var(--copper);
}

/* ═══════════════════════ EDUCATION ═══════════════════════ */
.education { background: var(--slate-dark); }
.education .section__label { color: var(--copper-light); }
.education .section__heading { color: var(--cream); }
.education .section__heading em { color: var(--copper-light); }
.edu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--content-max);
}
.edu__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.edu__card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
}
.edu__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--copper);
}
.edu__year {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 16px;
}
.edu__level {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper-light);
  display: block;
  margin-bottom: 8px;
}
.edu__degree {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
  line-height: 1.3;
}
.edu__institution {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--copper-light);
  margin-bottom: 4px;
}
.edu__board {
  font-size: 0.78rem;
  color: var(--slate-mid);
  line-height: 1.5;
}
.edu__badge {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  border: 1px solid var(--copper);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ═══════════════════════ SKILLS ═══════════════════════ */
.skills { background: var(--white); }
.skills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--content-max);
  margin-bottom: 64px;
}
.skills__cat-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}
.skill-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 2px;
  transition: all 0.25s var(--ease-out);
  cursor: default;
}
.pill--tech {
  background: var(--slate-dark);
  color: var(--cream);
}
.pill--tech:hover {
  background: var(--copper);
  transform: translateY(-2px);
}
.pill--soft {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  color: var(--text-mid);
}
.pill--soft:hover {
  background: var(--copper-pale);
  border-color: var(--copper-light);
  transform: translateY(-2px);
}
.lang__section { max-width: var(--content-max); }
.lang__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.lang__card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  padding: 28px;
  transition: transform 0.3s var(--ease-out);
}
.lang__card:hover { transform: translateY(-3px); }
.lang__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.lang__bars { display: flex; flex-direction: column; gap: 12px; }
.lang__bar-row {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  gap: 10px;
}
.lang__bar-row > span:first-child {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bar-track {
  height: 3px;
  background: var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--copper), var(--copper-light));
  border-radius: 2px;
  width: 0;
  transition: width 1.2s var(--ease-out);
}
.bar-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--copper);
  text-align: right;
}

/* ═══════════════════════ REFERENCES ═══════════════════════ */
.references { background: var(--cream); min-height: auto; padding-top: 80px; padding-bottom: 80px; }
.ref__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 700px;
}
.ref__card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  padding: 32px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.ref__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(47,54,64,0.08);
}
.ref__icon {
  width: 48px; height: 48px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--copper);
  margin-bottom: 20px;
}
.ref__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.ref__title {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--copper);
  margin-bottom: 2px;
}
.ref__company {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.ref__contact {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-dark);
  transition: color 0.2s;
}
.ref__contact:hover { color: var(--copper); }

/* ═══════════════════════ CONTACT ═══════════════════════ */
.contact { background: var(--slate-dark); }
.contact .section__label { color: var(--copper-light); }
.contact .section__heading { color: var(--cream); }
.contact .section__heading em { color: var(--copper-light); }
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: var(--content-max);
  align-items: start;
}
.contact__intro {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245,240,235,0.7);
  margin-bottom: 40px;
}
.contact__links { display: flex; flex-direction: column; gap: 4px; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 4px;
  transition: background 0.2s;
}
.contact__item:hover { background: rgba(255,255,255,0.05); }
.contact__icon {
  width: 40px; height: 40px;
  background: rgba(184,115,51,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--copper-light);
  flex-shrink: 0;
}
.contact__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-mid);
  margin-bottom: 2px;
}
.contact__value {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream);
}
.contact__salary-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact__salary-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--copper), var(--copper-light));
}
.salary-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-mid);
  margin-bottom: 12px;
}
.salary-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--copper-light);
  line-height: 1;
  margin-bottom: 4px;
}
.salary-period {
  font-size: 0.8rem;
  color: var(--slate-mid);
  margin-bottom: 24px;
}
.salary-divider {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 20px;
}
.salary-note {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(245,240,235,0.5);
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
.footer {
  background: #1A1F26;
  padding: 24px clamp(32px, 6vw, 100px);
  margin-left: var(--nav-width);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--content-max);
}
.footer__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--copper-light);
}
.footer__copy {
  font-size: 0.75rem;
  color: var(--slate-mid);
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .skills__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__grid { grid-template-columns: 1fr; }
  .hero__meta { position: static; flex-direction: row; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
  .hero__meta-item { text-align: left; }
}

@media (max-width: 768px) {
  :root { --nav-width: 0px; }
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  .sidenav { display: none; }
  .mobile-header { display: flex; }
  .mobile-menu { display: block; }
  .main-content { margin-left: 0; padding-top: 60px; }
  .footer { margin-left: 0; }
  .section { padding: 60px 24px; min-height: auto; }
  .hero { min-height: 100vh; padding-top: 80px; }
  .hero__name { font-size: clamp(3rem, 14vw, 5rem); }
  .hero__bg-text { font-size: clamp(80px, 30vw, 160px); }
  .timeline__item { grid-template-columns: 28px 1fr; gap: 16px; }
  .timeline__header { flex-direction: column; gap: 8px; }
  .timeline__meta { text-align: left; }
  .edu__grid { grid-template-columns: 1fr; }
  .lang__grid { grid-template-columns: 1fr; }
  .ref__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .lang__bar-row { grid-template-columns: 60px 1fr 60px; }
  .footer__inner { flex-direction: column; gap: 8px; text-align: center; }
}