:root {
  color-scheme: light;
  --paper: #faf8f2;
  --ink: #1c322a;
  --forest: #142f27;
  --cream: #fffdf6;
  --dim: #e0ebdf;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.frame { width: min(76rem, calc(100% - clamp(2rem, 9vw, 9rem))); margin-inline: auto; }
.masthead { background: #fffdf9; border-bottom: 1px solid #eae2d4; }
.brand { min-height: 5.15rem; display: flex; align-items: center; }
.brand img { display: block; width: 13rem; height: auto; }
.entrance { display: grid; place-items: center; position: relative; isolation: isolate; min-height: 34rem; color: white; background: var(--forest); }
.landscape, .entrance::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.landscape { display: block; object-fit: cover; object-position: 57% 53%; }
.entrance::after { content: ""; background: linear-gradient(90deg, rgba(9, 31, 24, .97) 0%, rgba(9, 31, 24, .84) 28%, rgba(9, 31, 24, .59) 49%, rgba(9, 31, 24, .12) 76%, rgba(9, 31, 24, .03) 100%); }
.hero { padding-block: clamp(3.5rem, 9vh, 7.5rem); }
.welcome { max-width: 39rem; }
h1 { font: 500 clamp(2.7rem, 6.5vw, 5.45rem)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.042em; text-wrap: balance; margin: 0 0 clamp(1.6rem, 5vh, 2.75rem); max-width: 12ch; }
.choices { display: flex; flex-wrap: wrap; gap: .75rem; }
.choice { display: grid; align-content: center; min-height: 4.8rem; padding: .75rem 1.05rem; text-decoration: none; border: 1px solid transparent; border-radius: .6rem; }
.choice strong { font-size: 1.06rem; line-height: 1.3; }
.choice span { display: block; font-size: .9rem; margin-top: .2rem; }
.choice-primary { color: var(--ink); background: var(--cream); }
.choice-primary:hover { background: #e9ead9; }
.choice-secondary { color: white; background: #142f27; border-color: #acc0ac; }
.choice-secondary:hover { background: #254638; }
.choice:focus-visible { outline: 3px solid #fde08d; outline-offset: 4px; }
.account-links { display: flex; flex-wrap: wrap; gap: .45rem 1.15rem; margin-top: 1.2rem; }
.account-links a { color: var(--cream); font-size: .95rem; text-underline-offset: .18em; }
.account-links a:focus-visible { outline: 3px solid #fde08d; outline-offset: 4px; }
.signin-note { color: var(--dim); font-size: .92rem; margin: 1.05rem 0 0; }
.image-caption { position: absolute; right: max(1rem, calc((100% - 76rem) / 2)); bottom: .9rem; background: #142f27; color: white; padding: .35rem .65rem; border-radius: .3rem; font-size: .83rem; }
footer { background: var(--paper); }
.footer { display: flex; align-items: center; color: #475c52; min-height: 3.35rem; font-size: .91rem; }
@media (max-width: 41rem) {
  .brand { min-height: 4.75rem; }
  .brand img { width: 11.3rem; }
  .entrance { align-items: end; min-height: 38rem; }
  .landscape { object-position: 70% center; }
  .entrance::after { background: linear-gradient(0deg, #0b2119 0%, rgba(9, 31, 24, .98) 31%, rgba(9, 31, 24, .85) 57%, rgba(9, 31, 24, .12) 100%); }
  .hero { padding-top: 8rem; padding-bottom: 3.65rem; }
  .choices { display: grid; max-width: 28rem; }
  .image-caption { font-size: .8rem; }
}
