/* ==========================================================================
   ConnectX Trade — Premium Meat Export Website
   Stylesheet
   Palette: ink black, blood red, warm neutrals
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --ink: #0d0d0f;
  --ink-2: #16161a;
  --ink-3: #22222a;
  --red: #b3231b;
  --red-bright: #d93a30;
  --red-deep: #8f1a14;
  --bone: #f4f1ec;
  --bone-2: #ece7df;
  --paper: #fbf9f5;
  --stone: #8a857d;
  --stone-2: #6e6a62;
  --line: #e2ddd3;
  --line-dark: #2e2e36;

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  /* Layout */
  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 74px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section--tight {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.section--dark {
  background: var(--ink);
  color: #dcd8d2;
}

.section--bone {
  background: var(--bone);
}

.grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}

.eyebrow--light {
  color: var(--red-bright);
}

.eyebrow--center::before {
  display: none;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-variation-settings: 'SOFT' 40, 'opsz' 144;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: 'SOFT' 40;
}

.section-title em {
  font-style: italic;
  color: var(--red);
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  color: var(--stone-2);
  line-height: 1.75;
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), transform 0.35s var(--ease);
  will-change: transform;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
}

.btn-primary:hover::after {
  transform: translateY(0);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--line-dark);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--red-bright);
  color: var(--red-bright);
  transform: translateY(-2px);
}

.btn-ghost-dark {
  border: 1px solid var(--ink-3);
  color: var(--ink);
}

.btn-ghost-dark:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn-arrow:hover svg {
  transform: translateX(5px);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 15, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
  border-bottom: 1px solid var(--line-dark);
}

.site-header.scrolled::before,
.site-header.page-nav::before {
  transform: translateY(0);
}

.site-header.page-nav {
  background: rgba(13, 13, 15, 0.94);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.8rem);
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #c9c5bd;
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.02rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--red-bright);
  border-radius: var(--r-sm);
  color: var(--red-bright);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.brand:hover .brand-mark {
  background: var(--red-bright);
  color: #fff;
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.brand-name b {
  color: #fff;
}

.brand-name span {
  color: var(--red-bright);
  font-weight: 400;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid #fff;
  color: #fff;
  border-radius: var(--r-sm);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    transform 0.35s var(--ease);
}

.nav-cta:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.nav-cta svg {
  width: 14px;
  height: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 120;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 26px;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--ink);
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  line-height: 1.4;
  color: #d6d2cb;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.3s var(--ease);
}

.mobile-menu.open a {
  animation: menuIn 0.6s var(--ease-out) forwards;
}

.mobile-menu.open a:nth-child(2) {
  animation-delay: 0.07s;
}

.mobile-menu.open a:nth-child(3) {
  animation-delay: 0.14s;
}

.mobile-menu.open a:nth-child(4) {
  animation-delay: 0.21s;
}

.mobile-menu.open a:nth-child(5) {
  animation-delay: 0.28s;
}

.mobile-menu.open a:nth-child(6) {
  animation-delay: 0.35s;
}

.mobile-menu.open a:nth-child(7) {
  animation-delay: 0.42s;
}

.mobile-menu.open a:nth-child(8) {
  animation-delay: 0.49s;
}

.mobile-menu .nav-cta {
  margin-top: 2.2rem;
  justify-content: center;
}

@keyframes menuIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 7vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--ink);
  color: #e6e2db;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -30%;
  width: 46%;
  height: 160%;
  background: radial-gradient(
    circle at center,
    rgba(179, 35, 27, 0.22),
    transparent 65%
  );
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 1.2rem 0 1.4rem;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--red-bright);
}

.page-hero p {
  color: #b7b2aa;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  max-width: 52ch;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6a62;
}

.breadcrumbs a {
  transition: color 0.3s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--red-bright);
}

.breadcrumbs span {
  color: #3d3c44;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #96918a;
  padding-top: clamp(4rem, 7vw, 6.5rem);
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.footer-brand .brand {
  margin-bottom: 1.3rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 34ch;
}

.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d8d3cb;
  margin-bottom: 1.4rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  font-size: 0.92rem;
  color: #96918a;
  transition: color 0.3s var(--ease);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--red-bright);
  transform: translateX(3px);
}

.footer-contact li {
  font-size: 0.92rem;
  line-height: 1.7;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #5f5b55;
}

.footer-bottom .fb-links {
  display: flex;
  gap: 1.8rem;
}

.footer-bottom a:hover {
  color: var(--red-bright);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-d='1'] {
  transition-delay: 0.09s;
}

.reveal[data-d='2'] {
  transition-delay: 0.18s;
}

.reveal[data-d='3'] {
  transition-delay: 0.27s;
}

.reveal[data-d='4'] {
  transition-delay: 0.36s;
}

.reveal[data-d='5'] {
  transition-delay: 0.45s;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mono-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-2);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  animation: heroZoom 14s var(--ease-out) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(13, 13, 15, 0.96) 0%,
      rgba(13, 13, 15, 0.72) 38%,
      rgba(13, 13, 15, 0.35) 68%,
      rgba(13, 13, 15, 0.55) 100%
    ),
    linear-gradient(to right, rgba(13, 13, 15, 0.7), rgba(13, 13, 15, 0.15) 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 5rem));
}

.hero-eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #f5f3ef;
  font-variation-settings: 'SOFT' 40, 'opsz' 144;
}

.hero-title em {
  font-style: italic;
  color: var(--red-bright);
}

.hero-sub {
  margin-top: 1.8rem;
  max-width: 54ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: #c3bdb4;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-strip {
  position: relative;
  z-index: 2;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.hero-strip-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8f8a82;
}

.hs-sep {
  width: 22px;
  height: 1px;
  background: var(--line-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  border-bottom: 1px solid var(--line);
}

.trust-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-2);
  margin-bottom: 1.6rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 4vw, 3.5rem);
}

.trust-list li {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
}

.trust-list li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 24px;
  height: 2px;
  background: var(--red);
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.intro-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.intro-media:hover img {
  transform: scale(1.05);
}

.intro-badge {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  background: rgba(13, 13, 15, 0.92);
  color: #f0ece6;
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.ib-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--red-bright);
  line-height: 1;
}

.ib-text {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.intro-list {
  margin: 2.4rem 0 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.intro-list li {
  display: flex;
  gap: 0.95rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--stone-2);
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.intro-list li:last-child {
  border-bottom: none;
}

.intro-list b {
  color: var(--ink);
  font-weight: 600;
  display: inline-block;
  min-width: 84px;
}

.il-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 0.62em;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.stat {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.5rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: #f0ece6;
  display: flex;
  align-items: flex-start;
}

.stat-num i {
  font-style: normal;
  color: var(--red-bright);
  font-size: 0.55em;
  margin-left: 0.15em;
  margin-top: 0.45em;
}

.stat-label {
  display: block;
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #a5a09a;
}

.stats-note {
  margin-top: 2.6rem;
  font-size: 0.78rem;
  color: #5f5b55;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   PRODUCTS (home)
   ========================================================================== */
.section-head {
  margin-bottom: clamp(2.8rem, 5vw, 4rem);
}

.split-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.split-head .lead {
  margin-top: 1.2rem;
}

.split-head-dark .section-title {
  color: #f0ece6;
}

.split-head-dark .lead {
  color: #a5a09a;
}

.products-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.ph-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s var(--ease),
    box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}

.ph-card:hover {
  transform: translateY(-6px);
  border-color: var(--ink-3);
  box-shadow: 0 24px 60px -30px rgba(13, 13, 15, 0.45);
}

.ph-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ph-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.ph-card:hover .ph-media img {
  transform: scale(1.07);
}

.ph-tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(13, 13, 15, 0.9);
  color: #f0ece6;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-sm);
}

.ph-body {
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ph-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.ph-head h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.ph-quote {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  position: relative;
  padding-bottom: 2px;
}

.ph-quote::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.ph-quote:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ph-body p {
  font-size: 0.94rem;
  color: var(--stone-2);
  line-height: 1.7;
}

.ph-points {
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ph-points li {
  font-size: 0.88rem;
  color: var(--ink-2);
  position: relative;
  padding-left: 1.35rem;
}

.ph-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 1px;
  background: var(--red);
}

.products-cta {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.products-cta p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink);
}

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.why-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.why-media:hover img {
  transform: scale(1.05);
}

.why-features {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 3.5vw, 3rem) clamp(1.8rem, 3vw, 2.8rem);
}

.why-feature h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
}

.why-feature p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--stone-2);
}

.wf-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--red);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.7rem;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.process-step {
  background: var(--ink);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: background 0.45s var(--ease);
}

.process-step:hover {
  background: var(--ink-2);
}

.ps-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--red-bright);
  display: block;
  margin-bottom: 1.3rem;
  opacity: 0.85;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0ece6;
  margin-bottom: 0.7rem;
}

.process-step p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #9a958e;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.center-head {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4.2rem);
}

.center-head .eyebrow {
  justify-content: center;
}

.center-head .section-title {
  margin-top: 1.1rem;
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.testi {
  background: var(--bone);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: border-color 0.4s var(--ease), transform 0.45s var(--ease-out);
}

.testi:hover {
  border-color: var(--line);
  transform: translateY(-4px);
}

.testi blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.testi blockquote::before {
  content: '“';
  color: var(--red);
  font-size: 2.4em;
  line-height: 0;
  vertical-align: -0.15em;
  margin-right: 0.05em;
  font-family: var(--font-display);
}

.testi figcaption {
  margin-top: 1.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.testi-name {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.testi-role {
  display: block;
  font-size: 0.82rem;
  color: var(--stone);
  margin-top: 0.25rem;
}

/* ==========================================================================
   FINAL CTA BAND
   ========================================================================== */
.cta-band {
  background:
    linear-gradient(105deg, rgba(13, 13, 15, 0.97) 0%, rgba(13, 13, 15, 0.92) 55%, rgba(179, 35, 27, 0.85) 100%);
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.cta-band::before {
  content: '';
  position: absolute;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  aspect-ratio: 1;
  border: 1px solid rgba(217, 58, 48, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 30%;
  aspect-ratio: 1;
  border: 1px solid rgba(217, 58, 48, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.cta-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: #f5f3ef;
  margin: 1.2rem 0 1.4rem;
}

.cta-sub {
  color: #b7b2aa;
  max-width: 52ch;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  margin-bottom: 2.4rem;
}

/* ==========================================================================
   Responsive — homepage
   ========================================================================== */
@media (max-width: 960px) {
  .intro-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-media,
  .intro-media {
    aspect-ratio: 16 / 10;
    max-height: 420px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem 1.5rem;
  }

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

  .split-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .products-home,
  .testi-grid,
  .why-features {
    grid-template-columns: 1fr;
  }

  .hero-strip-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

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

/* ==========================================================================
   PRODUCTS (category page)
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.2rem);
}

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), border-color 0.4s var(--ease),
    box-shadow 0.5s var(--ease);
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--ink-3);
  box-shadow: 0 26px 60px -32px rgba(13, 13, 15, 0.5);
}

.cat-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.cat-card:hover .cat-media img {
  transform: scale(1.07);
}

.cat-body {
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-no {
  font-family: var(--font-display);
  font-size: 0.86rem;
  color: var(--red);
  letter-spacing: 0.14em;
}

.cat-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  margin: 0.55rem 0 0.85rem;
}

.cat-body > p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--stone-2);
}

.cat-specs {
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cat-specs div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 0.8rem;
  font-size: 0.86rem;
}

.cat-specs dt {
  color: var(--stone-2);
  font-weight: 500;
}

.cat-specs dd {
  color: var(--ink);
}

.cat-quote {
  margin-top: auto;
  padding-top: 1.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  transition: color 0.3s var(--ease), letter-spacing 0.35s var(--ease);
}

.cat-quote:hover {
  color: var(--ink);
  letter-spacing: 0.13em;
}

/* Specification detail grid */
.spec-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.spec-list {
  display: flex;
  flex-direction: column;
}

.spec-item {
  display: flex;
  gap: 1.4rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}

.spec-item:first-child {
  border-top: 1px solid var(--line);
}

.spec-item:hover {
  padding-left: 0.6rem;
}

.si-no {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  width: 2ch;
}

.spec-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.spec-item p {
  font-size: 0.92rem;
  color: var(--stone-2);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .spec-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 680px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CONTACT / QUOTE FORM
   ========================================================================== */
.quote-section {
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 6vw, 5.5rem));
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.quote-aside h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 1.2rem 0 1.4rem;
}

.quote-aside h2 em {
  font-style: italic;
  color: var(--red);
}

.quote-aside > p {
  color: var(--stone-2);
  margin-bottom: 2.6rem;
}

.quote-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.qc-item {
  display: flex;
  gap: 1rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.qc-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: var(--red);
  flex-shrink: 0;
}

.qc-icon svg {
  width: 18px;
  height: 18px;
}

.qc-item b {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.qc-item span {
  font-size: 0.86rem;
  color: var(--stone-2);
}

/* Form card */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
}

.form-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.form-card .form-intro {
  font-size: 0.92rem;
  color: var(--stone-2);
  margin-bottom: 2.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field {
  margin-bottom: 1.4rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-2);
  margin-bottom: 0.6rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a857d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(179, 35, 27, 0.08);
}

.field input[aria-invalid='true'],
.field select[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: var(--red);
}

.field-error {
  display: none;
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.6rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--stone);
  margin-top: 1.1rem;
  line-height: 1.6;
}

.form-status {
  display: none;
  text-align: center;
  padding: clamp(2rem, 4vw, 3.5rem) 1rem;
}

.form-status[hidden] {
  display: none;
}

.form-status .fs-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(179, 35, 27, 0.1);
  color: var(--red);
  display: grid;
  place-items: center;
}

.form-status .fs-icon svg {
  width: 30px;
  height: 30px;
}

.form-status h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.form-status p {
  font-size: 0.92rem;
  color: var(--stone-2);
  max-width: 44ch;
  margin: 0 auto;
}

/* ==========================================================================
   QUALITY / CAPABILITIES / ABOUT shared blocks
   ========================================================================== */
.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.feature-band--dark {
  background: var(--line-dark);
  border-color: var(--line-dark);
}

.fb-item {
  background: var(--paper);
  padding: clamp(1.8rem, 3.2vw, 2.8rem);
  transition: background 0.4s var(--ease);
}

.feature-band--dark .fb-item {
  background: var(--ink);
}

.fb-item:hover {
  background: #fff;
}

.feature-band--dark .fb-item:hover {
  background: var(--ink-2);
}

.fb-icon {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: var(--red);
  margin-bottom: 1.4rem;
}

.fb-icon svg {
  width: 22px;
  height: 22px;
}

.feature-band--dark .fb-icon {
  border-color: var(--line-dark);
}

.fb-item h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.feature-band--dark .fb-item h3 {
  color: #f0ece6;
}

.fb-item p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--stone-2);
}

.feature-band--dark .fb-item p {
  color: #9a958e;
}

/* Two-column narrative */
.narrative-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.narrative-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.narrative-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.narrative-media:hover img {
  transform: scale(1.05);
}

.narrative-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.narrative-list li {
  display: flex;
  gap: 0.9rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--stone-2);
}

.narrative-list li::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 0.62em;
}

/* Timeline (about) */
.timeline {
  position: relative;
  padding-left: 2.2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.tl-item {
  position: relative;
  padding-bottom: 2.8rem;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -2.2rem;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--red);
}

.tl-year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.tl-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.tl-item p {
  font-size: 0.94rem;
  color: var(--stone-2);
  line-height: 1.7;
  max-width: 62ch;
}

@media (max-width: 960px) {
  .quote-grid,
  .narrative-grid {
    grid-template-columns: 1fr;
  }

  .feature-band {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .feature-band {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Capabilities page */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.2rem);
}

.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  transition: transform 0.5s var(--ease-out), border-color 0.4s var(--ease),
    box-shadow 0.5s var(--ease);
}

.cap-card:hover {
  transform: translateY(-5px);
  border-color: var(--ink-3);
  box-shadow: 0 26px 60px -32px rgba(13, 13, 15, 0.5);
}

.cap-media {
  overflow: hidden;
  min-height: 220px;
}

.cap-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.cap-card:hover .cap-media img {
  transform: scale(1.07);
}

.cap-body {
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cap-no {
  font-family: var(--font-display);
  font-size: 0.86rem;
  color: var(--red);
  letter-spacing: 0.14em;
}

.cap-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 0.5rem 0 0.8rem;
}

.cap-body p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--stone-2);
}

@media (max-width: 780px) {
  .cap-card {
    grid-template-columns: 1fr;
  }

  .cap-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
}
