:root {
  --forest: #0d3f34;
  --cream: #f3eee4;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--forest); }
body { margin: 0; min-width: 320px; background: var(--forest); color: white; font-family: var(--sans); }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.portal {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  isolation: isolate;
}

.portal__background {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .8s ease;
}

.portal__wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(4,27,22,.12) 100%),
    linear-gradient(180deg, rgba(5,31,26,.12), rgba(5,31,26,.03) 46%, rgba(5,31,26,.24));
}

.choice {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 72px 24px 92px;
  text-align: center;
}

.choice__glass {
  display: block;
  padding: clamp(26px, 4vh, 42px) clamp(30px, 5vw, 72px);
  color: white;
  text-decoration: none;
}

.choice__label { display: block; margin-top: 18px; color: rgba(255,255,255,.94); font-size: .64rem; font-weight: 700; letter-spacing: .31em; text-shadow: 0 2px 14px rgba(4,27,22,.55); text-transform: uppercase; }
.choice__title { display: block; margin: 0; color: #08795d; font-family: var(--serif); font-size: clamp(4.5rem, 8vw, 8.2rem); font-weight: 400; letter-spacing: -.055em; line-height: .83; text-shadow: 0 2px 24px rgba(255,255,255,.16), 0 1px 8px rgba(4,27,22,.14); transform: scaleX(1); transition: transform 420ms cubic-bezier(.2,.7,.2,1), letter-spacing 420ms cubic-bezier(.2,.7,.2,1); }

.brand-mark {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(76px, 7vw, 106px);
  height: clamp(76px, 7vw, 106px);
  place-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.brand-mark img { width: 100%; height: 100%; object-fit: contain; filter: invert(1); }

footer { position: absolute; z-index: 4; right: 20px; bottom: 22px; left: 20px; width: fit-content; max-width: calc(100% - 40px); margin-inline: auto; color: rgba(255,255,255,.92); font-size: .7rem; text-align: center; text-shadow: 0 2px 10px rgba(4,27,22,.78); }

.choice__glass:focus-visible { outline: 3px solid white; outline-offset: 8px; }

@media (hover: hover) {
  .choice__glass:hover .choice__title { letter-spacing: -.025em; transform: scaleX(1.045); }
}

@media (max-width: 700px) {
  .portal { min-height: 100svh; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .choice { padding: 66px 18px 54px; }
  .choice__glass { padding: 18px 24px 24px; }
  .choice__title { font-size: clamp(4.2rem, 22vw, 6.6rem); }
  .brand-mark { width: 66px; height: 66px; }
  .portal__background { object-position: 58% center; }
  footer { bottom: 12px; font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
