/* ==========================================================================
   Dear Ovary — Landing Page Styles
   Design tokens per handoff README: oxblood + warm-cream editorial palette.
   ========================================================================== */

:root {
  --oxblood: #2a110e;
  --cream: #f1e7db;
  --blush: #e7c4b8;
  --cream-ink-headline: #f2e7d8;
  --cream-ink-body: #f0e4d4;
  --blush-accent: #eeb9ae;
  --brick: #b23a2e;
  --brown-ink: #3a1512;

  --content-max: 1180px;
  --pad-x: clamp(20px, 4vw, 54px);

  --ease-reveal: cubic-bezier(.2, .7, .2, 1);
  --ease-redact: cubic-bezier(.2, .75, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--oxblood);
  color: var(--cream-ink-body);
  font-family: "Newsreader", Georgia, serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

em, i {
  font-style: italic;
}

::selection {
  background: var(--blush-accent);
  color: var(--oxblood);
}

.lcd {
  font-family: "Libre Caslon Display", Georgia, serif;
}

.lab {
  font-family: "Newsreader", serif;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.accent {
  color: var(--blush-accent);
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
}

.hairline {
  height: 1px;
}

/* Skip link — accessible, invisible until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blush-accent);
  color: var(--oxblood);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--blush-accent);
  outline-offset: 3px;
}

/* Scroll-reveal base state (JS adds .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .95s var(--ease-reveal), transform .95s var(--ease-reveal);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad-x);
  background: rgba(42, 17, 14, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240, 228, 212, .14);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__wordmark {
  font-size: 20px;
  letter-spacing: -.01em;
}
.nav__actions {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  align-items: center;
}
.pill-link {
  font-size: 10px;
  border: 1px solid rgba(240, 228, 212, .4);
  padding: 8px 14px;
  border-radius: 100px;
  letter-spacing: .24em;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(24px, 3.4vw, 40px) var(--pad-x);
  display: flex;
  flex-direction: column;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.hero__wordmark {
  font-size: clamp(20px, 1.9vw, 26px);
  letter-spacing: -.01em;
  color: var(--cream-ink-headline);
}
.hero__vol {
  font-size: 11px;
  color: rgba(240, 228, 212, .6);
}
.hero__hairline {
  background: rgba(240, 228, 212, .2);
  margin-top: 18px;
}
.hero__register {
  margin: 10px 0 0;
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: clamp(13px, 1.3vw, 16px);
  color: var(--blush-accent);
  text-align: right;
}

.hero__headline-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(30px, 5vh, 70px) 0;
}
.hero__headline {
  margin: 0;
  font-weight: 400;
  font-size: clamp(46px, 9.2vw, 150px);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--cream-ink-headline);
}
.hero__line {
  display: block;
}
.hero__line--indent-1 { padding-left: 8vw; }
.hero__line--indent-2 { padding-left: 4vw; }
.hero__line--indent-3 { padding-left: 11vw; }
.hero__line--italic {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--blush-accent);
}

.hero__redact {
  position: relative;
  display: inline-block;
}
.hero__redact-text {
  color: rgba(240, 228, 212, .14);
  transition: color 1.1s ease;
}
.hero__redact-bar {
  position: absolute;
  left: -.03em;
  right: -.03em;
  top: .12em;
  bottom: .12em;
  background: var(--blush-accent);
  border-radius: 5px;
  transform-origin: top;
  transform: scaleY(1);
  opacity: 1;
  transition: transform 1.1s var(--ease-redact), opacity 1.1s ease;
}
.hero__redact.is-revealed .hero__redact-text {
  color: var(--cream-ink-body);
}
.hero__redact.is-revealed .hero__redact-bar {
  transform: scaleY(0);
  opacity: 0;
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.hero__letter {
  max-width: 340px;
  border-top: 1px solid rgba(240, 228, 212, .22);
  padding-top: 14px;
}
.hero__letter-label {
  font-size: 10px;
  color: var(--blush-accent);
  margin: 0 0 8px;
}
.hero__letter-text {
  margin: 0;
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.42;
  color: rgba(240, 228, 212, .8);
}
.hero__cta {
  text-align: right;
}
.hero__rsvp-link {
  font-size: clamp(15px, 1.6vw, 19px);
  border-bottom: 1px solid rgba(240, 228, 212, .5);
  padding-bottom: 3px;
}
.hero__scroll-hint {
  font-size: 10px;
  color: rgba(240, 228, 212, .5);
  margin: 14px 0 0;
}

/* ==========================================================================
   Register header (repeats on every section)
   ========================================================================== */

.register-header {
  border-top: 1px solid rgba(58, 21, 18, .2);
  padding-top: 14px;
  margin-bottom: clamp(34px, 6vh, 64px);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.register-header--dark {
  border-top-color: rgba(240, 228, 212, .22);
}
.register-header__label {
  font-size: 11px;
}
.register-header__label--accent {
  color: var(--brick);
}
.register-header__label--accent-dark {
  color: var(--blush-accent);
}
.register-header__index {
  font-size: 11px;
  color: rgba(58, 21, 18, .42);
}
.register-header__index--dark {
  color: rgba(240, 228, 212, .4);
}

/* ==========================================================================
   Manifesto
   ========================================================================== */

.manifesto {
  background: var(--cream);
  color: var(--brown-ink);
  padding: clamp(90px, 16vh, 180px) var(--pad-x);
}
.manifesto .register-header {
  margin-bottom: clamp(46px, 8vh, 88px);
}
.manifesto__lead {
  margin: 0;
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 64px);
  line-height: 1.14;
  letter-spacing: -.01em;
  max-width: 16em;
}
.manifesto__columns {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(30px, 5vw, 80px);
  margin-top: clamp(48px, 8vh, 90px);
}
.manifesto__col {
  margin: 0;
  flex: 1;
  min-width: 280px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: rgba(58, 21, 18, .78);
}

/* ==========================================================================
   Marquee divider
   ========================================================================== */

.marquee {
  background: var(--cream);
  color: var(--brick);
  overflow: hidden;
  padding: 15px 0;
  white-space: nowrap;
  border-top: 1px solid rgba(58, 21, 18, .16);
  border-bottom: 1px solid rgba(58, 21, 18, .16);
}
.marquee__track {
  display: inline-block;
  animation: marquee 26s linear infinite;
}
.marquee__word {
  font-size: clamp(22px, 3vw, 40px);
  padding: 0 28px;
}
.marquee__dot {
  opacity: .5;
  font-style: italic;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Join / Socials
   ========================================================================== */

.join {
  background: var(--blush);
  color: var(--brown-ink);
  padding: clamp(90px, 15vh, 170px) var(--pad-x);
}
.join__counter-block {
  text-align: center;
}
.join__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}
.join__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brick);
  display: inline-block;
  animation: live-pulse 2.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
.join__live-label {
  font-size: 10px;
  color: var(--brick);
}
.join__counter {
  font-size: clamp(84px, 20vw, 300px);
  line-height: .86;
  letter-spacing: -.02em;
  color: var(--brown-ink);
  font-variant-numeric: tabular-nums;
}
.join__caption {
  margin: 22px auto 0;
  max-width: 22em;
  font-style: italic;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.45;
  color: rgba(58, 21, 18, .72);
}
.join__socials {
  margin-top: clamp(56px, 10vh, 110px);
  border-top: 1px solid rgba(58, 21, 18, .22);
  padding-top: clamp(26px, 4vh, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 28px;
}
.join__socials-label {
  font-size: 10px;
  color: rgba(58, 21, 18, .5);
}
.join__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 4vw, 58px);
  align-items: baseline;
}
.join__social-link {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--brown-ink);
  transition: color .25s ease;
}
.join__social-link:hover,
.join__social-link:focus-visible {
  color: var(--brick);
}
.join__social-name {
  font-size: clamp(17px, 1.5vw, 20px);
  font-style: italic;
  font-family: "Newsreader", serif;
}
.join__social-handle {
  font-size: 9px;
  color: rgba(58, 21, 18, .45);
}

/* ==========================================================================
   RSVP / Footer
   ========================================================================== */

.rsvp {
  background: var(--oxblood);
  color: var(--cream-ink-body);
  padding: clamp(90px, 16vh, 190px) var(--pad-x) clamp(40px, 6vh, 60px);
}
.rsvp .register-header {
  margin-bottom: clamp(36px, 6vh, 62px);
}
.rsvp__event {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}
.rsvp__event-main {
  flex: 2;
  min-width: 300px;
}
.rsvp__event-tag {
  font-size: 11px;
  color: rgba(240, 228, 212, .6);
  margin: 0 0 18px;
}
.rsvp__event-title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(40px, 7.4vw, 112px);
  line-height: .96;
  letter-spacing: -.01em;
}
.rsvp__event-title em {
  font-family: "Newsreader", serif;
  font-style: italic;
}
.rsvp__event-details {
  flex: 1;
  min-width: 240px;
  border-top: 1px solid rgba(240, 228, 212, .22);
  padding-top: 22px;
}
.rsvp__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.rsvp__row-label {
  opacity: .6;
}
.rsvp__row-value {
  text-align: right;
}
.rsvp__reserve {
  display: block;
  text-align: center;
  margin-top: 26px;
  background: var(--blush-accent);
  color: var(--oxblood);
  padding: 15px;
  border-radius: 100px;
  font-size: 16px;
  letter-spacing: .02em;
}

.rsvp__footer-hairline {
  background: rgba(240, 228, 212, .18);
  margin: clamp(70px, 11vh, 130px) 0 30px;
}
.rsvp__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.rsvp__footer-wordmark {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: .9;
  letter-spacing: -.01em;
}
.rsvp__footer-tagline {
  font-style: italic;
  color: rgba(240, 228, 212, .66);
  margin: 12px 0 0;
  max-width: 26em;
}
.rsvp__footer-meta {
  font-size: 10px;
  color: rgba(240, 228, 212, .5);
  text-align: right;
  line-height: 2;
}
.rsvp__footer-meta p {
  margin: 0;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal],
  .nav,
  .hero__redact-text,
  .hero__redact-bar,
  .join__live-dot,
  .marquee__track {
    transition: none !important;
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
