/* ============================================================
   HAIDUCII — premium B2B food brand homepage
   ============================================================ */

:root {
  --charcoal:    #1b1512;
  --charcoal-2:  #241c17;
  --charcoal-3:  #2e2419;
  --cream:       #f6f0e6;
  --cream-2:     #efe6d6;
  --paper:       #fbf7ef;
  --gold:        #c9962e;
  --gold-soft:   #d8a949;
  --gold-deep:   #a9791f;
  --stone:       #9a9082;
  --stone-deep:  #6f6557;

  --ink:         #241c17;     /* text on cream */
  --ink-soft:    #6b6052;     /* muted text on cream */
  --on-dark:     #f3 ece0;
  --on-dark:     #f3ece0;     /* text on charcoal */
  --on-dark-soft:#b6ab98;

  --line-dark:   rgba(0,0,0,0.10);
  --line-light:  rgba(255,255,255,0.14);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script:"Pinyon Script", cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.center::before { display: none; }
.eyebrow.center { white-space: nowrap; }
.on-dark .eyebrow,
.eyebrow.gold { color: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold);
  --fg: #1a130b;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--gold:hover { background: var(--gold-soft); }
.btn--outline {
  --bg: transparent;
  --fg: var(--ink);
  border-color: rgba(36,28,23,0.30);
}
.btn--outline:hover { border-color: var(--ink); background: rgba(36,28,23,0.04); }

.btn--ghost-light {
  --bg: transparent;
  --fg: var(--on-dark);
  border-color: var(--line-light);
}
.btn--ghost-light:hover { border-color: var(--gold-soft); color: #fff; }

.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 17px 32px; font-size: 15.5px; }

.linklike {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.linklike .arrow { transition: transform .35s var(--ease); }
.linklike:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--cream) 96%, transparent);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 40px -28px rgba(40,28,12,0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 14px;
}
.brand { display: flex; flex-direction: column; line-height: 1; flex: 0 0 auto; margin-right: auto; }
.brand__logo { height: 46px; width: auto; max-width: none; display: block; }
.brand .wordmark {
  font-family: var(--script);
  font-size: 40px;
  color: var(--gold-deep);
  line-height: 0.8;
  padding-top: 6px;
}
.brand .tagline {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 6px;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.cta-link { color: var(--gold-deep); font-weight: 600; }

.header-ctas { display: flex; gap: 10px; align-items: center; }

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(36,28,23,0.22);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255,255,255,0.4);
}
.lang-toggle button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button.is-active {
  background: var(--gold);
  color: #1a130b;
}
.lang-toggle--m {
  align-self: flex-start;
  border-color: var(--line-light);
  background: rgba(255,255,255,0.06);
  margin-bottom: 6px;
}
.lang-toggle--m button { color: var(--on-dark-soft); }
.lang-toggle--m button:hover { color: #fff; }
.lang-toggle--m button.is-active { color: #1a130b; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 1px solid var(--line-dark);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span { width: 20px; height: 1.6px; background: var(--ink); transition: .3s var(--ease); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  color: var(--on-dark);
  background: var(--charcoal);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.fixed-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero__bg .ph { width: 100%; height: 100%; align-items: flex-end; justify-content: flex-end; padding: 0 26px 22px; }
.hero__bg .ph__label { opacity: 0.55; }
.hero__bg .section-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,15,11,0.30);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(80px, 13vw, 168px);
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 600;
  line-height: 1.16;
  margin-top: 26px;
  padding-bottom: 0.22em;
  color: #fbf6ec;
  text-shadow: 0 2px 22px rgba(12,8,5,0.55);
}
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero__sub {
  margin-top: 54px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--on-dark-soft);
  max-width: 560px;
  line-height: 1.55;
  text-shadow: 0 1px 14px rgba(12,8,5,0.6);
}
.hero__ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: 54px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}
.hero__meta .stat .n {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold-soft);
  line-height: 1;
}
.hero__meta .stat .l {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--on-dark-soft);
  margin-top: 8px;
  max-width: 160px;
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 132px); }
.section--dark { background: var(--charcoal); color: var(--on-dark); }
.section--cream2 { background: var(--cream-2); }

/* Full-bleed photo background for dark sections (delivery, stockist) */
.has-bg { isolation: isolate; overflow: hidden; }
.section-bg { position: absolute; inset: 0; z-index: 0; }
.section-bg .section-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.section-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20,15,11,0.30);
}
.has-bg .wrap { position: relative; z-index: 2; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  margin-top: 20px;
}
.section--dark h2 { color: #fbf6ec; }
.section-head p {
  margin-top: 26px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 600px;
}
.section--dark .section-head p { color: var(--on-dark-soft); }
.section-head.center p { margin-inline: auto; }

/* ============================================================
   DIVISIONS
   ============================================================ */
.divisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.div-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  padding: clamp(32px, 4vw, 52px);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.div-card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -50px rgba(40,28,12,0.8); }
.div-card--meat { background: var(--charcoal); color: var(--on-dark); border-color: var(--charcoal-3); }
.div-card--grocery { background: var(--paper); color: var(--ink); }

/* --- Meat card: smoked-meat photo + drifting smoke --- */
.div-card__bg { position: absolute; inset: 0; z-index: 0; }
.div-card__img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.div-card__bg .ph {
  width: 100%; height: 100%;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 18px;
  background-color: #1f1813;
  background-image:
    repeating-linear-gradient(135deg, rgba(201,150,46,0.05) 0px, rgba(201,150,46,0.05) 2px, transparent 2px, transparent 12px);
}
.div-card__bg .ph__label { background: rgba(0,0,0,0.32); opacity: 0.6; }
.div-card__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(27,21,18,0.30), transparent 55%),
    linear-gradient(180deg, rgba(27,21,18,0.55) 0%, rgba(27,21,18,0.74) 48%, rgba(27,21,18,0.95) 100%);
}
.div-card--meat > *:not(.div-card__bg):not(.smoke) { position: relative; z-index: 2; }

/* --- Grocery card: photo behind a warm cream wash --- */
.div-card__bg--light::after {
  background:
    linear-gradient(180deg, rgba(251,247,239,0.62) 0%, rgba(251,247,239,0.84) 52%, rgba(251,247,239,0.97) 100%);
}
.div-card--grocery > *:not(.div-card__bg) { position: relative; z-index: 2; }

.smoke { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.smoke span {
  position: absolute;
  bottom: -14%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(233,224,206,0.20), rgba(233,224,206,0) 62%);
  filter: blur(26px);
  mix-blend-mode: screen;
  opacity: 0.32;
}
.smoke span:nth-child(1) { left: 2%;  width: 64%; }
.smoke span:nth-child(2) { left: 30%; width: 52%; }
.smoke span:nth-child(3) { left: 54%; width: 60%; }
.smoke span:nth-child(4) { left: 16%; width: 44%; }
.smoke span:nth-child(5) { left: 44%; width: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .smoke span { opacity: 0; animation: smoke-rise 17s ease-in infinite; }
  .smoke span:nth-child(1) { --dx: 22px;  animation-duration: 19s; animation-delay: 0s; }
  .smoke span:nth-child(2) { --dx: -28px; animation-duration: 22s; animation-delay: -6s; }
  .smoke span:nth-child(3) { --dx: 16px;  animation-duration: 16s; animation-delay: -11s; }
  .smoke span:nth-child(4) { --dx: -18px; animation-duration: 24s; animation-delay: -3s; }
  .smoke span:nth-child(5) { --dx: 30px;  animation-duration: 20s; animation-delay: -14s; }
}
@keyframes smoke-rise {
  0%   { transform: translate(0, 0) scale(0.7); opacity: 0; }
  18%  { opacity: 0.55; }
  55%  { opacity: 0.4; }
  100% { transform: translate(var(--dx, 16px), -128%) scale(1.55); opacity: 0; }
}
.div-card__tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  padding: 7px 13px;
  border-radius: 100px;
  border: 1px solid currentColor;
}
.div-card--meat .div-card__tag { color: var(--gold-soft); }
.div-card--grocery .div-card__tag { color: var(--gold-deep); }
.div-card .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.div-card .icon-emblem {
  width: 56px; height: 56px;
  margin: 28px 0 6px;
  color: var(--gold);
}
.div-card--meat .icon-emblem { color: var(--gold-soft); }
.div-card__sublogo { height: 42px; width: auto; align-self: flex-start; display: block; margin: 28px 0 6px; }
.div-card h3 {
  font-size: clamp(28px, 3vw, 40px);
  margin-top: 14px;
}
.div-card p {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 44ch;
}
.div-card--meat p { color: var(--on-dark-soft); }
.div-card ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.div-card li {
  font-size: 14.5px;
  display: flex;
  gap: 11px;
  align-items: baseline;
  color: var(--ink-soft);
}
.div-card--meat li { color: var(--on-dark-soft); }
.div-card li::before { content: "—"; color: var(--gold); }
.div-card__foot {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.div-card__url { font-size: 13px; letter-spacing: 0.02em; color: var(--ink-soft); font-family: var(--sans); }
.div-card--meat .div-card__url { color: var(--on-dark-soft); }

/* ============================================================
   NETWORK / MAP
   ============================================================ */
.network-grid { }
.map-frame {
  position: relative;
  height: clamp(380px, 52vh, 560px);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--charcoal-2);
}
#map { width: 100%; height: 100%; }
.leaflet-tile-pane {
  filter: sepia(0.45) saturate(1.15) brightness(0.92) contrast(1.02) hue-rotate(-8deg);
}
.leaflet-container { background: #2a2118 !important; font-family: var(--sans) !important; }
.map-frame::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 90px 10px rgba(20,15,11,0.55);
  border-radius: 4px;
}

/* custom pins */
.pin {
  position: relative;
  width: 26px; height: 26px;
}
.pin__teardrop {
  width: 22px; height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: absolute;
  left: 2px; top: 0;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,0.7);
}
.pin--live .pin__teardrop { background: var(--gold); border: 1.5px solid #f4d889; }
.pin--live .pin__core {
  position: absolute; left: 9px; top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #1a130b;
}
.pin--planned .pin__teardrop {
  background: rgba(154,144,130,0.28);
  border: 1.5px dashed var(--stone);
}
.pin--planned .pin__core {
  position: absolute; left: 9px; top: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--stone);
}
.pin::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -3px;
  transform: translateX(-50%);
  width: 14px; height: 5px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.45), transparent 70%);
}
.pin.is-active { animation: pin-bounce .6s var(--ease); }
@keyframes pin-bounce {
  0%,100% { transform: translateY(0); }
  35% { transform: translateY(-9px); }
}

.leaflet-popup-content-wrapper {
  border-radius: 3px !important;
  background: var(--charcoal) !important;
  color: var(--on-dark) !important;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7) !important;
}
.leaflet-popup-tip { background: var(--charcoal) !important; }
.leaflet-popup-content { margin: 14px 16px !important; font-family: var(--sans) !important; }
.leaflet-popup-content b { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--gold-soft); }

.loc-cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.loc-card {
  background: rgba(20,15,11,0.30);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 26px;
  cursor: pointer;
  transition: border-color .35s var(--ease), background .35s, transform .35s var(--ease);
}
.loc-card:hover, .loc-card.is-active {
  border-color: var(--gold);
  background: rgba(48,33,14,0.42);
  transform: translateY(-3px);
}
.loc-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.loc-card__status .led { width: 8px; height: 8px; border-radius: 50%; }
.loc-card--live .loc-card__status { color: var(--gold-soft); }
.loc-card--live .led { background: var(--gold); box-shadow: 0 0 0 0 rgba(201,150,46,0.6); animation: led-pulse 2.4s infinite; }
.loc-card--planned .loc-card__status { color: var(--stone); }
.loc-card--planned .led { background: transparent; border: 1.5px dashed var(--stone); }
@keyframes led-pulse {
  0% { box-shadow: 0 0 0 0 rgba(201,150,46,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(201,150,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,150,46,0); }
}
.loc-card h4 { font-size: 23px; margin-top: 14px; color: #fbf6ec; }
.loc-card__addr { margin-top: 10px; font-size: 14px; color: var(--on-dark-soft); line-height: 1.5; }
.loc-card__role { margin-top: 14px; font-size: 13.5px; color: var(--gold-soft); font-weight: 500; }

/* ============================================================
   BRAND STORY
   ============================================================ */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.story__media { position: relative; }
.story__media .ph { aspect-ratio: 4/5; border-radius: 4px; }
.story__media .ph--bw { filter: grayscale(1) contrast(1.05); }
.story__frame {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: #1a130b;
  box-shadow: 0 40px 70px -40px rgba(20,15,11,0.85);
}
.story__frame .section-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.story__media .badge {
  position: absolute;
  right: -18px; bottom: 28px;
  background: var(--gold);
  color: #1a130b;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  padding: 18px 22px;
  border-radius: 3px;
  max-width: 190px;
  line-height: 1.15;
  box-shadow: 0 26px 50px -28px rgba(40,28,12,0.8);
}
.story__body h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 20px; }
.story__lead {
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 27px);
  font-style: italic;
  color: var(--ink);
  margin-top: 22px;
  line-height: 1.4;
}
.story__body p + p { margin-top: 18px; color: var(--ink-soft); }
.story__sign { margin-top: 26px; }
.story__sign .name { font-family: var(--script); font-size: 32px; color: var(--gold-deep); line-height: 0.9; }
.story__sign .role { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; margin-top: 4px; }

/* ============================================================
   WHY TRADE
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  overflow: hidden;
}
.why-cell {
  background: var(--cream);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.4vw, 32px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.why-cell .num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold-deep);
}
.why-cell h4 { font-size: 24px; margin-top: 16px; }
.why-cell p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.why-cell .icon-emblem { margin-top: auto; color: var(--gold); width: 34px; height: 34px; }

/* ============================================================
   TRADE ACCOUNT CTA + FORM
   ============================================================ */
.trade {
  position: relative;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(201,150,46,0.16), transparent 55%),
    var(--charcoal);
  color: var(--on-dark);
}
.trade.has-bg .section-bg::after {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(201,150,46,0.12), transparent 55%),
    rgba(20,15,11,0.30);
}
.trade-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.trade__intro h2 { font-size: clamp(34px, 4.4vw, 56px); margin-top: 20px; color: #fbf6ec; }
.trade__intro p { margin-top: 22px; color: var(--on-dark-soft); font-size: 17.5px; max-width: 44ch; }
.trade__note {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(201,150,46,0.07);
  font-size: 15px;
  color: var(--on-dark);
}
.trade__note strong { color: var(--gold-soft); }

.form-card {
  background: rgba(20,15,11,0.30);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border: 1px solid var(--line-light);
  border-radius: 5px;
  padding: clamp(28px, 3.5vw, 44px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--on-dark);
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--line-light);
  border-radius: 3px;
  padding: 13px 15px;
  transition: border-color .25s, background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #7d7264; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0,0,0,0.34);
}
.field textarea { resize: vertical; min-height: 96px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-card .consent { font-size: 12.5px; color: var(--on-dark-soft); margin-top: 16px; text-align: center; }
.form-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--gold);
  background: rgba(201,150,46,0.12);
  color: var(--gold-soft);
  border-radius: 3px;
  font-size: 14.5px;
  text-align: center;
}
.form-msg.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: #140f0c;
  color: var(--on-dark-soft);
  padding-block: clamp(56px, 7vw, 92px) 40px;
}
.site-footer.has-bg .section-bg::after { background: rgba(20,15,11,0.70); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand__logo { height: 56px; width: auto; display: block; margin-bottom: 18px; }
.footer-brand .wordmark { font-family: var(--script); font-size: 46px; color: var(--gold); line-height: 0.8; }
.footer-brand .tagline {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--stone); margin-top: 8px;
}
.footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.6; max-width: 34ch; color: var(--on-dark-soft); }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-soft); margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col .meta { font-size: 14px; line-height: 1.7; }
.footer-col .meta strong { color: var(--on-dark); font-weight: 600; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--stone-deep);
}

/* ============================================================
   PLACEHOLDERS
   ============================================================ */
.ph {
  position: relative;
  background-color: #2a2018;
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.035) 0px,
      rgba(255,255,255,0.035) 2px,
      transparent 2px,
      transparent 11px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph--light { background-color: #e4d9c5; }
.ph--light .ph__label { color: #8a7a5f; border-color: rgba(120,100,70,0.4); }
.ph__label {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #b09a78;
  border: 1px dashed rgba(176,154,120,0.5);
  padding: 8px 14px;
  border-radius: 2px;
  text-align: center;
  background: rgba(0,0,0,0.15);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  html.anim .reveal.in { opacity: 1; transform: none; }
  html.anim .reveal.d1 { transition-delay: .08s; }
  html.anim .reveal.d2 { transition-delay: .16s; }
  html.anim .reveal.d3 { transition-delay: .24s; }
}
/* Hard fallback: force the visible end-state with no transition (used when the
   entrance transition is frozen/throttled, so content can never stay hidden). */
html.no-anim .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-ctas { margin-left: auto; }
  .nav-toggle { display: flex; }
  .header-ctas .btn--outline { display: none; }
}
@media (max-width: 920px) {
  .divisions { grid-template-columns: 1fr; }
  .loc-cards { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story__media { max-width: 440px; }
  .trade-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-ctas .btn span.hide-sm { display: none; }
  .header-ctas .lang-toggle { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 26px; }
  .header-ctas { gap: 8px; }
  .header-ctas .btn--sm { padding: 9px 13px; font-size: 12px; }
}
@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .div-card__foot { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.12; }
  .hero__inner { padding-block: clamp(64px, 18vw, 110px); }
  .hero__sub { margin-top: 32px; }
  .hero__ctas { margin-top: 28px; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .hero__meta { gap: 22px 32px; margin-top: 38px; }
  .section-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .div-card { min-height: 0; }
  .story__media .badge { right: 12px; bottom: 16px; font-size: 15px; padding: 14px 16px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 360px) {
  .header-ctas .btn--outline { display: none; }
}
/* background-attachment: fixed is janky on mobile — pin normally */
@media (max-width: 920px), (hover: none) {
  .fixed-bg { background-attachment: scroll; }
}

/* mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--charcoal);
  color: var(--on-dark);
  padding: 80px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { transform: none; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 30px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}
.mobile-nav .m-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.mobile-nav .m-ctas .btn { justify-content: center; }
.mobile-nav .m-close {
  position: absolute; top: 22px; right: var(--gutter);
  width: 44px; height: 44px; border: 1px solid var(--line-light); background: transparent;
  color: var(--on-dark); font-size: 22px; border-radius: 2px; cursor: pointer;
}
