:root {
  color: #201d1a;
  background: #f4efe7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(197, 81, 47, .16), transparent 29rem),
    radial-gradient(circle at 88% 88%, rgba(63, 93, 73, .13), transparent 27rem),
    #f4efe7;
}

main {
  width: min(100% - 2rem, 48rem);
  margin: 0 auto;
  padding: clamp(6rem, 18vh, 11rem) 0 4rem;
}

.welcome { max-width: 39rem; }

.eyebrow, .card-kicker {
  color: #9a3f25;
  font-size: .77rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: .6rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .97;
}

.intro {
  max-width: 35rem;
  color: #625b54;
  font-size: clamp(1rem, 2vw, 1.13rem);
  line-height: 1.65;
}

.portal-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.15rem;
  margin-top: clamp(3rem, 9vh, 5rem);
  padding: 1.35rem;
  color: inherit;
  background: rgba(255, 253, 249, .84);
  border: 1px solid rgba(68, 57, 48, .16);
  border-radius: 1.25rem;
  box-shadow: 0 1.25rem 3rem rgba(74, 55, 39, .11);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.portal-card:hover, .portal-card:focus-visible {
  border-color: #9a3f25;
  box-shadow: 0 1.6rem 3.5rem rgba(74, 55, 39, .17);
  outline: none;
  transform: translateY(-3px);
}

.mark {
  display: grid;
  width: 3.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: #fffaf4;
  background: #9a3f25;
  border-radius: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.card-copy { display: grid; gap: .3rem; }
.card-copy strong { font-size: 1.05rem; }
.card-copy > span:last-child { color: #625b54; font-size: .9rem; line-height: 1.45; }
.arrow { color: #9a3f25; font-size: 1.6rem; transition: transform .2s ease; }
.portal-card:hover .arrow, .portal-card:focus-visible .arrow { transform: translateX(4px); }

footer {
  padding: 1.5rem;
  color: #746b62;
  font-size: .78rem;
  text-align: center;
}

@media (max-width: 36rem) {
  .portal-card { align-items: start; grid-template-columns: auto 1fr; }
  .arrow { grid-column: 2; justify-self: end; margin-top: -.4rem; }
}
