@font-face {
  font-family: "Playfair Display";
  src: url("/assets/playfair-display-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/inter-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/inter-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --copy-column: max(534px, 37.083333vw);
  --panel-gap: 72px;
  --muted: rgba(0, 0, 0, 0.4);
  --panel: #f5f5f7;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #ffffff;
}

body {
  margin: 0;
  color: #000000;
  background: #ffffff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.landing-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(534px, 37.083333vw) minmax(630px, 1fr);
  min-height: max(720px, 100svh);
  overflow: hidden;
}

.copy-pane {
  position: relative;
  min-width: 0;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-icon {
  display: block;
  width: 85.5px;
  height: 85.5px;
  flex: 0 0 auto;
  border-radius: 22.8px;
}

.message-group {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

h1,
.message-group p {
  margin: 0;
}

h1 {
  width: 100%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 72px;
  letter-spacing: -1.92px;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.message-group p {
  width: 100%;
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.6px;
}

.cta-shell {
  position: relative;
  z-index: 5;
  width: 158px;
  height: 62px;
}

.cta {
  position: absolute;
  z-index: 1;
  right: 50%;
  bottom: 0;
  display: inline-flex;
  width: 158px;
  height: 62px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  background: #000000;
  border-radius: 1000px;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  transform: translateX(50%);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    width 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
    height 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-radius 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 280ms ease;
}

.cta-text {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 600;
  line-height: 34px;
  letter-spacing: -0.6px;
  transition: opacity 140ms ease;
}

.cta-qr {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease 80ms;
}

.cta-qr img {
  display: block;
  width: 200px;
  height: 200px;
  filter: invert(1);
}

.cta-caption {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.05px;
}

.panel-viewport {
  position: relative;
  min-width: 0;
  margin: 40px 40px 40px 0;
  overflow: visible;
}

.media-panel,
.love-panel {
  border-radius: 24px;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.media-panel {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--panel);
  transform: translateY(0);
}

.love-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #ffffff;
  background-image: linear-gradient(
    216.7294022055deg,
    rgb(84, 102, 136) 4.8428%,
    rgb(153, 163, 180) 91.239%
  );
  transform: translateY(calc(100% + var(--panel-gap)));
}

.wall-open .media-panel {
  transform: translateY(calc(-100% - var(--panel-gap)));
}

.wall-open .love-panel {
  transform: translateY(0);
}

.love-close {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  color: #000000;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 160ms ease;
}

.love-close span,
.love-close span::after {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
}

.love-close span {
  transform: rotate(45deg);
}

.love-close span::after {
  inset: 0;
  transform: rotate(90deg);
}

.love-close:hover,
.love-close:focus-visible {
  transform: scale(1.06);
}

.love-scroll {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000000 96px,
    #000000 calc(100% - 96px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000000 96px,
    #000000 calc(100% - 96px),
    transparent 100%
  );
}

.love-track {
  display: flex;
  width: min(601px, calc(100% - 144px));
  margin: 0 auto;
  padding: 106px 0;
  flex-direction: column;
  gap: 40px;
  will-change: transform;
}

.love-track.is-animated {
  animation: love-scroll var(--quote-duration, 72s) linear infinite;
}

.quote-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.love-quote {
  display: flex;
  color: inherit;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.love-quote:hover,
.love-quote:focus-visible {
  opacity: 0.72;
}

.love-quote blockquote {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.6px;
}

.love-quote cite {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

body:not(.wall-open) .love-track {
  animation-play-state: paused;
}

.phone-art {
  display: block;
  width: 446px;
  height: 858px;
  max-width: calc(100% - 144px);
  max-height: calc(100% - 80px);
  object-fit: contain;
}

.site-footer {
  position: absolute;
  bottom: 40px;
  left: 0;
  display: flex;
  width: var(--copy-column);
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  white-space: nowrap;
}

.site-footer a,
.site-footer button {
  color: inherit;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer button:hover,
.site-footer button:focus-visible {
  color: rgba(0, 0, 0, 0.72);
}

.wall-open .wall-toggle {
  color: #000000;
}

.site-footer button {
  cursor: pointer;
}

@keyframes love-scroll {
  to {
    transform: translateY(var(--quote-shift, 0px));
  }
}

@media (hover: hover) and (pointer: fine) {
  .cta-shell::before {
    position: absolute;
    z-index: 0;
    right: 50%;
    bottom: -4px;
    width: 166px;
    height: 70px;
    border-radius: 1000px;
    content: "";
    transform: translateX(50%);
  }

  .cta-shell:hover::before,
  .cta-shell:focus-within::before {
    width: 272px;
    height: 312px;
    border-radius: 32px;
  }

  .cta-shell:hover .cta,
  .cta-shell:focus-within .cta {
    width: 264px;
    height: 304px;
    color: #ffffff;
    background-color: #000000;
    border-radius: 28px;
    box-shadow:
      0 60px 140px -20px rgba(0, 0, 0, 0.32),
      0 30px 80px -10px rgba(0, 0, 0, 0.2),
      0 8px 24px rgba(0, 0, 0, 0.16);
  }

  .cta-shell:hover .cta-text,
  .cta-shell:focus-within .cta-text {
    opacity: 0;
  }

  .cta-shell:hover .cta-qr,
  .cta-shell:focus-within .cta-qr {
    opacity: 1;
  }
}

@media (min-width: 1164px) {
  html,
  body {
    overscroll-behavior-y: none;
  }

  .landing-page {
    height: 100svh;
    min-height: 600px;
    grid-template-rows: minmax(0, 1fr);
  }

  .copy-pane,
  .panel-viewport {
    min-height: 0;
  }
}

@media (max-width: 1163px) {
  .landing-page {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    overflow: visible;
  }

  .copy-pane {
    display: flex;
    padding: 40px 24px 52px;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-content {
    position: static;
    width: min(390px, 100%);
    transform: none;
  }

  .hero-icon {
    margin-bottom: -8px;
  }

  h1 {
    font-size: clamp(42px, 13.33vw, 56px);
    line-height: 1.125;
    letter-spacing: -0.03em;
  }

  .message-group p {
    font-size: clamp(18px, 4.65vw, 20px);
    letter-spacing: -0.03em;
  }

  .panel-viewport {
    display: flex;
    min-height: 0;
    margin: 0 24px;
    flex-direction: column;
    gap: 24px;
    overflow: visible;
  }

  .media-panel {
    height: auto;
    padding: 52px 20px;
    transform: none;
  }

  .love-panel {
    position: relative;
    inset: auto;
    height: auto;
    flex: none;
    transform: none;
    transition: none;
  }

  .wall-open .media-panel,
  .wall-open .love-panel {
    transform: none;
  }

  .love-close {
    display: none;
  }

  .love-scroll {
    position: relative;
    inset: auto;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .love-track {
    width: auto;
    padding: 40px 24px;
    animation: none;
    transform: none;
  }

  .love-track.is-animated {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .quote-list-clone,
  .quote-list .love-quote:nth-child(n + 6) {
    display: none;
  }

  .love-quote blockquote {
    font-size: clamp(16px, 4.65vw, 20px);
    line-height: 1.3;
    letter-spacing: -0.03em;
  }

  .phone-art {
    width: min(446px, 100%);
    height: auto;
    max-width: 100%;
    max-height: none;
  }

  .phone-video {
    margin-top: max(-54.5111px, -12.2222%);
    margin-bottom: max(-55.1306px, -12.3611%);
  }

  .site-footer {
    position: static;
    width: 100%;
    padding: 40px 24px;
  }

  .site-footer .wall-toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .cta-text,
  .cta-qr,
  .media-panel,
  .love-panel,
  .love-close {
    animation: none;
    transition: none;
  }

  .love-scroll {
    overflow-y: auto;
  }

  .love-track.is-animated {
    animation: none;
  }

  .quote-list-clone {
    display: none;
  }
}
