.entry-page {
  --entry-paper: #faf7f0;
  --entry-burgundy: #732e3b;
  --entry-ink: #38282b;
  --entry-muted: #857673;
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--entry-ink);
  font-family: "DM Sans", sans-serif;
  background-color: var(--entry-paper);
  background-image: radial-gradient(#8576730c 0.65px, transparent 0.65px);
  background-size: 5px 5px;
}
.entry-page *,
.entry-page *::before,
.entry-page *::after {
  box-sizing: border-box;
}
.entry-page a {
  color: inherit;
  text-decoration: none;
}
.entry-page button,
.entry-page input {
  font: inherit;
}
.entry-page .entry-header,
.entry-page .entry-footer {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.entry-page .entry-header {
  min-height: 106px;
  border-bottom: 1px solid #732e3b20;
}
.entry-page .entry-brand {
  display: inline-flex;
  align-items: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--entry-burgundy);
}
.entry-page .entry-brand > span:not(.entry-brand-dot) {
  font-family: Georgia, serif;
  font-size: 22px;
  margin-inline: 5px;
}
.entry-page .entry-brand-dot {
  margin-left: 1px;
}
.entry-page .entry-header-note {
  color: var(--entry-muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-style: italic;
}
.entry-page .entry-back {
  font-size: 12px;
  color: var(--entry-muted);
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.entry-page .entry-back:hover {
  color: var(--entry-burgundy);
}
.entry-page .entry-main {
  flex: 1;
}
.entry-page .welcome-layout {
  width: min(1120px, calc(100% - 112px));
  margin-inline: auto;
  padding-block: 78px 90px;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: 42px;
}
.entry-page .entry-eyebrow {
  margin: 0 0 26px;
  color: var(--entry-burgundy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.2px;
  line-height: 1.8;
}
.entry-page .entry-eyebrow > span {
  font-size: 14px;
  margin-right: 8px;
}
.entry-page h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(58px, 5.6vw, 82px);
  line-height: 1.02;
  letter-spacing: -2.9px;
  font-weight: 500;
}
.entry-page h1 em {
  color: var(--entry-burgundy);
  font-weight: 500;
}
.entry-page .entry-description {
  font-size: 14px;
  line-height: 1.95;
  color: #7c6b68;
  margin: 27px 0 30px;
}
.entry-page .entry-button {
  min-height: 52px;
  min-width: 215px;
  padding: 16px 23px;
  border: 1px solid var(--entry-burgundy);
  border-radius: 3px;
  background: var(--entry-burgundy);
  color: #fff9f4;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.entry-page .entry-button .entry-cta-arrow {
  flex-shrink: 0;
}
.entry-page .entry-button > span {
  font-size: 20px;
  line-height: 1;
}
.entry-page .entry-button:hover {
  background: #59212c;
  box-shadow: 0 5px 15px #732e3b18;
  transform: translateY(-2px);
}
.entry-page .entry-button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.entry-page :focus-visible {
  outline: 2px solid var(--entry-burgundy);
  outline-offset: 5px;
}
.entry-page .entry-small-note {
  font-size: 10px;
  line-height: 1.7;
  color: #94837e;
  margin: 15px 0 0;
}
.entry-page .welcome-keepsake {
  position: relative;
  min-height: 490px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.entry-page .welcome-keepsake::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #ead1cc66 0%, #ead1cc00 71%);
  z-index: -1;
}
.entry-page .envelope-art {
  position: relative;
  width: 360px;
  max-width: 90%;
  height: 245px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 18px 24px #48262218);
  margin-top: 30px;
}
.entry-page .envelope-base {
  position: absolute;
  inset: 0;
  background: #e7c6bd;
  border: 1px solid #cb9f9866;
  border-radius: 3px;
}
.entry-page .envelope-insert {
  position: absolute;
  z-index: 1;
  top: -62px;
  left: 7%;
  width: 86%;
  height: 226px;
  padding: 23px;
  background: #fffdf8;
  border: 1px solid #e7ded1;
  text-align: center;
  transform: rotate(3deg);
}
.entry-page .envelope-insert::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #d2b9ad77;
}
.entry-page .envelope-insert > span:first-child {
  display: block;
  color: #9b8479;
  font-size: 9px;
  letter-spacing: 1px;
}
.entry-page .envelope-insert strong {
  display: block;
  margin-top: 6px;
  color: var(--entry-burgundy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  font-style: italic;
}
.entry-page .insert-heart {
  display: block;
  margin-top: 10px;
  color: #ac6c6d;
}
.entry-page .envelope-fold {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.entry-page .envelope-fold-left {
  background: #eacac2;
  clip-path: polygon(0 0, 56% 58%, 0 100%);
}
.entry-page .envelope-fold-right {
  background: #e4bfb6;
  clip-path: polygon(100% 0, 44% 58%, 100% 100%);
}
.entry-page .envelope-fold-bottom {
  background: #edcec5;
  clip-path: polygon(0 100%, 0 95%, 50% 42%, 100% 95%, 100% 100%);
}
.entry-page .envelope-flap-art {
  position: absolute;
  z-index: 4;
  inset: 0;
  background: linear-gradient(160deg, #f0d6cd, #dbafa6);
  clip-path: polygon(0 0, 100% 0, 50% 61%);
}
.entry-page .wax-seal {
  position: absolute;
  z-index: 5;
  width: 53px;
  height: 53px;
  left: calc(50% - 26.5px);
  top: 114px;
  display: grid;
  place-items: center;
  border-radius: 47% 51% 48% 46%;
  background: #863846;
  border: 3px solid #9b4e57;
  color: #e4b4ac;
  box-shadow:
    inset 0 0 0 2px #702b37,
    2px 4px 7px #4f1c2e33;
  font-size: 28px;
}
.entry-page .envelope-address {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 16px;
  color: #9c6d68;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  font-style: italic;
}
.entry-page .keepsake-note {
  position: absolute;
  left: 24px;
  top: 7px;
  transform: rotate(-10deg);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: #8f5c60;
}
.entry-page .keepsake-arrow {
  position: absolute;
  top: 32px;
  left: 145px;
  color: #9d7776;
  transform: rotate(8deg);
}
.entry-page .keepsake-star {
  position: absolute;
  color: #99795e;
}
.entry-page .keepsake-star-one {
  right: 8px;
  top: 70px;
  font-size: 35px;
  transform: rotate(15deg);
}
.entry-page .keepsake-star-two {
  left: 2px;
  bottom: 100px;
  font-size: 24px;
}
.entry-page .keepsake-stamp {
  position: absolute;
  right: 4px;
  bottom: 1px;
  width: 106px;
  height: 106px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #ad8d77;
  outline: 1px dashed #ad8d7788;
  outline-offset: -6px;
  color: #9e7d65;
  transform: rotate(12deg);
}
.entry-page .keepsake-stamp span {
  font-size: 6px;
  letter-spacing: 1px;
}
.entry-page .keepsake-stamp strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 500;
}
.entry-page .keepsake-flower {
  position: absolute;
  left: 28px;
  bottom: -10px;
  color: #7d8867;
  transform: rotate(-24deg);
  z-index: 4;
}
.entry-page .entry-footer {
  min-height: 76px;
  gap: 20px;
  border-top: 1px solid #732e3b20;
  color: #9a8881;
  font-size: 10px;
  line-height: 1.7;
}
.entry-page .entry-footer > span:last-child {
  white-space: nowrap;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #805d5c;
  font-size: 16px;
  font-style: italic;
}
.entry-page .entry-footer > span:last-child span {
  margin-inline: 4px;
}
.entry-page .password-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(600px, calc(100% - 48px));
  margin: 0 auto;
  padding-block: 52px 35px;
}
.entry-page .password-paper {
  position: relative;
  width: 100%;
  padding: 36px 62px 15px;
  text-align: center;
  background: #fffcf7;
  box-shadow: 0 12px 50px #4f2d2d09;
  border: 1px solid #e8ded3;
}
.entry-page .password-paper::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 10px;
  border: 1px solid #e8ded366;
}
.entry-page .password-tape {
  position: absolute;
  left: calc(50% - 49px);
  top: -13px;
  width: 98px;
  height: 27px;
  background: #c4bd9d66;
  transform: rotate(-4deg);
  clip-path: polygon(
    1% 0,
    100% 3%,
    97% 13%,
    100% 25%,
    97% 39%,
    100% 52%,
    97% 69%,
    100% 84%,
    98% 100%,
    1% 97%,
    3% 81%,
    0 68%,
    3% 52%,
    0 33%,
    3% 20%
  );
}
.entry-page .password-lock {
  width: 61px;
  height: 61px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3e5e1;
  color: var(--entry-burgundy);
}
.entry-page .password-paper .entry-eyebrow {
  font-size: 9px;
  margin-bottom: 18px;
}
.entry-page .password-paper h1 {
  font-size: clamp(43px, 4.4vw, 57px);
  line-height: 1.06;
  letter-spacing: -1.6px;
}
.entry-page .password-paper .entry-description {
  font-size: 12px;
  line-height: 1.9;
  margin: 20px 0 29px;
}
.entry-page .entry-form {
  width: min(300px, 100%);
  margin: 0 auto;
  text-align: left;
}
.entry-page .entry-form label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #705653;
}
.entry-page .entry-form input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid #d8c5bd;
  border-radius: 3px;
  background: #fffcf8;
  color: var(--entry-burgundy);
  text-align: center;
  font-size: 20px;
  letter-spacing: 9px;
  line-height: 1.2;
  caret-color: var(--entry-burgundy);
  transition: border-color 0.2s;
}
.entry-page .entry-form input::placeholder {
  color: #c4aaa3;
  font-size: 17px;
  letter-spacing: 3px;
}
.entry-page .entry-form input[aria-invalid="true"] {
  border-color: #a54653;
  background: #fff7f5;
}
.entry-page .entry-input-hint {
  font-size: 9px;
  color: #94847b;
  text-align: center;
  margin: 10px 0 21px;
}
.entry-page .entry-form .entry-button {
  width: 100%;
}
.entry-page .entry-error {
  min-height: 32px;
  margin: 12px 0 0;
  color: #8a3748;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}
.entry-page .entry-no-script {
  font-size: 12px;
  color: var(--entry-burgundy);
}
.entry-page .paper-corner-heart {
  position: absolute;
  bottom: 20px;
  right: 25px;
  color: #c79a97;
  font-size: 27px;
  transform: rotate(-13deg);
}
.entry-page .password-bottom-note {
  margin: 24px 0 0;
  color: #9b8a80;
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}
.entry-page .password-bottom-note em {
  color: #8b6766;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
}
@media (min-width: 900px) and (min-height: 850px) {
  .entry-page .welcome-layout {
    padding-block: 110px;
  }
}
@media (max-width: 900px) {
  .entry-page .entry-header,
  .entry-page .entry-footer {
    width: calc(100% - 56px);
  }
  .entry-page .welcome-layout {
    width: calc(100% - 72px);
    gap: 20px;
    padding-block: 65px;
  }
  .entry-page h1 {
    font-size: 61px;
  }
  .entry-page .envelope-art {
    height: 210px;
  }
  .entry-page .envelope-insert {
    top: -55px;
    height: 210px;
  }
  .entry-page .wax-seal {
    top: 94px;
  }
  .entry-page .welcome-keepsake {
    min-height: 430px;
  }
  .entry-page .keepsake-stamp {
    width: 90px;
    height: 90px;
    right: 0;
  }
}
@media (max-width: 680px) {
  .entry-page .entry-header,
  .entry-page .entry-footer {
    width: calc(100% - 40px);
  }
  .entry-page .entry-header {
    min-height: 80px;
  }
  .entry-page .entry-brand {
    font-size: 32px;
  }
  .entry-page .entry-header-note {
    font-size: 16px;
  }
  .entry-page .welcome-layout {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    padding-block: 49px 34px;
    gap: 40px;
  }
  .entry-page .welcome-copy {
    text-align: center;
  }
  .entry-page .entry-eyebrow {
    font-size: 9px;
    letter-spacing: 1.7px;
    margin-bottom: 20px;
  }
  .entry-page h1 {
    font-size: clamp(53px, 12vw, 70px);
    letter-spacing: -2px;
  }
  .entry-page .entry-description {
    font-size: 13px;
    margin-top: 22px;
    margin-bottom: 24px;
  }
  .entry-page .entry-button {
    min-width: 225px;
  }
  .entry-page .entry-small-note {
    font-size: 9px;
  }
  .entry-page .welcome-keepsake {
    width: min(360px, 100%);
    min-height: 368px;
    margin-inline: auto;
  }
  .entry-page .envelope-art {
    width: 295px;
    height: 195px;
    margin-top: 35px;
  }
  .entry-page .envelope-insert {
    height: 180px;
    padding-top: 20px;
    top: -45px;
  }
  .entry-page .envelope-insert strong {
    font-size: 36px;
  }
  .entry-page .wax-seal {
    top: 88px;
    width: 47px;
    height: 47px;
    left: calc(50% - 23.5px);
    font-size: 25px;
  }
  .entry-page .keepsake-note {
    top: -4px;
    font-size: 19px;
    left: 12px;
  }
  .entry-page .keepsake-arrow {
    top: 12px;
    left: 116px;
    width: 58px;
    height: 60px;
  }
  .entry-page .keepsake-star-one {
    top: 35px;
    right: 10px;
    font-size: 28px;
  }
  .entry-page .keepsake-star-two {
    left: 8px;
    bottom: 60px;
  }
  .entry-page .keepsake-flower {
    height: 110px;
    width: 80px;
    bottom: -7px;
    left: 15px;
  }
  .entry-page .keepsake-stamp {
    bottom: -2px;
    right: 5px;
    width: 80px;
    height: 80px;
    gap: 7px;
  }
  .entry-page .keepsake-stamp span {
    font-size: 5px;
  }
  .entry-page .keepsake-stamp strong {
    font-size: 19px;
  }
  .entry-page .entry-footer {
    min-height: 73px;
    font-size: 8px;
    gap: 12px;
  }
  .entry-page .entry-footer > span:last-child {
    font-size: 14px;
  }
  .entry-page .entry-back {
    font-size: 10px;
  }
  .entry-page .password-layout {
    width: calc(100% - 40px);
    padding-block: 39px 26px;
  }
  .entry-page .password-paper {
    padding: 32px 25px 18px;
  }
  .entry-page .password-paper h1 {
    font-size: clamp(40px, 10.4vw, 53px);
    letter-spacing: -1.4px;
  }
  .entry-page .password-lock {
    width: 54px;
    height: 54px;
    margin-bottom: 21px;
  }
  .entry-page .password-paper .entry-description {
    font-size: 11px;
    margin-block: 19px 25px;
  }
  .entry-page .paper-corner-heart {
    font-size: 21px;
    right: 18px;
    bottom: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .entry-page *,
  .entry-page *::before,
  .entry-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
