:root {
  color-scheme: light;
  --paper: #f9f1ea;
  --ink: #3a2032;
  --berry: #8a365a;
  --rose: #f1d9e0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: clamp(1rem, 4.5vw, 4.75rem);
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, sans-serif;
}

main { max-width: 86rem; margin-inline: auto; }

.hero {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--rose);
}

.intro {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(1.65rem, 4.2vw, 5rem);
}

.heart {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--berry);
  border-radius: 50%;
  color: var(--berry);
  font: 1.9rem/1 Georgia, serif;
}

h1, h2, .subtitle {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  margin: 1rem 0 0;
  font-size: clamp(3rem, 6.45vw, 7.1rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.subtitle {
  margin: 0.65rem 0 0;
  color: var(--berry);
  font-size: clamp(1.45rem, 2.75vw, 2.5rem);
  font-style: italic;
}

.lede { margin: 1.35rem 0 1.6rem; line-height: 1.5; }

.gallery-link {
  padding: 0.78rem 1.2rem;
  border-radius: 2rem;
  background: var(--ink);
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.gallery-link:hover { background: var(--berry); }

.hero-photo {
  display: block;
  position: relative;
  min-height: 28rem;
}

.hero-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.gallery {
  max-width: 62rem;
  margin: clamp(2.75rem, 6.5vw, 6rem) auto 0;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.75rem);
  letter-spacing: -0.04em;
}

figure { margin: 0; }

figure a {
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--rose);
}

figure img { display: block; width: 100%; height: auto; }

figcaption {
  margin: 0.8rem 0 0;
  color: var(--berry);
  font-size: 0.9375rem;
}

a:focus-visible { outline: 3px solid var(--berry); outline-offset: 4px; }
.hero-photo:focus-visible { outline: 3px solid white; outline-offset: -7px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .intro { padding: 1.7rem; }
  .hero-photo { aspect-ratio: 4 / 3; min-height: 0; }
}
