/* A claimed spot's own page, as the place's own small site: a white page with a deep blue cover card,
   bold centred headings, soft rounded cards and round buttons in the owner's colour. The page keeps
   this look whatever the visitor's light or dark setting. */

:root {
  --accent: #34d1bf;
  --on-accent: #06202e;
  --navy: #0c2a55;
  --navy-deep: #081d3d;
  --ink: #0c2444;
  --muted: #5a6a82;
  --sky: #1787c9;
  --pale: #eaf4fb;
  --edge: #dfe8f1;
  --sans: 'Geist', 'SF Pro Text', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wip-height: 0px;
  --top-height: 4.5rem;
  color-scheme: light;
}

:root:has(.wip-bar) {
  --wip-height: 1.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: calc(var(--wip-height) + var(--top-height) + 1rem);
  background: #fff;
}

body {
  margin: 0;
  padding-top: var(--wip-height);
  overflow-x: clip;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

em {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

svg {
  flex: none;
}

.wrap {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.wip-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--wip-height);
  padding: 0 1rem;
  overflow: hidden;
  background: #06202e;
  color: #f1f4f5;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.wip-bar span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Words that repeat ---------- */

.eyebrow {
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.4rem;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.button:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
  transform: translateY(-1px);
}

.button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button .arrow {
  transition: transform 0.25s var(--ease);
}

.button:hover .arrow {
  transform: translateX(3px);
}

.button--primary,
.button--primary:hover {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
}

.button--primary:hover {
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 40%, transparent);
}

.button--small {
  min-height: 2.5rem;
  padding: 0 1.1rem;
  font-size: 0.875rem;
}

/* ---------- The bar at the top ---------- */

.top {
  position: sticky;
  top: var(--wip-height);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--top-height);
}

/* The bar's white runs the whole width, behind the part that holds its content. */
.top::before {
  content: '';
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: blur(14px);
}

.top__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.top__brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top__links {
  display: flex;
  gap: 1.75rem;
}

.top__links a {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}

.top__links a:hover {
  color: var(--sky);
}

/* ---------- The cover ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(72vh, 36rem);
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 32px);
  background: radial-gradient(120% 90% at 50% 0, #14407a, var(--navy) 55%, var(--navy-deep));
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: settle 1.8s var(--ease) both;
}

@keyframes settle {
  from {
    transform: scale(1.06);
  }
}

/* A photo is tinted with the same blue, so the name always reads on it. */
.hero--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(8 29 61 / 0.62), rgb(12 42 85 / 0.5) 45%, rgb(8 29 61 / 0.82));
}

.hero__shoal {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__shoal i {
  position: absolute;
  width: var(--size);
  opacity: var(--fade);
  rotate: var(--turn);
  animation: idle 9s ease-in-out infinite;
}

.hero__shoal svg {
  display: block;
  width: 100%;
  fill: #6fb4ee;
}

.hero__shoal .is-back svg {
  transform: scaleX(-1);
}

@keyframes idle {
  50% {
    transform: translate(0.6rem, -0.35rem);
  }
}

.hero__text {
  display: grid;
  justify-items: center;
  max-width: 56rem;
}

.hero__text > * {
  animation: rise 0.9s var(--ease) both;
}

.hero__text > :nth-child(2) {
  animation-delay: 60ms;
}

.hero__text > :nth-child(3) {
  animation-delay: 120ms;
}

.hero__text > :nth-child(n + 4) {
  animation-delay: 200ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  padding: 0.3rem 0.75rem 0.3rem 0.5rem;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  font-size: 0.8125rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.status svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status[data-verification='owner'] svg {
  stroke: var(--accent);
}

.hero .eyebrow {
  color: #9fd0f5;
}

h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.75rem, 9.5vw, 6.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.tagline {
  max-width: 30ch;
  margin-top: 1.25rem;
  font-size: clamp(1.25rem, 2.8vw, 1.875rem);
  font-weight: 550;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

/* ---------- About: a picture beside the words and the numbers ---------- */

.about {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 62rem;
}

.about__visual {
  position: relative;
  margin: 0 1.25rem 1.75rem 0;
}

.about__photo,
.about__art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: var(--pale);
  object-fit: cover;
}

body[data-kind='river'] .about__art {
  background: #fbf5e0;
}

/* A round button on the corner of the picture, cut out of it by a white ring. */
.about__go {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  display: grid;
  place-items: center;
  width: 5.25rem;
  height: 5.25rem;
  border: 0.5rem solid #fff;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  transition: transform 0.3s var(--ease);
}

.about__go:hover {
  transform: scale(1.06);
}

.about__go svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__fish {
  position: absolute;
  bottom: -1.75rem;
  left: -1.25rem;
  display: grid;
  place-items: center;
  width: 8rem;
  height: 8rem;
  border: 0.5rem solid #fff;
  border-radius: 50%;
  background: var(--navy-deep);
}

.about__text h2 {
  margin-top: 0.6rem;
}

.about__body {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.0625rem;
  white-space: pre-line;
}

.numbers {
  margin-top: 1.75rem;
  overflow: hidden;
  border-radius: 20px;
  background: var(--pale);
}

.numbers__tiles {
  display: flex;
}

.numbers__tiles li {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  padding: 1.25rem 0.75rem;
  text-align: center;
}

.numbers__tiles li + li {
  border-left: 1px solid rgb(12 36 68 / 0.1);
}

.numbers strong {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.numbers em {
  margin-left: 0.1em;
  color: #f2b300;
  font-size: 0.75em;
}

.numbers__tiles span {
  color: var(--muted);
  font-size: 0.8125rem;
}

.numbers__lead {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  background: var(--navy);
  color: #fff;
}

.numbers__lead span {
  font-size: 0.9375rem;
  opacity: 0.8;
}

/* ---------- A part of the page ---------- */

.block {
  padding: clamp(2.5rem, 6vw, 4.25rem) 0;
}

.block__head {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}

.block__note {
  max-width: 36rem;
  color: var(--muted);
}

.empty {
  color: var(--muted);
  text-align: center;
}

/* Chances */

[data-band='great'] {
  --band: #12a596;
}

[data-band='good'] {
  --band: #1b7ea6;
}

[data-band='fair'] {
  --band: #e9ad0c;
}

[data-band='poor'] {
  --band: #d63a40;
}

.block--chances {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.chances {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem 3rem;
  max-width: 62rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: 28px;
  background: var(--pale);
}

.chances__band {
  margin-top: 0.4rem;
  color: var(--band);
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.block--chances[data-band='fair'] .chances__band {
  color: #a87a00;
}

.chances__note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.chances__week {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  height: 9.5rem;
}

.chances__week li {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  justify-items: center;
  align-items: end;
  gap: 0.2rem;
  width: 2.6rem;
  font-size: 0.75rem;
}

.chances__week span,
.chances__week small {
  color: var(--muted);
}

.chances__week i {
  width: 100%;
  min-height: 0.5rem;
  border-radius: 10px;
  background: var(--band);
  transform-origin: bottom;
  animation: grow 0.9s var(--ease) both;
}

.chances__week li:nth-child(2) i {
  animation-delay: 60ms;
}

.chances__week li:nth-child(3) i {
  animation-delay: 120ms;
}

.chances__week li:nth-child(4) i {
  animation-delay: 180ms;
}

.chances__week li:nth-child(5) i {
  animation-delay: 240ms;
}

.chances__week li:nth-child(6) i {
  animation-delay: 300ms;
}

.chances__week li:nth-child(7) i {
  animation-delay: 360ms;
}

@keyframes grow {
  from {
    transform: scaleY(0);
  }
}

.chances__week small {
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  text-transform: capitalize;
}

.chances__week strong {
  font-size: 0.9375rem;
  font-weight: 650;
}

/* The catch: a card for each fish, its picture on a tint of its own colour. */

.catch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.catch li {
  flex: 0 1 12.5rem;
  min-width: 9.5rem;
  padding: 0.5rem 0.5rem 1rem;
  border: 1px solid var(--edge);
  border-radius: 22px;
  background: #fff;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-align: center;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.catch li:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgb(12 42 85 / 0.1);
}

.catch__art {
  display: grid;
  place-items: center;
  height: 7.5rem;
  margin-bottom: 0.85rem;
  border-radius: 16px;
  background: var(--navy);
}

.catch li:nth-child(4n + 2) .catch__art {
  background: #12627f;
}

.catch li:nth-child(4n + 3) .catch__art {
  background: #17497f;
}

.catch li:nth-child(4n + 4) .catch__art {
  background: #0d3a4f;
}

.fish-art {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 3.75rem;
}

.fish-art svg {
  width: 5.5rem;
  overflow: visible;
  filter: drop-shadow(0 8px 12px rgb(0 0 0 / 0.3));
}

.catch .fish-art svg {
  animation: sway 5s ease-in-out infinite;
}

.catch li:nth-child(even) .fish-art svg {
  animation-delay: -2.5s;
}

@keyframes sway {
  50% {
    transform: translateX(5px) rotate(-2deg);
  }
}

.fish-art__body {
  fill: var(--fish);
  stroke: color-mix(in srgb, var(--fish) 62%, #000);
  stroke-width: 0.6;
  stroke-linejoin: round;
}

.fish-art__line {
  fill: none;
  stroke: color-mix(in srgb, var(--fish) 58%, #000);
  stroke-width: 0.6;
  stroke-linecap: round;
}

.fish-art__eye {
  fill: #fff;
}

.fish-art--photo {
  width: 5.5rem;
  height: 5.5rem;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.fish-art--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Prices */

.prices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.prices li {
  flex: 0 1 15rem;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.35rem;
  min-width: 10.5rem;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--edge);
  border-radius: 24px;
  text-align: center;
}

.prices__for {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--pale);
  font-size: 0.8125rem;
  font-weight: 600;
}

.prices strong {
  margin-top: 0.5rem;
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.prices em {
  margin-left: 0.3rem;
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: 0;
  opacity: 0.65;
}

.prices small {
  color: var(--muted);
  font-size: 0.875rem;
}

.prices .is-lead {
  border-color: transparent;
  background: var(--navy);
  color: #fff;
}

.prices .is-lead .prices__for {
  background: var(--accent);
  color: var(--on-accent);
}

.prices .is-lead small {
  color: inherit;
  opacity: 0.75;
}

.extras {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 0 3rem;
  max-width: 50rem;
  margin: 1.75rem auto 0;
}

.extras li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--edge);
  font-size: 0.9375rem;
}

.extras strong {
  font-weight: 650;
  white-space: nowrap;
}

/* Facilities */

.perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 58rem;
  margin-inline: auto;
}

.perks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.2rem 0.5rem 0.5rem;
  border-radius: 999px;
  background: var(--pale);
  font-size: 0.9375rem;
  font-weight: 550;
}

.perks i {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  color: var(--sky);
}

.perks svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Photos */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.gallery__item {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1;
  background: var(--pale);
}

.gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(4 14 24 / 0.95);
  color: #fff;
}

.viewer[open] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.viewer::backdrop {
  background: transparent;
}

.viewer img {
  grid-column: 2;
  justify-self: center;
  max-width: 100%;
  max-height: 100dvh;
  padding: 3.5rem 0;
  object-fit: contain;
}

.viewer button {
  width: 3rem;
  height: 3rem;
  margin: 0 0.5rem;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: inherit;
  font: 300 1.75rem/1 var(--sans);
  cursor: pointer;
}

.viewer button:hover {
  background: rgb(255 255 255 / 0.22);
}

.viewer__close {
  position: absolute;
  top: 0.75rem;
  right: 0.25rem;
}

/* Reviews: the one dark part further down, with a quote mark hung on its top edge. */

.voices {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4.25rem);
}

.voices__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  align-items: start;
  gap: 2rem clamp(2rem, 5vw, 4rem);
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3.5rem);
  border-radius: clamp(22px, 3vw, 32px);
  background: var(--navy);
  color: #fff;
}

.voices__mark {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  translate: -50% 0;
}

.voices__mark {
  padding-top: 1.1rem;
}

/* With no reviews yet, the band is a single invitation in the middle. */
.voices__card--empty {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.voices__invite {
  margin: 0.9rem 0 1.5rem;
  opacity: 0.85;
}

.voices .eyebrow {
  color: #9fd0f5;
}

.voices__head h2 {
  margin-top: 0.5rem;
}

.voices__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.9375rem;
  opacity: 0.9;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.75rem;
}

.reviews li {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.07);
}

.reviews p {
  white-space: pre-line;
}

.reviews footer {
  font-size: 0.8125rem;
  opacity: 0.65;
}

.stars {
  display: inline-flex;
  gap: 1px;
}

.stars i {
  display: inline-flex;
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: rgb(255 255 255 / 0.22);
}

.stars [data-on] svg {
  fill: #f6c026;
}

/* Where it is */

.where {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 1fr);
  overflow: hidden;
  border-radius: 28px;
  background: var(--pale);
}

.where__map {
  z-index: 0;
  min-height: 24rem;
  background: #cfdde8;
}

.pin {
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / 0.45));
}

.where__facts {
  display: grid;
  align-content: start;
  padding: 1rem 1.75rem 1.75rem;
}

.where__facts > div {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgb(12 36 68 / 0.1);
}

.where__facts dt {
  color: var(--muted);
  font-size: 0.8125rem;
}

.where__facts dd {
  font-size: 1.0625rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.where__facts a:not(.button) {
  text-underline-offset: 0.2em;
}

.where__facts .where__route {
  padding-top: 1.5rem;
  border: 0;
}

/* The foot */

.foot {
  padding: clamp(1rem, 3vw, 2rem) 0 2rem;
}

.foot__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 24px;
  background: var(--navy-deep);
  color: rgb(255 255 255 / 0.72);
  font-size: 0.875rem;
}

.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 650;
  text-decoration: none;
}

.foot p {
  flex: 1 1 18rem;
  max-width: 34rem;
}

.foot .button {
  color: #fff;
}

/* On a phone, the way there and the phone number stay within reach. */
.dock {
  display: none;
}

@media (max-width: 900px) {
  .top__links {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --top-height: 3.75rem;
  }

  .hero {
    min-height: min(70vh, 32rem);
  }

  .actions {
    display: none;
  }

  .about__grid,
  .chances,
  .where,
  .voices__card {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__visual {
    margin: 0 1rem 1.5rem 0.75rem;
  }

  .about__photo,
  .about__art {
    aspect-ratio: 4 / 3;
  }

  .about__go {
    top: -1rem;
    right: -1rem;
    width: 4.25rem;
    height: 4.25rem;
    border-width: 0.4rem;
  }

  .about__fish {
    left: -0.75rem;
    width: 6.25rem;
    height: 6.25rem;
    border-width: 0.4rem;
  }

  .about__fish .fish-art,
  .about__fish .fish-art svg {
    width: 4rem;
  }

  .chances__week {
    justify-content: space-between;
    gap: 0.3rem;
    height: 8rem;
  }

  .chances__week li {
    flex: 1;
    width: auto;
  }

  .catch li,
  .prices li {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
  }

  .catch__art {
    height: 6rem;
  }

  .perks {
    justify-content: flex-start;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .where__map {
    min-height: 17rem;
  }

  .foot {
    padding-bottom: 6rem;
  }

  .dock {
    position: fixed;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    left: 0.75rem;
    z-index: 40;
    display: flex;
    gap: 0.4rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgb(8 29 61 / 0.86);
    box-shadow: 0 12px 34px rgb(8 29 61 / 0.35);
    color: #fff;
    backdrop-filter: blur(18px);
  }

  .dock .button {
    flex: 1;
    border-color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Booking a stand ---------- */

.book {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 1fr);
  align-items: start;
  gap: 1.25rem;
  max-width: 66rem;
  margin-inline: auto;
}

.book[hidden],
.book-done[hidden] {
  display: none;
}

.book__steps {
  display: grid;
  gap: 1rem;
}

.book__step {
  min-width: 0;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--edge);
  border-radius: 24px;
}

.book__step legend {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  float: left;
  width: 100%;
  margin-bottom: 1.1rem;
  padding: 0;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.book__step legend + * {
  clear: both;
}

.book__step legend b {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 650;
}

.book__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.field {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.field > span {
  font-size: 0.8125rem;
  font-weight: 600;
}

.field small,
.book__terms {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.book input:not([type='radio']),
.book textarea {
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.book textarea {
  resize: vertical;
}

.book input:focus-visible,
.book textarea:focus-visible {
  border-color: var(--sky);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 20%, transparent);
}

/* A stand and a tariff are both picked by tapping a card. */
.book__stands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.6rem;
}

.book__tariffs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.stand,
.tariff {
  position: relative;
  display: block;
  cursor: pointer;
}

.stand input,
.tariff input {
  position: absolute;
  opacity: 0;
}

.stand > span,
.tariff > span {
  display: grid;
  gap: 0.1rem;
  height: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--edge);
  border-radius: 16px;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.stand strong,
.tariff strong {
  font-weight: 650;
  letter-spacing: -0.01em;
}

.stand small,
.tariff small {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.tariff b {
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stand em {
  display: none;
  color: #c2353a;
  font-size: 0.75rem;
  font-weight: 600;
}

.stand:hover > span,
.tariff:hover > span {
  border-color: color-mix(in srgb, var(--navy) 40%, var(--edge));
}

.stand input:checked + span,
.tariff input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.stand input:checked + span small,
.tariff input:checked + span small {
  color: rgb(255 255 255 / 0.72);
}

.stand input:focus-visible + span,
.tariff input:focus-visible + span {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.stand.is-taken {
  cursor: not-allowed;
}

.stand.is-taken > span {
  border-style: dashed;
  background: #f6f8fa;
  color: var(--muted);
}

.stand.is-taken strong {
  text-decoration: line-through;
}

.stand.is-taken em {
  display: block;
}

.book__extras {
  display: grid;
  margin-top: 0.5rem;
}

.book__extras li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--edge);
}

.book__extras label {
  display: grid;
  font-weight: 550;
}

.book__extras small {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
}

.book__extras input {
  width: 5rem !important;
  text-align: center;
}

.book__side {
  position: sticky;
  top: calc(var(--wip-height) + var(--top-height) + 1rem);
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--pale);
}

.book__side h3,
.book-done h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.book__summary {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9375rem;
}

.book__summary li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.book__summary strong {
  font-weight: 600;
  white-space: nowrap;
}

.book__hint {
  color: var(--muted);
}

.book__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-block: 1px solid rgb(12 36 68 / 0.12);
}

.book__total span {
  font-size: 0.875rem;
  font-weight: 550;
}

.book__total strong {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* Only a script fills this in, so it is kept out of sight and out of reach. */
.book__company {
  position: absolute;
  left: -200vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.book__error {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: #fdecec;
  color: #a3262b;
  font-size: 0.9375rem;
  font-weight: 500;
}

.book .button {
  width: 100%;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.book .button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.book-done {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 28px;
  background: var(--pale);
  text-align: center;
}

.book-done:focus {
  outline: none;
}

.book-done p {
  color: var(--muted);
}

.book-done__mark {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #12a596;
  color: #fff;
}

.book-done__mark svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 860px) {
  .book {
    grid-template-columns: minmax(0, 1fr);
  }

  .book__side {
    position: static;
  }
}

@media (max-width: 760px) {
  .book__step,
  .book__side {
    padding: 1.15rem;
    border-radius: 20px;
  }
}
