:root {
  --ink: #0c0b09;
  --ivory: #f3efe6;
  --muted: #8a8478;
  --line: rgba(243, 239, 230, 0.16);
  --brass: #c4a574;
}

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

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "ss01" 0, "ss02" 0;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  position: relative;
  overflow: hidden;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(196, 165, 116, 0.08), transparent 46%),
    radial-gradient(ellipse at 80% 90%, rgba(243, 239, 230, 0.03), transparent 40%);
}

.page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top,
.bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.portrait {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 0;
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.portrait img {
  display: block;
  height: 100vh;
  width: auto;
  max-width: none;
  margin: 0;
}

.mark {
  color: var(--ivory);
  text-decoration: none;
}

.domain {
  color: var(--muted);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 22rem);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: 8vh 0;
}

.intro {
  max-width: 28rem;
}

.given,
.family,
.status-title {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.given {
  font-style: italic;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  color: rgba(243, 239, 230, 0.72);
}

.family,
.status-title {
  font-size: clamp(3.8rem, 12vw, 8.2rem);
}

.status-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  max-width: 12ch;
}

.rule {
  width: 3.25rem;
  height: 1px;
  margin: 2rem 0 1.35rem;
  background: var(--brass);
  border: 0;
}

.meta {
  margin: 0;
  max-width: 28rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  margin: 1.4rem 0 0;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(243, 239, 230, 0.78);
}

.offer {
  padding: 1.6rem 1.5rem 1.15rem;
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.03);
  backdrop-filter: blur(10px);
}

.offer-kicker,
.offer-note,
.offer-closed {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

.offer-title,
.price,
.status-title {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "ss01" 0, "ss02" 0;
}

.offer-title {
  margin: 0.55rem 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.price {
  margin: 0.35rem 0 0;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.offer-copy {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(243, 239, 230, 0.74);
}

.offer-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.offer-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.offer-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 0.12rem;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-powered {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.offer-powered:hover {
  color: var(--ivory);
}

.offer-powered img {
  display: block;
  width: auto;
  height: 18px;
}

.buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.35rem;
  padding: 0.95rem 1rem;
  border: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.buy:hover {
  background: var(--brass);
}

.buy-link {
  width: auto;
  padding-inline: 1.4rem;
}

.offer-note {
  margin-top: 0.85rem;
  color: var(--muted);
}

.offer-closed {
  display: none;
  margin-top: 1.1rem;
  color: var(--ivory);
}

body[data-checkout="loading"] .buy,
body[data-checkout="closed"] .buy {
  display: none;
}

body[data-checkout="closed"] .offer-closed {
  display: block;
}

.bottom a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.12rem;
}

.bottom a:hover {
  color: var(--ivory);
  border-bottom-color: var(--brass);
}

.status {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
  padding: 8vh 0;
}

@media (max-width: 860px) {
  .portrait {
    left: 100%;
    transform: translateX(-50%);
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 5vh 0;
  }

  .intro {
    max-width: min(18rem, 58vw);
  }
}

@media (max-width: 640px) {
  .top,
  .bottom {
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .status {
    animation: rise 900ms ease-out both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
