:root {
  color-scheme: light;
  --wine: #6d1423;
  --wine-dark: #3c0d15;
  --wine-soft: #8d2935;
  --gold: #d7a94c;
  --gold-light: #f0d48b;
  --paper: #fffaf0;
  --ink: #4a2020;
  --muted: #866c60;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --script: "Great Vibes", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 0;
  overflow-x: clip;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 10%, rgba(166, 77, 52, 0.3), transparent 35rem),
    linear-gradient(145deg, #54131c 0%, #310b12 60%, #23080d 100%);
  font-family: var(--sans);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(227, 183, 89, 0.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

body::before {
  top: -15rem;
  left: -10rem;
  box-shadow: 0 0 0 2rem rgba(227, 183, 89, 0.025), 0 0 0 4rem rgba(227, 183, 89, 0.025);
}

body::after {
  right: -12rem;
  bottom: -16rem;
  box-shadow: 0 0 0 2rem rgba(227, 183, 89, 0.025), 0 0 0 4rem rgba(227, 183, 89, 0.025);
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.language-welcome {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(166, 77, 52, 0.3), transparent 35rem),
    linear-gradient(145deg, #54131c 0%, #310b12 60%, #23080d 100%);
}

.language-welcome[hidden] {
  display: none;
}

.language-welcome-card {
  width: min(100%, 520px);
  min-width: 0;
  padding: clamp(24px, 6vw, 46px);
  border: 1px solid rgba(231, 190, 104, 0.85);
  border-radius: 8px;
  background: linear-gradient(160deg, #fff8e9 4%, #f6e5c4 48%, #f4d8ac 100%);
  box-shadow: 0 20px 70px rgba(18, 3, 5, 0.38), inset 0 0 0 6px rgba(255, 250, 240, 0.55);
  text-align: center;
}

.language-welcome-heart {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(138, 82, 45, 0.3);
  border-radius: 50%;
  color: var(--wine);
  font-size: 1.15rem;
}

.language-welcome-card h1 {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.35;
}

.language-welcome-card h1 .language-welcome-rotating {
  display: grid;
  width: 100%;
  min-width: 0;
  height: 2rem;
  min-height: 2rem;
  place-items: center;
  overflow: hidden;
  color: #b77c36;
  font-family: var(--sans);
  font-size: clamp(0.72rem, 3.8vw, 1.12rem);
  font-weight: 600;
  line-height: 1.2;
  opacity: 1;
  white-space: nowrap;
  transition:
    opacity 650ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 650ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 650ms cubic-bezier(0.4, 0, 0.2, 1);
}

.language-welcome-rotating.is-fading {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(3px);
}

.language-welcome-card > p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 0.88rem;
}

.language-welcome-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.language-welcome-options button {
  min-height: 52px;
  padding: 10px;
  border: 1px solid rgba(109, 20, 35, 0.2);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--wine-dark);
  font: 700 1rem var(--sans);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.language-welcome-options button:hover,
.language-welcome-options button:focus-visible,
.language-welcome-options button[aria-pressed="true"] {
  background: var(--wine);
  color: #fffaf0;
}

.page-shell {
  width: 100%;
  max-width: 1168px;
  padding-inline: 24px;
  margin: 0 auto;
}

.announcement-banner {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  background: #fffdf8;
  color: var(--wine-dark);
  box-shadow: 0 5px 16px rgba(35, 8, 13, 0.16);
}

.announcement-banner::before,
.announcement-banner::after {
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  height: 4px;
  background:
    repeating-linear-gradient(
      135deg,
      var(--wine) 0 5px,
      #fffdf8 5px 8px,
      var(--gold) 8px 11px,
      #fffdf8 11px 14px
    );
  content: "";
  pointer-events: none;
}

.announcement-banner::before {
  top: 0;
}

.announcement-banner::after {
  bottom: 0;
}

.ticker-viewport {
  overflow: hidden;
  padding: 12px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-right-to-left 28s linear infinite;
  will-change: transform;
}

.ticker-track span {
  flex: 0 0 auto;
  padding: 0 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.announcement-banner:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-right-to-left {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(-100%);
  }
}

.site-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #fff5df;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark i {
  color: var(--gold-light);
  font-weight: 500;
}

.wordmark-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(240, 212, 139, 0.65);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.5rem);
}

.site-nav a {
  color: rgba(255, 245, 223, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-light);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 570px;
  min-width: 0;
  overflow: hidden;
  align-items: center;
  justify-items: center;
  border: 1px solid rgba(231, 190, 104, 0.85);
  border-radius: 5px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(221, 175, 96, 0.55), transparent 31%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 246, 222, 0.98), transparent 58%),
    linear-gradient(160deg, #fff8e9 4%, #f6e5c4 48%, #f4d8ac 100%);
  box-shadow: 0 20px 70px rgba(18, 3, 5, 0.33), inset 0 0 0 7px rgba(255, 250, 240, 0.55);
  text-align: center;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  top: -130px;
  width: 290px;
  height: 250px;
  border: 1px solid rgba(138, 82, 45, 0.22);
  border-radius: 50%;
  content: "";
  transform: rotate(35deg);
}

.hero::before {
  left: -150px;
  box-shadow: 12px 10px 0 -7px rgba(138, 82, 45, 0.1), 25px 20px 0 -15px rgba(138, 82, 45, 0.13);
}

.hero::after {
  right: -150px;
  transform: rotate(-35deg);
  box-shadow: -12px 10px 0 -7px rgba(138, 82, 45, 0.1), -25px 20px 0 -15px rgba(138, 82, 45, 0.13);
}

.hero-art {
  position: absolute;
  inset: 20px;
  overflow: hidden;
  border: 1px solid rgba(123, 75, 43, 0.23);
  border-radius: 3px;
  pointer-events: none;
}

.art-sun {
  position: absolute;
  top: 16%;
  left: 50%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 249, 228, 0.94) 0%, rgba(245, 219, 167, 0.48) 56%, transparent 72%);
  transform: translateX(-50%);
}

.art-arch {
  position: absolute;
  bottom: -210px;
  left: 50%;
  border: 1px solid rgba(116, 71, 44, 0.24);
  border-bottom: 0;
  border-radius: 170px 170px 0 0;
  transform: translateX(-50%);
}

.art-arch-outer {
  width: min(75%, 580px);
  height: 365px;
  box-shadow: 0 0 0 11px rgba(255, 249, 234, 0.14);
}

.art-arch-inner {
  width: min(61%, 465px);
  height: 300px;
  border-color: rgba(116, 71, 44, 0.18);
}

.art-leaf {
  position: absolute;
  top: 13px;
  color: rgba(120, 74, 43, 0.52);
  font-family: var(--serif);
  font-size: clamp(7rem, 17vw, 13rem);
  line-height: 1;
}

.art-leaf-left {
  left: 4%;
  transform: rotate(-36deg);
}

.art-leaf-right {
  right: 4%;
  transform: scaleX(-1) rotate(-36deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 42px, 600px);
  min-width: 0;
  padding: 66px 0 59px;
}

.eyebrow {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: #895b32;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-invitation-text {
  min-width: 0;
  white-space: nowrap;
}

.eyebrow-rule {
  flex: 0 0 25px;
  width: 25px;
  height: 1px;
  background: var(--gold);
}

.hero-heart {
  display: grid;
  width: 53px;
  height: 53px;
  margin: 25px auto 13px;
  place-items: center;
  border: 1px solid #e4ba55;
  border-radius: 50%;
  background: rgba(255, 242, 196, 0.84);
  box-shadow: 0 5px 16px rgba(132, 71, 42, 0.11);
  color: var(--wine);
  font-size: 1.3rem;
}

.script-intro {
  margin: 0 0 -5px;
  color: #86502e;
  font-family: var(--script);
  font-size: clamp(1.7rem, 4vw, 2.25rem);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  color: #65131f;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 11vw, 6.65rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

h1 span {
  color: #b47d3a;
  font-size: 0.8em;
  font-style: italic;
}

.hero-copy {
  max-width: 410px;
  margin: 20px auto 24px;
  color: #674a3b;
  font-size: 0.9rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 1px solid #731726;
  border-radius: 4px;
  background: linear-gradient(135deg, #861d2b, #5f101d);
  box-shadow: 0 7px 17px rgba(97, 17, 29, 0.19);
  color: #fff2d6;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-cta:hover {
  box-shadow: 0 10px 22px rgba(97, 17, 29, 0.25);
  transform: translateY(-2px);
}

.hero-bottom {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #6e2d27;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-bottom span {
  color: #b88339;
  font-size: 0.75rem;
}

.celebrate-section {
  padding: 94px 0 83px;
}

.section-heading {
  margin-bottom: 37px;
  color: #fff6e5;
  text-align: center;
}

.eyebrow-dark {
  margin-bottom: 11px;
  color: var(--gold-light);
}

.section-heading h2 {
  margin-bottom: 9px;
  color: #fff5e0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.25rem);
  font-weight: 500;
}

.section-heading > p:last-child {
  margin: 0;
  color: rgba(255, 246, 229, 0.73);
  font-size: 0.87rem;
  line-height: 1.7;
}

.settings-error {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid rgba(240, 212, 139, 0.45);
  border-radius: 4px;
  background: rgba(60, 13, 21, 0.72);
  color: #fff1d2;
  font-size: 0.82rem;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 21px;
  max-width: 850px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  min-height: 298px;
  padding: 31px 32px 28px;
  border: 1px solid rgba(208, 166, 96, 0.69);
  border-radius: 5px;
  background: linear-gradient(150deg, rgba(255, 250, 240, 0.98), rgba(247, 232, 204, 0.97));
  box-shadow: 0 14px 35px rgba(20, 4, 7, 0.2);
}

.featured-card {
  background: linear-gradient(150deg, #fff9eb, #f8e5c8);
}

.feature-icon {
  display: grid;
  width: 47px;
  height: 47px;
  margin-bottom: 17px;
  place-items: center;
  border: 1px solid rgba(178, 126, 53, 0.45);
  border-radius: 50%;
  background: #fff6de;
  color: #88511f;
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.card-kicker {
  margin-bottom: 3px;
  color: #a17b4c;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin-bottom: 9px;
  color: #641724;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
}

.card-copy {
  max-width: 330px;
  margin-bottom: 22px;
  color: #765f50;
  font-size: 0.82rem;
  line-height: 1.7;
}

.venue-map {
  display: block;
  width: 100%;
  height: 220px;
  margin: 0 0 18px;
  border: 1px solid rgba(178, 126, 53, 0.35);
  border-radius: 4px;
  background: #f0e5cf;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(109, 20, 35, 0.35);
  color: #741927;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 160ms ease, color 160ms ease;
}

.card-link:hover {
  gap: 15px;
  color: #a33a37;
}

.card-link span {
  font-size: 1rem;
}

.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 0;
  color: rgba(255, 241, 215, 0.7);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
}

.coming-soon span {
  color: var(--gold);
  font-size: 0.72rem;
}

.no-features {
  margin: 0;
  padding: 27px 18px;
  border: 1px solid rgba(227, 183, 89, 0.3);
  color: rgba(255, 246, 229, 0.83);
  font-family: var(--serif);
  font-size: 1.25rem;
  text-align: center;
}

.site-footer {
  display: flex;
  min-height: 93px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  border-top: 1px solid rgba(227, 183, 89, 0.24);
  color: rgba(255, 242, 218, 0.78);
  text-align: center;
}

.footer-heart {
  color: #dda94b;
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.footer-note {
  flex-basis: 100%;
  margin-top: -22px;
  color: rgba(245, 218, 164, 0.66);
  font-size: 0.52rem;
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid #e8bd60;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .page-shell {
    max-width: 568px;
    padding-inline: 14px;
  }

  .ticker-viewport {
    padding-block: 13px;
  }

  .ticker-track {
    animation-duration: 22s;
  }

  .ticker-track span {
    padding-inline: 1rem;
    font-size: 0.8rem;
  }

  .site-header {
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 17px 0 15px;
  }

  .wordmark {
    gap: 7px;
    font-size: 1.15rem;
  }

  .wordmark-mark {
    width: 29px;
    height: 29px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(6px, 2.5vw, 14px);
  }

  .site-nav a {
    display: grid;
    min-height: 36px;
    place-items: center;
    padding: 8px 9px;
    border: 1px solid rgba(240, 212, 139, 0.24);
    border-radius: 999px;
    font-size: 0.68rem;
    line-height: 1;
    white-space: nowrap;
  }

  .hero {
    min-height: 0;
  }

  .hero-art {
    inset: 12px;
  }

  .hero-content {
    width: min(100% - 28px, 520px);
    padding: 55px 0 86px;
  }

  .eyebrow {
    gap: 7px;
    font-size: 0.55rem;
    letter-spacing: 0.13em;
  }

  .eyebrow-rule {
    flex-basis: 16px;
    width: 16px;
  }

  .hero-copy {
    max-width: 300px;
    font-size: 0.83rem;
  }

  .hero-bottom {
    bottom: 25px;
    gap: 7px;
    font-size: 0.53rem;
  }

  .celebrate-section {
    padding: 68px 0 61px;
  }

  .section-heading {
    margin-bottom: 27px;
  }

  .section-heading > p:last-child {
    max-width: 320px;
    margin: 0 auto;
    font-size: 0.8rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .feature-card {
    min-height: unset;
    padding: 24px;
  }

  .venue-map {
    height: clamp(180px, 58vw, 240px);
    margin-bottom: 16px;
  }

  .feature-icon {
    width: 43px;
    height: 43px;
    margin-bottom: 13px;
  }

  .card-copy {
    margin-bottom: 16px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: clamp(2.6rem, 12vw, 3.2rem);
    letter-spacing: -0.06em;
  }
}

@media (max-width: 390px) {
  .page-shell {
    padding-inline: 11px;
  }

  .ticker-track span {
    padding-inline: 0.75rem;
    font-size: 0.76rem;
  }

  .hero-content {
    width: min(100% - 20px, 520px);
    padding-top: 48px;
  }

  .art-leaf-left {
    left: -7%;
    opacity: 0.58;
  }

  .art-leaf-right {
    right: -7%;
    opacity: 0.58;
  }

  .hero-bottom {
    letter-spacing: 0.14em;
  }

  .coming-soon {
    gap: 6px;
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track {
    width: 100%;
    justify-content: center;
    animation: none;
  }

  .language-welcome-card h1 .language-welcome-rotating {
    transition: none;
  }

  .ticker-track span {
    display: none;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ticker-track span:first-child {
    display: block;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}
