:root {
  --paper: #f7f3e9;
  --ink: #26392f;
  --faint: #536257;
  --red: #a53c27;
  --border: #c9c8b6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
a {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #cb633e;
  outline-offset: 5px;
}
main:focus {
  outline: 0;
}
.mast,
main,
footer {
  width: min(1280px, 91%);
  margin: auto;
}
.mast {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 23px;
  border-bottom: 1px solid var(--ink);
}
.brand {
  font: 700 35px/0.92 var(--serif);
  letter-spacing: -2.8px;
  text-decoration: none;
}
.brand span {
  color: var(--red);
}
.mast-note {
  color: var(--faint);
  border-left: 1px solid var(--border);
  padding-left: 23px;
  font-size: 14px;
}
.demo,
.eyebrow,
.paper small,
.shelf small,
.seal-note,
footer {
  font-family: "Courier New", monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}
.demo {
  margin-left: auto;
  border: 1px solid #b5b7a7;
  border-radius: 3px;
  padding: 5px 8px;
  color: var(--faint);
}
.spread {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(26px, 5vw, 82px);
  align-items: center;
  padding: clamp(28px, 4vw, 60px) 0;
}
.pitch {
  padding: 12px 0 12px clamp(0px, 1.3vw, 22px);
  min-width: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  margin: 0 0 23px;
  letter-spacing: 0.17em;
}
.eyebrow i {
  display: inline-block;
  height: 2px;
  width: 25px;
  background: var(--red);
}
h1 {
  font: normal clamp(54px, 5.9vw, 91px)/0.99 var(--serif);
  letter-spacing: -0.068em;
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
h1 em {
  font-weight: normal;
  color: var(--red);
}
.lede {
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.52;
  max-width: 385px;
  color: #49594b;
  margin: 23px 0 27px;
}
.button {
  background: var(--ink);
  color: #fffdf3;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 31px;
  font: 600 16px/1.25 var(--sans);
  padding: 16px 21px;
  border-radius: 5px;
  text-decoration: none;
}
.button:hover {
  background: #394f3e;
}
.button span {
  font-size: 20px;
  line-height: 16px;
}
.fine,
.hint {
  font-size: 13px;
  color: var(--faint);
  line-height: 1.4;
}
.fine {
  margin: 13px 0 0;
}
.desk,
.gift {
  background-color: #385746;
  background-image:
    radial-gradient(ellipse at 10% 2%, #78916a4d 0, transparent 53%),
    repeating-linear-gradient(47deg, transparent 0 5px, #d8e0bd0b 5px 6px);
  border-radius: 9px;
}
.desk {
  display: grid;
  place-items: center;
  aspect-ratio: 1.4;
  margin: 0;
  padding: 8%;
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.paper {
  background: #fff9e8;
  padding: 12px 12px 0;
  width: 100%;
  box-shadow: 0 16px 28px #132c2180;
  margin: 0;
  color: #293c31;
}
.paper.tilted {
  transform: rotate(-3deg);
}
.paper img,
.frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
}
.paper figcaption,
.inscription {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 5px 19px;
}
.paper figcaption span,
.inscription span {
  font: italic clamp(22px, 2.6vw, 40px)/1.08 var(--serif);
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
  min-width: 0;
}
.paper small {
  color: var(--red);
  border: 1px solid currentColor;
  padding: 5px;
  font-size: 9px;
  line-height: 1.15;
  text-align: center;
  flex: none;
  transform: rotate(3deg);
}
.shelf {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 22px 0;
}
.shelf p {
  margin: 0;
  font: normal 24px var(--serif);
}
.shelf small {
  display: block;
  font-size: 10px;
  color: var(--faint);
  margin-top: 5px;
}
.shelf > div {
  display: flex;
  gap: 16px;
  align-items: center;
  font: normal clamp(18px, 1.65vw, 25px) var(--serif);
}
.shelf img {
  width: 72px;
  height: 59px;
  object-fit: contain;
  border-radius: 3px;
}
footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  padding: 15px 0 24px;
  color: var(--faint);
  font-size: 10px;
}
.back {
  display: inline-block;
  color: var(--faint);
  font-size: 14px;
  margin-bottom: 22px;
  text-underline-offset: 4px;
}
form,
dl {
  max-width: 385px;
  margin: 24px 0 0;
}
label {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}
input {
  background: #fffaf0;
  border: 1px solid #8e9786;
  width: 100%;
  border-radius: 4px;
  padding: 11px 14px;
  font-size: 19px;
}
.hint {
  margin: 9px 0 20px;
}
.frame {
  background: var(--ink);
}
.frame video {
  height: auto;
  color: white;
}
dl {
  margin-bottom: 23px;
}
dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 15px;
}
dt {
  color: var(--faint);
}
dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-align: right;
}
.restart {
  margin: 22px 0 0;
  display: block;
  width: fit-content;
}
.envelope {
  color: #293c31;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.85;
  border: 1px solid #c9ac7d;
  background:
    linear-gradient(31deg, #e4cda3 49.6%, #c4aa81 49.9%, transparent 50.2%) left
      bottom/50.5% 100% no-repeat,
    linear-gradient(-31deg, #e4cda3 49.6%, #c4aa81 49.9%, transparent 50.2%)
      right bottom/50.5% 100% no-repeat,
    #f1dfbe;
  box-shadow: 0 18px 28px #102c2380;
  text-align: left;
  border-radius: 3px;
}
.envelope:before {
  content: "";
  position: absolute;
  inset: 0 0 44%;
  background: linear-gradient(135deg, #ffefd3, #ead5ae);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.address {
  position: absolute;
  left: 7%;
  bottom: 10%;
  max-width: 80%;
  font: italic clamp(17px, 2vw, 34px)/1.12 var(--serif);
  overflow-wrap: anywhere;
}
.address b {
  font-weight: normal;
}
.seal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-9deg);
  width: clamp(40px, 5vw, 70px);
  aspect-ratio: 1;
  border-radius: 48% 52% 45% 54%;
  background: #a74732;
  color: #eeb293;
  border: 4px solid #95432d;
  box-shadow:
    inset 1px 2px 3px #ce7655,
    1px 3px 6px #68452b66;
  display: grid;
  place-items: center;
  font: italic clamp(23px, 3vw, 40px) var(--serif);
}
.gift {
  margin: 28px auto;
  text-align: center;
  padding: 35px clamp(20px, 4vw, 60px) 40px;
  color: #fbf5e4;
}
.gift .eyebrow {
  justify-content: center;
  color: #e9c79e;
  margin-bottom: 12px;
}
.gift .eyebrow i {
  background: #e9c79e;
}
.gift h1 {
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 1.05;
}
.gift h1 em {
  color: #ffd2a5;
}
.gift .envelope {
  max-width: 550px;
  margin: 38px auto 18px;
  transform: rotate(-2deg);
}
.seal-note {
  position: absolute;
  top: 66%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
}
.envelope-button:hover .seal {
  background: #b34a32;
}
.received {
  margin: 24px auto 0;
  max-width: min(760px, 89vh);
  padding: 9px;
  transform: rotate(-0.7deg);
}
.gift .restart {
  margin: 17px auto 0;
  color: #f2ecda;
}
@media (max-width: 740px) {
  .mast {
    height: 65px;
    gap: 12px;
  }
  .brand {
    font-size: 30px;
  }
  .mast-note {
    font-size: 12px;
    padding-left: 12px;
  }
  .spread {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 22px 0;
  }
  .pitch {
    padding: 0;
  }
  .desk {
    aspect-ratio: 1.78;
    padding: 5% 12%;
  }
  .pitch h1 {
    font-size: 51px;
  }
  .eyebrow {
    margin-bottom: 12px;
  }
  .lede {
    margin: 13px 0 17px;
  }
  .shelf {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .shelf p {
    grid-column: span 2;
  }
  .shelf img {
    width: 50px;
    height: 46px;
  }
  .shelf > div {
    gap: 8px;
  }
  .gift {
    padding: 32px 12px;
  }
  .envelope .seal-note {
    top: 65%;
  }
  .gift .envelope {
    width: 92%;
  }
  .paper figcaption,
  .inscription {
    padding: 9px 3px 12px;
  }
  .paper {
    padding: 8px 8px 0;
  }
  .received {
    padding: 6px;
  }
  .back {
    margin-bottom: 12px;
  }
  form,
  dl {
    margin-top: 16px;
  }
  .demo {
    font-size: 9px;
  }
  .gift .address {
    font-size: 19px;
  }
}
@media (max-width: 420px) {
  .mast-note {
    display: none;
  }
  .shelf > div {
    font-size: 16px;
  }
  .desk {
    padding: 6% 8%;
  }
  .paper small {
    font-size: 8px;
  }
  .seal-note {
    font-size: 8px;
  }
  .address {
    bottom: 6%;
  }
}
.explore {
  display: inline-block;
  margin: 14px 0 0 14px;
  font-weight: 600;
  text-underline-offset: 5px;
}
.rates {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.rates b {
  color: var(--red);
}
.rates small {
  display: block;
  color: var(--faint);
}
#tier {
  font: inherit;
  color: inherit;
  border: 1px solid #8e9786;
  border-radius: 4px;
  padding: 10px;
  background: #fffaf0;
  width: 100%;
  margin-bottom: 12px;
}
.portrait .paper.movie,
.portrait #checkout .paper,
.portrait .received {
  width: fit-content;
  max-width: 100%;
}
.portrait .frame video,
.portrait #checkout .paper img {
  height: min(40vh, 380px);
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.portrait .received video {
  height: min(54vh, 530px);
}
@media (max-width: 740px) {
  #collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .portrait .desk {
    aspect-ratio: auto;
  }
  .explore {
    margin-left: 8px;
  }
  .rates span {
    width: 45%;
  }
}
.explore {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  vertical-align: middle;
  gap: 3px;
  margin: 12px 12px 12px 0;
  padding: 8px 16px;
  border-left: 2px solid var(--red);
  text-decoration: none;
}
.explore strong {
  font: 600 15px var(--sans);
  letter-spacing: 0.13em;
}
.explore small {
  font: italic 16px var(--serif);
  color: var(--faint);
}
.explore:hover strong {
  text-decoration: underline;
}
