/* FOREVER A.R.T — editorial wedding redesign
   Replace the existing style.css with this file. Keep the existing assets/ and script.js. */
:root {
  --espresso: #3b2115;
  --brown: #4b2c1b;
  --mocha: #876047;
  --caramel: #b79573;
  --beige: #e7d4b9;
  --ivory: #f6eee1;
  --paper: #efe2cf;
  --ink: #38271d;
  --muted: #8a7462;
  --gold: #c6a574;
  --line: rgba(89, 61, 42, .22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", Arial, sans-serif;
  --script: "Pinyon Script", cursive;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .025em;
  line-height: 1.7
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
select,
textarea {
  font: inherit
}

button,
a {
  -webkit-tap-highlight-color: transparent
}

::selection {
  background: var(--brown);
  color: var(--ivory)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(54, 31, 19, .97);
  color: #f5e9d7;
  box-shadow: 0 5px 24px #1c100b22;
  backdrop-filter: blur(14px)
}

.nav {
  max-width: 1440px;
  min-height: 76px;
  margin: auto;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px
}

.nav-logo-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--espresso);
  border: 1px solid rgba(201, 168, 120, 0.55);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s, border-color 0.25s;
}

.nav-logo-link:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: #d8bc91;
}

.nav-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.nav-links li a {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 12px 0;
  opacity: .86;
  transition: opacity .25s, color .25s;
}

.nav-links li a:hover,
.nav-links li a:focus-visible {
  color: #d8bc91;
  opacity: 1;
}

.nav-links li:nth-child(3) {
  margin-right: 48px;
}

.nav-links li:nth-child(4) {
  margin-left: 48px;
}

.nav-cta {
  border: 1px solid #bda078;
  padding: 10px 20px !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: 0;
  color: var(--ivory)
}

.nav-drawer,
.drawer-overlay {
  display: none
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: min(690px, 76vw);
  height: 650px;
  max-height: calc(100vh - 76px);
  overflow: hidden;
  background: #25140b;
  isolation: isolate;
  order: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 100%;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  filter: brightness(0.82) saturate(0.95);
}

.hero-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, #25140b 100%),
    linear-gradient(to top, rgba(37, 20, 11, 0.65) 0%, transparent 28%),
    linear-gradient(to bottom, rgba(37, 20, 11, 0.45) 0%, transparent 20%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(25, 13, 7, .35) 100%);
  pointer-events: none;
}

.hero-center {
  position: relative;
  z-index: 3;
  width: min(450px, 42%);
  margin-right: clamp(16px, 4vw, 56px);
  text-align: center;
  color: #f8eddd;
  padding: 24px 12px;
}

.hero-crest-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 1px solid #d4b887;
  border-radius: 50%;
  outline: 1px solid #d4b887;
  outline-offset: 6px;
  background: rgba(60, 36, 24, 0.7);
  backdrop-filter: blur(4px);
}

.hero-logo-full {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.theme-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #d7bb8f;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 9px;
  padding: 4px 14px;
  border: 1px solid rgba(215, 187, 143, 0.3);
  border-radius: 30px;
  background: rgba(43, 24, 13, 0.45);
}

.theme-pill-dot {
  width: 4px;
  height: 4px;
  background: #d7bb8f;
  border-radius: 50%;
}

.hero-theme-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  margin: 12px 0 8px;
  letter-spacing: .04em;
  color: #fcf6ee;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-gold-line {
  width: 75px;
  height: 1px;
  background: var(--gold);
  margin: 14px auto;
}

.hero-fullname {
  font-family: var(--serif);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.35;
  margin: 0 auto 14px;
  max-width: 380px;
  color: #f7ede0;
}

.hero-details-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #e5d3bc;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 12px 23px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  transition: all .25s;
  cursor: pointer
}

.btn-primary {
  background: var(--beige);
  color: var(--espresso);
  border: 1px solid var(--beige)
}

.btn-primary:hover {
  background: #f7ebd8;
  transform: translateY(-2px)
}

.btn-outline {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor
}

.btn-outline:hover {
  background: #ffffff17
}

.hero-ctrl-btn,
.hero-slide-footer {
  z-index: 4
}

.hero-ctrl-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #f4e5d1a6;
  background: #2c1b13a6;
  color: #fff;
  border-radius: 50%;
  cursor: pointer
}

.hero-prev {
  left: 25px
}

.hero-next {
  right: 25px
}

.hero-slide-footer {
  position: absolute;
  left: 10%;
  bottom: 22px;
  display: right;
  align-items: left;
  gap: 16px;
  color: #f6ead9;
  font-size: 10px;
  letter-spacing: .15em
}

.hero-indicators {
  display: flex;
  gap: 7px
}

.hero-indicators button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f4e8d4aa;
  cursor: pointer
}

.hero-indicators button.active {
  background: #f4e8d4
}

.quote-banner {
  display: none !important
}

.countdown-bar {
  display: block !important;
  order: 3;
  background: var(--espresso);
  color: var(--ivory);
  padding: 20px 18px 24px;
  text-align: center
}

.story-section {
  order: 4;
  background: var(--espresso);
  color: var(--ivory);
  padding: 0
}

.story-container {
  max-width: 1400px;
  margin: auto;
  padding: 0
}

.section-title-wrap {
  margin: 0 auto 34px;
  text-align: center
}

.story-section>.story-container>.section-title-wrap {
  display: none
}

.story-lead {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 360px
}

.story-photos {
  position: relative;
  min-height: 360px;
  order: 2;
  overflow: hidden
}

.story-photo {
  position: absolute;
  inset: 0
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.16) saturate(.8)
}

.story-photo-back {
  display: none
}

.story-photo-front {
  inset: 0
}

.story-photo-front img {
  border: 0
}

.polaroid-caption,
.story-handwriting {
  display: none
}

.story-text {
  padding: clamp(36px, 6vw, 84px);
  align-self: center;
  order: 1
}

.story-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 43px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 20px
}

.story-body {
  font-size: 13px;
  line-height: 1.9;
  color: #e1d0bc;
  max-width: 480px;
  margin: 0 0 16px;
}

.story-signoff {
  margin-top: 24px;
  border-top: 1px solid #c5a77b66;
  padding-top: 18px
}

.story-script {
  font-family: var(--script);
  font-size: 31px;
  margin: 0;
  color: #d7bd96
}

.story-date {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d7c3ac
}

.details-section {
  order: 2;
  background: var(--paper);
  color: var(--ink);
  padding: 54px clamp(20px, 6vw, 90px) 50px;
  position: relative;
  overflow: hidden
}

.details-floral-corner {
  position: absolute;
  width: clamp(90px, 13vw, 170px);
  pointer-events: none;
  opacity: .65;
  mix-blend-mode: multiply;
  z-index: 1
}

.details-floral-corner.top-left {
  top: -6px;
  left: -6px
}

.details-floral-corner.top-right {
  top: -6px;
  right: -6px;
  transform: scaleX(-1)
}

.details-floral-corner.bottom-left {
  bottom: -6px;
  left: -6px;
  transform: scaleY(-1)
}

.details-floral-corner.bottom-right {
  bottom: -6px;
  right: -6px;
  transform: scale(-1, -1)
}

.details-floral-garland {
  max-width: 320px;
  margin: 0 auto 16px;
  pointer-events: none;
  opacity: .8;
  mix-blend-mode: multiply
}

.floral-garland-img {
  width: 100%;
  height: auto;
  display: block
}

.details-inner {
  max-width: 1160px;
  margin: auto;
  position: relative;
  z-index: 2
}

.details-section .section-title-wrap {
  margin-bottom: 28px
}

.details-eyebrow {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .23em;
  color: #8b725a
}

.details-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(27px, 3.2vw, 39px);
  line-height: 1.1;
  margin: 8px 0
}

.details-invitation-sub {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: #7e654e;
  margin: 4px 0 0
}

.details-accent-line {
  height: 1px;
  width: 55px;
  background: #9e805c;
  margin: 15px auto
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0
}

.detail-card {
  padding: 12px 24px;
  text-align: center;
  border-right: 1px solid var(--line)
}

.detail-card:last-child {
  border-right: 0
}

.detail-num {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  color: #87674a;
  line-height: 1.2;
  margin-bottom: 8px
}

.detail-icon-svg {
  height: 32px;
  width: 32px;
  object-fit: contain;
  margin: auto
}

.detail-card h3 {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 7px 0;
  color: #59412f
}

.detail-card p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
  margin: 0
}

.detail-card .detail-sub {
  font-family: var(--sans);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #8b7561;
  margin-top: 8px
}

.venue-strip {
  display: block;
  margin-top: 36px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(59, 33, 21, .12);
  border: 1px solid #d4b88755;
  max-height: 360px
}

.venue-strip img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 50%;
  display: block;
  transition: transform .7s ease;
  filter: sepia(.1) saturate(.9)
}

.venue-strip:hover img {
  transform: scale(1.03)
}

.venue-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(38, 20, 11, .88) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px 30px
}

.venue-content {
  color: #fff
}

.venue-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #d7bd96;
  margin-bottom: 4px
}

.venue-name {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 28px);
  margin: 0 0 4px;
  font-weight: 400;
  color: #fbf7f0
}

.venue-caption {
  font-size: 12px;
  color: #e5d3bc;
  margin: 0
}

.slideshow-section {
  order: 5;
  background: linear-gradient(180deg, #f7f0e5 0%, #efe2cf 100%);
  padding: 48px clamp(20px, 5vw, 72px) 54px;
  position: relative;
}

.slideshow-header {
  max-width: 1200px;
  margin: 0 auto 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.slideshow-header-text {
  text-align: left;
}

.slideshow-eyebrow {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #8e7255;
  font-weight: 500;
}

.slideshow-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 4px 0 0;
  color: #3b2115;
}

.slideshow-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14px, 1.4vw, 16px);
  color: #72573f;
  margin: 6px 0 0;
}

.slideshow-counter-box {
  display: flex;
  align-items: center;
  background: #3b2115;
  color: #f6eee1;
  border: 1px solid rgba(198, 165, 116, 0.65);
  border-radius: 30px;
  padding: 6px 18px;
  box-shadow: 0 4px 14px rgba(59, 33, 21, 0.15);
}

.slideshow-counter {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
}

.slideshow-wrapper {
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.slideshow {
  position: relative;
  width: 100%;
  height: clamp(400px, 64vh, 620px);
  border-radius: 14px;
  overflow: hidden;
  background: #2b180d;
  box-shadow: 0 20px 48px rgba(59, 33, 21, 0.18), 0 0 0 1px rgba(198, 165, 116, 0.35);
  cursor: pointer;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: scale(1.03);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: sepia(.06) contrast(1.02);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  user-select: none;
  display: block;
}

.slideshow:hover .slide.active img {
  transform: scale(1.035);
}

.slide-zoom-hint {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  background: rgba(35, 18, 10, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(198, 165, 116, 0.65);
  color: #f6eee1;
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 11px;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.slideshow:hover .slide-zoom-hint {
  background: #c6a574;
  color: #2b180d;
  border-color: #f6eee1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 165, 116, 0.4);
}

.zoom-icon {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.slide-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 60px 24px 24px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 24px);
  letter-spacing: 0.03em;
  text-align: center;
  background: linear-gradient(to top, rgba(35, 18, 10, 0.94) 0%, rgba(35, 18, 10, 0.65) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.slide-caption::after {
  content: "Tap photo to view high-resolution image";
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e7d4b9;
  opacity: 0.88;
  margin-top: 4px;
}

.slide-btn,
.slide-fullscreen-btn {
  position: absolute;
  z-index: 5;
  border-radius: 50%;
  border: 1px solid rgba(198, 165, 116, 0.7);
  background: rgba(43, 24, 13, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f6eee1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.slide-btn {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 28px;
  line-height: 1;
}

.slide-prev {
  left: 18px;
}

.slide-next {
  right: 18px;
}

.slide-btn:hover {
  background: #c6a574;
  color: #2b180d;
  transform: translateY(-50%) scale(1.12);
  border-color: #f6eee1;
  box-shadow: 0 6px 22px rgba(198, 165, 116, 0.45);
}

.slide-fullscreen-btn {
  right: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
}

.slide-fullscreen-btn:hover {
  background: #c6a574;
  color: #2b180d;
  transform: scale(1.1);
  border-color: #f6eee1;
}

.slide-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  z-index: 4;
}

.slide-dots button {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  width: 22px;
  height: 5px;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-dots button.active {
  background: #c6a574;
  border-color: #f6eee1;
  width: 36px;
}

.slideshow-thumbs-wrap {
  display: block;
  max-width: 1200px;
  margin: 18px auto 0;
  overflow-x: auto;
  padding: 6px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: #c6a574 #efe2cf;
}

.slideshow-thumbs-wrap::-webkit-scrollbar {
  height: 6px;
}
.slideshow-thumbs-wrap::-webkit-scrollbar-track {
  background: #e7d4b9;
  border-radius: 10px;
}
.slideshow-thumbs-wrap::-webkit-scrollbar-thumb {
  background: #c6a574;
  border-radius: 10px;
}

.slideshow-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  min-width: min-content;
}

.gallery-thumb {
  flex: 0 0 84px;
  width: 84px;
  height: 60px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #3b2115;
  opacity: 0.65;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  user-select: none;
  display: block;
}

.gallery-thumb:hover {
  opacity: 0.95;
  transform: translateY(-3px);
  border-color: rgba(198, 165, 116, 0.6);
}

.gallery-thumb:hover img {
  transform: scale(1.08);
}

.gallery-thumb.active {
  opacity: 1;
  border-color: #c6a574;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 6px 18px rgba(198, 165, 116, 0.45);
}

/* GALLERY LIGHTBOX MODAL */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 9, 5, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 92vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lightboxZoomIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoomIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-top-bar {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e7d4b9;
  padding: 0 10px 10px;
}

.lightbox-brand {
  font-family: var(--serif);
  font-size: 18px;
  color: #c6a574;
  letter-spacing: 0.05em;
}

.lightbox-counter {
  background: rgba(198, 165, 116, 0.2);
  border: 1px solid rgba(198, 165, 116, 0.45);
  padding: 3px 14px;
  border-radius: 20px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #f6eee1;
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(198, 165, 116, 0.55);
  color: #f6eee1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: #c6a574;
  color: #1c0e07;
  transform: rotate(90deg);
}

.lightbox-stage {
  position: relative;
  max-height: 78vh;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(198, 165, 116, 0.35);
  background: #1c0e07;
}

.lightbox-stage img {
  max-height: 68vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lightbox-caption {
  width: 100%;
  background: rgba(28, 14, 8, 0.95);
  color: #f6eee1;
  padding: 14px 20px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(15px, 1.8vw, 20px);
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(198, 165, 116, 0.25);
  box-sizing: border-box;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 16, 9, 0.85);
  border: 1px solid rgba(198, 165, 116, 0.65);
  color: #f6eee1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.lightbox-prev {
  left: max(-60px, calc((100% - 900px) / 2 - 60px));
}

.lightbox-next {
  right: max(-60px, calc((100% - 900px) / 2 - 60px));
}

.lightbox-nav-btn:hover {
  background: #c6a574;
  color: #1c0e07;
  transform: translateY(-50%) scale(1.15);
  border-color: #f6eee1;
}

body.lightbox-open {
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .lightbox-dialog {
    max-width: 96vw;
    max-height: 96vh;
    padding: 0 4px;
  }

  .lightbox-top-bar {
    padding: 0 4px 8px;
    font-size: 11px;
  }

  .lightbox-brand {
    font-size: 14px;
  }

  .lightbox-close {
    top: -38px;
    right: 0;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .lightbox-stage {
    max-height: 72vh;
    border-radius: 8px;
  }

  .lightbox-stage img {
    max-height: 60vh;
    max-width: 96vw;
  }

  .lightbox-caption {
    font-size: 13.5px;
    padding: 10px 12px;
  }

  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .lightbox-prev {
    left: 4px;
    background: rgba(30, 16, 9, 0.9);
  }

  .lightbox-next {
    right: 4px;
    background: rgba(30, 16, 9, 0.9);
  }
}

.attire-section {
  order: 6;
  background: #f6eee1;
  padding: clamp(52px, 6vw, 76px) clamp(20px, 5vw, 40px);
  border-bottom: 1px solid var(--line);
}

.attire-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.attire-header {
  display: block;
  margin-bottom: 22px;
}

.attire-eyebrow {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #8e7255;
  font-weight: 500;
}

.attire-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 400;
  color: #3b2115;
  margin: 6px 0 0;
  letter-spacing: .03em;
}

.attire-accent-line {
  width: 52px;
  height: 1px;
  background: #c6a574;
  margin: 14px auto 0;
}

.attire-body {
  display: block;
  max-width: 740px;
  margin: 0 auto;
}

.attire-intro-txt {
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.8;
  text-align: center;
  color: #6c5643;
  margin: 0 auto 10px;
  max-width: 660px;
}

.attire-palette-wrap {
  margin: 34px auto 0;
  max-width: 680px;
}

.palette-title {
  display: block;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #92775c;
  margin-bottom: 20px;
  font-weight: 500;
}

.attire-swatches {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(14px, 3.5vw, 36px);
  margin: 0 auto;
}

.attire-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 1 100px;
}

.swatch {
  width: clamp(52px, 6.2vw, 70px);
  height: clamp(52px, 6.2vw, 70px);
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 6px 20px rgba(76, 45, 26, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swatch:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 24px rgba(76, 45, 26, 0.24);
}

.swatch-name {
  display: block;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
  color: #4b2c1b;
  line-height: 1.3;
}

.swatch-hex {
  display: block;
  font-size: 8.5px;
  color: #9c8471;
  letter-spacing: .06em;
  margin-top: 3px;
  font-family: var(--sans);
}

.attire-note {
  font-size: 12.5px;
  color: #6c5440;
  text-align: center;
  margin: 34px auto 0;
  max-width: 600px;
  padding: 14px 24px;
  background: rgba(239, 226, 207, 0.55);
  border: 1px solid rgba(198, 165, 116, 0.45);
  border-radius: 10px;
  line-height: 1.65;
}

.faq-section {
  order: 8;
  background: #f4eadb;
  padding: 42px clamp(20px, 5vw, 70px)
}

.faq-inner {
  max-width: 1160px;
  margin: auto
}

.faq-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 22px
}

.faq-eyebrow {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #92775c
}

.faq-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 35px);
  margin: 4px 0
}

.faq-intro {
  max-width: 340px;
  font-size: 11px;
  color: #806a56
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 34px
}

.faq-item {
  border-bottom: 1px solid var(--line)
}

.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border: 0;
  background: none;
  color: #59412f;
  text-align: left;
  cursor: pointer
}

.faq-q-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: #92775c
}

.faq-a {
  display: none;
  padding: 0 25px 14px 0;
  color: #806a56;
  font-size: 12px;
  line-height: 1.8
}

.faq-item.open .faq-a {
  display: block
}

.gifting-section {
  order: 7;
  background: #f4eadb;
  padding: 42px clamp(20px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.gifting-inner {
  max-width: 650px;
  margin: auto;
  text-align: center
}

.gifting-icon-wrap {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px
}

.gifting-monogram {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.gifting-floral-divider {
  max-width: 240px;
  margin: 10px auto 14px;
  opacity: .75;
  mix-blend-mode: multiply
}

.gifting-eyebrow {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #92775c
}

.gifting-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 35px);
  margin: 5px 0
}

.gifting-accent-line {
  width: 44px;
  height: 1px;
  background: #9e805c;
  margin: 14px auto
}

.gifting-body {
  font-size: 12px;
  color: #806a56;
  max-width: 500px;
  margin: 12px auto
}

.gifting-thanks {
  font-family: var(--script);
  font-size: 26px;
  color: #79583e;
  margin: 20px 0 0
}

body {
  display: flex;
  flex-direction: column;
}

.gifting-section,
.faq-section {
  width: 100%;
  margin: 0;
}

.rsvp-section {
  order: 9;
  background: linear-gradient(0deg, rgba(57, 31, 17, .9), rgba(57, 31, 17, .82)), url("assets/images/venue.jpg") center 45%/cover;
  color: var(--ivory);
  padding: 38px 20px 42px;
  text-align: center
}

.rsvp-inner {
  max-width: 850px;
  margin: auto
}

.rsvp-header {
  margin-bottom: 18px
}

.rsvp-badge {
  display: none
}

.rsvp-eyebrow {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #d7bd96
}

.rsvp-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  margin: 6px 0
}

.rsvp-subtitle {
  font-size: 11px;
  color: #e3d1bd;
  margin: 8px auto 18px
}

.rsvp-status-bar {
  font-size: 10px;
  color: #e3d1bd;
  margin-bottom: 18px
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9d3a0;
  margin-right: 8px
}

.romantic-wedding-card {
  max-width: 740px;
  margin: auto;
  background: #f5ead9;
  color: #3f2a1c;
  padding: 26px clamp(18px, 4vw, 42px);
  text-align: left
}

.rsvp-form {
  display: block
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px
}

.form-group label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #72573f
}

.req {
  color: #9a593a
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #d9c6af;
  background: #fffaf3;
  color: #3f2a1c;
  padding: 12px 13px;
  outline: none;
  border-radius: 0;
  font-size: 12px
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #9b7855;
  box-shadow: 0 0 0 2px #b7957322
}

.rsvp-button-wrap {
  text-align: center;
  margin-top: 5px
}

.rsvp-submit {
  min-width: 190px
}

.rsvp-success {
  text-align: center;
  padding: 20px
}

.rsvp-success[hidden] {
  display: none
}

.success-crest-wrap {
  width: 60px;
  margin: 0 auto 12px
}

.success-monogram {
  width: 60px
}

.rsvp-success h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400
}

.success-summary {
  font-size: 12px;
  margin: 15px 0
}

.footer {
  order: 10;
  background: var(--espresso);
  color: #e8d6c0;
  text-align: center;
  padding: 35px 20px 28px
}

.footer-inner {
  max-width: 1100px;
  margin: auto
}

.footer-logo-link {
  display: block;
  width: 70px;
  margin: 0 auto 12px
}

.footer-logo {
  width: 70px;
  height: 70px;
  object-fit: contain
}

.footer-couple-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 2vw, 23px);
  margin: 8px 0
}

.footer-theme-tagline {
  font-family: var(--script);
  font-size: 27px;
  color: #d4b48a;
  margin: 0
}

.footer-gold-divider {
  width: 55px;
  height: 1px;
  background: #b99b70;
  margin: 18px auto
}

.footer-date,
.footer-palette,
.footer-msg {
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #cbb69f
}

.footer-msg {
  font-family: var(--serif);
  font-size: 16px;
  text-transform: none;
  letter-spacing: .04em
}

.footer-powered {
  font-size: 10px;
  margin-top: 20px;
  color: #bda890
}

.event-lab-link {
  color: #e8d6c0;
  text-decoration: underline;
  text-underline-offset: 3px
}

.reveal,
.reveal-left,
.reveal-right {
  opacity: 1 !important;
  transform: none !important
}

@media(min-width:1100px) {
  .hero {
    height: 610px
  }

  .hero-center {
    right: 8%;
    width: 36%
  }

  .details-section {
    padding-top: 34px;
    padding-bottom: 30px
  }

  .details-grid {
    max-width: 930px;
    margin: auto
  }

  .story-lead {
    min-height: 310px
  }

  .story-photos {
    min-height: 310px
  }

  .slideshow-section {
    padding-top: 36px;
    padding-bottom: 42px
  }

  .slideshow {
    height: clamp(360px, 56vh, 500px);
  }
}

@media(max-width:992px) {
  html {
    scroll-padding-top: 68px;
  }

  .nav {
    min-height: 68px;
    padding: 0 20px;
    justify-content: flex-start;
  }

  .nav-logo-link {
    width: 50px;
    height: 50px;
    left: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .nav-logo {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    margin-left: auto;
  }

  .nav-hamburger span {
    display: block;
    width: 23px;
    height: 1px;
    background: #f5e9d7;
  }

  .nav-drawer {
    display: block;
    position: fixed;
    z-index: 1200;
    top: 0;
    right: 0;
    width: min(84vw, 340px);
    height: 100dvh;
    background: var(--ivory);
    color: var(--ink);
    padding: 22px;
    transform: translateX(105%);
    transition: transform .35s;
    box-shadow: -12px 0 40px #0002;
  }

  .nav-drawer.open {
    transform: translateX(0);
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 15px;
  }

  .drawer-crest {
    width: 54px;
    height: 54px;
    object-fit: contain;
  }

  .nav-drawer-close {
    font-size: 30px;
    border: 0;
    background: none;
    color: var(--ink);
  }

  .drawer-links {
    list-style: none;
    padding: 20px 0;
    margin: 0;
  }

  .drawer-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 21px;
  }

  .drawer-links .drawer-cta {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8b6749;
  }

  .drawer-footer {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #92775c;
  }

  .drawer-overlay {
    position: fixed;
    z-index: 1100;
    inset: 0;
    background: #1b100bd1;
  }

  .drawer-overlay.active {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 32px 18px;
  }

  .hero-bg {
    width: 52%;
  }

  .hero-bg-img {
    object-position: center 10%;
  }

  .hero-bg:after {
    background: linear-gradient(to right, transparent 50%, #25140b 100%),
      linear-gradient(to top, rgba(37, 20, 11, 0.7) 0%, transparent 35%);
  }

  .hero-center {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 48%;
    max-width: 380px;
    margin-left: auto;
    padding: 14px 8px;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin: auto;
  }

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

  .detail-card:nth-child(2n) {
    border-right: 0;
  }
}

@media(max-width:760px) {
  html {
    scroll-padding-top: 60px;
  }

  .nav {
    min-height: 60px;
    padding: 0 16px;
  }

  .nav-logo-link {
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }

  .nav-logo {
    width: 36px;
    height: 36px;
  }

  .hero {
    position: relative;
    height: auto;
    min-height: calc(100svh - 60px);
    min-height: calc(100vh - 60px);
    max-height: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 16px 24px;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% 10%;
    filter: brightness(0.92) saturate(0.98);
  }

  .hero-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(37, 20, 11, 0.22) 0%,
      rgba(37, 20, 11, 0.0) 22%,
      rgba(37, 20, 11, 0.38) 52%,
      rgba(37, 20, 11, 0.86) 74%,
      #25140b 100%
    );
  }

  .hero-center {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 10px 12px 2px;
    text-align: center;
  }

  .hero-crest-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 33, 21, 0.85) 0%, rgba(37, 20, 11, 0.95) 100%);
    border: 1.5px solid rgba(198, 165, 116, 0.7);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    display: grid;
    place-items: center;
    outline-offset: 3px;
  }

  .hero-logo-full {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }

  .theme-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #e5cfb0;
    background: rgba(37, 20, 11, 0.75);
    border: 1px solid rgba(198, 165, 116, 0.45);
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 6px;
  }

  .hero-theme-title {
    font-family: var(--serif);
    font-size: clamp(28px, 7.5vw, 38px);
    font-weight: 400;
    color: #fbf7f0;
    margin: 4px 0 2px;
    letter-spacing: .04em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  }

  .hero-gold-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c6a574, transparent);
    margin: 8px auto 10px;
  }

  .hero-fullname {
    font-family: var(--serif);
    font-size: clamp(13px, 3.6vw, 15.5px);
    font-weight: 300;
    color: #eddcc6;
    max-width: 320px;
    margin: 0 auto 8px;
    line-height: 1.35;
    letter-spacing: .03em;
  }

  .hero-details-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: clamp(9.5px, 2.7vw, 11.5px);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #c6a574;
    font-weight: 400;
  }

  .details-section {
    padding: 28px 16px 24px;
  }

  .details-floral-corner {
    width: clamp(65px, 15vw, 95px);
    opacity: .45;
  }

  .details-section .section-title-wrap {
    margin-bottom: 18px;
  }

  .details-title {
    font-size: 28px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: auto;
  }

  .detail-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    align-items: center;
    text-align: left;
    padding: 14px 6px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-card:last-child {
    border-bottom: 0;
  }

  .detail-num {
    grid-row: span 2;
    text-align: center;
    font-size: 26px;
    margin: 0;
  }

  .detail-icon-svg {
    margin: auto;
  }

  .detail-card h3 {
    margin: 0;
    font-size: 9px;
  }

  .detail-card p {
    font-size: 16px;
  }

  .detail-card .detail-sub {
    margin-top: 3px;
  }

  .story-lead {
    grid-template-columns: 1fr;
  }

  .story-photos {
    order: 1;
    min-height: 270px;
    height: 270px;
  }

  .story-photo img {
    object-position: center 14%;
  }

  .story-text {
    order: 2;
    padding: 22px 18px 24px;
  }

  .story-title {
    font-size: 28px;
    margin: 0 0 14px;
  }

  .story-body {
    font-size: 12.5px;
    line-height: 1.75;
    margin: 0 0 14px;
    min-height: 0;
  }

  .slideshow-section {
    padding: 30px 14px 38px;
  }

  .slideshow-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .slideshow-header-text {
    text-align: center;
  }

  .slideshow {
    height: clamp(320px, 52vh, 420px);
    border-radius: 10px;
  }

  .slide-caption {
    padding: 40px 14px 16px;
    font-size: 15px;
  }

  .slide-btn {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .slide-prev {
    left: 10px;
  }

  .slide-next {
    right: 10px;
  }

  .gallery-thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 48px;
  }

  .attire-section {
    padding: 34px 18px 36px;
  }

  .attire-inner {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .attire-header {
    margin-bottom: 16px;
  }

  .attire-eyebrow {
    font-size: 8.5px;
    letter-spacing: .22em;
  }

  .attire-title {
    font-size: 26px;
    margin-top: 4px;
  }

  .attire-accent-line {
    width: 44px;
    margin: 10px auto 0;
  }

  .attire-body {
    display: block;
    max-width: 100%;
    margin: 0 auto;
  }

  .attire-intro-txt {
    font-size: 12px;
    line-height: 1.65;
    margin-bottom: 8px;
    color: #6c5643;
  }

  .attire-palette-wrap {
    margin-top: 20px;
  }

  .palette-title {
    display: block;
    font-size: 8.5px;
    letter-spacing: .18em;
    margin-bottom: 14px;
    color: #92775c;
  }

  .attire-swatches {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
  }

  .attire-swatch {
    flex: 1 1 0;
    max-width: 66px;
    min-width: 0;
  }

  .swatch {
    width: clamp(38px, 11vw, 48px);
    height: clamp(38px, 11vw, 48px);
    margin: 0 auto 6px;
    box-shadow: 0 3px 10px rgba(76, 45, 26, 0.16);
  }

  .swatch-name {
    font-size: 7.5px;
    letter-spacing: .04em;
    line-height: 1.25;
    word-break: break-word;
  }

  .swatch-hex {
    display: block;
    font-size: 7px;
    color: #9c8471;
    margin-top: 2px;
  }

  .attire-note {
    font-size: 11px;
    line-height: 1.55;
    margin-top: 22px;
    padding: 12px 14px;
    background: rgba(239, 226, 207, 0.55);
    border: 1px solid rgba(198, 165, 116, 0.4);
    border-radius: 8px;
  }

  .nav-drawer {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: min(85vw, 320px);
  }

  .nav-drawer-close {
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    cursor: pointer;
  }

  .nav-hamburger {
    min-width: 44px;
    min-height: 44px;
  }

  .gifting-section,
  .faq-section {
    width: 100%;
    min-height: 0;
    margin: 0;
    align-self: auto;
  }

  .gifting-section {
    padding: 32px 20px 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .faq-section {
    padding: 28px 20px 36px;
  }

  .faq-header {
    display: block;
  }

  .faq-intro {
    margin-top: 8px;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-q {
    padding: 14px 0;
  }

  .rsvp-section {
    padding: 32px 14px;
  }

  .rsvp-title {
    font-size: 30px;
  }

  .romantic-wedding-card {
    padding: 22px 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important; /* Prevents unwanted iOS Safari input auto-zoom on phones */
    padding: 12px 14px;
  }

  .rsvp-submit {
    min-height: 48px;
    font-size: 12px;
    letter-spacing: .12em;
    width: 100%;
  }

  .footer {
    padding: 30px 18px 25px;
  }

  .footer-logo-link,
  .footer-logo {
    width: 52px;
    height: 52px;
  }
}

@media(max-width:400px) {
  .nav-logo-link {
    width: 38px;
    height: 38px;
  }

  .nav-logo {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding: 16px 12px 20px;
  }

  .hero-crest-wrap {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
  }

  .hero-logo-full {
    width: 44px;
    height: 44px;
  }

  .hero-theme-title {
    font-size: 26px;
  }

  .hero-fullname {
    font-size: 12px;
  }

  .countdown-unit {
    min-width: 34px;
  }

  .bezel-ring {
    width: 36px;
    height: 36px;
    outline-offset: 2px;
  }

  .count-num {
    font-size: 15px;
  }

  .slideshow {
    height: clamp(280px, 46vh, 340px);
  }

  .gallery-thumb {
    flex: 0 0 58px;
    width: 58px;
    height: 42px;
  }

  .attire-swatches {
    gap: 4px;
  }

  .swatch {
    width: 34px;
    height: 34px;
  }

  .swatch-name {
    font-size: 6.5px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important
  }
}


/* Requested section order: 1 Home, 2 Details, 3 Countdown, 4 Story,
   5 Slideshow, 6 Attire, 7 Gifting, 8 FAQ, 9 RSVP, then footer. */
.countdown-header {
  margin-bottom: 10px
}

.countdown-caption {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #d7bd96
}

.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 38px)
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 58px
}

.bezel-ring {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #b99b70;
  border-radius: 50%;
  outline: 1px solid #b99b7055;
  outline-offset: 4px
}

.count-num {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  color: #f4e5d0
}

.count-label {
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #cbb69f
}

.countdown-sep {
  font-family: var(--serif);
  font-size: 25px;
  color: #b99b70;
  margin-top: -13px
}

.gifting-section {
  order: 7 !important
}

.faq-section {
  order: 8 !important;
  margin-top: 0 !important
}

.rsvp-section {
  order: 9 !important
}

.footer {
  order: 10 !important
}

@media(max-width:760px) {
  .countdown-bar {
    padding: 18px 8px 22px;
  }

  .countdown-inner {
    gap: clamp(6px, 2.5vw, 12px);
    width: 100%;
    max-width: 100%;
  }

  .countdown-unit {
    min-width: clamp(38px, 11.5vw, 46px);
  }

  .bezel-ring {
    width: clamp(38px, 11.5vw, 44px);
    height: clamp(38px, 11.5vw, 44px);
    outline-offset: 3px;
  }

  .count-num {
    font-size: clamp(17px, 4.8vw, 20px);
  }

  .count-label {
    font-size: clamp(6.5px, 2vw, 7.5px);
  }

  .countdown-sep {
    font-size: clamp(16px, 4vw, 19px);
    margin-top: -8px;
  }
}

.gallery-dot,
.hero-indicator {
  cursor: pointer;
}

.menu-open {
  overflow: hidden;
}