/*! KAIYU PET CAGES — generated bundle.
 *  Built from css/*.css by tools/build-css.mjs. Do NOT edit this file; edit the
 *  sources and rebuild, otherwise the next build silently overwrites you.
 *  Order matters: later files override earlier ones.
 */

/* ===== fonts.css ===== */
/* ============================================================
   Self-hosted fonts — Noto Sans (Latin only, variable 400-700)
   ------------------------------------------------------------
   Why self-hosted:
     - fonts.googleapis.com is often slow / unreachable from CN,
       which makes the page flash a fallback face then swap.
   Why Latin only:
     - these woff2 files contain NO CJK glyphs. Chinese text falls
       through to the system UI font (PingFang SC / Microsoft YaHei),
       which renders CJK sharper than a 5-10MB web font would.
   unicode-range:
     - tells the browser to skip these files entirely for CJK
       requests, so Chinese never waits on a Latin download.
   ============================================================ */

/* Latin basic */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/noto-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Latin extended */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/noto-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== base.css ===== */
/* ===== Base / reset / design tokens ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* Order matters: Latin from self-hosted Noto Sans, CJK from the system UI
     font (PingFang SC on macOS, Microsoft YaHei on Windows). This is exactly
     how EKO renders — sharp Latin, razor-sharp system CJK, no font download. */
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #1f2937;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Form controls don't inherit the font by default — force it. */
button, input, select, textarea { font-family: inherit; }
/* A hair of tracking makes small copy read less cramped. */
p, li { letter-spacing: .01em; }

:root {
  --font: "Noto Sans", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 96px;
  --nav-h-scrolled: 58px;
  --brand: #15407a;
  --brand-2: #2f6fb0;
  --ink: #16202c;
  --text: #1f2937;
  --heading: #111827;
  --paper: #ffffff;
  --maxw: 1200px;
  /* Nav hover pill — red. Swap this one value to restyle every hover pill
     (menu items + language button). */
  --nav-pill: #e1251b;
  --nav-pill-ink: #ffffff;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Placeholder anchor sections (proves nav links really work) */
.placeholder-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0;
  scroll-margin-top: calc(var(--nav-h) + 16px);
  border-bottom: 1px solid #eef1f5;
}
.placeholder-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 12px;
}
.placeholder-section p {
  color: #5b6675;
  max-width: 640px;
  margin: 0;
}

/* Screen-reader only: keeps a real <h1> in the document (Google reads it,
   assistive tech announces it) without adding a visual heading to pages whose
   design already has its own headline. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Lock body scroll when mobile menu is open */
html.no-scroll { overflow: hidden; }

/* ===== nav.css ===== */
/* ===== Navigation component (EKO-style) ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /* Black type on a light glass bar — same reading as EKO's header.
     A pure transparent bar with black text vanished on dark video frames,
     so the bar carries a light veil while the footage still shows through. */
  color: #0a0a0a;
  background: rgba(255, 255, 255, .72);
  font-family: var(--font);
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
  /* NOTE: height intentionally does NOT change on scroll (user requirement) */
}

/* ===== Bottom hairline =====
   The bar is light now, so a white line would vanish. A soft dark hairline
   reads as a natural edge and still holds up over bright video. */
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(14, 22, 32, .26);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  pointer-events: none;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled::after,
.nav--solid::after {
  background: rgba(14, 22, 32, .14);
  box-shadow: none;
}

/* Scrolled state: solid white bar, same height */
.nav.is-scrolled {
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: 0 6px 24px rgba(15, 30, 60, .10);
}
/* Pages without a hero video: same light bar */
.nav--solid { background: #ffffff; color: #0a0a0a; }

/* Left / right / center layout like EKO: brand left, actions right, menu dead-center.
   minmax(0,1fr) on both side tracks is what keeps the menu truly centered —
   plain 1fr has a min-content floor, so a wide right side would push it off-axis. */
.nav__inner {
  position: relative;
  /* Nav gets its own wider container (does NOT touch the global --maxw, so no
     other section on the page is affected): the equal side tracks need enough
     room for brand | menu | search+language+CTA without pushing the menu off-axis. */
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 20px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  color: inherit;
  min-width: 0;
  justify-self: start;
}
.nav__logo { height: 60px; width: auto; flex: none; }
.nav__brandname {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
  white-space: nowrap;
}
.nav__brandname-main {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.nav__brandname-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 3.6px;
  margin-top: 3px;
  color: #55606d;
}

/* Desktop menu — centered by the equal side tracks above */
.nav__menu { justify-self: center; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0;   /* EKO: no gap — each item carries 20px side padding */
  list-style: none;
  margin: 0; padding: 0;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* Values copied from EKO's live stylesheet/computed styles:
     16px / 500 / uppercase / normal tracking / padding 5px 20px (=> 30px tall). */
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: uppercase;
  /* Reference site: resting items are grey, the current one reads black.
     Menu items never get a filled capsule — only the contact CTA is a pill. */
  color: #55606d;
  background: transparent;
  cursor: pointer;
  border: 0;
  line-height: 20px;
  transition: background-color .25s ease, color .25s ease;
}
/* Current page: the item owning the open route reads red (set by nav.js). */
.nav__link.is-active { color: var(--accent); font-weight: 600; }
/* Hover / open state: red TYPE, still no pill (reference: ALLRICH turns the
   hovered item red). Only the contact CTA would ever be a filled capsule. */
.nav__item:hover > .nav__link,
.nav__item.is-open > .nav__link,
.nav__item:focus-within > .nav__link {
  background: transparent;
  color: var(--nav-pill);
  text-shadow: none;
}
.nav.is-scrolled .nav__item:hover > .nav__link,
.nav.is-scrolled .nav__item.is-open > .nav__link,
.nav--solid .nav__item:hover > .nav__link,
.nav--solid .nav__item.is-open > .nav__link {
  background: transparent;
  color: var(--nav-pill);
}

.nav__link .caret {
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease;
  margin-top: -3px;
}
.nav__item:hover > .nav__link .caret,
.nav__item.is-open > .nav__link .caret { transform: rotate(225deg); }

/* Submenu / dropdown — grey pill panel, pill rows inside */
.nav__submenu {
  position: absolute;
  /* Drop below the bar itself, otherwise the bar's light backing covers the
     panel's rounded top and it reads as a square box again. */
  top: calc(100% + 30px);
  left: 0;
  min-width: 120px;
  width: max-content;
  max-width: 280px;
  list-style: none;
  margin: 0; padding: 7px;
  background: #e9ebee;                 /* grey, not white */
  color: #0a0a0a;
  border-radius: 34px;                 /* pill panel (single item = full capsule) */
  box-shadow: 0 18px 40px rgba(15, 30, 60, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
/* Transparent bridge so the pointer can travel from the pill to the panel
   without the dropdown closing in the 30px gap. */
.nav__submenu::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -32px; height: 32px;
}
.nav__item:hover > .nav__submenu,
.nav__item:focus-within > .nav__submenu,
.nav__item.is-open > .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__submenu li a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;              /* every row hover is a true capsule */
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: uppercase;
  white-space: nowrap;
  color: #0a0a0a;
  transition: background-color .2s, color .2s;
}
.nav__submenu li a:hover { background: #ffffff; color: #0a0a0a; }

/* Right-side actions (language + search + contact pill) */
.nav__actions { display: flex; align-items: center; gap: 14px; justify-self: end; }

/* ===== Red contact pill (reference-site CTA) ===== */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--nav-pill);
  color: var(--nav-pill-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav__cta:hover {
  background: #c71e15;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(225, 37, 27, .28);
}

/* ===== Language switcher ===== */
.nav__lang { position: relative; }
.nav__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;              /* same 30px pill height as the menu items */
  padding: 0 16px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nav__lang-btn .caret { margin-top: -3px; }

/* Single-language build: "EN" is just a label — no caret, no dropdown,
   nothing to click (there is no other language to switch to yet). */
.nav__lang--static { display: inline-flex; align-items: center; }
.nav__lang-label {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: uppercase;
  color: inherit;
  cursor: default;
  user-select: none;
}
.nav:not(.is-scrolled):not(.nav--solid) .nav__lang-btn:hover,
.nav.is-scrolled .nav__lang-btn:hover,
.nav--solid .nav__lang-btn:hover {
  background: transparent; color: var(--nav-pill); text-shadow: none;
}

.nav__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  list-style: none;
  margin: 0; padding: 6px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 30, 60, .18);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav__lang:hover > .nav__lang-menu,
.nav__lang.is-open > .nav__lang-menu,
.nav__lang:focus-within > .nav__lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__lang-opt {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.nav__lang-opt:hover { background: rgba(21, 64, 122, .08); color: var(--brand); }
.nav__lang-opt.is-active { color: var(--brand); font-weight: 600; cursor: default; }
.nav__lang-opt.is-active:hover { background: transparent; }

/* ===== Search box =====
   Always-visible pill field with the magnifier at its right end, like the
   hanxi reference. The contact pill was removed, which frees the room this
   field needs. */
.nav__search {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  width: 232px;
  padding: 0 5px 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(10, 20, 30, .22);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav__search:focus-within {
  background: #ffffff;
  border-color: rgba(225, 37, 27, .42);
  box-shadow: 0 0 0 3px rgba(225, 37, 27, .10);
}
.nav__search:hover { background: #ffffff; border-color: rgba(10, 20, 30, .34); }
.nav__search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #0a0a0a;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: normal;
}
.nav__search-input::placeholder { color: rgba(10, 20, 30, .55); }
.nav__search-input::-webkit-search-cancel-button { opacity: .55; }
.nav__search-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border: 0; border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color .2s ease;
}
.nav__search-btn:hover { background: rgba(10, 20, 30, .08); }

/* On the solid white bar the field turns a plain light grey pill */
.nav.is-scrolled .nav__search,
.nav--solid .nav__search {
  background: #f2f5f9;
  border-color: rgba(22, 32, 44, .10);
}
.nav.is-scrolled .nav__search:hover,
.nav--solid .nav__search:hover { background: #e8edf4; }
.nav.is-scrolled .nav__search-input::placeholder,
.nav--solid .nav__search-input::placeholder { color: #7b8494; }
.nav.is-scrolled .nav__search-btn:hover,
.nav--solid .nav__search-btn:hover { background: rgba(22, 32, 44, .08); }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 0; background: transparent;
  cursor: pointer;
  position: relative;
  color: inherit;
}
.nav__toggle span {
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 20px; }
.nav__toggle span:nth-child(3) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Mobile panel */
.nav__mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: #ffffff;
  color: var(--ink);
  overflow-y: auto;
  padding: 16px 20px 40px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}
.nav.is-scrolled .nav__mobile { top: var(--nav-h); }
.nav__mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__mobile .nav__list { display: block; }
.nav__mobile .nav__item { position: static; border-bottom: 1px solid #eef1f5; }
.nav__mobile .nav__link {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
}
.nav__mobile .nav__link:hover { background: transparent; color: var(--brand); }
.nav__mobile .nav__submenu {
  position: static;
  opacity: 1; visibility: visible; transform: none;
  box-shadow: none;
  background: transparent;
  padding: 0 0 8px 12px;
  display: none;
}
.nav__mobile .nav__item.is-open > .nav__submenu { display: block; }
.nav__mobile .nav__submenu li a {
  padding: 12px 8px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: #46505c;
}

/* Search + language inside the mobile panel */
.nav__mobile-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #eef1f5;
}
.nav__lang--mobile .nav__lang-btn { color: var(--ink); padding: 0 10px; }
.nav__lang--mobile .nav__lang-label { color: var(--ink); }
.nav__lang--mobile .nav__lang-menu { display: none; }
.nav__lang--mobile.is-open .nav__lang-menu { display: block; }
.nav__search--mobile {
  flex: 1;
  background: #f2f5f9;
  border-color: rgba(22, 32, 44, .10);
  color: var(--ink);
}
.nav__search--mobile .nav__search-input::placeholder { color: #8a94a2; }
.nav__search--mobile .nav__search-btn { color: var(--ink); }

/* Breakpoints */
@media (max-width: 900px) {
  .nav__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .nav__logo { height: 46px; }
  .nav__cta { height: 38px; padding: 0 16px; font-size: 13.5px; }
  .nav__actions { gap: 8px; }
  /* Search + language live inside the mobile panel instead */
  .nav__actions > .nav__search,
  .nav__actions > .nav__lang { display: none; }
}
/* Narrow desktop: tighten the gaps so the menu keeps its breathing room */
@media (min-width: 901px) and (max-width: 1399px) {
  .nav__inner { column-gap: 12px; padding: 0 16px; }
  .nav__link { padding: 5px 13px; font-size: 15px; }
  .nav__actions { gap: 10px; }
  .nav__search { width: 180px; padding-left: 13px; }
  .nav__brandname-sub { letter-spacing: 2.4px; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  /* Single-language label is the first thing to go when the bar gets tight */
  .nav__actions > .nav__lang { display: none; }
  .nav__search { width: 168px; }
}
@media (min-width: 901px) and (max-width: 1050px) {
  .nav__link { font-size: 14px; padding: 5px 9px; }
  .nav__lang-btn { padding: 0 10px; }
  .nav__search { width: 150px; }
}
@media (min-width: 901px) {
  .nav__mobile { display: none; }
}

/* ===== hero.css ===== */
/* ===== Hero: full-bleed video + black headline band (reference layout) ===== */
.hero {
  /* the bar is fixed, so the footage starts underneath it */
  padding-top: var(--nav-h);
  background: #ffffff;
}

.hero__frame {
  position: relative;
  /* The film is 1920x1080 with no letterbox bars and carries its own burned-in
     caption, so the window is 16:9 and centred: nothing is cropped off, the
     subtitle stays where it was shot. */
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background: #000;
}

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

.hero__video,
.hero__fallback,
.hero__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}
/* The still sits underneath the film and is painted from the first frame, so
   the hero has content before the video has buffered anything. It must stay
   below the video element — same stacking context, so the order is explicit. */
.hero__fallback { display: block; z-index: 0; }
.hero__video { z-index: 1; }

/* On video failure: hide the video, show the poster/fallback image */
.hero--failed .hero__video { display: none; }
.hero--failed .hero__fallback { display: block; }

/* Autoplay blocked by the device (low-power mode, Safari/WeChat settings):
   the video is still there showing its poster, it just never started. A tap
   starts it — that is the only gesture every mobile browser accepts. */
.hero__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.hero--paused .hero__play { display: flex; }
.hero__play:hover { background: rgba(0, 0, 0, 0.68); transform: translate(-50%, -50%) scale(1.06); }
.hero__play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero__play svg { width: 26px; height: 26px; margin-left: 3px; }

/* Black band under the video carrying the headline */
.hero__strip {
  background: #0a0a0a;
  color: #ffffff;
  padding: 30px 24px;
}
.hero__strip p {
  margin: 0;
  text-align: center;
  font-size: clamp(17px, 1.9vw, 27px);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
}

@media (max-width: 900px) {
  /* Same 16:9 window as the desktop hero. It used to be a 50vw band, which is
     wider than 16:9 and therefore cropped the top and bottom of the film — on a
     phone that clipped the burned-in caption. 16:9 shows the footage exactly as
     it was shot, no cropping, same as on desktop. */
  .hero__frame { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .hero__play { width: 48px; height: 48px; }
  .hero__play svg { width: 20px; height: 20px; }
  .hero__strip { padding: 20px 18px; }
  .hero__strip p { font-size: 15px; letter-spacing: .03em; }
}

/* ===== products.css ===== */
/* ════════════════════════════════════════════════════════════════════
   KAIYU PET · Product Centre + detail view (EKO layout, 1:1 numbers)
   1200 container · 200 filter rail · 300x360 cards · 760x760 + 380 detail
   Accent colour = the site's red (--accent); the logo stays blue.
   ════════════════════════════════════════════════════════════════════ */
.pcx {
  background: #fff;
  scroll-margin-top: var(--nav-h);
  /* The bar is fixed, so the page title needs the bar's height above it.
     The detail view gets the same clearance from `main` instead, so the two
     must not add up. */
  padding-top: var(--nav-h);
}
body.pcx-detail-open .pcx { padding-top: 0; }
.pcx__wp {
  width: 1200px;
  margin: 0 auto;
}
/* On narrower viewports the fixed 1200px box would touch the screen edges with
   no breathing room. Go fluid with side padding so the product area never sits
   flush against the viewport on either side. */
@media (max-width: 1240px) {
  .pcx__wp {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    box-sizing: border-box;
  }
}
.pcx__pagetitle {
  margin: 52px 0 32px;
  /* The product grid sits to the right of the 240px filter rail (+26 gap),
     so a page-centred title reads off-centre against the cards. This padding
     shifts the text centre right by half that offset, onto the grid's axis. */
  padding-left: 240px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: #222;
}
@media (max-width: 900px) {
  .pcx__pagetitle { padding-left: 0; }
}

/* ---------- layout: rail + content ---------- */
.pcx__wp .pcx__layout,
.pcx__layout {
  display: flex;
  align-items: flex-start;
}
.pcx__side {
  flex: 0 0 240px;
  width: 240px;
  margin-right: 26px;
}
.pcx__content {
  flex: 1;
  min-width: 0;
  /* mirror the sidebar's 26px gap on the right so the product grid is not
     flush against the container edge — balanced left/right breathing room. */
  padding-right: 26px;
}

/* ---------- filter rail ---------- */
/* Scaled up to the EKO reference proportions: taller rows, more padding, so
   the rail doesn't end as a short stub (user: "拉长一点 不要那么短截"). */
.pcx__nav {
  background: #fafafa;
  padding: 20px 18px 18px;
  line-height: 50px;
  margin-bottom: 20px;
}
.pcx__navtitle {
  margin: 0 0 6px;
  line-height: 46px;
  padding-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
  color: #222;
  border-bottom: 1px solid var(--accent);
}
.pcx__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pcx__nav li {
  position: relative;
  font-size: 16.5px;
  color: #222;
  border-bottom: 1px solid #bfc0c0;
}
.pcx__nav li:last-child { border-bottom: none; }
.pcx__nav li a {
  display: block;
  padding-left: 10px;
  padding-right: 38px;
  cursor: pointer;
  user-select: none;
  transition: color .15s ease;
}
.pcx__nav li a:hover { color: var(--accent); }
/* Checkbox-style marker on the right of each filter item. Empty = grey square,
   selected = red filled square. Vertically centred so it always shows fully. */
.pcx__box {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background: #fff;
  border: 1.5px solid #b5b6b6;
  border-radius: 3px;
  transition: background-color .15s ease, border-color .15s ease;
}
.pcx__nav li.on .pcx__box {
  background: var(--accent);
  border-color: var(--accent);
}
.pcx__nav li.on { background: #fdeceb; }
.pcx__nav li.on a { font-weight: 700; }
.pcx__clear {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  border: 1px solid #e3e3e3;
  background: #fff;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.pcx__clear:hover { color: #222; border-color: #bfc0c0; }

/* ---------- product grid ---------- */
.pcx__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 30px;
}
.pcx__grid li {
  text-align: center;
  font-size: 16px;
}
.pcx__pic {
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 5 / 6;
  margin: 0 auto;
  background: #fff;
}
.pcx__pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .8s ease;
}
.pcx__grid li:hover .pcx__pic img { transform: scale(1.02); }
.pcx__name {
  margin-top: 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  min-height: 51px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcx__name a {
  color: #222;
  transition: color .3s ease;
}
.pcx__grid li:hover .pcx__name a { color: var(--accent); }
.pcx__slogan {
  height: 26px;
  margin-top: 2px;
  line-height: 26px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  color: #9aa0a6;
}.pcx__model {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .6px;
  color: #111827;
}
.pcx__more {
  text-align: center;
  margin: 18px 0 78px;
}
.pcx__more button {
  padding: 10px 44px;
  border: 1px solid #333;
  background: #fff;
  color: #222;
  font-size: 15px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all .2s ease;
}
.pcx__more button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pcx__empty {
  padding: 60px 0 90px;
  text-align: center;
  font-size: 16px;
  color: #999;
}

/* The catalogue is empty while the new photography is being prepared: this is
   a statement about the site, not a filter result, so it gets room and weight. */
.pcx__empty.is-empty-catalogue {
  max-width: 30em;
  margin: 0 auto;
  padding: 120px 0 140px;
  font-size: 17px;
  line-height: 1.75;
  color: #6b7280;
}
.pcx__empty.is-empty-catalogue a {
  color: var(--nav-pill, #e1251b);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- detail view ---------- */
.pcx__crumb {
  margin: 26px 0 12px;
  overflow: hidden;
  font-size: 14px;
  color: #a1a1a1;
}
.pcx__crumb a { color: inherit; }
.pcx__crumb a:hover { color: var(--accent); }
.pcx__dwrap { overflow: hidden; }
.pcx__dleft {
  float: left;
  width: 760px;
  margin-right: 60px;
  margin-bottom: 60px;
}
.pcx__dright {
  float: left;
  width: 380px;
}
.pcx__stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
}
.pcx__stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pcx__prev,
.pcx__next {
  position: absolute;
  top: 50%;
  margin-top: -22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
  font-size: 26px;
  color: #666;
  cursor: pointer;
  z-index: 3;
  user-select: none;
}
.pcx__prev { left: 20px; }
.pcx__next { right: 20px; }
.pcx__prev:hover,
.pcx__next:hover { color: #222; background: #fff; }
.pcx__dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  z-index: 3;
}
.pcx__dots li {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 8px;
  border-radius: 50%;
  background: #d8d8d8;
  cursor: pointer;
}
.pcx__dots li.on { background: var(--accent); }

.pcx__den {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--accent);
}
.pcx__did {
  margin-bottom: 26px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}
.pcx__dname {
  /* Rendered as <h1> for SEO — reset the browser's default heading margins
     so the block keeps exactly the same spacing it had as a <div>. */
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
}

/* Detail-page call to action: the buyer has just read the specs, so the quote
   button sits right under the data table instead of at the bottom of the page. */
.pcx__dcta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.pcx__dcta-main,
.pcx__dcta-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.pcx__dcta-main {
  background: var(--nav-pill);
  color: #fff;
  border: 1px solid var(--nav-pill);
}
.pcx__dcta-main:hover {
  background: #c31f16;
  border-color: #c31f16;
}
.pcx__dcta-wa {
  background: #f2fbf6;
  color: #0f7c42;
  border: 1px solid #cfe8d8;
  font-weight: 600;
}
.pcx__dcta-wa:hover {
  background: #e6f7ee;
  border-color: #25d366;
}
.pcx__dcta-wa svg { width: 17px; height: 17px; }
.pcx__dfeat {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  font-size: 16px;
  line-height: 30px;
  color: #44403f;
}
.pcx__dfeat li::before { content: "- "; }

.pcx__meta {
  margin-bottom: 26px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-size: 15px;
  line-height: 30px;
  color: #44403f;
}
.pcx__meta b {
  display: inline-block;
  min-width: 110px;
  color: #111827;
}
.pcx__ddesc {
  clear: both;
  margin-bottom: 60px;
  line-height: 230%;
  color: #44403f;
}
.pcx__ddesc strong {
  display: inline-block;
  margin-top: 20px;
  font-size: 22px;
  color: #222;
}
.pcx__ddesc p { font-size: 17px; }
.pcx__back { margin-bottom: 60px; }
.pcx__back a { font-size: 15px; color: #999; }
.pcx__back a:hover { color: var(--accent); }

/* detail open: hide every other section of the one-page site; the main
   padding keeps the breadcrumb clear of the fixed nav at any scroll position */
body.pcx-detail-open #hero-root,
body.pcx-detail-open main > :not(#products-root) { display: none; }
body.pcx-detail-open main { padding-top: calc(var(--nav-h) + 4px); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .pcx__wp { width: 96%; }
}
@media (max-width: 1080px) {
  .pcx__dleft { float: none; width: 100%; margin-right: 0; }
  .pcx__dright { float: none; width: 100%; }
}
@media (max-width: 860px) {
  .pcx__layout { flex-direction: column; }
  .pcx__side { width: 100%; flex: none; margin: 0 0 10px; }
  .pcx__nav { margin-bottom: 12px; }
  .pcx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; }
  .pcx__name { margin-top: 16px; font-size: 15.5px; min-height: 47px; }
}

/* ===== home.css ===== */
/* =====================================================================
   HOMEPAGE SECTIONS — layout modelled on the ALLRICH reference site.
   Order: about (ghost word + stats) → solutions → product center
          → trio → news → contact strip → footer → side rail
   ===================================================================== */

:root {
  --accent: #e1251b;
  --accent-dark: #c71e15;
  --dark: #0a0a0a;
  --hair: #e7eaef;
}

/* ---------- shared bits ---------- */
.sec__label {
  margin: 0 0 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .02em;
  color: #8b95a3;
}
.sec__label--light { color: rgba(255, 255, 255, .8); }
.sec__label--left { text-align: left; }

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-red:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(225, 37, 27, .28);
}

/* ---------- giant word with the photo clipped into the glyphs ----------
   Three layers share identical metrics so they register exactly:
   .ghost    -> transparent spacer that reserves the box
   ::before  -> extruded body (stacked outlines down-right) + soft drop shadow
   ::after   -> the photo, clipped to the letters
   The photo is only ever cropped/filtered by CSS — the source file is untouched. */
.ghost {
  position: relative;
  /* Block + fit-content + auto margins: the box is centred by LAYOUT, not by
     text-align, so a stray whitespace node can never shift it off-axis. */
  display: block;
  width: fit-content;
  margin-inline: auto;
  font-size: clamp(52px, 13.5vw, 190px);
  font-weight: 800;
  font-style: italic;
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: transparent;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  max-width: 100%;
  /* Optical centring: the italic lean plus the down-right 3D extrusion put the
     ink centroid ~0.1em right of the glyph box (measured on the render:
     971.3 vs 952.0 at 190px). Nudging the whole layer back by that amount
     makes the word read as centred; the box itself stays page-centred. */
  transform: translateX(-0.102em);
}
/* The word itself is drawn ONLY by the pseudo-elements (content: attr(data-text)).
   There is no text node inside the span, so a browser translator can never
   rewrite it — translating the page used to shrink the box from 604px to 384px
   and throw the word off-axis.
   ::before is in flow -> it gives the box its width.
   ::after is the photo layer on top. */
.ghost::before,
.ghost::after {
  content: attr(data-text);
  display: block;
  white-space: nowrap;
  text-align: inherit;
  pointer-events: none;
}
.ghost::before {
  color: #6d84a2;
  text-shadow:
    .012em .012em 0 #7b90ad,
    .024em .024em 0 #748aa8,
    .036em .036em 0 #6d84a2,
    .048em .048em 0 #667d9b,
    .06em .06em 0 #5f7694,
    .072em .072em 0 #586f8d,
    .084em .084em 0 #516886;
  filter: drop-shadow(0 .055em .08em rgba(16, 30, 54, .34));
}
.ghost::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* NOTE: hard-coded here on purpose — a url() passed through a custom property
     from an inline style resolves against THIS stylesheet (css/…), which 404s. */
  background-image: url("../assets/pc-factory.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 40%;
  /* lifts a flat phone shot without touching the source file */
  filter: saturate(1.22) contrast(1.10) brightness(1.02);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* =========================== ABOUT =========================== */
.about {
  background: #fff;
  padding: 86px 0 0;
  text-align: center;
  scroll-margin-top: var(--nav-h);
}
.about__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.about__copy { margin-top: 36px; }
.about__line {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: #4b5563;
}
.about__line:first-child { color: #111827; font-weight: 600; }
.about__inner .btn-red { margin-top: 34px; }

.stats {
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 52px 24px 60px;
  /* Uniform dot grid (original version, restored at user request):
     one 1.6px dot every 18px, reading as horizontal rows of dots. */
  background-image: radial-gradient(#e6e9ee 1.6px, transparent 1.6px);
  background-size: 18px 18px;
  background-position: center;
  background-repeat: repeat;
}
.stat { text-align: center; }
.stat__label {
  display: block;
  font-size: 15px;
  color: #6b7280;
}
.stat__value {
  display: block;
  margin-top: 8px;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.stat__unit {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  margin-left: 5px;
  color: #374151;
}

/* =========================== SOLUTIONS =========================== */
/* Split hero: copy on plain white, photograph in a frame of its own.
   Nothing here is glass, and nothing is full-bleed — a 1138px-wide source
   inside a contained column is only ever scaled down, so it stays sharp. */
.sol {
  background: #fff;
  scroll-margin-top: var(--nav-h);
  /* The reveal animation slides this block in from the right (translateX).
     Before it triggers, the offset sits outside the viewport and used to add
     ~32px of horizontal scroll on phones. Clipping the section keeps the
     slide-in effect while the page stays exactly as wide as the screen. */
  overflow: hidden;
}
.sol__inner {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 56px;
}
/* The copy column is set as a tight editorial block: a ruled kicker, a heavy
   two-line headline, one restrained deck, a spec-style category track and a
   single primary action with a quieter secondary one. */
.sol__copy { padding: 84px 0; }

.sol__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.sol__eyebrow i {
  flex: 0 0 auto;
  width: 30px;
  height: 2px;
  background: var(--accent);
}
.sol__title {
  margin: 0;
  font-size: clamp(30px, 3.9vw, 54px);
  font-weight: 800;
  line-height: 1.045;
  letter-spacing: -.028em;
  color: #111827;
  text-wrap: balance;
}
.sol__title span { display: block; }
.sol__sub {
  margin: 20px 0 0;
  max-width: 39ch;
  font-size: clamp(14.5px, 1.05vw, 15.5px);
  line-height: 1.74;
  color: #5b6779;
}

/* Category selector as a tab rail: four equal columns over one continuous
   hairline, the active tab carrying a red rule. Free-width labels broke 3+1 at
   1280 and left four rules of different lengths inside the row, so the columns
   are equal and each tab draws its own segment of the line. */
.sol__cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 34px 0 0;
}
.sol__cat {
  min-width: 0;
  padding: 12px 6px 13px;
  border: 0;
  border-bottom: 1px solid #e9edf2;
  background: none;
  color: #6b7280;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.sol__cat:hover {
  color: #111827;
  border-bottom-color: #c3cad5;
  box-shadow: inset 0 -1px 0 0 #c3cad5;
}
.sol__cat.is-active {
  color: #111827;
  border-bottom-color: var(--accent);
  /* second pixel of the rule, drawn without moving the label */
  box-shadow: inset 0 -1px 0 0 var(--accent);
}
.sol__cat:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.sol__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}
/* squared CTAs to match the tab track, while the rest of the site keeps capsules */
.sol__actions .btn-red {
  min-width: 0;
  height: 50px;
  padding: 0 24px;
  gap: 10px;
  border-radius: 4px;
  letter-spacing: .005em;
  box-shadow: 0 10px 22px -10px rgba(225, 37, 27, .6);
}
.sol__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border: 1px solid #d7dce4;
  border-radius: 4px;
  background: #fff;
  color: #16202c;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .005em;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.sol__ghost:hover { background: #16202c; border-color: #16202c; color: #fff; }
.sol__arw {
  flex: 0 0 auto;
  transition: transform .26s cubic-bezier(.2, .6, .3, 1);
}
.sol__actions a:hover .sol__arw { transform: translateX(4px); }
.sol__ghost:focus-visible,
.sol__actions .btn-red:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- the photograph: a contained frame that behaves like a short film ----
   1) slow push-in on the active shot (9s, scale 1 → 1.05) — the 1138px
      source is only ever downsampled, so the picture stays sharp;
   2) a fade-in-over cut: the incoming photo fades in ON TOP of the outgoing
      one, which stays at full opacity underneath. A true cross-fade would
      drop both to ~50% at the midpoint and let the pale frame background
      bleed through — that wash-out is what read as a harsh flick;
   Frame ratio is 16 / 9 on purpose: all four files are 1138x640, so a 4:3 box
   cropped a quarter of every picture sideways and read as a square. */
.sol__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef1f5;
}

.sol__shot {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  transition: none;
}
/* the frame that is leaving keeps full opacity underneath, so the picture
   never goes half-transparent over the pale background */
.sol__shot.is-prev { z-index: 1; opacity: 1; }
.sol__shot.is-on {
  z-index: 2;
  opacity: 1;
  transition: opacity .95s cubic-bezier(.32, .06, .22, 1);
}
/* The push-in is a TRANSITION, not a keyframe animation: when a frame leaves
   mid-move the transform just carries on from wherever it had got to instead
   of snapping back to its start value. Amplitude stays at 5%, and shots
   1 and 3 drift the other way so consecutive frames never pulse in sync. */
.sol__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 9s linear;
  will-change: transform;
}
.sol__shot[data-i="1"] img,
.sol__shot[data-i="3"] img { transform: scale(1.05); }
.sol__shot.is-on img { transform: scale(1.05); }
.sol__shot[data-i="1"].is-on img,
.sol__shot[data-i="3"].is-on img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .sol__shot.is-on { transition: none; }
  .sol__shot img { transition: none; transform: none; }
}

/* =========================== JOURNEY RAIL =========================== */
/* A year scale sitting between Solutions and the product centre: one hairline,
   a tick for every year, the years set beneath it. The rule spans the full
   column so it runs slightly past the first and last tick, the way the
   reference does. Nothing is emphasised except the two ends. */
.tl {
  background: #fff;
  padding: 36px 0 40px;
}
.tl__inner {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 32px;
}
.tl__rail {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  /* minmax(0, 1fr): a 1fr track refuses to go below its content width, which
     made 24 four-digit labels push the rail past the viewport on phones */
  grid-auto-columns: minmax(0, 1fr);
  align-items: start;
}
.tl__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 1px;
  background: #d5dce5;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.15s cubic-bezier(.22, .7, .25, 1);
}
.tl.is-in .tl__track { transform: scaleX(1); }

.tl__node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .45s ease, transform .45s ease;
  transition-delay: calc(var(--i) * 32ms);
}
.tl.is-in .tl__node {
  opacity: 1;
  transform: none;
}
.tl__node i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9b3c1;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.tl__node b {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: #6f7b8c;
  transition: color .25s ease;
}

/* the two ends: founding year in red, today in ink */
.tl__node.is-first i {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(225, 37, 27, .13);
}
.tl__node.is-first b { color: var(--accent); font-weight: 700; }
.tl__node.is-last i {
  background: #16202c;
  box-shadow: 0 0 0 3px rgba(22, 32, 44, .1);
}
.tl__node.is-last b { color: #16202c; font-weight: 700; }

.tl__node:hover i { background: #16202c; }
.tl__node:hover b { color: #16202c; }
.tl__node.is-first:hover i { background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .tl__track,
  .tl__node { transition: none; }
  .tl__track { transform: scaleX(1); }
  .tl__node { opacity: 1; transform: none; }
}

/* narrower: the labels shrink first, then only the two ends keep a label */
@media (max-width: 900px) {
  .tl { padding: 38px 0 42px; }
  .tl__inner { padding: 0 18px; }
  .tl__node { gap: 11px; }
  .tl__node b { font-size: 10.5px; letter-spacing: 0; }
}

@media (max-width: 820px) {
  .tl__node b { display: none; }
  .tl__node.is-first b,
  .tl__node.is-last b { display: block; font-size: 11px; }
  .tl__node i { width: 5px; height: 5px; }
  .tl__track { top: 2px; }
}

/* =========================== PRODUCT CENTER =========================== */
.pc {
  background: #fff;
  padding: 92px 0 96px;
  scroll-margin-top: var(--nav-h);
}
.pc__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.pc__title {
  margin: 0 0 48px;
  text-align: center;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.pc__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 32px;
  margin-bottom: 40px;
}
/* Text-only tabs. The old line-art pictograms read as generic "AI" symbols,
   so the category is carried by the label plus a single red rule. */
.pc__tab {
  position: relative;
  padding: 6px 0 12px;
  border: 0;
  background: none;
  color: #6b7280;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  cursor: pointer;
  transition: color .2s ease;
}
.pc__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background-color .2s ease;
}
.pc__tab:hover { color: #111827; }
.pc__tab.is-active { color: #111827; font-weight: 650; }
.pc__tab.is-active::after { background: var(--accent); }
.pc__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.pc__slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pc__slider::-webkit-scrollbar { display: none; }
.pc__track { display: flex; gap: 24px; }
.pc__card {
  flex: 0 0 calc((100% - 72px) / 4);
  scroll-snap-align: start;
  display: block;
  color: inherit;
}
.pc__thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f6f9;
}
.pc__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.pc__card:hover .pc__thumb img { transform: scale(1.04); }
.pc__label {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #16202c;
}
.pc__card:hover .pc__label { color: var(--accent); }

.pc__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
}
.pc__progress {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--hair);
}
.pc__progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12%;
  background: var(--accent);
  transition: width .35s ease;
}
.pc__arrows { display: flex; gap: 12px; }
.pc__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e2e6ec;
  border-radius: 50%;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.pc__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* =========================== TRIO CARDS =========================== */
.trio {
  background: #fff;
  padding: 0 0 96px;
  scroll-margin-top: var(--nav-h);
}
.trio__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.trio__card {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  color: #fff;
  background: #0d1218;
}
.trio__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.trio__card:hover .trio__bg { transform: scale(1.05); }
.trio__card--dark .trio__bg { opacity: .28; }
.trio__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, .82), rgba(8, 12, 18, .3) 46%, rgba(8, 12, 18, .78));
}
.trio__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 30px;
}
.trio__title { font-size: 22px; font-weight: 700; }
.trio__text {
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(255, 255, 255, .86);
  max-width: 34ch;
}

/* =========================== CERTIFICATES (open book) =========================== */
.certs {
  background: #f6f7f9;
  padding: 92px 0 96px;
  scroll-margin-top: var(--nav-h);
}
.certs__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.certs__title {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
}
.certs__intro {
  margin: 0 auto 46px;
  max-width: 660px;
  font-size: 15px;
  line-height: 1.7;
  color: #5a6675;
}

.book { max-width: 1000px; margin: 0 auto; outline: none; }
.book:focus-visible .book__stage { outline: 2px solid var(--accent); outline-offset: 8px; }

.book__stage {
  position: relative;
  display: grid;
  perspective: 2400px;
}

/* ---- the book itself: a cover board with the two sheets bound into it ---- */
.book__cover {
  position: relative;
  padding: 16px 18px;
  border-radius: 8px;
  /* the turning sheet is a DIRECT child, so this perspective is what gives
     its rotateY real foreshortening — without it the flip renders as a flat
     horizontal squeeze, which is why the turn read as stiff */
  perspective: 2200px;
  /* warm paper board — a certificate binder, not a black box, so the
     colourful documents keep their presence */
  background:
    linear-gradient(90deg, rgba(140, 122, 92, 0) 46%, rgba(140, 122, 92, .26) 50%, rgba(140, 122, 92, 0) 54%),
    linear-gradient(180deg, #f5f0e6, #eae3d4);
  box-shadow:
    inset 0 0 0 1px rgba(120, 104, 78, .12),
    0 26px 52px rgba(90, 76, 56, .18);
}
/* fore-edges: the cut ends of the sheet stack sticking out on both sides */
.book__cover::before,
.book__cover::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 7px;
  border-radius: 3px;
  background: repeating-linear-gradient(180deg, #ffffff 0 2px, #dde3ec 2px 4px);
  box-shadow: 0 0 0 1px rgba(12, 20, 34, .14);
  pointer-events: none;
}
.book__cover::before { left: -7px; }
.book__cover::after { right: -7px; }

.book__spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

/* each page is a sheet of paper: white board around the document */
.book__page { margin: 0; min-width: 0; cursor: pointer; }
.book__page--blank { cursor: default; }
.book__page img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 16px 34px rgba(16, 26, 44, .16);
  transition: box-shadow .25s ease;
}
.book__page:not(.book__page--blank):hover {
  box-shadow: 0 20px 40px rgba(8, 14, 26, .38);
}
.book__page--blank {
  aspect-ratio: 1 / 1.414;
  background: transparent;
}
.book__page:not(.book__page--blank) {
  padding: 14px 14px 0;
  border: 1px solid rgba(120, 104, 78, .16);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(80, 68, 50, .22);
}
.book__page:not(.book__page--blank) img {
  border: 1px solid #eceff4;
  box-shadow: none;
}
.book__page:not(.book__page--blank) .book__cap { padding: 14px 2px 18px; }
.book__ph {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1.414;
  background: #fff;
  box-shadow: 0 16px 34px rgba(16, 26, 44, .10);
  font-size: 13px;
  line-height: 1.7;
  color: #9aa4b2;
  text-align: center;
}

.book__cap { padding-top: 16px; text-align: left; }
.book__cap strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}
.book__issuer {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #6b7280;
}
.book__cap p {
  margin: 9px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #5a6675;
}

.book__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}
.book__nav {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d8dee8;
  border-radius: 50%;
  background: #fff;
  color: #16202c;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, opacity .2s ease;
}
.book__nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.book__nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.book__nav:disabled { opacity: .3; cursor: default; }
.book__count {
  font-size: 14px;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.book__count b { color: #111827; font-weight: 600; }

/* ---- the sheet in flight: one page crosses the gutter ---- */
.book__turn {
  position: absolute;
  top: 0;
  left: calc(50% + 17px);
  right: 0;
  z-index: 6;
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  pointer-events: none;
  will-change: transform;
}
.book__turn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(120, 104, 78, .26), rgba(120, 104, 78, 0) 55%);
  opacity: 0;
  pointer-events: none;
}
.book__turn--next { animation: sheetNext .95s cubic-bezier(.45, .05, .55, .95) forwards; }
.book__turn--prev { animation: sheetPrev .95s cubic-bezier(.45, .05, .55, .95) forwards; }
.book__turn--next::after { animation: sheetShade .95s ease-in-out forwards; }
.book__turn--prev::after { animation: sheetShade .95s ease-in-out reverse forwards; }

@keyframes sheetNext {
  0%   { transform: rotateY(0deg)    translateZ(0); }
  50%  { transform: rotateY(-94deg)  translateZ(34px); }
  100% { transform: rotateY(-180deg) translateZ(0); }
}
@keyframes sheetPrev {
  0%   { transform: rotateY(-180deg) translateZ(0); }
  50%  { transform: rotateY(-86deg)  translateZ(34px); }
  100% { transform: rotateY(0deg)    translateZ(0); }
}
/* light sweeping across the moving page */
@keyframes sheetShade {
  0%   { opacity: 0; }
  55%  { opacity: .55; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .book__turn { display: none; }
}

/* =========================== NEWS =========================== */
/* Non-home pages open with their lead section flush at the top of the
   document, where the fixed bar sits — give that section the bar's height
   plus breathing room so labels, dates and headings never slide beneath it. */
body[data-page="news"] .news,
body[data-page="contact"] .cta,
body[data-page="about"] .about {
  padding-top: calc(var(--nav-h) + 34px);
}
.news {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 86px 0 96px;
  scroll-margin-top: var(--nav-h);
}
.news::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 32%;
  background-image: radial-gradient(rgba(225, 37, 27, .17) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  pointer-events: none;
}
.news__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
}
.news__side { text-align: left; }
.news__heading {
  margin: 0 0 34px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}
.news__list { display: flex; flex-direction: column; }
.news__item { padding: 26px 0; border-bottom: 1px solid var(--hair); }
.news__item:first-child { padding-top: 0; }
.news__item:last-child { border-bottom: 0; padding-bottom: 0; }
.news__date { font-size: 14px; color: #6b7280; }
.news__title {
  margin: 10px 0 12px;
  font-size: 19px;
  font-weight: 600;
  color: #111827;
  line-height: 1.45;
}
.news__excerpt {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #5b6675;
}

/* Each news card links to its own article page now: keep the existing spacing,
   add only a hover cue so it reads as clickable. */
.news__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.news__link:hover .news__title {
  color: var(--nav-pill);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news__link:hover .news__excerpt {
  color: #3d4a58;
}
.news__link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 6px;
  border-radius: 4px;
}

/* The home page previews the three newest notes and leaves the rest to /news.
   The listing and the home block share one DOM node, so the split is driven by
   the page flag the router writes on <body> — no JS re-render on navigation. */
body[data-page="home"] .news__list .news__item:nth-of-type(n + 4) {
  display: none;
}

/* =========================== CONTACT STRIP =========================== */
/* Plain pale panel, no photograph behind it: the strip closes the page in the
   same light key as the footer, so the two read as one quiet ending instead of
   a dark band sitting on top of a dark footer. */
.cta {
  position: relative;
  background: #f4f6f8;
  color: #111827;
  padding: 66px 0 62px;
  scroll-margin-top: var(--nav-h);
}
.cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cta__title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.015em;
  color: #111827;
}
.cta__sub {
  margin: 0 0 40px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.75;
  color: #5a6675;
}
.cta__form {
  display: grid;
  grid-template-columns: .9fr .9fr 1.5fr auto;
  align-items: center;
  padding: 8px 8px 8px 26px;
  border: 1px solid #e1e6ee;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(17, 24, 39, .05);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cta__form:focus-within {
  border-color: #c9d1dd;
  box-shadow: 0 4px 18px rgba(17, 24, 39, .08);
}
.cta__field {
  min-width: 0;
  padding: 13px 18px;
  border: 0;
  border-right: 1px solid #e6e9ee;
  background: transparent;
  color: #111827;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
.cta__field::placeholder { color: #9aa4b2; }
.cta__field--area {
  resize: none;
  min-height: 50px;
  max-height: 200px;
  line-height: 1.5;
  padding-top: 14px;
  overflow-y: auto;
}
.cta__send {
  height: 46px;
  margin-left: 8px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease;
}
.cta__send:hover { background: var(--accent-dark); }
.cta__note {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: #5a6675;
}
/* the status line should not reserve a gap until there is something to say */
.cta__note:empty { margin: 0; }
.cta__note.is-warn { color: #c02418; }

/* Consent line under the form. EU visitors need to be told what happens to
   their details, and Google Ads checks for it during landing-page review. */
.cta__consent {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #6b7280;
}
.cta__consent a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 64, 122, 0.3);
}
.cta__consent a:hover {
  color: var(--nav-pill);
  border-bottom-color: var(--nav-pill);
}

/* =========================== FOOTER =========================== */
/* Modelled on the EKO domestic footer: brand, three link columns, a flag grid
   of markets and a QR / hotline block, with hairlines between the groups and a
   centred social row above the notice. Type is deliberately larger than a
   typical footer — the reference reads at 14–15px, not 12. */
.foot {
  background: #fff;
  color: #4b5563;
  border-top: 1px solid #eef1f5;
}
.foot__inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 54px 32px 42px;
  display: grid;
  /* brand runs across the top, the three groups sit beneath it so the link
     columns never have to squeeze "Small Animal Cages" onto two lines */
  /* the link columns only need ~170px each; the freed width goes to the flag
     grid so each cloth is as dominant inside its cell as the reference */
  grid-template-columns: 540px minmax(0, 1fr) 250px;
  row-gap: 34px;
  column-gap: 0;
}
.foot__brand { grid-column: 1 / -1; }
.foot__company {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -.01em;
  color: #111827;
  text-wrap: balance;
}
.foot__tagline {
  margin: 0;
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.72;
  color: #5a6675;
}

/* ---- three link columns ----
   The column titles ("Products" / "Solutions" / "Company") and the block under
   them are centred inside their own column, so every heading in the footer
   nav sits on the centre line of its column. */
.foot__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-right: 16px;
  text-align: center;
}
.foot__title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}
.foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.45;
}
.foot__links a { color: #5a6675; transition: color .2s ease; }
.foot__links a:hover { color: var(--accent); }

/* ---- markets: big flags over their names, three across ---- */
.foot__mk {
  padding: 0 30px;
  border-left: 1px solid #eef1f5;
  text-align: center;
}
.foot__markets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* an even 3x2 grid; every cloth sits in the middle of its own cell */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}
.foot__markets li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-align: center;
}
.foot__flagwrap {
  position: relative;
  display: block;
  width: 96px;
  height: 63px;   /* the supplied PNGs are all 170x112 (≈1.52) — same cell */
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(17, 24, 39, .25);
}
/* the user-supplied cloths already carry their own sheen — no extra overlay */
/* fill, not contain: the artwork (1.518) and the cell (1.524) differ by four
   tenths of a percent, so filling leaves no visible distortion and can never
   show a letterbox stripe at either side */
.foot__flagwrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.foot__mk-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #4b5563;
}

/* ---- QR pair + hotline + address ---- */
.foot__aside {
  padding-left: 30px;
  border-left: 1px solid #eef1f5;
}
.foot__qrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.foot__qr { margin: 0; text-align: center; }
.foot__qr img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 5px;
  border: 1px solid #eef1f5;
  border-radius: 4px;
  background: #fff;
}
.foot__qr figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: #5a6675;
}
.foot__info {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot__info li,
.foot__info a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.foot__info a:hover span { color: var(--accent); }
.foot__ico { flex: none; margin-top: 1px; color: #9aa4b2; }
.foot__info i {
  display: block;
  margin-bottom: 3px;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #98a2b3;
}
.foot__info span {
  display: block;
  font-size: 13.5px;
  line-height: 1.65;
  color: #374151;
  word-break: break-word;
  transition: color .2s ease;
}

/* ---- centred social row + notice ---- */
.foot__bar {
  border-top: 1px solid #eef1f5;
  padding: 26px 32px;
  text-align: center;
}
.foot__social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.foot__soc {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f4f8;
  color: #4b5563;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.foot__soc:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
/* WeChat has no "add friend" web URL — the icon is a button that pops the QR
   up above it so the visitor scans it with their phone instead. */
.foot__qrwrap { position: relative; display: inline-grid; }
.foot__soc[aria-expanded] { cursor: pointer; border: 0; font-family: inherit; }
.foot__qrpop {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 190px;
  padding: 12px 12px 10px;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(10, 18, 30, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  text-align: center;
  z-index: 6;
}
.foot__qrwrap.is-open .foot__qrpop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.foot__qrpop img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 5px;
  border: 1px solid #eef1f5;
  border-radius: 4px;
  background: #fff;
}
.foot__qrpop b {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #374151;
}
.foot__bar p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #8b95a3;
}

/* ---- scroll entrance: one-shot horizontal slide (classes added by main.js) ----
   Blocks slide in from the left, alternating with a right-side entrance
   (.rv--r), so the page feels like it assembles from both sides. */
/* Direction is picked per block in js/main.js (side copy slides in from its own
   side, wide bands fade straight up, card clusters ease in with a hair of
   scale) — not "everything slides left/right". Only opacity and transform
   animate, both compositor-only, so a 1200px grid can move without repainting.
   will-change is set here and dropped by JS once the block has landed, so the
   browser stops holding a layer for every section. */
.rv {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .58s ease, transform .66s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.rv--l { transform: translate3d(-32px, 0, 0); }
.rv--r { transform: translate3d(32px, 0, 0); }
.rv--z { transform: scale(.975); }
.rv--f { transform: none; }
.rv.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv,
  .rv--l,
  .rv--r,
  .rv--z,
  .rv--f {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* Row-by-row entrance for lists that read as a column of articles: each row
   arrives from alternating sides, 70ms behind the previous one, so the block
   assembles line by line instead of fading in as one slab. */
.rv-item {
  opacity: 0;
  transform: translate3d(-32px, 0, 0);
  transition: opacity .55s ease, transform .62s cubic-bezier(.22, .61, .36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.rv-item--r { transform: translate3d(32px, 0, 0); }
.rv-item.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv-item,
  .rv-item--r {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* =========================== SIDE RAIL =========================== */
.rail {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rail__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 68px;
  padding: 12px 6px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease;
}
.rail__item:hover { background: var(--accent-dark); }
/* "WhatsApp" is eight characters in a 64px pill — at the shared 12px it
   overflowed the button on phones. Slightly smaller type keeps it on one line. */
.rail__item--wa {
  font-size: 10.5px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.rail__item--wa:hover { background: var(--accent-dark); }
.rail__item:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

/* --- WeChat QR popover (opens to the left of the rail) --- */
.rail__qr-wrap { position: relative; }
.rail__qr {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  width: 208px;
  padding: 12px 12px 10px;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(10, 18, 30, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.rail__qr-wrap.is-open .rail__qr,
.rail__qr-wrap:hover .rail__qr {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.rail__qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.rail__qr p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #55606d;
  text-align: center;
}

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1320px) {
  /* the four blocks stop fitting on one line — brand and the link columns take
     full rows, markets and the QR block share the row beneath them */
  .foot__inner {
    grid-template-columns: minmax(0, 1fr) 250px;
    row-gap: 38px;
  }
  .foot__brand,
  .foot__nav { grid-column: 1 / -1; }
  .foot__nav { padding-right: 0; }
  .foot__mk { border-left: 0; padding-left: 0; padding-right: 30px; }
  .foot__aside { padding-left: 30px; }
}

@media (max-width: 1366px) {
  /* the longest label measures 121px in a 125px column — no side padding left */
  .sol__cat { padding-left: 0; padding-right: 0; font-size: 12.5px; }
  /* at 54px the second headline line ran to 540px, which broke it into three
     rows once the column narrowed — 3.6vw keeps it on two rows down to 1024 */
  .sol__title { font-size: clamp(28px, 3.6vw, 47px); }
}

@media (max-width: 1240px) {
  /* four columns get too tight for "Small Animal Cages" below this width */
  .sol__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol__cat { font-size: 13px; }
}

@media (max-width: 1100px) {
  /* 227 + 217 will not sit side by side in a 389px column, and squeezing the
     type made a label wrap inside its own button — stack them, left aligned */
  .sol__actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }
  .sol__actions .btn-red,
  .sol__ghost { height: 46px; padding: 0 18px; font-size: 14px; }

  .pc__card { flex: 0 0 calc((100% - 48px) / 3); }
  .news__inner { grid-template-columns: 240px 1fr; gap: 44px; }
  .foot__inner { padding: 46px 28px 36px; }
}

@media (max-width: 900px) {
  .about { padding-top: 64px; }
  .about__copy { margin-top: 26px; }
  .about__line { font-size: 15px; line-height: 1.95; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; margin-top: 46px; padding: 40px 18px 46px; }

  .sol__inner { grid-template-columns: 1fr; gap: 0; padding: 0 18px; }
  .sol__copy { padding: 64px 0 34px; }
  .sol__title { font-size: 30px; }
  .sol__sub { margin-top: 14px; font-size: 15px; }
  .sol__cats { margin-top: 26px; }
  .sol__cat { padding: 10px 4px 11px; font-size: 12.5px; }
  .sol__actions { gap: 10px; margin-top: 26px; grid-template-columns: 1fr; justify-items: stretch; }
  .sol__actions .btn-red,
  .sol__ghost { font-size: 14.5px; padding: 0 18px; }
  .sol__media { aspect-ratio: 16 / 9; margin-bottom: 64px; }

  .pc { padding: 68px 0 72px; }
  /* text tabs wrap into two centred rows on phones */
  .pc__tabs {
    gap: 2px 20px;
    margin-bottom: 24px;
  }
  .pc__tab { padding: 5px 0 10px; font-size: 13.5px; }
  .pc__card { flex: 0 0 calc((100% - 24px) / 2); }
  .pc__bar { margin-top: 30px; gap: 18px; }

  .trio__inner { grid-template-columns: 1fr; gap: 10px; }
  .trio__card { min-height: 260px; }
  .trio__body { padding: 26px 22px; }

  .certs { padding: 64px 0 72px; }
  .certs__intro { margin-bottom: 30px; font-size: 14.5px; }
  /* one page per row on phones — two A4 sheets side by side would be unreadable */
  .book__spread { grid-template-columns: 1fr; gap: 26px; }
  .book__cover::before,
  .book__cover::after { display: none; }
  .book__turn { display: none; }   /* 3D turn needs the two-column spread */
  .book__cap strong { font-size: 15.5px; }
  .book__cap p { font-size: 13px; }

  .news { padding: 64px 0 70px; }
  .news::before { width: 100%; opacity: .5; }
  .news__inner { grid-template-columns: 1fr; gap: 34px; }
  .news__heading { margin-bottom: 22px; }

  .cta { padding: 62px 0 70px; }
  .cta__form {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
  }
  .cta__field {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    padding: 14px 6px;
  }
  .cta__field--area { height: 74px; }
  .cta__send { margin: 14px 0 0; width: 100%; }

  .foot__inner { padding: 42px 20px 32px; }
  .foot__company { font-size: 18px; }

  /* Phones: the rail stays the vertical strip from the desktop layout (a bottom
     bar read as a second navigation and covered the last line of every page).
     It is narrower here, and the text-bearing columns below get a matching
     right inset so no paragraph, card or button ever sits underneath it. */
  .rail {
    top: 0;
    bottom: 0;
    /* Centred without transform: a transformed .rail becomes the containing
       block for the fixed-position WeChat panel, which then opened inside the
       48px strip and got clipped. margin:auto on a fixed box with both insets
       set centres it just as well. */
    margin-block: auto;
    height: fit-content;
    right: 0;
    left: auto;
    transform: none;
    flex-direction: column;
    gap: 2px;
    z-index: 950;
    transition: opacity .22s ease;
  }
  .rail__item {
    width: 48px;
    height: auto;
    padding: 9px 2px;
    flex-direction: column;
    gap: 4px;
    border-radius: 0;
    font-size: 9px;
    line-height: 1.05;
    letter-spacing: 0;
    box-shadow: -2px 0 10px rgba(10, 18, 30, .12);
  }
  .rail__item:first-child { border-radius: 6px 0 0 0; }
  .rail__item:last-child { border-radius: 0 0 0 6px; }
  .rail__item svg { width: 17px; height: 17px; }
  .rail__item--wa { font-size: 8.5px; letter-spacing: -0.02em; }
  .rail__item[data-top] { display: flex; }

  /* The cookie bar lives at the bottom edge and the rail is centred on the
     right, so the two never collide — the rail stays available on first visit. */

  /* A QR code cannot be scanned by the phone displaying it, so on mobile the
     panel opens centred and large enough to screenshot or show to someone. */
  .rail__qr {
    position: fixed;
    left: 50%;
    right: auto;
    top: 50%;
    transform: translate(-50%, -46%) scale(.96);
    width: min(76vw, 300px);
    padding: 16px 16px 12px;
    z-index: 960;
    box-shadow: 0 0 0 100vmax rgba(10, 18, 30, .45), 0 18px 50px rgba(10, 18, 30, .3);
  }
  .rail__qr-wrap.is-open .rail__qr,
  .rail__qr-wrap:hover .rail__qr {
    transform: translate(-50%, -50%) scale(1);
  }
  .rail__qr p { font-size: 12px; }

  /* Clear the rail: every text column and tappable card keeps a 48px inset on
     the right, so the strip never covers a paragraph, price or button. The
     full-bleed photo bands (hero, solutions) are left alone — the rail only
     crosses their edge, where there is nothing to read or tap. */
  body .about__inner,
  body .sol__inner,
  body .tl__inner,
  body .trio__inner,
  body .certs__inner,
  body .news__inner,
  body .cta__inner,
  body .foot__inner,
  body .foot__bar,
  body .pcx__wp,
  body .nart__wrap,
  body #privacy-root .priv {
    padding-right: 68px;
  }

  /* Footer links were 20px tall — a thumb needs ~36px. Padding, not height, so
     the row spacing stays as designed. */
  .foot__links a { display: inline-block; padding: 7px 0; }
  .foot__soc { width: 38px; height: 38px; }
}

/* phones: everything stacks, last so it wins over the 900 block */
@media (max-width: 640px) {
  .foot__inner { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .foot__brand,
  .foot__nav,
  .foot__mk,
  .foot__aside { grid-column: 1 / -1; }
  .foot__mk { padding-right: 0; }
  .foot__aside {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid #eef1f5;
  }
  .foot__markets { gap: 24px 18px; }
  .foot__flagwrap { width: 84px; height: 55px; }
  .foot__mk-name { font-size: 12px; }
}

/* Touch devices keep a sticky :hover after a tap, which would pin the WeChat
   panel open even after it is dismissed. Neutralise the hover shortcut there;
   the explicit .is-open class still works. */
@media (hover: none) {
  .rail__qr-wrap:not(.is-open):hover .rail__qr {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -46%) scale(.96);
  }
}
/* News listing grows by ~10 posts a day, so the page renders the newest batch
   and offers the rest on demand instead of shipping every card in the HTML. */
.news__more {
  align-self: flex-start;
  margin: 22px 0 0;
  padding: 10px 22px;
  border: 1px solid #d7dce4;
  border-radius: 999px;
  background: #fff;
  color: #33404f;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.news__more:hover { border-color: var(--accent); color: var(--accent); }
/* the home page shows its three latest cards only — no button there */
body[data-page="home"] .news__more { display: none; }

/* Only WeChat is left in the footer, so the two-column grid would leave an
   empty half. Keep the single code at the width it had. */
.foot__qrs--one { grid-template-columns: 1fr; max-width: 148px; }

/* ===== privacy.css ===== */
/* ============================================================
   Privacy Policy page (#/privacy/)
   Every selector is scoped to #privacy-root so nothing here can
   leak into the home, product, news, about or contact pages.
   ============================================================ */

#privacy-root {
  background: #fff;
}

#privacy-root .priv {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) 24px 96px;
}

#privacy-root .priv__head {
  padding-bottom: 28px;
  border-bottom: 1px solid #e8ecf1;
  margin-bottom: 8px;
}

#privacy-root .priv__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--nav-pill);
}

#privacy-root .priv__title {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--heading);
}

#privacy-root .priv__meta {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

#privacy-root .priv__sec {
  padding-top: 34px;
}

#privacy-root .priv__sec h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--heading);
}

#privacy-root .priv__body p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

#privacy-root .priv__body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

#privacy-root .priv__body li {
  margin: 0 0 9px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

#privacy-root .priv__body li::marker {
  color: #9aa6b2;
}

#privacy-root .priv__body strong {
  font-weight: 700;
  color: var(--heading);
}

#privacy-root .priv__body a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 64, 122, 0.28);
  transition: border-color 0.18s ease, color 0.18s ease;
}

#privacy-root .priv__body a:hover {
  color: var(--nav-pill);
  border-bottom-color: var(--nav-pill);
}

#privacy-root .priv__back {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid #e8ecf1;
  font-size: 15px;
}

#privacy-root .priv__back a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

#privacy-root .priv__back a:hover {
  color: var(--nav-pill);
}

@media (max-width: 640px) {
  #privacy-root .priv {
    padding: calc(var(--nav-h) + 32px) 18px 64px;
  }

  #privacy-root .priv__title {
    font-size: 30px;
  }

  #privacy-root .priv__sec {
    padding-top: 26px;
  }

  #privacy-root .priv__sec h2 {
    font-size: 18px;
  }

  #privacy-root .priv__body p,
  #privacy-root .priv__body li {
    font-size: 15.5px;
    line-height: 1.75;
  }
}

/* The page title is the page's <h1> (it used to be an h2, which left /privacy
   with no heading at all); keep the original type scale explicit. */
h1.priv__title { margin: 0; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.15; }

/* ===== cookie.css ===== */
/* ============================================================
   Cookie consent banner
   Shown once per visitor until a choice is stored in localStorage.
   Required for EU/UK visitors (GDPR) and by Google Ads, which needs
   Consent Mode signals before advertising cookies may be set.
   ============================================================ */

.ck {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: #ffffff;
  border-top: 1px solid #e3e8ee;
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.1);
  padding: 16px 24px;
  transform: translateY(110%);
  transition: transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.ck.is-in {
  transform: translateY(0);
}

.ck__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ck__text {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.ck__text a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 64, 122, 0.3);
}

.ck__text a:hover {
  color: var(--nav-pill);
  border-bottom-color: var(--nav-pill);
}

.ck__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
}

.ck__btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ck__btn--ghost {
  background: #fff;
  color: var(--brand);
  border-color: #c9d5e2;
}

.ck__btn--ghost:hover {
  border-color: var(--brand);
  background: #f4f7fb;
}

.ck__btn--solid {
  background: var(--nav-pill);
  color: #fff;
  border-color: var(--nav-pill);
}

.ck__btn--solid:hover {
  background: #c31f16;
  border-color: #c31f16;
}

.ck__btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .ck {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .ck__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .ck__text {
    font-size: 13px;
    line-height: 1.6;
  }

  .ck__actions {
    gap: 8px;
  }

  .ck__btn {
    flex: 1 1 0;
    padding: 11px 14px;
    font-size: 13px;
    text-align: center;
  }
}

/* ===== news-article.css ===== */
/* ============================================================
   News article page (/news/<slug>)
   Scoped to .nart so nothing leaks into the listing or other pages.
   ============================================================ */

.nart {
  background: #fff;
}

.nart__wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) 24px 96px;
}

.nart__crumb {
  font-size: 13px;
  color: #8b95a3;
  margin-bottom: 18px;
}

.nart__crumb a {
  color: #6b7280;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.nart__crumb a:hover {
  color: var(--nav-pill);
  border-bottom-color: var(--nav-pill);
}

.nart__crumb span {
  margin: 0 8px;
  color: #c3cbd6;
}

.nart__title {
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--heading);
}

.nart__meta {
  margin: 0 0 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8ecf1;
  font-size: 14px;
  color: #8b95a3;
}

.nart__body p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.nart__body p:first-child {
  font-size: 18px;
  color: #2b3644;
}

.nart__body strong {
  font-weight: 700;
  color: var(--heading);
}

/* Section heading — written as a "## " block in the admin body field */
.nart__h2 {
  margin: 42px 0 16px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--heading);
}

.nart__body > .nart__h2:first-child {
  margin-top: 0;
}

/* ---- quote block ---- */
.nart__cta {
  margin: 44px 0 0;
  padding: 26px 26px 24px;
  background: #f6f9fc;
  border: 1px solid #e3eaf3;
  border-radius: 14px;
}

.nart__cta p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3d4a5a;
}

.nart__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--nav-pill);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.nart__cta-btn:hover {
  background: #c31f16;
}

/* ---- prev / next ---- */
.nart__pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid #e8ecf1;
}

.nart__pager a {
  display: block;
  padding: 14px 16px;
  border: 1px solid #e5e9ef;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--heading);
  font-weight: 600;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.nart__pager a:hover {
  border-color: #c9d5e2;
  background: #fafcfe;
}

.nart__pager a span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa6b2;
}

.nart__page-next {
  text-align: right;
}

.nart__back {
  margin: 34px 0 0;
  font-size: 14.5px;
}

.nart__back a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.nart__back a:hover {
  color: var(--nav-pill);
}

@media (max-width: 640px) {
  .nart__wrap {
    padding: calc(var(--nav-h) + 28px) 18px 64px;
  }

  .nart__title {
    font-size: 27px;
    line-height: 1.32;
  }

  .nart__body p {
    font-size: 16px;
    line-height: 1.8;
  }

  .nart__h2 {
    margin: 34px 0 12px;
    font-size: 19px;
  }

  .nart__body p:first-child {
    font-size: 16.5px;
  }

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

  .nart__page-next {
    text-align: left;
  }
}

/* ---------- related products (article → catalogue links) ---------- */
.nart__related { margin: 38px 0 4px; }
.nart__rel {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
/* Two across on a phone: the article column is ~300px wide there, and a single
   full-width card per row turned three products into three screens. */
@media (max-width: 640px) {
  .nart__rel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nart__rel-card { padding: 8px; gap: 6px; }
  .nart__rel-name { font-size: 13px; }
  .nart__rel-meta { font-size: 11.5px; }
}
.nart__rel-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e8ecf2;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nart__rel-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(10, 18, 30, .08);
}
.nart__rel-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: #f5f7fa;
}
.nart__rel-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}
.nart__rel-meta { font-size: 12px; line-height: 1.4; color: #6b7280; }
