:root {
  color-scheme: light;
  --ink: #152c38;
  --sea: #006b78;
  --foam: #f5f1e8;
  --sun: #e9a23b;
  --line: #cad7d4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font:
    16px/1.5 system-ui,
    sans-serif;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font:
    700 1.15rem Georgia,
    serif;
  letter-spacing: 0.02em;
}
.brand span {
  color: var(--sea);
  font:
    500 0.8rem system-ui,
    sans-serif;
  text-transform: uppercase;
  margin-left: 0.4rem;
}
nav {
  display: flex;
  gap: 0.25rem;
}
.tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 0.65rem 0.8rem;
  color: var(--ink);
  cursor: pointer;
}
.tab.active {
  border-color: var(--sun);
  font-weight: 700;
}
main {
  width: min(1180px, 92vw);
  margin: clamp(2rem, 6vw, 5rem) auto;
}
.intro {
  max-width: 720px;
}
.eyebrow,
.harbor {
  color: var(--sea);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}
h1 {
  font:
    clamp(2.4rem, 6vw, 5rem)/0.95 Georgia,
    serif;
  margin: 0.15em 0;
}
.picker {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.picker select {
  padding: 0.65rem 2.5rem 0.65rem 0.8rem;
  border: 1px solid var(--line);
  background: white;
}
.hidden {
  display: none !important;
}
.status {
  padding: 1rem 0;
  color: #49616a;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 12px 30px rgb(21 44 56 / 0.08);
}
.card img {
  width: 100%;
  aspect-ratio: 16/10;
  display: block;
  object-fit: cover;
  background: #dbe7e5;
}
.card-body {
  padding: 1.2rem;
}
.card h2 {
  font:
    1.7rem Georgia,
    serif;
  margin: 0.2rem 0;
}
.date,
.destination,
.state {
  margin: 0.35rem 0;
}
.destination a {
  color: var(--sea);
  font-weight: 700;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
dialog {
  width: min(720px, calc(100vw - 2rem));
  padding: 0;
  border: 1px solid var(--line);
  background: var(--foam);
  color: var(--ink);
  box-shadow: 0 30px 90px rgb(8 34 45 / 0.35);
}
dialog::backdrop {
  background: rgb(8 34 45 / 0.72);
}
#destination-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 2rem);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.dialog-head h2 {
  margin: 0;
  font:
    2rem Georgia,
    serif;
}
.close {
  align-self: start;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 2rem;
  cursor: pointer;
}
#destination-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}
#destination-label {
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: white;
  font: inherit;
}
.map-instruction,
#destination-coordinates {
  margin: 0;
  color: #49616a;
}
#destination-map {
  height: min(52vh, 420px);
  border: 1px solid var(--line);
  background: #dbe7e5;
}
.action {
  margin-top: 1rem;
  border: 1px solid var(--sea);
  background: var(--sea);
  color: white;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}
.action.secondary {
  background: white;
  color: var(--sea);
}
.updates {
  display: grid;
  gap: 2rem;
}
.boat-group {
  margin: 1.5rem 0;
}
.boat-group h2 {
  font:
    1.6rem Georgia,
    serif;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
}
.boat-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.boat-option {
  position: relative;
  display: grid;
  gap: 0.5rem;
  padding: 0.65rem;
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
}
.boat-option:has(input:checked) {
  outline: 3px solid var(--sun);
}
.boat-option img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.boat-option input {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.1rem;
  height: 1.1rem;
}
.updates fieldset {
  display: flex;
  gap: 1.5rem;
  border: 1px solid var(--line);
  padding: 1rem;
}
@media (max-width: 700px) {
  .masthead {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
  nav {
    width: 100%;
  }
  .tab {
    flex: 1;
  }
}
