/* ================================================================
   NEW ZEALAND SEAFOODS — DESIGN SYSTEM
   styles.css — base stylesheet, reusable across all pages
   ================================================================ */

/* ----------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Color */
  --bg:             #0c1410;
  --bg-mid:         #111a16;
  --bg-raised:      #162018;
  --accent:         #708180;
  --accent-dim:     rgba(112, 129, 128, 0.35);
  --accent-faint:   rgba(112, 129, 128, 0.1);
  --stone:          #414042;
  --stone-dim:      rgba(65, 64, 66, 0.5);
  --cream:          #F1EBE1;
  --cream-mid:      rgba(241, 235, 225, 0.65);
  --cream-dim:      rgba(241, 235, 225, 0.4);
  --rule:           rgba(112, 129, 128, 0.18);
  --overlay:        rgba(10, 18, 14, 0.74);

  /* Typography */
  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'Karla', system-ui, sans-serif;

  /* Type scale */
  --t-xs:   0.6875rem;   /* 11px */
  --t-sm:   0.8125rem;   /* 13px */
  --t-base: 1rem;
  --t-md:   1.125rem;    /* 18px */
  --t-lg:   1.375rem;    /* 22px */
  --t-xl:   1.75rem;     /* 28px */
  --t-2xl:  2.25rem;     /* 36px */
  --t-3xl:  3rem;        /* 48px */
  --t-4xl:  4rem;        /* 64px */
  --t-hero: clamp(3.25rem, 7.5vw, 6.75rem);
  --t-pull: clamp(1.625rem, 3.4vw, 2.875rem);

  /* Spacing (8px grid) */
  --s1:  0.5rem;
  --s2:  1rem;
  --s3:  1.5rem;
  --s4:  2rem;
  --s5:  2.5rem;
  --s6:  3rem;
  --s8:  4rem;
  --s10: 5rem;
  --s12: 6rem;
  --s16: 8rem;
  --s20: 10rem;
  --s24: 12rem;

  /* Layout */
  --container:     1280px;
  --wide:          1440px;
  --pad:           clamp(1.5rem, 5vw, 4rem);
  --nav-h:         72px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
  --fast:  150ms;
  --base:  280ms;
  --slow:  480ms;
}


/* ----------------------------------------------------------------
   RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
address { font-style: normal; }
cite    { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ----------------------------------------------------------------
   LAYOUT UTILITIES
   ---------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Eyebrow label — shared across all sections */
.eyebrow {
  display: block;
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}

.eyebrow--dim    { color: var(--cream-dim); }
.eyebrow--accent { color: var(--accent); }

/* Photo / logo placeholder label */
.photo-label {
  position: absolute;
  bottom: var(--s2);
  left: var(--s2);
  font-family: var(--body);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(241, 235, 225, 0.25);
  pointer-events: none;
  user-select: none;
}


/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--base) var(--ease-out),
    border-color     var(--base) var(--ease-out),
    color            var(--base) var(--ease-out);
}

.btn--primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: #8a9b9a;
  border-color: #8a9b9a;
}

.btn--ghost {
  background-color: transparent;
  border-color: rgba(241, 235, 225, 0.35);
  color: var(--cream);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--cream);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--accent);
  color: var(--bg);
}

/* Focus rings */
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Inline arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition:
    gap   var(--base) var(--ease-out),
    color var(--fast);
}
.link-arrow:hover { gap: 0.875em; color: var(--cream); }
.link-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* ----------------------------------------------------------------
   NAVIGATION
   ---------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-h);
  transition:
    background-color var(--slow) var(--ease-out),
    backdrop-filter  var(--slow) var(--ease-out),
    transform        var(--base) var(--ease-out);
}

.nav--filled {
  background-color: rgba(12, 20, 16, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.nav--hidden { transform: translateY(-100%); }

.nav__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.nav__links a {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-mid);
  transition: color var(--fast);
}
.nav__links a:hover { color: var(--cream); }

.nav__coming {
  opacity: 0.35 !important;
  cursor: default;
  pointer-events: none;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s1);
  width: 32px;
  height: 32px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--cream);
  transition:
    transform var(--base) var(--ease-out),
    opacity   var(--base);
}

.nav__toggle--open span:first-child {
  transform: rotate(45deg) translate(4px, 4px);
}
.nav__toggle--open span:last-child {
  transform: rotate(-45deg) translate(4px, -4px);
}


/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* HERO IMAGE — swap src here when ready */
/* To activate: uncomment the background-image line below and remove the comment.
   Replace the filename with your preferred image. The gradient overlays remain. */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    /* background-image: url('../images/802a5319-85fe-4bdb-8d5e-9a9ee7f89a76.jpg'); */
    linear-gradient(160deg, #0d2219 0%, #071410 45%, #0b1e15 75%, #0f2419 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: var(--s2) var(--pad);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 18, 14, 0.88) 0%,
    rgba(10, 18, 14, 0.58) 55%,
    rgba(10, 18, 14, 0.18) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--wide);
  width: 100%;
  margin: 0 auto;
  padding: var(--nav-h) var(--pad) 0;
}

.hero__headline {
  font-family: var(--display);
  font-size: clamp(4rem, 9.5vw, 8.5rem);
  font-weight: 300;
  line-height: 1.03;
  color: var(--cream);
  margin-bottom: var(--s5);
  max-width: 70%;
}

.hero__headline em {
  font-style: italic;
  font-weight: 300;
}

.hero__subhead {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-mid);
  margin-bottom: var(--s8);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--s8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.85); }
  55%       { opacity: 0.9;  transform: scaleY(1); }
}


/* ----------------------------------------------------------------
   CREDIBILITY STRIP
   ---------------------------------------------------------------- */
.strip {
  background-color: var(--bg-mid);
  border-top:    1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s6) var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}

.strip__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}

.strip__label {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.strip__value {
  font-family: var(--display);
  font-size: var(--t-xl);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
}

.strip__rule {
  width: 1px;
  height: 44px;
  background-color: var(--rule);
  flex-shrink: 0;
}


/* ----------------------------------------------------------------
   AUDIENCE ENTRY POINTS
   ---------------------------------------------------------------- */
.audiences {
  padding: var(--s12) 0;
  background-color: var(--bg);
}

.audiences__grid {
  margin-top: var(--s8);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
}

.audience-card {
  position: relative;
  background-color: var(--bg);
  padding: var(--s8) var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  transition: background-color var(--slow) var(--ease-out);
  overflow: hidden;
}

/* Left accent bar */
.audience-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background-color: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--slow) var(--ease-out);
}

.audience-card:hover {
  background-color: var(--bg-raised);
}
.audience-card:hover::before {
  transform: scaleY(1);
}

.audience-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.audience-card__num {
  font-family: var(--display);
  font-size: var(--t-4xl);
  font-weight: 300;
  line-height: 1;
  color: var(--cream-dim);
  flex-shrink: 0;
  transition: color var(--slow) var(--ease-out);
}
.audience-card:hover .audience-card__num {
  color: var(--cream-mid);
}

.audience-card__title {
  font-family: var(--display);
  font-size: var(--t-2xl);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin-top: var(--s6);
}

.audience-card__body {
  font-family: var(--body);
  font-size: var(--t-base);
  font-weight: 300;
  line-height: 1.72;
  color: var(--cream-dim);
  flex-grow: 1;
}


/* ----------------------------------------------------------------
   NZ CRAB SPOTLIGHT
   ---------------------------------------------------------------- */
.crab {
  border-top:    1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background-color: var(--bg-mid);
  overflow: hidden;
}

.crab__inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.crab__text {
  padding: var(--s12) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s4);
}

.crab__headline {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.8vw, 4.75rem);
  font-weight: 300;
  line-height: 1.06;
  color: var(--cream);
}

.crab__lead {
  font-family: var(--display);
  font-size: var(--t-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  line-height: 1.4;
}

.crab__body {
  font-family: var(--body);
  font-size: var(--t-base);
  font-weight: 300;
  line-height: 1.72;
  color: var(--cream-dim);
  max-width: 44ch;
  margin-bottom: var(--s2);
}

/* Right visual column */
.crab__visual {
  position: relative;
  overflow: hidden;
}

.crab__photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0b1e15 0%, #07140f 55%, #0d2419 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--s2);
  overflow: hidden;
}

.crab__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.crab__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 15, 0.40);
  pointer-events: none;
}

/* Roman numeral IV — the signature element. Enormous, near-invisible,
   bleeds off the right edge. Specific to the 4-species brief. */
.crab__numeral {
  position: absolute;
  bottom: -0.18em;
  right: -0.08em;
  font-family: var(--display);
  font-size: clamp(12rem, 22vw, 22rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: rgba(112, 129, 128, 0.065);
  pointer-events: none;
  user-select: none;
}


/* ----------------------------------------------------------------
   FEATURED SPECIES
   ---------------------------------------------------------------- */
.species {
  padding: var(--s20) 0;
  background-color: var(--bg);
}

.species__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s10);
}

.species__header-left { display: flex; flex-direction: column; }
.species__header-left .eyebrow { margin-bottom: var(--s1); }

.species__title {
  font-family: var(--display);
  font-size: var(--t-3xl);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}

.species__header-link {
  flex-shrink: 0;
  align-self: flex-end;
  padding-bottom: 0.2em;
}

/* Grid */
.species__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
}

.species-tile {
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background-color var(--slow) var(--ease-out);
}
.species-tile:hover { background-color: var(--bg-raised); }

.species-tile__photo-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.species-tile__photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a1c14 0%, #071410 55%, #0d2419 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--s2);
  transition: transform var(--slow) var(--ease-out);
  overflow: hidden;
}

.species-tile__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--slow) var(--ease-out);
}

/* Subtle dark overlay on hover so text reads cleanly */
.species-tile__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 15, 0);
  transition: background var(--slow) var(--ease-out);
  pointer-events: none;
}

.species-tile:hover .species-tile__photo {
  transform: scale(1.04);
}
.species-tile:hover .species-tile__photo img {
  transform: scale(1.04);
}
.species-tile:hover .species-tile__photo::after {
  background: rgba(7, 20, 15, 0.45);
}

/* Producer name badges — bottom-left of salmon tile photo */
.species-tile__producers {
  position: absolute;
  bottom: var(--s3);
  left: var(--s3);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.species-tile__producers span {
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
}

.producer-rule {
  display: inline-block;
  width: 1px;
  height: 10px;
  background-color: rgba(241, 235, 225, 0.35);
  flex-shrink: 0;
}

.species-tile__info {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  flex-grow: 1;
}

.species-tile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--s2);
}

.species-tile__origin,
.species-tile__cert {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.species-tile__origin { color: var(--accent); font-weight: 500; }
.species-tile__cert   { color: var(--cream-dim); }

.species-tile__cert::before {
  content: '/';
  margin-right: 0.5em;
  color: var(--stone);
}

.species-tile__name {
  font-family: var(--display);
  font-size: var(--t-2xl);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
}

.species-tile__note {
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 300;
  line-height: 1.68;
  color: var(--cream-dim);
}


/* ----------------------------------------------------------------
   PULL QUOTE
   ---------------------------------------------------------------- */
.pullquote {
  padding: var(--s24) 0;
  background-color: var(--bg-mid);
  border-top: 1px solid var(--rule);
}

.pullquote__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.pullquote__rule {
  width: 48px;
  height: 1px;
  background-color: var(--accent);
  margin-bottom: var(--s8);
}

.pullquote__quote {
  font-family: var(--display);
  font-size: var(--t-pull);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: var(--s8);
}

/* No curly quote marks — the italic size carries the weight */
.pullquote__quote p::before,
.pullquote__quote p::after { content: ''; }

.pullquote__attr {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-left: var(--s4);
  border-left: 1px solid var(--accent);
}

.pullquote__name {
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}

.pullquote__role {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}


/* ----------------------------------------------------------------
   SUSTAINABILITY
   ---------------------------------------------------------------- */
.sustain {
  padding: var(--s20) 0;
  background-color: var(--bg);
  border-top: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.sustain__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sustain__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.08;
}

/* Scrim sits above the photo and below .container content so headline,
   body copy, and cert tiles stay readable no matter what opacity the
   photo itself ends up at. */
.sustain__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 20, 16, 0.88) 0%,
    rgba(12, 20, 16, 0.94) 100%
  );
}

.sustain .container {
  position: relative;
  z-index: 1;
}

.sustain__header {
  margin-bottom: var(--s10);
}

.sustain__title {
  font-family: var(--display);
  font-size: var(--t-3xl);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  max-width: 20ch;
}

.sustain__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s8);
  align-items: start;
}

.sustain__block-title {
  font-family: var(--display);
  font-size: var(--t-xl);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: var(--s3);
}

.sustain__block p {
  font-family: var(--body);
  font-size: var(--t-base);
  font-weight: 300;
  line-height: 1.72;
  color: var(--cream-dim);
}

/* Cert logo tiles */
.sustain__certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.cert-tile {
  position: relative;
  border: 1px solid var(--rule);
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  background-color: var(--bg-raised);
  transition: border-color var(--base) var(--ease-out);
}
.cert-tile:hover { border-color: var(--accent); }

.cert-tile__abbr {
  font-family: var(--display);
  font-size: var(--t-lg);
  font-weight: 400;
  color: var(--cream-dim);
  text-align: center;
  line-height: 1.2;
}

.cert-tile .photo-label { position: static; }


/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer {
  background-color: var(--bg-mid);
  border-top: 1px solid var(--rule);
}

/* Top: trade + email capture */
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--rule);
  border-bottom: 1px solid var(--rule);
}

.footer__trade,
.footer__capture {
  background-color: var(--bg-mid);
  padding: var(--s16) var(--pad);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.footer__top-headline {
  font-family: var(--display);
  font-size: var(--t-3xl);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}

.footer__top-body {
  font-family: var(--body);
  font-size: var(--t-base);
  font-weight: 300;
  line-height: 1.72;
  color: var(--cream-dim);
  max-width: 44ch;
}

/* Email form */
.footer__form {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  max-width: 360px;
}

.footer__field {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.footer__label {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stone);
  padding: var(--s2) 0;
  font-family: var(--body);
  font-size: var(--t-base);
  font-weight: 300;
  color: var(--cream);
  outline: none;
  transition: border-color var(--base) var(--ease-out);
  width: 100%;
}
.footer__input::placeholder { color: var(--stone-dim); }
.footer__input:focus         { border-bottom-color: var(--accent); }

/* Mid: address + nav */
.footer__mid {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s12) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
}

.footer__logo-img {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: var(--s3);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s4);
}

.footer__social-link {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color var(--fast);
}
.footer__social-link:hover { color: var(--accent); }

.footer__social-rule {
  display: inline-block;
  width: 1px;
  height: 10px;
  background-color: var(--rule);
  flex-shrink: 0;
}

.footer__address {
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 300;
  line-height: 2;
  color: var(--cream-dim);
}
.footer__address a {
  transition: color var(--fast);
}
.footer__address a:hover { color: var(--accent); }

.footer__nav {
  display: flex;
  gap: var(--s16);
  justify-content: flex-end;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.footer__nav-col a {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color var(--fast);
}
.footer__nav-col a:hover { color: var(--cream); }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid var(--rule);
  padding: var(--s4) var(--pad);
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__legal,
.footer__tagline {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--stone);
}


/* ----------------------------------------------------------------
   RESPONSIVE — 1024px
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .sustain__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
  }

  .sustain__certs {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
  }

  .crab__inner {
    grid-template-columns: 1fr;
  }

  .crab__visual {
    height: 380px;
  }
}


/* ----------------------------------------------------------------
   RESPONSIVE — 768px
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Mobile nav */
  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background-color: rgba(12, 20, 16, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s6);
  }

  .nav__links--open { display: flex; }

  .nav__links a {
    font-size: var(--t-sm);
    letter-spacing: 0.18em;
    color: var(--cream-mid);
  }

  /* Strip wraps */
  .strip__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s4) var(--s5);
  }
  .strip__rule   { display: none; }
  .strip__item   { min-width: 120px; }

  /* Audiences stack */
  .audiences__grid { grid-template-columns: 1fr; }

  /* Species stack */
  .species__grid  { grid-template-columns: 1fr; }
  .species__header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Sustainability */
  .sustain__grid    { grid-template-columns: 1fr; }
  .sustain__certs   { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__mid {
    grid-template-columns: 1fr;
    gap: var(--s8);
  }

  .footer__nav {
    justify-content: flex-start;
    gap: var(--s8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--s2);
    text-align: center;
  }
}


/* ----------------------------------------------------------------
   RESPONSIVE — 480px
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .crab__text { padding: var(--s12) var(--pad); }

  .pullquote { padding: var(--s16) 0; }
}


/* ================================================================
   FACILITY PAGE (facility.html) — additive, page-scoped rules only
   ================================================================ */

.facility-hero {
  padding: calc(var(--nav-h) + var(--s12)) 0 var(--s12);
  background-color: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.facility-hero__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.facility-hero__headline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.8vw, 4.75rem);
  line-height: 1.08;
  color: var(--cream);
  max-width: 18ch;
  margin-bottom: var(--s5);
}

.facility-hero__lead {
  font-family: var(--body);
  font-weight: 300;
  font-size: var(--t-md);
  line-height: 1.72;
  color: var(--cream-dim);
  max-width: 62ch;
}

/* Reuse the homepage credibility strip, tightened for a 2-item layout */
.facility-stats .strip__inner {
  max-width: 640px;
}

.facility-caps {
  padding: var(--s16) 0;
  background-color: var(--bg);
}

.facility-caps__header {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--pad);
  margin-bottom: var(--s8);
}

.facility-caps__title {
  font-family: var(--display);
  font-size: var(--t-3xl);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}

.capability-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
}

.capability-card {
  position: relative;
  background-color: var(--bg);
  padding: var(--s8) var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  overflow: hidden;
  transition: background-color var(--slow) var(--ease-out);
}

.capability-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background-color: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--slow) var(--ease-out);
}

.capability-card:hover { background-color: var(--bg-raised); }
.capability-card:hover::before { transform: scaleY(1); }

.capability-card__num {
  font-family: var(--display);
  font-size: var(--t-3xl);
  font-weight: 300;
  line-height: 1;
  color: var(--cream-dim);
}

.capability-card__title {
  font-family: var(--display);
  font-size: var(--t-xl);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}

.capability-card__body {
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 300;
  line-height: 1.68;
  color: var(--cream-dim);
}

/* In-development block — visually distinct from active capabilities:
   dashed borders, dimmer titles, tagged cards, muted section background. */
.facility-future {
  padding: var(--s16) 0;
  background-color: var(--bg-mid);
  border-bottom: 1px solid var(--rule);
}

.facility-future__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.facility-future__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: var(--t-2xl);
  color: var(--cream-mid);
  margin-bottom: var(--s6);
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}

.future-card {
  border: 1px dashed var(--rule);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.future-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.3em 0.7em;
}

.future-card__title {
  font-family: var(--display);
  font-size: var(--t-lg);
  font-weight: 400;
  color: var(--cream-mid);
}

.future-card__body {
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 300;
  line-height: 1.68;
  color: var(--cream-dim);
}

.facility-visit {
  padding: var(--s20) 0;
  background-color: var(--bg);
  text-align: center;
}

.facility-visit__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
}

.facility-visit__body {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--t-xl);
  line-height: 1.5;
  color: var(--cream);
}


/* ----------------------------------------------------------------
   FACILITY PAGE — RESPONSIVE — 768px
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .capability-grid { grid-template-columns: 1fr; }
  .future-grid      { grid-template-columns: 1fr; }
  .facility-caps__header { margin-bottom: var(--s6); }
}
