/* ============================================================
   Two Rivers Fisheries — fresh American portfolio
   Company colors woven subtly: white ground, deep river blue
   as the working accent, red reserved for small brand moments.
   ============================================================ */

:root {
  --paper: #f7f8fa;        /* page ground */
  --paper-2: #edf1f5;      /* alternate sections */
  --card: #ffffff;         /* cards */
  --line: rgba(23, 43, 66, 0.12);
  --ink-text: #1c2b3a;     /* primary text */
  --slate: #52657a;        /* secondary text */
  --blue: #1f5e9e;         /* river blue — primary accent */
  --blue-deep: #16385c;    /* navy — dark bands */
  --blue-soft: #9cc3ea;    /* sky blue — accents on dark */
  --red: #c0392f;          /* brand red — small moments only */
  --red-bright: #d64541;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section { padding: clamp(80px, 10vw, 140px) 0; }

/* ---------- typography helpers ---------- */

.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.section__eyebrow--center { text-align: center; }

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--blue-deep);
}

.section__title--center { text-align: center; }

.section__lead {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
  color: var(--slate);
  font-size: 1.08rem;
}

.section__lead--left { margin: 0 0 48px; text-align: left; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--solid {
  background: var(--blue);
  color: #ffffff;
}

.btn--solid:hover {
  background: #2a70b8;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(31, 94, 158, 0.3);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.btn--ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn--light {
  background: #ffffff;
  color: var(--blue-deep);
}

.btn--light:hover {
  background: var(--blue-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAV — light text over the hero, white glass once scrolled
   ============================================================ */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand { display: flex; align-items: center; gap: 12px; }

.nav__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--red-bright);
  color: var(--red-bright);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav__name {
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #ffffff;
  transition: color 0.35s ease;
}

.nav__name em { font-style: italic; color: var(--blue-soft); transition: color 0.35s ease; }

.nav.is-scrolled .nav__name { color: var(--blue-deep); }
.nav.is-scrolled .nav__name em { color: var(--blue); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav__links a:not(.nav__cta) {
  position: relative;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s ease;
}

.nav__links a:not(.nav__cta):hover { color: #ffffff; }

.nav.is-scrolled .nav__links a:not(.nav__cta) { color: var(--slate); }
.nav.is-scrolled .nav__links a:not(.nav__cta):hover { color: var(--blue-deep); }

.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--red-bright);
  transition: width 0.3s ease;
}

.nav__links a:not(.nav__cta):hover::after { width: 100%; }

.nav__cta {
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav__cta:hover { background: #2a70b8; transform: translateY(-1px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.35s ease;
}

.nav.is-scrolled .nav__toggle span { background: var(--blue-deep); }

.nav__toggle.is-open span { background: var(--blue-deep); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — photographic, fading into the light page below
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero__bg { position: absolute; inset: 0; overflow: hidden; }

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroDrift 22s ease-out both;
}

@keyframes heroDrift {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(13, 24, 36, 0.9) 0%, rgba(13, 24, 36, 0.68) 42%, rgba(13, 24, 36, 0.28) 75%, rgba(13, 24, 36, 0.42) 100%),
    linear-gradient(to top, var(--paper) 0%, rgba(247, 248, 250, 0) 16%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 48px) 100px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 26px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  max-width: 15ch;
  color: #ffffff;
}

.hero__title span { font-style: italic; color: var(--blue-soft); }

.hero__sub {
  max-width: 560px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero__badges li { display: flex; align-items: center; gap: 9px; }

.hero__badges li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-bright);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(28, 43, 58, 0.4);
  border-radius: 14px;
  z-index: 1;
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--red-bright);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
}

/* ============================================================
   STATS
   ============================================================ */

.stats {
  border-block: 1px solid var(--line);
  background: var(--card);
  padding: clamp(48px, 6vw, 72px) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat { text-align: center; }

.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  display: block;
  max-width: 24ch;
  margin: 0 auto;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.5;
}

/* ============================================================
   STORY
   ============================================================ */

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(70px, 8vw, 110px);
}

.story__text p:not(.section__eyebrow) {
  color: var(--slate);
  margin-bottom: 20px;
}

.story__text strong, .story__text em { color: var(--ink-text); }

.story__quote {
  margin-top: 34px;
  padding: 28px 32px;
  border-left: 3px solid var(--red);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--blue-deep);
  box-shadow: 0 10px 30px rgba(23, 43, 66, 0.06);
}

.story__quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.story__media {
  display: grid;
  gap: 22px;
}

.story__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(23, 43, 66, 0.14);
}

.story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.story__photo:hover img { transform: scale(1.04); }

.story__photo--tall { aspect-ratio: 4 / 4.6; }
.story__photo:not(.story__photo--tall) { aspect-ratio: 16 / 10; }

.story__photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 20px 14px;
  background: linear-gradient(to top, rgba(13, 24, 36, 0.82), transparent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* timeline */

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  position: relative;
  padding-top: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 8%, var(--line) 92%, transparent);
}

.timeline__item { position: relative; }

.timeline__item::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 5px rgba(214, 69, 65, 0.14);
}

.timeline__year {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.timeline__item p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

.timeline__item strong { color: var(--ink-text); font-weight: 600; }

/* ============================================================
   IMPACT
   ============================================================ */

.impact { background: var(--paper-2); border-block: 1px solid var(--line); }

.impact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: clamp(60px, 7vw, 90px);
}

.impact__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.impact__card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 94, 158, 0.4);
  box-shadow: 0 18px 40px rgba(23, 43, 66, 0.1);
}

.impact__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(31, 94, 158, 0.1);
  color: var(--blue);
  margin-bottom: 24px;
}

.impact__icon svg { width: 26px; height: 26px; }

.impact__card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--blue-deep);
}

.impact__card p { font-size: 0.95rem; color: var(--slate); }

/* government band — the deepest blue moment on the page */

.gov {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, #16385c, #1d4a77);
  border: 1px solid rgba(31, 94, 158, 0.5);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(32px, 5vw, 60px);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(22, 56, 92, 0.25);
}

.gov__text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 16px;
  color: #ffffff;
}

.gov__text > p { color: rgba(255, 255, 255, 0.78); margin-bottom: 22px; }

.gov__list {
  list-style: none;
  margin-bottom: 30px;
  display: grid;
  gap: 12px;
}

.gov__list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.gov__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-soft);
  font-weight: 700;
}

.gov__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}

.gov__photo img { width: 100%; height: 100%; object-fit: cover; }

.gov__photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 20px 14px;
  background: linear-gradient(to top, rgba(13, 24, 36, 0.82), transparent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   PRODUCTS
   ============================================================ */

.products .section__lead { margin-bottom: 40px; }

/* interactive carp anatomy diagram */

.anatomy {
  max-width: 920px;
  margin: 0 auto clamp(48px, 6vw, 70px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(20px, 4vw, 44px) clamp(16px, 3vw, 36px) clamp(18px, 3vw, 28px);
  box-shadow: 0 16px 44px rgba(23, 43, 66, 0.08);
}

.carp-svg { display: block; width: 100%; height: auto; }

.carp-fins path {
  fill: #c3d6e7;
  stroke: rgba(22, 56, 92, 0.28);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: opacity 0.3s ease;
}

.carp-part { cursor: pointer; outline: none; transition: opacity 0.3s ease; }

.carp-shape {
  stroke: rgba(22, 56, 92, 0.3);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: filter 0.25s ease, stroke 0.25s ease, stroke-width 0.25s ease;
}

.part-head .carp-shape { fill: #a8c6e0; }
.part-skin .carp-shape { fill: #6d94b8; }
.part-filet .carp-shape { fill: #eef4f9; }
.part-bones .carp-shape { fill: #f3ecd9; }
.part-bladder .carp-shape { fill: #e5d9bd; }
.part-guts .carp-shape { fill: #d9a89e; }

.carp-detail {
  fill: none;
  stroke: rgba(22, 56, 92, 0.28);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.part-skin .carp-detail { stroke: rgba(255, 255, 255, 0.4); }
.part-bones .carp-detail { stroke: rgba(146, 128, 86, 0.45); }
.part-guts .carp-detail { stroke: rgba(120, 62, 52, 0.3); }

.carp-eye { fill: var(--blue-deep); }
.carp-pupil { fill: #ffffff; }

.carp-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  fill: #52657a;
  pointer-events: none;
  transition: fill 0.25s ease;
}

.part-bones .carp-label, .part-bladder .carp-label, .part-guts .carp-label { font-size: 11px; }

.carp-label--light { fill: rgba(255, 255, 255, 0.92); }

/* hover / focus states — active part pops, the rest recede */

.carp-svg.has-active .carp-part:not(.is-active) { opacity: 0.35; }
.carp-svg.has-active .carp-fins { opacity: 0.3; }

.carp-part.is-active .carp-shape,
.carp-part:focus-visible .carp-shape {
  filter: brightness(1.05);
  stroke: var(--blue);
  stroke-width: 3;
}

.carp-part:focus-visible .carp-shape { stroke: var(--red-bright); }

.carp-part.is-active .carp-label { fill: var(--blue-deep); }
.carp-part.is-active .carp-label--light { fill: #ffffff; }

.anatomy__hint {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--slate);
}

/* carp part modal */

.part-modal[hidden] { display: none; }

.part-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(11, 24, 38, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.part-modal.is-open { opacity: 1; }

.part-modal__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  width: min(780px, 100%);
  background: var(--card);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.part-modal.is-open .part-modal__card { transform: none; }

.part-modal__img { min-height: 300px; }

.part-modal__img img { width: 100%; height: 100%; object-fit: cover; }

.part-modal__body { padding: clamp(28px, 4vw, 44px) clamp(26px, 4vw, 42px); }

.part-modal__eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.part-modal__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.part-modal__desc {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 20px;
}

.part-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(13, 24, 36, 0.45);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease;
}

.part-modal__close:hover { background: rgba(13, 24, 36, 0.75); }

@media (max-width: 640px) {
  .part-modal__card { grid-template-columns: 1fr; }
  .part-modal__img { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  .part-modal, .part-modal__card { transition: none; }
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 94, 158, 0.45);
  box-shadow: 0 22px 48px rgba(23, 43, 66, 0.14);
}

.product--wide { grid-column: span 2; }

.product__img { overflow: hidden; aspect-ratio: 16 / 10; }

.product--wide .product__img { aspect-ratio: 16 / 8.2; flex: 1; min-height: 0; }

.product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product:hover .product__img img { transform: scale(1.05); }

.product__body { padding: 26px 28px 30px; }

.product__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--blue-deep);
}

.product__body p {
  font-size: 0.92rem;
  color: var(--slate);
  margin-bottom: 16px;
}

.product__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(31, 94, 158, 0.35);
  border-radius: 100px;
  padding: 5px 14px;
}

/* ============================================================
   SPECIES
   ============================================================ */

.species { background: var(--paper-2); border-block: 1px solid var(--line); }

.species__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.species__card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.species__card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 94, 158, 0.45);
  box-shadow: 0 14px 34px rgba(23, 43, 66, 0.12);
}

.species__card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.species__card figcaption { padding: 16px 18px 20px; }

.species__card strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.02rem;
  margin-bottom: 3px;
  color: var(--blue-deep);
}

.species__card span {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--slate);
}

/* ============================================================
   RECOGNITION
   ============================================================ */

.recognition__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 56px 0 50px;
}

.award {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.award:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(23, 43, 66, 0.1);
}

.award__year {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.award h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: var(--blue-deep);
}

.award p { font-size: 0.88rem; color: var(--slate); }

.recognition__press {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  color: var(--slate);
  font-size: 0.95rem;
}

.recognition__press span {
  display: inline-block;
  margin: 0 4px;
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--card);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  white-space: nowrap;
}

/* ============================================================
   CONTACT — navy band before the footer
   ============================================================ */

.contact { position: relative; overflow: hidden; color: #ffffff; }

.contact__bg { position: absolute; inset: 0; }

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #122a41 0%, rgba(22, 56, 92, 0.9) 50%, #122a41 100%);
}

.contact__inner { position: relative; z-index: 1; }

.contact__text { max-width: 640px; margin-bottom: 54px; }

.contact__text .section__eyebrow { color: var(--blue-soft); }

.contact__text .section__title { color: #ffffff; }

.contact__text p:last-child { color: rgba(255, 255, 255, 0.8); font-size: 1.05rem; }

.contact__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact__card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.contact__card h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 14px;
}

.contact__card p { color: rgba(255, 255, 255, 0.82); font-size: 1rem; }

.contact__card a {
  color: #ffffff;
  border-bottom: 1px solid rgba(156, 195, 234, 0.6);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact__card a:hover { color: var(--blue-soft); border-color: var(--blue-soft); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer { background: #0f2438; color: rgba(255, 255, 255, 0.75); }

.footer__inner {
  padding-top: 56px;
  padding-bottom: 46px;
  display: grid;
  gap: 30px;
  text-align: center;
  justify-items: center;
}

.footer__brand { display: flex; align-items: center; gap: 14px; text-align: left; }

.footer__brand strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: #ffffff; }

.footer__brand p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer__links a:hover { color: var(--blue-soft); }

.footer__note { font-size: 0.78rem; color: rgba(255, 255, 255, 0.4); }

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox-open { overflow: hidden; }

img.is-zoomable { cursor: zoom-in; }

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(11, 24, 38, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.is-open { opacity: 1; }

.lightbox__figure {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lightbox.is-open .lightbox__figure { transform: scale(1); }

.lightbox__figure img {
  max-width: 100%;
  max-height: calc(86vh - 48px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__figure figcaption {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.lightbox__close,
.lightbox__arrow {
  position: absolute;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  z-index: 1;
}

.lightbox__close:hover,
.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

.lightbox__close {
  top: 20px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
  padding-bottom: 4px;
}

.lightbox__arrow--prev { left: 22px; }
.lightbox__arrow--next { right: 22px; }

@media (max-width: 760px) {
  .lightbox__arrow { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox__arrow--prev { left: 10px; }
  .lightbox__arrow--next { right: 10px; }
  .lightbox__close { top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__figure { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .timeline::before { display: none; }
  .timeline__item::before { position: static; display: block; margin-bottom: 12px; }
  .impact__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .gov { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .product--wide { grid-column: span 2; }
  .species__row { grid-template-columns: repeat(3, 1fr); }
  .recognition__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav__name { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100svh;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    background: rgba(250, 251, 252, 0.98);
    backdrop-filter: blur(16px);
    font-size: 1.1rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: -20px 0 60px rgba(23, 43, 66, 0.25);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a:not(.nav__cta),
  .nav.is-scrolled .nav__links a:not(.nav__cta) { color: var(--slate); }
  .nav__links a:not(.nav__cta):hover,
  .nav.is-scrolled .nav__links a:not(.nav__cta):hover { color: var(--blue-deep); }
  .nav__toggle { z-index: 110; }
  .nav__toggle.is-open span { background: var(--blue-deep); }

  .story__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: 1fr; }
  .product--wide { grid-column: auto; }
  .product--wide .product__img { aspect-ratio: 16 / 10; min-height: 0; }
  .species__row { grid-template-columns: repeat(2, 1fr); }
  .contact__cards { grid-template-columns: 1fr; }
  .recognition__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stats__grid { gap: 32px 20px; }
}

@media (max-width: 480px) {
  .species__row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; text-align: center; }
}
