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

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

:root {
  --plum: #21131e;
  --burgundy: #703748;
  --blush: #edb9c5;
  --ivory: #faf0e8;
  --muted-on-dark: #d3bfc9;
  --ink: #412735;
  --light-rule: #e1c8cc;
  --dark-rule: #ffffff29;
  --display: "Cormorant Garamond", Georgia, serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

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

body {
  margin: 0;
  background: radial-gradient(ellipse at 75% 16%, #422433 0%, transparent 54%), var(--plum);
  color: var(--ivory);
  font-family: system-ui, sans-serif;
  line-height: 1.65;
}

h1, h2, p, figure {
  margin: 0;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.035em;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(100% - var(--gutter) * 2, 75rem);
  margin-inline: auto;
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--dark-rule);
}

.wordmark {
  font: 500 1.7rem/1 var(--display);
  letter-spacing: -0.035em;
}

.wordmark span,
.hero h1 em {
  color: var(--blush);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(3.75rem, 6vw, 5.5rem);
}

.hero-copy,
.portrait {
  animation: arrive 600ms ease-out both;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.46rem 0.95rem 0.46rem 0.8rem;
  border: 1px solid #edb9c566;
  border-radius: 100vmax;
  background: #76394d30;
  color: var(--blush);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.status::before {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.hero h1 {
  margin-block: 1.35rem 1.6rem;
  font-size: clamp(3.25rem, 5.25vw, 4.9rem);
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.subtitle {
  margin-block-end: 1rem;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  font-weight: 550;
  line-height: 1.45;
}

.intro {
  max-width: 40ch;
  color: var(--muted-on-dark);
  font-size: 1.05rem;
}

.portrait {
  width: min(100%, 31rem);
  justify-self: center;
  animation-delay: 80ms;
}

.portrait-frame {
  padding: 0.55rem;
  border: 1px solid #edb9c56b;
  border-radius: 50% 50% 0.35rem 0.35rem / 38% 38% 0.35rem 0.35rem;
}

.portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.9;
  border-radius: inherit;
  background: #492e3c;
  object-fit: cover;
  object-position: center 38%;
}

.portrait figcaption {
  margin-block-start: 0.75rem;
  color: var(--muted-on-dark);
  font-size: 0.8125rem;
  text-align: center;
}

.editorial {
  background: var(--ivory);
  color: var(--ink);
}

.concept {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--light-rule);
}

.concept h2,
.closing h2 {
  font-size: clamp(2.65rem, 4.5vw, 4.45rem);
}

.concept em,
.ornament,
.farewell {
  color: var(--burgundy);
}

.concept-copy {
  max-width: 44ch;
}

.concept-copy p + p {
  margin-block-start: 0.8rem;
}

.closing {
  padding-block: clamp(3rem, 6vw, 5.25rem);
  text-align: center;
}

.ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-block-end: 1.25rem;
  font-size: 1rem;
}

.ornament::before,
.ornament::after {
  width: 2rem;
  height: 1px;
  background: var(--light-rule);
  content: "";
}

.closing h2 {
  max-width: 18ch;
  margin-inline: auto;
  text-wrap: balance;
}

.closing h2 + p {
  max-width: 53ch;
  margin: 1.25rem auto 0;
}

.farewell {
  margin-block-start: 1.15rem;
  font: italic 500 1.85rem/1.1 var(--display);
}

.footer {
  background: var(--plum);
  color: var(--muted-on-dark);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.75rem;
}

.footer-inner > p {
  max-width: 50ch;
}

.copyright {
  margin-block-end: 0.2rem;
  color: var(--ivory);
}

.footer-contact {
  margin-block-start: 0.4rem;
  overflow-wrap: anywhere;
}

.footer-contact a {
  color: var(--blush);
  text-underline-offset: 0.2em;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(0.55rem);
  }
}

@media (max-width: 54rem) {
  .hero,
  .concept {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-block: 2.75rem 3rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.6vw, 4.65rem);
  }

  .concept {
    gap: 1.35rem;
  }
}

@media (max-width: 37.5rem) {
  .masthead-inner {
    padding-block: 1.1rem;
  }

  .hero {
    gap: 2rem;
  }

  .hero h1 {
    margin-block: 1rem 1.15rem;
  }

  .portrait-frame {
    padding: 0.4rem;
  }

  .concept-break {
    display: none;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .portrait {
    animation: none;
  }
}
