/* ═══════════════════════════════════════════════════════════════
   Romantic Editorial — Beloved Wedding Template
   Scoped under .wt-romantic-editorial
   ═══════════════════════════════════════════════════════════════ */

/* ─── Base ─── */
.wt-romantic-editorial {
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Heading override ─── */
.wt-romantic-editorial .wp-heading {
  font-weight: 300;
  line-height: 1.15;
}

/* ─── Nav ─── */
.wt-romantic-editorial .wt-re-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
.wt-romantic-editorial .wt-re-nav.scrolled {
  background: color-mix(in srgb, var(--color-background) 92%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-rule, #C9B8A8);
}
.wt-romantic-editorial .wt-re-nav-date {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.wt-romantic-editorial .wt-re-nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.wt-romantic-editorial .wt-re-nav-links a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}
.wt-romantic-editorial .wt-re-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}
.wt-romantic-editorial .wt-re-nav-links a:hover {
  color: var(--color-accent);
}
.wt-romantic-editorial .wt-re-nav-links a:hover::after {
  width: 100%;
}
.wt-romantic-editorial .wt-re-nav-mobile-toggle {
  display: none;
}
.wt-romantic-editorial .wt-re-nav-mobile-menu {
  display: none;
}

/* ─── Shared section styles ─── */
.wt-romantic-editorial .wt-re-section-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}
.wt-romantic-editorial .wt-re-section-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}
.wt-romantic-editorial .wt-re-section-heading em {
  font-style: italic;
  color: var(--color-accent-light, #8A4558);
}
.wt-romantic-editorial .wt-re-body-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-secondary);
  max-width: 480px;
}
.wt-romantic-editorial .wt-re-hairline {
  width: 60px;
  height: 1px;
  background: var(--color-rule, #C9B8A8);
  margin: 2rem 0;
}
.wt-romantic-editorial .wt-re-ornament {
  text-align: center;
  margin: 2rem 0;
  color: var(--color-rule, #C9B8A8);
  font-size: 0.9rem;
  letter-spacing: 1em;
}

/* ─── Hero (split-screen) ─── */
.wt-romantic-editorial .wt-re-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  position: relative;
  overflow: hidden;
}
.wt-romantic-editorial .wt-re-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 6rem 6rem;
  position: relative;
  z-index: 2;
}
.wt-romantic-editorial .wt-re-hero-overline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 2rem;
  opacity: 0;
  animation: wt-re-fadeInUp 1s ease 0.3s forwards;
}
.wt-romantic-editorial .wt-re-hero-names {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.0;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.wt-romantic-editorial .wt-re-hero-names .wt-re-first-name {
  display: block;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  opacity: 0;
  animation: wt-re-fadeInUp 1s ease 0.5s forwards;
}
.wt-romantic-editorial .wt-re-hero-names .wt-re-ampersand {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--color-accent-light, #8A4558);
  margin: 0.3rem 0 0.3rem 0.5rem;
  opacity: 0;
  animation: wt-re-fadeInUp 1s ease 0.7s forwards;
}
.wt-romantic-editorial .wt-re-hero-names .wt-re-second-name {
  display: block;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  text-align: right;
  opacity: 0;
  animation: wt-re-fadeInUp 1s ease 0.9s forwards;
}
.wt-romantic-editorial .wt-re-hero-detail {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-rule, #C9B8A8);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  line-height: 2.2;
  opacity: 0;
  animation: wt-re-fadeInUp 1s ease 1.1s forwards;
}
.wt-romantic-editorial .wt-re-hero-image {
  position: relative;
  overflow: hidden;
}
.wt-romantic-editorial .wt-re-hero-image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.wt-romantic-editorial .wt-re-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-background) 0%, transparent 15%);
  z-index: 1;
}

/* ─── Compact hero ─── */
.wt-romantic-editorial .wt-re-hero-compact {
  padding: 6rem 2rem 3.5rem;
  text-align: center;
}
.wt-romantic-editorial .wt-re-hero-compact .wt-re-hairline {
  margin: 0 auto 1.5rem;
}
.wt-romantic-editorial .wt-re-hero-compact .wt-re-section-heading {
  margin-bottom: 0.5rem;
}

/* ─── Story / photo-text section ─── */
.wt-romantic-editorial .wt-re-story {
  padding: 10rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.wt-romantic-editorial .wt-re-story-image-wrap {
  position: relative;
  padding-bottom: 130%;
  overflow: hidden;
}
.wt-romantic-editorial .wt-re-story-image-wrap img,
.wt-romantic-editorial .wt-re-story-image-wrap .wt-re-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wt-romantic-editorial .wt-re-story-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--color-blush, #E8D5CB);
  z-index: -1;
}
.wt-romantic-editorial .wt-re-story-content {
  padding: 2rem 0 2rem 2rem;
}

/* ─── Details / event cards ─── */
.wt-romantic-editorial .wt-re-details {
  background: var(--color-surface-warm, #F5EDE6);
  padding: 8rem 6rem;
  text-align: center;
}
.wt-romantic-editorial .wt-re-details .wt-re-section-heading {
  margin-bottom: 1rem;
}
.wt-romantic-editorial .wt-re-details-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-secondary);
  margin-bottom: 4rem;
}
.wt-romantic-editorial .wt-re-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}
.wt-romantic-editorial .wt-re-detail-card {
  padding: 3rem 2rem;
  border: 1px solid var(--color-rule, #C9B8A8);
  background: var(--color-background);
  position: relative;
}
.wt-romantic-editorial .wt-re-detail-card::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -8px;
  bottom: -8px;
  border: 1px solid var(--color-blush, #E8D5CB);
  z-index: -1;
}
.wt-romantic-editorial .wt-re-detail-card-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}
.wt-romantic-editorial .wt-re-detail-card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 0.8rem;
}
.wt-romantic-editorial .wt-re-detail-card-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-secondary);
}

/* ─── Gallery ─── */
.wt-romantic-editorial .wt-re-gallery-header {
  text-align: center;
  margin-bottom: 4rem;
}
.wt-romantic-editorial .wt-re-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  height: 75vh;
}
.wt-romantic-editorial .wt-re-gallery-item {
  overflow: hidden;
  position: relative;
}
.wt-romantic-editorial .wt-re-gallery-item img,
.wt-romantic-editorial .wt-re-gallery-item .wt-re-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.wt-romantic-editorial .wt-re-gallery-item:hover img {
  transform: scale(1.05);
}
.wt-romantic-editorial .wt-re-gallery-item:nth-child(2) {
  grid-row: 1 / 3;
}

/* ─── Timeline ─── */
.wt-romantic-editorial .wt-re-timeline-header {
  text-align: center;
  margin-bottom: 5rem;
}
.wt-romantic-editorial .wt-re-timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 3rem;
}
.wt-romantic-editorial .wt-re-timeline-time {
  text-align: right;
  padding-right: 2rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text);
  padding-top: 0.2rem;
}
.wt-romantic-editorial .wt-re-timeline-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.wt-romantic-editorial .wt-re-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  background: var(--color-background);
  position: relative;
  z-index: 2;
  margin-top: 0.4rem;
  flex-shrink: 0;
}
.wt-romantic-editorial .wt-re-timeline-line {
  width: 1px;
  flex-grow: 1;
  background: var(--color-rule, #C9B8A8);
  min-height: 60px;
}
.wt-romantic-editorial .wt-re-timeline-content {
  padding-left: 2rem;
}
.wt-romantic-editorial .wt-re-timeline-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}
.wt-romantic-editorial .wt-re-timeline-content p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--color-secondary);
  line-height: 1.7;
}

/* ─── Countdown ─── */
.wt-romantic-editorial .wt-re-countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}
.wt-romantic-editorial .wt-re-countdown-box {
  width: 90px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-rule, #C9B8A8);
}
.wt-romantic-editorial .wt-re-countdown-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1;
}
.wt-romantic-editorial .wt-re-countdown-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-top: 0.4rem;
}

/* ─── Quote ─── */
.wt-romantic-editorial .wt-re-quote-section {
  padding: 7rem 2rem;
  text-align: center;
  background: var(--color-surface-warm, #F5EDE6);
}
.wt-romantic-editorial .wt-re-quote-mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--color-accent);
  opacity: 0.4;
  margin-bottom: 1.5rem;
  display: block;
}
.wt-romantic-editorial .wt-re-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
}
.wt-romantic-editorial .wt-re-quote-attribution {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-top: 2rem;
}

/* ─── RSVP (dark inverted) ─── */
.wt-romantic-editorial .wt-re-rsvp {
  background: var(--color-text);
  color: var(--color-ivory, #F0EBE3);
  padding: 8rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wt-romantic-editorial .wt-re-rsvp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: var(--color-champagne, #D4C4B0);
  opacity: 0.4;
}
.wt-romantic-editorial .wt-re-rsvp .wt-re-section-label {
  color: var(--color-champagne, #D4C4B0);
}
.wt-romantic-editorial .wt-re-rsvp .wt-re-section-heading {
  color: var(--color-ivory, #F0EBE3);
}
.wt-romantic-editorial .wt-re-rsvp .wt-re-section-heading em {
  color: var(--color-blush, #E8D5CB);
}
.wt-romantic-editorial .wt-re-rsvp-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-champagne, #D4C4B0);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.85;
}
.wt-romantic-editorial .wt-re-rsvp-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--color-ivory, #F0EBE3);
  padding: 1.1rem 3.5rem;
  text-decoration: none;
  transition: color 0.4s ease, background 0.4s ease;
}
.wt-romantic-editorial .wt-re-rsvp-btn:hover {
  background: var(--color-accent);
  color: var(--color-ivory, #F0EBE3);
}

/* ─── Footer ─── */
.wt-romantic-editorial .wt-re-footer {
  padding: 4rem 6rem;
  text-align: center;
  border-top: 1px solid var(--color-rule, #C9B8A8);
}
.wt-romantic-editorial .wt-re-footer-monogram {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.wt-romantic-editorial .wt-re-footer-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.wt-romantic-editorial .wt-re-footer-branding {
  font-family: var(--font-body);
  font-size: 0.55rem;
  margin-top: 1.5rem;
  color: var(--color-secondary);
  opacity: 0.5;
}

/* ─── Scroll reveal ─── */
.wt-romantic-editorial .wt-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.wt-romantic-editorial .wt-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Animations ─── */
@keyframes wt-re-fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .wt-romantic-editorial .wt-re-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .wt-romantic-editorial .wt-re-hero-content {
    padding: 8rem 2rem 4rem;
  }
  .wt-romantic-editorial .wt-re-hero-image {
    height: 60vh;
  }
  .wt-romantic-editorial .wt-re-hero-image::after {
    background: linear-gradient(to top, var(--color-background) 0%, transparent 20%);
  }
  .wt-romantic-editorial .wt-re-story {
    grid-template-columns: 1fr;
    padding: 5rem 2rem;
  }
  .wt-romantic-editorial .wt-re-story-content {
    padding: 2rem 0 0 0;
  }
  .wt-romantic-editorial .wt-re-details {
    padding: 5rem 2rem;
  }
  .wt-romantic-editorial .wt-re-details-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .wt-romantic-editorial .wt-re-gallery-grid {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .wt-romantic-editorial .wt-re-gallery-item:nth-child(2) {
    grid-row: auto;
  }
  .wt-romantic-editorial .wt-re-gallery-item {
    height: 250px;
  }
  .wt-romantic-editorial .wt-re-nav {
    padding: 1.2rem 2rem;
  }
  .wt-romantic-editorial .wt-re-nav-links {
    gap: 1.5rem;
  }
  .wt-romantic-editorial .wt-re-nav-mobile-toggle { display: block; }
  .wt-romantic-editorial .wt-re-nav-links.wt-re-desktop-links { display: none; }
  .wt-romantic-editorial .wt-re-nav-mobile-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--color-background) 97%, transparent);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-rule, #C9B8A8);
    z-index: 99;
  }
  .wt-romantic-editorial .wt-re-nav-mobile-menu a {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    text-align: center;
    padding: 0.5rem 0;
  }
  .wt-romantic-editorial .wt-re-rsvp {
    padding: 5rem 2rem;
  }
  .wt-romantic-editorial .wt-re-footer {
    padding: 3rem 2rem;
  }
  .wt-romantic-editorial .wt-re-countdown {
    gap: 1rem;
  }
  .wt-romantic-editorial .wt-re-countdown-box {
    width: 70px;
    height: 80px;
  }
  .wt-romantic-editorial .wt-re-countdown-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .wt-romantic-editorial .wt-re-nav-links { display: none; }
  .wt-romantic-editorial .wt-re-hero-names .wt-re-first-name,
  .wt-romantic-editorial .wt-re-hero-names .wt-re-second-name {
    font-size: 3rem;
  }
  .wt-romantic-editorial .wt-re-hero-names .wt-re-second-name {
    text-align: left;
  }
  .wt-romantic-editorial .wt-re-timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .wt-romantic-editorial .wt-re-timeline-time {
    text-align: left;
    padding: 0;
  }
  .wt-romantic-editorial .wt-re-timeline-dot-col {
    display: none;
  }
  .wt-romantic-editorial .wt-re-timeline-content {
    padding-left: 0;
  }
  .wt-romantic-editorial .wt-re-gallery-grid {
    grid-template-columns: 1fr;
  }
  .wt-romantic-editorial .wt-re-gallery-item {
    height: 300px;
  }
  .wt-romantic-editorial .wt-re-countdown {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wt-romantic-editorial .wt-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .wt-romantic-editorial .wt-re-hero-names .wt-re-first-name,
  .wt-romantic-editorial .wt-re-hero-names .wt-re-second-name,
  .wt-romantic-editorial .wt-re-hero-names .wt-re-ampersand,
  .wt-romantic-editorial .wt-re-hero-overline,
  .wt-romantic-editorial .wt-re-hero-detail {
    opacity: 1;
    animation: none;
  }
  .wt-romantic-editorial .wt-re-gallery-item img {
    transition: none;
  }
}
