:root {
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f1e9;
  color: #292d27;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px clamp(20px, 5vw, 72px);
  gap: 16px;
}

.wordmark {
  text-decoration: none;
  color: inherit;
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: .10em;
}

.asterisk {
  color: #ae6f41;
  padding-left: 5px;
}

.topnote,
footer {
  font-size: .76rem;
  color: #5f625a;
}

main {
  width: min(980px, calc(100% - 40px));
  margin: 28px auto 70px;
}

.intro {
  text-align: center;
  margin: 0 auto 42px;
}

.eyebrow,
.virtue {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .7rem;
  font-weight: 800;
  color: #8f5a35;
}

.intro h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.035em;
  max-width: 740px;
  margin: 12px auto;
}

.intro h1 em {
  color: #a46d47;
  font-weight: 400;
}

.intro > p:last-child {
  color: #5f625a;
}

.hero {
  display: grid;
  grid-template-columns: 46% 54%;
  background: #fffdf9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 48px #292d2712;
  min-height: 420px;
}

.hero.no-portrait {
  grid-template-columns: 1fr;
}

.hero .loading,
.hero .loading-fallback {
  grid-column: 1 / -1;
  align-self: center;
  text-align: center;
  color: #5f625a;
}

.portrait {
  width: 100%;
  height: 100%;
  max-height: 570px;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #dedbd0;
}

.hero-copy {
  padding: clamp(26px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h2 {
  font-family: Georgia, serif;
  letter-spacing: -.035em;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.08;
  font-weight: 400;
  margin: 14px 0 4px;
}

.years {
  color: #6b6c66;
  font-size: .82rem;
}

.description {
  line-height: 1.9;
  color: #55584f;
  font-size: 1rem;
  margin-top: 26px;
}

.reflection {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #9e6642;
  line-height: 1.6;
  margin: 12px 0 22px;
}

.credits {
  font-size: .75rem;
  color: #66685f;
  line-height: 1.5;
}

.credits a {
  color: #5f625a;
}

.actions {
  text-align: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px auto;
}

button,
.button {
  border: 0;
  border-radius: 6px;
  padding: 16px 25px;
  background: #405d4a;
  color: white;
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}

button:hover,
.button:hover {
  background: #304b3a;
}

button:focus-visible,
.button:focus-visible,
a:focus-visible,
h2:focus-visible {
  outline: 3px solid #405d4a;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

button.subtle {
  background: transparent;
  color: #405d4a;
  border: 1px solid #bdc6ba;
}

button.subtle:hover {
  background: #e9eee5;
}

footer {
  border-top: 1px solid #e5e1d8;
  flex-wrap: wrap;
}

footer a {
  color: inherit;
}

@media (max-width: 700px) {
  .topnote {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .portrait {
    height: 350px;
  }

  .hero-copy {
    padding: 30px;
  }

  .intro {
    margin-top: 38px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}
