:root {
  --wine: #5f233c;
  --wine-dark: #351522;
  --wine-light: #8d4862;
  --blush: #d8a8a5;
  --rose: #c97c7b;
  --cream: #f6efe5;
  --paper: #fbf7f1;
  --ink: #2d2024;
  --muted: #7f7071;
  --sage: #8d9881;
  --line: rgba(45, 32, 36, 0.18);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  --shadow: 0 30px 80px rgba(53, 21, 34, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--paper);
  background: var(--wine);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 20px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--wine-dark);
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 86px;
  padding: 0 clamp(24px, 4vw, 72px);
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 0.3s ease, background 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  height: 70px;
  color: var(--ink);
  background: rgba(251, 247, 241, 0.94);
  box-shadow: 0 8px 32px rgba(53, 21, 34, 0.08);
  backdrop-filter: blur(15px);
}

.brand {
  justify-self: start;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.header-nav {
  display: flex;
  gap: clamp(24px, 3vw, 54px);
}

.header-nav a,
.header-cta {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: '';
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  min-height: 100svh;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 69% 34%, rgba(201, 124, 123, 0.2), transparent 27%),
    radial-gradient(circle at 18% 74%, rgba(216, 168, 165, 0.13), transparent 24%),
    linear-gradient(126deg, #6f2d49 0%, var(--wine) 46%, #4c1c30 100%);
}

.hero::after {
  position: absolute;
  inset: 86px min(4vw, 72px) 64px;
  pointer-events: none;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  content: '';
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.floral {
  position: absolute;
  z-index: 1;
  bottom: -70px;
  left: -20px;
  width: min(25vw, 350px);
  opacity: 0.36;
  transform: rotate(-8deg);
}

.floral svg {
  width: 100%;
  fill: none;
  stroke: var(--blush);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 870px;
  padding: 152px 5vw 96px clamp(48px, 9.4vw, 172px);
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--wine-light);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(76px, 10vw, 160px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.68;
}

.hero h1 > span:not(.ampersand) {
  display: block;
}

.hero h1 > span:last-child {
  margin-left: 0.38em;
}

.hero .ampersand {
  position: absolute;
  margin: 0.26em 0 0 0.46em;
  color: var(--blush);
  font-size: 0.66em;
  font-style: italic;
}

.hero-date {
  margin: clamp(34px, 6vh, 65px) 0 14px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 32px);
  font-style: italic;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0 0 34px;
  color: rgba(246, 239, 229, 0.78);
  font-size: 15px;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 280px;
  padding: 18px 22px;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-light {
  color: var(--wine-dark);
  background: var(--cream);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--cream);
  background: var(--rose);
}

.date-card {
  position: relative;
  z-index: 3;
  align-self: center;
  justify-self: center;
  width: min(74%, 390px);
  min-height: 520px;
  padding: 34px 38px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 35px 80px rgba(27, 8, 17, 0.28);
  transform: rotate(2.5deg);
}

.date-card::before,
.date-card::after {
  position: absolute;
  border: 1px solid rgba(95, 35, 60, 0.18);
  border-radius: 50%;
  content: '';
}

.date-card::before {
  top: -50px;
  right: -32px;
  width: 150px;
  height: 150px;
}

.date-card::after {
  right: -48px;
  bottom: -74px;
  width: 220px;
  height: 220px;
}

.date-card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 55px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.date-day,
.date-month {
  margin: 0;
  text-align: center;
}

.date-day {
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(96px, 9vw, 144px);
  line-height: 0.72;
}

.date-month {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
}

.date-card-rule {
  width: 36px;
  height: 1px;
  margin: 42px auto 31px;
  background: var(--rose);
}

.date-venue {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 21px;
  text-align: center;
}

.date-time {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 33px;
  left: clamp(48px, 9.4vw, 172px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll span {
  width: 45px;
  height: 1px;
  background: currentColor;
}

.section {
  position: relative;
  padding: 150px clamp(28px, 7vw, 130px);
}

.section-number {
  position: absolute;
  top: 60px;
  left: clamp(28px, 3vw, 56px);
  color: var(--wine-light);
  font-family: var(--serif);
  font-size: 12px;
}

.section-number::after {
  display: block;
  width: 1px;
  height: 45px;
  margin: 12px auto 0;
  background: var(--line);
  content: '';
}

.opening {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  gap: 10vw;
  align-items: end;
  min-height: 760px;
}

.opening h2,
.details h2,
.rsvp h2,
.dress-code h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 7.2vw, 108px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.opening h2 em,
.details h2 em,
.rsvp h2 em {
  color: var(--wine);
  font-weight: 400;
}

.opening-copy {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 10px;
  color: #5f5355;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.85;
}

.opening-copy p {
  margin: 0 0 20px;
}

.opening-copy .opening-dropcap {
  margin-top: 10px;
  color: var(--wine);
  font-size: 72px;
  line-height: 0.75;
}

.countdown-band {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 40px;
  min-height: 250px;
  padding: 55px clamp(28px, 9vw, 170px);
  color: var(--cream);
  background: var(--wine);
}

.countdown-band > p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 40px);
  font-style: italic;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 4vw, 70px);
}

.countdown div {
  display: grid;
  gap: 4px;
  text-align: center;
}

.countdown strong {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  line-height: 1;
}

.countdown span {
  color: rgba(246, 239, 229, 0.65);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.countdown i {
  width: 4px;
  height: 4px;
  background: var(--rose);
  border-radius: 50%;
}

.details {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0 7vw;
  background: var(--cream);
}

.details-heading {
  align-self: start;
  margin: 10px 0 90px;
}

.venue-card {
  grid-row: span 2;
  align-self: start;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.venue-visual {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: linear-gradient(180deg, #d9b5ad 0%, #d8c5b2 56%, #86917a 57%);
}

.venue-visual::after {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence baseFrequency='.65' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23f)' opacity='.25'/%3E%3C/svg%3E");
  content: '';
  mix-blend-mode: overlay;
}

.sun {
  position: absolute;
  top: 40px;
  right: 58px;
  width: 88px;
  height: 88px;
  background: #f3dcc2;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(255, 240, 217, 0.55);
}

.landscape {
  position: absolute;
  right: -10%;
  bottom: -120px;
  left: -10%;
  height: 310px;
  background: #76836d;
  border-radius: 50% 50% 0 0;
  transform: rotate(-4deg);
}

.landscape-back {
  bottom: -156px;
  left: -28%;
  background: #939d85;
  transform: rotate(11deg);
}

.landscape-front::before,
.landscape-front::after {
  position: absolute;
  bottom: 165px;
  width: 3px;
  height: 85px;
  background: #4f5b49;
  content: '';
}

.landscape-front::before {
  left: 27%;
  box-shadow: -14px 15px 0 12px #65705e, 18px 5px 0 16px #65705e;
}

.landscape-front::after {
  right: 25%;
  box-shadow: -18px 8px 0 15px #65705e, 16px 18px 0 10px #65705e;
}

.venue-monogram {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: 34px;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.venue-copy {
  padding: 45px 48px 49px;
}

.card-label {
  margin: 0 0 22px;
  color: var(--wine-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.venue-copy h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 45px);
  font-weight: 400;
  line-height: 1.1;
}

.venue-copy > p:not(.card-label) {
  max-width: 360px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.schedule {
  align-self: end;
  padding-bottom: 20px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 55px 32px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.schedule-item:last-child {
  border-bottom: 1px solid var(--line);
}

.schedule-item time {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.schedule-marker {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--wine-light);
  font-size: 8px;
  border: 1px solid rgba(95, 35, 60, 0.25);
  border-radius: 50%;
}

.schedule-item h3 {
  margin: -4px 0 2px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.schedule-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.dress-code {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  color: var(--cream);
  background: var(--wine-dark);
}

.dress-copy {
  align-self: center;
  padding: 100px clamp(40px, 8vw, 150px);
}

.dress-copy h2 {
  margin-bottom: 30px;
  font-size: clamp(64px, 7vw, 105px);
}

.dress-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 38px;
  color: rgba(246, 239, 229, 0.67);
  font-family: var(--serif);
  font-size: 18px;
}

.palette {
  display: flex;
  gap: 12px;
}

.swatch {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.swatch-1 { background: #6c263f; }
.swatch-2 { background: #bd8784; }
.swatch-3 { background: #9db4c8; }
.swatch-4 { background: #c6aa88; }
.swatch-5 { background: #eee5d7; }

.dress-quote {
  position: relative;
  display: grid;
  place-content: center;
  overflow: hidden;
  color: var(--wine-dark);
  background:
    radial-gradient(circle at 55% 40%, rgba(255, 235, 213, 0.36), transparent 22%),
    linear-gradient(145deg, #d7b0aa 0%, #ad7680 100%);
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 92px);
  font-style: italic;
  line-height: 0.78;
  text-align: center;
}

.dress-quote::before,
.dress-quote::after {
  position: absolute;
  width: 330px;
  height: 600px;
  border: 1px solid rgba(53, 21, 34, 0.2);
  border-radius: 50%;
  content: '';
  transform: rotate(35deg);
}

.dress-quote::before {
  top: -180px;
  left: -90px;
}

.dress-quote::after {
  right: -110px;
  bottom: -210px;
}

.dress-quote span {
  position: relative;
  z-index: 1;
  display: block;
}

.dress-quote span:nth-child(2) {
  margin-left: 0.9em;
  color: var(--cream);
}

.rsvp {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(480px, 1.25fr);
  gap: 8vw;
  padding-top: 170px;
  background: var(--paper);
}

.rsvp-heading {
  position: sticky;
  top: 130px;
  align-self: start;
}

.rsvp-heading > p:last-child {
  max-width: 400px;
  margin-top: 34px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
}

.rsvp-heading > p span {
  color: var(--wine);
  font-style: italic;
}

.form-wrap {
  min-height: 660px;
  padding: clamp(34px, 5vw, 72px);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.form-row.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.field {
  display: grid;
  margin-bottom: 32px;
}

.field > span,
.choice-group legend {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(45, 32, 36, 0.28);
  border-radius: 0;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a79b99;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 1px 0 var(--wine);
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: #a82e42;
}

.field-hint {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  color: #a82e42;
  font-size: 11px;
}

.choice-group {
  min-width: 0;
  margin: 0 0 32px;
  padding: 0;
  border: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice span {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 15px;
  font-size: 12px;
  border: 1px solid rgba(45, 32, 36, 0.2);
  transition: color 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.choice span::before {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  color: var(--paper);
  font-size: 10px;
  border: 1px solid rgba(45, 32, 36, 0.38);
  border-radius: 2px;
  content: '';
}

.choice input:checked + span {
  color: var(--paper);
  background: var(--wine);
  border-color: var(--wine);
}

.choice input:checked + span::before {
  border-color: var(--paper);
  content: '✓';
}

.choice input:focus-visible + span {
  outline: 2px solid var(--wine-light);
  outline-offset: 2px;
}

.radio-row {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10px;
}

.radio-choice span::before {
  border-radius: 50%;
}

.radio-choice input:checked + span::before {
  content: '•';
  font-size: 18px;
  line-height: 0;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  line-height: 1.5;
}

.consent input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--wine);
}

.consent-error {
  margin-bottom: 12px;
}

.button-primary {
  width: 100%;
  margin-top: 8px;
  color: var(--paper);
  background: var(--wine);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--wine-dark);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button.is-loading .button-arrow {
  animation: pulse 0.8s ease infinite alternate;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: #a82e42;
  font-size: 12px;
  text-align: center;
}

.success-card {
  display: grid;
  place-items: center;
  min-height: 610px;
  text-align: center;
}

.success-card[hidden] {
  display: none;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  color: var(--paper);
  background: var(--wine);
  border-radius: 50%;
  font-size: 30px;
}

.success-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.success-card > p:not(.eyebrow) {
  max-width: 440px;
  margin: 30px auto;
  color: var(--muted);
  font-family: var(--serif);
}

.text-button {
  padding: 4px 0;
  color: var(--wine);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 60px;
  padding: 70px clamp(28px, 7vw, 130px);
  color: var(--cream);
  background: var(--wine-dark);
}

.site-footer p {
  margin: 5px 0 0;
  color: rgba(246, 239, 229, 0.58);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer .footer-names {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: none;
}

.footer-names i {
  color: var(--rose);
  font-weight: 400;
}

.footer-contact {
  display: grid;
  gap: 5px;
  text-align: right;
}

.footer-contact span {
  color: rgba(246, 239, 229, 0.5);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-contact a {
  font-family: var(--serif);
  font-size: 18px;
  text-decoration: none;
}

.to-top {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  text-decoration: none;
  border: 1px solid rgba(246, 239, 229, 0.35);
  border-radius: 50%;
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  to { transform: translate(3px, -3px); }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr 0.45fr;
  }

  .hero-copy {
    padding-left: 7vw;
  }

  .hero-scroll {
    left: 7vw;
  }

  .date-card {
    width: 86%;
    min-height: 470px;
  }

  .opening,
  .details,
  .rsvp {
    gap: 6vw;
  }

  .venue-visual {
    height: 350px;
  }
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 72px;
    padding: 0 22px;
  }

  .site-header.is-scrolled {
    height: 64px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    font-size: 9px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 980px;
  }

  .hero::after {
    inset: 72px 22px 30px;
  }

  .hero-copy {
    align-self: start;
    padding: 145px 36px 0;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(70px, 22vw, 112px);
  }

  .hero h1 > span:last-child {
    margin-left: 0.12em;
  }

  .hero .ampersand {
    left: 50%;
    margin-left: 0;
    transform: translateX(-50%);
  }

  .hero-date {
    margin-top: 35px;
  }

  .date-card {
    position: absolute;
    right: 50%;
    bottom: -190px;
    width: min(76%, 360px);
    min-height: 440px;
    transform: translateX(50%) rotate(2deg);
  }

  .date-day {
    font-size: 110px;
  }

  .hero-scroll {
    display: none;
  }

  .floral {
    width: 48vw;
  }

  .section {
    padding: 115px 28px;
  }

  .section-number {
    top: 35px;
    left: 28px;
  }

  .section-number::after {
    height: 30px;
  }

  .opening {
    grid-template-columns: 1fr;
    gap: 55px;
    min-height: 920px;
    padding-top: 300px;
  }

  .opening-copy {
    max-width: 580px;
  }

  .countdown-band {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 45px 28px;
    text-align: center;
  }

  .countdown {
    justify-content: center;
    gap: clamp(18px, 5vw, 45px);
  }

  .details {
    grid-template-columns: 1fr;
  }

  .details-heading {
    margin-bottom: 55px;
  }

  .venue-card {
    grid-row: auto;
  }

  .schedule {
    margin-top: 70px;
  }

  .dress-code {
    grid-template-columns: 1fr;
  }

  .dress-copy,
  .dress-quote {
    min-height: 560px;
  }

  .dress-copy {
    padding: 85px 34px;
  }

  .rsvp {
    grid-template-columns: 1fr;
  }

  .rsvp-heading {
    position: static;
    margin-bottom: 50px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .footer-contact {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }

  .to-top {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 880px;
  }

  .hero-copy {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero h1 {
    font-size: clamp(66px, 21vw, 92px);
  }

  .hero-lead {
    font-size: 13px;
  }

  .button {
    min-width: 0;
    width: 100%;
  }

  .date-card {
    bottom: -210px;
    min-height: 420px;
    padding: 29px;
  }

  .date-card-top {
    margin-bottom: 40px;
  }

  .opening {
    padding-top: 300px;
  }

  .opening h2,
  .details h2,
  .rsvp h2 {
    font-size: clamp(50px, 15vw, 70px);
  }

  .opening-copy {
    font-size: 16px;
  }

  .countdown-band > p {
    font-size: 24px;
  }

  .countdown strong {
    font-size: 45px;
  }

  .countdown span {
    font-size: 7px;
  }

  .venue-visual {
    height: 310px;
  }

  .venue-copy {
    padding: 34px 28px 38px;
  }

  .schedule-item {
    grid-template-columns: 48px 28px 1fr;
    gap: 10px;
  }

  .dress-copy,
  .dress-quote {
    min-height: 500px;
  }

  .dress-quote {
    font-size: 54px;
  }

  .form-wrap {
    margin-right: -14px;
    margin-left: -14px;
    padding: 34px 20px;
  }

  .form-row.two-columns,
  .choice-grid,
  .radio-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .field {
    margin-bottom: 26px;
  }

  .choice span {
    min-height: 48px;
  }

  .site-footer {
    gap: 35px;
    padding: 56px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Cinematic edition — Anastasia & Arseniy */

.intro-loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 46%, rgba(205, 135, 143, 0.24), transparent 28%),
    var(--wine-dark);
  pointer-events: none;
  animation: loader-away 0.9s cubic-bezier(0.76, 0, 0.24, 1) 1.5s forwards;
}

.intro-loader-inner {
  display: grid;
  place-items: center;
  gap: 17px;
  text-align: center;
}

.intro-loader-inner strong {
  font-family: var(--serif);
  font-size: clamp(62px, 8vw, 112px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  animation: loader-mark 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro-loader-inner > span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: loader-copy 0.8s ease 0.2s both;
}

.intro-loader-inner .intro-kicker {
  color: rgba(246, 239, 229, 0.54);
}

.intro-line {
  width: 170px;
  height: 1px;
  overflow: hidden;
  background: rgba(246, 239, 229, 0.18);
}

.intro-line i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blush);
  transform-origin: left;
  animation: loader-line 1.1s cubic-bezier(0.76, 0, 0.24, 1) 0.1s both;
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  appearance: none;
  background: transparent;
  border: 0;
}

.scroll-progress::-webkit-progress-bar {
  background: transparent;
}

.scroll-progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--blush), #f0d1c8);
  transition: width 0.12s linear;
}

.scroll-progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--blush), #f0d1c8);
}

.hero {
  isolation: isolate;
  background:
    radial-gradient(circle at 73% 25%, rgba(201, 124, 123, 0.22), transparent 24%),
    radial-gradient(circle at 22% 78%, rgba(173, 116, 145, 0.2), transparent 25%),
    linear-gradient(128deg, #702a49 0%, #5a2039 48%, #321421 100%);
}

.hero-aura {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(246, 239, 229, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.aura-one {
  top: 7%;
  right: 23%;
  width: clamp(260px, 34vw, 620px);
  aspect-ratio: 1;
  animation: aura-drift 11s ease-in-out infinite alternate;
}

.aura-two {
  right: -8%;
  bottom: -30%;
  width: clamp(440px, 56vw, 980px);
  aspect-ratio: 1;
  border-color: rgba(216, 168, 165, 0.09);
  animation: aura-drift-two 15s ease-in-out infinite alternate;
}

.botanical {
  position: absolute;
  z-index: 1;
  bottom: -75px;
  left: -18px;
  width: min(27vw, 370px);
  height: min(69vh, 670px);
  opacity: 0.26;
  pointer-events: none;
  transform: rotate(-8deg);
}

.botanical::before {
  position: absolute;
  bottom: 0;
  left: 40%;
  width: 72%;
  height: 100%;
  border-left: 1px solid var(--blush);
  border-radius: 52% 0 0 50%;
  content: '';
  transform: rotate(23deg);
}

.botanical i {
  position: absolute;
  width: 42%;
  height: 19%;
  border: 1px solid var(--blush);
  border-radius: 100% 0 100% 0;
  transform-origin: 100% 100%;
}

.botanical i:nth-child(1) { bottom: 18%; left: 14%; transform: rotate(28deg); }
.botanical i:nth-child(2) { bottom: 34%; left: 42%; transform: scaleX(-1) rotate(21deg); }
.botanical i:nth-child(3) { bottom: 50%; left: 25%; transform: rotate(19deg); }
.botanical i:nth-child(4) { bottom: 65%; left: 50%; transform: scaleX(-1) rotate(13deg); }
.botanical i:nth-child(5) { bottom: 80%; left: 38%; transform: rotate(8deg); }

.hero-copy .eyebrow,
.hero-date,
.hero-lead,
.hero-copy .button {
  animation: hero-copy-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy .eyebrow { animation-delay: 1.7s; }
.hero-date { animation-delay: 2s; }
.hero-lead { animation-delay: 2.08s; }
.hero-copy .button { animation-delay: 2.16s; }

.hero h1 {
  position: relative;
  font-size: clamp(68px, 8.2vw, 130px);
  line-height: 0.76;
}

.hero h1 > .name-line {
  display: block;
  overflow: hidden;
  padding: 0.07em 0.04em 0.13em;
}

.hero h1 > .name-line:last-child {
  margin-left: 0.13em;
}

.hero .name-line > span {
  display: block;
  animation: name-rise 1.15s cubic-bezier(0.16, 1, 0.3, 1) 1.55s both;
}

.hero .name-line:last-child > span {
  animation-delay: 1.68s;
}

.hero .ampersand {
  top: 0.68em;
  left: -0.02em;
  z-index: 2;
  margin: 0;
  font-size: 0.56em;
  animation: ampersand-in 0.9s ease 2.05s both;
}

.date-card {
  overflow: visible;
  transform: perspective(1000px) rotateZ(2.5deg);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  animation: card-arrive 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.65s both;
}

.date-card:hover {
  box-shadow: 0 46px 100px rgba(27, 8, 17, 0.36);
}

.date-card.tilt-left { transform: perspective(1000px) rotateY(-4deg) rotateX(1deg) rotateZ(1.5deg); }
.date-card.tilt-right { transform: perspective(1000px) rotateY(4deg) rotateX(1deg) rotateZ(3deg); }
.date-card.tilt-up { transform: perspective(1000px) rotateX(3deg) rotateZ(2deg); }
.date-card.tilt-down { transform: perspective(1000px) rotateX(-3deg) rotateZ(2.7deg); }

.date-card-seal {
  position: absolute;
  right: -37px;
  bottom: 47px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--cream);
  background: var(--wine);
  border: 1px solid rgba(246, 239, 229, 0.45);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(53, 21, 34, 0.25);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-10deg);
  animation: seal-turn 18s linear infinite;
}

.love-marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  color: var(--wine-dark);
  background: var(--blush);
  border-top: 1px solid rgba(53, 21, 34, 0.14);
  border-bottom: 1px solid rgba(53, 21, 34, 0.14);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  min-height: 78px;
  padding-right: 34px;
  white-space: nowrap;
  animation: marquee-slide 28s linear infinite;
}

.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  font-style: italic;
}

.marquee-track i {
  color: var(--wine);
  font-size: 12px;
  font-style: normal;
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button::before {
  position: absolute;
  z-index: -1;
  top: -50%;
  bottom: -50%;
  left: -40%;
  width: 26%;
  background: rgba(255, 255, 255, 0.25);
  content: '';
  transform: rotate(18deg) translateX(-280%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.button:hover::before,
.button:focus-visible::before {
  transform: rotate(18deg) translateX(650%);
}

.venue-visual {
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 226, 218, 0.12), transparent 48%),
    linear-gradient(152deg, #947084 0%, #c29492 48%, #5e5362 100%);
}

.venue-visual::after {
  z-index: 8;
}

.city-glow {
  position: absolute;
  z-index: 0;
  top: 9%;
  left: 50%;
  width: 190px;
  height: 190px;
  background: rgba(255, 225, 203, 0.52);
  border-radius: 50%;
  filter: blur(1px);
  transform: translateX(-50%);
  box-shadow: 0 0 70px rgba(255, 228, 207, 0.38);
}

.city-water {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background:
    repeating-linear-gradient(174deg, transparent 0 13px, rgba(246, 239, 229, 0.14) 14px 15px),
    linear-gradient(180deg, rgba(58, 50, 62, 0.2), #4c4654);
}

.cityline {
  position: absolute;
  z-index: 3;
  right: -2%;
  bottom: 32%;
  left: -2%;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 118px;
  border-bottom: 4px solid #3e3441;
}

.cityline i {
  display: block;
  width: 8%;
  height: 62%;
  background: #4a3c49;
  box-shadow: inset 7px 0 rgba(255, 224, 193, 0.08);
}

.cityline i:nth-child(2) { width: 12%; height: 84%; }
.cityline i:nth-child(3) { width: 7%; height: 48%; }
.cityline i:nth-child(4) { width: 14%; height: 70%; }
.cityline i:nth-child(5) { width: 8%; height: 93%; }
.cityline i:nth-child(6) { width: 13%; height: 58%; }
.cityline i:nth-child(7) { width: 7%; height: 76%; }

.city-dome {
  position: absolute;
  z-index: 5;
  bottom: 34%;
  left: 50%;
  width: 105px;
  height: 62px;
  background: #342c36;
  border-radius: 100px 100px 0 0;
  transform: translateX(-50%);
}

.city-dome::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 3px;
  height: 83px;
  background: #342c36;
  content: '';
  transform: translateX(-50%);
  box-shadow: 0 -7px 0 -1px #342c36;
}

.city-dome::after {
  position: absolute;
  top: 70%;
  left: -35px;
  width: 175px;
  height: 68px;
  background: #3c333d;
  content: '';
}

.city-caption {
  position: absolute;
  z-index: 7;
  right: 24px;
  bottom: 23px;
  color: rgba(246, 239, 229, 0.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.venue-monogram {
  z-index: 9;
}

.reveal {
  filter: blur(8px);
  transform: translateY(42px) scale(0.985);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s ease;
}

.reveal.is-visible {
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.schedule-item {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.55s ease, transform 0.55s ease, background 0.25s ease;
}

.schedule.is-visible .schedule-item {
  opacity: 1;
  transform: translateX(0);
}

.schedule.is-visible .schedule-item:nth-child(2) { transition-delay: 0.08s; }
.schedule.is-visible .schedule-item:nth-child(3) { transition-delay: 0.16s; }
.schedule.is-visible .schedule-item:nth-child(4) { transition-delay: 0.24s; }

.schedule-item:hover {
  padding-right: 10px;
  padding-left: 10px;
  background: rgba(255, 255, 255, 0.34);
}

.choice span {
  transition: color 0.25s ease, background 0.25s ease, border 0.25s ease, transform 0.25s ease;
}

.choice:hover span {
  border-color: rgba(95, 35, 60, 0.58);
  transform: translateY(-2px);
}

@keyframes loader-away {
  0% { opacity: 1; transform: translateY(0); }
  99% { opacity: 0; transform: translateY(-100%); visibility: visible; }
  100% { opacity: 0; transform: translateY(-100%); visibility: hidden; }
}

@keyframes loader-mark {
  from { opacity: 0; letter-spacing: 0.18em; transform: scale(0.85); }
  to { opacity: 1; letter-spacing: -0.04em; transform: scale(1); }
}

@keyframes loader-copy {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loader-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes name-rise {
  from { opacity: 0; transform: translateY(115%) rotate(2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ampersand-in {
  from { opacity: 0; transform: scale(0.6) rotate(-18deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes card-arrive {
  from { opacity: 0; transform: perspective(1000px) translateY(80px) rotateZ(8deg); }
  to { opacity: 1; transform: perspective(1000px) translateY(0) rotateZ(2.5deg); }
}

@keyframes seal-turn {
  to { transform: rotate(350deg); }
}

@keyframes aura-drift {
  to { transform: translate(-30px, 24px) scale(1.08); }
}

@keyframes aura-drift-two {
  to { transform: translate(38px, -22px) scale(0.94); }
}

@keyframes marquee-slide {
  to { transform: translateX(-50%); }
}

@media (max-width: 800px) {
  .intro-loader-inner strong {
    font-size: 72px;
  }

  .hero h1 {
    font-size: clamp(55px, 17.4vw, 78px);
    line-height: 0.8;
  }

  .hero h1 > .name-line:last-child {
    margin-left: 0;
  }

  .hero .ampersand {
    top: 0.78em;
    left: 50%;
    margin: 0;
    font-size: 0.52em;
    transform: translateX(-50%);
    animation-name: ampersand-in-mobile;
  }

  .date-card,
  .date-card.tilt-left,
  .date-card.tilt-right,
  .date-card.tilt-up,
  .date-card.tilt-down {
    transform: translateX(50%) rotate(2deg);
  }

  .date-card {
    animation-name: card-arrive-mobile;
  }

  .date-card-seal {
    right: -24px;
    bottom: 35px;
    width: 66px;
    height: 66px;
  }

  .botanical {
    width: 55vw;
    height: 520px;
  }

  .marquee-track {
    min-height: 66px;
    animation-duration: 22s;
  }

  .city-caption {
    right: 18px;
  }
}

@media (max-width: 560px) {
  .hero-copy {
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(52px, 16.8vw, 68px);
  }

  .hero-date {
    margin-top: 28px;
  }

  .date-card-seal {
    right: -17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-loader {
    display: none;
  }

  .hero-copy .eyebrow,
  .hero-date,
  .hero-lead,
  .hero-copy .button,
  .hero .name-line > span,
  .hero .ampersand,
  .date-card,
  .date-card-seal,
  .marquee-track,
  .hero-aura {
    animation: none !important;
  }

  .schedule-item {
    opacity: 1;
    transform: none;
  }
}

@keyframes ampersand-in-mobile {
  from { opacity: 0; transform: translateX(-50%) scale(0.6) rotate(-18deg); }
  to { opacity: 1; transform: translateX(-50%) scale(1) rotate(0); }
}

@keyframes card-arrive-mobile {
  from { opacity: 0; transform: translateX(50%) translateY(70px) rotate(7deg); }
  to { opacity: 1; transform: translateX(50%) translateY(0) rotate(2deg); }
}
