/* Unify Feed — theme override
   Loaded AFTER colors_and_type.css to swap out the cosmetics direction:
   - Brand: brick orange (Unify Feed CI) instead of forest green / gold
   - Type: industrial sans-serif throughout (IBM Plex Sans + Mono)
   - Corners: sharp (radius → 0–2px)
   - Em emphasis: weight + color, never italic
*/

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Sarabun:wght@300;400;500;600;700&display=swap");

:root {
  /* ===== BRAND PALETTE ===== */
  /* Brick orange — Unify Feed CI */
  --feed-50:  #FBE9DC;
  --feed-100: #F4C8A4;
  --feed-300: #E89668;
  --feed-500: #D85A1B;   /* primary */
  --feed-600: #B84617;   /* hover */
  --feed-700: #8E3411;
  --feed-800: #5F230B;
  --feed-900: #3A1606;

  /* Deep brick / oxblood accent */
  --brick-500: #9C4434;
  --brick-700: #6B2C20;

  /* Anthracite — structural dark */
  --anth-100: #D9D2C9;
  --anth-300: #8C8275;
  --anth-500: #4D453B;
  --anth-700: #2C2620;
  --anth-900: #181410;
  --anth-950: #0E0B08;

  /* Warm cream neutrals — alternate "surface-cream" body class brings these back */
  --warm-50:   #FAF6EE;
  --warm-100:  #F2ECDD;
  --warm-200:  #E8DFC9;
  --sand-300:  #D9D5CB;
  --sand-400:  #B5A074;
  --sand-500:  #918068;

  /* White-paper neutrals — DEFAULT background system (industrial, B2B) */
  --cream-50:  #FFFFFF;
  --cream-100: #F7F6F3;
  --cream-200: #ECEAE3;
}

/* Cream-surface mode (opt-in) */
body.surface-cream {
  --cream-50:  var(--warm-50);
  --cream-100: var(--warm-100);
  --cream-200: var(--warm-200);
  --sand-300:  #D3C5A3;
}

:root {

  /* Override green tokens to point at orange so any leftovers stay on-brand */
  --green-50:  #FBE9DC;
  --green-100: #F4C8A4;
  --green-200: #E89668;
  --green-400: #D85A1B;
  --green-600: #B84617;
  --green-700: #8E3411;
  --green-800: #2C2620;   /* hover/active uses anthracite */
  --green-900: #181410;   /* primary dark */
  --green-950: #0E0B08;

  /* Gold → keep a token but redirect to a muted ochre as secondary accent */
  --gold-300:  #E89668;
  --gold-500:  #D85A1B;
  --gold-600:  #B84617;
  --gold-700:  #8E3411;

  /* Espresso → warmer charcoal for editorial text */
  --ink-900:   #1F1812;
  --ink-700:   #3A2E22;
  --ink-500:   #6B5B49;
  --ink-300:   #A39580;

  /* Semantic */
  --status-success: #4F7A4A;
  --status-warning: #B96821;
  --status-danger:  #9C4434;
  --status-info:    #3F4F5C;

  /* Re-bind semantic colors */
  --bg:               var(--cream-100);
  --bg-elevated:      var(--cream-50);
  --bg-sunken:        var(--cream-200);
  --bg-inverse:       var(--anth-900);

  --surface:          var(--cream-50);
  --surface-hover:    var(--cream-200);

  --fg:               var(--ink-900);
  --fg-secondary:     var(--ink-500);
  --fg-tertiary:      var(--ink-300);

  --brand:            var(--feed-500);
  --brand-hover:      var(--feed-600);
  --brand-soft:       var(--feed-50);

  --accent:           var(--feed-500);
  --accent-hover:     var(--feed-600);

  --border:           var(--sand-300);
  --border-strong:    var(--anth-500);
  --border-accent:    var(--feed-500);

  /* ===== TYPE ===== */
  --font-serif:  "Archivo", "IBM Plex Sans", "IBM Plex Sans Thai", "Sarabun", sans-serif;
  --font-sans:   "IBM Plex Sans", "IBM Plex Sans Thai", "Sarabun", -apple-system, system-ui, sans-serif;
  --font-mono:   "IBM Plex Mono", "IBM Plex Sans Thai", "Sarabun", ui-monospace, "SF Mono", Menlo, monospace;

  --ls-display:  -0.025em;
  --ls-heading:  -0.015em;

  /* ===== CORNERS (sharp industrial) ===== */
  --radius-sm:   0;
  --radius-md:   0;
  --radius-lg:   2px;
  --radius-pill: 2px;
}

/* ============== ELEMENT OVERRIDES ============== */

html {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg);
  font-feature-settings: "ss01", "kern", "tnum";
}

/* All headings → sans, heavier, tighter, uppercase-y industrial */
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  line-height: 1.12;
  color: var(--ink-900);
}
h3, .h3 { font-weight: 600; letter-spacing: var(--ls-heading); line-height: 1.18; }
h4, .h4 { font-weight: 600; letter-spacing: var(--ls-heading); line-height: 1.2; }
h5, .h5, h6, .h6 { font-family: var(--font-sans); }

/* Kill italics — emphasis becomes color + weight */
em, i, .display-italic {
  font-style: normal !important;
  font-weight: 800;
  color: var(--feed-500);
}

/* a hover from green to feed */
a:hover { color: var(--feed-600); border-bottom-color: var(--feed-500); }

::selection { background: var(--feed-100); color: var(--feed-900); }

/* ============== UI-LEVEL OVERRIDES ============== */

/* Buttons: square, condensed, industrial */
.btn {
  font-weight: 600;
  border-radius: 0;
  letter-spacing: 0.14em;
  padding: 16px 24px;
}
.btn--primary {
  background: var(--feed-500);
  color: #fff;
  box-shadow: none;
  position: relative;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.btn--primary:hover { background: var(--feed-600); box-shadow: none; }
.btn--secondary {
  box-shadow: inset 0 0 0 1.5px var(--anth-900);
  color: var(--ink-900);
}
.btn--secondary:hover { background: var(--feed-50); box-shadow: inset 0 0 0 1.5px var(--feed-500); color: var(--feed-700); }
.btn--ghost .arrow,
.btn--ghost .arrow::after { background: var(--feed-500); border-color: var(--feed-500); }
.btn--on-dark.btn--secondary { box-shadow: inset 0 0 0 1.5px var(--feed-500); color: #fff; }
.btn--on-dark.btn--secondary:hover { background: rgba(216, 90, 27, 0.15); }

/* Eyebrow */
.eyebrow { color: var(--feed-600); font-weight: 700; }
.eyebrow .gold-rule { background: var(--feed-500); }

/* ============== HEADER ============== */
.uf-utility {
  background: var(--anth-950);
  color: var(--anth-100);
}
.uf-utility a { color: var(--anth-100); }
.uf-utility a:hover { color: var(--feed-300); }
.uf-utility .dot { background: var(--feed-500); }
.uf-utility .uf-lang-toggle { border-color: rgba(216, 90, 27, 0.45); border-radius: 0; }
.uf-utility .uf-lang-toggle button { color: var(--anth-100); border-radius: 0; }
.uf-utility .uf-lang-toggle button.active { background: var(--feed-500); color: #fff; }

.uf-header { background: rgba(247, 246, 243, 0.96); border-bottom: 1.5px solid var(--anth-900); }
body.surface-cream .uf-header { background: rgba(242, 236, 221, 0.96); }
.uf-logo__mark {
  background: var(--feed-500);
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.uf-logo__mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255,255,255,0.22);
}
.uf-logo__mark svg { color: #fff; }
.uf-logo__word {
  font-family: var(--font-serif);
  font-style: normal !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.uf-logo__tag { color: var(--feed-600); }

.uf-nav__link { font-weight: 700; letter-spacing: 0.16em; }
.uf-nav__link:hover, .uf-nav__link.active { color: var(--feed-600); border-bottom-color: var(--feed-500); }

.uf-search-btn { border-radius: 0; border-color: var(--anth-700); }
.uf-search-btn:hover { border-color: var(--feed-500); color: var(--feed-600); }

.uf-logo--image {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 4px 0;
}
.uf-logo--image .uf-logo__img {
  height: 44px;
  width: auto;
  display: block;
}
.uf-logo--image .uf-logo__tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--feed-600);
  border-left: 1.5px solid var(--anth-900);
  padding-left: 12px;
  max-width: 110px;
  line-height: 1.3;
}

/* ============== MEGA MENU ============== */
.uf-mega { border-radius: 0; border: 1.5px solid var(--anth-900); box-shadow: 6px 6px 0 rgba(24,20,16,0.08); }
.uf-mega__title { color: var(--feed-600); letter-spacing: 0.2em; }
.uf-mega__list a:hover { color: var(--feed-600); border-bottom-color: var(--feed-500); }
.uf-mega__feature {
  background: var(--anth-900);
  border-radius: 0;
}
.uf-mega__feature .eyebrow { color: var(--feed-300); }
.uf-mega__feature h4 {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  color: #fff;
}
.uf-mega__feature p { color: var(--anth-100); }
.uf-mega__feature .link {
  color: var(--feed-300);
  border-bottom-color: var(--feed-500);
}

/* ============== HERO ============== */
.uf-hero { padding: 80px 0 88px; }
.uf-hero__copy h1 {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.28;
  text-transform: none;
}
.uf-hero__copy h1 em {
  font-style: normal !important;
  color: var(--feed-500);
  font-weight: 800;
}
.uf-hero__copy h1 .underline {
  background-image: linear-gradient(to right, var(--feed-500), var(--feed-500));
  background-size: 100% 4px;
  background-position: 0 calc(100% - 6px);
  padding-bottom: 8px;
}

.uf-chip {
  border-radius: 0;
  border-width: 1.5px;
  font-weight: 600;
}
.uf-chip:hover { border-color: var(--feed-500); color: var(--feed-600); }
.uf-chip.active { background: var(--anth-900); border-color: var(--anth-900); color: #fff; }
.uf-chip__dot { background: var(--feed-500); }

/* HERO MEDIA — orange/anthracite gradients regardless of species */
.uf-hero__media-wrap { display: contents; }
.uf-hero__media {
  aspect-ratio: 4/5;
  background: var(--anth-900);
  background-image: linear-gradient(155deg, var(--sp-a, var(--anth-700)) 0%, var(--sp-b, var(--anth-950)) 100%);
  border-radius: 0;
  box-shadow: none;
  border: 1.5px solid var(--anth-900);
  position: relative;
  overflow: hidden;
}
.uf-hero__media::after {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(circle at 70% 85%, rgba(0,0,0,0.45), transparent 65%);
}

/* === Variant 1: INGREDIENT MACRO === */
.uf-hero__media--ingredient .ingredient-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.uf-hero__media--ingredient .uf-hero__media-stamp {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  color: #fff;
}
.uf-hero__media--ingredient .stamp-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--feed-300);
  margin-bottom: 12px;
  font-weight: 600;
}
.uf-hero__media--ingredient .stamp-name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: #fff;
}
.uf-hero__media--ingredient .stamp-spec {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  gap: 8px;
  align-items: center;
  letter-spacing: 0.04em;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

/* === Variant 2: SPEC CARD === */
.uf-hero__media--spec { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.uf-hero__media--spec .uf-hero__media-meta { position: static; padding: 0; }
.uf-hero__media--spec .spec-photo {
  flex: 1;
  border: 1px solid rgba(232, 150, 104, 0.3);
  background: rgba(0,0,0,0.25);
  overflow: hidden;
  position: relative;
}
.uf-hero__media--spec .spec-photo svg { width: 100%; height: 100%; display: block; }
.uf-hero__media--spec .spec-plate {
  background: #fff;
  color: var(--ink-900);
  padding: 16px 18px;
  border: 1.5px solid var(--feed-500);
}
.uf-hero__media--spec .spec-plate__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--feed-600);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--anth-100);
}
.uf-hero__media--spec .spec-plate__name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.uf-hero__media--spec .spec-plate__rows {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
}
.uf-hero__media--spec .spec-plate__rows > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.uf-hero__media--spec .spec-plate__rows span:first-child {
  color: var(--ink-300);
  letter-spacing: 0.14em;
  font-weight: 600;
}
.uf-hero__media--spec .spec-plate__rows span:last-child {
  color: var(--ink-900);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* === Variant 3: ANIMAL (uses existing layout) === */
.uf-hero__media--animal .uf-hero__media-figure {
  color: rgba(255, 255, 255, 0.18);
}

/* === Variant 4: TYPE-LED === */
.uf-hero__media--type {
  background-image: linear-gradient(155deg, var(--anth-900) 0%, var(--anth-950) 100%);
  display: flex;
  flex-direction: column;
  padding: 28px;
  gap: 0;
}
.uf-hero__media--type::after {
  background: radial-gradient(ellipse at 0% 0%, rgba(216,90,27,0.18), transparent 60%);
}
.uf-hero__media--type .uf-hero__media-meta { position: static; padding: 0; margin-bottom: auto; }
.uf-hero__media--type .type-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 2;
  margin: 24px 0;
}
.uf-hero__media--type .type-grid__big {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: #fff;
  text-transform: uppercase;
}
.uf-hero__media--type .type-grid__big.accent { color: var(--feed-500); }
.uf-hero__media--type .type-foot {
  position: relative;
  z-index: 2;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.uf-hero__media--type .type-foot__row {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.72);
  flex-wrap: wrap;
}
.uf-hero__media--type .type-foot__row span:first-child { color: var(--feed-300); }

/* Hide the figure-only label on non-animal variants */
.uf-hero__media--ingredient .uf-hero__media-label,
.uf-hero__media--spec .uf-hero__media-label,
.uf-hero__media--type .uf-hero__media-label { display: none; }
.uf-hero__media--ingredient .uf-hero__media-figure,
.uf-hero__media--spec .uf-hero__media-figure,
.uf-hero__media--type .uf-hero__media-figure { display: none; }

.uf-hero__media-meta { color: rgba(255, 255, 255, 0.65); font-weight: 500; }
.uf-hero__media-label .caption { color: var(--feed-300); }

/* ============== STATS ============== */
.uf-stats {
  background: var(--anth-900);
  border-top: 1px solid var(--anth-900);
  border-bottom: 1px solid var(--anth-900);
  color: #fff;
}
.uf-stat-cell { border-right: 1px solid rgba(255,255,255,0.08); }
.uf-stat-cell__n {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}
.uf-stat-cell__n .unit { color: var(--feed-300); font-weight: 500; }
.uf-stat-cell__l { color: var(--feed-300); letter-spacing: 0.18em; }
.uf-stat-cell__sub { color: var(--anth-100); }

/* ============== SPECIES SECTION ============== */
.uf-section-head__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.025em;
  line-height: 1.22;
}
.uf-section-head__title em { color: var(--feed-500); font-style: normal !important; }

.uf-species-card { border-radius: 0; border: 1.5px solid var(--anth-900); }
.uf-species-card:hover {
  box-shadow: 6px 6px 0 var(--anth-900);
  border-color: var(--anth-900);
  transform: translate(-3px, -3px);
}
.uf-species-card__media { border-radius: 0; }
.uf-species-card__media-tag { border-radius: 0; background: rgba(0,0,0,0.55); font-weight: 600; }
.uf-species-card__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: normal !important;
  letter-spacing: -0.01em;
}
.uf-species-card__name em { color: var(--feed-500); font-style: normal !important; }
.uf-species-card__foot { border-top-color: var(--anth-100); }
.uf-species-card__foot .go { color: var(--feed-600); }
.uf-species-card:hover .uf-species-card__foot .go { color: var(--feed-700); }

/* Force species media to orange-leaning palette */
.uf-species-card[data-id="aqua"]      .uf-species-card__media,
.uf-species-card[data-id="swine"]     .uf-species-card__media,
.uf-species-card[data-id="poultry"]   .uf-species-card__media,
.uf-species-card[data-id="ruminant"]  .uf-species-card__media { background: var(--anth-900); }

/* ============== CATEGORIES ============== */
.uf-categories {
  background: var(--cream-50);
  border-top: 1.5px solid var(--anth-900);
  border-bottom: 1.5px solid var(--anth-900);
}
.uf-cat-tabs { border-bottom: 1.5px solid var(--anth-900); }
.uf-cat-tab {
  font-weight: 700;
  border-bottom-width: 3px;
}
.uf-cat-tab:hover { color: var(--feed-600); }
.uf-cat-tab.active { color: var(--feed-700); border-bottom-color: var(--feed-500); }
.uf-cat-tab.active .ct-count { color: var(--feed-600); }

.uf-cat-content h3 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-style: normal !important;
}
.uf-cat-content h3 em { color: var(--feed-500); font-style: normal !important; }

.uf-pcard { border-radius: 0; border: 1.5px solid var(--anth-900); background: var(--cream-100); }
.uf-pcard:hover { border-color: var(--anth-900); box-shadow: 4px 4px 0 var(--anth-900); transform: translate(-2px, -2px); }
.uf-pcard__media { border-radius: 0; background: var(--anth-900); }
.uf-pcard__media svg { color: var(--feed-300); opacity: 0.85; }
.uf-pcard__media .stock-tag {
  border-radius: 0;
  background: var(--feed-500);
  color: #fff;
  font-weight: 600;
}
.uf-pcard__media .stock-tag.low { background: var(--status-warning); color: #fff; }
.uf-pcard__name {
  font-family: var(--font-serif);
  font-style: normal !important;
  font-weight: 700;
  font-size: 16px;
}
.uf-pcard__foot { border-top-color: var(--anth-100); }
.uf-pcard__cta { color: var(--feed-600); }

/* ============== EDITORIAL DARK ============== */
.uf-editorial {
  background: var(--anth-900);
  background-image:
    linear-gradient(135deg, var(--anth-900) 0%, var(--anth-950) 100%);
}
.uf-editorial::before { background: linear-gradient(to bottom, transparent, var(--feed-500) 30%, var(--feed-500) 70%, transparent); opacity: 0.22; }
.uf-editorial h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-style: normal !important;
  color: #fff;
}
.uf-editorial h2 em { color: var(--feed-300); font-style: normal !important; }
.uf-editorial p { color: var(--anth-100); }
.uf-editorial .eyebrow { color: var(--feed-300); }
.uf-editorial .mission-list .num {
  font-family: var(--font-serif);
  font-style: normal !important;
  font-weight: 800;
  color: var(--feed-500);
}
.uf-editorial .mission-list .body strong { color: #fff; }
.uf-editorial .mission-list .body span { color: var(--anth-100); }

/* ============== CATEGORY LAYOUT v2 (home · sidebar + grid) ============== */
.uf-cat-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.uf-cat-sidebar {
  display: flex;
  flex-direction: column;
  border-top: 1.5px solid var(--anth-700);
}
.uf-cat-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 8px 18px 0;
  border: none;
  border-bottom: 1.5px solid var(--ink-200);
  background: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: padding-left .15s;
}
.uf-cat-row:hover { padding-left: 6px; }
.uf-cat-row__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-300);
  padding-top: 2px;
  min-width: 22px;
  flex-shrink: 0;
}
.uf-cat-row.active .uf-cat-row__num { color: var(--feed-500); font-weight: 700; }
.uf-cat-row__labels { display: flex; flex-direction: column; gap: 2px; }
.uf-cat-row__en { font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--anth-900); line-height: 1.3; }
.uf-cat-row.active .uf-cat-row__en { color: var(--feed-500); }
.uf-cat-row__th { font-family: var(--font-sans); font-size: 11px; color: var(--ink-400); line-height: 1.4; }

.uf-cat-panel__head { margin-bottom: 20px; }
.uf-cat-panel__head h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 700; margin: 6px 0 4px; color: var(--anth-900); font-style: normal; }

.uf-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.uf-cat-grid .uf-pcard {
  background: #fff;
  border: 1.5px solid var(--ink-200);
  border-radius: 0;
  padding: 0;
  gap: 0;
  transform: none !important;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.uf-cat-grid .uf-pcard:hover { border-color: var(--feed-500); box-shadow: 3px 3px 0 var(--feed-500); }
.uf-cat-grid .uf-pcard__media { aspect-ratio: 4/3; background: #1a1a1a; border-radius: 0; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.uf-cat-grid .uf-pcard__media svg { color: var(--feed-500); opacity: .25; width: 36px; height: 36px; }
.uf-cat-grid .uf-pcard__body { padding: 10px 12px 6px; flex: 1; }
.uf-cat-grid .uf-pcard__name { font-family: var(--font-sans); font-size: 12px; font-weight: 700; color: var(--anth-900); font-style: normal; line-height: 1.35; margin: 0 0 3px; }
.uf-cat-grid .uf-pcard__tag { font-family: var(--font-mono); font-size: 9px; color: var(--ink-400); line-height: 1.4; }
.uf-cat-grid .uf-pcard__foot { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; border-top: 1px solid var(--ink-100); margin-top: auto; }
.uf-cat-grid .uf-pcard__origin { font-family: var(--font-mono); font-size: 9px; color: var(--ink-400); display: flex; align-items: center; gap: 3px; }
.uf-cat-grid .uf-pcard__cta { font-family: var(--font-mono); font-size: 9px; font-weight: 700; color: var(--feed-500); letter-spacing: .08em; }
.uf-cat-grid .stock-tag { position: absolute; top: 7px; right: 7px; background: var(--feed-500); color: #fff; font-family: var(--font-mono); font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 0; letter-spacing: .06em; }

/* ============== PARTNERS ============== */
.uf-partners { border-top: 1.5px solid var(--anth-900); border-bottom: 1.5px solid var(--anth-900); padding-bottom: 72px; overflow: hidden; }
.uf-partners__head h2 {
  font-family: var(--font-serif);
  font-style: normal !important;
  font-weight: 800;
}
.uf-partners__head h2 em { color: var(--feed-500); font-style: normal !important; }

/* --- logo marquee --- */
.uf-pmarquee {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.uf-pmarquee__row { overflow: hidden; display: flex; }
.uf-pmarquee__track {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  align-items: stretch;
  width: max-content;
  animation: uf-marquee 60s linear infinite;
}
.uf-pmarquee__row.rev .uf-pmarquee__track { animation-direction: reverse; }
.uf-pmarquee:hover .uf-pmarquee__track { animation-play-state: paused; }
@keyframes uf-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .uf-pmarquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .uf-pmarquee { -webkit-mask-image: none; mask-image: none; }
}

.uf-plogo {
  flex: 0 0 auto;
  width: 180px;
  height: 110px;
  background: #fff;
  border: 1.5px solid var(--anth-900);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
  cursor: pointer;
  transition: all var(--dur) var(--ease-house);
}
.uf-plogo:hover {
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--feed-500);
}
.uf-plogo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter var(--dur) var(--ease-house), opacity var(--dur) var(--ease-house);
}
.uf-plogo:hover img { filter: grayscale(0); opacity: 1; }
.uf-plogo__fallback {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-900);
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ============== FLOATING CONTACT (FAB) ============== */
.uf-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.uf-fab__toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--anth-900);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--feed-500);
  transition: transform .18s ease, box-shadow .18s ease;
}
.uf-fab__toggle:hover {
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--feed-500);
}
.uf-fab__items {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.uf-fab__item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  animation: fabItemIn .18s ease both;
}
.uf-fab__item-label {
  background: var(--anth-900);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  padding: 7px 12px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 var(--feed-500);
}
.uf-fab__item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
@keyframes fabItemIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- partner modal --- */
.uf-pmodal__overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14,11,8,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: uf-fade 0.2s ease;
}
@keyframes uf-fade { from { opacity: 0; } to { opacity: 1; } }
.uf-pmodal {
  background: var(--cream-50);
  border: 1.5px solid var(--anth-900);
  box-shadow: 10px 10px 0 var(--feed-500);
  max-width: 580px;
  width: 100%;
  max-height: 84vh;
  overflow-y: auto;
  position: relative;
  animation: uf-pop 0.24s cubic-bezier(0.22,1,0.36,1);
}
@keyframes uf-pop { from { transform: translateY(16px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.uf-pmodal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: 1.5px solid var(--anth-900);
  background: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-900);
  transition: all var(--dur) var(--ease-house);
  z-index: 2;
}
.uf-pmodal__close:hover { background: var(--anth-900); color: #fff; }
.uf-pmodal__head {
  display: flex;
  gap: 24px;
  padding: 36px 36px 28px;
  border-bottom: 1.5px solid var(--anth-900);
  align-items: center;
}
.uf-pmodal__logo {
  width: 120px;
  height: 80px;
  background: #fff;
  border: 1.5px solid var(--anth-900);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.uf-pmodal__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.uf-pmodal__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--feed-600);
  margin-bottom: 8px;
}
.uf-pmodal__name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-style: normal !important;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 8px;
  line-height: 1.05;
}
.uf-pmodal__focus { font-size: 14px; line-height: 1.5; color: var(--ink-500); margin: 0; }
.uf-pmodal__body { padding: 28px 36px 36px; }
.uf-pmodal__sectitle {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--feed-600);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.uf-pmodal__sectitle .ct { color: var(--ink-300); }
.uf-pmodal__list { list-style: none; padding: 0; margin: 0; }
.uf-pmodal__list li { border-bottom: 1px solid var(--cream-200); }
.uf-pmodal__list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 14px;
  align-items: center;
  padding: 13px 0;
  text-decoration: none;
  transition: all var(--dur) var(--ease-house);
}
.uf-pmodal__list a:hover { padding-left: 6px; }
.uf-pmodal__list .sku { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--feed-600); }
.uf-pmodal__list .nm { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--ink-900); }
.uf-pmodal__list .inci { grid-column: 2; font-family: var(--font-mono); font-size: 11px; color: var(--ink-300); }
.uf-pmodal__list .arr { grid-row: 1 / 3; grid-column: 3; color: var(--feed-600); font-family: var(--font-mono); }
.uf-pmodal__list a:hover .nm { color: var(--feed-700); }
.uf-pmodal__empty { font-size: 14px; line-height: 1.6; color: var(--ink-700); margin: 0 0 20px; }

/* ============== ARTICLES ============== */
.uf-article__media { border-radius: 0; }
.uf-article__media .badge { border-radius: 0; background: var(--feed-500); color: #fff; font-weight: 600; }
.uf-article__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: normal !important;
}
.uf-article:hover .uf-article__title { color: var(--feed-700); }
.uf-article__read { color: var(--feed-600); }

/* ============== CTA BAND ============== */
.uf-cta {
  background:
    linear-gradient(135deg, var(--anth-900) 0%, var(--anth-950) 60%, var(--brick-700) 130%);
  color: #fff;
}
.uf-cta h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-style: normal !important;
  color: #fff;
}
.uf-cta h2 em { color: var(--feed-300); font-style: normal !important; }
.uf-cta p { color: var(--anth-100); }
.uf-cta__channel {
  border-radius: 0;
  border: 1.5px solid rgba(216, 90, 27, 0.4);
  background: rgba(0,0,0,0.18);
}
.uf-cta__channel:hover { border-color: var(--feed-500); background: rgba(216, 90, 27, 0.08); }
.uf-cta__channel-icon {
  background: var(--feed-500);
  border-radius: 0;
  color: #fff;
  box-shadow: none;
  position: relative;
}
.uf-cta__channel-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255,255,255,0.18);
}
.uf-cta__channel-label { color: var(--feed-300); }
.uf-cta__channel-value {
  font-family: var(--font-serif);
  font-style: normal !important;
  font-weight: 700;
  color: #fff;
}

/* ============== FOOTER ============== */
.uf-footer { background: var(--cream-50); border-top-color: var(--anth-900); }
.uf-footer__brand--image {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.uf-footer__logo-img { width: 168px; height: auto; display: block; }
.uf-footer__brand--image .uf-logo__tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--feed-600);
}
.uf-footer__brand .uf-logo__word {
  font-family: var(--font-serif);
  font-style: normal !important;
  font-weight: 800;
}
.uf-footer ul a:hover { color: var(--feed-700); border-bottom-color: var(--feed-500); }

/* Disable old theme tweak modes (we own visuals now) */
body.theme-industrial,
body.theme-scientific {
  /* no-op — feed theme is the new baseline */
}

/* ============== HERO PHOTO VARIANT ============== */
.uf-hero__media--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.uf-hero__media--photo::after { display: none; }
.uf-hero__media--photo .photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(14, 11, 8, 0.35) 0%,
      rgba(14, 11, 8, 0) 35%,
      rgba(14, 11, 8, 0) 55%,
      rgba(14, 11, 8, 0.88) 100%);
  z-index: 1;
}
.uf-hero__media--photo .uf-hero__media-meta { z-index: 2; }
.uf-hero__media--photo .uf-hero__media-label { z-index: 2; color: #fff; }
.uf-hero__media--photo .uf-hero__media-label .caption { color: var(--feed-300); }

/* ============== HERO LAYOUTS ============== */
.uf-hero--side .uf-hero__grid {
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: start;
}

/* FULL — media goes full-bleed, copy floats inside */
.uf-hero--full { padding: 0; }
.uf-hero--full > .container {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
  position: relative;
}
.uf-hero--full .uf-hero__grid {
  display: block;
  position: relative;
  min-height: 520px;
}
.uf-hero--full .uf-hero__media-wrap {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.uf-hero--full .uf-hero__media {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  border: 0;
}
.uf-hero--full .uf-hero__media--photo .photo-overlay {
  background:
    linear-gradient(90deg,
      rgba(14,11,8,0.92) 0%,
      rgba(14,11,8,0.78) 35%,
      rgba(14,11,8,0.32) 65%,
      rgba(14,11,8,0.1) 100%),
    linear-gradient(180deg,
      rgba(14,11,8,0) 60%,
      rgba(14,11,8,0.7) 100%);
}
.uf-hero--full .uf-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 100px 40px 100px max(40px, calc((100vw - 1200px) / 2));
  color: #fff;
}
.uf-hero--full .uf-hero__copy h1 { color: #fff; }
.uf-hero--full .uf-hero__lede { color: rgba(255,255,255,0.78); }
.uf-hero--full .eyebrow { color: var(--feed-300); }
.uf-hero--full .uf-chip {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.92);
}
.uf-hero--full .uf-chip:hover { border-color: var(--feed-500); color: var(--feed-300); }
.uf-hero--full .uf-chip.active { background: var(--feed-500); border-color: var(--feed-500); color: #fff; }
.uf-hero--full .uf-hero__species-label { color: rgba(255,255,255,0.6); }
.uf-hero--full .btn--ghost { color: #fff; }
.uf-hero--full .btn--ghost .arrow,
.uf-hero--full .btn--ghost .arrow::after { background: var(--feed-300); border-color: var(--feed-300); }
.uf-hero--full .btn--secondary {
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}
.uf-hero--full .btn--secondary:hover {
  box-shadow: inset 0 0 0 1.5px var(--feed-500);
  background: rgba(216,90,27,0.15);
  color: #fff;
}

/* SPLIT — 60% media on left, copy block overlapping on right */
.uf-hero--split .uf-hero__grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  position: relative;
}
.uf-hero--split .uf-hero__media-wrap {
  display: block;
  margin-right: -120px;
  position: relative;
  z-index: 0;
}
.uf-hero--split .uf-hero__media {
  aspect-ratio: 5/6;
  height: 100%;
  min-height: 640px;
}
.uf-hero--split .uf-hero__copy {
  position: relative;
  z-index: 2;
  background: var(--cream-50);
  padding: 48px 40px;
  border: 1.5px solid var(--anth-900);
  margin-left: -160px;
  margin-top: 48px;
  margin-bottom: 48px;
  box-shadow: 12px 12px 0 var(--anth-900);
  align-self: center;
}

@media (max-width: 960px) {
  .uf-hero--full .uf-hero__grid { min-height: 600px; }
  .uf-hero--full .uf-hero__copy { padding-left: 24px; padding-right: 24px; }
  .uf-hero--split .uf-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .uf-hero--split .uf-hero__media-wrap { margin-right: 0; }
  .uf-hero--split .uf-hero__copy { margin: -40px 16px 0; box-shadow: 8px 8px 0 var(--anth-900); }
}

/* ============== SPECIES CARDS — real photos ============== */
.uf-species-card[data-id="aqua"]     .uf-species-card__media { background-image: url("images/species-aqua-photo.jpg");     background-size: cover; background-position: center; }
.uf-species-card[data-id="swine"]    .uf-species-card__media { background-image: url("images/species-swine-photo.jpg");    background-size: cover; background-position: center; }
.uf-species-card[data-id="poultry"]  .uf-species-card__media { background-image: url("images/species-poultry-photo.jpg");  background-size: cover; background-position: center; }
.uf-species-card[data-id="ruminant"] .uf-species-card__media { background-image: url("images/species-ruminant-photo.jpg"); background-size: cover; background-position: center; }
.uf-species-card__media > svg { display: none !important; }
.uf-species-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(14,11,8,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}
.uf-species-card__media-tag { z-index: 2; }
