/* ══════════════════════════════════════════════════
   nokillingday.com
   ══════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────── */
:root {
  --cream:  #F5F0E8;
  --dark:   #1A1A18;
  --red:    #C8372D;
  --muted:  #6B6B60;
  --border: #D4CFC4;
  --yellow: #E8C840;
}

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

/* ── Body ────────────────────────────────────────── */
body {
  background: var(--cream);
  color: var(--dark);
  font-family: 'Courier Prime', monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

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.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
}

/* ── Layout ──────────────────────────────────────── */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2.5rem;
}

.bottom-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ── Header ──────────────────────────────────────── */
header {
  border-bottom: 3px double var(--dark);
  padding: 1.5rem 2rem 1rem;
  text-align: center;
  position: relative;
}

.dateline {
  font-family: 'Courier Prime', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.masthead {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.masthead em {
  font-style: italic;
  color: var(--red);
}

.subhead {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  margin-top: 0.75rem;
}

/* ── Countdown Banner ────────────────────────────── */
.countdown-banner {
  background: var(--dark);
  color: var(--cream);
  text-align: center;
  padding: 0.75rem 2rem;
  font-family: 'Courier Prime', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.countdown-units {
  display: flex;
  gap: 1.5rem;
}

.countdown-unit {
  text-align: center;
  line-height: 1.2;
}

.countdown-unit .num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--yellow);
  font-family: 'Playfair Display', serif;
}

.countdown-unit .label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ── Image Wells ─────────────────────────────────── */
/*
  Usage:
    <div class="img-well img-well--hero">
      <!-- drop an <img> in here to replace the placeholder -->
      <div class="img-well-hint">Label · WxH recommended</div>
    </div>
    <p class="img-caption">Caption text</p>
*/

.hero-wrap {
  border-bottom: 3px solid var(--dark);
}

.img-well {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.img-well img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-well-hint {
  font-family: 'Courier Prime', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.18);
  text-align: center;
  padding: 2rem 1rem;
  pointer-events: none;
  user-select: none;
  position: relative;
  z-index: 1;
}

.img-well--hero      { min-height: 55vh; }
.img-well--landscape { min-height: 340px; }
.img-well--lede      { min-height: 400px; }
.img-well--portrait  {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  flex-shrink: 0;
}

.hero-caption {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.4rem 1.5rem 0.75rem;
  max-width: 960px;
  margin: 0 auto;
  font-style: italic;
  border-bottom: 1px solid var(--border);
}

.img-caption {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.4rem 0 0;
  border-top: 1px solid var(--border);
  font-style: italic;
  line-height: 1.5;
}

/* ── Lede ────────────────────────────────────────── */
.lede {
  border-bottom: 2px solid var(--dark);
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "headline headline"
    "text     visual"
    "quote    quote";
  gap: 2rem;
  align-items: start;
}

@media (max-width: 600px) {
  .lede {
    grid-template-columns: 1fr;
    grid-template-areas: "headline" "text" "visual" "quote";
  }
}

.lede-headline {
  grid-area: headline;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.lede-text { grid-area: text; }

.lede-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--dark);
}

.lede-text p + p { margin-top: 1rem; }

/* Drop cap */
.lede-text p:first-child::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.4em;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  margin: 0.05em 0.1em 0 0;
  color: var(--red);
}

.lede-visual { grid-area: visual; }

.pull-quote {
  grid-area: quote;
  border-left: 4px solid var(--red);
  padding: 1rem 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--dark);
  background: rgba(200, 55, 45, 0.04);
}

/* ── Section Titles ──────────────────────────────── */
.section-title {
  font-family: 'Courier Prime', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 2px solid var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0;
  margin-bottom: 1.5rem;
}

/* ── Pledge Section ──────────────────────────────── */
.pledge-section {
  margin-bottom: 3rem;
  border: 3px double var(--dark);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  text-align: center;
}

.pledge-section::before {
  content: '† † †';
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--muted);
}

.pledge-section .section-title { text-align: left; }

.pledge-stat { margin-bottom: 2rem; }

.pledge-stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  margin-bottom: 0.25rem;
}

.pledge-stat-label {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--dark);
  opacity: 0.7;
}

.pledge-form-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.pledge-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.pledge-form input {
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  padding: 0.7rem 1rem;
  border: 2px solid var(--dark);
  background: transparent;
  color: var(--dark);
  flex: 1;
  min-width: 140px;
  letter-spacing: 0.03em;
  transition: border-color 0.2s;
}

.pledge-form input::placeholder { color: var(--muted); }
.pledge-form input:focus { outline: none; border-color: var(--red); }
.pledge-form .btn-red { white-space: nowrap; flex-shrink: 0; }

@media (max-width: 600px) {
  .pledge-form {
    flex-direction: column;
  }
  .pledge-form input,
  .pledge-form .btn-red {
    width: 100%;
    flex: none;
  }
}

.pledge-error {
  color: var(--red);
  font-size: 0.8rem;
  min-height: 1.2em;
  margin-bottom: 0.5rem;
}

.pledge-note {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.pledge-success {
  display: none;
  padding: 0.5rem 0 1rem;
}

.pledge-success-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pledge-success-sub {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq-section { margin-bottom: 3rem; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

@media (max-width: 600px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.faq-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.faq-item:hover { background: rgba(200, 55, 45, 0.04); }
.faq-item:nth-child(even) { border-right: none; }

.faq-q {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.faq-a {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #3A3A30;
}

/* ── Landscape image break ───────────────────────── */
.landscape-break { margin-bottom: 3rem; }

/* ── Testimonials ────────────────────────────────── */
.testimonials { margin-bottom: 0; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial {
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
  color: var(--dark);
  flex: 1;
}

.testimonial-text::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--red);
  opacity: 0.35;
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.testimonial-attr {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Inverted CTA ────────────────────────────────── */
.cta-inverted {
  background: var(--dark);
  color: var(--cream);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

.cta-inner {
  max-width: 960px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-family: 'Courier Prime', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 2rem;
}

.cta-inverted .cta-date {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 2.5rem;
  color: var(--cream);
}

.cta-inverted .cta-date em {
  font-style: italic;
  color: var(--red);
}

.cta-rule {
  width: 4rem;
  border-top: 1px solid rgba(245, 240, 232, 0.25);
  margin: 0 auto 2rem;
}

.cta-inverted .cta-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
  opacity: 0.8;
}

@media (min-width: 700px) {
  .cta-text--nowrap {
    white-space: nowrap;
    max-width: none;
  }
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border: 2px solid var(--dark);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--dark);
  display: inline-block;
}

.btn:hover { background: var(--dark); color: var(--cream); }

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.btn-red:hover { background: #A02820; border-color: #A02820; color: var(--cream); }

/* Inverted context */
.cta-inverted .btn {
  border-color: rgba(245, 240, 232, 0.55);
  color: var(--cream);
}

.cta-inverted .btn:hover {
  background: var(--cream);
  color: var(--dark);
}

/* ── Calendar Dropdown ───────────────────────────── */
.calendar-wrap {
  position: relative;
  display: inline-block;
}

.calendar-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  min-width: 210px;
  z-index: 200;
}

.calendar-menu.open { display: block; }

.calendar-menu a,
.calendar-menu button {
  display: block;
  width: 100%;
  padding: 0.65rem 1.1rem;
  color: var(--cream);
  text-decoration: none;
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.15s;
}

.calendar-menu a:last-child,
.calendar-menu button:last-child { border-bottom: none; }

.calendar-menu a:hover,
.calendar-menu button:hover { background: var(--red); color: var(--cream); }

/* Inverted context: light menu on dark bg */
.cta-inverted .calendar-menu {
  background: var(--cream);
}

.cta-inverted .calendar-menu a,
.cta-inverted .calendar-menu button {
  color: var(--dark);
  border-bottom-color: rgba(26, 26, 24, 0.12);
}

.cta-inverted .calendar-menu a:hover,
.cta-inverted .calendar-menu button:hover {
  background: var(--red);
  color: var(--cream);
}

/* ── Share Section ───────────────────────────────── */
.share-section { margin-bottom: 3rem; }

.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-btn {
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border: 2px solid var(--dark);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.share-btn:hover { background: var(--dark); color: var(--cream); }

.share-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.75rem;
  font-style: italic;
}

/* ── Misc ────────────────────────────────────────── */
.ornament {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  color: var(--muted);
  margin: 2rem 0;
}

.small-print {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.8;
}

.small-print a { color: var(--red); text-decoration: none; }

/* ── Footnote trigger & popup ────────────────────── */
.fn-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--red);
  font-family: inherit;
  font-size: 0.65em;
  font-weight: 700;
  vertical-align: super;
  line-height: 1;
  cursor: pointer;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}

.fn-trigger:hover { opacity: 0.7; }

.fn-popup {
  display: none;
  position: fixed;
  z-index: 500;
  max-width: 270px;
  background: var(--dark);
  color: var(--cream);
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem;
  line-height: 1.65;
  letter-spacing: 0.03em;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  pointer-events: none;
}

.fn-popup.visible { display: block; }

/* ── Animations ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.masthead       { animation: fadeUp 0.8s ease both; }
.subhead        { animation: fadeUp 0.8s 0.2s ease both; }
.hero-wrap      { animation: fadeUp 0.8s 0.3s ease both; }
.lede           { animation: fadeUp 0.8s 0.4s ease both; }
.pledge-section { animation: fadeUp 0.8s 0.45s ease both; }
.faq-section    { animation: fadeUp 0.8s 0.5s ease both; }
.landscape-break { animation: fadeUp 0.8s 0.55s ease both; }
.testimonials   { animation: fadeUp 0.8s 0.6s ease both; }
.cta-inverted   { animation: fadeUp 0.8s 0.65s ease both; }
.bottom-section { animation: fadeUp 0.8s 0.7s ease both; }
