/* Flyontic -- silvery / blue-green rainbow-trout palette */

:root {
  --brand-dark: #0a1e21;
  --brand-dark-alt: #123138;
  --brand-deepest: #050e10;
  --brand-text-primary: #f3fbfa;
  --brand-support-grey: #b7c8cc;
  --brand-white: #ffffff;
  --brand-accent-teal: #22d9bf;
  --brand-accent-teal-hover: #63ffe4;
  --brand-accent-steel: #4f9fe6;
  --brand-accent-rose: #ef6f92;
  --brand-accent-silver: #dcebef;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--brand-text-primary);
  background: var(--brand-dark);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 30, 33, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--brand-text-primary);
  text-decoration: none;
}

.brand span.brand-tagline {
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.78rem;
  color: var(--brand-support-grey);
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--brand-text-primary);
  text-decoration: none;
  opacity: 0.8;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  border-bottom-color: var(--brand-accent-teal);
}

/* Hero */

.hero {
  position: relative;
  text-align: center;
  padding: 120px 20px 90px;
  background:
    radial-gradient(circle at 30% -10%,
      rgba(239, 111, 146, 0.16), transparent 45%),
    radial-gradient(circle at top,
      #1c525c 0, var(--brand-dark) 55%, var(--brand-deepest) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    repeating-radial-gradient(circle at 20% 30%,
      rgba(79, 159, 230, 0.16) 0 2px, transparent 3px 42px),
    repeating-radial-gradient(circle at 75% 60%,
      rgba(34, 217, 191, 0.16) 0 2px, transparent 3px 46px);
}

.hero-fish {
  position: absolute;
  top: 52%;
  left: 50%;
  z-index: 1;
  width: min(680px, 92%);
  transform: translate(-50%, -48%);
  opacity: 0.6;
  pointer-events: none;
  filter: invert(1) sepia(1) saturate(6) hue-rotate(140deg)
    brightness(1.25) blur(0.4px);
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.hero-kicker {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand-accent-teal-hover);
  text-shadow: 0 0 18px rgba(34, 217, 191, 0.55);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--brand-white);
  text-shadow: 0 2px 20px rgba(5, 14, 16, 0.85);
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 32px;
  color: var(--brand-text-primary);
  text-shadow: 0 2px 16px rgba(5, 14, 16, 0.9);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--brand-support-grey);
}

/* Sub-page header (same motif as .hero, no fish/texture) */

.page-header {
  position: relative;
  text-align: center;
  padding: 76px 20px 54px;
  background:
    radial-gradient(circle at 30% -10%,
      rgba(239, 111, 146, 0.16), transparent 45%),
    radial-gradient(circle at top,
      #1c525c 0, var(--brand-dark) 55%, var(--brand-deepest) 100%);
}

.page-header-inner {
  max-width: 720px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--brand-white);
}

.page-header .section-lead {
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--brand-support-grey);
  text-decoration: none;
  margin-bottom: 20px;
}

.breadcrumb-back:hover {
  color: var(--brand-accent-teal-hover);
  text-decoration: none;
}

/* Article body (long-form detail pages) */

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body p {
  font-size: 1rem;
  line-height: 1.75;
}

.article-figure {
  margin: 28px 0;
  text-align: center;
}

.article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--brand-support-grey);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease;
}

.btn-primary {
  color: var(--brand-deepest);
  background: linear-gradient(120deg,
    var(--brand-accent-teal), var(--brand-accent-steel));
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4),
    0 16px 30px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(120deg,
    var(--brand-accent-teal-hover), var(--brand-accent-steel));
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5),
    0 20px 36px rgba(0, 0, 0, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.6);
}

/* Sections */

.section {
  padding: 76px 20px;
  background: var(--brand-deepest);
}

.section-alt {
  background: var(--brand-dark-alt);
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.section-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-accent-steel);
  margin-bottom: 8px;
}

.section h2 {
  font-size: 1.75rem;
  margin: 0 0 10px;
  color: var(--brand-white);
}

.section-lead {
  font-size: 0.98rem;
  color: var(--brand-support-grey);
  margin: 0;
}

/* Layout helpers */

.columns-2 {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.columns-2 > div p {
  margin-top: 0;
}

.cards-3,
.cards-2 {
  display: grid;
  gap: 24px;
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--brand-white);
}

.card p,
.card li {
  font-size: 0.94rem;
  color: var(--brand-text-primary);
}

/* Typography & lists */

p {
  margin: 0 0 0.75rem;
}

ul,
ol {
  margin: 0 0 0.85rem 1.2rem;
  padding: 0;
}

li + li {
  margin-top: 0.25rem;
}

.callout-block {
  border-radius: 8px;
  padding: 16px 18px;
  background: radial-gradient(circle at top left,
    rgba(34, 217, 191, 0.24), rgba(10, 30, 33, 0.88));
  border: 1px solid rgba(34, 217, 191, 0.55);
  font-size: 0.95rem;
}

.callout-block strong {
  color: var(--brand-white);
}

.callout-block.is-quiet {
  background: radial-gradient(circle at top left,
    rgba(239, 111, 146, 0.2), rgba(10, 30, 33, 0.88));
  border-color: rgba(239, 111, 146, 0.5);
}

/* rainbow-trout flourish, echoing the lateral stripe */
.section-header::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    var(--brand-accent-teal), var(--brand-accent-steel),
    var(--brand-accent-rose));
}

/* Reviews */

.review-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.review-subnav a {
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--brand-support-grey);
  text-decoration: none;
}

.review-subnav a:hover {
  color: var(--brand-white);
  border-color: var(--brand-accent-teal);
  text-decoration: none;
}

.review-group {
  margin-bottom: 56px;
}

.review-group:last-child {
  margin-bottom: 0;
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.review-card-head h3 {
  margin: 0;
}

.review-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.review-tag--good {
  color: #063229;
  background: var(--brand-accent-teal);
}

.review-tag--neutral {
  color: #04202f;
  background: var(--brand-accent-steel);
}

.review-tag--caution {
  color: #330018;
  background: var(--brand-accent-rose);
}

/* Footer */

.site-footer {
  padding: 1.5rem 1rem;
  background: var(--brand-deepest);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.site-footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: block;
}

.site-footer p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.5rem;
}

.footer-nav a {
  color: var(--brand-support-grey);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--brand-accent-teal);
}

a {
  color: var(--brand-accent-teal-hover);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.email-obf {
  cursor: pointer;
}


/* Journal */

.card-meta {
  font-size: 0.82rem;
  color: var(--brand-support-grey);
  margin: -4px 0 10px;
}

.recipe-table {
  width: 100%;
  border-collapse: collapse;
}

.recipe-table td {
  padding: 8px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.recipe-table tr:last-child td {
  border-bottom: none;
}

.recipe-table td:first-child {
  width: 110px;
  font-weight: 600;
  color: var(--brand-accent-steel);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* Responsive tweaks */

@media (max-width: 720px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .columns-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 100px;
  }
}
