/* ===== CSS Variables – CUG inspired (cug.ac.in) ===== */
:root {
  /* Deep navy from CUG header / brand */
  --primary: #1c324f;
  --primary-light: #0066b3;
  --primary-dark: #0d1b2a;
  /* Saffron accents (CUG logo / Indian academic palette) */
  --accent: #e65100;
  --accent-hover: #ff6d00;
  --accent-soft: #fff3e0;
  --bg: #f8f9fa;
  --bg-alt: #f1f4f9;
  --surface: #ffffff;
  --text: #212529;
  --text-muted: #4a5568;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(28, 50, 79, 0.08), 0 2px 4px -1px rgba(28, 50, 79, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(28, 50, 79, 0.12), 0 8px 10px -6px rgba(28, 50, 79, 0.06);
  --radius: 12px;
  --header-height: 4.5rem;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
}

.section {
  padding: 5rem 0 4rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.35rem;
}
.section__subtitle {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  z-index: 100;
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}
.nav__logo span { color: var(--accent); }

.nav__list {
  display: flex;
  gap: 1.75rem;
}
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}
.nav__link:hover,
.nav__link.active-link { color: var(--primary); }
.nav__link.active-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav__toggle, .nav__close {
  display: none;
  font-size: 1.35rem;
  color: var(--primary);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  background: linear-gradient(160deg, #e8eef5 0%, #f1f4f9 40%, #fff 100%);
  position: relative;
}
.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.hero__greeting {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.hero__description {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 36rem;
}
.hero__email {
  margin: -0.5rem 0 1rem;
  font-size: 0.95rem;
}
.hero__email a {
  color: var(--primary-light);
  font-weight: 500;
}
.hero__email a:hover { color: var(--accent); }
.hero__email i { margin-right: 0.4rem; }

.hero__profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.hero__profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}
.hero__profile-links a i {
  font-size: 0.95rem;
  color: var(--accent);
}
.hero__profile-links a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.hero__social {
  display: flex;
  gap: 1rem;
}
.hero__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow);
  font-size: 1.15rem;
  transition: all var(--transition);
}
.hero__social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__photo-wrap {
  position: relative;
  width: min(320px, 85vw);
  aspect-ratio: 1;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(26, 54, 93, 0.2);
  border: 5px solid #fff;
  background: #edf2f7;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero__photo-wrap:hover .hero__photo {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(26, 54, 93, 0.28);
}
.hero__photo-badge {
  position: absolute;
  bottom: 8%;
  right: 4%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.hero__photo-wrap:hover .hero__photo-badge {
  transform: scale(1.08);
}
.hero__photo-badge-logo {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.hero__scroll a {
  color: var(--text-muted);
  font-size: 1.25rem;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== About ===== */
.about__text {
  max-width: 48rem;
  margin: 0 auto 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.about__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.highlight-card {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.highlight-card i,
.om-icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: inline-block;
}
.om-icon {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.highlight-card h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Institution Logos ===== */
.inst-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  border: 2px solid var(--border);
  padding: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.inst-logo-img:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(26, 54, 93, 0.25);
  border-color: var(--primary-light);
}

/* ===== Timeline (Education) ===== */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 3px;
}
.timeline__item {
  position: relative;
  padding-bottom: 2.25rem;
  padding-left: 4.5rem;
  display: flex;
  flex-direction: column;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__logo {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.timeline__date {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.timeline__title {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.timeline__place {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Experience ===== */
.experience { background: var(--bg-alt); }
.experience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.exp-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.exp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.exp-card:hover .inst-logo-img {
  transform: scale(1.1);
  border-color: var(--primary);
}
.exp-card--current {
  border-left: 4px solid var(--accent);
}
.exp-card__header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.exp-card__header-text { flex: 1; min-width: 0; }
.exp-card__badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.exp-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.exp-card__role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.exp-card__org {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.exp-card__date {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.exp-card__date i { margin-right: 0.35rem; }
.exp-card__details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.exp-card__details li { margin-bottom: 0.35rem; }
.exp-card__details a { color: var(--primary-light); font-weight: 500; }
.exp-card__details a:hover { color: var(--accent); }

/* ===== Research ===== */
.research__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.res-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.res-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.res-card:hover .res-card__icon {
  transform: scale(1.08) rotate(-3deg);
}
.res-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  overflow: hidden;
}
.res-card__icon--img {
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px;
}
.res-card__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.res-card__icon--text {
  font-family: var(--font-display), serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.res-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.res-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 0.75rem;
}
.res-card__tag {
  display: inline-block;
  font-size: 0.8rem;
  background: var(--bg-alt);
  color: var(--primary);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
}
.res-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}
.res-card__link:hover { text-decoration: underline; }

/* ===== Publications ===== */
.publications { background: var(--bg-alt); }
.pub-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.pub-tab {
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.pub-tab:hover { color: var(--primary); }
.pub-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pub-panel { display: none; }
.pub-panel.active { display: block; }
.pub-list {
  max-width: 850px;
  margin: 0 auto;
  list-style: none;
  counter-reset: pub;
}
.pub-list li {
  position: relative;
  padding: 1.1rem 1.25rem 1.1rem 3.25rem;
  background: var(--surface);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pub-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.pub-list li::before {
  counter-increment: pub;
  content: counter(pub);
  position: absolute;
  left: 0.85rem;
  top: 1.15rem;
  width: 1.7rem;
  height: 1.7rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.pub-list li:hover::before {
  background: var(--accent);
  transform: scale(1.1);
}
.pub-list strong { color: var(--text); }
.pub-list em { color: var(--primary-light); font-style: italic; }
.pub-list a {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
}
.pub-list a:hover { text-decoration: underline; }

/* ===== Reviewer ===== */
.reviewer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.rev-item {
  background: var(--surface);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.rev-item i {
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ===== Awards ===== */
.awards { background: var(--bg-alt); }
.awards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.award-card {
  background: var(--surface);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.award-card:hover { transform: translateY(-4px); }
.award-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #e65100, #ff6d00);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.award-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.award-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Talks ===== */
.talks__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.talks__column h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.talks__column h3 i { color: var(--accent); }
.talks__column ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.talks__column ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.talks__hobbies-title {
  margin-top: 2rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.hobbies-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}
.hobbies-list li {
  padding-left: 0 !important;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0 !important;
}
.hobbies-list li::before {
  display: none !important;
}
.hobbies-list li i {
  color: var(--accent);
  width: 1.15rem;
  text-align: center;
  flex-shrink: 0;
}

/* ===== Contact ===== */
.contact { background: var(--bg-alt); }
.contact__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact__card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact__card i {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.contact__card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.contact__card a, .contact__card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact__card a:hover { color: var(--accent); }
.contact__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
}
.contact__links a {
  font-weight: 500;
  color: var(--primary-light);
}
.contact__links a:hover { color: var(--accent); }
.contact__links i { margin-right: 0.3rem; }

.contact__refs h3 {
  text-align: center;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.references { background: var(--bg-alt); }
.refs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.refs__grid--standalone {
  max-width: 960px;
  margin: 0 auto;
}
.ref-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ref-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.ref-card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.ref-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.ref-card a {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 500;
}
.ref-card a:hover { color: var(--accent); }

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: #e2e8f0;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer__note {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* ===== Scroll Up ===== */
.scrollup {
  position: fixed;
  right: 1.25rem;
  bottom: -20%;
  background: var(--primary);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 99;
  transition: bottom var(--transition), background var(--transition);
}
.scrollup:hover { background: var(--primary-light); }
.scrollup.show-scroll { bottom: 1.5rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__ids, .hero__buttons, .hero__social {
    justify-content: center;
  }
  .hero__description { margin-inline: auto; }
  .hero__visual { order: -1; }
  .talks__content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    padding: 5rem 2rem 2rem;
    transition: right 0.35s ease;
    z-index: 100;
  }
  .nav__menu.show-menu { right: 0; }
  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
  }
  .nav__link { font-size: 1.05rem; }
  .nav__close {
    display: block;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
  }
  .nav__toggle { display: block; }
  .section { padding: 3.5rem 0 3rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.1rem; }
  .pub-list li { font-size: 0.88rem; }
}
