:root {
  color-scheme: light;
  font-family: Georgia, "Times New Roman", serif;
  background: #f7eee8;
  color: #312824;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgb(255 255 255 / 72%), transparent 34rem),
    linear-gradient(145deg, #fbf6f1 0%, #f1ddd7 100%);
}

.page-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  min-height: 100vh;
  padding: 2rem 1.25rem 5rem;
}

.card {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: min(100%, 60rem);
  max-width: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgb(115 79 68 / 18%);
  border-radius: 1.5rem;
  background: rgb(255 252 249 / 86%);
  box-shadow: 0 1.5rem 5rem rgb(81 48 40 / 12%);
}

.portrait {
  width: 100%;
  max-width: 18rem;
  min-width: 0;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #f5e9e2;
  box-shadow: 0 1rem 2.5rem rgb(81 48 40 / 13%);
}

.portrait img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem) clamp(0.5rem, 2vw, 1.5rem);
  text-align: left;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: #8b4d5c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.intro {
  max-width: 35rem;
  margin: 2rem 0 0;
  color: #5c4a43;
  font-size: clamp(1.08rem, 2.5vw, 1.35rem);
  line-height: 1.65;
}

.divider {
  width: 3rem;
  height: 1px;
  margin: 2rem 0;
  background: #c58e86;
}

.note {
  margin: 0;
  color: #735f57;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
  width: min(100%, 60rem);
  max-width: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgb(115 79 68 / 18%);
  border-radius: 1.5rem;
  background: rgb(255 252 249 / 86%);
  box-shadow: 0 1.5rem 5rem rgb(81 48 40 / 10%);
}

.story__portrait {
  width: 100%;
  max-width: 11rem;
  min-width: 0;
  margin: 0;
}

.story__portrait img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
  filter: contrast(1.02);
  box-shadow: 0 1rem 2.5rem rgb(81 48 40 / 12%);
}

.story__portrait figcaption {
  margin-top: 0.75rem;
  color: #735f57;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.story__content {
  min-width: 0;
}

.story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: -0.5rem 0 1rem;
  color: #8a746b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.5;
}

.story h2 {
  max-width: 18ch;
  margin: 0 0 1.5rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.story__content > p:not(.eyebrow, .story__source) {
  margin: 0 0 1.15rem;
  color: #5c4a43;
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.72;
}

.story__source {
  margin: 1.75rem 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
}

.story__source a {
  color: #8b4d5c;
  text-underline-offset: 0.2em;
}

.story__source a:hover,
.story__source a:focus-visible {
  color: #60323d;
}

@media (max-width: 64rem) {
  .page-shell {
    justify-content: flex-start;
    gap: 1.25rem;
    padding: 1rem 0.85rem 2rem;
  }

  .card {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: min(100%, 34rem);
    padding: 1rem;
    border-radius: 1rem;
  }

  .portrait {
    width: min(48vw, 10.5rem);
    justify-self: center;
    aspect-ratio: 1;
    border-radius: 0.8rem;
  }

  .card__content {
    align-items: center;
    padding: 0.25rem 0.5rem 1rem;
    text-align: center;
  }

  .eyebrow {
    margin-bottom: 0.8rem;
    font-size: 0.68rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.15rem, 10vw, 3.25rem);
    line-height: 1;
  }

  .intro {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .divider {
    margin-block: 1.25rem;
    margin-inline: auto;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: min(100%, 34rem);
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .story__portrait {
    width: min(100%, 9rem);
    justify-self: start;
  }

  .story__content {
    text-align: left;
  }

  .story h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
