.envelope-scroll {
  position: relative;
  background: radial-gradient(
    ellipse at 50% 58%,
    #fffaf0 0%,
    #f0eade 65%,
    #e8e0d1 100%
  );
}
.hero-stage {
  height: max(800px, 100svh);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 135px;
}
.hero-stage:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23705b40' filter='url(%23n)' opacity='.5' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
.hero-heading {
  text-align: center;
  position: relative;
  z-index: 9;
}
.hero-heading > .eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  margin-bottom: 14px;
}
.hero-heading h1 {
  font-size: clamp(48px, 5.8vw, 88px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.hero-heading p {
  font-size: 12px;
  margin-top: 15px;
  letter-spacing: 0.025em;
}
.envelope-scene {
  position: absolute;
  width: 600px;
  height: 360px;
  top: 47%;
  left: 50%;
  margin-left: -300px;
  perspective: 1600px;
  isolation: isolate;
  transform: rotate(-5deg);
  --flap-angle: -175deg;
  --paper-y: -95px;
  --envelope-y: 0px;
  --scene-opacity: 1;
  --seal-opacity: 0;
}
.envelope-shadow {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 90%;
  height: 45px;
  background: #5c352942;
  filter: blur(27px);
  border-radius: 50%;
  z-index: 0;
  transform: translateY(var(--envelope-y));
  opacity: var(--scene-opacity);
}
.envelope-back {
  position: absolute;
  inset: 0;
  background: #5a2231;
  border-radius: 4px;
  box-shadow: 0 5px 4px #4d262b20;
  z-index: 1;
  transform: translateY(var(--envelope-y));
  opacity: var(--scene-opacity);
}
.envelope-front {
  position: absolute;
  inset: 0;
  z-index: 4;
  transform: translateY(var(--envelope-y));
  opacity: var(--scene-opacity);
  overflow: hidden;
  border-radius: 3px;
  filter: drop-shadow(0 4px 7px #36192220);
}
.fold-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #87394a, #662433);
  clip-path: polygon(0 0, 53% 57%, 0 100%);
}
.fold-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(225deg, #813244, #642333);
  clip-path: polygon(100% 0, 47% 57%, 100% 100%);
}
.fold-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #924355, #702637);
  clip-path: polygon(0 100%, 0 97%, 50% 43%, 100% 97%, 100% 100%);
}
.fold-bottom:after {
  content: "";
  position: absolute;
  inset: 1px 0 0;
  background: linear-gradient(180deg, #8e3d4e, #712a3b);
  clip-path: polygon(0 100%, 50% 44%, 100% 100%);
}
.envelope-print {
  position: absolute;
  bottom: 38px;
  left: 0;
  right: 0;
  text-align: center;
  color: #d9b498;
  font-size: 9px;
  letter-spacing: 0.26em;
}
.envelope-flap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 60%;
  transform-origin: 50% 0;
  transform: translateY(var(--envelope-y)) rotateX(var(--flap-angle));
  z-index: 2;
  opacity: var(--scene-opacity);
  backface-visibility: visible;
  filter: drop-shadow(0 2px 1px #3a172830);
}
.flap-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #8f4351, #773044);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.flap-inner:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #66303c, #9a5961);
  opacity: 0.35;
  clip-path: polygon(2% 0, 98% 0, 50% 95%);
}
.invitation-paper {
  position: absolute;
  width: 88%;
  height: 95%;
  left: 6%;
  top: 4%;
  z-index: 3;
  background: #fffaf0;
  transform: translateY(var(--paper-y));
  box-shadow: 0 2px 15px #2e131624;
  padding: 17px;
  opacity: var(--scene-opacity);
}
.paper-border {
  height: 100%;
  border: 1px solid #ccbaa0;
  outline: 1px solid #e3d6c3;
  outline-offset: -5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.paper-logo {
  font-family: var(--serif);
  font-size: 38px;
  font-style: italic;
  color: #8d6b46;
  line-height: 1;
  margin-bottom: 12px;
}
.paper-logo > span {
  margin-left: -9px;
  font-size: 28px;
  vertical-align: 5px;
}
.paper-eyebrow {
  font-size: 7px;
  letter-spacing: 0.28em;
  color: #7d705f;
}
.paper-title {
  font-family: var(--serif);
  font-size: 65px;
  line-height: 0.9;
  text-align: center;
  letter-spacing: -0.035em;
  margin-top: 13px;
}
.paper-title em {
  color: var(--wine);
}
.paper-bottom {
  font-size: 6px;
  letter-spacing: 0.2em;
  margin-top: 20px;
  color: #8f7e67;
}
.wax-seal {
  position: absolute;
  width: 77px;
  height: 76px;
  left: calc(50% - 38px);
  top: 44%;
  z-index: 7;
  border-radius: 46% 54% 43% 49%;
  background: radial-gradient(circle at 35% 30%, #c3a178, #a07a4e 68%, #8c643d);
  box-shadow:
    2px 5px 6px #3c192644,
    inset 0 2px 2px #ecd4a5,
    inset 0 -3px 3px #755234;
  transform: translateY(var(--envelope-y));
  opacity: var(--seal-opacity);
  display: grid;
  place-items: center;
}
.wax-seal:before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid #745431;
  box-shadow:
    0 1px 1px #dec296,
    inset 0 1px 1px #dcc096;
}
.wax-seal > span {
  font-family: var(--serif);
  font-size: 40px;
  color: #86613a;
  text-shadow: 0 1px 0 #d6b588;
  line-height: 1;
  font-style: italic;
  margin-left: -6px;
}
.wax-seal i {
  font-size: 29px;
  margin-left: -9px;
  vertical-align: 4px;
}
.hero-side {
  position: absolute;
  top: 58%;
  font-size: 8px;
  letter-spacing: 0.28em;
  color: #706354;
  writing-mode: vertical-rl;
}
.hero-side-left {
  left: var(--gutter);
  transform: rotate(180deg);
}
.hero-side-right {
  right: var(--gutter);
}
.scroll-cue {
  position: absolute;
  bottom: 29px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  font-size: 8px;
  letter-spacing: 0.2em;
  z-index: 10;
}
.scroll-line {
  height: 33px;
  width: 1px;
  background: #94826b;
  position: relative;
}
.scroll-line:after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid #94826b;
  border-bottom: 1px solid #94826b;
  position: absolute;
  bottom: 0;
  left: -2px;
  transform: rotate(45deg);
}
.hero-edition {
  position: absolute;
  bottom: 35px;
  left: var(--gutter);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #706354;
}
.motion-ready .envelope-scroll {
  height: 185svh;
  min-height: 1180px;
}
.motion-ready .hero-stage {
  height: 100svh;
  min-height: 700px;
  position: sticky;
  top: 0;
}
.motion-ready .envelope-scene {
  will-change: transform;
  --flap-angle: 0deg;
  --paper-y: 0px;
  --seal-opacity: 1;
}
.motion-ready .envelope-flap {
  z-index: 6;
}
.letter-content {
  position: relative;
  background: var(--paper);
  border-top: 1px solid #d8cbb9;
  box-shadow: 0 -15px 50px #6b4b3222;
  margin: 0 28px;
  z-index: 12;
  overflow: clip;
}
.letter-content:before {
  content: "";
  position: absolute;
  top: 13px;
  left: 13px;
  right: 13px;
  height: 60px;
  border-top: 1px solid #e1d5c2;
  border-left: 1px solid #e1d5c2;
  border-right: 1px solid #e1d5c2;
  pointer-events: none;
}
.journey-section {
  padding-top: 75px;
  padding-bottom: 80px;
}
.section-index {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 37px;
  font-size: 10px;
}
.little-spark {
  font-size: 34px;
  color: #a69070;
}
.journey-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 9%;
  align-items: center;
}
.journey-layout h2 {
  font-size: clamp(42px, 4.6vw, 70px);
}
.journey-layout .lead-copy {
  margin-top: 25px;
  font-size: 24px;
}
.journey-copy p {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 20px;
  max-width: 430px;
}
.journey-copy .text-link {
  margin-top: 10px;
  font-size: 12px;
}
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 65px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
}
.process-row > div {
  position: relative;
  padding-left: 37px;
}
.process-row > div > span {
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 10px;
  color: #75624c;
}
.process-row h3 {
  font-size: 28px;
  margin-bottom: 9px;
}
.process-row p {
  font-size: 12px;
  max-width: 235px;
}
.stories-section {
  padding-top: 45px;
  padding-bottom: 88px;
}
.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: center;
}
.story-feature > img {
  aspect-ratio: 4/4.7;
  object-fit: cover;
  filter: saturate(0.55);
}
.story-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.story-caption > span:first-child {
  font-family: var(--serif);
  font-size: 29px;
}
.story-caption > span:last-child {
  font-size: 8px;
  letter-spacing: 0.14em;
}
.story-right h2 {
  font-size: clamp(40px, 4.5vw, 67px);
}
.story-right > p {
  font-size: 13px;
  line-height: 1.9;
  margin-top: 24px;
}
.story-small {
  margin-top: 40px;
  max-width: 360px;
}
.story-small img {
  aspect-ratio: 1.7;
  object-fit: cover;
  filter: saturate(0.6);
}
.story-small > span {
  font-size: 8px;
  letter-spacing: 0.18em;
  display: block;
  margin-top: 15px;
}
.catalog-section {
  padding-top: 65px;
  padding-bottom: 95px;
  border-top: 1px solid var(--line);
}
.catalog-section h2 {
  font-size: clamp(40px, 4.6vw, 65px);
}
.pricing-section {
  padding-top: 55px;
  padding-bottom: 100px;
  background: #f5f0e7;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .hero-stage {
    padding-top: 120px;
  }
  .envelope-scene {
    width: 520px;
    height: 312px;
    margin-left: -260px;
    top: 52%;
  }
  .motion-ready .letter-content {
    margin-top: -85svh;
  }
}
@media (min-height: 950px) and (min-width: 768px) {
  .hero-stage {
    padding-top: 14vh;
  }
  .envelope-scene {
    top: 53%;
    width: 600px;
    height: 360px;
    margin-left: -300px;
  }
  .hero-heading h1 {
    font-size: 90px;
  }
}
@media (max-width: 1100px) {
  .journey-layout {
    gap: 6%;
  }
  .process-row {
    gap: 20px;
  }
  .process-row h3 {
    font-size: 25px;
  }
  .letter-content {
    margin-inline: 16px;
  }
  .envelope-scene {
    width: 540px;
    height: 324px;
    margin-left: -270px;
  }
  .journey-copy p {
    font-size: 13px;
  }
  .story-right h2 {
    font-size: 49px;
  }
}
@media (max-width: 767px) {
  .hero-stage {
    height: 760px;
    padding-top: 123px;
    min-height: 0;
  }
  .hero-heading {
    width: 100%;
    padding: 0 20px;
  }
  .hero-heading > .eyebrow {
    font-size: 8px;
    letter-spacing: 0.18em;
    margin-bottom: 17px;
  }
  .hero-heading h1 {
    font-size: 49px;
    line-height: 1;
  }
  .hero-heading p {
    font-size: 11px;
    margin-top: 16px;
  }
  .envelope-scene {
    width: calc(100vw - 70px);
    height: auto;
    aspect-ratio: 5/3;
    top: 47%;
    margin-left: 0;
    left: 35px;
    transform: rotate(-6deg);
    --paper-y: -55px;
  }
  .invitation-paper {
    padding: 11px;
  }
  .paper-border {
    outline-offset: -4px;
  }
  .paper-title {
    font-size: 43px;
    margin-top: 9px;
  }
  .paper-logo {
    font-size: 24px;
    margin-bottom: 5px;
  }
  .paper-logo > span {
    font-size: 18px;
    margin-left: -6px;
    vertical-align: 3px;
  }
  .paper-eyebrow {
    font-size: 5px;
    letter-spacing: 0.2em;
  }
  .paper-bottom {
    font-size: 4px;
    margin-top: 12px;
  }
  .wax-seal {
    width: 53px;
    height: 52px;
    left: calc(50% - 26px);
  }
  .wax-seal > span {
    font-size: 30px;
  }
  .wax-seal i {
    font-size: 22px;
    margin-left: -6px;
  }
  .wax-seal:before {
    inset: 5px;
  }
  .envelope-print {
    font-size: 6px;
    bottom: 23px;
  }
  .hero-side {
    display: none;
  }
  .hero-edition {
    font-size: 6px;
    bottom: 19px;
    left: 24px;
  }
  .scroll-cue {
    bottom: 47px;
    font-size: 7px;
    gap: 11px;
  }
  .scroll-line {
    height: 25px;
  }
  .motion-ready .envelope-scroll {
    height: 155svh;
    min-height: 1000px;
  }
  .motion-ready .hero-stage {
    min-height: 640px;
  }
  .letter-content {
    margin: 0 8px;
  }
  .letter-content:before {
    left: 7px;
    right: 7px;
    top: 7px;
  }
  .journey-section {
    padding-top: 48px;
    padding-bottom: 52px;
  }
  .section-index {
    margin-bottom: 27px;
    font-size: 8px;
  }
  .journey-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .journey-layout h2 {
    font-size: 45px;
  }
  .journey-layout .lead-copy {
    font-size: 23px;
    margin-top: 21px;
  }
  .journey-copy p {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .process-row {
    margin-top: 35px;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
  }
  .process-row > div {
    padding-left: 36px;
  }
  .process-row h3 {
    font-size: 28px;
  }
  .process-row p {
    max-width: none;
    font-size: 12px;
  }
  .stories-section {
    padding-top: 30px;
    padding-bottom: 50px;
  }
  .section-topline {
    padding-bottom: 25px;
  }
  .section-topline .eyebrow {
    font-size: 9px;
  }
  .stories-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .story-feature > img {
    aspect-ratio: 4/4.3;
  }
  .story-right h2 {
    font-size: 46px;
  }
  .story-right > p {
    font-size: 13px;
    margin-top: 20px;
  }
  .story-small {
    max-width: none;
    margin-top: 27px;
  }
  .story-caption > span:first-child {
    font-size: 28px;
  }
  .story-caption > span:last-child {
    font-size: 7px;
  }
  .catalog-section {
    padding-top: 45px;
    padding-bottom: 60px;
  }
  .catalog-section h2 {
    font-size: 45px;
  }
  .pricing-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .pricing-section h2 {
    font-size: 45px;
  }
  .letter-content .section-wrap {
    padding-inline: 24px;
  }
}
@media (max-width: 380px) {
  .hero-heading h1 {
    font-size: 44px;
  }
  .paper-title {
    font-size: 37px;
  }
  .envelope-scene {
    top: 48%;
  }
  .journey-layout h2 {
    font-size: 40px;
  }
  .letter-content .section-wrap {
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .envelope-scroll {
    height: auto;
    min-height: 0;
  }
  .motion-ready .hero-stage {
    position: relative;
  }
  .envelope-scene {
    --flap-angle: -175deg !important;
    --paper-y: -65px !important;
    --envelope-y: 0px !important;
    --scene-opacity: 1 !important;
    --seal-opacity: 0 !important;
  }
  .motion-ready .envelope-flap {
    z-index: 2;
  }
}
@media (max-width: 767px) {
  .motion-ready .letter-content {
    margin-top: -55svh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .letter-content {
    margin-top: 0;
  }
}
