/* =========================================================
   SAMPE UW — 2025 Redesign
   Theme: Light · UW Purple & Gold · Inter + Syne
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&family=Syne:wght@600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --bg:          #ffffff;
  --bg-soft:     #f8f7fc;
  --bg-tinted:   #f0edf8;
  --surface:     #ffffff;
  --surface-2:   #f8f7fc;
  --border:      #e8e3f0;
  --border-mid:  #cfc8e3;

  /* --gold kept for inline-style compatibility in HTML */
  --gold:        #4b2e83;   /* UW Purple */
  --gold-light:  #6b4fa3;
  --gold-dim:    rgba(75, 46, 131, 0.08);

  --amber:       #b07d10;   /* UW Gold — secondary accent */
  --amber-bg:    #fdf6e7;

  --text:        #0f0a1e;
  --text-muted:  #5f5a73;
  --text-dim:    #a09ab5;

  --nav-h:       68px;
  --radius:      10px;
  --radius-sm:   6px;
  --radius-lg:   18px;
  --transition:  0.2s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-xs:   0 1px 2px rgba(75, 46, 131, 0.06);
  --shadow-sm:   0 2px 6px rgba(75, 46, 131, 0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 18px rgba(75, 46, 131, 0.09), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 12px 40px rgba(75, 46, 131, 0.11), 0 4px 12px rgba(0,0,0,0.05);
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ── Navigation ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-logo img {
  height: 34px;
  width: auto;
  /* Keep logo visible on light background */
  filter: none;
  opacity: 1;
}

.nav-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-wordmark span {
  color: var(--gold);
}

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

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

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

.nav-links a.active {
  color: var(--gold);
  background: var(--gold-dim);
}

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 600 !important;
  font-size: 0.83rem !important;
  letter-spacing: 0.02em !important;
  color: #fff !important;
  background: var(--gold) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  box-shadow: 0 4px 14px rgba(75, 46, 131, 0.3) !important;
}

/* ── Page Wrapper ──────────────────────────────────────── */
.page {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Hero Section ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/group_banner3.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.32) saturate(0.7);
  transform: scale(1.03);
  transition: transform 8s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.0);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(15, 10, 30, 0.88) 0%,
    rgba(75, 46, 131, 0.35) 55%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 7vw, 6rem);
  max-width: 800px;
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-title em {
  display: block;
  color: var(--gold-light);
  font-style: normal;
  font-size: 0.75em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 2px 8px rgba(75, 46, 131, 0.28);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(75, 46, 131, 0.32);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* Outline on light background */
.on-light .btn-outline,
section .btn-outline,
aside .btn-outline {
  color: var(--gold);
  border-color: var(--border-mid);
}
.on-light .btn-outline:hover,
section .btn-outline:hover,
aside .btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
}

/* ── Stats Strip ───────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.stat {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.4rem;
}

/* ── Section ───────────────────────────────────────────── */
.section {
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 7vw, 6rem);
}

.section-header {
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ── Card Grid ─────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-tinted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-mid);
}

.card-image {
  width: calc(100% + 3.5rem);
  margin: -1.75rem -1.75rem 1.5rem -1.75rem;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: saturate(0.85);
  transition: filter var(--transition);
}

.card:hover .card-image {
  filter: saturate(1);
}

.card-label {
  margin-bottom: 0.6rem;
}

.card-title {
  font-size: 1.45rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.card-body {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  transition: gap var(--transition), color var(--transition);
}

.card-link:hover {
  gap: 0.6rem;
  color: var(--gold-light);
}

.card-link::after {
  content: '→';
  font-size: 1em;
}

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}

.page-hero::after {
  content: attr(data-title);
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  bottom: -0.12em;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(6rem, 14vw, 13rem);
  color: rgba(75, 46, 131, 0.045);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.page-hero .mono {
  margin-bottom: 0.75rem;
  display: block;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 1rem;
  font-size: 1.03rem;
  line-height: 1.75;
}

/* ── Benefits List ─────────────────────────────────────── */
.benefits-list {
  display: flex;
  flex-direction: column;
}

.benefit-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(75, 46, 131, 0.15);
  align-items: start;
}

.benefit-row:last-child {
  border-bottom: 1px solid rgba(75, 46, 131, 0.15);
}

.benefit-label .mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--gold);
  color: #fff;
  border-radius: 6px;
  margin-bottom: 0.85rem;
  font-size: 0.65rem;
}

.benefit-label h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.benefit-row p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  padding-top: 0.2rem;
}

/* ── About Page ────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
}

.about-main {
  background: var(--surface);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-right: 1px solid var(--border);
}

.about-sidebar {
  background: var(--bg-soft);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.about-body p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-body p:last-child { margin-bottom: 0; }

.about-body strong {
  color: var(--text);
  font-weight: 600;
}

.sidebar-block {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-block:first-child { padding-top: 0; }
.sidebar-block:last-child { border-bottom: none; }

.sidebar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.sidebar-value {
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.65;
}

.sidebar-value a {
  color: var(--gold);
  transition: color var(--transition);
}

.sidebar-value a:hover { color: var(--gold-light); }

.timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1.5px;
  background: var(--border-mid);
  border-radius: 2px;
}

.timeline li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 1.5rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--bg-soft);
}

.timeline li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.97rem;
}

/* ── People Page ───────────────────────────────────────── */
.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem 1.25rem;
}

.person-card {
  flex: 0 0 calc(50% - 0.625rem);
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.person-card:nth-child(1) { animation-delay: 0.05s; }
.person-card:nth-child(2) { animation-delay: 0.10s; }
.person-card:nth-child(3) { animation-delay: 0.15s; }
.person-card:nth-child(4) { animation-delay: 0.20s; }
.person-card:nth-child(5) { animation-delay: 0.25s; }

.person-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top;
  filter: grayscale(0.2) saturate(0.9);
  transition: filter 0.35s ease;
}

.person-card:hover .person-photo {
  filter: grayscale(0) saturate(1.05);
}

.person-card > :not(.person-photo) {
  padding: 0 1.4rem;
}

.person-role {
  color: var(--gold);
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1.1rem;
  margin-bottom: 0.25rem;
}

.person-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.person-major {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.person-card .person-major {
  padding-bottom: 2rem;
}

/* ── Gallery Page ──────────────────────────────────────── */
.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1.75rem clamp(1.5rem, 7vw, 6rem) 0;
}

.filter-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.83rem;
  padding: 0.45rem 1rem;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

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

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 2px 8px rgba(75, 46, 131, 0.28);
}

.gallery-section {
  padding: 2.5rem clamp(1.5rem, 7vw, 6rem) 0;
}

.gallery-section-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-tinted);
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
  filter: saturate(0.85);
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 10, 30, 0.7) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.1rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: #fff;
}

/* Span helpers */
.gallery-item--wide   { grid-column: span 8; }
.gallery-item--half   { grid-column: span 6; }
.gallery-item--third  { grid-column: span 4; }
.gallery-item--full   { grid-column: span 12; }
.gallery-item--tall   { grid-row: span 2; }

/* Placeholder tiles */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--bg-tinted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: default;
  transition: background var(--transition);
  border: 1.5px dashed var(--border-mid);
  border-radius: var(--radius);
}

.gallery-placeholder:hover {
  background: var(--bg-soft);
}

.gallery-placeholder svg {
  opacity: 0.35;
  width: 28px;
  height: 28px;
}

/* ── Gallery CTA strip ─────────────────────────────────── */
.insta-cta {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 7vw, 6rem);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 3rem;
}

/* ── Donor Banner ──────────────────────────────────────── */
.donor-banner {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 7vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.donor-eyebrow {
  display: block;
}

.donor-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.75rem;
}

.donor-logos a {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.8;
}

.donor-logos a:hover {
  transform: scale(1.08);
  opacity: 1;
}

.donor-logos img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.donor-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: var(--bg-soft);
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem clamp(1.5rem, 7vw, 6rem);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.footer-brand img {
  height: 26px;
  opacity: 0.45;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-address {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.75;
}

.footer-address a {
  color: var(--gold);
  transition: color var(--transition);
}

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

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  background: var(--surface);
}

.footer-socials a:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  box-shadow: var(--shadow-xs);
}

.footer-socials img {
  height: 18px;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.footer-socials a:hover img {
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem clamp(1.5rem, 7vw, 6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* ── Projects Page ─────────────────────────────────────── */
.project-entry {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.project-entry-header {
  margin-bottom: 1.25rem;
}

.project-entry-header .mono {
  display: block;
  margin-bottom: 0.5rem;
}

.project-entry h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
}


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

.poster-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.poster-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
}

.poster-embed {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
  background: var(--bg-tinted);
}

.poster-meta {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.poster-category {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.poster-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.poster-open {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  transition: color var(--transition);
}

.poster-open:hover { color: var(--gold-light); }

/* ── Utility ───────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
}

.highlight { color: var(--gold); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-main {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .gallery-item--wide  { grid-column: span 12; }
  .gallery-item--third { grid-column: span 6; }
  .gallery-item--half  { grid-column: span 12; }

  .poster-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .gallery-item--wide,
  .gallery-item--third,
  .gallery-item--half,
  .gallery-item--full { grid-column: span 2; }

  .gallery-item--tall { grid-row: span 1; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
}
