/* =========================================================
   Patrick & Veronica - Wedding Site
   Shared styles
   ========================================================= */

/* ---------- Newsreader (self-hosted, latin) ---------- */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/newsreader-300.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/newsreader-400.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/newsreader-500.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/newsreader-600.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/newsreader-700.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/newsreader-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/newsreader-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 600; font-display: swap; src: url("fonts/newsreader-600-italic.woff2") format("woff2"); }

/* ---------- CS Richie Drawn (display / headlines) ---------- */
@font-face { font-family: "Richie"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/richie.otf") format("opentype"); }

/* ---------- Nostalgia Peachcreme (script accents) ---------- */
@font-face { font-family: "Nostalgia"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/nostalgia.otf") format("opentype"); }

/* ---------- Awesome Serif (sub-copy on the homepage - variable) ---------- */
@font-face {
  font-family: "Awesome Serif";
  src: url("fonts/awesome-serif.ttf") format("truetype-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Awesome Serif";
  src: url("fonts/awesome-serif-italic.ttf") format("truetype-variations");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --olive: #a19436;
  --olive-dark: #8a7e2c;
  --olive-deep: #746a24;
  --wine: #491211;
  --wine-deep: #350d0c;
  --cream: #f7f4ec;
  --cream-soft: #ece7d6;
  --ink: #16130d;
  --ink-soft: #2c2820;

  --font-display: "Richie", "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Newsreader", Georgia, serif;
  --font-sans: "Mulish", "Helvetica Neue", Arial, sans-serif;
  --font-serif-alt: "Awesome Serif", "Newsreader", Georgia, serif;
  --font-script: "Nostalgia", "Sacramento", cursive;

  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* Textured olive: falls back to solid olive if the image is missing */
  background-color: var(--olive);
  background-image: url("img/olive-texture.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0;
}
.script { font-family: var(--font-script); font-weight: 400; }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
}

/* =========================================================
   Site header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--olive);
  background-image: url("img/olive-texture.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(22,19,13,0.12);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
}
.brand-logo { height: 60px; width: auto; display: block; }
@media (max-width: 860px) { .brand-logo { height: 50px; } }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--cream);
  transition: width 0.35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--cream);
  font-size: 1.7rem;
  line-height: 1;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background-color: var(--cream);
  background-image: url("img/cream-texture.jpg");
  background-size: cover;
  background-position: center;
  min-height: 96vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(96px, 13vh, 140px) 24px clamp(78px, 11vh, 110px);
  overflow: hidden;
}
/* Meta row: place · date · venue - sits under the names, along the bottom */
.hero-top {
  position: absolute;
  bottom: clamp(28px, 5vh, 56px);
  left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 clamp(22px, 5vw, 70px);
  font-family: ui-monospace, "SFMono-Regular", Menlo, "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.66rem, 1vw, 0.9rem);
  color: var(--wine);
}
.hero-top span:nth-child(1) { text-align: left; }
.hero-top span:nth-child(2) { text-align: center; letter-spacing: 0.08em; }
.hero-top span:nth-child(3) { text-align: right; }
.hero-names {
  font-size: clamp(3.6rem, 13.5vw, 8.6rem);
  color: var(--wine);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 0.94;
  text-align: center;
  margin: 0;
}
.hero-names .hn-word {
  display: block;
  opacity: 0;
  animation: heroRise 1.7s var(--ease) both;
}
.hero-names .hn-word:first-of-type { animation-delay: 0.25s; }
.hero-names .hn-word:last-of-type { animation-delay: 0.7s; }
.hero-names .amp {
  display: block;
  text-transform: none;
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  font-size: 0.62em;
  line-height: 0.42;
  margin: 0.02em 0;
  opacity: 0;
  animation: heroPop 0.8s var(--ease) 0.62s both;
}
/* Opening animation */
@keyframes heroRise { from { opacity: 0; transform: translateY(105px); } to { opacity: 1; transform: none; } }
@keyframes heroPop  { from { opacity: 0; transform: scale(0.55) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes heroFadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.hero-top span { opacity: 0; animation: heroFadeDown 0.9s var(--ease) both; }
.hero-top span:nth-child(1) { animation-delay: 0.15s; }
.hero-top span:nth-child(2) { animation-delay: 0.28s; }
.hero-top span:nth-child(3) { animation-delay: 0.41s; }

@media (max-width: 620px) {
  .hero-top { font-size: 0.6rem; letter-spacing: 0.1em; padding: 0 18px; bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-names .hn-word, .hero-names .amp, .hero-top span {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* =========================================================
   Framed-portrait hero (home) - monogram · framed photo · script names
   ========================================================= */
.hero-framed {
  position: relative;
  background-color: var(--cream);
  background-image: url("img/cream-texture.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.5vh, 46px);
  padding: clamp(100px, 13vh, 150px) 24px clamp(46px, 7vh, 84px);
  text-align: center;
}
.hf-mono {
  height: clamp(76px, 9vh, 116px);
  opacity: 0;
  animation: heroFadeDown 1s var(--ease) 0.1s both;
}
.hf-mono img { height: 100%; width: auto; }
.hf-frame {
  position: relative;
  margin: 0;
  background: #fbf9f2;
  padding: clamp(18px, 2.6vw, 32px);
  max-width: min(360px, 66vw);
  box-shadow: 0 22px 48px rgba(73, 18, 17, 0.13);
  opacity: 0;
  animation: heroRiseSoft 1.5s var(--ease) 0.3s both;
}
.hf-frame::before { content: ""; position: absolute; inset: 9px;  border: 1px solid rgba(73,18,17,0.55); pointer-events: none; }
.hf-frame::after  { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(73,18,17,0.32); pointer-events: none; }
.hf-frame img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.02); }
.hf-names {
  font-family: var(--font-script);
  color: var(--wine);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  margin: 0;
  opacity: 0;
  animation: heroRiseSoft 1.3s var(--ease) 0.7s both;
}
@keyframes heroRiseSoft { from { opacity: 0; transform: translateY(42px); } to { opacity: 1; transform: none; } }
/* Home nav has no brand mark (the hero monogram is the brand) - links sit right */
.site-header.overlay.on-cream .wrap { justify-content: flex-end; }
@media (prefers-reduced-motion: reduce) {
  .hf-mono, .hf-frame, .hf-names { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Countdown band
   ========================================================= */
.countdown {
  background: var(--wine);
  color: var(--cream);
  text-align: center;
  padding: 54px 0 60px;
  border-top: 8px solid var(--olive);
  border-bottom: 8px solid var(--olive);
}
.countdown .eyebrow { color: var(--olive); opacity: 0.95; }
.cd-line {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.6rem, 4.4vw, 3rem);
  line-height: 1.15;
  margin: 14px 0 0;
}
.cd-line #cd-days {
  font-weight: 500;
  font-size: 1.25em;
  font-variant-numeric: tabular-nums;
  color: var(--olive);
}
.cd-line em { font-style: italic; }
.cd-bar {
  position: relative;
  height: 2px;
  width: min(520px, 78%);
  margin: 30px auto 16px;
  background: rgba(247, 244, 236, 0.22);
  border-radius: 2px;
  overflow: hidden;
}
.cd-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--olive-dark), var(--olive));
  border-radius: 2px;
  transition: width 1.6s var(--ease);
}
.cd-sub {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0;
  min-height: 1.1em;
}

/* =========================================================
   "Our Day" wine section
   ========================================================= */
/* Our Day - tilted polaroid with a frosted note card in front */
.ourday {
  background-color: var(--wine);
  background-image: url("img/ourday-texture.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 10px solid var(--olive);
  padding: clamp(72px, 10vw, 132px) 20px;
  overflow: hidden;
}
.ourday-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}
/* Entrance wrappers: the polaroid slides in from the left, the note from the
   right, and they settle overlapped. Transform lives on the wrapper so it
   never clashes with the inner float animation. */
.od-poly, .od-card { position: relative; flex: none; }
.reveal.od-poly { z-index: 1; transform: translateX(-104px) rotate(-2deg); }
.reveal.od-card { z-index: 2; margin-left: clamp(-72px, -6vw, -52px); transform: translateX(104px) rotate(2deg); }
.ourday-polaroid {
  flex: none;
  width: clamp(210px, 30vw, 316px);
  background: #fbf9f2;
  padding: 14px 14px 44px;
  box-shadow: 0 28px 58px rgba(18, 6, 6, 0.45);
  transform: rotate(-6deg);
  animation: odFloatA 6.5s ease-in-out infinite;
  z-index: 1;
}
.ourday-polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
}
.ourday-note {
  width: clamp(300px, 43vw, 404px);
  transform: rotate(2.5deg);
  background: rgba(247, 244, 236, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 28px 58px rgba(18, 6, 6, 0.35);
  border: 1px solid rgba(247, 244, 236, 0.5);
  color: var(--wine);
  padding: clamp(32px, 4vw, 50px) clamp(28px, 3.4vw, 46px);
  animation: odFloatB 7.5s ease-in-out infinite;
  z-index: 2;
}
@keyframes odFloatA {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%      { transform: rotate(-5deg) translateY(-11px); }
}
@keyframes odFloatB {
  0%, 100% { transform: rotate(2.5deg) translateY(0); }
  50%      { transform: rotate(1.6deg) translateY(-15px); }
}
.ourday-note .ourday-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
  margin: 0 0 20px;
  color: var(--wine);
}
.ourday-note p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.88rem, 1.12vw, 1rem);
  line-height: 1.38;
  margin: 0 0 0.85em;
}
.ourday-note .ourday-sign {
  font-family: var(--font-script);
  font-style: normal;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  line-height: 1;
  margin: 12px 0 0;
}
@media (max-width: 720px) {
  .ourday-stage { flex-direction: column; }
  /* stack + come in from below instead of the sides */
  .reveal.od-poly { transform: translateY(28px) rotate(-2deg); }
  .reveal.od-card { margin-left: 0; margin-top: -40px; transform: translateY(28px) rotate(2deg); }
  .ourday-polaroid { transform: rotate(-3deg); width: min(260px, 66%); animation: none; }
  .ourday-note { transform: rotate(0deg); width: min(360px, 90%); animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ourday-polaroid, .ourday-note { animation: none !important; }
}

/* =========================================================
   Home RSVP - cream olive-shaped card over a photo/texture
   ========================================================= */
.rsvp-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(50px, 7vw, 92px) 20px;
  overflow: hidden;
  background: var(--wine);
}
.rsvp-cta-bg {
  position: absolute;
  inset: 0;
  /* Placeholder background - swap for a garden/venue photo any time */
  background-image: url("img/ourday-texture.jpg");
  background-size: cover;
  background-position: center;
}
.rsvp-olive {
  position: relative;
  z-index: 2;
  width: clamp(230px, 28vw, 320px);
  aspect-ratio: 1 / 1;
  /* filled with the green olive texture */
  background-color: var(--olive);
  background-image: url("img/olive-texture.jpg");
  background-size: cover;
  background-position: center;
  /* clipped to a stylized olive silhouette */
  -webkit-clip-path: url(#olive-clip);
  clip-path: url(#olive-clip);
  filter: drop-shadow(0 20px 34px rgba(18, 6, 6, 0.4));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20% 20% 22%;
  color: var(--cream);
  text-decoration: none;
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}
.rsvp-olive:hover {
  transform: scale(1.03) rotate(-1.5deg);
  filter: drop-shadow(0 26px 42px rgba(18, 6, 6, 0.5));
}
/* Entrance wrapper - slow glide in from the right (kept off the olive itself
   so it never clashes with the hover transform) */
.rsvp-slide { position: relative; z-index: 2; }
.reveal.rsvp-slide {
  transform: translateX(150px);
  transition: opacity 1.6s var(--ease), transform 1.6s var(--ease);
}
@media (max-width: 620px) {
  .reveal.rsvp-slide { transform: translateY(32px); }
}
.rsvp-olive-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--cream);
  margin: 0 0 12px;
}
.rsvp-olive-text {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--cream);
  margin: 0;
}
.rsvp-olive-text a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s var(--ease);
}
.rsvp-olive-text a:hover { opacity: 0.72; }

/* =========================================================
   Order of events
   ========================================================= */
.order {
  background: transparent; /* shows the body's textured olive */
  padding: 90px 0 100px;
  text-align: center;
}
.order h2 {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 8vw, 6rem);
  letter-spacing: 0.02em;
  margin: 0 0 60px;
}
.order-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.order-item { position: relative; }
.order-time {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}
.order-name {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-top: 6px;
}

/* =========================================================
   Generic page header (interior pages)
   ========================================================= */
.page-hero {
  text-align: center;
  padding: 80px 0 40px;
}
.page-hero .eyebrow { color: var(--ink-soft); margin-bottom: 14px; display: block; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 6rem);
  margin: 0;
}
.page-hero .lede {
  max-width: 640px; margin: 20px auto 0;
  font-style: italic; font-size: 1.2rem;
}

.section { padding: 60px 0; }
.section.wine { background: var(--wine); color: var(--cream); border-top: 8px solid var(--olive); border-bottom: 8px solid var(--olive); }

/* Info cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.card {
  background: rgba(22,19,13,0.05);
  border: 1px solid rgba(22,19,13,0.15);
  padding: 34px 30px;
  border-radius: 4px;
}
.section.wine .card { background: rgba(240,235,216,0.06); border-color: rgba(240,235,216,0.2); }
.card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0 0 12px;
}
.card p { margin: 0 0 8px; }
.card .meta { font-size: 0.95rem; opacity: 0.85; }

/* =========================================================
   Interactive schedule (timeline)
   ========================================================= */
.timeline { max-width: 760px; margin: 0 auto; }
.tl-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(22,19,13,0.15);
  cursor: pointer;
  transition: padding-left 0.3s var(--ease);
}
.tl-item:hover { padding-left: 10px; }
.tl-time {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  text-align: right;
}
.tl-body h3 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 2rem;
  margin: -6px 0 4px;
}
.tl-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}
.tl-item.open .tl-detail { max-height: 180px; opacity: 1; margin-top: 8px; }
.tl-plus { float: right; font-size: 1.4rem; opacity: 0.5; transition: transform 0.3s var(--ease); }
.tl-item.open .tl-plus { transform: rotate(45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  padding: 15px 40px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--cream); }
.btn.cream { background: var(--cream); color: var(--wine); border-color: var(--cream); }
.cta-row { text-align: center; margin-top: 40px; }

/* =========================================================
   RSVP form
   ========================================================= */
.form-wrap { max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid rgba(22,19,13,0.3);
  border-radius: 3px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(74,31,39,0.15);
}
.choice-row { display: flex; gap: 14px; flex-wrap: wrap; }
.choice {
  flex: 1 1 140px;
  position: relative;
}
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: block;
  text-align: center;
  padding: 16px 12px;
  border: 1.5px solid rgba(22,19,13,0.3);
  border-radius: 3px;
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.choice input:checked + span {
  background: var(--wine);
  color: var(--cream);
  border-color: var(--wine);
}
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(74,31,39,0.25); }
.hidden { display: none !important; }
.form-note { font-size: 0.92rem; font-style: italic; opacity: 0.8; margin-top: 20px; }

.form-status { text-align: center; padding: 40px 20px; }
.form-status h3 { font-family: var(--font-display); font-size: 2rem; margin: 0 0 10px; }

/* RSVP guest cards (party / named guests) */
.guest-card {
  border: 1px solid rgba(22, 19, 13, 0.16);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: 20px;
}
.guest-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.guest-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}
.guest-remove {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.8;
}
.guest-remove:hover { opacity: 1; }
.name-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.name-col { flex: 1 1 180px; }
.name-col label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.name-col input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid rgba(22, 19, 13, 0.3);
  border-radius: 3px;
}
.name-col input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(74, 31, 39, 0.15); }
.add-guest-row { text-align: center; margin: 2px 0 26px; }
.add-guest-btn { cursor: pointer; background: none; }

/* RSVP guest-list lookup */
.search-field { position: relative; }
#guest-search {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid rgba(22, 19, 13, 0.3);
  border-radius: 3px;
}
#guest-search:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(74, 31, 39, 0.15); }
.search-results {
  display: none;
  position: absolute;
  left: 0; right: 0; top: calc(100% + 4px);
  z-index: 20;
  background: var(--cream);
  border: 1.5px solid rgba(22, 19, 13, 0.22);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(22, 19, 13, 0.18);
  max-height: 320px;
  overflow-y: auto;
}
.search-results.open { display: block; }
.search-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(22, 19, 13, 0.08);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
}
.search-item:last-child { border-bottom: 0; }
.search-item:hover, .search-item:focus { background: rgba(161, 148, 54, 0.16); outline: none; }
.search-empty { padding: 16px; font-family: var(--font-sans); font-size: 0.92rem; font-style: italic; opacity: 0.8; }
.lookup-error { color: var(--wine); text-align: center; font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.5; margin: 16px auto 0; max-width: 440px; }
.existing-summary {
  max-width: 460px;
  margin: 0 auto clamp(24px, 4vh, 36px);
  border: 1px solid rgba(22, 19, 13, 0.16);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 26px);
}
.existing-list { list-style: none; margin: 0; padding: 0; }
.existing-list li { font-family: var(--font-sans); font-size: 1rem; line-height: 1.5; padding: 7px 0; border-bottom: 1px solid rgba(22, 19, 13, 0.08); }
.existing-list li:last-child { border-bottom: 0; }
.existing-wp { font-family: var(--font-sans); font-size: 0.98rem; margin: 14px 0 0; }

.party-heading {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  text-align: center;
  margin: 0 0 clamp(24px, 4vh, 40px);
}
.guest-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* Welcome party block */
.welcome-block {
  border: 1px solid rgba(161, 148, 54, 0.5);
  background: rgba(161, 148, 54, 0.08);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 30px);
  margin: 0 0 26px;
}
.wp-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  margin: 0 0 8px;
  color: var(--olive-deep);
}
.wp-copy { font-family: var(--font-sans); font-size: 0.98rem; line-height: 1.55; margin: 0 0 16px; }
.wp-guests { display: flex; flex-direction: column; gap: 10px; }
.wp-choice { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 1rem; cursor: pointer; }
.wp-choice input { width: 18px; height: 18px; accent-color: var(--olive-deep); }

.linklike {
  background: none; border: 0; padding: 0;
  font: inherit; color: var(--wine);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(22,19,13,0.18); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 26px 40px 26px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.35s, padding 0.35s;
}
.faq-item.open .faq-a { max-height: 400px; opacity: 1; padding-bottom: 26px; }
.faq-a p { margin: 0; font-size: 1.05rem; font-family: var(--font-sans); line-height: 1.65; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background-color: var(--cream);
  background-image: url("img/cream-texture.jpg");
  background-size: cover;
  background-position: center;
  color: var(--wine);
  text-align: center;
  padding: 66px 0 56px;
}
.site-footer .mono { font-family: var(--font-script); font-size: 3rem; }
.site-footer .names {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  margin: 6px 0 6px;
}
.site-footer .meta { opacity: 0.72; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; }
.site-footer .fnav { margin-top: 22px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.site-footer .fnav a { color: var(--wine); text-decoration: none; opacity: 0.85; font-size: 0.95rem; }
.site-footer .fnav a:hover { opacity: 1; text-decoration: underline; }

/* =========================================================
   DETAILS PAGE - full-bleed photo hero + split sections
   ========================================================= */

/* Transparent header that floats over the hero photo */
.site-header.overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: 0;
  z-index: 20;
}
.site-header.overlay .brand,
.site-header.overlay .nav a { color: var(--cream); }
.site-header.overlay .nav a::after { background: var(--cream); }
.site-header.overlay .nav-toggle { color: var(--cream); }
@media (max-width: 860px) {
  .site-header.overlay .nav { background: var(--wine); }
}

/* Overlay header on a light/cream hero - wine text so it stays legible */
.site-header.overlay.on-cream .brand,
.site-header.overlay.on-cream .nav a { color: var(--wine); }
.site-header.overlay.on-cream .nav a::after { background: var(--wine); }
.site-header.overlay.on-cream .nav-toggle { color: var(--wine); }
@media (max-width: 860px) {
  .site-header.overlay.on-cream .nav { background: var(--cream); }
}

.details-hero {
  position: relative;
  background: var(--wine);
  overflow: hidden;
  line-height: 0;
}
.details-hero .dh-img {
  width: 100%;
  height: auto;
  display: block;
  animation: dhRise 1.8s var(--ease) both;
}
/* Rise up from the bottom on page open */
@keyframes dhRise {
  from { opacity: 0; clip-path: inset(100% 0 0 0); transform: translateY(34px); }
  to   { opacity: 1; clip-path: inset(0 0 0 0);   transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .details-hero .dh-img { animation: none !important; }
}
/* Soft scrim at the very top so the cream nav stays legible over the sky */
.details-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(30,18,14,0.32), transparent);
  z-index: 10;
  pointer-events: none;
}
/* Fallback if the photo is missing */
.details-hero.placeholder {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, rgba(74,31,39,0.4), rgba(22,19,13,0.5)),
    repeating-linear-gradient(45deg, #6f5c3a 0 24px, #665436 24px 48px);
}
.details-hero .dh-title {
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(3rem, 12vw, 10rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  margin: 0;
}

/* Branded hero band (interior pages without a photo) */
.brand-hero {
  position: relative;
  background: var(--wine);
  color: var(--cream);
  text-align: center;
  padding: 120px 0 92px;
  overflow: hidden;
  border-bottom: 10px solid var(--olive);
}
.brand-hero .kicker { color: var(--olive); margin-bottom: 4px; }
.brand-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 9vw, 7rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 6px 0 0;
}
.brand-hero .lede {
  font-family: var(--font-sans);
  max-width: 620px;
  margin: 22px auto 0;
  opacity: 0.9;
  font-size: 1.1rem;
  line-height: 1.6;
}
.brand-hero .evergreen { margin: 0 auto 6px; display: block; }

/* Stacked subhead + body blocks inside a split column */
.info-block { margin-bottom: 30px; }
.info-block:last-child { margin-bottom: 0; }
.info-block .kicker { margin-bottom: 6px; }

/* Full-bleed photo hero with an overlaid title (Guest Guide, etc.) */
.photo-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wine);
  overflow: hidden;
}
.photo-hero .ph-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 26%;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.02);
}
.photo-hero .ph-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,12,0.34), rgba(20,15,12,0.10) 42%, rgba(20,15,12,0.30));
}
.photo-hero .ph-title {
  position: relative;
  z-index: 2;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 10vw, 8rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  margin: 0;
}

/* Centered section title */
.center-head { text-align: center; margin-bottom: 52px; }
.center-head .split-title { margin-bottom: 0; }

/* Travel-information style grid: kicker + rule + bold lead + body */
.travel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px 64px;
  max-width: 1000px;
  margin: 0 auto;
}
.travel-item .th {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  font-size: 1.35rem;
  padding-bottom: 14px;
  margin: 0 0 22px;
  border-bottom: 1px solid rgba(247,244,236,0.35);
}
.split-section.paper .travel-item .th { border-bottom-color: rgba(73,18,17,0.3); }
.travel-item .lead {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0 0 12px;
}
.travel-item p.body-sans { margin: 0; max-width: none; }
@media (max-width: 760px) {
  .travel-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Travel information - editorial rows with line icons */
.travel-rows { max-width: 980px; margin: 0 auto; }
.travel-row {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 48px;
  align-items: start;
  padding: 38px 0;
  border-top: 1px solid rgba(247, 244, 236, 0.22);
}
.travel-row:last-child { border-bottom: 1px solid rgba(247, 244, 236, 0.22); }
.tr-head { display: flex; align-items: center; gap: 18px; }
.tr-icon {
  width: 42px; height: 42px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}
.tr-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0;
  line-height: 1.1;
}
.tr-body .lead {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0 0 10px;
}
.tr-body p.body-sans { margin: 0; max-width: none; }
@media (max-width: 760px) {
  .travel-row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
}

/* Hotel suggestions - bordered cards (distinct from the travel grid) */
.hotel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.hotel-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(73,18,17,0.22);
  border-radius: 6px;
  padding: 32px 30px;
}
.split-section.wine .hotel-card { border-color: rgba(247,244,236,0.28); }
.hotel-card h3 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(73,18,17,0.2);
}
.split-section.wine .hotel-card h3 { border-bottom-color: rgba(247,244,236,0.28); }
.hotel-card .hc-row {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 12px;
}
.hotel-card .hc-row b { font-weight: 700; }
.hotel-card .link-pill { margin-top: auto; align-self: flex-start; }

.link-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  padding: 9px 34px;
  border: 1.4px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 18px;
  transition: transform 0.2s var(--ease), background 0.25s, color 0.25s;
}
.link-pill:hover { transform: translateY(-2px); }
.split-section.paper .link-pill { color: var(--wine); }
.split-section.paper .link-pill:hover { background: var(--wine); color: var(--cream); }
.split-section.wine .link-pill { color: var(--cream); }
.split-section.wine .link-pill:hover { background: var(--cream); color: var(--wine); }
@media (max-width: 760px) {
  .hotel-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* Split layout for venue / dress code / wedding day */
.split-section { padding: 96px 0; }
.split-section.wine {
  background-color: var(--wine);
  background-image: url("img/burgundy-texture.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
}
.split-section.paper { background: var(--cream); color: var(--wine); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.narrow-left { grid-template-columns: 0.85fr 1.15fr; }

/* Venue: title + address on the left, sketch on the right.
   On mobile it reorders to title → sketch → address. */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "vtitle villus" "vinfo villus";
  column-gap: 64px;
  row-gap: 24px;
  align-items: start;
}
.venue-grid .split-title { grid-area: vtitle; margin: 0; }
.venue-grid .venue-illus { grid-area: villus; align-self: center; }
.venue-grid .venue-info  { grid-area: vinfo; }
@media (max-width: 860px) {
  .venue-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "vtitle" "villus" "vinfo";
    row-gap: 18px;
  }
}
.split-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0 0 28px;
}
.split .sans { font-family: var(--font-sans); }
.subhead {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  margin: 0 0 20px;
}
.kicker {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.split-section p.body-sans {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0 0 1.1em;
  max-width: 46ch;
}
.split-section .address {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.6;
}
.split .btn.mt { margin-top: 22px; }

/* Illustration / image placeholders */
.illus { width: 100%; }
.illus img { width: 100%; height: auto; }
.illus-ph {
  border: 1.5px dashed currentColor;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  opacity: 0.7;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.5;
}
.illus-ph.tall { aspect-ratio: 3 / 4; }

/* Evergreen motif */
.evergreen { width: 74px; height: auto; opacity: 0.9; }
.evergreen.corner {
  position: absolute;
  right: 40px; bottom: 24px;
  width: 90px;
  z-index: 2;
}

/* Wedding-day schedule (matches mockup: italic serif time + caps sans label) */
.sched { display: grid; gap: 26px; }
.sched-item {
  cursor: pointer;
  padding-bottom: 4px;
  transition: transform 0.3s var(--ease);
}
.sched-item:hover { transform: translateX(6px); }
.sched-time {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.1;
}
.sched-label {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.02rem;
  margin-top: 4px;
}
.sched-detail {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.35s, margin 0.35s;
}
.sched-item.open .sched-detail { max-height: 120px; opacity: 0.85; margin-top: 8px; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.narrow-left { grid-template-columns: 1fr; }  /* Wedding Day stacks, not 2 cramped columns */
  /* Dress Code collage now falls after the copy (natural DOM order) */
  .split-section { padding: 64px 0; }
  .evergreen.corner { width: 64px; right: 20px; }
}

/* =========================================================
   WEDDING PARTY - circular portraits
   ========================================================= */
.party-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 44px;
  max-width: 1080px;
  margin: 0 auto;
}
.party-member { text-align: center; }
/* Load-in: portraits rise up from the bottom (staggered via .stagger) */
.party-member.reveal {
  transform: translateY(85px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.pm-photo {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 26px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(73, 18, 17, 0.08);
}
.pm-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
  transition: filter 0.6s var(--ease), transform 0.7s var(--ease);
}
.party-member:hover .pm-photo img { filter: grayscale(0); transform: scale(1.06); }
/* Initials placeholder until real photos are added */
.pm-ph {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(130% 130% at 30% 20%, var(--olive), var(--wine));
}
.pm-ph span {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: clamp(2.2rem, 6vw, 3rem);
  letter-spacing: 0.06em;
}
.pm-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--wine);
  margin: 0;
  line-height: 1.15;
}
.pm-role {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--wine);
  opacity: 0.66;
  margin: 12px 0 0;
}
@media (max-width: 820px) {
  .party-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 30px; }
}
@media (max-width: 520px) {
  .party-grid { grid-template-columns: 1fr; gap: 44px; }
  .pm-photo { max-width: 260px; }
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); will-change: opacity, transform; }
.reveal.from-left  { transform: translateX(-52px); }
.reveal.from-right { transform: translateX(52px); }
.reveal.zoom       { transform: scale(0.9); }
.reveal.in { opacity: 1; transform: none; }

/* Parallax - the JS sets --py; the image drifts as you scroll */
.parallax { transform: translateY(var(--py, 0px)); will-change: transform; }

/* Collage: fill its column now that the whitespace is trimmed */
.dress-illus { display: flex; justify-content: center; }
.dress-illus img { max-width: 440px; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .parallax { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--olive);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 18px;
    border-bottom: 1px solid rgba(22,19,13,0.15);
    transform: translateY(-140%);
    transition: transform 0.4s var(--ease);
    box-shadow: 0 16px 30px rgba(22,19,13,0.15);
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 32px; width: 100%; font-size: 1.2rem; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 30px 1fr 30px; min-height: 70vh; }
  .hero-side { font-size: 1rem; letter-spacing: 0.12em; }
  .order-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .tl-item { grid-template-columns: 90px 1fr; gap: 16px; }
  .tl-time { font-size: 1.2rem; }
  .oval-title { padding: 18px 34px; border-radius: 50% / 60%; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .order-grid { grid-template-columns: 1fr; gap: 32px; }
  .count-grid { gap: 14px 24px; }
}

/* =========================================================
   Font-role guardrails
   Richie (--font-display) is a drawn display face best used ONLY for the
   big uppercase headings. Everything below - UI text, numerals, dates,
   and mixed-case copy - stays on Newsreader so glyphs never fall back.
   ========================================================= */
.brand,
.nav a,
.eyebrow,
.btn,
.hero-side,
.count-num,
.count-label,
.count-note,
.countdown h2,
.order-time,
.faq-q,
.site-footer .names { font-family: var(--font-body); }

/* The drawn ampersand is a Richie glyph - don't synthesize an italic slant */
.hero-names .amp { font-style: normal; }

/* =========================================================
   REVISED HOMEPAGE  (design: assets/img/Revised hompage.png)
   ========================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Mask reveal - inner rises up behind an overflow window.
   The observed wrapper stays UNclipped so the IntersectionObserver still fires
   (a fully clip-pathed element reports zero intersection and never triggers). */
.mrise { display: block; overflow: hidden; padding-bottom: 0.12em; }
.reveal.mrise { opacity: 1; transform: none; }
.mrise > * { display: block; transform: translateY(118%); transition: transform 1.2s var(--ease); will-change: transform; }
.reveal.mrise.in > * { transform: translateY(0); }

/* ---------- Hero: PATRICK · photo · VERONICA ---------- */
.rev-hero {
  position: relative;
  background-color: var(--cream);
  background-image: url("img/cream-texture.jpg");
  background-size: cover;
  background-position: center;
  padding: clamp(122px, 16vh, 205px) 24px clamp(56px, 8vh, 98px);
  text-align: center;
  overflow: hidden;
}
.rev-hero-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(6px, 1.4vw, 22px);
  max-width: 1360px;
  margin: 0 auto;
}
.rh-name {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--wine);
  font-size: clamp(2rem, 6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: 0.006em;
  white-space: nowrap;
}
.rev-hero-row .rh-left  { transition-delay: 0.15s; justify-self: end; text-align: right; }
.rev-hero-row .rh-right { transition-delay: 0.5s; justify-self: start; text-align: left; }
.rh-photo {
  display: block;
  flex: 0 0 auto;
  width: clamp(112px, 17vw, 240px);
  position: relative;
  z-index: 2;
  transition-delay: 0.3s;
}
.rh-photo img {
  display: block; width: 100%;
  aspect-ratio: 3 / 4; object-fit: cover;
  filter: grayscale(1) contrast(1.03);
}
.rev-hero-sub { margin-top: clamp(34px, 5.5vh, 68px); color: var(--wine); }
.rev-hero-sub p { margin: 0 0 13px; }
.rev-hero-sub p:last-child { margin-bottom: 0; }
.rh-invite { font-family: var(--font-serif-alt); font-style: italic; font-weight: 400; font-size: clamp(1.05rem, 1.8vw, 1.5rem); }
.rh-date   { font-family: var(--font-serif-alt); font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em; font-size: clamp(0.8rem, 1.3vw, 1.05rem); }
.rh-loc    { font-family: var(--font-serif-alt); font-weight: 400; font-size: clamp(1rem, 1.5vw, 1.25rem); }

/* ---------- Our Day ---------- */
.rev-ourday {
  position: relative;
  background-color: var(--wine);
  background-image: url("img/ourday-texture.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
  padding: clamp(74px, 11vh, 142px) 0 clamp(58px, 9vh, 104px);
  overflow: hidden;
}
.ro-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; display: flex; flex-direction: column; }
.ro-note { max-width: 460px; }
.ro-note-lead { font-family: var(--font-serif-alt); font-weight: 500; font-size: clamp(1.1rem, 1.7vw, 1.4rem); margin: 0 0 18px; }
.ro-note-body { font-family: var(--font-serif-alt); font-weight: 400; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.62; margin: 0; }
.ro-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cream);
  font-size: clamp(4rem, 15vw, 13rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-align: center;
  margin: clamp(40px, 7vh, 92px) 0 0;
  padding: 0 24px;
}

/* ---------- Order of events (revised sizing + two lines) ---------- */
.rev-order h2 { font-size: clamp(2.9rem, 11vw, 7.4rem); line-height: 0.94; margin-bottom: clamp(44px, 7vh, 70px); }

/* ---------- RSVP: understated soft-glow halo as it enters ---------- */
.rsvp-slide::before {
  content: "";
  position: absolute; inset: -22%;
  background: radial-gradient(closest-side, rgba(247,244,236,0.30), rgba(247,244,236,0) 72%);
  opacity: 0;
  transition: opacity 1.7s var(--ease) 0.5s;
  z-index: -1;
  pointer-events: none;
}
.rsvp-slide.in::before { opacity: 1; }

@media (max-width: 760px) {
  .rev-hero-row { grid-template-columns: 1fr; gap: 12px; justify-items: center; }
  .rev-hero-row .rh-name { font-size: clamp(3rem, 15vw, 5rem); text-align: center; justify-self: center; }
  .rh-photo { width: min(220px, 58vw); }
  .ro-title { font-size: clamp(3.4rem, 20vw, 7rem); }
}
@media (prefers-reduced-motion: reduce) {
  .mrise > * { transform: none !important; }
}

/* =========================================================
   HOMEPAGE V2  (design: Revised Homepage V2.png)
   ========================================================= */

/* ---- Hero V2 ---- */
.v2-hero {
  background-color: var(--cream);
  background-image: url("img/cream-texture.jpg");
  background-size: cover;
  background-position: center;
  padding: clamp(118px, 15vh, 180px) 0 clamp(48px, 7vh, 86px);
  overflow: hidden;
}
.v2-hero .wrap { text-align: center; }
.vh-top {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  color: var(--olive);
  margin-bottom: clamp(18px, 4vh, 42px);
}
.vh-topname {
  font-family: var(--font-serif-alt);
  font-style: italic;
  font-size: clamp(1.05rem, 1.9vw, 1.6rem);
  white-space: nowrap;
}
.vh-rule { flex: 1; height: 1px; background: rgba(161, 148, 54, 0.55); }
.vh-names {
  color: var(--olive);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0 0 clamp(30px, 5vh, 62px);
  font-size: clamp(3rem, 10vw, 8.6rem);
}
.vh-line { display: block; }
.vh-amp {
  font-family: var(--font-script);
  text-transform: none;
  font-size: 0.86em;
  vertical-align: -0.04em;
}
.vh-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1000px;
  margin: 0 auto;
}
.vh-col { padding: 4px clamp(18px, 3vw, 42px); }
.vh-col:nth-child(1) { text-align: left; }
.vh-col:nth-child(2) { text-align: center; border-left: 1px solid rgba(161,148,54,0.5); border-right: 1px solid rgba(161,148,54,0.5); }
.vh-col:nth-child(3) { text-align: right; }
.vh-col-h {
  font-family: var(--font-serif-alt);
  font-style: italic;
  color: var(--olive);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  margin: 0 0 12px;
}
.vh-col-b {
  font-family: var(--font-serif-alt);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.68rem, 0.95vw, 0.82rem);
  line-height: 1.75;
  color: var(--olive-deep);
  margin: 0;
}

/* ---- Photo collage (scatter that scales; scroll-stagger reveal) ---- */
.v2-collage {
  background: transparent;
  padding: clamp(50px, 8vh, 104px) clamp(20px, 4vw, 60px) clamp(8px, 3vh, 36px);
  overflow: hidden;
}
.collage-stage {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  aspect-ratio: 1366 / 900;
}
.cphoto {
  position: absolute;
  display: block;
  height: auto;
  box-shadow: 0 14px 34px rgba(22, 19, 13, 0.24);
}
.cp1 { left: 6%;    top: 2%;  width: 18.5%; }
.cp2 { left: 31%;   top: 0%;  width: 13.5%; }
.cp3 { left: 45.5%; top: 9%;  width: 10.7%; }
.cp4 { left: 72%;   top: 0%;  width: 21%; }
.cp5 { left: 26.5%; top: 40%; width: 15%; }
.cp6 { left: 57.5%; top: 30%; width: 12.5%; }
.cp7 { left: 8.5%;  top: 60%; width: 9.8%; }
.cp8 { left: 85.5%; top: 50%; width: 9.8%; }
.cp9 { left: 44%;   top: 62%; width: 11%; }

/* ---- Order of events V2: 5 columns + pill button ---- */
.rev-order .order-grid { grid-template-columns: repeat(5, 1fr); }
.btn-pill { border-radius: 999px; padding-left: 36px; padding-right: 36px; }

@media (max-width: 860px) {
  .vh-details { grid-template-columns: 1fr; max-width: 480px; }
  .vh-col { text-align: center !important; padding: 18px 0; border: 0 !important; border-top: 1px solid rgba(161,148,54,0.4) !important; }
  .vh-col:first-child { border-top: 0 !important; }
  .rev-order .order-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
}
@media (max-width: 760px) {
  .collage-stage { position: static; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .cphoto { position: static !important; width: 100% !important; left: auto; top: auto; }
  .cphoto:nth-child(even) { margin-top: 30px; }
}
@media (max-width: 520px) {
  .rev-order .order-grid { grid-template-columns: 1fr; gap: 26px; }
  .vh-top { justify-content: center; }
}

/* Dramatic collage entrance - each photo rises up from well below + a touch of
   scale, staggered, triggered once as it enters the viewport */
.cphoto.reveal {
  transform: translateY(130px) scale(0.94);
  transition: opacity 0.95s var(--ease), transform 1.25s var(--ease);
}
.cphoto.reveal.in { transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .cphoto.reveal { transform: none !important; transition: opacity 0.4s; }
}

/* =========================================================
   THE DETAILS - REVISED  (design: The Details Revised.png)
   ========================================================= */

/* ---- Hero: THE DETAILS + date/monogram meta row ---- */
.det-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: clamp(120px, 16vh, 180px) 0 clamp(56px, 9vh, 104px);
}
.det-hero .wrap { max-width: 1120px; width: 100%; }
.det-title {
  color: var(--ink);
  margin: 0 0 clamp(18px, 3.2vh, 34px);
  font-size: clamp(2.8rem, 11vw, 8.4rem);
}
.det-meta {
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 720px;
}
.det-meta .vh-topname { font-style: italic; color: var(--ink-soft); }
.det-meta .vh-rule { background: rgba(22, 19, 13, 0.4); }

/* ---- The Venue: centered over a faint illustration watermark ---- */
.det-venue {
  position: relative;
  background-color: var(--olive);
  background-image: url("img/olive-texture.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
  text-align: center;
  padding: clamp(96px, 15vw, 190px) 0;
  overflow: hidden;
}
.det-venue .dv-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(1180px, 94%);
  height: auto;
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}
.dv-inner { position: relative; z-index: 1; }
.dv-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cream);
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(20px, 3vh, 34px);
}
.dv-name {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  margin: 0 0 12px;
}
.dv-addr {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(0.72rem, 1.2vw, 0.92rem);
  opacity: 0.9;
  margin: 0;
}
.dv-cta { margin-top: clamp(28px, 4.5vh, 46px); }
.dv-cta .btn.cream:hover { background: var(--cream); color: var(--wine); }

/* ---- Dress Code: title, BLACK TIE - MORE INFO, two link blocks ---- */
.det-dress {
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  padding: clamp(74px, 11vw, 130px) 0;
  overflow: hidden; /* clip the side slide-in offset */
}
/* Aim each figure crop inside the landscape blocks (faces sit near the top) */
.det-dress .dd-gent img { object-position: center 13%; }
.det-dress .dd-lady img { object-position: center 6%; }
.dd-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(20px, 3.2vh, 34px);
}
.dd-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin: 0 0 clamp(40px, 6vh, 66px);
}
.dd-sub .dd-dash { opacity: 0.6; }
.dd-more {
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: opacity 0.25s var(--ease);
}
.dd-more::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1.5px; background: currentColor;
  transition: width 0.35s var(--ease);
}
.dd-more:hover::after { width: 100%; }
.dd-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 48px);
  max-width: 940px;
  margin: 0 auto;
}
.dd-block {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  text-decoration: none;
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(22, 19, 13, 0.22);
  transition: box-shadow 0.45s var(--ease);
}
/* Inner fill carries the hover lift so it never clashes with the slide-in
   transform that lives on the outer .dd-block (via .reveal). */
.dd-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.45s var(--ease);
}
.dd-block img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}
.dd-fill::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,19,13,0.10), rgba(22,19,13,0.42));
  transition: background 0.4s var(--ease);
}
.dd-block:hover { box-shadow: 0 26px 48px rgba(22, 19, 13, 0.32); }
.dd-block:hover img { transform: scale(1.06); }
.dd-block:hover .dd-fill::after { background: linear-gradient(180deg, rgba(22,19,13,0.06), rgba(22,19,13,0.30)); }
.dd-block:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.dd-block-label {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: clamp(10px, 3vw, 26px);
  text-align: center;
  font-family: var(--font-script);
  color: var(--cream);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
  text-shadow: 0 4px 18px rgba(22, 19, 13, 0.5);
}
/* Slide the blocks in from opposite sides as they enter the viewport */
.dd-block.reveal { transition: opacity 1s var(--ease), transform 1.05s var(--ease); }
.dd-block.reveal.from-left  { transform: translateX(-96px); }
.dd-block.reveal.from-right { transform: translateX(96px); }
.dd-block.reveal.in { transform: none; }

/* =========================================================
   DRESS CODE PAGE  (design: Dress Code Page.png)
   ========================================================= */
.dc-hero {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(120px, 16vh, 180px) 0 clamp(40px, 6vh, 72px);
}
.dc-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
  font-size: clamp(3rem, 12vw, 10.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin: 0 0 clamp(28px, 5vh, 60px);
}
.dc-copy {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.dc-copy p {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  margin: 0 0 1.25em;
}
.dc-lead {
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem) !important;
  margin-bottom: 1.4em !important;
}
.dc-lead span { font-weight: 700; }
.dc-inspo-note { font-style: italic; opacity: 0.9; }
.dc-divider {
  display: block;
  width: 1px;
  height: clamp(52px, 8vh, 82px);
  margin: clamp(24px, 4vh, 44px) auto 0;
  background: rgba(22, 19, 13, 0.45);
}

/* Inspiration cards - tall portrait, slide in from the sides */
.dc-cards {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(28px, 5vh, 60px) 0 clamp(80px, 12vh, 130px);
  overflow: hidden; /* clip the side slide-in offset */
}
.dc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 44px);
  max-width: 900px;
  margin: 0 auto;
}
.dc-card { aspect-ratio: 3 / 4; }
.dc-card.dd-gent img { object-position: center 24%; }
.dc-card.dd-lady img { object-position: center 12%; }
.dc-card .dd-block-label { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.dc-cards .cta-row { margin-top: clamp(34px, 5vh, 54px); }
.dc-cards .link-pill { color: var(--wine); }
.dc-cards .link-pill:hover { background: var(--wine); color: var(--cream); }

@media (max-width: 560px) {
  .dc-title { white-space: normal; font-size: clamp(3.2rem, 17vw, 5rem); }
  .dc-grid { gap: 16px; }
  .dc-card { aspect-ratio: 3 / 4; }
}

/* =========================================================
   GUEST GUIDE - restyled to match Details / Dress Code
   ========================================================= */
/* Olive band variant (matches .split-section.wine / .paper) */
.split-section.olive {
  background-color: var(--olive);
  background-image: url("img/olive-texture.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
}
/* Large centered display section titles */
.gg-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0 0 clamp(12px, 2.4vh, 26px);
}
.split-section.wine .gg-title,
.split-section.olive .gg-title { color: var(--cream); }
.split-section.paper .gg-title { color: var(--ink); }
.gg-intro {
  max-width: 620px;
  margin: 0 auto clamp(44px, 6.5vh, 74px);
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  opacity: 0.92;
}
/* Travel Information - 2×2 bordered cards */
.travel-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 30px);
  max-width: 1000px;
  margin: 0 auto;
}
.travel-card {
  border: 1px solid rgba(247, 244, 236, 0.26);
  border-radius: 8px;
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3vw, 40px);
  text-align: center;
}
.travel-card .tc-icon {
  width: 42px; height: 42px;
  margin: 0 auto 16px;
  stroke: var(--olive);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.travel-card .tc-label {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.05;
  color: var(--cream);
  margin: 0 0 12px;
}
.travel-card .tc-lead {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  margin: 0 0 12px;
}
.travel-card .tc-body {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

/* Where to Stay - black (ink) writing */
.split-section.gg-stay,
.split-section.gg-stay .gg-title,
.split-section.gg-stay .gg-intro,
.split-section.gg-stay .hotel-card h3,
.split-section.gg-stay .hc-row,
.split-section.gg-stay .hotel-card b { color: var(--ink); }
.split-section.gg-stay .hotel-card { border-color: rgba(22, 19, 13, 0.2); }
.split-section.gg-stay .hotel-card h3 { border-bottom-color: rgba(22, 19, 13, 0.18); }
.split-section.gg-stay .link-pill { color: var(--ink); }
.split-section.gg-stay .link-pill:hover { background: var(--ink); color: var(--cream); }
/* Hairline between the two adjacent cream sections (Where to Stay → Dress Code) */
.det-stay { border-bottom: 1px solid rgba(73, 18, 17, 0.14); }

@media (max-width: 680px) {
  .travel-cards { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---- Order of Events: wine band with the homepage grid ---- */
.det-order {
  background-color: var(--wine);
  background-image: url("img/burgundy-texture.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
}
.det-order h2 {
  color: var(--cream);
  font-size: clamp(2.9rem, 11vw, 7.4rem);
  line-height: 0.94;
  margin-bottom: clamp(44px, 7vh, 70px);
}
.det-order .order-grid { grid-template-columns: repeat(5, 1fr); }
.det-order .order-time { color: var(--cream); }
.det-order .order-name { color: var(--cream); }

@media (max-width: 860px) {
  .det-order .order-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
}
@media (max-width: 560px) {
  .dd-blocks { grid-template-columns: 1fr; max-width: 420px; }
  .dd-block { aspect-ratio: 16 / 10; }
  .det-order .order-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   HOMEPAGE V3  (design: Revised Homepage V3.png)
   ========================================================= */
/* ---- Hero: recolor the V2 hero from olive to wine ---- */
.v3-hero .vh-top,
.v3-hero .vh-topname { color: var(--wine); }
.v3-hero .vh-rule { background: rgba(73, 18, 17, 0.5); }
.v3-hero .vh-names { color: var(--wine); }
.v3-hero .vh-col-h { color: var(--wine); }
.v3-hero .vh-col-b { color: var(--wine); }
.v3-hero .vh-col:nth-child(2) {
  border-left-color: rgba(73, 18, 17, 0.42);
  border-right-color: rgba(73, 18, 17, 0.42);
}
/* More breathing room in the hero (top line ↔ names ↔ details) */
.v3-hero { padding-top: clamp(140px, 18vh, 214px); padding-bottom: clamp(70px, 10vh, 120px); }
.v3-hero .vh-top { margin-bottom: clamp(46px, 8vh, 96px); }
.v3-hero .vh-names { margin-bottom: clamp(56px, 9vh, 108px); }

/* ---- Our Day: floral panel + oval photo | text ---- */
.v3-ourday {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--cream);
  border-top: 1px solid rgba(73, 18, 17, 0.16);
}
.ou-panel {
  background-color: var(--olive);
  background-image: url("img/peacock-pattern.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8vw, 120px) clamp(28px, 5vw, 80px);
}
/* Filter the whole frame so BOTH the cream mat and the photo get the same
   torn/deckle edge (mat + photo tear together). */
.ou-framewrap {
  position: relative;
  width: min(80%, 430px);
  aspect-ratio: 4 / 5;
}
/* Torn oval frame: the SVG masks the photo to a torn oval (content stays
   undistorted) and lays a torn cream mat behind it. */
.ou-frame {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 24px 42px rgba(22, 19, 13, 0.4));
}
/* Fixed-attachment parallax on the peacock panels (content scrolls over a
   stationary pattern). Reverts to normal scroll on touch/mobile where fixed
   backgrounds render poorly. */
.bg-parallax { background-attachment: fixed; }
@media (max-width: 820px), (prefers-reduced-motion: reduce) {
  .bg-parallax { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  .ou-oval img { animation: none; }
}
.ou-text {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 7vw, 112px) clamp(32px, 6vw, 100px);
}
.ou-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--wine);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(20px, 3vh, 34px);
}
.ou-body {
  font-family: var(--font-body);
  color: var(--wine);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.62;
  margin: 0;
  max-width: 46ch;
}
/* signed "- P + V" under the Our Day note */
.ou-sign {
  font-family: var(--font-script);
  color: var(--wine);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.35;
  padding: 0.15em 0.25em 0.2em;
  margin: clamp(40px, 6vh, 72px) 0 0;
  overflow: visible;
}

/* ---- Order of Events: wine band, single event + details to follow ---- */
.v3-order {
  background-color: var(--wine);
  background-image: url("img/burgundy-texture.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
  text-align: center;
  padding: clamp(80px, 13vh, 160px) 0;
}
.v3-order-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cream);
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(42px, 6.5vh, 74px);
}
.v3-event-time {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  letter-spacing: 0.02em;
}
.v3-event-name {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1;
  margin-top: 6px;
}
.v3-order-follow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  opacity: 0.86;
  margin: clamp(36px, 5.5vh, 60px) 0 0;
}
/* Decorative divider under the Order of Events title (small olive diamond) */
.v3-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(260px, 62%);
  margin: 0 auto clamp(40px, 6vh, 62px);
}
.v3-divider-line { height: 1px; flex: 1; background: rgba(247, 244, 236, 0.4); }
.v3-divider-dot {
  flex: none;
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--olive);
}

/* ---- RSVP: full-width floral band (clickable) ---- */
.v3-rsvp {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background-color: var(--olive);
  background-image: url("img/peacock-pattern.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
  padding: clamp(96px, 17vh, 210px) 20px;
}
/* soft darkening veil fades in on hover so the text pops off the pattern */
.v3-rsvp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 19, 13, 0.22);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  pointer-events: none;
}
.v3-rsvp:hover::before { opacity: 1; }
.v3-rsvp-title {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--cream);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  letter-spacing: 0.04em;
  transition: letter-spacing 0.6s var(--ease), transform 0.6s var(--ease);
}
.v3-rsvp:hover .v3-rsvp-title { letter-spacing: 0.16em; transform: translateY(-4px) scale(1.03); }
.v3-rsvp-sub {
  position: relative;
  z-index: 1;
  font-family: var(--font-script);
  color: var(--cream);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  margin-top: 12px;
  transition: transform 0.6s var(--ease);
}
.v3-rsvp:hover .v3-rsvp-sub { transform: translateY(2px); }

@media (max-width: 820px) {
  .v3-ourday { grid-template-columns: 1fr; }
  .ou-panel { padding: clamp(48px, 12vw, 90px) 24px; }
  .ou-framewrap { width: min(72%, 360px); }
  .ou-text { padding: clamp(44px, 10vw, 72px) clamp(26px, 8vw, 60px) clamp(56px, 12vw, 84px); text-align: center; }
  .ou-body { max-width: none; margin: 0 auto; }
}
