/* The original page used warm cream lettering over a deep teal palette. */
:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #172f33;
  background: #faf4e8;
  --cream: #f7e7ce;
  --deep-teal: #172f33;
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p { margin: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  grid-template-areas: "copy portrait";
  align-items: end;
  padding-inline: clamp(1.75rem, 7vw, 6rem);
  color: var(--cream);
  background: radial-gradient(ellipse at 82% 28%, #6c5b45 0%, #2a4348 47%, #172f33 82%);
}

h1, h2 { font-family: Georgia, serif; font-weight: 400; }

h1 {
  font-size: clamp(3.4rem, 9vw, 8rem);
  letter-spacing: -.055em;
  line-height: .98;
}

.tagline {
  margin-top: 1.35rem;
  font-size: clamp(1.2rem, 2.6vw, 1.85rem);
  line-height: 1.4;
}

.intro {
  max-width: 49rem;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) 1.5rem;
  text-align: center;
}

.intro h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }

.intro p {
  max-width: 38rem;
  margin: 1rem auto 0;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.65;
}

footer {
  padding: 1.5rem;
  color: var(--cream);
  background: var(--deep-teal);
  text-align: center;
  font-size: .875rem;
}

/* Keep the legal link legible against the dark footer. */
footer a { color: inherit; }

/* Crop a little from the top. The cutout's transparent sides give the
   shoulders room even when the image is wider than its grid column. */
.hero-portrait-frame {
  grid-area: portrait;
  align-self: start;
  overflow: hidden;
}
.hero-portrait {
  position: relative;
  left: 50%;
  display: block;
  width: min(120%, 54rem);
  height: auto;
  margin-top: max(-3.4%, -1.53rem);
  transform: translateX(-50%);
}
.hero-content {
  grid-area: copy;
  max-width: 38rem;
  padding-block: clamp(1.75rem, 7vw, 6rem);
}
@media (min-width: 48.001rem) {
  .hero h1 { font-size: clamp(3.4rem, 7vw, 8rem); }
}
.call-link {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .3rem .75rem;
  margin-top: 1.5rem;
  padding: .85rem 1rem;
  border-radius: .4rem;
  background: var(--cream);
  color: var(--deep-teal);
  text-decoration: none;
  font-weight: 700;
}
.call-link span { font-weight: 500; }
.call-link:hover { text-decoration: underline; }
.call-link:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
@media (max-width: 48rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "portrait" "copy";
    background: radial-gradient(ellipse at 50% 10%, #6c5b45, #2a4348 40%, #172f33 75%);
  }
  .hero-portrait {
    width: min(120%, 30rem);
    margin-top: max(-3.4%, -.85rem);
  }
  .hero-content { padding-top: 1.5rem; }
}
