/* ==========================================================================
   HANNAH & BYRON — 28.05.27
   Clean responsive stylesheet
   ========================================================================== */


/* ==========================================================================
   FONTS
   ========================================================================== */

.young-serif-regular {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.the-seasons-regular {
  font-family: "The Seasons", serif;
  font-weight: 300;
  font-style: normal;
}

.meow-script-regular {
  font-family: "Meow Script", cursive;
  font-weight: 400;
  font-style: normal;
}


/* ==========================================================================
   ROOT / DESIGN SYSTEM
   ========================================================================== */

:root {
  --cream: #F6F0E6;
  --cream-soft: #FBF7EF;
  --paper-edge: #EDE3D2;

  --ink: #2E2A22;
  --ink-soft: #5A5044;
  --ink-faint: #8C8271;

  --peach: #DE9E68;
  --peach-soft: #F0C9A0;

  --rose: #CE8E82;

  --lavender: #8F7CA8;
  --lavender-soft: #C6B7D9;

  --sage: #7C8760;
  --sage-soft: #A9B48C;

  --gold: #A9843F;

  --line: rgba(46, 42, 34, 0.16);
  --line-soft: rgba(46, 42, 34, 0.08);

  --font-display:
    "Cormorant Garamond",
    Georgia,
    serif;

  --font-script:
    "Meow Script",
    cursive;

  --font-label:
    "Jost",
    "Helvetica Neue",
    Arial,
    sans-serif;

  --font-youngest:
    "Young Serif",
    "Cormorant Garamond",
    Georgia,
    serif;

  --font-seasons:
    "The Seasons",
    "Cormorant Garamond",
    Georgia,
    serif;

  --font-meow:
    "Meow Script",
    var(--font-script);

  --tracking-wide: 0.32em;
  --tracking-mid: 0.18em;

  --shadow-card:
    0 30px 60px -20px rgba(46, 42, 34, 0.28);
}


/* ==========================================================================
   RESET
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;

  background: var(--cream);
  color: var(--ink-soft);

  font-family: var(--font-seasons);
  font-weight: 300;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: var(--lavender-soft);
  color: var(--ink);
}


/* ==========================================================================
   PAPER GRAIN
   ========================================================================== */

.paper-grain {
  position: fixed;
  inset: 0;

  pointer-events: none;

  z-index: 0;

  opacity: 0.45;

  mix-blend-mode: multiply;

  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(0, 0, 0, 0.02) 0,
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(0, 0, 0, 0.02) 0,
      transparent 45%
    );
}


/* ==========================================================================
   TYPE HELPERS
   ========================================================================== */

.eyebrow {
  font-family: var(--font-seasons);
  font-size: 0.9rem;
  font-weight: 300;

  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;

  color: var(--rose);
}

.script {
  font-family: var(--font-seasons);
  font-weight: 400;

  color: var(--gold);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--ink);
}


/* ==========================================================================
   DIVIDERS
   ========================================================================== */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 0.75rem;

  color: var(--gold);
}

.divider .rule {
  width: 55px;
  height: 2px;

  background: var(--line);
}

.divider .glyph {
  font-size: 1.2rem;
  opacity: 0.85;
}


/* ==========================================================================
   BOTANICAL SPRAYS — DESKTOP
   ========================================================================== */

 .spray-img {
  position: absolute;

  top: 100%;

  width: 220px;
  height: auto;

  max-width: none;
  max-height: none;

  pointer-events: none;

  z-index: 1;

  filter:
    drop-shadow(
      0 10px 16px rgba(46, 42, 34, 0.12)
    );
}

.spray-img--left {
  left: -50%;

  transform:
    translateY(-50%);
}

.spray-img--right {
  right: -50%;

  transform:
    translateY(-50%);
}/* =========================================================
   DESKTOP HEADER — FINAL FIX
   ========================================================= */

@media screen and (min-width: 781px) {

  .site-header {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;

    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 0 3rem !important;
    margin: 0 !important;

    transform: none !important;

    z-index: 10000 !important;

    background: rgba(246, 240, 230, 0.92) !important;

    border-bottom: 1px solid var(--line-soft);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }


  /* ---------------------------------------------------------
     H & B LOGO
     --------------------------------------------------------- */

  .site-header .monogram {
    display: flex;
    align-items: center;

    height: 54px;

    margin: 0 !important;
    padding: 0 !important;

    font-family: var(--font-display);
    font-size: 1.2rem;

    line-height: 1;

    letter-spacing: 0.2em;

    white-space: nowrap;
  }


  /* ---------------------------------------------------------
     NAV
     --------------------------------------------------------- */

  .site-nav {
    position: static !important;

    display: flex !important;
    align-items: center !important;

    justify-content: flex-end !important;

    height: 54px;

    gap: 1.8rem;

    margin: 0 !important;
    padding: 0 !important;

    font-family: var(--font-label);

    font-size: 0.72rem;

    line-height: 1;

    letter-spacing: 0.18em;

    text-transform: uppercase;
  }


  /* ---------------------------------------------------------
     NAV LINKS
     --------------------------------------------------------- */

  .site-nav a {
    position: relative;

    display: flex;
    align-items: center;

    height: 54px;

    margin: 0;
    padding: 0 !important;

    color: var(--ink-soft);

    line-height: 1;

    white-space: nowrap;

    transition: color 0.25s ease;
  }


  /* ---------------------------------------------------------
     GOLD ACTIVE / HOVER LINE
     --------------------------------------------------------- */

  .site-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 10px;

    height: 1px;

    background: var(--gold);

    transform: scaleX(0);

    transform-origin: left;

    transition:
      transform 0.3s ease;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    color: var(--ink);
  }

  .site-nav a:hover::after,
  .site-nav a.is-active::after {
    transform: scaleX(1);
  }

}


/* =========================================================
   MOBILE HEADER — KEEP SEPARATE
   ========================================================= */

@media screen and (max-width: 780px) {

  .site-header {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;

    height: 64px !important;
    min-height: 64px !important;

    padding: 0 1rem !important;

    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    transform: none !important;

    z-index: 10000 !important;
  }

}
/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding:
    3.5rem
    clamp(1.25rem, 5vw, 3.5rem)
    2.5rem;

  margin-top: 6rem;

  text-align: center;

  border-top:
    1px solid var(--line-soft);
}

.site-footer .monogram {
  margin-bottom: 0.6rem;

  font-family: var(--font-display);
  font-size: 1.6rem;

  letter-spacing: 0.3em;
}

.site-footer p {
  font-size: 0.72rem;

  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;

  color: var(--ink-faint);
}


/* ==========================================================================
   PAGE HERO
   ========================================================================== */

.page-hero {
  position: relative;

  padding:
    clamp(1rem, 10vw, 7rem)
    1.5rem
    3.5rem;

  text-align: center;

  overflow: hidden;
}

.page-hero h1 {
  margin: 0.6rem 0;

  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 400;

  letter-spacing: 0.05em;
}

.page-hero .lede {
  max-width: 44ch;

  margin:
    1rem
    auto
    0;

  color: var(--ink-soft);

  font-size: 1.02rem;
  line-height: 1.7;
}


/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  width: 100%;
  max-width: 980px;

  margin: 0 auto;

  padding:
    3.5rem
    1.5rem;
}

.section--narrow {
  max-width: 720px;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 0.6rem;

  min-height: 44px;

  padding:
    0.9rem
    2.1rem;

  border:
    1px solid var(--ink);

  border-radius: 999px;

  font-family: var(--font-label);
  font-size: 0.74rem;

  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;

  background: transparent;
  color: var(--ink);

  cursor: pointer;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--cream-soft);
}

.btn--filled {
  background: var(--rose);
  color: var(--cream-soft);
  border-color: var(--rose);
}

.btn--filled:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost {
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
}


/* ==========================================================================
   COUNTDOWN
   ========================================================================== */

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(1.1rem, 4vw, 2.6rem);

  margin: 2.2rem 0;

  flex-wrap: wrap;
}

.countdown .unit {
  min-width: 64px;

  text-align: center;
}

.countdown .num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3rem);

  line-height: 1;

  color: var(--ink);
}

.countdown .lbl {
  display: block;

  margin-top: 0.5rem;

  font-size: 0.62rem;

  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;

  color: var(--ink-faint);
}

.countdown .sep {
  align-self: center;

  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);

  color: var(--peach-soft);
}


/* ==========================================================================
   TIMELINE
   ========================================================================== */

.timeline {
  position: relative;

  max-width: 640px;

  margin:
    2.5rem
    auto
    0;
}

.timeline::before {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;
  left: 84px;

  width: 1px;

  background: var(--line);
}

.timeline-item {
  position: relative;

  display: grid;

  grid-template-columns:
    70px
    28px
    1fr;

  gap:
    0
    1rem;

  padding-bottom: 2.6rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item .time {
  padding-top: 0.1rem;

  font-family: var(--font-display);
  font-size: 1.05rem;

  text-align: right;

  color: var(--gold);
}

.timeline-item .dot {
  position: relative;

  display: flex;
  justify-content: center;
}

.timeline-item .dot::before {
  content: "";

  width: 9px;
  height: 9px;

  margin-top: 0.35rem;

  border:
    1px solid var(--gold);

  border-radius: 50%;

  background: var(--cream);
}

.timeline-item h3 {
  margin:
    0
    0
    0.3rem;

  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.timeline-item p {
  margin: 0;

  color: var(--ink-soft);

  font-size: 0.95rem;
  line-height: 1.65;
}


/* ==========================================================================
   STORY
   ========================================================================== */

.story-block {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap:
    clamp(2rem, 6vw, 4.5rem);

  align-items: center;

  padding:
    3rem
    0;
}

.story-block:nth-child(even) .story-art {
  order: 2;
}

.story-art {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  aspect-ratio: 4 / 5;

  overflow: hidden;

  border:
    1px solid var(--line-soft);

  border-radius: 2px;

  background:
    linear-gradient(
      155deg,
      var(--paper-edge),
      var(--cream-soft)
    );
}

.story-copy .eyebrow {
  display: block;

  margin-bottom: 0.8rem;
}

.story-copy h2 {
  margin:
    0
    0
    1rem;

  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 400;
}

.story-copy p {
  color: var(--ink-soft);

  font-size: 1rem;
  line-height: 1.8;
}


/* ==========================================================================
   CARDS
   ========================================================================== */

.card-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(230px, 1fr)
    );

  gap: 1.6rem;

  margin-top: 2rem;
}

.info-card {
  padding:
    2.1rem
    1.8rem;

  background: var(--cream-soft);

  border:
    1px solid var(--line-soft);

  border-radius: 3px;
}

.info-card .icon {
  margin-bottom: 1rem;

  color: var(--peach);
}

.info-card h3 {
  margin:
    0
    0
    0.6rem;

  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}

.info-card p {
  margin: 0;

  color: var(--ink-soft);

  font-size: 0.92rem;
  line-height: 1.7;
}

.info-card a.map-link {
  display: inline-block;

  margin-top: 0.9rem;

  font-size: 0.72rem;

  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;

  color: var(--gold);

  border-bottom:
    1px solid var(--gold);
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.accordion {
  margin-top: 2rem;
}

.accordion-item {
  border-bottom:
    1px solid var(--line-soft);
}

.accordion-q {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 1rem;

  padding:
    1.4rem
    0.2rem;

  background: none;
  border: none;

  text-align: left;

  cursor: pointer;

  font-family: var(--font-display);
  font-size: 1.15rem;

  color: var(--ink);
}

.accordion-q .plus {
  flex: none;

  font-family: var(--font-label);
  font-size: 1.1rem;

  color: var(--gold);

  transition:
    transform 0.3s ease;
}

.accordion-item.is-open .accordion-q .plus {
  transform: rotate(45deg);
}

.accordion-a {
  max-height: 0;

  overflow: hidden;

  transition:
    max-height 0.35s ease;
}

.accordion-a p {
  max-width: 60ch;

  margin:
    0
    0
    1.4rem;

  color: var(--ink-soft);

  font-size: 0.95rem;
  line-height: 1.75;
}


/* ==========================================================================
   FORMS
   ========================================================================== */

.form-grid {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap:
    1.4rem
    1.6rem;

  margin-top: 2.2rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;

  margin-bottom: 0.55rem;

  font-size: 0.68rem;

  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;

  color: var(--ink-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;

  padding:
    0.85rem
    1rem;

  background: var(--cream-soft);

  border:
    1px solid var(--line);

  border-radius: 2px;

  font-family: var(--font-label);
  font-size: 0.95rem;

  color: var(--ink);
}

.field textarea {
  min-height: 120px;

  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline:
    2px solid var(--gold);

  outline-offset: 1px;
}

.radio-group {
  display: flex;

  gap: 1.4rem;
}

.radio-group label {
  display: flex;
  align-items: center;

  gap: 0.5rem;

  font-size: 0.85rem;

  color: var(--ink-soft);

  text-transform: none;
  letter-spacing: 0;
}

.form-note {
  margin-top: 1rem;

  font-size: 0.8rem;

  color: var(--ink-faint);
}


/* ==========================================================================
   LANDING / SAVE THE DATE
   ========================================================================== */

.landing {
  position: relative;

  width: 100%;
  min-height: 100svh;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  z-index: 1;
}

.invite-stage {
  position: relative;

  width: 100%;
  max-width: 650px;

  margin: 0 auto;
}

.landing .frame {
  position: relative;

  z-index: 2;

  max-width: 560px;

  margin: 0 auto;

  padding:
    clamp(1.5rem, 4vw, 4rem)
    clamp(1.5rem, 5vw, 3rem);

  text-align: center;
}


.landing .frame::before {
  inset: 0;
}

.landing .frame::after {
  inset: 10px;
}

.landing .eyebrow {
  margin-bottom: 0.5rem;

  font-family: var(--font-seasons);
  font-size: 1.38rem;
}

.landing .names {
  font-family: var(--font-seasons);

  font-size:
    clamp(
      2.8rem,
      8vw,
      4.6rem
    );

  line-height: 1.05;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.landing .amp {
  display: block;

  margin:
    0.1em
    0;

  font-family: var(--font-meow);

  font-size:
    clamp(
      1.9rem,
      4.6vw,
      2.6rem
    );

  line-height: 1;

  letter-spacing: 0;

  text-transform: none;

  color: var(--gold);
}

.landing .date-line {
  margin:
    1.5rem
    0
    1.3rem;

  font-family: var(--font-seasons);

  font-size:
    clamp(
      0.95rem,
      2vw,
      1.15rem
    );

  letter-spacing: var(--tracking-wide);

  color: var(--rose);
}

.landing .venue {
  margin-top: 1.2rem;

  font-family: var(--font-seasons);

  font-size: 0.95rem;

  letter-spacing: var(--tracking-mid);

  text-transform: uppercase;

  color: var(--ink-soft);
}


/* ==========================================================================
   LANDING TEASER
   ========================================================================== */

.landing .teaser {
  position: relative;

  z-index: 4;

  margin-top: 0.8rem;

  text-align: center;
}

.landing .teaser p {
  margin:
    0
    0
    1rem;

  font-size: 0.98rem;

  letter-spacing: 0.05em;

  color: var(--rose);
}


/* ==========================================================================
   H&B SEAL
   ========================================================================== */

.seal-trigger {
  display: inline-flex;

  flex-direction: column;

  align-items: center;

  gap: 1.9rem;

  padding: 0;

  background: none;
  border: none;

  cursor: pointer;

  font-family: var(--font-seasons);

  font-size: 0.9rem;

  letter-spacing: var(--tracking-mid);

  text-transform: uppercase;

  color:
    rgba(
      46,
      42,
      34,
      0.55
    );
}

.seal-trigger .seal {
  width: 74px;
  height: 74px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 2% 62%,
      var(--sage),
      var(--sage-soft) 70%,
      var(--sage-soft) 100%
    );

  font-family: var(--font-seasons);
  font-size: 1.3rem;

  color: var(--paper-edge);

  letter-spacing: 0.05em;

  box-shadow:
    0 8px 18px -6px
      rgba(46, 42, 34, 0.35),
    inset 0 1px 2px
      rgba(255, 255, 255, 0.4);

  transition:
    transform 0.5s ease;
}

.seal-trigger:hover .seal {
  transform:
    translateY(-3px)
    scale(1.08);
}


/* ==========================================================================
   LOCK OVERLAY
   ========================================================================== */

.lock-overlay {
  position: fixed;

  inset: 0;

  z-index: 100;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 1.5rem;

  background:
    rgba(
      46,
      42,
      34,
      0.55
    );

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.35s ease;
}

.lock-overlay.is-open {
  opacity: 1;

  pointer-events: auto;
}

.envelope {
  position: relative;

  width: min(420px, 100%);

  perspective: 1400px;
}

.envelope-back {
  position: relative;

  height: 130px;

  background: var(--cream-soft);

  border:
    1px solid var(--line);

  border-radius: 4px;

  box-shadow: var(--shadow-card);
}

.envelope-flap {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 130px;

  background:
    linear-gradient(
      155deg,
      var(--paper-edge),
      var(--cream-soft)
    );

  clip-path:
    polygon(
      0 0,
      100% 0,
      50% 62%
    );

  border:
    1px solid var(--line);

  border-bottom: none;

  transform-origin: top center;

  transform: rotateX(0deg);

  transition:
    transform 0.6s
    cubic-bezier(.4, 0, .2, 1);

  z-index: 3;
}

.envelope.is-open .envelope-flap {
  transform: rotateX(180deg);
}

.envelope-card {
  position: relative;

  z-index: 2;

  margin-top: -18px;

  padding:
    2.4rem
    clamp(1.4rem, 5vw, 2.4rem)
    2rem;

  text-align: center;

  background: var(--cream-soft);

  border:
    1px solid var(--line);

  border-radius: 4px;

  box-shadow: var(--shadow-card);

  opacity: 0;

  transform:
    translateY(-14px);

  transition:
    opacity 0.45s ease 0.25s,
    transform 0.45s ease 0.25s;
}

.envelope.is-open .envelope-card {
  opacity: 1;

  transform:
    translateY(0);
}

.envelope-card h2 {
  margin:
    0.5rem
    0
    1.4rem;

  font-family: var(--font-display);

  font-size: 1.5rem;

  font-weight: 400;
}

#lock-form {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 0.9rem;
}

#lock-form input {
  width: 100%;

  padding:
    0.85rem
    1rem;

  text-align: center;

  background: var(--cream);

  border:
    1px solid var(--line);

  border-radius: 2px;

  font-family: var(--font-label);

  letter-spacing: 0.08em;
}

.lock-error {
  margin-top: 0.9rem;

  font-size: 0.78rem;

  color: #A65B4F;
}

@keyframes shake {

  10%,
  90% {
    transform: translateX(-1px);
  }

  20%,
  80% {
    transform: translateX(2px);
  }

  30%,
  50%,
  70% {
    transform: translateX(-4px);
  }

  40%,
  60% {
    transform: translateX(4px);
  }
}

.envelope.shake {
  animation:
    shake 0.4s ease;
}

.lock-close {
  position: absolute;

  top: -14px;
  right: -14px;

  z-index: 4;

  width: 34px;
  height: 34px;

  border:
    1px solid var(--line);

  border-radius: 50%;

  background: var(--cream-soft);

  font-family: var(--font-label);

  cursor: pointer;

  color: var(--ink-soft);
}


/* ==========================================================================
   INTRO ENVELOPE
   MOBILE ONLY
   ========================================================================== */

.intro-envelope {
  display: none;
}

@media (max-width: 768px) {

  .intro-envelope {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100dvh;
    min-height: 100svh;

    padding:
      max(1rem, env(safe-area-inset-top))
      1rem
      max(1rem, env(safe-area-inset-bottom));

    background: var(--cream);

    overflow: hidden;

    opacity: 1;
    visibility: visible;

    transition:
      opacity 0.9s ease,
      visibility 0.9s ease;
  }

  .intro-envelope.is-opening {
    pointer-events: none;
  }

  .intro-envelope.is-complete {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
  }
}


/* ==========================================================================
   INTRO ENVELOPE SCENE
   ========================================================================== */

.intro-envelope__scene {
  position: relative;

  width: min(82vw, 390px);
  height: min(58vw, 275px);

  perspective: 1200px;

  filter:
    drop-shadow(
      0 28px 35px
      rgba(46, 42, 34, 0.18)
    );
}


/* ==========================================================================
   INTRO CARD
   ========================================================================== */

.intro-envelope__card {
  position: absolute;

  z-index: 1;

  left: 8%;
  right: 8%;
  bottom: 8%;

  height: 84%;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  padding: 1.5rem;

  background:
    linear-gradient(
      135deg,
      #fffdf8 0%,
      #f8f1e6 100%
    );

  border:
    1px solid
    rgba(46, 42, 34, 0.08);

  color: var(--ink);

  transform:
    translateY(25px)
    scale(0.96);

  transition:
    transform 1.15s
      cubic-bezier(.22,.61,.36,1),
    box-shadow 1s ease;
}

.intro-envelope__card-small {
  margin-bottom: 0.7rem;

  font-family: var(--font-label);

  font-size: 0.58rem;

  letter-spacing: 0.28em;

  text-transform: uppercase;

  color: var(--rose);
}

.intro-envelope__card strong {
  font-family: var(--font-seasons);

  font-size:
    clamp(
      2rem,
      8vw,
      3rem
    );

  font-weight: 400;

  line-height: 0.9;
}

.intro-envelope__and {
  margin:
    0.25rem
    0;

  font-family: var(--font-meow);

  font-size: 1.25rem;

  color: var(--gold);
}

.intro-envelope__date {
  margin-top: 1rem;

  font-family: var(--font-label);

  font-size: 0.58rem;

  letter-spacing: 0.3em;

  color: var(--ink-faint);
}


/* ==========================================================================
   INTRO ENVELOPE BODY
   ========================================================================== */

.intro-envelope__body {
  position: absolute;

  inset: 0;

  z-index: 3;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #efe4d2 0%,
      #e7d9c4 100%
    );

  border:
    1px solid
    rgba(46, 42, 34, 0.12);
}

.intro-envelope__body::before,
.intro-envelope__body::after {
  content: "";

  position: absolute;

  bottom: 0;

  width: 72%;
  height: 2px;

  background:
    rgba(
      46,
      42,
      34,
      0.12
    );
}

.intro-envelope__body::before {
  left: -8%;

  transform:
    rotate(28deg);

  transform-origin:
    left center;
}

.intro-envelope__body::after {
  right: -8%;

  transform:
    rotate(-28deg);

  transform-origin:
    right center;
}


/* ==========================================================================
   INTRO FLAP
   ========================================================================== */

.intro-envelope__flap {
  position: absolute;

  z-index: 5;

  top: 0;
  left: 0;

  width: 100%;
  height: 58%;

  background:
    linear-gradient(
      145deg,
      #f5ead9 0%,
      #e8dbc7 100%
    );

  clip-path:
    polygon(
      0 0,
      100% 0,
      50% 100%
    );

  transform-origin:
    top center;

  transition:
    transform 1s
      cubic-bezier(.22,.61,.36,1),
    z-index 0s linear 0.35s;
}


/* ==========================================================================
   INTRO SEAL
   ========================================================================== */

.intro-envelope__seal {
  position: absolute;

  z-index: 8;

  left: 50%;
  top: 51%;

  width: 78px;
  height: 78px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 35% 30%,
      #9b9872 0%,
      #777b58 45%,
      #5d6345 100%
    );

  color: #f8f1e6;

  font-family: var(--font-seasons);

  font-size: 1rem;

  letter-spacing: 0.08em;

  cursor: pointer;

  transform:
    translate(-50%, -50%);

  box-shadow:
    0 8px 16px
      rgba(46,42,34,0.22),
    inset 0 2px 2px
      rgba(255,255,255,0.2);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.4s ease;
}

.intro-envelope__seal::before {
  content: "";

  position: absolute;

  inset: 6px;

  border:
    1px solid
    rgba(255,255,255,0.3);

  border-radius: 50%;
}

.intro-envelope__seal span {
  position: relative;

  z-index: 2;
}

.intro-envelope__seal:hover {
  transform:
    translate(-50%, -50%)
    scale(1.06);

  box-shadow:
    0 12px 24px
      rgba(46,42,34,0.26),
    inset 0 2px 2px
      rgba(255,255,255,0.2);
}

.intro-envelope__seal:active {
  transform:
    translate(-50%, -50%)
    scale(0.94);
}


/* ==========================================================================
   INTRO SEAL ANIMATION
   ========================================================================== */

.intro-envelope:not(.is-opening)
.intro-envelope__seal {
  animation:
    introSealPulse
    2.4s
    ease-in-out
    infinite;
}

@keyframes introSealPulse {

  0%,
  100% {
    box-shadow:
      0 8px 16px
        rgba(46,42,34,0.22),
      inset 0 2px 2px
        rgba(255,255,255,0.2);
  }

  50% {
    box-shadow:
      0 12px 24px
        rgba(46,42,34,0.28),
      0 0 0 7px
        rgba(124,135,96,0.08),
      inset 0 2px 2px
        rgba(255,255,255,0.2);
  }
}


/* ==========================================================================
   INTRO INSTRUCTION
   ========================================================================== */

.intro-envelope__instruction {
  margin:
    2rem
    0
    0;

  font-family: var(--font-label);

  font-size: 0.7rem;

  letter-spacing: 0.24em;

  text-transform: uppercase;

  color: var(--ink-faint);

  opacity: 0.9;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}


/* ==========================================================================
   INTRO OPENING ANIMATION
   ========================================================================== */

.intro-envelope.is-opening
.intro-envelope__instruction {
  opacity: 0;

  transform:
    translateY(8px);
}

.intro-envelope.is-opening
.intro-envelope__seal {
  animation: none;

  opacity: 0;

  transform:
    translate(-50%, -50%)
    scale(1.35)
    rotate(8deg);

  transition:
    opacity 0.35s ease 0.05s,
    transform 0.45s
      cubic-bezier(.22,.61,.36,1);
}

.intro-envelope.is-opening
.intro-envelope__flap {
  transform:
    rotateX(180deg);
}

.intro-envelope.is-opening
.intro-envelope__card {
  z-index: 7;

  transform:
    translateY(-115px)
    scale(1);

  box-shadow:
    0 25px 45px
      rgba(46,42,34,0.18);

  transition-delay: 0.35s;
}

.intro-envelope.is-opening.is-complete {
  transition:
    opacity 0.9s ease 0.05s,
    visibility 0.9s ease 0.05s;
}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline:
    2px solid var(--gold);

  outline-offset: 3px;
}


/* ==========================================================================
   TABLET / MOBILE
   ========================================================================== */

@media (max-width: 780px) {

  /* ------------------------------------------------------------------------
     GLOBAL
     ------------------------------------------------------------------------ */

  html,
  body {
    width: 100%;
    max-width: 100%;

    overflow-x: hidden;
  }


  /* ------------------------------------------------------------------------
     HEADER
     ------------------------------------------------------------------------ */

  .site-header {
    height: 64px;
    min-height: 64px;

    padding:
      0
      1rem;

    z-index: 10000;
  }

  .site-header .monogram {
    padding: 0;
    margin: 0;

    font-size: 1.15rem;

    letter-spacing: 0.18em;
  }


  /* ------------------------------------------------------------------------
     HAMBURGER
     ------------------------------------------------------------------------ */

  .nav-toggle {
    display: flex;

    align-items: center;
    justify-content: center;
  }

  .nav-toggle span {
    left: 8px;
    right: 8px;
  }

  .nav-toggle[aria-expanded="true"]
  span:nth-child(1) {
    top: 20px;

    transform:
      rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"]
  span:nth-child(2) {
    opacity: 0;

    transform:
      scaleX(0);
  }

  .nav-toggle[aria-expanded="true"]
  span:nth-child(3) {
    top: 20px;

    transform:
      rotate(-45deg);
  }


  /* ------------------------------------------------------------------------
     MOBILE NAV
     ------------------------------------------------------------------------ */

  .site-nav {
    position: fixed;

    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height:
      calc(
        100dvh - 64px
      );

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    gap: 0;

    padding:
      3rem
      1.5rem
      4rem;

    background:
      rgba(
        251,
        247,
        239,
        0.98
      );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    overflow-y: auto;
    overflow-x: hidden;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
      translateY(-12px);

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;

    z-index: 9999;
  }

  .site-nav.is-open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
      translateY(0);
  }

  .site-nav a {
    width:
      min(
        100%,
        320px
      );

    padding:
      1rem
      0;

    border-bottom:
      1px solid var(--line-soft);

    text-align: center;

    font-family: var(--font-label);

    font-size: 0.82rem;

    letter-spacing: 0.24em;

    color: var(--ink);
  }

  .site-nav a:first-child {
    border-top:
      1px solid var(--line-soft);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    color: var(--gold);
  }


  /* ------------------------------------------------------------------------
     PAGE HERO
     ------------------------------------------------------------------------ */

  .page-hero {
    padding:
      calc(64px + 3.5rem)
      1.25rem
      2.75rem;
  }

  .page-hero h1 {
    font-size:
      clamp(
        2.2rem,
        11vw,
        3.2rem
      );

    line-height: 1.05;
  }

  .page-hero .lede {
    width: 100%;

    max-width: 38ch;

    margin-top: 1rem;

    font-size: 0.95rem;

    line-height: 1.7;
  }


  /* ------------------------------------------------------------------------
     SECTIONS
     ------------------------------------------------------------------------ */

  .section {
    width: 100%;
    max-width: 100%;

    padding:
      2.75rem
      1.25rem;
  }

  .section--narrow {
    max-width: 100%;
  }


  /* ------------------------------------------------------------------------
     TYPOGRAPHY
     ------------------------------------------------------------------------ */

  .eyebrow {
    font-size: 0.72rem;

    letter-spacing: 0.24em;
  }

  .display {
    letter-spacing: 0.05em;
  }


  /* ------------------------------------------------------------------------
     BUTTONS
     ------------------------------------------------------------------------ */

  .btn {
    min-height: 48px;

    padding:
      0.85rem
      1.4rem;

    font-size: 0.68rem;
  }


  /* ------------------------------------------------------------------------
     COUNTDOWN
     ------------------------------------------------------------------------ */

  .countdown {
    width: 100%;

    gap: 0.65rem;

    margin:
      1.75rem
      auto;

    flex-wrap: nowrap;
  }

  .countdown .unit {
    min-width: 0;

    flex: 1;
  }

  .countdown .num {
    font-size:
      clamp(
        1.75rem,
        8vw,
        2.4rem
      );
  }

  .countdown .lbl {
    margin-top: 0.35rem;

    font-size: 0.5rem;

    letter-spacing: 0.18em;
  }

  .countdown .sep {
    font-size: 1.3rem;
  }


  /* ------------------------------------------------------------------------
     STORY
     ------------------------------------------------------------------------ */

  .story-block,
  .story-block:nth-child(even) {
    grid-template-columns: 1fr;

    gap: 1.75rem;

    padding: 2rem 0;
  }

  .story-block:nth-child(even)
  .story-art {
    order: 0;
  }

  .story-art {
    width: 100%;

    aspect-ratio: 4 / 5;
  }

  .story-copy h2 {
    font-size: 2rem;

    line-height: 1.1;
  }

  .story-copy p {
    font-size: 0.94rem;

    line-height: 1.75;
  }


  /* ------------------------------------------------------------------------
     CARDS
     ------------------------------------------------------------------------ */

  .card-grid {
    grid-template-columns: 1fr;

    gap: 1rem;

    margin-top: 1.5rem;
  }

  .info-card {
    padding:
      1.5rem
      1.25rem;
  }

  .info-card h3 {
    font-size: 1.25rem;
  }

  .info-card p {
    font-size: 0.9rem;
  }


  /* ------------------------------------------------------------------------
     FAQ
     ------------------------------------------------------------------------ */

  .accordion {
    margin-top: 1.25rem;
  }

  .accordion-q {
    padding:
      1.2rem
      0;

    font-size: 1.05rem;

    line-height: 1.35;
  }

  .accordion-a p {
    padding-right: 1.5rem;

    font-size: 0.9rem;

    line-height: 1.7;
  }


  /* ------------------------------------------------------------------------
     FORMS
     ------------------------------------------------------------------------ */

  .form-grid {
    grid-template-columns: 1fr;

    gap: 1.1rem;

    margin-top: 1.75rem;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 48px;

    padding:
      0.8rem
      0.9rem;

    font-size: 16px;
  }

  .field textarea {
    min-height: 130px;
  }

  .radio-group {
    flex-direction: column;

    gap: 0.8rem;
  }


  /* ------------------------------------------------------------------------
     TIMELINE
     ------------------------------------------------------------------------ */

  .timeline {
    width: 100%;
    max-width: 100%;

    margin-top: 2rem;

    padding-left: 0;
  }

  .timeline::before {
    left: 74px;
  }

  .timeline-item {
    grid-template-columns:
      58px
      32px
      minmax(0, 1fr);

    gap:
      0
      0.7rem;

    padding-bottom: 2rem;
  }

  .timeline-item .time {
    font-size: 0.9rem;

    line-height: 1.25;
  }

  .timeline-item h3 {
    font-size: 1.15rem;

    line-height: 1.25;
  }

  .timeline-item p {
    font-size: 0.88rem;

    line-height: 1.6;
  }


  /* ------------------------------------------------------------------------
     FOOTER
     ------------------------------------------------------------------------ */

  .site-footer {
    margin-top: 3rem;

    padding:
      2.75rem
      1.25rem
      2rem;
  }

  .site-footer .monogram {
    font-size: 1.4rem;
  }

  .site-footer p {
    font-size: 0.6rem;

    line-height: 1.7;
  }


  /* ========================================================================
     MOBILE LANDING PAGE
     ======================================================================== */

  .landing {
    width: 100%;

    min-height: 100dvh;
    min-height: 100svh;

    padding:
      max(1rem, env(safe-area-inset-top))
      1rem
      max(1rem, env(safe-area-inset-bottom));

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;
  }

  .invite-stage {
    position: relative;

    width: 100%;
    max-width: 100%;

    margin: 0 auto;
  }

  .landing .frame {
    width: 100%;

    max-width: 500px;

    margin: 0 auto;

    padding:
      1.25rem
      1rem;
  }

  .landing .eyebrow {
    margin-bottom: 0.4rem;

    font-size:
      clamp(
        0.9rem,
        4vw,
        1.2rem
      );

    letter-spacing: 0.2em;
  }

  .landing .names {
    font-size:
      clamp(
        2.35rem,
        12vw,
        4rem
      );

    line-height: 0.98;

    letter-spacing: 0.045em;
  }

  .landing .amp {
    margin:
      0.12em
      0;

    font-size:
      clamp(
        1.65rem,
        7vw,
        2.3rem
      );
  }

  .landing .date-line {
    margin:
      1.15rem
      0
      1rem;

    font-size:
      clamp(
        0.72rem,
        3.1vw,
        0.95rem
      );

    letter-spacing: 0.2em;
  }

  .landing .venue {
    margin-top: 0.85rem;

    font-size: 0.72rem;

    line-height: 1.5;

    letter-spacing: 0.16em;
  }

  .landing .teaser {
    margin-top: 1.1rem;

    position: relative;

    z-index: 6;
  }

  .landing .teaser p {
    margin-bottom: 0.8rem;

    font-size: 0.78rem;

    line-height: 1.5;
  }

  .seal-trigger {
    gap: 1rem;

    font-size: 0.68rem;

    letter-spacing: 0.18em;
  }

  .seal-trigger .seal {
    width: 64px;
    height: 64px;

    font-size: 1.05rem;
  }


  /* ========================================================================
     IMPORTANT:
     MOBILE FLORAL SPRAYS
     
     These are deliberately FIXED to the viewport.
     
     They are NOT positioned at 72%, 100%, etc.
     They stay attached to the bottom edge of the phone.
     ======================================================================== */

  .spray-img {
    position: fixed !important;

    top: auto !important;
    bottom: -35px !important;

    width: 155px !important;
    height: auto !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    pointer-events: none !important;

    z-index: 3 !important;

    transform: none !important;

    filter:
      drop-shadow(
        0 10px 16px
        rgba(46,42,34,0.12)
      );
  }

  .spray-img--left {
    position: fixed !important;

    left: -38px !important;
    right: auto !important;

    top: auto !important;
    bottom: -35px !important;

    transform:
      rotate(-4deg) !important;
  }

  .spray-img--right {
    position: fixed !important;

    right: -38px !important;
    left: auto !important;

    top: auto !important;
    bottom: -35px !important;

    transform:
      rotate(4deg) !important;
  }

@media (max-width: 780px) {

  .spray-img {
    width: 170px !important;
    bottom: -35px !important;
  }

  .spray-img--left {
    left: -38px !important;
    bottom: -35px !important;
  }

  .spray-img--right {
    right: -38px !important;
    bottom: -35px !important;
  }

}

@media (max-width: 480px) {

  .spray-img {
    width: 165px !important;
    bottom: -35px !important;
  }

  .spray-img--left {
    left: -36px !important;
    bottom: -35px !important;
  }

  .spray-img--right {
    right: -36px !important;
    bottom: -35px !important;
  }

}
  /* ------------------------------------------------------------------------
     LOCK OVERLAY
     ------------------------------------------------------------------------ */

  .lock-overlay {
    padding:
      1rem
      max(1rem, env(safe-area-inset-right))
      max(1rem, env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-left));
  }

  .envelope {
    width:
      min(
        92vw,
        420px
      );
  }

  .envelope-back,
  .envelope-flap {
    height: 115px;
  }

  .envelope-card {
    padding:
      2rem
      1.25rem
      1.5rem;
  }

  .lock-close {
    top: -10px;
    right: -4px;
  }


  /* ------------------------------------------------------------------------
     INTRO ENVELOPE
     ------------------------------------------------------------------------ */

  .intro-envelope {
    display: flex;

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100dvh;
    min-height: 100svh;

    padding:
      max(1rem, env(safe-area-inset-top))
      1rem
      max(1rem, env(safe-area-inset-bottom));

    z-index: 99999;

    align-items: center;
    justify-content: center;

    background: var(--cream);

    overflow: hidden;

    overscroll-behavior: none;
  }

  .intro-envelope__scene {
    position: relative;

    width:
      min(
        88vw,
        360px
      );

    height:
      min(
        60vw,
        245px
      );

    max-width: 360px;
    max-height: 245px;

    perspective: 1200px;
  }

  .intro-envelope__card {
    left: 7%;
    right: 7%;
    bottom: 7%;

    height: 86%;

    padding:
      1rem
      0.75rem;

    text-align: center;
  }

  .intro-envelope__card-small {
    margin-bottom: 0.5rem;

    font-size: 0.52rem;

    letter-spacing: 0.22em;
  }

  .intro-envelope__card strong {
    font-size:
      clamp(
        1.75rem,
        8.5vw,
        2.7rem
      );

    line-height: 0.9;
  }

  .intro-envelope__and {
    margin:
      0.2rem
      0;

    font-size: 1.15rem;
  }

  .intro-envelope__date {
    margin-top: 0.75rem;

    font-size: 0.52rem;

    letter-spacing: 0.22em;
  }

  .intro-envelope__seal {
    width:
      clamp(
        64px,
        18vw,
        72px
      );

    height:
      clamp(
        64px,
        18vw,
        72px
      );

    font-size: 0.82rem;
  }

  .intro-envelope__instruction {
    margin-top: 1.4rem;

    max-width: 90vw;

    font-size: 0.58rem;

    letter-spacing: 0.18em;

    text-align: center;
  }

  .intro-envelope.is-opening
  .intro-envelope__card {
    transform:
      translateY(
        clamp(
          -100px,
          -25vw,
          -78px
        )
      )
      scale(1);
  }
}


/* ==========================================================================
   SMALL PHONES
   ========================================================================== */

@media (max-width: 780px) {

  .spray-img {
    width: 180px !important;

    bottom: -35px !important;
  }

  .spray-img--left {
    left: -38px !important;

    bottom: -35px !important;
  }

  .spray-img--right {
    right: -38px !important;

    bottom: -35px !important;
  }

  .landing .names {
    font-size:
      clamp(
        2.25rem,
        11.5vw,
        3.6rem
      );
  }

  .landing .frame {
    padding:
      1rem
      0.75rem;
  }

  .landing .venue {
    font-size: 0.7rem;
  }

  .seal-trigger .seal {
    width: 62px;
    height: 62px;
  }

  .intro-envelope__scene {
    width: 90vw;

    height: 225px;
  }

  .intro-envelope__seal {
    width: 64px;
    height: 64px;
  }
}


/* ==========================================================================
   VERY SMALL PHONES
   ========================================================================== */

}

@media (max-width: 480px) {

  .spray-img {

    width: 165px !important;

    bottom: -35px !important;

  }

  .spray-img--left {

    left: -36px !important;

    bottom: -35px !important;

  }

  .spray-img--right {

    right: -36px !important;

    bottom: -35px !important;

  }

}

  .site-nav {
    top: 60px;

    height:
      calc(
        100dvh - 60px
      );

    padding-top: 2.75rem;
  }

  .landing {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .landing .frame {
    padding:
      0.75rem
      0.5rem;
  }

  .landing .names {
    font-size:
      clamp(
        2.05rem,
        11.5vw,
        3rem
      );
  }

  .landing .eyebrow {
    font-size: 0.82rem;
  }

  .landing .date-line {
    margin-top: 0.9rem;

    font-size: 0.65rem;

    letter-spacing: 0.17em;
  }

  .landing .venue {
    font-size: 0.66rem;
  }

  .landing .teaser {
    margin-top: 0.8rem;
  }

  .seal-trigger .seal {
    width: 58px;
    height: 58px;
  }


  .intro-envelope__scene {
    width: 90vw;
    height: 220px;
  }

  .intro-envelope__seal {
    width: 62px;
    height: 62px;
  }

  .intro-envelope__card strong {
    font-size: 1.9rem;
  }
}


/* ==========================================================================
   LANDSCAPE PHONES
   ========================================================================== */

@media (max-width: 780px)
and (orientation: landscape) {

  .landing {
    align-items: flex-start;

    overflow-y: auto;
  }

  .landing .frame {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .intro-envelope {
    overflow-y: auto;

    align-items: flex-start;

    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .intro-envelope__scene {
    width:
      min(
        65vw,
        360px
      );

    height:
      min(
        42vw,
        220px
      );
  }

  .intro-envelope__instruction {
    margin-top: 1rem;
  }
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration:
      0.012ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.001ms !important;

    scroll-behavior:
      auto !important;
  }

  .site-nav,
  .nav-toggle span,
  .spray-img,
  .intro-envelope,
  .intro-envelope__card,
  .intro-envelope__flap,
  .intro-envelope__seal,
  .intro-envelope__instruction {
    transition: none !important;
    animation: none !important;
  }
}
/* =========================================================
   MOBILE FLORAL FADE
   Softly fades the flowers into the cream background
   ========================================================= */

@media screen and (max-width: 780px) {

  .landing::after {
    content: "";

    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    height: 150px;

    background: linear-gradient(
      to bottom,
      rgba(246, 240, 230, 0) 0%,
      rgba(246, 240, 230, 0.15) 25%,
      rgba(246, 240, 230, 0.55) 55%,
      rgba(246, 240, 230, 0.88) 78%,
      rgba(246, 240, 230, 1) 100%
    );

    pointer-events: none;

    z-index: 4;

  }

}

/* =========================================================
   DESKTOP HEADER — FINAL FIX
   ========================================================= */

@media screen and (min-width: 781px) {

  .site-header {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;

    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 0 3rem !important;
    margin: 0 !important;

    transform: none !important;

    z-index: 10000 !important;

    background: rgba(246, 240, 230, 0.92) !important;

    border-bottom: 1px solid var(--line-soft);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }


  /* ---------------------------------------------------------
     H & B LOGO
     --------------------------------------------------------- */

  .site-header .monogram {
    display: flex;
    align-items: center;

    height: 54px;

    margin: 0 !important;
    padding: 0 !important;

    font-family: var(--font-display);
    font-size: 1.2rem;

    line-height: 1;

    letter-spacing: 0.2em;

    white-space: nowrap;
  }


  /* ---------------------------------------------------------
     NAV
     --------------------------------------------------------- */

  .site-nav {
    position: static !important;

    display: flex !important;
    align-items: center !important;

    justify-content: flex-end !important;

    height: 54px;

    gap: 1.8rem;

    margin: 0 !important;
    padding: 0 !important;

    font-family: var(--font-label);

    font-size: 0.72rem;

    line-height: 1;

    letter-spacing: 0.18em;

    text-transform: uppercase;
  }


  /* ---------------------------------------------------------
     NAV LINKS
     --------------------------------------------------------- */

  .site-nav a {
    position: relative;

    display: flex;
    align-items: center;

    height: 54px;

    margin: 0;
    padding: 0 !important;

    color: var(--ink-soft);

    line-height: 1;

    white-space: nowrap;

    transition: color 0.25s ease;
  }


  /* ---------------------------------------------------------
     GOLD ACTIVE / HOVER LINE
     --------------------------------------------------------- */

  .site-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 10px;

    height: 1px;

    background: var(--gold);

    transform: scaleX(0);

    transform-origin: left;

    transition:
      transform 0.3s ease;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    color: var(--ink);
  }

  .site-nav a:hover::after,
  .site-nav a.is-active::after {
    transform: scaleX(1);
  }

}


/* =========================================================
   MOBILE HEADER — KEEP SEPARATE
   ========================================================= */

@media screen and (max-width: 780px) {

  .site-header {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;

    height: 64px !important;
    min-height: 64px !important;

    padding: 0 1rem !important;

    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    transform: none !important;

    z-index: 10000 !important;
  }

}
/* =========================================================
   DESKTOP FLORAL SPRAYS
   Fixed to the bottom corners of the screen
   ========================================================= */

@media screen and (min-width: 781px) {

  .spray-img {
    position: fixed !important;

    top: auto !important;
    bottom: -5px !important;

    width: 310px !important;
    height: auto !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    pointer-events: none !important;

    z-index: 3 !important;

    transform: none !important;
  }


  /* LEFT FLOWER */

  .spray-img--left {
    position: fixed !important;

    left: -15px !important;
    right: auto !important;

    top: auto !important;
    bottom: -3px !important;

    transform:
      rotate(-3deg) !important;
  }


  /* RIGHT FLOWER */

  .spray-img--right {
    position: fixed !important;

    right: -15px !important;
    left: auto !important;

    top: auto !important;
    bottom: -3px !important;

    transform:
      rotate(3deg) !important;
  }

}
