@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/playfair-display-400.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/cormorant-garamond-300.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-400.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/outfit-300.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/outfit-400.woff2") format("woff2");
}

:root {
  --paper: #fdfcfa;
  --ink: #1c1b19;
  --indigo: #2e3a6b;
  --line: rgba(28, 27, 25, 0.14);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  background: var(--paper);
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.hearts {
  position: relative;
}

.heart-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.heart-field {
  display: none;
}

body.hearts .heart-field {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.heart {
  --dx: 8px;
  --dy: -10px;
  --rot: 6deg;
  --o: 0.12;
  position: absolute;
  display: block;
  height: auto;
  opacity: var(--o);
  transform-origin: center;
  animation: heart-float var(--dur, 9s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
  will-change: transform;
}

.heart.rise {
  animation-name: heart-rise;
}

@keyframes heart-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.7);
  }
  50% {
    transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(1.15);
  }
}

@keyframes heart-rise {
  0% {
    transform: translate3d(0, 8px, 0) rotate(0deg) scale(0.75);
    opacity: 0;
  }
  18%,
  68% {
    opacity: var(--o);
  }
  100% {
    transform: translate3d(var(--dx), calc(var(--dy) - 14px), 0) rotate(var(--rot)) scale(1.08);
    opacity: 0;
  }
}

.heart-wrap {
  position: absolute;
  display: block;
  width: max-content;
  transform: scale(var(--grow, 0.9));
  transform-origin: center;
  will-change: transform;
}

.heart-wrap .heart {
  position: static;
  display: block;
}

@keyframes heart-grow {
  from {
    transform: scale(0.75);
  }
  to {
    transform: scale(1.15);
  }
}

@supports (animation-timeline: view()) {
  .heart-wrap {
    animation: heart-grow linear both;
    animation-timeline: view();
    animation-range: var(--range, entry 0% exit 100%);
  }
}

img {
  max-width: 100%;
  height: auto;
}

p,
ul,
h1,
h2,
h3 {
  margin: 0;
}

a {
  color: var(--indigo);
}

a:focus-visible,
.skip:focus {
  outline: 2px solid var(--indigo);
  outline-offset: 4px;
}

::selection {
  background: #e6e8f2;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2;
  background: #fff;
  color: var(--indigo);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1.6rem 1.35rem 4.5rem;
}

.lockup {
  padding-top: clamp(1.5rem, 4vh, 2.75rem);
  text-align: center;
}

.lockup a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.lockup-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.9rem, 11vw, 6.75rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.lockup-with {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.2;
}

.intro-stage {
  min-height: calc(100svh - 10.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.75rem, 9vh, 5.5rem) clamp(1.25rem, 8vw, 5rem);
}

.together {
  margin: clamp(0.5rem, 3vh, 2rem) 0 0;
}

.together img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f6f5f2;
  border: 1px solid var(--line);
}

.intro {
  max-width: 18em;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.22rem, 2.2vw, 2.15rem);
  line-height: 1.38;
  letter-spacing: -0.02em;
  text-align: center;
}

.cta {
  display: inline-block;
  min-height: 44px;
  padding: 0.85rem 0.15rem 0.2rem;
  color: var(--indigo);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  border-bottom: 1px solid var(--indigo);
}

.cta:hover {
  border-bottom-color: transparent;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 1.75rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--indigo);
  color: var(--indigo);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  background: transparent;
}

.button:hover {
  background: rgba(46, 58, 107, 0.05);
}

.section {
  margin-top: clamp(6.5rem, 16vh, 11rem);
}

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.35rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.people {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
  margin-top: 2rem;
}

.frame {
  margin: 0;
  background: #f6f5f2;
  border: 1px solid var(--line);
}

.frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.person h3 {
  margin-top: 1.15rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2vw, 2.05rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.person p,
.quiet,
.note p,
.come p,
.partner {
  font-weight: 300;
}

.person p {
  margin-top: 0.55rem;
  max-width: 32em;
  font-size: 1.05rem;
  line-height: 1.55;
}

.when {
  max-width: 18em;
  margin-top: 1.35rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.quiet {
  max-width: 34em;
  margin-top: 1.75rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

#the-soft-spot .cta,
#class .cta {
  margin-top: 1.35rem;
}

.come {
  max-width: 26rem;
}

.come h2 {
  margin-bottom: 1.25rem;
}

.come p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.close h2 {
  max-width: 10em;
  margin-bottom: 1.5rem;
}

.partner {
  margin-top: 3rem;
  font-size: 1rem;
}

.colophon {
  margin-top: 4.5rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.colophon span {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0;
}

@media (min-width: 800px) {
  .page {
    padding: 2.75rem 4.5rem 7.5rem;
  }

  .people {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: start;
  }
}

.signup {
  max-width: 28rem;
  margin-top: 0.5rem;
  scroll-margin-top: 1.5rem;
}

.signup label,
.choices legend {
  font-weight: 300;
}

.signup .field {
  display: block;
  margin-top: 1.35rem;
}

.signup input[type="email"],
.signup input[type="text"] {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(46, 58, 107, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 400;
}

.choices {
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
}

.choices legend {
  margin-bottom: 0.35rem;
}

.choices label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  margin-top: 0.15rem;
}

.choices input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--indigo);
}

.signup button.button {
  margin-top: 1.5rem;
  cursor: pointer;
  appearance: none;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thanks {
  padding-top: clamp(4rem, 12vh, 7rem);
  max-width: 16em;
}

.thanks h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.thanks .cta {
  margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .heart,
  .heart.rise,
  .heart-wrap {
    animation: none;
    transform: none;
  }

  .heart,
  .heart.rise {
    opacity: var(--o);
  }
}

.together .caption {
  margin: 0.9rem auto 0;
  max-width: 34em;
  text-align: center;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(28, 27, 25, 0.52);
}

.person .cta {
  margin-top: 0.95rem;
}

.dates {
  margin-top: 2.35rem;
  max-width: 26em;
}

.dates h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.dates p {
  margin-top: 0.7rem;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.55;
}

.dates ul {
  margin-top: 1.05rem;
  padding: 0;
  list-style: none;
}

.dates li {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.45;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.dates li:last-child {
  border-bottom: 1px solid var(--line);
}

#the-soft-spot .button {
  margin-top: 1.85rem;
}

.profile {
  padding-top: clamp(3rem, 8vh, 5.5rem);
  max-width: 28rem;
}

.profile h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.35rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.profile .frame {
  margin-top: 1.75rem;
}

.photo-placeholder div {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f6f5f2;
}

.profile p {
  margin-top: 1.15rem;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.55;
}

.profile .coming {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.profile .cta {
  margin-top: 0.35rem;
}

.intro-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vh, 2.5rem);
}
.intro-sub {
  max-width: 34em;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
  text-align: center;
  opacity: 0.85;
}
.intro-sign {
  font-style: italic;
}

/* v8 intro balance */
.intro-stage {
  min-height: unset;
  padding-top: clamp(2.25rem, 6vh, 4rem);
  padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
}

.intro {
  max-width: 22em;
}

.intro-wrap {
  width: 100%;
}

/* v10 intro: short statement */
.intro {
  max-width: 16.5em;
  font-size: clamp(1.35rem, 3.1vw, 2.75rem);
  line-height: 1.28;
  text-wrap: pretty;
}

/* v12 spacing: more air around the big statement */
.intro-stage { padding-top: clamp(4.5rem, 14vh, 9rem); padding-bottom: clamp(3.5rem, 10vh, 6.5rem); }
.intro-wrap { gap: clamp(1.1rem, 2.6vh, 1.6rem); }
.intro { margin-bottom: clamp(2rem, 7vh, 4.5rem); }
.intro-sign { margin-top: clamp(0.6rem, 2vh, 1.2rem); }
