/* Shared look for the site's inner pages (fish almanac, 404). The landing page inlines its own. */

/* Self-hosted fonts (/fonts, OFL): variable files, so one per subset covers every weight. */
@font-face { font-family: Cinzel; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/cinzel-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Cinzel; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/cinzel-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --night: #081630; --deep: #0d2140; --tide: #21436f;
  --ink: #e6f1ff; --muted: rgba(207, 234, 255, 0.68); --faint: rgba(207, 234, 255, 0.12);
  --glow: #9fd0ff; --moon: #f6dc8c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink); background: var(--night);
  background-image: radial-gradient(ellipse at 50% -10%, var(--tide) 0%, var(--deep) 35%, var(--night) 75%);
  background-repeat: no-repeat; min-height: 100vh;
  font: 400 16px/1.65 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--glow); }
h1, h2, h3 { font-family: Cinzel, Georgia, serif; font-weight: 500; letter-spacing: 0.05em; margin: 0; line-height: 1.2; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
main { padding: 56px 0 96px; }

/* nav */
body > nav { position: sticky; top: 0; z-index: 20; padding: 14px 0; background: rgba(8, 22, 48, 0.72); backdrop-filter: blur(12px); border-bottom: 1px solid var(--faint); }
body > nav .wrap { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: Cinzel, serif; letter-spacing: 0.14em; font-size: 15px; }
.brand img { width: 30px; height: 30px; }
body > nav ul { display: flex; gap: 26px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 14px; }
body > nav ul a { text-decoration: none; color: var(--muted); transition: color 0.3s; }
body > nav ul a:hover, body > nav ul a[aria-current] { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}
.btn.primary { background: linear-gradient(180deg, #e9f5ff, #a9d2ff); color: #0b1d3a; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(159, 208, 255, 0.35); }
.btn.ghost { color: var(--ink); border: 1px solid var(--faint); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.06); }
body > nav .btn { padding: 9px 20px; font-size: 14px; }

/* page header */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: '›'; margin-right: 8px; opacity: 0.6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--glow); margin-bottom: 12px; }
h1 { font-size: clamp(32px, 6vw, 56px); }
.lede { color: var(--muted); max-width: 640px; font-size: 17px; margin: 16px 0 0; }
.quote { font-style: italic; font-size: 19px; color: var(--ink); margin: 18px 0 0; }
.lv { color: var(--moon); letter-spacing: 2px; white-space: nowrap; }

/* fish pictures sit on a soft moonlit glow, so dark fish still read on the night background */
.pic { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; background: radial-gradient(ellipse 60% 55% at 50% 52%, rgba(159, 208, 255, 0.22), rgba(159, 208, 255, 0) 100%); }

/* fish page */
.fish-hero { display: grid; gap: 24px; align-items: center; }
.fish-hero .pic { max-width: 520px; justify-self: center; }
@media (min-width: 760px) { .fish-hero { grid-template-columns: 1fr minmax(0, 520px); } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 40px 0 0; }
.stat { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--faint); background: rgba(13, 33, 64, 0.55); }
.stat dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--glow); margin-bottom: 6px; }
.stat dd { margin: 0; font-size: 16px; }
.stat dd small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.prose { max-width: 680px; margin-top: 56px; }
.prose h2 { font-size: clamp(22px, 3.4vw, 30px); margin-bottom: 14px; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--ink); font-weight: 600; }
section.more { margin-top: 64px; }
section.more h2 { font-size: clamp(20px, 3vw, 26px); margin-bottom: 18px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--faint); font-size: 14px; }
.pager a { text-decoration: none; }

/* fish cards (almanac index and "also out" lists) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.cards a {
  display: block; height: 100%; padding: 16px 18px; border-radius: 14px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--faint); background: rgba(13, 33, 64, 0.55); transition: border-color 0.3s, transform 0.3s var(--ease);
}
.cards a:hover { border-color: rgba(159, 208, 255, 0.4); transform: translateY(-2px); }
.cards .pic { margin: -4px 0 10px; transition: transform 0.5s var(--ease); }
.cards a:hover .pic { transform: scale(1.05) rotate(-2deg); }
.cards .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cards strong { font-family: Cinzel, Georgia, serif; font-weight: 500; letter-spacing: 0.04em; }
.cards .lv { font-size: 11px; }
.cards span.when { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.tier-group { margin-top: 56px; }
.tier-group h2 { font-size: clamp(22px, 3.4vw, 30px); margin-bottom: 6px; }
.tier-group > p { color: var(--muted); margin: 0 0 20px; }

footer { border-top: 1px solid var(--faint); padding: 28px 0; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 640px) {
  body > nav ul { display: none; }
  body > nav .btn { margin-left: auto; }
}
