:root {
  --paper: #ffffff;
  --paper-soft: #faf9f7;
  --ink: #444444;
  --ink-dark: #242424;
  --muted: #6a6a6a;
  --line: #dedbd6;
  --line-dark: #4d4d4d;
  --max: 1220px;
  --narrow: 760px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
  --sans: Montserrat, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 1000;
  background: var(--ink-dark);
  color: white;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: var(--narrow);
  text-align: center;
}

.top-rule {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #252525;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #fff;
}

.floral-spray {
  position: absolute;
  top: 44px;
  width: min(28vw, 430px);
  height: auto;
  opacity: 0.94;
  pointer-events: none;
  user-select: none;
}

.floral-left {
  left: clamp(1rem, 4.5vw, 5.8rem);
}

.floral-right {
  right: clamp(1rem, 4.5vw, 5.8rem);
}

.hero-center {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 238px;
  text-align: center;
}

.wedding-of {
  display: flex;
  justify-content: center;
  margin: 0;
}

.wedding-of-art {
  width: min(505px, 74vw);
  height: auto;
  opacity: 0.98;
}

.hero h1 {
  margin: 2.35rem 0 0.82rem;
  color: #454545;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 4.35rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-date,
.countdown-message {
  margin: 0;
  color: #565656;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.46rem);
  font-weight: 600;
  letter-spacing: 0.23em;
  line-height: 1.45;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem clamp(0.9rem, 1.8vw, 1.55rem);
  margin-top: 0.42rem;
  color: #565656;
  text-transform: uppercase;
}

.countdown-unit {
  display: inline-grid;
  gap: 0.05rem;
  min-width: 76px;
  text-align: center;
}

.countdown-number {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.05;
}

.countdown-label {
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.1;
}

.countdown-message {
  margin-top: 0.22rem;
  font-size: clamp(0.95rem, 1.6vw, 1.14rem);
  letter-spacing: 0.18em;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.15rem, 2vw, 2.3rem);
  width: min(100%, 1100px);
  padding: 0 1rem;
}

.nav-links a {
  position: relative;
  color: #464646;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  background: var(--ink-dark);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
  padding: 0.7rem;
}

.nav-toggle span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--ink-dark);
}

.section {
  padding: 5.6rem 0;
}

.event-block {
  padding-top: 2.1rem;
}

.event-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: min(6vw, 5rem);
  align-items: start;
}

.event-copy {
  padding-top: 0.2rem;
}

.big-date {
  margin: 0 0 2.45rem;
  color: #4c4c4c;
  font-size: clamp(2.7rem, 5vw, 4.15rem);
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.05;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0 0 0.65rem;
  color: #4b4b4b;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  font-weight: 500;
  letter-spacing: 0.10em;
  line-height: 1.16;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 0.45rem;
  color: #4b4b4b;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.detail-line {
  margin: 0.18rem 0;
  color: #555;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.10em;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin-top: 1.65rem;
  padding: 0.74rem 2.2rem;
  border: 1px solid var(--ink-dark);
  background: var(--ink-dark);
  color: white;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: white;
  color: var(--ink-dark);
}

.button.small {
  min-height: 42px;
  margin-top: 0.8rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.72rem;
}

.button.full {
  width: 100%;
}

.hero-photo {
  margin: 0;
  background: var(--paper-soft);
  min-height: 440px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.centered-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.section-kicker {
  margin: 0 0 0.75rem;
  color: #5b5b5b;
  font-family: "Mrs Saint Delafield", "Great Vibes", cursive;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: none;
}

.narrow p:not(.section-kicker) {
  margin: 0.8rem auto;
  max-width: 680px;
  color: #5f5f5f;
  font-size: 1.24rem;
  letter-spacing: 0.03em;
}

.photos-section,
.party-section,
.things-section,
.gifts-section {
  background: var(--paper-soft);
}

.photos-section h2,
.party-section h2,
.things-section h2,
.registry-section h2,
.gifts-section h2,
.qa-section h2,
.travel-section h2 {
  text-align: center;
}

.photos-section .section-kicker,
.party-section .section-kicker,
.things-section .section-kicker,
.registry-section .section-kicker,
.gifts-section .section-kicker,
.qa-section .section-kicker {
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.photo-carousel {
  position: relative;
  max-width: 950px;
  margin: 2.5rem auto 0;
}

.carousel-window {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 0 0.5rem;
}

.carousel-slide img {
  width: 100%;
  height: clamp(320px, 55vw, 620px);
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid #5b5b5b;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #4d4d4d;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-arrow:hover {
  background: #ffffff;
}

.carousel-arrow-left {
  left: 1rem;
}

.carousel-arrow-right {
  right: 1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: 1px solid #5b5b5b;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: #5b5b5b;
}

@media (max-width: 700px) {
  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .carousel-arrow-left {
    left: 0.5rem;
  }

  .carousel-arrow-right {
    right: 0.5rem;
  }

  .carousel-slide {
    padding: 0;
  }
}

.party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 820px;
  margin: 2.2rem auto 0;
}

.list-grid,
.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.2rem;
}

.party-card,
.list-grid article,
.gift-card,
.simple-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 2rem;
  text-align: center;
}

.party-photo {
  display: grid;
  place-items: center;
  width: 152px;
  height: 152px;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: var(--paper-soft);
}

.party-photo img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.party-photo.has-photo img {
  display: block;
}

.party-photo.has-photo .initials {
  display: none;
}

.initials {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  font-size: 3.2rem;
  letter-spacing: 0.08em;
}

.rsvp-section {
  background:
    linear-gradient(rgba(255,255,255,0.84), rgba(255,255,255,0.84)),
    url("assets/floral-small-new.png") center top 42px / 230px auto no-repeat;
}

.rsvp-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: min(5vw, 4rem);
  align-items: start;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.96);
  padding: min(5vw, 4rem);
}

.rsvp-card h2,
.rsvp-card .section-kicker {
  text-align: left;
}

.rsvp-card p {
  font-size: 1.18rem;
  color: #5a5a5a;
}

.rsvp-form {
  display: grid;
  gap: 1rem;
}

.rsvp-form label {
  display: grid;
  gap: 0.35rem;
  color: #4a4a4a;
  font-size: 1.04rem;
  letter-spacing: 0.06em;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-dark);
  padding: 0.85rem 0.9rem;
  border-radius: 0;
  outline: none;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  border-color: var(--ink-dark);
}

.form-message {
  margin: 0;
  color: #5d5d5d;
  font-size: 0.95rem;
}

.faq-list {
  max-width: 900px;
  margin-top: 2rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  color: #4c4c4c;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-list p {
  margin: 0.7rem 0 0;
  color: #5f5f5f;
  font-size: 1.16rem;
  letter-spacing: 0.03em;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: min(6vw, 5rem);
  align-items: center;
}

.travel-section .section-kicker,
.travel-section h2 {
  text-align: left;
}

.two-column p,
.simple-card p,
.list-grid p,
.gift-card p {
  color: #5f5f5f;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}

.simple-card a {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.registry-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.payment-detail {
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.86rem !important;
  letter-spacing: 0.04em !important;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 0.9rem auto 1rem;
  border: 1px solid var(--ink-dark);
  background:
    linear-gradient(90deg, transparent 46%, rgba(0,0,0,0.15) 47%, rgba(0,0,0,0.15) 53%, transparent 54%),
    linear-gradient(transparent 46%, rgba(0,0,0,0.15) 47%, rgba(0,0,0,0.15) 53%, transparent 54%);
  background-size: 24px 24px;
  color: var(--ink-dark);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.site-footer {
  padding: 4rem 1rem 4.5rem;
  text-align: center;
}

.site-footer img {
  width: 260px;
  margin: 0 auto 1.4rem;
  opacity: 0.75;
}

.footer-names {
  margin: 0;
  color: #444;
  font-size: 2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0.25rem 0;
  color: #666;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer a {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

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

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

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

  .floral-spray {
    width: min(40vw, 370px);
    top: 58px;
  }

  .floral-left {
    left: -34px;
  }

  .floral-right {
    right: -34px;
  }

  .hero-center {
    padding-top: 194px;
  }

  .site-nav {
    justify-content: flex-end;
    min-height: 62px;
    padding: 0 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0.5rem 1rem 1rem;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.74rem 0;
    text-align: center;
  }

  .nav-links a::after {
    display: none;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 17px;
  }

  .section {
    padding: 4.2rem 0;
  }

  .hero {
    min-height: 560px;
  }

  .floral-spray {
    width: 350px;
    opacity: 0.18;
  }

  .floral-left {
    left: -190px;
  }

  .floral-right {
    right: -190px;
  }

  .hero h1 {
    letter-spacing: 0.12em;
  }

  .hero-date,
  .countdown-message {
    letter-spacing: 0.16em;
  }

  .event-grid,
  .rsvp-card,
  .two-column {
    grid-template-columns: 1fr;
  }

  .big-date {
    margin-bottom: 1.5rem;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 320px;
  }

  .photo-grid,
  .party-grid,
  .list-grid,
  .gift-grid {
    grid-template-columns: 1fr;
  }

  .rsvp-card h2,
  .rsvp-card .section-kicker,
  .travel-section .section-kicker,
  .travel-section h2 {
    text-align: center;
  }
}

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

  .floral-spray {
    width: 305px;
    top: 42px;
    opacity: 0.16;
  }

  .hero-center {
    padding-top: 156px;
  }

  .wedding-of-art {
    width: min(430px, 84vw);
  }

  .hero h1 {
    font-size: 2.65rem;
    letter-spacing: 0.08em;
  }

  .hero-date,
  .countdown-message {
    font-size: 1.02rem;
    letter-spacing: 0.12em;
  }

  .countdown {
    gap: 0.45rem 0.55rem;
  }

  .countdown-unit {
    min-width: 62px;
  }

  .countdown-number {
    font-size: 1rem;
  }

  .countdown-label {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .big-date {
    font-size: 2.35rem;
    letter-spacing: 0.11em;
  }

  h2 {
    font-size: 2rem;
    letter-spacing: 0.08em;
  }

  .detail-line {
    font-size: 1.2rem;
  }

  .rsvp-card,
  .party-card,
  .list-grid article,
  .gift-card,
  .simple-card {
    padding: 1.3rem;
  }
/* Mobile optimization overrides */

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 320px;
}

body.nav-open {
  overflow: hidden;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

input,
select,
textarea {
  font-size: 16px;
}

img {
  height: auto;
}

.site-nav {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    max-height: calc(100svh - 62px);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
  }

  .nav-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .section {
    padding: 3.6rem 0;
  }

  .hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 4.25rem 0 3rem;
  }

  .hero-center {
    width: min(440px, calc(100% - 1.25rem));
    padding-top: 0;
  }

  .floral-spray {
    top: 40px;
    width: min(76vw, 330px);
    opacity: 0.14;
  }

  .floral-left {
    left: -185px;
  }

  .floral-right {
    right: -185px;
  }

  .wedding-of-art {
    width: min(88vw, 380px);
  }

  .hero h1 {
    margin-top: 1.5rem;
    font-size: clamp(2.35rem, 12vw, 3.35rem);
    letter-spacing: 0.075em;
  }

  .hero-date,
  .countdown-message {
    font-size: 0.98rem;
    letter-spacing: 0.1em;
  }

  .countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 350px);
    margin: 0.55rem auto 0;
    gap: 0.35rem;
  }

  .countdown-unit {
    min-width: 0;
  }

  .countdown-number {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }

  .countdown-label {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .event-block {
    padding-top: 3rem;
  }

  .event-copy {
    text-align: center;
  }

  .event-grid {
    gap: 2rem;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: 0.06em;
  }

  h3 {
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: 0.06em;
  }

  .section-kicker {
    font-size: clamp(2.6rem, 13vw, 3.7rem);
  }

  .narrow p:not(.section-kicker),
  .two-column p,
  .simple-card p,
  .list-grid p,
  .gift-card p,
  .rsvp-card p,
  .faq-list p {
    font-size: 1.04rem;
    line-height: 1.58;
  }

  .detail-line {
    font-size: 1.12rem;
    line-height: 1.45;
  }

  .button {
    width: 100%;
    max-width: 320px;
    min-height: 52px;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 0;
  }

  .hero-photo img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .photo-carousel {
    width: 100%;
    margin-top: 1.6rem;
  }

  .carousel-window {
    border: 1px solid var(--line);
    background: #fff;
  }

  .carousel-slide {
    padding: 0;
  }

  .carousel-slide img {
    height: clamp(360px, 112vw, 540px);
    max-height: 72svh;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 1.35rem;
  }

  .carousel-arrow-left {
    left: 0.65rem;
  }

  .carousel-arrow-right {
    right: 0.65rem;
  }

  .carousel-dots {
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0.25rem 0.25rem 0.45rem;
    scrollbar-width: none;
  }

  .carousel-dots::-webkit-scrollbar {
    display: none;
  }

  .carousel-dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
  }

  .rsvp-card,
  .party-card,
  .list-grid article,
  .gift-card,
  .simple-card {
    padding: 1.2rem;
  }

  .rsvp-section {
    background-size: 150px auto;
    background-position: center top 24px;
  }

  .faq-list summary {
    font-size: 1.05rem;
    line-height: 1.35;
    letter-spacing: 0.05em;
  }

  .payment-detail {
    overflow-wrap: anywhere;
  }

  .site-footer {
    padding: 3rem 1rem 3.5rem;
  }

  .site-footer img {
    width: 190px;
  }

  .footer-names {
    font-size: 1.55rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(var(--max), calc(100% - 1rem));
  }

  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: 0.06em;
  }

  .hero-date {
    font-size: 0.9rem;
  }

  .countdown {
    gap: 0.25rem;
  }

  .countdown-number {
    font-size: 0.92rem;
  }

  .countdown-label {
    font-size: 0.52rem;
  }

  .floral-left {
    left: -205px;
  }

  .floral-right {
    right: -205px;
  }

  .section {
    padding: 3rem 0;
  }
}
