/* ===== Zippertits.com — Design System ===== */
/* Dark mode, bold accent (red), playful premium, mocking tone */

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --bg-card-featured: #1a0a0c;
  --text: #f0f0f0;
  --text-muted: #888;
  --accent: #ff4757;
  --accent-glow: rgba(255, 71, 87, 0.15);
  --accent-soft: rgba(255, 71, 87, 0.08);
  --accent-border: rgba(255, 71, 87, 0.3);
  --border: #222;
  --zipper: #ff4757;
  --zipper-glow: rgba(255, 71, 87, 0.4);
  --radius: 12px;
  --max-width: 900px;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  min-height: 100vh;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1.25rem; }

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

a:hover { color: #ff6b7a; }

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header / Nav ===== */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo .zipper-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  position: relative;
}

.zipper-icon svg {
  width: 100%;
  height: 100%;
}

.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ===== Hero ===== */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Zipper Divider ===== */
.zipper-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  gap: 1rem;
}

.zipper-line {
  flex: 1;
  max-width: 120px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--zipper) 0px,
    var(--zipper) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.4;
}

.zipper-pull {
  width: 20px;
  height: 28px;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 12px var(--zipper-glow);
}

/* ===== Sections ===== */
.section {
  padding: 3rem 0;
}

.section--flagship {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ===== Card ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: #333;
}

/* ===== Before/After ===== */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.ba-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

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

.ba-card--featured {
  background: var(--bg-card-featured);
  border-color: var(--accent-border);
}

.ba-card--featured:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.ba-images img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.ba-label {
  position: absolute;
  top: 8px;
  padding: 2px 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ba-label.before { left: 8px; }
.ba-label.after { right: 8px; }

.ba-zipper-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: repeating-linear-gradient(
    180deg,
    var(--zipper) 0px,
    var(--zipper) 4px,
    transparent 4px,
    transparent 8px
  );
  box-shadow: 0 0 8px var(--zipper-glow);
  z-index: 2;
}

.ba-info {
  padding: 1rem 1.25rem;
}

.ba-info .ba-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.ba-info .ba-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.ba-info .ba-quote {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Gallery Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.gallery-item:hover {
  border-color: var(--accent);
}

.gallery-item--featured {
  grid-column: 1 / -1;
  border-color: var(--accent-border);
}

.gallery-item--featured img {
  height: 400px;
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Essay / Content Page ===== */
.e-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.e-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.e-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.e-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.e-content p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.e-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

/* ===== CTA Button ===== */
.cta-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background: #ff6b7a;
  color: #000;
  transform: translateY(-1px);
}

.cta-btn--red {
  background: var(--accent);
  color: #000;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--text-muted);
  margin: 0 0.75rem;
}

.site-footer a:hover {
  color: var(--text);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 3rem 0 2.5rem; }

  .site-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav.open { display: flex; }

  .nav-toggle { display: block; }
}
