/* ==========================================================================
   YANCHUANG INTERNATIONAL TRADE — Eastern Atelier Design System
   Editorial trade heritage meets contemporary modernism.
   Deep jade + warm ivory + brass + terracotta.
   Fonts: Fraunces (display serif) · Manrope (body) · JetBrains Mono (technical)
   ========================================================================== */

:root {
  /* Palette */
  --jade-900: #08231a;
  --jade-800: #0b2e22;
  --jade-700: #0e3b2e;
  --jade-600: #145241;
  --jade-500: #1d6a55;
  --jade-400: #2d8a72;
  --jade-300: #6bb8a3;

  --ivory-50:  #fbf8f1;
  --ivory-100: #f6f1e5;
  --ivory-200: #efe7d4;
  --ivory-300: #e4d8bf;

  --paper:      #f4efe3;
  --paper-warm: #efe7d4;

  --brass-700: #8a6328;
  --brass-500: #b8893d;
  --brass-400: #c9a35c;
  --brass-300: #dcc189;

  --terra-600: #a8412e;
  --terra-500: #c44a32;
  --terra-400: #d45342;

  --ink:       #11150f;
  --ink-soft:  #1c211b;
  --muted:     #5c594f;
  --muted-2:   #7a766b;
  --line:      #d8cfb9;
  --line-soft: #e6dfcb;

  /* Typography */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 2px;
  --radius-lg: 4px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(8, 35, 26, 0.06), 0 1px 1px rgba(8, 35, 26, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(8, 35, 26, 0.18), 0 2px 6px rgba(8, 35, 26, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(8, 35, 26, 0.32), 0 8px 16px -8px rgba(8, 35, 26, 0.12);

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; }
p { margin: 0; }

/* Paper grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.03 0 0 0 0 0.05 0 0 0 0 0.04 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; z-index: 2; }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 35, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 137, 61, 0.18);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 14px; }

/* Logo — left/right structure: badge + wordmark */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-badge {
  display: block;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}
.logo-badge svg { width: 100%; height: 100%; display: block; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--ivory-50);
  font-variation-settings: "SOFT" 50, "WONK" 1;
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-400);
}

/* Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.7);
  padding: 10px 16px;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--brass-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ivory-50); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--brass-400);
  color: var(--jade-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--brass-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--ivory-50);
  border: 1px solid rgba(246, 241, 229, 0.4);
}
.btn-outline:hover {
  background: rgba(246, 241, 229, 0.08);
  border-color: var(--brass-400);
  color: var(--brass-300);
}
.btn-dark {
  background: var(--jade-800);
  color: var(--ivory-50);
}
.btn-dark:hover { background: var(--jade-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-terra {
  background: var(--terra-500);
  color: var(--ivory-50);
}
.btn-terra:hover { background: var(--terra-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 17px 34px; font-size: 12px; }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Mobile menu toggle */
.menu-toggle { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; height: 1.5px; width: 22px; background: var(--ivory-50); margin-inline: auto; transition: all 0.3s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero / Carousel ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 920px);
  background: var(--jade-900);
  color: var(--ivory-50);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-slide.active img { transform: scale(1.12); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 35, 26, 0.55) 0%, rgba(8, 35, 26, 0.35) 35%, rgba(8, 35, 26, 0.75) 80%, rgba(8, 35, 26, 0.95) 100%),
    linear-gradient(90deg, rgba(8, 35, 26, 0.6) 0%, transparent 60%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding-block: clamp(40px, 7vw, 90px);
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-300);
  margin-bottom: 32px;
  opacity: 0;
  animation: rise 1s var(--ease) 0.2s forwards;
}
.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--brass-400);
}
.hero h1 {
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.025em;
  max-width: 14ch;
  font-variation-settings: "SOFT" 30, "opsz" 144;
  margin-bottom: 32px;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.35s forwards;
}
.hero h1 .hl {
  font-style: italic;
  font-weight: 300;
  color: var(--brass-300);
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144;
}
.hero h1 .hl-terra { color: var(--terra-400); }
.hero .lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(246, 241, 229, 0.82);
  max-width: 52ch;
  margin-bottom: 40px;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.5s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.65s forwards;
}

/* Carousel controls */
.hero-controls {
  position: absolute;
  bottom: clamp(32px, 5vw, 56px);
  right: var(--gutter);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-dots {
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 32px;
  height: 2px;
  background: rgba(246, 241, 229, 0.3);
  transition: background 0.4s var(--ease);
  padding: 0;
}
.hero-dots button.active { background: var(--brass-400); }
.hero-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 229, 0.7);
}
.hero-counter .current { color: var(--brass-300); font-weight: 500; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(32px, 5vw, 56px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.6);
}
.hero-scroll::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--brass-400);
  animation: scroll-pulse 2s var(--ease) infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleX(1); transform-origin: left; }
  50% { transform: scaleX(0.4); transform-origin: left; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Section headings ---------- */
.section-head { margin-bottom: clamp(40px, 5vw, 64px); position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-700);
  margin-bottom: 22px;
  font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brass-500); }
.eyebrow.center { justify-content: center; }
.section-head h2 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 18ch;
  font-variation-settings: "opsz" 144, "SOFT" 20;
}
.section-head h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--jade-600);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.section-head .lede {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--muted);
  max-width: 56ch;
  margin-top: 24px;
  line-height: 1.7;
}
.section-head.center { text-align: center; }
.section-head.center h2,
.section-head.center .lede { margin-inline: auto; }

/* ---------- Stats band ---------- */
.stats {
  background: var(--jade-900);
  color: var(--ivory-50);
  padding-block: clamp(48px, 6vw, 80px);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(184, 137, 61, 0.18);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(184, 137, 61, 0.18);
}
.stat {
  background: var(--jade-900);
  padding: 32px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  color: var(--brass-300);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.02em;
}
.stat-label {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.7);
}

/* ---------- Why Us / Feature grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.feature {
  background: var(--paper);
  padding: clamp(32px, 3vw, 44px);
  position: relative;
  transition: background 0.4s var(--ease);
}
.feature:hover { background: var(--ivory-100); }
.feature-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass-500);
  margin-bottom: 28px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--jade-700);
}
.feature h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Business split section ---------- */
.business {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.business-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}
.business-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.business-media:hover img { transform: scale(1.04); }
.business-media .tag {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--ivory-50);
  color: var(--jade-900);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 8px 14px;
  font-weight: 500;
}
.business-content h2 { margin-bottom: 24px; }

/* About page story section — asymmetric editorial layout */
.business--about {
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
  padding-top: 12px;
}
.business--about .business-media {
  aspect-ratio: 3 / 4;
  position: sticky;
  top: 120px;
}
.story-headline {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.story-headline em {
  font-style: italic;
  color: var(--jade-700);
  font-weight: 400;
}
.lead-block {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  display: grid;
  gap: 18px;
}
.lead-block p { margin: 0; }
.lead-block p:first-child {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
}
@media (max-width: 900px) {
  .business--about {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .business--about .business-media {
    position: relative;
    top: 0;
    aspect-ratio: 16 / 10;
    max-height: 420px;
  }
  .story-headline {
    font-size: clamp(28px, 6vw, 42px);
  }
  .lead-block { font-size: 16px; }
  .lead-block p:first-child { font-size: 17px; }
}
.business-list { margin-top: 36px; display: grid; gap: 4px; }
.business-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
}
.business-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.business-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--brass-500);
  margin-top: 1px;
}
.business-list strong { font-weight: 600; color: var(--ink); }

/* ---------- Products grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  position: relative;
  background: var(--ivory-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--brass-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-warm);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.08); }
.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(8, 35, 26, 0.92);
  color: var(--brass-300);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 11px;
  font-weight: 500;
}
.product-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-700);
  margin-bottom: 10px;
}
.product-title {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.product-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jade-700);
  font-weight: 500;
  transition: gap 0.35s var(--ease);
}
.product-card:hover .product-link { gap: 16px; color: var(--terra-500); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--jade-800);
  color: var(--ivory-50);
  border-radius: var(--radius);
  padding: clamp(48px, 6vw, 88px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(184, 137, 61, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.05;
  max-width: 16ch;
}
.cta-banner h2 em { font-style: italic; color: var(--brass-300); }
.cta-banner .lede {
  color: rgba(246, 241, 229, 0.78);
  margin-top: 18px;
  max-width: 48ch;
  font-size: 15.5px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.cta-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.5);
  margin-top: 8px;
}

/* ---------- Contact section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-items { display: grid; gap: 4px; }
.contact-item {
  padding: 28px 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
}
.contact-item:last-child { border-bottom: 1px solid var(--line-soft); }
.contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass-700);
}
.contact-value { font-size: 16px; line-height: 1.5; }
.contact-value a { transition: color 0.3s var(--ease); border-bottom: 1px solid var(--line); }
.contact-value a:hover { color: var(--terra-500); border-color: var(--terra-500); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--jade-900);
  color: rgba(246, 241, 229, 0.7);
  padding-block: clamp(56px, 7vw, 80px) 32px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(184, 137, 61, 0.18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(246, 241, 229, 0.1);
}
.footer-brand .logo { margin-bottom: 24px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246, 241, 229, 0.6);
  max-width: 36ch;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-300);
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: rgba(246, 241, 229, 0.7);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--brass-300); }

/* Footer contact list (icon + text rows) */
.footer-contact { display: grid; gap: 14px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(246, 241, 229, 0.72);
}
.footer-contact .ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--brass-300);
}
.footer-contact .ico svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}
.footer-contact a {
  font-size: 13.5px;
  color: rgba(246, 241, 229, 0.72);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-contact a:hover { color: var(--brass-300); border-color: rgba(184, 137, 61, 0.4); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(246, 241, 229, 0.4);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--jade-900);
  color: var(--ivory-50);
  padding-block: clamp(80px, 10vw, 130px) clamp(56px, 7vw, 90px);
  position: relative;
  overflow: hidden;
}
/* Half-transparent background image */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  transform: scale(1.04);
  filter: saturate(0.85) contrast(1.05);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(184, 137, 61, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(29, 106, 85, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8, 35, 26, 0.55) 0%, rgba(8, 35, 26, 0.45) 50%, rgba(8, 35, 26, 0.85) 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.5);
  margin-bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.breadcrumb a:hover { color: var(--brass-300); }
.breadcrumb .sep { color: rgba(246, 241, 229, 0.3); }
.page-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 16ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--brass-300);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.page-hero .lede {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(246, 241, 229, 0.75);
  max-width: 60ch;
  margin-top: 24px;
  line-height: 1.7;
}

/* ---------- Filters ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.filter-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 12px;
}
.filter-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border-radius: var(--radius);
}
.filter-chip:hover { border-color: var(--jade-600); color: var(--jade-700); }
.filter-chip.active {
  background: var(--jade-800);
  color: var(--ivory-50);
  border-color: var(--jade-800);
}
.filter-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- About sections ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.value-card {
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
}
.value-card:last-child { border-right: 0; }
.value-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  font-weight: 300;
  color: var(--brass-500);
  line-height: 1;
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.value-card h3 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.value-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* Strengths grid (dark jade section on About page) */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.strength-card {
  padding: 36px 28px;
  background: rgba(246,241,229,0.04);
  border: 1px solid rgba(184,137,61,0.2);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.strength-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,137,61,0.5);
  background: rgba(246,241,229,0.07);
}
.strength-ico {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brass-500);
  color: var(--jade-900);
  border-radius: 12px;
  margin-bottom: 24px;
}
.strength-ico svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.strength-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.strength-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(246,241,229,0.7);
}
@media (max-width: 960px) {
  .strengths-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .strengths-grid { grid-template-columns: 1fr; }
  .strength-card { padding: 28px 24px; }
}

/* Advantages list */
.advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.adv-list { display: grid; gap: 4px; }
.adv-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
}
.adv-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.adv-list .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass-700);
  flex-shrink: 0;
  padding-top: 4px;
  min-width: 28px;
}
.adv-list .body strong { display: block; font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.adv-list .body p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.faq-q:hover { color: var(--jade-700); }
.faq-q .toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  color: var(--brass-500);
}
.faq-q .toggle::before,
.faq-q .toggle::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.faq-q .toggle::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-q .toggle::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.faq-item.open .faq-q .toggle::after { transform: translateX(-50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a-inner {
  padding-bottom: 28px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 72ch;
}
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Product detail ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.pd-gallery {
  position: sticky;
  top: 100px;
}
.pd-main-img {
  aspect-ratio: 1 / 1;
  background: var(--ivory-100);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  position: relative;
}
/* Scrollable track — always single row, scrolls when more thumbs than fit */
.pd-thumbs-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1 1 auto;
  min-width: 0;
  padding: 2px;
}
.pd-thumbs-track::-webkit-scrollbar { display: none; }
.pd-thumb {
  flex: 0 0 calc((100% - 36px) / 4);
  max-width: calc((100% - 36px) / 4);
  aspect-ratio: 1 / 1;
  background: var(--ivory-100);
  border: 1px solid var(--line-soft);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  scroll-snap-align: start;
  padding: 0;
}
.pd-thumb.active, .pd-thumb:hover { border-color: var(--brass-400); }
.pd-thumb.active { transform: translateY(-2px); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Arrow nav buttons — only visible when there are more thumbs than fit */
.pd-thumb-nav {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ivory-50);
  border: 1px solid var(--line);
  color: var(--jade-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
  padding: 0;
}
.pd-thumb-nav svg { width: 16px; height: 16px; stroke: currentColor; }
.pd-thumb-nav:hover:not(:disabled) {
  background: var(--jade-700);
  border-color: var(--jade-700);
  color: var(--ivory-50);
}
.pd-thumb-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
/* Hide arrows entirely when the track doesn't overflow */
.pd-thumbs:not(.is-overflow) .pd-thumb-nav {
  display: none;
}
@media (max-width: 768px) {
  .pd-thumb {
    flex-basis: calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
  }
  .pd-thumb-nav { flex-basis: 32px; width: 32px; height: 32px; }
}

.pd-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-700);
  margin-bottom: 14px;
}
.pd-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.pd-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.pd-specs {
  border-top: 1px solid var(--line);
  margin-bottom: 32px;
}
.pd-spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.pd-spec-row .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.pd-features {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--line-soft);
}
.pd-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.pd-feature h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 2px solid var(--brass-400);
  letter-spacing: -0.01em;
}
.pd-feature p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- Inline accents ---------- */
.divider-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-700);
  margin-block: 32px;
}
.divider-mark::before,
.divider-mark::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ---------- Page intro / lead ---------- */
.lead-block { max-width: 64ch; }
.lead-block p {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
  color: var(--ink-soft);
}
.lead-block p + p { margin-top: 20px; }

/* ---------- Quote / pull ---------- */
.pull {
  background: var(--ivory-100);
  border-left: 2px solid var(--brass-500);
  padding: 32px clamp(24px, 3vw, 40px);
  margin-block: 40px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--jade-800);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .business, .advantages, .pd-grid { grid-template-columns: 1fr; gap: 40px; }
  .business-media, .pd-gallery { position: relative; top: 0; }
  .business-media { aspect-ratio: 16 / 11; max-height: 480px; }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .journey::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { border-right: 0; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .pd-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--jade-900);
    padding: 20px var(--gutter);
    gap: 0;
    border-top: 1px solid rgba(184, 137, 61, 0.18);
  }
  .nav-links.open a { padding: 16px 0; width: 100%; border-bottom: 1px solid rgba(246, 241, 229, 0.08); }
  .nav-links.open a::after { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-item { grid-template-columns: 1fr; gap: 8px; }
  .pd-spec-row { grid-template-columns: 1fr; gap: 4px; }
  .pd-features-grid { grid-template-columns: 1fr; }
  .hero-controls { right: var(--gutter); bottom: 24px; }
  .hero-scroll { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

/* ==========================================================================
   PHP-system extensions — pagination, alerts, forms, map, content-card
   ========================================================================== */

/* ---------- Alerts ---------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 22px;
  border-radius: var(--radius);
  border-left: 3px solid currentColor;
  margin-bottom: 28px;
  font-size: 14.5px;
  line-height: 1.55;
}
.alert-success { background: #e8f3ec; color: #0e3b2e; border-color: var(--jade-500); }
.alert-danger  { background: #f7e7e3; color: #7a2618; border-color: var(--terra-500); }
.alert svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- Forms (contact / inquiry) ---------- */
.form-card {
  background: var(--ivory-100);
  border: 1px solid var(--line-soft);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
}
.form-card .eyebrow { color: var(--brass-700); }
.form-card h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 6px 0; font-weight: 400; }
.form-card h2 em { font-style: italic; color: var(--jade-600); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.form-card .lede { color: var(--muted); margin: 0 0 24px; font-size: 14.5px; line-height: 1.65; }

.contact-form { display: grid; gap: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.form-group { padding: 0; }
.form-group label,
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 4px;
  margin-bottom: 8px;
}
.form-group .req,
.field .req { color: var(--terra-500); }
.form-control,
.field input,
.field textarea,
.field select,
.input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form-control:focus,
.field input:focus,
.field textarea:focus,
.field select:focus,
.input:focus {
  outline: none;
  border-color: var(--jade-600);
  background: var(--ivory-50);
}
textarea.form-control,
.field textarea { min-height: 130px; resize: vertical; }
.form-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-top: 16px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Map embed ---------- */
.map-embed {
  margin-top: 28px;
  aspect-ratio: 4 / 3;
  background: var(--paper-warm);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85) contrast(1.02); }

/* ---------- Content card (policy / generic page) ---------- */
.content-card {
  background: var(--ivory-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
}
.content-card h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 4px 0 0; font-weight: 400; }
.page-content { line-height: 1.85; font-size: 15.5px; color: var(--ink-soft); }
.page-content h2,
.page-content h3,
.page-content h4 { font-family: var(--font-display); margin: 28px 0 14px; font-weight: 500; letter-spacing: -0.01em; }
.page-content h2 { font-size: 26px; }
.page-content h3 { font-size: 20px; }
.page-content h4 { font-size: 17px; }
.page-content p { margin: 0 0 16px; }
.page-content ul,
.page-content ol { margin: 0 0 16px; padding-left: 24px; }
.page-content li { margin-bottom: 8px; }
.page-content ul li { list-style: disc; }
.page-content ol li { list-style: decimal; }
.page-content a { color: var(--jade-700); border-bottom: 1px solid var(--line); transition: color 0.3s var(--ease); }
.page-content a:hover { color: var(--terra-500); border-color: var(--terra-500); }
.page-content img { border-radius: var(--radius); margin: 16px 0; }
.page-content blockquote {
  border-left: 2px solid var(--brass-500);
  padding: 8px 0 8px 20px;
  margin: 20px 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--jade-800);
}
.page-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.page-content th, .page-content td { padding: 10px 14px; border: 1px solid var(--line-soft); text-align: left; font-size: 14px; }
.page-content th { background: var(--ivory-100); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-700); }

/* ---------- Policy layout ---------- */
.policy-layout { display: grid; grid-template-columns: 1fr 240px; gap: 40px; align-items: start; }
.policy-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.policy-nav { background: var(--ivory-50); border: 1px solid var(--line-soft); padding: 22px; border-radius: var(--radius); }
.policy-nav h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-700); margin: 0 0 14px; font-weight: 500; }
.policy-nav a {
  display: block;
  padding: 9px 14px;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.policy-nav a:hover { color: var(--jade-700); border-color: var(--line-soft); }
.policy-nav a.active { background: var(--jade-800); color: var(--ivory-50); border-color: var(--jade-800); }
.policy-help {
  background: var(--jade-800);
  color: var(--ivory-50);
  padding: 24px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.policy-help::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 180%;
  background: radial-gradient(circle, rgba(184, 137, 61, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.policy-help h4 { font-family: var(--font-display); font-size: 18px; margin: 0 0 8px; color: var(--ivory-50); font-weight: 500; position: relative; }
.policy-help p { font-size: 13px; color: rgba(246, 241, 229, 0.78); margin: 0 0 16px; position: relative; }
.policy-help .btn { width: 100%; justify-content: center; position: relative; }
@media (max-width: 900px) { .policy-layout { grid-template-columns: 1fr; } .policy-aside { position: static; } }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 56px;
  justify-content: center;
  align-items: center;
  font-family: var(--font-mono);
}
.pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: var(--ivory-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.pg-btn:hover:not(.disabled):not(.active) {
  border-color: var(--jade-600);
  color: var(--jade-700);
  transform: translateY(-1px);
}
.pg-btn.active {
  background: var(--jade-800);
  color: var(--ivory-50);
  border-color: var(--jade-800);
}
.pg-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.pagination .dots { padding: 0 6px; color: var(--muted-2); }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: clamp(48px, 6vw, 80px) 20px;
  background: var(--ivory-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.empty-state h3 { font-size: 24px; margin: 0 0 12px; }
.empty-state p { color: var(--muted); margin: 0 0 24px; }

/* ---------- Search box in toolbar ---------- */
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ivory-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 4px 4px 4px 14px;
  transition: border-color 0.3s var(--ease);
}
.search-form:focus-within { border-color: var(--jade-600); }
.search-form input {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 4px;
  width: 220px;
  color: var(--ink);
}
.search-form input:focus { outline: none; }
.search-form button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--jade-800);
  color: var(--ivory-50);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease);
}
.search-form button:hover { background: var(--jade-700); }

/* ---------- Toolbar ---------- */
.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.toolbar-meta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------- Product meta / spec grid ---------- */
.meta-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 12px;
}
.meta-row .lbl,
.spec-item .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-row .val { color: var(--ink-soft); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.spec-item { background: var(--paper); padding: 16px 18px; }
.spec-item .val { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.spec-item .val small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: transparent;
}
.chip.active { background: var(--brass-400); color: var(--jade-900); border-color: var(--brass-400); }

/* ---------- Section variants ---------- */
.section-soft { background: var(--ivory-100); border-top: 1px solid var(--line-soft); }
.section-dark { background: var(--jade-900); color: var(--ivory-50); border-top: 1px solid rgba(184, 137, 61, 0.18); }

/* ---------- Pull quote variants ---------- */
.story-body p { font-size: 15px; color: var(--muted); line-height: 1.75; margin: 0 0 14px; }
.story-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
