@font-face {
  font-family: "Fredoka";
  src: url("/fonts/fredoka-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --cream: #fff6e8;
  --sand: #fbe7cc;
  --ink: #4a2e1c;
  --ink-soft: #7a5a44;
  --wood: #c98a4f;
  --wood-dark: #6b4426;
  --accent: #e8955a;
  --sea: #3a9bb5;
  --sea-deep: #22677f;
  --night: #2b2f5c;
  --sky-top: #b9aee0;
  --sky-mid: #f2b49c;
  --sky-low: #ffdcae;
  --radius: 22px;
  --gutter: 16px;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--body);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2 { margin: 0; font-family: var(--display); font-weight: 600; }

ul { list-style: none; margin: 0; padding: 0; }

.hero {
  --logo-h: clamp(92px, 19svh, 210px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2svh, 22px);
  padding: max(18px, env(safe-area-inset-top)) var(--gutter) 28px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(255 255 255 / 0.35), transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%);
  text-align: center;
}

.logo { line-height: 0; }

.logo img {
  height: var(--logo-h);
  width: auto;
  transform-origin: 50% 0;
  animation: sway 7s ease-in-out infinite;
  filter: drop-shadow(0 10px 14px rgb(74 46 28 / 0.25));
}

@keyframes sway {
  0%, 100% { transform: rotate(-1.4deg); }
  50% { transform: rotate(1.4deg); }
}

.trailer {
  position: relative;
  margin: 0;
  width: min(1280px, 100%, calc((100svh - var(--logo-h) - 190px) * 16 / 9));
  min-width: min(100%, 320px);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 6px solid var(--cream);
  background: var(--wood-dark) url("/shots/fishing_golden-1280.webp") center / cover;
  box-shadow: 0 2px 0 6px rgb(107 68 38 / 0.18), 0 24px 50px -16px rgb(74 46 28 / 0.55);
  overflow: hidden;
}

.trailer video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sound {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 16px 8px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 246 232 / 0.92);
  color: var(--wood-dark);
  font: 600 0.95rem var(--display);
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.45);
}

.sound:hover { background: var(--cream); }

.sound:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.soon {
  position: absolute;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgb(43 47 92 / 0.72);
  color: var(--cream);
  font: 600 0.95rem var(--display);
  letter-spacing: 0.02em;
}

.when {
  margin: 4px 0 0;
  padding: 8px 22px 9px;
  border-radius: 14px;
  background: var(--wood);
  color: var(--cream);
  font: 600 clamp(1.15rem, 2.4vw, 1.45rem) var(--display);
  letter-spacing: 0.01em;
  box-shadow: inset 0 -4px 0 rgb(107 68 38 / 0.35), 0 6px 14px -6px rgb(74 46 28 / 0.5);
}

.tag {
  margin: 0;
  max-width: 42ch;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.wave {
  display: block;
  width: 100%;
  height: clamp(28px, 5vw, 64px);
  margin-top: -1px;
  background: var(--sky-low);
  fill: var(--cream);
}

main { padding: 0 var(--gutter); }

section { max-width: 1240px; margin: 0 auto; }

section h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 22px;
  color: var(--wood-dark);
}

.facts { padding: 26px 0 56px; }

.facts ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.facts li {
  padding: 18px 20px 20px;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: inset 0 -4px 0 rgb(201 138 79 / 0.25);
}

.facts b {
  display: block;
  font: 600 1.5rem/1.2 var(--display);
  color: var(--wood-dark);
}

.facts span { color: var(--ink-soft); }

.gallery { padding-bottom: 64px; }

.gallery ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .gallery ul { grid-template-columns: 1fr 1fr; }
  .gallery li:first-child { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .gallery ul { grid-template-columns: repeat(3, 1fr); }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
}

.gallery button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
  box-shadow: 0 14px 30px -18px rgb(74 46 28 / 0.6);
}

.gallery picture, .gallery img { width: 100%; height: 100%; }

.gallery img {
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.035); }

.gallery button:focus-visible, .lightbox button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.venues { padding-bottom: 72px; }

.venues ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .venues ul { grid-template-columns: repeat(5, 1fr); }
}

.venues li {
  position: relative;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--sand);
}

.venues img { width: 100%; height: 100%; object-fit: cover; }

.venues span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 11px 4px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--wood-dark);
  font: 600 0.95rem var(--display);
  box-shadow: 0 3px 8px -3px rgb(74 46 28 / 0.45);
}

.more {
  margin: 18px 0 0;
  text-align: center;
  color: var(--ink-soft);
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 48px var(--gutter) max(40px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--sea) 0%, var(--sea-deep) 60%, var(--night) 100%);
  color: var(--cream);
  text-align: center;
}

footer img { width: 170px; filter: drop-shadow(0 8px 12px rgb(0 0 0 / 0.25)); }

footer .meta { margin: 0; opacity: 0.85; }

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
}

.lightbox::backdrop {
  background: rgb(30 26 40 / 0.9);
  backdrop-filter: blur(6px);
}

.lightbox figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  margin: 0;
  padding: 56px var(--gutter);
}

.lightbox img {
  max-height: calc(100dvh - 140px);
  width: auto;
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.7);
}

.lightbox figcaption { font: 600 1.1rem var(--display); }

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 246 232 / 0.14);
  color: var(--cream);
  font: 600 2rem/1 var(--display);
  cursor: pointer;
}

.lightbox button:hover { background: rgb(255 246 232 / 0.26); }

.lightbox .close { top: 12px; right: 12px; }
.lightbox .prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox .next { right: 12px; top: 50%; translate: 0 -50%; }

@media (max-aspect-ratio: 1 / 1) {
  .hero { min-height: auto; padding-top: max(36px, env(safe-area-inset-top)); padding-bottom: 40px; }
}

@media (max-width: 640px) {
  .lightbox .prev, .lightbox .next { top: auto; bottom: 14px; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  .logo img { animation: none; }
  .gallery img { transition: none; }
}
a.when { text-decoration: none; }
