/* ============================================================
   WEDDING PAGE — Hamptons Blue / Old Money Summer
   ============================================================ */

body.wedding-page {
  background: #F5F0E8;
  color: #1A3D5C;
  font-family: var(--font-sans);
}

/* ---- Nav overrides ---- */
body.wedding-page nav {
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 61, 92, 0.1);
}

body.wedding-page .menu a {
  color: #1A3D5C;
  text-shadow: none;
}

body.wedding-page .menu a:hover {
  color: #2B5F8E;
}

body.wedding-page .dropdown {
  background: rgba(245, 240, 232, 0.97);
}

body.wedding-page .dropdown a {
  color: #1A3D5C;
}

body.wedding-page .dropdown a:hover {
  color: #2B5F8E;
  background: rgba(26, 61, 92, 0.06);
}

body.wedding-page .nav-active { color: #2B7BB5 !important; }
body.wedding-page .nav-active:hover { color: #1A5F96 !important; }

@media (max-width: 820px) {
  body.wedding-page .menu {
    background: rgba(245, 240, 232, 0.97);
    border-top: 1px solid rgba(26, 61, 92, 0.12);
  }

  body.wedding-page .menu a {
    color: #1A3D5C;
    background: transparent;
  }

  body.wedding-page .menu a:hover {
    background: rgba(26, 61, 92, 0.06);
    color: #2B5F8E;
  }

  body.wedding-page .burger span,
  body.wedding-page .burger::before,
  body.wedding-page .burger::after {
    background: #1A3D5C;
  }
}

/* ---- Divider ---- */
.w-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto 48px;
  max-width: 280px;
}

.w-divider::before,
.w-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #A8C5DA;
}

.w-divider--light::before,
.w-divider--light::after {
  background: rgba(250, 250, 248, 0.35);
}

.w-divider-diamond {
  width: 7px;
  height: 7px;
  background: #C4A87A;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.w-divider--light .w-divider-diamond {
  background: rgba(250, 250, 248, 0.6);
}

/* ============================================================
   BETA BANNER
   ============================================================ */

.w-beta-banner {
  background: rgba(196, 168, 122, 0.12);
  border-bottom: 1px solid rgba(196, 168, 122, 0.35);
  padding: 12px 32px;
  text-align: center;
  font-size: 13px;
  color: #2B4A63;
  line-height: 1.5;
  position: relative;
  z-index: 100;
}

.w-beta-badge {
  display: inline-block;
  background: #C4A87A;
  color: #FAFAF8;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* ============================================================
   PIN GATE
   ============================================================ */

.pin-gate {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #D6E4EE 0%, #6B9EC7 45%, #1A3D5C 100%);
}

.pin-card {
  background: rgba(250, 250, 248, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(26, 61, 92, 0.12);
  border-radius: 2px;
  padding: 56px 52px 48px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 40px 100px rgba(26, 61, 92, 0.25), 0 2px 8px rgba(26, 61, 92, 0.06);
}

.pin-monogram {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 52px;
  font-weight: 300;
  font-style: italic;
  color: #2B5F8E;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  line-height: 1;
}

.pin-heading {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #C4A87A;
  margin-bottom: 6px;
}

.pin-names {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  color: #1A3D5C;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.pin-prompt {
  font-size: 13px;
  color: #4A7FA8;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.pin-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}

.pin-digit {
  width: 48px;
  height: 58px;
  text-align: center;
  font-size: 24px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  border: 1px solid #A8C5DA;
  border-radius: 2px;
  background: rgba(245, 240, 232, 0.5);
  color: #1A3D5C;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  -moz-appearance: textfield;
}

.pin-digit::-webkit-outer-spin-button,
.pin-digit::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pin-digit:focus {
  border-color: #2B5F8E;
  background: #FAFAF8;
}

.pin-digit-error {
  border-color: #8B3A3A !important;
  background: rgba(139, 58, 58, 0.04) !important;
}

.pin-error {
  font-size: 12px;
  color: #8B3A3A;
  min-height: 18px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.pin-submit {
  background: #1A3D5C;
  color: #F5F0E8;
  border: none;
  padding: 14px 52px;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: background 0.2s ease;
}

.pin-submit:hover {
  background: #2B5F8E;
}

.pin-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   WEDDING CONTENT
   ============================================================ */

.wedding-content.hidden {
  display: none;
}

/* ---- Shared typography ---- */
.w-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #C4A87A;
  margin-bottom: 10px;
}

.w-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 300;
  font-style: italic;
  color: #1A3D5C;
  line-height: 1.1;
  margin-bottom: 20px;
}

.w-heading--light {
  color: #FAFAF8;
}

.w-body {
  font-size: 17px;
  line-height: 1.8;
  color: #2B4A63;
  max-width: 680px;
}

.w-body--centered {
  margin: 0 auto;
  text-align: center;
}

/* ---- Layout ---- */
.w-section {
  max-width: 940px;
  margin: 0 auto;
  padding: 88px 32px;
}

.w-band {
  padding: 88px 32px;
}

.w-band--alt {
  background: #EBE4D8;
}

.w-band--blue {
  background: linear-gradient(180deg, #4A7FA8 0%, #1A3D5C 100%);
}

.w-band--inner {
  max-width: 940px;
  margin: 0 auto;
}

/* ============================================================
   HERO
   ============================================================ */

.w-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 24px 90px;
  background: linear-gradient(175deg, #D6E4EE 0%, #EAE4D8 60%, #F5F0E8 100%);
  position: relative;
  overflow: hidden;
}

.w-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(168, 197, 218, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.w-hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #C4A87A;
  margin-bottom: 24px;
}

.w-hero-names {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(72px, 12vw, 148px);
  font-weight: 300;
  font-style: italic;
  color: #1A3D5C;
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.w-hero-amp {
  display: block;
  font-size: 0.65em;
  color: #C4A87A;
  line-height: 1.1;
}

.w-hero-date {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 400;
  color: #2B5F8E;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.w-hero-location {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #6B9EC7;
  margin-bottom: 48px;
}

.w-hero-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(16px, 2vw, 20px);
  font-style: italic;
  font-weight: 300;
  color: #4A7FA8;
}

.w-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #A8C5DA;
}

.w-scroll-cue::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, #A8C5DA, transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  55% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   THE DETAILS
   ============================================================ */

.w-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #C8DAEB;
  border: 1px solid #C8DAEB;
  margin-top: 48px;
}

.w-detail-card {
  background: #F5F0E8;
  padding: 36px 32px;
}

.w-detail-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #C4A87A;
  margin-bottom: 8px;
}

.w-detail-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  color: #1A3D5C;
  margin-bottom: 4px;
  line-height: 1.2;
}

.w-detail-sub {
  font-size: 15px;
  color: #4A7FA8;
  line-height: 1.5;
}

.w-weather-note {
  margin-top: 36px;
  padding: 22px 28px;
  background: rgba(168, 197, 218, 0.18);
  border-left: 2px solid #A8C5DA;
  font-size: 15px;
  line-height: 1.75;
  color: #2B4A63;
  font-style: italic;
}

.w-weather-note strong {
  font-style: normal;
  font-weight: 600;
  color: #1A3D5C;
}

/* ============================================================
   TRAVEL
   ============================================================ */

.w-travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.w-travel-card {
  padding: 28px 24px;
  background: rgba(250, 250, 248, 0.7);
  border: 1px solid rgba(26, 61, 92, 0.1);
  border-radius: 2px;
}

.w-travel-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.w-travel-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  color: #1A3D5C;
  margin-bottom: 8px;
  line-height: 1.2;
}

.w-travel-text {
  font-size: 14px;
  line-height: 1.7;
  color: #2B4A63;
}

/* ============================================================
   WHERE TO STAY
   ============================================================ */

.w-stay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.w-stay-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.w-stay-card {
  background: #FAFAF8;
  border: 1px solid rgba(26, 61, 92, 0.1);
  overflow: hidden;
}

.w-stay-img {
  height: 220px;
  overflow: hidden;
}

.w-stay-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.w-stay-card:hover .w-stay-img img {
  transform: scale(1.04);
}

.w-stay-placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-style: italic;
  color: rgba(250, 250, 248, 0.7);
}

.w-stay-placeholder--blue {
  background: linear-gradient(135deg, #4A7FA8 0%, #1A3D5C 100%);
}

.w-stay-placeholder--ritz {
  background: linear-gradient(135deg, #2B5F8E 0%, #0D2B42 100%);
}

.w-stay-placeholder--sand {
  background: linear-gradient(135deg, #E8DFD0 0%, #C4A87A 100%);
  color: rgba(26, 61, 92, 0.5);
}

.w-stay-body {
  padding: 28px 30px 32px;
}

.w-stay-badge {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #C4A87A;
  margin-bottom: 8px;
}

.w-stay-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: #1A3D5C;
  margin-bottom: 14px;
  line-height: 1.15;
}

.w-stay-text {
  font-size: 15px;
  line-height: 1.75;
  color: #2B4A63;
  margin-bottom: 18px;
}

.w-stay-link {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #2B5F8E;
  text-decoration: none;
  border-bottom: 1px solid #A8C5DA;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.w-stay-link:hover {
  color: #1A3D5C;
  border-color: #1A3D5C;
}

/* ============================================================
   THINGS TO DO
   ============================================================ */

.w-todo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.w-todo-item {
  padding: 26px 22px;
  background: rgba(250, 250, 248, 0.1);
  border: 1px solid rgba(250, 250, 248, 0.2);
  border-radius: 2px;
}

.w-todo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  color: #FAFAF8;
  margin-bottom: 6px;
}

.w-todo-text {
  font-size: 14px;
  color: rgba(250, 250, 248, 0.72);
  line-height: 1.65;
}

/* ============================================================
   DRESS CODE
   ============================================================ */

.w-dress-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.w-dress-attire {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 300;
  font-style: italic;
  color: #1A3D5C;
  margin: 20px 0 22px;
  line-height: 1.05;
}

.w-dress-note {
  font-size: 16px;
  line-height: 1.8;
  color: #2B4A63;
  margin-bottom: 36px;
}

.w-dress-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.w-dress-chip {
  padding: 9px 20px;
  border: 1px solid #A8C5DA;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #2B5F8E;
}

/* ============================================================
   WISH LIST
   ============================================================ */

.w-wish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.w-wish-card {
  background: #FAFAF8;
  border: 1px solid rgba(26, 61, 92, 0.1);
  text-align: center;
  overflow: hidden;
}

.w-wish-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.w-wish-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.w-wish-card:hover .w-wish-img img {
  transform: scale(1.05);
}

.w-wish-placeholder {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-style: italic;
}

.w-wish-placeholder--kyoto {
  background: linear-gradient(135deg, #D4B8A0 0%, #8B6355 100%);
  color: rgba(250, 250, 248, 0.6);
}

.w-wish-placeholder--dog {
  background: linear-gradient(135deg, #D4C0A0 0%, #A0845C 100%);
  color: rgba(250, 250, 248, 0.6);
}

.w-wish-placeholder--pokemon {
  background: linear-gradient(135deg, #A8C5DA 0%, #5B8FA8 100%);
  color: rgba(250, 250, 248, 0.6);
}

.w-wish-body {
  padding: 24px 20px 28px;
}

.w-wish-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: #1A3D5C;
  margin-bottom: 8px;
}

.w-wish-desc {
  font-size: 14px;
  color: #4A7FA8;
  line-height: 1.65;
  margin-bottom: 20px;
}

.w-wish-btn {
  display: inline-block;
  padding: 10px 28px;
  background: #1A3D5C;
  color: #F5F0E8;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: 1px;
}

.w-wish-btn:hover {
  background: #2B5F8E;
}

/* ============================================================
   PAYMENT MODAL
   ============================================================ */

.wish-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 61, 92, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.wish-modal.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

.wish-modal-card {
  background: #FAFAF8;
  border: 1px solid rgba(26, 61, 92, 0.1);
  border-radius: 2px;
  padding: 48px 44px 44px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 80px rgba(26, 61, 92, 0.2);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.wish-modal.open .wish-modal-card {
  transform: translateY(0);
}

.wish-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 22px;
  color: #A8C5DA;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
}

.wish-modal-close:hover {
  color: #1A3D5C;
}

.wish-modal-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #C4A87A;
  margin-bottom: 6px;
}

.wish-modal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  color: #1A3D5C;
  margin-bottom: 16px;
}

.wish-modal-note {
  font-size: 14px;
  line-height: 1.7;
  color: #4A7FA8;
  margin-bottom: 28px;
}

.wish-modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wish-modal-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #F5F0E8;
  border: 1px solid rgba(26, 61, 92, 0.1);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

a.wish-modal-option:hover {
  border-color: #2B5F8E;
  background: rgba(43, 95, 142, 0.04);
}

.wish-modal-option-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #A8C5DA;
}

.wish-modal-option-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #1A3D5C;
}

/* ============================================================
   FOOTER
   ============================================================ */

.w-footer {
  background: #1A3D5C;
  color: #A8C5DA;
  text-align: center;
  padding: 64px 32px;
}

.w-footer-monogram {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 52px;
  font-weight: 300;
  font-style: italic;
  color: #F5F0E8;
  margin-bottom: 14px;
  line-height: 1;
}

.w-footer-text {
  font-size: 13px;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
  color: rgba(168, 197, 218, 0.8);
}

.w-footer-date {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  color: rgba(168, 197, 218, 0.5);
  margin-top: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 820px) {
  .w-section { padding: 64px 20px; }
  .w-band { padding: 64px 20px; }

  .w-details-grid { grid-template-columns: 1fr; }
  .w-stay-grid,
  .w-stay-grid--three { grid-template-columns: 1fr; }
  .w-travel-grid { grid-template-columns: 1fr 1fr; }
  .w-todo-grid { grid-template-columns: 1fr 1fr; }
  .w-wish-grid { grid-template-columns: 1fr; }

  .pin-card { padding: 40px 24px 36px; }
  .pin-digit { width: 42px; height: 52px; font-size: 22px; }
  .pin-inputs { gap: 8px; }
  .pin-monogram { font-size: 40px; }

  .w-dress-chips { flex-direction: column; align-items: center; }
  .w-travel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .w-todo-grid { grid-template-columns: 1fr; }
  .pin-digit { width: 38px; height: 46px; font-size: 20px; }
  .pin-inputs { gap: 6px; }
}
