/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #0a1628;
  color: #e8e4dc;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
  display: flex; justify-content: center; align-items: center;
  padding: 16px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links {
  display: flex; justify-content: center; gap: 28px;
}
nav a {
  color: rgba(201, 169, 110, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}
nav a:hover { color: #c9a96e; }

/* Hamburger toggle - hidden on desktop */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px 4px;
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(201, 169, 110, 0.7);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ===== HERO ===== */
.hero {
  height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -20px;
  background: url('/images/venue-hero.webp') center/cover no-repeat;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 14, 28, 0.82) 0%,
    rgba(10, 18, 36, 0.72) 30%,
    rgba(10, 18, 36, 0.65) 50%,
    rgba(10, 16, 32, 0.75) 75%,
    rgba(10, 14, 28, 0.85) 100%
  );
}
.hero-glow {
  position: absolute; top: 45%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(201, 169, 110, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Corner frames */
.corner {
  position: absolute;
  width: 55px; height: 55px;
}
.corner.tl { top: 45px; left: 45px; border-top: 1px solid rgba(201, 169, 110, 0.2); border-left: 1px solid rgba(201, 169, 110, 0.2); }
.corner.tr { top: 45px; right: 45px; border-top: 1px solid rgba(201, 169, 110, 0.2); border-right: 1px solid rgba(201, 169, 110, 0.2); }
.corner.bl { bottom: 45px; left: 45px; border-bottom: 1px solid rgba(201, 169, 110, 0.2); border-left: 1px solid rgba(201, 169, 110, 0.2); }
.corner.br { bottom: 45px; right: 45px; border-bottom: 1px solid rgba(201, 169, 110, 0.2); border-right: 1px solid rgba(201, 169, 110, 0.2); }

/* Hero content */
.hero-content {
  text-align: center; z-index: 2;
  will-change: transform, opacity;
  visibility: hidden;
}
.fonts-loaded .hero-content {
  visibility: visible;
}
.sig-wrapper {
  position: relative; display: inline-block;
}
.sig-text {
  font-family: 'Allura', cursive;
  font-size: 86px;
  color: #c9a96e;
  white-space: nowrap;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.nib { display: none; }
.hero-divider {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.7), transparent);
  margin: 22px auto;
}
.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400;
  color: #e8e4dc;
  letter-spacing: 5px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.hero-venue {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300;
  color: #c9a96e;
  letter-spacing: 3px; font-style: italic;
  margin-top: 8px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.hero-dresscode {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.85);
  margin-top: 20px;
  padding: 8px 22px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 2px;
  display: inline-block;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; letter-spacing: 4px;
  color: rgba(201, 169, 110, 0.3);
  text-transform: uppercase;
  opacity: 0;
}
.scroll-arrow {
  display: block; margin: 8px auto 0;
  width: 10px; height: 10px;
  border-right: 1px solid rgba(201, 169, 110, 0.3);
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
  transform: rotate(45deg);
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.2; }
  50% { transform: translateY(5px) rotate(45deg); opacity: 0.6; }
}

/* ===== SECTIONS ===== */
section { position: relative; z-index: 2; }

/* Alternating section backgrounds for better readability */
#details {
  background: linear-gradient(180deg, #0e1b30 0%, #0f1d33 50%, #0e1b30 100%);
}
#rsvp {
  background: linear-gradient(180deg, #0a1628 0%, #0d1a2e 50%, #0a1628 100%);
}
#travel {
  background: linear-gradient(180deg, #0e1b30 0%, #0f1d33 50%, #0e1b30 100%);
}
#registry {
  background: linear-gradient(180deg, #0a1628 0%, #0d1a2e 50%, #0a1628 100%);
}
#photos {
  background: linear-gradient(180deg, #0e1b30 0%, #0f1d33 50%, #0e1b30 100%);
}

.section-inner {
  max-width: 900px; margin: 0 auto;
  padding: 110px 28px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; color: #c9a96e;
  text-align: center; letter-spacing: 2px;
  font-weight: 400;
  opacity: 0; transform: translateY(20px);
}
.section-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.8);
  text-align: center; margin-top: 12px;
  opacity: 0; transform: translateY(14px);
}
.section-divider {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.5), transparent);
  margin: 28px auto 55px;
  transform: scaleX(0);
}

/* ===== WEDDING DETAILS ===== */
#details .section-inner { padding: 70px 28px; }
.details-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.detail-card {
  flex: 0 1 260px;
  background: rgba(18, 28, 48, 0.7);
  border: 1px solid rgba(201, 169, 110, 0.12);
  border-radius: 10px;
  padding: 28px 16px;
  text-align: center;
  opacity: 0; transform: translateY(25px);
}
.detail-icon {
  color: rgba(201, 169, 110, 0.55);
  margin-bottom: 18px;
}
.detail-icon svg {
  width: 36px; height: 36px;
}
.detail-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; color: #c9a96e;
  margin-bottom: 14px; letter-spacing: 1px;
  font-weight: 400;
}
.detail-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: rgba(232, 228, 220, 0.8);
  line-height: 1.7;
}
.detail-time {
  color: rgba(201, 169, 110, 0.85) !important;
  font-style: italic; margin-top: 12px !important;
}
.detail-note {
  color: rgba(201, 169, 110, 0.8) !important;
  font-style: italic; margin-top: 10px !important;
}

/* Timeline */
.timeline {
  margin-top: 70px; position: relative;
  padding-left: 32px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.timeline-track {
  position: absolute; left: 7px; top: 0;
  width: 1px; height: 0;
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.3), rgba(201, 169, 110, 0.1));
}
.timeline-item {
  margin-bottom: 30px; position: relative;
  opacity: 0; transform: translateY(15px);
}
.timeline-item::before {
  content: '';
  position: absolute; left: -28px; top: 6px;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.25);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-item.lit::before {
  background: rgba(201, 169, 110, 0.4);
  border-color: rgba(201, 169, 110, 0.6);
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.2);
}
.timeline-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; letter-spacing: 3px;
  color: rgba(201, 169, 110, 0.85);
  text-transform: uppercase; margin-bottom: 5px;
}
.timeline-item p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: rgba(232, 228, 220, 0.8);
}

/* ===== RSVP ===== */
#rsvp .section-inner { text-align: center; }
.rsvp-form {
  max-width: 560px; margin: 0 auto;
  background: rgba(20, 30, 50, 0.5);
  border: 1px solid rgba(201, 169, 110, 0.1);
  border-radius: 12px;
  padding: 40px 36px;
  opacity: 0; transform: translateY(25px);
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { margin-bottom: 24px; }
.form-group > label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; letter-spacing: 2.5px;
  font-weight: 600;
  color: rgba(201, 169, 110, 0.8);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select {
  width: 100%; padding: 14px 18px;
  border-radius: 8px;
  background: rgba(235, 230, 220, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.2);
  color: #e8e4dc;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; outline: none;
  transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: rgba(201, 169, 110, 0.55);
  box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.15);
  background: rgba(235, 230, 220, 0.12);
}
.form-group input::placeholder {
  color: rgba(232, 228, 220, 0.35);
}
.form-group select { cursor: pointer; }
.form-group select option { background: #141e32; }

/* Toggle buttons (binary choices) */
.toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.2);
}
.toggle-btn {
  padding: 16px 18px;
  background: rgba(235, 230, 220, 0.06);
  border: none;
  color: rgba(232, 228, 220, 0.55);
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  cursor: pointer;
  transition: all 0.3s;
}
.toggle-btn + .toggle-btn {
  border-left: 1px solid rgba(201, 169, 110, 0.2);
}
.toggle-btn.active {
  background: #c9a96e;
  color: #0a1628;
  font-weight: 600;
}
.toggle-btn:hover:not(.active) {
  background: rgba(235, 230, 220, 0.12);
  color: rgba(232, 228, 220, 0.85);
}

/* Event checklist */
.event-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event-check {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(235, 230, 220, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 0;
  font-weight: normal;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.event-check:hover {
  border-color: rgba(201, 169, 110, 0.35);
  background: rgba(235, 230, 220, 0.1);
}
.event-check input[type="checkbox"] {
  display: none;
}
.check-box {
  width: 22px; height: 22px;
  min-width: 22px;
  border: 1.5px solid rgba(201, 169, 110, 0.35);
  border-radius: 4px;
  background: transparent;
  transition: all 0.3s;
  position: relative;
}
.event-check input:checked ~ .check-box {
  background: #c9a96e;
  border-color: #c9a96e;
}
.event-check input:checked ~ .check-box::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 11px;
  border: solid #0a1628;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.event-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.event-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: #e8e4dc;
}
.event-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(201, 169, 110, 0.8);
}
.event-check input:checked ~ .event-info .event-name {
  color: #c9a96e;
}

.rsvp-btn {
  width: 100%; padding: 18px;
  border: none;
  border-radius: 8px;
  background: #c9a96e;
  color: #0a1628;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; letter-spacing: 4px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}
.rsvp-btn:hover {
  background: #dfc47a;
}
.rsvp-btn:disabled {
  opacity: 0.5; cursor: not-allowed;
}
.rsvp-message {
  margin-top: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; text-align: center;
  min-height: 24px;
}
.rsvp-message.success { color: rgba(130, 200, 130, 0.9); }
.rsvp-message.error { color: rgba(220, 120, 120, 0.9); }
.guest-section {
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.guest-section.visible {
  max-height: 400px;
  opacity: 1;
}
.guest-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: #c9a96e;
  text-align: center;
  margin-bottom: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}

/* ===== TRAVEL ===== */
.hotel-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hotel-card {
  background: rgba(18, 28, 48, 0.7);
  border: 1px solid rgba(201, 169, 110, 0.12);
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: translateY(25px);
  position: relative;
}
.hotel-logo {
  width: 200px; height: 80px;
  object-fit: contain;
  margin: 16px 0 20px;
  opacity: 0.85;
}
.hotel-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; letter-spacing: 2px;
  color: rgba(201, 169, 110, 0.7);
  background: rgba(201, 169, 110, 0.1);
  padding: 5px 14px; border-radius: 12px;
  text-transform: uppercase;
  display: inline-block; margin-bottom: 16px;
}
.hotel-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; color: #c9a96e;
  margin-bottom: 10px;
  font-weight: 400;
}
.hotel-address {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: rgba(232, 228, 220, 0.7);
  line-height: 1.5;
}
.hotel-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: rgba(201, 169, 110, 0.8);
  font-style: italic; margin-top: 12px; line-height: 1.5;
}
.hotel-link {
  display: inline-block; margin-top: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
  padding-bottom: 2px;
  transition: all 0.3s;
}
.hotel-link:hover {
  color: #c9a96e;
  border-color: rgba(201, 169, 110, 0.6);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-img {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.08);
  opacity: 0; transform: translateY(25px);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.gallery-img img {
  width: 100%;
  display: block;
  border-radius: 6px;
}
.gallery-img:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.gallery-img::after {
  content: 'View Gallery';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.5);
  color: #c9a96e;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 6px;
}
.gallery-img:hover::after {
  opacity: 1;
}
.gallery-img {
  position: relative;
}
/* Banner photo spans full width, no cropping */
.gallery-banner {
  grid-column: 1 / -1;
  height: auto;
}
.gallery-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 10, 18, 0.97);
  display: none; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-top-bar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  z-index: 10;
}
.lightbox-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; letter-spacing: 2px;
  color: rgba(201, 169, 110, 0.6);
}
.lightbox-close {
  background: none; border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer; font-size: 32px;
  transition: color 0.3s;
  padding: 4px 8px;
}
.lightbox-close:hover { color: #c9a96e; }
.lightbox-img-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 60px 64px 40px;
  overflow: hidden;
}
.lightbox-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 4px;
  transition: opacity 0.25s ease;
  user-select: none; -webkit-user-drag: none;
}
.lightbox-img.fading { opacity: 0; }
.lightbox-prev,
.lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3); border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer; transition: all 0.3s;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(201, 169, 110, 0.2); color: #c9a96e; }
.lightbox-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255, 255, 255, 0.1);
}
.lightbox-progress-bar {
  height: 100%; background: rgba(201, 169, 110, 0.5);
  transition: width 0.3s ease;
}
@media (max-width: 600px) {
  .lightbox-img-wrap { padding: 56px 8px 32px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ===== REGISTRY ===== */
.registry-links {
  display: flex; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.registry-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  padding: 28px 48px;
  min-width: 220px;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 10px;
  background: rgba(18, 28, 48, 0.6);
  color: rgba(201, 169, 110, 0.8);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s;
  opacity: 0; transform: translateY(15px);
}
.registry-logo {
  width: 180px; height: auto;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.registry-cta {
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.5);
}
.registry-link:hover {
  background: rgba(201, 169, 110, 0.1);
  border-color: rgba(201, 169, 110, 0.3);
}
.registry-link:hover .registry-logo { opacity: 1; }
.registry-link:hover .registry-cta { color: rgba(201, 169, 110, 0.8); }

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 90px 24px 50px;
  border-top: 1px solid rgba(201, 169, 110, 0.08);
  position: relative; z-index: 2;
}
.footer-monogram {
  font-family: 'Allura', cursive;
  font-size: 40px; color: rgba(201, 169, 110, 0.3);
}
.footer-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; letter-spacing: 4px;
  color: rgba(201, 169, 110, 0.2);
  margin-top: 10px;
}

/* ===== PARTICLES ===== */
.particles {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
}
.particle {
  position: absolute;
  width: 1.5px; height: 1.5px;
  background: #c9a96e; border-radius: 50%;
  opacity: 0;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .section-title { font-size: 48px; }
  .sig-text { font-size: 96px !important; }
  .hero-date { font-size: 30px; }
  .hero-venue { font-size: 24px; }
}

@media (max-width: 768px) {
  .sig-text { font-size: 52px !important; }
  .hero-date { font-size: 22px; letter-spacing: 3px; }
  .hero-venue { font-size: 18px; }
  .hero-dresscode { font-size: 12px; }
  .section-title { font-size: 36px; }
  .section-sub { font-size: 12px; }
  .detail-card { flex: 1 1 calc(50% - 16px); }
  .hotel-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }

  /* Mobile hamburger nav */
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    padding: 12px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 20px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    letter-spacing: 3px;
  }
  .nav-links a:hover {
    background: rgba(201, 169, 110, 0.06);
  }

  .section-inner { padding: 80px 20px; }
  .rsvp-form { padding: 30px 20px; }
  .corner { width: 35px; height: 35px; }
  .corner.tl, .corner.bl { left: 20px; }
  .corner.tr, .corner.br { right: 20px; }
  .corner.tl, .corner.tr { top: 20px; }
  .corner.bl, .corner.br { bottom: 20px; }
}

@media (max-width: 420px) {
  .sig-text { font-size: 40px !important; }
  .hero-date { font-size: 20px; }
  .hero-venue { font-size: 16px; }
  .section-title { font-size: 30px; }
  .registry-links { flex-direction: column; align-items: center; }
  .registry-link { min-width: 0; width: 100%; }
  .rsvp-form { padding: 24px 16px; }
}

/* ===== FOCUS VISIBLE ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(201, 169, 110, 0.6);
  outline-offset: 2px;
}

/* ===== SR-ONLY (accessible hidden) ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
