@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,500;1,400;1,500&family=Space+Mono:wght@400;700&display=swap');

/* ===================== TOKENS ===================== */
:root {
  --paper:      #F0EBE1;
  --paper-dark: #E4DDD0;
  --paper-card: #EDE7DA;
  --ink:        #1C1A17;
  --ink-soft:   #3D2B1F;
  --ink-gray:   #7A6E65;
  --red:        #8B2020;
  --red-hover:  #6E1A1A;
  --red-pale:   #C4544A;
  --dark-bg:    #1A1714;
  --dark-2:     #242019;
  --cream-text: #F0EBE1;

  --ff-display: 'Special Elite', 'Courier New', monospace;
  --ff-mono:    'Courier Prime', 'Courier New', monospace;
  --ff-body:    'Lora', Georgia, serif;
  --ff-label:   'Space Mono', monospace;

  --radius-sm: 2px;
  --radius:    4px;
  --shadow-card: 2px 4px 16px rgba(28,26,23,0.12), 0 1px 3px rgba(28,26,23,0.08);
  --shadow-lift: 4px 8px 28px rgba(28,26,23,0.18);
  --transition: 0.3s ease;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select {
  font-family: var(--ff-body);
  font-size: 1rem;
  outline: none;
}

/* ===================== PAPER TEXTURE ===================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 400; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(240,235,225,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(28,26,23,0.1);
  padding: 0 2rem;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.nav-logo-sub {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  color: var(--ink-gray);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex; align-items: center; gap: 0;
}
.nav-links a {
  font-family: var(--ff-label);
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  padding: 0 1.1rem;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:not(:last-child)::after {
  content: '·';
  position: absolute; right: 0;
  color: var(--ink-gray);
}
.nav-links a:hover { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-subscribe {
  background: var(--red);
  color: #fff !important;
  font-family: var(--ff-display) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em;
  padding: 0.55rem 1.4rem !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition) !important;
}
.nav-subscribe:hover { background: var(--red-hover) !important; }
.nav-subscribe::after { display: none !important; }
.nav-editions {
  font-family: var(--ff-label);
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid rgba(28,26,23,0.1);
  padding: 2rem;
  flex-direction: column; gap: 1.5rem;
  z-index: 499;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--ink);
}
.mobile-menu .nav-subscribe {
  display: inline-block;
  text-align: center;
  padding: 0.75rem 1.5rem !important;
  font-size: 0.875rem !important;
}

/* ===================== PAGE WRAP ===================== */
.page-wrap { padding-top: 68px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--ff-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
}
.btn-red { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn-red:hover { background: var(--red-hover); border-color: var(--red-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { background: transparent; color: var(--cream-text); border: 2px solid rgba(240,235,225,0.4); }
.btn-outline-light:hover { background: rgba(240,235,225,0.1); border-color: var(--cream-text); }

/* ===================== SECTION BASE ===================== */
.section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.container { max-width: 1120px; margin: 0 auto; }
.container-sm { max-width: 780px; margin: 0 auto; }
.container-xs { max-width: 580px; margin: 0 auto; }

/* ===================== LABEL ===================== */
.eyebrow {
  display: block;
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.eyebrow-gray { color: var(--ink-gray); }

/* ===================== SECRET CARD ===================== */
.secret-card {
  background: var(--paper-card);
  border: 1px solid rgba(28,26,23,0.15);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.secret-card:hover {
  transform: translateY(-3px) rotate(0deg) !important;
  box-shadow: var(--shadow-lift);
}
.secret-card .secret-text {
  font-family: var(--ff-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-style: italic;
}
.secret-card .secret-text::before { content: '"'; }
.secret-card .secret-text::after  { content: '"'; }
.secret-card .secret-meta {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--ink-gray);
  margin-top: 0.875rem;
  text-transform: uppercase;
}

/* ===================== TORN PAPER ===================== */
.torn-bottom {
  position: relative;
  padding-bottom: 3rem;
}
.torn-bottom::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: var(--paper);
  clip-path: polygon(
    0% 100%, 0% 60%, 2% 40%, 5% 55%, 8% 30%, 11% 50%, 14% 20%,
    17% 45%, 20% 15%, 23% 40%, 26% 60%, 29% 25%, 32% 50%, 35% 30%,
    38% 55%, 41% 20%, 44% 45%, 47% 35%, 50% 55%, 53% 25%, 56% 45%,
    59% 20%, 62% 50%, 65% 30%, 68% 55%, 71% 15%, 74% 45%, 77% 25%,
    80% 50%, 83% 35%, 86% 55%, 89% 20%, 92% 45%, 95% 30%, 98% 50%,
    100% 40%, 100% 100%
  );
}
.torn-top {
  position: relative;
  padding-top: 3rem;
}
.torn-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 48px;
  background: var(--paper);
  clip-path: polygon(
    0% 0%, 2% 60%, 5% 45%, 8% 70%, 11% 50%, 14% 80%, 17% 55%,
    20% 85%, 23% 60%, 26% 40%, 29% 75%, 32% 50%, 35% 70%, 38% 45%,
    41% 80%, 44% 55%, 47% 65%, 50% 45%, 53% 75%, 56% 55%, 59% 80%,
    62% 50%, 65% 70%, 68% 45%, 71% 85%, 74% 55%, 77% 75%, 80% 50%,
    83% 65%, 86% 45%, 89% 80%, 92% 55%, 95% 70%, 98% 50%, 100% 60%,
    100% 0%
  );
}

/* ===================== STAMP ===================== */
.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  border: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.75rem;
  font-family: var(--ff-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0.85;
  position: relative;
}
.stamp-circle {
  border-radius: 50%;
  width: 100px; height: 100px;
  padding: 0;
  flex-direction: column;
  font-size: 0.6rem;
  text-align: center;
  line-height: 1.3;
  border-width: 2.5px;
}

/* ===================== FORM ELEMENTS ===================== */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid rgba(28,26,23,0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--ff-mono);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color var(--transition);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139,32,32,0.1);
}
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.65; }
.form-check { display: flex; gap: 0.75rem; align-items: flex-start; }
.form-check input[type="checkbox"] {
  margin-top: 3px; flex-shrink: 0;
  accent-color: var(--red); width: 16px; height: 16px;
}
.form-check label { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }

/* ===================== FOOTER ===================== */
footer { background: var(--dark-bg); }
.footer-reviews {
  padding: 4rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-reviews-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem;
  max-width: 1120px; margin: 2.5rem auto 0;
}
.review-item .stars { color: var(--red); font-size: 0.875rem; letter-spacing: 3px; margin-bottom: 0.875rem; }
.review-item blockquote {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(240,235,225,0.85);
  margin-bottom: 0.75rem;
}
.review-item blockquote::before { content: '"'; font-family: var(--ff-display); font-size: 2.5rem; color: var(--red); line-height: 0; vertical-align: -0.65em; margin-right: 0.25rem; }
.review-item .reviewer {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-gray);
}
.footer-cta {
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--dark-2);
}
.footer-cta .stamp-circle { margin: 0 auto 1.5rem; color: var(--red); border-color: var(--red); }
.footer-cta h2 {
  font-family: var(--ff-body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--cream-text);
  margin-bottom: 0.75rem;
}
.footer-cta p { color: rgba(240,235,225,0.6); margin-bottom: 2rem; }
.footer-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.footer-main {
  padding: 3rem 2rem 2rem;
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--cream-text);
  margin-bottom: 0.25rem;
}
.footer-tagline {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.footer-desc { font-size: 0.875rem; color: rgba(240,235,225,0.5); line-height: 1.7; }
.footer-col h4 {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240,235,225,0.4);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(240,235,225,0.65);
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cream-text); }
.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 2rem;
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240,235,225,0.3);
  flex-wrap: wrap; gap: 0.5rem;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -3deg)); }
  50%       { transform: translateY(-8px) rotate(var(--rot, -3deg)); }
}
.fade-up   { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.fade-up-2 { opacity: 0; animation: fadeUp 0.7s 0.12s ease forwards; }
.fade-up-3 { opacity: 0; animation: fadeUp 0.7s 0.24s ease forwards; }
.fade-up-4 { opacity: 0; animation: fadeUp 0.7s 0.36s ease forwards; }
.fade-up-5 { opacity: 0; animation: fadeUp 0.7s 0.48s ease forwards; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-editions { display: none; }
  .nav-hamburger { display: flex; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-reviews-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .section { padding: 3.5rem 1.25rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; text-align: center; }
  h1 { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
