:root {
  --wine: #5b2030;
  --wine-dark: #431524;
  --wine-light: #853d50;
  --cream: #faf7f2;
  --ivory: #fffdfa;
  --sand: #ede5da;
  --gold: #b69b70;
  --ink: #372b30;
  --muted: #80747a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 14px/1.75 var(--font-body);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.hidden {
  display: none !important;
}
.topbar {
  height: 87px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 90px);
  border-bottom: 1px solid #e7ddd1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--wine);
}
.brand-monogram {
  font: 600 29px/1 var(--font-display);
  letter-spacing: -2px;
}
.brand-monogram span {
  font-style: italic;
  font-size: 18px;
  margin: 0 2px;
}
.brand-caption {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.3px;
}
.topbar nav {
  display: flex;
  gap: 35px;
}
.topbar nav a {
  font-size: 11px;
  font-weight: 600;
  color: #554a4b;
  transition: color 0.2s;
}
.topbar nav a:hover {
  color: var(--wine-light);
}
.nav-cta {
  font-size: 11px;
  letter-spacing: 0.4px;
  font-weight: 700;
  color: var(--wine);
  border-bottom: 1px solid var(--wine);
  padding-bottom: 6px;
}
.nav-cta span {
  margin-left: 14px;
  font-size: 15px;
}
.hero {
  min-height: 725px;
  position: relative;
  background: radial-gradient(
    ellipse at 50% 45%,
    #713344 0%,
    #5b2030 51%,
    #401321 100%
  );
  color: #fff8ee;
  text-align: center;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 64px 24px 56px;
}
.hero:before,
.hero:after {
  content: "";
  position: absolute;
  inset: 24px;
  pointer-events: none;
  border: 1px solid rgba(225, 201, 169, 0.17);
}
.hero:after {
  inset: 35px;
  border-color: rgba(225, 201, 169, 0.09);
}
.hero-content {
  position: relative;
  z-index: 3;
}
.hero-ornament {
  position: absolute;
  width: 270px;
  opacity: 0.42;
  fill: none;
  stroke: #d9c2a4;
  stroke-width: 1.2;
  z-index: 1;
  pointer-events: none;
}
.hero-left {
  left: -3%;
  bottom: -13%;
  transform: rotate(-8deg);
}
.hero-right {
  right: -3%;
  top: -15%;
  transform: rotate(175deg);
}
.eyebrow {
  color: var(--wine-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.eyebrow.light {
  color: #dbc4ab;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}
.eyebrow.light span {
  width: 30px;
  height: 1px;
  background: #ad897d;
}
.hero-prelude {
  font: italic 23px/1.4 var(--font-display);
  color: #f0dfd0;
  margin: 32px 0 5px;
}
.hero h1 {
  font: 500 clamp(86px, 12vw, 155px)/0.81 var(--font-display);
  letter-spacing: -5px;
  margin: 35px 0 34px;
}
.hero h1 i {
  font-weight: 400;
  color: #dac2a2;
  font-size: 0.63em;
}
.hero-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  color: #d8b78d;
  margin: 10px auto 27px;
}
.hero-line span {
  height: 1px;
  width: 95px;
  background: #ac827b;
}
.hero-line b {
  font-size: 13px;
  font-weight: 400;
}
.hero-invitation {
  font: italic 22px/1.45 var(--font-display);
  color: #f0e4d8;
  margin: 0 0 34px;
}
.hero-date {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 auto 32px;
}
.hero-date > span {
  font: 500 65px/0.9 var(--font-display);
}
.hero-date > div {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #b58a85;
  border-right: 1px solid #b58a85;
  padding: 2px 20px;
  gap: 4px;
}
.hero-date small {
  font-size: 10px;
  letter-spacing: 2.6px;
  font-weight: 700;
}
.hero-date small + small {
  font-size: 8px;
  color: #dcc5b3;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 12px 26px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 11px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button span {
  font-size: 18px;
  font-weight: 400;
}
.button-cream {
  background: #f3e9d9;
  color: var(--wine-dark);
}
.button-cream:hover {
  background: #fff8ed;
}
.button-dark {
  background: var(--wine);
  color: white;
}
.button-dark:hover {
  background: #773147;
}
.button-full {
  width: 100%;
}
.hero-bottom {
  color: #d8c0ad;
  letter-spacing: 3px;
  font-size: 9px;
  margin: 34px 0 0;
}
.hero-watermark {
  position: absolute;
  bottom: -126px;
  left: 50%;
  transform: translateX(-50%);
  font: normal 340px var(--font-display);
  opacity: 0.035;
  white-space: nowrap;
  pointer-events: none;
}
.countdown-wrap {
  background: #eee5d8;
  padding: 26px 15px 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 74px;
}
.countdown-heading {
  font-size: 9px;
  letter-spacing: 2.6px;
  font-weight: 700;
  color: #775f64;
  max-width: 144px;
  text-align: left;
  line-height: 1.8;
}
.countdown {
  display: flex;
  gap: 25px;
  align-items: center;
}
.countdown div {
  display: flex;
  flex-direction: column;
  min-width: 54px;
}
.countdown strong {
  font: 500 36px/0.95 var(--font-display);
  color: var(--wine);
}
.countdown span {
  letter-spacing: 1.6px;
  font-size: 8px;
  font-weight: 700;
  color: #8a7278;
  margin-top: 8px;
}
.countdown i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.section {
  padding: 110px max(6vw, 20px);
}
.section h2 {
  font: 500 clamp(48px, 5.7vw, 77px)/1.04 var(--font-display);
  letter-spacing: -1.8px;
  color: var(--wine);
  margin: 20px 0 27px;
}
.section h2 i,
.last-cta h2 i {
  font-weight: 400;
}
.centered {
  text-align: center;
}
.section-lead {
  max-width: 630px;
  margin: 0 auto 46px;
  text-align: center;
  color: #72676a;
  font-size: 13px;
  line-height: 2;
}
.section-story {
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9%;
}
.story-visual {
  height: 510px;
  background: #e7d7c8;
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 16px 16px 0 #eee7dc;
  overflow: hidden;
}
.story-visual:before {
  content: "";
  position: absolute;
  width: 530px;
  height: 530px;
  border: 1px solid #d7bdab;
  border-radius: 50%;
  left: -170px;
  top: 185px;
}
.story-visual:after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid #d7bdab;
  border-radius: 50%;
  right: -160px;
  top: -140px;
}
.story-border {
  position: absolute;
  inset: 23px;
  border: 1px solid #bfab9c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--wine);
}
.story-top,
.story-bottom {
  font-size: 9px;
  letter-spacing: 3px;
}
.story-mm {
  font: 500 102px/1 var(--font-display);
  letter-spacing: -7px;
  margin: 32px 0;
}
.story-mm em {
  font: italic 53px var(--font-display);
  letter-spacing: -2px;
  color: var(--wine-light);
}
.story-flower {
  position: absolute;
  right: 35px;
  bottom: 6px;
  font: 180px var(--font-display);
  color: #a37171;
  opacity: 0.12;
}
.story-text {
  padding: 25px 0;
}
.story-text p {
  max-width: 480px;
  color: #6e6266;
  font-size: 13px;
  line-height: 2.2;
  margin: 0 0 18px;
}
.signature {
  margin-top: 35px;
  font: italic 18px var(--font-display);
  color: #84676e;
}
.signature span {
  display: block;
  color: var(--wine);
  font: italic 32px var(--font-display);
  margin-top: 4px;
}
.section-event {
  background: #f2ece4;
}
.event-grid {
  max-width: 1070px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.event-card {
  text-align: center;
  min-height: 405px;
  padding: 43px 25px;
  background: #fffcf8;
  border: 1px solid #ddd1c4;
  position: relative;
  box-shadow: 0 12px 32px #5b20300b;
}
.event-card:before {
  content: "";
  inset: 10px;
  position: absolute;
  border: 1px solid #eee4db;
  pointer-events: none;
}
.event-card.muted {
  background: #ede2d7;
}
.event-number {
  position: relative;
  z-index: 1;
  color: #a58a7b;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 2px;
}
.event-symbol {
  color: var(--wine);
  font: 36px var(--font-display);
  margin: 10px 0 8px;
}
.event-card h3 {
  color: var(--wine);
  font: 500 35px var(--font-display);
  margin: 0 0 30px;
}
.event-label {
  color: #ac8276 !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 10px !important;
}
.event-card strong {
  display: block;
  font: 500 26px var(--font-display);
  color: var(--wine);
  margin: 0 0 6px;
}
.event-card p {
  margin: 3px;
  color: #726369;
  font-size: 12px;
}
.text-link {
  display: inline-block;
  border-bottom: 1px solid var(--wine);
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  padding-bottom: 4px;
  margin-top: 25px;
}
.text-link span {
  margin-left: 15px;
}
.quote-band {
  text-align: center;
  padding: 58px 20px;
  background: #702d3f;
  color: #fff2e6;
}
.quote-band span {
  color: #dcc2a1;
}
.quote-band blockquote {
  font: italic 31px var(--font-display);
  max-width: 750px;
  margin: 15px auto;
}
.quote-band p {
  font-size: 9px;
  letter-spacing: 2.7px;
  color: #e5cbbc;
}
.rsvp-section {
  background: #faf7f2;
}
.rsvp-card {
  max-width: 670px;
  margin: 0 auto;
  background: var(--ivory);
  border: 1px solid #e3d8cb;
  padding: 13px;
  box-shadow: 0 18px 55px #5b203012;
}
.rsvp-inner {
  border: 1px solid #eee4db;
  text-align: center;
  padding: 40px clamp(18px, 5vw, 62px);
}
.mini-seal {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #c6ad94;
  border-radius: 50%;
  font: 22px var(--font-display);
  color: var(--wine);
}
.rsvp-inner h3 {
  font: 500 37px var(--font-display);
  color: var(--wine);
  margin: 16px 0 9px;
}
.rsvp-inner p {
  color: #756b6c;
  font-size: 12px;
  line-height: 2;
}
.code-form {
  text-align: left;
  margin: 27px auto 0;
}
.code-form label,
.gift-dialog form label {
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #74646b;
  display: block;
  margin-bottom: 8px;
}
.code-input-row {
  display: flex;
  gap: 8px;
}
.code-input-row input {
  min-width: 0;
  flex: 1;
}
.code-input-row button {
  white-space: nowrap;
}
.rsvp-section input:not([type="radio"]),
.rsvp-section select,
.rsvp-section textarea,
.gift-dialog input {
  padding: 13px 14px;
  border: 1px solid #ded4ce;
  border-radius: 0;
  width: 100%;
  background: #fffefa;
  color: #362a2e;
  font-size: 13px;
}
.rsvp-section textarea {
  resize: vertical;
}
.rsvp-options {
  display: grid;
  gap: 10px;
  margin: 13px 0 20px;
}
.choice {
  display: block;
  border: 1px solid #e3d8d2;
  padding: 12px 13px;
  text-align: left;
  cursor: pointer;
}
.choice:has(input:checked) {
  border-color: var(--wine);
  background: #f8efed;
}
.choice span {
  font-size: 12px;
  color: var(--wine);
}
.choice input {
  accent-color: var(--wine);
}
.field-title {
  display: block;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--wine);
  margin: 17px 0 7px;
}
.field-title small {
  font-weight: 400;
  color: #8d7a7f;
}
.name-input {
  margin: 7px 0 !important;
}
.rsvp-status {
  background: #f4eee6;
  margin: 14px 0 20px;
  color: var(--wine);
  font-size: 12px;
  padding: 9px;
}
.rsvp-inner .button-full {
  margin-top: 25px;
}
.deadline {
  text-align: center;
  color: #96858b;
  font-size: 11px;
  margin-top: 23px;
}
.form-message {
  color: var(--wine);
  font-size: 12px;
  text-align: center;
  margin: 13px;
}
.form-message:empty {
  display: none;
}
.gifts-section {
  background: #f0e8dc;
}
.gift-grid {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: auto;
}
.gift-card {
  background: #fffcf8;
  border: 1px solid #e0d2c4;
  padding: 32px 25px 27px;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s;
}
.gift-card:hover {
  transform: translateY(-3px);
}
.gift-icon {
  height: 55px;
  width: 55px;
  border-radius: 50%;
  background: #f0e2d8;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.gift-card h3 {
  font: 500 30px/1.07 var(--font-display);
  color: var(--wine);
  margin: 21px 0 8px;
}
.gift-card p {
  margin: 0;
  font-size: 11px;
  color: #8d7a7c;
  line-height: 1.8;
}
.gift-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
}
.gift-price {
  display: flex;
  flex-direction: column;
}
.gift-price small {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #987f82;
  font-weight: 700;
}
.gift-price strong {
  font: 500 27px var(--font-display);
  color: var(--wine);
}
.gift-button {
  border: 1px solid #b99da1;
  background: transparent;
  color: var(--wine);
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.gift-button:hover {
  background: var(--wine);
  color: white;
}
.gift-footnote {
  text-align: center;
  max-width: 680px;
  margin: 36px auto 0;
  font-size: 11px;
  color: #8d7c7a;
}
.my-gifts {
  max-width: 780px;
  margin: 35px auto 0;
  padding: 25px;
  background: #fffaf5;
}
.my-gifts h3 {
  font: 500 30px var(--font-display);
  color: var(--wine);
  margin: 0 0 12px;
}
.my-gifts .my-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #e7d8ce;
  padding: 10px 0;
  font-size: 12px;
}
.status-green {
  color: #376d50;
}
.status-amber {
  color: #956b30;
}
.status-gray {
  color: #877f82;
}
.loading {
  grid-column: 1/-1;
  text-align: center;
}
.last-cta {
  text-align: center;
  padding: 100px 20px;
  background: #6b283a;
  color: #fff1e5;
}
.last-cta h2 {
  font: 500 clamp(43px, 5.5vw, 75px)/1.08 var(--font-display);
  margin: 20px 0 36px;
}
footer {
  text-align: center;
  background: #431724;
  color: #e7cfba;
  padding: 54px 20px 26px;
  position: relative;
}
.footer-mm {
  font: 56px var(--font-display);
  letter-spacing: -3px;
}
.footer-mm i {
  font-size: 38px;
  font-weight: 400;
}
.footer-rule {
  width: 80px;
  height: 1px;
  background: #9f7578;
  margin: 23px auto;
}
footer p {
  font-size: 10px;
  letter-spacing: 2px;
}
footer small {
  font: italic 18px var(--font-display);
}
.footer-admin {
  display: block;
  opacity: 0.5;
  margin-top: 33px;
  font-size: 9px;
  letter-spacing: 1px;
}
.footer-admin:hover {
  opacity: 1;
}
.gift-dialog {
  width: min(92vw, 480px);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid #d3bcae;
  padding: 40px 38px;
  background: #fffaf5;
  color: var(--wine);
  box-shadow: 0 20px 85px #0004;
}
.gift-dialog::backdrop {
  background: #27121cc2;
}
.gift-dialog h3 {
  font: 500 42px/1.1 var(--font-display);
  text-align: center;
  margin: 14px 0;
}
.gift-dialog p {
  text-align: center;
  font-size: 12px;
  color: #786970;
  line-height: 1.8;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: transparent;
  color: var(--wine);
  font-size: 28px;
}
.gift-dialog form {
  display: grid;
  gap: 6px;
  margin-top: 24px;
}
.gift-dialog form label {
  margin-top: 14px;
}
.gift-dialog form button {
  margin-top: 18px;
}
.pix-qr {
  width: 205px;
  height: 205px;
  background: #fff;
  margin: 22px auto;
  display: grid;
  place-items: center;
}
.pix-qr img {
  max-width: 100%;
}
.pix-copy {
  padding: 12px;
  background: #f3e8dc;
  overflow-wrap: anywhere;
  max-height: 80px;
  overflow: auto;
  font-size: 10px;
  margin: 12px 0;
}
.pix-alert {
  font-size: 11px !important;
  color: #997a66 !important;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 20px;
  max-width: 360px;
  background: var(--wine);
  color: #fff;
  padding: 13px 20px;
  font-size: 12px;
  z-index: 100;
  display: none;
}
.toast.show {
  display: block;
}
@media (max-width: 950px) {
  .topbar nav {
    gap: 17px;
  }
  .brand-caption {
    display: none;
  }
  .section-story {
    gap: 6%;
  }
  .countdown-wrap {
    gap: 30px;
  }
  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .topbar {
    height: 64px;
    padding: 0 18px;
  }
  .topbar nav {
    display: none;
  }
  .nav-cta {
    font-size: 10px;
  }
  .hero {
    min-height: 710px;
    padding: 75px 20px 55px;
  }
  .hero:before {
    inset: 14px;
  }
  .hero:after {
    inset: 23px;
  }
  .hero-left {
    left: -100px;
    bottom: -25%;
  }
  .hero-right {
    right: -120px;
    top: -18%;
  }
  .hero h1 {
    font-size: clamp(78px, 18vw, 115px);
    letter-spacing: -3px;
    margin: 40px 0;
  }
  .hero-prelude {
    font-size: 19px;
  }
  .hero-invitation {
    font-size: 20px;
  }
  .hero-date > span {
    font-size: 56px;
  }
  .hero-date {
    gap: 15px;
  }
  .hero-date > div {
    padding: 0 12px;
  }
  .desktop-break {
    display: none;
  }
  .countdown-wrap {
    display: block;
    padding: 24px 12px;
  }
  .countdown-heading {
    max-width: none;
    text-align: center;
    margin-bottom: 17px;
  }
  .countdown {
    justify-content: center;
    gap: 11px;
  }
  .countdown div {
    min-width: 51px;
  }
  .countdown strong {
    font-size: 32px;
  }
  .countdown i {
    height: 3px;
    width: 3px;
  }
  .section {
    padding: 73px 22px;
  }
  .section h2 {
    font-size: 56px;
  }
  .section-story {
    display: flex;
    flex-direction: column;
    gap: 44px;
  }
  .story-visual {
    width: 100%;
    height: 375px;
  }
  .story-mm {
    font-size: 80px;
  }
  .story-text {
    padding: 0;
  }
  .event-grid,
  .gift-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    min-height: 360px;
  }
  .rsvp-inner {
    padding: 28px 17px;
  }
  .code-input-row {
    flex-direction: column;
  }
  .quote-band blockquote {
    font-size: 25px;
  }
  .gift-dialog {
    padding: 35px 22px;
  }
  .last-cta {
    padding: 75px 22px;
  }
  .gift-grid {
    gap: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
