/* ==========================================================================
   General
   ========================================================================== */
/* Reserve space for scrollbar so layout doesn’t shift when Enter unlocks scroll */
html {
  scrollbar-gutter: stable;
  background-color: var(--bg-cream);
  background-image: var(--bg-cream-texture);
}

/* Fixed layer so overscroll/bounce above nav shows texture */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg-cream);
  background-image: var(--bg-cream-texture);
  background-repeat: repeat;
}

html.hero-scroll-lock,
body.hero-scroll-lock {
  overflow: hidden;
  height: 100%;
}

html.hero-scroll-unlocked,
body.hero-scroll-unlocked {
  overflow: auto !important;
  height: auto !important;
}
html, body {
  scroll-behavior: auto;
}

body.splash-active {
  overflow: hidden;
}

/* Full-page film grain – ties images into the page (luxury editorial feel) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

#top {
  background-color: var(--bg-cream);
  background-image: var(--bg-cream-texture);
}

.branch-wrap-divider {
  max-width: 180px;
  margin: 0 auto 2rem;
  color: var(--accent-color);
}

.branch-divider {
  width: 100%;
  height: auto;
  display: block;
  width: 280 ;
  height: 48;
}


/* ==========================================================================
   Hero Landing section 
   ========================================================================== */
   .logo-intro__inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem 4rem;
  }
  
  .logo-intro__monogram {
    font-family: var(--cursive-font);
    font-size: clamp(36px, 7vw + 0.7rem, 68px);
    font-weight: 300;
    color: var(--txt-primary);
    margin: 0 0 0.08em;
    line-height: 1;
    opacity: 0;
    animation: hero-fade-in 0.4s ease-out 0.5s forwards;
    position: relative;
  }
  
  .logo-intro__monogram-d,
  .logo-intro__monogram-e {
    display: inline-block;
    position: relative;
  }
  
  .logo-intro__monogram-d {
    margin-right: -0.3em;
    top: -0.34em;
  }
  
  .logo-intro__monogram-e {
    margin-left: -0.22em;
    top: 0.12em;
  }
  
  .logo-intro .logo-intro__names {
    font-size: clamp(48px, 8vw + 1rem, 80px);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--txt-primary);
    margin: 10px 0 10px 0;
    line-height: 1.1;
    opacity: 0;
    transform: scale(0.98);
    animation: hero-names-in 0.4s ease-out 0.7s forwards;
  }
  
  @media (max-width: 480px) {
    .logo-intro__names-sep {
      display: block;
    }
  }
  
  .logo-intro__branch-wrap {
    margin: 10px auto 10px auto;
    width: min(560px, 92vw);
    display: flex;
    justify-content: center;
  }
  
  .logo-intro__branch {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Leaf design (filled botanical SVG) */
  .logo-intro__branch--leaf {
    width: auto;
    object-fit: contain;
    object-position: center;
  }
  
  .logo-intro__branch-wrap .logo-intro__branch--leaf {
    max-height: min(480px, 62vh);
    width: 100%;
    height: auto;
  }
  
  /* Single image: fade in whole asset */
  .logo-intro__branch-wrap img.logo-intro__branch--leaf {
    opacity: 0;
    animation: hero-fade-in 0.4s ease-out 0.2s forwards;
  }
  
  /* Inline SVG: container holds SVG; paths fade in with staggered delay (set by JS) */
  .logo-intro__branch-wrap .logo-intro__branch--inline svg {
    width: 100%;
    height: auto;
    display: block;
    max-height: min(480px, 62vh);
  }
  .logo-intro__branch-wrap .logo-intro__branch--inline svg path {
    opacity: 0;
    animation: hero-fade-in 0.35s ease-out forwards;
  }
  .logo-intro__branch-wrap .logo-intro__branch--inline svg.hero-svg-anim path {
    opacity: 0;
  }
  .logo-intro__branch-wrap .logo-intro__branch--inline svg.hero-svg-anim path[data-hero-part="wreath"] {
    will-change: opacity;
  }
  
  /* Inlined wreath SVG text uses page font (Great Vibes) */
  .logo-intro__branch text,
  .nav__mini-branch-svg text {
    font-family: var(--cursive-font);
  }
  
  @media (prefers-reduced-motion: reduce) {
    .logo-intro__branch--leaf {
      animation: none;
      opacity: 1;
    }
    .logo-intro__branch-wrap .logo-intro__branch--inline svg path {
      animation: none;
      opacity: 1;
    }
  }
  
  .logo-intro__date {
    font-size: clamp(12px, 2.5vw, 15px);
    font-family: var(--special-font);
    letter-spacing: 0.18em;
    font-weight: 400;
    color: var(--txt-primary);
    margin: 10px 0 10px 0;
    opacity: 0;
    animation: hero-fade-in 0.5s ease-out 2.6s forwards;
  }
  
  .logo-intro__enter {
    font-family: var(--special-font);
    font-weight: 500;
    margin: 10px 0 10px 0;
    text-transform: uppercase;
    color: var(--txt-primary);
    text-decoration: none;
    padding: 0.75em 1.5em;
    /* border: 1px solid var(--txt-primary); */
    border-radius: 2px;
    opacity: 0;
    /* Animation set by JS only after hero logo is ready (heroLogoReady) */
    transition: border-color 0.25s ease, color 0.25s ease;
    padding: 0.8em 2.2em;
    letter-spacing: 0.3em;
    font-size: 12px;
  }
  
  .logo-intro__enter:hover {
    /* border-color: var(--txt-accent); */
    color: var(--txt-accent);
  }
  
  .logo-intro__code-wrap {
    display: none;
    margin-top: 1rem;
    opacity: 0;
    animation: hero-fade-in 0.4s ease-out forwards;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .logo-intro__code-wrap .logo-intro__code-input {
    font-family:var(--special-font);
    font-size: 14px;
    padding: 0.6em 1em;
    border: 0.5px solid var(--txt-primary);
    border-radius: 2px;
    background: transparent;
    color: var(--txt-primary);
    width: 22rem;
    text-align: center;
    letter-spacing: 0.15em;
  }
  
  .logo-intro__code-wrap .logo-intro__code-input::placeholder {
    color: var(--placeholder-color);
    font-size: 0.6em;
  }
  
  .logo-intro__code-wrap .logo-intro__code-input:focus {
    outline: none;
    border-color: var(--txt-accent);
  }
  
  .logo-intro__code-wrap .logo-intro__code-input:focus-visible {
    outline: 2px solid var(--txt-accent);
    outline-offset: 2px;
  }
  
  .logo-intro__code-wrap.logo-intro__code-wrap--error .logo-intro__code-input {
    border-color: #b85450;
    animation: hero-code-shake 0.45s ease-in-out;
  }
  
  .logo-intro__code-wrap .logo-intro__code-msg {
    font-family: var(--special-font);
    font-size: 12px;
    letter-spacing: 0.08em;
    margin: 0;
    min-height: 1.4em;
    transition: opacity 0.2s ease;
  }
  
  .logo-intro__code-wrap .logo-intro__code-msg--error {
    color: #b85450;
  }
  
  .logo-intro__code-wrap .logo-intro__code-msg--success {
    color: var(--txt-accent);
  }
  
  @keyframes hero-code-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
  }
  
  .logo-intro__code-wrap .logo-intro__code-btn {
    font-family: var(--special-font);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    padding: 0.5em 1.5em;
    border: none;
    border-radius: 2px;
    background: transparent;
    color: var(--txt-primary);
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease;
  }
  
  .logo-intro__code-wrap .logo-intro__code-btn:hover {
    border-color: var(--txt-accent);
    color: var(--txt-accent);
  }
  
  .logo-intro__code-wrap .logo-intro__code-btn:focus-visible {
    outline: 2px solid var(--txt-accent);
    outline-offset: 2px;
  }
  
  .logo-intro__code-wrap .logo-intro__code-btn--loading {
    opacity: 0.85;
    cursor: wait;
    pointer-events: none;
  }
  
  .logo-intro__code-wrap .logo-intro__code-btn:active:not(.logo-intro__code-btn--loading) {
    transform: scale(0.98);
  }
  
  @media (prefers-reduced-motion: reduce) {
    .logo-intro__code-wrap.logo-intro__code-wrap--error .logo-intro__code-input {
      animation: none;
    }
  }
  
  @keyframes hero-branch-draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  
  @keyframes hero-names-in {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  @keyframes hero-fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes hero-line-expand {
    to {
      transform: scaleX(1);
    }
  }
  
  @keyframes hero-names-fade-up {
    to {
      opacity: 0;
      transform: translateY(-28px) scale(1);
    }
  }
  
  @keyframes hero-dissolve-out {
    to {
      opacity: 0;
      pointer-events: none;
    }
  }
  
  @keyframes hero-dissolve-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .logo-intro__landing {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    padding: 2rem 1.5rem 4rem;
  }
  
  .logo-intro.has-entered .logo-intro__inner {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  
  .logo-intro.has-entered .logo-intro__landing {
    opacity: 1;
    pointer-events: auto;
  }
  
  .logo-intro__landing-branch-wrap .logo-intro__branch--leaf {
    max-height: min(520px, 65vh);
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  
  .logo-intro__landing-branch-wrap {
    width: min(600px, 92vw);
    margin: 0 auto 0.5em;
    display: flex;
    justify-content: center;
  }
  .logo-intro .logo-intro__landing-names {
    font-size: clamp(42px, 7vw + 0.8rem, 72px);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--txt-primary);
    margin: 0;
    line-height: 1.15;
  }
  
  .logo-intro.is-scrolled .logo-intro__inner,
  .logo-intro.is-scrolled .logo-intro__landing {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease-out;
  }
  
  .logo-intro.has-entered ~ .nav,
  .logo-intro.has-entered ~ .nav.fixed {
    background-color: var(--bg-cream);
    background-image: var(--bg-cream-texture);
    padding-top: 1.5rem;
  }
  
  .logo-intro.has-entered ~ .nav header,
  .logo-intro.has-entered ~ .navigation header,
  .nav header,
  .navigation header {
    background-color: var(--bg-cream);
    background-image: var(--bg-cream-texture);
    width: 100%;
    box-sizing: border-box;
    border-bottom: solid 1px rgba(44, 43, 41, 0.12);
    padding: 0;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .logo-intro.has-entered ~ .nav header .header-content,
  .logo-intro.has-entered ~ .navigation header .header-content,
  .nav header .header-content,
  .navigation header .header-content {
    max-width: 1170px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }
  
  .nav header .navicon,
  .navigation header .navicon {
    margin-left: auto;
    flex-shrink: 0;
  }
  
  .logo-intro.has-entered ~ .nav .header-nav,
  .nav header .header-content .header-nav,
  .navigation header .header-content .header-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
  }
  
  .logo-intro.has-entered ~ .nav .header-nav nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  
  .logo-intro.has-entered ~ .nav ul.primary-nav {
    display: flex;
    gap: 2.5rem;
  }
  
  .logo-intro.has-entered ~ .nav .member-actions {
    position: static;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    gap: 1.75rem;
  }
  
  .logo-intro.has-entered ~ .nav a {
    color: var(--txt-primary);
  }
  
  .logo-intro.has-entered ~ .nav a:hover {
    color: var(--txt-accent);
  }
  
  .logo-intro.has-entered ~ .nav .btn-white:hover,
  .logo-intro.has-entered ~ .nav .btn-white:focus {
    color: var(--txt-accent);
    border-color: var(--txt-accent);
  }

  .logo-intro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-cream);
    background-image: var(--bg-cream-texture);
  }
  

/* ==========================================================================
   Mini Logo + Nav
   ========================================================================== */
.nav header a,
.nav .header-nav a,
.nav ul.primary-nav li a,
.nav ul.member-actions li a {
  font-weight: 500;
}

.nav {
  pointer-events: none;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  position: relative;
  z-index: 2;
}

body.hero-scroll-unlocked .nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Header (nav links, nav icon, border) fades in after clicking Enter */
body.hero-scroll-unlocked .nav header,
body.hero-scroll-unlocked .navigation header,
.logo-intro.has-entered ~ .nav header,
.logo-intro.has-entered ~ .navigation header {
  opacity: 0;
  animation: nav-header-fade-in 4.6s ease 0.3s forwards;
}

@keyframes nav-header-fade-in {
  to {
    opacity: 1;
  }
}

body.hero-scroll-unlocked .nav a,
body.hero-scroll-unlocked .nav header a,
body.hero-scroll-unlocked .nav .header-nav a,
body.hero-scroll-unlocked .nav ul.primary-nav li a,
body.hero-scroll-unlocked .nav ul.member-actions li a {
  color: var(--txt-primary) !important;
}

body.hero-scroll-unlocked .nav a:hover,
body.hero-scroll-unlocked .nav .header-nav a:hover {
  color: var(--txt-accent) !important;
}

body.hero-scroll-unlocked .nav .btn-white:hover,
body.hero-scroll-unlocked .nav .btn-white:focus {
  color: var(--txt-accent) !important;
  border-color: var(--txt-accent) !important;
}

.nav__mini {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  padding: 0.75rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.94) translateY(10px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

body.hero-scroll-unlocked .nav__mini {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 1.1s;
}

.nav__mini-monogram {
  font-family: var(--cursive-font);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--txt-primary);
  margin: 0 0 0.25rem;
  line-height: 1;
  position: relative;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

body.hero-scroll-unlocked .nav__mini-monogram {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.1s;
}

.nav__mini-monogram-d,
.nav__mini-monogram-e {
  display: inline-block;
  position: relative;
}

.nav__mini-monogram-d {
  margin-right: -0.3em;
  top: -0.34em;
}

.nav__mini-monogram-e {
  margin-left: -0.22em;
  top: 0.em;
}

.nav__mini-branch {
  margin: 0 auto;
}

.nav__mini-branch-svg {
  width: 100%;
  height: auto;
  max-height: 75px;
  object-fit: contain;
  object-position: center;
  display: block;
}




/* ==========================================================================
   Invitation section – Editorial three-column (stacked images + center text)
   ========================================================================== */
#invitation {
  margin-top: 0;
}

.invitation {
  background: none;
}

.invitation__text {
  max-width: 50ch;
  font-family: var(--sub-font);
  font-weight: 300;
} 

.invitation--editorial {
  padding: 4rem 1.5rem 5.5rem;
}

/* Three-column layout – center has room to breathe (images frame, not press) */
.invitation__wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* Asymmetric spacing: 40–60px more between text and images so headline owns the space */
.invitation__col--center {
  margin: 0 clamp(4.75rem, 7.5vw, 6.5rem);
}

/* Left column – raised by ~35px so stacks feel composed, not grid-aligned */
.invitation__col--left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  margin-top: -2.25rem;
  margin-right: clamp(3rem, 5vw, 4rem);
}

.invitation__col--left .invitation__img-wrap--top {
  margin-top: -0.9rem;
}

.invitation__col--left .invitation__img-wrap--bottom {
  margin-top: 0.65rem;
}

/* Right column – lowered slightly for offset; looser stack */
.invitation__col--right {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.1rem;
  margin-top: 1.25rem;
  margin-left: clamp(2.5rem, 4vw, 3.5rem);
}

.invitation__col--right .invitation__img-wrap--top {
  margin-top: 0.5rem;
}

.invitation__col--right .invitation__img-wrap--bottom {
  margin-top: -0.55rem;
}

.invitation__col--center {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 440px;
  text-align: center;
  padding: 3rem 0.5rem;
}

/* Soft fade + rise on load (editorial reveal) – end state matches magazine rotation */
@keyframes invitation-img-in-lt {
  from { opacity: 0; transform: rotate(-2deg) translateY(20px); }
  to { opacity: 1; transform: rotate(-2deg) translateY(0); }
}

@keyframes invitation-img-in-lb {
  from { opacity: 0; transform: rotate(1.5deg) translateY(20px); }
  to { opacity: 1; transform: rotate(1.5deg) translateY(0); }
}

@keyframes invitation-img-in-rt {
  from { opacity: 0; transform: rotate(1.2deg) translateY(20px); }
  to { opacity: 1; transform: rotate(1.2deg) translateY(0); }
}

@keyframes invitation-img-in-rb {
  from { opacity: 0; transform: rotate(-1deg) translateY(20px); }
  to { opacity: 1; transform: rotate(-1deg) translateY(0); }
}

/* Stacked image frames – portrait, soft radius, depth (shadow + warm border) */
/* Thin white “mat” mimics printed engagement photos on beige */
.invitation__img-wrap {
  background-color: transparent;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--box-shadow);
  border: 1px solid var(--keyline-color);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  opacity: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

/* Hover: image picks up toward viewer (scale into screen) */
.invitation__img-wrap:hover {
  transform: scale(1.04);
}

/* Editorial magazine: consistent portrait ratio 3:4, same size for all (includes 8px padding) */
.invitation__img-wrap {
  width: 260px;
  height: 350px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Magazine stagger – tiny rotations = printed photograph feeling */
.photo-left-top {
  transform: rotate(-2deg);
}

.photo-left-bottom {
  transform: rotate(1.5deg);
}

.photo-right-top {
  transform: rotate(1.2deg);
}

.photo-right-bottom {
  transform: rotate(-1deg);
}

/* Animation runs only when section is visible (class added by JS after Enter) */
.invitation--editorial.invitation--visible .invitation__col--left .invitation__img-wrap--top {
  animation: invitation-img-in-lt 750ms ease-out 0ms forwards;
}

.invitation--editorial.invitation--visible .invitation__col--right .invitation__img-wrap--top {
  animation: invitation-img-in-rt 750ms ease-out 150ms forwards;
}

.invitation--editorial.invitation--visible .invitation__col--left .invitation__img-wrap--bottom {
  animation: invitation-img-in-lb 750ms ease-out 300ms forwards;
}

.invitation--editorial.invitation--visible .invitation__col--right .invitation__img-wrap--bottom {
  animation: invitation-img-in-rb 750ms ease-out 450ms forwards;
}

/* Hover: same lift as events cards (!important overrides animation fill) */
.invitation--editorial.invitation--visible .invitation__col--left .invitation__img-wrap--top:hover {
  transform: rotate(-2deg) scale(1.04) !important;
}

.invitation--editorial.invitation--visible .invitation__col--left .invitation__img-wrap--bottom:hover {
  transform: rotate(1.5deg) scale(1.04) !important;
}

.invitation--editorial.invitation--visible .invitation__col--right .invitation__img-wrap--top:hover {
  transform: rotate(1.2deg) scale(1.04) !important;
}

.invitation--editorial.invitation--visible .invitation__col--right .invitation__img-wrap--bottom:hover {
  transform: rotate(-1deg) scale(1.04) !important;
}

.invitation__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  pointer-events: none;
}

.invitation__heading {
  margin: 0 0 1.25rem;
}

/* Mobile: stack center first, then image columns side by side or stacked */
@media (max-width: 900px) {
  .invitation__wrap {
    flex-direction: column;
    gap: 2.5rem;
  }

  .invitation__col--left,
  .invitation__col--right {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .invitation__col--center {
    order: 1;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .invitation__col--left {
    order: 2;
  }

  .invitation__col--right {
    order: 3;
  }

  .invitation__img-wrap {
    width: min(230px, 50vw);
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
  }
}

@media (max-width: 900px) {
  .invitation__col--left,
  .invitation__col--right {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  /* Same spacing in both stacks – reset desktop margins so gap is the only spacing */
  .invitation__col--left .invitation__img-wrap--top,
  .invitation__col--left .invitation__img-wrap--bottom,
  .invitation__col--right .invitation__img-wrap--top,
  .invitation__col--right .invitation__img-wrap--bottom {
    margin-top: 0;
  }

  /* Larger images on phone – same 3:4 portrait, each stack reads clearly */
  .invitation__img-wrap {
    width: min(260px, 72vw);
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .invitation--editorial {
    padding: 3.5rem 1rem 4rem;
  }
}

@media (max-width: 540px) {
  .invitation--editorial {
    padding: 0.5rem 1rem 4rem !important;
  }
}




/* ==========================================================================
   Events section – The Celebration
   ========================================================================== */
.events__wrap {
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

.events__kicker {
  font-family: var(--date-font-family);
  font-size: var(--date-font-size);
  font-weight: var(--date-font-weight);
  letter-spacing: var(--date-letter-spacing);
  text-transform: var(--date-text-transform);
  margin: var(--date-margin);
  color: var(--date-color);
}

.events__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.events__row {
  margin: 0;
  padding: 0;
}

.events__card {
  position: relative;
  border-radius: 12px;
  background-color: var(--bg-cream-dark);
  border: 1px solid var(--keyline-color);
  box-shadow: 0 8px 24px var(--box-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.events__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--box-shadow);
}

.events__card-header {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  border-radius: 12px;
  padding: 15px 2.5rem 15px 15px;
}

.events__date {
  flex-shrink: 0;
  margin: 0;
  color: var(--txt-primary);
  text-align: center;
  line-height: 1.15;
  font-family: var(--special-font);
}

.events__date-month {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--txt-primary);
  font-family: var(--special-font);
}

.events__date-day {
  display: block;
  font-weight: 300;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.events__main {
  flex: 1;
  min-width: 0;
}

.events__event-name {
  margin: 0 0 0.35rem;
}

.events__location {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.events__location-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--txt-primary);
}

.events__location-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.events__toggle {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--main-font);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent-color);
  text-decoration: none;
  appearance: none;
  z-index: 2;
}

.events__toggle:hover,
.events__toggle:focus {
  color: var(--accent-color-hover);
  text-decoration: none;
  opacity: 1;
}

.events__toggle-hide {
  display: none;
}

.events__toggle.is-open .events__toggle-show {
  display: none;
}

.events__toggle.is-open .events__toggle-hide {
  display: inline;
}

.events__divider {
  height: 1px;
  background: var(--divider-color);
  padding: 0;
}

.events__details {
  padding: none;
  /* background-color: var(--bg-cream); */
  /* background-image: var(--bg-cream-texture); */
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

.events__details[hidden] {
  display: none;
}

.events__details:not([hidden]) {
  border-top: 0.75px solid var(--keyline-color);
  padding: 1.5rem 1.25rem 1.25rem;
}

.events__details-list {
  list-style: none;
  padding: 10px 10px 10px 25px;
}

.events__details-list li {
  position: relative;
  padding-left: 0.5rem;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

.events__details-list li::before {
  position: absolute;
  left: -1.25rem;
  color: var(--txt-primary);
}

.events__details-list li:last-child {
  margin-bottom: 0;
  color: var(--txt-primary) !important;
}

.events__details-list li:first-child {
  letter-spacing: 0.4px;
  font-weight: 200;
  
}

.events__details-list li:first-child + li {
  margin-top: 0.75em;
}

@media (max-width: 767px) {
  .events__list {
    max-width: 100%;
  }

  .events__card-header {
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: 0rem;
    padding: 10px 2.5rem 10px 10px;
  }

  .events__toggle {
    bottom: 0.5rem;
    right: 0.5rem;
  }

  .events__date {
    align-items: baseline;
    gap: 0.35rem;

  }

  .events__date-day {
    font-size: 20px;
  }

  .events__date-month {
    font-size: 11px;
  }
}

.dress-code-row {
  padding: 0px 0px 30px 0px;
}


/* ==========================================================================
   Wedding Day section – standalone section (centered title, time, description)
   ========================================================================== */

.wedding-day__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 3rem 0rem;
}

.wedding-day__header {
  margin: 0 0 0.75rem;
}

.wedding-day__date {
  font-family: var(--date-font-family);
  font-size: var(--date-font-size);
  font-weight: var(--date-font-weight);
  letter-spacing: var(--date-letter-spacing);
  text-transform: var(--date-text-transform);
  margin: var(--date-margin);
  color: var(--date-color);
}


.timeline__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 3.5rem;
  text-align: center;
}

.timeline__tagline {
  line-height: 1.5;
  margin: 0 0 1.25rem;
  font-style: italic;
  font-family: var(--sub-font);
  font-weight: 300;
}

.timeline__tagline-accent {
  text-underline-offset: 0.2em;
  color: var(--txt-accent);
}

.timeline__divider {
  border: 0;
  height: 1px;
  background: var(--divider-color);
  margin: 2rem 0 2.5rem;
  max-width: 100%;
}

.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem 2rem;
  position: relative;
}

.timeline__item {
  flex: 0 0 auto;
  width: calc(21% - 1.5rem);
  min-width: 110px;
  max-width: 150px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem;
  background: var(--bg-cream-dark);
  border-radius: 10px;
  border: 1px solid var(--keyline-color);
  box-shadow: 0 8px 24px var(--box-shadow);
}

.timeline__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(63, 60, 55, 0.08);
}

.timeline__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline__time {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.35rem;
  opacity: 0.9;
}

.timeline__title {
  font-family: var(--main-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.25px;
  color: var(--txt-primary);
  margin: 0 0 0.25rem;
}

.timeline__location {
  font-size: 11px;
  margin: 0;
  font-family: var(--main-font);
  color: var(--txt-secondary);
}

.timeline__node {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--txt-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .timeline__list::before {
    display: none;
  }

  .timeline__list {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .timeline__item {
    width: 100%;
    max-width: 200px;
  }
}


/* ==========================================================================
   Venue section – The Venue (title, branch, image + text card)
   ========================================================================== */
.venue {
  background-color: var(--bg-cream);
  background-image: var(--bg-cream-texture);
  padding-top: 20px;
}

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

.venue__header {
  margin: 0 0 1rem;
  letter-spacing: 0.08em;
  font-weight: 400;
  font-size: 28px;
}

.venue__card {
  display: flex;
  align-items: stretch;
  background: var(--bg-cream-dark);
  border-radius: 12px;
  border: 1px solid rgba(63, 60, 55, 0.06);
  box-shadow: 0 2px 16px rgba(63, 60, 55, 0.05);
  overflow: hidden;
  text-align: left;
}

.venue__img-wrap {
  flex: 0 0 48%;
  min-width: 0;
}

.venue__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px 0 0 12px;
}

.venue__text {
  flex: 1;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  font-size: 30px;
}

.venue__text p {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.65;
  margin: 0;
}

.venue__map-wrap {
  flex: 1;
  min-height: 260px;
  background-color: var(--bg-cream);
  background-image: var(--bg-cream-texture);
}

.venue__map {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

@media (max-width: 767px) {
  .venue {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .venue__card {
    flex-direction: column;
    align-items: stretch;
  }

  .venue__img-wrap {
    flex: none;
    height: 280px;
    min-height: 280px;
    overflow: hidden;
  }

  .venue__img {
    border-radius: 12px 12px 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .venue__text {
    flex: none;
    padding: 1.75rem 1.5rem;
  }

  .venue__map-wrap {
    flex: none;
    min-height: 220px;
  }

  .venue__map {
    min-height: 220px;
  }
}



/* ==========================================================================
   Our City section 
   ========================================================================== */
  .our-city {
    background-color: var(--bg-cream);
    background-image: var(--bg-cream-texture);
  }

  .our-city__inner {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem 1.2rem;
  }

  .our-city__header {
    margin: 0 0 0.75rem;
    letter-spacing: 0.12em;
  }

  .our-city__time {
    font-size: 16px;
    margin: 0 0 1rem;
    color: var(--txt-secondary);
  }

  .our-city__desc {
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    color: var(--txt-secondary);
  }

  .our-city__branch-wrap {
    max-width: 180px;
    margin: 0 auto 1.5rem;
    color: var(--accent-color);
  }

  .our-city__branch {
    width: 100%;
    height: auto;
    display: block;
  }

  .our-city__branch-stem,
  .our-city__branch-leaves {
    stroke: currentColor;
    fill: none;
  }

  .our-city__video-wrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-cream-dark);
    border: 1px solid var(--keyline-color);
    box-shadow: 0 2px 16px var(--box-shadow);
  }

  .our-city__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  .our-city__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(246, 241, 232, 0.55);
    pointer-events: auto;
  }

  /* Travel & Stay – three vertical cards */
  .travel-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
    text-align: center;
    align-items: start;
  }

  .travel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-cream-dark);
    border: 1px solid var(--keyline-color);
    border-radius: 12px;
    padding: 1.5rem 1.25rem 1.25rem;
    box-shadow: 0 8px 24px var(--box-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .travel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--box-shadow);
  }

  .travel-card__icon {
    color: var(--accent-color);
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
  }

  .travel-card__icon .fa {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.0px currentColor;
    paint-order: stroke fill;
  }

  .travel-card__title {
    margin: 0 0 0.75rem;
    font-size: 2.1rem;
    color: var(--txt-primary);
  }

  .travel-card__content {
    display: none;
    width: 100%;
    overflow: visible;
    visibility: visible;
    opacity: 1;
  }

  .travel-card.travel-card--expanded .travel-card__content {
    display: block !important;
  }

  .travel-card--expanded .travel-card__content > .travel-card__rule:first-child {
    display: none;
  }

  .travel-card__rule {
    width: calc(100% + 2.5rem);
    margin: 0 -1.25rem;
    border: 0;
    border-top: 0.75px solid var(--keyline-color);
  }

  .travel-card__rule--above-btn {
    margin-top: 0.75rem;
    margin-bottom: 0;
  }

  .travel-card--expanded .travel-card__rule--above-btn {
    margin: 0;
    border-top: none;
    height: 0;
    overflow: hidden;
  }

  .travel-card__body {
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    visibility: visible;
    opacity: 1;
  }

  .travel-card__name {
    margin: 0 0 0.2rem;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 500;
  }

  .travel-card__name + .travel-card__meta {
    margin-top: 0;
  }

  .travel-card__meta {
    margin: 0 0 0.75rem;
  
    font-size: 12px;
    line-height: 1.4;
    color: var(--txt-secondary);
  }

  .travel-card__meta + .travel-card__meta {
    margin-top: -0.75rem;
  }

  .travel-card__meta:last-child {
    margin-bottom: 0;
  }

  .travel-card__body .travel-card__name:first-child {
    margin-top: 0;
  }

  .travel-card__body .travel-card__name:not(:first-child) {
    margin-top: 2.25rem;
  }

  .travel-cards > .travel-card:first-child .travel-card__body > .travel-card__name:first-child,
  .travel-cards > .travel-card:first-child .travel-card__body > .travel-card__name:first-child + .travel-card__meta {
    text-align: center;
  }

  .travel-cards > .travel-card:first-child .travel-card__body > .travel-card__name:first-child + .travel-card__meta {
    margin-bottom: 2.25rem;
  }

  .travel-card__body a {
    color: var(--accent-color);
    text-decoration: none;
  }

  .travel-card__body a:hover {
    text-decoration: underline;
  }

  .travel-card__text {
    margin: 0 0 0.75rem;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.056em;
    opacity: 0.85;
    color: var(--txt-secondary);
  }

  .travel-card__text:last-child {
    margin-bottom: 0;
  }

  .travel-card__btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0;
    font-size: 16px;
    letter-spacing: 0.04em;
    color:  var(--accent-color);;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
    font-family: var(--button-font);
  }

  .travel-card--expanded .travel-card__btn {
    margin-top: 0.75rem;
  }

  .travel-card__btn:hover {
    color: var(--accent-color);
  }

  @media (max-width: 767px) {
    .travel-cards {
      grid-template-columns: 1fr;
      max-width: 340px;
      margin-left: auto;
      margin-right: auto;
    }
  }

/* RSVP section – more breathing room on mobile */
@media (max-width: 767px) {
  section.rsvp.section-padding {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 4rem;
    padding-right: 4rem;
    width: 100%;
  }
  section.rsvp .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .rsvp-container{
    width: 100%;
    max-width: 280px;
  }

  .rsvp-title {
    white-space: normal;
  }
}

.rsvp-container{
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 280px;
}

.rsvp-title {
  margin: 0 0 0.75rem;
  letter-spacing: 0.05em;
  font-size: clamp(20px, 5vw + 1rem, 32px);
  white-space: nowrap;
}

.rsvp-desc {
  margin-top: 0;
  margin-bottom: 1rem;
}

section.rsvp .timeline__divider {
  width: 80vw;
  max-width: 60vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.rsvp-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--txt-primary, #3f3c37);
  font-size: 0.9rem;
}
.rsvp-divider::before,
.rsvp-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--keyline-color, rgba(63, 60, 55, 0.25));
}
.rsvp-divider::before {
  margin-right: 0;
}
.rsvp-divider::after {
  margin-left: 0;
}

.rsvp-form .form-input-group {
  max-width: 100%;
  margin-bottom: 1rem;
}
.rsvp-form .form-input-group:last-of-type {
  margin-bottom: 1.25rem;
}
.rsvp-form .form-input-group input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.5em 0.75em;
  padding-left: 0.75em !important; /* no space for removed icon */
  background: transparent;
  border: 1px solid var(--keyline-color, rgba(63, 60, 55, 0.25));
  border-radius: 2px;
  outline: none;
}
.rsvp-form .form-input-group input:focus {
  border-color: var(--txt-primary, #3f3c37);
}

.rsvp-btn-wrap {
  text-align: center;
}
.rsvp-btn {
  width: auto;
  min-width: 4.5rem;
  max-width: none;
  padding: 0.4em 1.25rem;
  font-size: 0.9rem;
  box-sizing: border-box;
  background: transparent;
  width: 70% !important;
  border: 1px solid var(--accent-color);
  border-radius: 2px;
  color: var(--accent-color);
}

/* Thank you dialog – cream dark background */
#rsvp-modal .modal-content {
  background-color: var(--bg-cream-dark);
}
  

.rsvp-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

section#rsvp {
margin-bottom: 50px;
}

/* ==========================================================================
   Custom styles (merged from sass/styles.scss) — edit style.css only from here
   ========================================================================== */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800);
@import url(https://fonts.googleapis.com/css?family=Merriweather:400,300,400italic,300italic,700,700italic);
@import url(https://fonts.googleapis.com/css?family=Nunito:400,300,700);
/* Typography variables */
section.intro, section.features-extra, section.rsvp {
  background: none;
}

section.features, section.events, section.blog {
  background: none;
}

.btn {
  font-size: 13px;
  border: solid 2px;
  -moz-border-radius: 40px;
  -webkit-border-radius: 40px;
  border-radius: 40px;
  display: inline-block;
  text-transform: uppercase;
  border-color: #3F3C37;
  color: #3F3C37;
}

.btn:hover, .btn:focus {
  color: #6B755B;
  border-color: #6B755B;
  background-color: none;
}

.btn-white {
  font-size: 13px;
  border: solid 2px;
  -moz-border-radius: 40px;
  -webkit-border-radius: 40px;
  border-radius: 40px;
  display: inline-block;
  border-color: #FDFBF7;
}

.btn-white:hover, .btn-white:focus {
  color: #6B755B;
  border-color: #6B755B;
}

.btn-fill {
  color: #FDFBF7;
  border: solid 2px #6B755B;
  -moz-border-radius: 40px;
  -webkit-border-radius: 40px;
  border-radius: 40px;
  display: inline-block;
  text-transform: uppercase;
  background-color: #6B755B;
}

.btn-fill:hover, .btn-fill:focus {
  color: #FDFBF7;
  background-color: #5E684F;
  border-color: #5E684F;
}

.btn-small {
  padding: 8px 30px;
}

.btn-large {
  padding: 15px 40px;
}

.btn-margin-right {
  margin-right: 20px;
}

/* ==========================================================================
Global Styles
========================================================================== */
:root {
  --txt-primary: #3F3C37;
  --txt-accent: #6B755B;
  --accent-color: #6B755B;
  --accent-color-hover: #5E684F;
  --bg-cream: #F6F1E8;
  --bg-cream-texture: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'256'%20height%3D'256'%3E%3Cfilter%20id%3D'n'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'1.2'%20numOctaves%3D'2'%20stitchTiles%3D'stitch'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23n)'%20fill%3D'%23000'%20opacity%3D'0.1'%2F%3E%3C%2Fsvg%3E");
  --section-padding: 60px 0;
  --bg-cream-dark: #F2EEE6;
  --divider-color: rgba(89, 77, 76, 0.15);
  --main-font: Cormorant Garamond, EB Garamond, Georgia, serif;
  --button-font: Cormorant Garamond, EB Garamond, Georgia, serif;;
  --txt-secondary: #6A655E;
  --accent-font: Cormorant Garamond, serif;
  --cursive-font: Great Vibes, cursive;
  --special-font: Inter, sans-serif;
  --body-font: Inter, sans-serif;
  --sub-font: EB Garamond, Georgia, serif;
  --box-shadow: rgba(63, 60, 55, 0.06);
  --keyline-color: #EDE4D8;
  --form-placeholder: #B7B1A8;
  --month-letter-spacing: 0.18em;
  --day-letter-spacing: -0.02em;
  --desc-letter-spacing: 0.18em;
  --box-shadow-hover: rgba(63, 60, 55, 0.1);
  --date-font-family: var(--special-font);
  --date-font-size: 12px;
  --date-font-weight: 500;
  --date-letter-spacing: 0.4em;
  --date-text-transform: uppercase;
  --date-margin: 0 0 0.5rem;
  --date-color: var(--txt-primary);
}

.group:after {
  content: "";
  display: table;
  clear: both;
}

.no-padding {
  padding: 0;
}

.no-margin {
  margin: 0;
}

p {
  font-family: var(--body-font);
  font-size: clamp(17px, 2.2vw, 20px);
  /* font-weight: 400; */
  color: var(--txt-secondary);
  line-height: 1.6;
  opacity: 0.9;
    /* font-size: 13px; */
  letter-spacing: 0.06em;
  font-weight: 300;
}

a {
  color: #6B755B;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
  -webkit-transition-duration: 200ms;
  transition-duration: 200ms;
  -webkit-transition-property: color, border-color, background-color;
  transition-property: color, border-color, background-color;
}

a:hover, a:focus {
  color: #5E684F;
  text-decoration: none;
}

body {
  font-family: var(--body-font);
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
}

*:focus {
  outline: none !important;
}

ul, ol {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
  font-family: var(--body-font);
  line-height: 1.6;
  font-weight: 300;
  color: var(--txt-secondary);
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0.9;

}

section .header {
  padding-bottom: 30px;
}

.section-padding {
  padding: 60px 0;
}

h1 {
  color: var(--txt-primary);
  font-family: var(--main-font);
  font-size: clamp(32px, 5vw + 1rem, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h2 {
  color: var(--txt-primary);
  font-size: clamp(36px, 4.5vw, 48px);
  letter-spacing: 0.1em;
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 1rem;
  font-family: var(--main-font);
}

h4 {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.55;
  opacity: 0.7;
  margin: 0px auto;
  font-weight: 400;
  color: var(--txt-secondary);
  font-family: var(--sub-font);
  letter-spacing: 0.04em;
}


h5 {
  font-weight: 500;
  color: var(--txt-primary);
  font-family: var(--main-font);
  letter-spacing: 0.12rem;
  font-size: clamp(16px, 2vw, 18px);
}

h6 {
  font-size: 14px;
  font-weight: 400;
  color: var(--txt-primary);
  letter-spacing: 0.03em;
  font-family: var(--main-font);
}

.section-border {
  border-bottom: 1px solid #E3D9CD;
}

.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
  visibility: visible;
  filter: alpha(opacity=0);
  opacity: 0;
}

.tooltip.in {
  filter: alpha(opacity=90);
  opacity: 0.9;
}

.tooltip.top {
  padding: 5px 0;
  margin-top: -3px;
}

.tooltip.right {
  padding: 0 5px;
  margin-left: 3px;
}

.tooltip.bottom {
  padding: 5px 0;
  margin-top: 3px;
}

.tooltip.left {
  padding: 0 5px;
  margin-left: -3px;
}

.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: capitalize;
  background-color: #3F3C37;
  border-radius: 4px;
}

/* ==========================================================================
Animations
========================================================================== */
.pulse2 {
  animation-name: pulse2;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes pulse2 {
  0% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}
.floating-arrow {
  animation-name: floating-arrow;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-arrow {
  from {
    transform: translate(-50%, 0);
  }
  65% {
    transform: translate(-50%, 15px);
  }
  to {
    transform: translate(-50%, 0);
  }
}
.floating-logo {
  animation-name: floating-logo;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-logo {
  from {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
  to {
    transform: translate(-50%, 0);
  }
}
/* ==========================================================================
Waypoinsts
========================================================================== */
.wp1, .wp2, .wp3, .wp4, .wp5, .wp6, .wp7, .wp8, .wp9 {
  visibility: hidden;
}

.wp8, .wp9 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.bounceInLeft, .bounceInRight, .fadeInUp, .fadeInUpDelay, .fadeInDown, .fadeInUpD, .fadeInLeft, .fadeInRight, .bounceInDown {
  visibility: visible;
}

/* ==========================================================================
Navigation
========================================================================== */
.header-nav.open {
  visibility: visible;
  opacity: 0.9;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.nav-toggle {
  position: absolute;
  top: 0;
  right: 15px;
  z-index: 999999;
  padding: 10px 35px 16px 0;
  cursor: pointer;
}

.nav-toggle:focus {
  outline: none;
}

.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
  content: "";
  position: absolute;
  display: block;
  width: 35px;
  height: 3px;
  -moz-border-radius: 1px;
  -webkit-border-radius: 1px;
  border-radius: 1px;
  background: #3F3C37;
  cursor: pointer;
}

.nav-toggle span:before {
  top: -10px;
}

.nav-toggle span:after {
  bottom: -10px;
}

.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
  -moz-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.nav-toggle.active span {
  background-color: transparent;
}

.nav-toggle.active span:before, .nav-toggle.active span:after {
  top: 0;
}

.nav-toggle.active span:before {
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.nav-toggle.active span:after {
  top: 10px;
  -moz-transform: translatey(-10px) rotate(-45deg);
  -ms-transform: translatey(-10px) rotate(-45deg);
  -o-transform: translatey(-10px) rotate(-45deg);
  -webkit-transform: translatey(-10px) rotate(-45deg);
  transform: translatey(-10px) rotate(-45deg);
}

.navicon {
  position: absolute;
  height: 26px;
  right: 10px;
  top: 48px;
  visibility: hidden;
  transition: all 300ms ease-in-out;
}

/* ==========================================================================
Hero
========================================================================== */
.hero {
  min-height: 750px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
  /*.rsvp-btn {
    position: absolute;
    bottom: 100px;
    left: 50%;
  }*/
}
.hero .down-arrow a {
  color: #FDFBF7;
}
.hero h1 {
  font-family: var(--main-font);
  color: #FDFBF7;
  margin-bottom: 40px;
}
.hero p.intro {
  color: #FDFBF7;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 80px;
}
.hero .hero-content {
  padding-top: 40%;
}
.hero .hero-content img {
  width: 55%;
  margin-bottom: 12%;
}

.navigation {
  transition: all 300ms ease-in-out;
  position: fixed;
  width: 100%;
  z-index: 999;
}

.fixed {
  position: fixed;
  background-color: #F6F1E8;
  background-image: var(--bg-cream-texture);
  z-index: 999;
  width: 100%;
}

.navigation header {
  width: 100%;
  box-sizing: border-box;
}
.navigation header .header-content {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navigation header .header-nav {
  flex: 0 1 auto;
  min-width: 0;
}
.navigation header .header-nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.navigation header ul.primary-nav {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5rem;
}
.navigation header .member-actions {
  position: static;
  margin-left: 0;
  padding-left: 0;
  display: flex;
  gap: 1.75rem;
}
.navigation header a {
  color: #3F3C37;
}
.navigation header a:hover {
  color: #6E7B5B;
}
.navigation header ul.primary-nav li a:hover,
.navigation header ul.member-actions li a:hover {
  color: #6E7B5B;
}
.navigation header .btn-white:hover,
.navigation header .btn-white:focus {
  color: #6E7B5B;
  border-color: #6E7B5B;
}

header {
  padding: 0px 50px;
  position: relative;
  width: 1170px;
  margin: 0 auto;
  transition: padding 300ms ease-in-out;
}
header a {
  color: #FDFBF7;
  text-transform: uppercase;
  font-size: 13px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}
header a.login {
  margin-right: 20px;
}
header .logo {
  display: inline-block;
}
header .logo img {
  height: 19px;
}
header ul.primary-nav {
  margin: 0 0 0 75px;
  padding: 0;
}
header ul.primary-nav li {
  display: inline;
}
header ul.primary-nav li a {
  color: #FDFBF7;
  padding-right: 25px;
}
header ul.primary-nav li a:hover {
  color: #6B755B;
}
header ul.primary-nav li:last-child a {
  padding-right: 0px;
}
header ul.member-actions li {
  display: inline;
}
header ul.member-actions li a {
  color: #FDFBF7;
}
header ul.member-actions li a:hover {
  color: #6B755B;
}
header .header-nav {
  display: inline-block;
}
header .member-actions {
  position: static;
}

.down-arrow {
  color: #3F3C37;
  font-size: 30px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

/* ==========================================================================
Social share buttons
========================================================================== */
.share-bar {
  margin-top: 20px;
}

/* ==========================================================================
Intro
========================================================================== */
.intro span.icon {
  font-size: 40px;
  color: #6B755B;
  font-weight: bold;
}

.intro-icon {
  display: inline-block;
  vertical-align: top;
  padding: 6px 0 0 0;
  margin-right: 20px;
  width: 40px;
}

.intro-content {
  display: inline-block;
  width: 80%;
}

#intro {
  padding-top: 40px;
}
#intro img {
  width: 100%;
  height: auto;
}

#intro p {
  text-align: center;
}

/* ==========================================================================
.hero-strip
========================================================================== */
.hero-strip {
  margin-top: 120px;
  padding-bottom: 190px;
  position: relative;
}
.hero-strip i {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 25px;
  color: #F69D52;
  vertical-align: top;
  margin-left: -8px;
  font-style: normal;
}
.hero-strip h2 {
  color: #fff;
  margin: 0 0 20px 0;
  font-size: 40px;
  font-family: var(--main-font);
}
.hero-strip h3 {
  font-size: clamp(18px, 2.5vw, 20px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--txt-primary);
}
.hero-strip p {
  color: #ACB1B4;
}
.hero-strip .btn {
  margin-top: 10px;
}
.hero-strip .logo-placeholder {
  width: 230px;
  height: 230px;
  position: absolute;
  bottom: -285px;
  left: 50%;
  transform: translateX(-50%);
}

/* ==========================================================================
.events
========================================================================== */
.events {
  /* Ensure event content is visible even if Waypoints/JS doesn't run */
}
.events .wp3, .events .wp4, .events .wp5, .events .wp6 {
  visibility: visible;
}
.events .leftcol {
  padding-right: 100px;
}
.events .rightcol {
  padding-left: 100px;
}
.events .time {
  font-size: 13px;
  font-style: italic;
  text-transform: lowercase;
  color: #3F3C37;
}

/* ==========================================================================
RSVP form
========================================================================== */
.rsvp-desc {
  font-size: 16px;
}

.rsvp .timeline__divider {
  width: 30vw;
  max-width: 60vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
.rsvp .rsvp-form .rsvp-btn {
  padding: 15px 0;
  border-radius: 3px;
  width: 100%;
  font-size: 13px;
  font-family: var(--button-font);
}
.rsvp .rsvp-form .form-input-group {
  width: 100%;
  height: 55px;
  margin: 0 auto 10px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  border: solid 1px #E3D9CD;
  text-align: left;
  position: relative;
}
.rsvp .rsvp-form .form-input-group i {
  color: #6B755B;
  font-size: 14px;
}
.rsvp .rsvp-form .form-input-group i:after {
  content: "";
  height: 30px;
  width: 1px;
  border-right: solid 1px #E3D9CD;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}
.rsvp .rsvp-form .form-input-group i.fa-user, .rsvp .rsvp-form .form-input-group i.fa-users, .rsvp .rsvp-form .form-input-group i.fa-envelope, .rsvp .rsvp-form .form-input-group .fa-key {
  font-size: 14px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 20px;
}
.rsvp .rsvp-form .form-input-group input {
  padding-left: 68px;
  width: 100%;
  height: 100%;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  border: none;
}
.rsvp .rsvp-form .form-input-group input::-webkit-input-placeholder {
  color: #B7B1A8;
}
.rsvp .rsvp-form .form-input-group input:-moz-placeholder {
  color: #B7B1A8;
}
.rsvp .rsvp-form .form-input-group input::-moz-placeholder {
  color: #B7B1A8;
}
.rsvp .rsvp-form .form-input-group input:-ms-input-placeholder {
  color: #B7B1A8;
}

/* ==========================================================================
Footer
========================================================================== */
.footer-text {
  line-height: 1.6;
  margin-bottom: 30px;
  font-size: 12px;
}

.footer-row {
  margin-top: 20px;
}

footer .content {
  border-top: none;
}
footer .to-top-wrapper {
  font-size: 30px;
  display: block;
  cursor: pointer;
  margin: -25px auto 15px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 1px solid #E3D9CD;
  background: rgba(255, 255, 255, 0.25);
}
footer .to-top-wrapper .to-top {
  display: block;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
footer .to-top-wrapper .to-top:hover {
  margin-top: -5px;
}
footer span.fa-heart {
  color: #6B755B;
  font-size: 18px;
  margin: 0 2px;
}

/* ==========================================================================
Bootstrap override
========================================================================== */
body.modal-open {
  padding-right: 0 !important;
}

.modal-body {
  padding: 25px;
}
