:root {
  --cream: #fbf7ee;
  --band: #f4ebe3;
  --card: #efebe4;
  --ink: #222222;
  --muted: #5b5b5b;
  --rule: #4a4a4a;
  --green: #2f4a2c;
  --green-mid: #6f946c;
  --green-dark: #0f3d24;
  --dots: #779274;
  --olive: #3a421b;
  --alert: #b0332a;
  --script: "Pinyon Script", "Parfumerie Script", "Snell Roundhand", cursive;
  --serif: "Cormorant Garamond", Cormorant, Garamond, "Times New Roman", serif;
  --display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --mono: "Playfair Display", Didot, "Bodoni MT", "Cormorant Garamond", serif;
  --page: 1024px;
  --gutter: 60px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

p {
  margin: 0;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Type ------------------------------------------------------------------ */

.script {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.28;
  color: var(--green);
  margin: 0;
  letter-spacing: 0.01em;
}

/* Headings were Parfumerie Script in the original design; Pinyon Script is
   wider, so these are sized down to keep a similar footprint. */
.script-sm {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
}

.script-md {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
}

.script-ink {
  color: var(--ink);
}

.echo {
  text-shadow: none;
}

.inline-link,
.text-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.text-link {
  font-size: 0.95rem;
}

.label {
  font-size: 1rem;
}

.venue-name {
  font-weight: 700;
}

.venue-address a {
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.venue-address a:hover {
  text-decoration-thickness: 1.5px;
}

.olive {
  color: var(--olive);
}

/* Header ---------------------------------------------------------------- */

.site-header {
  background: var(--band);
  text-align: center;
  padding: 1rem var(--gutter) 0.85rem;
}

.site-title {
  display: inline-block;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  margin-top: 0.5rem;
}

.site-nav a {
  font-size: 1.0625rem;
  line-height: 1.3;
  text-decoration: none;
  padding: 0.15rem 0 0.2rem;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease;
}

.site-nav a:hover {
  border-bottom-color: rgba(34, 34, 34, 0.4);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

/* Layout ---------------------------------------------------------------- */

.section {
  max-width: var(--page);
  margin: 0 auto;
  padding: 3rem var(--gutter);
}

.centered {
  text-align: center;
}

.bleed img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.site-footer {
  text-align: center;
  padding: 2.5rem var(--gutter) 3rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer .script {
  font-size: 1.75rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Buttons --------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 139px;
  height: 37px;
  padding: 0 1.25rem;
  font-family: var(--display);
  font-size: 0.8125rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.button:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}

.button-solid {
  background: var(--ink);
  color: var(--cream);
}

.button-solid:hover {
  background: #000;
  border-color: #000;
}

.button-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.button-sage {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
}

.button-sage:hover {
  background: #5f8260;
  border-color: #5f8260;
}

.button-dark {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.button-dark:hover {
  background: #0a2c1a;
  border-color: #0a2c1a;
}

.button-wide {
  min-width: 160px;
}

.button:disabled,
.button[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
}

/* Home: split hero + carousel -------------------------------------------- */

.hero-split {
  display: block;
  width: 100%;
  height: min(86vh, 920px);
}

.hero-main {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  height: 100%;
  width: 800%;
  animation: carousel-marquee 18s linear infinite;
}

.carousel-track img {
  flex: 0 0 12.5%;
  width: 12.5%;
  height: 100%;
  object-fit: cover;
}

.carousel-track img:nth-child(4n + 1) {
  object-position: 50% 28%;
}

.carousel-track img:nth-child(4n + 2) {
  object-position: 28% 40%;
}

.carousel-track img:nth-child(4n + 3) {
  object-position: 45% 72%;
}

.carousel-track img:nth-child(4n + 4) {
  object-position: 50% 70%;
}

@keyframes carousel-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.monogram {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 2;
  width: 17.25em;
  height: 17.25em;
  font-size: clamp(11px, 1.7vw, 20px);
  transform: translate(-50%, -50%);
  color: #fff;
  pointer-events: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.monogram span {
  position: absolute;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 8.25em;
  line-height: 1;
  letter-spacing: -0.03em;
}

.mono-c {
  left: 0;
  top: 0;
  z-index: 2;
}

.mono-g {
  right: 0;
  bottom: 0;
  z-index: 2;
}

.monogram .mono-amp {
  left: 52.5%;
  top: 51%;
  z-index: 1;
  display: block;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 0;
  width: 3.7em;
  height: 3.7em;
  transform: translate(-50%, -50%);
  color: #fff;
}

.amp-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.amp-fill {
  fill: #fff;
  opacity: 0;
  animation: amp-fill 2.8s ease-in-out forwards;
}

.amp-stroke {
  fill: none;
  stroke: #fff;
  stroke-width: 26;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: amp-draw 2.8s ease-in-out forwards;
}

@keyframes amp-draw {
  0% {
    stroke-dashoffset: 1;
    opacity: 1;
  }
  70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes amp-fill {
  0%,
  55% {
    opacity: 0;
  }
  78%,
  100% {
    opacity: 1;
  }
}

/* Home: names, place, date, countdown ------------------------------------ */

.home-intro {
  text-align: center;
  padding-top: 3.5rem;
}

.couple-names {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  font-weight: 400;
}

.couple-names .name {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
}

.couple-names .and {
  font-size: 1rem;
}

.when-where {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 640px;
  margin: 4rem auto 0;
}

.when-where .script {
  margin-bottom: 0.1rem;
}

.when-where .label {
  font-size: 1rem;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 2rem;
  margin: 2.4rem auto 0;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--ink);
  min-height: 1.6em;
}

.countdown span {
  white-space: nowrap;
}

.countdown b {
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-right: 0.28em;
}

.home-intro .button {
  margin-top: 2.75rem;
  min-width: 210px;
  height: 50px;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  padding: 0 2.1rem;
}

/* Home: welcome ---------------------------------------------------------- */

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.welcome-photos {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 604px;
  max-width: 100%;
}

.welcome-kiss {
  flex: 292 1 0;
  min-width: 0;
  aspect-ratio: 292 / 405;
  object-fit: cover;
}

.welcome-hands {
  flex: 294 1 0;
  min-width: 0;
  aspect-ratio: 294 / 238;
  object-fit: cover;
}

/* Page intros with line art --------------------------------------------- */

.page-intro {
  text-align: center;
  padding-bottom: 1rem;
}

.page-intro .lineart {
  margin: 0 auto 2rem;
}

.lineart {
  margin: 0 auto;
}

.lineart-cathedral {
  width: 200px;
}

.lineart-hotel {
  width: 480px;
}

.intro-copy {
  max-width: 560px;
  margin: 0 auto;
}

/* Schedule: timeline ----------------------------------------------------- */

.schedule {
  padding-top: 1rem;
}

.schedule > .script {
  text-align: center;
  margin-bottom: 2.5rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3.5rem;
}

.timeline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: center;
}

.timeline-when {
  text-align: center;
  padding-right: 2rem;
}

.event-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 0.75rem;
}

.event-time {
  font-size: 1.125rem;
}

.timeline-details {
  text-align: center;
  border-left: 1px solid var(--rule);
  padding: 0.5rem 1rem 0.5rem 2rem;
}

.timeline-details p + p {
  margin-top: 1.2em;
}

.timeline-details .venue-name + .venue-address {
  margin-top: 0.1em;
}

.timeline-actions {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.timeline-actions .button {
  min-width: 210px;
}

.timeline-actions .text-link {
  font-size: 0.9rem;
}

/* Schedule: attire ------------------------------------------------------- */

.attire {
  text-align: center;
}

.attire .script {
  margin-bottom: 0.5rem;
}

.attire-copy {
  max-width: 560px;
  margin: 0 auto 2rem;
}

.attire-boards {
  display: flex;
  justify-content: center;
  gap: 55px;
}

.attire-boards img {
  width: 232px;
  max-width: 45%;
  aspect-ratio: 232 / 412;
  object-fit: cover;
}

/* Travel: hotel ---------------------------------------------------------- */

.hotel {
  text-align: center;
  padding-top: 0;
}

.icon-bell {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
}

.hotel .label {
  margin-bottom: 0.25rem;
}

.hotel .script {
  margin-bottom: 0.75rem;
}

.hotel .venue-address {
  font-size: 1.0625rem;
}

.hotel-note {
  max-width: 620px;
  margin: 1rem auto 0;
}

.hotel-note + .hotel-note {
  margin-top: 0.5rem;
}

.hotel .button {
  margin-top: 1.5rem;
}

/* Travel: two-column guidance ------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.split-art {
  text-align: center;
}

.split-art .script {
  margin-bottom: 0.5rem;
}

.split-copy {
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}

.route {
  display: block;
  width: 349px;
  max-width: 100%;
  height: auto;
  margin: 0.5rem auto 0;
}

.travel-copy {
  max-width: 420px;
}

.travel-heading {
  font-weight: 700;
}

.travel-copy p + .travel-heading,
.travel-copy ul + .travel-heading {
  margin-top: 1.4em;
}

.travel-copy ul {
  display: inline-block;
  text-align: left;
  margin: 0;
  padding-left: 1.1em;
}

.travel-copy li::marker {
  color: #000;
}

/* FAQ ------------------------------------------------------------------- */

.faq {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.faq .script {
  margin-bottom: 2rem;
}

.faq-list {
  width: min(100%, 693px);
  margin: 0;
  text-align: left;
  font-family: var(--display);
}

.faq-row {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 1rem;
  padding: 1.4rem 0 2rem;
  border-bottom: 1px solid var(--ink);
}

.faq-row:last-child {
  border-bottom: 0;
}

.faq-row dt {
  font-size: 1.1875rem;
  line-height: 1.3;
}

.faq-row dd {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* Contact --------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 454px;
  align-items: center;
  gap: 2rem;
}

.contact-copy {
  font-family: var(--display);
  font-size: 0.8125rem;
  line-height: 1.4;
  padding-left: 24px;
}

.contact-title {
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0 1rem;
  margin-bottom: 2.75rem;
}

.contact-how {
  overflow-wrap: anywhere;
}

.contact-email {
  margin-top: 0.9rem;
}

.contact-email a {
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 1rem;
}

.contact-photo {
  width: 100%;
  aspect-ratio: 454 / 388;
  object-fit: cover;
}

/* RSVP ------------------------------------------------------------------ */

.rsvp-page {
  max-width: 880px;
  min-height: 60vh;
}

.rsvp-card {
  background: var(--card);
  border-radius: 18px;
  padding: 2.5rem 2rem 2.25rem;
  text-align: center;
}

.rsvp-card-copy {
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

.rsvp-input {
  display: block;
  width: min(100%, 440px);
  height: 46px;
  margin: 0 auto;
  padding: 0 0.9rem;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9c4bb;
  border-radius: 4px;
}

.rsvp-input:focus {
  outline: 2px solid var(--green-dark);
  outline-offset: 1px;
}

.hint {
  width: min(100%, 440px);
  margin: 0.4rem auto 1.5rem;
  font-family: var(--display);
  font-size: 0.7rem;
  color: var(--muted);
  text-align: left;
}

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

.rsvp-results-title {
  margin-bottom: 0.75rem;
}

.result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.result-name {
  font-size: 1.1rem;
}

.result-with {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.rsvp-event,
.rsvp-summary {
  text-align: center;
}

.rsvp-step {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.rsvp-back {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--green-dark);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.rsvp-back:hover {
  text-decoration: underline;
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.link-button:hover {
  color: var(--ink);
}

.rsvp-event .script,
.summary-event .script {
  margin-bottom: 0.75rem;
}

.event-when {
  margin-bottom: 0.75rem;
}

.event-desc {
  max-width: 680px;
  margin: 0.75rem auto 0;
}

.guest-rows {
  margin-top: 1.75rem;
  border-top: 1px solid var(--rule);
  text-align: left;
}

.guest-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.guest-name {
  font-size: 1.05rem;
}

.req {
  color: var(--alert);
  margin-left: 0.2em;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
  cursor: pointer;
}

.choices input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ink);
}

.form-error {
  color: var(--alert);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.rsvp-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.rsvp-status {
  font-size: 1rem;
  margin-top: 0.75rem;
  min-height: 1.5em;
}

.rsvp-notice {
  max-width: 640px;
  margin: 1.25rem auto 0;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  background: var(--card);
  border-radius: 10px;
}

.summary-event {
  margin-top: 3rem;
}

.summary-rows {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  text-align: left;
}

.summary-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.status svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.status-yes svg {
  color: #2f7a3a;
}

.status-no svg {
  color: #8a8a8a;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 899px) {
  :root {
    --gutter: 1.25rem;
  }

  body {
    font-size: 1.125rem;
  }

  .site-header {
    padding: 0.85rem 1rem 0.7rem;
  }

  .site-nav {
    gap: 0.2rem 1.1rem;
  }

  .hero-split {
    height: min(78vh, 680px);
  }

  .monogram {
    left: 50%;
    top: 52%;
    font-size: clamp(12px, 3.6vw, 18px);
  }

  .split,
  .contact,
  .welcome {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .split > *,
  .contact > *,
  .welcome > * {
    min-width: 0;
  }

  .welcome .script {
    justify-self: center;
    text-align: center;
  }

  .welcome-photos {
    margin: 0 auto;
  }

  .lineart-hotel {
    width: min(100%, 420px);
  }

  .split-copy {
    max-width: 480px;
  }

  .timeline-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline-when {
    padding-right: 0;
    margin-bottom: 1.25rem;
  }

  .timeline-details {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding: 1.5rem 0 0;
  }

  .when-where {
    margin-top: 2.5rem;
  }

  .contact-copy {
    padding-left: 0;
  }

  .contact-photo {
    max-width: 454px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.25rem var(--gutter);
  }

  .site-title {
    font-size: 1.75rem;
  }

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

  .hero-split {
    height: min(70vh, 560px);
  }

  .home-intro {
    padding-top: 2.25rem;
  }

  .when-where {
    gap: 0.5rem;
    margin-top: 2rem;
  }

  .countdown {
    font-size: 1.05rem;
    gap: 0.3rem 1.35rem;
    letter-spacing: 0.05em;
  }

  .home-intro .button {
    width: min(100%, 240px);
    height: 48px;
    letter-spacing: 0.18em;
  }

  .timeline-actions .button,
  .hotel .button {
    width: min(100%, 240px);
  }

  .bleed img {
    aspect-ratio: 4 / 3;
  }

  .welcome-photos {
    gap: 10px;
  }

  .attire-boards {
    gap: 1rem;
  }

  .faq-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.1rem 0 1.4rem;
  }

  .faq-row dd {
    font-size: 0.875rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin-bottom: 2rem;
  }

  .contact-copy {
    font-size: 0.9375rem;
  }

  .contact-actions .button {
    width: 100%;
  }

  .rsvp-card {
    padding: 2rem 1.25rem 1.75rem;
  }

  .result-row {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

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

  .summary-rows li {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    animation: none;
    width: 100%;
  }

  .carousel-track img {
    flex-basis: 100%;
    width: 100%;
  }

  .carousel-track img:not(:first-child) {
    display: none;
  }

  .amp-stroke {
    animation: none;
    display: none;
  }

  .amp-fill {
    animation: none;
    opacity: 1;
  }
}

/* Save the date ---------------------------------------------------------- */

.save-the-date .site-header {
  padding-bottom: 1.15rem;
}

.save-the-date .hero-split {
  height: min(72vh, 780px);
}

.save-date {
  text-align: center;
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
}

.save-date-kicker {
  margin-bottom: 1.35rem;
}

.save-date-note {
  max-width: 36rem;
  margin: 2.25rem auto 0;
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--muted);
}

.save-date-invite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  margin-top: 2.75rem;
}

.save-date-qr {
  margin: 0;
  padding: 1.15rem 1.15rem 0.95rem;
  background: #fff;
  border: 1px solid rgba(47, 74, 44, 0.16);
  box-shadow: 0 10px 30px rgba(47, 74, 44, 0.06);
  width: 248px;
}

.save-date-qr img {
  width: 100%;
  height: auto;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.save-date-qr figcaption {
  margin-top: 0.7rem;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.save-date-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.save-date-actions .button {
  min-width: 240px;
  height: 50px;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.cal-chooser {
  display: block;
  width: min(100%, 240px);
}

.cal-chooser > summary {
  list-style: none;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  box-sizing: border-box;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.cal-chooser > summary::-webkit-details-marker,
.cal-chooser > summary::marker {
  display: none;
  content: none;
}

.cal-menu {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.35rem 0;
  background: var(--cream);
  border: 1px solid rgba(47, 74, 44, 0.16);
  box-shadow: 0 12px 28px rgba(47, 74, 44, 0.1);
  text-align: center;
}

.cal-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
  -webkit-tap-highlight-color: rgba(47, 74, 44, 0.12);
}

.cal-menu a:hover,
.cal-menu a:focus-visible {
  background: var(--band);
}

.cal-menu a:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: -2px;
}

@media (max-width: 640px) {
  .save-the-date .hero-split {
    height: min(58vh, 520px);
  }

  .save-date {
    padding-top: 2.25rem;
  }

  .save-date-invite {
    margin-top: 2.1rem;
    gap: 1.5rem;
  }

  .save-date-actions .button {
    width: min(100%, 240px);
  }
}
