/* ============================================================
   PROJECT ATHENA — Main Stylesheet
   Design: Dark editorial, matched to map platform palette
   Fonts: Fraunces (display) + DM Sans (body)
   Map palette source: Frame 44 / Project Athena web app
   ============================================================ */

/* --- Design Tokens ----------------------------------------- */
:root {
  /* Core dark palette — matched to map app */
  --color-ink:        #ffffff;
  --color-ink-soft:   #ebf1f9;
  --color-ink-muted:  #9aa8a6;
  --color-paper:      #111111;   /* --col-alpha-back */
  --color-paper-warm: #1e2523;   /* slightly lighter than back */
  --color-surface:    #313837;   /* --col-alpha-secondary */
  --color-surface-up: #3e4d4a;   /* --col-alpha */
  --color-white:      #FFFFFF;

  /* Accent — map's important red, warmed slightly for the landing page */
  --color-red:        #C8102E;
  --color-red-dark:   #9f0000;   /* --aui-col-important */
  --color-red-hover:  #db0000;   /* --aui-col-important-hover */
  --color-red-muted:  rgba(200, 16, 46, 0.12);

  /* Borders on dark */
  --color-border:        rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.18);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --nav-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --max-w: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

/* --- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body), sans-serif;
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display), 'Fraunces', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; }
h4 { font-size: 0.75rem; font-family: var(--font-body), 'DM Sans', system-ui, -apple-system, sans-serif; font-weight: 500;
     letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-ink-muted); }
p { font-size: clamp(0.9375rem, 1.5vw, 1.0625rem); color: rgba(255,255,255,0.65); line-height: 1.75; }

/* --- Utility Layout ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body), 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-red-dark);
  transform: translateY(-1px);
}
.btn--outline {
  border: 1.5px solid var(--color-border-strong);
  color: var(--color-ink);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--color-ink);
  background: rgba(26, 24, 20, 0.04);
}
.btn--outline-light {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--color-white);
  background: transparent;
}
.btn--outline-light:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.08);
}
.btn--large {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

/* Text link with arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-border-strong);
  padding-bottom: 0.1rem;
  transition: gap 0.2s, border-color 0.2s;
}
.text-link:hover { gap: 0.65rem; border-color: var(--color-ink); }
.text-link svg { width: 14px; height: 14px; }

/* --- Navigation -------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-logo-mark {
  color: var(--color-white);
}
.nav-logo-text {
  font-family: var(--font-display), 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-white);
  transition: color 0.3s;
}
.nav-logo-text em { font-style: italic; font-weight: 300; }
.scrolled .nav-logo-mark { color: var(--color-white); }
.scrolled .nav-logo-text { color: var(--color-white); }

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--color-white); background: rgba(255,255,255,0.08); }
.scrolled .nav-link { color: rgba(255,255,255,0.65); }
.scrolled .nav-link:hover { color: var(--color-white); background: rgba(255,255,255,0.08); }
.nav-lang {
  border-left: 1px solid rgba(255,255,255,0.15);
  margin-left: 0.25rem;
  padding-left: 1rem;
}
.scrolled .nav-lang { border-left-color: rgba(255,255,255,0.15); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

/* Language dropdown */
.nav-lang-dropdown {
  position: relative;
  margin-left: 1rem;
}

.nav-lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  font-family: var(--font-body), 'DM Sans', system-ui, -apple-system, sans-serif;
}

.nav-lang-toggle:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
}

.nav-lang-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.nav-lang-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  overflow: hidden;
  z-index: 1000;
  min-width: 150px;
}

.nav-lang-menu[hidden] {
  display: none;
}

.nav-lang-item {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-lang-item:last-child {
  border-bottom: none;
}

.nav-lang-item:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
}

.scrolled .nav-lang-toggle {
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.15);
}

.scrolled .nav-lang-toggle:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
}

.nav-mobile-toggle { display: none; }

/* Mobile menu */
.nav-mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-mobile-menu[hidden] { display: none; }
.nav-mobile-menu .nav-link {
  color: rgba(255,255,255,0.65);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
}
.nav-mobile-menu .nav-link:hover { background: none; color: var(--color-white); }

/* Mobile language selector */
.nav-mobile-lang-selector {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.5rem;
}

.nav-mobile-lang-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-mobile-lang-selector .nav-lang-item {
  padding: 0.5rem 0;
  border: none;
}

.nav-mobile-menu .btn { width: fit-content; margin-top: 0.5rem; }

/* --- Hero Section ------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-paper);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 18, 14, 0.92) 0%,
    rgba(20, 18, 14, 0.75) 50%,
    rgba(20, 18, 14, 0.30) 100%
  );
}
/* Grain texture */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(4rem, 10vh, 7rem);
  padding-top: calc(var(--nav-h) + 2rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-red);
}

.hero-title {
  font-family: var(--font-display), 'Fraunces', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
}

.hero-body {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: rgba(255,255,255,0.65);
  max-width: 42ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.7; transform: translateY(4px); }
}

/* --- Stats Bar --------------------------------------------- */
.stats-bar {
  background: var(--color-surface-up);
  color: var(--color-white);
  padding: 60px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  justify-content: center;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}
.stat-value {
  font-family: var(--font-body), system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,0.08);
}

/* --- History / Intro --------------------------------------- */
.history-intro {
  background: var(--color-paper);
  padding-block: clamp(5rem, 12vw, 9rem);
  text-align: center;
}
.history-intro .section-eyebrow {
  margin-bottom: 1.25rem;
}
.history-intro h2 {
  font-style: italic;
  max-width: 16ch;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  color: var(--color-white);
}
.history-intro p {
  max-width: 55ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* Section eyebrow label */
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-red);
}

/* --- Timeline ---------------------------------------------- */
.timeline-section {
  background: var(--color-surface);
  padding-block: clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

.timeline {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
}

/* Center spine */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--color-border-strong) 5%, var(--color-border-strong) 95%, transparent);
}

.timeline-entry {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 0;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

/* Alternate: odd entries = content left, even = content right */
.timeline-entry:nth-child(odd) .timeline-content { grid-column: 1; grid-row: 1; text-align: right; padding-right: 3rem; }
.timeline-entry:nth-child(odd) .timeline-node    { grid-column: 2; grid-row: 1; }
.timeline-entry:nth-child(odd) .timeline-image   { grid-column: 3; grid-row: 1; padding-left: 3rem; }

.timeline-entry:nth-child(even) .timeline-image   { grid-column: 1; grid-row: 1; padding-right: 3rem; }
.timeline-entry:nth-child(even) .timeline-node    { grid-column: 2; grid-row: 1; }
.timeline-entry:nth-child(even) .timeline-content { grid-column: 3; grid-row: 1; padding-left: 3rem; }
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
  z-index: 1;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-red);
  border: 3px solid var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-red);
  flex-shrink: 0;
}

.timeline-content {
  padding-top: 0.25rem;
}
.timeline-year {
  position: relative;
  display: inline-block;
  font-family: 'Bitter', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.75rem;
  padding: 0.2em 0.8em 0.2em 0.6em;
  isolation: isolate;
}
.timeline-year::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-red);
  transform: skewX(-12deg);
  border-radius: 2px;
  z-index: -1;
}
.timeline-title {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  font-family: var(--font-display), 'Fraunces', Georgia, serif;
  color: var(--color-white);
  margin-bottom: 0.85rem;
}
.timeline-body {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.timeline-image {
  padding-top: 0.25rem;
}
.timeline-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-surface-up);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow:
    4px 4px 0 rgba(0,0,0,0.7),
    9px 9px 0 rgba(0,0,0,0.35),
    18px 18px 36px rgba(0,0,0,0.6);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.timeline-img-placeholder:hover {
  transform: translateY(-5px) rotate(-0.6deg);
  box-shadow:
    6px 8px 0 rgba(0,0,0,0.75),
    12px 14px 0 rgba(0,0,0,0.4),
    24px 28px 48px rgba(0,0,0,0.7);
}
.timeline-img-placeholder svg {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.3);
  opacity: 0.5;
}
.timeline-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Testimonials ------------------------------------------ */
.testimonials-section {
  overflow: hidden;
  padding: 0;
}
.testimonials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

/* Left panel — full-bleed photo */
.testimonials-media {
  position: relative;
  overflow: hidden;
}
.testimonials-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.testimonials-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(20,20,20,0.5) 100%);
  pointer-events: none;
}

/* Right panel — dark quotes */
.testimonials-content {
  background: #1c1c1c;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonials-content .section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #cc1e2b;
  margin-bottom: 2rem;
}
.testimonial-item {
  padding-left: 1.5rem;
  border-left: 2px solid #cc1e2b;
}
.testimonial-item + .testimonial-item {
  border-top: 1px solid #2e2e2e;
  margin-top: 40px;
  padding-top: 40px;
}
.testimonial-quote {
  font-family: var(--font-display), 'Fraunces', Georgia, serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  color: #c8c8c8;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.testimonial-name {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}
.testimonial-role {
  font-size: 11px;
  color: #888888;
}

/* --- Archive Actions Secondary ------------------------------ */
.archive-actions-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
}
.archive-actions-sub a {
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: color 0.2s, border-color 0.2s;
}
.archive-actions-sub a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

/* --- Testimonial CTA --------------------------------------- */
.testimonial-cta {
  background: var(--color-surface);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}
.testimonial-cta-inner {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
}
.testimonial-cta-inner h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.testimonial-cta-inner > p {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.testimonial-cta-secondary {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1.25rem;
}
.testimonial-cta-secondary a {
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color 0.2s, border-color 0.2s;
}
.testimonial-cta-secondary a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

/* --- Explore / Map Section --------------------------------- */
.explore-section {
  background: var(--color-paper);
  padding-block: clamp(5rem, 10vw, 8rem);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.explore-section::before {
  content: 'ATHENA';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display), 'Fraunces', Georgia, serif;
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.explore-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.explore-text .section-eyebrow { color: rgba(200,16,46,0.8); }
.explore-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-white);
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}
.explore-text p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

.explore-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.explore-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.explore-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.6);
}
.explore-feature-icon svg { width: 16px; height: 16px; }
.explore-feature-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}
.explore-feature-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.map-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #1f2937;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  display: block;
}
.map-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.map-preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #1a2332 0%, #0f1923 100%);
}
/* Fake map grid */
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-markers {
  position: absolute;
  inset: 0;
}
.map-marker {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.25);
  animation: markerPulse 2s ease-in-out infinite;
}
.map-marker::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(200,16,46,0.3);
  animation: markerRing 2s ease-in-out infinite;
}
@keyframes markerPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(200,16,46,0.25); }
  50% { box-shadow: 0 0 0 6px rgba(200,16,46,0.1); }
}
@keyframes markerRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}
.map-label {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-preview-cta {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  transition: background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.map-preview-cta:hover {
  background: var(--color-red-dark);
  transform: translateX(-50%);
  box-shadow: 0 4px 20px rgba(200, 16, 46, 0.4);
}

/* --- FAQ --------------------------------------------------- */
.faq-section {
  background: var(--color-surface);
  padding-block: clamp(5rem, 10vw, 8rem);
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.faq-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.faq-sidebar h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  color: var(--color-white);
}
.faq-sidebar p { margin-bottom: 1.75rem; }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--color-border);
}
.faq-item:last-child { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--color-red); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.6);
  transition: transform 0.3s var(--ease-out), border-color 0.2s, background 0.2s;
}
.faq-icon svg { width: 12px; height: 12px; }
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--color-red);
  background: var(--color-red);
  color: var(--color-white);
}
.faq-answer {
  display: none;
  padding-bottom: 1.5rem;
}
.faq-answer p { font-size: 0.9375rem; }
.faq-item.open .faq-answer { display: block; }

/* Still have questions block */
.faq-contact-block {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--color-surface-up);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.faq-contact-block h4 { margin-bottom: 0.5rem; color: rgba(255,255,255,0.4); }
.faq-contact-block p { font-size: 0.875rem; margin-bottom: 1.25rem; }

/* --- Closing CTA ------------------------------------------- */
.closing-cta {
  background: var(--color-paper-warm);
  padding-block: clamp(4rem, 10vw, 7rem);
  border-top: 1px solid var(--color-border);
}
.closing-cta-inner {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}
.closing-cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}
.closing-cta-inner > p {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.closing-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Sponsors ---------------------------------------------- */
.sponsors-section {
  background: var(--color-paper);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

/* Tier block */
.sponsors-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ruled label: ——— LABEL ——— */
.sponsors-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}
.sponsors-label-rule {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.sponsors-label-text {
  font-family: var(--font-body), 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B33A20;
  white-space: nowrap;
}

/* Logo rows — no cards, no borders */
.sponsors-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.sponsor-logo:hover {
  opacity: 1 !important;
  transform: translateY(-2px);
}
.sponsor-logo img {
  width: auto;
  object-fit: contain;
}

/* Funding tier — single large logo, inverted to white for dark bg */
.sponsors-logos--funding {
  gap: 2rem;
}
.sponsor-logo--funding img {
  height: 60px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.25s var(--ease-out);
}
.sponsor-logo--funding:hover img {
  opacity: 1;
}

/* Sponsored tier — row of smaller logos, inverted to soft white */
.sponsors-logos--sponsored {
  gap: clamp(2rem, 5vw, 3.5rem);
}
.sponsor-logo--sponsored img {
  height: 28px;
  opacity: 0.55;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s var(--ease-out);
}
.sponsor-logo--sponsored:hover img {
  opacity: 0.85;
}

/* Section divider */
.sponsors-divider {
  border: none;
  height: 1px;
  background: #2a2520;
  max-width: 500px;
  margin: 2.5rem auto;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .sponsor-logo--funding img { height: 48px; }
  .sponsor-logo--sponsored img { height: 22px; }
  .sponsors-logos--sponsored { gap: 1.5rem; }
}

/* --- Share / Contact Form ---------------------------------- */
.share-section {
  background: var(--color-paper-warm);
  padding-block: clamp(5rem, 10vw, 8rem);
}
.share-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.share-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.share-sidebar h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}
.share-sidebar p { margin-bottom: 1.5rem; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-family: var(--font-body), 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  color: var(--color-white);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-red);
  background: var(--color-surface-up);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A756C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.role-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
  transition: border-color 0.2s, background 0.2s;
}
.role-option input[type="radio"] { display: none; }
.role-option:has(input:checked) {
  border-color: var(--color-red);
  background: var(--color-red-muted);
  color: var(--color-ink);
}
.role-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-strong);
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.role-option:has(input:checked) .role-dot {
  background: var(--color-red);
  border-color: var(--color-red);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8375rem;
  color: var(--color-ink-muted);
}
.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.1rem;
  flex-shrink: 0;
  accent-color: var(--color-red);
}
.form-consent a { border-bottom: 1px solid currentColor; }

.form-submit {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.form-note {
  font-size: 0.8rem;
  color: var(--color-ink-muted);
}

/* --- Footer ------------------------------------------------ */
.site-footer {
  background: #0a0a0a;
  color: var(--color-white);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer-inner { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-logo .nav-logo-mark { color: rgba(255,255,255,0.6); }
.footer-logo .nav-logo-text { color: rgba(255,255,255,0.9); }
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
  line-height: 1.7;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 { color: rgba(255,255,255,0.3); margin-bottom: 0.25rem; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal a { border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* --- Social Links ------------------------------------------ */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out),
              background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social-link:hover {
  transform: translateY(-2px);
}
.social-link--facebook:hover {
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.4);
  background: rgba(24, 119, 242, 0.08);
}
.social-link--twitter:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
.social-link--discord:hover {
  color: #5865F2;
  border-color: rgba(88, 101, 242, 0.4);
  background: rgba(88, 101, 242, 0.08);
}

/* Contact section social — slightly larger, centered */
.contact-social {
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-social .social-link {
  width: 44px;
  height: 44px;
  border-color: rgba(255,255,255,0.18);
}
.contact-social .social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer social — smaller, tighter */
.footer-social {
  margin-top: 1.25rem;
  gap: 0.5rem;
}
.footer-social .social-link {
  width: 34px;
  height: 34px;
  border-color: rgba(255,255,255,0.08);
}
.footer-social .social-link svg {
  width: 16px;
  height: 16px;
}

/* --- Scroll Animations ------------------------------------- */
/* Only hide elements when JS is active (progressive enhancement) */
html.has-js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
html.has-js .reveal.visible {
  opacity: 1;
  transform: none;
}
/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html.has-js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-slide {
    transition: none;
  }
  .hero-slide.active {
    animation: none;
  }
}
.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Timeline photo slide-in */
html.has-js .tl-slide {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
html.has-js .tl-slide--right { transform: translateX(70px); }
html.has-js .tl-slide--left  { transform: translateX(-70px); }
html.has-js .tl-slide.tl-visible {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  html.has-js .tl-slide {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 900px) {
  .nav-links,
  .nav-actions { display: none; }
  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 0.5rem;
  }
  .nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--color-white);
    border-radius: 2px;
    transition: background 0.3s;
  }
  .scrolled .nav-mobile-toggle span { background: var(--color-white); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.08); }

  .timeline::before { left: 24px; transform: none; }
  .timeline-entry {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }
  .timeline-entry:nth-child(odd) .timeline-content,
  .timeline-entry:nth-child(even) .timeline-content {
    grid-column: 2; grid-row: 1;
    text-align: left;
    padding: 0 0 0 1.5rem;
  }
  .timeline-entry:nth-child(odd) .timeline-node,
  .timeline-entry:nth-child(even) .timeline-node {
    grid-column: 1; grid-row: 1;
  }
  .timeline-entry:nth-child(odd) .timeline-image,
  .timeline-entry:nth-child(even) .timeline-image {
    grid-column: 2; grid-row: 2;
    padding: 1.5rem 0 0 1.5rem;
  }

  .hero-slide { background-position: center center; }

  .testimonials-inner { grid-template-columns: 1fr; }
  .testimonials-media { min-height: 300px; }
  .testimonials-media::after {
    background: linear-gradient(to bottom, transparent 60%, rgba(20,20,20,0.5) 100%);
  }
  .testimonials-content { padding: 32px 24px; }

  .explore-inner,
  .faq-inner,
  .share-inner { grid-template-columns: 1fr; gap: 3rem; }

  .faq-sidebar,
  .share-sidebar { position: static; }

  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .role-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .map-preview { aspect-ratio: 1/1; }
  .explore-section::before { display: none; }
}
.contact-simple {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-simple h2 {
  color: var(--color-white);
}

/* --- Photo Archive ----------------------------------------- */
.archive-section.section {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.archive-subtitle {
  margin-bottom: 2.5rem;
}

.archive-hero {
  background: var(--color-paper-warm);
  padding: 4rem var(--gutter) 3rem;
}

.archive-search {
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-family: var(--font-body), 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  transition: border-color 0.2s, background 0.2s;
}

.search-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-red);
  background: var(--color-surface-up);
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Photo Card */
.photo-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
}

.photo-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.photo-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-surface-up);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0;
}

.photo-card__image:not(:has(img))::after {
  opacity: 1;
}

.photo-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-out);
}

.photo-card:hover .photo-card__image img {
  transform: scale(1.05);
}

.photo-card__body {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.photo-card__title {
  font-family: var(--font-body), 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.photo-card__desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.photo-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.photo-card__date {
  white-space: nowrap;
}

.photo-card__nation {
  white-space: nowrap;
  margin-left: auto;
}

.photo-grid__message {
  color: rgba(255,255,255,0.5);
  text-align: center;
  grid-column: 1 / -1;
}

/* Skeleton Loaders */
.photo-skeleton {
  aspect-ratio: 4/3;
  background: linear-gradient(
    90deg,
    var(--color-surface) 0%,
    var(--color-surface-up) 50%,
    var(--color-surface) 100%
  );
  background-size: 200% 100%;
  border-radius: var(--radius-md);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Archive Actions */
.archive-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.loading-status,
.no-results,
.error-message {
  text-align: center;
  font-size: 0.9375rem;
}

.no-results {
  color: rgba(255,255,255,0.65);
}

.error-message {
  color: var(--color-red);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }

  .archive-hero {
    padding: 2.5rem var(--gutter) 2rem;
  }
}

