/* Eko Quest — public site (ekoquest.io): landing page + legal pages. Brand: the game's key art (Lekki–Ikoyi bridge at
   dusk), sun-gold on night indigo, Barlow / Barlow Condensed (the game's own fonts, OFL). */
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/BarlowCondensed-SemiBold.woff2') format('woff2'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/BarlowCondensed-Bold.woff2') format('woff2'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/Barlow-Regular.woff2') format('woff2'); font-weight: 300 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/Barlow-SemiBold.woff2') format('woff2'); font-weight: 500 800; font-display: swap; }

:root {
  --night: #0c0a18;
  --night-2: #141128;
  --night-3: #1d1938;
  --ink: #f4f1ea;
  --muted: #b8b2c8;
  --line: rgba(244, 241, 234, .12);
  --gold: #f6c026;
  --gold-ink: #1a1400;
  --sunset: #ff8a3d;
  --violet: #8b6cff;
  --radius: 14px;
  --head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 17px/1.6 var(--body); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
a:hover { color: #ffd65c; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 16px; }

/* ---------------------------------------------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(12, 10, 24, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 22px/1 var(--head); letter-spacing: .02em; }
.brand img { width: 30px; height: 30px; }
.brand b { color: var(--gold); font-weight: 700; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font: 600 15px/1 var(--body); }
.nav a:not(.btn):hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 700 17px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 10px 30px rgba(246, 192, 38, .25); }
.btn-gold:hover { background: #ffd04a; color: var(--gold-ink); }
.btn-ghost { background: rgba(244, 241, 234, .08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(244, 241, 234, .14); color: var(--ink); }
.nav .btn { min-height: 38px; padding: 0 16px; font-size: 15px; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* ---------------------------------------------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; background: #120c1c; }
.hero picture img { width: 100%; height: auto; aspect-ratio: 2560 / 1086; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 14%; background: linear-gradient(to bottom, transparent, var(--night)); pointer-events: none; }
.hero-cta { position: relative; z-index: 2; margin-top: -8px; text-align: center; padding-bottom: 40px; }
.hero-cta h1 { margin: 0 auto 10px; max-width: 760px; font: 600 clamp(20px, 2.4vw, 28px)/1.3 var(--body); color: var(--ink); }
.hero-cta p { margin: 0 auto 22px; max-width: 620px; color: var(--muted); }
.hero-cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.mobile-logo { display: none; }
@media (max-width: 720px) {
  .hero picture img { aspect-ratio: 800 / 560; }
  .hero-cta { margin-top: -30px; }
  .mobile-logo { display: block; width: min(320px, 82%); margin: 0 auto 14px; }
  .hero-cta h1 { font-size: 19px; }
}

/* ---------------------------------------------------------------------------------------------------- sections */
section { padding: 64px 0; }
.kicker { font: 700 14px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
h2 { font: 700 clamp(32px, 4.4vw, 52px)/1.02 var(--head); letter-spacing: .01em; text-transform: uppercase; margin: 0 0 14px; }
.lead { color: var(--muted); max-width: 680px; margin: 0 0 32px; font-size: 18px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card .in { padding: 16px 18px 20px; }
.card h3 { margin: 0 0 6px; font: 700 24px/1.1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.band { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.shots { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.shots figure { margin: 0; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.trailer { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.trailer video { width: 100%; height: 100%; object-fit: cover; }
.split { display: grid; gap: 28px; grid-template-columns: 1.1fr 1fr; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 34px; position: relative; color: var(--ink); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2-4.3-4.3 1.4-1.4 2.9 2.9 5.9-5.9 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 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2-4.3-4.3 1.4-1.4 2.9 2.9 5.9-5.9 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticks li span { display: block; color: var(--muted); font-size: 15px; }
.loop { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #1b1022; }
.loop video { width: 100%; height: 100%; object-fit: cover; }
.callout { background: radial-gradient(120% 140% at 0% 0%, rgba(139, 108, 255, .22), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(255, 138, 61, .2), transparent 60%), var(--night-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
.callout .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.pill { display: inline-block; font: 700 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: rgba(246, 192, 38, .14); color: var(--gold); margin-bottom: 12px; }

/* ---------------------------------------------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------------------------------------------------------------------------------------------------- legal pages */
.legal { padding: 40px 0 72px; }
.legal .doc { width: min(780px, 100% - 32px); margin-inline: auto; }
.legal h1 { font: 700 clamp(36px, 5vw, 56px)/1 var(--head); text-transform: uppercase; margin: 0 0 8px; }
.legal .meta { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.legal h2 { font: 700 26px/1.15 var(--head); text-transform: uppercase; letter-spacing: .02em; margin: 40px 0 10px; color: var(--ink); scroll-margin-top: 80px; }
.legal h3 { font: 600 18px/1.3 var(--body); margin: 22px 0 6px; }
.legal p, .legal li { color: #ddd8e8; }
.legal li { margin: 6px 0; }
.legal .summary { background: var(--night-2); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 20px; margin: 0 0 28px; }
.legal .summary p { margin: 6px 0; }
.legal .toc { columns: 2 240px; padding-left: 20px; margin: 0 0 8px; }
.legal .toc a { color: var(--muted); text-decoration: none; }
.legal .toc a:hover { color: var(--gold); }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--night-2); font-weight: 600; }
.legal .caps { text-transform: uppercase; font-size: 15px; }
@media print { .top, .foot { display: none; } body { background: #fff; color: #000; } .legal p, .legal li { color: #000; } .legal .summary, .legal th { background: #f4f4f4; } }
/* details the owner still has to supply (company name, RC number, address): highlighted until filled */
.fill { background: rgba(255, 138, 61, .22); color: #ffd2b3; border-radius: 4px; padding: 0 4px; }
.legal code { background: var(--night-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; font-size: .9em; }

/* ---------------------------------------------------------------------------------------------------- cookie banner */
.cc { position: fixed; inset: auto 16px 16px; z-index: 60; display: flex; justify-content: center; pointer-events: none; }
.cc-card { pointer-events: auto; width: min(560px, 100%); background: rgba(20, 17, 40, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 16px; padding: 18px 20px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.cc-title { font: 700 22px/1.1 var(--head); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 8px; }
.cc-card p { margin: 0 0 14px; color: #ddd8e8; font-size: 15px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cc-actions .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.cc-link { background: none; border: 0; color: var(--gold); font: 600 15px/1 var(--body); text-decoration: underline; cursor: pointer; padding: 8px 4px; }
.cc-settings { display: grid; gap: 10px; margin: 0 0 14px; }
.cc-settings[hidden] { display: none; }
.cc-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #ddd8e8; background: var(--night-3); border-radius: 10px; padding: 10px 12px; }
.cc-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.foot button[data-cookie-settings] { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; cursor: pointer; }
.foot button[data-cookie-settings]:hover { color: var(--ink); }
@media (max-width: 520px) { .cc { inset: auto 8px 8px; } .cc-actions .btn { flex: 1 1 auto; } }
