@font-face {
  font-family: "EB Garamond";
  src: url("/static/934aa932b4bc1a75/eb-garamond-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/static/b536adfa0f5746cf/eb-garamond-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Cardo;
  src: url("/static/2b86847db9b2737b/cardo-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --paper-light: #fcfaf5;
  --ink: #2e4235;
  --green: #304c3c;
  --muted: #74796b;
  --gold: #ad9367;
  --line: #dcded0;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: "EB Garamond", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
}
body.cover-active {
  overflow: hidden;
}
a {
  -webkit-tap-highlight-color: transparent;
  color: inherit;
  text-underline-offset: 5px;
}
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 7px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
svg:has(use[href="#botanical"]) {
  stroke: none;
}
figure {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Cardo, Georgia, serif;
  font-weight: 400;
}
h2 em {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 400;
}
button,
a {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.section-shell {
  width: min(1120px, calc(100% - 112px));
  margin-inline: auto;
}
.small-rule {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}

/* Each fold is separate; the card stays behind the front pocket. */
.cover {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: clamp(28px, 5vh, 64px) 24px 28px;
  background: radial-gradient(ellipse at 45% 32%, #fffdf8 0, #eee9dd 100%);
  overflow: hidden;
  isolation: isolate;
}
.js .cover {
  position: fixed;
  inset: 0;
  z-index: 40;
  min-height: 0;
  height: 100dvh;
}
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/static/95c5dd779a6b03dd/papel-linho.webp") center/260px;
  opacity: 0.16;
  mix-blend-mode: multiply;
  z-index: -1;
  pointer-events: none;
}
.cover-header {
  text-align: center;
  transition:
    opacity 0.45s,
    transform 0.65s;
}
.cover-header .eyebrow {
  color: #66705a;
  margin-bottom: 19px;
  font-size: 10px;
  letter-spacing: 0.24em;
}
.cover-title {
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin: 0;
}
.cover-title em {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.15em;
  font-weight: 400;
}
.envelope-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1500px;
  width: min(700px, 100%);
  height: 100%;
  min-height: 0;
  isolation: isolate;
}
.envelope {
  position: relative;
  width: min(500px, 82vw, calc((100svh - 270px) * 1.47));
  aspect-ratio: 1.47;
  transform: rotate(-3deg);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-style: preserve-3d;
}
.envelope-shadow {
  position: absolute;
  top: calc(50% + 150px);
  left: 20%;
  width: 60%;
  height: 20px;
  background: #6e6246;
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.2;
  transition: opacity 1s;
}
.envelope-back,
.envelope-pocket,
.envelope-wing,
.envelope-bottom,
.flap-front,
.flap-back {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(145deg, #fffaf030, #b3a78819),
    url("/static/95c5dd779a6b03dd/papel-linho.webp");
  background-size: auto, 240px;
}
.envelope-back {
  z-index: 0;
  border-radius: 4px;
  background-color: #d9ceba;
  box-shadow:
    0 16px 28px #5c503829,
    0 2px 4px #5c503824,
    inset 0 0 0 1px #d0c4ac;
}
.envelope-pocket {
  z-index: 3;
  clip-path: polygon(0 0, 50% 57%, 100% 0, 100% 100%, 0 100%);
  background-color: #e9e0cf;
}
.envelope-wing {
  z-index: 4;
  filter: drop-shadow(0 0 1px #998765);
}
.wing-left {
  clip-path: polygon(0 0, 56% 61%, 0 100%);
  background-image:
    linear-gradient(115deg, #fff7e900, #96846a30),
    url("/static/95c5dd779a6b03dd/papel-linho.webp");
}
.wing-right {
  clip-path: polygon(100% 0, 44% 61%, 100% 100%);
  background-image:
    linear-gradient(245deg, #fffaf032, #96846a25),
    url("/static/95c5dd779a6b03dd/papel-linho.webp");
}
.envelope-bottom {
  z-index: 5;
  clip-path: polygon(0 100%, 50% 49%, 100% 100%);
  background-image:
    linear-gradient(0deg, #f2ead925, #a6987e24), url("/static/95c5dd779a6b03dd/papel-linho.webp");
}
.envelope-flap {
  position: absolute;
  inset: 0 0 auto;
  height: 62%;
  z-index: 6;
  transform-origin: 50% 0;
  transform-style: preserve-3d;
  filter: drop-shadow(0 4px 3px #5f4b3128);
}
.flap-front,
.flap-back {
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-color: #eae0ce;
}
.flap-front {
  background-image:
    linear-gradient(155deg, #fffdf53d, #ac9b7e16),
    url("/static/95c5dd779a6b03dd/papel-linho.webp");
}
.flap-back {
  transform: rotateX(180deg);
  background-image:
    linear-gradient(180deg, #b6a58c45, #faf5e930),
    url("/static/95c5dd779a6b03dd/papel-linho.webp");
}
.embossed-monogram {
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  font-family: Cardo, Georgia, serif;
  color: #e9e0cf;
  text-shadow:
    -1px -1px 1px #a89b8260,
    1px 1px 1px #fffef8;
  font-size: clamp(34px, 5vw, 59px);
  line-height: 1;
}
.embossed-monogram span {
  display: inline-block;
  transform: translate(-0.25em, 0.3em);
  margin-right: -0.25em;
  font-size: 1.15em;
}
.seal {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 58%;
  width: 23%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  cursor: pointer;
  outline-offset: 7px;
}
.wax-seal {
  display: block;
  width: 100%;
  height: 100%;
  background: url("/static/689627de773616f3/envelope.webp") 50.9% 56.3%/430% auto;
  border-radius: 48% 52% 49% 51%/50% 47% 53% 50%;
  box-shadow:
    0 5px 8px #3e422b40,
    inset 0 0 2px #6a704c;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s;
}
.seal:hover .wax-seal,
.seal:focus-visible .wax-seal {
  transform: translateY(-4px) rotate(-7deg);
  box-shadow: 0 10px 12px #3e422b33;
}
.letter-preview {
  position: absolute;
  inset: 6% 7% 8%;
  z-index: 2;
  background: var(--paper-light);
  border: 1px solid #ded8c6;
  box-shadow: 0 0 4px #5c503819;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 11px;
  text-align: center;
  padding: 18px;
  will-change: transform;
}
.letter-preview::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #ab956544;
  pointer-events: none;
}
.letter-eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  font-size: 7px;
  letter-spacing: 0.24em;
}
.letter-monogram,
.sheet-monogram,
.footer-monogram {
  font-family: Cardo, Georgia, serif;
  font-size: 60px;
  line-height: 1.1;
  font-weight: 400;
}
.letter-monogram span,
.sheet-monogram span,
.footer-monogram span {
  display: inline-block;
  transform: translate(-0.3em, 0.27em);
  margin-right: -0.3em;
  font-size: 1.12em;
}
.letter-names {
  font-size: 19px;
}
.letter-date {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.22em;
}
.letter-monogram {
  margin-bottom: 16px;
}
.cover-botanical {
  position: absolute;
  width: 140px;
  height: 180px;
  color: #8a9472;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}
.botanical-left {
  left: 5%;
  top: 42%;
  transform: rotate(-40deg);
}
.botanical-right {
  right: 4%;
  top: 28%;
  transform: rotate(35deg) scaleX(-1);
}
.cover-footer {
  text-align: center;
  transition:
    opacity 0.4s,
    transform 0.6s;
}
.open-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 16px;
  margin-bottom: 15px;
}
.hint-line {
  width: 28px;
  height: 1px;
  background: #9c967f80;
}
.cover-date {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #71745f;
  margin: 0;
}
.cover-date span {
  margin: 0 8px;
  color: #a18c63;
}
.is-opening .cover-header {
  opacity: 0;
  transform: translateY(-15px);
}
.is-opening .cover-footer {
  opacity: 0;
  transform: translateY(12px);
}
.is-opening .cover-botanical {
  transition: opacity 0.7s;
  opacity: 0;
}
.is-opening .envelope {
  transform: rotate(0);
}
.is-opening .seal {
  animation: release-seal 0.5s ease forwards;
  pointer-events: none;
}
.is-opening .envelope-flap {
  animation: lift-flap 1s 0.18s cubic-bezier(0.4, 0.05, 0.2, 1) forwards;
}
.is-opening .letter-preview {
  animation: lift-letter 1.05s 0.65s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
}
.is-opening .envelope-shadow {
  opacity: 0.1;
}
@keyframes release-seal {
  0% {
    transform: translate(-50%, -50%) rotate(0);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -38%) rotate(-12deg) scale(1.07);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15%) rotate(-20deg) scale(0.95);
    opacity: 0;
  }
}
@keyframes lift-flap {
  0% {
    transform: rotateX(0);
    z-index: 6;
  }
  49% {
    z-index: 6;
  }
  50%,
  100% {
    z-index: 1;
  }
  100% {
    transform: rotateX(180deg);
  }
}
@keyframes lift-letter {
  0% {
    transform: translateY(0) rotate(0);
  }
  100% {
    transform: translateY(-82%) rotate(1deg);
  }
}
.reveal-sheet {
  position: fixed;
  z-index: 50;
  display: grid;
  place-items: center;
  background: var(--paper-light);
  box-shadow: 0 0 60px #4f50301a;
  pointer-events: none;
  overflow: hidden;
  will-change: width, height, left, top, opacity;
}
.sheet-monogram {
  font-size: 60px;
  margin-bottom: 15px;
}

/* Editorial invitation and clearly visible guest actions. */
.js:not(.is-open) .invitation {
  display: none;
}
.invitation {
  outline: none;
}
.invitation-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px max(32px, calc((100vw - 1256px) / 2));
  border-bottom: 1px solid #d9ddcf8c;
  background: #f7f4edf0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.wordmark {
  text-decoration: none;
  font-family: Cardo, Georgia, serif;
  font-size: 26px;
  letter-spacing: -0.08em;
  line-height: 1.3;
}
.wordmark span {
  font-family: "EB Garamond", serif;
  font-size: 0.65em;
  margin: 0 5px;
  font-style: italic;
  color: #8b8e70;
}
.nav-links {
  display: flex;
  gap: 30px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.nav-links a {
  text-decoration: none;
  color: #6a7363;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-rsvp {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #9da68e;
  border-radius: 3px;
  text-decoration: none;
  padding: 11px 17px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.nav-rsvp svg {
  width: 13px;
  height: 13px;
}
.nav-rsvp:hover {
  background: #e6e9dc;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 9%;
  padding: 68px 0 90px;
  min-height: calc(100svh - 77px);
  max-width: 1080px;
}
.hero-copy {
  padding-bottom: 16px;
}
.hero-copy > .eyebrow {
  color: #7d826a;
  margin-bottom: 30px;
}
.couple-names {
  font-size: clamp(60px, 6.4vw, 87px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 0 0 30px;
}
.couple-names > span {
  display: block;
}
.couple-names .name-line {
  display: flex;
  align-items: center;
  gap: 17px;
}
.couple-names i {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 0.6em;
  letter-spacing: 0;
  color: #8c9776;
  margin-left: 3px;
}
.hero-message {
  max-width: 380px;
  font-size: 19px;
  line-height: 1.6;
  color: #6b7262;
  margin-bottom: 28px;
}
.hero-date {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 30px;
}
.date-day {
  font-size: 48px;
  line-height: 1;
  font-family: Cardo, serif;
  letter-spacing: -0.05em;
}
.date-month,
.date-place {
  font-size: 17px;
  line-height: 1.3;
}
.hero-date small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  color: #848b78;
  letter-spacing: 0.08em;
  margin-top: 7px;
}
.date-divider {
  height: 35px;
  width: 1px;
  background: #d3d7c6;
  margin: 0 7px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid #adb59f;
  padding-bottom: 8px;
}
.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}
.text-link:hover svg {
  transform: translateX(5px);
}
.hero-portrait {
  position: relative;
  padding: 11px 11px 0 0;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 0 0 37px 11px;
  border: 1px solid #c0c4ae;
  border-radius: 240px 240px 4px 4px;
  pointer-events: none;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 0.73;
  overflow: hidden;
  border-radius: 240px 240px 4px 4px;
  background: #d9d9ca;
}
.portrait-frame img {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: 50% 75%;
  max-width: none;
}
.portrait-botanical {
  position: absolute;
  bottom: 10px;
  left: -72px;
  width: 145px;
  height: 190px;
  color: #78896c;
  transform: rotate(-25deg);
  filter: drop-shadow(2px 3px 1px var(--paper));
}
.hero-portrait figcaption {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 13px;
  color: #7e846f;
  font-style: italic;
  margin-top: 18px;
}
.caption-line {
  width: 26px;
  height: 1px;
  background: #a4ae92;
}
.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: #7d8672;
  white-space: nowrap;
}
.scroll-cue svg {
  transform: rotate(90deg);
  width: 18px;
  height: 18px;
}
.blessing-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eeefe5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 54px;
}
.blessing-leaf {
  width: 43px;
  height: 56px;
  color: #9ba58a;
  margin-bottom: 16px;
  transform: rotate(12deg);
}
.blessing {
  max-width: 690px;
  text-align: center;
  margin: 0;
}
.blessing p {
  font-size: 25px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #596b52;
}
.blessing cite {
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #818a71;
}
.celebration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10%;
  padding-top: 105px;
  padding-bottom: 105px;
}
.detail-photo {
  aspect-ratio: 0.94;
  position: relative;
  overflow: hidden;
  background: #eeece5;
  border-radius: 3px;
}
.detail-photo img {
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  max-width: none;
  height: auto;
}
.detail-photo::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #d8d6c657);
}
.photo-caption {
  position: absolute;
  bottom: 26px;
  left: 30px;
  right: 20px;
  z-index: 1;
  font-size: 21px;
  font-style: italic;
  color: #4e5d49;
}
.celebration-copy > .eyebrow {
  color: #939a7d;
  margin-bottom: 16px;
}
.celebration-copy h2 {
  font-size: 47px;
  line-height: 1.17;
  letter-spacing: -0.04em;
  margin-bottom: 19px;
}
.celebration-copy h2 em {
  color: #7e8e6d;
  font-size: 1.1em;
}
.details-intro {
  max-width: 320px;
  font-size: 18px;
  line-height: 1.5;
  color: #7c8272;
  margin-bottom: 29px;
}
.event-detail {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  margin: 0 0 23px;
}
.event-detail > svg {
  width: 19px;
  height: 19px;
  color: #8a9778;
  margin-top: 4px;
}
.event-detail h3 {
  font-size: 21px;
  font-weight: 400;
  margin: 0 0 5px;
}
.event-detail p {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #818975;
  margin: 0;
  line-height: 1.7;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 48px;
  border-radius: 3px;
  padding: 14px 22px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}
.button:hover svg {
  transform: translateX(3px);
}
.button-outline {
  border: 1px solid #a8b39a;
  background: transparent;
}
.button-outline:hover {
  background: #e9edde;
  transform: translateY(-2px);
}
.celebration .button {
  margin-left: 36px;
  margin-top: 4px;
}
.guest-section {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 8%;
  align-items: center;
  padding-bottom: 108px;
}
.rsvp-panel {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: #faf7ed;
  padding: 45px 42px 43px;
  border-radius: 3px;
}
.rsvp-panel > .eyebrow {
  color: #c0c7ab;
  font-size: 8px;
  letter-spacing: 0.2em;
  margin-bottom: 23px;
}
.rsvp-panel h2 {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.rsvp-panel h2 em {
  color: #dce0c9;
  font-size: 1.1em;
}
.rsvp-panel > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.65;
  color: #c5cebb;
  margin-bottom: 28px;
  max-width: 330px;
}
.rsvp-botanical {
  position: absolute;
  right: -28px;
  top: 100px;
  opacity: 0.12;
  width: 185px;
  height: 230px;
  transform: rotate(-18deg);
  pointer-events: none;
}
.button-cream {
  position: relative;
  background: #f4f1e5;
  color: #354b37;
  border: 1px solid #f4f1e5;
  box-shadow: 0 3px 4px #1527191a;
}
.button-cream:hover {
  background: #fffdf5;
  transform: translateY(-2px);
  box-shadow: 0 7px 16px #16291933;
}
.guest-extras > .eyebrow {
  color: #8a9479;
  margin-bottom: 14px;
}
.extra-link {
  display: grid;
  grid-template-columns: 38px 1fr 18px;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s;
}
.extra-link:hover {
  transform: translateX(4px);
}
.extra-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d9dfcb;
  border-radius: 50%;
  color: #8d9b7a;
}
.extra-icon svg {
  width: 17px;
  height: 17px;
}
.extra-link strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 9px;
}
.extra-link small {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: #8b927e;
}
.extra-arrow {
  width: 17px;
  height: 17px;
  color: #9ca58b;
}
.link-note {
  font-family: var(--sans);
  font-size: 8px;
  color: #8d9480;
  margin: 21px 0 0;
  letter-spacing: 0.02em;
}
.invitation-footer {
  background: #eeefe5;
  border-top: 1px solid #dedfcf;
  text-align: center;
  padding: 48px 24px 29px;
}
.footer-monogram {
  display: block;
  font-size: 54px;
  color: #677c5a;
  margin: 0 auto 34px;
}
.footer-names {
  font-family: Cardo, serif;
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.invitation-footer .eyebrow {
  color: #8f997e;
  font-size: 8px;
  margin-bottom: 28px;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--sans);
  font-size: 9px;
  color: #7b866d;
}
.footer-links > a {
  text-decoration: none;
}
.footer-links > a:hover {
  text-decoration: underline;
}
.footer-links > a span {
  margin-left: 5px;
}
.is-revealing .hero-copy {
  animation: copy-arrive 0.8s 0.1s ease both;
}
.is-revealing .hero-portrait {
  animation: portrait-arrive 1s 0.1s ease both;
}
@keyframes copy-arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes portrait-arrive {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1500px) {
  .hero {
    min-height: 830px;
  }
  .section-shell {
    max-width: 1160px;
  }
  .hero {
    max-width: 1120px;
  }
}
@media (max-width: 900px) {
  .section-shell {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 7%;
    padding-top: 60px;
    padding-bottom: 80px;
    min-height: 700px;
  }
  .couple-names {
    font-size: 64px;
  }
  .hero-message {
    font-size: 18px;
  }
  .portrait-frame {
    aspect-ratio: 0.7;
  }
  .portrait-botanical {
    width: 110px;
    height: 150px;
    left: -45px;
  }
  .hero-date {
    gap: 9px;
  }
  .date-place {
    font-size: 15px;
  }
  .date-day {
    font-size: 40px;
  }
  .celebration {
    gap: 7%;
    padding-block: 75px;
  }
  .celebration-copy h2 {
    font-size: 38px;
  }
  .detail-photo {
    aspect-ratio: 0.72;
  }
  .detail-photo img {
    width: 150%;
    left: -25%;
  }
  .rsvp-panel {
    padding: 34px 28px;
  }
  .rsvp-panel h2 {
    font-size: 28px;
  }
  .guest-section {
    gap: 6%;
    padding-bottom: 75px;
  }
  .extra-link strong {
    font-size: 19px;
  }
  .extra-link small {
    font-size: 14px;
  }
  .extra-link {
    gap: 9px;
    grid-template-columns: 32px 1fr 15px;
  }
  .extra-icon {
    width: 31px;
    height: 31px;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 82px;
  }
  .section-shell {
    width: calc(100% - 48px);
  }
  .cover {
    padding: 34px 18px 28px;
  }
  .cover-header .eyebrow {
    font-size: 8px;
    letter-spacing: 0.2em;
    margin-bottom: 19px;
  }
  .cover-title {
    font-size: 31px;
  }
  .envelope {
    width: min(84vw, calc((100svh - 285px) * 1.47));
    transform: rotate(-4deg);
  }
  .cover-botanical {
    width: 100px;
    height: 135px;
    opacity: 0.27;
  }
  .botanical-left {
    left: -4%;
    top: 47%;
    transform: rotate(-38deg);
  }
  .botanical-right {
    right: -3%;
    top: 24%;
  }
  .envelope-shadow {
    top: calc(50% + 95px);
  }
  .embossed-monogram {
    font-size: 43px;
    top: 16%;
  }
  .letter-monogram {
    font-size: 43px;
    margin-bottom: 7px;
  }
  .letter-preview {
    gap: 7px;
    padding: 12px;
  }
  .letter-preview::after {
    inset: 9px;
  }
  .letter-eyebrow {
    font-size: 6px;
  }
  .letter-names {
    font-size: 14px;
  }
  .letter-date {
    font-size: 7px;
  }
  .open-hint {
    font-size: 15px;
    gap: 11px;
  }
  .cover-date {
    font-size: 8px;
    line-height: 1.8;
    letter-spacing: 0.03em;
  }
  .hint-line {
    width: 19px;
  }
  .cover-date span {
    margin-inline: 5px;
  }
  .invitation-nav {
    padding: 12px 23px;
    gap: 14px;
  }
  .wordmark {
    font-size: 25px;
  }
  .nav-links {
    display: none;
  }
  .nav-rsvp {
    padding: 10px 12px;
    font-size: 9px;
    gap: 9px;
  }
  .nav-rsvp svg {
    width: 12px;
    height: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding: 37px 0 67px;
    text-align: center;
    max-width: 460px;
  }
  .hero-copy {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
    margin-bottom: 22px;
  }
  .small-rule {
    width: 22px;
    margin-right: 8px;
  }
  .couple-names {
    font-size: clamp(53px, 15.5vw, 73px);
    line-height: 1.05;
    margin-bottom: 21px;
  }
  .couple-names .name-line {
    justify-content: center;
    gap: 12px;
  }
  .couple-names i {
    font-size: 0.65em;
    margin-left: -3px;
  }
  .hero-message {
    font-size: 17px;
    line-height: 1.55;
    max-width: 315px;
    margin-bottom: 22px;
  }
  .hero-date {
    gap: 11px;
    margin-bottom: 21px;
  }
  .date-day {
    font-size: 41px;
  }
  .date-month,
  .date-place {
    font-size: 15px;
    text-align: left;
  }
  .hero-date small {
    font-size: 8px;
    letter-spacing: 0.04em;
    margin-top: 6px;
  }
  .date-divider {
    margin-inline: 2px;
    height: 30px;
  }
  .text-link {
    font-size: 9px;
    gap: 14px;
  }
  .hero-portrait {
    width: 84%;
    margin: 0 auto;
    padding: 9px 9px 0 0;
    max-width: 340px;
  }
  .hero-portrait::before {
    inset: 0 0 32px 9px;
  }
  .portrait-frame {
    aspect-ratio: 0.86;
  }
  .portrait-frame img {
    height: 143%;
    object-position: 50% 70%;
  }
  .portrait-botanical {
    bottom: 7px;
    left: -31px;
    width: 97px;
    height: 125px;
  }
  .hero-portrait figcaption {
    font-size: 11px;
    margin-top: 16px;
    gap: 9px;
  }
  .caption-line {
    width: 16px;
  }
  .scroll-cue {
    bottom: 20px;
    font-size: 7px;
    gap: 9px;
  }
  .scroll-cue svg {
    width: 15px;
    height: 15px;
  }
  .blessing-section {
    padding: 32px 28px 38px;
  }
  .blessing-leaf {
    width: 33px;
    height: 43px;
    margin-bottom: 10px;
  }
  .blessing p {
    font-size: 21px;
    line-height: 1.45;
    margin-bottom: 18px;
  }
  .blessing cite {
    font-size: 8px;
  }
  .celebration {
    grid-template-columns: 1fr;
    gap: 31px;
    padding-block: 52px;
  }
  .detail-photo {
    aspect-ratio: 1.18;
    order: 2;
  }
  .detail-photo img {
    width: 118%;
    left: -9%;
    top: -5%;
  }
  .photo-caption {
    font-size: 18px;
    bottom: 20px;
    left: 23px;
  }
  .celebration-copy {
    order: 1;
    text-align: center;
  }
  .celebration-copy > .eyebrow {
    font-size: 8px;
    margin-bottom: 15px;
  }
  .celebration-copy h2 {
    font-size: 37px;
    margin-bottom: 15px;
  }
  .details-intro {
    font-size: 17px;
    max-width: 275px;
    margin: 0 auto 27px;
  }
  .event-detail {
    text-align: left;
    max-width: 275px;
    margin: 0 auto 23px;
    gap: 15px;
  }
  .event-detail h3 {
    font-size: 20px;
  }
  .event-detail p {
    font-size: 9px;
  }
  .event-detail > svg {
    width: 18px;
    height: 18px;
  }
  .celebration .button {
    margin: 3px 0 0;
  }
  .button {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 10px;
    gap: 25px;
  }
  .guest-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 49px;
  }
  .rsvp-panel {
    padding: 32px 25px 34px;
  }
  .rsvp-panel > .eyebrow {
    font-size: 7px;
    margin-bottom: 19px;
  }
  .rsvp-panel h2 {
    font-size: 29px;
    line-height: 1.3;
    letter-spacing: -0.045em;
  }
  .rsvp-panel > p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 24px;
  }
  .rsvp-panel .button {
    width: 100%;
    justify-content: space-between;
  }
  .guest-extras > .eyebrow {
    font-size: 8px;
    margin-bottom: 3px;
  }
  .extra-link {
    grid-template-columns: 37px 1fr 17px;
    gap: 12px;
    padding: 22px 0;
  }
  .extra-icon {
    width: 37px;
    height: 37px;
  }
  .extra-link strong {
    font-size: 21px;
    margin-bottom: 7px;
  }
  .extra-link small {
    font-size: 14px;
  }
  .link-note {
    font-size: 8px;
    margin-top: 17px;
  }
  .invitation-footer {
    padding: 36px 20px 25px;
  }
  .footer-monogram {
    font-size: 46px;
    margin-bottom: 29px;
  }
  .footer-names {
    font-size: 20px;
  }
  .invitation-footer .eyebrow {
    margin-bottom: 24px;
  }
  .footer-links {
    font-size: 8px;
    gap: 12px;
  }
}
@media (max-height: 650px) {
  .cover {
    padding-top: 18px;
    padding-bottom: 16px;
  }
  .cover-header .eyebrow {
    margin-bottom: 9px;
  }
  .cover-title {
    font-size: 26px;
  }
  .envelope {
    width: min(420px, 78vw, calc((100svh - 215px) * 1.47));
  }
  .cover-footer .open-hint {
    margin-bottom: 9px;
  }
  .embossed-monogram {
    font-size: 35px;
  }
  .letter-monogram {
    font-size: 35px;
    margin-bottom: 5px;
  }
  .letter-names {
    font-size: 13px;
  }
  .letter-preview {
    gap: 5px;
  }
  .letter-eyebrow,
  .letter-date {
    font-size: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .letter-preview,
  .reveal-sheet {
    will-change: auto;
  }
}

/* Keep interactive labels comfortable to read at every breakpoint. */
.nav-links {
  font-size: 12px;
}
.nav-rsvp {
  font-size: 12px;
  min-height: 44px;
}
.button {
  font-size: 12px;
  min-height: 50px;
}
.text-link {
  font-size: 11px;
  min-height: 44px;
  align-items: center;
}
.event-detail p {
  font-size: 12px;
}
.hero-date small {
  font-size: 11px;
  letter-spacing: 0.03em;
}
.link-note,
.footer-links {
  font-size: 11px;
}
.cover-date {
  font-size: 11px;
}
.section-shell:focus,
.blessing-section:focus {
  outline: none;
}
@media (max-width: 640px) {
  .nav-rsvp {
    font-size: 11px;
  }
  .button {
    font-size: 12px;
  }
  .hero-date small {
    font-size: 10px;
  }
  .event-detail p {
    font-size: 11px;
  }
  .cover-date {
    font-size: 9px;
  }
  .footer-links {
    font-size: 10px;
  }
  .text-link {
    font-size: 10px;
  }
  .link-note {
    font-size: 10px;
  }
}
