/* =========================================
   FONTS
   ========================================= */
@font-face {
  font-family: 'Wingman';
  src: url('TAYWingman.woff2') format('woff2'),
       url('TAYWingman.woff') format('woff'),
       url('TAYWingman.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
  color: #333;
  background-color: #faf7f2;
  -webkit-font-smoothing: antialiased;
}

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

/* =========================================
   LAYOUT HELPERS
   ========================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
  width: 100%;
}

.hidden {
  display: none !important;
}

/* =========================================
   SITE HEADER / NAV
   Overlays the top of the first section on every page.
   Cream typewriter text sits cleanly over the red envelope
   and red RSVP / registry backgrounds.
   ========================================= */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 20px 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
}

.site-nav a {
  color: #f5e6c8;
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover {
  border-bottom-color: #f5e6c8;
}

.site-nav a.active {
  border-bottom-color: #f5e6c8;
}

@media (min-width: 768px) {
  .site-header {
    padding: 28px 32px 16px;
  }

  .site-nav {
    gap: 42px;
  }

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

/* =========================================
   PASSWORD SCREEN
   Matches hero: red envelope background, cream typewriter
   text, simple bordered input.
   ========================================= */
#password-screen {
  position: fixed;
  inset: 0;
  background-color: #c0282a;
  background-image: url('images/envelope-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.password-box {
  width: 100%;
  max-width: 380px;
  text-align: center;
  color: #f5e6c8;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
}

.password-box h1 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 16px;
  font-weight: normal;
  letter-spacing: 2px;
  color: #f5e6c8;
}

.password-box p {
  margin-bottom: 28px;
  color: #f5e6c8;
  opacity: 0.9;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.password-box input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  background-color: transparent;
  color: #f5e6c8;
  border: 1px solid #f5e6c8;
  border-radius: 0;
  margin-bottom: 16px;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  letter-spacing: 2px;
  text-align: center;
  outline: none;
}

.password-box input[type="password"]::placeholder {
  color: #f5e6c8;
  opacity: 0.55;
  letter-spacing: 1px;
}

.password-box input[type="password"]:focus {
  border-color: #ffffff;
}

.password-box button {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  background-color: transparent;
  color: #f5e6c8;
  border: 1px solid #f5e6c8;
  border-radius: 0;
  cursor: pointer;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.password-box button:hover {
  background-color: #f5e6c8;
  color: #c0282a;
}

.password-error {
  color: #f5e6c8;
  margin-top: 14px;
  min-height: 1.2em;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

/* =========================================
   HERO SECTION
   Red envelope background with typewriter text in the
   upper corners, a cream script title centered, and a
   peacock stamp on the right.
   ========================================= */
#hero {
  position: relative;
  width: 100%;
  padding: 0;
  background-color: #c0282a;
  background-image: url('images/envelope-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 2732 / 1536;
  min-height: 0;
  overflow: hidden;
}

.hero-names,
.hero-date {
  position: absolute;
  top: 5%;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  font-size: clamp(0.7rem, 1.9vw, 1.5rem);
  color: #f5e6c8;
  letter-spacing: 0.5px;
  line-height: 1;
  z-index: 3;
}

.hero-names { left: 5%; }
.hero-date  { right: 5%; }

.hero-title {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: 820px;
  z-index: 2;
  pointer-events: none;
}

.hero-title img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-stamp {
  position: absolute;
  top: 62%;
  right: 6%;
  transform: translateY(-50%);
  width: 16%;
  max-width: 190px;
  min-width: 70px;
  z-index: 2;
  pointer-events: none;
}

.hero-stamp img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   SCHEDULE SECTION
   ========================================= */
#schedule {
  position: relative;
  background-color: #f5ecd1;
  background-image: url('images/paper-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #1a1a1a;
  padding: 60px 0 80px;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
}

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

.schedule-key {
  width: 220px;
  max-width: 55%;
  margin: 0 auto 30px;
  display: block;
}

.schedule-key img {
  width: 100%;
  height: auto;
  display: block;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.schedule-day {
  display: flex;
  flex-direction: column;
}

.schedule-day-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 24px;
}

.schedule-day-label {
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a1a;
  flex-shrink: 0;
}

.schedule-day-title {
  height: 56px;
  width: auto;
  display: block;
  margin-left: -6px;
}

.schedule-info {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  line-height: 1.7;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.schedule-info-label {
  font-weight: bold;
  flex-shrink: 0;
}

.schedule-info-body {
  flex: 1;
}

.schedule-info-body div {
  display: block;
}

.schedule-info a {
  color: inherit;
  text-decoration: underline;
  font-weight: bold;
}

.schedule-info a:hover {
  color: #c0282a;
}

@media (min-width: 768px) {
  .schedule-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 60px;
  }

  .schedule-day-2 {
    margin-top: 130px;
  }

  .schedule-key {
    width: 280px;
    max-width: none;
    margin-bottom: 10px;
  }

  .schedule-day-title {
    height: 72px;
  }
}

/* =========================================
   INFO SECTION (About / Stay)
   ========================================= */
#info {
  position: relative;
  background-color: #f5ecd1;
  background-image: url('images/paper-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #6b1b1b;
  padding: 60px 0 80px;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.info-column {
  display: flex;
  flex-direction: column;
}

.info-title {
  margin-bottom: 24px;
  height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.info-title img {
  width: 240px;
  max-width: 80%;
  height: auto;
  display: block;
}

.info-body {
  color: #6b1b1b;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.3px;
  max-width: 460px;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px 80px;
  }

  .info-title {
    height: 150px;
  }

  .info-title img {
    width: 320px;
    max-width: none;
  }

  .info-body {
    font-size: 1.05rem;
  }
}

.info-body + .info-body {
  margin-top: 18px;
}

.info-body a {
  color: inherit;
  text-decoration: underline;
  font-weight: bold;
}

.info-body a:hover {
  color: #c0282a;
}

/* =========================================
   REGISTRY SECTION
   Styled to match the RSVP page: red envelope background,
   cream typewriter text, simple bordered link button(s).
   ========================================= */
#registry {
  background-color: #c0282a;
  background-image: url('images/envelope-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f5e6c8;
  padding: clamp(280px, 32vh, 420px) 0 80px;
  min-height: 100vh;
}

#registry h2 {
  text-align: center;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: normal;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #f5e6c8;
}

.registry-subtitle {
  text-align: center;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #f5e6c8;
  opacity: 0.9;
  margin-bottom: 40px;
}

.registry-body {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  color: #f5e6c8;
}

.registry-body p {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.registry-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.registry-card {
  flex: 1 1 200px;
  max-width: 240px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  border: 1px solid #f5e6c8;
  color: #f5e6c8;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.registry-card:hover,
.registry-card:focus {
  background-color: #f5e6c8;
  color: #c0282a;
}

.registry-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
}

.registry-card-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.registry-card-sublabel {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.registry-card-pct {
  margin-top: 12px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  opacity: 0.85;
  min-height: 1.2em;
}

/* =========================================
   GETTING HERE SECTION
   ========================================= */
#getting-here {
  background-color: #f5ecd1;
  background-image: url('images/paper-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #1a1a1a;
  padding: 120px 0 80px;
  min-height: 100vh;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
}

#getting-here .container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

#getting-here h2 {
  text-align: center;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6b1b1b;
  margin-bottom: 36px;
}

.getting-here-body p {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
  color: #1a1a1a;
}

.getting-here-body a {
  color: inherit;
  text-decoration: underline;
  font-weight: bold;
}

.getting-here-body a:hover {
  color: #c0282a;
}

.getting-here-map {
  margin-top: 40px;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: rgba(107, 27, 27, 0.05);
  border: 1px dashed #6b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b1b1b;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.back-home {
  text-align: center;
  margin-top: 48px;
}

.back-home-link {
  display: inline-block;
  padding: 12px 24px;
  color: #6b1b1b;
  border: 1px solid #6b1b1b;
  text-decoration: none;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.back-home-link:hover {
  background-color: #6b1b1b;
  color: #f5e6c8;
}

@media (min-width: 768px) {
  #getting-here {
    padding: 160px 0 100px;
  }

  .getting-here-body p {
    font-size: 1.05rem;
  }
}

/* =========================================
   RSVP SECTION
   ========================================= */
#rsvp {
  background-color: #c0282a;
  background-image: url('images/envelope-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f5e6c8;
  padding: clamp(280px, 32vh, 420px) 0 80px;
  min-height: 100vh;
}

#rsvp h2 {
  text-align: center;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: normal;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #f5e6c8;
}

#rsvp .rsvp-subtitle {
  text-align: center;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #f5e6c8;
  opacity: 0.9;
  margin-bottom: 40px;
}

.rsvp-form {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 10px;
}

.rsvp-form .form-group {
  margin-bottom: 22px;
}

.rsvp-form label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f5e6c8;
}

.rsvp-form input[type="text"],
.rsvp-form input[type="email"],
.rsvp-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  background-color: transparent;
  border: 1px solid #f5e6c8;
  border-radius: 0;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  color: #f5e6c8;
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.2s ease;
}

.rsvp-form input[type="text"]:focus,
.rsvp-form input[type="email"]:focus,
.rsvp-form textarea:focus {
  border-color: #ffffff;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: #f5e6c8;
  opacity: 0.5;
}

.rsvp-form textarea {
  min-height: 90px;
  resize: vertical;
}

.rsvp-form .radio-group {
  display: flex;
  gap: 12px;
}

.rsvp-form .radio-group label {
  flex: 1;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #f5e6c8;
  text-align: center;
  cursor: pointer;
  letter-spacing: 2px;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rsvp-form .radio-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rsvp-form .radio-group label:has(input[type="radio"]:checked) {
  background-color: #f5e6c8;
  color: #c0282a;
}

.rsvp-form button {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  background-color: transparent;
  color: #f5e6c8;
  border: 1px solid #f5e6c8;
  border-radius: 0;
  cursor: pointer;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rsvp-form button:hover {
  background-color: #f5e6c8;
  color: #c0282a;
}

.rsvp-confirmation {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  border: 1px solid #f5e6c8;
  color: #f5e6c8;
  font-family: 'Wingman', 'Courier New', Courier, monospace;
}

.rsvp-confirmation h3 {
  font-size: 1.3rem;
  font-weight: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.rsvp-confirmation p {
  font-size: 0.95rem;
  letter-spacing: 1px;
  line-height: 1.6;
}

/* =========================================
   PHOTO + STAMP SECTION
   ========================================= */
#photo-stamp {
  background-image: url('images/paper-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
}

.photo-stamp-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.photo-stamp-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-stamp-photo img {
  max-width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
}

.photo-stamp-logo img {
  max-width: 60%;
  height: auto;
  max-height: 420px;
  display: block;
}

/* =========================================
   AMO TE SECTION
   ========================================= */
#amo-te {
  background-image: url('images/amo-te.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  aspect-ratio: 2732 / 1536;
  padding: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (min-width: 768px) {
  section {
    padding: 80px 0;
  }

  #hero {
    padding: 0;
  }

  #schedule h2,
  #rsvp h2,
  #registry h2 {
    font-size: 2.5rem;
  }

  #photo-stamp {
    padding: 100px 40px;