:root {
  color-scheme: light;
  --cream: #f5f2e9;
  --forest: #173f32;
  --forest-deep: #122e24;
  --lime: #dfeca9;
  --paper: #fffefa;
  --page-gutter: clamp(1rem, 4vw, 4rem);
}

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

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - var(--page-gutter) * 2, 81rem);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  color: var(--forest);
  font: 1rem/1.6 Inter, "Segoe UI", sans-serif;
}

.page-header {
  display: flex;
  align-items: center;
  min-height: 5.5rem;
}

.brand-logo {
  display: block;
  width: clamp(8.5rem, 14vw, 10.25rem);
  height: auto;
}

.holding-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  overflow: hidden;
  min-height: 34rem;
  border-radius: 1rem;
  background: var(--forest-deep);
  color: var(--paper);
}

.holding-copy {
  align-self: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.status {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.25rem;
  color: var(--lime);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: currentColor;
}

h1 {
  margin: 0;
  font: 500 clamp(2.4rem, 1.2rem + 3.45vw, 5.15rem)/1.02 Fraunces, Georgia, serif;
  letter-spacing: -.045em;
}

h1 em {
  color: var(--lime);
  font-weight: inherit;
}

.description {
  max-width: 35ch;
  margin: 1.5rem 0 0;
  color: #e1ebe1;
  font-size: clamp(1rem, .9rem + .3vw, 1.2rem);
}

.habitat {
  margin: clamp(1rem, 2.5vw, 2rem);
  margin-inline-start: 0;
  overflow: hidden;
  border-radius: .65rem;
}

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

.page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1rem;
  min-height: 4.5rem;
  font-size: .875rem;
  font-weight: 500;
}

.page-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: inherit;
  text-underline-offset: .22em;
}

.page-footer a:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 4px;
}

@media (max-width: 52rem) {
  .page-header { min-height: 4.5rem; }

  .holding-page {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    min-height: auto;
  }

  .holding-copy { padding: clamp(1.5rem, 6vw, 3rem); }
  .habitat { margin: 0 clamp(1rem, 4vw, 1.5rem) clamp(1rem, 4vw, 1.5rem); }
}
