:root {
    --cream: #EAE0CB;
    --cream-light: #F5F0E8;
    --forest: #284734;
    --forest-light: #3a5e48;
    --sage: #8FAF8A;
    --sage-light: #b8cdb5;
    --lilac: #B8A9D4;
    --lilac-light: #d4cce8;
    --dark: #2a2a2a;
    --mid: #5a5a5a;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--cream-light);
    color: var(--dark);
    font-family: 'Libre Baskerville', serif;
    overflow-x: hidden;
  }

  /* ---- BOTANICAL SVG DECORATIONS ---- */
  .botanical-top {
    position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: 1;
  }
  .botanical-corner {
    position: absolute; pointer-events: none; opacity: 0.6;
  }

  /* ---- GATE / LOGIN SCREEN ---- */
  #gate {
    position: fixed; inset: 0;
    background: var(--cream-light);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  #gate.hidden { opacity: 0; pointer-events: none; transform: translateY(-20px); }

  .gate-card {
    background: white;
    border: 1px solid var(--sage-light);
    border-radius: 4px;
    padding: 60px 50px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 40px rgba(40,71,52,0.08);
  }

  .gate-floral {
    width: 180px; margin: 0 auto 20px;
  }

  .gate-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-style: italic;
    color: var(--forest);
    line-height: 1.1;
    margin-bottom: 8px;
  }

  .gate-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 32px;
  }

  .gate-input-wrap {
    position: relative;
    margin-bottom: 16px;
  }

  .gate-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--sage-light);
    border-radius: 3px;
    font-family: 'Libre Baskerville', serif;
    font-size: 0.9rem;
    background: var(--cream-light);
    color: var(--dark);
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s;
  }
  .gate-input:focus { border-color: var(--forest); }
  .gate-input::placeholder { letter-spacing: 0.1em; text-transform: none; color: #aaa; }

  .gate-btn {
    width: 100%;
    padding: 14px;
    background: var(--forest);
    color: var(--cream-light);
    border: none;
    border-radius: 3px;
    font-family: 'Libre Baskerville', serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
  }
  .gate-btn:hover { background: var(--forest-light); }

  .gate-error {
    color: #c0392b;
    font-size: 0.8rem;
    margin-top: 10px;
    font-style: italic;
    min-height: 18px;
  }

  .gate-public-link {
    margin-top: 24px;
    font-size: 0.78rem;
    color: var(--mid);
  }
  .gate-public-link a {
    color: var(--forest);
    text-decoration: none;
    border-bottom: 1px solid var(--sage);
  }
  .gate-public-link a:hover { color: var(--lilac); border-color: var(--lilac); }

  /* ---- NAV ---- */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 48px;
    background: rgba(245,240,232,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(143,175,138,0.3);
    transition: all 0.3s;
  }

  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--forest);
    text-decoration: none;
  }

  .nav-links {
    display: flex; gap: 32px; list-style: none;
  }
  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--forest); }

  .nav-badge {
    background: var(--lilac);
    color: var(--forest);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 600;
  }

  /* ---- HERO ---- */
  #hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
    background: var(--cream-light);
  }

  .hero-bg-leaves {
    position: absolute; inset: 0; pointer-events: none;
    opacity: 0.12;
  }

  .hero-date-tag {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--forest);
    background: rgba(143,175,138,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 28px;
    display: inline-block;
    animation: fadeUp 1s ease 0.2s both;
  }

  .hero-names {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(4rem, 10vw, 7.5rem);
    color: var(--forest);
    line-height: 0.95;
    margin-bottom: 20px;
    animation: fadeUp 1s ease 0.4s both;
  }

  .hero-amp {
    font-size: 0.55em;
    color: var(--lilac);
    display: block;
    margin: 4px 0;
  }

  .hero-sub {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 48px;
    animation: fadeUp 1s ease 0.6s both;
  }

  /* Countdown */
  .countdown {
    display: flex; gap: 32px;
    animation: fadeUp 1s ease 0.8s both;
    margin-bottom: 48px;
  }
  .countdown-unit {
    text-align: center;
  }
  .countdown-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--forest);
    display: block;
    line-height: 1;
  }
  .countdown-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    margin-top: 4px;
  }
  .countdown-sep {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--sage);
    align-self: flex-start;
    padding-top: 8px;
  }

  .hero-photos {
    display: flex; gap: 16px; margin-top: 48px;
    animation: fadeUp 1s ease 1s both;
    justify-content: center;
    align-items: center;
  }

  .hero-photo {
    width: 180px; height: 240px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 12px 40px rgba(40,71,52,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex-shrink: 0;
  }
  .hero-photo:nth-child(1) { transform: rotate(-2deg); }
  .hero-photo:nth-child(2) { transform: rotate(1.5deg); }
  .hero-photo:nth-child(3) { transform: rotate(-1.5deg); }
  .hero-photo:nth-child(4) { transform: rotate(2deg); }
  .hero-photo:hover { transform: rotate(0deg) translateY(-8px) !important; box-shadow: 0 20px 48px rgba(40,71,52,0.22); }

  /* ---- SECTIONS ---- */
  section {
    padding: 100px 40px;
    max-width: 900px;
    margin: 0 auto;
  }

  .section-tag {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 12px;
  }
  .section-tag::before, .section-tag::after {
    content: ''; flex: 1; max-width: 40px;
    height: 1px; background: var(--sage);
  }
  .section-tag::before { display: none; }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--forest);
    margin-bottom: 32px;
    line-height: 1.1;
  }

  .divider {
    width: 80px; height: 1px;
    background: linear-gradient(to right, transparent, var(--sage), transparent);
    margin: 0 auto 60px;
  }

  /* ---- FULL-WIDTH SECTIONS ---- */
  .section-full {
    padding: 100px 40px;
    width: 100%;
  }
  .section-full-inner {
    max-width: 900px;
    margin: 0 auto;
  }

  /* ---- OUR STORY ---- */
  #story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  #story .story-text p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--mid);
    margin-bottom: 18px;
  }
  .story-photo-wrap {
    position: relative;
  }
  .story-photo {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 16px 48px rgba(40,71,52,0.12);
  }
  .story-photo-deco {
    position: absolute;
    top: -16px; right: -16px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1.5px solid var(--sage-light);
    border-radius: 2px;
    z-index: -1;
  }

  /* ---- TIMELINE ---- */
  #details {
    background: white;
    padding: 100px 40px;
  }
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 40px;
  }
  .timeline::before {
    content: '';
    position: absolute; left: 0; top: 8px; bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, var(--sage), var(--lilac));
  }
  .timeline-item {
    padding: 0 0 40px 32px;
    position: relative;
  }
  .timeline-item::before {
    content: '';
    position: absolute; left: -4px; top: 8px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--sage);
    border: 2px solid white;
  }
  .timeline-time {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lilac);
    margin-bottom: 4px;
  }
  .timeline-event {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--forest);
  }
  .timeline-note {
    font-size: 0.82rem;
    color: var(--mid);
    margin-top: 4px;
    font-style: italic;
  }

  .dress-code-box {
    margin-top: 48px;
    padding: 28px 32px;
    background: var(--cream-light);
    border-left: 3px solid var(--sage);
    border-radius: 0 3px 3px 0;
  }
  .dress-code-box .label {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 8px;
  }
  .dress-code-box p {
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.7;
  }

  /* Private location box */
  .location-box {
    margin-top: 32px;
    padding: 28px 32px;
    background: var(--cream-light);
    border: 1px solid var(--sage-light);
    border-radius: 3px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  .location-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .location-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--forest);
    margin-bottom: 4px;
  }
  .location-address {
    font-size: 0.82rem;
    color: var(--mid);
    line-height: 1.6;
    font-style: italic;
  }
  .location-locked {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--lilac);
    margin-top: 8px;
    display: flex; align-items: center; gap: 6px;
  }

  /* ---- RSVP ---- */
  #rsvp { background: var(--forest); }
  #rsvp .section-tag { color: var(--sage-light); }
  #rsvp .section-title { color: var(--cream-light); }
  #rsvp p { color: rgba(234,224,203,0.75); font-size: 0.9rem; line-height: 1.8; margin-bottom: 32px; }

  .rsvp-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .rsvp-form-group {
    display: flex; flex-direction: column; gap: 8px;
  }
  .rsvp-form-group.full { grid-column: 1 / -1; }
  .rsvp-label {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage-light);
  }
  .rsvp-input, .rsvp-select, .rsvp-textarea {
    padding: 12px 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(143,175,138,0.3);
    border-radius: 2px;
    color: var(--cream-light);
    font-family: 'Libre Baskerville', serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
  }
  .rsvp-input:focus, .rsvp-select:focus, .rsvp-textarea:focus {
    border-color: var(--sage);
  }
  .rsvp-select option { background: var(--forest); color: var(--cream-light); }
  .rsvp-textarea { resize: vertical; min-height: 100px; }
  .rsvp-submit {
    margin-top: 8px;
    padding: 14px 40px;
    background: var(--lilac);
    color: var(--forest);
    border: none;
    border-radius: 2px;
    font-family: 'Libre Baskerville', serif;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .rsvp-submit:hover { background: var(--lilac-light); transform: translateY(-1px); }
  .rsvp-success {
    display: none;
    text-align: center;
    padding: 40px;
    color: var(--sage-light);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.6rem;
  }

  /* ---- GALLERY ---- */
  #gallery { background: white; }
  .gallery-upload-zone {
    border: 2px dashed var(--sage-light);
    border-radius: 4px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 32px;
    background: var(--cream-light);
  }
  .gallery-upload-zone:hover, .gallery-upload-zone.drag { border-color: var(--sage); background: rgba(143,175,138,0.08); }
  .upload-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
  .upload-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--forest);
    margin-bottom: 8px;
  }
  .upload-sub { font-size: 0.78rem; color: var(--mid); font-style: italic; }
  #fileInput { display: none; }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }
  .gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
    background: var(--cream-light);
  }
  .gallery-item img, .gallery-item video {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .gallery-item:hover img, .gallery-item:hover video {
    transform: scale(1.04);
  }
  .gallery-item .del-btn {
    position: absolute; top: 8px; right: 8px;
    background: rgba(40,71,52,0.7);
    color: white;
    border: none;
    width: 28px; height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.7rem;
    display: none;
    align-items: center; justify-content: center;
  }
  .gallery-item:hover .del-btn { display: flex; }

  /* ---- GIFT ---- */
  #gift {
    background: var(--cream-light);
    text-align: center;
  }
  #gift .section-title { margin: 0 auto 16px; }
  #gift p {
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 0.92rem;
    line-height: 1.9;
    color: var(--mid);
  }
  .gift-btn {
    display: inline-flex;
    align-items: center; gap: 12px;
    padding: 16px 40px;
    background: var(--forest);
    color: var(--cream-light);
    text-decoration: none;
    border-radius: 2px;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: all 0.2s;
  }
  .gift-btn:hover { background: var(--forest-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(40,71,52,0.2); }
  .gift-note {
    margin-top: 20px;
    font-size: 0.75rem;
    color: #aaa;
    font-style: italic;
  }

  /* ---- AROUND THE WORLD ---- */
  .atw-section {
    background: var(--cream-light);
    padding: 80px 40px 100px;
  }
  .atw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 24px;
    max-width: 1100px;
    margin: 48px auto 0;
    align-items: start;
  }

  /* Real polaroid style */
  .pol {
    background: white;
    padding: 12px 12px 48px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
    transform: rotate(var(--r, 0deg));
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
    position: relative;
  }
  .pol:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.04) !important;
    box-shadow: 0 20px 48px rgba(0,0,0,0.18);
    z-index: 10;
  }
  .pol img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
  }
  .pol.tall img  { height: 280px; }
  .pol.wide      { grid-column: span 2; }
  .pol.wide img  { height: 190px; }

  /* ---- PETS SECTION ---- */
  .pets-section {
    background: white;
    padding: 80px 40px 100px;
  }

  /* Portraits as big polaroids side by side */
  .pets-portraits {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 56px;
  }
  .pets-portrait-card {
    background: white;
    padding: 14px 14px 56px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 6px rgba(0,0,0,0.08);
    transform: rotate(var(--r, 0deg));
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-align: center;
  }
  .pets-portrait-card:first-child { --r: -2deg; }
  .pets-portrait-card:last-child  { --r:  2deg; }
  .pets-portrait-card:hover {
    transform: rotate(0deg) translateY(-8px) !important;
    box-shadow: 0 20px 52px rgba(0,0,0,0.18);
  }
  .pets-portrait-card img {
    width: 260px;
    height: 360px;
    object-fit: cover;
    display: block;
  }
  .pets-portrait-name {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--forest);
    margin-top: 16px;
  }

  /* Small polaroid grid for real photos */
  .pets-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
  }
  .pets-grid .pol {
    width: 200px;
  }
  .pets-grid .pol img {
    height: 210px;
  }

  /* ---- TRAVEL STRIP ---- */
  .travel-strip-wrap {
    background: var(--cream-light);
    padding: 60px 0 70px;
    overflow: hidden;
  }
  .travel-strip-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.6rem;
    color: var(--forest);
    text-align: center;
    margin-bottom: 32px;
    padding: 0 40px;
  }
  .travel-strip {
    display: flex;
    gap: 16px;
    padding: 0 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .travel-strip::-webkit-scrollbar { display: none; }
  .travel-photo {
    flex-shrink: 0;
    width: 280px;
    height: 360px;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
  }
  .travel-photo:hover { transform: scale(1.02); }
  .travel-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .travel-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 16px 14px;
    background: linear-gradient(to top, rgba(40,71,52,0.75), transparent);
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    text-align: center;
  }

  /* ---- FLORAL BANNER ---- */
  .floral-banner {
    width: 100%;
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-light);
    overflow: hidden;
  }

  /* ---- FULL BLEED PHOTO ---- */
  .photo-bleed {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
  }
  .photo-bleed img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
  }
  .photo-bleed-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(40,71,52,0.1) 0%, rgba(40,71,52,0.55) 100%);
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 48px;
  }
  .photo-bleed-caption {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.2rem;
    color: white;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
    letter-spacing: 0.05em;
  }

  /* ---- TWO COUNTRIES ---- */
  .countries-band {
    background: var(--forest);
    padding: 64px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
  }
  .country-item { text-align: center; }
  .country-flag { font-size: 3.5rem; margin-bottom: 12px; display: block; }
  .country-name {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.6rem;
    color: var(--cream-light);
    margin-bottom: 4px;
  }
  .country-sub { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-light); }
  .country-sep {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--lilac);
    font-style: italic;
    line-height: 1;
  }

  /* ---- POLAROID STRIP ---- */
  .polaroid-strip {
    background: var(--cream-light);
    padding: 80px 40px;
    text-align: center;
  }
  .polaroid-strip-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: var(--forest);
    margin-bottom: 48px;
  }
  .polaroid-strip-inner {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .polaroid {
    background: white;
    padding: 14px 14px 52px;
    box-shadow: 0 8px 32px rgba(40,71,52,0.12), 0 2px 8px rgba(0,0,0,0.06);
    width: 240px;
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .polaroid:nth-child(1) { transform: rotate(-2.5deg); }
  .polaroid:nth-child(2) { transform: rotate(1.8deg) translateY(24px); }
  .polaroid:nth-child(1):hover { transform: rotate(-0.5deg) translateY(-8px); box-shadow: 0 24px 56px rgba(40,71,52,0.2); }
  .polaroid:nth-child(2):hover { transform: rotate(0.5deg) translateY(16px); box-shadow: 0 24px 56px rgba(40,71,52,0.2); }
  .polaroid img {
    width: 100%; height: 260px;
    object-fit: cover; display: block;
  }
  .polaroid-caption {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--mid);
    text-align: center;
    margin-top: 16px;
    line-height: 1.4;
  }

  /* ---- ADMIN PANEL ---- */
  #adminPanel {
    display: none;
    position: fixed;
    bottom: 24px; left: 24px;
    background: var(--forest);
    color: var(--cream-light);
    border-radius: 4px;
    padding: 20px 24px;
    min-width: 280px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.25);
    z-index: 500;
    font-size: 0.8rem;
  }
  #adminPanel.open { display: block; }
  .admin-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--lilac);
    margin-bottom: 16px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .admin-close {
    background: none; border: none; color: var(--sage-light);
    cursor: pointer; font-size: 1rem; padding: 0;
  }
  .admin-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(143,175,138,0.2);
  }
  .admin-row:last-child { border-bottom: none; }
  .admin-label { color: var(--sage-light); letter-spacing: 0.08em; }
  .admin-val { color: var(--cream-light); font-weight: 600; }
  .admin-toggle {
    position: fixed;
    bottom: 24px; left: 24px;
    background: var(--forest);
    color: var(--sage-light);
    border: 1px solid rgba(143,175,138,0.3);
    border-radius: 50%;
    width: 42px; height: 42px;
    font-size: 1.1rem;
    cursor: pointer;
    display: none;
    align-items: center; justify-content: center;
    z-index: 499;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: background 0.2s;
  }
  .admin-toggle:hover { background: var(--forest-light); }
  .admin-toggle.visible { display: flex; }

  /* ---- FOOTER ---- */
  footer {
    background: var(--forest);
    color: rgba(234,224,203,0.6);
    text-align: center;
    padding: 48px 40px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
  footer .footer-names {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: var(--cream-light);
    margin-bottom: 8px;
  }

  /* ---- LOCKED OVERLAY ---- */
  .locked-section {
    position: relative;
  }
  .locked-overlay {
    display: none;
  }
  .locked-overlay.hidden { display: none; }
  .lock-icon { font-size: 2rem; }
  .lock-msg {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--forest);
    font-style: italic;
    text-align: center;
  }
  .lock-sub {
    font-size: 0.75rem;
    color: var(--mid);
    letter-spacing: 0.1em;
  }

  /* ---- ANIMATIONS ---- */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ---- MOBILE ---- */
  @media (max-width: 768px) {
    nav { padding: 14px 20px; }
    .nav-links { display: none; }
    #story { grid-template-columns: 1fr; gap: 40px; }
    .rsvp-form { grid-template-columns: 1fr; }
    .countdown { gap: 16px; }
    .countdown-num { font-size: 2.2rem; }
    section { padding: 70px 24px; }
    .hero-photos { gap: 12px; }
    .hero-photo { width: 160px; height: 210px; }
    .gate-card { padding: 40px 28px; }
    .gate-names { font-size: 2.2rem; }
  }

  /* ---- NOTIFICATION ---- */
  .toast {
    position: fixed;
    bottom: 32px; right: 32px;
    background: var(--forest);
    color: var(--cream-light);
    padding: 14px 24px;
    border-radius: 3px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
  }
  .toast.show { transform: translateY(0); opacity: 1; }

  /* ---- TRAVEL MOSAIC ---- */
  .travel-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 6px;
    width: 100%;
  }
  .mosaic-item {
    position: relative;
    overflow: hidden;
    background: var(--sage-light);
  }
  .mosaic-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
  }
  .mosaic-item:hover img { transform: scale(1.05); }
  .mosaic-tall { grid-row: span 2; }
  .mosaic-wide { grid-column: span 2; }
  .mosaic-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 14px 10px;
    background: linear-gradient(to top, rgba(40,71,52,0.7) 0%, transparent 100%);
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .mosaic-item:hover .mosaic-label { opacity: 1; }
  @media (max-width: 768px) {
    .travel-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .mosaic-tall { grid-row: span 1; }
    .mosaic-wide { grid-column: span 2; }
  }