/* ============ Lovelace Fishing (editorial light theme, mobile-first) ============ */

:root {
  --paper: #faf7f2;
  --paper-deep: #f2ede4;
  --ink: #3d4f5c;
  --ink-soft: #7c8b96;
  --blue: #33a9cf;
  --blue-deep: #1f7fa3;
  --blue-wash: rgba(51, 169, 207, 0.12);
  --sand-wash: rgba(217, 185, 138, 0.2);
  --line: #e5ddd0;
  --card: #ffffff;
  --radius: 16px;
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: 'Quicksand', 'Nunito Sans', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h2 { font-size: clamp(1.9rem, 5.5vw, 2.7rem); color: var(--blue); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 700; }

img { max-width: 100%; }

.container { width: min(1120px, 90%); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* The little editorial dash above headings */
.dash { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--blue); margin-bottom: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(61, 79, 92, 0.1);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand {
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.01em;
  color: #fff; text-decoration: none; text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  transition: color 0.3s, text-shadow 0.3s;
}
.brand span { color: var(--blue); }
.site-header.scrolled .brand { color: var(--ink); text-shadow: none; }

.nav-links { display: none; }

.nav-toggle { background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; border-radius: 2px;
  background: #fff; margin: 5px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.25s, opacity 0.25s, background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled .nav-toggle span, .nav-toggle.open span { background: var(--ink); box-shadow: none; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-links {
  position: fixed; top: var(--header-h); right: 0;
  display: flex; flex-direction: column; gap: 0;
  width: min(280px, 80vw); list-style: none;
  background: rgba(250, 247, 242, 0.98); backdrop-filter: blur(12px);
  border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  border-radius: 0 0 0 var(--radius);
  padding: 10px 0; transform: translateX(110%); transition: transform 0.28s ease;
  box-shadow: -8px 12px 30px rgba(61, 79, 92, 0.12);
}
.nav-links.open { transform: translateX(0); }
.nav-links a {
  display: block; padding: 13px 28px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 0.92rem;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(51, 169, 207, 0.35); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-soft { background: rgba(255,255,255,0.85); color: var(--blue-deep); box-shadow: 0 4px 16px rgba(61,79,92,0.12); }
.btn-soft:hover { background: #fff; }
.btn-wide { width: 100%; justify-content: center; }
.btn-dot { font-size: 1rem; }

/* ---------- Hero (mobile-first: image on top, panel below) ---------- */
.hero { position: relative; }

.hero-media {
  height: 64vw; min-height: 230px;
  background: url('background.jpg') center top / cover no-repeat;
}

.hero-panel { background: var(--paper); position: relative; }
.hero-content { padding: 26px 0 54px; }

.hero-eyebrow {
  font-family: 'Quicksand', sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 6vw, 2.2rem); color: var(--blue); line-height: 1.2;
  margin-bottom: 12px;
}
.hero-sub { color: var(--ink-soft); max-width: 480px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-socials { display: flex; gap: 14px; }
.hero-socials a, .footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--blue-deep);
  box-shadow: 0 4px 14px rgba(61, 79, 92, 0.12);
  border: 1px solid var(--line);
  transition: background 0.2s, transform 0.15s, color 0.2s;
}
.hero-socials a:hover, .footer-socials a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.hero-socials svg, .footer-socials svg { width: 19px; height: 19px; }

/* Torn / watercolor edges */
.torn { position: absolute; left: 0; right: 0; line-height: 0; pointer-events: none; }
.torn svg { display: block; width: 100%; height: 64px; }
.torn-main { fill: var(--paper); }
.torn-echo { fill: var(--paper); opacity: 0.45; }

/* On mobile the hero torn edge overlaps the bottom of the image, in flow */
.hero .torn-hero { position: relative; }
.hero .torn-hero svg { margin-top: -63px; }

/* ---------- Chapters ---------- */
.chapter { position: relative; padding: 72px 0; overflow: hidden; }
.chapter-head { max-width: 560px; margin-bottom: 40px; }
.chapter-head p { color: var(--ink-soft); margin-top: 12px; }
.chapter-eyebrow {
  font-family: 'Quicksand', sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 0.75rem; color: var(--ink-soft); margin-bottom: 6px;
}

/* Soft watercolor blobs on section edges */
.blob-right::before, .blob-left::before, .contact-chapter::before {
  content: ""; position: absolute; top: 12%; width: 46vw; height: 60vw;
  max-width: 520px; max-height: 640px;
  background:
    radial-gradient(closest-side at 40% 35%, var(--blue-wash), transparent 78%),
    radial-gradient(closest-side at 65% 70%, var(--sand-wash), transparent 75%);
  filter: blur(4px); z-index: 0;
}
.blob-right::before { right: -18vw; }
.blob-left::before { left: -18vw; }
.contact-chapter::before { left: -22vw; top: 30%; }
.chapter > .container { position: relative; z-index: 1; }

/* Split layout (stacks on mobile) */
.split { display: grid; gap: 44px; align-items: center; }
.split-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.split-copy h2 { margin-bottom: 16px; }

.stat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-size: 0.85rem; font-weight: 600; box-shadow: 0 3px 10px rgba(61,79,92,0.07);
}

/* ---------- River map ---------- */
.river-map { display: block; width: min(360px, 88%); margin-inline: auto; height: auto; }
.map-water-label { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; fill: #4c93a8; }
.river-band { fill: none; stroke: #bfe3ee; stroke-width: 16; stroke-linecap: round; opacity: 0.75; }
.river-dots { fill: none; stroke: #5fb9d6; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0.1 9; }
.map-point circle:first-of-type { fill: none; stroke: #8a9aa6; stroke-width: 2; }
.map-point circle:last-of-type { fill: #8a9aa6; }
.map-point line { stroke: #c3ccd3; stroke-width: 1.5; }
.map-point text { font-family: 'Nunito Sans', sans-serif; font-weight: 700; font-size: 13.5px; fill: var(--ink); }
.map-pill rect { fill: #fff; stroke: var(--line); }
.map-pill text { font-family: 'Nunito Sans', sans-serif; font-weight: 700; font-size: 11.5px; fill: var(--ink-soft); }
.map-city { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; fill: #b6bec5; }

/* ---------- Photo bands (placeholders until real photos) ---------- */
.photo-band { position: relative; }
.photo-band .torn-top { top: 0; }
.photo-band .torn-top svg { transform: rotate(180deg); }
.photo-band .torn-bottom { bottom: 0; }

.ph-inner {
  min-height: 46vw; max-height: 420px; padding: 90px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(51, 169, 207, 0.35), transparent 60%),
    radial-gradient(ellipse at 75% 70%, rgba(31, 127, 163, 0.4), transparent 60%),
    linear-gradient(160deg, #7fc4da, #3a8dab 55%, #2b6f8c);
}
.band-alt .ph-inner {
  background:
    radial-gradient(ellipse at 70% 25%, rgba(217, 185, 138, 0.5), transparent 60%),
    radial-gradient(ellipse at 25% 75%, rgba(51, 169, 207, 0.3), transparent 60%),
    linear-gradient(160deg, #9ec9d8, #6aa3b8 55%, #4d8299);
}
.ph-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-icon { font-size: 2rem; opacity: 0.9; }
.ph-label {
  text-align: center; color: rgba(255,255,255,0.95);
  font-family: 'Quicksand', sans-serif; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.85rem;
}
.ph-label small { display: block; text-transform: none; letter-spacing: 0; font-family: 'Nunito Sans', sans-serif; font-weight: 400; font-size: 0.8rem; opacity: 0.85; margin-top: 4px; }

/* ---------- Fish cards ---------- */
.fish-grid { display: grid; gap: 22px; }
.fish-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 10px 30px rgba(61, 79, 92, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fish-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(61, 79, 92, 0.12); }
.fish-card h3 { margin-bottom: 2px; }
.card-meta { font-style: italic; color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 14px; }
.fish-card ul { list-style: none; }
.fish-card ul li { padding: 8px 0; border-top: 1px solid var(--paper-deep); font-size: 0.92rem; color: var(--ink-soft); }
.fish-card ul li strong { color: var(--ink); }
.fish-card ul li:first-child { border-top: 0; }

.species-img {
  background: linear-gradient(180deg, #e7f3f7, #d3e9f0);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 10px; margin-bottom: 18px;
}
.species-img .fish { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(61, 79, 92, 0.18)); }
.species-img img { display: block; width: 100%; border-radius: 8px; }

.fish-badge {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-family: 'Nunito Sans', sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
}
.badge-stocked { background: var(--blue-wash); border: 1px solid rgba(51, 169, 207, 0.45); color: var(--blue-deep); }
.badge-wild { background: var(--sand-wash); border: 1px solid rgba(190, 150, 90, 0.5); color: #9a7434; }

/* ---------- Gear ---------- */
.gear-list { max-width: 720px; display: grid; gap: 12px; }
.gear-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: 0 6px 20px rgba(61, 79, 92, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gear-item:hover { transform: translateX(4px); box-shadow: 0 10px 26px rgba(61, 79, 92, 0.1); }
.gear-icon {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; font-size: 1.35rem; border-radius: 14px;
  background: var(--blue-wash); border: 1px solid rgba(51, 169, 207, 0.3);
}
.gear-item p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 3px; }

/* ---------- License steps ---------- */
.license-grid { display: grid; gap: 18px; }
.license-step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  box-shadow: 0 8px 24px rgba(61, 79, 92, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.license-step:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(61, 79, 92, 0.1); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 12px;
  font-family: 'Quicksand', sans-serif; font-size: 1.25rem; font-weight: 700;
  background: var(--blue-wash); border: 2px solid var(--blue); color: var(--blue-deep);
}
.license-step h3 { margin-bottom: 8px; }
.license-step p { color: var(--ink-soft); font-size: 0.92rem; }
.license-cta { text-align: center; margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 760px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 18px rgba(61, 79, 92, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: rgba(51, 169, 207, 0.5); box-shadow: 0 10px 26px rgba(61, 79, 92, 0.09); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; padding: 17px 20px;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--blue); color: var(--blue);
  font-family: 'Nunito Sans', sans-serif; font-weight: 600; font-size: 1rem;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.95rem; }
.faq-item p a { color: var(--blue-deep); font-weight: 600; }

/* ---------- App chapter ---------- */
.app-chapter {
  background:
    radial-gradient(ellipse at 12% 30%, var(--blue-wash), transparent 55%),
    radial-gradient(ellipse at 88% 75%, var(--sand-wash), transparent 55%),
    var(--paper-deep);
}
.app-features { list-style: none; margin: 0 0 22px; display: grid; gap: 9px; }
.app-features li {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; font-size: 0.92rem; color: var(--ink);
  box-shadow: 0 4px 12px rgba(61, 79, 92, 0.05);
}
.app-features li span { flex: 0 0 auto; }

.waitlist-form { display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.waitlist-form input[type="email"] {
  padding: 13px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  color: var(--ink); font: inherit; font-size: 0.95rem;
}
.waitlist-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

/* Phone mockup */
.app-visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: 235px; border-radius: 34px;
  background: #fff; border: 3px solid #dfd7c9;
  padding: 14px 12px; box-shadow: 0 28px 60px rgba(61, 79, 92, 0.18);
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 8px; border-radius: 999px; background: #e9e2d6;
}
.phone-screen {
  border-radius: 22px; background: linear-gradient(180deg, #eaf5f9, #dcedf3);
  padding: 30px 16px 20px; text-align: center;
}
.phone-logo { font-size: 2rem; }
.phone-appname {
  font-family: 'Quicksand', sans-serif; font-weight: 700;
  font-size: 0.9rem; margin: 4px 0 16px; color: var(--blue-deep);
}
.phone-row {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 12px; margin-bottom: 8px;
  box-shadow: 0 3px 8px rgba(61, 79, 92, 0.05);
}
.phone-ico { font-size: 1.05rem; }
.phone-row b { display: block; font-size: 0.85rem; line-height: 1.25; color: var(--ink); }
.phone-row small { color: var(--ink-soft); font-size: 0.68rem; }

/* ---------- Contact ---------- */
.contact-inner { max-width: 680px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field label {
  font-family: 'Quicksand', sans-serif; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; color: var(--ink-soft);
}
.form-field input, .form-field textarea {
  padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card);
  color: var(--ink); font: inherit; font-size: 0.95rem; resize: vertical;
  box-shadow: 0 3px 10px rgba(61, 79, 92, 0.04) inset;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: #34434f; padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.site-footer .brand { color: #fff; text-shadow: none; }
.footer-socials a { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: #fff; box-shadow: none; }
.footer-socials a:hover { background: var(--blue); }
.footer-note { color: #9fb0bc; font-size: 0.85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .waitlist-form { flex-direction: row; }
  .waitlist-form input[type="email"] { flex: 1; min-width: 0; }
  .fish-grid { grid-template-columns: 1fr 1fr; }
  .license-grid { grid-template-columns: repeat(3, 1fr); }
  .torn svg { height: 84px; }
  .hero .torn-hero svg { margin-top: -83px; }
}

@media (min-width: 900px) {
  /* Desktop hero: full-bleed image with white text overlaid */
  .hero-media { height: auto; position: absolute; inset: 0; background-position: center 38%; }
  .hero { min-height: 92vh; display: flex; align-items: flex-end; }
  .hero-panel { background: transparent; width: 100%; }
  .hero-content { padding: 140px 0 120px; max-width: 460px; }
  .hero-eyebrow { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45); }
  .hero-sub { color: rgba(255, 255, 255, 0.94); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
  .hero .dash { background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,0.3); }
  .hero .torn-hero { position: absolute; bottom: -1px; left: 0; right: 0; }
  .hero .torn-hero svg { margin-top: 0; height: 110px; }
  .hero-panel { position: relative; z-index: 1; }

  .nav-toggle { display: none; }
  .nav-links {
    position: static; transform: none; flex-direction: row; gap: 4px;
    width: auto; background: transparent; border: 0; box-shadow: none; padding: 0;
    backdrop-filter: none;
  }
  .nav-links a {
    padding: 8px 12px; font-size: 0.9rem; color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4); transition: color 0.2s;
  }
  .site-header.scrolled .nav-links a { color: var(--ink); text-shadow: none; }
  .nav-links a:hover { color: var(--blue) !important; }

  .chapter { padding: 100px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 60px; }
  .app-chapter .split { grid-template-columns: 1.3fr 1fr; }
  .gear-list { margin-inline: 0; }
  .ph-inner { min-height: 380px; }
}
