/* Ships & Gold – site styles. No build step; plain CSS. */

@font-face {
  font-family: "Pirata One";
  src: url("../fonts/PirataOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IM Fell English";
  src: url("../fonts/IMFeENrm28P.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color tokens */
  --ink-0: #05070a;          /* near-black, page */
  --ink-1: #0b1016;          /* near-black, raised */
  --gold: #F2C76B;
  --gold-deep: #C9962E;
  --ocean: #7FD3F0;
  --ocean-deep: #2E8FC0;
  --cream: #EDE3CC;
  --cream-dim: #c9bfa8;

  --glass-fill: rgba(8, 12, 18, 0.58);
  --glass-line: rgba(242, 199, 107, 0.32);
  --glass-glow: 0 0 0 1px rgba(242, 199, 107, 0.06), 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(127, 211, 240, 0.06);

  --font-head: "Pirata One", "Palatino Linotype", Georgia, serif;
  --font-body: "IM Fell English", Georgia, "Times New Roman", serif;

  --gutter: 16px;
  --radius: 14px;
  --maxw: 1180px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: #b5e7f8; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.1;
  margin: 0 0 .4em;
  letter-spacing: .01em;
}
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink-0); padding: .5em 1em; border-radius: 8px;
  font-family: var(--font-head); font-size: 1.2rem; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--ink-0); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  color: var(--ocean);
  margin: 0 0 .6em;
}
.lead { font-size: 1.2rem; color: var(--cream); max-width: 46ch; }
.fine { font-size: .9rem; color: var(--cream-dim); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: var(--glass-glow);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(8, 12, 18, 0.88); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .55em 1.4em;
  border-radius: 999px;
  font-family: var(--font-head); font-size: 1.3rem; line-height: 1;
  text-decoration: none; letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn-gold {
  color: var(--ink-0);
  background: linear-gradient(180deg, #f7d88e 0%, var(--gold) 45%, var(--gold-deep) 100%);
  box-shadow: 0 6px 24px rgba(242, 199, 107, .28), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold:hover { color: var(--ink-0); transform: translateY(-2px); box-shadow: 0 10px 34px rgba(242, 199, 107, .42), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost {
  color: var(--cream);
  border: 1px solid rgba(127, 211, 240, .55);
  background: rgba(8, 12, 18, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: var(--ink-0); background: var(--ocean); }
.btn-ocean {
  color: var(--ink-0);
  background: linear-gradient(180deg, #a9e4f7 0%, var(--ocean) 50%, var(--ocean-deep) 100%);
  box-shadow: 0 6px 24px rgba(127, 211, 240, .25), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-ocean:hover { color: var(--ink-0); transform: translateY(-2px); box-shadow: 0 10px 34px rgba(127, 211, 240, .4); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 10px var(--gutter);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  position: relative;
}
.brand {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-size: 1.5rem; color: var(--gold); text-decoration: none;
}
.brand:hover { color: #f7d88e; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  display: block; padding: .45em .9em; border-radius: 999px;
  color: var(--cream); text-decoration: none; font-size: 1.05rem;
}
.nav-links a:hover { color: var(--gold); background: rgba(242,199,107,.08); }
.nav-links .nav-cta { color: var(--ink-0); background: var(--gold); font-family: var(--font-head); font-size: 1.2rem; }
.nav-links .nav-cta:hover { color: var(--ink-0); background: #f7d88e; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--glass-line); background: transparent; color: var(--gold); cursor: pointer;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav { border-radius: 22px; flex-wrap: wrap; }
  .js .nav-toggle { display: block; }
  .js .nav-links { display: none; }
  .nav-links { width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0 4px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: .7em 1em; font-size: 1.15rem; }
  .nav-links .nav-cta { text-align: center; margin-top: .3rem; }
}

/* ---------- One continuous sea behind the whole page ----------
   img/bg-sea.* is a 1280 px seamless tile of the game's own open sea (spil/tools/webbg/).
   .sea is fixed to the viewport; main.js moves .sea-tile up by (scroll x SEA_PARALLAX) mod one tile,
   so it never runs out or jumps; .sea-drift slides it sideways very slowly. A veil and a vignette
   (CSS, not baked in) keep text readable. */
.sea { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #04213f; pointer-events: none; }
.sea-drift { position: absolute; top: 0; bottom: 0; left: -1280px; right: 0; animation: sea-drift 260s linear infinite; }
.sea-tile {
  position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 1280px);
  background-image: url("../img/bg-sea.jpg");
  background-image: image-set(url("../img/bg-sea.webp") type("image/webp"), url("../img/bg-sea.jpg") type("image/jpeg"));
  background-size: 1280px 1280px; background-repeat: repeat;
  will-change: transform;
}
.sea::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 50% 45%, rgba(5,7,10,0) 35%, rgba(5,7,10,.55) 100%),
    rgba(5,7,10,.30);
}
@keyframes sea-drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(1280px,0,0); } }

/* ---------- Sections and backgrounds ---------- */
.section {
  position: relative;
  padding: clamp(88px, 12vw, 150px) 0;
  overflow: hidden;
  isolation: isolate;
}
.section-plain { background: none; }
.bg {
  position: absolute; inset: -12% 0; z-index: -1;
  background-color: var(--ink-1);
  background-size: cover; background-position: center;
  will-change: transform;
}
/* Animated drift lives on a pseudo-layer so the JS parallax transform on .bg doesn't fight it. */
.bg::before {
  content: ""; position: absolute; inset: 0;
  background: inherit; background-size: cover; background-position: center;
  animation: drift 48s ease-in-out infinite alternate;
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,10,.92) 0%, rgba(5,7,10,.45) 22%, rgba(5,7,10,.5) 70%, rgba(5,7,10,.96) 100%),
    radial-gradient(ellipse at center, rgba(5,7,10,0) 30%, rgba(5,7,10,.55) 100%);
}
@keyframes drift {
  from { transform: scale(1.04) translate3d(-1%, 0, 0); }
  to   { transform: scale(1.1) translate3d(1%, -1.5%, 0); }
}
.bg[data-bg="hero"]     { background-image: url("../img/bg-hero.jpg"); background-image: image-set(url("../img/bg-hero.webp") type("image/webp"), url("../img/bg-hero.jpg") type("image/jpeg")); }

.section-head { margin-bottom: clamp(28px, 5vw, 52px); }
/* The Series sits right above "See it sail": a smaller gap between the two */
#series { padding-bottom: clamp(16px, 3vw, 40px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 0 110px;
}
.hero .bg {
  inset: -6% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.6) 76%, transparent 94%);
          mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.6) 76%, transparent 94%);
}
.hero .bg::after {
  background:
    linear-gradient(180deg, rgba(5,7,10,.55) 0%, rgba(5,7,10,.35) 40%, rgba(5,7,10,.6) 82%, rgba(5,7,10,.6) 100%),
    radial-gradient(ellipse at center, rgba(5,7,10,.2) 20%, rgba(5,7,10,.7) 100%);
  z-index: 1;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.2s ease;
}
.hero-video.playing { opacity: 1; }
.hero-sound {
  position: absolute; right: var(--gutter); bottom: 26px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  color: var(--cream, #f3e9d2); font: inherit; font-size: 1rem;
  border: 1px solid rgba(242,199,107,.45);
}
.hero-sound:hover, .hero-sound:focus-visible { border-color: var(--gold); background: rgba(242,199,107,.15); }
.hero-sound-icon { width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.6 3l2.7-2.7-1.4-1.4-2.7 2.7-2.7-2.7-1.4 1.4 2.7 2.7-2.7 2.7 1.4 1.4 2.7-2.7 2.7 2.7 1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.6 3l2.7-2.7-1.4-1.4-2.7 2.7-2.7-2.7-1.4 1.4 2.7 2.7-2.7 2.7 1.4 1.4 2.7-2.7 2.7 2.7 1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-sound.on .hero-sound-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0014 8v8a4.5 4.5 0 002.5-4zM14 3.2v2.1a7 7 0 010 13.4v2.1a9 9 0 000-17.6z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0014 8v8a4.5 4.5 0 002.5-4zM14 3.2v2.1a7 7 0 010 13.4v2.1a9 9 0 000-17.6z'/%3E%3C/svg%3E"); }
@media (max-width: 640px) { .hero-sound { bottom: 84px; right: 50%; transform: translateX(50%); } }
.hero-inner { position: relative; z-index: 1; padding: 0 var(--gutter); max-width: 900px; }
.hero-title {
  font-size: clamp(4rem, 16vw, 9.5rem);
  margin: 0;
  background: linear-gradient(180deg, #fbe4a6 10%, var(--gold) 50%, var(--gold-deep) 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.65)) drop-shadow(0 0 30px rgba(242,199,107,.18));
}
.tagline {
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  font-style: italic;
  color: var(--ocean);
  margin: .2em 0 .8em;
  text-shadow: 0 2px 14px rgba(0,0,0,.8);
}
.hero-lead { max-width: 40em; margin: 0 auto 2em; text-shadow: 0 2px 12px rgba(0,0,0,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 1;
  width: 30px; height: 48px; margin-left: -15px;
  border: 1.5px solid rgba(242,199,107,.6); border-radius: 999px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px;
  background: var(--gold); border-radius: 2px;
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Features ---------- */
.features {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr));
}
.card {
  padding: 24px 22px 22px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(242,199,107,.10), transparent 40%, transparent 70%, rgba(127,211,240,.08));
}
.card:hover { transform: translateY(-4px); border-color: rgba(242,199,107,.6); box-shadow: var(--glass-glow), 0 0 32px rgba(242,199,107,.12); }
.card h3 { margin-top: .5em; }
.card p { margin: 0; font-size: 1.04rem; color: var(--cream); }
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: radial-gradient(circle at 35% 30%, rgba(127,211,240,.18), rgba(5,7,10,.4));
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.also {
  margin: 32px 0 0; text-align: center; color: var(--cream-dim); font-size: 1rem;
}
.also span { color: var(--gold); font-family: var(--font-head); font-size: 1.2rem; margin-right: .3em; }

/* ---------- Videos ---------- */
.videos {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .videos { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .videos { grid-template-columns: repeat(3, 1fr); }
}
.video-card { overflow: hidden; display: flex; flex-direction: column; }
.player {
  position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden;
  border-bottom: 1px solid var(--glass-line);
}
.player .poster, .player video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.player video { object-fit: contain; }
.player .poster { transition: transform .6s ease, filter .6s ease; }
.video-card:hover .poster { transform: scale(1.03); }
.video-card.pending .poster { filter: saturate(.85) brightness(.8); }
.play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--gold);
  background: rgba(5,7,10,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 0 40px rgba(242,199,107,.25);
  transition: transform .2s ease, background-color .2s ease;
}
.play::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -14px 0 0 -8px;
  border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent var(--gold);
}
.play:hover { transform: scale(1.07); background: rgba(5,7,10,.75); }
.badge {
  position: absolute; top: 14px; left: 14px;
  padding: .3em .85em; border-radius: 999px;
  font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .03em;
  color: var(--ink-0); background: var(--ocean);
  box-shadow: 0 4px 18px rgba(0,0,0,.4);
}
.video-card.ready .badge { display: none; }
.video-meta { padding: 18px 22px 22px; }
.video-meta h3 { margin-bottom: .2em; }
.video-meta p { margin: 0; font-size: 1.04rem; }

/* Phones: vertical cards (9:16) that suit the vertical cut */
@media (max-width: 640px) {
  .videos { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter);
    scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain;
    scrollbar-width: thin; scrollbar-color: rgba(242,199,107,.45) transparent;
    /* room for the cards' soft shadow inside the scroller, so it isn't cut off in a hard line */
    padding-top: 8px; padding-bottom: 48px; margin-top: -8px; margin-bottom: -36px; }
  .video-card { scroll-snap-align: start; }
  .player { aspect-ratio: 9 / 16; }
}

/* ---------- The Series / Shorts (sub-blocks under "See it sail") ---------- */
.subsection { margin-top: clamp(56px, 9vw, 96px); scroll-margin-top: 84px; }
.sub-head { margin-bottom: clamp(22px, 4vw, 36px); }
.sub-title { font-size: clamp(2rem, 4.4vw, 2.8rem); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.sub-head .lead { margin-bottom: 0; max-width: 52ch; }
.video-meta h4 {
  font-family: var(--font-head); font-weight: 400; color: var(--gold);
  font-size: 1.6rem; line-height: 1.1; letter-spacing: .01em; margin: 0 0 .2em;
}
.ep-num {
  margin: 0 0 .35em !important; font-size: .82rem !important;
  text-transform: uppercase; letter-spacing: .18em; color: var(--ocean);
}
/* Vertical-only cards (Shorts): tall 9:16 cards on every screen */
.video-card[data-format="vertical"] .player { aspect-ratio: 9 / 16; }
.shorts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 270px)); }
@media (min-width: 900px) {
  .shorts { grid-template-columns: repeat(auto-fill, minmax(230px, 270px)); }
  /* intro beside the tall cards, so one Short doesn't leave a wide gap */
  .shorts-block { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 0 clamp(28px, 4vw, 56px); align-items: center; }
  .shorts-block .sub-head { margin-bottom: 0; }
}
/* "Coming soon" placeholder card for the next episode */
.video-placeholder .player {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(46,143,192,.28), transparent 65%),
    linear-gradient(180deg, #0b1622, #05070a);
}
.placeholder-mark {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  background: url("../favicon.svg") center / contain no-repeat; opacity: .35;
}

/* Phones: wide-only cards (series episodes) keep 16:9, shown as a swipe row */
@media (max-width: 640px) {
  .video-card[data-format="wide"] .player,
  .video-placeholder .player { aspect-ratio: 16 / 9; }
  .episodes { grid-auto-columns: 86%; align-items: start; }
  .shorts { grid-template-columns: none; grid-auto-columns: 72%; }
}

/* ---------- Studio / Follow ---------- */
.studio { display: flex; justify-content: flex-start; }
.studio-panel, .follow-panel, .contact-panel { padding: clamp(26px, 5vw, 52px); max-width: 720px; }
.studio-panel p { font-size: 1.15rem; }
.pillars { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 14px; }
.pillars li { padding-left: 34px; position: relative; }
.pillars li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px;
  background: url("../favicon.svg") center / contain no-repeat;
}
.pillars strong { color: var(--gold); font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; margin-right: .2em; }
.follow-panel { margin: 0 auto; text-align: center; }
.follow-panel .lead { margin: 0 auto 1.6em; }
.social { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 1.4em; }
.btn-social { min-width: 180px; }

/* ---------- Contact ---------- */
.contact-panel { margin: 0 auto; text-align: center; }
.contact-panel .lead { margin: 0 auto 1.6em; }
.btn-mail svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- YouTube in video cards ---------- */
.player .yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-link { display: inline-block; margin-top: .7em; color: var(--gold); font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  /* the sea fades to dark under the footer */
  background: linear-gradient(180deg, rgba(5,7,10,0) 0%, rgba(5,7,10,.78) 45%, var(--ink-0) 100%);
  padding: 80px 0 46px;
}
.footer-inner { display: grid; gap: 10px; justify-items: start; }
.site-footer p { margin: 0; color: var(--cream-dim); font-size: 1rem; }
.site-footer .fine { font-size: .88rem; }


/* ---------- Cookie consent ---------- */
.link-btn {
  background: none; border: 0; padding: 0; font: inherit; color: var(--ocean);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.link-btn:hover { color: #b5e7f8; }
.consent {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin: 0 auto; padding: 18px 20px;
  display: grid; gap: 12px;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 1rem; color: var(--cream); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent .btn { padding-top: .5em; padding-bottom: .5em; }

/* ---------- Privacy page ---------- */
.page { padding: 120px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); margin-bottom: .4em; }
.page h2 { font-size: 1.8rem; margin: 1.4em 0 .4em; }
.page li { margin-bottom: .4em; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .bg { transform: none !important; }
  .sea-drift, .sea-tile { animation: none !important; transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
