:root {
  color-scheme: light;
  --paper: #f7f2e8;
  --card: #fffdf8;
  --ink: #1e2f36;
  --muted: #3d5158;
  --line: #d7cbb6;
  --gold: #c8892a;
  --forest: #0b5d1e;
  --forest-ink: #ffffff;
  --shadow: 0 10px 30px rgba(30, 47, 54, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

body {
  min-height: 100%;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  font-family: Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.masthead {
  position: relative;
  min-height: 11.5rem;
  margin: 0 0 1.5rem;
  overflow: hidden;
  background: #1e2f36;
}
.masthead-home {
  min-height: 16rem;
}
.masthead-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.masthead-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 47, 54, 0.18) 0%, rgba(30, 47, 54, 0.55) 70%, rgba(30, 47, 54, 0.78) 100%);
}
.masthead-bar {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0 auto;
  min-height: inherit;
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.wrap {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.brand strong {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.brand-on-photo {
  color: #fffdf8;
}
.brand-on-photo strong {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.masthead .back {
  color: #fffdf8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.back {
  font-family: Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
}

.hero p,
.lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.choices {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.choice {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 11rem;
  padding: 1.4rem 1.4rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.choice:hover,
.choice:focus-visible {
  border-color: var(--ink);
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.choice h2 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  line-height: 1.2;
}
.choice p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}
.choice .go {
  font-family: Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--forest);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
}
.foot a {
  color: var(--ink);
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (min-width: 44rem) {
  .masthead { min-height: 14rem; }
  .masthead-home { min-height: 22rem; }
  .masthead-bar { padding: 1.4rem 1.75rem 1.6rem; }
  .wrap { padding: 0 1.75rem 4rem; }
  .choices {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .choice { min-height: 14rem; }
}
