:root {
  --bg: #f5f2ec;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --ink: #171717;
  --muted: #686868;
  --line: rgba(23, 23, 23, 0.14);
  --line-strong: rgba(23, 23, 23, 0.32);
  --accent: #242424;
  --shadow: rgba(23, 23, 23, 0.06);
  --gutter: clamp(20px, 4vw, 64px);
  --content: min(1120px, calc(100vw - (var(--gutter) * 2)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), transparent 36%),
    linear-gradient(180deg, #faf8f4 0%, var(--bg) 100%);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

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

button,
select {
  cursor: pointer;
}

.site-shell {
  width: 100%;
  overflow-x: clip;
}

.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--gutter);
  background: rgba(250, 248, 244, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.sticky-bar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-brand {
  display: grid;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.sticky-brand strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.sticky-brand span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.sticky-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.sticky-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.sticky-nav a:hover,
.sticky-nav a:focus-visible {
  color: var(--ink);
  border-color: var(--line-strong);
  outline: none;
}

.hero,
.section {
  width: var(--content);
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-content: center;
  padding: 118px 0 56px;
}

.hero-copy {
  max-width: 680px;
  width: 100%;
  min-width: 0;
  justify-self: center;
  text-align: center;
}

.hero-strip {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: 34px;
  padding: 0;
  background: transparent;
}

.hero-strip::before,
.hero-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 88px;
  z-index: 1;
  pointer-events: none;
}

.hero-strip::before {
  left: 0;
  background: linear-gradient(to right, #f8f5ef, rgba(248, 245, 239, 0));
}

.hero-strip::after {
  right: 0;
  background: linear-gradient(to left, #f8f5ef, rgba(248, 245, 239, 0));
}

.hero-strip-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: hero-strip-scroll 34s linear infinite;
}

.hero-strip-item {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(180px, 20vw, 260px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #101010;
}

.hero-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.02);
  transition: filter 400ms ease;
}

.hero-strip-item:hover img {
  filter: grayscale(0%) contrast(1.05);
}

.eyebrow,
.section-label,
.detail-label,
.hero-date,
.schedule-time {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.eyebrow,
.detail-label,
.section-label {
  color: var(--muted);
}

.hero h1,
.section-heading h2,
.intro-grid h3,
.story-block p:first-child,
.schedule-item h3,
.detail-card h3,
.faq-item h3 {
  font-family: "Cormorant Garamond", serif;
}

.hero h1 {
  margin: 22px 0 10px;
  font-size: clamp(3.8rem, 9vw, 6rem);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgb(156, 175, 136);
}

.hero-date {
  color: var(--ink);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 26px 0 28px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-color: var(--line-strong);
  outline: none;
}

.hero-intro {
  margin: 0 auto;
  max-width: 38ch;
  color: var(--muted);
  line-height: 1.8;
}

.hero-media {
  position: relative;
  min-height: 92px;
}

.hero-wordmark {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 4vw, 3rem);
  line-height: 0.92;
  letter-spacing: 0.2em;
  color: rgba(23, 23, 23, 0.08);
  pointer-events: none;
  text-align: center;
  width: 100%;
}
.hero-rsvp,
.rsvp-form button {
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

.hero-rsvp {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero-rsvp:hover,
.hero-rsvp:focus-visible {
  transform: translateY(-1px);
  background: #000000;
  outline: none;
}

.section {
  padding: 108px 0 36px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2.5rem, 10vw, 4rem);
  line-height: 0.98;
  font-weight: 600;
  position: relative;
}

.section-heading.centered h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 24px auto 0;
}

.section-note {
  max-width: 60ch;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.75;
}

.intro-grid,
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.intro-grid article,
.detail-card,
.faq-item,
.rsvp-summary,
.rsvp-form {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px var(--shadow);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.faq-item:hover,
.funfact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(23, 23, 23, 0.12);
}

.intro-grid article,
.detail-card {
  padding: 28px;
}

.intro-grid h3,
.detail-card h3 {
  margin: 10px 0 14px;
  font-size: 2rem;
  line-height: 0.96;
  font-weight: 600;
}

.intro-grid p,
.detail-card p,
.faq-item p,
.rsvp-summary span,
.form-helper,
.form-status {
  color: var(--muted);
  line-height: 1.75;
}

.story-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.story-block {
  padding: 28px;
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
}

.story-block.featured {
  border-top-width: 2px;
}

.story-block p {
  margin: 0 0 16px;
  line-height: 1.9;
  text-align: justify;
}

.story-block p:last-child {
  margin-bottom: 0;
}

.story-block p:first-of-type::first-letter {
  font-size: 3.5em;
  line-height: 0.8;
  float: left;
  margin: 0.05em 0.1em 0 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.story-quote {
  max-width: 27ch;
  margin: 34px 0 0 auto;
  padding-top: 20px;
  border-top: 2px solid var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink);
  font-style: italic;
  position: relative;
}

.story-quote::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -20px;
  font-size: 5rem;
  line-height: 1;
  color: var(--line);
  font-style: normal;
}

.schedule-list {
  max-width: 680px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.schedule-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 28px;
}

.schedule-overview-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  box-shadow: 0 14px 30px var(--shadow);
}

.schedule-overview-label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.schedule-overview-card strong {
  display: block;
  margin-top: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 0.98;
  font-weight: 600;
}

.schedule-overview-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.schedule-item {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(240px, 1fr);
  gap: 18px 32px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 200ms ease;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.schedule-item:hover {
  background: rgba(255, 255, 255, 0.5);
}

.schedule-left h3 {
  margin: 0 0 6px;
  font-size: 1.95rem;
  line-height: 0.95;
  font-weight: 600;
}

.schedule-left .schedule-time {
  display: inline-block;
  padding-top: 4px;
}

.schedule-right {
  display: grid;
  gap: 4px;
}

.schedule-right p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.schedule-right p:first-child {
  color: var(--ink);
}

.map-link {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(23, 23, 23, 0.25);
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.map-link:hover {
  color: rgb(156, 175, 136);
  text-decoration-color: rgb(156, 175, 136);
}

.details-grid {
  align-items: stretch;
}

.detail-card {
  min-height: 100%;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.faq-item {
  padding: 28px;
}

.faq-item h3 {
  margin: 0 0 14px;
  font-size: 1.95rem;
  line-height: 1.1;
  font-weight: 600;
  overflow-wrap: break-word;
  word-break: break-word;
}

.faq-item p {
  margin: 0;
  overflow-wrap: break-word;
}

.funfacts-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
}

.funfacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.funfact-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px var(--shadow);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.funfact-card h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0 0 20px;
  font-size: 2.2rem;
  line-height: 1.1;
  font-weight: 600;
  color: var(--ink);
}

.funfact-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.85;
  text-align: justify;
}

.funfact-card p:last-child {
  margin-bottom: 0;
}

.funfact-card p:first-of-type::first-letter {
  font-size: 3em;
  line-height: 0.85;
  float: left;
  margin: 0.05em 0.08em 0 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--ink);
}

.gift-section {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5));
}

.gift-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.gift-intro {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 36px;
}

.gift-details {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px var(--shadow);
  padding: 32px;
  display: grid;
  gap: 20px;
}

.gift-detail-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.gift-detail-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.gift-label {
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.gift-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}

.rsvp-layout {
  display: grid;
  gap: 26px;
  align-items: start;
}

.rsvp-summary,
.rsvp-form {
  padding: 28px;
}

.summary-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.summary-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.summary-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-list strong,
.rsvp-form label span {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rsvp-form {
  display: grid;
  gap: 18px;
  background: var(--surface-strong);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-wide {
  grid-column: 1 / -1;
}

.rsvp-form label {
  display: grid;
  gap: 8px;
  position: relative;
}

.rsvp-form label:has([required]) span::after {
  content: " *";
  color: #c53030;
  font-weight: 600;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 14px 15px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(23, 23, 23, 0.08);
  transform: translateY(-1px);
}

.rsvp-form input.field-valid,
.rsvp-form select.field-valid,
.rsvp-form textarea.field-valid {
  border-color: #2d7a3e;
  background: rgba(45, 122, 62, 0.02);
}

.rsvp-form input.field-invalid,
.rsvp-form select.field-invalid,
.rsvp-form textarea.field-invalid {
  border-color: #c53030;
  background: rgba(197, 48, 48, 0.02);
  animation: shake 400ms ease;
}

.rsvp-form input:disabled,
.rsvp-form select:disabled,
.rsvp-form textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f5;
  transition: opacity 300ms ease, background-color 300ms ease;
}

.rsvp-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23171717' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.rsvp-form button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  background: var(--accent);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  overflow: hidden;
}

.rsvp-form button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.rsvp-form button:active::before {
  width: 300px;
  height: 300px;
}

.rsvp-form button:hover,
.rsvp-form button:focus-visible {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  outline: none;
}

.rsvp-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.rsvp-form button.submitting {
  pointer-events: none;
}

.rsvp-form button.submitting::after {
  content: "...";
  animation: dots 1.4s infinite;
}

.form-helper,
.form-status {
  margin: 0;
  font-size: 0.94rem;
}

.form-status {
  padding: 16px 20px;
  border-radius: 4px;
  transition: opacity 300ms ease, transform 300ms ease;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  background: rgba(45, 122, 62, 0.1);
  color: #2d7a3e;
  border: 1px solid rgba(45, 122, 62, 0.3);
  animation: slideIn 400ms ease;
}

.form-status.persistent {
  padding: 28px 24px;
  font-size: 1.1rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form-status.error {
  background: rgba(197, 48, 48, 0.1);
  color: #c53030;
  border: 1px solid rgba(197, 48, 48, 0.3);
  animation: slideIn 400ms ease;
}

.field-error {
  color: #c53030;
  font-size: 0.78rem;
  margin-top: 4px;
  display: block;
  animation: fadeIn 200ms ease;
}

@media (max-width: 1024px) {
  .sticky-bar {
    gap: 14px;
    padding-block: 12px;
  }

  .sticky-brand strong {
    font-size: 1.22rem;
  }

  .sticky-nav {
    gap: 14px;
  }

  .hero,
  .intro-grid,
  .story-layout,
  .schedule-overview,
  .details-grid,
  .faq-list,
  .rsvp-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-media {
    min-height: 92px;
  }

  .hero-wordmark {
    top: 2px;
    font-size: 3rem;
    letter-spacing: 0.2em;
  }

  .story-quote,
  .section-heading,
  .section-heading.centered {
    margin-inline: 0;
    text-align: left;
  }

  .section-note {
    margin-inline: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
  }

  .sticky-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sticky-brand strong {
    font-size: 1.08rem;
    color: rgb(156, 175, 136);
  }

  .sticky-brand span {
    font-size: 0.62rem;
  }

  .sticky-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .sticky-nav::-webkit-scrollbar {
    display: none;
  }

  .sticky-nav a {
    font-size: 0.72rem;
  }

  .hero {
    gap: 18px;
    padding: 126px 0 40px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    margin: 16px 0 8px;
    font-size: clamp(2.55rem, 14vw, 3.5rem);
    line-height: 0.98;
    letter-spacing: 0.04em;
  }

  .hero-date,
  .eyebrow,
  .section-label,
  .detail-label,
  .schedule-time {
    letter-spacing: 0.22em;
    font-size: 0.72rem;
  }

  .site-nav {
    justify-content: center;
    overflow-x: auto;
    gap: 14px;
    margin: 18px 0 18px;
    padding: 0 0 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    scroll-snap-align: start;
  }

  .hero-intro {
    max-width: 30ch;
    font-size: 0.95rem;
    line-height: 1.72;
  }

  .hero-media {
    min-height: 64px;
  }

  .hero-strip {
    margin-top: 22px;
    padding: 0;
  }

  .hero-strip::before,
  .hero-strip::after {
    width: 22px;
  }

  .hero-strip-track {
    gap: 0;
  }

  .hero-strip-item {
    width: clamp(140px, 38vw, 200px);
    min-width: clamp(140px, 38vw, 200px);
    aspect-ratio: 3 / 4;
  }

  .hero-wordmark {
    top: 6px;
    font-size: 2.5rem;
    letter-spacing: 0.16em;
    color: rgba(23, 23, 23, 0.45);
  }

  .hero-rsvp {
    min-width: 76px;
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .schedule-item,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .schedule-item {
    gap: 10px;
  }

  .schedule-left h3 {
    margin-bottom: 4px;
  }

  .section {
    padding-top: 84px;
  }

  .intro-grid article,
  .detail-card,
  .faq-item,
  .rsvp-summary,
  .rsvp-form,
  .story-block,
  .funfact-card,
  .gift-details {
    padding: 22px;
  }

  .faq-item h3 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .gift-detail-row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .gift-value {
    font-size: 1.2rem;
  }

  .form-actions {
    align-items: stretch;
  }

  .rsvp-form button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .sticky-bar {
    padding-top: 8px;
  }

  .hero {
    padding-top: 122px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 13vw, 3rem);
  }

  .hero-intro {
    max-width: 26ch;
    font-size: 0.92rem;
  }

  .hero-strip-item {
    width: clamp(120px, 42vw, 160px);
    min-width: clamp(120px, 42vw, 160px);
  }

  .hero-wordmark {
    font-size: 2.15rem;
  }
}

@keyframes hero-strip-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-4px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(4px);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes dots {
  0%, 20% {
    content: ".";
  }
  40% {
    content: "..";
  }
  60%, 100% {
    content: "...";
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-strip-track {
    animation: none;
  }

  .rsvp-form input,
  .rsvp-form select,
  .rsvp-form textarea,
  .rsvp-form button,
  .form-status {
    animation: none !important;
    transition: none !important;
  }
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 40px 20px 30px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5));
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 200ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: rgb(156, 175, 136);
  outline: none;
}
