/* The game's own ink and water, the game's own two faces. */
@font-face {
  font-family: 'Pacifico';
  src: url('fonts/pacifico-400-latin.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Sono';
  src: url('fonts/sono-mono-300-700-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #e9eef2;
  --dim: #9fb0bb;
  --water: #10161a;
  --deep: #0b1114;
  --sun: #ff9542;
  --sky: #2b7fb8;
  --t: 17px;
}

* { box-sizing: border-box; }
html { background: var(--water); color: var(--ink); font: 400 var(--t)/1.55 'Sono', system-ui, sans-serif;
  cursor: default; }
body { margin: 0; }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('images/sea-2.jpg') center / 2048px repeat;
  opacity: 0.02;
  pointer-events: none;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-size: 1.6rem; font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
h2.label { font-size: 1.15rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.brand, .wordmark {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  text-decoration: none;
}
.wordmark { font-size: clamp(3.5rem, 9vw, 7rem); margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(16, 22, 26, 1) 0%, rgba(16, 22, 26, 0.15) 45%, rgba(16, 22, 26, 0.3) 100%), var(--hero) center / cover no-repeat, var(--deep);
}
nav { display: flex; gap: 1.4em; align-items: center; padding: 1.2em 4vw; font-size: 0.9rem; }
nav a { text-decoration: none; opacity: 0.85; }
nav a:hover { opacity: 1; }
nav .brand { font-size: 1.4rem; margin-right: auto; }
.hero-copy { padding: 0 6vw 10vh; max-width: 80em; }
.tagline { font-size: 1.25rem; color: var(--ink); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.actions { display: flex; gap: 0.8em; flex-wrap: wrap; }

.button, nav .cta {
  display: inline-block;
  padding: 0.7em 1.3em;
  border-radius: 0.5em;
  background: var(--sun);
  color: #1a1206;
  font-weight: 600;
  text-decoration: none;
  opacity: 1;
}
.button.quiet { background: rgba(255, 255, 255, 0.12); color: var(--ink); }

main section { padding: 4rem 6vw; max-width: 72rem; margin: 0 auto; }
.intro .say { max-width: 50rem; margin: -5rem auto 0; }
.intro .speaker { display: block; width: 9rem; margin: 2rem 0 0 -2rem; }
.intro p {
  position: relative;
  font-size: 1.2rem;
  margin: 0;
  text-align: justify;
  padding: 1.6em 1.9em;
  background: var(--ink);
  color: var(--water);
  border-radius: 1.4em;
  transform: rotate(-1deg);
}
.intro p::after {
  content: '';
  position: absolute;
  left: 3.5em;
  bottom: -1.1em;
  border-style: solid;
  border-width: 1.2em 1.4em 0 0;
  border-color: var(--ink) transparent transparent transparent;
}
.boats > p, .places > p, .modes p { color: var(--dim); max-width: 46rem; }
.places > p { margin-bottom: 1.5em; }
.places .map { display: block; width: 100%; height: auto; border-radius: 0.6em; margin-bottom: 2rem; }
.modes .sticker { display: block; width: auto; height: 11rem; margin-bottom: 1rem; }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2.5rem; }

.gallery h2 { text-align: center; }
.gallery .grid { margin-top: 2em; display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.2rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0.6em; background: var(--deep); display: block; }
.gallery figcaption { font-size: 0.85rem; color: var(--dim); padding: 0.4em 0.2em; display: none; }

.boats .lineup { margin: 0 0 2rem; }
.boats img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0.6em; background: var(--deep); display: block; }
.boats .four { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; }
.boats .name { display: block; font-size: 1.05rem; font-weight: 600; margin: 0.8em 0 0; }
.boats .kind { color: var(--sun); font-size: 0.85rem; margin: 0; }
.places ul { display: flex; flex-wrap: wrap; gap: 0.6em; list-style: none; padding: 0; margin: 0; }
.places li { padding: 0.45em 0.9em; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 2em; font-size: 0.9rem; }
.wishlist { text-align: center; }

footer { padding: 3rem 6vw; text-align: center; color: var(--dim); font-size: 0.85rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
footer .motto { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0; }
footer .brand { font-size: 1.1rem; }

@media (max-width: 40rem) {
  nav { flex-wrap: wrap; gap: 0.8em 1em; }
  nav a:not(.brand):not(.cta) { display: none; }
  .intro .speaker { width: 7rem; }
  .intro p { font-size: 1.05rem; padding: 1.2em 1.3em; text-align: left; }
}

[data-zoom] img, img[data-zoom] { cursor: zoom-in; }
.float {
  position: fixed;
  z-index: 11;
  margin: 0;
  max-width: none;
  object-fit: cover;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.55), 0 0.3rem 1rem rgba(0, 0, 0, 0.35);
  cursor: zoom-out;
}
.shade {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(11, 17, 20, 0.72);
  cursor: zoom-out;
}
