/* =============================================
       DESIGN TOKENS & RESET
    ============================================= */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    body {
      background: #FDFBF7;
      color: #3A4D39;
      font-family: 'Inter', sans-serif;
      font-size: 16px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      min-width: 0;
    }
    img { display: block; width: 100%; max-width: 100%; height: auto; }
    a { text-decoration: none; }

    /* =============================================
       TYPOGRAPHY
    ============================================= */
    .font-display  { font-family: 'Playfair Display', Georgia, serif; }
    .font-baskerville { font-family: 'Libre Baskerville', Georgia, serif; }
    .font-body     { font-family: 'Inter', sans-serif; }
    .italic        { font-style: italic; }

    /* =============================================
       PALETTE
    ============================================= */
    :root {
      --cream:   #FDFBF7;
      --moss:    #3A4D39;
      --sage:    #A3B18A;
      --peach:   #E89D82;
      --cream2:  #F4EFE6;
      --cream3:  #FAF8F4;
    }

    /* =============================================
       KEYFRAMES
    ============================================= */
    @keyframes filmstrip {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    @keyframes scaleIn {
      from { opacity: 0; transform: scale(0.92); }
      to   { opacity: 1; transform: scale(1); }
    }
    @keyframes scrollBob {
      0%, 100% { transform: translateY(0); }
      50%       { transform: translateY(7px); }
    }
    /* =============================================
       UTILITY
    ============================================= */
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
    .container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
    .container-xs { max-width: 680px; margin: 0 auto; padding: 0 24px; }
    .text-center { text-align: center; }

    .section-eyebrow {
      display: block;
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.42em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 14px;
    }
    .section-heading {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      color: var(--moss);
      line-height: 1.12;
    }
    .section-sub {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: rgba(58,77,57,0.52);
      line-height: 1.85;
      max-width: 440px;
      margin: 0 auto;
    }
    .ornament {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin: 22px 0;
    }
    .ornament-line { height: 1px; width: 64px; background: rgba(163,177,138,0.4); }
    .ornament-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--peach); }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 40px;
      border-radius: 999px;
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      cursor: pointer;
      transition: box-shadow .4s, background .3s, color .3s;
      border: none;
    }
    .btn-peach  { background: var(--peach); color: #fff; }
    .btn-peach:hover { box-shadow: 0 0 34px rgba(232,157,130,.5); }
    .btn-outline { background: transparent; color: var(--moss); border: 1.5px solid rgba(58,77,57,.32); }
    .btn-outline:hover { background: var(--moss); color: #fff; }
    .btn-moss { background: var(--moss); color: #fff; }
    .btn-moss:hover { box-shadow: 0 0 28px rgba(58,77,57,.3); }

    /* =============================================
       CINEMATIC INTRO
    ============================================= */
    @keyframes introLineGrow {
      from { width: 0; opacity: 0; }
      to   { width: 64px; opacity: 1; }
    }
    @keyframes introSlideUp {
      from { opacity: 0; transform: translateY(36px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes introCurtainOut {
      0%   { opacity: 1; }
      100% { opacity: 0; }
    }
    #intro-screen {
      position: fixed; inset: 0; z-index: 9999;
      background: #0a0a08;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      transition: opacity 0.5s ease-out;
      overflow: hidden;
    }
    #intro-screen.fade-out { opacity: 0; pointer-events: none; }
    /* Photo background */
    #intro-photo-bg {
      position: absolute; inset: 0; z-index: 0;
      overflow: hidden;
    }
    #intro-photo-bg img {
      width: 100%; height: 100%; object-fit: cover;
      transform-origin: center center;
    }
    /* Dark cinematic overlays */
    #intro-vignette {
      position: absolute; inset: 0; z-index: 1;
      background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.45) 100%);
    }
    #intro-gradient-bottom {
      position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
      height: 45%;
      background: linear-gradient(to top, rgba(10,10,8,0.6) 0%, transparent 100%);
    }
    #intro-gradient-top {
      position: absolute; top: 0; left: 0; right: 0; z-index: 2;
      height: 22%;
      background: linear-gradient(to bottom, rgba(10,10,8,0.3) 0%, transparent 100%);
    }
    /* Content above photo */
    #intro-content {
      position: relative; z-index: 10;
      text-align: center;
      padding: 0 24px;
    }
    #intro-eyebrow {
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      letter-spacing: 0.56em;
      text-transform: uppercase;
      color: rgba(163,177,138,0.9);
      opacity: 0;
      animation: introSlideUp 1s ease forwards;
      animation-delay: 0.4s;
      margin-bottom: 24px;
    }
    #intro-monogram {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(5rem, 18vw, 10rem);
      color: #fff;
      line-height: 1;
      letter-spacing: -0.02em;
      opacity: 0;
      animation: introSlideUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      animation-delay: 0.7s;
      text-shadow: 0 4px 40px rgba(0,0,0,0.4);
    }
    #intro-monogram span { color: var(--peach); }
    #intro-names {
      font-family: 'Playfair Display', Georgia, serif;
      font-style: italic;
      font-size: clamp(1.1rem, 3vw, 1.5rem);
      color: rgba(255,255,255,0.78);
      margin-top: 10px;
      opacity: 0;
      animation: introSlideUp 1s ease forwards;
      animation-delay: 1.1s;
    }
    #intro-line {
      height: 1px; width: 0; background: var(--sage);
      margin: 20px auto;
      opacity: 0;
      animation: introLineGrow 0.9s ease forwards;
      animation-delay: 1.5s;
    }
    #intro-date {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.34em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.55);
      opacity: 0;
      animation: introSlideUp 0.9s ease forwards;
      animation-delay: 1.7s;
    }
    /* Horizontal rule beneath hashtag */
    #intro-hashtag {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: clamp(0.75rem, 1.8vw, 0.9rem);
      color: rgba(163,177,138,0.7);
      margin-top: 10px;
      opacity: 0;
      animation: introSlideUp 0.9s ease forwards;
      animation-delay: 1.9s;
    }
    #intro-btn {
      margin-top: 52px;
      position: relative; z-index: 10;
      animation: introSlideUp 0.9s ease forwards;
      animation-delay: 2.1s;
      opacity: 0;
    }
    /* Pulsing ring on button */
    #intro-btn .btn-peach {
      position: relative;
      background: rgba(232,157,130,0.18);
      border: 1.5px solid rgba(232,157,130,0.7);
      color: #fff;
      backdrop-filter: blur(6px);
      letter-spacing: 0.28em;
    }
    #intro-btn .btn-peach:hover {
      background: var(--peach);
      box-shadow: 0 0 40px rgba(232,157,130,0.6);
    }

    /* =============================================
       CINEMATIC CURTAIN TRANSITION
    ============================================= */
    @keyframes curtainClose {
      0%   { transform: scaleY(0); transform-origin: top; }
      100% { transform: scaleY(1); transform-origin: top; }
    }
    @keyframes curtainOpen {
      0%   { transform: scaleY(1); transform-origin: bottom; }
      100% { transform: scaleY(0); transform-origin: bottom; }
    }
    @keyframes flashWhite {
      0%   { opacity: 0; }
      15%  { opacity: 0.55; }
      100% { opacity: 0; }
    }
    @keyframes particleFloat {
      0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
      100% { transform: translateY(-120px) rotate(360deg); opacity: 0; }
    }
    /* The curtain panels */
    #curtain-top, #curtain-bottom {
      position: fixed; left: 0; right: 0; z-index: 9997;
      background: #0a0a08;
      pointer-events: none;
    }
    #curtain-top    { top: 0;   height: 50vh; transform: scaleY(0); transform-origin: top; }
    #curtain-bottom { bottom: 0; height: 50vh; transform: scaleY(0); transform-origin: bottom; }
    #curtain-top.closing    { animation: curtainClose 0.55s cubic-bezier(0.76,0,0.24,1) forwards; }
    #curtain-bottom.closing { animation: curtainClose 0.55s cubic-bezier(0.76,0,0.24,1) forwards; }
    #curtain-top.opening    { animation: curtainOpen 0.6s cubic-bezier(0.76,0,0.24,1) forwards; }
    #curtain-bottom.opening { animation: curtainOpen 0.6s cubic-bezier(0.76,0,0.24,1) forwards; }
    /* Particle burst on button click */
    #curtain-particles {
      position: fixed; inset: 0; z-index: 9998;
      pointer-events: none;
      display: none;
    }
    .c-particle {
      position: absolute;
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--peach);
      animation: particleFloat 1.2s ease-out forwards;
    }
    /* Flash layer */
    #curtain-flash {
      position: fixed; inset: 0; z-index: 9996;
      background: #fff;
      opacity: 0; pointer-events: none;
    }
    #curtain-flash.flash { animation: flashWhite 0.5s ease forwards; }
    #main-site {
      display: none;
      opacity: 0;
      transition: opacity 0.5s ease-out;
    }
    #main-site.revealed { opacity: 1; }

    /* =============================================
       CINEMATIC GLOBAL EFFECTS
    ============================================= */
    /* Film grain overlay */
    @keyframes grainShift {
      0%,100% { transform: translate(0,0); }
      10%      { transform: translate(-2%,-3%); }
      20%      { transform: translate(3%,1%); }
      30%      { transform: translate(-1%,4%); }
      40%      { transform: translate(4%,-2%); }
      50%      { transform: translate(-3%,3%); }
      60%      { transform: translate(1%,-4%); }
      70%      { transform: translate(-4%,2%); }
      80%      { transform: translate(2%,4%); }
      90%      { transform: translate(-2%,-1%); }
    }
    #film-grain {
      position: fixed; inset: -50%; z-index: 9000;
      width: 200%; height: 200%;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
      opacity: 0.028;
      pointer-events: none;
      animation: grainShift 0.12s steps(1) infinite;
    }

    /* Shimmer on section headings */
    @keyframes shimmer {
      0%   { background-position: -200% center; }
      100% { background-position: 200% center; }
    }
    .shimmer-heading {
      background: linear-gradient(
        90deg,
        var(--moss) 0%,
        var(--moss) 35%,
        rgba(232,157,130,0.7) 50%,
        var(--moss) 65%,
        var(--moss) 100%
      );
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: shimmer 5s linear infinite;
      animation-play-state: paused;
    }
    .shimmer-heading.in-view { animation-play-state: running; }

    /* Photo background dividers — CSS background approach (iOS-safe, no fixed-attachment) */
    .photo-divider {
      position: relative;
      height: clamp(300px, 45vh, 500px);
      overflow: hidden;
      background-size: cover;
      background-position: center 50%;
      background-repeat: no-repeat;
      will-change: background-position;
    }
    /* Hide legacy pd-inner markup if still present */
    .photo-divider .pd-inner { display: none; }
    .photo-divider-overlay {
      position: absolute; inset: 0; z-index: 2;
      background:
        radial-gradient(ellipse at center, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.55) 100%);
    }
    .photo-divider-text {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      z-index: 3;
      padding: 0 max(24px, env(safe-area-inset-left)) 0 max(24px, env(safe-area-inset-right));
    }
    .photo-divider-quote {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: clamp(1.1rem, 3vw, 1.8rem);
      color: #fff;
      text-shadow: 0 2px 28px rgba(0,0,0,0.5);
      text-align: center;
      padding: 0 16px;
      max-width: 600px;
      line-height: 1.65;
      word-break: break-word;
      overflow-wrap: break-word;
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22,1,0.36,1);
    }
    .photo-divider.in-view .photo-divider-quote {
      opacity: 1;
      transform: translateY(0);
    }

    /* Section heading reveal */
    .section-heading {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      color: var(--moss);
      line-height: 1.12;
    }

    /* Glow ornament dots */
    @keyframes dotPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(232,157,130,0.6); }
      50%       { box-shadow: 0 0 0 6px rgba(232,157,130,0); }
    }
    .ornament-dot { animation: dotPulse 2.6s ease infinite; }

    /* Floating petals canvas */
    #petal-canvas {
      position: fixed; inset: 0; z-index: 1;
      pointer-events: none;
      opacity: 0.55;
    }

    /* Scroll-reveal base state — applied via JS */
    .will-reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1),
                  transform 0.85s cubic-bezier(0.22,1,0.36,1);
    }
    .will-reveal.in-view {
      opacity: 1;
      transform: translateY(0);
    }
    .will-reveal-left {
      opacity: 0; transform: translateX(-32px);
      transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1),
                  transform 0.85s cubic-bezier(0.22,1,0.36,1);
    }
    .will-reveal-left.in-view { opacity: 1; transform: translateX(0); }
    .will-reveal-right {
      opacity: 0; transform: translateX(32px);
      transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1),
                  transform 0.85s cubic-bezier(0.22,1,0.36,1);
    }
    .will-reveal-right.in-view { opacity: 1; transform: translateX(0); }
    ============================================= */
    #navbar {
      position: fixed; top: -70px; left: 0; right: 0; z-index: 800;
      height: 56px;
      background: rgba(253,251,247,0.75);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(163,177,138,0.12);
      display: flex; align-items: center;
      transition: top 0.4s ease;
    }
    #navbar.visible { top: 0; }
    .nav-inner {
      max-width: 1100px; margin: 0 auto; padding: 0 24px;
      width: 100%;
      display: flex; align-items: center; justify-content: space-between;
    }
    .nav-logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      color: var(--moss);
    }
    .nav-logo span { color: var(--peach); }
    .nav-links { display: flex; gap: 32px; }
    .nav-links a {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(58,77,57,0.7);
      transition: color .25s;
    }
    .nav-links a:hover { color: var(--peach); }
    .nav-hamburger {
      display: none;
      background: none; border: none; cursor: pointer;
      color: var(--moss);
      font-size: 22px;
    }
    /* Mobile menu */
    #mobile-menu {
      display: none;
      position: fixed; inset: 0; z-index: 900;
      background: rgba(253,251,247,0.97);
      backdrop-filter: blur(20px);
      flex-direction: column;
      align-items: center; justify-content: center;
      gap: 36px;
    }
    #mobile-menu.open { display: flex; }
    #mobile-menu a {
      font-family: 'Playfair Display', serif;
      font-size: 1.8rem;
      color: var(--moss);
      transition: color .25s;
    }
    #mobile-menu a:hover { color: var(--peach); }
    #mobile-close {
      position: absolute; top: 20px; right: 22px;
      background: none; border: none; cursor: pointer;
      font-size: 26px; color: var(--moss);
    }

    /* =============================================
       HERO — SINGLE PHOTO
    ============================================= */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex; align-items: flex-end; justify-content: center;
      overflow: hidden;
    }
    #hero-bg { position: absolute; inset: 0; }
    #hero-bg img {
      width: 100%; height: 100%; object-fit: cover;
    }

    #hero-gradient {
      position: absolute; inset: 0;
      background: linear-gradient(to top, #FDFBF7 0%, rgba(253,251,247,0.92) 14%, rgba(253,251,247,0.35) 30%, transparent 52%);
      z-index: 2;
    }
    #hero-content {
      position: relative; z-index: 5;
      text-align: center;
      padding-bottom: clamp(80px, 15vh, 150px);
      padding-left: 24px; padding-right: 24px;
    }
    #hero-eyebrow {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.46em;
      text-transform: uppercase;
      color: #fff;
      text-shadow: 0 2px 12px rgba(0,0,0,0.45);
      margin-bottom: 18px;
    }
    #hero-names {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.8rem, 10vw, 6rem);
      color: #fff;
      text-shadow: 0 4px 24px rgba(0,0,0,0.4);
      line-height: 1.05;
    }
    #hero-names span { color: var(--peach); }
    #hero-details { margin-top: 22px; }
    #hero-details p {
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.92);
      text-shadow: 0 2px 12px rgba(0,0,0,0.45);
      line-height: 2.1;
    }
    #hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
    #scroll-indicator {
      position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 8px;
      z-index: 5;
    }
    #scroll-indicator span {
      font-family: 'Inter', sans-serif;
      font-size: 9px;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: rgba(58,77,57,0.38);
    }
    .scroll-line {
      width: 1px; height: 32px;
      background: linear-gradient(to bottom, var(--sage), transparent);
      animation: scrollBob 1.7s ease infinite;
    }

    /* =============================================
       PREMIUM EDITORIAL PHOTO COLLAGE
    ============================================= */
    #collage-section {
      padding: clamp(80px,15vh,160px) 0;
      background: var(--cream);
      overflow: hidden;
    }
    #collage-header { padding: 0 24px; margin-bottom: 64px; }

    /* Main collage layout — editorial magazine style */
    #collage-canvas {
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 2fr 1.1fr 1fr;
      grid-template-rows: 320px 220px 240px;
      gap: 12px;
    }

    .col-item {
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }
    .col-item img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.9s cubic-bezier(0.22,1,0.36,1);
      display: block;
    }
    .col-item:hover img { transform: scale(1.08); }

    /* Hover overlay with quote */
    .col-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(58,77,57,0.55) 0%, transparent 55%);
      opacity: 0;
      transition: opacity 0.5s ease;
      display: flex; align-items: flex-end; padding: 20px;
    }
    .col-item:hover .col-overlay { opacity: 1; }
    .col-overlay-label {
      font-family: 'Inter', sans-serif;
      font-size: 9px;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.85);
    }

    /* Border radius variety — editorial feel */
    .col-item:nth-child(1) { border-radius: 4px 28px 4px 4px; }
    .col-item:nth-child(2) { border-radius: 28px 4px 4px 4px; }
    .col-item:nth-child(3) { border-radius: 4px 4px 28px 4px; }
    .col-item:nth-child(4) { border-radius: 4px 4px 4px 28px; }
    .col-item:nth-child(5) { border-radius: 28px 4px 28px 4px; }
    .col-item:nth-child(6) { border-radius: 4px 28px 4px 28px; }

    /* Grid placement — editorial asymmetric */
    .col-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; } /* tall portrait left */
    .col-item:nth-child(2) { grid-column: 2; grid-row: 1; }      /* upper mid */
    .col-item:nth-child(3) { grid-column: 3; grid-row: 1; }      /* upper right */
    .col-item:nth-child(4) { grid-column: 2 / 4; grid-row: 2; } /* wide mid bar */
    .col-item:nth-child(5) { grid-column: 1; grid-row: 3; }      /* lower left */
    .col-item:nth-child(6) { grid-column: 2 / 4; grid-row: 3; } /* wide bottom */

    /* Thin sage accent line between rows */
    #collage-canvas::before {
      content: '';
      display: none; /* decorative lines done via box shadows */
    }

    /* Elegant shadow on each tile */
    .col-item {
      box-shadow: 0 4px 24px rgba(58,77,57,0.10);
      transition: box-shadow 0.5s ease, transform 0.5s ease;
    }
    .col-item:hover {
      box-shadow: 0 12px 48px rgba(58,77,57,0.18);
      z-index: 2;
    }

    /* The "C & L" monogram watermark that floats between tiles */
    #collage-monogram {
      position: absolute;
      font-family: 'Playfair Display', serif;
      font-size: 5rem;
      color: rgba(163,177,138,0.12);
      pointer-events: none;
      user-select: none;
      line-height: 1;
      z-index: 3;
    }

    /* Collage wrap needs relative for monogram */
    #collage-wrap {
      position: relative;
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Bottom tagline beneath collage */
    #collage-tagline {
      text-align: center;
      margin-top: 40px;
      padding: 0 24px;
    }
    #collage-tagline p {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: clamp(0.95rem, 2vw, 1.2rem);
      color: rgba(58,77,57,0.42);
      letter-spacing: 0.04em;
    }
    #collage-tagline::before,
    #collage-tagline::after {
      content: '— ';
    }

    /* Responsive — mirrors desktop's tall/wide/square rhythm using all 6 photos */
    @media (max-width: 860px) {
      #collage-canvas {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 200px 200px 240px;
        gap: 10px;
      }
      .col-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }   /* tall portrait */
      .col-item:nth-child(2) { grid-column: 2; grid-row: 1; }        /* square */
      .col-item:nth-child(3) { grid-column: 2; grid-row: 2; }        /* square */
      .col-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }   /* wide bar */
      .col-item:nth-child(5) { grid-column: 1; grid-row: 4; }        /* square */
      .col-item:nth-child(6) { grid-column: 2; grid-row: 4; }        /* square */
    }
    /* Lightbox */
    #lightbox {
      display: none;
      position: fixed; inset: 0; z-index: 9990;
      background: rgba(0,0,0,0.86);
      align-items: center; justify-content: center;
      padding: 24px;
    }
    #lightbox.open { display: flex; }
    #lightbox-img { max-width: 800px; width: 100%; max-height: 88vh; object-fit: contain; border-radius: 16px; }
    #lightbox-close {
      position: absolute; top: -14px; right: -14px;
      width: 44px; height: 44px;
      border-radius: 50%;
      background: #fff;
      border: none; cursor: pointer;
      font-size: 18px; color: var(--moss);
      display: flex; align-items: center; justify-content: center;
      transition: background .25s, color .25s;
    }
    #lightbox-close:hover { background: var(--peach); color: #fff; }
    #lightbox-inner { position: relative; max-width: 800px; width: 100%; }

    /* =============================================
       COUNTDOWN
    ============================================= */
    #countdown-section {
      padding: clamp(80px,15vh,160px) 0;
      background: var(--moss);
      color: #fff;
      text-align: center;
    }
    #countdown-heart { color: var(--peach); font-size: 20px; margin-bottom: 22px; }
    #countdown-heading {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 5vw, 3.5rem);
      color: #fff;
      margin-bottom: 12px;
    }
    #countdown-sub {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      color: var(--sage);
      font-size: 1rem;
      margin-bottom: 52px;
    }
    #countdown-grid {
      display: flex; justify-content: center;
      gap: clamp(12px, 4vw, 36px);
      flex-wrap: wrap;
    }
    .countdown-box {
      width: clamp(72px, 18vw, 128px);
      height: clamp(72px, 18vw, 128px);
      border-radius: 16px;
      border: 1px solid rgba(163,177,138,0.22);
      background: rgba(255,255,255,0.05);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
    }
    .countdown-number {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.6rem, 6vw, 3.4rem);
      color: var(--peach);
      line-height: 1;
    }
    .countdown-label {
      font-family: 'Inter', sans-serif;
      font-size: 9px;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.38);
      margin-top: 6px;
    }
    #countdown-tag {
      margin-top: 52px;
      display: flex; align-items: center; justify-content: center; gap: 18px;
    }
    #countdown-tag-line { height: 1px; width: 56px; background: rgba(163,177,138,0.28); }
    #countdown-tag-text {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      color: var(--sage);
      font-size: 1.1rem;
    }
    #countdown-tagline2 {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      color: rgba(255,255,255,0.25);
      letter-spacing: 0.1em;
      margin-top: 18px;
    }

    /* =============================================
       TIMELINE
    ============================================= */
    #timeline-section {
      padding: clamp(80px,15vh,170px) 24px;
      background: var(--cream);
    }
    .timeline-inner { max-width: 700px; margin: 0 auto; position: relative; }
    .timeline-spine {
      position: absolute;
      left: 22px;
      top: 0; bottom: 0;
      width: 1px;
      background: linear-gradient(to bottom, transparent, rgba(163,177,138,0.35), transparent);
    }
    .timeline-event { display: flex; align-items: flex-start; gap: 28px; margin-bottom: 64px; }
    .timeline-icon-wrap {
      flex-shrink: 0;
      width: 46px; height: 46px;
      border-radius: 50%;
      background: var(--peach);
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 6px 20px rgba(232,157,130,0.25);
      position: relative; z-index: 2;
      font-size: 18px;
    }
    .timeline-body { padding-top: 2px; }
    .timeline-tag {
      display: inline-block;
      padding: 3px 12px;
      border-radius: 999px;
      background: rgba(163,177,138,0.15);
      font-family: 'Inter', sans-serif;
      font-size: 9px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 7px;
    }
    .timeline-time {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      font-weight: 600;
      color: var(--peach);
      margin-bottom: 4px;
    }
    .timeline-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.15rem, 3vw, 1.5rem);
      color: var(--moss);
      margin-bottom: 10px;
    }
    .timeline-desc {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: rgba(58,77,57,0.55);
      line-height: 1.9;
      max-width: 480px;
    }

    /* =============================================
       VENUE
    ============================================= */
    #venue-section {
      padding: clamp(80px,15vh,170px) 0;
      background: var(--cream);
    }
    #venue-photo-wrap {
      max-width: 1000px;
      margin: 0 auto 56px;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .venue-photo-card {
      border-radius: 24px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 24px 60px rgba(58,77,57,0.12);
    }
    .venue-photo-card img {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      display: block;
      transition: transform 0.7s ease;
    }
    .venue-photo-card:hover img { transform: scale(1.04); }
    .venue-photo-label {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      background: linear-gradient(to top, rgba(10,10,8,0.72) 0%, transparent 100%);
      padding: 28px 22px 18px;
      z-index: 2;
    }
    .venue-photo-label-tag {
      font-family: 'Inter', sans-serif;
      font-size: 9px;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 4px;
    }
    .venue-photo-label-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      color: #fff;
    }
    .venue-photo-label-addr {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      color: rgba(255,255,255,0.55);
      margin-top: 2px;
    }
    @media (max-width: 620px) {
      #venue-photo-wrap { grid-template-columns: 1fr; }
    }
    .venue-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      max-width: 800px;
      margin: 0 auto 40px;
      padding: 0 24px;
    }
    .venue-card {
      background: rgba(255,255,255,0.7);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(163,177,138,0.2);
      border-radius: 20px;
      padding: 32px 20px;
      text-align: center;
    }
    .venue-card-icon {
      width: 44px; height: 44px;
      border-radius: 50%;
      background: rgba(232,157,130,0.15);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 14px;
      font-size: 18px;
    }
    .venue-card-label {
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      letter-spacing: 0.26em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 6px;
    }
    .venue-card-value {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      color: var(--moss);
    }
    .venue-card-sub {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      color: rgba(58,77,57,0.45);
      margin-top: 4px;
    }
    #venue-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      justify-content: center;
      padding: 0 24px;
    }

    /* Color Palette Swatches */
    #palette-section {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      margin: 40px auto 0;
      padding: 0 24px;
      max-width: 600px;
    }
    .palette-swatch {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
    .swatch-circle {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      box-shadow: 0 8px 24px rgba(58,77,57,0.13);
      border: 3px solid rgba(255,255,255,0.8);
    }
    .swatch-label {
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(58,77,57,0.55);
    }
    .swatch-hex {
      font-family: 'Libre Baskerville', serif;
      font-style: italic;
      font-size: 12px;
      color: var(--moss);
    }

    /* =============================================
       DRESS CODE
    ============================================= */
    #dresscode-section {
      padding: clamp(80px,15vh,170px) 0;
      background: var(--cream2);
    }
    .dress-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 32px;
      max-width: 1000px;
      margin: 56px auto 0;
      padding: 0 24px;
    }
    .dress-card { text-align: center; }
    .dress-photo {
      aspect-ratio: 3/4;
      border-radius: 20px;
      overflow: hidden;
      margin-bottom: 22px;
      position: relative;
      box-shadow: 0 12px 36px rgba(58,77,57,0.08);
    }
    .dress-photo img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.7s ease;
    }
    .dress-card:hover .dress-photo img { transform: scale(1.05); }
    .dress-card-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.35rem;
      color: var(--moss);
      margin-bottom: 10px;
    }
    .dress-card-desc {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      color: rgba(58,77,57,0.55);
      line-height: 1.85;
      max-width: 260px;
      margin: 0 auto;
    }
    #dresscode-note {
      max-width: 500px;
      margin: 52px auto 0;
      padding: 0 24px;
    }
    #dresscode-note-inner {
      border: 1px solid rgba(163,177,138,0.3);
      border-radius: 20px;
      padding: 32px 36px;
      background: rgba(255,255,255,0.5);
      backdrop-filter: blur(6px);
      text-align: center;
    }
    #dresscode-note-inner .label {
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      letter-spacing: 0.26em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 8px;
    }
    #dresscode-note-inner .value {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      color: var(--moss);
      margin-bottom: 12px;
    }
    #dresscode-note-inner .note {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      color: rgba(58,77,57,0.5);
      line-height: 1.85;
    }

    /* =============================================
       ENTOURAGE — ENHANCED
    ============================================= */
    @keyframes cardFloatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
    @keyframes cardFloatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
    @keyframes roleGlow { 0%,100%{text-shadow:none} 50%{text-shadow:0 0 16px rgba(232,157,130,.3)} }
    @keyframes bgDrift {
      0%  {background-position:0% 50%}
      50% {background-position:100% 50%}
      100%{background-position:0% 50%}
    }
    #entourage-section {
      padding: clamp(80px,15vh,170px) 24px;
      background: linear-gradient(135deg, var(--cream3) 0%, #F0EDE5 50%, var(--cream3) 100%);
      background-size: 200% 200%;
      animation: bgDrift 14s ease infinite;
      position: relative;
      overflow: hidden;
    }
    #entourage-section::before {
      content: '✦';
      position: absolute; top: 40px; left: 40px;
      font-size: 5rem; color: rgba(163,177,138,0.07);
      pointer-events: none; transform: rotate(-15deg);
      z-index: 1;
    }
    #entourage-section::after {
      content: '✦';
      position: absolute; bottom: 40px; right: 40px;
      font-size: 5rem; color: rgba(232,157,130,0.06);
      pointer-events: none; transform: rotate(20deg);
      z-index: 1;
    }
    #entourage {
      font-family: 'Libre Baskerville', Georgia, serif;
      font-style: italic;
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      color: var(--moss);
      line-height: 1.12;
    }
    #entourage-sub {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: rgba(58,77,57,0.5);
      line-height: 1.85;
      max-width: 440px;
      margin: 16px auto 0;
    }
    #entourage-frame {
      max-width: 900px;
      margin: 56px auto 0;
      border: 1px solid rgba(163,177,138,0.32);
      border-radius: 28px;
      padding: clamp(24px, 5vw, 56px);
      background: rgba(253,251,247,0.88);
      backdrop-filter: blur(12px);
      box-shadow: 0 8px 48px rgba(58,77,57,0.07), 0 2px 12px rgba(232,157,130,0.07);
      position: relative;
    }
    #entourage-frame::before {
      content: '';
      position: absolute; top: 14px; left: 14px; right: 14px; bottom: 14px;
      border: 1px solid rgba(163,177,138,0.13);
      border-radius: 20px; pointer-events: none;
    }
    .e-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }
    .e-full { margin-bottom: 20px; }
    .e-card {
      border: 1px solid rgba(163,177,138,0.26);
      border-radius: 20px;
      padding: clamp(24px,4vw,40px) clamp(20px,4vw,36px);
      text-align: center;
      background: rgba(255,255,255,0.58);
      backdrop-filter: blur(6px);
      position: relative; overflow: hidden;
      transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s, border-color 0.4s;
    }
    .e-card::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(232,157,130,0.04) 0%, transparent 60%);
      opacity: 0; transition: opacity 0.4s; border-radius: inherit; pointer-events: none;
    }
    .e-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(58,77,57,0.1); border-color: rgba(232,157,130,0.28); }
    .e-card:hover::after { opacity: 1; }
    .e-card:nth-child(odd)  { animation: cardFloatA 5s ease-in-out infinite; }
    .e-card:nth-child(even) { animation: cardFloatB 6s ease-in-out infinite 1s; }
    .e-card-sub {
      font-family: 'Inter', sans-serif;
      font-size: 10px; letter-spacing: 0.32em;
      text-transform: uppercase; color: var(--sage); margin-bottom: 6px;
    }
    .e-card-title {
      font-family: 'Libre Baskerville', Georgia, serif;
      font-style: italic;
      font-size: clamp(1.1rem, 2.5vw, 1.4rem);
      color: var(--peach); margin-bottom: 4px;
      animation: roleGlow 3.5s ease infinite;
    }
    .e-card-divider {
      width: 40px; height: 1px;
      background: linear-gradient(to right, transparent, rgba(163,177,138,0.55), transparent);
      margin: 14px auto 18px;
    }
    .e-card-members-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px;
    }
    .e-member {
      font-family: 'Libre Baskerville', Georgia, serif;
      font-size: clamp(12px, 1.4vw, 14.5px);
      color: rgba(58,77,57,0.8); line-height: 1.65;
      transition: color 0.25s;
    }
    .e-member:hover { color: var(--peach); }
    .e-member-single {
      font-family: 'Libre Baskerville', Georgia, serif;
      font-size: clamp(13px, 1.5vw, 15px);
      color: rgba(58,77,57,0.8); line-height: 1.8;
      transition: color 0.25s;
    }
    .e-member-single:hover { color: var(--peach); }
    .sponsors-two-col {
      display: grid; grid-template-columns: 1fr 1px 1fr;
      gap: 0 24px; margin-top: 6px; text-align: left;
    }
    .sponsors-col { padding: 0 8px; }
    .sponsors-col-header {
      font-family: 'Libre Baskerville', serif; font-style: italic;
      font-size: 0.8rem; letter-spacing: 0.12em; color: var(--peach);
      text-transform: uppercase; margin-bottom: 14px; padding-bottom: 10px;
      border-bottom: 1px solid rgba(163,177,138,0.3); text-align: center;
    }
    .sponsors-col .e-member {
      text-align: center; padding: 5px 0;
      border-bottom: 1px solid rgba(163,177,138,0.1);
    }
    .sponsors-col .e-member:last-child { border-bottom: none; }
    .sponsors-divider-v {
      background: linear-gradient(to bottom, transparent, rgba(163,177,138,0.4), transparent);
      width: 1px; align-self: stretch;
    }
    @media (max-width: 560px) {
      .sponsors-two-col { grid-template-columns: 1fr; }
      .sponsors-divider-v { display: none; }
    }

    /* =============================================
       SUBTLE PHOTO-PATTERN BACKGROUNDS
       (Timeline, Venue, Dress Code, Entourage)
       — iOS-safe: no background-attachment:fixed,
         pattern lives on an absolutely-positioned
         layer sized to the section, not the viewport.
    ============================================= */
    .has-photo-bg {
      position: relative;
      isolation: isolate;
      overflow: hidden;
    }
    .section-photo-pattern {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image: url('text4.jpg');
      background-repeat: repeat;
      background-position: center top;
      background-size: 480px auto;
      opacity: 0.07;
      mix-blend-mode: multiply;
    }
    /* Tint layer keeps each section's own background tone on top of the pattern,
       so text contrast never depends on what the photo looks like underneath. */
    .section-photo-pattern::after {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--cream);
      opacity: 0.86;
    }
    #venue-section .section-photo-pattern::after,
    #timeline-section .section-photo-pattern::after { background: var(--cream); }
    #dresscode-section .section-photo-pattern::after { background: var(--cream2); }
    #entourage-section .section-photo-pattern::after { background: var(--cream3); }
    /* Make sure real content stacks above the pattern layer */
    .has-photo-bg > *:not(.section-photo-pattern) {
      position: relative;
      z-index: 1;
    }
    @media (max-width: 700px) {
      .section-photo-pattern { background-size: 320px auto; opacity: 0.06; }
    }

    /* =============================================
       PHOTO SECTION BACKGROUNDS (between sections)
    ============================================= */
    .bearer-pair {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 32px;
      margin-top: 16px;
    }
    .bearer-item { text-align: center; }
    .bearer-name {
      font-family: 'Libre Baskerville', Georgia, serif;
      font-size: clamp(13px,1.5vw,15px);
      color: rgba(58,77,57,0.82);
    }
    .bearer-role {
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--sage);
      margin-top: 4px;
    }

    /* =============================================
       GIFT SECTION
    ============================================= */
    #gift-section {
      padding: clamp(80px,15vh,170px) 0;
      background: var(--cream2);
    }
    #gift-icon {
      width: 64px; height: 64px;
      border-radius: 50%;
      background: rgba(232,157,130,0.14);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 22px;
      font-size: 26px;
    }
    #gift-poem {
      background: rgba(255,255,255,0.52);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(163,177,138,0.2);
      border-radius: 20px;
      padding: 40px 36px;
      max-width: 480px;
      margin: 0 auto 48px;
    }
    #gift-poem p {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 1rem;
      color: rgba(58,77,57,0.72);
      line-height: 2.1;
      text-align: center;
    }
    .gift-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
      gap: 22px;
      max-width: 560px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .gift-card {
      background: rgba(255,255,255,0.72);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(163,177,138,0.26);
      border-radius: 20px;
      padding: 30px 28px;
      text-align: left;
    }
    .gift-card-bank {
      font-family: 'Inter', sans-serif;
      font-size: 9px;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 2px;
    }
    .gift-card-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      color: var(--moss);
      margin-bottom: 4px;
    }
    .gift-card-divider { width: 32px; height: 1px; background: rgba(232,157,130,0.5); margin-bottom: 14px; }
    .gift-card-number {
      font-family: 'Inter', sans-serif;
      font-size: 1.05rem;
      letter-spacing: 0.08em;
      font-weight: 500;
      color: var(--moss);
      margin-bottom: 14px;
    }
    .gift-copy-btn {
      background: none; border: none; cursor: pointer;
      display: inline-flex; align-items: center; gap: 7px;
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--peach);
      transition: color .25s;
    }
    .gift-copy-btn:hover { color: var(--moss); }
    #gift-closing {
      text-align: center;
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      color: rgba(58,77,57,0.3);
      letter-spacing: 0.08em;
      margin-top: 36px;
      padding: 0 24px;
    }

    /* =============================================
       REMINDERS
    ============================================= */
    #reminders-section {
      padding: clamp(80px,15vh,170px) 0;
      background: var(--cream);
    }
    .reminders-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
      gap: 22px;
      max-width: 1000px;
      margin: 56px auto 0;
      padding: 0 24px;
    }
    .reminder-card {
      background: rgba(255,255,255,0.62);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(163,177,138,0.15);
      border-radius: 20px;
      padding: 40px 32px;
      text-align: center;
      box-shadow: 0 4px 20px rgba(58,77,57,0.04);
    }
    .reminder-icon {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: rgba(163,177,138,0.12);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 14px;
      font-size: 22px;
    }
    .reminder-sub {
      font-family: 'Inter', sans-serif;
      font-size: 9px;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 6px;
    }
    .reminder-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      color: var(--moss);
      margin-bottom: 12px;
    }
    .reminder-divider { width: 32px; height: 1px; background: rgba(232,157,130,0.45); margin: 0 auto 16px; }
    .reminder-desc {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      color: rgba(58,77,57,0.55);
      line-height: 1.9;
    }
    #reminders-footer {
      text-align: center;
      margin-top: 48px;
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      color: rgba(58,77,57,0.38);
      letter-spacing: 0.06em;
      padding: 0 24px;
    }

    /* =============================================
       SCRATCH CARD — interactive surprise
    ============================================= */
    #scratch-section {
      padding: clamp(80px,15vh,170px) 0;
      background: var(--cream2);
      text-align: center;
    }
    #scratch-wrap {
      margin-top: 48px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 22px;
      padding: 0 24px;
    }
    #scratch-card {
      position: relative;
      width: min(380px, 100%);
      aspect-ratio: 16/10;
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(58,77,57,0.14), 0 2px 10px rgba(232,157,130,0.1);
      border: 1px solid rgba(163,177,138,0.3);
      touch-action: none;
      -webkit-user-select: none;
      user-select: none;
    }
    #scratch-reveal {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: clamp(20px, 6vw, 36px);
      background: linear-gradient(135deg, var(--cream3) 0%, #FDF4EE 100%);
    }
    #scratch-reveal-eyebrow {
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 10px;
    }
    #scratch-reveal-msg {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: clamp(1rem, 3.2vw, 1.3rem);
      color: var(--moss);
      line-height: 1.6;
      max-width: 320px;
    }
    #scratch-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      cursor: pointer;
    }
    #scratch-hint {
      position: absolute;
      bottom: 16px; left: 0; right: 0;
      display: flex; align-items: center; justify-content: center;
      gap: 8px;
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(253,251,247,0.85);
      pointer-events: none;
      z-index: 2;
      animation: scratchHintPulse 1.8s ease-in-out infinite;
      transition: opacity 0.4s ease;
    }
    #scratch-card.revealed #scratch-hint {
      opacity: 0;
      animation: none;
      visibility: hidden;
    }
    @keyframes scratchHintPulse {
      0%, 100% { opacity: 0.55; transform: translateY(0); }
      50%       { opacity: 1; transform: translateY(-3px); }
    }
    #scratch-reset-btn {
      background: none;
      border: 1px solid rgba(163,177,138,0.4);
      border-radius: 999px;
      padding: 10px 24px;
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--sage);
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease, color 0.25s ease, border-color 0.25s ease;
    }
    #scratch-reset-btn.show { opacity: 1; pointer-events: auto; }
    #scratch-reset-btn:hover { color: var(--moss); border-color: var(--moss); }

    /* =============================================
       RSVP
    ============================================= */
    #rsvp-section {
      padding: clamp(80px,15vh,170px) 0;
      background: var(--moss);
    }
    #rsvp-heading {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      color: #fff;
    }
    #rsvp-sub {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: rgba(255,255,255,0.55);
      max-width: 380px;
      margin: 14px auto 0;
      line-height: 1.8;
    }
    #rsvp-container {
      max-width: 780px;
      margin: 48px auto 0;
      padding: 0 24px;
    }
    #rsvp-glass {
      background: rgba(255,255,255,0.09);
      backdrop-filter: blur(14px);
      border: 1px solid rgba(163,177,138,0.2);
      border-radius: 28px;
      padding: 20px;
    }
    #rsvp-inner {
      background: var(--cream);
      border-radius: 18px;
      min-height: 500px;
      display: flex; align-items: center; justify-content: center;
      padding: 48px 32px;
      text-align: center;
    }
    #rsvp-inner iframe {
      width: 100%; border: none; border-radius: 14px; min-height: 520px;
    }
    .rsvp-placeholder-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.7rem;
      color: var(--moss);
      margin-bottom: 12px;
    }
    .rsvp-placeholder-sub {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      color: rgba(58,77,57,0.55);
      line-height: 1.8;
      max-width: 360px;
      margin: 0 auto 24px;
    }
    .rsvp-placeholder-note {
      background: rgba(163,177,138,0.1);
      border-radius: 12px;
      padding: 16px 20px;
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      color: rgba(58,77,57,0.6);
      max-width: 420px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* =============================================
       HASHTAG SECTION
    ============================================= */
    #hashtag-section {
      position: relative;
      padding: clamp(100px,18vh,180px) 24px;
      background: var(--moss);
      overflow: hidden;
      text-align: center;
    }
    #hashtag-bg-text {
      position: absolute;
      inset: 0;
      display: flex; align-items: center; justify-content: center;
      pointer-events: none;
      user-select: none;
      overflow: hidden;
    }
    #hashtag-bg-text span {
      font-family: 'Libre Baskerville', Georgia, serif;
      font-style: italic;
      font-size: clamp(4rem, 10vw, 9rem);
      color: rgba(255,255,255,0.04);
      white-space: nowrap;
    }
    .hashtag-ornament {
      display: flex; align-items: center; justify-content: center; gap: 16px;
      margin-bottom: 36px;
    }
    .hashtag-ornament-line { height: 1px; width: 48px; background: rgba(163,177,138,0.4); }
    .hashtag-eyebrow {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.42em;
      text-transform: uppercase;
      color: var(--sage);
      margin-bottom: 22px;
    }
    #hashtag-main {
      font-family: 'Libre Baskerville', Georgia, serif;
      font-style: italic;
      font-size: clamp(1.6rem, 7vw, 5rem);
      color: #fff;
      line-height: 1.25;
      margin-bottom: 28px;
      overflow-wrap: break-word;
      word-break: break-word;
      padding: 0 8px;
    }
    #hashtag-main span { color: var(--peach); }
    #hashtag-sub {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: rgba(255,255,255,0.48);
      max-width: 400px;
      margin: 0 auto 40px;
      line-height: 1.85;
    }
    #hashtag-copy-btn {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 14px 40px;
      background: var(--peach);
      color: #fff;
      border: none; border-radius: 999px;
      cursor: pointer;
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      transition: box-shadow .4s;
    }
    #hashtag-copy-btn:hover { box-shadow: 0 0 32px rgba(232,157,130,0.52); }
    #hashtag-tag-pill {
      margin-top: 48px;
      display: inline-flex; align-items: center; gap: 8px;
      padding: 10px 22px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.1);
      background: rgba(255,255,255,0.04);
      backdrop-filter: blur(8px);
    }
    #hashtag-tag-pill span {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.14em;
      color: rgba(255,255,255,0.5);
    }
    .hashtag-bottom-ornament {
      display: flex; align-items: center; justify-content: center; gap: 16px;
      margin-top: 48px;
    }
    .hashtag-bottom-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(163,177,138,0.48); }

    /* =============================================
       FOOTER
    ============================================= */
    #footer {
      padding: clamp(80px,14vh,140px) 24px;
      background: var(--cream);
      border-top: 1px solid rgba(163,177,138,0.15);
      text-align: center;
    }
    #footer-ornament {
      display: flex; align-items: center; justify-content: center; gap: 16px;
      margin-bottom: 36px;
    }
    #footer-ornament-line { height: 1px; width: 48px; background: rgba(163,177,138,0.3); }
    #footer-monogram {
      font-family: 'Playfair Display', serif;
      font-size: clamp(3rem, 10vw, 5rem);
      color: var(--moss);
      line-height: 1;
      margin-bottom: 14px;
    }
    #footer-monogram span { color: var(--peach); }
    #footer-names {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 1.3rem;
      color: var(--sage);
      margin-bottom: 24px;
    }
    #footer-date-row {
      display: flex; align-items: center; justify-content: center; gap: 16px;
      margin-bottom: 6px;
    }
    #footer-date-line { height: 1px; width: 44px; background: rgba(163,177,138,0.22); }
    #footer-date {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: rgba(58,77,57,0.32);
    }
    #footer-venue {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      color: rgba(58,77,57,0.28);
      letter-spacing: 0.08em;
      margin-bottom: 40px;
    }
    #footer-bottom { border-top: 1px solid rgba(163,177,138,0.1); padding-top: 32px; }
    #footer-hashtag {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 1rem;
      color: rgba(163,177,138,0.7);
      margin-bottom: 10px;
    }
    #footer-credit {
      font-family: 'Inter', sans-serif;
      font-size: 9px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(58,77,57,0.2);
    }

    /* =============================================
       MUSIC BUTTON
    ============================================= */
    #music-btn {
      position: fixed;
      bottom: 22px; right: 22px;
      z-index: 700;
      width: 48px; height: 48px;
      border-radius: 50%;
      background: rgba(253,251,247,0.85);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(163,177,138,0.3);
      display: none;
      align-items: center; justify-content: center;
      cursor: pointer;
      font-size: 18px;
      color: var(--moss);
      box-shadow: 0 4px 18px rgba(58,77,57,0.12);
      transition: background .3s, color .3s, box-shadow .3s;
    }
    #music-btn.show { display: flex; }
    #music-btn:hover { background: var(--peach); color: #fff; box-shadow: 0 4px 24px rgba(232,157,130,0.4); }

    /* =============================================
       EXTRA ANIMATIONS — SITE WIDE
    ============================================= */
    /* Timeline icon ripple */
    @keyframes timelineRipple {
      0%  { box-shadow: 0 0 0 0 rgba(232,157,130,.5), 0 6px 20px rgba(232,157,130,.25); }
      70% { box-shadow: 0 0 0 10px rgba(232,157,130,0), 0 6px 20px rgba(232,157,130,.25); }
      100%{ box-shadow: 0 0 0 0 rgba(232,157,130,0), 0 6px 20px rgba(232,157,130,.25); }
    }
    .timeline-icon-wrap { animation: timelineRipple 2.5s ease infinite; }
    .timeline-event { transition: transform 0.4s ease; }
    .timeline-event:hover { transform: translateX(6px); }

    /* Venue card lift */
    .venue-card { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s; }
    .venue-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(58,77,57,0.1); }

    /* Reminder card hover */
    .reminder-card { transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s; }
    .reminder-card:hover { transform: translateY(-8px) scale(1.015); box-shadow: 0 20px 48px rgba(58,77,57,0.1); }

    /* Dress card tilt hover */
    .dress-card { transition: transform 0.45s cubic-bezier(0.22,1,0.36,1); }
    .dress-card:nth-child(1):hover { transform: rotate(-1deg) translateY(-6px); }
    .dress-card:nth-child(2):hover { transform: translateY(-8px); }

    /* Countdown float stagger */
    @keyframes cdFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
    .countdown-box:nth-child(1){ animation: cdFloat 3s ease infinite 0s; }
    .countdown-box:nth-child(2){ animation: cdFloat 3s ease infinite .35s; }
    .countdown-box:nth-child(3){ animation: cdFloat 3s ease infinite .7s; }
    .countdown-box:nth-child(4){ animation: cdFloat 3s ease infinite 1.05s; }

    /* Hashtag float */
    @keyframes hashFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
    #hashtag-main { animation: hashFloat 5s ease-in-out infinite; }

    /* Gift card border glow */
    @keyframes giftGlow { 0%,100%{border-color:rgba(163,177,138,.26)} 50%{border-color:rgba(232,157,130,.42)} }
    .gift-card { animation: giftGlow 4s ease infinite; }
    .gift-card:nth-child(2) { animation-delay: 2s; }

    /* Bearer hover */
    .bearer-item { transition: transform 0.35s ease; }
    .bearer-item:hover { transform: translateY(-4px); }

    /* Footer monogram hover */
    #footer-monogram { display:inline-block; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
    #footer-monogram:hover { transform: scale(1.06) rotate(-2deg); }

    /* Responsive */
    @media (max-width: 700px) {
      .nav-links { display: none; }
      .nav-hamburger { display: block; }
      .e-grid-2 { grid-template-columns: 1fr; }
      .timeline-spine { left: 22px; }
    }
    @media (max-width: 500px) {
      #hero-names { font-size: 2.4rem; }
      #intro-monogram { font-size: 5rem; }
    }

    /* =============================================
       iOS SAFE AREA & MOBILE OVERFLOW GUARDS
    ============================================= */
    #navbar .nav-inner {
      padding-left: max(24px, env(safe-area-inset-left));
      padding-right: max(24px, env(safe-area-inset-right));
    }
    #music-btn {
      bottom: max(22px, calc(22px + env(safe-area-inset-bottom)));
      right: max(22px, env(safe-area-inset-right));
    }
    #footer {
      padding-left: max(24px, env(safe-area-inset-left));
      padding-right: max(24px, env(safe-area-inset-right));
    }
    /* Prevent letter-spacing from causing horizontal overflow on tiny screens */
    @media (max-width: 380px) {
      .section-eyebrow { letter-spacing: 0.22em; }
      #intro-eyebrow { letter-spacing: 0.28em; }
      #intro-date { letter-spacing: 0.18em; }
      #hero-eyebrow { letter-spacing: 0.24em; }
      .btn { letter-spacing: 0.14em; padding: 14px 28px; }
      #hero-cta { flex-direction: column; align-items: center; }
      .e-card-members-grid { grid-template-columns: 1fr; }
    }
    /* Collage on very small screens — same 6-photo mosaic, tighter rows */
    @media (max-width: 420px) {
      #collage-canvas {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 160px 160px 190px;
        gap: 8px;
      }
      .col-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
      .col-item:nth-child(2) { grid-column: 2; grid-row: 1; }
      .col-item:nth-child(3) { grid-column: 2; grid-row: 2; }
      .col-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
      .col-item:nth-child(5) { grid-column: 1; grid-row: 4; }
      .col-item:nth-child(6) { grid-column: 2; grid-row: 4; }
    }
    /* Venue cards single column on smallest screens */
    @media (max-width: 360px) {
      .venue-cards { grid-template-columns: 1fr; }
      .dress-grid { grid-template-columns: 1fr; }
      .gift-cards { grid-template-columns: 1fr; }
    }