/* Cactus — una invitación impresa, romántica y clásica. */
:root {
  --paper:#f5f0e7;
  --ink:#4f4c33;
  --sand:#cdbca2;
  --serif:'Cormorant Garamond',Georgia,serif;
  --script:'Great Vibes',cursive;
  --cursive-font-family:var(--script);
  --space:clamp(72px,9vw,136px)}

html {
  scroll-behavior:smooth}
body {
  color:var(--ink);
  background:var(--paper)}
body.invitation-open {
  overflow-x:clip}
.page-wrapper {
  overflow:clip}
section {
  scroll-margin-top:0}
.section-padding {
  padding:var(--space) 6vw}
p {
  font-size:18px;
  line-height:1.7}
h2,h3,h4 {
  font-family:var(--serif);
  color:var(--ink)}
button,a {
  -webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:2px solid currentColor;
  outline-offset:5px}
.animate-gradient-text,.animate-icon-color,.animate-zoom-in-out,.animate-text-color {
  animation:none!important}
.animate-gradient-text {
  background:none;
  -webkit-text-fill-color:currentColor}
.eyebrow {
  font-family:'DM Sans',sans-serif;
  font-size:11px!important;
  letter-spacing:3px;
  text-transform:uppercase;
  line-height:1.6;
  margin-bottom:24px}
.chapter-heading {
  text-align:center;
  margin:0 auto 64px}
.chapter-heading h2 {
  font:400 clamp(42px,4.7vw,68px)/1.05 var(--serif);
  margin:0}
.chapter-heading .eyebrow {
  margin-bottom:16px}
.mw-btn,.mw-btn:hover,.btn-pre-page {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 22px;
  border:1px solid currentColor;
  border-radius:0;
  font:11px/1.5 'DM Sans',sans-serif;
  letter-spacing:1.5px;
  box-shadow:none}
.mw-btn:hover {
  letter-spacing:1.5px;
  background:var(--ink);
  color:var(--paper)!important}

/* The original envelope and wax seal surround a new paper invitation. */
.pre-page {
  height:100vh;
  height:100dvh}
.pre-page .inner {
  height:100%;
  width:100%;
  align-items:center;
  justify-content:center}
.pre-page .icon {
  width:min(480px,calc(100% - 40px));
  padding:40px 24px 32px;
  background:var(--paper);
  border:1px solid var(--sand);
  outline:1px solid #cdbca277;
  outline-offset:-12px;
  box-shadow:0 24px 80px #24241640;
  text-align:center;
  z-index:20}
.pre-page-content {
  padding:0}
.pre-page-content br {
  display:none}
.pre-page .welcome-text {
  font:400 clamp(46px,5vw,68px)/1.25 var(--script);
  color:var(--ink);
  margin:0 0 12px}
.pre-page .welcome-text-p {
  font:18px/1.5 var(--serif);
  color:var(--ink);
  max-width:250px;
  margin:22px auto 0}
.pre-page .eyebrow,.pre-page .envelope-date {
  color:var(--ink)}
.envelope-date {
  font:12px/1.5 'DM Sans',sans-serif;
  letter-spacing:3px}
.seal-button {
  display:block;
  margin:18px auto 0;
  border:0;
  padding:0;
  background:none}
.pre-page .stamp {
  width:80px}
.pre-page .btn-pre-page,.pre-page .btn-pre-page:hover {
  width:210px;
  margin:20px auto 0;
  padding:12px 22px;
  background:transparent;
  color:var(--ink);
  border:1px solid var(--ink);
  font-size:11px}
.pre-page.is-opening {
  opacity:0;
  transition:opacity .85s ease;
  pointer-events:none}
.pre-page #env_top {
  transition:transform .85s ease}
.pre-page.is-opening #env_top {
  transform:translateY(-28%)}
#rotuloapi h1 {
  font:24px/1.3 var(--serif);
  color:var(--ink)}

/* Split cover: names on paper and a photograph cut into an arch. */
.hero.revamp-cover {
  height:auto;
  min-height:780px;
  display:grid;
  grid-template-columns:1fr 1.15fr;
  align-items:center;
  gap:5vw;
  padding:65px 9vw 70px;
  background:var(--paper);
  position:relative}
.hero .wedding-announcement {
  position:relative;
  inset:auto;
  display:block;
  width:auto;
  height:auto;
  z-index:2;
  text-align:left}
.hero .wedding-announcement .couple-name-merried-text {
  display:block;
  padding:0!important;
  margin:0}
.hero .wedding-announcement .couple-name-merried-text h2 {
  font:400 clamp(78px,8.2vw,132px)/.82 var(--serif);
  color:var(--ink);
  text-shadow:none;
  margin:0 0 40px;
  letter-spacing:-4px}
.couple-name-merried-text h2 span {
  display:block}
.couple-name-merried-text h2 em {
  display:block;
  font:400 .65em/.8 var(--script);
  color:#a68f6d;
  padding:16px 0 12px 18%}
.cover-date {
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:30px}
.cover-date>span:first-child {
  font:400 64px/1 var(--serif);
  border-right:1px solid var(--sand);
  padding-right:18px}
.cover-date>span:last-child {
  font:11px/1.8 'DM Sans',sans-serif;
  letter-spacing:3px}
.cover-place {
  font:italic 21px/1.5 var(--serif);
  margin:16px 0 30px}
.cover-discover {
  color:var(--ink)!important;
  display:inline-flex;
  align-items:center;
  gap:20px;
  font:11px/1.5 'DM Sans',sans-serif;
  letter-spacing:1px;
  padding:12px 0;
  border-bottom:1px solid var(--sand)}
.cover-discover svg {
  width:18px;
  height:18px}
.cover-visual {
  position:relative;
  z-index:1}
.cover-photo {
  border-radius:50% 50% 0 0;
  overflow:hidden;
  height:650px;
  outline:1px solid var(--sand);
  outline-offset:12px}
.cover-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:20% center}
.photo-caption {
  display:block;
  text-align:right;
  margin-top:26px;
  font:italic 17px/1.5 var(--serif)}
.cover-botanical {
  position:absolute;
  width:260px;
  left:-65px;
  bottom:-60px;
  opacity:.23;
  pointer-events:none}

.site-header.header-style-1 {
  z-index:50}
#mainNav {
  background:var(--ink);
  padding:12px 0;
  border:0}
#mainNav .nav-link,#mainNav .nav-link:hover {
  font:11px/1.5 'DM Sans',sans-serif;
  letter-spacing:1px;
  padding:14px 15px}
#mainNav .nav-link:hover,#mainNav .nav-link.active {
  color:var(--sand)!important}
#mainNav svg {
  height:48px;
  width:auto}

.revamp-date.count-down-section {
  background:#eae1d3;
  color:var(--ink)}
.count-down-section:before {
  display:none}
.date-layout {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:8vw;
  max-width:1120px;
  margin:auto;
  align-items:center}
.date-print {
  display:flex;
  align-items:center;
  gap:25px}
.date-day {
  font:400 clamp(110px,12vw,180px)/.85 var(--serif)}
.count-down-section .date-print h2 {
  font:italic 48px/1 var(--serif);
  color:var(--ink)}
.date-print small {
  display:block;
  font:18px/1.5 'DM Sans',sans-serif;
  letter-spacing:5px;
  margin-top:12px}
.std-date {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)}
.date-intro {
  font:italic 24px/1.4 var(--serif);
  text-align:center}
.count-down-section #clock {
  width:100%;
  display:flex;
  float:none;
  margin:0}
.count-down-section #clock>div {
  width:25%;
  padding:16px 6px;
  background:none!important;
  border:0;
  color:var(--ink)}
.count-down-section #clock>div+div {
  border-left:1px solid #4f4c3326}
.count-down-section #clock .box>div {
  font:400 48px/1 var(--serif);
  color:var(--ink)}
.count-down-section #clock .box span {
  font:10px/1.5 'DM Sans',sans-serif;
  letter-spacing:1px;
  display:block;
  margin-top:12px;
  color:var(--ink)}
.add-to-calendar {
  text-align:center;
  margin-top:28px}
.add-to-calendar h4 {
  font:italic 21px/1.5 var(--serif);
  color:var(--ink);
  margin-bottom:14px}
.calendar-buttons {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px}
.calendar-buttons a {
  width:auto!important;
  color:var(--ink)!important;
  border-color:#4f4c3360!important;
  background:none}

.couple-layout,.event-spreads,.hotel-grid,.rsvp-layout,.app-layout,.registry-layout {
  max-width:1120px;
  margin:auto}
.couple-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9vw;
  align-items:center}
.couple-portrait {
  position:relative}
.couple-portrait img {
  width:100%;
  height:610px;
  object-fit:cover;
  object-position:35% center}
.couple-portrait span {
  position:absolute;
  bottom:25px;
  left:25px;
  color:white;
  font:42px/1.2 var(--script);
  text-shadow:0 2px 14px #0006}
.couple-letters .chapter-heading {
  text-align:left;
  margin-bottom:38px}
.love-letter {
  border-top:1px solid var(--sand)}
.love-letter:last-child {
  border-bottom:1px solid var(--sand)}
.love-letter summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  list-style:none;
  padding:28px 0;
  cursor:pointer;
  font:48px/1.2 var(--script)}
.love-letter summary::-webkit-details-marker {
  display:none}
.love-letter small {
  display:block;
  font:10px/1.5 'DM Sans',sans-serif;
  text-transform:uppercase;
  letter-spacing:2px;
  margin-bottom:10px}
.letter-toggle {
  font:300 28px/1 var(--serif);
  width:40px;
  height:40px;
  border:1px solid var(--sand);
  border-radius:50%;
  display:grid;
  place-items:center}
.love-letter[open] .letter-toggle {
  transform:rotate(45deg)}
.letter-body {
  padding:0 0 30px}
.letter-body p {
  font:20px/1.65 var(--serif)}

.revamp-events {
  background:#ede6dc}
.event-spread {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:7vw;
  align-items:center;
  margin-top:70px}
.event-spread:nth-child(2) .event-photo {
  order:2}
.event-photo {
  position:relative}
.event-photo img {
  width:100%;
  height:460px;
  object-fit:cover}
.spread-number {
  position:absolute;
  left:-22px;
  top:-40px;
  font:100px/1 var(--serif);
  color:var(--paper);
  text-shadow:0 2px 10px #0001}
.event-copy .script-title {
  font:58px/1.2 var(--script);
  margin:0 0 26px}
.event-copy .white-text,.hotel-copy .white-text {
  color:var(--ink)!important}
.event-copy h4,.hotel-copy h4 {
  font:400 29px/1.2 var(--serif);
  letter-spacing:0}
.event-copy h5 {
  font:12px/1.5 'DM Sans',sans-serif;
  letter-spacing:2px;
  margin:20px 0}
.event-copy p,.hotel-copy p {
  font:18px/1.65 var(--serif)}
.event-copy .eyebrow {
  font-family:'DM Sans',sans-serif}
.event-links {
  display:flex;
  gap:12px;
  margin-top:25px;
  flex-wrap:wrap}
.see-location-btn {
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:12px 0;
  min-height:46px;
  color:var(--ink)!important;
  border:0;
  border-bottom:1px solid var(--sand);
  background:none!important;
  font:11px/1.5 'DM Sans',sans-serif;
  letter-spacing:1px;
  margin-right:14px}
.see-location-btn svg {
  width:18px;
  height:18px;
  fill:currentColor}
.revamp-dress {
  display:grid;
  grid-template-columns:1.25fr 1fr;
  background:var(--paper)}
.dress-photo img {
  width:100%;
  height:420px;
  object-fit:cover}
.dress-copy {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  padding:40px;
  position:relative;
  overflow:hidden}
.dress-copy h2 {
  font:italic 84px/1 var(--serif);
  z-index:1}
.dress-flourish {
  position:absolute;
  font:320px/1 var(--script);
  color:#cdbca22e;
  bottom:-70px;
  right:25px}

.revamp-timeline {
  background:var(--ink);
  color:var(--paper)}
.revamp-timeline .chapter-heading h2 {
  color:var(--paper)}
.wedding-timeline {
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px;
  max-width:1120px;
  padding:0;
  margin:auto;
  text-align:center}
.wedding-timeline li {
  position:relative;
  padding-top:10px}
.timeline-symbol {
  height:85px;
  margin-bottom:24px}
.timeline-symbol svg {
  width:64px;
  height:64px;
  fill:var(--sand)!important}
.timeline-symbol svg * {
  fill:var(--sand)!important}
.wedding-timeline h3 {
  font:italic 30px/1.3 var(--serif);
  color:var(--paper);
  margin:16px 0}
.wedding-timeline .date {
  font:11px/1.5 'DM Sans',sans-serif;
  letter-spacing:1px;
  color:var(--sand)}
.wedding-timeline p {
  font:18px/1.5 var(--serif);
  color:var(--paper)}

.hotel-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:55px}
.hotel-entry>img {
  width:100%;
  height:310px;
  object-fit:cover}
.hotel-copy {
  padding-top:28px}
.hotel-copy p {
  margin-top:15px}
.revamp-gallery {
  background:#eae1d3}
.revamp-gallery .gif-registration-slider {
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:45px;
  max-width:1120px;
  margin:auto;
  padding:0}
.revamp-gallery .register {
  width:auto;
  margin:0;
  grid-column:span 7}
.revamp-gallery .register:nth-child(2),.revamp-gallery .register:nth-child(3) {
  grid-column:span 5}
.revamp-gallery .register:nth-child(2) {
  padding-top:120px}
.revamp-gallery .register:nth-child(4) {
  padding-top:90px}
.revamp-gallery .register a {
  display:block;
  padding:12px 12px 40px;
  background:var(--paper);
  box-shadow:0 12px 30px #4f4c3312;
  transform:rotate(-2deg)}
.revamp-gallery .register:nth-child(even) a {
  transform:rotate(2deg)}
.revamp-gallery .register img {
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  object-fit:cover}
.album-signature {
  text-align:center;
  font:60px/1.5 var(--script);
  margin:65px 0 0}

.revamp-registry {
  background:var(--ink);
  color:var(--paper)}
.registry-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center}
.registry-layout .chapter-heading {
  margin:0;
  text-align:left}
.registry-layout h2 {
  color:var(--paper)}
.registry-link {
  display:flex;
  align-items:center;
  gap:28px;
  color:var(--paper)!important;
  padding:26px 0;
  border-block:1px solid #cdbca270}
.registry-link img {
  width:130px}
.registry-link>span {
  font:11px/1.8 'DM Sans',sans-serif;
  letter-spacing:1px}
.registry-link strong {
  display:block;
  font:30px/1.3 var(--serif);
  letter-spacing:2px}
.registry-arrow {
  margin-left:auto}
.registry-arrow svg {
  width:24px;
  height:24px}

.rsvp-layout {
  display:grid;
  grid-template-columns:.9fr 1fr;
  gap:8vw;
  align-items:start}
.rsvp-portrait img {
  width:100%;
  height:620px;
  object-fit:cover;
  object-position:35% center;
  border-radius:50% 50% 0 0}
.rsvp-content {
  padding-top:45px;
  min-width:0}
.rsvp-content .chapter-heading {
  text-align:left;
  margin-bottom:25px}
#rsvp-frame {
  display:block;
  width:100%;
  height:380px;
  border:0;
  margin:0}
.revamp-app {
  background:#ede6dc;
  padding:60px 6vw}
.app-layout {
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:60px;
  align-items:center}
.app-layout h2 {
  font:italic 36px/1.2 var(--serif);
  margin-bottom:22px}
.app-layout p {
  font:17px/1.6 var(--serif);
  color:var(--ink)!important}
.app-layout p a {
  color:var(--ink)!important;
  text-decoration:underline}
.app-links {
  display:flex;
  gap:12px;
  flex-wrap:wrap}
.app-links a {
  color:var(--ink)!important;
  background:none;
  border-color:var(--sand)}

.site-footer.revamp-footer {
  background:var(--ink);
  padding:90px 8vw 40px;
  text-align:center;
  color:var(--paper)}
.footer-names {
  font:400 clamp(62px,7.5vw,110px)/1.3 var(--serif);
  color:var(--paper);
  margin:0}
.footer-names em {
  font-family:var(--script);
  color:var(--sand)}
.footer-date {
  font:11px/1.6 'DM Sans',sans-serif;
  letter-spacing:4px;
  margin:20px 0 65px}
.footer-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  max-width:1120px;
  margin:auto;
  padding-top:28px;
  border-top:1px solid #cdbca240}
.footer-bottom p {
  font:15px/1.6 var(--serif);
  margin:0}
.footer-bottom a {
  font:24px/1.4 var(--serif)}
.footer-bottom img {
  width:90px;
  margin:0}
.site-footer .back-to-top {
  top:-24px}
.site-footer .back-to-top .back-to-top-btn {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  background:var(--ink);
  border:1px solid var(--sand);
  border-radius:50%}
.back-to-top-btn:before,.back-to-top-btn:after {
  display:none}
.back-to-top-btn svg {
  width:20px;
  height:20px;
  fill:none}

/* One audio controller across desktop, iPhone and Android. */
#my_audio  {
   display: none !important;
   }

/* Capital music control, using the Cactus olive and sand palette. */
#music_box.music-box {
  display:block!important;position:fixed;width:auto;height:auto;
  bottom:max(20px,env(safe-area-inset-bottom));right:20px;left:auto;z-index:550;
}
#music-button {
  display:flex;position:static;align-items:center;justify-content:center;gap:10px;
  width:auto;height:44px;padding:0 16px;border:1px solid rgba(205,188,162,.65);
  border-radius:30px;background:#4f4c33;color:#f5f0e7;
  box-shadow:0 3px 15px rgba(79,76,51,.12);
}
.music-status {font:10px/1 'Lora',serif}
.music-bars {display:flex;align-items:center;gap:3px;height:18px}
.music-bars span {width:2px;height:4px;background:#cdbca2}
.music-bars span:nth-child(2) {height:12px}
.music-bars span:nth-child(3) {height:8px}
.music-bars span:nth-child(4) {height:15px}
[aria-pressed="true"] .music-bars span {animation:capital-music .8s ease-in-out infinite alternate}
[aria-pressed="true"] .music-bars span:nth-child(2) {animation-delay:-.4s}
[aria-pressed="true"] .music-bars span:nth-child(3) {animation-delay:-.2s}
@keyframes capital-music {to{transform:scaleY(.3)}}
#music-button::after {display:none}
#music-button:focus-visible {outline:2px solid #cdbca2;outline-offset:5px}
body:not(.invitation-open) #music_box {visibility:hidden}

/* Native preview stays in the viewport without fixing the body. */
.gallery-open  {
   overscroll-behavior: none;
   scroll-behavior: auto;
   }

.cactus-lightbox  {
   width: 100vw;
   max-width: none;
   height: 100vh;
   height: 100dvh;
   max-height: none;
   margin: 0;
   padding: 70px 80px;
   border: 0;
   background: rgba(22,23,17,.97);
   color: #fff;
   overflow: hidden;
   overscroll-behavior: none;
   touch-action: pinch-zoom;
   }

.cactus-lightbox::backdrop  {
   background: #161711;
   }

.cactus-lightbox[open]  {
   display: grid;
   place-items: center;
   }

.cactus-lightbox figure  {
   margin: 0;
   width: 100%;
   height: 100%;
   min-height: 0;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 14px;
   }

.cactus-lightbox img  {
   max-width: 100%;
   max-height: calc(100% - 40px);
   min-height: 0;
   object-fit: contain;
   }

.cactus-lightbox figcaption  {
   font-size: 16px;
   }

.cactus-lightbox button  {
   position: absolute;
   width: 48px;
   height: 48px;
   border: 1px solid #ffffff60;
   background: transparent;
   border-radius: 50%;
   color: white;
   font: 32px/1 Georgia, serif;
   }

.lightbox-close  {
   right: 20px;
   top: 18px;
   }

.lightbox-prev  {
   left: 18px;
   top: calc(50% - 24px);
   }

.lightbox-next  {
   right: 18px;
   top: calc(50% - 24px);
   }


@media(max-width:991px) {
  .site-header,.site-header.sticky-header {
  height:auto}
.site-header #mainNav>.container {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  height:auto;
  padding-inline:24px}
#mainNav .navbar-toggler {
  border:0;
  width:46px;
  height:44px;
  padding:8px;
  font-size:20px}
#mainNav .navbar-collapse {
  position:static;
  flex-basis:100%;
  width:100%;
  padding:8px 0;
  max-height:65dvh;
  overflow-y:auto;
  box-shadow:none;
  background:var(--ink)}
#mainNav .nav-link,#mainNav .nav-link:hover {
  padding:12px 8px;
  margin:0}
.hero.revamp-cover {
  min-height:650px;
  padding:60px 7vw;
  gap:6vw}
.cover-photo {
  height:520px}
.couple-portrait img {
  height:480px}
.couple-layout {
  gap:6vw}
.event-spread {
  gap:5vw}
.event-photo img {
  height:380px}
.registry-layout {
  gap:30px}
.registry-link {
  gap:15px}
.registry-link img {
  width:100px}
.rsvp-layout {
  gap:5vw}
.rsvp-portrait img {
  height:540px}
}

@media(max-width:600px) {
  .section-padding {
  padding:72px 24px}
.chapter-heading {
  margin-bottom:40px}
.eyebrow {
  font-size:10px!important;
  letter-spacing:2px}
.hero.revamp-cover {
  min-height:0;
  display:flex;
  flex-direction:column;
  padding:48px 36px 42px;
  gap:40px}
.hero .wedding-announcement {
  text-align:center;
  width:100%}
.hero .wedding-announcement .couple-name-merried-text h2 {
  font-size:80px;
  line-height:.9;
  letter-spacing:-2px;
  margin-bottom:25px}
.couple-name-merried-text h2 span {
  display:inline}
.couple-name-merried-text h2 em {
  padding:8px 0 2px;
  font-size:42px}
.cover-date {
  justify-content:center;
  margin-top:0}
.cover-date>span:first-child {
  font-size:45px}
.cover-place {
  font-size:18px;
  margin:12px 0}
.cover-discover {
  display:none}
.cover-visual {
  width:100%}
.cover-photo {
  height:390px;
  outline-offset:8px}
.photo-caption {
  font-size:14px;
  margin-top:18px}
.cover-botanical {
  width:170px;
  bottom:0;
  left:-50px}
.date-layout,.couple-layout,.event-spread,.hotel-grid,.registry-layout,.rsvp-layout,.app-layout {
  grid-template-columns:1fr;
  gap:40px}
.date-heading {
  text-align:center}
.date-print {
  justify-content:center}
.date-day {
  font-size:130px}
.count-down-section .date-print h2 {
  font-size:40px}
.count-down-section #clock .box>div {
  font-size:38px}
.count-down-section #clock>div {
  padding:12px 3px}
.count-down-section #clock .box span {
  font-size:9px}
.calendar-buttons a {
  padding:12px 15px}
.couple-portrait img {
  height:440px}
.couple-letters .chapter-heading {
  text-align:center}
.love-letter summary {
  font-size:44px}
.event-spread {
  margin-top:55px;
  gap:28px}
.event-spread:nth-child(2) .event-photo {
  order:0}
.event-photo img {
  height:300px}
.spread-number {
  font-size:75px;
  left:-10px;
  top:-25px}
.event-copy .script-title {
  font-size:50px;
  margin-bottom:18px}
.event-copy .eyebrow {
  margin-bottom:14px}
.event-copy h4,.hotel-copy h4 {
  font-size:26px}
.revamp-dress {
  grid-template-columns:1fr}
.dress-photo img {
  height:280px}
.dress-copy {
  padding:55px 24px}
.dress-copy h2 {
  font-size:68px}
.dress-copy .eyebrow {
  margin-bottom:18px}
.dress-flourish {
  font-size:240px}
.wedding-timeline {
  grid-template-columns:1fr 1fr;
  gap:35px 20px}
.timeline-symbol {
  height:65px;
  margin-bottom:14px}
.timeline-symbol svg {
  width:52px;
  height:52px}
.wedding-timeline h3 {
  font-size:26px}
.wedding-timeline p {
  font-size:16px}
.wedding-timeline .date {
  font-size:10px}
.hotel-entry>img {
  height:230px}
.revamp-gallery .gif-registration-slider {
  gap:20px;
  grid-template-columns:1fr 1fr}
.revamp-gallery .register,.revamp-gallery .register:nth-child(2),.revamp-gallery .register:nth-child(3) {
  grid-column:span 1}
.revamp-gallery .register:nth-child(2) {
  padding-top:50px}
.revamp-gallery .register:nth-child(4) {
  padding-top:40px}
.revamp-gallery .register a {
  padding:6px 6px 20px}
.album-signature {
  font-size:46px;
  margin-top:38px}
.registry-layout .chapter-heading {
  text-align:center}
.registry-link {
  gap:20px}
.registry-link img {
  width:110px}
.registry-link strong {
  font-size:26px}
.rsvp-portrait img {
  height:390px}
.rsvp-content {
  padding:0}
.rsvp-content .chapter-heading {
  text-align:center}
.revamp-app {
  padding:48px 24px}
.app-layout {
  gap:22px}
.app-links {
  justify-content:center}
.site-footer.revamp-footer {
  padding:65px 24px 35px}
.footer-names {
  font-size:50px}
.footer-date {
  margin-bottom:40px}
.footer-bottom {
  gap:24px}
.footer-bottom p {
  font-size:13px}
.footer-bottom a {
  font-size:21px}
.footer-bottom img {
  width:75px}
#mainNav svg {
  height:42px}
.cactus-lightbox {
  padding:76px 14px 92px}
.cactus-lightbox .lightbox-prev,.cactus-lightbox .lightbox-next {
  top:auto;
  bottom:22px}

}

@media(max-width:360px) {
  .hero.revamp-cover {
  padding-inline:28px}
.hero .wedding-announcement .couple-name-merried-text h2 {
  font-size:70px}
.cover-photo {
  height:350px}
.section-padding {
  padding-inline:20px}
.registry-link {
  gap:12px}
.registry-link img {
  width:95px}
.registry-link strong {
  font-size:24px}
.footer-names {
  font-size:42px}
}

@media(max-height:600px) {
  .pre-page .icon {
  padding:22px}
.pre-page .welcome-text {
  font-size:44px}
.pre-page .eyebrow {
  margin-bottom:10px}
.pre-page .welcome-text-p {
  margin-top:10px}
.pre-page .stamp {
  width:55px}
.seal-button {
  margin-top:8px}
.pre-page .btn-pre-page {
  margin-top:10px}
}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto}
*,*:before,*:after {
  animation:none!important;
  transition:none!important}
.wow {
  visibility:visible!important}
}

#music_box.music-box {
  left:auto}
.cactus-lightbox figure {
  justify-content:center}

/* Resolve legacy ID and !important rules at the new section boundaries. */
#rsvp.revamp-rsvp {
  padding:var(--space) 6vw;
  background:var(--paper);
  background-image:none}

#rsvp .chapter-heading h2 {
  color:var(--ink)}

.event-copy h3.script-title {
  font-size:58px!important}

.wedding-timeline h3 {
  font-size:30px!important}

.rsvp-portrait img {
  object-position:left center}

@media(max-width:600px) {
  #rsvp.revamp-rsvp {
  padding:72px 24px}
.event-copy h3.script-title {
  font-size:50px!important}
.wedding-timeline h3 {
  font-size:26px!important}
}

.pre-page .btn-pre-page,.pre-page .btn-pre-page:hover {
  color:var(--ink)!important}

.see-location-btn {
  border-radius:0}

.revamp-timeline .eyebrow,.revamp-registry .eyebrow {
  color:var(--sand)}

#accomodations.revamp-hotels {
  background:var(--paper)}

.revamp-footer .footer-date {
  color:var(--sand)}

.revamp-footer .footer-bottom p {
  color:var(--paper)}

#features .app-links .mw-btn {
  background:transparent!important;
  color:var(--ink)!important;
  border-color:var(--sand)!important}

#features .app-links .mw-btn:hover {
  background:var(--ink)!important;
  color:var(--paper)!important}


@media(max-width:767px){
  #music_box.music-box {right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
  #music-button {width:44px;padding:0}
  .music-status {display:none}
}
@media(prefers-reduced-motion:reduce){#music-button .music-bars span {animation:none}}

/* Cover continues to the countdown; keep its heading below the sticky menu. */
#countdown {scroll-margin-top:104px}
#mainNav .navbar-toggler {border:0;border-radius:0;background:transparent;box-shadow:none}
#mainNav .navbar-toggler:focus {box-shadow:none}
@media(max-width:991px){#countdown {scroll-margin-top:84px}}

/* Show the hotels in their original panoramic proportion, without a frame. */
#accomodations .hotel-entry > img {
  display:block;width:100%;max-width:none;height:auto;aspect-ratio:16/9;
  object-fit:contain;object-position:center;border:0;padding:0;
  border-radius:0;box-shadow:none;background:transparent;
}

/* Geometric plus signs stay centered regardless of font metrics. */
.letter-toggle {flex-shrink:0}
.letter-toggle svg {display:block;width:18px;height:18px}
.revamp-footer .footer-bottom img {width:60px;height:auto}
@media(max-width:600px){.revamp-footer .footer-bottom img {width:48px}}

/* Calendar labels must remain readable against the pale date section. */
#countdown .calendar-buttons a.mw-btn,
#countdown .calendar-buttons a.mw-btn:visited,
#countdown .calendar-buttons a.mw-btn:hover,
#countdown .calendar-buttons a.mw-btn:focus-visible {
  color:#4f4c33!important;-webkit-text-fill-color:#4f4c33;
  background:transparent;border-color:#4f4c3360!important;
}

#rsvp .rsvp-content .chapter-heading {text-align:center}
.revamp-footer .footer-bottom img {width:42px;height:auto}
@media(max-width:600px){.revamp-footer .footer-bottom img {width:34px}}

/* Smaller signature with explicit, balanced spacing around the script ampersand. */
.revamp-footer .footer-names {
  display:flex;align-items:baseline;justify-content:center;gap:.22em;
  font-size:clamp(38px,5.5vw,80px);
}
.revamp-footer .footer-names em {
  font-style:normal;display:inline-block;padding-inline:.1em;
}
@media(max-width:600px) {
  .revamp-footer .footer-names {font-size:clamp(32px,9vw,44px);gap:.18em}
}

/* A compact album: native swipe, snap points and one highlighted Polaroid. */
.revamp-gallery .polaroid-carousel {
  display:flex;gap:24px;max-width:1120px;
  padding:30px 32%;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;
}
.revamp-gallery .polaroid-carousel::-webkit-scrollbar {display:none}
.revamp-gallery .polaroid-carousel .register {
  flex:0 0 100%;min-width:0;padding:0;margin:0;scroll-snap-align:center;
}
.revamp-gallery .polaroid-carousel .register a {
  padding:12px 12px 36px;transform:rotate(-3deg) scale(.9);
  transition:transform .35s,box-shadow .35s;
}
.revamp-gallery .polaroid-carousel .register:nth-child(even) a {transform:rotate(3deg) scale(.9)}
.revamp-gallery .polaroid-carousel .register.is-current a {
  transform:rotate(0) scale(1);box-shadow:0 16px 32px #4f4c3325;
}
.gallery-controls {display:flex;align-items:center;justify-content:center;gap:24px;margin-top:16px;color:var(--ink)}
.gallery-controls button {display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--sand);border-radius:50%;background:transparent;color:var(--ink);font:32px/1 Georgia,serif;cursor:pointer}
.gallery-controls button:hover {background:var(--paper)}
.gallery-counter {font:12px/1.5 'DM Sans',sans-serif;letter-spacing:2px;min-width:48px;text-align:center}
.polaroid-carousel:focus-visible,.gallery-controls button:focus-visible {outline:2px solid var(--ink);outline-offset:4px}
@media(max-width:600px) {
  .revamp-gallery .polaroid-carousel {padding-inline:14%;gap:18px}
  .revamp-gallery .polaroid-carousel .register a {padding:9px 9px 30px}
}
@media(prefers-reduced-motion:reduce) {
  .revamp-gallery .polaroid-carousel .register a {transition:none}
}

/* Bootstrap temporarily swaps navbar-collapse for collapsing during opening.
   Keep the same layout through both states, so links do not realign at the end. */
@media(max-width:991px) {
  #mainNav #navbarResponsive {
    position:static;flex-basis:100%;width:100%;padding:8px 0;
    max-height:65dvh;overflow-y:auto;box-shadow:none;background:var(--ink);
    text-align:center;
  }
  #mainNav #navbarResponsive.collapsing {overflow:hidden}
  #mainNav #navbarResponsive .navbar-nav {
    width:100%;margin:0!important;align-items:stretch;
  }
  .site-header #mainNav #navbarResponsive .nav-item .nav-link,
  .site-header #mainNav #navbarResponsive .nav-item:hover .nav-link {
    padding:12px 8px;margin:0;transition:color .2s;
  }
}

/* Keep the menu in normal flow: no fixed-position swap while scrolling. */
.navigation-slot {position:sticky;top:0;z-index:50;height:auto}
#myHeader.site-header {position:relative;top:auto;left:auto;width:100%}

body.invitation-open {overflow-x:clip;overflow-y:visible}

/* The expanded album keeps the warm paper and olive palette. */
.cactus-lightbox {
  padding:108px 96px 54px;
  background:radial-gradient(ellipse at center,#454532f5,#23241bf9);
}
.cactus-lightbox::backdrop {background:#23241be6;backdrop-filter:blur(8px)}
.lightbox-heading {position:absolute;top:24px;left:32px;pointer-events:none}
.lightbox-heading span {font:9px/1.6 'DM Sans',sans-serif;letter-spacing:2px;text-transform:uppercase;color:var(--sand)}
.lightbox-heading p {font:400 28px/1.2 var(--serif);color:var(--paper);margin:6px 0 0}
.cactus-lightbox figure {gap:16px}
.cactus-lightbox img {
  border:8px solid var(--paper);border-bottom-width:24px;
  box-shadow:0 24px 70px #0005;max-height:calc(100% - 34px);box-sizing:border-box;
}
.cactus-lightbox figcaption {font:11px/1.6 'DM Sans',sans-serif;letter-spacing:3px;color:var(--sand)}
.cactus-lightbox button {
  display:grid;place-items:center;border:1px solid #cdbca25c;
  background:#f5f0e708;color:var(--paper);cursor:pointer;transition:background .2s,border-color .2s;
}
.cactus-lightbox button:hover {background:#f5f0e71a;border-color:var(--sand)}
.cactus-lightbox button svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.cactus-lightbox .lightbox-close {right:28px;top:24px}
.cactus-lightbox[open] {animation:album-appear .25s ease-out}
@keyframes album-appear {from{opacity:0}to{opacity:1}}
@media(max-width:991px) {
  .cactus-lightbox {padding:96px 22px 106px}
  .lightbox-heading {left:22px;top:22px}
  .lightbox-heading p {font-size:25px}
  .cactus-lightbox .lightbox-close {right:22px;top:22px}
  .cactus-lightbox .lightbox-prev,.cactus-lightbox .lightbox-next {top:auto;bottom:max(24px,env(safe-area-inset-bottom))}
  .cactus-lightbox .lightbox-prev {left:calc(50% - 64px)}
  .cactus-lightbox .lightbox-next {right:calc(50% - 64px)}
  .cactus-lightbox img {border-width:6px;border-bottom-width:20px}
}
@media(prefers-reduced-motion:reduce) {.cactus-lightbox[open] {animation:none}}

/* Safari: focus on a heading is structural, not an interactive selection. */
.hero .wedding-announcement h2:focus {outline:none!important;box-shadow:none}
.hotel-copy a.hotel-phone,.hotel-copy a[x-apple-data-detectors],.hotel-copy a[href^="tel:"] {
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink);font:inherit;text-decoration:none;
}
/* Remove native button padding so Safari preserves an exact circular shape. */
.gallery-controls button,.cactus-lightbox button {
  -webkit-appearance:none;appearance:none;box-sizing:border-box;
  width:48px;height:48px;min-width:48px;max-width:48px;min-height:48px;max-height:48px;
  padding:0;margin:0;flex:0 0 48px;border-radius:50%;line-height:1;
  display:flex;align-items:center;justify-content:center;
}
.gallery-controls button svg,.cactus-lightbox button svg {
  display:block;flex:none;width:20px;height:20px;margin:0;fill:none;
  stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;
}
.cactus-lightbox button:focus {outline:none}
.cactus-lightbox button:focus-visible {outline:none;box-shadow:inset 0 0 0 1px var(--paper)}
@media(max-width:991px) {
  .cactus-lightbox .lightbox-prev {left:calc(50% - 80px)}
  .cactus-lightbox .lightbox-next {right:calc(50% - 80px)}
}

/* Returning focus from the lightbox must not add a second photo frame. */
#gallery .polaroid-carousel .register a:focus,
#gallery .polaroid-carousel .register a:focus-visible {outline:none!important}

/* Match the mobile app section's top space above the footer arrow. */
@media(max-width:600px) {
  .revamp-app {padding-bottom:72px}
}

/* Preserve the complete dress-code photograph on small screens. */
@media(max-width:600px) {
  .revamp-dress .dress-photo img {display:block;width:100%;height:auto;object-fit:contain}
}
