/* ============================================================
   MANIFESTO PAGE — manifesto.css
   Standalone typographic manifesto for Foreman DeGeurin & DeGeurin
   Inherits design tokens from style.css
   ============================================================ */

/* ── RESET & BASE ── */
.manifesto-body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── HEADER ── */
.manifesto-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.manifesto-back {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.manifesto-back:hover {
  color: var(--color-gold);
}

.manifesto-logo {
  opacity: 0.8;
  transition: opacity 0.2s;
}
.manifesto-logo:hover { opacity: 1; }

/* ── MAIN ── */
.manifesto-main {
  padding-top: 5rem;
}

/* ── OPENING ── */
.m-opening {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  text-align: center;
}

/* Vertical ruled lines — decorative */
.m-opening::before,
.m-opening::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-gold);
  opacity: 0.18;
}
.m-opening::before { left: clamp(1.5rem, 8vw, 10rem); }
.m-opening::after  { right: clamp(1.5rem, 8vw, 10rem); }

.m-opening-inner {
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.m-opening-inner.m-visible {
  opacity: 1;
  transform: none;
}

.m-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 2.5rem;
}

.m-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(4.5rem, 12vw, 10rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}

.m-title-line {
  display: block;
  color: var(--color-text);
}

.m-title-line--gold {
  color: var(--color-gold);
  font-style: italic;
}

.m-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin: 0;
}

/* ── RULES ── */
.m-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold) 20%, var(--color-gold) 80%, transparent);
  opacity: 0.4;
  margin: 0;
}

.m-rule-thin {
  width: clamp(3rem, 10vw, 6rem);
  height: 1px;
  background: var(--color-gold);
  opacity: 0.5;
  margin: 4.5rem auto;
}

/* ── BODY ── */
.m-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

/* ── STANZAS ── */
.m-stanza {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.m-stanza.m-visible {
  opacity: 1;
  transform: none;
}

.m-stanza--large p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
  text-align: center;
  margin: 0;
}

.m-stanza--large em {
  color: var(--color-gold);
  font-style: italic;
}

.m-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 1.75rem;
}

.m-pull {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  border-left: 3px solid var(--color-gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 0 0 2rem;
}

.m-stanza p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.85;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
}

.m-stanza p:last-child {
  margin-bottom: 0;
}

.m-emphasis {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem) !important;
  font-weight: 700 !important;
  font-style: italic;
  color: var(--color-text) !important;
  text-align: center;
  margin-top: 2rem !important;
  line-height: 1.3 !important;
}

/* ── CLOSING ── */
.m-closing {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 6rem 2rem;
  text-align: center;
}

.m-closing-inner {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.m-closing-inner.m-visible {
  opacity: 1;
  transform: none;
}

.m-closing-ornament {
  margin: 0 auto 2rem;
}

.m-closing-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}

.m-closing-sub {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin: 0 0 2.5rem;
  text-transform: uppercase;
}

.m-closing-cta {
  display: inline-block;
}

/* ── LIGHT MODE OVERRIDES ── */
[data-theme="light"] .manifesto-header {
  background: var(--color-bg);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .manifesto-header {
    padding: 1rem 1.25rem;
  }

  .m-opening {
    min-height: 70vh;
    padding: 5rem 1.25rem 4rem;
  }

  .m-opening::before,
  .m-opening::after {
    display: none;
  }

  .m-title {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .m-body {
    padding: 4rem 1.25rem 5rem;
  }

  .m-pull {
    padding-left: 1.1rem;
  }

  .m-closing {
    padding: 4rem 1.25rem;
  }
}
