:root {
  --wedding-olive: #414a3b;
  --wedding-blush: #e8c9d0;
  --wedding-champagne: #c6a66b;
  --wedding-off-white: #f8f5ef;
  color-scheme: light;
  font-family: Georgia, "Times New Roman", serif;
  color: #41443d;
  background: #f8f5f0;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.9), transparent 68%),
    #f8f5f0;
}

.welcome {
  width: min(100%, 46rem);
  padding: clamp(2.5rem, 8vw, 6rem) 1.5rem;
  text-align: center;
  border: 1px solid #e6dfd3;
}

.welcome__eyebrow {
  margin: 0 0 1.25rem;
  color: #8b806d;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.welcome h1 {
  margin: 0;
  color: #59604f;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
}

.welcome h1 span {
  color: #ad947a;
  font-style: italic;
}

.welcome__divider {
  width: 3rem;
  height: 1px;
  margin: 2rem auto;
  background: #ad947a;
}

.welcome__message {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.6;
}

.welcome__note {
  margin: 1rem 0 0;
  color: #77766d;
  font-size: 1rem;
  line-height: 1.6;
}

.rsvp-card {
  width: min(100%, 54rem);
  padding: clamp(1.5rem, 6vw, 3rem);
  border: 1px solid #e6dfd3;
  background: #fffdfa;
}

.rsvp-card h1 {
  margin: 0;
  color: #59604f;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 400;
}

.rsvp-notice {
  padding: 1rem;
  border-left: 3px solid #ad947a;
  background: #f8f5f0;
  line-height: 1.6;
}

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

.rsvp-guest,
.rsvp-event {
  min-width: 0;
  border: 1px solid #e6dfd3;
}

.rsvp-guest > legend {
  padding: 0 0.4rem;
  color: #59604f;
  font-size: 1.2rem;
}

.rsvp-event {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
}

.rsvp-event > legend {
  padding: 0 0.3rem;
}

.rsvp-event label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.5rem 0;
}

.rsvp-form button {
  min-height: 2.75rem;
  border: 1px solid #59604f;
  color: #fff;
  background: #59604f;
  font: inherit;
  cursor: pointer;
}

.rsvp-replacement {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #e6dfd3;
  overflow-wrap: anywhere;
}

.rsvp-replacement h2 {
  margin-top: 0;
  color: #59604f;
  font-size: 1.15rem;
}

.rsvp-replacement__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.75rem;
}

.rsvp-form button.rsvp-button--secondary {
  border-color: #ad947a;
  color: #59604f;
  background: #f8f5f0;
}

.rsvp-messages {
  margin: 1rem 0;
}

.rsvp-message {
  line-height: 1.5;
}

.rsvp-message--error {
  color: #812c2c;
}

.rsvp-message--success {
  color: #415b43;
}

.admin-page main {
  width: min(100%, 34rem);
}

.admin-page {
  place-items: start center;
  padding-block: clamp(1.5rem, 6vh, 4rem);
}

.admin-page--wide main {
  width: min(100%, 68rem);
}

.admin-card {
  padding: clamp(1.5rem, 6vw, 3rem);
  border: 1px solid #e6dfd3;
  background: #fffdfa;
}

.admin-card__eyebrow {
  margin: 0 0 1rem;
  color: #8b806d;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.admin-card h1 {
  margin: 0;
  color: #59604f;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 400;
}

.admin-card__intro {
  margin: 1rem 0 2rem;
  line-height: 1.5;
}

.admin-card__error {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  color: #812c2c;
  background: #fff0ef;
}

.admin-card__error p {
  margin: 0;
}

.admin-form {
  display: grid;
  gap: 0.75rem;
}

.admin-form input,
.admin-form button,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #b6b3a8;
  border-radius: 0;
  font: inherit;
}

.admin-form input {
  margin-bottom: 0.5rem;
  background: #fff;
}

.admin-form select,
.admin-form textarea {
  border: 1px solid #b6b3a8;
  border-radius: 0;
  background: #fff;
  color: inherit;
  font: inherit;
}

.admin-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.admin-form label {
  color: #59604f;
  font-size: 0.95rem;
}

.admin-form button {
  border-color: #59604f;
  color: #fff;
  background: #59604f;
  cursor: pointer;
}

.admin-form input:focus-visible,
.admin-form button:focus-visible,
.admin-form select:focus-visible,
.admin-form textarea:focus-visible,
.button-link:focus-visible,
.text-link:focus-visible {
  outline: 2px solid #ad947a;
  outline-offset: 2px;
}

.admin-nav,
.admin-form__actions,
.admin-heading-row,
.event-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.admin-nav {
  margin-bottom: 1.5rem;
}

.admin-nav a,
.text-link {
  color: #59604f;
  text-decoration-color: #ad947a;
  text-underline-offset: 0.2em;
}

.admin-form__actions > *,
.button-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid #59604f;
  color: #fff;
  background: #59604f;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.button-link--secondary {
  color: #59604f;
  background: transparent;
}

.button-link--light {
  border-color: #e6dfd3;
  color: #59604f;
  background: #f8f5f0;
}

.button-link--light:hover {
  background: #fff;
}

.admin-heading-row {
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.admin-heading-row .admin-card__intro {
  margin-bottom: 0;
}

.admin-messages {
  margin: 1rem 0;
}

.admin-message,
.field-error {
  margin: 0;
  color: #812c2c;
  line-height: 1.5;
}

.admin-message--success {
  color: #415b43;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checkbox-label input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin: 0;
  accent-color: #59604f;
}

.event-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.event-card {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #e6dfd3;
}

.event-card h2 {
  margin: 0 0 0.5rem;
  color: #59604f;
  font-size: 1.3rem;
  font-weight: 400;
}

.event-card p {
  margin: 0.35rem 0;
  line-height: 1.5;
}

.event-card__eyebrow {
  color: #8b806d;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-card__actions {
  align-content: flex-start;
  justify-content: flex-end;
}

.event-card__actions form {
  margin: 0;
}

.event-card__actions button {
  width: auto;
}

.event-card__actions > button {
  width: auto;
}

.invitation-feedback {
  width: 100%;
  margin: 0;
  color: #415b43;
  font-size: 0.9rem;
}

.invitation-feedback--error {
  color: #812c2c;
}

.status-badge {
  align-self: center;
  padding: 0.3rem 0.55rem;
  font-size: 0.85rem;
}

.status-badge--active {
  color: #415b43;
  background: #edf3eb;
}

.status-badge--inactive {
  color: #6a6259;
  background: #f0eee9;
}

.empty-state {
  margin: 2rem 0;
  color: #77766d;
}

.event-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

.form-field {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.guest-section-title {
  color: #59604f;
  font-size: 1.3rem;
  font-weight: 400;
}

.guest-counts {
  padding-left: 1.25rem;
  line-height: 1.7;
}

.rsvp-admin-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.rsvp-admin-list li {
  padding: 1rem;
  border: 1px solid #e6dfd3;
}

.rsvp-admin-list p {
  margin: 0.3rem 0;
}

.rsvp-admin-filter-note {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid #ad947a;
  background: #f7f4ee;
  line-height: 1.5;
}

.rsvp-admin-history {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid #e6dfd3;
}

.rsvp-admin-history summary {
  color: #59604f;
  cursor: pointer;
  font-weight: 600;
}

.rsvp-admin-history ol {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.5rem;
}

.guest-filters {
  margin-top: 1.5rem;
}

.guest-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 14rem);
  gap: 1rem 1.5rem;
  border-radius: 0.35rem;
  background: #fffdfa;
}

.guest-card__details,
.guest-card__link-text {
  min-width: 0;
}

.guest-card h2 {
  margin-bottom: 0.2rem;
  overflow-wrap: anywhere;
}

.guest-card .guest-card__group {
  margin: 0;
  color: #77766d;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.guest-card__events {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.guest-card__event {
  padding: 0.25rem 0.55rem;
  border: 1px solid #e6e8df;
  border-radius: 0.25rem;
  color: #59604f;
  background: #f5f6f0;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.guest-card .guest-card__date,
.guest-card .guest-card__status {
  margin: 0.6rem 0 0;
  color: #77766d;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.guest-card .guest-card__status {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.guest-card__status::before {
  flex: 0 0 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #b6aa98;
  content: "";
}

.guest-card__status--sent::before {
  background: #728366;
}

.guest-card__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  margin-top: 0.85rem;
  padding: 0.5rem;
  border: 1px solid #e6dfd3;
  border-radius: 0.3rem;
  background: #f8f5f0;
}

.guest-card__link-text {
  flex: 1;
}

.guest-card__label {
  display: block;
  margin-bottom: 0.15rem;
  color: #8b806d;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.guest-card__link-text a {
  display: block;
  overflow: hidden;
  color: #59604f;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-card__actions,
.guest-card__action-group {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  min-width: 0;
}

.guest-card__action-group--admin {
  padding-top: 0.6rem;
  border-top: 1px solid #eee9e1;
}

.guest-card__action-group form {
  margin: 0;
}

.guest-card__confirmation summary {
  list-style: none;
}

.guest-card__confirmation summary::-webkit-details-marker {
  display: none;
}

.guest-card__confirmation p {
  margin: 0.5rem 0;
  color: #77766d;
  font-size: 0.85rem;
}

.guest-card__button {
  display: inline-flex;
  width: 100%;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid #c9cbbf;
  border-radius: 0.25rem;
  color: #59604f;
  background: #fffdfa;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.guest-card__button svg {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
}

.guest-card__button:hover {
  border-color: #59604f;
  background: #f0f2eb;
}

.guest-card__button:focus-visible,
.guest-card__link-text a:focus-visible {
  outline: 2px solid #ad947a;
  outline-offset: 2px;
}

.guest-card__button--primary {
  border-color: #59604f;
  color: #fff;
  background: #59604f;
}

.guest-card__button--primary:hover {
  border-color: #454d3e;
  background: #454d3e;
}

.guest-card__button--link {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
}

.guest-card .invitation-feedback {
  margin: 0;
  line-height: 1.4;
}

.guest-card .invitation-feedback:empty {
  display: none;
}

.guest-events {
  min-width: 0;
  border: 1px solid #e6dfd3;
}

.guest-events .checkbox-label {
  margin: 0.65rem 0;
}

.event-form input {
  margin: 0;
}

.admin-page--wide .admin-card {
  width: 100%;
}

@media (max-width: 760px) {
  .guest-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .guest-card__action-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding: 1rem;
  }

  .event-form {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .event-card {
    flex-direction: column;
  }

  .event-card__actions {
    justify-content: flex-start;
  }

  .admin-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .guest-card__action-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

.public-page {
  display: block;
  min-width: 320px;
  padding: 0;
  color: #41443d;
  background: #fbfaf6;
}

.home-page {
  scrollbar-width: none;
}

.home-page::-webkit-scrollbar {
  display: none;
}

.public-page main {
  width: 100%;
}

.public-page--messages .rsvp-header {
  position: static;
}

.message-board {
  max-width: 76rem;
  margin: 0 auto;
}

.message-board h1 {
  color: #59604f;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 400;
}

.message-board__heading {
  margin-bottom: 1.25rem;
}

.message-board__heading h1 {
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.message-board__heading .eyebrow {
  margin-bottom: 0.85rem;
}

.message-board__heading .section-heading__ornament {
  margin: 0.85rem 0 1.15rem;
}

.message-board__subheading {
  margin: 0;
  color: #59604f;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.35;
}

.message-board__intro {
  max-width: 45rem;
  margin: 0 auto;
  color: #66675e;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.85;
  text-align: center;
  overflow-wrap: anywhere;
}

.message-board__intro p {
  margin: 0 0 1rem;
}

.message-board__signature {
  margin: 1.25rem 0 0;
  color: #8b806d;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
}

.message-form {
  display: grid;
  gap: 0.65rem;
  width: min(100%, 38rem);
  margin: 1.75rem auto 3rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #e6dfd3;
  background: #fffdfa;
}

.message-form label {
  margin-top: 0.2rem;
  color: #59604f;
}

.message-form input,
.message-form textarea,
.message-form button {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #b6b3a8;
  font: inherit;
}

.message-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.message-form button {
  min-height: 3.25rem;
  margin-top: 0.35rem;
  border-color: #59604f;
  color: #fff;
  background: #59604f;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.message-form button:hover {
  border-color: #454b3d;
  background: #454b3d;
}

.message-form > p:not(.field-error) {
  margin: 0.15rem 0;
  color: #77766d;
  font-size: 0.9rem;
  line-height: 1.55;
}

.message-form input:focus-visible,
.message-form textarea:focus-visible,
.message-form button:focus-visible {
  outline: 2px solid #ad947a;
  outline-offset: 2px;
}

.message-form__trap {
  position: absolute;
  left: -10000px;
}

.message-board__notice {
  text-align: center;
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
}

.message-card {
  padding: 1.75rem;
  border: 1px solid #e6dfd3;
  background: #fffdfa;
  box-shadow: 0 0.3rem 1.2rem rgba(89, 96, 79, 0.06);
}

.message-card__text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.message-card__author {
  margin-bottom: 0.3rem;
  color: #59604f;
  font-weight: bold;
  overflow-wrap: anywhere;
}

.message-card time {
  color: #77766d;
  font-size: 0.9rem;
}

.message-admin__content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-header,
.rsvp-header {
  position: absolute;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 5rem);
}

.public-page--home .site-header {
  position: relative;
  color: #fff;
  gap: 1rem;
}

.public-page--home .site-nav {
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header__brand {
  color: inherit;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__brand span,
.hero h1 .hero__ampersand {
  color: #cbb49a;
  font-style: italic;
}

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

.site-nav a,
.rsvp-header .text-link {
  color: inherit;
  font-size: 0.86rem;
  text-decoration: none;
}

.site-nav__invite {
  padding: 0.7rem 1rem;
  border: 1px solid currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #4a5043;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  animation: hero-reveal 1.1s ease-out both;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 75rem);
  margin: 0 auto;
  padding: clamp(5rem, 12svh, 7rem) clamp(1.5rem, 9vw, 8rem);
  animation: content-reveal 0.9s 0.12s ease-out both;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #a89c83;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.hero__date {
  margin: 1.6rem 0 0;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
}

.hero__intro {
  max-width: 34rem;
  margin: 1.4rem 0 2rem;
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  line-height: 1.7;
  white-space: pre-line;
}

.button-link.hero__button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.button-link.hero__button:hover {
  color: #42483d;
  background: #fff;
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(1rem, 3svh, 2rem);
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: white;
  text-decoration: none;
}

.hero__scroll span {
  animation: scroll-hint 1.8s ease-in-out infinite;
}

.countdown-section,
.content-section,
.invite-section,
.site-footer {
  padding: clamp(4rem, 9vw, 8rem) 1.5rem;
  text-align: center;
}

.countdown-section {
  background: #f3f0e9;
}

.countdown-section h2,
.section-heading h2,
.invite-section h2 {
  margin: 0;
  color: #59604f;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 5vw, 4.5rem);
  margin: 2.5rem auto 1rem;
}

.countdown > div {
  display: grid;
  min-width: 4.5rem;
  gap: 0.35rem;
}

.countdown span {
  color: #59604f;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown small,
.countdown__timezone {
  color: #77766d;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown__timezone {
  margin: 1.5rem 0 0;
  font-size: 0.68rem;
}

.content-section {
  width: min(100%, 76rem);
  margin: auto;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading__ornament {
  display: block;
  margin-top: 1rem;
  color: #a89c83;
}

.schedule-section {
  max-width: none;
  background: var(--wedding-off-white);
}

.schedule-section > .section-heading,
.schedule-list {
  width: min(100%, 70rem);
  margin-right: auto;
  margin-left: auto;
}

.schedule-list {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.schedule-card {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid #e3ded2;
  background: rgba(255, 253, 250, 0.8);
}

.schedule-card__number {
  margin: 0;
  color: #a89c83;
  font-size: 1.7rem;
  font-style: italic;
}

.schedule-card__content .eyebrow {
  margin-bottom: 0.45rem;
}

.schedule-card h3 {
  margin: 0;
  color: #59604f;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
}

.schedule-card__date {
  margin: 0.8rem 0;
  color: #796e5d;
  font-size: 0.95rem;
}

.schedule-card address {
  margin: 0.8rem 0;
  color: #66675e;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.6;
}

.schedule-card__capacity,
.schedule-card__instructions {
  color: #66675e;
  line-height: 1.6;
  white-space: pre-line;
}

.schedule-card .text-link,
.rsvp-event .text-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: #59604f;
  font-size: 0.9rem;
  text-underline-offset: 0.2em;
}

.invite-section {
  color: #fff;
  background: #59604f;
}

.invite-section .eyebrow {
  color: #d3c4ad;
}

.invite-section h2 {
  color: #fff;
}

.invite-section > p:last-child {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: #f1eee8;
  line-height: 1.7;
}

.site-footer {
  padding-block: 2.5rem;
  background: #fbfaf6;
}

.site-footer .site-header__brand {
  color: #59604f;
}

.site-footer p {
  margin-bottom: 0;
  color: #77766d;
  font-size: 0.85rem;
}

.rsvp-header {
  position: static;
  padding-inline: max(1.5rem, calc((100% - 58rem) / 2));
  color: #59604f;
}

.public-page--rsvp {
  min-height: 100vh;
  background: #f3f0e9;
}

.rsvp-card {
  width: min(calc(100% - 2rem), 58rem);
  margin: 0 auto 4rem;
  padding: clamp(1.5rem, 6vw, 4rem);
  border: 1px solid #e6dfd3;
  background: #fffdfa;
}

.rsvp-card > .eyebrow {
  margin-bottom: 0.8rem;
}

.rsvp-card h1 {
  max-width: 18ch;
  margin: 0;
  color: #59604f;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
}

.rsvp-card__intro {
  max-width: 42rem;
  margin: 1rem 0 1.5rem;
  color: #66675e;
  line-height: 1.65;
}

.rsvp-card .rsvp-notice {
  padding: 1rem 1.25rem;
  border-left: 2px solid #a89c83;
  background: #f8f5f0;
  line-height: 1.6;
}

.rsvp-guest {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #e6dfd3;
}

.rsvp-guest > legend {
  padding: 0 0.5rem;
  color: #59604f;
  font-size: 1.3rem;
}

.rsvp-guest > legend span {
  color: #8b806d;
  font-size: 0.8rem;
  font-style: italic;
}

.rsvp-event {
  margin: 1rem 0 0;
  padding: 1rem 1.2rem;
  border: 1px solid #ebe7de;
}

.rsvp-event > legend {
  padding: 0 0.35rem;
  color: #59604f;
  font-size: 1.1rem;
}

.rsvp-event__date {
  margin: 0.2rem 0 0.6rem;
  color: #796e5d;
}

.rsvp-event address {
  color: #66675e;
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.55;
}

.rsvp-event__answers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ebe7de;
}

.rsvp-event__answers label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #55584e;
}

.rsvp-event__answers input {
  accent-color: #59604f;
}

.rsvp-empty {
  color: #77766d;
}

.rsvp-form button {
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid #59604f;
  color: #fff;
  background: #59604f;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.2s;
}

.rsvp-form button:hover {
  background: #454d3e;
}

.public-page a:focus-visible,
.public-page button:focus-visible {
  outline: 2px solid #ad947a;
  outline-offset: 3px;
}

@keyframes hero-reveal {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@keyframes content-reveal {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.65; transform: translateY(-0.15rem); }
  50% { opacity: 1; transform: translateY(0.2rem); }
}

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

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .site-nav a {
    font-size: 0.76rem;
  }

  .site-nav__invite {
    padding: 0.35rem 0.5rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__content {
    padding-block: clamp(8rem, 20svh, 10rem) 5rem;
  }

  .schedule-card {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .rsvp-header {
    min-height: 4.5rem;
    padding-inline: 1.25rem;
  }

  .rsvp-header .site-header__brand {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .site-nav a {
    font-size: 0.68rem;
  }

  .site-nav__invite {
    max-width: 6rem;
    text-align: center;
  }

  .countdown {
    gap: 1.2rem;
  }

  .countdown > div {
    min-width: 3.5rem;
  }

  .countdown small {
    font-size: 0.65rem;
  }

  .rsvp-event__answers {
    display: grid;
  }
}

.public-page--album {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top, rgba(255, 255, 255, 0.9), transparent 55%),
    #f8f5f0;
}

.public-page--album .rsvp-header {
  position: static;
}

.album-upload,
.album-gallery {
  max-width: 76rem;
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.album-upload .section-heading h1,
.album-gallery .section-heading h1 {
  margin: 0;
  color: #59604f;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.album-intro,
.album-gallery__intro {
  max-width: 42rem;
  margin: 0 auto 2rem;
  color: #66675e;
  font-size: 1.05rem;
  line-height: 1.75;
}

.photo-upload-form {
  display: grid;
  gap: 0.7rem;
  width: min(100%, 42rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #e6dfd3;
  background: #fffdfa;
  text-align: left;
}

.photo-upload-form label {
  margin-top: 0.35rem;
  color: #59604f;
}

.photo-upload-form label span,
.photo-upload-form__limits {
  color: #77766d;
  font-size: 0.88rem;
}

.photo-upload-form input,
.photo-upload-form textarea,
.photo-upload-form button {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #b6b3a8;
  color: #41443d;
  background: #fff;
  font: inherit;
}

.photo-upload-form textarea {
  resize: vertical;
}

.photo-upload-form input[type="file"] {
  padding: 0.55rem;
}

.photo-upload-form button {
  margin-top: 0.5rem;
  border-color: #59604f;
  color: #fff;
  background: #59604f;
  cursor: pointer;
}

.photo-upload-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.photo-upload-form__limits {
  margin: 0;
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 0.65rem;
}

.photo-preview figure {
  min-width: 0;
  margin: 0;
}

.photo-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-preview figcaption {
  margin-top: 0.2rem;
  overflow: hidden;
  color: #77766d;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-upload-progress {
  width: 100%;
  height: 0.7rem;
  accent-color: #59604f;
}

.photo-upload-status {
  min-height: 1.4rem;
  margin: 0;
  color: #415b43;
  line-height: 1.5;
}

.photo-upload-status--error {
  color: #812c2c;
}

.album-notice {
  width: min(100%, 42rem);
  margin: 0 auto;
  padding: 1rem;
  border-left: 2px solid #ad947a;
  background: #fffdfa;
  line-height: 1.6;
}

.album-gallery__upload {
  margin: 0 0 2rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: clamp(0.65rem, 2vw, 1.2rem);
  text-align: left;
}

.photo-grid__item {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 1px solid #e6dfd3;
  background: #fffdfa;
  cursor: zoom-in;
  overflow: hidden;
}

.photo-grid__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-grid__item:hover img {
  transform: scale(1.025);
}

.photo-grid__caption {
  display: block;
  padding: 0.65rem 0.75rem;
  color: #59604f;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.album-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.photo-lightbox {
  position: fixed;
  width: min(94vw, 70rem);
  max-width: none;
  max-height: 92vh;
  padding: 3rem clamp(2.5rem, 6vw, 5rem) 1.5rem;
  border: 1px solid #e6dfd3;
  background: #fffdfa;
}

.photo-lightbox::backdrop {
  background: rgba(31, 34, 29, 0.86);
}

.photo-lightbox figure {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  max-height: calc(92vh - 4.5rem);
  margin: 0;
}

.photo-lightbox figure img {
  max-width: 100%;
  max-height: calc(92vh - 8rem);
  object-fit: contain;
}

.photo-lightbox figcaption {
  color: #59604f;
  line-height: 1.5;
  text-align: center;
}

.photo-lightbox__close,
.photo-lightbox__nav {
  position: absolute;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid #e6dfd3;
  color: #59604f;
  background: #fffdfa;
  font: inherit;
  font-size: 1.6rem;
  cursor: pointer;
}

.photo-lightbox__close {
  top: 0.5rem;
  right: 0.5rem;
}

.photo-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.photo-lightbox__nav--previous {
  left: 0.5rem;
}

.photo-lightbox__nav--next {
  right: 0.5rem;
}

.album-qr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid #e6dfd3;
  background: #f8f5f0;
}

.album-qr h2 {
  margin-top: 0;
  color: #59604f;
  font-size: 1.3rem;
  font-weight: 400;
}

.album-qr img {
  display: block;
  width: min(32vw, 11rem);
  height: auto;
  padding: 0.5rem;
  background: white;
}

.album-admin-card {
  align-items: flex-start;
}

.album-admin-card__image {
  flex: 0 0 10rem;
}

.album-admin-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.album-admin-card__details {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.album-admin-card__details h3 {
  margin: 0 0 0.5rem;
  color: #59604f;
  font-size: 1.2rem;
  font-weight: 400;
}

.album-admin-list .event-card__actions {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .album-qr {
    align-items: flex-start;
    flex-direction: column;
  }

  .album-admin-card__image {
    width: min(100%, 15rem);
  }

  .photo-lightbox {
    width: 100vw;
    max-height: 100vh;
    padding-inline: 2.5rem;
  }
}

.public-page--home .hero {
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  grid-template-rows: auto minmax(min-content, 1fr);
  background: #414a3b;
  align-items: stretch;
  color: #f8f5ef;
}

.public-page--home .site-header {
  z-index: 2;
  grid-area: 1 / 1 / 2 / 3;
  color: var(--wedding-off-white);
  border-bottom: 1px solid rgba(198, 166, 107, 0.05);
  background: linear-gradient(to bottom, rgba(65, 74, 59, 0.88), rgba(65, 74, 59, 0.72));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.public-page--home .site-nav {
  padding: 0.6rem 0.8rem;
  background: transparent;
}

.public-page--home .site-header__brand span,
.public-page--home .hero h1 .hero__ampersand {
  color: var(--wedding-champagne);
}

.public-page--home .site-header__brand {
  transition: color 0.25s ease;
}

.public-page--home .site-header__brand:hover,
.public-page--home .site-header__brand:focus-visible {
  color: var(--wedding-blush);
}

.public-page--home .site-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  color: var(--wedding-off-white);
  transition: color 0.25s ease, background-size 0.25s ease, border-color 0.25s ease;
}

.public-page--home .site-nav a:focus-visible,
.public-page--home .site-header__brand:focus-visible,
.public-page--home .hero__scroll:focus-visible {
  outline: 2px solid var(--wedding-champagne);
  outline-offset: 3px;
}

.public-page--home .site-nav a:not(.site-nav__invite) {
  background-image: linear-gradient(var(--wedding-champagne), var(--wedding-champagne));
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0 1px;
}

.public-page--home .site-nav a:not(.site-nav__invite):hover,
.public-page--home .site-nav a:not(.site-nav__invite):focus-visible {
  color: var(--wedding-blush);
  background-size: 100% 1px;
}

.public-page--home .site-nav a.site-nav__invite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: var(--wedding-champagne);
  color: var(--wedding-off-white);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.public-page--home .site-nav a.site-nav__invite:hover,
.public-page--home .site-nav a.site-nav__invite:focus-visible {
  border-color: var(--wedding-blush);
  color: var(--wedding-blush);
  background: rgba(232, 201, 208, 0.12);
}

.public-page--home .hero__image-wrap {
  position: relative;
  grid-area: 1 / 1 / 3 / 3;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  background: #414a3b;
}

.public-page--home .hero__image-wrap::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(4.5rem, 11vw, 8rem);
  background: linear-gradient(to bottom, rgba(248, 245, 239, 0), var(--wedding-off-white));
  content: "";
  pointer-events: none;
}

.public-page--home .hero__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  height: 100%;
  clip-path: inset(0);
  animation: none;
}

.public-page--home .hero__content {
  grid-area: 2 / 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem clamp(1.5rem, 4vw, 4rem) 5rem;
}

.public-page--home .hero__panel {
  position: relative;
  grid-area: 2 / 1;
  min-width: 0;
  min-height: 0;
  width: 120%;
  background: linear-gradient(
    to right,
    rgba(65, 74, 59, 0.9) 0%,
    rgba(65, 74, 59, 0.9) 80%,
    rgba(65, 74, 59, 0.72) 87%,
    transparent 100%
  );
  pointer-events: none;
}

.public-page--home .hero__content .eyebrow {
  color: var(--wedding-blush);
}

.public-page--home .hero__content .eyebrow::after {
  display: block;
  width: 3rem;
  height: 1px;
  margin-top: 1rem;
  background: var(--wedding-champagne);
  content: "";
}

.public-page--home .hero h1 {
  color: #f8f5ef;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  overflow-wrap: anywhere;
}

.public-page--home .hero h1 span {
  display: block;
}

.public-page--home .hero h1 .hero__ampersand {
  margin: 0.12em 0;
  font-size: 0.65em;
}

.public-page--home .hero__date {
  margin-top: 1.4rem;
  color: var(--wedding-blush);
  font-weight: 400;
  line-height: 1.6;
}

.public-page--home .hero__intro {
  max-width: 31rem;
  margin: 1.1rem 0 2rem;
  color: var(--wedding-off-white);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.8;
}

.public-page--home .hero__button {
  border-color: var(--wedding-champagne);
  color: var(--wedding-off-white);
  background: rgba(65, 74, 59, 0.22);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.public-page--home .hero__button:hover,
.public-page--home .hero__button:focus-visible {
  border-color: var(--wedding-blush);
  color: var(--wedding-blush);
  background: rgba(232, 201, 208, 0.08);
}

.public-page--home .hero__scroll {
  border-color: var(--wedding-champagne);
  color: var(--wedding-off-white);
  background: var(--wedding-olive);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.public-page--home .hero__scroll:hover,
.public-page--home .hero__scroll:focus-visible {
  border-color: var(--wedding-blush);
  color: var(--wedding-blush);
  background: #353d31;
}

.public-page--home .eyebrow {
  color: #806b45;
}

.public-page--home .countdown-section {
  background: linear-gradient(to bottom, var(--wedding-off-white), #fbfaf6);
}

.public-page--home .countdown-section h2,
.public-page--home .section-heading h2,
.public-page--home .invite-section--album h2 {
  color: var(--wedding-olive);
}

.public-page--home .countdown > div {
  position: relative;
  padding-top: 0.9rem;
}

.public-page--home .countdown > div::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.75rem;
  height: 1px;
  background: var(--wedding-champagne);
  content: "";
  transform: translateX(-50%);
}

.public-page--home .countdown span {
  color: var(--wedding-olive);
}

.public-page--home .section-heading__ornament {
  color: #b47e89;
}

.public-page--home .section-heading__ornament::before,
.public-page--home .section-heading__ornament::after {
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  margin: 0 0.75rem;
  background: var(--wedding-champagne);
  content: "";
  vertical-align: middle;
}

.public-page--home .quote-section__quote {
  color: var(--wedding-olive);
}

.public-page--home .quote-section__signature {
  color: #93616c;
}

.public-page--home .quote-section__quote {
  position: relative;
}

.public-page--home .quote-section__quote::after {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 1.5rem auto 0;
  background: var(--wedding-champagne);
  content: "";
}

.public-page--home .quote-section__subtitle {
  margin-top: 1.25rem;
  color: #555b4d;
}

.public-page--home .schedule-section {
  position: relative;
  width: 100%;
  background: var(--wedding-off-white);
}

.story-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-50%);
}

.story-divider svg {
  display: block;
  width: max(100%, 1200px);
  height: 100%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.story-divider path {
  fill: none;
  stroke: #c893a0;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.public-page--home .schedule-card {
  border-color: rgba(198, 166, 107, 0.45);
  border-left: 2px solid var(--wedding-champagne);
  background: linear-gradient(110deg, #f8edeb, #fbf9f4 35%);
  box-shadow: 0 0.5rem 1.5rem rgba(65, 74, 59, 0.05);
}

.public-page--home .schedule-card__number {
  color: #806b45;
}

.public-page--home .schedule-card h3 {
  color: var(--wedding-olive);
}

.public-page--home .schedule-card .text-link {
  text-decoration-color: var(--wedding-champagne);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.public-page--home .schedule-card .text-link:hover,
.public-page--home .schedule-card .text-link:focus-visible {
  color: #93616c;
  text-decoration-color: var(--wedding-blush);
}

.public-page--home .invite-section {
  color: var(--wedding-off-white);
  background: linear-gradient(145deg, #414a3b, #505847);
}

.public-page--home .invite-section .eyebrow {
  color: var(--wedding-blush);
}

.public-page--home .invite-section h2 {
  color: var(--wedding-off-white);
}

.public-page--home .invite-section h2::after {
  display: block;
  width: 3rem;
  height: 1px;
  margin: 1.5rem auto 0;
  background: var(--wedding-champagne);
  content: "";
}

.public-page--home .invite-section .button-link--light {
  border-color: var(--wedding-champagne);
  color: var(--wedding-olive);
  background: #f7e9e8;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.public-page--home .invite-section .button-link--light:hover,
.public-page--home .invite-section .button-link--light:focus-visible {
  border-color: var(--wedding-blush);
  color: var(--wedding-olive);
  background: var(--wedding-off-white);
}

.public-page--home .invite-section--album {
  color: var(--wedding-olive);
  background: linear-gradient(to bottom, #f7efec, #f1ede5);
}

.public-page--home .invite-section--album h2,
.public-page--home .invite-section--album > p:not(.eyebrow) {
  color: var(--wedding-olive);
}

.public-page--home .invite-section--album .eyebrow {
  color: #806b45;
}

.public-page--home .site-footer {
  border-top: 1px solid rgba(198, 166, 107, 0.3);
  background: var(--wedding-off-white);
}

.public-page--home .site-footer .site-header__brand {
  color: var(--wedding-olive);
}

.story-transition {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(to bottom, #fbfaf6, #f2e8e5 70%, #f8f4ef);
}

.story-transition__photo {
  position: relative;
  height: clamp(32rem, 65vw, 58rem);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 45%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 45%, transparent);
}

.story-transition__photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(251, 250, 246, 0.3), rgba(232, 201, 208, 0.14) 60%, rgba(248, 242, 239, 0.4));
  content: "";
  pointer-events: none;
}

.story-transition img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.quote-section {
  position: relative;
  margin-top: calc(-1 * clamp(12rem, 24vw, 22rem));
  padding: clamp(4rem, 8vw, 7rem) 1.5rem clamp(5rem, 10vw, 9rem);
  text-align: center;
}

.quote-section__quote {
  max-width: 18ch;
  margin: 0 auto;
  color: #59604f;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.2;
}

.quote-section__subtitle {
  margin: 1.75rem auto 0;
  color: #66675e;
  font-size: 1.1rem;
  line-height: 1.7;
}

.quote-section__signature {
  margin: 2rem 0 0;
  color: #9a8569;
  font-size: 1.2rem;
  font-style: italic;
}

.invite-section > p:not(.eyebrow) {
  max-width: 38rem;
  margin: 1rem auto 1.75rem;
  color: #f1eee8;
  line-height: 1.7;
}

.invite-section--album {
  color: #59604f;
  background: #e8e4d9;
}

.invite-section--album h2,
.invite-section--album > p:not(.eyebrow) {
  color: #59604f;
}

.invite-section--album .eyebrow {
  color: #8b806d;
}

.invite-section--album .button-link {
  margin: 0.25rem;
}

@media (max-width: 800px) {
  .public-page--home .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(22rem, 45svh);
  }

  .public-page--home .site-header {
    grid-area: 1 / 1;
  }

  .public-page--home .site-nav {
    justify-content: space-between;
    padding: 0;
  }

  .public-page--home .hero__image-wrap {
    grid-area: 1 / 1 / 4 / 2;
    overflow: hidden;
  }

  .public-page--home .hero__content {
    grid-area: 2 / 1;
    padding: 2rem 1.5rem 3rem;
  }
}

@media (max-width: 640px) {
  .public-page--home .hero {
    grid-template-rows: auto auto minmax(14rem, 36svh);
  }

  .public-page--home .hero__panel {
    position: absolute;
    inset: 0;
    grid-area: auto;
    width: auto;
    background: linear-gradient(
      to bottom,
      rgba(65, 74, 59, 0.64) 0%,
      rgba(65, 74, 59, 0.58) 44%,
      rgba(65, 74, 59, 0.43) 68%,
      rgba(65, 74, 59, 0.16) 88%,
      rgba(65, 74, 59, 0) 100%
    );
  }

  .public-page--home .hero__content {
    z-index: 2;
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .public-page--home .hero__content .eyebrow {
    margin-bottom: 0.65rem;
  }

  .public-page--home .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.5rem);
    line-height: 0.96;
  }

  .public-page--home .hero h1 .hero__ampersand {
    margin: 0.08em 0;
  }

  .public-page--home .hero__date {
    margin-top: 0.9rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }

  .public-page--home .hero__intro {
    margin: 0.85rem 0 1.25rem;
    font-size: clamp(0.95rem, 4vw, 1.05rem);
    line-height: 1.55;
  }

  .public-page--home .hero__scroll {
    z-index: 3;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}
