/* ===================================================
   LUMINA — Design Tokens
=================================================== */
:root {
  --deep-green: #1C3620;
  --deep-green-2: #142819;
  --ivory: #F7F3E8;
  --gold: #C9A961;
  --gold-bright: #E0C583;
  --matcha-leaf: #4A7856;
  --cream: #EFE6CC;
  --ink: #2A2A24;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 600; }

p { margin: 0; line-height: 1.6; }

::selection { background: var(--gold); color: var(--deep-green); }

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

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

/* Grain texture overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================================================
   Buttons
=================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--deep-green-2);
}
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(239,230,204,0.4);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: rgba(239,230,204,0.35);
}
.btn-outline-cream:hover { background: var(--cream); color: var(--deep-green); }
.btn-block { width: 100%; }

/* ===================================================
   Nav
=================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav.scrolled {
  padding: 14px 0;
  background: rgba(28, 54, 32, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(201,169,97,0.15);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}
.nav-logo-mark { width: 30px; height: 18px; color: var(--gold); }
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.85;
  transition: opacity 0.25s;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { opacity: 1; }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold);
  color: var(--deep-green-2) !important;
  padding: 10px 20px;
  border-radius: 2px;
  opacity: 1 !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: all 0.3s var(--ease);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--deep-green-2);
  padding: 10px 32px 26px;
}
.nav-mobile a {
  color: var(--cream);
  padding: 12px 0;
  border-bottom: 1px solid rgba(239,230,204,0.1);
  font-size: 0.95rem;
}

/* ===================================================
   Hero
=================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep-green-2);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-img-wrap {
  position: absolute;
  inset: -4%;
  will-change: transform;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroReveal 2.6s var(--ease) forwards;
}
@keyframes heroReveal {
  from { transform: scale(1.32); filter: brightness(0.55) saturate(0.85); }
  to   { transform: scale(1.1); filter: brightness(1) saturate(1); }
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%, transparent 30%, rgba(10,20,12,0.55) 100%);
  pointer-events: none;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,28,18,0.6) 0%, rgba(15,28,18,0.1) 32%, rgba(15,28,18,0.35) 62%, rgba(12,22,14,0.97) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 110px;
  width: 100%;
  color: var(--cream);
  text-align: center;
}
.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 60px;
  margin-bottom: 22px;
  font-weight: 600;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}
.hero-rule {
  width: 0;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 30px;
  animation: ruleGrow 1.1s var(--ease) 0.9s forwards;
}
@keyframes ruleGrow {
  to { width: 72px; }
}
.hero-title {
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 1120px;
  margin: 0 auto 28px;
  opacity: 0;
  filter: blur(6px);
  animation: titleReveal 1.3s var(--ease) 0.55s forwards;
  text-shadow: 0 4px 40px rgba(0,0,0,0.35);
}
@keyframes titleReveal {
  from { opacity: 0; transform: translateY(26px) scale(0.98); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 620px;
  margin: 0 auto 40px;
  color: rgba(239,230,204,0.88);
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 1.1s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 1.3s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  opacity: 0.7;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@media (max-width: 720px) {
  .hero-scroll-cue { display: none; }
}

/* ===================================================
   Intro strip
=================================================== */
.intro-strip {
  position: relative;
  background: var(--deep-green-2);
  padding: 100px 32px;
  border-bottom: 1px solid rgba(201,169,97,0.15);
  overflow: hidden;
}
.intro-matcha-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.intro-matcha-img {
  width: 50vw;
  min-width: 640px;
  max-width: 1200px;
  height: auto;
  mix-blend-mode: normal;
  filter: saturate(0.9) brightness(0.8) contrast(1.05);
  opacity: 0;
  transform: scale(0.82);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at center, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at center, #000 55%, transparent 100%);
  transition: transform 1.1s cubic-bezier(0.2, 1.1, 0.3, 1), opacity 0.9s ease;
}
.intro-matcha-img.is-visible {
  opacity: 0.45;
  transform: scale(1);
}
.intro-strip-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.intro-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.5;
  color: var(--cream);
  font-weight: 500;
}
.intro-em {
  color: var(--gold-bright);
  font-style: italic;
}
.intro-em-line {
  display: inline-block;
  margin-top: 14px;
}

/* ===================================================
   Section generic
=================================================== */
.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  color: var(--deep-green);
  margin-bottom: 22px;
}
.section-lead {
  font-size: 1.08rem;
  color: rgba(42,42,36,0.72);
  max-width: 520px;
  line-height: 1.65;
}

/* ===================================================
   Grading Section — signature element
=================================================== */
.grading {
  background: var(--deep-green);
  padding: 130px 32px 140px;
  position: relative;
}
.grading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(201,169,97,0.08), transparent 55%);
  pointer-events: none;
}
.grading-head {
  max-width: 680px;
  margin: 0 auto 80px;
  text-align: center;
  position: relative;
}
.grading-head .section-eyebrow { justify-content: center; }
.grading-head .section-title { color: var(--cream); }
.grading-head .section-lead { color: rgba(239,230,204,0.72); margin: 0 auto; }
.grading-head-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--gold-bright);
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(224,197,131,0.4);
  padding-bottom: 2px;
  transition: border-color 0.25s, opacity 0.25s;
}
.grading-head-link:hover { border-color: var(--gold-bright); opacity: 0.85; }

.cert-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}

.cert-panel { position: relative; }

.cert-card {
  background: linear-gradient(160deg, #1F3D24 0%, #16291B 100%);
  border: 1px solid rgba(201,169,97,0.35);
  border-radius: 4px;
  padding: 44px 40px 34px;
  position: relative;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.cert-card.is-visible { opacity: 1; transform: translateY(0); }

.cert-card::before,
.cert-card::after {
  content: '';
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
  opacity: 0.6;
}
.cert-card::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.cert-card::after { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.cert-card-head { text-align: center; margin-bottom: 20px; }
.cert-kicker {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.cert-lot-name {
  font-size: 2.1rem;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 6px;
}
.cert-origin {
  font-size: 0.82rem;
  color: rgba(239,230,204,0.6);
  letter-spacing: 0.04em;
}

.cert-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(201,169,97,0.2);
  border-bottom: 1px solid rgba(201,169,97,0.2);
  padding: 30px 0;
  margin-bottom: 26px;
}

.radar-holder { width: 100%; }
.radar-svg { width: 100%; height: auto; overflow: visible; }
.radar-grid line, .radar-grid polygon {
  stroke: rgba(239,230,204,0.16);
  fill: none;
  stroke-width: 1;
}
.radar-labels text {
  fill: rgba(239,230,204,0.55);
  font-size: 10.5px;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}
.radar-polygon {
  fill: rgba(201,169,97,0.22);
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linejoin: round;
  transform-origin: 200px 200px;
  transform: scale(0);
  transition: transform 1.4s var(--ease) 0.3s;
}
.radar-polygon.is-visible { transform: scale(1); }
#radarDots circle {
  fill: var(--gold-bright);
  opacity: 0;
  transition: opacity 0.6s ease 1.2s;
}
#radarDots.is-visible circle { opacity: 1; }

.cert-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.metric {
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(201,169,97,0.3);
  padding-left: 14px;
}
.metric-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239,230,204,0.5);
  margin-bottom: 3px;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
  font-weight: 600;
}
.metric-note {
  font-size: 0.74rem;
  color: rgba(239,230,204,0.42);
  margin-top: 2px;
}

.cert-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.cert-foot-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cert-foot-label {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(239,230,204,0.4);
}
.cert-foot-val {
  font-size: 0.8rem;
  color: rgba(239,230,204,0.8);
}
.cert-seal {
  margin-left: auto;
}
.seal-ring {
  width: 78px; height: 78px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gold-bright);
  font-size: 0.58rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  line-height: 1.25;
  padding: 8px;
  position: relative;
}
.seal-ring::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201,169,97,0.4);
  border-radius: 50%;
}

.grading-copy {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 20px;
}
.grading-copy-item {
  border-top: 1px solid rgba(201,169,97,0.25);
  padding-top: 20px;
}
.grading-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.grading-copy-item p {
  color: rgba(239,230,204,0.75);
  font-size: 0.96rem;
}

@media (max-width: 980px) {
  .cert-wrap { grid-template-columns: 1fr; }
  .cert-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cert-card { padding: 32px 22px 26px; }
  .cert-foot { flex-direction: column; align-items: flex-start; }
  .cert-seal { margin-left: 0; }
}

/* ===================================================
   Origin section
=================================================== */
.origin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ivory);
}
.origin-media { position: relative; min-height: 560px; overflow: hidden; }
.origin-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.origin-copy {
  padding: 100px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.origin-p {
  color: rgba(42,42,36,0.72);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 520px;
}
.origin-stats {
  display: flex;
  gap: 44px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.origin-stat { display: flex; flex-direction: column; }
.origin-stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--matcha-leaf);
  font-weight: 600;
}
.origin-stat-label {
  font-size: 0.78rem;
  color: rgba(42,42,36,0.55);
  margin-top: 4px;
  max-width: 130px;
}
@media (max-width: 900px) {
  .origin { grid-template-columns: 1fr; }
  .origin-media { min-height: 380px; }
  .origin-copy { padding: 64px 28px; }
}

/* ===================================================
   Supply Chain Diagram
=================================================== */
.chain { background: var(--ivory); padding: 100px 32px 120px; }
.chain-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.chain-head .section-eyebrow { justify-content: center; }
.chain-lead { margin: 0 auto; }

.chain-panels {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 0 16px;
}
.chain-panel {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(28,54,32,0.3);
  align-self: stretch;
}
.chain-panel-header {
  padding: 22px 26px;
  color: var(--cream);
}
.chain-panel-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.chain-panel-header p {
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.7;
}
.chain-panel-current .chain-panel-header { background: var(--ink); }
.chain-panel-ideal .chain-panel-header { background: var(--deep-green-2); }
.chain-panel-body { padding: 6px 26px 22px; }

.chain-vs {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  justify-self: center;
}

.chain-stage-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.chain-stage-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.chain-stage-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--deep-green);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chain-stage-icon-photo img { width: 100%; height: 100%; object-fit: cover; }
.chain-stage-icon-lab { background: rgba(201,169,97,0.15); }
.chain-stage-icon-lab svg { stroke: var(--gold); }
.chain-stage-icon-solution { background: rgba(74,120,86,0.12); }
.chain-stage-icon-solution svg { stroke: var(--matcha-leaf); }

.chain-stage-text {
  flex: 0 0 128px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chain-stage-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--deep-green);
}
.chain-title-muted { color: rgba(42,42,36,0.4); font-style: italic; font-weight: 500; }
.chain-stage-sub { font-size: 0.72rem; color: rgba(42,42,36,0.5); }

.chain-stage-note {
  flex: 1;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(42,42,36,0.62);
  padding-left: 14px;
  border-left: 1px solid rgba(28,54,32,0.08);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chain-stage-note .check {
  color: var(--matcha-leaf);
  font-weight: 700;
  flex-shrink: 0;
}
.chain-stage-arrow {
  display: block;
  padding-left: 62px;
  color: rgba(42,42,36,0.22);
  font-size: 0.95rem;
  line-height: 1;
}

.grade-drift { color: #a8462f; font-weight: 700; }
.grade-consistent { color: var(--matcha-leaf); font-weight: 700; }

.chain-highlights {
  max-width: 1080px;
  margin: 44px auto 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 50px -30px rgba(28,54,32,0.25);
  padding: 30px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
  justify-content: space-between;
}
.chain-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 170px;
  min-width: 160px;
}
.chain-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chain-highlight-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--matcha-leaf);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chain-highlight-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--deep-green);
}
.chain-highlight-sub {
  display: block;
  font-size: 0.74rem;
  color: rgba(42,42,36,0.55);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .chain-panels { grid-template-columns: 1fr; gap: 20px 0; }
  .chain-vs { margin: 0 auto; }
  .chain-stage-row { flex-wrap: wrap; }
  .chain-stage-note {
    flex: 1 1 100%;
    border-left: none;
    padding-left: 62px;
    margin-top: -4px;
  }
  .chain-stage-arrow { padding-left: 62px; }
}
@media (max-width: 480px) {
  .chain-panel-body { padding: 6px 16px 18px; }
  .chain-stage-text { flex: 1 1 auto; }
}

/* ===================================================
   Products
=================================================== */
.products { background: var(--cream); padding: 130px 32px; }
.products-head { max-width: var(--container); margin: 0 auto 60px; }
.products-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--ivory);
  border: 1px solid rgba(28,54,32,0.1);
  padding: 0 0 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(28,54,32,0.25); }
.product-card-img { height: 220px; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 {
  font-size: 1.35rem;
  color: var(--deep-green);
  margin: 26px 30px 12px;
}
.product-card p {
  color: rgba(42,42,36,0.65);
  font-size: 0.92rem;
  margin: 0 30px 18px;
}
.product-tag {
  margin: auto 30px 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--matcha-leaf);
  font-weight: 600;
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   Trust
=================================================== */
.trust { background: var(--deep-green-2); padding: 130px 32px 0; }
.trust-inner { max-width: var(--container); margin: 0 auto; }
.trust-eyebrow { text-align: left; }
.trust-title { color: var(--cream); max-width: 620px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  padding-bottom: 90px;
  border-bottom: 1px solid rgba(201,169,97,0.15);
}
.trust-item { border-top: 1px solid rgba(201,169,97,0.3); padding-top: 20px; }
.trust-item-title {
  display: block;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.trust-item p { color: rgba(239,230,204,0.62); font-size: 0.9rem; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  padding: 90px 32px;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--cream);
  line-height: 1.5;
  margin: 0 0 24px;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(239,230,204,0.55);
  letter-spacing: 0.02em;
}
.testimonial-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,97,0.5);
  background: rgba(201,169,97,0.1);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.testimonial-attribution-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.testimonial-name {
  font-size: 0.85rem;
  color: rgba(239,230,204,0.85);
  font-weight: 600;
}
.testimonial-loc {
  font-size: 0.78rem;
  color: rgba(239,230,204,0.5);
}

/* ===================================================
   Capabilities / Strengths
=================================================== */
.capabilities { background: var(--deep-green-2); padding: 0 32px 130px; }
.capabilities-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.capabilities-head .section-eyebrow { justify-content: center; }
.capabilities-head .section-title { color: var(--cream); }
.capabilities-head .section-lead { color: rgba(239,230,204,0.68); margin: 0 auto; }

.lead-stats {
  max-width: 760px;
  margin: 0 auto 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.lead-stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lead-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--gold-bright);
  font-weight: 600;
}
.lead-stat-sub {
  font-size: 0.55em;
  font-family: var(--font-body);
  font-weight: 500;
  color: rgba(239,230,204,0.5);
  margin-left: 2px;
}
.lead-stat-label {
  font-size: 0.8rem;
  color: rgba(239,230,204,0.55);
  margin-top: 8px;
  max-width: 180px;
}
.lead-stat-divider {
  width: 1px;
  height: 54px;
  background: rgba(201,169,97,0.3);
}
@media (max-width: 560px) {
  .lead-stats { gap: 28px; }
  .lead-stat-divider { height: 40px; }
}

.capabilities-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.capability-card {
  background: linear-gradient(160deg, rgba(201,169,97,0.06), rgba(201,169,97,0.02));
  border: 1px solid rgba(201,169,97,0.22);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.capability-card-img {
  height: 160px;
  overflow: hidden;
}
.capability-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.92);
  transition: transform 0.6s var(--ease);
}
.capability-card:hover .capability-card-img img { transform: scale(1.05); }
.capability-card > .capability-num,
.capability-card > ul {
  padding-left: 28px;
  padding-right: 28px;
}
.capability-card > .capability-num {
  margin-top: 22px;
}
.capability-card > ul {
  padding-bottom: 28px;
}
.capability-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.capability-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.capability-card li {
  position: relative;
  padding-left: 16px;
  color: rgba(239,230,204,0.68);
  font-size: 0.88rem;
  line-height: 1.55;
}
.capability-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--gold);
}
@media (max-width: 980px) {
  .capabilities-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .capabilities-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   Wholesale form
=================================================== */
.wholesale { background: var(--ivory); padding: 130px 32px; }
.wholesale-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}
.wholesale-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wholesale-list li {
  padding-left: 22px;
  position: relative;
  color: var(--deep-green);
  font-size: 0.95rem;
  font-weight: 500;
}
.wholesale-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 1px;
  background: var(--gold);
}
.wholesale-form {
  background: #fff;
  border: 1px solid rgba(28,54,32,0.1);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wholesale-form label, .contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--deep-green);
}
.form-full { grid-column: 1 / -1; }
.optional-tag {
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(42,42,36,0.4);
  font-size: 0.78rem;
}
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 460px) {
  .contact-form-row { grid-template-columns: 1fr; }
}
input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid rgba(28,54,32,0.2);
  border-radius: 2px;
  background: var(--ivory);
  color: var(--ink);
  font-weight: 400;
  transition: border-color 0.25s;
}
.contact-form input, .contact-form textarea {
  background: rgba(239,230,204,0.06);
  border-color: rgba(239,230,204,0.25);
  color: var(--cream);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; }
.form-note {
  font-size: 0.8rem;
  color: rgba(42,42,36,0.5);
  margin: 0;
}
@media (max-width: 900px) {
  .wholesale-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wholesale-form { padding: 28px 22px; }
}

/* ===================================================
   Footer
=================================================== */
.site-footer { background: var(--deep-green-2); padding: 100px 32px 0; }
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(201,169,97,0.15);
}
.footer-brand { display: flex; flex-direction: column; justify-content: center; }
.footer-logo-mark { width: 60px; height: 36px; color: var(--gold); margin-bottom: 26px; }
.footer-tagline { color: rgba(239,230,204,0.6); font-size: 0.95rem; line-height: 1.6; }
.footer-email {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold-bright);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(201,169,97,0.4);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
  width: fit-content;
}
.footer-email:hover { color: var(--cream); border-color: var(--cream); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form h3 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.contact-form label { color: rgba(239,230,204,0.7); }
.contact-form .form-note { color: rgba(239,230,204,0.5); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 34px 0;
}
.footer-links { display: flex; gap: 26px; }
.footer-links a { color: rgba(239,230,204,0.55); font-size: 0.85rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-copyright { color: rgba(239,230,204,0.4); font-size: 0.8rem; }
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ===================================================
   Scroll reveal utility
=================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   Mobile nav breakpoint
=================================================== */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: flex; }
}

/* ===================================================
   Subpages (e.g. the-grade.html) — nav is always
   "scrolled" style since there's no photo hero behind it
=================================================== */
body.subpage .nav {
  padding: 14px 0;
  background: rgba(28, 54, 32, 0.96);
  box-shadow: 0 1px 0 rgba(201,169,97,0.15);
}

.page-hero {
  background: var(--deep-green);
  padding: 190px 32px 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(201,169,97,0.1), transparent 55%);
  pointer-events: none;
}
.page-hero-inner { max-width: 760px; margin: 0 auto; position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(239,230,204,0.55);
  margin-bottom: 30px;
}
.breadcrumb a { color: rgba(239,230,204,0.8); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-bright); }
.page-hero .section-eyebrow { justify-content: flex-start; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.14;
  color: var(--cream);
  margin: 0 0 22px;
}
.page-hero-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(239,230,204,0.75);
  max-width: 620px;
}

/* Generic light / dark content bands for long-form subpages */
.tg-section { padding: 100px 32px 110px; }
.tg-light { background: var(--ivory); }
.tg-dark { background: var(--deep-green); position: relative; }
.tg-cream { background: var(--cream); }
.tg-head { max-width: 680px; margin: 0 auto 56px; }
.tg-head.tg-center { text-align: center; margin-left: auto; margin-right: auto; }
.tg-dark .tg-head .section-title { color: var(--cream); }
.tg-dark .tg-head .section-lead { color: rgba(239,230,204,0.72); }

.tg-prose {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tg-prose p { font-size: 1.02rem; line-height: 1.75; color: rgba(42,42,36,0.78); }
.tg-dark .tg-prose p { color: rgba(239,230,204,0.78); }
.tg-prose p strong { color: var(--deep-green); font-weight: 600; }
.tg-dark .tg-prose p strong { color: var(--gold-bright); }

/* Six-axis detail grid */
.axis-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.axis-card {
  background: #fff;
  border: 1px solid rgba(28,54,32,0.1);
  border-radius: 3px;
  padding: 30px 26px;
}
.axis-card-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.axis-card h3 {
  font-size: 1.2rem;
  color: var(--deep-green);
  margin: 0 0 12px;
}
.axis-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(42,42,36,0.68);
  margin: 0 0 10px;
}
.axis-card p:last-child { margin-bottom: 0; }
.axis-card-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--matcha-leaf);
  font-weight: 600;
  margin-bottom: 10px;
}

/* FAQ accordion (native <details>) */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid rgba(28,54,32,0.12);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--deep-green);
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(42,42,36,0.7);
}

/* CTA band before footer */
.tg-cta {
  background: var(--deep-green-2);
  padding: 80px 32px;
  text-align: center;
}
.tg-cta h2 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 26px;
}

@media (max-width: 980px) {
  .axis-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .axis-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 150px 24px 80px; }
  .tg-section { padding: 70px 24px 80px; }
}
