:root {
  --color-bg: #0a0f0a;
  --color-surface: #111711;
  --color-text: #f0ede6;
  --color-muted: #8a9e8a;
  --color-accent: #c8e6a0;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --navbar-height: 64px;
  --max-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  height: 100%;
  overflow-x: hidden;
}

body {
  height: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
}

/* ── COVER ── */
#cover {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.cover-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/cover.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.0);
  transition: transform 0.1s linear;
}

.cover-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 10, 0.15) 0%,
    rgba(10, 15, 10, 0.25) 60%,
    rgba(10, 15, 10, 0.55) 100%
  );
}

.cover-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 2rem 4rem;
  max-width: 1400px;
  margin-left: 0;
  margin-right: auto;
  margin-top: -35vh;
}

.cover-logo {
  width: clamp(200px, 30vw, 480px);
  margin-bottom: -14rem;
  margin-left: -1rem;
  margin-top: 10rem;
  display: block;
}

.cover-acronym {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 900;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 1rem;
  margin-left: 2rem;
}

.cover-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  margin-left: 2rem;
}

.cover-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 1000;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  margin-left: 2rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: rgba(10, 15, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 230, 160, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#navbar.visible {
  transform: translateY(0);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-text);
}

/* ── SECTIONS ── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--color-text);
}

/* ── ABOUT ── */
#about {
  position: relative;
  overflow: hidden;
  z-index: 10;
  min-height: 100vh;
  height: auto;
}

.section-bg {
  position: fixed;
  inset: 0;
  background-image: url('../images/background.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.about-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 7rem 2rem;
}

.about-label {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  margin-left: -3rem;
  margin-top: 6rem;
}

.about-body {
  font-size: 1.1rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  margin-left: -3rem;
  text-align: justify;
}

.about-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  margin-left: -3rem;
}

.about-btn:hover {
  background: var(--color-accent);
  color: #0a0f0a;
}

.about-scroll-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  animation: bob 2s ease-in-out infinite;
}

#cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #0d1f10);
  z-index: 1;
}

/* ── SLIDESHOW PANEL ── */
.slideshow-panel {
  position: relative;
  width: 125%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 12px;
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide-img.active {
  opacity: 1;
}

.about-container .slideshow-panel {
  margin-left: 7rem;
  margin-top: 8rem;
}

.research-container .slideshow-panel {
  margin-left: -2rem;
  margin-top: 7rem;
  width: 115%;
}

/* ── RESEARCH ── */
#research {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 10;
  min-height: 100vh;
  height: auto;
}

.research-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 85%;
  margin: 0 auto;
  padding: 3rem 2rem;
  margin-top: -3rem;
}

.theme-list {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.theme-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-top: 2px solid rgba(200, 230, 160, 0.12);
  transition: border-color 0.2s;
}

.theme-item:last-child {
  border-bottom: 1px solid rgba(200, 230, 160, 0.12);
}

.theme-item:hover {
  border-color: rgba(200, 230, 160, 0.3);
}

.theme-number {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  min-width: 2rem;
  padding-top: 0.2rem;
}

.theme-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  letter-spacing: 2px;
  
}

.theme-desc {
  font-size: 1rem;
  font-weight: 150;
  color: white;
  line-height: 1.6;
}

/* ── TEAM ── */
#team {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  z-index: 10;
}

.team-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  width: 95%;
  padding: 1rem 2rem;
  margin: 0 auto;
}

.team-mobile-intro {
  display: none;
}

/* ── INCHARGE ── */
.team-incharge {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.incharge-card {
  width: 27%;
  max-width: 250px;
}


/* ── MEMBER GRID ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  width: 80%;
  margin: 0 auto;
  max-height: 450px;
  overflow-y: auto;
  align-content: start;
}

.team-grid::-webkit-scrollbar {
  width: 6px;
}

.team-grid::-webkit-scrollbar-thumb {
  background: rgba(200, 230, 160, 0.2);
  border-radius: 3px;
}

/* ── MEMBER CARD ── */
.member-card {
  background: rgba(10, 15, 10, 0.45);
  border: 1px solid rgba(200, 230, 160, 0.12);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  max-width: 200px;
}

.member-card:hover {
  border-color: rgba(200, 230, 160, 0.35);
  background: rgba(10, 15, 10, 0.65);
}

.member-photo {
  width: 100%;
  aspect-ratio: 2/3;
  height: auto;
  overflow: hidden;
  max-height: 170px;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.member-info {
  padding: 0.4rem 0.7rem;
}

.member-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.1rem;
}

.member-role {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.2;
}

/* ── GROUP CARD ── */
.group-card {
  margin-top: 0px;
  background: rgba(10, 15, 10, 0.45);
  border: 1px solid rgba(200, 230, 160, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.group-photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.group-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.group-text {
  padding: 1rem 1.25rem;
  margin-left: 4rem;
  margin-top: -6rem;
}

.team-header {
  margin-top: -5rem;
  margin-left: 23rem;
  margin-bottom: 1rem;
}

/* ── OVERLAY (shared) ── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 5, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── MEMBER OVERLAY ── */
.member-overlay-card {
  background: rgba(13, 25, 13, 0.97);
  border: 1px solid rgba(200, 230, 160, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.member-overlay-top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.member-overlay-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.detail-block {
  padding-bottom: 0.25rem;
}

.detail-label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.detail-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: #b8c9b8;
  line-height: 1.7;
}

.member-overlay-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.member-overlay-photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.member-overlay-photo {
  width: 70%;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
}

.member-overlay-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.member-overlay-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── BLUR-UP LOADING EFFECT ── */
.member-overlay-photos img,
.cam-screen img {
  filter: blur(8px);
  opacity: 0.5;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.member-overlay-photos img.loaded,
.cam-screen img.loaded {
  filter: blur(0);
  opacity: 1;
}

.overlay-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
}

.overlay-close:hover {
  color: var(--color-text);
}

.overlay-number {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.overlay-acronym {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 750;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.overlay-divider {
  width: 3rem;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.overlay-intro {
  font-size: 0.95rem;
  font-weight: 300;
  color: #b8c9b8;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ── CONTACT ── */
#contact {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-align: center;
}

.contact-container {
  max-width: 900px;
  width: 150%;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  margin-top: 0rem;
}

.contact-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: #cccccc ;
  line-height: 1.7;
}

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.contact-block {
  padding: 1.25rem 0;
  border-top: 1px solid #4a7c59 ;
}

.contact-block:last-child {
  border-bottom: 1px solid #4a7c59 ;
}

.contact-block-label {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.contact-block-text {
  font-size: 1.1rem;
  font-weight: 400;
  color: #cccccc;
  line-height: 1.8;
}

.contact-email {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 230, 160, 0.3);
  transition: border-color 0.2s, color 0.2s;
}

.contact-email:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.contact-footer {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #f0ede6;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 301;
}

.lightbox-close:hover {
  color: var(--color-accent);
}

/* ── PUBLICATIONS ── */
#publications {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-top: 18vh;
  z-index: 10;
  min-height: 100vh;
  height: auto;
}

.pub-container {
  width: 75%;
  margin: 0 auto;
  padding: 2rem;
  margin-top: -12rem;
  position: relative;
}

.pub-list {
  margin-top: 0rem;
  display: flex;
  flex-direction: column;
}

.pub-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid #4a7c59 ;
}

.pub-list .pub-item:last-child {
  border-bottom: 1px solid #4a7c59 ;
}

.pub-info {
  flex: 1;
}

.pub-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.pub-authors {
  font-size: 0.86rem;
  font-weight: 400;
  color: #d6d6d6 ;
  margin-bottom: 0.1rem;
  line-height: 1.5;
}

.pub-meta {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.pub-link {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #385f44 ;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0ede6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.pub-link:hover {
  background: #0a0f0a;
  transform: scale(1.1);
}

.pub-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.pub-page-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(200, 230, 160, 0.2);
  border-radius: 50%;
  background: none;
  color: var(--color-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pub-page-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.pub-page-btn.active {
  background: var(--color-accent);
  color: #0a0f0a;
  border-color: var(--color-accent);
}

.pub-page-nav {
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
}

.pub-page-nav:hover {
  color: var(--color-accent);
}

.pub-page-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
}

.pub-filter-btn:hover {
  background: var(--color-accent);
  color: #0a0f0a;
}

.pub-search-input {
  flex: 1;
  background: rgba(10, 15, 10, 0.5);
  border: 1px solid rgba(200, 230, 160, 0.2);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: var(--color-text);
  font-size: 0.82rem;
  font-family: var(--font-body);
}

.pub-search-input::placeholder {
  color: var(--color-muted);
}

.pub-year-select {
  background: rgba(10, 15, 10, 0.5);
  border: 1px solid rgba(200, 230, 160, 0.2);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: var(--color-text);
  font-size: 0.82rem;
  font-family: var(--font-body);
}

.pub-clear-btn {
  background: rgba(10, 15, 10, 0.5);
  border: 1px solid rgba(200, 230, 160, 0.2);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: var(--color-text);
  font-size: 0.82rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.pub-clear-btn:hover {
  background: rgba(10, 15, 10, 0.75);
  border-color: rgba(200, 230, 160, 0.4);
}

.pub-empty {
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem 0;
}

.pub-filter-bar {
  display: flex;
  gap: 0.75rem;
  margin-top: -1rem;
  margin-bottom: 0.5rem;
  align-items: center;
}

/* ── ALUMNI ── */
.alumni-section {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(200, 230, 160, 0.15);
  overflow: hidden;
}

.alumni-names-wrapper {
  overflow: hidden;
  width: 100%;
}

.alumni-names {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 0.3rem 2rem;
  margin-top: 0.75rem;
  width: max-content;
  animation: scrollAlumni 15s linear infinite;
  will-change: transform;
}

.alumni-names:hover {
  animation-play-state: paused;
}

.alumni-name-item {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@keyframes scrollAlumni {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



/* ── BEYOND SCIENCE ── */
#beyond {
  padding-top: 3rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  z-index: 10;
  overflow: hidden;
  min-height: 100vh;
  height: auto;
}

.beyond-film-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.beyond-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  padding-left: 15rem;
  height: 100%;
}

.beyond-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 2rem 0;
  height: 100%;
  gap: 1.5rem;
}

.beyond-right-header {
  flex-shrink: 0;
}

.beyond-label {
  padding-left: 10rem;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.beyond-intro {
  padding-left: 10rem;
  font-size: 1.1rem;
  font-weight: 400;
  color: #f1f1f1;
  line-height: 1.6;
}

.beyond-mobile-header {
  display: none;
}

.cam-body {
  background: #2a1f1a;
  border-radius: 12px 12px 16px 16px;
  padding: 1rem;
  width: clamp(240px, 28vw, 550px);
  border: 2px solid #3a2f2a;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.4);
}

.cam-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.cam-grip {
  background: #1a1210;
  border-radius: 6px 6px 0 0;
  width: 55px;
  height: 24px;
  border: 1px solid #3a2f2a;
}

.cam-hump {
  background: #2a1f1a;
  border-radius: 4px;
  padding: 2px 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.cam-hump-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a1210;
  border: 1px solid #4a3f3a;
}

.cam-viewfinder {
  width: 26px;
  height: 18px;
  background: #111;
  border-radius: 3px;
  border: 2px solid #4a3f3a;
}

.cam-controls-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.ctrl-btn {
  background: #1a1210;
  border: 1px solid #4a3f3a;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  color: #8a7a6a;
}

/* hide on desktop - visible in Mobile View*/
.mobile-tap-hint {
  display: none;
}

.cam-screen-wrap {
  background: #111;
  border-radius: 6px;
  padding: 5px;
  border: 2px solid #4a3f3a;
}

.cam-screen {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.cam-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screen-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #c8e6a0;
  border-style: solid;
  opacity: 0.7;
}

.corner.tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.corner.tr { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.corner.bl { bottom: 30px; left: 6px; border-width: 0 0 2px 2px; }
.corner.br { bottom: 30px; right: 6px; border-width: 0 2px 2px 0; }

.screen-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.65);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 6;
}

.screen-caption-text {
  font-size: 11px;
  color: #c8e6a0;
  letter-spacing: 0.08em;
  font-family: monospace;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-photo-num {
  font-size: 11px;
  color: #8ab870;
  font-family: monospace;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-left: 6px;
}

.cam-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  border-radius: 4px;
  z-index: 10;
}

.cam-flash.go {
  animation: camFlash 0.25s ease-out forwards;
}

@keyframes camFlash {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}

.cam-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
}

.menu-btns {
  display: flex;
  gap: 4px;
}

.menu-btn {
  background: #1a1210;
  border: 1px solid #4a3f3a;
  border-radius: 10px;
  padding: 2px 5px;
  font-size: 7px;
  color: #8a7a6a;
  letter-spacing: 0.05em;
}

.cam-dial {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #3a2f2a;
  border: 2px solid #4a3f3a;
  position: relative;
}

.cam-dial::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #8a7a6a;
  border-radius: 50%;
}

.cam-set {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1a1210;
  border: 2px solid #4a3f3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  color: #8a7a6a;
}

/* ── CAPTURE BUTTON ── */
.capture-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.capture-ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid #c8e6a0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s, background 0.2s;
  background: rgba(200, 230, 160, 0.08);
}

.capture-ring:hover {
  background: rgba(200, 230, 160, 0.18);
  transform: scale(1.05);
}

.capture-ring:active {
  transform: scale(0.93);
}

.capture-ring svg {
  width: 24px;
  height: 24px;
}

.capture-label {
  font-size: 12px;
  color: #8ab870;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.capture-label::before,
.capture-label::after {
  content: '';
  width: 14px;
  height: 1px;
  background: #4a6a4a;
}

/* ── FILM STRIP ── */
.film-strip-wrap {
  display: flex;
  align-items: stretch;
}

.film-sprocket {
  width: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background: #111;
  padding: 4px 0;
}

.sprocket-hole {
  width: 10px;
  height: 7px;
  border-radius: 1px;
  background: #2a1f1a;
  border: 1px solid #3a2f2a;
}

.film-grid {
  background: #0d1a0d;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  width: clamp(300px, 38vw, 552px);
  height: clamp(264px, 50vh, 504px);
  border: 1px solid #2a3d2a;
}

.film-slot {
  border-radius: 2px;
  overflow: hidden;
  background: #1a1210;
  border: 1px solid #2a2a1a;
  position: relative;
}

.film-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot-num {
  position: absolute;
  bottom: 2px;
  right: 3px;
  font-size: 7px;
  color: rgba(200, 230, 160, 0.45);
  font-family: monospace;
}

.film-slot.new-slot {
  animation: slotAppear 0.4s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

@keyframes slotAppear {
  from { opacity: 0; transform: scale(0.4) translateY(-15px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.cam-screen img.lift-out {
  animation: liftOut 0.28s ease-in forwards;
}

@keyframes liftOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(1.12) translateY(-8px); }
}

.cam-screen img.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── HAMBURGER (hidden on desktop) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1536px) and (min-width: 769px) {
  html{
    overflow-x: hidden;
  }

  body {
    zoom: 0.8;
    overflow-x: hidden;
  }

  #cover {
    height: 125vh;
  }

  #about, #research, #team, #publications, #beyond, #contact {
    min-height: 125vh;
  }

  #about {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-label {
    margin-top: 0;
    margin-left: 0;
  }

  .about-body {
    margin-left: 0;
  }

  .about-btn {
    margin-left: 0;
  }

  .about-container {
    max-width: 90%;
    padding: 8rem 3rem 2rem;
    gap: 2rem;
    grid-template-columns: 1.2fr 1fr;
    margin: auto;
  }

  .about-container .slideshow-panel {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    aspect-ratio: 4/3;
  }

  .slideshow-panel {
    width: 100%;
  }

  .research-container {
    width: 95%;
    margin: 0 auto;
    margin-top: 0;
  }

  .research-container .slideshow-panel {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .contact-container {
    width: 90%;
  }

  .pub-container {
    width: 90%;
    margin-top: -5rem;
  }

  .beyond-left {
    padding-left: 2rem;
  }

  .beyond-label {
    padding-left: 0;
  }

  .beyond-intro {
    padding-left: 0;
  }

  .team-header {
    margin-left: 22rem;
    margin-top: 2rem;
  }

  .team-container {
    width: 100%;
    margin-top: -2rem;
  }

  .team-left {
    padding-left: 1rem;
  }

  .group-card {
    height: auto;
  }

  .group-text {
    margin-left: 0;
    margin-top: 0;
    padding: 1rem;
  }
}

@media (max-height: 768px) and (min-width: 769px) {
  .cover-logo {
    width: clamp(250px, 30vw, 400px);
    margin-bottom: -12rem;
    margin-top: 5rem;
    margin-left: -0.5rem;
  }

  .cover-content {
    margin-top: -15vh;
  }
}

@media (max-width: 768px) {

  :root {
    --navbar-height: calc(12vw + env(safe-area-inset-top));
  }

  html {
    height: auto;
    overflow-y: auto;
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
  }

  body {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100vw;
  }

  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .alumni-track-wrapper {
    overflow: hidden;
    max-width: 100%;
  }

  .alumni-track {
    animation: scrollAlumni 20s linear infinite;
  }

  .alumni-section {
    overflow: hidden;
    max-width: 100%;
  }

  /* ── ALL SECTIONS ── */
  #about, #research, #team, #publications, #beyond, #contact {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .scroll-hint, .about-scroll-hint {
    display: none;
  }

  /* ── NAVBAR ── */
  #navbar {
    padding: 0 1rem;
    padding-top: env(safe-area-inset-top);
    height: calc(12vw + env(safe-area-inset-top));
    max-height: calc(12vw + env(safe-area-inset-top));
  }

  .nav-logo {
    font-size: 1.4rem;
  }

  .nav-hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(10, 15, 10, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0;
    border-bottom: 1px solid rgba(200, 230, 160, 0.12);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(200, 230, 160, 0.08);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.9rem;
  }

  /* ── COVER ── */
  #cover {
    height: 100dvh;
    position: relative;
    overflow: hidden;
  }

  @media (max-width: 376px) {
    .cover-logo {
      width: clamp(90px, 45vw, 180px);
      margin-bottom: 5rem;
      margin-top: 1.5rem;
    }

    .cover-acronym {
      font-size: clamp(0.8rem, 3.5vw, 1.1rem);
      margin-left: 0.5rem;
      padding-top: 1rem;
    }
  }

  @media (max-width: 426px) {
    .cover-logo {
      width: clamp(100px, 50vw, 200px);
      margin-bottom: -3rem;
      margin-top: 2rem;
      padding-left:0.5rem;
    }

    .cover-acronym {
      font-size: clamp(0.8rem, 3.5vw, 1.1rem);
      margin-left: 0.5rem;
      padding-top: 2rem;
    }
  }

  .cover-content {
    padding: 1.5rem;
    margin-top: -20vh;
    max-width: 100%;
  }

  .cover-logo {
    width: clamp(140px, 62vw, 280px);
    margin-bottom: -7.8rem;
    margin-left: -1.2rem;
    margin-top: 5rem;
  }

  .cover-acronym {
    font-size: clamp(0.8rem, 3.5vw, 1.1rem);
    margin-left: 0.5rem;
    margin-top: 0.5rem;
  }

  .cover-title {
    font-size: clamp(1.2rem, 7vw, 2rem);
    margin-left: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .cover-tagline {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
    margin-left: 0.5rem;
  }

  .cover-bg {
    transform: none !important;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
  }

  /* ── ABOUT ── */
  .about-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 4rem 1.5rem 2rem;
    height: auto;
    overflow-y: visible;
  }

  .about-label {
    font-size: 1.3rem;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  .about-body {
    font-size: 0.9rem;
    margin-left: 0;
    margin-bottom: 0.5rem;
  }

  #about .about-btn {
    display: none;
  }

  .about-container .slideshow-panel {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    aspect-ratio: 16/9;
  }

  /* ── RESEARCH ── */
  .research-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 4rem 1.5rem 2rem;
    height: auto;
    overflow-y: visible;
  }

  #research .about-body {
    font-size: 0.82rem;
    margin-left: 0;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }

  #research .about-label {
    font-size: 1.3rem;
    margin-left: 0;
    margin-top: 0;
  }

  #research .about-btn {
    display: none;
  }

  .research-container .slideshow-panel {
    display: none;
  }

  .theme-list {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .theme-name {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }

  .theme-desc {
    font-size: 0.8rem;
  }

  .theme-number {
    font-size: 1rem;
  }

  /* ── TEAM ── */
  #team {
    align-items: flex-start;
  }

  .team-container {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 4rem 1.5rem 2rem;
    height: auto;
    overflow-y: visible;
    align-items: start;
    gap: 1rem;
  }

  .team-right {
    display: none;
  }

  .team-header {
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0.75rem;
    padding-bottom: 0;
    text-align: center;
    display: block;
  }

  .team-header .about-label {
    margin-left: 0;
    margin-top: 0;
    font-size: 1.3rem;
  }

  .team-incharge {
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .incharge-card {
    width: 35%;
    max-width: 140px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-height: none;
    gap: 0.4rem;
    overflow-y: visible;
  }

  .member-card {
    max-width: none;
  }

  .member-photo {
    max-height: 90px;
    aspect-ratio: 1/1;
  }

  .member-name {
    font-size: 0.7rem;
  }

  .member-role {
    font-size: 0.62rem;
  }

  .team-mobile-intro {
    display: block;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text);
    line-height: 1.5;
    margin-top: 0.25rem;
    text-align: center;
  }

  .team-pagination-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
  }

  /* ── PUBLICATIONS ── */
  #publications {
    padding-top: 0;
    align-items: flex-start;
  }

  .pub-container {
    width: 100%;
    padding: 4rem 1rem 2rem;
    margin-top: 0;
    height: auto;
    overflow-y: visible;
  }

  #publications .about-body {
    display: block;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.35rem;
  }

  .pub-header .about-label {
    font-size: 1.3rem;
    margin-left: 0;
    margin-top: 0;
  }

  .pub-filter-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .pub-search-input {
    width: 100%;
    flex: none;
  }

  .pub-year-select {
    flex: 1;
  }

  .pub-title {
    font-size: 0.85rem;
  }

  .pub-authors {
    font-size: 0.75rem;
  }

  .pub-meta {
    font-size: 0.72rem;
  }

  .pub-pagination {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  /* ── BEYOND SCIENCE ── */
  #beyond {
    grid-template-columns: 1fr;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .beyond-right {
    display: none;
  }

  .beyond-left {
    padding: 2rem 1.5rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: auto;
  }

  .cam-body {
    width: clamp(260px, 85vw, 380px);
  }

  .film-strip-wrap {
    display: none;
  }

  .capture-ring {
    width: 56px;
    height: 56px;
  }

  .capture-label {
    font-size: 10px;
  }

  .mobile-tap-hint {
    display: block;
    font-size: 0.7rem;
    color: var(--color-muted);
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
  }

  .beyond-mobile-header {
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .beyond-label {
    padding-left: 0;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
  }

  .beyond-intro {
    padding-left: 0;
    font-size: 0.8rem;
    text-align: center;
    color: #b8c9b8;
    margin-top: 0.25rem;
  }

  /* ── CONTACT ── */
  #contact {
    justify-content: flex-start;
    padding-top: 4rem;
  }

  .contact-container {
    width: 100%;
    padding: 1rem 1.5rem 4rem;
    height: auto;
    overflow-y: visible;
    max-height: none;
  }

  .contact-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  .contact-subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .contact-block-label {
    font-size: 0.85rem;
  }

  .contact-block-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .contact-email {
    font-size: 0.85rem;
  }

  .contact-block {
    padding: 0.75rem 0;
  }

  .contact-footer {
    font-size: 0.7rem;
    white-space: normal;
    text-align: center;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 1rem;
  }

  .alumni-card {
    width: 300px;
    height: 120px;
    grid-template-columns: 80px 1fr;
  }

  .alumni-photo {
    width: 80px;
  }

  .alumni-name {
    font-size: 0.85rem;
  }

  .alumni-role {
    font-size: 0.72rem;
  }

  .alumni-quote {
    font-size: 0.65rem;
  }

} /* end @media */