    /* Philia Gifts ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â Shane & Fred blue and neutral wedding theme */
    :root {
      --powder-blue: #24324A;
      --sky-blue: #B9654B;
      --baby-blue: #B9654B;
      --light-gray: #DED4C7;
      --beige: #E9DDCC;
      --cream: #F5EFE4;
      --accent: #B9654B;
      --accent-dark: #8E4938;
      --accent-deep: #24324A;
      --accent-pale: #E9DDCC;
      --paper: #F5EFE4;
      --ink: #24324A;
      --muted: #766B60;
      --line: #DED4C7;
      --serif: "Playfair Display", Georgia, serif;
      --sans: "DM Sans", Arial, sans-serif;
      --content: 1120px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 80px; }
    body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.7; }
    body.menu-open { overflow: hidden; }
    img { max-width: 100%; display: block; }
    a { color: inherit; }
    button, input, select, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #B9654B; outline-offset: 3px; }
    .skip-link { position: absolute; top: -60px; left: 1rem; z-index: 1000; background: white; padding: .7rem 1rem; }
    .skip-link:focus { top: 1rem; }
    .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; }
    .site-header { height: 76px; padding: 0 max(5vw, 22px); display: flex; align-items: center; justify-content: space-between; background: rgba(255,253,248,.96); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(89,102,80,.12); }
    .brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .08em; text-decoration: none; color: var(--accent-deep); }
    .brand span { font-style: italic; color: var(--accent); }
    .site-nav { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); align-items: center; }
    .site-nav a { text-decoration: none; font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; }
    .site-nav a:hover { color: var(--accent-dark); }
    .site-nav .nav-rsvp { border: 1px solid var(--accent-dark); padding: .65rem 1.2rem; }
    .menu-toggle { display: none; border: 0; background: transparent; padding: .6rem; }
    .hero { min-height: min(790px, calc(100svh - 76px)); position: relative; display: grid; place-items: center; color: white; text-align: center; overflow: hidden; background: var(--accent-deep); }
    .hero-image, .hero-shade { position: absolute; inset: 0; }

    .hero-image {
      background: url("./images/hero/hero-desktop.png") center center / cover no-repeat;
      transform: none;
    }


    .hero-shade {
      background: transparent;
    }


    .hero {
      color: var(--ink);
      background: var(--paper);
    }

    .hero h1 em {
      font-weight: 400;
      color: var(--accent-dark);
    }

    .hero-rule {
      color: var(--accent);
    }

    .hero-rule::before,
    .hero-rule::after {
      background: var(--accent);
    }

    .hero-date {
      color: var(--ink);
    }

    .button-light {
      color: var(--accent-deep);
      border-color: var(--accent-dark);
      background: transparent;
    }

    .button-light:hover {
      background: var(--accent-pale);
    }

    .scroll-cue {
      color: var(--accent-deep);
    }

    .scroll-cue span {
      background: var(--accent-dark);
    }


    .hero-content { position: relative; z-index: 1; padding: 5rem 1.5rem; width: min(100%, 900px); }
    .eyebrow { margin: 0 0 1rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; }
    .eyebrow.light {
      color: #DCEBF2;
    }
    .hero h1 { font: 400 clamp(3.6rem, 10vw, 7.7rem)/1.08 var(--serif); margin: .7rem 0 1rem; letter-spacing: -.045em; }
    .hero h1 em { font-weight: 400; color: #B9654B; }
    .hero-subtitle { font: italic 1.15rem var(--serif); margin: 0; }
    .hero-rule { margin: 2rem auto 1.3rem; display: flex; align-items: center; gap: .8rem; width: 120px; color: #B9654B; }
    .hero-rule::before, .hero-rule::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.65); }
    .hero-date { letter-spacing: .17em; font-size: .75rem; margin: 0 0 2rem; }
    .button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 1px solid transparent; padding: .9rem 1.7rem; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; cursor: pointer; transition: transform .2s, background .2s; }
    .button:hover { transform: translateY(-2px); }
    .button-light { color: white; border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }
    .button-light:hover { background: rgba(255,255,255,.18); }
    .button-dark { background: var(--accent-deep); color: white; width: 100%; }
    .button-dark:hover { background: var(--accent-dark); }
    .scroll-cue { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; align-items: center; gap: .7rem; color: white; text-decoration: none; font-size: .6rem; letter-spacing: .2em; white-space: nowrap; }
    .scroll-cue span { height: 30px; width: 1px; background: rgba(255,255,255,.75); }
    .section-pad { padding: 20px; }
    .welcome, .details, .gallery-section, .attire, .closing { text-align: center; }
    .welcome { background: var(--accent-pale); }
    h2 { font: 25px/1.15 var(--serif); letter-spacing: -.025em; margin: 0 0 1.2rem; }
    .intro-copy, .section-intro { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 16px; }
    .flourish { color: var(--accent); font: 3rem var(--serif); margin: 1.4rem 0 1.5rem; }
    .countdown-wrap { max-width: 650px; margin: 0 auto; }
    .countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.3rem; }
    .countdown div { display: flex; flex-direction: column; gap: .2rem; border-right: 1px solid #D3D3D3; }
    .countdown div:last-child { border: 0; }
    .countdown strong { font: 400 clamp(2rem, 5vw, 3.1rem) var(--serif); color: var(--accent-deep); }
    .countdown span { font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
    .story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; max-width: 1400px; margin: 0 auto; }
    .story-photo {
      width: 80%;
      height: auto;
      min-height: 0;
      aspect-ratio: 4 / 5;
      background-image: url("images/h&j.png");
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
    }
    .photo-one { background-image: url("images/h&j.png"); }
    .story-copy { max-width: 500px; padding: 2rem 0; }
    .story-copy h2 { margin-bottom: 1.5rem; }
    .story-copy p:not(.eyebrow):not(.signature) { color: var(--muted); font-size: .95rem; }
    .signature { color: #8E4938; font: italic 1.5rem var(--serif); margin-top: 2rem; }
    .details { background: var(--cream); }

    .details-grid {
      max-width: 900px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0;
      margin: 3rem auto 5rem;
    }

    .detail-card {
      background: transparent;
      padding: 2.5rem 2rem;
      border: 0;
      text-align: center;
    }

    .detail-card + .detail-card {
      border-left: 1px solid var(--line);
    }


    .detail-icon {
      color: var(--accent);
      font: 1.8rem var(--serif);
      margin-bottom: 1.2rem;
      opacity: .7;
    }

    .detail-card .eyebrow { margin-bottom: .6rem; }
    .detail-card h3, .schedule-block h3 { font: 400 1.7rem var(--serif); margin: .4rem 0; }
    .detail-card p:not(.eyebrow) { color: var(--muted); margin: .35rem 0; }
    .text-link { display: inline-block; margin-top: .7rem; color: var(--accent-dark); font-size: .78rem; text-underline-offset: 4px; }
    .schedule-block { max-width: 620px; margin: 0 auto; }
    .schedule-block h3 { margin-bottom: 1.5rem; }
    .schedule { margin-top: 1.5rem; text-align: left; border-top: 1px solid var(--line); }
    .schedule-item { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: 1rem .4rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
    .schedule-item time { color: var(--accent-dark); font-weight: 700; font-size: .8rem; }
    .gallery-section { max-width: 1440px; margin: 0 auto; }
    .gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 12px; max-width: 500px; margin: 3rem auto 1rem; }
    .gallery-item { display: block; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--accent-pale); }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
    .gallery-item:hover img { transform: scale(1.04); }
    .gallery-tall { grid-row: span 2; }
    .gallery-item:nth-child(4) { grid-column: 2 / 4; }
    .gallery-note { color: var(--muted); font-size: .72rem; }
    .attire { background: var(--accent-pale); }
    .palette { display: flex; justify-content: center; margin: 2rem auto 1rem; }
    .palette span { display: block; width: 48px; height: 48px; border-radius: 50%; margin-left: -5px; background: var(--swatch); border: 3px solid var(--accent-pale); box-shadow: 0 0 0 1px rgba(50,50,50,.08); }
    .attire-note { color: var(--muted); font-size: .85rem; }
    .rsvp-section { background: var(--accent-dark); color: white; }
    .rsvp-inner { max-width: 560px; margin: 0 auto; }
    .rsvp-inner h2 { text-align: center; }
    .rsvp-inner > .eyebrow, .rsvp-copy { text-align: center; }
    .rsvp-copy { color: #E9DDCC; margin: 0 auto 2rem; }
    .rsvp-form { display: grid; gap: .65rem; }
    .rsvp-form > label, .rsvp-form legend { font-size: .8rem; letter-spacing: .03em; }
    .optional { color: #D3D3D3; font-size: .72rem; }
    .rsvp-form input:not([type="radio"]):not([type="checkbox"]), .rsvp-form select, .rsvp-form textarea { width: 100%; padding: .85rem 1rem; background: #FFF9EF; border: 1px solid transparent; font-size: 12px; border-radius: 0; color: var(--ink); }
    .rsvp-form fieldset { border: 1px solid rgba(255,255,255,.35); padding: 1rem; margin: .7rem 0; display: grid; gap: .7rem; }
    .rsvp-form legend { padding: 0 .4rem; }
    .radio-option { display: flex; gap: .6rem; align-items: center; font-size: .86rem; }
    .radio-option input, .consent input { accent-color: var(--accent-deep); }
    .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .72rem !important; color: #E9DDCC; margin: .7rem 0; }
    .consent input { margin-top: .35rem; flex-shrink: 0; }
    .form-status { min-height: 1.5rem; font-size: .85rem; }
    .demo-note { color: #E9DDCC; font-size: .72rem; border-top: 1px solid rgba(255,255,255,.25); padding-top: 1rem; }
    .closing { background: #fef8ee; }
    .closing-flower { color: #8E4938; font-size: 2rem; margin-bottom: 1rem; }
    .closing h2 { font-size: 16px; }
    .site-footer { padding: 2rem 1.5rem; text-align: center; background: var(--accent-deep); color: white; font-size: .8rem; }
    .site-footer p { margin: .2rem; }
    .footer-tagline { color: #DCEBF2; font-size: .7rem; }
    .music-button { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .7rem 1rem; display: flex; align-items: center; gap: .55rem; background: rgba(62,73,58,.94); color: white; box-shadow: 0 5px 20px rgba(0,0,0,.12); cursor: pointer; font-size: .72rem; }
    .music-icon { font-size: 1.1rem; }
    .lightbox { width: min(92vw, 1100px); max-height: 90vh; padding: 0; border: 0; background: transparent; overflow: visible; }
    .lightbox::backdrop { background: rgba(20,25,19,.9); }
    .lightbox img { max-height: 85vh; width: 100%; object-fit: contain; }
    .lightbox-close { position: absolute; right: -10px; top: -45px; border: 0; background: transparent; color: white; font-size: 2rem; cursor: pointer; }
    @media (max-width: 500px) {
      .site-header { height: 68px; }
      .menu-toggle { display: block; z-index: 52; }
      .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 25px; height: 1px; background: var(--accent-deep); position: relative; transition: transform .2s; }
      .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
      .menu-lines::before { top: -7px; }
      .menu-lines::after { top: 7px; }
      .menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
      .menu-toggle[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
      .menu-toggle[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }
      .site-nav { position: fixed; inset: 68px 0 auto; background: var(--paper); padding: 1.4rem 1.5rem 2rem; display: flex; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); transform: translateY(-130%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
      .site-nav.open { transform: translateY(0); visibility: visible; }
      .site-nav a { padding: .95rem .2rem; border-bottom: 1px solid var(--line); }
      .site-nav .nav-rsvp { text-align: center; margin-top: .8rem; border: 1px solid var(--accent-dark); }
      .hero { min-height: calc(100svh - 68px); }
      .hero-image {
      background-position: center center;
      background-size: auto 100%;
    }
      .hero-content { padding: 4rem 1.2rem; }
      .story { grid-template-columns: 1fr; gap: 1.5rem; }
      .story-photo { min-height: 380px; }
      .story-copy { padding: 0; }
      .details-grid { grid-template-columns: 1fr; max-width: 460px; margin-bottom: 4rem; }
      .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 170px 170px; }
      .gallery-tall { grid-row: span 2; }
      .gallery-item:nth-child(4) { grid-column: 1 / 3; }
    }
    @media (max-width: 480px) {
      .hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
      .hero-subtitle { font-size: 1rem; }
      .hero-date { font-size: .64rem; }
      .countdown { gap: .2rem; }
      .countdown strong { font-size: 1.8rem; }
      .countdown span { font-size: .56rem; letter-spacing: .08em; }
      .story-photo { min-height: 300px; }
      .schedule-item { grid-template-columns: 90px 1fr; gap: .7rem; font-size: .82rem; }
      .gallery { grid-template-rows: 170px 140px 140px; gap: 7px; }
      .gallery-note { font-size: .66rem; }
      .music-button { right: .7rem; bottom: .7rem; }
      .intro-copy, .section-intro { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 12px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
    }

    .story-photo {
      min-height: 580px;
      background-size: cover;
      background-position: center 35%;
      background-repeat: no-repeat;
     
    }



    @media (prefers-reduced-motion: reduce) {
      .story-photo {
        clip-path: none;
        transition: none;
      }
    }


    /* Our Story photo reveal */
    .story-photo {
      animation: story-photo-reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes story-photo-reveal {
      from {
        clip-path: inset(100% 0 0 0);
      }
      to {
        clip-path: inset(0 0 0 0);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .story-photo {
        animation: none;
      }
    }


    /* Wedding Day scroll reveal */
    .details .detail-card,
    .details .schedule-block {
      opacity: 0;
      transform: translateY(22px);
      transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .details .detail-card.is-revealed,
    .details .schedule-block.is-revealed {
      opacity: 1;
      transform: translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
      .details .detail-card,
      .details .schedule-block {
        opacity: 1;
        transform: none;
        transition: none;
      }
    }


    /* Wedding Day botanical corner artwork */
    .details {
      position: relative;
      isolation: isolate;
    }

    .details::before,
    .details::after {
      content: "";
      position: absolute;
      top: 0;
      width: min(26vw, 330px);
      height: 320px;
      background-image: url("images/wedding-botanical.png");
      background-repeat: no-repeat;
      background-size: 200% auto;
      pointer-events: none;
      z-index: -1;
      opacity: 0.34;
    }

    .details::before {
      left: 0;
      background-position: left top;
    }

    .details::after {
      right: 0;
      background-position: right top;
    }

    @media (max-width: 500px) {
      .details::before,
      .details::after {
        width: 42vw;
        height: 240px;
        opacity: 0.28;
      }
    }


    /* Garden Formal background illustration */
    .attire {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      background-image: url("images/garden-formal.png");
      background-size: auto 100%;
    background-position: center bottom;
    background-color: #E9DDCC;
      background-repeat: no-repeat;
      min-height: 650px;
    }

    .attire > * {
      position: relative;
      z-index: 1;
    }

    @media (max-width: 500px) {
      .attire {
        background-size: auto;
        min-height: 580px;
      }
    }


    /* Elegant monetary gift section */
    .gift-section {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      text-align: center;
      padding: 90px 24px 100px;
      background-color: #F1E8D9;
      background-image: url("images/gift-background.png");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 650px;
    }

    .gift-section > * {
      position: relative;
      z-index: 1;
    }

    .gift-section h2 {
      max-width: 950px;
      margin: 18px auto 24px;
      font-size: clamp(2.6rem, 5vw, 4.5rem);
      line-height: 1.1;
    }

    .gift-message {
      max-width: 680px;
      margin: 0 auto;
      line-height: 1.9;
      color: #77796d;
      font-size: 1.05rem;
    }

    .gift-signature {
      margin: 28px 0 0;
      color: #5d6654;
      font-family: Georgia, serif;
      font-size: 1.4rem;
      font-style: italic;
    }

    @media (max-width: 500px) {
      .gift-section {
        padding: 70px 22px 76px;
        background-position: center;
      }

      .gift-section h2 {
        font-size: 2.6rem;
      }

      .gift-message {
        font-size: 0.98rem;
      }
    }


    .hero {
      position: relative;
      min-height: min(790px, calc(100svh - 76px));
      overflow: hidden;
      background: var(--paper);
    }


    .hero-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .hero-video-mobile {
      display: none;
    }

    .hero-video-desktop {
      display: block;
    }

    @media (max-width: 500px) {
      .hero-video-desktop {
        display: none;
      }

      .hero-video-mobile {
        display: block;
      }
    }


    /* Mobile layout: 300pxÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“500px */
    @media (max-width: 500px) {
      html,
      body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
      }

      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }

      .hero {
        width: 100%;
        max-width: 100%;
        min-height: calc(100svh - 68px);
        overflow: hidden;
      }

      .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
      }

      img,
      video,
      iframe {
        max-width: 100%;
      }

      .container,
      .section-inner {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
      }

      h1 {
        overflow-wrap: break-word;
      }
    }


    .story-video-wrap {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

    .story-video {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .story-video-desktop {
      display: block;
    }

    .story-video-mobile {
      display: none;
    }

    /* Mobile video: screens 800px and below */
    @media (max-width: 500px) {
      .story-video-desktop {
        display: none !important;
      }

      .story-video-mobile {
        display: block !important;
      }
    }
    /* OUR STORY VIDEO */
    .story {
      width: 100%;
      padding: 0;
      overflow: hidden;
    }

    .story-video-wrap {
      position: relative;
      width: 100%;
      line-height: 0;
      overflow: hidden;
    }

    .story-video {
      display: block;
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    .story-video-desktop {
      display: block;
    }

    .story-video-mobile {
      display: none;
    }

    @media (max-width: 500px) {
      .story-video-desktop {
        display: none;
      }

      .story-video-mobile {
        display: block;
      }
    }

    /* OUR STORY ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â full-width video */
    .story {
      position: relative;
      width: 100%;
      max-width: 100%;
      padding: 0;
      overflow: hidden;
      background: var(--paper);
    }

    .story-layout {
      position: relative;
      width: 100%;
      max-width: 100%;
      margin: 0;
    }

    .story-video-wrap {
      position: relative;
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
      overflow: hidden;
    }

    .story-video {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .story-video-desktop {
      display: block;
    }

    .story-video-mobile {
      display: none;
    }

    /* Switch video on smaller screens */
    @media (max-width: 500px) {
      .story-video-wrap {
        aspect-ratio: auto;
        height: auto;
      }

      .story-video-desktop {
        display: none;
      }

      .story-video-mobile {
        display: block;
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
        object-fit: cover;
        object-position: center;
      }
    }

    /* Small phones */
    @media (max-width: 500px) {
      .story,
      .story-layout,
      .story-video-wrap {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
      }

      .story-video-mobile {
        width: 100%;
        max-width: 100%;
        aspect-ratio: auto;
        height: auto;
        object-fit: contain;
      }
    }

    /* FIX: OUR STORY VIDEO MUST FILL FULL WIDTH */
    #story.story {
      display: block;
      width: 100%;
      max-width: 100%;
      padding: 0 !important;
      margin: 0;
      overflow: hidden;
    }

    #story .story-layout {
      display: block;
      width: 100%;
      max-width: 100%;
      padding: 0;
      margin: 0;
    }

    #story .story-video-wrap {
      display: block;
      position: relative;
      width: 100%;
      max-width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
      padding: 0;
      margin: 0;
      overflow: hidden;
    }

    #story .story-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    #story .story-video-desktop {
      display: block;
    }

    #story .story-video-mobile {
      display: none;
    }

    @media (max-width: 500px) {
      #story .story-video-wrap {
        aspect-ratio: auto;
      }

      #story .story-video-desktop {
        display: none;
      }

      #story .story-video-mobile {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
      }
    }

    /* WEDDING DAY VIDEO */
    #details.details {
      display: block;
      width: 100%;
      max-width: 100%;
      padding: 0 !important;
      margin: 0;
      overflow: hidden;
    }

    .details-video-wrap {
      position: relative;
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden;
      aspect-ratio: 16 / 9;
    }

    .details-video {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .details-video-desktop {
      display: block;
    }

    .details-video-mobile {
      display: none;
    }

    @media (max-width: 500px) {
      .details-video-wrap {
        aspect-ratio: auto;
      }

      .details-video-desktop {
        display: none;
      }

      .details-video-mobile {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        object-fit: contain;
      }
    }


    /* GALLERY VIDEO SECTION */
    #gallery.gallery-section {
      position: relative;
      display: block;
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0 !important;
      overflow: hidden;
      background: var(--paper);
    }

    .gallery-video-wrap {
      position: relative;
      display: block;
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden;
      line-height: 0;
    }

    .gallery-video {
      display: block;
      width: 100%;
      height: auto;
      max-width: 100%;
      object-fit: contain;
      object-position: center;
    }

    .gallery-video-desktop {
      display: block;
    }

    .gallery-video-mobile {
      display: none;
    }

    /* Mobile video ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â same breakpoint as Hero */
    @media (max-width: 500px) {
      .gallery-video-desktop {
        display: none;
      }

      .gallery-video-mobile {
        display: block;
      }
    }


    /* ATTIRE VIDEO SECTION */
    #attire.attire {
      position: relative;
      display: block;
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0 !important;
      overflow: hidden;
      background: var(--paper);
    }

    .attire-video-wrap {
      position: relative;
      display: block;
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden;
      line-height: 0;
    }

    .attire-video {
      display: block;
      width: 100%;
      height: auto;
      max-width: 100%;
      object-fit: contain;
      object-position: center;
    }

    .attire-video-desktop {
      display: block;
    }

    .attire-video-mobile {
      display: none;
    }

    @media (max-width: 500px) {
      .attire-video-desktop {
        display: none;
      }

      .attire-video-mobile {
        display: block;
      }
    }


    /* FIX: ATTIRE TO RSVP GAP */
    #attire.attire {
      margin-bottom: 0 !important;
      padding-bottom: 0 !important;
    }

    #attire .attire-video-wrap {
      margin-bottom: 0 !important;
      padding-bottom: 0 !important;
      line-height: 0;
    }

    #attire .attire-video {
      vertical-align: bottom;
    }

    #rsvp.rsvp-section,
    .rsvp-section {
      margin-top: 20px !important;
    }


    /* FIX ATTIRE VIDEO AND RSVP GAP */
    #attire.attire {
      display: flow-root;
      height: auto;
      min-height: 0;
      margin: 0 !important;
      padding: 0 !important;
      border: 0;
    }

    #attire .attire-video-wrap {
      display: block;
      height: auto;
      min-height: 0;
      margin: 0 !important;
      padding: 0 !important;
      border: 0;
      overflow: hidden;
      line-height: 0;
    }

    #attire .attire-video {
      display: block;
      height: auto;
      margin: 0;
      padding: 0;
      vertical-align: bottom;
    }

    #rsvp.rsvp-section {
      margin-top: 0 !important;
      padding-top: 25px;
    }


    /* FIX MOBILE ATTIRE VIDEO */
    @media (max-width: 500px) {
      #attire .attire-video-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        overflow: hidden;
      }

      #attire .attire-video-desktop {
        display: none;
      }

      #attire .attire-video-mobile {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: top center;
      }
    }

    /* ATTIRE ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â DESKTOP AND MOBILE VIDEO SWITCH */
    #attire .attire-video-desktop {
      display: block !important;
    }

    #attire .attire-video-mobile {
      display: none !important;
    }

    @media screen and (max-width: 500px) {
      #attire .attire-video-desktop {
        display: none !important;
      }

      #attire .attire-video-mobile {
        display: block !important;
      }
    }

    /* Shane & Fred ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â final blue and neutral theme overrides */
    :root {
      --accent: #B9654B;
      --accent-dark: #8E4938;
      --accent-deep: #24324A;
      --accent-pale: #E9DDCC;
      --cream: #F5EFE4;
      --paper: #F5EFE4;
      --ink: #24324A;
      --muted: #766B60;
      --line: #DED4C7;
    }

    .site-header {
      border-bottom-color: rgba(79, 120, 144, 0.16);
    }

    .site-header .brand,
    .site-header .brand span,
    .site-nav a:hover,
    .site-nav .nav-rsvp {
      color: var(--accent-dark) !important;
    }

    .site-nav .nav-rsvp {
      border-color: var(--accent-dark) !important;
    }

    .welcome,
    .attire {
      background-color: var(--accent-pale);
    }

    .eyebrow,
    .flourish {
      color: var(--accent-dark);
    }

    .countdown div {
      border-right-color: var(--line);
    }

    .countdown strong {
      color: var(--accent-deep);
    }

    .countdown span {
      color: var(--muted);
    }

    .rsvp-section,
    .faq-section {
      background: var(--accent-dark);
      color: var(--paper);
    }

    .rsvp-section .eyebrow,
    .rsvp-section .eyebrow.light,
    .faq-section .eyebrow {
      color: var(--powder-blue, #B9654B);
    }

    .rsvp-copy,
    .consent,
    .demo-note,
    .faq-intro,
    .faq-answer {
      color: #E9DDCC;
    }

    .rsvp-form input:not([type="radio"]):not([type="checkbox"]),
    .rsvp-form select,
    .rsvp-form textarea {
      background: var(--paper);
      color: var(--ink);
      border-color: var(--line);
    }

    .rsvp-form input:focus,
    .rsvp-form select:focus,
    .rsvp-form textarea:focus {
      outline-color: var(--powder-blue, #B9654B);
    }

    .rsvp-form fieldset {
      border-color: rgba(255, 249, 239, 0.45);
    }

    .radio-option input,
    .consent input {
      accent-color: var(--accent-deep);
    }

    .button-dark {
      background: var(--accent-deep);
      color: var(--paper);
    }

    .button-dark:hover {
      background: var(--accent-dark);
    }

    .site-footer {
      background: var(--accent-deep);
      color: var(--paper);
    }

    .footer-tagline {
      color: #DCEBF2;
    }

    .music-button {
      background: rgba(53, 86, 107, 0.95);
      color: var(--paper);
      border-color: rgba(255, 249, 239, 0.45);
    }

    button:focus-visible,
    a:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
      outline-color: var(--powder-blue, #B9654B);
    }

    /* FAQ layout and matching theme */
    .faq-section {
      padding: 48px 24px;
    }

    .faq-inner {
      width: 100%;
      max-width: 680px;
      margin: 0 auto;
    }

    .faq-section .eyebrow {
      text-align: center;
      letter-spacing: 2px;
      font-size: 10px;
      margin-bottom: 10px;
    }

    .faq-section h2 {
      text-align: center;
      max-width: 500px;
      margin: 0 auto 28px;
      color: var(--paper);
      font-size: clamp(28px, 3.5vw, 38px);
      line-height: 1.2;
    }

    .faq-intro {
      text-align: center;
      font-size: 13px;
      line-height: 1.6;
      margin: -12px auto 24px;
      max-width: 480px;
    }

    .faq-list {
      border-top: 1px solid rgba(255, 249, 239, 0.2);
    }

    .faq-item {
      border-bottom: 1px solid rgba(255, 249, 239, 0.2);
    }

    .faq-item summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 15px 3px;
      list-style: none;
      cursor: pointer;
      color: var(--paper);
      font-family: var(--serif);
      font-size: 16px;
      line-height: 1.4;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary::after {
      content: "+";
      flex-shrink: 0;
      color: var(--powder-blue, #B9654B);
      font-family: var(--sans);
      font-size: 23px;
      font-weight: 400;
      line-height: 1;
    }

    .faq-item[open] summary::after {
      content: "ÃƒÂ¢Ã‹â€ Ã¢â‚¬â„¢";
    }

    .faq-item summary:focus-visible {
      outline: 2px solid var(--powder-blue, #B9654B);
      outline-offset: 3px;
    }

    .faq-answer {
      padding: 0 28px 16px 3px;
      font-family: var(--sans);
      font-size: 12px;
      line-height: 1.7;
    }

    .closing {
      background: var(--beige, #E8DCC8);
    }

    .closing-flower,
    .signature {
      color: var(--accent-dark);
    }

    @media (max-width: 500px) {
      .faq-section {
        padding: 36px 20px;
      }

      .faq-section h2 {
        font-size: 28px;
        margin-bottom: 22px;
      }

      .faq-intro {
        margin-bottom: 20px;
      }

      .faq-item summary {
        padding: 13px 2px;
        font-size: 15px;
      }

      .faq-item summary::after {
        font-size: 21px;
      }

      .faq-answer {
        padding-right: 10px;
        font-size: 12px;
      }
    }


    /* OUR JOURNEY THROUGH TIME ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â full-width video section */
    #journey.journey-video-section {
      display: block;
      position: relative;
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden;
      background: var(--paper);
    }

    #journey .journey-video-wrap {
      position: relative;
      display: block;
      width: 100%;
      max-width: 100%;
      aspect-ratio: 16 / 9;
      margin: 0;
      padding: 0;
      overflow: hidden;
      line-height: 0;
    }

    #journey .journey-video {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    #journey .journey-video-desktop {
      display: block;
    }

    #journey .journey-video-mobile {
      display: none;
    }

    @media (max-width: 500px) {
      #journey .journey-video-wrap {
        aspect-ratio: auto;
      }

      #journey .journey-video-desktop {
        display: none;
      }

      #journey .journey-video-mobile {
        display: block;
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
      }
    }


    /* DESKTOP ONLY ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â reduce the height of video-led sections.
       Mobile sizing and layout remain unchanged. */
    @media screen and (min-width: 501px) {
      .hero {
        height: min(90vh, 950px);
        min-height: 0;
      }

      .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      #story .story-video-wrap,
      #details .details-video-wrap,
      #gallery .gallery-video-wrap,
      #entourage .entourage-video-wrap,
      #attire .attire-video-wrap,
      #journey .journey-video-wrap {
        height: min(95vh, 1000px);
        max-height: 1000px;
        aspect-ratio: auto;
      }

      #story .story-video,
      #details .details-video,
      #gallery .gallery-video,
      #entourage .entourage-video,
      #attire .attire-video,
      #journey .journey-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }


    /* MUSIC BUTTON ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â vinyl record disk only */
    .music-button .music-icon {
      position: relative;
      display: inline-grid;
      place-items: center;
      flex: 0 0 42px;
      width: 42px;
      height: 42px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-radius: 50%;
      overflow: hidden;
      font-size: 0;
      line-height: 1;
      background:
        radial-gradient(circle at center,
          #f5f5f5 0 2px,
          #c9c9c9 2.5px 6px,
          transparent 6.5px),
        repeating-radial-gradient(circle at center,
          #343434 0 1px,
          #171717 1.8px 3px,
          #292929 3.6px 4.4px);
      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 2px 5px rgba(0, 0, 0, 0.28);
    }

    .music-button .music-icon::before {
      content: "";
      position: absolute;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #e8e8e8;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
    }

    .music-button .music-icon::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-35%, -50%);
      width: 0;
      height: 0;
      border-top: 7px solid transparent;
      border-bottom: 7px solid transparent;
      border-left: 11px solid #202020;
      color: transparent;
      font-size: 0;
      line-height: 0;
    }

    .music-button[aria-pressed="true"] .music-icon {
      animation: music-vinyl-spin 3s linear infinite;
    }

    .music-button[aria-pressed="true"] .music-icon::after {
      content: "";
      width: 10px;
      height: 12px;
      transform: translate(-50%, -50%);
      border: 0;
      background: linear-gradient(
        to right,
        #202020 0 3px,
        transparent 3px 7px,
        #202020 7px 10px
      );
      font-size: 0;
    }

    @keyframes music-vinyl-spin {
      to { transform: rotate(360deg); }
    }

    @media (max-width: 500px) {
      .music-button .music-icon {
      flex: 0 0 70px;
      width: 70px;
      height: 70px;
    }
    }

    /* MUSIC BUTTON ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â show only the larger vinyl disk */
    .music-button {
      width: 92px;
      height: 92px;
      padding: 0;
      gap: 0;
      justify-content: center;
      border: 0;
      border-radius: 50%;
      background: transparent;
      box-shadow: none;
    }

    .music-button #music-label {
      display: none;
    }

    .music-button .music-icon {
      flex: 0 0 100px;
      width: 100px;
      height: 100px;
    }

    .music-button .music-icon::before {
      width: 30px;
      height: 30px;
    }

    .music-button .music-icon::after {
      font-size: 20px;
    }

    .music-button[aria-pressed="true"] .music-icon::after {
      font-size: 9px;
    }

    @media (max-width: 500px) {
      .music-button {
        width: 72px;
        height: 72px;
      }

      .music-button .music-icon {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
      }
    }


    /* MUSIC BUTTON ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â brief "Tap to play music" hint only */
    .music-button {
      position: fixed;
    }

    .music-button::before {
      content: "Tap to play music";
      position: absolute;
      right: 0;
      bottom: calc(100% + 12px);
      padding: 10px 16px;
      border-radius: 10px;
      background: rgba(53, 86, 107, 0.95);
      color: var(--paper);
      font-family: var(--sans);
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.02em;
      line-height: 1.3;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      animation: music-tooltip-intro 6s ease 1s both;
    }

    .music-button:hover::before,
    .music-button:focus-visible::before {
      opacity: 1;
      animation: none;
    }

    @keyframes music-tooltip-intro {
      0%,
      10% {
        opacity: 0;
        transform: translateY(4px);
      }
      20%,
      75% {
        opacity: 1;
        transform: translateY(0);
      }
      100% {
        opacity: 0;
        transform: translateY(-3px);
      }
    }

    /* ENTOURAGE VIDEO SECTION ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â matches the other full-width video sections */
    #entourage.entourage-video-section {
      position: relative;
      display: block;
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden;
      background: var(--paper);
    }

    #entourage .entourage-video-wrap {
      position: relative;
      display: block;
      width: 100%;
      max-width: 100%;
      aspect-ratio: 16 / 9;
      margin: 0;
      padding: 0;
      overflow: hidden;
      line-height: 0;
    }

    #entourage .entourage-video {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    #entourage .entourage-video-desktop {
      display: block;
    }

    #entourage .entourage-video-mobile {
      display: none;
    }

    @media (max-width: 500px) {
      #entourage .entourage-video-wrap {
        aspect-ratio: auto;
      }

      #entourage .entourage-video-desktop {
        display: none;
      }

      #entourage .entourage-video-mobile {
        display: block;
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
      }
    }

    /* Wedding hashtag beneath the couple's closing signature */
    .closing .wedding-hashtag {
      margin: 1.2rem 0 0;
      color: var(--accent-dark);
      font-family: var(--sans);
      font-size: .78rem;
      font-weight: 600;
      letter-spacing: .16em;
    }



    /* MOBILE MENU: keep the close control anchored in the header while open */
    @media (max-width: 500px) {
      body.menu-open .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
      }

      body.menu-open .menu-toggle {
        position: absolute;
        top: 50%;
        right: max(5vw, 22px);
        transform: translateY(-50%);
        z-index: 1002;
      }

      body.menu-open .site-nav {
        z-index: 1001;
      }
    }

    /* UNIVERSAL VIDEO RESPONSIVENESS FIX */
    /* Applies to desktop, laptop, tablet and mobile */

    #story .story-video-wrap,
    #details .details-video-wrap,
    #gallery .gallery-video-wrap,
    #entourage .entourage-video-wrap,
    #attire .attire-video-wrap,
    #journey .journey-video-wrap,
    #gift-ideas .gift-ideas-video-wrap {
      display: block !important;
      position: relative !important;
      width: 100% !important;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      aspect-ratio: auto !important;
      overflow: visible !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    #story .story-video,
    #story .story-video-mobile,
    #details .details-video,
    #details .details-video-mobile,
    #gallery .gallery-video,
    #gallery .gallery-video-mobile,
    #entourage .entourage-video,
    #entourage .entourage-video-mobile,
    #attire .attire-video,
    #attire .attire-video-mobile,
    #journey .journey-video,
    #journey .journey-video-mobile,
    #gift-ideas .gift-ideas-video,
    #gift-ideas .gift-ideas-video-mobile {
      display: block;
      position: relative !important;
      inset: auto !important;
      width: 100% !important;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      aspect-ratio: auto !important;
      object-fit: contain !important;
      object-position: center !important;
      margin: 0 !important;
      padding: 0 !important;
    }


    /* RESPONSIVE VIDEO FIX ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â PRESERVE DESKTOP/MOBILE SWITCHING */

    /* All video sections */
    #story .story-video-wrap,
    #details .details-video-wrap,
    #gallery .gallery-video-wrap,
    #entourage .entourage-video-wrap,
    #attire .attire-video-wrap,
    #journey .journey-video-wrap,
    #gift-ideas .gift-ideas-video-wrap {
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      aspect-ratio: auto !important;
    }

    /* Video sizing */
    #story video,
    #details video,
    #gallery video,
    #entourage video,
    #attire video,
    #journey video,
    #gift-ideas video {
      width: 100% !important;
      height: auto !important;
      object-fit: contain !important;
      object-position: center !important;
    }



    /* DESKTOP */
    @media screen and (min-width: 501px) {
      .story-video-mobile,
      .details-video-mobile,
      .gallery-video-mobile,
      .entourage-video-mobile,
      .attire-video-mobile,
      .journey-video-mobile,
      .gift-ideas-video-mobile {
        display: none !important;
      }

      .story-video-desktop,
      .details-video-desktop,
      .gallery-video-desktop,
      .entourage-video-desktop,
      .attire-video-desktop,
      .journey-video-desktop,
      .gift-ideas-video-desktop {
        display: block !important;
      }
    }

    /* MOBILE AND TABLET */
    @media screen and (max-width: 500px) {
      .story-video-desktop,
      .details-video-desktop,
      .gallery-video-desktop,
      .entourage-video-desktop,
      .attire-video-desktop,
      .journey-video-desktop,
      .gift-ideas-video-desktop {
        display: none !important;
      }

      .story-video-mobile,
      .details-video-mobile,
      .gallery-video-mobile,
      .entourage-video-mobile,
      .attire-video-mobile,
      .journey-video-mobile,
      .gift-ideas-video-mobile {
        display: block !important;
      }
    }

/* CLICKABLE GET DIRECTIONS BUTTON — desktop and mobile */
#details .details-clickable-wrap {
  position: relative !important;
}

#details .details-hotspot-directions {
  position: absolute;
  z-index: 20;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#details .details-hotspot-directions:focus-visible {
  outline: 3px solid #8E4938;
  outline-offset: 3px;
}

/* Desktop / landscape video */
@media screen and (min-width: 501px) {
  #details .details-hotspot-directions {
    left: 54.5%;
    top: 87.8%;
    width: 29%;
    height: 7.5%;
  }
}

/* Mobile / portrait video */
@media screen and (max-width: 500px) {
  #details .details-hotspot-directions {
    left: 20.5%;
    top: 69%;
    width: 59%;
    height: 4.8%;
  }
}



/* RESPONSIVE HEADER FIX ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â keep the full navigation accessible on compact screens */
@media screen and (max-width: 500px) {
  .site-header {
    height: 68px;
    min-height: 68px;
    padding-left: max(4vw, 18px);
    padding-right: max(4vw, 18px);
  }

  .menu-toggle {
    display: block;
    z-index: 52;
    flex: 0 0 auto;
    cursor: pointer;
  }

  .menu-lines,
  .menu-lines::before,
  .menu-lines::after {
    display: block;
    width: 25px;
    height: 1px;
    background: var(--accent-deep);
    position: relative;
    transition: transform .2s;
  }

  .menu-lines::before,
  .menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .menu-lines::before { top: -7px; }
  .menu-lines::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.1rem 1.5rem 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }

  .site-nav.open {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    display: block;
    padding: .85rem .2rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-rsvp {
    text-align: center;
    margin-top: .75rem;
    border: 1px solid var(--accent-dark) !important;
  }

  body.menu-open { overflow: hidden; }
  body.menu-open .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
  }
  body.menu-open .menu-toggle {
    position: absolute;
    top: 50%;
    right: max(4vw, 18px);
    transform: translateY(-50%);
    z-index: 1002;
  }
}

/* PSR2 sponsor RSVP ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â scoped additions; preserves the existing Shane & Fred theme. */
.sponsor-rsvp-inner { max-width: 620px; margin-inline: auto; }
.sponsor-rsvp-inner > h2,
.sponsor-rsvp-inner > .eyebrow,
.sponsor-rsvp-inner > .rsvp-copy { text-align: center; }
.sponsor-rsvp-inner .rsvp-form { position: relative; }
.sponsor-search-wrap { position: relative; }
.sponsor-search-wrap input { width: 100%; }
.sponsor-results {
  position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0;
  max-height: 240px; overflow-y: auto; background: var(--paper); color: var(--ink);
  border: 1px solid var(--accent); border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.sponsor-result {
  display: block; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: inherit; text-align: left; cursor: pointer;
}
.sponsor-result:hover, .sponsor-result:focus-visible { background: var(--accent-pale); }
.sponsor-result-empty { padding: 13px 14px; color: var(--muted); font-size: .9rem; }
.sponsor-help { margin: 7px 0 18px; color: #e3e8dc; font-size: .82rem; }
.sponsor-seat-card {
  display: grid; justify-items: center; gap: 3px; margin: 18px 0 24px; padding: 18px;
  background: rgba(135,206,235,.12); border: 1px solid rgba(135,206,235,.55); border-radius: 10px;
}
.sponsor-seat-label { color: var(--baby-blue); font-size: .7rem; letter-spacing: .16em; font-weight: 700; }
.sponsor-seat-card strong { color: #fff; font: 500 2rem var(--serif); }
.sponsor-seat-note { color: rgba(255,255,255,.75); font-size: .78rem; }
.sponsor-guest-fields { display: grid; gap: 12px; margin: 14px 0 20px; }
#sponsor-response-fields > label:not(.consent) { display: block; margin: 18px 0 7px; }
#sponsor-form-status { min-height: 1.5em; overflow-wrap: anywhere; }
#sponsor-form-status[data-state="error"] { color: #ffd1d1; }
#sponsor-form-status[data-state="success"] { color: #e3e8dc; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
#sponsor-seat-card[hidden], #sponsor-response-fields[hidden] { display: none !important; }
.sponsor-roster-heading { letter-spacing: .25em; font-weight: 700; }
.sponsor-roster-help { font-style: italic; line-height: 1.5; }
.sponsor-guest-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed rgba(255,255,255,.3);
}
.sponsor-guest-row input[type="text"] { min-width: 0; width: 100%; }
.sponsor-primary-name { opacity: .8; }
.sponsor-attendance-toggle { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.sponsor-attendance-toggle input { accent-color: var(--baby-blue); }
@media (max-width: 500px) { .sponsor-guest-row { grid-template-columns: minmax(0, 1fr); } }

/* First-screen height: the sticky header occupies space above the hero. */
.site-header { flex-shrink: 0; }
.hero { height: calc(100vh - 76px); min-height: 0; }
@supports (height: 100svh) {
  .hero { height: calc(100svh - 76px); }
}
@media (max-width: 500px) {
  .hero { height: calc(100vh - 68px); min-height: 0; }
  @supports (height: 100svh) {
    .hero { height: calc(100svh - 68px); }
  }
}


/* HERO FULL-FRAME RESPONSIVE FIX
   The hero artwork is baked into the video, so use the video's full aspect ratio
   and never crop it. Desktop video: 16:9. Mobile video: 9:16. */
.hero {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F5EFE4;
}

.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: contain !important;
  object-position: center center !important;
  background: #F5EFE4;
}

@media (max-width: 500px) {
  .hero {
    aspect-ratio: 9 / 16;
  }
}


/* FORCE CORRECT HERO VIDEO PER DEVICE */

@media screen and (min-width: 501px) {
  .hero {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden;
  }

  .hero-video-desktop {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
  }

  .hero-video-mobile {
    display: none !important;
  }
}

@media screen and (max-width: 500px) {
  .hero {
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
  }

  .hero-video-desktop {
    display: none !important;
  }

  .hero-video-mobile {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
  }
}



/* RSVP text color adjustment: darker blue for stronger visual definition */
.rsvp-section,
.rsvp-section h2,
.rsvp-section .eyebrow,
.rsvp-section .rsvp-copy,
.rsvp-section .rsvp-form > label,
.rsvp-section .rsvp-form legend,
.rsvp-section .consent,
.rsvp-section .demo-note,
.rsvp-section .sponsor-help,
.rsvp-section .sponsor-seat-label,
.rsvp-section .sponsor-seat-note,
.rsvp-section .sponsor-roster-heading,
.rsvp-section .sponsor-roster-help,
.rsvp-section .sponsor-primary-name,
.rsvp-section #sponsor-form-status {
  color: #24324A !important;
}
.rsvp-section .sponsor-seat-card strong {
  color: #24324A !important;
}


/* RSVP SECTION ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â light gray background across all screen sizes.
   Keeps the existing darker-blue RSVP typography for readable contrast. */
#rsvp.rsvp-section,
.rsvp-section {
  background: #F5EFE4 !important;
  color: #24324A !important;
}

#rsvp.rsvp-section .rsvp-inner,
#rsvp.rsvp-section .sponsor-rsvp-inner {
  color: #24324A;
}

#rsvp.rsvp-section .eyebrow,
#rsvp.rsvp-section .eyebrow.light,
#rsvp.rsvp-section h2,
#rsvp.rsvp-section .rsvp-copy,
#rsvp.rsvp-section .rsvp-form > label,
#rsvp.rsvp-section .rsvp-form legend,
#rsvp.rsvp-section .consent,
#rsvp.rsvp-section .demo-note,
#rsvp.rsvp-section .sponsor-help,
#rsvp.rsvp-section .sponsor-seat-label,
#rsvp.rsvp-section .sponsor-seat-note,
#rsvp.rsvp-section .sponsor-roster-heading,
#rsvp.rsvp-section .sponsor-roster-help,
#rsvp.rsvp-section .sponsor-primary-name,
#rsvp.rsvp-section #sponsor-form-status {
  color: #24324A !important;
}

#rsvp.rsvp-section .rsvp-form fieldset {
  border-color: #C5CDD1;
}

#rsvp.rsvp-section .rsvp-form input:not([type="radio"]):not([type="checkbox"]),
#rsvp.rsvp-section .rsvp-form select,
#rsvp.rsvp-section .rsvp-form textarea {
  background: #FFFFFF;
  color: #34434D;
  border-color: #C9D0D4;
}

#rsvp.rsvp-section .sponsor-seat-card {
  background: #E9DDCC;
  border-color: #C5CDD1;
}

#rsvp.rsvp-section .sponsor-seat-card strong {
  color: #24324A !important;
}

#rsvp.rsvp-section .sponsor-guest-row {
  border-bottom-color: #C5CDD1;
}

#rsvp.rsvp-section .demo-note {
  border-top-color: #C5CDD1;
}

#rsvp.rsvp-section #sponsor-form-status[data-state="error"] {
  color: #A32626 !important;
}

#rsvp.rsvp-section #sponsor-form-status[data-state="success"] {
  color: #245B43 !important;
}



/* FAQ ACCORDION ICON ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â draw icons with CSS, avoiding character encoding */
.faq-item summary {
  position: relative;
}

.faq-item summary::after {
  content: "" !important;
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: #B9654B;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 14px 2px, 2px 14px;
  font-size: 0 !important;
  line-height: 0 !important;
}

.faq-item[open] summary::after {
  content: "" !important;
  background-size: 14px 2px, 0 0;
}



/* FAQ TYPOGRAPHY Ã¢â‚¬â€ slightly smaller and more balanced on narrow screens */
#faq .faq-section h2,
.faq-section h2 {
  font-size: clamp(23px, 2.8vw, 30px);
  line-height: 1.2;
}

#faq .faq-intro,
.faq-section .faq-intro {
  font-size: 12px;
  line-height: 1.55;
}

#faq .faq-item summary,
.faq-section .faq-item summary {
  font-size: 14px;
  line-height: 1.35;
}

#faq .faq-answer,
.faq-section .faq-answer {
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 500px) {
  #faq.faq-section,
  .faq-section {
    padding: 32px 18px;
  }

  #faq .faq-section h2,
  .faq-section h2 {
    font-size: 23px;
    margin-bottom: 18px;
  }

  #faq .faq-intro,
  .faq-section .faq-intro {
    font-size: 11px;
    margin-bottom: 18px;
  }

  #faq .faq-item summary,
  .faq-section .faq-item summary {
    padding: 11px 2px;
    font-size: 13px;
  }

  #faq .faq-answer,
  .faq-section .faq-answer {
    padding: 0 10px 13px 3px;
    font-size: 11px;
  }
}

/* Confirmed guest name: centered, larger, and highlighted in wedding blue. */
#rsvp .sponsor-confirmed-guest-name {
  display: block;
  width: 100%;
  margin: 0 0 1.35rem;
  padding: 0.25rem 0;
  text-align: center;
  color: #8E4938 !important;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* SHANE & FRED — AUTUMN RUSTIC PALETTE
   Navy blue, terracotta, ivory, and warm natural neutrals. */
:root {
  --powder-blue: #24324A;
  --sky-blue: #B9654B;
  --baby-blue: #B9654B;
  --light-gray: #DED4C7;
  --beige: #E9DDCC;
  --cream: #F5EFE4;
  --accent: #B9654B;
  --accent-dark: #8E4938;
  --accent-deep: #24324A;
  --accent-pale: #E9DDCC;
  --paper: #F5EFE4;
  --ink: #24324A;
  --muted: #766B60;
  --line: #DED4C7;
}
body { color: #24324A; background: #F5EFE4; }
.site-header { background: rgba(245,239,228,.97); }
.hero, .hero-video { background: #F5EFE4; }
.button-dark { background: #24324A; }
.button-dark:hover { background: #8E4938; }
.site-nav .nav-rsvp { border-color: #B9654B; }
.faq-item summary::after { color: #B9654B; }
#rsvp.rsvp-section, .rsvp-section { background: #E9DDCC !important; color: #24324A !important; }
.rsvp-section .sponsor-seat-card { background: #F5EFE4; border-color: #DED4C7; }
#rsvp .sponsor-confirmed-guest-name { color: #8E4938 !important; }


/* FINAL CLOSING SECTION - NAVY BLUE */
.closing {
    background-color: #24324A !important;
    color: #FFFFFF !important;
}

.closing * {
    color: #FFFFFF !important;
}



/* SHANE & FRED — FAQ CONTRAST + MOBILE TYPOGRAPHY REFINEMENT */
/* "THE LITTLE DETAILS" was using the rust accent on the same rust background. */
#faq.faq-section .eyebrow,
.faq-section .eyebrow {
  color: #F5EFE4 !important;
}

/* Keep FAQ text readable against the terracotta background on desktop. */
#faq.faq-section .faq-intro,
#faq.faq-section .faq-answer {
  color: #F5EFE4 !important;
}

/* More compact type scale for narrow mobile screens. */
@media screen and (max-width: 500px) {
  #faq.faq-section {
    padding: 28px 18px !important;
  }

  #faq.faq-section .eyebrow {
    font-size: 9px !important;
    letter-spacing: 1.7px !important;
    margin-bottom: 8px !important;
  }

  #faq.faq-section h2 {
    font-size: 21px !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }

  #faq.faq-section .faq-intro {
    font-size: 10px !important;
    line-height: 1.5 !important;
    margin: -6px auto 15px !important;
  }

  #faq.faq-section .faq-item summary {
    font-size: 12px !important;
    line-height: 1.35 !important;
    padding: 10px 2px !important;
    gap: 10px !important;
  }

  #faq.faq-section .faq-item summary::after {
    width: 12px !important;
    height: 12px !important;
    flex-basis: 12px !important;
    background-size: 12px 2px, 2px 12px !important;
  }

  #faq.faq-section .faq-answer {
    font-size: 10px !important;
    line-height: 1.55 !important;
    padding: 0 8px 11px 3px !important;
  }
}



/* GIFT IDEAS — REMOVE THE SECTION-PAD GUTTERS ON ALL SCREEN SIZES */
#gift-ideas.gift-ideas-section {
  display: block !important;
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 0 0 calc(50% - 50vw) !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  line-height: 0 !important;
}

#gift-ideas .gift-ideas-video-wrap {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

#gift-ideas video,
#gift-ideas .gift-ideas-video {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  vertical-align: bottom !important;
}

/* Keep the existing desktop/mobile source switch. */
@media screen and (min-width: 501px) {
  #gift-ideas .gift-ideas-video-desktop { display: block !important; }
  #gift-ideas .gift-ideas-video-mobile { display: none !important; }
}

@media screen and (max-width: 500px) {
  #gift-ideas .gift-ideas-video-desktop { display: none !important; }
  #gift-ideas .gift-ideas-video-mobile { display: block !important; }
}
