/* Harbor Heist: Lantern Night. Deep indigo night sky, warm lantern gold, cream paper, brass trim and red planks. */
@font-face {
  font-family: 'Ultra';
  src: url('fonts/ultra-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  src: url('fonts/barlow-semi-condensed-700-latin.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --night: #121c40;
  --night-2: #0c1331;
  --night-3: #090e26;
  --indigo: #1c2858;
  --indigo-2: #233270;
  --indigo-3: #2e3f87;
  --cream: #fdf2d9;
  --cream-deep: #f2dfb3;
  --paper: #fffaf0;
  --sand: #e6cb93;
  --gold: #ffbd33;
  --gold-light: #ffd66b;
  --gold-deep: #e0901c;
  --brass: #c8963c;
  --red: #d24a36;
  --red-deep: #a52f1f;
  --ink: var(--night);
  --ink-soft: #3a4677;
  --text: #2a3462;
  --radius: 22px;
  --display: 'Ultra', 'Rockwell Extra Bold', 'Rockwell', Georgia, serif;
  --ui: 'Barlow Semi Condensed', 'Arial Narrow', 'Avenir Next Condensed', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Ccircle cx='223' cy='77' r='0.8' fill='%23fff6dc' fill-opacity='0.64'/%3E%3Ccircle cx='251' cy='285' r='0.9' fill='%23ffd66b' fill-opacity='0.8'/%3E%3Ccircle cx='110' cy='179' r='1.4' fill='%23fff6dc' fill-opacity='0.67'/%3E%3Ccircle cx='136' cy='6' r='1.2' fill='%23fff6dc' fill-opacity='0.62'/%3E%3Ccircle cx='102' cy='157' r='1.0' fill='%23fff6dc' fill-opacity='0.57'/%3E%3Ccircle cx='11' cy='68' r='1.0' fill='%23fff6dc' fill-opacity='0.81'/%3E%3Ccircle cx='335' cy='260' r='0.6' fill='%23fff6dc' fill-opacity='0.5'/%3E%3Ccircle cx='346' cy='346' r='1.6' fill='%23ffd66b' fill-opacity='0.7'/%3E%3Ccircle cx='209' cy='209' r='1.0' fill='%23fff6dc' fill-opacity='0.4'/%3E%3Ccircle cx='168' cy='300' r='0.9' fill='%23fff6dc' fill-opacity='0.4'/%3E%3Ccircle cx='133' cy='368' r='0.6' fill='%23fff6dc' fill-opacity='0.58'/%3E%3Ccircle cx='13' cy='379' r='0.6' fill='%23fff6dc' fill-opacity='0.54'/%3E%3Ccircle cx='170' cy='220' r='1.0' fill='%23fff6dc' fill-opacity='0.65'/%3E%3Ccircle cx='58' cy='227' r='1.4' fill='%23ffd66b' fill-opacity='0.46'/%3E%3Ccircle cx='252' cy='219' r='0.8' fill='%23ffd66b' fill-opacity='0.71'/%3E%3Ccircle cx='375' cy='414' r='1.0' fill='%23fff6dc' fill-opacity='0.41'/%3E%3Ccircle cx='172' cy='307' r='0.8' fill='%23fff6dc' fill-opacity='0.66'/%3E%3Ccircle cx='223' cy='271' r='0.6' fill='%23fff6dc' fill-opacity='0.44'/%3E%3Ccircle cx='41' cy='11' r='0.6' fill='%23ffd66b' fill-opacity='0.79'/%3E%3Ccircle cx='10' cy='120' r='1.6' fill='%23fff6dc' fill-opacity='0.81'/%3E%3Ccircle cx='112' cy='296' r='0.8' fill='%23fff6dc' fill-opacity='0.48'/%3E%3Ccircle cx='47' cy='391' r='1.6' fill='%23fff6dc' fill-opacity='0.57'/%3E%3Ccircle cx='350' cy='18' r='1.2' fill='%23fff6dc' fill-opacity='0.88'/%3E%3Ccircle cx='375' cy='168' r='1.4' fill='%23fff6dc' fill-opacity='0.5'/%3E%3Ccircle cx='205' cy='227' r='0.6' fill='%23fff6dc' fill-opacity='0.59'/%3E%3Ccircle cx='77' cy='207' r='0.9' fill='%23fff6dc' fill-opacity='0.65'/%3E%3Ccircle cx='55' cy='191' r='0.8' fill='%23ffd66b' fill-opacity='0.7'/%3E%3Ccircle cx='166' cy='271' r='0.8' fill='%23fff6dc' fill-opacity='0.42'/%3E%3Ccircle cx='261' cy='26' r='0.8' fill='%23fff6dc' fill-opacity='0.84'/%3E%3Ccircle cx='239' cy='280' r='1.6' fill='%23fff6dc' fill-opacity='0.69'/%3E%3Ccircle cx='145' cy='21' r='0.8' fill='%23ffd66b' fill-opacity='0.37'/%3E%3Ccircle cx='103' cy='237' r='0.9' fill='%23ffd66b' fill-opacity='0.7'/%3E%3Ccircle cx='150' cy='48' r='1.4' fill='%23ffd66b' fill-opacity='0.65'/%3E%3Ccircle cx='299' cy='394' r='1.4' fill='%23fff6dc' fill-opacity='0.56'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.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 {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--night);
  padding: 10px 16px; border-radius: 12px; font-weight: 800; text-decoration: none; border: 3px solid var(--night);
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.stars { background-image: var(--stars); background-size: 420px 420px; }

/* ---------- type ---------- */
.display, h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.005em; line-height: 1.1; margin: 0; }
/* the game's caption style: cream or lantern-gold faces with a navy outline and a drop */
.inked { color: var(--cream); -webkit-text-stroke: 0.13em var(--night); paint-order: stroke fill; text-shadow: 0 0.08em 0 var(--night); }
.inked .hl, .hl-gold { color: var(--gold); }
.inked.on-dark { -webkit-text-stroke: 0; text-shadow: 0 0.07em 0 var(--night-3); }
/* on cream paper Ultra's small counters fill up under an outline, so titles there are navy, with the gold word outlined */
.on-light .inked { color: var(--night); -webkit-text-stroke: 0; text-shadow: 0 0.06em 0 rgba(224, 144, 28, 0.42); }
.on-light .inked .hl { color: var(--gold); -webkit-text-stroke: 0.09em var(--night); paint-order: stroke fill; text-shadow: 0 0.07em 0 var(--night); }
.kicker {
  display: inline-block; font-family: var(--ui); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--cream); background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  border: 3px solid var(--night); border-radius: 10px; padding: 3px 14px 2px; margin-bottom: 14px;
  box-shadow: inset 0 0 0 2px rgba(255, 214, 107, 0.55), 0 3px 0 var(--night);
}
.tag-soon {
  display: inline-block; vertical-align: 3px; margin-left: 8px; font-family: var(--ui); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--night); background: var(--gold);
  border: 2px solid var(--night); border-radius: 999px; padding: 1px 10px 0;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red); --bg2: var(--red-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.02em; text-decoration: none;
  color: var(--cream); -webkit-text-stroke: 0.12em var(--night); paint-order: stroke fill;
  background: linear-gradient(180deg, var(--bg) 0 55%, var(--bg2) 55% 100%);
  border: 3px solid var(--night); border-radius: 999px; padding: 12px 28px 11px;
  box-shadow: inset 0 0 0 2px rgba(255, 214, 107, 0.6), 0 5px 0 var(--night);
  cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px rgba(255, 214, 107, 0.6), 0 7px 0 var(--night); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px rgba(255, 214, 107, 0.6), 0 2px 0 var(--night); }
.btn-gold { --bg: var(--gold-light); --bg2: var(--gold-deep); color: var(--night); -webkit-text-stroke: 0; }
.btn-sm { font-size: 0.98rem; padding: 8px 18px 7px; box-shadow: inset 0 0 0 2px rgba(255, 214, 107, 0.6), 0 4px 0 var(--night); }

/* ---------- header ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 14px var(--gutter); }
.top.solid { position: relative; background: var(--night); border-bottom: 4px solid var(--brass); box-shadow: 0 4px 0 var(--night-3); }
.brand img { width: 128px; filter: drop-shadow(0 4px 0 rgba(9, 14, 38, 0.45)); }
.top nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.top nav a {
  font-family: var(--ui); font-weight: 700; font-size: 1rem; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none;
  color: var(--night); background: var(--cream); border: 3px solid var(--night); box-shadow: 0 3px 0 var(--night);
  padding: 4px 14px 3px; border-radius: 999px; transition: transform 0.12s ease;
}
.top nav a:hover { transform: translateY(-2px); background: var(--gold); }
.top:not(.solid) .brand { visibility: hidden; }
@media (max-width: 760px) { .top nav a.opt { display: none; } .brand img { width: 100px; } }

/* ---------- store badges ---------- */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badges.center { justify-content: center; }
.badge { display: inline-block; line-height: 0; border-radius: 12px; transition: transform 0.12s ease; }
a.badge:hover { transform: translateY(-2px); }
.badge img { height: 56px; width: auto; }
.badge.soon { position: relative; }
.badge.soon img { opacity: 0.6; filter: grayscale(1); }
.badge.soon .soon-tag {
  position: absolute; right: -10px; top: -13px; line-height: 1.25; white-space: nowrap;
  font-family: var(--ui); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--gold); color: var(--night); border: 2px solid var(--night); border-radius: 999px;
  padding: 2px 9px 1px; box-shadow: 0 2px 0 var(--night); transform: rotate(4deg);
}
.age {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--ui); font-weight: 700; font-size: 1.2rem; color: var(--cream); background: var(--night);
  border: 3px solid var(--gold); box-shadow: 0 0 0 3px var(--night);
}
.badge-line {
  margin: 12px 0 0; font-size: 0.9rem; font-weight: 700; line-height: 1.45; color: var(--night);
  background: rgba(253, 242, 217, 0.92); border: 2px solid var(--night); border-radius: 14px;
  padding: 6px 12px; display: inline-block; max-width: 36rem;
}
.badges.center + .badge-line { display: block; width: fit-content; margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- panels ---------- */
.panel { background: var(--paper); border: 4px solid var(--night); border-radius: var(--radius); box-shadow: inset 0 0 0 3px var(--brass), 0 8px 0 var(--night); }

/* ---------- footer ---------- */
.foot { background: var(--night-3); color: var(--cream); position: relative; }
.foot .wave { position: absolute; left: 0; right: 0; top: 0; height: 38px; width: 100%; transform: translateY(-100%); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 56px 0 28px; }
.foot-brand img { width: 160px; margin-bottom: 12px; }
.foot-brand p { margin: 0; color: #c9cfe8; font-size: 0.98rem; }
.foot h2 { font-family: var(--ui); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot ul a { color: var(--cream); text-decoration: none; }
.foot ul a:hover { color: var(--gold); text-decoration: underline; }
.disclaimer {
  border-top: 2px solid rgba(253, 242, 217, 0.16); border-bottom: 2px solid rgba(253, 242, 217, 0.16);
  padding: 20px 0; margin: 0; font-size: 0.98rem; line-height: 1.6; color: var(--cream);
}
.disclaimer strong { color: var(--gold); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 0 32px; font-size: 0.9rem; color: #aab2d6; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- document pages ---------- */
.doc-hero { background-color: var(--indigo); background-image: var(--stars); background-size: 420px 420px; padding: 44px 0 70px; position: relative; overflow: hidden; }
.doc-hero::before { content: ''; position: absolute; inset: 0; background: url('img/ui-rays.webp') center 30% / 900px no-repeat; opacity: 0.16; }
.doc-hero .wrap { position: relative; display: flex; align-items: center; gap: 24px; }
.doc-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
.doc-hero p { margin: 12px 0 0; color: var(--cream); font-weight: 700; text-shadow: 0 2px 0 rgba(9, 14, 38, 0.5); }
.doc-hero img { width: clamp(110px, 17vw, 180px); margin-left: auto; flex-shrink: 0; filter: drop-shadow(0 8px 0 rgba(9, 14, 38, 0.4)); }
.doc { background: var(--cream); padding: 0 0 90px; }
.doc .paper {
  max-width: 740px; margin: -44px auto 0; position: relative; background: var(--paper);
  border: 4px solid var(--night); border-radius: var(--radius); box-shadow: inset 0 0 0 3px var(--brass), 0 8px 0 var(--night);
  padding: clamp(22px, 5vw, 60px);
}
.doc h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin: 36px 0 10px; color: var(--indigo-2); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-family: var(--ui); font-weight: 700; font-size: 1.18rem; margin: 22px 0 6px; color: var(--night); letter-spacing: 0.02em; }
.doc p, .doc li { color: var(--text); }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin: 6px 0; }
.doc a { color: var(--indigo-3); font-weight: 700; }
.doc a:hover { color: var(--red-deep); }
.doc a.btn, .doc a.btn:hover { color: var(--cream); }
.doc strong { color: var(--night); }
.doc .meta { font-size: 0.95rem; color: var(--ink-soft); }
.doc .callout { background: var(--cream); border: 3px solid var(--night); border-radius: 16px; padding: 14px 18px; margin: 18px 0; }
.doc .callout p { margin: 0; }
.doc .callout p + p { margin-top: 8px; }
.doc code { background: var(--cream); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
.doc .steps { counter-reset: step; list-style: none; padding: 0; }
.doc .steps li { counter-increment: step; position: relative; padding-left: 46px; margin: 12px 0; }
.doc .steps li::before {
  content: counter(step); position: absolute; left: 0; top: -1px; width: 32px; height: 32px; display: grid; place-items: center;
  font-family: var(--ui); font-weight: 700; color: var(--night); background: var(--gold); border: 2.5px solid var(--night); border-radius: 50%;
}
.ui-word { font-family: var(--ui); font-weight: 700; letter-spacing: 0.04em; color: var(--night); white-space: nowrap; }
@media (max-width: 640px) { .doc-hero img { display: none; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--paper); border: 3px solid var(--night); border-radius: 18px; box-shadow: 0 5px 0 var(--night); overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 58px 15px 20px; position: relative;
  font-family: var(--ui); font-weight: 700; font-size: 1.22rem; letter-spacing: 0.01em; color: var(--night); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--night); font-size: 1.3rem; line-height: 1; font-family: var(--body); font-weight: 800;
}
.faq details[open] summary::after { content: '\2013'; }
.faq details > div { padding: 0 20px 16px; color: var(--text); }
.faq details > div p { margin: 0 0 10px; }
.faq details > div a { color: var(--indigo-3); font-weight: 700; }

/* ================= home ================= */
/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(640px, 100svh, 960px); display: flex; align-items: center; background: #3b3d7c; }
.scene, .layer { position: absolute; inset: 0; }
.scene { z-index: -1; }
.layer { will-change: transform; }
.bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero .scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 19, 49, 0.42) 0%, rgba(12, 19, 49, 0.1) 55%, rgba(12, 19, 49, 0) 100%); }
.glint { position: absolute; width: 30px; opacity: 0; animation: twinkle 4.8s ease-in-out infinite; }
.g1 { left: 44%; top: 74%; animation-delay: 0.4s; }
.g2 { left: 55%; top: 82%; width: 22px; animation-delay: 1.9s; }
.g3 { left: 36%; top: 87%; width: 26px; animation-delay: 3.1s; }
.g4 { left: 64%; top: 71%; width: 20px; animation-delay: 2.5s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: rotate(0deg); } 40%, 60% { opacity: 0.95; transform: rotate(20deg); } }
.prop { position: absolute; filter: drop-shadow(0 10px 0 rgba(9, 14, 38, 0.3)); }
.boat { width: clamp(150px, 15vw, 230px); right: -1%; bottom: 16%; animation: rock 7s ease-in-out infinite, arrive 1.1s 0.5s cubic-bezier(.2,.9,.3,1) both; transform-origin: 50% 85%; }
.dock { width: clamp(280px, 30vw, 440px); right: 12%; bottom: -9%; animation: arrive 1s 0.2s cubic-bezier(.2,.9,.3,1) both; }
@keyframes rock { 0%, 100% { rotate: -1.5deg; translate: 0 0; } 50% { rotate: 1.5deg; translate: 0 -5px; } }
@keyframes arrive { from { opacity: 0; transform: translateY(40px); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 24px; padding-top: 92px; padding-bottom: 110px; }
.hero-copy { max-width: 560px; }
.hero h1 { margin: 0 0 6px; line-height: 0; }
.logo { width: min(460px, 82vw); filter: drop-shadow(0 12px 0 rgba(9, 14, 38, 0.4)); animation: zoomhold 0.9s cubic-bezier(.18,1.35,.42,1) both; transform-origin: 40% 60%; }
@keyframes zoomhold { from { transform: scale(0.55); } }
.tagline { font-family: var(--display); font-size: clamp(1.7rem, 3.7vw, 2.6rem); line-height: 1.12; margin: 16px 0 14px; animation: rise 0.7s 0.35s ease-out both; }
.lede {
  font-size: 1.1rem; font-weight: 700; color: var(--night); margin: 0 0 24px; max-width: 30rem;
  background: rgba(253, 242, 217, 0.9); border: 3px solid var(--night); border-radius: 18px; padding: 10px 16px;
  box-shadow: inset 0 0 0 2px rgba(200, 150, 60, 0.55); animation: rise 0.7s 0.45s ease-out both;
}
.hero-copy .badges, .hero-copy .badge-line { animation: rise 0.7s 0.55s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-cat { justify-self: center; align-self: end; }
.hero-cat img { width: min(420px, 34vw); filter: drop-shadow(0 16px 0 rgba(9, 14, 38, 0.35)); animation: catin 0.95s 0.3s cubic-bezier(.2,1.3,.4,1) both; transform-origin: 50% 100%; }
@keyframes catin { from { opacity: 0; transform: translateY(80px) scale(0.8); } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }
@media (max-width: 720px) {
  .hero { min-height: 0; align-items: flex-start; }
  .bg img { object-position: 50% 40%; }
  .hero .scene::after { background: linear-gradient(180deg, rgba(12, 19, 49, 0.35) 0%, rgba(12, 19, 49, 0.05) 45%, rgba(12, 19, 49, 0.25) 100%); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 70px; padding-bottom: 60px; gap: 0; }
  .hero-copy { margin: 0 auto; }
  .logo { margin: 0 auto; width: 290px; }
  .lede { margin-left: auto; margin-right: auto; font-size: 1rem; }
  .hero-copy .badges { justify-content: center; }
  .hero-copy .badge-line { font-size: 0.82rem; }
  .hero-cat img { width: 240px; margin-top: 14px; }
  .boat { right: -8%; bottom: 13%; width: 130px; }
  .dock { width: 280px; right: auto; left: 50%; margin-left: -140px; bottom: -36px; }
  .glints { display: none; }
}

/* ---------- pillars ---------- */
.pillars { background-color: var(--indigo); background-image: var(--stars); background-size: 420px 420px; padding: 26px 0 70px; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  display: grid; justify-items: center; text-align: center; gap: 2px; text-decoration: none;
  background: var(--cream); border: 4px solid var(--night); border-radius: var(--radius);
  box-shadow: inset 0 0 0 3px var(--brass), 0 7px 0 var(--night-3); padding: 16px 12px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 3px var(--brass), 0 11px 0 var(--night-3); }
.pillar img { width: 96px; height: 92px; object-fit: contain; margin-top: -50px; filter: drop-shadow(0 5px 0 rgba(9, 14, 38, 0.35)); }
.pillar span { font-size: 1.5rem; color: var(--night); margin-top: 4px; }
.pillar small { font-size: 0.95rem; font-weight: 700; color: var(--ink-soft); line-height: 1.3; }
@media (max-width: 760px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; padding-top: 30px; } }
@media (min-width: 761px) { .pillars { padding-top: 64px; } }

/* ---------- sections ---------- */
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-title { font-size: clamp(2rem, 5vw, 3.2rem); }
.narrow { max-width: 860px; }
.features { background: var(--cream); padding: 84px 0 90px; position: relative; overflow-x: clip; }
.features::before {
  content: ''; position: absolute; inset: -1px 0 auto 0; height: 44px;
  background: radial-gradient(circle at 50% -10px, var(--indigo) 30px, transparent 31px) 0 0 / 72px 44px repeat-x;
}
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 80px); margin: 0 0 90px; }
.feature.flip .feature-art { order: 2; }
.feature-art { position: relative; display: grid; place-items: center; min-height: 520px; }
.rays { position: absolute; width: 540px; height: 540px; max-width: 112%; background: url('img/ui-rays.webp') center / contain no-repeat; opacity: 0.5; }
.phone {
  position: relative; width: 240px; border: 5px solid var(--night); border-radius: 34px; overflow: hidden;
  background: var(--night); box-shadow: 0 10px 0 var(--night), 0 24px 50px rgba(9, 14, 38, 0.35);
}
.phone img { width: 100%; height: auto; aspect-ratio: 1320 / 2868; object-fit: cover; }
.phone video { width: 100%; height: auto; aspect-ratio: 480 / 1040; object-fit: cover; background: var(--night); }
.float { position: absolute; filter: drop-shadow(0 8px 0 rgba(9, 14, 38, 0.22)); }
.float.f1 { width: 150px; left: 3%; top: 10%; rotate: -8deg; }
.float.f2 { width: 150px; right: 1%; bottom: 8%; rotate: 6deg; }
.float.f3 { width: 112px; right: 9%; top: 6%; rotate: 10deg; }
.cluster { position: relative; width: min(420px, 100%); aspect-ratio: 1; }
.cluster img { position: absolute; filter: drop-shadow(0 10px 0 rgba(9, 14, 38, 0.22)); }
.cluster .c1 { width: 52%; left: 4%; top: 6%; rotate: -6deg; }
.cluster .c2 { width: 48%; right: 2%; top: 22%; rotate: 7deg; }
.cluster .c3 { width: 50%; left: 24%; bottom: 0; }
.feature-copy h3 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.feature-copy p { font-size: 1.1rem; color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 38px; font-weight: 700; color: var(--night); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23121c40' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  border: 2.5px solid var(--night);
}
.ticks.light li { color: var(--cream); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; margin-bottom: 70px; }
  .feature.flip .feature-art { order: 0; }
  .feature-art { min-height: 420px; }
  .phone { width: 200px; }
  .float.f1, .float.f2 { width: 108px; }
  .float.f3 { width: 80px; }
  .cluster { width: min(340px, 100%); }
}

.harbors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.harbor { margin: 0; position: relative; border: 4px solid var(--night); border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 3px var(--brass), 0 6px 0 var(--night); background: var(--indigo); }
.harbor-bg { width: 100%; aspect-ratio: 1; object-fit: cover; }
.harbor-market { position: absolute; left: 12%; top: 6%; width: 76%; filter: drop-shadow(0 6px 0 rgba(9, 14, 38, 0.3)); }
.harbor figcaption {
  position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--ui); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--night); background: var(--cream); border: 3px solid var(--night); border-radius: 999px; padding: 1px 11px 0;
}
@media (max-width: 820px) {
  .harbors { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .harbor { scroll-snap-align: center; }
}

/* ---------- watch ---------- */
.watch { background: var(--night-2); padding: 90px 0; position: relative; overflow: hidden; color: var(--cream); }
.watch::before {
  content: ''; position: absolute; width: 1100px; height: 1100px; left: 28%; top: 50%; translate: -50% -50%;
  background: url('img/ui-rays.webp') center / contain no-repeat; opacity: 0.16; animation: spin 90s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.watch-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.watch-phone { display: grid; justify-items: center; gap: 16px; }
.phone.big { width: min(300px, 74vw); }
.play-toggle {
  font-family: var(--ui); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night);
  background: var(--cream); border: 3px solid var(--night); border-radius: 999px; padding: 4px 16px 3px; cursor: pointer; box-shadow: 0 3px 0 var(--night-3);
}
.watch-copy p { font-size: 1.12rem; }
@media (max-width: 820px) { .watch-grid { grid-template-columns: 1fr; text-align: center; } .watch-copy .badges { justify-content: center; } }

/* ---------- crew ---------- */
.crew { background-color: var(--indigo-2); background-image: var(--stars); background-size: 420px 420px; padding: 90px 0; color: var(--cream); overflow: hidden; }
.crew-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.crew-copy p { font-size: 1.12rem; font-weight: 600; }
.crew-art { position: relative; min-height: 400px; display: grid; place-items: center; }
.crew-card { width: 290px; padding: 16px 18px 20px; text-align: center; rotate: -3deg; }
.crew-card .display { font-size: 1.35rem; color: var(--night); margin: 0 0 10px; }
.crew-card ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.crew-card li { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 2.5px solid var(--night); border-radius: 14px; padding: 5px 10px; }
.crew-card li img { width: 42px; height: 42px; border-radius: 50%; }
.crew-card li span { flex: 1; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--sand) 0 60%, transparent 60%); }
.crew-cat { position: absolute; width: 150px; right: 0; bottom: -6%; filter: drop-shadow(0 8px 0 rgba(9, 14, 38, 0.35)); }
.crew-p { position: absolute; width: 76px; border-radius: 50%; box-shadow: 0 5px 0 var(--night-3); }
.p5 { left: 4%; top: 10%; rotate: -6deg; }
.p6 { left: 12%; bottom: 6%; rotate: 8deg; }
@media (max-width: 820px) { .crew-grid { grid-template-columns: 1fr; } .crew-cat { width: 120px; right: 0; } }

/* ---------- story ---------- */
.story { background: var(--cream); padding: 90px 0; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.story-card { overflow: hidden; }
.story-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 4px solid var(--night); }
.story-card h3 { font-size: 1.45rem; color: var(--night); padding: 18px 20px 0; }
.story-card p { margin: 8px 20px 22px; color: var(--text); }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ---------- screenshots ---------- */
.shots { background-color: var(--indigo); background-image: var(--stars); background-size: 420px 420px; padding: 90px 0 70px; }
.shot-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(190px, 21vw, 250px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 26px;
  scrollbar-color: var(--gold) transparent;
}
.shot-rail img { width: 100%; border: 4px solid var(--night-3); border-radius: 22px; box-shadow: 0 8px 0 var(--night-3); scroll-snap-align: center; }

/* ---------- faq ---------- */
.faq-sec { background: var(--cream); padding: 90px 0; }

/* ---------- closing call ---------- */
.cta {
  background-color: var(--night-2); background-image: radial-gradient(ellipse 60% 70% at 30% 55%, rgba(255, 189, 51, 0.18), transparent 70%), var(--stars);
  background-size: auto, 420px 420px; padding: 70px 0 110px; color: var(--cream); overflow: hidden;
}
.cta-inner { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 60px); }
.cta-cat { width: clamp(170px, 22vw, 260px); filter: drop-shadow(0 12px 0 rgba(9, 14, 38, 0.45)); }
.cta p { font-size: 1.15rem; font-weight: 700; }
@media (max-width: 720px) { .cta-inner { flex-direction: column; text-align: center; } .cta .badges { justify-content: center; } }

/* ================= odds ================= */
.odds-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 3px solid var(--night); border-radius: 16px; overflow: hidden; margin: 10px 0 14px; }
.odds-table th, .odds-table td { padding: 9px 12px; text-align: left; border-bottom: 2px solid var(--cream-deep); vertical-align: middle; }
.odds-table tbody tr:last-child th, .odds-table tbody tr:last-child td { border-bottom: 0; }
.odds-table thead th { background: var(--night); color: var(--cream); font-family: var(--ui); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.odds-table tbody th { background: var(--cream); font-weight: 700; color: var(--night); }
.odds-table .catch { display: flex; align-items: center; gap: 10px; }
.odds-table .catch img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.odds-table td.pct { font-family: var(--ui); font-weight: 700; font-size: 1.15rem; color: var(--night); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.odds-table thead th.pct { text-align: right; }
.odds-table tfoot td { background: var(--cream-deep); font-weight: 700; color: var(--night); }
.odds-table tfoot td.pct { font-size: 1rem; }
@media (max-width: 560px) {
  .odds-table th, .odds-table td { padding: 8px 7px; font-size: 0.92rem; }
  .odds-table .catch img { width: 34px; height: 34px; }
  .odds-table .catch { gap: 7px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
