/* ============================================================
   Eastern Cashew / Royal Nuts — B2B Export — Royal Ledger
   Palette: deep royal purple + champagne gold + warm ivory
   Type: Fraunces (SOFT display) + Inter Tight + JetBrains Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..700,0..100;1,9..144,300..700,0..100&family=Inter+Tight:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* === Royal Purple scale === */
  --royal:   #1A0A2E;   /* deepest — hero / footer bg */
  --royal-2: #220D3C;   /* nav hover / dark cards */
  --royal-3: #2D1B5E;   /* elevated dark surfaces */
  --royal-4: #3E2B7A;   /* borders on dark */
  --royal-5: #5A45A0;   /* mid purple for accents */

  /* === Champagne Gold === */
  --gold:    #C9A84C;   /* primary accent */
  --gold-2:  #A88935;   /* hover / darker */
  --gold-soft: #E8C76A; /* glow / soft */
  --gold-pale: #F5E8C0; /* very soft tint */

  /* === Warm Ivory (light surfaces) === */
  --ivory:   #F5EDE0;
  --ivory-2: #EDE3D4;
  --ivory-line: #DDD0C0;

  /* === Utility === */
  --mute:    #7A6A9A;   /* muted text on dark */
  --mute-2:  #A898C8;   /* secondary text on dark */
  --ink:     #1A0A2E;   /* alias for dark bg */
  --paper:   #F5EDE0;   /* alias for ivory bg */
  --paper-2: #EDE3D4;
  --paper-line: #DDD0C0;
  --emerald: #4AAF7F;   /* status-active / live shipment */
  --warn:    #E0B144;

  /* === Typography === */
  --display: "Fraunces", "Georgia", serif;
  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* 8pt spacing grid */
  --s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;
  --s6:32px;--s7:48px;--s8:64px;--s9:96px;--s10:128px;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-feature-settings: "ss01","ss02","cv11";
  background: var(--ivory);
  color: var(--royal);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* ============================================================
   Typography
   ============================================================ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201,168,76,0.22);
}
.eyebrow--ink   { color: var(--royal); }
.eyebrow--ink::before { background: var(--royal); box-shadow: 0 0 0 4px rgba(26,10,46,0.1); }
.eyebrow--ivory { color: var(--ivory); }
.eyebrow--ivory::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,76,0.28); }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* Fraunces display — for section headings that need royal elegance */
.h-display {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "SOFT" 80, "opsz" 72;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.h-display em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "SOFT" 100, "opsz" 72;
}
.h-display--sans {
  font-family: var(--sans);
  font-weight: 450;
  letter-spacing: -0.035em;
}

.h1 { font-family: var(--display); font-size: clamp(32px,5vw,64px); font-weight: 400; font-variation-settings: "SOFT" 60,"opsz" 48; letter-spacing: -0.02em; line-height: 1.02; }
.h2 { font-size: clamp(24px,3vw,36px); letter-spacing: -0.02em; }
.h3 { font-size: clamp(18px,2vw,22px); font-weight: 500; }

.mono  { font-family: var(--mono); }
.mono-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mute);
  text-transform: uppercase;
}

.body-lg   { font-size: clamp(16px,1.2vw,19px); line-height: 1.55; color: var(--royal-3); }
.body-mute { color: #5A4A72; }

/* ============================================================
   Layout
   ============================================================ */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

section { padding: clamp(56px,9vw,120px) 0; }
section.tight { padding: clamp(40px,6vw,80px) 0; }

.dark { background: var(--royal); color: var(--ivory); }
.dark .body-mute { color: var(--mute-2); }
.dark .mono-tag  { color: var(--mute-2); }

.section-head {
  display: grid;
  grid-template-columns: minmax(120px,200px) 1fr;
  gap: clamp(24px,4vw,80px);
  align-items: end;
  padding-bottom: clamp(32px,5vw,56px);
  border-bottom: 1px solid var(--ivory-line);
  margin-bottom: clamp(32px,5vw,64px);
}
.dark .section-head { border-bottom-color: var(--royal-4); }

.section-head__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mute);
  padding-top: 6px;
  text-transform: uppercase;
}
@media (max-width:720px) { .section-head { grid-template-columns:1fr; gap:16px; } }

/* ============================================================
   Utility / announce bar
   ============================================================ */
.util-bar {
  background: var(--royal);
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.util-bar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.util-bar__l, .util-bar__r { display: flex; gap: 20px; align-items: center; }
.util-bar__r span { color: var(--mute-2); }
.util-bar__dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(74,175,127,0.22);
  margin-right: 8px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(74,175,127,0.22); }
  50%      { box-shadow: 0 0 0 6px rgba(74,175,127,0.05); }
}
@keyframes pulseGold {
  0%,100% { box-shadow: 0 0 0 3px rgba(201,168,76,0.22); }
  50%      { box-shadow: 0 0 0 6px rgba(201,168,76,0.05); }
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,237,224,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ivory-line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--royal);
  border-radius: 6px;
  color: var(--gold);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
}
.brand__name { font-weight: 500; font-size: 15px; color: var(--royal); }
.brand__sub  { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); display: block; }

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
}
.nav__links a { color: var(--royal); font-weight: 450; position: relative; transition: color 0.2s; }
.nav__links a:hover { color: var(--gold-2); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -22px;
  width: 100%; height: 2px;
  background: var(--gold);
}

.nav__cta {
  background: var(--royal);
  color: var(--ivory);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover { background: var(--gold); color: var(--royal); transform: translateY(-1px); }
.nav__cta::after { content: "→"; transition: transform 0.2s; }
.nav__cta:hover::after { transform: translateX(3px); }

.nav__burger {
  display: none;
  width: 32px; height: 32px;
  background: var(--royal);
  color: var(--ivory);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}
@media (max-width:920px) {
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__burger { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--royal);
  color: var(--ivory);
  padding: 80px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.65,0,0.35,1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.drawer.is-open { transform: translateY(0); }
.drawer a { font-family: var(--display); font-size: 28px; font-weight: 400; font-variation-settings: "SOFT" 60,"opsz" 32; letter-spacing: -0.01em; }
.drawer a:hover { color: var(--gold); }
.drawer__close {
  position: absolute;
  top: 24px; right: var(--gutter);
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--royal);
  color: var(--ivory);
  padding: clamp(56px,9vw,120px) 0 clamp(40px,6vw,80px);
  position: relative;
  overflow: hidden;
}
/* subtle radial glow in purple */
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(90,69,160,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px,6vw,96px);
  align-items: end;
  position: relative;
  z-index: 1;
}
@media (max-width:920px) { .hero__inner { grid-template-columns:1fr; gap:32px; } }

.hero__l { display: flex; flex-direction: column; gap: 28px; }
.hero__title { color: var(--ivory); }
.hero__title em { color: var(--gold-soft); font-style: italic; }
.hero__sub {
  font-size: clamp(15px,1.3vw,18px);
  color: var(--mute-2);
  line-height: 1.6;
  max-width: 58ch;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Buttons */
.btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.btn--gold   { background: var(--gold); color: var(--royal); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost  { border: 1px solid var(--royal-4); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--royal  { background: var(--royal); color: var(--ivory); }
.btn--royal:hover { background: var(--gold); color: var(--royal); }
.btn--ivory  { background: var(--ivory); color: var(--royal); }
.btn--ivory:hover { background: var(--gold); color: var(--royal); }
.btn::after { content: "→"; transition: transform 0.2s; }
.btn:hover::after { transform: translateX(3px); }

/* Hero datasheet card */
.datasheet {
  background: var(--royal-2);
  border: 1px solid var(--royal-4);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--mono);
}
.datasheet__head {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--royal-4);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.datasheet__head span { color: var(--emerald); display: inline-flex; align-items: center; gap: 6px; }
.datasheet__head span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(74,175,127,0.22);
  animation: pulse 2s ease-in-out infinite;
}
.datasheet__body { padding: 6px 0; }
.datasheet__row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 10px 18px;
  font-size: 12px;
  border-bottom: 1px dashed var(--royal-4);
}
.datasheet__row:last-child { border-bottom: 0; }
.datasheet__row span:first-child { color: var(--mute-2); }
.datasheet__row span:last-child  { color: var(--ivory); font-weight: 500; }
.datasheet__row.is-highlight span:last-child { color: var(--gold); }

/* Hero corner labels */
.hero__schem {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.hero__schem--tl { top:16px;    left:var(--gutter); }
.hero__schem--tr { top:16px;    right:var(--gutter); }
.hero__schem--br { bottom:16px; right:var(--gutter); }
@media (max-width:720px) { .hero__schem { display:none; } }

/* ============================================================
   Stat strip
   ============================================================ */
.stat-strip { background: var(--royal-3); color: var(--ivory); border-top: 1px solid var(--royal-4); border-bottom: 1px solid var(--royal-4); }
.stat-strip__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-strip__cell {
  padding: 32px var(--s5);
  border-right: 1px solid var(--royal-4);
  display: flex; flex-direction: column; gap: 6px;
}
.stat-strip__cell:last-child { border-right: 0; }
.stat-strip__n {
  font-family: var(--display);
  font-size: clamp(28px,3.4vw,44px);
  font-weight: 400;
  font-variation-settings: "SOFT" 60,"opsz" 36;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ivory);
}
.stat-strip__n em { color: var(--gold); font-style: normal; }
.stat-strip__lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); }
@media (max-width:720px) {
  .stat-strip__grid { grid-template-columns: repeat(2,1fr); }
  .stat-strip__cell:nth-child(2)  { border-right:0; }
  .stat-strip__cell:nth-child(1), .stat-strip__cell:nth-child(2) { border-bottom: 1px solid var(--royal-4); }
}

/* ============================================================
   Product grade cards
   ============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width:920px) { .prod-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px) { .prod-grid { grid-template-columns: 1fr; } }

.prod {
  background: var(--ivory);
  border: 1px solid var(--ivory-line);
  border-radius: 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.prod:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(26,10,46,0.1); }
.prod__head {
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--ivory-line);
  background: var(--ivory-2);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.prod__sku { color: var(--mute); }
.prod__cat { color: var(--gold-2); font-weight: 600; }
.prod__img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--royal-3) 0%, var(--royal) 100%);
  position: relative;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 22px; font-weight: 600;
  color: var(--gold-soft);
  overflow: hidden;
}
.prod__img img { width:100%; height:100%; object-fit:cover; }
/* Real product photography (Royal Nuts retail bags) — float on warm light bg */
.prod__img--photo {
  aspect-ratio: 4/3;
  background: radial-gradient(circle at 50% 38%, #FFFDF7 0%, #F3EADB 70%, #ECE0CC 100%);
  padding: 14px 10px;
}
.prod__img--photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(26,10,46,0.22));
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.prod:hover .prod__img--photo img { transform: translateY(-4px) scale(1.035); }
.prod__img--photo::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(201,168,76,0.18), transparent 60%);
  pointer-events: none;
}
.prod__img::after {
  content: attr(data-lot);
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 8px;
  background: rgba(26,10,46,0.85);
  color: var(--gold-pale);
  border-radius: 3px;
  font-size: 9px; letter-spacing: 0.1em; font-family: var(--mono);
}
.prod__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.prod__name { font-family: var(--display); font-size: 22px; font-weight: 400; font-variation-settings: "SOFT" 60,"opsz" 24; letter-spacing: -0.01em; }
.prod__grade { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--gold-2); text-transform: uppercase; }
.prod__specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px;
  margin-top: 4px; padding-top: 12px;
  border-top: 1px dashed var(--ivory-line);
}
.prod__spec { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; }
.prod__spec span:first-child { color: var(--mute); }
.prod__spec span:last-child  { color: var(--royal); font-weight: 600; }
.prod__cta {
  margin-top: auto;
  padding: 14px 20px;
  border-top: 1px solid var(--ivory-line);
  background: var(--ivory-2);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--royal);
  transition: background 0.2s, color 0.2s;
}
.prod__cta:hover { background: var(--gold); }
.prod__cta::after { content:"→"; transition: transform 0.2s; }
.prod__cta:hover::after { transform: translateX(3px); }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  padding: 8px 16px;
  border: 1px solid var(--ivory-line);
  border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--royal); background: var(--ivory);
  cursor: pointer; transition: all 0.2s;
}
.chip:hover, .chip.is-active { background: var(--royal); color: var(--ivory); border-color: var(--royal); }
.chip.is-active { background: var(--gold); color: var(--royal); border-color: var(--gold); }

/* ============================================================
   Capability / process grid
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--ivory-line); border: 1px solid var(--ivory-line); }
.cap-grid .cap {
  background: var(--ivory);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  transition: background 0.25s, color 0.25s;
}
.cap-grid .cap:hover { background: var(--royal); color: var(--ivory); }
.cap-grid .cap:hover .cap__idx { color: var(--gold); }
.cap-grid .cap:hover .cap__desc { color: var(--mute-2); }
.cap__idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--mute); text-transform: uppercase; }
.cap__h   { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.cap__desc { font-size: 14px; line-height: 1.55; color: #5A4A72; flex: 1; }
.cap__tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
@media (max-width:920px) { .cap-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px) { .cap-grid { grid-template-columns: 1fr; } }

/* Process flow */
.flow { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; position: relative; }
.flow__step {
  background: var(--ivory);
  border: 1px solid var(--ivory-line);
  border-radius: 6px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.flow__step::after {
  content: "→";
  position: absolute;
  right: -16px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  color: var(--gold);
  font-size: 14px; width: 16px; text-align: center;
}
.flow__step:last-child::after { display: none; }
.flow__num  { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.flow__h    { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.flow__d    { font-size: 12px; color: #5A4A72; line-height: 1.5; }
@media (max-width:920px) { .flow { grid-template-columns: repeat(2,1fr); } .flow__step::after { display:none; } }
@media (max-width:480px) { .flow { grid-template-columns: 1fr; } }

/* ============================================================
   Markets
   ============================================================ */
.markets { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
@media (max-width:920px) { .markets { grid-template-columns:1fr; } }

.markets__map {
  aspect-ratio: 4/3;
  background: var(--royal-2);
  border-radius: 8px;
  position: relative;
  padding: 24px;
  border: 1px solid var(--royal-4);
  overflow: hidden;
}
.markets__list { display: flex; flex-direction: column; gap: 12px; }
.market-card {
  padding: 18px 22px;
  border: 1px solid var(--royal-4);
  border-radius: 6px;
  background: var(--royal-2);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px; align-items: center;
}
.market-card__flag {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--royal-3);
  border-radius: 50%;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--royal-4);
}
.market-card__n { font-size: 15px; font-weight: 500; color: var(--ivory); }
.market-card__d { font-family: var(--mono); font-size: 11px; color: var(--mute-2); letter-spacing: 0.04em; }
.market-card__stat {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex; align-items: center; gap: 6px;
}
.market-card__stat::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--emerald); box-shadow:0 0 0 3px rgba(74,175,127,0.25); }

/* ============================================================
   Royal Nuts brand feature (two-column split)
   ============================================================ */
.rn-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--royal-4);
  border-radius: 8px;
  overflow: hidden;
}
.rn-split__l {
  background: var(--gold);
  color: var(--royal);
  padding: clamp(32px,5vw,64px);
  display: flex; flex-direction: column; gap: 20px;
}
.rn-split__r {
  background: var(--royal-2);
  color: var(--ivory);
  padding: clamp(32px,5vw,64px);
  display: flex; flex-direction: column; gap: 20px;
}
.rn-split__logo {
  font-family: var(--display);
  font-size: clamp(32px,4vw,52px);
  font-weight: 400;
  font-variation-settings: "SOFT" 80,"opsz" 48;
  line-height: 1;
  letter-spacing: -0.02em;
}
.rn-split__logo em { font-style: italic; }
.rn-split__year { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.rn-split__desc { font-size: 14px; line-height: 1.6; opacity: 0.85; max-width: 36ch; }
.rn-markets { display: flex; flex-direction: column; gap: 10px; }
.rn-markets__item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--mute-2); }
.rn-markets__item::before { content:""; width:4px; height:4px; border-radius:50%; background:var(--gold); flex-shrink:0; }
@media (max-width:720px) { .rn-split { grid-template-columns:1fr; } }

/* ============================================================
   CSR / Workforce band
   ============================================================ */
.csr-band {
  background: var(--ivory-2);
  border-top: 1px solid var(--ivory-line);
  border-bottom: 1px solid var(--ivory-line);
  padding: clamp(48px,7vw,96px) 0;
}
.csr-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px,5vw,80px);
  align-items: center;
}
.csr-stat {
  display: flex; flex-direction: column; gap: 8px;
}
.csr-stat__n {
  font-family: var(--display);
  font-size: clamp(56px,8vw,96px);
  font-weight: 400;
  font-variation-settings: "SOFT" 80,"opsz" 72;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--royal);
}
.csr-stat__n em { color: var(--gold); font-style: normal; }
.csr-stat__lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.csr-copy { display: flex; flex-direction: column; gap: 16px; }
@media (max-width:720px) { .csr-inner { grid-template-columns:1fr; } }

/* ============================================================
   Team / Founders
   ============================================================ */
.team { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width:920px) { .team { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px) { .team { grid-template-columns: 1fr; } }

.tcard {
  background: var(--ivory);
  border: 1px solid var(--ivory-line);
  border-radius: 6px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.dark .tcard { background: var(--royal-2); border-color: var(--royal-4); }
.tcard__init {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--royal);
  color: var(--gold);
  border-radius: 50%;
  font-family: var(--display); font-size: 22px; font-weight: 400;
  font-variation-settings: "SOFT" 80,"opsz" 20;
}
.tcard__name   { font-family: var(--display); font-size: 20px; font-weight: 400; font-variation-settings: "SOFT" 60,"opsz" 20; letter-spacing: -0.01em; }
.dark .tcard__name { color: var(--ivory); }
.tcard__role   { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.tcard__bio    { font-size: 13px; color: #5A4A72; line-height: 1.55; flex: 1; }
.dark .tcard__bio  { color: var(--mute-2); }
.tcard__links  { display: flex; gap: 10px; align-items: center; }
.tcard__lk {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--royal); padding: 4px 10px;
  border: 1px solid var(--ivory-line); border-radius: 3px;
  transition: all 0.2s;
}
.dark .tcard__lk { color: var(--ivory); border-color: var(--royal-4); }
.tcard__lk:hover { background: var(--gold); color: var(--royal); border-color: var(--gold); }

/* ============================================================
   Cert grid
   ============================================================ */
.certs { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--ivory-line); border: 1px solid var(--ivory-line); }
.certs__cell {
  background: var(--ivory);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px; position: relative;
}
.certs__badge {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--royal);
  color: var(--gold);
  border-radius: 4px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
}
.certs__name  { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.certs__desc  { font-size: 12px; color: #5A4A72; line-height: 1.5; }
.certs__id    { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin-top: auto; }
@media (max-width:920px) { .certs { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px) { .certs { grid-template-columns: 1fr; } }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--gold);
  color: var(--royal);
  padding: clamp(56px,8vw,96px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px; align-items: center;
  position: relative; z-index: 1;
}
.cta-band__h {
  font-family: var(--display);
  font-size: clamp(28px,4vw,48px);
  font-weight: 400;
  font-variation-settings: "SOFT" 60,"opsz" 40;
  letter-spacing: -0.02em; line-height: 1.05;
}
.cta-band__d { font-size: 15px; max-width: 50ch; opacity: 0.85; margin-top: 12px; }
.cta-band__btns { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width:920px) {
  .cta-band__inner { grid-template-columns:1fr; }
  .cta-band__btns  { justify-content: flex-start; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--royal);
  color: var(--ivory);
  padding-top: 80px;
  padding-bottom: 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--royal-4);
}
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
.footer__col a, .footer__col li { display: block; font-size: 13px; color: var(--mute-2); margin-bottom: 10px; list-style: none; line-height: 1.5; }
.footer__col a:hover { color: var(--gold); }
.footer__brand h3 { font-family: var(--display); font-size: 22px; font-weight: 400; font-variation-settings: "SOFT" 60,"opsz" 24; letter-spacing: -0.02em; margin-bottom: 12px; }
.footer__tagline { font-family: var(--display); font-style: italic; font-size: 15px; font-variation-settings: "SOFT" 80,"opsz" 16; color: var(--gold-soft); max-width: 34ch; line-height: 1.55; margin-bottom: 20px; }

.footer__bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mute); flex-wrap: wrap; gap: 16px;
}
.footer__bottom a { color: var(--gold); }
@media (max-width:920px) { .footer__grid { grid-template-columns:1fr 1fr; gap:32px; } }
@media (max-width:480px) { .footer__grid { grid-template-columns:1fr; } }

/* ============================================================
   Reveal — FALLBACK SAFE
   ============================================================ */
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal--hide { opacity: 0; transform: translateY(18px); }

/* Royal gold selection */
::selection { background: var(--gold); color: var(--royal); }
