/*
Theme Name: Wattalife v2
Theme URI: https://wattalife.com
Author: Ellery Capobianco
Author URI: https://wattalife.com
Description: The daily reaction to modern adult life. Editorial newsroom meets late-night-show — bold serif display, paper texture, ink-and-red palette. Built for AdSense, newsletter capture, and merch. Version 2 — responsive overhaul.
Version: 2.3.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wattalife
Tags: editorial, magazine, blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --ink: #0E0E0C;
  --paper: #F4EFE6;
  --paper-warm: #ECE4D3;
  --red: #D72638;
  --red-deep: #A81C29;
  --yellow: #F4C430;
  --rule: #1a1a18;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* GLOBAL overflow protection — nothing escapes the viewport */
h1, h2, h3, h4, h5, h6, p, span, a, div {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.hero-title, .hero-tagline, .nl-left h2, .merch h2, .submit h2, .reaction h3 {
  -webkit-hyphens: none;
  hyphens: none;
}
/* Never break these — short brand / numeric elements */
.logo, .logo a, .footer-logo, .price-num, .stat-num, .reaction-num,
.cat-icon, .hero-stamp-row .stamp, .stamp-deco,
.hero-title .italic, .merch-tag, .nl-stamp,
.footer-bottom, .footer-bottom span,
.ribbon, .ribbon span, .menu-toggle {
  word-break: keep-all;
  overflow-wrap: normal;
  -webkit-hyphens: none;
  hyphens: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.08;
  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.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.serif { font-family: 'Fraunces', serif; }
.mono { font-family: 'JetBrains Mono', monospace; }

img { max-width: 100%; height: auto; }
a { color: var(--ink); }

/* ============ TOP RIBBON ============ */
.ribbon {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--paper);
}
.ribbon-marquee {
  overflow: hidden;
  flex: 1;
  margin: 0 24px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.ribbon-marquee span {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  padding-left: 100%;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ============ HEADER ============ */
.site-header {
  border-bottom: 3px double var(--ink);
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.logo, .logo a {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-style: italic;
  text-decoration: none;
  color: var(--ink);
}
.logo .dot { color: var(--red); }
.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}
.main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}

/* ============ HERO ============ */
.hero {
  padding: 60px 32px 80px;
  border-bottom: 1px solid var(--ink);
  position: relative;
}
.hero-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta .sep {
  opacity: 0.4;
}
.hero-meta .pulse {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(72px, 15vw, 240px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}
.hero-title .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.hero-stamp-row {
  margin-bottom: 36px;
  margin-top: 8px;
}
.hero-stamp-row .stamp {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 7px 16px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  line-height: 1;
}
.hero-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-top: 48px;
}
.hero-tagline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  font-weight: 400;
  max-width: 620px;
}
.hero-tagline em {
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.hero-cta {
  background: var(--ink);
  padding: 32px;
  color: var(--paper);
  width: 100%;
  max-width: 480px;
  justify-self: end;
}
.hero-cta label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.7;
}
.hero-cta h3 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
}
.input-row {
  display: flex;
  border: 1px solid var(--paper);
  width: 100%;
  max-width: 100%;
}
.input-row input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 14px 16px;
  color: var(--paper);
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  outline: none;
  width: 100%;
}
.input-row input::placeholder { color: rgba(244, 239, 230, 0.65); font-size: 13px; }
.input-row button, .input-row .btn {
  background: var(--red);
  color: var(--paper);
  border: none;
  padding: 14px 22px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.input-row button:hover, .input-row .btn:hover { background: var(--red-deep); }
.hero-cta .fineprint {
  font-size: 11px;
  margin-top: 12px;
  opacity: 0.6;
  font-family: 'JetBrains Mono', monospace;
}

.stamp-deco {
  position: absolute;
  border: 2px solid var(--red);
  color: var(--red);
  padding: 8px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-8deg);
}
.stamp-1 { top: 140px; right: 80px; background: var(--paper); }

/* ============ SECTIONS ============ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 60px 32px 24px;
  border-bottom: 1px solid var(--ink);
}
.section-header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.section-header h2 em {
  font-style: italic;
  font-weight: 400;
}
.section-header .date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reactions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
}
.reaction {
  padding: 40px 32px 48px;
  border-right: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  text-decoration: none;
  color: var(--ink);
}
.reaction:last-child { border-right: none; }
.reaction:hover { background: var(--paper-warm); }
.reaction-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.reaction-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(56px, 8vw, 80px);
  line-height: 0.85;
  font-weight: 900;
  font-style: italic;
  color: var(--ink);
  opacity: 0.15;
  margin-bottom: 12px;
}
.reaction h3 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.reaction p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.75;
  flex: 1;
}
.reaction-foot {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.reaction-foot .read {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ============ CATEGORIES ============ */
.cats {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.cat {
  text-align: center;
  padding: 24px 12px;
  border-right: 1px solid rgba(244, 239, 230, 0.15);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--paper);
}
.cat:last-child { border-right: none; }
.cat:hover { background: var(--red); }
.cat-icon {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--yellow);
}
.cat:hover .cat-icon { color: var(--paper); }
.cat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============ NEWSLETTER ============ */
.nl {
  padding: 100px 32px;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nl-left h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin-bottom: 32px;
}
.nl-left h2 em {
  font-style: italic;
  color: var(--red);
  font-weight: 400;
}
.nl-left p {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 32px;
  max-width: 520px;
}
.nl-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  font-style: italic;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  max-width: 140px;
}
.nl-preview {
  background: var(--paper-warm);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  padding: 0;
  transform: rotate(-1.5deg);
  position: relative;
  width: 100%;
  max-width: 100%;
}
.nl-preview-header {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nl-preview-body { padding: 28px 28px 32px; }
.nl-preview-from {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(14, 14, 12, 0.6);
  margin-bottom: 8px;
}
.nl-preview-subject {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.nl-preview-text { font-size: 14px; line-height: 1.6; color: rgba(14, 14, 12, 0.8); }
.nl-preview-text p { margin-bottom: 12px; }
.nl-preview-text em { background: var(--yellow); padding: 1px 4px; font-style: normal; }
.nl-stamp {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--red);
  color: var(--paper);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  transform: rotate(15deg);
  border: 2px solid var(--ink);
}

/* ============ MERCH ============ */
.merch {
  background: var(--red);
  color: var(--paper);
  padding: 100px 32px;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.merch::before {
  content: 'WATTALIFE';
  position: absolute;
  bottom: -80px;
  left: -40px;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-style: italic;
  font-size: 380px;
  line-height: 1;
  opacity: 0.08;
  color: var(--paper);
  pointer-events: none;
  letter-spacing: -0.05em;
}
.merch-content { position: relative; z-index: 2; }
.merch-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--paper);
}
.merch h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 0.98;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.merch h2 em { font-style: italic; font-weight: 400; }
.merch p {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 32px;
  max-width: 460px;
}
.price { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.price-num {
  font-family: 'Fraunces', serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  word-break: keep-all;
  white-space: nowrap;
}
.price-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.merch-btn {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 18px 40px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  display: inline-block;
}
.merch-btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.hoodie {
  position: relative;
  z-index: 2;
  aspect-ratio: 1;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--paper);
  box-shadow: 16px 16px 0 var(--ink);
}
.hoodie-text {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(60px, 9vw, 120px);
  color: var(--paper);
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-align: center;
}
.hoodie-text .red { color: var(--red); }

/* ============ SUBMIT ============ */
.submit {
  padding: 100px 32px;
  text-align: center;
  border-bottom: 3px double var(--ink);
  background: var(--paper);
}
.submit h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 8vw, 120px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.submit h2 em { font-style: italic; font-weight: 400; color: var(--red); }
.submit p {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.4;
}
.submit-btn {
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 20px 48px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.submit-btn:hover { background: var(--paper); color: var(--ink); }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 32px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.2);
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  color: var(--paper);
  text-decoration: none;
}
.footer-logo .dot { color: var(--red); }
.footer-tagline {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.4;
  max-width: 360px;
  opacity: 0.8;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.6;
}
.footer-col ul, .footer-col .menu { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--paper); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom span {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  -webkit-hyphens: none;
  hyphens: none;
}

/* ==================== UNIVERSAL PAGE HERO ==================== */
/* All non-homepage page templates (About, Contact, Privacy, Terms, Disclaimer, Affiliate)
   use this shared hero structure so they look 100% identical. */

.page-hero {
  padding: 100px 32px 80px;
  border-bottom: 3px double var(--ink);
  max-width: 1200px;
  margin: 0 auto;
}
.page-hero-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.page-hero-kicker {
  color: var(--red);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}
.page-hero-sep { opacity: 0.4; }
.page-hero-vol {
  color: var(--ink);
  opacity: 0.7;
  white-space: nowrap;
}
.page-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.0;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 36px;
  max-width: 1100px;
}
.page-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.page-hero-deck {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  max-width: 760px;
  color: rgba(14, 14, 12, 0.8);
}
.page-hero-deck em {
  font-style: italic;
  background: var(--yellow);
  padding: 1px 6px;
  color: var(--ink);
  font-weight: 500;
}

/* Shared legal-content body — used by Privacy, Terms, Disclaimer, Affiliate */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 32px 100px;
  font-family: 'Fraunces', serif;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(14, 14, 12, 0.88);
}
.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 48px 0 16px;
  color: var(--ink);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin-bottom: 18px; }
.legal-content ul {
  margin: 0 0 24px 24px;
  padding: 0;
}
.legal-content li { margin-bottom: 10px; line-height: 1.55; }
.legal-content strong { font-weight: 700; color: var(--ink); }
.legal-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--red); }
.legal-content hr {
  border: none;
  border-top: 1px solid var(--ink);
  margin: 48px 0;
  opacity: 0.2;
}
.legal-footer-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: rgba(14, 14, 12, 0.55);
  margin-top: 24px !important;
}

/* Page hero mobile */
@media (max-width: 768px) {
  .page-hero { padding: 56px 20px 48px; }
  .page-hero-meta { font-size: 10px; gap: 10px; margin-bottom: 32px; }
  .page-hero-title { font-size: clamp(32px, 8vw, 48px); line-height: 1.05; margin-bottom: 28px; }
  .page-hero-deck { font-size: 17px; line-height: 1.45; }
  .legal-content { padding: 48px 20px 56px; font-size: 16px; }
  .legal-content h2 { font-size: 24px; margin: 36px 0 12px; }
}
@media (max-width: 400px) {
  .page-hero { padding: 40px 16px 36px; }
  .page-hero-title { font-size: clamp(28px, 8vw, 40px); }
  .page-hero-deck { font-size: 16px; }
  .legal-content { padding: 40px 16px 48px; }
}

/* ============ BLOG / POST LAYOUTS ============ */
.content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px;
}
.content-wrap.wide { max-width: 1280px; }

.post-card {
  border-bottom: 1px solid var(--ink);
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.post-card:last-child { border-bottom: none; }
.post-card-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}
.post-card-meta .date {
  display: block;
  color: rgba(14,14,12,0.5);
  margin-top: 8px;
}
.post-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.post-card h2 a { text-decoration: none; color: var(--ink); }
.post-card h2 a:hover { color: var(--red); }
.post-card .excerpt {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(14,14,12,0.8);
  margin-bottom: 16px;
}
.post-card .read-more {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  color: var(--ink);
}

/* Single post */
.single-header {
  padding: 80px 32px 40px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.single-header .cat-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.single-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.single-header .lede {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: rgba(14,14,12,0.75);
  max-width: 640px;
  margin: 0 auto 32px;
}
.single-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(14,14,12,0.6);
  display: flex;
  justify-content: center;
  gap: 24px;
}
.post-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 32px 80px;
  font-family: 'Fraunces', serif;
  font-size: 19px;
  line-height: 1.65;
}
.post-content p { margin-bottom: 24px; }
.post-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 48px 0 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.post-content h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 32px 0 12px;
  line-height: 1.2;
}
.post-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.post-content blockquote {
  border-left: 4px solid var(--red);
  padding: 8px 24px;
  margin: 32px 0;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: rgba(14,14,12,0.85);
}
.post-content ul, .post-content ol { margin: 0 0 24px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content img { margin: 32px 0; border: 1px solid var(--ink); }
.post-content code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--paper-warm);
  padding: 2px 6px;
  font-size: 0.9em;
}

/* AdSense placement (clean container) */
.ad-slot {
  margin: 48px auto;
  padding: 16px;
  text-align: center;
  border-top: 1px dashed var(--ink);
  border-bottom: 1px dashed var(--ink);
  max-width: 728px;
}
.ad-slot::before {
  content: 'Advertisement';
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 8px;
}

/* Page title / archive */
.page-title-block {
  padding: 80px 32px 40px;
  border-bottom: 1px solid var(--ink);
}
.page-title-block .kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.page-title-block h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.page-title-block h1 em { font-style: italic; font-weight: 400; }

/* Pagination */
.pagination {
  padding: 40px 32px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pagination a, .pagination .current {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  margin: 0 4px;
  text-decoration: none;
  color: var(--ink);
}
.pagination .current { background: var(--ink); color: var(--paper); }
.pagination a:hover { background: var(--red); color: var(--paper); border-color: var(--red); }

/* Comments */
.comments-area {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.comments-area h3 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* WordPress alignment helpers */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 16px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-align: center;
  margin-top: 8px;
  opacity: 0.7;
}
.sticky { background: var(--paper-warm); padding: 24px; }
.gallery { display: grid; gap: 8px; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 10px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1;
}
.menu-toggle:hover, .menu-toggle:active {
  background: var(--ink);
  color: var(--paper);
}

/* ============ RESPONSIVE ============ */

/* TABLET / SMALL LAPTOP */
@media (max-width: 900px) {
  .hero-sub { grid-template-columns: 1fr; gap: 40px; }
  .hero-cta { justify-self: stretch; max-width: 100%; }
  .reactions { grid-template-columns: 1fr; }
  .reaction { border-right: none; border-bottom: 1px solid var(--ink); min-height: auto; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat { border-bottom: 1px solid rgba(244, 239, 230, 0.15); }
  .nl { grid-template-columns: 1fr; gap: 60px; }
  .merch { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .main-nav ul { display: none; }
  .main-nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-top: 1px solid var(--ink);
    border-bottom: 3px double var(--ink);
    padding: 0;
    gap: 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(14,14,12,0.08);
  }
  .main-nav.open ul li {
    list-style: none;
    border-bottom: 1px solid rgba(14,14,12,0.12);
  }
  .main-nav.open ul li:last-child { border-bottom: none; }
  .main-nav.open ul a {
    display: block;
    padding: 18px 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
  }
  .main-nav.open ul a:hover, .main-nav.open ul a:active {
    background: var(--ink);
    color: var(--paper);
  }
  .main-nav.open ul a::after { display: none; }
  .menu-toggle { display: block; }
  .stamp-deco { display: none; }

  .post-card { grid-template-columns: 1fr; gap: 16px; }
  .ribbon span:first-child, .ribbon span:last-child { display: none; }
  .ribbon-marquee { margin: 0; }
}

/* PHONE — under 768px */
@media (max-width: 768px) {
  /* Reduce padding everywhere */
  .hero { padding: 32px 20px 48px; }
  .section-header { padding: 40px 20px 16px; flex-wrap: wrap; gap: 12px; }
  .reaction { padding: 28px 20px 32px; }
  .cats { padding: 16px 12px; }
  .nl { padding: 48px 20px; }
  .merch { padding: 48px 20px; }
  .submit { padding: 56px 20px; }
  .site-footer { padding: 40px 20px 20px; }
  .site-header { padding: 14px 20px; }

  /* HERO TITLE — reduce dramatically so "What a life" fits properly */
  .hero-title {
    font-size: clamp(56px, 14vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
  }

  /* STAMP — standalone row, no overlap */
  .hero-stamp-row { margin-bottom: 28px; }
  .hero-stamp-row .stamp {
    font-size: 11px;
    padding: 6px 12px;
    letter-spacing: 0.16em;
  }

  /* Hero meta — wrap cleanly */
  .hero-meta {
    font-size: 10px;
    letter-spacing: 0.15em;
    gap: 8px 14px;
    margin-bottom: 28px;
  }
  .hero-meta .sep { display: none; }

  /* Hero tagline */
  .hero-tagline {
    font-size: clamp(22px, 5.5vw, 32px);
    line-height: 1.1;
    max-width: 100%;
  }

  /* Hero CTA */
  .hero-cta {
    padding: 24px;
    max-width: 100%;
  }
  .hero-cta h3 { font-size: 20px; line-height: 1.15; }
  .hero-cta .fineprint { font-size: 10px; }

  /* Section headers */
  .section-header h2 { font-size: clamp(32px, 8vw, 48px); }

  /* Reaction cards */
  .reaction h3 { font-size: clamp(20px, 5.5vw, 26px); }
  .reaction p { font-size: 14px; }

  /* Categories — smaller */
  .cat { padding: 18px 8px; }
  .cat-icon { font-size: 36px; }
  .cat-label { font-size: 10px; letter-spacing: 0.12em; }

  /* Newsletter section */
  .nl { gap: 40px; }
  .nl-left h2 {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.025em;
  }
  .nl-left p { font-size: 17px; }
  .nl-stats { gap: 20px 28px; margin-top: 28px; padding-top: 24px; }
  .stat-num { font-size: 36px; }
  .stat-label { font-size: 10px; max-width: 120px; }

  /* Newsletter preview card — reduce rotation to prevent overflow */
  .nl-preview {
    transform: rotate(-0.8deg);
    margin: 16px 0 0 0;
    box-shadow: 8px 8px 0 var(--ink);
  }
  .nl-preview-body { padding: 20px; }
  .nl-preview-subject { font-size: 19px; }
  .nl-preview-text { font-size: 13px; }
  .nl-preview-from { font-size: 11px; word-break: break-all; }
  .nl-stamp {
    width: 64px;
    height: 64px;
    font-size: 9px;
    top: -16px;
    right: -10px;
  }

  /* Merch */
  .merch::before { font-size: 200px; bottom: -40px; left: -20px; }
  .merch-content { width: 100%; }
  .merch h2 {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.025em;
  }
  .merch p { font-size: 17px; }
  .price-num { font-size: 48px; }
  .price-label { font-size: 11px; }
  .merch-btn { padding: 14px 28px; font-size: 13px; }
  .hoodie {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    box-shadow: 10px 10px 0 var(--ink);
  }
  .hoodie-text { font-size: clamp(48px, 14vw, 80px); }

  /* Submit */
  .submit h2 {
    font-size: clamp(36px, 10vw, 64px);
    line-height: 1.0;
    letter-spacing: -0.025em;
  }
  .submit p { font-size: 17px; }
  .submit-btn { padding: 16px 32px; font-size: 12px; letter-spacing: 0.12em; }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: left;
  }
  .footer-logo { font-size: 40px; }
  .footer-tagline { font-size: 16px; }

  /* Body content */
  .content-wrap { padding: 48px 20px; }
  .single-header { padding: 48px 20px 28px; }
  .single-header h1 { font-size: clamp(32px, 8vw, 56px); line-height: 1.05; }
  .single-header .lede { font-size: 18px; }
  .post-content { padding: 20px 20px 48px; font-size: 17px; }
  .post-content h2 { font-size: 28px; }
  .post-content h3 { font-size: 22px; }
  .page-title-block { padding: 48px 20px 28px; }
  .page-title-block h1 { font-size: clamp(40px, 11vw, 72px); }
  .post-card { padding: 32px 0; }
  .post-card h2 { font-size: 26px; }
  .post-card .excerpt { font-size: 16px; }
}

/* EXTRA SMALL PHONES — under 400px (iPhone SE, etc.) */
@media (max-width: 400px) {
  .hero { padding: 24px 16px 40px; }
  .site-header { padding: 12px 16px; }
  .section-header { padding: 32px 16px 12px; }
  .reaction { padding: 24px 16px 28px; }
  .nl, .merch, .submit { padding: 40px 16px; }
  .site-footer { padding: 32px 16px 16px; }

  .hero-title { font-size: clamp(44px, 13vw, 72px); }
  .hero-tagline { font-size: clamp(18px, 5.5vw, 24px); }
  .hero-cta h3 { font-size: 17px; }
  .hero-cta { padding: 20px; }

  .reaction h3 { font-size: clamp(18px, 5.5vw, 22px); }
  .reaction-num { font-size: 56px; }

  .cat-icon { font-size: 30px; }

  .nl-left h2, .merch h2 { font-size: clamp(28px, 8vw, 38px); }
  .submit h2 { font-size: clamp(30px, 10vw, 48px); }

  .nl-preview { transform: rotate(0deg); }
  .nl-preview-subject { font-size: 17px; }
  .nl-preview-body { padding: 16px; }
  .nl-preview-text { font-size: 12px; }

  .price-num { font-size: 40px; }

  .menu-toggle { padding: 8px 12px; font-size: 10px; letter-spacing: 0.15em; }
  .logo, .logo a { font-size: 24px; }
}
