/* Pawata! promo site (2026-10-18). The game's world: the harbor's sky and sea, gold Baloo letters with a round navy
   outline, bubbles and waves. Fonts are the game's own (SIL OFL, licenses beside them). */
@font-face { font-family: 'Baloo 2'; src: url('assets/fonts/baloo2.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: Nunito; src: url('assets/fonts/nunito.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }

:root {
	--navy: #0b2433; --deep: #06131b; --sea: #0d7fae; --sea2: #0a5b80; --sky: #8fd6f7;
	--gold: #f2c766; --gold2: #f4b42e; --sand: #f7e6bd; --ink: #fdf8ee; --muted: #cfe0ea; --coral: #ff7a59;
	--outline: 0 2px 0 #0b2433, 2px 0 0 #0b2433, 0 -2px 0 #0b2433, -2px 0 0 #0b2433, 2px 2px 0 #0b2433, -2px 2px 0 #0b2433, 2px -2px 0 #0b2433, -2px -2px 0 #0b2433, 0 5px 0 #0b2433;
	--pad: clamp(16px, 4vw, 40px); --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--deep); color: var(--ink); font: 600 17px/1.5 Nunito, ui-rounded, system-ui, sans-serif; overflow-x: hidden; overflow-x: clip; } /* clip: nothing can scroll the page sideways */
img { max-width: 100%; height: auto; display: block; } /* height: auto keeps every picture's real shape when CSS narrows it (the width / height attributes are only for layout before it loads) */
a { color: var(--gold); text-underline-offset: 3px; }
h1, h2, h3 { font-family: 'Baloo 2', Nunito, sans-serif; font-weight: 800; line-height: 1.1; margin: 0; }
p { margin: 0; }
h2 { font-size: clamp(30px, 5vw, 48px); color: var(--gold); text-shadow: var(--outline); letter-spacing: 0.01em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--gold); color: var(--navy); padding: 11px 16px; border-radius: 999px; font-weight: 800; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- hero: the poster (owner, 2026-10-18: the crew on the chest, with the logo built in) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { position: relative; background: radial-gradient(120% 70% at 50% 0%, #1a6f9c 0%, #0b3a55 45%, var(--navy) 80%); overflow: hidden; }
.top { position: absolute; z-index: 3; top: calc(env(safe-area-inset-top) + 12px); right: var(--pad); }
.lang { display: inline-flex; background: rgba(11,36,51,0.7); border-radius: 999px; padding: 4px; backdrop-filter: blur(4px); }
.lang button { border: 0; background: none; color: var(--ink); font: 800 15px 'Baloo 2', sans-serif; padding: 6px 16px; border-radius: 999px; cursor: pointer; min-height: 44px; min-width: 48px; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--navy); }
.hero-in { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); } /* minmax(0, …): a column never grows past the screen to fit its content */
.poster { margin: 0; position: relative; }
.poster img { width: 100%; height: auto; }
.poster::after { content: ''; position: absolute; inset: auto 0 0 0; height: 28%; background: linear-gradient(rgba(11,36,51,0), var(--navy)); } /* the poster melts into the page below */
.hero-copy { text-align: center; padding: 0 var(--pad) 52px; margin-top: -40px; position: relative; }
.tagline { margin: 0 auto 20px; max-width: 30ch; font-size: clamp(19px, 2.4vw, 25px); line-height: 1.35; font-weight: 800; color: #fff; text-shadow: 0 2px 6px rgba(6,19,27,0.7); }
.stores { list-style: none; margin: 0 auto 24px; padding: 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.stores li { cursor: default; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; border-radius: 14px; background: rgba(6,19,27,0.82); border: 1.5px solid rgba(255,255,255,0.35); text-align: left; font: 800 18px/1.05 'Baloo 2', sans-serif; }
.stores small { display: block; margin-bottom: 2px; font: 800 12px Nunito, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.store-ico { width: 24px; height: 24px; fill: currentColor; color: #fff; flex: none; }
.notify { max-width: 460px; margin: 0 auto; padding: 18px 18px 16px; border-radius: 22px; background: rgba(6,19,27,0.75); box-shadow: 0 0 0 3px var(--gold), 0 14px 30px rgba(6,19,27,0.45); text-align: left; }
.notify label { display: block; font: 800 20px/1.2 'Baloo 2', sans-serif; color: var(--gold); margin: 0 4px 12px; }
.notify .row { display: flex; gap: 8px; }
.notify input[type=email] { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border-radius: 999px; border: 2px solid transparent; font: 700 17px Nunito, sans-serif; background: #fdf8ee; color: var(--navy); }
.notify input[aria-invalid="true"] { border-color: var(--coral); }
.notify button, .cta, .roll { border: 0; cursor: pointer; min-height: 50px; padding: 0 22px; border-radius: 999px; font: 800 18px 'Baloo 2', sans-serif; color: #fff; background: linear-gradient(180deg, #4fc3ea, #2b86b5); box-shadow: 0 4px 0 #1c5f84, 0 8px 16px rgba(6,19,27,0.35); text-shadow: 0 1px 0 #1c5f84; transition: transform 0.12s; }
.notify button:active, .cta:active, .roll:active { transform: translateY(3px); box-shadow: 0 1px 0 #1c5f84; }
.notify button[disabled] { opacity: 0.7; cursor: wait; }
.notify .msg { margin: 12px 4px 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.notify .msg.err { color: #ffb4a3; } .notify .msg.ok { color: #b9f0a0; font-size: 16px; }
.notify .saved { margin: -4px 4px 12px; font: 700 15px/1.45 Nunito, sans-serif; color: var(--ink); }
.notify .saved b { color: var(--gold); font-weight: 800; }
.notify .saved:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubbles i { position: absolute; bottom: -40px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.7); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(255,255,255,0.08) 60%); animation: rise 11s linear infinite; }
.bubbles i:nth-child(1) { left: 6%; animation-delay: 0s; } .bubbles i:nth-child(2) { left: 18%; width: 22px; height: 22px; animation-delay: 3s; animation-duration: 14s; }
.bubbles i:nth-child(3) { left: 33%; animation-delay: 6s; } .bubbles i:nth-child(4) { left: 52%; width: 10px; height: 10px; animation-delay: 1.5s; animation-duration: 9s; }
.bubbles i:nth-child(5) { left: 68%; width: 26px; height: 26px; animation-delay: 4.5s; animation-duration: 16s; } .bubbles i:nth-child(6) { left: 80%; animation-delay: 7.5s; }
.bubbles i:nth-child(7) { left: 90%; width: 18px; height: 18px; animation-delay: 2s; animation-duration: 13s; } .bubbles i:nth-child(8) { left: 44%; width: 12px; height: 12px; animation-delay: 9s; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(12px, -55vh); } 100% { transform: translate(-8px, -110vh); opacity: 0; } }

@media (min-width: 900px) {
	.hero { padding: 40px var(--pad) 70px; }
	.hero-in { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
	.poster { max-width: 460px; justify-self: end; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 4px var(--gold), 0 30px 50px rgba(0,0,0,0.5); transform: rotate(-2deg); }
	.poster::after { display: none; }
	.hero-copy { text-align: left; padding: 0; margin: 0; } .tagline, .stores, .notify { margin-left: 0; } .stores { justify-content: flex-start; }
	.tagline { font-size: 30px; max-width: 22ch; }
}

/* ---------- the promise ---------- */
.promise { background: var(--navy); padding: 48px var(--pad) 56px; text-align: center; }
.promises { list-style: none; margin: 24px auto 0; padding: 0; max-width: var(--max); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.promises li { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 18px 12px 20px; border-radius: 22px; background: rgba(255,255,255,0.06); }
.promises img { width: 84px; height: 84px; margin-bottom: 8px; transition: transform 0.25s; }
.promises li:hover img { transform: rotate(-8deg) scale(1.08); }
.promises b { font: 800 21px/1.15 'Baloo 2', sans-serif; color: var(--gold); }
.promises span { font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (min-width: 800px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- the tour: the clip, then one card per thing you do (swipe, arrows or dots) ---------- */
.tour { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy), var(--sea2) 45%, var(--sea)); padding: 48px 0 32px; }
.tour > * { position: relative; z-index: 1; }
.tour-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tour-nav { display: none; gap: 10px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--navy); box-shadow: 0 0 0 2px var(--gold); }
.arrow svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.arrow[disabled] { opacity: 0.35; cursor: default; }
.track { list-style: none; margin: 16px 0 0; padding: 8px var(--pad) 18px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: -3px; }
.tcard { flex: 0 0 min(320px, 82vw); scroll-snap-align: center; display: grid; align-content: start; gap: 18px; padding: 18px 16px 22px; border-radius: 30px; background: rgba(6,19,27,0.55); box-shadow: inset 0 0 0 2px rgba(242,199,102,0.35); }
.phone { position: relative; margin: 0 auto; width: min(230px, 62vw); padding: 8px; border-radius: 34px; background: #0b2433; box-shadow: 0 0 0 3px rgba(242,199,102,0.85), 0 18px 30px rgba(6,19,27,0.5); }
.phone img, .phone video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; background: #0d3a52; }
.playpause { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(6,19,27,0.78); box-shadow: 0 0 0 2px var(--gold); }
.playpause svg { width: 22px; height: 22px; fill: var(--gold); }
.playpause .i-play, .playpause[aria-pressed="true"] .i-pause { display: none; }
.playpause[aria-pressed="true"] .i-play { display: block; }
.ttext { text-align: center; }
.kicker { margin: 0 0 6px; font: 800 13px/1.3 Nunito, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); }
.ttext h3 { margin: 0; font: 800 26px/1.08 'Baloo 2', sans-serif; color: var(--gold); text-shadow: var(--outline); }
.ttext p:not(.kicker) { margin: 12px auto 0; max-width: 34ch; font-size: 16px; line-height: 1.5; color: #eaf5fb; }
.boats { display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin-top: 16px; } /* flex-end: the small boats keep their shape beside the big one */
.boats img { width: 60px; height: auto; animation: float 4s ease-in-out infinite; }
.boats img:nth-child(2) { animation-delay: 0.6s; } .boats img:nth-child(3) { animation-delay: 1.2s; } .boats img:nth-child(4) { animation-delay: 1.8s; width: 74px; }
@keyframes float { 50% { transform: translateY(-6px) rotate(2deg); } }
.dots { display: flex; justify-content: center; gap: 2px; margin-top: 4px; }
.dots button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.dots button::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: width 0.2s, background 0.2s; }
.dots button[aria-current="true"]::before { width: 26px; border-radius: 6px; background: var(--gold); }
@media (min-width: 900px) {
	.tour-nav { display: flex; }
	.track { padding-left: max(var(--pad), calc((100% - var(--max)) / 2)); padding-right: max(var(--pad), calc((100% - var(--max)) / 2)); scroll-padding: 0 max(var(--pad), calc((100% - var(--max)) / 2)); }
	.tcard { flex-basis: 340px; scroll-snap-align: start; }
}

/* ---------- meet your captain ---------- */
.captain { background: var(--sand); color: var(--navy); padding: 64px var(--pad) 64px; text-align: center; position: relative; }
.captain::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 40px; background: var(--navy); clip-path: ellipse(60% 100% at 50% 0); }
.captain .sub { margin: 12px auto 24px; max-width: 40ch; font-size: 18px; line-height: 1.45; color: #33424c; }
.card { max-width: 420px; margin: 0 auto; padding: 24px 20px 22px; border-radius: 28px; background: var(--navy); color: var(--ink); box-shadow: inset 0 0 0 4px #d4a64a, 0 18px 32px rgba(11,36,51,0.3); display: grid; justify-items: center; gap: 14px; }
.cap-face { width: 170px; height: 170px; border-radius: 50%; background: #1f6f99; object-fit: cover; object-position: 50% 85%; transition: transform 0.35s cubic-bezier(.2,1.6,.4,1); }
.cap-face.pop { transform: scale(1.08) rotate(-4deg); }
.cap-name { margin: 0; min-height: 2.3em; max-width: 22ch; font: 800 clamp(22px, 3vw, 27px)/1.15 'Baloo 2', sans-serif; color: var(--gold); text-shadow: var(--outline); }
.roll { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(180deg, #ffd77d, #f4b42e); color: var(--navy); text-shadow: none; box-shadow: 0 4px 0 #b8862a, 0 8px 16px rgba(11,36,51,0.3); }
.roll img { width: 34px; height: 34px; } .roll.tumble img { animation: tumble 0.5s ease-in-out; }
@keyframes tumble { 50% { transform: rotate(200deg) scale(1.2); } 100% { transform: rotate(360deg); } }
.cap-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer; font: 800 16px Nunito, sans-serif; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cap-msg { margin: 0; min-height: 1.4em; font-size: 15px; line-height: 1.4; color: #b9f0a0; }
.cap-msg:empty { display: none; }
.crew { list-style: none; margin: 32px auto 0; padding: 0; max-width: 640px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.crew img { width: 100%; aspect-ratio: 1; border-radius: 50%; background: #cde9f5; object-fit: cover; object-position: 50% 85%; transition: transform 0.2s; }
.crew li:hover img { transform: translateY(-4px) rotate(-4deg); }
@media (max-width: 420px) { .crew { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- last call ---------- */
.final { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy), var(--deep)); padding: 30px max(var(--pad), calc((100% - var(--max)) / 2)) 64px; display: grid; justify-items: center; text-align: center; gap: 10px; } /* the background runs edge to edge; the content keeps to the page width */
.final > * { position: relative; z-index: 1; }
.final > .bubbles { position: absolute; z-index: 0; }
.final img { width: min(240px, 56vw); filter: drop-shadow(0 12px 14px rgba(0,0,0,0.5)); }
.final p { max-width: 44ch; margin: 12px auto 24px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.cta { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.cta.small { min-height: 44px; padding: 0 18px; font-size: 16px; white-space: nowrap; }
@media (min-width: 800px) { .final { grid-template-columns: auto minmax(0, 1fr); text-align: left; gap: 40px; } .final p { margin-left: 0; } }

.foot { background: var(--deep); border-top: 1px solid rgba(255,255,255,0.08); padding: 26px var(--pad) calc(26px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 14px; }
.foot p { margin: 4px 0; line-height: 1.45; } .foot .legal { font-size: 13px; color: #a9bfcc; }
.foot .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.foot .links a, .foot p > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
@media (max-width: 899px) { .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } } /* room for the sticky bar */

/* ---------- the sticky "get notified" bar: after the hero, until the form is in view or you've signed up ---------- */
.stickybar { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 22px; background: rgba(6,19,27,0.94); box-shadow: 0 0 0 2px var(--gold), 0 12px 28px rgba(0,0,0,0.45); transform: translateY(0); transition: transform 0.3s, opacity 0.3s; }
.stickybar[hidden] { display: flex; transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; transition: transform 0.3s, opacity 0.3s, visibility 0s 0.3s; }
.stickybar img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.stickybar p { margin: 0; flex: 1; min-width: 0; font: 800 16px/1.15 'Baloo 2', sans-serif; color: var(--ink); }
@media (min-width: 900px) {
	.stickybar { top: 12px; bottom: auto; left: 50%; right: auto; width: min(560px, calc(100% - 24px)); transform: translate(-50%, 0); }
	.stickybar[hidden] { transform: translate(-50%, -140%); }
}
