/* CoFishing: dark river teal with the logo's gold. System fonts only (no third-party requests). */
:root {
    --bg: #0b1a22;
    --bg-2: #0f2430;
    --bg-3: #13303e;
    --ink: #eef3f5;
    --muted: #a9b9c3;
    --gold: #f5ba3d;
    --gold-light: #fcd977;
    --gold-dark: #e2a231;
    --cream: #fff1d6;
    --line: rgba(255, 255, 255, 0.12);
    --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* Top bar: on the hero, then solid on scroll */
.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 10;
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 28px;
    transition: background 0.25s, box-shadow 0.25s, padding 0.25s;
}
.topbar.solid { background: rgba(11, 26, 34, 0.94); box-shadow: 0 1px 0 var(--line); padding: 10px 28px; }
.brand img { height: 26px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
.brand:hover { text-decoration: none; }
.topbar nav a {
    color: var(--ink); margin-left: 26px; font-size: 0.9rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.topbar nav a:hover { color: var(--gold-light); text-decoration: none; }

/* Hero: the river at first light */
.hero {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: url('../images/hero.jpg') center 40% / cover no-repeat, var(--bg);
}
.hero-shade {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 55% 50% at 50% 46%, rgba(6, 16, 22, 0.55) 0%, rgba(6, 16, 22, 0) 100%),
        linear-gradient(180deg, rgba(11, 26, 34, 0.45) 0%, rgba(11, 26, 34, 0.1) 35%, rgba(11, 26, 34, 0.35) 70%, var(--bg) 100%);
}
.hero-inner { position: relative; padding: 110px 20px 90px; max-width: 900px; }
.hero-logo img { width: min(560px, 82vw); margin: 0 auto; filter: drop-shadow(0 6px 26px rgba(0, 0, 0, 0.55)); }
.lede {
    font-size: clamp(1.2rem, 3vw, 1.75rem); font-weight: 600; margin-top: 26px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}
.facts {
    margin-top: 14px; color: var(--cream); font-size: 0.95rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}
.facts span { color: var(--gold); margin: 0 6px; }
.facts b { font-weight: inherit; white-space: nowrap; }
.soon { margin-top: 26px; color: var(--cream); font-style: italic; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.scroll-cue {
    position: absolute; bottom: 26px; left: 50%; width: 26px; height: 26px; margin-left: -13px;
    border-right: 3px solid var(--cream); border-bottom: 3px solid var(--cream);
    transform: rotate(45deg); opacity: 0.7; animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }

.btn {
    display: inline-block; padding: 15px 36px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); color: #1d1403;
    font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    border-radius: 6px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.btn:hover, .btn:focus { filter: brightness(1.08); text-decoration: none; }
.btn-ghost {
    background: rgba(11, 26, 34, 0.45); color: var(--ink); border: 2px solid rgba(255, 241, 214, 0.55);
    box-shadow: none; padding: 13px 34px; backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* Sections */
.band { padding: 96px 0; }
.band.dark { background: var(--bg-2); }
.kicker {
    text-align: center; color: var(--gold); font-size: 0.85rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px;
}
.section-title {
    text-align: center; font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.15;
    letter-spacing: 1px; text-transform: uppercase; font-weight: 800;
}
.section-title::after {
    content: ''; display: block; width: 80px; height: 4px; margin: 18px auto 0;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-dark)); border-radius: 2px;
}
.intro { max-width: 780px; margin: 28px auto 0; text-align: center; font-size: 1.2rem; color: var(--muted); }

/* Features: picture and text, alternating sides */
.features { margin-top: 64px; display: grid; gap: 64px; }
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.feature:nth-child(even) .shot { order: 2; }
.feature h3 { font-size: 1.6rem; line-height: 1.25; margin-bottom: 12px; }
.feature h3::before {
    content: ''; display: block; width: 40px; height: 3px; margin-bottom: 16px;
    background: var(--gold); border-radius: 2px;
}
.feature p { color: var(--muted); font-size: 1.1rem; }

.shot { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
.shot img { width: 100%; transition: transform 0.4s ease; }
.shot:hover img { transform: scale(1.03); }
.feature .shot { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }

.gallery { margin-top: 52px; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }

/* Built in the open: over the misty river */
.band.cta {
    position: relative;
    background:
        linear-gradient(180deg, var(--bg-2) 0%, rgba(11, 26, 34, 0.78) 30%, rgba(11, 26, 34, 0.86) 100%),
        url('../images/river.jpg') center 60% / cover no-repeat;
}
.band.cta .intro { color: var(--ink); }
.band.cta .actions { margin-top: 34px; }
.social { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center; }
.social a { color: var(--cream); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.9rem; }
.social a:hover { color: var(--gold-light); }
.small { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }

.video { aspect-ratio: 16 / 9; max-width: 960px; margin: 0 auto; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; }

.footer { padding: 28px 0; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Screenshot viewer */
.lightbox {
    position: fixed; inset: 0; z-index: 50; background: rgba(4, 10, 14, 0.94);
    display: flex; align-items: center; justify-content: center; padding: 40px 70px;
}
.lightbox figure { max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { margin-top: 14px; color: var(--muted); }
.lightbox button {
    position: absolute; background: none; border: 0; color: var(--cream); cursor: pointer;
    font-size: 3rem; line-height: 1; padding: 10px 16px; opacity: 0.75;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Press / privacy pages */
.page { padding: 120px 0 70px; }
.page h1 { font-size: clamp(2rem, 6vw, 3rem); text-transform: uppercase; letter-spacing: 1px; font-weight: 800; text-align: center; margin-bottom: 14px; }
.page h1::after { content: ''; display: block; width: 80px; height: 4px; margin: 14px auto 0; background: linear-gradient(90deg, var(--gold-light), var(--gold-dark)); border-radius: 2px; }
.page .doc { max-width: 860px; margin: 36px auto 0; }
.page h2 { font-size: 1.4rem; margin: 42px 0 12px; }
.page p, .page li { color: var(--muted); font-size: 1.05rem; margin-bottom: 12px; }
.page ul { margin-left: 24px; }
.page strong { color: var(--ink); }
.table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.table th { color: var(--ink); width: 32%; font-weight: 600; }
.updated { margin-top: 40px; font-size: 0.9rem; color: var(--muted); }

/* Press kit downloads */
.downloads { margin-top: 18px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.download { display: block; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); }
.download:hover { border-color: var(--gold); text-decoration: none; }
.download .thumb { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: var(--bg-3); overflow: hidden; }
.download .thumb img { width: 100%; height: 100%; object-fit: cover; }
.download .thumb.logo img { object-fit: contain; padding: 18px; }
.download span { display: block; padding: 10px 14px; font-size: 0.92rem; }
.download small { display: block; color: var(--muted); font-size: 0.8rem; }

@media (max-width: 900px) {
    .feature, .feature:nth-child(even) { grid-template-columns: 1fr; gap: 22px; }
    .feature:nth-child(even) .shot { order: 0; }
    .features { gap: 52px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .topbar, .topbar.solid { padding: 12px 16px; }
    .topbar nav a { margin-left: 14px; font-size: 0.78rem; letter-spacing: 1px; }
    .topbar nav a[href="#screens"] { display: none; }
    .brand img { height: 20px; }
    .band { padding: 64px 0; }
    .gallery { grid-template-columns: 1fr; }
    .lightbox { padding: 50px 8px; }
    .lb-prev, .lb-next { top: auto; bottom: 6px; transform: none; }
    .table th { width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scroll-cue { animation: none; }
    .shot img { transition: none; }
}
