@font-face {
  font-family: "Borest";
  src: url("./assets/fonts/Borest-Regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Circular";
  src:
    url("./assets/fonts/CircularXXWeb-Regular.woff2") format("woff2"),
    url("./assets/fonts/CircularXXWeb-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Circular";
  src:
    url("./assets/fonts/CircularXXWeb-Medium.woff2") format("woff2"),
    url("./assets/fonts/CircularXXWeb-Medium.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1f51a0;
  --blue-deep: #163d7a;
  --blue-bright: #2c68c9;
  --blue-soft: rgba(31, 81, 160, 0.12);
  --olive: #7b8660;
  --olive-soft: #d7ddc8;
  --rose: #d7a39c;
  --rose-soft: #f3ddd7;
  --wine: #8d6377;
  --cream-warm: #fffaf4;
  --text: #1f51a0;
  --paper: #ffffff;
  --paper-soft: #f8fbff;
  --champagne: #f4ede2;
  --champagne-deep: #e8ddcd;
  --line: #d8e0ef;
  --shadow: 0 18px 44px rgba(31, 81, 160, 0.08);
  --content-width: 1020px;
  --hero-width: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Circular", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--cream-warm);
  background-image:
    radial-gradient(circle at top left, rgba(215, 163, 156, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(123, 134, 96, 0.1), transparent 24%),
    url("./assets/images/site-background.jpg");
  background-repeat: no-repeat, no-repeat, repeat-y;
  background-position: left top, right top, left top;
  background-size: auto, auto, 100% auto;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes soft-zoom-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow-drift {
  0%,
  100% {
    box-shadow:
      0 18px 36px rgba(31, 81, 160, 0.12),
      0 0 0 1px rgba(31, 81, 160, 0.06);
  }

  50% {
    box-shadow:
      0 22px 44px rgba(31, 81, 160, 0.16),
      0 0 0 1px rgba(31, 81, 160, 0.08);
  }
}

@keyframes botanical-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float-sway {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -6px, 0) rotate(1.6deg);
  }
}

@keyframes hero-cta-glow {
  0%,
  100% {
    box-shadow:
      0 22px 42px rgba(31, 81, 160, 0.26),
      0 0 0 0 rgba(44, 104, 201, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  50% {
    box-shadow:
      0 26px 48px rgba(31, 81, 160, 0.32),
      0 0 0 10px rgba(44, 104, 201, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  width: min(100%, var(--hero-width));
  margin: 0 auto;
  overflow-x: clip;
}

body[data-page="admin"] .site-shell {
  width: 100%;
  max-width: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 251, 247, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(141, 99, 119, 0.06);
}

.admin-site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.95rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.admin-site-bar__brand {
  font-family: "Borest", "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.admin-site-bar__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(31, 81, 160, 0.78);
}

.meta-bar,
.title-bar,
.site-nav-shell {
  border-bottom: 1px solid rgba(215, 163, 156, 0.22);
}

.meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 56px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.title-bar {
  position: relative;
  padding: 1.25rem 1rem 0.65rem;
  text-align: center;
}

.site-title,
.section-heading h2,
.card h3,
.names-lockup h1,
.date-lockup h2,
.schedule-day h2,
.travel-item h2,
.party-member h2,
.faq-item h2 {
  font-family: "Borest", "Times New Roman", serif;
  color: var(--blue);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.3;
}

.site-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.site-title a {
  color: inherit;
}

.section-heading {
  padding: 0 1.25rem;
  text-align: center;
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 0 1.4rem;
  padding: 0 1rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 0 0.8rem;
  font-size: 1rem;
  line-height: 1.6;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.page-content {
  width: 100%;
}

.hero {
  width: 100%;
  position: relative;
  height: 100svh;
  background: transparent;
}

.hero__stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.scroll-content {
  position: relative;
  z-index: 1;
  padding-top: 0.1px;
  background-color: var(--cream-warm);
  background-image:
    radial-gradient(circle at top left, rgba(215, 163, 156, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(123, 134, 96, 0.1), transparent 24%),
    url("./assets/images/site-background.jpg");
  background-repeat: no-repeat, no-repeat, repeat-y;
  background-position: left top, right top, left top;
  background-size: auto, auto, 100% auto;
}

.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 31, 58, 0.12), rgba(16, 31, 58, 0.04) 26%, rgba(16, 31, 58, 0.24) 100%),
    linear-gradient(180deg, rgba(255, 249, 243, 0) 55%, rgba(255, 249, 243, 0.18) 100%);
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2));
  transform: scale(1.03);
}

.hero__overlay {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  color: #fffaf4;
  opacity: var(--hero-overlay-opacity, 1);
}

.hero__eyebrow {
  font-size: 0.84rem;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 250, 244, 0.9);
  text-shadow: 0 8px 24px rgba(18, 25, 40, 0.28);
}

.hero__title {
  max-width: 12ch;
  font-family: "Borest", "Times New Roman", serif;
  font-size: clamp(2.35rem, 7.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fffaf4;
  text-shadow:
    0 18px 36px rgba(12, 20, 34, 0.34),
    0 2px 4px rgba(12, 20, 34, 0.14);
}

.paper-card {
  width: min(calc(100% - 3rem), var(--content-width));
  margin: -7rem auto 0;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 250, 244, 0.99));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.92),
    0 26px 54px rgba(141, 99, 119, 0.06);
  position: relative;
  z-index: 2;
}

.home-schedule {
  margin-top: 2.4rem;
  padding: 3.1rem 0 4.2rem;
  scroll-margin-top: 8.5rem;
}

.home-schedule .section-heading h2 {
  font-size: clamp(2rem, 4.2vw, 2.8rem);
}

.home-schedule .page-blurb {
  margin-top: 0.95rem;
}

.home-schedule .schedule-day:first-of-type {
  margin-top: 2.25rem;
}

.inner-paper {
  width: min(calc(100% - 3rem), 820px);
  margin: 0 auto;
  padding: 1.35rem 0 3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 243, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.92),
    0 24px 48px rgba(141, 99, 119, 0.05);
}

body:not([data-page="home"]):not([data-page="admin"]) .inner-paper::before,
body:not([data-page="home"]):not([data-page="admin"]) .inner-paper::after {
  content: none;
}

.inner-paper--short {
  min-height: 820px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-paper--registry {
  min-height: 820px;
}

.inner-paper--rsvp {
  min-height: 820px;
}

.inner-paper--admin {
  width: calc(100% - 2rem);
  max-width: none;
  min-height: 820px;
}

.inner-paper--faq {
  min-height: 640px;
}

.paper-card,
.inner-paper,
.intro-block,
.date-lockup,
.registry-card,
.travel-item,
.event-card,
.faq-item,
.rsvp-card,
.rsvp-match {
  position: relative;
}

body:not([data-page="admin"]) .paper-card,
body:not([data-page="admin"]) .inner-paper,
body[data-page="home"] .intro-block,
.registry-card,
.travel-item,
.event-card,
.faq-item,
.rsvp-card,
.rsvp-match {
  overflow: hidden;
  isolation: isolate;
}

.paper-card > *,
.inner-paper > *,
.intro-block > *,
.registry-card > *,
.travel-item > *,
.event-card > *,
.faq-item > *,
.rsvp-card > *,
.rsvp-match > * {
  position: relative;
  z-index: 1;
}

.paper-card::before,
.paper-card::after {
  content: none;
}

.intro-block::before,
.intro-block::after {
  content: none;
}

.date-lockup::after,
.schedule-day h2::before {
  content: none;
}

.intro-block {
  padding: 5.5rem 2rem 3rem;
  text-align: center;
}

.names-lockup h1 {
  font-size: clamp(2.9rem, 7vw, 4.4rem);
}

.names-lockup p {
  margin: 1.35rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.date-lockup {
  margin-top: 2.5rem;
}

.date-lockup h2 {
  font-size: clamp(2rem, 4.6vw, 2.5rem);
}

.date-lockup p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.countdown__part {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  min-height: 3rem;
  padding: 0.58rem 0.95rem;
  border: 1px solid rgba(215, 163, 156, 0.25);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 242, 0.98));
  box-shadow: 0 12px 24px rgba(141, 99, 119, 0.08);
}

.cta-stack {
  margin-top: 2.15rem;
}

.cta-kicker {
  margin-bottom: 1rem;
  font-size: 0.86rem;
  line-height: 1.45;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(141, 99, 119, 0.82);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 0;
}

.cta-row--center {
  justify-content: center;
}

.inner-hero {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.65rem 1.25rem 0;
}

.inner-hero::before,
.inner-hero::after {
  content: none;
}

.inner-hero img {
  width: min(100%, 560px);
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(31, 81, 160, 0.14);
}

.page-blurb,
.registry-copy {
  max-width: 620px;
  margin: 1.25rem auto 0;
  padding: 0 1.25rem;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.72;
}

.registry-copy {
  max-width: 520px;
  margin-top: 0;
}

.page-blurb::after,
.registry-copy::after,
.rsvp-panel__intro::after {
  content: none;
}

.registry-panel {
  padding: 4.2rem 1.25rem 5rem;
  overflow-x: hidden;
}

.registry-filters {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.registry-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  background: #fff;
  color: var(--blue);
  font-size: 0.84rem;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.registry-filter:hover,
.registry-filter:focus-visible,
.registry-filter.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.registry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 780px;
  margin: 2rem auto 0;
  min-width: 0;
}

.registry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 280px;
  padding: 2.2rem 1.4rem 1.4rem;
  border: 1px solid rgba(215, 163, 156, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 14% 12%, rgba(215, 163, 156, 0.18), transparent 20%),
    radial-gradient(circle at 90% 12%, rgba(123, 134, 96, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 242, 0.98));
  box-shadow:
    0 20px 42px rgba(31, 81, 160, 0.08),
    0 18px 34px rgba(141, 99, 119, 0.06);
  text-align: left;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.registry-card:hover,
.registry-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(215, 163, 156, 0.46);
  box-shadow:
    0 26px 52px rgba(31, 81, 160, 0.1),
    0 24px 40px rgba(141, 99, 119, 0.1);
}

.registry-card::before,
.travel-item::before,
.event-card::before,
.faq-item::before,
.rsvp-card::before,
.rsvp-match::before {
  content: none;
}

.travel-item::after,
.event-card::after,
.faq-item::after,
.rsvp-card::after,
.registry-card::after {
  content: none;
}

.registry-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(31, 81, 160, 0.08);
  font-family: "Borest", "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.registry-card__eyebrow,
.registry-note {
  font-size: 0.82rem;
  line-height: 1.55;
}

.registry-card__eyebrow {
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.registry-card h2 {
  margin-top: 0.45rem;
  font-family: "Borest", "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.registry-card__amount {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.registry-card__description {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.registry-card__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 46px;
  min-width: 10.5rem;
  border: 1px solid rgba(215, 163, 156, 0.3);
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  background: linear-gradient(180deg, #fffdf9, #f7ede5);
  color: var(--wine);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  box-shadow:
    0 12px 24px rgba(31, 81, 160, 0.05),
    0 10px 20px rgba(141, 99, 119, 0.08);
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.registry-card__cta:hover,
.registry-card__cta:focus-visible {
  border-color: rgba(215, 163, 156, 0.48);
  background: linear-gradient(180deg, #fffefb, #f3e6dc);
  transform: translateY(-2px);
  box-shadow:
    0 18px 30px rgba(31, 81, 160, 0.06),
    0 18px 26px rgba(141, 99, 119, 0.1),
    0 0 0 4px rgba(215, 163, 156, 0.12);
}

.registry-note {
  max-width: 540px;
  margin: 1.5rem auto 0;
  text-align: center;
}

.rsvp-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  overflow-x: hidden;
}

.rsvp-panel__heading {
  font-family: "Borest", "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

.rsvp-panel__intro,
.rsvp-note,
.rsvp-empty,
.rsvp-card__meta,
.rsvp-card__status,
.rsvp-card__saved,
.rsvp-helper,
.rsvp-field__hint {
  font-size: 0.96rem;
  line-height: 1.65;
}

.rsvp-panel__intro,
.rsvp-note,
.rsvp-helper,
.rsvp-empty {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.rsvp-panel__intro {
  margin-top: 1rem;
}

.rsvp-helper {
  margin-top: 0.8rem;
}

.rsvp-search {
  max-width: 620px;
  margin: 2rem auto 0;
}

.rsvp-search__label,
.rsvp-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rsvp-search__row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.rsvp-input,
.rsvp-textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue);
}

.rsvp-input {
  min-height: 48px;
  padding: 0.75rem 0.95rem;
}

.rsvp-textarea {
  min-height: 120px;
  padding: 0.9rem 0.95rem;
  resize: vertical;
}

.rsvp-textarea--compact {
  min-height: 92px;
}

.rsvp-results {
  margin-top: 1.75rem;
}

.rsvp-empty {
  padding: 1.75rem 1.25rem;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.85);
}

.rsvp-match-list {
  display: grid;
  gap: 0.8rem;
}

.rsvp-match {
  width: 100%;
  padding: 1.85rem 1.1rem 1rem;
  border: 1px solid rgba(215, 163, 156, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 12%, rgba(215, 163, 156, 0.18), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(123, 134, 96, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 242, 0.98));
  color: var(--blue);
  text-align: left;
  box-shadow:
    0 16px 32px rgba(31, 81, 160, 0.06),
    0 14px 26px rgba(141, 99, 119, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.rsvp-match:hover,
.rsvp-match:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(215, 163, 156, 0.46);
  box-shadow:
    0 22px 40px rgba(31, 81, 160, 0.08),
    0 20px 30px rgba(141, 99, 119, 0.08);
}

.rsvp-match h3,
.rsvp-card h2 {
  font-family: "Borest", "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.rsvp-match h3 {
  font-size: 1.35rem;
  letter-spacing: 1.3px;
}

.rsvp-match p {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.rsvp-card {
  padding: 2.2rem 1.5rem 1.5rem;
  border: 1px solid rgba(215, 163, 156, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 14% 12%, rgba(215, 163, 156, 0.18), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(123, 134, 96, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 242, 0.98));
  box-shadow:
    0 22px 48px rgba(31, 81, 160, 0.08),
    0 20px 38px rgba(141, 99, 119, 0.06);
}

.rsvp-card__eyebrow {
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rsvp-card h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 1.6px;
}

.rsvp-card__header {
  display: grid;
  gap: 0.45rem;
}

.rsvp-card__copy,
.rsvp-card__summary {
  margin-top: 0.35rem;
  font-size: 0.96rem;
  line-height: 1.65;
}

.rsvp-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.rsvp-pill {
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  background: rgba(31, 81, 160, 0.08);
  font-size: 0.82rem;
  line-height: 1;
}

.rsvp-household-summary {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.rsvp-card__meta + .rsvp-card__meta,
.rsvp-card__meta + .rsvp-household {
  margin-top: 0.45rem;
}

.rsvp-household {
  margin-top: 0.85rem;
  padding: 1rem 1rem 0;
  border-top: 1px solid var(--line);
}

.rsvp-household__list {
  margin-top: 0.6rem;
  padding-left: 1.15rem;
}

.rsvp-household__list li + li {
  margin-top: 0.3rem;
}

.rsvp-choice-group {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.rsvp-choice-group--compact {
  gap: 0.45rem;
}

.rsvp-choice {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.92rem;
  background: #fff;
  color: var(--blue);
  font-size: 0.84rem;
  line-height: 1;
}

.rsvp-choice.is-selected[data-response="yes"] {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.rsvp-choice.is-selected[data-response="no"] {
  border-color: #d58c8c;
  background: #f4dfdf;
  color: #7a3f3f;
}

.rsvp-choice.is-selected[data-response="pending"] {
  border-color: #5d5b58;
  background: rgba(93, 91, 88, 0.12);
  color: #5d5b58;
}

.rsvp-count-group {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}

.rsvp-count-option {
  min-width: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  background: #fff;
  color: var(--blue);
  font-size: 0.9rem;
  line-height: 1;
}

.rsvp-count-option.is-selected {
  border-color: var(--blue);
  background: rgba(31, 81, 160, 0.1);
}

.rsvp-field {
  margin-top: 1.2rem;
}

.rsvp-field--nested {
  margin-top: 0.85rem;
}

.rsvp-field__hint {
  margin-top: 0.35rem;
}

.rsvp-event-list,
.rsvp-guest-list,
.rsvp-question-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.rsvp-event-card,
.rsvp-guest-card {
  padding: 1rem;
  border: 1px solid rgba(31, 81, 160, 0.11);
  border-radius: 20px;
  background: rgba(248, 250, 255, 0.86);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.rsvp-event-card:hover,
.rsvp-guest-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 81, 160, 0.2);
  box-shadow: 0 16px 32px rgba(31, 81, 160, 0.08);
}

.rsvp-event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rsvp-guest-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.rsvp-guest-card__meta {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(31, 81, 160, 0.66);
}

.is-hidden {
  display: none;
}

.rsvp-card__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(31, 81, 160, 0.08);
  align-items: center;
  justify-content: flex-start;
}

.rsvp-card__status,
.rsvp-card__saved {
  margin-top: 0.85rem;
}

.unlock-panel {
  max-width: 540px;
  margin: 0 auto;
}

.unlock-form {
  margin-top: 1.25rem;
}

.admin-panel {
  max-width: none;
  margin: 0 auto;
  padding: 2.9rem 0.75rem 5rem;
}

.admin-hero,
.admin-hero-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
}

.admin-hero-card {
  padding: 1.6rem;
  border: 1px solid rgba(31, 81, 160, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(31, 81, 160, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.98));
  box-shadow: 0 26px 54px rgba(31, 81, 160, 0.1);
}

.admin-hero-copy {
  flex: 1 1 55%;
  min-width: 0;
}

.admin-hero-side {
  display: grid;
  gap: 1rem;
  align-content: space-between;
  flex: 0 0 min(28rem, 40%);
}

.admin-eyebrow,
.admin-stat__label,
.admin-card__count,
.admin-source {
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-panel__heading {
  font-family: "Borest", "Times New Roman", serif;
  font-size: clamp(1.95rem, 4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.admin-panel__intro,
.admin-note,
.admin-stat__detail,
.admin-table__secondary,
.admin-list__item span,
.admin-list__empty,
.admin-table__count,
.admin-flash {
  font-size: 0.95rem;
  line-height: 1.65;
}

.admin-panel__intro {
  max-width: 680px;
  margin-top: 0.8rem;
}

.admin-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.admin-meta-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.admin-meta-pill,
.admin-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 2.2rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(31, 81, 160, 0.14);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(31, 81, 160, 0.86);
}

.admin-meta-pill--soft {
  background: rgba(31, 81, 160, 0.08);
}

.admin-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-highlight {
  min-height: 8.2rem;
  padding: 1rem;
  border: 1px solid rgba(31, 81, 160, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.admin-highlight__label {
  font-size: 0.74rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 81, 160, 0.68);
}

.admin-highlight__value {
  margin-top: 0.55rem;
  font-family: "Borest", "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-highlight__detail {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(24, 59, 84, 0.8);
}

.admin-auth-card {
  max-width: 720px;
}

.admin-login {
  margin-top: 1rem;
}

.admin-login__row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.admin-source,
.admin-flash,
.admin-note {
  margin-top: 1rem;
}

.admin-flash {
  color: var(--blue);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.admin-stat,
.admin-card {
  border: 1px solid rgba(31, 81, 160, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(31, 81, 160, 0.08);
}

.admin-stat {
  position: relative;
  padding: 1.2rem 1.15rem 1.15rem;
}

.admin-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, rgba(31, 81, 160, 0.95), rgba(31, 81, 160, 0.22));
}

.admin-stat__value {
  margin-top: 0.45rem;
  font-family: "Borest", "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.admin-stat__detail {
  margin-top: 0.55rem;
}

.admin-card {
  margin-top: 1.25rem;
  padding: 1.35rem;
}

.admin-editor-card {
  margin-top: 1.5rem;
  border-color: rgba(31, 81, 160, 0.14);
  box-shadow: 0 24px 52px rgba(31, 81, 160, 0.11);
}

.admin-editor {
  margin-top: 1rem;
}

.admin-editor__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-editor__grid--guest,
.admin-editor__grid--questions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-editor__note {
  grid-column: 1 / -1;
}

.admin-subsection {
  margin-top: 1.3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(31, 81, 160, 0.08);
}

.admin-subsection__header,
.admin-settings-section__header,
.admin-guest-editor__header,
.admin-settings-question__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.admin-subsection__header,
.admin-settings-section__header,
.admin-guest-editor__header {
  margin-bottom: 0.85rem;
}

.admin-subsection__header h3,
.admin-settings-section h3,
.admin-guest-editor__header h3 {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}

.admin-guest-list,
.admin-settings-stack {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.admin-guest-editor,
.admin-settings-question {
  padding: 1rem;
  border: 1px solid rgba(31, 81, 160, 0.09);
  border-radius: 20px;
  background: rgba(248, 250, 255, 0.76);
}

.admin-settings-card {
  margin-top: 1.5rem;
}

.admin-settings-form {
  margin-top: 1rem;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-settings-section {
  padding: 1rem;
  border: 1px solid rgba(31, 81, 160, 0.08);
  border-radius: 20px;
  background: rgba(248, 250, 255, 0.74);
}

.admin-settings-section--full {
  grid-column: 1 / -1;
}

.admin-inline-check,
.admin-inline-check-grid {
  display: flex;
}

.admin-inline-check {
  align-items: center;
  gap: 0.6rem;
  font-size: 0.94rem;
  line-height: 1.5;
}

.admin-inline-check input {
  margin: 0;
}

.admin-inline-check-grid {
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: 0.6rem;
}

.admin-settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.admin-settings-row--event-response {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-settings-question__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
}

.admin-controls--panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(31, 81, 160, 0.08);
  border-radius: 20px;
  background: rgba(244, 247, 253, 0.82);
}

.admin-search__row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.admin-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.admin-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  background: #fff;
  color: var(--blue);
  font-size: 0.84rem;
  line-height: 1;
}

.admin-filter.is-active {
  border-color: var(--blue);
  background: rgba(31, 81, 160, 0.1);
}

.admin-table__count {
  margin-top: 1rem;
}

.admin-table-wrap {
  margin-top: 1rem;
  max-height: clamp(20rem, 48vh, 32rem);
  overflow: auto;
  border: 1px solid rgba(31, 81, 160, 0.09);
  border-radius: 20px;
  scrollbar-gutter: stable both-edges;
  background: rgba(255, 255, 255, 0.92);
}

.admin-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0.75rem;
  vertical-align: top;
  text-align: left;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1),
.admin-table th:nth-child(10),
.admin-table td:nth-child(10) {
  white-space: nowrap;
}

.admin-table td:nth-child(1),
.admin-table td:nth-child(10) {
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
  min-width: 15rem;
}

.admin-table th:nth-child(10),
.admin-table td:nth-child(10) {
  min-width: 18rem;
}

.admin-table tbody tr:hover td {
  background: rgba(31, 81, 160, 0.03);
}

.admin-table tr.is-editing td {
  background: rgba(31, 81, 160, 0.05);
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(247, 249, 254, 0.98);
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table__primary,
.admin-card__header h2 {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

.admin-table__secondary {
  margin-top: 0.2rem;
  color: rgba(24, 59, 84, 0.82);
}

.admin-table__empty {
  text-align: center;
}

.admin-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  font-size: 0.8rem;
  line-height: 1;
}

.admin-status--pending {
  background: rgba(93, 91, 88, 0.12);
  color: #5d5b58;
}

.admin-status--attending {
  background: rgba(31, 81, 160, 0.1);
  color: var(--blue);
}

.admin-status--declined {
  background: #f4dfdf;
  color: #7a3f3f;
}

.admin-inline-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.admin-action-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}

.admin-row-button {
  min-width: 92px;
}

.admin-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.admin-card--notes {
  grid-column: 1 / -1;
}

.admin-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.admin-card__header--stack {
  align-items: flex-start;
}

.admin-card__header h2 {
  font-family: "Borest", "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-card__eyebrow {
  font-size: 0.76rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 81, 160, 0.68);
}

.admin-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0;
}

.admin-list__item {
  display: grid;
  gap: 0.18rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.admin-list__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.admin-list-scroll {
  max-height: 18rem;
  overflow: auto;
  margin-top: 1rem;
  padding-right: 0.35rem;
}

.schedule-day {
  margin-top: 3rem;
  text-align: center;
}

.schedule-day h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.event-card {
  max-width: 620px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}

.event-card + .event-card {
  margin-top: 2.2rem;
}

.event-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.event-card__time,
.event-card__venue,
.travel-item__subline,
.travel-item__note,
.party-member p,
.faq-item__answer {
  margin-top: 0.35rem;
  font-size: 1rem;
  line-height: 1.65;
}

.event-card__note {
  max-width: 560px;
  margin: 0.35rem auto 0;
  font-size: 1rem;
  line-height: 1.65;
}

.event-card__note--multiline {
  white-space: pre-line;
}

.action-row {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.35rem;
  padding-top: 0.1rem;
}

.primary-button,
.secondary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(31, 81, 160, 0.12);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
  overflow: hidden;
}

.cta-row .primary-button,
.cta-row .secondary-button,
.rsvp-card__actions .primary-button,
.rsvp-card__actions .secondary-button {
  min-width: 11rem;
}

.primary-button__eyebrow,
.primary-button__label {
  position: relative;
  z-index: 1;
}

.primary-button__eyebrow {
  display: block;
  margin-bottom: 0.38rem;
  font-size: 0.68rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.primary-button__label {
  display: block;
  font-size: 1.12rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.primary-button::before,
.secondary-button::before,
.action-pill::before,
.registry-card__cta::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 50%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.primary-button {
  border: 1px solid var(--blue);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 58%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow:
    0 16px 30px rgba(31, 81, 160, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.primary-button--hero {
  min-width: min(100%, 18.5rem);
  min-height: 5.2rem;
  padding: 1rem 1.55rem 1.08rem;
  border-color: #2d62bb;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.24), transparent 46%),
    linear-gradient(135deg, #2d66c7 0%, #1f51a0 55%, #14356a 100%);
  text-align: center;
  box-shadow:
    0 22px 42px rgba(31, 81, 160, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: hero-cta-glow 3.8s ease-in-out infinite;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: linear-gradient(135deg, #1d4c98 0%, #2a61bd 58%, #14376d 100%);
  border-color: #19468b;
  transform: translateY(-2px);
  box-shadow:
    0 20px 36px rgba(31, 81, 160, 0.24),
    0 0 0 4px rgba(31, 81, 160, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.primary-button--hero:hover,
.primary-button--hero:focus-visible {
  transform: translateY(-3px) scale(1.015);
}

.secondary-button {
  border: 1px solid rgba(31, 81, 160, 0.14);
  background: linear-gradient(180deg, #fffefb, #f7eee7);
  color: var(--wine);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: rgba(215, 163, 156, 0.34);
  background: linear-gradient(180deg, #fffefb, #f3e6dc);
  transform: translateY(-2px);
  box-shadow:
    0 18px 30px rgba(31, 81, 160, 0.06),
    0 18px 24px rgba(141, 99, 119, 0.08),
    0 0 0 4px rgba(215, 163, 156, 0.12);
}

.primary-button:disabled,
.secondary-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.action-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 10.75rem;
  border: 1px solid rgba(215, 163, 156, 0.3);
  border-radius: 999px;
  padding: 0.78rem 1.3rem;
  background: linear-gradient(180deg, #fffefb, #f4e9df);
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow:
    0 12px 24px rgba(89, 108, 145, 0.06),
    0 10px 18px rgba(141, 99, 119, 0.08);
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.action-pill:hover,
.action-pill:focus-visible {
  border-color: rgba(215, 163, 156, 0.46);
  background: linear-gradient(180deg, #fffefb, #efdfd2);
  transform: translateY(-2px);
  box-shadow:
    0 16px 28px rgba(89, 108, 145, 0.08),
    0 14px 24px rgba(141, 99, 119, 0.1),
    0 0 0 4px rgba(215, 163, 156, 0.12);
}

.action-pill--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-pill--accent {
  border-color: #2559ae;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.22), transparent 46%),
    linear-gradient(135deg, #2d66c7 0%, #1f51a0 58%, #14356a 100%);
  color: #fff;
  box-shadow:
    0 18px 30px rgba(31, 81, 160, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.action-pill--accent:hover,
.action-pill--accent:focus-visible {
  border-color: #19468b;
  background: linear-gradient(135deg, #1d4c98 0%, #2a61bd 58%, #14376d 100%);
  box-shadow:
    0 22px 34px rgba(31, 81, 160, 0.24),
    0 0 0 4px rgba(31, 81, 160, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.action-pill--map {
  min-width: 8rem;
}

.action-pill--travel {
  min-width: 11.75rem;
  min-height: 50px;
  padding-inline: 1.6rem;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  background: linear-gradient(180deg, #fffefb, #f1e4d8);
  box-shadow:
    0 18px 30px rgba(89, 108, 145, 0.08),
    0 16px 26px rgba(141, 99, 119, 0.11);
}

.action-pill--travel:hover,
.action-pill--travel:focus-visible {
  background: linear-gradient(180deg, #fffefb, #ebdacd);
}

.travel-list {
  display: grid;
  gap: 1.35rem;
  margin-top: 2rem;
  padding: 0 1.25rem;
  text-align: center;
}

.travel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 660px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 1.6rem;
  border: 1px solid rgba(215, 163, 156, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 12%, rgba(215, 163, 156, 0.18), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(123, 134, 96, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 242, 0.98));
  box-shadow:
    0 22px 44px rgba(31, 81, 160, 0.08),
    0 20px 36px rgba(141, 99, 119, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.travel-item:hover,
.travel-item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(215, 163, 156, 0.46);
  box-shadow:
    0 28px 54px rgba(31, 81, 160, 0.08),
    0 24px 40px rgba(141, 99, 119, 0.1);
}

.travel-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  min-height: 2rem;
  margin-bottom: 0.7rem;
  border: 1px solid var(--blue-soft);
  color: #6e8bc1;
  font-size: 0.76rem;
  line-height: 1.4;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 236, 226, 0.8));
  box-shadow: 0 10px 20px rgba(31, 81, 160, 0.08);
}

.travel-item h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.travel-item__subline,
.travel-item__note {
  max-width: 36rem;
}

.party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 700px;
  margin: 1.7rem auto 0;
}

.party-member {
  padding: 1.2rem 0.8rem 1.4rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 255, 0.86));
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.party-member:hover,
.party-member:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(31, 81, 160, 0.08);
}

.party-member:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.party-member--full {
  grid-column: 1 / -1;
  border-right: 0;
}

.party-member--full:nth-child(odd) {
  border-right: 0;
}

.party-member img,
.party-member__spacer {
  width: 78px;
  height: 78px;
  margin: 0 auto 0.8rem;
}

.party-member img {
  border-radius: 50%;
  object-fit: cover;
}

.party-member h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
}

.faq-list {
  display: grid;
  gap: 2.6rem;
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 0 1.25rem;
  text-align: center;
}

.faq-item__label {
  font-size: 0.76rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-item {
  padding: 2.25rem 1.35rem 1.65rem;
  border: 1px solid rgba(215, 163, 156, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 12%, rgba(215, 163, 156, 0.18), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(123, 134, 96, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 242, 0.98));
  box-shadow:
    0 22px 44px rgba(31, 81, 160, 0.08),
    0 20px 36px rgba(141, 99, 119, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.faq-item:hover,
.faq-item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(215, 163, 156, 0.46);
  box-shadow:
    0 28px 54px rgba(31, 81, 160, 0.08),
    0 24px 40px rgba(141, 99, 119, 0.1);
}

.faq-item h2 {
  margin-top: 0.3rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.faq-item__answer {
  max-width: 620px;
  margin-inline: auto;
}

.event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 660px;
  margin: 1.5rem auto 0;
  padding: 2.2rem 1.5rem 1.6rem;
  border: 1px solid rgba(215, 163, 156, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 12%, rgba(215, 163, 156, 0.18), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(123, 134, 96, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 242, 0.98));
  box-shadow:
    0 22px 44px rgba(31, 81, 160, 0.08),
    0 20px 36px rgba(141, 99, 119, 0.06);
  text-align: center;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.event-card:hover,
.event-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(215, 163, 156, 0.46);
  box-shadow:
    0 28px 54px rgba(31, 81, 160, 0.08),
    0 24px 40px rgba(141, 99, 119, 0.1);
}

.event-card .action-row,
.travel-item .action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.travel-item .action-row {
  margin-top: 1.45rem;
}

.travel-item .action-pill,
.event-card .action-pill {
  min-height: 50px;
  padding-inline: 1.55rem;
  box-shadow:
    0 16px 28px rgba(89, 108, 145, 0.08),
    0 14px 24px rgba(141, 99, 119, 0.1);
}

.travel-item .action-pill:hover,
.travel-item .action-pill:focus-visible,
.event-card .action-pill:hover,
.event-card .action-pill:focus-visible {
  transform: translateY(-3px);
}

body[data-page="travel"] .travel-item:nth-child(2),
body[data-page="schedule"] .event-card:nth-of-type(2),
body[data-page="faqs"] .faq-item:nth-child(2) {
  animation-delay: 220ms;
}

body[data-page="travel"] .travel-item:nth-child(1)::before,
body[data-page="travel"] .travel-item:nth-child(1)::after,
body[data-page="travel"] .travel-item:nth-child(2)::before,
body[data-page="travel"] .travel-item:nth-child(2)::after,
body[data-page="schedule"] .event-card::before,
body[data-page="schedule"] .event-card::after,
body[data-page="faqs"] .faq-item::before,
body[data-page="faqs"] .faq-item::after {
  animation-delay: 260ms;
}

body[data-page="home"] .hero img,
body[data-page="schedule"] .inner-hero img,
body[data-page="travel"] .inner-hero img {
  animation: soft-zoom-in 1s ease both;
}

body[data-page="home"] .names-lockup,
body[data-page="home"] .date-lockup,
body[data-page="home"] .countdown,
body[data-page="home"] .cta-row,
body[data-page="home"] .paper-card::before,
body[data-page="home"] .paper-card::after,
body[data-page="home"] .intro-block::before,
body[data-page="home"] .intro-block::after,
body[data-page="schedule"] .page-blurb,
body[data-page="schedule"] .cta-row,
body[data-page="travel"] .travel-item,
body[data-page="registry"] .registry-copy,
body[data-page="registry"] .registry-filters,
body[data-page="registry"] .registry-card,
body[data-page="registry"] .registry-note,
body[data-page="weddingParty"] .page-blurb,
body[data-page="weddingParty"] .party-member,
body[data-page="faqs"] .faq-item,
body[data-page="rsvp"] .rsvp-panel > *,
body[data-page="unlock"] .unlock-panel {
  animation: rise-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .date-lockup,
body[data-page="schedule"] .cta-row,
body[data-page="travel"] .travel-item:nth-child(1),
body[data-page="registry"] .registry-filters,
body[data-page="weddingParty"] .party-member:nth-child(1),
body[data-page="faqs"] .faq-item:nth-child(1) {
  animation-delay: 90ms;
}

body[data-page="home"] .countdown,
body[data-page="travel"] .travel-item:nth-child(2),
body[data-page="registry"] .registry-card:nth-child(1),
body[data-page="weddingParty"] .party-member:nth-child(2),
body[data-page="faqs"] .faq-item:nth-child(2) {
  animation-delay: 180ms;
}

body[data-page="home"] .cta-row,
body[data-page="registry"] .registry-card:nth-child(2),
body[data-page="weddingParty"] .party-member:nth-child(3) {
  animation-delay: 260ms;
}

body[data-page="registry"] .registry-card:nth-child(3),
body[data-page="weddingParty"] .party-member:nth-child(4) {
  animation-delay: 340ms;
}

body[data-page="home"] .countdown__part {
  animation: glow-drift 4.8s ease-in-out infinite;
}

body[data-page="home"] .countdown__part:nth-child(2) {
  animation-delay: 320ms;
}

body[data-page="home"] .countdown__part:nth-child(3) {
  animation-delay: 640ms;
}

body[data-page="home"] .countdown__part:nth-child(4) {
  animation-delay: 960ms;
}

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

@media (max-width: 767px) {
  .meta-bar {
    display: none;
  }

  .title-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 1rem 4.4rem 1rem 1rem;
  }

  .site-title {
    font-size: 1.15rem;
    letter-spacing: 1.4px;
    max-width: calc(100% - 4.5rem);
    margin: 0 auto;
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    display: inline-flex;
    z-index: 1;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f9f9f9;
    border: 1px solid rgba(25, 25, 25, 0.08);
    color: #191919;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav-shell {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease,
      max-height 180ms ease;
  }

  .site-nav-shell.is-open {
    opacity: 1;
    visibility: visible;
    max-height: 80vh;
    transform: translateY(0);
  }

  .site-nav {
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 1.2rem 1rem;
    overflow: visible;
  }

  .site-nav a {
    width: 100%;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

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

  .paper-card {
    width: min(calc(100% - 1.25rem), var(--content-width));
  }

  .inner-paper {
    width: min(calc(100% - 1.25rem), 820px);
    padding-top: 1rem;
  }

  .hero img {
    height: 100%;
    min-height: 100%;
  }

  .hero {
    height: 100svh;
  }

  .hero__stage,
  .hero__overlay {
    min-height: 31rem;
    height: 100svh;
  }

  .hero__overlay {
    justify-content: center;
    padding: 4.75rem 1.15rem 5.2rem;
  }

  .hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .hero__title {
    max-width: 10ch;
    font-size: clamp(2rem, 10.5vw, 3.4rem);
    line-height: 1.08;
  }

  .paper-card {
    margin-top: -4.5rem;
  }

  .home-schedule {
    margin-top: 1.6rem;
    padding: 2.5rem 0 3.6rem;
    scroll-margin-top: 7rem;
  }

  .intro-block {
    padding: 2.8rem 0.75rem 4rem;
  }

  .names-lockup h1 {
    font-size: 9.4vw;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
  }

  .date-lockup h2 {
    letter-spacing: 1px;
  }

  .countdown {
    gap: 0.5rem 0.85rem;
    font-size: 0.92rem;
  }

  .paper-card::before,
  .paper-card::after {
    width: 6.2rem;
    top: -0.25rem;
    opacity: 0.46;
  }

  .paper-card::before {
    left: -2rem;
  }

  .paper-card::after {
    right: -2rem;
  }

  .intro-block::before,
  .intro-block::after {
    width: 4.85rem;
    bottom: 4.2rem;
    opacity: 0.34;
  }

  .intro-block::before {
    left: -2rem;
  }

  .intro-block::after {
    right: -2rem;
  }

  body {
    background-position: left top, right top, left top;
    background-size: auto, auto, 100% auto;
  }

  body:not([data-page="home"]):not([data-page="admin"]) .inner-paper::before,
  body:not([data-page="home"]):not([data-page="admin"]) .inner-paper::after {
    top: 12rem;
    width: 5.5rem;
    opacity: 0.24;
  }

  body:not([data-page="home"]):not([data-page="admin"]) .inner-paper::before {
    left: -2.4rem;
  }

  body:not([data-page="home"]):not([data-page="admin"]) .inner-paper::after {
    right: -2.4rem;
  }

  .registry-card::before,
  .travel-item::before,
  .event-card::before,
  .faq-item::before,
  .rsvp-card::before,
  .rsvp-match::before,
  .schedule-day h2::before,
  .date-lockup::after {
    width: 5.5rem;
    height: 2rem;
  }

  .travel-item::after,
  .event-card::after,
  .faq-item::after,
  .rsvp-card::after,
  .registry-card::after {
    width: 6rem;
    opacity: 0.58;
  }

  .event-card {
    padding: 2rem 1rem 1.35rem;
  }

  .registry-panel {
    padding: 3rem 1rem 4rem;
  }

  .admin-panel {
    padding: 3rem 1rem 4rem;
  }

  .admin-hero,
  .admin-hero-card,
  .admin-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-site-bar {
    padding: 0.85rem 1rem;
  }

  .admin-site-bar,
  .admin-site-bar__meta,
  .admin-actions,
  .admin-filter-group {
    justify-content: stretch;
  }

  .admin-highlight-grid,
  .admin-stats,
  .admin-section-grid,
  .admin-editor__grid,
  .admin-editor__grid--guest,
  .admin-editor__grid--questions,
  .admin-settings-grid,
  .admin-settings-question__grid {
    grid-template-columns: 1fr;
  }

  .admin-search__row {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-login__row {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-actions .primary-button,
  .admin-actions .secondary-button,
  .admin-filter,
  .admin-row-button {
    width: 100%;
  }

  .admin-card {
    padding: 1rem;
  }

  .admin-table-wrap {
    max-height: 22rem;
  }

  .admin-card--notes {
    grid-column: auto;
  }

  .registry-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .registry-card {
    padding: 1.2rem;
  }

  .registry-card h2 {
    letter-spacing: 1px;
  }

  .rsvp-panel {
    padding: 3rem 1rem 4rem;
  }

  .rsvp-search__row {
    flex-direction: column;
    align-items: stretch;
  }

  .rsvp-card {
    padding: 1.2rem;
  }

  .rsvp-card h2,
  .rsvp-match h3 {
    letter-spacing: 1px;
  }

  .rsvp-event-card,
  .rsvp-guest-card__header,
  .admin-subsection__header,
  .admin-settings-section__header,
  .admin-guest-editor__header,
  .admin-settings-row,
  .admin-settings-row--event-response {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .rsvp-household {
    padding-left: 0;
    padding-right: 0;
  }

  .rsvp-choice-group,
  .rsvp-count-group {
    width: 100%;
  }

  .rsvp-count-option,
  .rsvp-choice,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .travel-list,
  .faq-list {
    padding: 0 1rem;
  }

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

  .party-member,
  .party-member:nth-child(odd) {
    border-right: 0;
  }
}

@media (min-width: 768px) {
  body.nav-open {
    overflow: auto;
  }

  .site-nav-shell {
    opacity: 1;
    visibility: visible;
    max-height: none;
    transform: none;
  }
}

/* Organic paper collage refresh */
body:not([data-page="admin"]) {
  --organic-paper: rgba(255, 251, 245, 0.98);
  --organic-paper-soft: rgba(247, 239, 226, 0.95);
  --organic-paper-cool: rgba(226, 232, 243, 0.78);
  --organic-stroke: rgba(93, 118, 153, 0.15);
  --organic-shadow: 0 20px 40px rgba(86, 96, 122, 0.12);
  --organic-shadow-soft: 0 12px 24px rgba(86, 96, 122, 0.08);
  background-image:
    radial-gradient(circle at 10% 7%, rgba(219, 204, 178, 0.22), transparent 24%),
    radial-gradient(circle at 88% 9%, rgba(171, 188, 218, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(242, 237, 228, 0.48)),
    url("./assets/images/site-background.jpg");
}

body:not([data-page="admin"]) .paper-card,
body:not([data-page="admin"]) .inner-paper,
body[data-page="rsvp"] .rsvp-search,
body[data-page="rsvp"] .rsvp-empty {
  border: 1px solid var(--organic-stroke);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 239, 226, 0.95));
  box-shadow: var(--organic-shadow);
}

body:not([data-page="admin"]) .paper-card,
body:not([data-page="admin"]) .inner-paper {
  overflow: visible;
  border-radius: 46px 26px 40px 20px / 24px 44px 22px 40px;
}

body:not([data-page="admin"]) .paper-card::before,
body:not([data-page="admin"]) .paper-card::after,
body:not([data-page="admin"]) .inner-paper::before,
body:not([data-page="admin"]) .inner-paper::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(111, 131, 157, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(234, 224, 208, 0.56));
  box-shadow: var(--organic-shadow-soft);
}

body:not([data-page="admin"]) .paper-card::before,
body:not([data-page="admin"]) .inner-paper::before {
  top: 1.8rem;
  left: -1.1rem;
  width: 5.4rem;
  height: 7rem;
  border-radius: 24px 10px 30px 12px / 12px 26px 16px 32px;
  transform: rotate(-8deg);
}

body:not([data-page="admin"]) .paper-card::after,
body:not([data-page="admin"]) .inner-paper::after {
  right: -0.9rem;
  bottom: 1.5rem;
  width: 6.75rem;
  height: 4.65rem;
  border-radius: 18px 28px 14px 26px / 26px 16px 24px 14px;
  transform: rotate(7deg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(217, 227, 240, 0.54));
}

body[data-page="home"] .paper-card {
  transform: rotate(-0.45deg);
  transform-origin: center top;
}

body[data-page="home"] .home-schedule {
  margin-top: 2.8rem;
  transform: rotate(0.35deg);
  transform-origin: center top;
}

body[data-page="home"] .countdown__part {
  min-height: auto;
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--organic-stroke);
  border-radius: 18px 10px 20px 11px / 10px 18px 12px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 239, 226, 0.96));
  box-shadow: var(--organic-shadow-soft);
  animation: none;
}

body[data-page="home"] .countdown__part:nth-child(odd) {
  transform: rotate(-1.3deg);
}

body[data-page="home"] .countdown__part:nth-child(even) {
  transform: rotate(1.1deg);
}

body:not([data-page="admin"]) .registry-card,
body:not([data-page="admin"]) .travel-item,
body:not([data-page="admin"]) .event-card,
body:not([data-page="admin"]) .faq-item,
body:not([data-page="admin"]) .rsvp-card,
body:not([data-page="admin"]) .rsvp-match,
body[data-page="rsvp"] .rsvp-event-card,
body[data-page="rsvp"] .rsvp-guest-card,
body[data-page="weddingParty"] .party-member {
  --paper-tilt: 0deg;
  border: 1px solid var(--organic-stroke);
  border-radius: 38px 24px 34px 20px / 20px 34px 24px 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 239, 226, 0.95));
  box-shadow: var(--organic-shadow-soft);
  transform: rotate(var(--paper-tilt));
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

body:not([data-page="admin"]) .registry-card:hover,
body:not([data-page="admin"]) .registry-card:focus-within,
body:not([data-page="admin"]) .travel-item:hover,
body:not([data-page="admin"]) .travel-item:focus-within,
body:not([data-page="admin"]) .event-card:hover,
body:not([data-page="admin"]) .event-card:focus-within,
body:not([data-page="admin"]) .faq-item:hover,
body:not([data-page="admin"]) .faq-item:focus-within,
body:not([data-page="admin"]) .rsvp-card:hover,
body:not([data-page="admin"]) .rsvp-card:focus-within,
body:not([data-page="admin"]) .rsvp-match:hover,
body:not([data-page="admin"]) .rsvp-match:focus-visible,
body[data-page="rsvp"] .rsvp-event-card:hover,
body[data-page="rsvp"] .rsvp-guest-card:hover,
body[data-page="weddingParty"] .party-member:hover,
body[data-page="weddingParty"] .party-member:focus-within {
  transform: translateY(-4px) rotate(var(--paper-tilt));
  border-color: rgba(93, 118, 153, 0.26);
  box-shadow: 0 18px 34px rgba(86, 96, 122, 0.14);
}

body:not([data-page="admin"]) .registry-card::before,
body:not([data-page="admin"]) .travel-item::before,
body:not([data-page="admin"]) .event-card::before,
body:not([data-page="admin"]) .faq-item::before,
body:not([data-page="admin"]) .rsvp-card::before,
body:not([data-page="admin"]) .rsvp-match::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 4rem;
  height: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(226, 215, 197, 0.72), rgba(255, 255, 255, 0));
  opacity: 0.85;
}

body:not([data-page="admin"]) .registry-card::after,
body:not([data-page="admin"]) .travel-item::after,
body:not([data-page="admin"]) .event-card::after,
body:not([data-page="admin"]) .faq-item::after,
body:not([data-page="admin"]) .rsvp-card::after,
body:not([data-page="admin"]) .rsvp-match::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  width: 4.8rem;
  height: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(217, 227, 240, 0), rgba(217, 227, 240, 0.8));
  opacity: 0.72;
}

body[data-page="travel"] .travel-item:nth-child(odd),
body[data-page="faqs"] .faq-item:nth-child(odd),
body[data-page="registry"] .registry-card:nth-child(odd),
body[data-page="weddingParty"] .party-member:nth-child(odd),
body[data-page="rsvp"] .rsvp-match:nth-child(odd),
body[data-page="home"] .event-card:nth-of-type(odd) {
  --paper-tilt: -0.9deg;
}

body[data-page="travel"] .travel-item:nth-child(even),
body[data-page="faqs"] .faq-item:nth-child(even),
body[data-page="registry"] .registry-card:nth-child(even),
body[data-page="weddingParty"] .party-member:nth-child(even),
body[data-page="rsvp"] .rsvp-match:nth-child(even),
body[data-page="home"] .event-card:nth-of-type(even) {
  --paper-tilt: 0.8deg;
}

body[data-page="weddingParty"] .party-grid {
  gap: 1rem;
  padding: 0 1.25rem;
}

body[data-page="weddingParty"] .party-member,
body[data-page="weddingParty"] .party-member:nth-child(odd) {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--organic-stroke);
  border-top: 1px solid var(--organic-stroke);
}

body[data-page="weddingParty"] .party-member--full,
body[data-page="weddingParty"] .party-member--full:nth-child(odd) {
  grid-column: 1 / -1;
}

body[data-page="travel"] .travel-list,
body[data-page="faqs"] .faq-list,
body[data-page="registry"] .registry-grid {
  gap: 1.5rem;
}

body[data-page="travel"] .travel-item,
body[data-page="faqs"] .faq-item,
body[data-page="registry"] .registry-card,
body[data-page="rsvp"] .rsvp-match,
body[data-page="home"] .event-card {
  padding-top: 2.05rem;
}

body[data-page="travel"] .travel-item,
body[data-page="faqs"] .faq-item,
body[data-page="home"] .event-card {
  max-width: 42rem;
}

body:not([data-page="admin"]) .inner-hero {
  padding-top: 1rem;
}

body:not([data-page="admin"]) .inner-hero::before {
  content: "";
  position: absolute;
  inset: 1.4rem 2rem 0 1rem;
  border: 1px solid rgba(111, 131, 157, 0.1);
  border-radius: 34px 16px 38px 18px / 16px 34px 20px 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(218, 228, 241, 0.48));
  transform: rotate(-4deg);
  box-shadow: var(--organic-shadow-soft);
}

body:not([data-page="admin"]) .inner-hero img {
  position: relative;
  z-index: 1;
  border-radius: 34px 18px 30px 16px / 18px 36px 16px 34px;
  box-shadow: var(--organic-shadow);
}

body:not([data-page="admin"]) .primary-button,
body:not([data-page="admin"]) .secondary-button,
body:not([data-page="admin"]) .action-pill,
body:not([data-page="admin"]) .registry-card__cta,
body:not([data-page="admin"]) .registry-filter,
body[data-page="rsvp"] .rsvp-choice,
body[data-page="rsvp"] .rsvp-count-option,
body[data-page="rsvp"] .rsvp-pill,
body[data-page="travel"] .travel-item__icon {
  border-radius: 16px 10px 18px 8px / 8px 18px 10px 20px;
  box-shadow: 0 8px 18px rgba(86, 96, 122, 0.1);
}

body:not([data-page="admin"]) .primary-button::before,
body:not([data-page="admin"]) .secondary-button::before,
body:not([data-page="admin"]) .action-pill::before,
body:not([data-page="admin"]) .registry-card__cta::before {
  display: none;
}

body:not([data-page="admin"]) .primary-button,
body:not([data-page="admin"]) .action-pill--accent {
  border-color: rgba(42, 74, 113, 0.26);
  background: linear-gradient(180deg, #41658d, #294767);
  color: #fffaf4;
  box-shadow: 0 12px 22px rgba(41, 71, 103, 0.22);
}

body:not([data-page="admin"]) .secondary-button,
body:not([data-page="admin"]) .action-pill,
body:not([data-page="admin"]) .registry-card__cta,
body:not([data-page="admin"]) .registry-filter,
body[data-page="rsvp"] .rsvp-choice,
body[data-page="rsvp"] .rsvp-count-option,
body[data-page="rsvp"] .rsvp-pill,
body[data-page="travel"] .travel-item__icon {
  border: 1px solid rgba(93, 118, 153, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 236, 224, 0.96));
  color: #58697b;
}

body:not([data-page="admin"]) .primary-button,
body:not([data-page="admin"]) .secondary-button,
body:not([data-page="admin"]) .action-pill,
body:not([data-page="admin"]) .registry-card__cta,
body:not([data-page="admin"]) .registry-filter {
  min-height: 0;
  padding: 0.82rem 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body:not([data-page="admin"]) .primary-button__eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

body:not([data-page="admin"]) .primary-button__label {
  font-size: 1rem;
  letter-spacing: 0.12em;
}

body:not([data-page="admin"]) .registry-card__cta,
body:not([data-page="admin"]) .action-pill,
body:not([data-page="admin"]) .registry-filter {
  font-size: 0.74rem;
}

body:not([data-page="admin"]) .primary-button:hover,
body:not([data-page="admin"]) .primary-button:focus-visible,
body:not([data-page="admin"]) .secondary-button:hover,
body:not([data-page="admin"]) .secondary-button:focus-visible,
body:not([data-page="admin"]) .action-pill:hover,
body:not([data-page="admin"]) .action-pill:focus-visible,
body:not([data-page="admin"]) .registry-card__cta:hover,
body:not([data-page="admin"]) .registry-card__cta:focus-visible,
body:not([data-page="admin"]) .registry-filter:hover,
body:not([data-page="admin"]) .registry-filter:focus-visible,
body[data-page="rsvp"] .rsvp-choice:hover,
body[data-page="rsvp"] .rsvp-choice:focus-visible,
body[data-page="rsvp"] .rsvp-count-option:hover,
body[data-page="rsvp"] .rsvp-count-option:focus-visible {
  transform: translateY(-2px) rotate(-0.35deg);
  box-shadow: 0 12px 24px rgba(86, 96, 122, 0.14);
}

body[data-page="rsvp"] .rsvp-choice.is-selected[data-response="yes"],
body[data-page="rsvp"] .rsvp-count-option.is-selected,
body[data-page="registry"] .registry-filter.is-active {
  border-color: rgba(42, 74, 113, 0.26);
  background: linear-gradient(180deg, #41658d, #294767);
  color: #fffaf4;
}

body[data-page="rsvp"] .rsvp-choice.is-selected[data-response="no"] {
  border-color: rgba(141, 99, 119, 0.28);
  background: linear-gradient(180deg, rgba(249, 237, 237, 0.96), rgba(242, 221, 221, 0.96));
  color: #7a4b59;
}

body[data-page="rsvp"] .rsvp-choice.is-selected[data-response="pending"] {
  border-color: rgba(93, 91, 88, 0.22);
  background: linear-gradient(180deg, rgba(244, 241, 236, 0.96), rgba(234, 228, 220, 0.96));
}

body[data-page="rsvp"] .rsvp-input,
body[data-page="rsvp"] .rsvp-textarea {
  border: 1px solid rgba(93, 118, 153, 0.16);
  border-radius: 18px 10px 16px 12px / 10px 18px 12px 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

body[data-page="rsvp"] .rsvp-search,
body[data-page="rsvp"] .rsvp-empty {
  border-radius: 34px 18px 30px 16px / 18px 34px 18px 32px;
}

body[data-page="rsvp"] .rsvp-event-card,
body[data-page="rsvp"] .rsvp-guest-card {
  border: 1px solid rgba(93, 118, 153, 0.14);
  border-radius: 26px 16px 24px 14px / 16px 26px 18px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 234, 223, 0.9));
  box-shadow: 0 10px 22px rgba(86, 96, 122, 0.08);
}

body:not([data-page="admin"]) .page-blurb,
body:not([data-page="admin"]) .registry-copy,
body[data-page="rsvp"] .rsvp-panel__intro,
body[data-page="rsvp"] .rsvp-helper,
body[data-page="rsvp"] .rsvp-note {
  line-height: 1.78;
}

body[data-page="travel"] .travel-item__icon {
  min-width: 0;
  min-height: 0;
  padding: 0.45rem 0.8rem;
  margin-bottom: 0.95rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  body:not([data-page="admin"]) .paper-card,
  body:not([data-page="admin"]) .inner-paper {
    border-radius: 34px 20px 30px 16px / 18px 32px 20px 30px;
  }

  body:not([data-page="admin"]) .paper-card::before,
  body:not([data-page="admin"]) .inner-paper::before {
    top: 1.2rem;
    left: -0.7rem;
    width: 3.8rem;
    height: 4.9rem;
  }

  body:not([data-page="admin"]) .paper-card::after,
  body:not([data-page="admin"]) .inner-paper::after {
    right: -0.55rem;
    bottom: 1rem;
    width: 4.6rem;
    height: 3.3rem;
  }

  body[data-page="home"] .paper-card,
  body[data-page="home"] .home-schedule {
    transform: none;
  }

  body:not([data-page="admin"]) .registry-card,
  body:not([data-page="admin"]) .travel-item,
  body:not([data-page="admin"]) .event-card,
  body:not([data-page="admin"]) .faq-item,
  body:not([data-page="admin"]) .rsvp-card,
  body:not([data-page="admin"]) .rsvp-match,
  body[data-page="rsvp"] .rsvp-event-card,
  body[data-page="rsvp"] .rsvp-guest-card,
  body[data-page="weddingParty"] .party-member {
    border-radius: 30px 18px 26px 14px / 16px 28px 18px 30px;
  }

  body[data-page="travel"] .travel-item:nth-child(odd),
  body[data-page="faqs"] .faq-item:nth-child(odd),
  body[data-page="registry"] .registry-card:nth-child(odd),
  body[data-page="weddingParty"] .party-member:nth-child(odd),
  body[data-page="rsvp"] .rsvp-match:nth-child(odd),
  body[data-page="home"] .event-card:nth-of-type(odd) {
    --paper-tilt: -0.45deg;
  }

  body[data-page="travel"] .travel-item:nth-child(even),
  body[data-page="faqs"] .faq-item:nth-child(even),
  body[data-page="registry"] .registry-card:nth-child(even),
  body[data-page="weddingParty"] .party-member:nth-child(even),
  body[data-page="rsvp"] .rsvp-match:nth-child(even),
  body[data-page="home"] .event-card:nth-of-type(even) {
    --paper-tilt: 0.4deg;
  }

  body:not([data-page="admin"]) .inner-hero::before {
    inset: 1.1rem 1.2rem 0 0.8rem;
  }

  body:not([data-page="admin"]) .primary-button,
  body:not([data-page="admin"]) .secondary-button,
  body:not([data-page="admin"]) .action-pill,
  body:not([data-page="admin"]) .registry-card__cta,
  body:not([data-page="admin"]) .registry-filter,
  body[data-page="rsvp"] .rsvp-choice,
  body[data-page="rsvp"] .rsvp-count-option,
  body[data-page="rsvp"] .rsvp-pill,
  body[data-page="travel"] .travel-item__icon {
    border-radius: 14px 8px 16px 8px / 8px 16px 10px 18px;
  }
}

body:not([data-page="home"]):not([data-page="admin"]) .inner-paper {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:not([data-page="home"]):not([data-page="admin"]) .inner-paper::before,
body:not([data-page="home"]):not([data-page="admin"]) .inner-paper::after {
  display: none;
}

body[data-page="home"] .event-card {
  max-width: 38rem;
  padding: 1.3rem 1.1rem 0.6rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

body[data-page="home"] .event-card:hover,
body[data-page="home"] .event-card:focus-within {
  transform: none;
  border: 0;
  box-shadow: none;
}

body[data-page="home"] .event-card::before,
body[data-page="home"] .event-card::after {
  display: none;
}

body[data-page="home"] .event-card + .event-card {
  margin-top: 1.2rem;
  padding-top: 1.45rem;
  border-top: 1px solid rgba(93, 118, 153, 0.14);
}

body:not([data-page="admin"]) .primary-button,
body:not([data-page="admin"]) .secondary-button,
body:not([data-page="admin"]) .registry-filter,
body[data-page="rsvp"] .rsvp-choice,
body[data-page="rsvp"] .rsvp-count-option,
body[data-page="rsvp"] .rsvp-pill,
body[data-page="travel"] .travel-item__icon {
  border-radius: 10px 6px 11px 5px / 5px 11px 6px 12px;
}

body:not([data-page="admin"]) .action-pill,
body:not([data-page="admin"]) .registry-card__cta {
  min-width: 0;
  min-height: 0;
  padding: 0.2rem 0 0.45rem;
  border: 0;
  border-bottom: 1px solid rgba(93, 118, 153, 0.2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #536679;
}

body:not([data-page="admin"]) .action-pill--accent {
  color: #35577e;
  border-bottom-color: rgba(53, 87, 126, 0.32);
}

body:not([data-page="admin"]) .action-pill--link,
body:not([data-page="admin"]) .registry-card__cta {
  color: #7a5d69;
}

body:not([data-page="admin"]) .action-pill:hover,
body:not([data-page="admin"]) .action-pill:focus-visible,
body:not([data-page="admin"]) .registry-card__cta:hover,
body:not([data-page="admin"]) .registry-card__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: none;
  background: transparent;
}

body[data-page="travel"] .travel-item .action-row,
body[data-page="registry"] .registry-card,
body[data-page="home"] .event-card .action-row {
  justify-content: center;
}

body[data-page="travel"] .travel-item .action-row,
body[data-page="home"] .event-card .action-row {
  margin-top: 0.95rem;
}

/* Stronger torn-paper treatment */
body:not([data-page="admin"]) {
  --torn-sheet-edge: polygon(
    0% 2.2%, 6% 0.4%, 14% 2.5%, 23% 0.7%, 34% 2.8%, 45% 0%, 58% 2.4%, 69% 0.8%, 81% 2.6%, 92% 0.5%, 100% 2.4%,
    98.5% 14%, 100% 27%, 98.2% 40%, 100% 54%, 98.6% 68%, 100% 81%, 98.1% 93%, 100% 100%,
    91% 97.8%, 80% 100%, 67% 97.4%, 55% 99.2%, 42% 97.1%, 29% 100%, 17% 97.8%, 7% 99.4%, 0% 97.6%,
    1.8% 84%, 0% 70%, 1.4% 56%, 0% 42%, 1.7% 26%, 0% 12%
  );
  --torn-note-edge: polygon(
    0% 6%, 8% 2%, 20% 6%, 34% 1%, 49% 5%, 63% 0%, 79% 6%, 91% 2%, 100% 7%,
    97% 21%, 100% 36%, 98% 52%, 100% 68%, 97.5% 83%, 100% 94%,
    88% 98%, 74% 92%, 58% 100%, 41% 93%, 25% 99%, 10% 92%, 0% 95%,
    2% 78%, 0% 61%, 2.5% 45%, 0% 29%, 2% 13%
  );
  --torn-strip-edge: polygon(
    0% 20%, 8% 7%, 18% 14%, 31% 4%, 47% 12%, 61% 5%, 76% 14%, 91% 6%, 100% 18%,
    96% 81%, 87% 95%, 73% 86%, 58% 98%, 42% 87%, 25% 96%, 10% 85%, 0% 80%
  );
}

body:not([data-page="admin"]) .paper-card,
body:not([data-page="admin"]) .inner-paper,
body:not([data-page="admin"]) .registry-card,
body:not([data-page="admin"]) .travel-item,
body:not([data-page="admin"]) .event-card,
body:not([data-page="admin"]) .faq-item,
body:not([data-page="admin"]) .rsvp-card,
body:not([data-page="admin"]) .rsvp-match,
body[data-page="rsvp"] .rsvp-search,
body[data-page="rsvp"] .rsvp-empty,
body[data-page="rsvp"] .rsvp-event-card,
body[data-page="rsvp"] .rsvp-guest-card,
body[data-page="weddingParty"] .party-member {
  border-radius: 0;
  clip-path: var(--torn-note-edge);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(245, 236, 223, 0.96)),
    repeating-linear-gradient(128deg, rgba(188, 173, 149, 0.04) 0 2px, rgba(255, 255, 255, 0) 2px 14px),
    radial-gradient(circle at 16% 16%, rgba(220, 207, 183, 0.16), transparent 26%),
    radial-gradient(circle at 84% 82%, rgba(188, 203, 227, 0.16), transparent 22%);
}

body:not([data-page="admin"]) .paper-card,
body:not([data-page="admin"]) .inner-paper,
body[data-page="rsvp"] .rsvp-search,
body[data-page="rsvp"] .rsvp-empty {
  clip-path: var(--torn-sheet-edge);
}

body:not([data-page="admin"]) .paper-card::before,
body:not([data-page="admin"]) .paper-card::after,
body:not([data-page="admin"]) .inner-paper::before,
body:not([data-page="admin"]) .inner-paper::after {
  width: 5.9rem;
  height: 1.8rem;
  border: 1px solid rgba(121, 137, 156, 0.08);
  border-radius: 0;
  clip-path: var(--torn-strip-edge);
  background: linear-gradient(180deg, rgba(239, 229, 212, 0.78), rgba(255, 255, 255, 0.52));
  box-shadow: 0 6px 16px rgba(86, 96, 122, 0.08);
}

body:not([data-page="admin"]) .paper-card::before,
body:not([data-page="admin"]) .inner-paper::before {
  top: 1.25rem;
  left: 2rem;
  transform: rotate(-7deg);
}

body:not([data-page="admin"]) .paper-card::after,
body:not([data-page="admin"]) .inner-paper::after {
  right: 1.8rem;
  bottom: 1.2rem;
  transform: rotate(8deg);
  background: linear-gradient(180deg, rgba(225, 232, 241, 0.72), rgba(255, 255, 255, 0.46));
}

body:not([data-page="admin"]) .registry-card::before,
body:not([data-page="admin"]) .travel-item::before,
body:not([data-page="admin"]) .faq-item::before,
body:not([data-page="admin"]) .rsvp-card::before,
body:not([data-page="admin"]) .rsvp-match::before,
body[data-page="rsvp"] .rsvp-event-card::before,
body[data-page="rsvp"] .rsvp-guest-card::before,
body[data-page="weddingParty"] .party-member::before {
  top: 0.95rem;
  left: 1.1rem;
  width: 3.7rem;
  height: 1rem;
  border-radius: 0;
  clip-path: var(--torn-strip-edge);
  background: linear-gradient(90deg, rgba(234, 225, 208, 0.8), rgba(255, 255, 255, 0));
}

body:not([data-page="admin"]) .registry-card::after,
body:not([data-page="admin"]) .travel-item::after,
body:not([data-page="admin"]) .faq-item::after,
body:not([data-page="admin"]) .rsvp-card::after,
body:not([data-page="admin"]) .rsvp-match::after,
body[data-page="rsvp"] .rsvp-event-card::after,
body[data-page="rsvp"] .rsvp-guest-card::after,
body[data-page="weddingParty"] .party-member::after {
  right: 1.1rem;
  bottom: 0.9rem;
  width: 4.1rem;
  height: 0.9rem;
  border-radius: 0;
  clip-path: var(--torn-strip-edge);
  background: linear-gradient(90deg, rgba(217, 227, 240, 0), rgba(217, 227, 240, 0.86));
}

body[data-page="home"] .paper-card,
body[data-page="home"] .home-schedule {
  clip-path: var(--torn-sheet-edge);
}

body[data-page="home"] .countdown__part {
  border-radius: 0;
  clip-path: var(--torn-strip-edge);
}

body:not([data-page="admin"]) .inner-hero img {
  border-radius: 0;
  clip-path: var(--torn-note-edge);
}

body:not([data-page="admin"]) .inner-hero::before {
  border-radius: 0;
  clip-path: var(--torn-note-edge);
}

body:not([data-page="admin"]) .primary-button,
body:not([data-page="admin"]) .secondary-button,
body:not([data-page="admin"]) .action-pill,
body:not([data-page="admin"]) .registry-card__cta,
body:not([data-page="admin"]) .registry-filter,
body[data-page="rsvp"] .rsvp-choice,
body[data-page="rsvp"] .rsvp-count-option,
body[data-page="rsvp"] .rsvp-pill,
body[data-page="travel"] .travel-item__icon,
body[data-page="rsvp"] .rsvp-input,
body[data-page="rsvp"] .rsvp-textarea {
  border-radius: 0;
  clip-path: var(--torn-strip-edge);
}

body:not([data-page="admin"]) .primary-button,
body:not([data-page="admin"]) .secondary-button {
  padding: 0.8rem 1.1rem 0.95rem;
  box-shadow: 0 10px 18px rgba(86, 96, 122, 0.1);
}

body:not([data-page="admin"]) .action-pill,
body:not([data-page="admin"]) .registry-card__cta {
  padding-bottom: 0.5rem;
}

body[data-page="rsvp"] .rsvp-input,
body[data-page="rsvp"] .rsvp-textarea {
  box-shadow: none;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(243, 234, 220, 0.92));
}

body[data-page="rsvp"] .rsvp-search {
  padding-top: 2.2rem;
  padding-right: 1.25rem;
  padding-bottom: 1.4rem;
  padding-left: 1.25rem;
}

body[data-page="rsvp"] .rsvp-empty {
  border-style: solid;
}

body[data-page="rsvp"] .rsvp-search__label {
  padding-left: 0.15rem;
}

@media (max-width: 767px) {
  body:not([data-page="admin"]) .paper-card::before,
  body:not([data-page="admin"]) .paper-card::after,
  body:not([data-page="admin"]) .inner-paper::before,
  body:not([data-page="admin"]) .inner-paper::after {
    width: 4.4rem;
    height: 1.4rem;
  }

  body:not([data-page="admin"]) .paper-card::before,
  body:not([data-page="admin"]) .inner-paper::before {
    left: 1.1rem;
  }

  body:not([data-page="admin"]) .paper-card::after,
  body:not([data-page="admin"]) .inner-paper::after {
    right: 1rem;
  }
}

/* =====================================================
   ORGANIC FEEL: REMOVE CHOPPY/BOXY EFFECTS
   ===================================================== */

/* Remove decorative paper-scrap strips from container cards —
   they create the "layered" visual noise the design doesn't need */
body:not([data-page="admin"]) .paper-card::before,
body:not([data-page="admin"]) .paper-card::after,
body:not([data-page="admin"]) .inner-paper::before,
body:not([data-page="admin"]) .inner-paper::after {
  display: none;
}

/* Remove tiny shine-strip pseudo-elements from individual cards */
body:not([data-page="admin"]) .registry-card::before,
body:not([data-page="admin"]) .registry-card::after,
body:not([data-page="admin"]) .travel-item::before,
body:not([data-page="admin"]) .travel-item::after,
body:not([data-page="admin"]) .faq-item::before,
body:not([data-page="admin"]) .faq-item::after,
body:not([data-page="admin"]) .rsvp-card::before,
body:not([data-page="admin"]) .rsvp-card::after,
body:not([data-page="admin"]) .rsvp-match::before,
body:not([data-page="admin"]) .rsvp-match::after,
body[data-page="rsvp"] .rsvp-event-card::before,
body[data-page="rsvp"] .rsvp-event-card::after,
body[data-page="rsvp"] .rsvp-guest-card::before,
body[data-page="rsvp"] .rsvp-guest-card::after,
body[data-page="weddingParty"] .party-member::before,
body[data-page="weddingParty"] .party-member::after {
  display: none;
}

/* Remove torn-strip clip-path from all interactive elements —
   torn edges belong on large section shapes, not on small buttons */
body:not([data-page="admin"]) .primary-button,
body:not([data-page="admin"]) .secondary-button,
body:not([data-page="admin"]) .action-pill,
body:not([data-page="admin"]) .registry-card__cta,
body:not([data-page="admin"]) .registry-filter,
body[data-page="rsvp"] .rsvp-choice,
body[data-page="rsvp"] .rsvp-count-option,
body[data-page="rsvp"] .rsvp-pill,
body[data-page="travel"] .travel-item__icon,
body[data-page="rsvp"] .rsvp-input,
body[data-page="rsvp"] .rsvp-textarea {
  clip-path: none;
}

/* Home page event-cards have transparent bg — clip-path was clipping their text */
body[data-page="home"] .event-card {
  clip-path: none;
}

/* Restore natural organic border-radius on buttons now clip-path is gone */
body:not([data-page="admin"]) .primary-button,
body:not([data-page="admin"]) .secondary-button {
  border-radius: 8px 4px 10px 5px / 4px 9px 5px 11px;
}

body:not([data-page="admin"]) .registry-filter,
body[data-page="rsvp"] .rsvp-choice,
body[data-page="rsvp"] .rsvp-count-option,
body[data-page="rsvp"] .rsvp-pill {
  border-radius: 8px 4px 10px 5px / 4px 9px 5px 11px;
}

/* Primary button (RSVP): warm cream paper feel — ink on paper, not a UI box */
body:not([data-page="admin"]) .primary-button {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(240, 228, 210, 0.97));
  border: 1px solid rgba(93, 118, 153, 0.22);
  color: var(--blue-deep);
  box-shadow: 0 4px 14px rgba(86, 96, 122, 0.10);
}

body:not([data-page="admin"]) .primary-button:hover,
body:not([data-page="admin"]) .primary-button:focus-visible {
  background: linear-gradient(180deg, #ffffff, rgba(243, 232, 216, 0.98));
  box-shadow: 0 8px 22px rgba(86, 96, 122, 0.13);
  transform: translateY(-2px) rotate(-0.3deg);
}

/* Countdown chips: remove clip-path, restore soft natural shape */
body[data-page="home"] .countdown__part {
  clip-path: none;
  border-radius: 6px 3px 8px 4px / 3px 7px 4px 9px;
}

/* Travel icon badge: clean pill */
body[data-page="travel"] .travel-item__icon,
body[data-page="home"] .home-travel .travel-item__icon {
  clip-path: none;
  border-radius: 4px 2px 6px 3px / 2px 6px 3px 8px;
}

/* RSVP inputs: natural rounded shape */
body[data-page="rsvp"] .rsvp-input,
body[data-page="rsvp"] .rsvp-textarea {
  clip-path: none;
  border-radius: 8px 4px 10px 5px / 4px 9px 5px 11px;
  box-shadow: inset 0 1px 3px rgba(93, 118, 153, 0.07);
}

/* =====================================================
   HOME PAGE: PHOTO STRIPS + INLINE TRAVEL SECTION
   ===================================================== */

/* --- Photo strips --- */
body[data-page="home"] .photo-strip {
  position: relative;
  width: 100%;
  height: 58vh;
  min-height: 300px;
  max-height: 680px;
  overflow: hidden;
  z-index: 0;
  margin-top: 3.5rem;
}

body[data-page="home"] .photo-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Placeholder strips — warm gradient until real photos are added */
body[data-page="home"] .photo-strip--placeholder {
  background:
    radial-gradient(ellipse at 20% 60%, rgba(215, 163, 156, 0.38), transparent 54%),
    radial-gradient(ellipse at 82% 28%, rgba(123, 134, 96, 0.28), transparent 52%),
    radial-gradient(ellipse at 50% 88%, rgba(31, 81, 160, 0.12), transparent 46%),
    linear-gradient(162deg, rgba(248, 242, 232, 0.97), rgba(236, 224, 208, 0.98));
}

body[data-page="home"] .photo-strip--alt {
  background:
    radial-gradient(ellipse at 76% 55%, rgba(141, 99, 119, 0.30), transparent 52%),
    radial-gradient(ellipse at 18% 32%, rgba(31, 81, 160, 0.18), transparent 50%),
    radial-gradient(ellipse at 50% 14%, rgba(123, 134, 96, 0.20), transparent 48%),
    linear-gradient(148deg, rgba(236, 226, 218, 0.97), rgba(226, 218, 230, 0.94));
}

body[data-page="home"] .photo-strip__fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-page="home"] .photo-strip__fill::after {
  content: "Photo";
  font-family: "Borest", "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(31, 81, 160, 0.18);
}

/* Content sections that overlap photo strips with their torn top edges */
body[data-page="home"] .photo-strip + .home-schedule,
body[data-page="home"] .photo-strip + .home-travel {
  margin-top: -7rem;
  position: relative;
  z-index: 2;
}

/* Photo strips after content sections get a small top gap */
body[data-page="home"] .home-schedule + .photo-strip,
body[data-page="home"] .home-travel + .photo-strip {
  margin-top: 3rem;
}

/* --- Inline travel section on home page --- */
body[data-page="home"] .home-travel {
  padding: 3.1rem 0 4.2rem;
  scroll-margin-top: 8.5rem;
}

body[data-page="home"] .home-travel .section-heading h2 {
  font-size: clamp(2rem, 4.2vw, 2.8rem);
}

body[data-page="home"] .home-travel .page-blurb {
  margin-top: 0.95rem;
}

body[data-page="home"] .home-travel .travel-list {
  gap: 1.5rem;
}

body[data-page="home"] .home-travel .travel-item {
  padding-top: 2.05rem;
  max-width: 42rem;
}

body[data-page="home"] .home-travel .travel-item:nth-child(odd) {
  --paper-tilt: -0.9deg;
}

body[data-page="home"] .home-travel .travel-item:nth-child(even) {
  --paper-tilt: 0.8deg;
}

/* Travel item icon badge on home page */
body[data-page="home"] .home-travel .travel-item__icon {
  min-width: 0;
  min-height: 0;
  padding: 0.45rem 0.8rem;
  margin-bottom: 0.95rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  clip-path: var(--torn-strip-edge);
  border: 1px solid rgba(93, 118, 153, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 236, 224, 0.96));
  color: #58697b;
  box-shadow: 0 8px 18px rgba(86, 96, 122, 0.1);
}

/* Center the action row link in home travel cards */
body[data-page="home"] .home-travel .travel-item .action-row {
  justify-content: center;
  margin-top: 0.95rem;
}

/* Entrance animations for home travel items */
body[data-page="home"] .home-travel .travel-item {
  animation: rise-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .home-travel .travel-item:nth-child(2) {
  animation-delay: 100ms;
}

/* --- Mobile --- */
@media (max-width: 767px) {
  body[data-page="home"] .photo-strip {
    height: 52vw;
    min-height: 220px;
    max-height: 420px;
    margin-top: 2.5rem;
  }

  body[data-page="home"] .photo-strip + .home-schedule,
  body[data-page="home"] .photo-strip + .home-travel {
    margin-top: -4.5rem;
  }

  body[data-page="home"] .home-schedule + .photo-strip,
  body[data-page="home"] .home-travel + .photo-strip {
    margin-top: 2rem;
  }
}

/* =====================================================
   HOME PAGE: FULL-BLEED PAPER SHEETS
   ===================================================== */

body[data-page="home"] {
  background: var(--cream-warm);
}

body[data-page="home"] .site-shell {
  width: 100%;
  max-width: none;
}

body[data-page="home"] .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

body[data-page="home"] .meta-bar {
  display: none;
}

body[data-page="home"] .title-bar,
body[data-page="home"] .site-nav-shell {
  border-bottom: 0;
}

body[data-page="home"] .title-bar {
  padding: 1.35rem 1rem 0;
  min-height: 0;
  text-align: right;
  background: transparent;
}

body[data-page="home"] .site-title {
  display: none;
}

body[data-page="home"] .nav-toggle {
  display: none;
}

body[data-page="home"] .nav-toggle span {
  background: currentColor;
}

body[data-page="home"] .site-nav-shell {
  position: static;
  width: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="home"] .site-nav {
  justify-content: flex-end;
  padding: 0.5rem 1.25rem 0;
}

body[data-page="home"] .site-nav a {
  color: #fffaf4;
  border-bottom-color: rgba(255, 250, 244, 0.18);
}

body[data-page="home"] .site-nav a::after {
  background: rgba(255, 250, 244, 0.9);
}

body[data-page="home"] .scroll-content {
  background: transparent;
}

body[data-page="home"] .hero__stage {
  width: 100%;
}

body[data-page="home"] .hero__stage::after {
  background:
    linear-gradient(180deg, rgba(10, 18, 32, 0.28), rgba(10, 18, 32, 0.1) 30%, rgba(10, 18, 32, 0.38) 100%),
    linear-gradient(180deg, rgba(255, 250, 244, 0) 62%, rgba(255, 250, 244, 0.1) 100%);
}

body[data-page="home"] .hero img {
  transform: scale(1.01);
  filter: brightness(0.84) saturate(0.94) contrast(1.02);
}

body[data-page="home"] .hero__overlay {
  justify-content: center;
  align-items: center;
  padding: 6.25rem 1.35rem 7rem;
}

body[data-page="home"] .hero__title {
  max-width: 10ch;
  font-size: clamp(2.55rem, 7vw, 5.2rem);
  letter-spacing: 0.05em;
  text-shadow:
    0 16px 34px rgba(12, 20, 34, 0.24),
    0 2px 4px rgba(12, 20, 34, 0.12);
}

body[data-page="home"] .paper-card,
body[data-page="home"] .home-schedule,
body[data-page="home"] .home-travel {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
  border: 0;
  border-radius: 0;
  clip-path: none;
  background: var(--cream-warm);
  box-shadow: none;
}

body[data-page="home"] .paper-card {
  margin-top: -5.1rem;
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
}

body[data-page="home"] .home-schedule,
body[data-page="home"] .home-travel {
  padding-top: 2.8rem;
  padding-bottom: 3.4rem;
}

body[data-page="home"] .paper-card::before,
body[data-page="home"] .home-schedule::before,
body[data-page="home"] .home-travel::before {
  display: none;
}

body[data-page="home"] .paper-card::after,
body[data-page="home"] .home-schedule::after,
body[data-page="home"] .home-travel::after {
  display: none;
}

body[data-page="home"] .paper-card > *,
body[data-page="home"] .home-schedule > *,
body[data-page="home"] .home-travel > * {
  width: min(100% - 2.6rem, 42rem);
  margin-right: auto;
  margin-left: auto;
}

body[data-page="home"] .intro-block {
  padding: 2.4rem 0 3rem;
}

body[data-page="home"] .names-lockup h1 {
  letter-spacing: 1.2px;
}

body[data-page="home"] .cta-row--center {
  justify-content: center;
}

body[data-page="home"] .primary-button,
body[data-page="home"] .action-pill,
body[data-page="home"] .secondary-button {
  border-radius: 0;
  background: linear-gradient(180deg, rgba(252, 248, 241, 0.98), rgba(241, 232, 219, 0.98));
  box-shadow: none;
}

body[data-page="home"] .primary-button {
  border: 1px solid rgba(93, 118, 153, 0.18);
}

body[data-page="home"] .primary-button:hover,
body[data-page="home"] .primary-button:focus-visible,
body[data-page="home"] .action-pill:hover,
body[data-page="home"] .action-pill:focus-visible {
  transform: translateY(-1px);
}

body[data-page="home"] .photo-strip {
  margin-top: 0;
  height: 70vh;
  min-height: 360px;
  max-height: 860px;
}

body[data-page="home"] .photo-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.08), rgba(12, 20, 34, 0.12));
  pointer-events: none;
}

body[data-page="home"] .photo-strip + .home-schedule,
body[data-page="home"] .photo-strip + .home-travel {
  margin-top: -2.1rem;
}

body[data-page="home"] .home-schedule + .photo-strip,
body[data-page="home"] .home-travel + .photo-strip {
  margin-top: 0;
}

body[data-page="home"] .event-card,
body[data-page="home"] .travel-item {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding-right: 0;
  padding-left: 0;
}

body[data-page="home"] .event-card::before,
body[data-page="home"] .event-card::after,
body[data-page="home"] .travel-item::before,
body[data-page="home"] .travel-item::after {
  display: none;
}

body[data-page="home"] .home-travel .travel-item__icon {
  border-radius: 0;
  box-shadow: none;
  background: rgba(241, 232, 219, 0.88);
}

@media (min-width: 768px) {
  body[data-page="home"] .site-nav-shell {
    position: static;
    width: 100%;
  }

  body[data-page="home"] .site-nav {
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    padding: 0.8rem 1.5rem 0;
  }

  body[data-page="home"] .site-nav a {
    width: auto;
    padding: 0.65rem 0;
    border-bottom: 0;
  }

  body[data-page="home"] .site-nav a::after {
    display: block;
  }
}

@media (max-width: 767px) {
  body[data-page="home"] .title-bar {
    padding-top: 1rem;
  }

  body[data-page="home"] .nav-toggle {
    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border-radius: 50%;
    border: 1px solid rgba(255, 250, 244, 0.45);
    background: rgba(30, 41, 64, 0.24);
    color: #fffaf4;
    box-shadow: none;
    backdrop-filter: blur(10px);
    transform: none;
  }

  body[data-page="home"] .site-nav-shell {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0.9rem;
    left: auto;
    width: min(18rem, calc(100vw - 1.8rem));
    border: 1px solid rgba(255, 250, 244, 0.34);
    background: rgba(255, 250, 244, 0.92);
    box-shadow: 0 18px 48px rgba(16, 31, 58, 0.18);
    backdrop-filter: blur(16px);
  }

  body[data-page="home"] .site-nav {
    padding: 0.5rem 1rem 1rem;
  }

  body[data-page="home"] .site-nav a {
    color: var(--blue-deep);
    border-bottom-color: rgba(31, 81, 160, 0.1);
  }

  body[data-page="home"] .site-nav a::after {
    background: var(--blue);
  }

  body[data-page="home"] .hero__overlay {
    padding: 5.2rem 1.15rem 6.25rem;
  }

  body[data-page="home"] .hero__title {
    max-width: 9.5ch;
    font-size: clamp(1.65rem, 9.3vw, 2.45rem);
    letter-spacing: 0.03em;
  }

  body[data-page="home"] .paper-card {
    margin-top: -3.2rem;
    padding-top: 2.15rem;
  }

  body[data-page="home"] .paper-card::before,
  body[data-page="home"] .home-schedule::before,
  body[data-page="home"] .home-travel::before {
    display: none;
  }

  body[data-page="home"] .paper-card > *,
  body[data-page="home"] .home-schedule > *,
  body[data-page="home"] .home-travel > * {
    width: calc(100% - 2rem);
  }

  body[data-page="home"] .photo-strip {
    height: 46vh;
    min-height: 250px;
    max-height: 420px;
  }

  body[data-page="home"] .photo-strip + .home-schedule,
  body[data-page="home"] .photo-strip + .home-travel {
    margin-top: -1.35rem;
  }
}

/* =====================================================
   HOME PAGE: QUIETER PAPER CTA + COUNTDOWN
   ===================================================== */

body[data-page="home"] .countdown {
  gap: 0;
  width: min(100%, 32rem);
  margin-top: 1.7rem;
  padding: 0.3rem 0;
  border-top: 1px solid rgba(93, 118, 153, 0.18);
  border-bottom: 1px solid rgba(93, 118, 153, 0.18);
}

body[data-page="home"] .countdown__part {
  position: relative;
  flex: 1 1 7rem;
  min-height: 0;
  min-width: 6.8rem;
  padding: 0.9rem 0.5rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  animation: none;
}

body[data-page="home"] .countdown__part + .countdown__part {
  border-left: 1px solid rgba(93, 118, 153, 0.14);
}

body[data-page="home"] .countdown__part:nth-child(odd),
body[data-page="home"] .countdown__part:nth-child(even) {
  transform: none;
}

body[data-page="home"] .countdown__part > span:first-child {
  font-family: "Borest", "Times New Roman", serif;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

body[data-page="home"] .countdown__part > span:last-child {
  font-size: 0.66rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(93, 118, 153, 0.8);
}

body[data-page="home"] .cta-stack {
  margin-top: 1.8rem;
  text-align: center;
}

body[data-page="home"] .cta-kicker {
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.16em;
  color: rgba(93, 118, 153, 0.78);
}

body[data-page="home"] .cta-row .primary-button {
  min-width: 0;
}

body[data-page="home"] .primary-button,
body[data-page="home"] .primary-button--hero {
  min-height: 0;
  padding: 0.82rem 1.15rem 0.78rem;
  border: 1px solid rgba(93, 118, 153, 0.18);
  border-radius: 0;
  background: rgba(244, 237, 226, 0.72);
  color: var(--blue-deep);
  box-shadow: none;
  animation: none;
}

body[data-page="home"] .primary-button::before {
  display: none;
}

body[data-page="home"] .primary-button__eyebrow {
  display: none;
}

body[data-page="home"] .primary-button__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-family: "Borest", "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-page="home"] .primary-button__label::after {
  content: ">";
  font-family: "Circular", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0;
}

body[data-page="home"] .primary-button:hover,
body[data-page="home"] .primary-button:focus-visible {
  background: rgba(244, 237, 226, 0.92);
  border-color: rgba(93, 118, 153, 0.28);
  color: var(--blue-deep);
  box-shadow: none;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  body[data-page="home"] .countdown {
    width: 100%;
  }

  body[data-page="home"] .countdown__part {
    flex-basis: 50%;
    min-width: 0;
  }

  body[data-page="home"] .countdown__part:nth-child(3),
  body[data-page="home"] .countdown__part:nth-child(4) {
    border-top: 1px solid rgba(93, 118, 153, 0.14);
  }

  body[data-page="home"] .countdown__part:nth-child(3) {
    border-left: 0;
  }

  body[data-page="home"] .countdown__part > span:first-child {
    font-size: 1.35rem;
  }

  body[data-page="home"] .primary-button__label {
    font-size: 0.92rem;
    letter-spacing: 0.15em;
  }
}

body[data-page="home"] .intro-note {
  max-width: 34rem;
  margin: 1.15rem auto 0;
  padding: 0 1rem;
  font-size: 1rem;
  line-height: 1.72;
  text-align: center;
}

body[data-page="home"] .home-travel .travel-copy {
  max-width: 40rem;
  margin: 1rem auto 0;
  padding: 0 1.25rem;
  font-size: 1rem;
  line-height: 1.72;
  text-align: center;
}

body[data-page="home"] .home-travel .travel-copy--emphasis,
body[data-page="home"] .home-travel .travel-copy--note {
  max-width: 38rem;
  letter-spacing: 0.01em;
}

body[data-page="home"] .home-travel .travel-subsection {
  margin-top: 2.2rem;
  text-align: center;
}

body[data-page="home"] .home-travel .travel-subsection h3 {
  margin: 0;
  font-family: "Borest", "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

body[data-page="home"] .home-travel .travel-airports {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: min(100% - 2.5rem, 42rem);
  margin: 1.55rem auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(93, 118, 153, 0.18);
  border-bottom: 1px solid rgba(93, 118, 153, 0.18);
}

body[data-page="home"] .home-travel .travel-airports li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1rem 0.95rem;
  text-align: center;
}

body[data-page="home"] .home-travel .travel-airports li:nth-child(odd) {
  border-right: 1px solid rgba(93, 118, 153, 0.14);
}

body[data-page="home"] .home-travel .travel-airports li:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(93, 118, 153, 0.14);
}

body[data-page="home"] .home-travel .travel-airports strong {
  font-family: "Borest", "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

body[data-page="home"] .home-travel .travel-airports span,
body[data-page="home"] .home-travel .travel-airports em {
  font-size: 0.9rem;
  line-height: 1.55;
  font-style: normal;
}

body[data-page="home"] .home-travel .travel-airports em {
  color: rgba(93, 118, 153, 0.82);
}

body[data-page="home"] .home-travel .travel-list {
  width: min(100% - 2.5rem, 44rem);
  margin: 2.4rem auto 0;
  padding: 0;
  gap: 2rem;
}

body[data-page="home"] .home-travel .travel-item {
  max-width: none;
  padding: 0 0 2rem;
  text-align: left;
  align-items: stretch;
}

body[data-page="home"] .home-travel .travel-item + .travel-item {
  border-top: 1px solid rgba(93, 118, 153, 0.12);
  padding-top: 2rem;
}

body[data-page="home"] .home-travel .travel-item__photo {
  width: 100%;
  margin: 0 0 1.1rem;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: rgba(244, 237, 226, 0.72);
}

body[data-page="home"] .home-travel .travel-item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

body[data-page="home"] .home-travel .travel-item__icon {
  align-self: flex-start;
  margin-bottom: 0.8rem;
}

body[data-page="home"] .home-travel .travel-item h2,
body[data-page="home"] .home-travel .travel-item__subline,
body[data-page="home"] .home-travel .travel-item__note,
body[data-page="home"] .home-travel .travel-item__detail {
  max-width: none;
  text-align: left;
}

body[data-page="home"] .home-travel .travel-item__subline {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: rgba(93, 118, 153, 0.86);
}

body[data-page="home"] .home-travel .travel-item__note {
  margin-top: 0.7rem;
}

body[data-page="home"] .home-travel .travel-item__detail {
  margin-top: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.68;
}

body[data-page="home"] .home-travel .travel-item .action-row {
  justify-content: flex-start;
  margin-top: 1.1rem;
}

@media (max-width: 767px) {
  body[data-page="home"] .intro-note {
    margin-top: 1rem;
    font-size: 0.96rem;
  }

  body[data-page="home"] .home-travel .travel-airports {
    grid-template-columns: 1fr;
    width: calc(100% - 2rem);
  }

  body[data-page="home"] .home-travel .travel-airports li:nth-child(odd) {
    border-right: 0;
  }

  body[data-page="home"] .home-travel .travel-airports li:nth-child(-n + 2) {
    border-bottom: 0;
  }

  body[data-page="home"] .home-travel .travel-airports li + li {
    border-top: 1px solid rgba(93, 118, 153, 0.14);
  }

  body[data-page="home"] .home-travel .travel-list {
    width: calc(100% - 2rem);
  }

  body[data-page="home"] .home-travel .travel-item {
    padding-bottom: 1.75rem;
  }

  body[data-page="home"] .home-travel .travel-item + .travel-item {
    padding-top: 1.75rem;
  }
}

body[data-page="home"] .photo-strip--closing {
  height: 62vh;
  min-height: 300px;
  max-height: 620px;
}

body[data-page="home"] .photo-strip--closing::after {
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.06), rgba(12, 20, 34, 0.1));
}

body[data-page="home"] .photo-strip--closing img {
  object-position: center 38%;
}

@media (max-width: 767px) {
  body[data-page="home"] .photo-strip--closing {
    height: 38vh;
    min-height: 240px;
    max-height: 360px;
  }

  body[data-page="home"] .photo-strip--closing img {
    object-position: center 34%;
  }
}
