/*
  style.css - Tactical Angler static site, the one shared stylesheet.
  Created 2026-10-07 - Last modified 2026-10-07
  Tokens lifted from ops/infographics/species_file.html + sounder_school.html (the cards' web sibling).
  Dark theme is native. Mobile-first: base styles are phone, min-width queries scale up.
  TODO(cody): League Spartan is NOT bundled (no .woff2 found in his repos, nothing downloaded).
  To self-host later: drop LeagueSpartan.woff2 into assets/fonts/ and uncomment the @font-face below.
*/

/*
@font-face {
  font-family: "League Spartan";
  src: url("fonts/LeagueSpartan.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
*/

:root {
  /* palette (from the cards) */
  --ink: #0a0d12;
  --abyss: #03060a;
  --deep: #070d15;
  --navy: #12283f;
  --navy-deep: #062036;
  --azure: #007df8;
  --azure-deep: #006be0;
  --azure-bright: #2a9bff;
  --azure-soft: #4aa8ff;
  --cyan: #37e0ff;
  --amber: #ffb23e;
  --white: #ffffff;
  --text: #d3dde8;
  --muted: #9fb0c2;
  --muted-2: #6f8aa3;
  --gray: #5d5b5d;
  --on-azure: #00121f;
  --line: rgba(0, 125, 248, 0.32);
  --line-soft: rgba(0, 125, 248, 0.18);
  --panel: rgba(10, 16, 24, 0.86);
  --amber-wash: rgba(255, 178, 62, 0.07);

  /* type */
  --font-display: "League Spartan", "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* layout */
  --gutter: 16px;
  --maxw: 1080px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(130% 58% at 50% -6%, var(--navy) 0%, var(--deep) 52%, var(--abyss) 100%), var(--ink);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azure-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
main { flex: 1; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--azure); color: var(--on-azure); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* type */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--white);
}
h1 { font-size: clamp(2rem, 8vw, 3.6rem); }
h2 { font-size: clamp(1.35rem, 5vw, 2rem); margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; letter-spacing: 0.06em; margin-bottom: 0.4em; }
h1 i, h2 i { font-style: normal; color: var(--azure); }
p + p { margin-top: 0.9em; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azure-soft);
  margin-bottom: 0.7em;
}
.lede { font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.section { padding: 40px 0; }
.page-head { padding: 36px 0 12px; border-bottom: 3px solid var(--azure); margin-bottom: 8px; }
.page-head .lede { margin-top: 14px; }

/* header + nav */
.site-header { border-bottom: 3px solid var(--azure); background: rgba(3, 6, 10, 0.7); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--font-display); font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; font-size: 1rem; line-height: 1; }
.brand span i { font-style: normal; color: var(--azure); }
.nav-toggle {
  background: none; border: 2px solid var(--line); color: var(--white); border-radius: 8px;
  font: 800 0.85rem var(--font-display); letter-spacing: 0.15em; text-transform: uppercase; padding: 8px 14px; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--azure); }
.nav { display: none; width: 100%; padding-bottom: 14px; }
.nav.open { display: block; }
.site-header .wrap { flex-wrap: wrap; }
.nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav a {
  display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.9rem;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(0, 125, 248, 0.18); color: var(--white); }

/* buttons + tags */
.btn {
  display: inline-block; background: var(--azure); color: var(--on-azure); text-decoration: none;
  font-family: var(--font-display); font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.95rem;
  padding: 13px 22px 12px; border-radius: 8px; border: 2px solid var(--azure); cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--azure-bright); border-color: var(--azure-bright); color: var(--on-azure); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--azure); color: var(--white); }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
.tag {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  border: 2px solid rgba(55, 224, 255, 0.6); background: rgba(0, 60, 100, 0.35); color: var(--cyan); padding: 4px 12px 3px; border-radius: 999px;
}
.tag.warn { border-color: var(--amber); background: var(--amber-wash); color: var(--amber); }

/* hero */
.hero { padding: 44px 0 36px; text-align: center; }
.hero img { width: 150px; height: 150px; margin: 0 auto 18px; }
.hero h1 { margin-bottom: 14px; }
.hero .mission { max-width: 34em; margin: 0 auto 22px; font-size: 1.1rem; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* cards + grids */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
  position: relative; display: block; border-radius: var(--radius); padding: 22px 22px 20px;
  background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none;
}
a.card:hover, a.card:focus-visible { border-color: var(--azure); box-shadow: 0 0 30px rgba(0, 125, 248, 0.18); color: var(--text); }
.card h3 { color: var(--white); }
.card .eyebrow { margin-bottom: 0.4em; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .go { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; color: var(--azure-soft); }
.card.placeholder { border-style: dashed; }
.ph-img {
  height: 140px; border-radius: 10px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--line); background: linear-gradient(135deg, rgba(0, 40, 90, 0.5), rgba(6, 12, 20, 0.9));
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.75rem; color: var(--muted-2);
}
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.strip .ph-img { height: 220px; margin: 0; }

/* lists */
.checks { list-style: none; }
.checks li { position: relative; padding-left: 36px; margin-bottom: 12px; color: var(--text); }
.checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; line-height: 24px; text-align: center;
  border-radius: 6px; background: rgba(0, 125, 248, 0.22); color: var(--cyan); font-weight: 700; font-size: 0.9rem;
}
.entry { display: flex; flex-direction: column; gap: 6px; }

/* notices */
.notice { border-radius: 8px; padding: 12px 16px; background: var(--amber-wash); border-left: 4px solid var(--amber); color: var(--text); font-size: 0.95rem; }
.notice strong { color: var(--amber); font-family: var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; margin-right: 6px; }
.draft { margin: 18px 0; }
.crisis { border-radius: var(--radius); padding: 22px; background: linear-gradient(135deg, rgba(0, 40, 90, 0.75), rgba(6, 12, 20, 0.9)); border: 2px solid var(--cyan); box-shadow: 0 0 30px rgba(55, 224, 255, 0.18); }
.crisis ul { list-style: none; margin-top: 10px; }
.crisis li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.crisis li:first-child { border-top: 0; }
.crisis .org { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.crisis .num { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--cyan); text-decoration: none; }

/* footer */
.site-footer { border-top: 3px solid var(--azure); background: rgba(3, 6, 10, 0.8); padding: 30px 0 24px; margin-top: 40px; font-size: 0.9rem; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1fr; gap: 22px; }
.site-footer h3 { font-size: 0.85rem; letter-spacing: 0.2em; color: var(--azure-soft); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--text); }
.site-footer .fine { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 0.8rem; color: var(--muted-2); }

/* wider screens */
@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .nav-toggle { display: none; }
  .nav, .nav.open { display: block; width: auto; padding-bottom: 0; }
  .nav ul { flex-direction: row; gap: 2px; }
  .nav a { padding: 8px 12px; font-size: 0.8rem; }
  .brand span { font-size: 1.1rem; }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; }
  .hero { padding: 72px 0 56px; }
  .hero img { width: 190px; height: 190px; }
}
@media (min-width: 1000px) {
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* S113 2026-10-11: pull quote per TA style (azure, italic, left border) */
.pullquote{margin:1.6rem 0;padding:.4rem 0 .4rem 1.1rem;border-left:4px solid #007DF8;color:#007DF8;font-style:italic;font-size:1.15rem;line-height:1.55}

/* 2026-10-18 session 2: signup band, shop, app shots, cheat-sheet, test banner */
.signup { padding: 36px 0 8px; }
.signup-card { display: grid; gap: 18px; border-radius: var(--radius); padding: 24px 22px; background: linear-gradient(135deg, rgba(0, 60, 120, 0.55), rgba(6, 12, 20, 0.92)); border: 2px solid var(--azure); box-shadow: 0 0 30px rgba(0, 125, 248, 0.16); }
.signup-card p { color: var(--muted); }
.signup-form { display: grid; gap: 10px; align-content: center; }
.signup-form input[type=email], .signup-form input[type=text] { width: 100%; font: inherit; color: var(--white); background: rgba(3, 6, 10, 0.7); border: 2px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.signup-form input:focus { border-color: var(--cyan); outline: none; }
.signup-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-form .fine { font-size: 0.8rem; color: var(--muted-2); }
.signup-msg { min-height: 1.2em; font-size: 0.9rem; color: var(--amber); }
.price { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--white); letter-spacing: 0.02em; }
.price small { font-size: 0.9rem; color: var(--muted); letter-spacing: 0.1em; margin-left: 6px; }
.product { display: grid; gap: 22px; align-items: start; }
.product .cover { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.product ul.checks li { font-size: 0.97rem; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 18px 0 8px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.gallery img { border-radius: 10px; border: 1px solid var(--line-soft); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.shots img { border-radius: 16px; border: 1px solid var(--line); }
.test-banner { background: var(--amber); color: #1a1000; text-align: center; font: 800 0.8rem var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; padding: 8px var(--gutter); }
.sheet { border-radius: var(--radius); background: var(--panel); border: 2px solid var(--azure); padding: 22px; }
.sheet h3 { color: var(--cyan); margin-top: 16px; }
.sheet h3:first-of-type { margin-top: 0; }
.sheet .rule { font-weight: 700; color: var(--white); }
@media (min-width: 720px) {
  .signup-card { grid-template-columns: 1.2fr 1fr; padding: 30px; }
  .product { grid-template-columns: 1fr 1.25fr; }
  .shots { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sheet .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
}
@media print {
  .site-header, .site-footer, .signup, .no-print, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .sheet { border: 2px solid #007df8; background: #fff; color: #000; box-shadow: none; }
  .sheet h3, .sheet .rule, h1, h2 { color: #000; }
  h1 i, h2 i { color: #007df8; }
}
