 :root{--cream:#f8f5ee;--olive:#343f30;--olive2:#59644e;--gold:#bdab80;--ink:#2e362b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif}a{color:inherit;text-decoration:none}img{display:block;width:100%;object-fit:cover}.nav{height:79px;display:flex;align-items:center;justify-content:space-between;padding:0 5.5%;position:absolute;top:0;left:0;right:0;z-index:10;color:white;border-bottom:1px solid #ffffff4d}.brand{font-family:'Playfair Display',serif;font-size:25px;letter-spacing:4px}.brand span{color:#e2d1ad;font-style:italic}.nav nav{display:flex;gap:32px;align-items:center}.nav nav a{font-size:11px;letter-spacing:1.4px;text-transform:uppercase}.nav nav a:hover{color:#dfcfae}.nav-rsvp{border:1px solid #e4d9c6;padding:12px 21px}.menu{display:none}.hero{height:min(900px,100svh);min-height:620px;position:relative;display:flex;align-items:center;justify-content:center;color:white;text-align:center}.hero-photo{position:absolute;inset:0;background:url('images/photo-01.jpg') center 43%/cover no-repeat}.hero-shade{position:absolute;inset:0;background:linear-gradient(0deg,#1a241c9e,#18221b58 45%,#14201979)}.hero-content{position:relative;padding:90px 20px 0}.eyebrow{font-size:11px;letter-spacing:3.1px;font-weight:600;color:var(--olive2);display:block}.eyebrow.light{color:#e9ddc5}.hero h1{font:400 clamp(80px,13vw,175px)/1.08 'Playfair Display',serif;letter-spacing:-6px;margin:28px 0 22px}.hero h1 em,.footer-names em{font-family:'Great Vibes',cursive;font-weight:400;color:#ead9b4;font-size:.85em}.hero-line,.gold-rule{height:1px;background:var(--gold);width:85px;margin:27px auto}.hero-date{font-size:14px;letter-spacing:4px}.hero-place{font-size:11px;letter-spacing:2.5px;margin:16px 0 38px}.outline-button,.solid-button{display:inline-flex;gap:36px;align-items:center;padding:17px 23px;font-size:11px;letter-spacing:1.9px;border:1px solid #ddd2bb}.outline-button:hover{background:#ffffff25}.hero-scroll{position:absolute;bottom:29px;font-size:9px;letter-spacing:2.6px}.paper{background:var(--cream)}section.intro{text-align:center;padding:118px 20px 105px}.section-symbol{display:block;color:var(--gold);font-size:28px;margin-bottom:20px}.intro h2,.day h2,.practical h2,.gallery h2,.rsvp h2,.feature h2{font:400 clamp(43px,6vw,76px)/1.2 'Playfair Display',serif;margin:19px 0 28px;letter-spacing:-2px}h2 em{font-family:'Great Vibes',cursive;font-size:1.12em;font-weight:400;color:#839071}.intro p{max-width:640px;margin:auto;line-height:2;font-size:15px;color:#6b7165}.signature{font:40px 'Great Vibes',cursive;color:var(--olive2);margin-top:30px}.photo-strip{display:grid;grid-template-columns:repeat(3,1fr);height:340px;gap:8px;background:var(--cream)}.photo-strip img{height:100%}.olive{background:var(--olive);color:var(--cream)}.day{text-align:center;padding:110px 24px 88px}.day h2 em,.gallery h2 em{color:#d6c49e}.day-grid{display:flex;justify-content:center;align-items:stretch;gap:85px;margin:75px auto 60px}.day-grid>div:not(.day-divider){width:260px}.day-divider{width:1px;background:#b9aa814a}.mini-label{font-size:10px;letter-spacing:3px;color:#d7c49c}.day h3{font:400 32px/1.35 'Playfair Display',serif;margin:18px 0}.day-grid p{line-height:1.9;font-size:14px;color:#e0e2d8}.underlink{display:inline-block;border-bottom:1px solid var(--gold);padding:12px 0 7px;font-size:10px;letter-spacing:1.7px}.day-footer{font:italic 23px 'Playfair Display',serif;color:#d6c9aa}.feature{display:grid;grid-template-columns:1fr 1fr;min-height:650px}.feature-image img{height:100%;max-height:800px}.feature-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:12%}.feature h2{margin:25px 0}.feature p{line-height:2;color:#6c7267;max-width:450px;font-size:15px}.solid-button{background:var(--olive);color:white;margin-top:26px;border:1px solid var(--olive)}.practical{text-align:center;padding:120px 6%}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px;max-width:1140px;margin:65px auto 0;text-align:left}.info-grid article{border-top:1px solid #c5b998;padding-top:22px}.info-number{font:italic 21px 'Playfair Display',serif;color:#a89b7b}.info-grid h3{font:400 27px 'Playfair Display',serif;margin:18px 0}.info-grid p{font-size:14px;line-height:1.9;color:#6b7167}.info-grid a{font-size:10px;letter-spacing:2px;border-bottom:1px solid var(--gold);padding-bottom:7px}.gallery{text-align:center;padding:110px 4%}.gallery-lead{font-size:14px;color:#e2dfd5;margin-bottom:55px}.mosaic{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:235px;gap:10px;max-width:1350px;margin:auto}.mosaic img{height:100%;transition:filter .2s}.mosaic img:hover{filter:brightness(1.12)}.mosaic .tall{grid-row:span 2}.rsvp{text-align:center;padding:130px 20px}.rsvp>p{max-width:540px;margin:0 auto;line-height:2;color:#6c7166}.rsvp-note{display:inline-block;border:1px solid #c9bc9e;color:var(--olive);padding:20px 35px;margin:38px 0 18px;font-size:11px;letter-spacing:2.4px}.rsvp .small{font-size:12px}footer{background:#253024;color:#f2eee4;text-align:center;padding:55px 20px}.footer-names{font:42px 'Playfair Display',serif}.footer-names em{font-size:1em}footer p{font-size:10px;letter-spacing:2.5px;color:#d1c9b8}footer a{display:inline-block;margin-top:15px;font-size:10px;letter-spacing:2px;color:#d8c9a9}@media(max-width:760px){.nav{height:65px;padding:0 6%}.menu{display:block;background:none;border:0;color:white;font-size:26px}.nav nav{display:none;position:absolute;top:65px;left:0;right:0;background:#2d382b;flex-direction:column;padding:25px;gap:25px}.nav nav.open{display:flex}.hero{min-height:650px;height:100svh}.hero-photo{background-position:54% center}.hero h1{font-size:clamp(62px,13vw,100px);letter-spacing:-3px}.hero-date{font-size:11px;letter-spacing:2.4px}.hero-place{font-size:10px}.eyebrow{font-size:9px;letter-spacing:2.3px}.intro h2,.day h2,.practical h2,.gallery h2,.rsvp h2,.feature h2{letter-spacing:-1px}.photo-strip{height:190px;gap:4px}.day{padding:85px 20px}.day-grid{gap:35px;flex-direction:column;align-items:center;margin:45px auto}.day-divider{height:1px;width:90px}.feature{grid-template-columns:1fr}.feature-image{height:440px}.feature-copy{padding:85px 9%}.practical{padding:90px 9%}.info-grid{grid-template-columns:1fr;gap:25px;margin-top:45px}.gallery{padding:85px 3%}.mosaic{grid-template-columns:repeat(2,1fr);grid-auto-rows:180px;gap:6px}.rsvp{padding:100px 25px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Complete memories gallery: balanced, responsive, no orphaned edge photo */
.gallery .mosaic{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;gap:12px!important;max-width:1350px!important;margin:0 auto!important;grid-template-columns:none!important;grid-auto-rows:auto!important}
.gallery .mosaic img,.gallery .mosaic img.tall{display:block!important;flex:0 0 calc((100% - 24px)/3)!important;width:calc((100% - 24px)/3)!important;height:280px!important;aspect-ratio:4/3!important;object-fit:cover!important;grid-row:auto!important;grid-column:auto!important;border-radius:3px}
@media(max-width:800px){.gallery .mosaic img,.gallery .mosaic img.tall{flex-basis:calc((100% - 12px)/2)!important;width:calc((100% - 12px)/2)!important;height:220px!important}}
@media(max-width:480px){.gallery .mosaic{gap:8px!important}.gallery .mosaic img,.gallery .mosaic img.tall{flex-basis:calc((100% - 8px)/2)!important;width:calc((100% - 8px)/2)!important;height:170px!important}}

/* Editorial photo journal: preserve every photograph's full original composition. */
.gallery{padding:110px clamp(18px,5vw,90px) 125px;background:#f4f0e7;color:#303a2d;text-align:center}
.gallery .eyebrow.light{color:#68735c}.gallery h2{color:#303a2d}.gallery h2 em{color:#718067}.gallery-lead{color:#6b7166;max-width:540px;margin:0 auto 48px;line-height:1.8}
.gallery-note{max-width:1200px;margin:0 auto 25px;padding:0 0 13px;border-bottom:1px solid #c7bda6;text-align:left;font:italic 23px 'Playfair Display',serif;color:#394532}.gallery-note span{font:400 10px 'DM Sans',sans-serif;letter-spacing:2px;text-transform:uppercase;color:#8b8e80;margin-left:12px}
.gallery .mosaic{display:block!important;columns:3 260px!important;column-gap:18px!important;max-width:1200px!important;margin:auto!important;text-align:left}
.gallery .mosaic img,.gallery .mosaic img.tall{display:block!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;max-width:100%!important;object-fit:contain!important;break-inside:avoid!important;page-break-inside:avoid!important;margin:0 0 18px!important;border-radius:2px!important;cursor:zoom-in;filter:none!important;transition:transform .25s ease,box-shadow .25s ease!important;box-shadow:0 3px 16px #26312412}
.gallery .mosaic img:hover{transform:translateY(-3px);box-shadow:0 12px 30px #2631242e}
.lightbox[hidden]{display:none!important}.lightbox{position:fixed;inset:0;background:rgba(15,22,17,.96);z-index:1000;display:flex;align-items:center;justify-content:center;padding:60px 64px;color:white}.lightbox-image{width:auto;max-width:100%;max-height:calc(100dvh - 110px);height:auto;object-fit:contain}.lightbox button{position:absolute;border:0;background:transparent;color:white;cursor:pointer;font:300 46px 'DM Sans',sans-serif}.lightbox-close{top:8px;right:25px}.lightbox-prev{left:15px;top:45%}.lightbox-next{right:15px;top:45%}.lightbox-count{position:absolute;bottom:22px;font:11px 'DM Sans',sans-serif;letter-spacing:3px;color:#ddd2b7}
@media(max-width:800px){.gallery{padding:85px 20px}.gallery .mosaic{columns:2 170px!important;column-gap:10px!important}.gallery .mosaic img{margin-bottom:10px!important}.gallery-note span{display:block;margin:7px 0 0}.lightbox{padding:55px 35px}.lightbox button{font-size:36px}.lightbox-prev{left:2px}.lightbox-next{right:2px}}
@media(max-width:430px){.gallery .mosaic{columns:2 130px!important}}

/* Story edition: photographs distributed between chapters, with no forced cropping. */
.memory-interlude,.gallery{padding:85px clamp(18px,5vw,80px) 95px;background:#f8f5ee;color:#303a2d}
.memory-interlude.tinted{background:#eae8dd}
.memory-heading{max-width:1200px;margin:0 auto 26px;display:flex;align-items:baseline;justify-content:space-between;gap:20px;border-bottom:1px solid #c7bda6;padding-bottom:14px}
.memory-heading h3{font:italic clamp(27px,3vw,40px) 'Playfair Display',serif;margin:0;font-weight:400}
.memory-grid{columns:3 240px;column-gap:18px;max-width:1200px;margin:0 auto;text-align:left}
.memory-grid img{width:100%;height:auto;max-width:100%;object-fit:contain;display:block;margin:0 0 18px;break-inside:avoid;border-radius:2px;box-shadow:0 3px 16px #26312412;cursor:zoom-in;transition:transform .2s ease}
.memory-grid img:hover{transform:translateY(-3px)}
.gallery{text-align:center}.gallery .eyebrow.light{color:#68735c}.gallery h2{color:#303a2d}.gallery h2 em{color:#718067}.gallery-lead{color:#6b7166;margin:0 auto 40px}
.gallery .memory-grid{text-align:left}
@media(max-width:760px){.memory-interlude,.gallery{padding:60px 18px}.memory-heading{align-items:flex-start;flex-direction:column;gap:10px}.memory-grid{columns:2 140px;column-gap:10px}.memory-grid img{margin-bottom:10px}}
@media(max-width:360px){.memory-grid{columns:1}}

/* RSVP: same editorial language, clear accessible controls */
.rsvp{padding:105px 20px 120px}.rsvp>p{max-width:620px}.rsvp-switch{display:flex;justify-content:center;gap:0;margin:42px auto 30px;max-width:520px;border:1px solid #9ca48f}.rsvp-choice{flex:1;padding:17px 10px;border:0;background:transparent;color:var(--olive);font:600 12px 'DM Sans',sans-serif;cursor:pointer}.rsvp-choice.active{background:var(--olive);color:white}.rsvp-panel{max-width:690px;margin:auto;border:1px solid #c9c2ae;padding:clamp(22px,5vw,48px);text-align:left;background:#fffcf5}.rsvp-intro{text-align:center;padding-bottom:22px;border-bottom:1px solid #d7d0be;margin-bottom:30px}.rsvp-intro h3{font:400 clamp(24px,4vw,34px) 'Playfair Display',serif;margin:13px 0}.rsvp-intro p{font-size:13px;color:#6b7166;line-height:1.7}.rsvp-fields{display:grid;gap:21px}.rsvp-fields>label,.attending-only>label{display:block;font-size:12px;font-weight:600;letter-spacing:.2px}.rsvp-fields input:not([type=radio]),.rsvp-fields textarea,.rsvp-fields select{display:block;width:100%;margin-top:9px;padding:13px 14px;background:#fff;border:1px solid #bfc3b6;border-radius:2px;color:#263024;font:14px 'DM Sans',sans-serif}.rsvp-fields textarea{resize:vertical}.rsvp-attendance{border:0;padding:0;margin:2px 0}.rsvp-attendance legend{font-size:12px;font-weight:600;margin-bottom:12px}.rsvp-attendance label{display:inline-flex;align-items:center;gap:7px;margin:0 22px 10px 0;font-size:13px}.rsvp-attendance input{accent-color:#343f30}.attending-only{display:grid;gap:21px}.rsvp-privacy,.rsvp-setup,.rsvp-confirm-note{font-size:12px!important;line-height:1.7!important;color:#626b60!important;margin:20px 0 0!important;text-align:left}.rsvp-setup{color:#7c5330!important}.rsvp-submit{width:100%;margin-top:25px;padding:17px;border:0;background:var(--olive);color:white;letter-spacing:1.7px;cursor:pointer}.rsvp-submit:disabled{opacity:.5;cursor:not-allowed}.rsvp-trap{position:absolute;left:-9999px}.rsvp-confirm-note{text-align:center!important;margin-top:10px!important}@media(max-width:520px){.rsvp-switch{margin-top:30px}.rsvp-choice{font-size:11px}.rsvp-panel{padding:22px}.rsvp-attendance label{display:flex}}

/* Personal invitation finder */
[hidden]{display:none!important}.rsvp-panel{max-width:710px}.lookup-label{display:block;font-size:12px;font-weight:600;margin:0 0 10px}#lookup-name{width:100%;padding:16px;border:1px solid #bfc3b6;background:white;font:15px 'DM Sans',sans-serif}.lookup-status{min-height:1.5em;font-size:13px;line-height:1.7;color:#626b60;margin-top:16px}.invitation-details,.accommodation-offer{padding:23px;background:#f4f1e8;margin:0 0 28px;border:1px solid #e2ddce}.invitation-details p{font-size:14px;line-height:1.8}.accommodation-offer h3{font:400 27px 'Playfair Display',serif;margin:12px 0}.accommodation-offer p{font-size:13px;line-height:1.8}.accommodation-interest{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.5;margin-top:18px}.guest-choices{border:0;padding:0}.guest-choices legend{font-size:12px;font-weight:600;margin-bottom:12px}.guest-choices label{display:block;font-size:14px;margin:12px 0}.guest-choices input{accent-color:#343f30}.lookup-again{border:0;background:transparent;color:#4b5d46;text-decoration:underline;font:12px 'DM Sans',sans-serif;margin-top:25px;cursor:pointer}.rsvp-panel .rsvp-intro{margin-bottom:25px}#guest-search .rsvp-privacy{margin-top:24px!important}

/* Favourite photograph — editorial centrepiece, no cropping */
.feature{display:flex;flex-direction:column;align-items:center;background:#344030;min-height:0;padding:90px 20px 0}
.feature-image{width:100%;max-width:980px;display:flex;justify-content:center;align-items:center}
.feature-image img{width:auto;max-width:100%;height:auto;max-height:1050px;object-fit:contain;box-shadow:0 24px 65px #16211855}
.feature-copy{width:100%;max-width:980px;align-items:center;text-align:center;padding:65px 20px 80px;background:#344030;color:#f8f5ee}
.feature-copy .eyebrow{color:#d8c49c}.feature-copy h2{color:#f8f5ee}.feature-copy p{color:#e3e6db}.feature-copy .solid-button{background:transparent;border-color:#d6c49e;color:#f8f5ee}
@media(max-width:760px){.feature{padding:45px 12px 0}.feature-image{height:auto}.feature-image img{max-height:none;width:100%;height:auto}.feature-copy{padding:45px 12px 65px}}

/* Proposal photograph: match the 3:4 gallery cards; crop excess sky/building from the top. */
.memory-grid img.proposal-gallery-photo{aspect-ratio:3/4;height:auto;object-fit:cover;object-position:center bottom;}

/* Final gallery correction: six equal 3:4 cards per chapter, no masonry gaps. */
.memory-grid, .gallery .memory-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px; columns:auto; align-items:stretch;
}
.memory-grid img, .memory-grid img.proposal-gallery-photo {
  width:100%; height:auto; aspect-ratio:3 / 4;
  object-fit:cover; object-position:center center; margin:0;
  display:block; min-width:0;
}
/* Proposal: remove excess sky and upper wall, retain the couple. */
.memory-grid img.proposal-gallery-photo { object-position:center bottom; }
/* Landscape sunset: keep the couple central when fitting the portrait card. */
.memory-grid img.sunset-gallery-photo { object-position:36% center; }
@media (max-width:760px) {
  .memory-grid, .gallery .memory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .memory-grid img { margin:0; }
}
@media (max-width:420px) {
  .memory-grid, .gallery .memory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Favourite image scaled down by 35%, original proportions retained. */
.feature-image{max-width:637px;}
.feature-image img{max-width:100%;max-height:683px;height:auto;width:auto;object-fit:contain;}
@media(max-width:760px){.feature-image{width:65%;max-width:637px;}.feature-image img{width:100%;height:auto;max-height:none;}}

/* Refined mobile navigation: drawn lines, not emoji or platform-dependent glyphs. */
.menu{align-items:center;justify-content:center;width:44px;height:44px;padding:10px;cursor:pointer;-webkit-appearance:none;appearance:none}
.menu-bars{display:flex;flex-direction:column;justify-content:space-between;width:23px;height:16px}
.menu-bars span{display:block;width:100%;height:1px;background:currentColor;transition:transform .2s,opacity .2s}
.menu[aria-expanded="true"] .menu-bars span:first-child{transform:translateY(7.5px) rotate(45deg)}
.menu[aria-expanded="true"] .menu-bars span:nth-child(2){opacity:0}
.menu[aria-expanded="true"] .menu-bars span:last-child{transform:translateY(-7.5px) rotate(-45deg)}
/* Quiet editorial ornaments instead of star symbols. */
.section-symbol{height:1px;width:64px;background:var(--gold);margin:0 auto 25px;font-size:0}
@media(max-width:760px){.menu{display:flex}}

/* Give the script ampersand breathing room in the couple's names. */
.hero h1 em, .footer-names em { display:inline-block; margin-inline:.16em; }
@media (max-width:600px) { .hero h1 em, .footer-names em { margin-inline:.13em; } }

/* Mill Barns: understated, venue-specific architectural motif. */
.day{position:relative;isolation:isolate;overflow:hidden;}

.mill-barns-mark{display:flex;justify-content:center;margin:20px auto 24px;}
.mill-barns-mark img{width:46px;height:auto;display:block;opacity:.76;filter:brightness(0) invert(1);}
@media(max-width:760px){.mill-barns-mark{margin:16px auto 22px}.mill-barns-mark img{width:38px;opacity:.72}}

/* Music and memories: two restrained editorial previews. */
.celebration-extras{padding:clamp(70px,9vw,120px) max(24px,calc((100vw - 1120px)/2));text-align:center}
.extras-heading{max-width:620px;margin:0 auto 42px}
.extras-heading h2{font-family:'Playfair Display',serif;font-weight:400;font-size:clamp(36px,5vw,62px);margin:14px 0}
.extras-heading h2 em,.memories-card h3 em{font-weight:400}
.extras-heading p{line-height:1.8}
.extras-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;text-align:center}
.extra-card{border:1px solid rgba(84,93,69,.22);padding:clamp(28px,4vw,52px) clamp(22px,3vw,40px);min-height:420px;display:flex;flex-direction:column;align-items:center;background:#faf8f2}
.extra-index{font-size:10px;letter-spacing:.2em;color:#7e816d;font-weight:600}
.indianas-wordmark{margin:42px auto 31px;color:#3d4939;font-family:'Playfair Display',serif;font-size:clamp(26px,3.2vw,39px);letter-spacing:.11em;line-height:1.2}
.indianas-wordmark strong{font-weight:600;display:block;letter-spacing:.065em}
.extra-card h3{font-family:'Playfair Display',serif;font-weight:400;font-size:clamp(27px,3vw,35px);margin:0 0 16px;color:#3c4739}
.extra-card p{line-height:1.85;max-width:370px;margin:0 auto 14px;font-size:14px}
.extra-link{margin-top:auto;padding:18px 0 8px;color:#3d4939;border-bottom:1px solid #ad9a73;text-decoration:none;letter-spacing:.14em;font-size:11px;font-weight:600}
.extra-link span{font-size:14px;margin-left:8px}
.extra-card .extra-footnote{font-size:11px;letter-spacing:.07em;color:#8a8a7d;margin-top:auto;padding-top:20px}
.music-card .extra-footnote{margin-top:10px;padding-top:0}
.memories-ornament{height:75px;margin:30px 0 17px;display:flex;align-items:center;gap:11px}
.memories-ornament span{width:28px;height:1px;background:#b9aa86}
.memories-ornament i{width:38px;height:38px;border:1px solid #b9aa86;transform:rotate(45deg);display:block;position:relative}
.memories-ornament i:after{content:'';position:absolute;inset:9px;border:1px solid #b9aa86}
@media(max-width:760px){.celebration-extras{padding:65px 22px}.extras-grid{grid-template-columns:1fr;gap:16px}.extra-card{min-height:0;padding:34px 26px 38px}.indianas-wordmark{margin:30px auto 25px}.memories-ornament{margin:22px 0 15px}.extra-card .extra-footnote{margin-top:22px}}

/* Music and Memories: official band artwork and fine-line camera */
.indianas-logo-wrap{width:min(100%,360px);height:118px;margin:14px auto 12px;display:flex;align-items:center;justify-content:center}
.indianas-logo{display:block;width:100%;height:auto;max-height:108px;object-fit:contain}
.memories-ornament i{display:none}
.memories-ornament .memories-camera{width:57px;height:57px;flex:none;color:#998866;display:block}
@media(max-width:760px){.indianas-logo-wrap{width:min(100%,300px);height:100px;margin:8px auto 10px}.indianas-logo{max-height:94px}.memories-ornament .memories-camera{width:51px;height:51px}}

/* Balanced footer monogram spacing on desktop and mobile. */
.footer-names{display:flex;align-items:baseline;justify-content:center;gap:.30em;white-space:nowrap;}
.footer-names em{display:inline-block;margin:0!important;font-size:.88em;line-height:1;}
.footer-names span{display:inline-block;}
@media(max-width:420px){.footer-names{gap:.24em;font-size:38px;}}

/* Final optical spacing for the script ampersand, including its long swashes. */
.hero h1 em { margin-left:.27em; margin-right:.29em; }
.footer-names { display:flex; align-items:baseline; justify-content:center; gap:0; white-space:nowrap; }
.footer-names span { display:inline-block; }
.footer-names em { display:inline-block; flex:none; font-size:.82em; margin:0 .42em !important; line-height:1; }
@media(max-width:600px){
 .hero h1 em { margin-left:.21em; margin-right:.23em; }
 .footer-names em { margin-left:.35em !important; margin-right:.38em !important; }
}

/* Balanced name spacing: no literal whitespace or oversized script margins. */
.hero h1 em {display:inline-block; margin:0 .10em !important;}
.footer-names {gap:0 !important;}
.footer-names em {display:inline-block; margin:0 .12em !important;}
@media(max-width:600px){.hero h1 em{margin:0 .09em !important}.footer-names em{margin:0 .11em !important}}

/* Plain upright ampersand, same serif family as names, with natural word spacing. */
.hero h1 .plain-amp, .footer-names .plain-amp {font-family:'Playfair Display',serif; font-style:normal; font-weight:400; color:#bdab80; letter-spacing:normal; display:inline-block; margin:0 .16em; line-height:1; vertical-align:baseline;}
.hero h1 .plain-amp {font-size:.74em;}
.footer-names .plain-amp {font-size:.76em; margin:0 .17em;}
@media(max-width:600px){.hero h1 .plain-amp{margin:0 .12em}.footer-names .plain-amp{margin:0 .14em}}

/* Official band logo is the link; preserve original visual layout. */
a.indianas-logo-wrap { display: block; text-decoration: none; cursor: pointer; }
a.indianas-logo-wrap:focus-visible { outline: 2px solid #cbb78c; outline-offset: 5px; }

/* Photo journal: intentionally asymmetric, not a uniform sticker grid. */
.memory-interlude .memory-grid, .gallery .memory-grid {
  display:grid; columns:auto; column-gap:clamp(9px,1.4vw,20px); row-gap:clamp(9px,1.4vw,20px);
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-template-rows:repeat(3,clamp(120px,17vw,245px));
  align-items:stretch; max-width:1100px; margin:0 auto;
}
.memory-interlude .memory-grid img, .gallery .memory-grid img,
.memory-interlude .memory-grid img.proposal-gallery-photo,
.gallery .memory-grid img.sunset-gallery-photo {
  display:block; width:100%; height:100%; min-width:0; min-height:0;
  max-width:none; margin:0; aspect-ratio:auto; object-fit:cover;
  border-radius:2px; box-shadow:none; grid-row:auto; grid-column:auto;
}
.memory-grid img:nth-child(1){grid-column:1 / span 7;grid-row:1 / span 2}
.memory-grid img:nth-child(2){grid-column:8 / span 5;grid-row:1}
.memory-grid img:nth-child(3){grid-column:8 / span 5;grid-row:2}
.memory-grid img:nth-child(4){grid-column:1 / span 4;grid-row:3}
.memory-grid img:nth-child(5){grid-column:5 / span 4;grid-row:3}
.memory-grid img:nth-child(6){grid-column:9 / span 4;grid-row:3}
/* Alternate the visual rhythm between chapters. */
.memory-interlude.tinted .memory-grid img:nth-child(1),
.gallery .memory-grid img:nth-child(1){grid-column:6 / span 7}
.memory-interlude.tinted .memory-grid img:nth-child(2),
.gallery .memory-grid img:nth-child(2){grid-column:1 / span 5}
.memory-interlude.tinted .memory-grid img:nth-child(3),
.gallery .memory-grid img:nth-child(3){grid-column:1 / span 5}
.memory-grid img.proposal-gallery-photo{object-position:center 65%}
.memory-grid img.sunset-gallery-photo{object-position:36% center}
@media(max-width:760px){
 .memory-interlude .memory-grid,.gallery .memory-grid{
   grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;
   grid-auto-rows:auto;gap:10px;
 }
 .memory-interlude .memory-grid img,.gallery .memory-grid img,
 .memory-interlude .memory-grid img.proposal-gallery-photo,
 .gallery .memory-grid img.sunset-gallery-photo{
   grid-column:auto;grid-row:auto;aspect-ratio:4 / 5;height:auto;object-fit:cover;
 }
 .memory-interlude .memory-grid img:first-child,.gallery .memory-grid img:first-child{
   grid-column:1 / -1;grid-row:auto;aspect-ratio:5 / 3;
 }
 .memory-interlude .memory-grid img:last-child,.gallery .memory-grid img:last-child{
   grid-column:1 / -1;grid-row:auto;aspect-ratio:16 / 9;
 }
}

/* Editorial refinement: portrait-friendly proportions and considered focal points. */
@media(min-width:761px){
.memory-interlude .memory-grid,.gallery .memory-grid{
 grid-template-columns:repeat(12,minmax(0,1fr));
 grid-template-rows:repeat(4,clamp(90px,10.5vw,145px));
 gap:clamp(10px,1.4vw,18px);
}
.memory-grid img:nth-child(1){grid-column:1 / span 6;grid-row:1 / span 4}
.memory-grid img:nth-child(2){grid-column:7 / span 3;grid-row:1 / span 2}
.memory-grid img:nth-child(3){grid-column:10 / span 3;grid-row:1 / span 2}
.memory-grid img:nth-child(4){grid-column:7 / span 2;grid-row:3 / span 2}
.memory-grid img:nth-child(5){grid-column:9 / span 2;grid-row:3 / span 2}
.memory-grid img:nth-child(6){grid-column:11 / span 2;grid-row:3 / span 2}
.memory-interlude.tinted .memory-grid img:nth-child(1),.gallery .memory-grid img:nth-child(1){grid-column:7 / span 6;grid-row:1 / span 4}
.memory-interlude.tinted .memory-grid img:nth-child(2),.gallery .memory-grid img:nth-child(2){grid-column:1 / span 3;grid-row:1 / span 2}
.memory-interlude.tinted .memory-grid img:nth-child(3),.gallery .memory-grid img:nth-child(3){grid-column:4 / span 3;grid-row:1 / span 2}
.memory-interlude.tinted .memory-grid img:nth-child(4),.gallery .memory-grid img:nth-child(4){grid-column:1 / span 2;grid-row:3 / span 2}
.memory-interlude.tinted .memory-grid img:nth-child(5),.gallery .memory-grid img:nth-child(5){grid-column:3 / span 2;grid-row:3 / span 2}
.memory-interlude.tinted .memory-grid img:nth-child(6),.gallery .memory-grid img:nth-child(6){grid-column:5 / span 2;grid-row:3 / span 2}
.memory-grid img{object-position:center 30%}
.memory-grid img.proposal-gallery-photo{object-position:center 65%}
.memory-grid img.sunset-gallery-photo{object-position:36% center}
}
@media(max-width:760px){
.memory-interlude .memory-grid img,.gallery .memory-grid img{object-position:center 28%}
.memory-interlude .memory-grid img:first-child,.gallery .memory-grid img:first-child{aspect-ratio:4 / 5}
.memory-interlude .memory-grid img:last-child,.gallery .memory-grid img:last-child{aspect-ratio:4 / 5}
.memory-interlude .memory-grid img.sunset-gallery-photo,.gallery .memory-grid img.sunset-gallery-photo{object-position:36% center;aspect-ratio:4 / 3}
}

/* Soft editorial photo edges: restrained rounding and a gentle shadow. */
.memory-interlude .memory-grid img, .gallery .memory-grid img,
.memory-interlude .memory-grid img.proposal-gallery-photo,
.gallery .memory-grid img.sunset-gallery-photo {
 border-radius: 12px;
 box-shadow: 0 5px 20px rgba(31, 39, 29, .09);
}
@media(max-width:760px){
 .memory-interlude .memory-grid img, .gallery .memory-grid img {
  border-radius: 9px; box-shadow: 0 3px 12px rgba(31, 39, 29, .08);
 }
}

/* Wedding day: original venue photograph, extremely subtle, behind content only. */
.day.olive {
  position: relative;
  isolation: isolate;
  background-color: #303d2f;
}
.day.olive::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("images/mill-barns-wedding-day.jpg");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  opacity: .12;
}
@media (max-width: 700px) {
  .day.olive::before { background-position: center center; opacity: .10; }
}

/* Mobile stacking correction: override all desktop editorial tile placement. */
@media (max-width:760px) {
  .memory-interlude .memory-grid, .gallery .memory-grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-template-rows:none !important;
    grid-auto-rows:auto !important;
    grid-auto-flow:row !important;
    gap:10px !important;
    align-items:start;
    width:100%;
  }
  .memory-interlude .memory-grid > img, .gallery .memory-grid > img,
  .memory-interlude.tinted .memory-grid > img, .gallery .memory-grid > img:nth-child(n) {
    grid-column:auto !important;
    grid-row:auto !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:4/5 !important;
    min-width:0 !important;
    object-fit:cover !important;
    align-self:stretch;
  }
  .memory-interlude .memory-grid > img:first-child, .gallery .memory-grid > img:first-child {
    grid-column:1 / -1 !important;
    aspect-ratio:4/5 !important;
  }
  .memory-interlude .memory-grid > img:last-child, .gallery .memory-grid > img:last-child {
    grid-column:1 / -1 !important;
    aspect-ratio:4/5 !important;
  }
  .memory-interlude .memory-grid > img.sunset-gallery-photo, .gallery .memory-grid > img.sunset-gallery-photo {
    aspect-ratio:4/3 !important;
  }
  .day.olive > * { position:relative; z-index:1; }
}


/* Mobile typography: prevent isolated one-word script lines. */
@media (max-width: 760px) {
  .intro h2, .feature-copy h2 {
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: normal;
  }
  .intro h2 em, .feature-copy h2 em {
    display: inline-block;
    white-space: nowrap;
    font-size: 1em;
  }
  .intro h2 { font-size: clamp(34px, 9vw, 48px); line-height: 1.28; }
  .feature-copy h2 { font-size: clamp(33px, 8.5vw, 46px); line-height: 1.28; }
  .intro p, .feature-copy p { text-wrap: pretty; }
  .day.olive::before {
    background-position: center 32%;
    background-size: cover;
  }
}
@media (max-width: 380px) {
  .intro h2 { font-size: 33px; }
  .feature-copy h2 { font-size: 32px; }
}

/* The photo-journal title belongs at the beginning of the chapters. */
.scrapbook-intro{padding:42px max(24px,calc((100vw - 1200px)/2)) 0}
.scrapbook-intro .gallery-note{margin:0 auto;max-width:1200px}
@media(max-width:760px){.scrapbook-intro{padding:34px 22px 0}.scrapbook-intro .gallery-note{font-size:22px}}

/* Align the timber roof apex to the open apex of the small venue emblem.
   Using image width rather than cover keeps the building's centreline stable. */
.day.olive::before{inset:0;top:0;background-size:100% auto;background-position:center 8px;opacity:.12}
@media(max-width:760px){
 .day.olive::before{background-size:100% auto;background-position:center 185px;opacity:.10}
}

/* Compact editorial rhythm: reduce excessive whitespace and long mobile scroll. */
section.intro{padding-top:76px;padding-bottom:66px}
.scrapbook-intro{padding-top:12px;padding-bottom:0}
.memory-interlude,.gallery{padding-top:45px;padding-bottom:52px}
.memory-heading{margin-bottom:18px;padding-bottom:11px}
.memory-interlude .memory-grid,.gallery .memory-grid{
  grid-template-rows:repeat(3,clamp(92px,11.5vw,156px));
  gap:clamp(8px,1vw,14px);
  max-width:1000px;
}
.day{padding-top:78px;padding-bottom:70px}
.day-grid{margin-top:48px;margin-bottom:42px}
.feature{padding-top:48px}
.feature-image{max-width:680px}
.feature-image img{max-height:560px}
.feature-copy{padding-top:38px;padding-bottom:52px}
.gallery-lead{margin-bottom:28px}
.practical{padding-top:68px;padding-bottom:70px}
.rsvp{padding-top:72px;padding-bottom:75px}
@media(max-width:760px){
  section.intro{padding:66px 22px 48px}
  .scrapbook-intro{padding:8px 20px 0}
  .memory-interlude,.gallery{padding:32px 17px 38px}
  .memory-heading{margin-bottom:14px;padding-bottom:10px;gap:5px}
  .memory-interlude .memory-grid,.gallery .memory-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
    max-width:540px;
  }
  .memory-interlude .memory-grid > img,.gallery .memory-grid > img,
  .memory-interlude.tinted .memory-grid > img,.gallery .memory-grid > img:nth-child(n){
    grid-column:auto !important;grid-row:auto !important;
    aspect-ratio:4/5 !important;height:auto !important;
    width:100% !important;object-fit:cover !important;
  }
  .memory-interlude .memory-grid > img:first-child,.gallery .memory-grid > img:first-child,
  .memory-interlude .memory-grid > img:last-child,.gallery .memory-grid > img:last-child{
    grid-column:auto !important;aspect-ratio:4/5 !important;
  }
  /* One wide image per chapter, not two giant full-width portraits. */
  .memory-interlude .memory-grid > img:nth-child(3),
  .gallery .memory-grid > img:nth-child(3){
    grid-column:1/-1 !important;aspect-ratio:16/9 !important;
  }
  .memory-interlude .memory-grid > img.sunset-gallery-photo,
  .gallery .memory-grid > img.sunset-gallery-photo{aspect-ratio:4/5 !important}
  .day{padding:65px 18px 55px}
  .day-grid{margin:30px auto 28px;gap:22px}
  .feature{padding:34px 16px 0}
  .feature-image{max-width:480px;margin:auto}
  .feature-image img{width:100%;max-height:480px;object-fit:contain}
  .feature-copy{padding:30px 12px 42px}
  .practical{padding:50px 20px}
  .rsvp{padding-top:55px;padding-bottom:60px}
}

/* Balanced photo journal: 5-photo chapter fills every cell, six-photo chapters
   use complete pairs on phones. No oversized orphaned last image. */
@media (min-width:761px) {
  .memory-interlude[aria-label="The little things"] .memory-grid { grid-template-rows:repeat(2,clamp(120px,15vw,205px)); }
  .memory-interlude[aria-label="The little things"] .memory-grid > img:nth-child(1) {grid-column:1 / span 6;grid-row:1 / span 2;}
  .memory-interlude[aria-label="The little things"] .memory-grid > img:nth-child(2) {grid-column:7 / span 3;grid-row:1;}
  .memory-interlude[aria-label="The little things"] .memory-grid > img:nth-child(3) {grid-column:10 / span 3;grid-row:1;}
  .memory-interlude[aria-label="The little things"] .memory-grid > img:nth-child(4) {grid-column:7 / span 3;grid-row:2;}
  .memory-interlude[aria-label="The little things"] .memory-grid > img:nth-child(5) {grid-column:10 / span 3;grid-row:2;}
}
@media (max-width:760px) {
  .memory-interlude .memory-grid, .gallery .memory-grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-template-rows:none !important;
    grid-auto-flow:row !important;
    gap:10px !important;
    align-items:stretch;
  }
  .memory-interlude .memory-grid > img, .gallery .memory-grid > img,
  .memory-interlude.tinted .memory-grid > img, .gallery .memory-grid > img:nth-child(n),
  .memory-interlude .memory-grid > img:first-child, .gallery .memory-grid > img:first-child,
  .memory-interlude .memory-grid > img:last-child, .gallery .memory-grid > img:last-child,
  .memory-interlude .memory-grid > img:nth-child(3), .gallery .memory-grid > img:nth-child(3) {
    grid-column:auto !important;
    grid-row:auto !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:4/5 !important;
    object-fit:cover !important;
    margin:0 !important;
  }
  /* The first chapter has five photographs because the cover photo is not repeated. */
  .memory-interlude[aria-label="The little things"] .memory-grid > img:last-child {
    grid-column:1 / -1 !important;
    aspect-ratio:16/9 !important;
  }
  .gallery .memory-grid > img.sunset-gallery-photo {object-position:36% center;}
}

/* Favourite feature photograph: match the softened editorial galleries. */
.feature-image { overflow:visible; border-radius:14px; }
.feature-image img { display:block; border-radius:14px; box-shadow:0 16px 38px rgba(15,25,17,.22),0 3px 12px rgba(15,25,17,.12); }
@media (max-width:760px) {
  .feature-image,.feature-image img { border-radius:11px; }
  .feature-image img { box-shadow:0 10px 24px rgba(15,25,17,.20); }
}

/* The actual favourite photograph, ghosted behind its feature section. */
.feature { position:relative; isolation:isolate; overflow:hidden; }
.feature::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:url("images/photo-20.jpg");
  background-repeat:no-repeat; background-position:center 42%; background-size:cover;
  opacity:.10;
}
.feature > * { position:relative; z-index:1; }
@media(max-width:760px) { .feature::before { background-position:center 38%; } }

/* RSVP guest-specific dietary fields and read-only summary */
#dietary-per-guest{display:grid;gap:1rem;margin-top:1rem}#dietary-per-guest label{display:grid;gap:.4rem}#dietary-per-guest textarea{width:100%;box-sizing:border-box;min-height:70px}#rsvp-complete ul{margin:.6rem 0 1.3rem;padding-left:1.4rem}#rsvp-complete li{margin:.35rem 0}#complete-accommodation:empty{display:none}

/* Stay & Travel: additive styles; existing RSVP styles unchanged */
.stay-travel{padding:clamp(70px,9vw,125px) max(24px,calc((100vw - 1100px)/2));text-align:center}
.stay-travel h2{margin:12px 0 22px}.stay-lead{max-width:720px;margin:0 auto 36px;line-height:1.8}.stay-subhead{font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:clamp(27px,3vw,38px);margin:45px 0 22px;color:#454b35}.stay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;text-align:left}.stay-card{border:1px solid rgba(94,95,68,.24);background:rgba(255,255,255,.55);padding:24px;border-radius:6px;display:flex;flex-direction:column;gap:12px}.stay-card h4{font-family:'Playfair Display',Georgia,serif;font-size:23px;font-weight:400;margin:0;color:#414b35}.stay-card p{margin:0;line-height:1.6}.stay-link{display:inline-block;align-self:flex-start;color:#4c573d;text-decoration:underline;text-underline-offset:4px;font-size:14px}.stay-link:hover{color:#92774c}.stay-note{max-width:700px;margin:0 auto 22px;line-height:1.7}.stay-footnote{font-size:13px;opacity:.8;max-width:750px;margin:35px auto 0;line-height:1.7}@media(max-width:640px){.stay-grid{grid-template-columns:1fr}.stay-card{padding:20px}.stay-travel{padding:65px 20px}}

/* Private travel recommendations, inside successful guest lookup */
.private-stay-travel{padding:32px 18px;margin:28px 0;border-radius:16px}
@media(max-width:600px){.private-stay-travel{padding:24px 12px}}

/* Private accommodation choice UI */
.room-decision{border:0;padding:12px 0;margin:12px 0}.room-decision legend{font-weight:700;margin-bottom:10px}.room-decision label{display:block;margin:10px 0;line-height:1.5;cursor:pointer}.room-decision input{margin-right:8px}.allocated-room{font-weight:700}#venue-booking{padding:16px;border-radius:12px;background:rgba(115,125,86,.1)}#stay[hidden],#venue-booking[hidden],.room-decision[hidden]{display:none!important}

/* Personalised on-site room booking */
#venue-booking{margin-top:1.2rem;padding:1.3rem;background:#f8f7f1;border:1px solid #d8ddcf;border-radius:16px}
#venue-booking[hidden]{display:none!important}
.wedding-booking-code{background:#fff;padding:1rem;border-radius:12px;margin:1rem 0;font-size:1.05rem;border:1px solid #d8ddcf}
.wedding-booking-code strong{font-size:1.5rem;letter-spacing:.08em;white-space:nowrap}
.room-booking-warning{padding:1rem;border-left:5px solid #9a6545;background:#fff7ed;margin:1rem 0;border-radius:5px}
.room-booking-warning p{margin:.55rem 0 0}
.venue-booking-link{display:block;text-align:center;padding:1rem 1.25rem;border-radius:12px;background:#586a50;color:#fff!important;text-decoration:none;font-weight:700;margin:1rem 0}
.venue-booking-link:hover,.venue-booking-link:focus-visible{background:#41533b}
@media(max-width:600px){#venue-booking{padding:1rem}.wedding-booking-code strong{font-size:1.3rem}}

/* Song request link in The Indianas card */
.music-card .song-request-link{display:inline-block;padding:12px 24px;border:1px solid currentColor;border-radius:999px;text-decoration:none;font-weight:600;transition:opacity .2s ease}
.music-card .song-request-link:hover,.music-card .song-request-link:focus-visible{opacity:.72}

/* Photos are decorative, not clickable. */
.memory-grid img { cursor: default !important; }

/* Compact stay and travel recommendations */
.travel-fold{margin:16px auto;max-width:900px;border:1px solid rgba(94,95,68,.24);border-radius:10px;background:rgba(255,255,255,.48);overflow:hidden}.travel-fold>summary{cursor:pointer;list-style:none;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-family:'Playfair Display',Georgia,serif;font-size:clamp(20px,2.5vw,26px);color:#414b35}.travel-fold>summary::-webkit-details-marker{display:none}.travel-fold>summary:after{content:'+';font:normal 26px Arial,sans-serif;margin-left:auto}.travel-fold[open]>summary:after{content:'−'}.travel-fold .fold-hint{font:normal 12px Arial,sans-serif;letter-spacing:.04em;opacity:.7}.travel-fold-content{padding:0 20px 22px}.travel-fold-content .stay-subhead{font-size:22px;margin:10px 0 18px}.travel-fold-content .stay-card{padding:16px}.travel-fold-content .stay-card h4{font-size:20px}.guest-dietary select{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid rgba(94,95,68,.35);border-radius:5px;background:#fff;color:#414b35;font:inherit}.guest-dietary textarea[hidden]{display:none!important}.guest-dietary textarea{margin-top:10px}

/* Verified invitation: day and evening wording */
#invitation-celebration-title{font:400 clamp(26px,4vw,36px)/1.25 'Playfair Display',serif;color:var(--olive);margin:14px 0 12px}
#invitation-celebration-message{font:italic 17px/1.75 'Playfair Display',serif;max-width:520px;margin:0 auto 16px;color:#59644e}
#invitation-occasion{font-weight:600;line-height:1.85}

/* October mobile refinement: preserve the full faces in the opening portrait. */
@media (max-width:760px) {
  .hero { min-height:650px; height:100svh; background:#263226; }
  .hero-photo {
    background-size:100% auto;
    background-position:center top;
    background-repeat:no-repeat;
    background-color:#263226;
  }
  .hero-shade { background:linear-gradient(to bottom,rgba(22,31,23,.08) 0%,rgba(22,31,23,.14) 30%,rgba(22,31,23,.82) 76%,#263226 100%); }
  .hero-content { padding-top:clamp(230px,47svh,420px); padding-bottom:35px; }
  .hero h1 { margin-top:15px; margin-bottom:12px; }
  .hero-scroll { display:none; }
  .nav { position:fixed; height:60px; background:rgba(42,54,39,.96); border-bottom:1px solid rgba(231,219,190,.22); backdrop-filter:blur(10px); z-index:100; }
  .nav nav { top:60px; box-shadow:0 14px 30px rgba(0,0,0,.18); padding:20px 24px 26px; }
  .nav nav a { padding:10px 8px; }
  .nav nav a.nav-rsvp { text-align:center; }
  html { scroll-padding-top:70px; }
  .intro { padding:64px 20px 52px !important; }
  .scrapbook-intro { padding-top:14px !important; }
  .memory-interlude,.gallery { padding:28px 16px 34px !important; }
  .memory-heading { margin-bottom:18px !important; }
  .memory-interlude .memory-grid,.gallery .memory-grid { gap:8px !important; }
  .memory-interlude .memory-grid > img,.gallery .memory-grid > img { aspect-ratio:4/5 !important; }
  .day { padding:64px 20px 54px !important; }
  .day-grid { margin:30px auto 26px !important; gap:22px !important; }
  .feature { padding-top:25px !important; }
  .feature-copy { padding:34px 20px 46px !important; }
  .celebration-extras { padding:45px 20px !important; }
  .rsvp { padding:65px 20px 70px !important; }
  .gallery-lead { margin-bottom:20px !important; }
}


/* 22 October: full-bleed hero, anchored to the top of the portrait to keep faces visible. */
@media (min-width:761px) {
  .hero-photo { background:url('images/photo-01.jpg') center top / cover no-repeat !important; }
}
/* Keep remaining images in balanced rows after the eight removals. */
@media (max-width:760px) {
  .memory-interlude .memory-grid,.gallery .memory-grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
    align-items:stretch !important;
  }
  .memory-interlude .memory-grid img,.gallery .memory-grid img {
    width:100% !important;
    height:100% !important;
    aspect-ratio:4/5 !important;
    object-fit:cover !important;
    grid-column:auto !important;
    grid-row:auto !important;
  }
  .memory-interlude .memory-grid img:last-child:nth-child(odd),
  .gallery .memory-grid img:last-child:nth-child(odd) {
    grid-column:1/-1 !important;
    aspect-ratio:16/9 !important;
  }
}

/* Desktop hero: intentional editorial split, avoiding portrait-image cropping. */
@media (min-width:761px) {
  .hero {
    min-height:690px;
    height:min(860px,100svh);
    background:#293629;
    justify-content:flex-start;
    text-align:center;
    overflow:hidden;
  }
  .hero-photo {
    inset:0 0 0 auto;
    width:51%;
    background-image:url('images/photo-01.jpg') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    background-size:cover !important;
  }
  .hero-shade {
    background:linear-gradient(90deg,rgba(26,38,28,.18) 0%,rgba(26,38,28,.04) 49%,rgba(26,38,28,.07) 100%);
    pointer-events:none;
  }
  .hero-content {
    width:49%;
    max-width:none;
    padding:92px 28px 35px;
    z-index:2;
  }
  .hero h1 {
    font-size:clamp(60px,6.2vw,105px);
    letter-spacing:-3px;
    white-space:nowrap;
  }
  .hero-date {font-size:clamp(11px,1vw,14px);letter-spacing:2.5px;}
  .hero-place {font-size:10px;letter-spacing:2px;}
  .hero-scroll {left:24.5%;transform:translateX(-50%);}
  .nav {background:rgba(30,41,31,.25);}
}
@media (min-width:761px) and (max-width:1100px) {
  .hero-photo {width:53%;}
  .hero-content {width:47%;padding-left:12px;padding-right:12px;}
  .hero h1 {font-size:clamp(48px,6vw,74px);letter-spacing:-2px;}
}

/* October 22 gallery repair: every image occupies an explicit filled cell.
   Overrides older six-photo editorial placement rules. */
.memory-interlude .memory-grid, .gallery .memory-grid {
  display:grid; columns:auto; grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:none; grid-auto-rows:auto; gap:clamp(10px,1.4vw,18px);
  max-width:1050px; align-items:stretch;
}
.memory-interlude .memory-grid > img, .gallery .memory-grid > img,
.memory-interlude.tinted .memory-grid > img, .gallery .memory-grid > img.proposal-gallery-photo {
  grid-column:auto; grid-row:auto; width:100%; height:100%; aspect-ratio:4 / 3;
  object-fit:cover; min-width:0; margin:0;
}
/* Five photos: one panoramic lead followed by two complete pairs. */
.memory-interlude .memory-grid:has(> img:nth-child(5):last-child) > img:first-child {
  grid-column:1 / -1; grid-row:auto; aspect-ratio:2 / 1;
}
@media(max-width:760px){
  .memory-interlude .memory-grid, .gallery .memory-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px;
  }
  .memory-interlude .memory-grid > img, .gallery .memory-grid > img,
  .memory-interlude.tinted .memory-grid > img, .gallery .memory-grid > img.proposal-gallery-photo {
    grid-column:auto; grid-row:auto; aspect-ratio:4 / 5; height:100%;
  }
  .memory-interlude .memory-grid:has(> img:nth-child(5):last-child) > img:first-child {
    grid-column:1 / -1; aspect-ratio:16 / 9;
  }
}
