:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, sans-serif;
  color: #183447;
  background: #bcd2da;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; }
.shore {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #bed4dc url('/assets/safe-harbor.webp') 65% center / cover no-repeat;
}
header {
  padding: 1rem clamp(1rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: space-between;
}
header a, .continue {
  border-radius: 2rem;
  padding: .6rem 1rem;
  background: #fffaf1;
  color: #183447;
  text-decoration: none;
  font-weight: 650;
}
header a { font-size: .875rem; }
main {
  display: grid;
  align-items: center;
  min-height: 76svh;
  padding: clamp(1rem, 6vw, 6rem);
}
main > section {
  max-width: 32rem;
  padding: clamp(1.2rem, 4vw, 2.4rem);
  border-radius: 1.3rem;
  background: #fffcf1ef;
  box-shadow: 0 .4rem 2rem #102c3920;
}
.eyebrow {
  margin: 0 0 .5rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .75rem;
  font-weight: 700;
}
h1, h2 {
  margin: 0;
  font: 400 clamp(2rem, 5vw, 3.8rem)/1.08 Georgia, serif;
  text-wrap: balance;
}
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.continue {
  display: inline-block;
  background: #214b5d;
  color: #fffaf1;
}
details { border-top: 1px solid #c6d0cb; padding: .55rem 0; }
summary { cursor: pointer; padding: .16rem 0; font-weight: 650; }
details p { margin: .35rem 0; }
details a { display: block; padding: .2rem 0; }
a { color: #174960; text-underline-offset: .18em; }
.back { display: inline-block; margin-top: .7rem; }
.note { margin-bottom: 0; color: #4b5c63; font-size: .8rem; }
:focus-visible { outline: 2px solid #895018; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 640px) {
  .shore { background-position: 74% center; }
  main { min-height: auto; padding-top: 36svh; padding-bottom: 1.5rem; align-items: start; }
}
.hard-hat { vertical-align: -.24em; color: #895018; }
.harbor-support { margin: .6rem 0 0; font-size: .85rem; }

.choices > details, .choices > .choice-link {
  margin-block: .55rem;
  padding: 0 .8rem;
  border: 1px solid #bccdcd;
  border-radius: .8rem;
  background: #fffdf8;
}
.choices > details[open] { padding-bottom: .8rem; }
.choices summary { padding-block: .6rem; }
.choices summary::marker { color: #376272; }
.choices > .choice-link { display: flex; justify-content: space-between; gap: .75rem; padding-block: .6rem; color: inherit; font-weight: 650; text-decoration: none; }
.choice-link:hover { text-decoration: underline; }
.choices .harbor-option {
  margin-top: .55rem;
  padding: .65rem .8rem;
  border-radius: .55rem;
  background: #eaf2f2;
  text-decoration: none;
}
.harbor-option:hover strong, .harbor-option:focus-visible strong { text-decoration: underline; }
.harbor-option > span { display: block; font-size: .9rem; color: #314b56; }
.option-icon { display: inline-block; width: 1.4em; text-align: center; color: #26576a; }

.welcome-heart {
  display: inline-block;
  color: #ffd1cf;
}
@media (prefers-reduced-motion: no-preference) {
  .welcome-heart { animation: beacon-heart-pulse 3s ease-in-out 3; }
  @keyframes beacon-heart-pulse {
    50% { transform: scale(1.14); }
  }
}

.harbor-tour { margin: 1rem 0 .2rem; text-align: right; }
.harbor-tour a {
  display: inline-block;
  border: 1px solid #bccdcd;
  border-radius: .5rem;
  padding: .5rem .75rem;
  background: #fffdf8;
  font-size: .875rem;
}
