/* Studio preview: show all elements immediately */

/* ════════════════════════════════════════
   NightSkyShots — custom.css
   Mars Dust palette + all site styles
   Bootstrap Studio: add as external CSS asset
════════════════════════════════════════ */

/* ── Tokens — Mars Dust palette ── */

:root {
  --void: #080402;
  --deep: #0e0702;
  --panel: rgba(14, 7, 2, 0.85);
  --rule: rgba(200, 120, 72, 0.22);
  --accent: #c87848;
  --accent-warm: #a85828;
  --accent-dim: rgba(200, 120, 72, 0.15);
  --text-primary: #ead8c8;
  --text-muted: #b08060;
  --text-dim: #7a5a40;
  --display: 'Cormorant Garamond', Georgia, serif;
  --condensed: 'Barlow Condensed', sans-serif;
  --body: 'Barlow', sans-serif;
}

/* ── Reset / Base ── */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--text-primary);
  font-family: var(--body);
  font-weight: 300;
  overflow-x: hidden;
}

/* ── Grain overlay (adds filmic texture to the whole page) ── */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Scrollbar ── */

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--void);
}

::-webkit-scrollbar-thumb {
  background: var(--text-dim);
  border-radius: 999px;
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */

#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

#mainNav.scrolled {
  background: rgba(8, 4, 2, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  border-color: var(--rule);
}

.nav-brand {
  font-family: var(--condensed);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent) !important;
  text-decoration: none;
}

.nav-brand em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 300;
}

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

.nav-links a {
  font-family: var(--condensed);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-toggler {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */

#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* ── Replace this block's background-image with your Milky Way shot ── */

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--void);
  /*background-image: url('images/hero-milkyway.jpg');*/
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  animation: heroKen 20s ease-in-out infinite alternate;
}

@keyframes heroKen {
  from {
    transform: scale(1.04) translateX(0);
  }
  to {
    transform: scale(1.08) translateX(-1%);
  }
}

/* Starfield placeholder (remove once you have a real image) */

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1.5px 1.5px at 8% 12%, rgba(255,255,255,0.7) 0%, transparent 100%), radial-gradient(1px 1px at 19% 55%, rgba(255,255,255,0.5) 0%, transparent 100%), radial-gradient(2px 2px at 31% 8%, rgba(255,255,255,0.65) 0%, transparent 100%), radial-gradient(1px 1px at 42% 72%, rgba(255,255,255,0.45) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 57% 28%, rgba(255,255,255,0.6) 0%, transparent 100%), radial-gradient(1px 1px at 64% 85%, rgba(255,255,255,0.4) 0%, transparent 100%), radial-gradient(2px 2px at 73% 18%, rgba(255,255,255,0.7) 0%, transparent 100%), radial-gradient(1px 1px at 81% 62%, rgba(255,255,255,0.5) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 90% 38%, rgba(255,255,255,0.6) 0%, transparent 100%), radial-gradient(1px 1px at 96% 80%, rgba(255,255,255,0.45) 0%, transparent 100%), radial-gradient(1px 1px at 12% 88%, rgba(255,255,255,0.4) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 47% 45%, rgba(255,255,255,0.55) 0%, transparent 100%), radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.35) 0%, transparent 100%), radial-gradient(1px 1px at 68% 5%, rgba(255,255,255,0.5) 0%, transparent 100%), radial-gradient(2px 2px at 85% 92%, rgba(255,255,255,0.6) 0%, transparent 100%);
  background-image: radial-gradient(ellipse 60% 30% at 35% 55%, rgba(180, 100, 50, 0.1) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 60% 40%, rgba(140, 70, 30, 0.07) 0%, transparent 70%);
}

/* Gradient scrim — keeps text readable over any image */

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,4,2,0.98) 0%, rgba(8,4,2,0.5) 40%, rgba(8,4,2,0.1) 100%), linear-gradient(to right, rgba(8,4,2,0.6) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 6rem;
  animation: fadeUp 1.2s ease both;
}

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

.hero-eyebrow {
  font-family: var(--condensed);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: #f0e0d0;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: inherit;
}

.hero-sub {
  font-family: var(--condensed);
  font-size: 1.1rem;
  max-width: 380px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--condensed);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--accent);
  padding: 0.75rem 2rem;
  text-decoration: none;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.hero-cta:hover {
  background: #e8c8a0;
  color: var(--void);
}

.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--condensed);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--rule);
  padding: 0.75rem 2rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.hero-cta-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Scroll cue */

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.scroll-cue span {
  font-family: var(--condensed);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}

.scroll-cue i {
  color: var(--text-dim);
  font-size: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

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

/* ════════════════════════════════════════
   SECTION SHARED
════════════════════════════════════════ */

.page-section {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

.section-num {
  font-family: var(--condensed);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a6040;
  margin-bottom: 0.5rem;
}

.section-label {
  font-family: var(--condensed);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 300;
  line-height: 1.08;
  color: #f0e0d0;
}

.section-title em {
  font-style: normal;
  color: inherit;
}

.rule-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 1.5rem 0 0;
}

.section-border-top {
  border-top: 1px solid var(--rule);
}

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */

#about {
  background: var(--void);
}

/* BUG FIX: restored missing .about-text selector */

.about-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 560px;
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 400;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(200, 120, 72, 0.2);
  border: 1px solid var(--rule);
  margin-top: 3rem;
}

.about-stat {
  background: var(--void);
  padding: 1.5rem;
}

.about-stat .num {
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.about-stat .lbl {
  font-family: var(--condensed);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a6040;
}

/* Setup image placeholder */

.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--deep);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

/* Replace with: <img src="images/setup.jpg"> */

.about-img::after {
  content: 'YOUR SETUP PHOTO';
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: var(--condensed);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

/* ════════════════════════════════════════
   RIGS
════════════════════════════════════════ */

#rigs {
  background: linear-gradient(to bottom, var(--void), var(--deep) 40%, var(--void));
}

.rig-card {
  border: 1px solid rgba(200, 120, 72, 0.25);
  background: rgba(30, 14, 4, 0.7);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.rig-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s;
}

.rig-card:hover {
  border-color: rgba(200, 120, 72, 0.55);
  transform: translateY(-3px);
}

.rig-card:hover::before {
  background: var(--accent);
}

.rig-card.primary::before {
  background: var(--accent);
}

.rig-card.primary {
  border-color: rgba(200, 120, 72, 0.45);
}

.rig-number {
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(200, 120, 72, 0.15);
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  pointer-events: none;
}

.rig-role {
  font-family: var(--condensed);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.rig-card.secondary .rig-role {
  color: #d89868;
}

.rig-card.smart .rig-role {
  color: #e8b888;
}

.rig-name {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 300;
  color: #f0e0d0;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.rig-subtitle {
  font-family: var(--condensed);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.rig-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rig-specs li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #b08060;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(200,120,72,0.08);
  line-height: 1.4;
}

.rig-specs li:last-child {
  border-bottom: none;
}

.rig-specs li i {
  color: #7a5a40;
  font-size: 0.8rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.rig-badge {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--condensed);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(200, 120, 72, 0.2);
  color: var(--accent);
}

.rig-badge.wip {
  border-color: rgba(245, 201, 122, 0.25);
  color: var(--accent-warm);
}

/* ════════════════════════════════════════
   GALLERY TEASER
════════════════════════════════════════ */

#gallery {
  background: var(--void);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--deep);
}

.gallery-item:first-child {
  grid-row: 1 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.75;
  transition: opacity 0.4s, transform 0.5s;
}

.gallery-item:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* Placeholder when no image */

.gallery-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 2rem;
}

.gallery-placeholder small {
  font-family: var(--condensed);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gallery-item:first-child .gallery-placeholder {
  aspect-ratio: unset;
  min-height: 460px;
}

.gallery-item--featured {
  grid-row: 1 / 3;
}

.astrobin-badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--condensed);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,120,72,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}

.astrobin-badge:hover {
  color: #e8a868;
  border-color: var(--accent);
}

.gallery-type-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(8,4,2,0.75);
  border: 1px solid rgba(200,120,72,0.25);
  color: var(--accent);
  font-family: var(--condensed);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,4,2,0.88) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

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

.gallery-item-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 300;
  color: #f0e0d0;
}

.gallery-item-meta {
  font-family: var(--condensed);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.gallery-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.gallery-count {
  font-family: var(--condensed);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Filter tabs */

.filter-tab {
  font-family: var(--condensed);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-tab.active {
  border-color: var(--accent);
  color: var(--void);
  background: var(--accent);
}

/* ════════════════════════════════════════
   SESSION LOG
════════════════════════════════════════ */

#sessions {
  background: #0e0702;
}

.session-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}

.session-item:first-child {
  border-top: 1px solid var(--rule);
}

.session-item:hover {
  background: rgba(200,120,72,0.03);
}

.session-date {
  font-family: var(--condensed);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.6;
}

.session-date strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 0.2rem;
}

.session-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 300;
  color: #f0e0d0;
  margin-bottom: 0.3rem;
}

.session-notes {
  font-size: 0.92rem;
}

.session-tags {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.session-tag {
  font-family: var(--condensed);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--rule);
  color: var(--text-dim);
}

.session-tag.success {
  border-color: rgba(200,160,100,0.3);
  color: #d89868;
}

.session-tag.partial {
  border-color: rgba(180,120,60,0.3);
  color: #c87848;
}

.session-tag.bust {
  border-color: rgba(160,80,40,0.3);
  color: #a85828;
}

.session-integration {
  font-family: var(--condensed);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: right;
  white-space: nowrap;
}

.session-integration strong {
  display: block;
  font-size: 1.4rem;
  font-family: var(--display);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0.2rem;
}

/* ════════════════════════════════════════
   DARK SITES
════════════════════════════════════════ */

#sites {
  background: var(--void);
}

.site-card {
  border: 1px solid rgba(200, 120, 72, 0.25);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  background: rgba(30, 14, 4, 0.6);
  transition: border-color 0.3s;
}

.site-card:hover {
  border-color: rgba(200, 120, 72, 0.55);
}

.site-bortle {
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 300;
  position: absolute;
  right: 1.25rem;
  top: 0.75rem;
  line-height: 1;
  opacity: 0.12;
  color: var(--accent);
}

.site-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 300;
  color: #f0e0d0;
  margin-bottom: 0.25rem;
}

.site-location {
  font-family: var(--condensed);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.site-details {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.site-meta {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-meta-item {
  font-family: var(--condensed);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-meta-item i {
  color: var(--accent);
  font-size: 0.75rem;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */

footer {
  border-top: 1px solid var(--rule);
  background: var(--void);
  padding: 3rem 0 2rem;
}

.footer-brand {
  font-family: var(--condensed);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--condensed);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.footer-links a {
  font-family: var(--condensed);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-copy {
  font-family: var(--condensed);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

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

@media (max-width: 991px) {
  .nav-toggler {
    display: block;
  }
}

@media (max-width: 991px) {
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 4, 2, 0.97);
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 991px) {
  .nav-links.open a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 991px) {
  .session-item {
    grid-template-columns: 70px 1fr;
  }
}

@media (max-width: 991px) {
  .session-integration {
    display: none;
  }
}

@media (max-width: 575px) {
  .about-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .gallery-item:first-child {
    grid-row: auto;
  }
}

@media (max-width: 575px) {
  .session-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .session-date {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
  }
}

/* ── Reveal animation (JS-driven) ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

