@font-face {
  font-family: "Mozart Script";
  src: url("../fonts/MozartScript-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #000;
  background: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.site-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #eee;
  text-align: center;
  padding: 18px 24px 12px;
}

.logo {
  display: inline-block;
  margin-bottom: 22px;
  color: #000;
  font-family: "Mozart Script", "The Mozart Script", "Allura", "Great Vibes", cursive;
  font-size: clamp(58px, 8vw, 120px);
  line-height: 0.9;
  text-decoration: none;
  font-weight: 400;
}

.language-switcher {
  position: absolute;
  top: 18px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 600;
}

.language-btn {
  border: none;
  background: transparent;
  color: #000;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  opacity: 0.55;
}

.language-btn.active {
  opacity: 1;
  text-decoration: underline;
}

.language-btn:hover {
  opacity: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-menu a {
  position: relative;
  color: #000;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  padding-bottom: 10px;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #000;
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 24px;
  width: 42px;
  height: 34px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #000;
}

.hero-slider {
  position: relative;
  height: 880px;
  overflow: hidden;
  background: #f2f2f2;
}

.slider-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: moveRightToLeft 85s linear infinite;
}

.slide {
  width: 840px;
  height: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  background: #f2f2f2;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes moveRightToLeft {
  from {
    transform: translateX(0);
  }

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

.hero-script {
  position: absolute;
  left: 50%;
  bottom: 340px;
  transform: translateX(-50%);
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: "Mozart Script", "The Mozart Script", "Allura", "Great Vibes", cursive;
  font-size: 4.5rem;
  font-weight: 400;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.12);
}

.details-section {
  min-height: 780px;
  padding: 70px 24px 90px;
  text-align: center;
}

.names-script {
  margin: 0 0 110px;
  font-family: "Mozart Script", "The Mozart Script", "Allura", "Great Vibes", cursive;
  font-size: clamp(92px, 14vw, 200px);
  line-height: 0.9;
  font-weight: 400;
}

.names-script span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 2vw, 26px);
  vertical-align: middle;
  margin: 0 28px;
}

.hashtag {
  margin: 0 0 42px;
  font-size: 24px;
  font-weight: 600;
}

.date-script {
  margin: 0 0 26px;
  font-family: "Mozart Script", "The Mozart Script", "Allura", "Great Vibes", cursive;
  font-size: clamp(48px, 6vw, 90px);
  line-height: 1;
}

.location {
  margin: 0 0 42px;
  font-size: 24px;
  font-weight: 600;
}

.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 80px;
  font-size: 24px;
  font-weight: 600;
}

.countdown strong {
  font-weight: 600;
}

.rsvp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 90vw);
  height: 58px;
  color: #fff;
  background: #000;
  border-radius: 4px;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rsvp-button:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.page-section {
  min-height: 420px;
  padding: 110px 24px;
  border-top: 1px solid #eee;
  text-align: center;
}

.page-section h2 {
  margin: 0 0 18px;
  font-family: "Mozart Script", "The Mozart Script", "Allura", "Great Vibes", cursive;
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 400;
}

.page-section p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 24px;
}

.interior-page {
  min-height: 760px;
  padding: 80px 24px 110px;
  text-align: center;
}

.interior-hero {
  max-width: 900px;
  margin: 0 auto 70px;
}

.interior-hero h1 {
  margin: 0 0 22px;
  font-family: "Mozart Script", "The Mozart Script", "Allura", "Great Vibes", cursive;
  font-size: clamp(78px, 10vw, 155px);
  line-height: 0.95;
  font-weight: 400;
}

.interior-hero p,
.content-card p {
  max-width: 780px;
  margin: 0 auto;
  font-size: 25px;
  line-height: 1.45;
}

.content-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 54px 34px;
  border: 1px solid #eee;
  background: #fff;
}

.content-card h2 {
  margin: 0 0 18px;
  font-size: 34px;
  font-weight: 600;
}

.schedule-page {
  min-height: 760px;
  padding: 70px 24px 120px;
  background: #fff;
  text-align: center;
}

.schedule-title {
  margin: 0 0 70px;
  font-family: "Mozart Script", "The Mozart Script", "Allura", "Great Vibes", cursive;
  font-size: clamp(58px, 8vw, 110px);
  line-height: 0.95;
  font-weight: 400;
}

.schedule-event {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1050px;
  margin: 0 auto 70px;
  align-items: center;
}

.event-left {
  min-height: 210px;
  padding: 28px 60px;
  border-right: 1px solid #000;
  text-align: center;
}

.heart-icon {
  margin-bottom: 34px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -12px;
  font-family: Georgia, serif;
}

.event-left h2 {
  margin: 0 0 32px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
}

.event-left p {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
}

.event-right {
  min-height: 210px;
  padding: 28px 60px;
  text-align: center;
}

.venue-name {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 600;
}

.venue-address {
  display: block;
  margin: 0 0 28px;
  color: #000;
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
}

.schedule-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 245px;
  height: 52px;
  margin: 12px auto 0;
  color: #fff;
  background: #000;
  border-radius: 4px;
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.schedule-button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.schedule-body .nav-menu a {
  text-decoration: none !important;
}

.schedule-body .nav-menu a::after {
  width: 0;
}

.schedule-body .nav-menu a:hover::after,
.schedule-body .nav-menu a.active::after {
  width: 100%;
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 16px;
  }

  .logo {
    margin-bottom: 8px;
    font-size: 58px;
  }

  .language-switcher {
    top: 20px;
    right: 74px;
    font-size: 15px;
  }

  .language-btn {
    font-size: 15px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 22px 0 8px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    font-size: 22px;
  }

  .hero-slider {
    height: 660px;
  }

  .slide {
    width: 540px;
  }

  .hero-script {
    bottom: 255px;
    font-size: 3.8rem;
  }

  .details-section {
    min-height: 680px;
    padding-top: 56px;
  }

  .names-script {
    margin-bottom: 80px;
  }
}

@media (max-width: 760px) {
  .schedule-page {
    padding: 50px 18px 90px;
  }

  .schedule-title {
    margin-bottom: 46px;
    font-size: clamp(52px, 14vw, 82px);
  }

  .schedule-event {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }

  .event-left {
    border-right: 0;
    border-bottom: 1px solid #000;
    padding: 24px 18px 36px;
  }

  .event-right {
    padding: 36px 18px 24px;
  }

  .event-left h2 {
    font-size: 28px;
  }

  .event-left p,
  .venue-name {
    font-size: 20px;
  }

  .venue-address {
    font-size: 18px;
  }

  .schedule-button {
    width: min(245px, 90vw);
    font-size: 20px;
  }
}

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

  .slide {
    width: 420px;
  }

  .hero-script {
    bottom: 215px;
    font-size: 3rem;
  }

  .details-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .names-script span {
    display: block;
    margin: 16px 0;
  }

  .countdown {
    gap: 12px;
    font-size: 20px;
  }

  .countdown span {
    width: 42%;
  }
}

/* RSVP guest lookup page */
.rsvp-page {
  min-height: 760px;
  padding: 70px 24px 120px;
  background: #fff;
  text-align: center;
}

.rsvp-hero {
  max-width: 850px;
  margin: 0 auto 58px;
}

.rsvp-hero h1 {
  margin: 0 0 18px;
  font-family: "Mozart Script", "The Mozart Script", "Allura", "Great Vibes", cursive;
  font-size: clamp(76px, 10vw, 145px);
  line-height: 0.95;
  font-weight: 400;
}

.rsvp-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 23px;
  line-height: 1.45;
}

.rsvp-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 52px 46px;
  border: 1px solid #eee;
  background: #fff;
  text-align: left;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.04);
}

.rsvp-card h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
}

.rsvp-step-label {
  margin: 0 0 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rsvp-help-text {
  max-width: 620px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 21px;
  line-height: 1.4;
}

.guest-search-box {
  margin-bottom: 24px;
}

.guest-search-box label,
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}

.guest-search-box input,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
}

.guest-search-box input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
}

.guest-search-message {
  margin: 20px 0 0;
  text-align: center;
  font-size: 20px;
  line-height: 1.35;
}

.guest-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid #eee;
}

.guest-result-card h3 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.1;
}

.guest-result-card p {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.select-party-button,
.change-party-button,
.rsvp-submit {
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #000;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.select-party-button {
  min-width: 120px;
  height: 48px;
  padding: 0 22px;
  font-size: 20px;
}

.select-party-button:hover,
.change-party-button:hover,
.rsvp-submit:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.rsvp-form-card {
  max-width: 820px;
}

.change-party-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-bottom: 28px;
  padding: 0 18px;
  font-size: 18px;
}

.selected-party-box {
  margin: 30px 0 34px;
  padding: 24px;
  border: 1px solid #eee;
  text-align: center;
  background: #fafafa;
}

.selected-party-box p {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-party-box strong {
  display: block;
  font-size: 28px;
  line-height: 1.15;
}

.form-group {
  margin-bottom: 24px;
}

.form-group textarea {
  resize: vertical;
}

.guest-meal-section {
  margin: 8px 0 8px;
}

.meal-choice-row {
  padding: 20px 0 0;
  border-top: 1px solid #eee;
}

.rsvp-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  margin-top: 10px;
  font-size: 23px;
}

.hidden {
  display: none !important;
}

@media (max-width: 700px) {
  .rsvp-page {
    padding: 50px 18px 90px;
  }

  .rsvp-card {
    padding: 38px 24px;
  }

  .rsvp-hero p,
  .rsvp-help-text {
    font-size: 20px;
  }

  .guest-result-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .select-party-button {
    width: 100%;
  }

  .guest-search-box label,
  .form-group label,
  .guest-search-box input,
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 19px;
  }
}

/* Guest lookup search button fix */
.guest-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
}

.guest-search-form .guest-search-box {
  margin-bottom: 0;
}

.guest-search-button {
  height: 52px;
  min-width: 150px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #000;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.guest-search-button:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .guest-search-form {
    grid-template-columns: 1fr;
  }

  .guest-search-button {
    width: 100%;
  }
}


/* After party schedule division */
.schedule-divider {
  width: min(760px, 90%);
  height: 1px;
  margin: 95px auto 70px;
  background: #000;
  opacity: 0.35;
}

.after-party-heading {
  width: 100%;
  text-align: center;
}

.after-party-heading .schedule-title {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.schedule-title-small {
  margin-bottom: 60px;
}

@media (max-width: 760px) {
  .schedule-divider {
    margin: 75px auto 50px;
  }

  .schedule-title-small {
    margin-bottom: 42px;
  }
}

/* Password gate */
.login-page {
  min-height: 100vh;
  background: #fff;
}

.password-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.password-card {
  width: min(620px, 92vw);
  padding: 58px 46px;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
}

.password-kicker {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.password-card h1 {
  margin: 0 0 18px;
  font-family: "Mozart Script", "The Mozart Script", "Allura", "Great Vibes", cursive;
  font-size: clamp(78px, 12vw, 145px);
  line-height: 0.9;
  font-weight: 400;
}

.password-text {
  max-width: 440px;
  margin: 0 auto 34px;
  font-size: 24px;
  line-height: 1.35;
}

.password-form {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

.password-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}

.password-form input {
  width: 100%;
  height: 54px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
}

.password-form input:focus {
  outline: none;
  border-color: #000;
}

.password-form button {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #000;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.password-form button:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.password-error {
  min-height: 24px;
  margin: 14px 0 0;
  color: #9b1c1c;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 560px) {
  .password-card {
    padding: 42px 24px;
  }

  .password-text {
    font-size: 21px;
  }
}

/* Mobile header cleanup + language switcher flags */
.site-header {
  position: relative;
}

.language-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.flag-icon {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 68px 14px 18px;
    text-align: center;
  }

  .logo {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    font-size: clamp(48px, 15vw, 68px);
    line-height: 0.9;
  }

  .menu-toggle {
    display: block;
    top: 24px;
    right: 18px;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 18px;
    padding: 22px 0 10px;
    border-top: 1px solid #eee;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    font-size: 23px;
    padding-bottom: 8px;
  }

  .nav-menu .language-switcher {
    position: static;
    order: 99;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 18px;
    gap: 10px;
  }

  .language-btn {
    font-size: 18px;
  }

  .flag-icon {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-right: 62px;
    padding-left: 14px;
  }

  .logo {
    font-size: clamp(42px, 14vw, 58px);
  }

  .menu-toggle {
    right: 14px;
    width: 38px;
  }
}

/* Real circular CSS flags for language switcher */
.language-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.flag-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #ddd;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  flex: 0 0 auto;
  font-size: 0 !important;
  line-height: 0;
}

.flag-pl {
  background: linear-gradient(
    to bottom,
    #f7f7f7 0%,
    #f7f7f7 50%,
    #dc143c 50%,
    #dc143c 100%
  );
}

.flag-us {
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0,
    #b22234 2px,
    #fff 2px,
    #fff 4px
  );
}

.flag-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 12px;
  background: #3c3b6e;
}

.flag-us::after {
  content: "★";
  position: absolute;
  top: 2px;
  left: 2px;
  color: #fff;
  font-size: 5px;
  line-height: 1;
}

@media (max-width: 900px) {
  .nav-menu .language-switcher {
    gap: 12px;
  }

  .language-btn {
    font-size: 18px;
    gap: 8px;
  }

  .flag-icon {
    width: 26px;
    height: 26px;
  }

  .flag-us::before {
    width: 13px;
    height: 14px;
  }

  .flag-us::after {
    top: 2px;
    left: 2px;
    font-size: 6px;
  }
}


/* Mozart Script font stack + mobile hamburger adjustment */
@media (max-width: 900px) {
  .site-header {
    padding: 16px 18px 14px 68px;
  }

  .menu-toggle {
    left: 18px;
    right: auto;
  }

  .logo {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-left: 58px;
    padding-right: 14px;
  }

  .menu-toggle {
    left: 14px;
    right: auto;
  }
}

/* Things To Do page */
.things-section {
  max-width: 1080px;
  margin: 0 auto 54px;
  text-align: left;
}

.things-section h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
}

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

.thing-card {
  min-height: 255px;
  padding: 30px 26px;
  border: 1px solid #eee;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thing-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
}

.thing-card p {
  margin: 0 0 20px;
  font-size: 21px;
  line-height: 1.38;
}

.thing-card a {
  color: #000;
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.things-note {
  max-width: 900px;
  margin: 10px auto 0;
  padding: 30px 28px;
  border: 1px solid #eee;
  text-align: center;
}

.things-note p {
  margin: 0;
  font-size: 23px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .things-grid {
    grid-template-columns: 1fr;
  }

  .things-section {
    text-align: center;
  }

  .thing-card {
    min-height: auto;
  }
}

/* Mozart Script size tuning
   The real font has much taller swashes than the previous fallback script, so these rules keep the site from feeling oversized. */
.logo {
  font-size: clamp(40px, 5.3vw, 82px);
  line-height: 0.82;
  margin-bottom: 16px;
}

.hero-script {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.85;
}

.names-script {
  font-size: clamp(58px, 9vw, 118px);
  line-height: 0.85;
  margin-bottom: 78px;
}

.date-script {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.9;
}

.page-section h2,
.things-section h2 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 0.95;
}

.interior-hero h1,
.rsvp-hero h1,
.schedule-title,
.password-card h1 {
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.9;
}

@media (max-width: 900px) {
  .logo {
    font-size: clamp(34px, 12vw, 54px);
    margin-bottom: 8px;
  }

  .hero-script {
    font-size: clamp(34px, 9vw, 52px);
    bottom: 250px;
  }

  .names-script {
    font-size: clamp(48px, 13vw, 76px);
    margin-bottom: 58px;
  }

  .date-script {
    font-size: clamp(34px, 10vw, 50px);
  }

  .interior-hero h1,
  .rsvp-hero h1,
  .schedule-title,
  .password-card h1 {
    font-size: clamp(42px, 13vw, 64px);
  }
}

@media (max-width: 560px) {
  .hero-script {
    font-size: clamp(30px, 9vw, 44px);
    bottom: 215px;
  }

  .names-script {
    font-size: clamp(42px, 13vw, 62px);
  }

  .page-section h2,
  .things-section h2 {
    font-size: clamp(36px, 11vw, 54px);
  }
}

/* Extra breathing room for Mozart Script
   The font has large swashes, so these rules give cursive text more vertical space without changing the actual font size. */
.site-header {
  overflow: visible;
  padding-top: 24px;
  padding-bottom: 24px;
}

.logo {
  line-height: 1.35;
  padding: 22px 0 14px;
  margin-bottom: 18px;
  overflow: visible;
}

.hero-script,
.names-script,
.date-script,
.page-section h2,
.things-section h2,
.interior-hero h1,
.rsvp-hero h1,
.schedule-title,
.password-card h1 {
  line-height: 1.3;
  padding-top: 18px;
  padding-bottom: 18px;
  overflow: visible;
}

.hero-script {
  padding-left: 24px;
  padding-right: 24px;
}

.names-script {
  margin-bottom: 62px;
}

.interior-hero {
  margin-bottom: 52px;
}

.schedule-title {
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .logo {
    line-height: 1.3;
    padding: 16px 0 12px;
    margin-bottom: 12px;
  }

  .hero-script,
  .names-script,
  .date-script,
  .page-section h2,
  .things-section h2,
  .interior-hero h1,
  .rsvp-hero h1,
  .schedule-title,
  .password-card h1 {
    line-height: 1.25;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}


/* Schedule venue photos */
.event-photo-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(980px, 100%);
  margin: 34px auto 0;
}

.event-photo-card {
  margin: 0;
  border: 1px solid #eee;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.04);
}

.event-photo-card img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.event-photo-card figcaption {
  padding: 14px 16px 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 760px) {
  .event-photo-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 26px;
  }

  .event-photo-card img {
    height: 260px;
  }

  .event-photo-card figcaption {
    font-size: 19px;
  }
}


/* Homepage details + Mas del Sord countdown photo section */
.clean-details-section {
  min-height: auto;
  padding: 130px 24px 165px;
  background: #fff;
  color: #000;
}

.clean-details-section .names-script {
  margin-bottom: 18px;
}

.clean-details-section .hashtag {
  margin-bottom: 0;
}

.countdown-photo-section {
  min-height: 620px;
  padding: 0 24px;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.50)),
    url("../images/mas-del-sord-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.countdown-photo-overlay {
  width: min(860px, 100%);
  margin-bottom: 58px;
  padding: 0 18px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.countdown-photo-section .photo-date {
  margin: 0 0 12px;
  color: #fff;
}

.countdown-photo-section .photo-location {
  margin: 0 0 32px;
  color: #fff;
}

.countdown-photo-section .countdown {
  margin-bottom: 26px;
  color: #fff;
  gap: 14px;
}

.countdown-photo-section .countdown span {
  min-width: 108px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(1px);
}

.countdown-photo-section .rsvp-button {
  color: #000;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  text-shadow: none;
}

.countdown-photo-section .rsvp-button:hover {
  opacity: 1;
  background: #fff;
}

@media (max-width: 900px) {
  .clean-details-section {
    padding: 96px 18px 125px;
  }

  .countdown-photo-section {
    min-height: 520px;
    padding: 0 18px;
  }

  .countdown-photo-overlay {
    margin-bottom: 42px;
    padding: 0 12px;
  }

  .countdown-photo-section .photo-location {
    margin-bottom: 26px;
  }
}
