  * { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --cream: #F9F5EF;
    --warm: #EDE5D8;
    --gold: #B8975A;
    --gold-light: #D4B483;
    --dark: #2C2318;
    --muted: #7A6E61;
    --rose: #C9A0A0;
  }

  body {
    font-family: 'Jost', sans-serif;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
  }

  /* ── MUSIC BUTTON ── */
  .music-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1000;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s, background 0.3s;
  }
  .music-btn:hover { transform: scale(1.08); }
  .music-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .music-btn.playing { background: var(--gold); }
  .music-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    opacity: 0;
  }
  .music-btn.playing .music-pulse { animation: pulse 2s ease-out infinite; }
  @keyframes pulse {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.55); opacity: 0; }
  }
  .music-label {
    position: fixed;
    bottom: 34px;
    right: 90px;
    z-index: 1000;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--muted);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    white-space: nowrap;
  }
  .music-label.show { opacity: 1; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 0;
    position: relative;
    background: var(--cream);
    overflow: hidden;
  }

  /* FULL-WIDTH HERO PHOTO */
  .hero-photo-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  /* bottom blur-fade: photo fades into cream */
  .hero-photo-wrap::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 55%;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(249,245,239,0.55) 35%,
      rgba(249,245,239,0.88) 62%,
      var(--cream) 100%
    );
    pointer-events: none;
  }
  /* placeholder when no photo */
  .hero-photo-placeholder-full {
    width: 100%; height: 100%;
    background: var(--warm);
    border: 2px dashed rgba(184,151,90,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .hero-photo-placeholder-full svg { width: 40px; height: 40px; stroke: rgba(184,151,90,0.55); fill: none; stroke-width: 1.5; }
  .hero-photo-placeholder-full span { font-size: 12px; letter-spacing: 0.25em; color: rgba(184,151,90,0.7); text-transform: uppercase; }

  /* TEXT BLOCK floats over the faded bottom */
  .hero-text {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 40px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-ornament {
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 1s 0.6s ease forwards;
  }
  .hero-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 11vw, 100px);
    font-weight: 300;
    line-height: 0.5;
    color: var(--dark);
    opacity: 0;
    animation: fadeUp 1s 0.9s ease forwards;
  }
  .hero-amp {
    font-style: italic;
    color: #493b3b;
    display: block;
    font-size: clamp(36px, 7vw, 70px);
    line-height: 1.25;
  }
  .hero-divider {
    width: 56px; height: 1px;
    background: var(--gold);
    margin: 22px auto;
    opacity: 0;
    animation: fadeUp 1s 1.1s ease forwards;
  }
  .hero-date-label {
    font-size: 10px; letter-spacing: 0.35em;
    color: var(--muted); text-transform: uppercase;
    opacity: 0; animation: fadeUp 1s 1.25s ease forwards;
    margin-bottom: 5px;
  }
  .hero-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 3vw, 30px);
    font-weight: 400; letter-spacing: 0.1em;
    color: var(--dark);
    opacity: 0; animation: fadeUp 1s 1.4s ease forwards;
  }

  /* SCROLL ARROW */
  .scroll-hint {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    opacity: 0; animation: fadeIn 1.5s 2s ease forwards;
    cursor: pointer;
  }
  .scroll-hint span { font-size: 9px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; }
  .scroll-arrow {
    width: 36px; height: 36px;
    border: 1px solid rgba(184,151,90,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: arrowBounce 2s ease-in-out infinite;
  }
  .scroll-arrow svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; }
  @keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
  }

  /* ── COUNTDOWN ── */
  .section-countdown {
    background: #f6f1eb;
    padding: 90px 40px;
    text-align: center;
  }
  .section-label { 
    font-size: 11px; 
    letter-spacing: 0.4em; 
    text-transform: uppercase; 
    color: var(--gold); 
    margin-bottom: 18px; 
    font-weight: 400; 
  }
  .section-title-light {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 4.5vw, 42px);
    font-weight: 300; 
    font-style: italic;
    color: var(--dark); 
    margin-bottom: 56px;
  }
  .countdown-grid { display: flex; justify-content: center; gap: clamp(12px, 4vw, 56px); flex-wrap: wrap; }
  .countdown-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .countdown-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 8vw, 78px);
    font-weight: 300; line-height: 1;
    color: var(--gold-light);
    min-width: clamp(56px, 9vw, 86px);
  }
  .countdown-lbl { 
    font-size: 10px; 
    letter-spacing: 0.3em; 
    text-transform: uppercase; 
    color: var(--dark);
  }
  .countdown-sep {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px; color: var(--gold); opacity: 0.3;
    align-self: center; padding-bottom: 22px;
  }

  /* ── STORY (with 4 photos) ── */
  .section-story { padding: 100px 40px; background: var(--cream); }
  .story-inner { max-width: 940px; margin: 0 auto; }
  .story-header { text-align: center; margin-bottom: 64px; }
  .section-title-dark {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 4.5vw, 42px);
    font-weight: 300; font-style: italic; color: var(--dark);
  }
  .story-lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(16px, 2.2vw, 21px);
    font-style: italic; font-weight: 300;
    color: var(--muted); text-align: center; line-height: 1.9;
    max-width: 600px; margin: 0 auto 72px;
  }

  /* Story alternating rows */
  .story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(184,151,90,0.18);
  }
  .story-row:last-child { border-bottom: none; }
  .story-photo-cell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--warm);
    border: 1px dashed rgba(184,151,90,0.35);
    cursor: pointer;
    transition: border-color 0.3s;
  }
  .story-photo-cell:hover { border-color: var(--gold); }
  .story-photo-cell img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }
  .story-photo-cell:hover img { transform: scale(1.04); }
  .photo-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px;
  }
  .photo-overlay svg { width: 32px; height: 32px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
  .photo-overlay span { font-size: 10px; letter-spacing: 0.25em; color: var(--gold); text-transform: uppercase; }
  .story-text-cell { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
  .story-row.reverse .story-text-cell { order: -1; border-right: 1px solid rgba(184,151,90,0.18); }
  .story-row:not(.reverse) .story-text-cell { border-left: 1px solid rgba(184,151,90,0.18); }
  .story-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px; font-weight: 300;
    color: var(--gold); opacity: 0.3; line-height: 1; margin-bottom: 6px;
  }
  .story-head { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--dark); margin-bottom: 12px; }
  .story-desc { font-size: 13px; line-height: 1.85; color: var(--muted); font-weight: 300; }

  /* ── GALLERY ── */
  .section-gallery { background: var(--warm); padding: 100px 40px; }
  .gallery-inner { max-width: 1000px; margin: 0 auto; }
  .gallery-header { text-align: center; margin-bottom: 56px; }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 8px;
  }
  .gallery-cell {
    position: relative;
    overflow: hidden;
    background: rgba(184,151,90,0.08);
    border: 1px dashed rgba(184,151,90,0.4);
    cursor: pointer;
    transition: border-color 0.3s;
    aspect-ratio: 1;
  }
  .gallery-cell.tall { aspect-ratio: auto; grid-row: span 2; }
  .gallery-cell:hover { border-color: var(--gold); }
  .gallery-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
  .gallery-cell:hover img { transform: scale(1.05); }
  .gallery-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
  }
  .gallery-placeholder svg { width: 28px; height: 28px; stroke: rgba(184,151,90,0.6); fill: none; stroke-width: 1.5; }
  .gallery-placeholder span { font-size: 10px; letter-spacing: 0.2em; color: rgba(184,151,90,0.7); text-transform: uppercase; }
  .gallery-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 300; color: rgba(184,151,90,0.25); }

  /* ── TIMELINE ── */
  .section-timeline { background: var(--cream); padding: 100px 40px; }
  .timeline-inner { max-width: 640px; margin: 0 auto; }
  .timeline-header { text-align: center; margin-bottom: 64px; }
  .timeline-items { position: relative; padding-left: 32px; }
  .timeline-items::before {
    content: ''; position: absolute;
    left: 6px; top: 6px; bottom: 6px; width: 1px;
    background: linear-gradient(to bottom, var(--gold), rgba(184,151,90,0.08));
  }
  .tl-item { position: relative; padding: 0 0 48px 32px; }
  .tl-dot {
    position: absolute; left: 0; top: 7px;
    width: 13px; height: 13px; border-radius: 50%;
    background: var(--cream); border: 2px solid var(--gold);
  }
  .tl-time { font-size: 11px; letter-spacing: 0.25em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; font-weight: 500; }
  .tl-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--dark); margin-bottom: 6px; }
  .tl-desc { font-size: 13px; color: var(--muted); line-height: 1.75; font-weight: 300; }

  /* ── DETAILS ── */
  .section-details { 
    padding: 100px 40px; 
    background: #f6f1eb; 
    text-align: center; 
  }
  .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3px; 
    margin-top: 60px;
    max-width: 900px; 
    margin-left: auto; 
    margin-right: auto;
    /*background: rgba(184,151,90,0.2);*/
    border: 1px solid rgba(184,151,90,0.2);
  }
  .detail-card { 
    padding: 44px 32px; 
    text-align: center; 
    /*background: var(--dark); */

    background: #efe3d3;
    color: #5f4633;
    border: 1px solid rgba(140, 110, 80, 0.12);
  }
  .detail-icon { 
    font-size: 26px;
    margin-bottom: 20px; 
    display: block; 
  }
  .detail-heading { 
    font-size: 10px; 
    letter-spacing: 0.35em; 
    text-transform: uppercase; 
    color: var(--gold); 
    margin-bottom: 12px; 
    font-weight: 500; 
  }
  .detail-val { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 20px; 
    font-weight: 400; 
    color: var(--dark); 
    line-height: 1.4; 
    margin-bottom: 6px;
  }
  .detail-sub { 
    font-size: 12px; 
    color: var(--dark); 
    line-height: 1.6; 
    font-weight: 300;
  }

  /* ── RSVP ── */
  .section-rsvp { 
    padding: 100px 40px; 
    background: var(--cream); 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
  }
  .section-rsvp::before {
    position: absolute;
    font-size: 360px; 
    color: rgba(201,160,160,0.06);
    top: -60px; 
    left: 50%; 
    transform: translateX(-50%);
    pointer-events: none; line-height: 1;
  }
  .rsvp-form { 
    max-width: 520px; 
    margin: 56px auto 0; 
    position: relative; 
  }
  .form-group { 
    margin-bottom: 20px; 
    text-align: left; 
  }
  .form-label { 
    display: block; 
    font-size: 10px; 
    letter-spacing: 0.3em; 
    text-transform: uppercase; 
    color: var(--gold); 
    margin-bottom: 8px; 
    font-weight: 500; 
  }
  .form-input, .form-select, .form-textarea {
    width: 100%; padding: 14px 18px;
    background: transparent;
    border: 1px solid rgba(184,151,90,0.3);
    font-family: 'Jost', sans-serif;
    font-size: 14px; color: var(--dark);
    outline: none; transition: border-color 0.3s;
    font-weight: 300; border-radius: 0; appearance: none;
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
  .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8975A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
  }
  .form-textarea { resize: vertical; min-height: 100px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .submit-btn {
    width: 100%; padding: 18px;
    background: var(--dark); color: var(--cream);
    border: none; font-family: 'Jost', sans-serif;
    font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
    cursor: pointer; transition: background 0.3s; margin-top: 10px;
  }
  .submit-btn:hover { background: var(--gold); color: var(--dark); }
  .form-success { display: none; padding: 60px 40px; font-family: 'Cormorant Garamond', serif; font-size: 28px; font-style: italic; color: var(--gold); }

  /* ── FOOTER ── */
  .footer { background: var(--dark); padding: 70px 40px; text-align: center; }
  .footer-names { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-style: italic; font-weight: 300; color: var(--cream); margin-bottom: 12px; }
  .footer-date { font-size: 11px; letter-spacing: 0.4em; color: var(--gold); text-transform: uppercase; margin-bottom: 28px; }
  .footer-hearts { color: var(--rose); font-size: 16px; letter-spacing: 10px; opacity: 0.55; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
  }
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.85s ease, transform 0.85s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ── MODAL TRIGGER BUTTONS ── */
  .modal-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding: 9px 18px;
    border: 1px solid rgba(184,151,90,0.5);
    background: transparent;
    color: #615133;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 400;
    position: relative;
    overflow: hidden;
  }
  .modal-trigger::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(184,151,90,0.12);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
  }
  .modal-trigger:hover::before { transform: translateX(0); }
  .modal-trigger:hover { border-color: var(--gold-light); }
  .modal-trigger svg { width: 13px; height: 13px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; flex-shrink: 0; }

  /* on light bg variant (for timeline) */
  .modal-trigger.light {
    border-color: rgba(184,151,90,0.4);
    color: var(--gold);
  }
  .modal-trigger.light svg { stroke: var(--gold); }
  .modal-trigger.light::before { background: rgba(184,151,90,0.08); }
  .modal-trigger.light:hover { border-color: var(--gold); }

  /* ── MODAL OVERLAY ── */
  .modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .modal-overlay.open {
    opacity: 1;
    pointer-events: all;
  }
  .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 18, 8, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
  }
  .modal-box {
    position: relative;
    z-index: 1;
    background: var(--cream);
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(28px) scale(0.97);
    transition: transform 0.38s cubic-bezier(.22,.68,0,1.2);
  }
  .modal-overlay.open .modal-box {
    transform: translateY(0) scale(1);
  }
  /* scrollbar */
  .modal-box::-webkit-scrollbar { width: 4px; }
  .modal-box::-webkit-scrollbar-track { background: var(--warm); }
  .modal-box::-webkit-scrollbar-thumb { background: var(--gold); }

  .modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    border: 1px solid rgba(184,151,90,0.3);
    /*background: transparent;*/
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s;
    z-index: 2;
  }
  .modal-close:hover { background: var(--dark); border-color: var(--dark); }
  .modal-close:hover svg { stroke: var(--cream); }
  .modal-close svg { width: 16px; height: 16px; stroke: var(--dark); fill: none; stroke-width: 2; stroke-linecap: round; }

  /* ── MODAL: DRESSCODE ── */
  .modal-dress-header {
    padding: 52px 52px 32px;
    text-align: center;
    border-bottom: 1px solid rgba(184,151,90,0.18);
  }
  .modal-dress-header .modal-label {
    font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 10px; font-weight: 500;
  }
  .modal-dress-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px; font-weight: 300; font-style: italic;
    color: var(--dark); margin-bottom: 10px;
  }
  .modal-dress-header p {
    font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300;
    max-width: 460px; margin: 0 auto;
  }
  /* colour palette swatches */
  .dress-palette {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 28px 52px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(184,151,90,0.18);
  }
  .swatch-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .swatch {
    width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(184,151,90,0.25);
  }
  .swatch-name { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); text-align: center; }
  /* photo grid inside modal */
  .dress-photos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3px;
    padding: 3px;
  }
  .dress-photo-cell {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--warm);
    position: relative;
    border: 1px dashed rgba(184,151,90,0.3);
  }
  .dress-photo-cell img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }
  .dress-photo-cell:hover img { transform: scale(1.05); }
  .dress-photo-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
  }
  .dress-photo-placeholder svg { width: 24px; height: 24px; stroke: rgba(184,151,90,0.5); fill: none; stroke-width: 1.5; }
  .dress-photo-placeholder span { font-size: 9px; letter-spacing: 0.2em; color: rgba(184,151,90,0.6); text-transform: uppercase; }
  .dress-photo-num { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: rgba(184,151,90,0.2); }
  .dress-caption {
    font-size: 11px; letter-spacing: 0.06em; color: var(--muted);
    font-weight: 300;
    position: absolute; bottom: 10px; left: 0; right: 0;
    text-align: center;
    background: linear-gradient(transparent, rgba(249,245,239,0.9));
    padding: 16px 8px 8px;
  }
  .dress-note {
    padding: 28px 52px 40px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.75;
    font-weight: 300;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
  }
  .dress-avoid {
    margin: 0 52px 40px;
    padding: 20px 28px;
    border: 1px solid rgba(184,151,90,0.2);
    background: rgba(184,151,90,0.04);
  }
  .dress-avoid-title { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
  .dress-avoid-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .dress-avoid-tag {
    padding: 5px 14px;
    border: 1px solid rgba(184,151,90,0.25);
    font-size: 11px; letter-spacing: 0.1em;
    color: var(--muted); font-weight: 300;
  }

  /* ── MODAL: VENUE ── */
  .modal-venue-photo {
    width: 100%; aspect-ratio: 16/7;
    background: var(--warm);
    overflow: hidden;
    position: relative;
    border: 1px dashed rgba(184,151,90,0.3);
  }
  .modal-venue-photo img { width: 100%; height: 100%; object-fit: cover; }
  .modal-venue-photo-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
  }
  .modal-venue-photo-placeholder svg { width: 36px; height: 36px; stroke: rgba(184,151,90,0.4); fill: none; stroke-width: 1.5; }
  .modal-venue-photo-placeholder span { font-size: 10px; letter-spacing: 0.25em; color: rgba(184,151,90,0.5); text-transform: uppercase; }
  .modal-venue-body { padding: 44px 52px; }
  .modal-venue-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px; font-weight: 300; font-style: italic;
    color: var(--dark); margin-bottom: 6px;
  }
  .modal-venue-address {
    font-size: 13px; color: var(--gold); letter-spacing: 0.1em;
    margin-bottom: 24px; font-weight: 400;
  }
  .modal-venue-desc {
    font-size: 14px; color: var(--muted); line-height: 1.8;
    font-weight: 300; margin-bottom: 32px;
  }
  .venue-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
  .venue-info-item { padding: 18px 20px; border: 1px solid rgba(184,151,90,0.2); }
  .venue-info-label { font-size: 9px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
  .venue-info-val { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--dark); font-weight: 400; }
  .venue-map-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px;
    background: var(--dark); color: var(--cream);
    font-family: 'Jost', sans-serif;
    font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    transition: background 0.3s; border: none; font-weight: 400;
  }
  .venue-map-link:hover { background: var(--gold); color: var(--dark); }
  .venue-map-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
  /* additional venue photo row */
  .venue-photos-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px; padding: 3px; margin-bottom: 3px; }
  .venue-photo-sm {
    aspect-ratio: 4/3; background: var(--warm);
    overflow: hidden; position: relative;
    border: 1px dashed rgba(184,151,90,0.25);
  }
  .venue-photo-sm img { width: 100%; height: 100%; object-fit: cover; }
  .venue-photo-sm-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px;
  }
  .venue-photo-sm-placeholder svg { width: 20px; height: 20px; stroke: rgba(184,151,90,0.4); fill: none; stroke-width: 1.5; }
  .venue-photo-sm-placeholder span { font-size: 9px; letter-spacing: 0.15em; color: rgba(184,151,90,0.45); text-transform: uppercase; }

  /* ── MODAL: WISHES ── */
  .modal-wishes-body { padding: 52px; }
  .modal-wishes-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px; font-weight: 300; font-style: italic;
    color: var(--dark); margin-bottom: 32px; text-align: center;
  }
  .wish-item {
    padding: 28px 0;
    border-bottom: 1px solid rgba(184,151,90,0.15);
    display: flex; gap: 20px; align-items: flex-start;
  }
  .wish-item:last-child { border-bottom: none; }
  .wish-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px; font-weight: 300; color: rgba(184,151,90,0.3);
    line-height: 1; flex-shrink: 0; width: 32px;
  }
  .wish-text { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; padding-top: 6px; }
  .wish-text strong { color: var(--dark); font-weight: 500; }

  /* ── MODAL: TIMELINE DETAIL ── */
  .modal-tl-body { padding: 52px; }
  .modal-tl-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px; font-weight: 300; font-style: italic;
    color: var(--dark); margin-bottom: 8px;
  }
  .modal-tl-time { font-size: 11px; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; margin-bottom: 24px; }
  .modal-tl-desc { font-size: 14px; color: var(--muted); line-height: 1.85; font-weight: 300; margin-bottom: 28px; }
  .modal-tl-photo {
    width: 100%; aspect-ratio: 16/8;
    background: var(--warm); overflow: hidden;
    border: 1px dashed rgba(184,151,90,0.3); position: relative;
    margin-bottom: 24px;
  }
  .modal-tl-photo img { width: 100%; height: 100%; object-fit: cover; }
  .modal-tl-photo-ph {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
  }
  .modal-tl-photo-ph svg { width: 28px; height: 28px; stroke: rgba(184,151,90,0.4); fill: none; stroke-width: 1.5; }
  .modal-tl-photo-ph span { font-size: 10px; letter-spacing: 0.2em; color: rgba(184,151,90,0.5); text-transform: uppercase; }
  .modal-tl-details { display: flex; flex-wrap: wrap; gap: 12px; }
  .modal-tl-tag {
    padding: 7px 16px;
    border: 1px solid rgba(184,151,90,0.25);
    font-size: 11px; letter-spacing: 0.12em;
    color: var(--muted); font-weight: 300;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 680px) {
    .story-row { grid-template-columns: 1fr; }
    .story-row.reverse .story-text-cell { order: 0; border-right: none; }
    .story-row:not(.reverse) .story-text-cell { border-left: none; }
    .story-text-cell { padding: 32px 24px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-cell.tall { grid-row: span 1; aspect-ratio: 1; }
    .form-row { grid-template-columns: 1fr; }
    .hero-photos { gap: 12px; }
    .hero-photo, .hero-photo-placeholder { width: 110px; height: 145px; }
  }



  .wedding-calendar {
  width: 260px;
  margin: 0 auto 0;
  padding: 16px;
  margin-bottom: 56px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  color: #3b2b2b;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 600;
}

.calendar-header strong {
  font-size: 14px;
  opacity: .7;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.calendar-weekdays span {
  font-size: 11px;
  opacity: .55;
}

.calendar-days span {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 50%;
}

.calendar-days .wedding-day {
  position: relative;
  background: #b76e79;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(183, 110, 121, .45);
}

.calendar-days .wedding-day::after {
  position: absolute;
  top: -13px;
  right: -5px;
  font-size: 14px;
  color: #b76e79;
}




    .modal-dress-box {
  max-width: 760px;
}

.dress-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 28px;
}

.dress-group {
    margin: 0px 15px 0px 15px;
  padding: 22px;
  border-radius: 28px;
  background: #f7f1eb;
  border: 1px solid rgba(150, 115, 85, 0.12);
}

.dress-group-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.dress-group-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #eadac8;
  color: #8c6b4f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: inset 0 0 0 1px rgba(140, 107, 79, 0.14);
}

.dress-group-head h4 {
  margin: 0 0 5px;
  font-family: inherit;
  font-size: 19px;
  color: #4d382b;
}

.dress-group-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #8a7464;
}

.fabric-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fabric-item {
  text-align: center;
}

.fabric-circle {
  width: 92px;
  height: 92px;
  margin: 0 auto 10px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(145deg, #ffffff, #e7d9ca);
  box-shadow:
    0 14px 28px rgba(98, 72, 50, 0.14),
    inset 0 0 0 1px rgba(255,255,255,0.8);
}

.fabric-circle img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.fabric-item span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a7654;
}

.dress-reminder {
margin: 0px 15px 0px 15px;
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(135deg, #f3e8dc, #fbf7f2);
  border: 1px solid rgba(150, 115, 85, 0.16);
}

.dress-reminder-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #c7a27c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: serif;
  font-size: 20px;
  font-weight: 600;
}

.dress-reminder h4 {
  margin: 0 0 6px;
  color: #4d382b;
  font-size: 17px;
}

.dress-reminder p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #7d6656;
}

.dress-note {
  margin: 22px 0 0;
  text-align: center;
  color: #9a7654;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 620px) {
  .modal-dress-box {
    max-width: calc(100vw - 28px);
  }

  .dress-group {
    padding: 18px;
    border-radius: 24px;
  }

  .fabric-colors {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }

  .fabric-circle {
    width: 82px;
    height: 82px;
  }

  .fabric-item span {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .dress-reminder {
    padding: 18px;
    border-radius: 22px;
  }
}





.attendance-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.attendance-option {
  position: relative;
  cursor: pointer;
}

.attendance-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.attendance-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 18px;
  background: #f7f1eb;
  border: 1px solid rgba(150, 115, 85, 0.16);
  color: #7d6656;
  font-size: 15px;
  font-weight: 500;
  transition: .25s ease;
}

.attendance-option input:checked + span {
  background: linear-gradient(135deg, #c7a27c, #eadac8);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(150, 115, 85, 0.22);
}

#drinkBlock {
  transition: .25s ease;
}

#drinkBlock.is-hidden {
  display: none;
}
