/* ============================================================
   DANVEER SINGH — Personal Academic Website
   Theme: Navy + Gold (Academic / Elegant)
   ============================================================ */

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

:root {
  --navy: #0e1c2f;
  --navy-mid: #1a2e48;
  --navy-light: #2a4666;
  --gold: #c9a84c;
  --gold-light: #e8c87a;
  --gold-soft: rgba(201, 168, 76, 0.12);
  --cream: #f7f4ef;
  --paper: #ffffff;
  --text: #1a1a2e;
  --text-soft: #4a4a5e;
  --muted: #6b7280;
  --border: rgba(14, 28, 47, 0.1);
  --border-strong: rgba(14, 28, 47, 0.2);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(14,28,47,0.08), 0 12px 32px rgba(14,28,47,0.06);
  --shadow-lg: 0 8px 32px rgba(14,28,47,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

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

/* ============== NAVIGATION ============== */
nav {
  background: var(--navy);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-brand {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-brand::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.nav-brand:hover { color: white; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============== HEADER ============== */
.page-header {
  background: var(--navy);
  padding: 4rem 3rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.15);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 30%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.08);
  pointer-events: none;
}

.header-eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: white;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-header p.subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  font-weight: 300;
  max-width: 580px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ============== MAIN LAYOUT ============== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 3rem 5rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  margin-top: 3rem;
}

.section-label:first-child { margin-top: 0; }

.section-label h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  white-space: nowrap;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============== PROSE CONTENT ============== */
.prose p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.prose p strong { color: var(--text); font-weight: 500; }

.prose a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: all 0.2s;
}

.prose a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.prose ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ============== HOME / HERO ============== */
.hero {
  background: var(--navy);
  padding: 5rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 400;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(14,28,47,0.4) 100%);
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.12);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: 20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.08);
  pointer-events: none;
}

/* ============== RESEARCH AREAS GRID ============== */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.research-card {
  background: var(--paper);
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.research-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.research-card .card-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold);
  font-style: italic;
  margin: 1.25rem 1.5rem 0.4rem;
}

.research-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 1.5rem 1rem;
}

.research-card .card-illustration {
  background: linear-gradient(135deg, #f4f1eb 0%, #ebe4d4 100%);
  padding: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 175px;
  margin-top: auto;
  transition: background 0.3s ease;
}

.research-card:hover .card-illustration {
  background: linear-gradient(135deg, #ebe4d4 0%, #e0d5b8 100%);
}

.research-card .card-illustration svg {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
}

/* ============== RESEARCH ITEMS (long form) ============== */
.research-item {
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: box-shadow 0.3s;
  align-items: stretch;
}

.research-item:hover { box-shadow: var(--shadow-md); }

.research-item.reverse { grid-template-columns: 1fr 1fr; }

.research-item .ri-image {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.research-item .ri-image img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.research-item .ri-content {
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.research-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.research-item p {
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.research-item .ri-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: all 0.2s;
}

.research-item .ri-link:hover {
  color: var(--gold);
}

.research-item .ri-cite {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
  font-style: italic;
  line-height: 1.5;
}

/* ============== PEOPLE GRID ============== */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.person-card {
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.person-photo {
  aspect-ratio: 1/1;
  background: #dde3ea;
  position: relative;
  overflow: hidden;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-info {
  padding: 1.25rem 1.35rem 1.5rem;
}

.person-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.person-role {
  font-size: 0.78rem;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.person-bio {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.person-card.lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 320px 1fr;
}

.person-card.lead .person-photo {
  aspect-ratio: auto;
  height: 100%;
}

.person-card.lead .person-info {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.person-card.lead h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.person-card.lead .person-bio {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.former-list {
  background: var(--paper);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1rem;
}

.former-list ol {
  padding-left: 1.25rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.former-list ol li { margin-bottom: 0.4rem; }

/* ============== PUBLICATIONS ============== */
.pub-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  color: var(--navy);
  font-weight: 400;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.pub-year:first-of-type { margin-top: 0; }

.pub-list {
  list-style: none;
  padding: 0;
}

.pub-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.85rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
}

.pub-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.pub-item .pub-title {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.pub-item .pub-meta {
  font-size: 0.83rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}

.pub-item .pub-meta a {
  color: var(--navy);
  border-bottom: 1px dotted var(--gold);
  font-style: normal;
  font-weight: 500;
}

.pub-item .pub-meta a:hover { color: var(--gold); }

.pub-item .pub-status {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--gold-soft);
  color: #8a6820;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 0.4rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.02em;
}

/* ============== GALLERY ============== */
.filter-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 3rem;
  display: flex;
  gap: 0;
  position: sticky;
  top: 68px;
  z-index: 90;
  margin: 0 -3rem;
}

.filter-btn {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
  margin-bottom: -1px;
}

.filter-btn:hover { color: var(--text); }

.filter-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 99px;
  padding: 1px 7px;
  margin-left: 6px;
  min-width: 20px;
}

.filter-btn.active .count {
  background: var(--gold-soft);
  color: #8a6820;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.photo-grid.wide { grid-template-columns: repeat(2, 1fr); }

.photo-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.photo-card.featured { grid-column: span 2; }

.photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #dde3ea;
}

.photo-card.featured .photo-wrap { aspect-ratio: 16/7; }

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-card:hover .photo-wrap img { transform: scale(1.04); }

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,28,47,0.72) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.photo-card:hover .photo-overlay { opacity: 1; }

.overlay-text { color: white; font-size: 0.85rem; font-weight: 300; }

.photo-caption {
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--border);
}

.caption-text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}

.caption-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.caption-tag {
  font-size: 0.7rem;
  color: #8a6820;
  background: var(--gold-soft);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 500;
}

.caption-year {
  font-size: 0.72rem;
  color: var(--muted);
  margin-left: auto;
}

/* ============== LIGHTBOX ============== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,20,0.93);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  max-width: 900px;
  width: 100%;
  position: relative;
  animation: lbIn 0.25s ease;
}

@keyframes lbIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-inner img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-caption {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
  font-weight: 300;
}

.lb-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.lb-close:hover { color: white; }

/* ============== CONTACT ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background: var(--paper);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  border: 1px solid var(--border);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child { border-bottom: none; }

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  color: #8a6820;
}

.contact-row .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.contact-row .value {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-row .value a {
  color: var(--navy);
  border-bottom: 1px dotted var(--gold);
}

/* ============== CONNECT BANNER ============== */
.connect-section {
  background: var(--navy);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
}

.connect-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: white;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.connect-text p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 300;
}

.connect-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.connect-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.connect-link:hover {
  background: var(--gold-soft);
  border-color: rgba(201, 168, 76, 0.4);
  color: var(--gold-light);
}

.connect-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ============== FOOTER ============== */
footer {
  background: var(--navy-mid);
  padding: 2rem 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

footer a { color: var(--gold-light); }
footer a:hover { color: white; }

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-image { max-width: 380px; margin: 0 auto; }
  .person-card.lead { grid-template-columns: 1fr; }
  .person-card.lead .person-photo { aspect-ratio: 1/1; }
  .contact-grid { grid-template-columns: 1fr; }
  .research-item, .research-item.reverse { grid-template-columns: 1fr; }
  .research-item .ri-image { aspect-ratio: 16/9; }
}

@media (max-width: 700px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 1.25rem; gap: 1.25rem; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .page-header { padding: 2.5rem 1.25rem 2rem; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  main { padding: 2rem 1.25rem 4rem; }
  .filter-bar { padding: 0 1.25rem; margin: 0 -1.25rem; overflow-x: auto; }
  .filter-btn { padding: 0.85rem 1rem; white-space: nowrap; font-size: 0.8rem; }
  .photo-grid.wide { grid-template-columns: 1fr; }
  .photo-card.featured { grid-column: span 1; }
  .photo-card.featured .photo-wrap { aspect-ratio: 4/3; }
  .connect-section { flex-direction: column; align-items: flex-start; padding: 1.75rem; }
  .hero h1 { font-size: 2.2rem; }
}
