@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg:         #09090F;
  --surface:    #111119;
  --card:       #181824;
  --card-hover: #1F1F30;
  --border:     #2A2A3A;
  --purple:     #7B4FBF;
  --purple-light:#A67DE8;
  --purple-glow: rgba(123, 79, 191, 0.25);
  --tan:        #C4A87A;
  --tan-dark:   #8B7251;
  --brown:      #8B5E3C;
  --text:       #F0EDE8;
  --text-muted: #7A7585;
  --text-dim:   #4A4558;
  --green:      #3DBA6E;
  --radius:     12px;
  --radius-lg:  20px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

img, gif { display: block; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 80px;
  background: rgba(9, 9, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  object-fit: contain;
}

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

.nav-links a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--card);
}

.nav-links a.active {
  color: var(--purple-light);
}

.nav-cta {
  background: var(--purple) !important;
  color: var(--text) !important;
  padding: 6px 18px !important;
}

.nav-cta:hover {
  background: var(--purple-light) !important;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-social a {
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.nav-social a:hover { color: var(--tan); }

/* ── HAMBURGER (mobile) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO SHOWCASE (new layout) ── */
.hero-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.hero-dog-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow-ring {
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,79,191,0.35) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}

.hero-dog-img {
  width: 400px;
  height: 400px;
  object-fit: contain;
  image-rendering: pixelated;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(123,79,191,0.5));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-gif-strip {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hero-strip-card {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  animation: strip-float 3s ease-in-out infinite;
  transition: border-color 0.2s;
}

.hero-strip-card:hover {
  border-color: var(--purple);
}

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

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

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(123,79,191,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(196,168,122,0.06) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  width: 100%;
}

.hero-text { }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(123,79,191,0.15);
  border: 1px solid rgba(123,79,191,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--purple-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow span {
  width: 6px; height: 6px;
  background: var(--purple-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 .accent { color: var(--purple-light); }
.hero h1 .tan { color: var(--tan); }

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--purple);
  color: var(--text);
}
.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--purple-glow);
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--card-hover);
  border-color: var(--purple);
  transform: translateY(-1px);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-gif-wrap {
  position: relative;
  width: 340px;
  height: 340px;
}

.hero-gif-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-gif {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(123,79,191,0.4));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}

.stat {
  background: var(--surface);
  padding: 20px;
  text-align: center;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--tan);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── SECTIONS ── */
section {
  padding: 80px 40px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--tan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--tan);
}

.section-title {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  margin: 0 40px;
}

/* ── FEATURED GIFS (home preview) ── */
.gif-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.gif-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  aspect-ratio: 1;
}

.gif-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: 0 16px 48px rgba(123,79,191,0.2);
}

.gif-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  transition: transform 0.3s;
}

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

.gif-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

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

.gif-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* ── GALLERY PAGE ── */
.gallery-header {
  padding: 136px 40px 60px;
  text-align: center;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: var(--card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--purple);
  color: var(--text);
  border-color: var(--purple);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 0 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 9, 15, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  width: 90%;
  transform: scale(0.95);
  transition: transform 0.3s;
}

.lightbox.active .lightbox-inner {
  transform: scale(1);
}

.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  image-rendering: pixelated;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 80px rgba(123,79,191,0.3);
}

.lightbox-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 36px; height: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: var(--card-hover);
  color: var(--text);
  border-color: var(--purple);
}

.lightbox-nav {
  display: flex;
  gap: 12px;
}

.lightbox-nav button {
  padding: 8px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.lightbox-nav button:hover {
  background: var(--purple);
  color: var(--text);
  border-color: var(--purple);
}

/* ── PAPER PAGE ── */
.paper-top-row {
  padding: 32px 40px 0;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .paper-top-row {
    grid-template-columns: 1fr;
    padding: 20px 16px 0;
  }
  .paper-top-row > *:first-child { order: 2; }
  .paper-top-row > *:last-child  { order: 1; }
}

.paper-hero {
  padding: 120px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.paper-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(196,168,122,0.08) 0%, transparent 70%);
}

.paper-drop-zone {
  max-width: 700px;
  margin: 60px auto 0;
  position: relative;
}

.newspaper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-origin: top center;
  animation: newspaper-drop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes newspaper-drop {
  0% { transform: rotateX(30deg) translateY(-60px) scale(0.95); opacity: 0; }
  100% { transform: rotateX(0deg) translateY(0) scale(1); opacity: 1; }
}

.newspaper-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
}

.newspaper-flag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--tan);
  letter-spacing: -0.02em;
}

.newspaper-date {
  font-size: 12px;
  color: var(--text-muted);
}

.newspaper-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.newspaper-col {
  padding: 24px 32px;
}

.newspaper-col:first-child {
  border-right: 1px solid var(--border);
}

.newspaper-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
}

.newspaper-body-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.newspaper-gif {
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}

.newspaper-gif img {
  height: 160px;
  image-rendering: pixelated;
}

.paper-signup {
  max-width: 500px;
  margin: 60px auto 0;
  text-align: center;
}

.paper-signup-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.paper-signup-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.signup-form {
  display: flex;
  gap: 8px;
}

.signup-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.signup-input::placeholder { color: var(--text-dim); }
.signup-input:focus { border-color: var(--purple); }

.paper-archive {
  max-width: 700px;
  margin: 80px auto 0;
}

.archive-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.archive-item:hover {
  border-color: var(--tan);
  background: var(--card-hover);
}

.archive-issue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--tan);
  min-width: 60px;
}

.archive-title {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
}

.archive-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── ABOUT PAGE ── */
.about-section {
  padding: 136px 40px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.about-gif-wrap {
  position: sticky;
  top: 80px;
  text-align: center;
}

.about-gif-wrap .about-photo {
  width: 100%;
}

.about-photo-watermark {
  display: block;
  width: 520px;
  max-width: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 28px rgba(123,79,191,0.45)) drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  animation: float 4s ease-in-out infinite;
  margin: 24px auto 0;
}

.about-content h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--tan);
}

.about-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.social-pill:hover {
  border-color: var(--purple);
  color: var(--purple-light);
}

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 0;
}

.ticker-inner {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-inner:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.ticker-item .dot {
  width: 6px; height: 6px;
  background: var(--purple);
  border-radius: 50%;
}

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 40px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--tan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}

/* ── ARTICLE CARD ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s;
  cursor: pointer;
}

.article-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}

.article-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(123,79,191,0.15);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}

/* ── PAPER ISSUES CAROUSEL (homepage) ── */
.paper-carousel-section {
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.paper-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.paper-carousel-item {
  flex: 0 0 calc(25% - 15px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.paper-carousel-item:hover {
  border-color: var(--tan);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(196,168,122,0.15);
}

.paper-carousel-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.paper-carousel-label {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.paper-carousel-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 3px;
}

.paper-carousel-title {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--text);
}

/* ── NEWSPAPER ARCHIVE PAGE ── */
.paper-masthead-bar {
  padding: 116px 40px 0;
  text-align: center;
  position: relative;
  overflow: visible;
}

.paper-characters {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1100px;
  margin: 0 auto;
  pointer-events: none;
  position: relative;
}

.paper-char {
  flex-shrink: 0;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.paper-char img {
  display: block;
  image-rendering: auto;
}

.paper-char-left  { align-self: flex-end; }
.paper-char-right { align-self: flex-end; }

.paper-masthead-center {
  flex: 1;
  text-align: center;
  padding: 0 20px 0;
}

.paper-masthead-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 7vw, 80px);
  font-weight: 700;
  color: var(--tan);
  letter-spacing: -0.04em;
  line-height: 1;
}

.paper-masthead-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.paper-masthead-rule {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--tan) 20%, var(--purple) 80%, transparent);
  margin: 16px 0 0;
  border-radius: 2px;
}

.paper-latest-banner {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0 40px;
  max-width: 1100px;
  margin: 32px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  cursor: pointer;
  transition: border-color 0.2s;
}

.paper-latest-banner:hover { border-color: var(--tan); }

.paper-latest-content {
  padding: 40px 40px 40px 0;
  border-right: 1px solid var(--border);
}

.paper-latest-issue-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(196,168,122,0.12);
  border: 1px solid rgba(196,168,122,0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.paper-latest-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.paper-latest-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
}

.paper-latest-img-wrap {
  overflow: hidden;
  max-height: 340px;
  display: flex;
  align-items: flex-start;
}

.paper-latest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s;
}

.paper-latest-banner:hover .paper-latest-img-wrap img {
  transform: scale(1.03);
}

/* Issues archive grid */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.issue-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
}

.issue-card:hover {
  border-color: var(--tan-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(196,168,122,0.12);
}

.issue-card-img {
  width: 100%;
  height: auto;
  display: block;
}

.issue-card-info {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.issue-card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 2px;
}

.issue-card-title {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.issues-section-label {
  padding: 0 40px;
  max-width: 1200px;
  margin: 40px auto 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-social { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 80px 20px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-visual { order: -1; }
  .hero-gif-wrap { width: 240px; height: 240px; }
  .hero-actions { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-sub { margin: 0 auto 36px; }

  section { padding: 60px 20px; }
  .gallery-header { padding: 100px 20px 40px; }
  .gallery-grid { padding: 0 20px 60px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .paper-hero { padding: 100px 20px 40px; }
  .newspaper-body { grid-template-columns: 1fr; }
  .newspaper-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .signup-form { flex-direction: column; }
  .about-section { padding: 100px 20px 60px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-gif-wrap { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
