/* MMJ Website UI Kit — styles
   All colors/type tokens come from colors_and_type.css.
   This file holds layout & component-specific styles. */

@import url("colors_and_type.css?v=14");

/* Tinggi header (non-scrolled) — didefinisikan di sini agar selalu termuat
   bersama site.css (dipakai untuk hero full-screen). Override per-breakpoint
   ada di bagian responsive di bawah. */
:root { --header-h: 96px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  background: var(--mmj-warm-sand);
  color: var(--fg-1);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  color: var(--mmj-deep-palm-green);
  border-bottom: 1px solid rgba(31, 77, 54, 0.10);
  box-shadow: 0 4px 18px rgba(15, 42, 28, 0.06);
  transition: background 280ms var(--ease-out),
              box-shadow 280ms var(--ease-out),
              height 280ms var(--ease-out);
}
.site-header.scrolled {
  background: rgba(244, 239, 230, 0.95);
  box-shadow: 0 8px 28px rgba(15, 42, 28, 0.10);
}
.site-header .inner {
  display: flex;
  align-items: center;
  gap: 44px;
  height: 96px;
  transition: height 280ms var(--ease-out);
}
.site-header.scrolled .inner { height: 72px; }
.site-header.scrolled .brand-mark { width: 52px !important; height: 52px !important; transition: width 280ms var(--ease-out), height 280ms var(--ease-out); }
.site-header.scrolled .brand-name .word { font-size: 22px; transition: font-size 280ms var(--ease-out); }
.site-header.scrolled .brand-sub {
  opacity: 0;
  height: 0;
  visibility: hidden;
  transition: opacity 200ms var(--ease-out), height 280ms var(--ease-out);
}
.brand-mark, .brand-name .word, .brand-sub {
  transition: width 280ms var(--ease-out), height 280ms var(--ease-out), font-size 280ms var(--ease-out), opacity 280ms var(--ease-out);
}
.site-header { border-bottom: 1px solid transparent; position: sticky; }
.site-header::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  background: var(--mmj-corporate-red);
  width: 0;
  transition: width 400ms var(--ease-out);
}
.site-header.scrolled::after { width: 120px; }
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--mmj-deep-palm-green);
  letter-spacing: -0.005em;
  line-height: 1;
}
.brand-mark {
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark::after { display: none; }
.brand-name {
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand-name .word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.01em;
  font-style: italic;
  color: var(--mmj-deep-palm-green);
  line-height: 0.95;
}
.brand-sub {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
}
.nav-links { display: flex; gap: 28px; margin-left: 8px; }
.nav-link {
  font-size: 14px;
  color: var(--mmj-deep-palm-green);
  font-weight: 500;
  padding: 6px 2px;
  cursor: pointer;
  position: relative;
  transition: color 200ms;
}
.nav-link:hover { color: var(--mmj-corporate-red); }
.nav-link.active { color: var(--mmj-corporate-red); font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -10px;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mmj-corporate-red);
}
.header-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.lang-pill {
  font-size: 12px;
  color: var(--mmj-deep-palm-green);
  background: rgba(31, 77, 54, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-pill .on { color: #fff; background: var(--mmj-deep-palm-green); }

/* ============ Button ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--mmj-corporate-red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--mmj-red-700); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--mmj-deep-palm-green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: var(--mmj-green-900); box-shadow: var(--shadow-md); }
.btn-secondary { background: #fff; color: var(--mmj-deep-palm-green); border-color: var(--mmj-deep-palm-green); }
.btn-secondary:hover { background: var(--mmj-green-50); }
.btn-ghost { background: transparent; color: var(--mmj-deep-palm-green); padding-left: 0; padding-right: 0; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; border-radius: 0; }
.btn-ghost:hover { color: var(--mmj-corporate-red); }
.btn-on-dark { background: var(--mmj-corporate-red); color: #fff; }
.btn-on-dark:hover { background: var(--mmj-red-700); }
.btn-on-dark-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.32); }
.btn-on-dark-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-accent { background: var(--mmj-corporate-red); color: #fff; }
.btn-accent:hover { background: var(--mmj-red-700); }
.btn-sm { padding: 10px 18px; font-size: 11px; border-radius: 3px; letter-spacing: 0.1em; }

.icon-16 { width: 16px; height: 16px; flex-shrink: 0; }
.icon-20 { width: 20px; height: 20px; flex-shrink: 0; }
.icon-24 { width: 24px; height: 24px; flex-shrink: 0; }

/* ============ Hero ============ */
.hero {
  position: relative;
  /* Full-screen: isi tepat tinggi viewport di bawah header. dvh agar pas di
     mobile (kompensasi bar URL); vh sebagai fallback browser lama. */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--mmj-deep-palm-green);
  background-image:
    linear-gradient(180deg, rgba(15,42,28,0.55) 0%, rgba(15,42,28,0.75) 80%),
    url("assets/plantation-aerial.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero .container { padding-top: 48px; padding-bottom: 104px; position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  margin-bottom: 32px;
}
.hero .eyebrow .rule { width: 48px; height: 2px; background: var(--mmj-corporate-red); }
.hero .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mmj-corporate-red); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
  max-width: 16ch;
}
.hero h1 em { color: #fff; font-style: italic; font-weight: 500; position: relative; }
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 22%; bottom: -8px;
  height: 2px;
  background: var(--mmj-corporate-red);
  opacity: 0.9;
}
.hero .lead {
  margin-top: 28px;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.86);
}
.hero .cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero .scroll-hint::before {
  content: "";
  width: 1px; height: 28px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.6));
}

/* ============ Sections ============ */
section { padding: 80px 0; }
.section-head { margin-bottom: 48px; max-width: 720px; }

/* Anchor wrapper sections in <main> have NO padding of their own —
   only their inner sections contribute spacing. This keeps section-to-section
   gaps consistent at 80px+80px = 160px instead of doubling up. */
main > section { padding: 0; scroll-margin-top: 56px; }

/* First inner section in each anchor wrapper sits tighter against the header
   so the section title appears right under the nav bar, not floating mid-page. */
main > section > section:first-child { padding-top: 36px; }
main > section > section:first-child .hero { padding-top: 0; }
/* The hero section is its own visual; don't strip its padding */
#beranda > .hero { padding-top: 0; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--mmj-corporate-red);
  font-weight: 700;
  margin-bottom: 20px;
}
.section-head .eyebrow .rule { width: 36px; height: 2px; background: var(--mmj-corporate-red); }
.section-head .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mmj-corporate-red); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--mmj-deep-palm-green);
  margin: 0 0 16px;
}
.section-head h2 em {
  font-style: italic;
  color: var(--mmj-deep-palm-green);
  position: relative;
}
.section-head .lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--mmj-gray-700);
  margin: 0;
}

/* All content sections share the warm-sand page background.
   Use .section-dark sparingly (e.g. stat strip + footer chrome).
   Cards are the only thing that goes pure white. */
.section-warm { background: transparent; }
.section-dark {
  background: var(--mmj-deep-palm-green);
  color: #fff;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head .lead { color: rgba(255,255,255,0.78); }
.section-dark .section-head .eyebrow { color: var(--mmj-green-200); }

/* Halaman Tentang: rapatkan About + Ringkasan agar muat dalam satu layar
   (garis pemisah di atas .stats-section sudah dihilangkan). */
#tentang > section:first-child { padding-top: 28px; padding-bottom: 28px; }
#tentang > section:first-child .section-head { margin-bottom: 28px; }

/* ============ Stat strip — editorial, no imagery ============ */
.stats-section {
  padding: 28px 0 44px;
  background: var(--mmj-warm-sand);
  position: relative;
}
.stats-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(31, 77, 54, 0.12);
}
.stats-eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.stats-eyebrow .rule { width: 32px; height: 2px; background: var(--mmj-corporate-red); }
.stats-eyebrow .snapshot {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mmj-medium-gray);
}
.stats-trend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--mmj-corporate-red);
  letter-spacing: 0.04em;
}

.stats-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: stretch;
}

/* Hero number */
.stats-hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.stats-hero-num {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  line-height: 0.85;
}
.stats-hero-num .figure {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(8rem, 14vw, 13rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: var(--mmj-deep-palm-green);
}
.stats-hero-num .figure-unit {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  margin-top: 16px;
  padding: 4px 10px;
  border: 1.5px solid var(--mmj-corporate-red);
  border-radius: 4px;
}
.stats-hero-cap {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 48ch;
}
.stats-hero-cap .line {
  width: 48px;
  height: 2px;
  background: var(--mmj-corporate-red);
  margin-top: 12px;
  flex-shrink: 0;
}
.stats-hero-cap p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: var(--mmj-gray-700);
  margin: 0;
  font-weight: 400;
}

/* Right rail */
.stats-rail {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-left: 1px solid rgba(31, 77, 54, 0.14);
  padding-left: 40px;
}
.stats-rail li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(31, 77, 54, 0.10);
  position: relative;
}
.stats-rail li:first-child { padding-top: 0; }
.stats-rail li:last-child { border-bottom: none; padding-bottom: 0; }
.stats-rail li::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--mmj-corporate-red);
  border-radius: 50%;
  transform: translateY(-50%);
}
.stats-rail .figure {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--mmj-deep-palm-green);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.stats-rail .figure em {
  font-style: italic;
  color: var(--mmj-corporate-red);
  font-weight: 500;
}
.stats-rail .figure sup {
  font-size: 0.42em;
  color: var(--mmj-corporate-red);
  font-weight: 700;
  font-family: var(--font-sans);
  font-style: normal;
  vertical-align: super;
  margin-left: 2px;
  letter-spacing: 0;
}
.stats-rail .lab {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--mmj-gray-700);
  letter-spacing: 0.02em;
}

/* Compact stats bar (new layout) */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.stats-figures {
  display: flex;
  align-items: center;
  gap: 80px;
}
.stats-vline {
  width: 1px;
  height: 88px;
  background: rgba(31, 77, 54, 0.22);
  flex-shrink: 0;
}
.stats-fig {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}
.sf-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--mmj-deep-palm-green);
  font-weight: 400;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  justify-content: flex-end;
}
.sf-num em { font-style: italic; color: var(--mmj-corporate-red); }
.sf-num sup {
  font-size: 0.36em;
  color: var(--mmj-corporate-red);
  font-weight: 700;
  font-family: var(--font-sans);
  font-style: normal;
  vertical-align: super;
  margin-left: 2px;
  letter-spacing: 0;
}
.sf-lab {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--mmj-gray-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  max-width: 20ch;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .stats-bar { flex-direction: column; align-items: flex-start; gap: 28px; }
  .stats-figures { gap: 36px; }
  .stats-fig { text-align: left; }
  .sf-num { justify-content: flex-start; font-size: clamp(52px, 12vw, 72px); }
  .stats-vline { height: 60px; }
}

/* ============ Values grid (editorial, numbered) ============ */
.values-section { padding: 112px 0; }
.values-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(31, 77, 54, 0.14);
  border-left: 1px solid rgba(31, 77, 54, 0.14);
}
.value-item {
  padding: 40px 36px 44px;
  border-right: 1px solid rgba(31, 77, 54, 0.14);
  border-bottom: 1px solid rgba(31, 77, 54, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 200ms;
  background: transparent;
}
.value-item:hover {
  background: rgba(255, 255, 255, 0.45);
}
.value-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  color: var(--mmj-corporate-red);
  letter-spacing: -0.01em;
  line-height: 1;
}
.value-line {
  display: block;
  width: 36px;
  height: 1.5px;
  background: var(--mmj-corporate-red);
  opacity: 0.4;
  margin-bottom: 4px;
}
.value-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--mmj-deep-palm-green);
  margin: 0;
}
.value-item p {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--mmj-gray-700);
  margin: 0;
  max-width: 32ch;
}
.values-section .section-head h2 em { font-style: italic; color: var(--mmj-deep-palm-green); }

/* ============ Plantation overview ============ */
.po-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.po-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.po-image .badge {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mmj-deep-palm-green);
  letter-spacing: 0.04em;
}
.po-text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--mmj-deep-palm-green);
  margin: 0 0 20px;
}
.po-text h2 em { font-style: italic; color: var(--mmj-deep-palm-green); }
.po-text .lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--mmj-gray-700);
  margin: 0 0 28px;
}
.po-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(31, 77, 54, 0.14);
}
.po-fact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 28px 20px 0;
  position: relative;
}
.po-fact:nth-child(odd) {
  padding-right: 28px;
}
.po-fact:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid rgba(31, 77, 54, 0.12);
}
.po-fact:nth-child(n+3) {
  border-top: 1px solid rgba(31, 77, 54, 0.12);
  margin-top: 4px;
  padding-top: 24px;
}
.po-fact .lab {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.po-fact .lab::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mmj-corporate-red);
}
.po-fact .val {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  color: var(--mmj-deep-palm-green);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.po-fact .sub {
  font-size: 12.5px;
  color: var(--mmj-medium-gray);
  line-height: 1.45;
  margin-top: 2px;
}

/* ============ CSR grid ============ */
.csr-filters {
  display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap;
}
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(31, 77, 54, 0.10);
  color: var(--mmj-gray-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 200ms;
}
.chip:hover { border-color: var(--mmj-corporate-red); color: var(--mmj-corporate-red); }
.chip.active { background: var(--mmj-corporate-red); color: #fff; border-color: var(--mmj-corporate-red); }

.csr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.csr-card {
  position: relative;
  aspect-ratio: 3 / 4.2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20,40,28,0.10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: #fff;
  cursor: pointer;
  background-color: var(--mmj-deep-palm-green);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: normal;
  isolation: isolate;
  transition: box-shadow 360ms var(--ease-out), transform 200ms;
}
.csr-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(15,42,28,0.20) 0%,
    rgba(15,42,28,0.50) 42%,
    rgba(15,42,28,0.70) 62%,
    rgba(15,42,28,0.98) 100%);
  z-index: 1;
}
.csr-card > * { position: relative; z-index: 2; }
.csr-card:hover { box-shadow: 0 24px 48px rgba(20,40,28,0.22); transform: translateY(-4px); }

.csr-card .media-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
}

.csr-card .top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.csr-card .tag {
  position: static;
  background: var(--mmj-corporate-red);
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.csr-card .tag::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #fff;
}
.csr-card .num-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.005em;
}
.csr-card .num-tag em { color: var(--mmj-corporate-red); font-style: italic; }

.csr-card .body {
  padding: 0;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.csr-card .meta {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.csr-card .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mmj-corporate-red); }
.csr-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: #fff;
  margin: 0;
}
.csr-card h3 em {
  font-style: italic;
  color: #fff;
  position: relative;
  display: inline-block;
}
.csr-card h3 em::after {
  content: "";
  position: absolute;
  left: 0; right: 14%; bottom: -3px;
  height: 2px;
  background: var(--mmj-corporate-red);
}
.csr-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
}
.csr-card .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.20);
}
.csr-card .read-more {
  color: #fff;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.csr-card .read-more .arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mmj-corporate-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 200ms;
}
.csr-card .read-more .arrow svg { width: 12px; height: 12px; }
.csr-card:hover .read-more .arrow { transform: translateX(2px); }
.csr-card .credit {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11.5px;
  color: rgba(255,255,255,0.65);
}

/* ============ Pillars (alt CSR view) ============ */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(31, 77, 54, 0.08);
  box-shadow: 0 1px 2px rgba(20,40,28,0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.pillar .num { font-family: var(--font-display); font-style: italic; font-size: 32px; color: var(--mmj-corporate-red); font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.pillar h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--mmj-deep-palm-green); margin: 0; line-height: 1.15; letter-spacing: -0.005em; }
.pillar p { font-size: 13.5px; line-height: 1.55; color: var(--mmj-gray-700); margin: 0; }
.pillar .ico { color: var(--mmj-fresh-leaf-green); margin-top: auto; }
.pillar .ico svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ============ Newsfeed ============ */
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.news-row { display: flex; gap: 20px; padding: 24px; background: #fff; border-radius: 16px; border: 1px solid rgba(31, 77, 54, 0.06); box-shadow: 0 1px 2px rgba(20,40,28,0.04); transition: box-shadow 200ms, transform 200ms; cursor: pointer; }
.news-row:hover { box-shadow: 0 12px 30px rgba(20,40,28,0.08); transform: translateY(-2px); }
.news-row .thumb { width: 140px; height: 110px; flex-shrink: 0; background-size: cover; background-position: center; border-radius: 10px; }
.news-row .body { display: flex; flex-direction: column; gap: 8px; }
.news-row .meta { font-size: 10px; color: var(--mmj-corporate-red); text-transform: uppercase; letter-spacing: 0.22em; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.news-row .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mmj-corporate-red); }
.news-row .title { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--mmj-deep-palm-green); line-height: 1.15; letter-spacing: -0.01em; }
.news-row .excerpt { font-size: 13.5px; line-height: 1.55; color: var(--mmj-gray-700); }

/* ============ Compliance list ============ */
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.compliance-card {
  background: #fff;
  border: 1px solid rgba(31, 77, 54, 0.08);
  border-radius: 14px;
  padding: 22px;
  display: flex; gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 2px rgba(20,40,28,0.04);
}
.compliance-card .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--mmj-green-50);
  color: var(--mmj-deep-palm-green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.compliance-card .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.compliance-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--mmj-deep-palm-green); margin: 0 0 6px; letter-spacing: -0.005em; }
.compliance-card .desc { font-size: 12.5px; line-height: 1.5; color: var(--mmj-gray-700); }
.compliance-card .id { font-family: var(--font-mono); font-size: 11px; color: var(--mmj-medium-gray); margin-top: 8px; display: block; }

/* ============ Career / quote ============ */
.quote-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.quote-portrait {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
/* ============ Quote (full-bleed editorial) ============ */
.quote-feature {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center 30%;
  background-color: var(--mmj-deep-palm-green);
  box-shadow: 0 32px 64px rgba(20, 40, 28, 0.20);
  isolation: isolate;
}
.quote-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(15, 42, 28, 0.92) 0%,
      rgba(15, 42, 28, 0.78) 30%,
      rgba(15, 42, 28, 0.38) 55%,
      rgba(15, 42, 28, 0.05) 80%);
  z-index: 1;
}
.quote-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  max-width: 62%;
  color: #fff;
}
.quote-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 32px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.quote-eyebrow .rule {
  width: 36px;
  height: 2px;
  background: var(--mmj-corporate-red);
}
.quote-feature blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 36px;
  max-width: 28ch;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.quote-feature blockquote em {
  font-style: italic;
  position: relative;
  color: #fff;
  display: inline;
  background: linear-gradient(180deg, transparent 70%, rgba(179, 38, 30, 0.55) 70%, rgba(179, 38, 30, 0.55) 92%, transparent 92%);
  padding: 0 2px;
}
.quote-cite {
  display: flex;
  align-items: center;
  gap: 16px;
}
.quote-cite .cite-rule {
  width: 32px;
  height: 1px;
  background: var(--mmj-corporate-red);
}
.quote-cite > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quote-cite .cite-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.quote-cite .cite-role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.quote-text .cite { font-size: 14px; color: var(--mmj-gray-700); }
.quote-text .cite b { display: block; color: var(--mmj-charcoal); font-family: var(--font-sans); font-weight: 600; }

/* ============ Contact ============ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(31, 77, 54, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-card .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--mmj-warm-sand);
  color: var(--mmj-deep-palm-green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.contact-card .ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-card .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mmj-medium-gray); font-weight: 600; }
.contact-card .value { font-size: 14.5px; color: var(--mmj-charcoal); font-weight: 500; line-height: 1.5; }
.contact-card .mono { font-family: var(--font-mono); font-size: 14px; color: var(--mmj-charcoal); }
.contact-note { margin-top: 16px; background: #fff; border-radius: 14px; padding: 18px 24px; border: 1px solid rgba(31, 77, 54, 0.08); }
.contact-note h3 { font-family: var(--font-sans); font-weight: 600; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mmj-corporate-red); margin: 0 0 6px; }
.contact-note p { font-size: 13.5px; line-height: 1.6; color: var(--mmj-gray-700); margin: 0; }
.contact-note b { color: var(--mmj-deep-palm-green); font-family: var(--font-mono); }
.contact-form { background: #fff; border-radius: 18px; padding: 36px; border: 1px solid rgba(31, 77, 54, 0.08); box-shadow: var(--shadow-sm); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--mmj-charcoal); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line-1);
  border-radius: 12px;
  background: #fff;
  color: var(--mmj-charcoal);
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--mmj-fresh-leaf-green);
  box-shadow: 0 0 0 3px rgba(79,138,91,0.22);
}
.field textarea { min-height: 110px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info h3 { font-family: var(--font-sans); font-weight: 600; font-size: 16px; color: var(--mmj-medium-gray); letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--mmj-warm-sand);
  color: var(--mmj-deep-palm-green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-line .ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-line .body { display: flex; flex-direction: column; gap: 2px; }
.contact-line .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mmj-medium-gray); font-weight: 600; }
.contact-line .value { font-size: 15px; color: var(--mmj-charcoal); font-weight: 500; }
.contact-line .mono { font-family: var(--font-mono); font-size: 13px; color: var(--mmj-charcoal); }

/* ============ Footer ============ */
.site-footer {
  background: var(--mmj-green-950);
  color: rgba(255,255,255,0.78);
  padding: 96px 0 32px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 160px; height: 4px;
  background: var(--mmj-corporate-red);
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: transparent; color: #fff; }
.footer-blurb { margin-top: 18px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.7); max-width: 36ch; }
.footer-ispo { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; }
.footer-ispo-badge { flex: none; width: 68px; height: 68px; background: transparent; display: flex; align-items: center; justify-content: center; }
.footer-ispo-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-ispo-text { display: flex; flex-direction: column; gap: 2px; }
.footer-ispo-label { font-family: var(--font-sans); font-weight: 600; font-size: 13.5px; letter-spacing: 0.02em; color: #fff; }
.footer-ispo-note { font-size: 12px; line-height: 1.35; color: rgba(255,255,255,0.62); max-width: 22ch; }
.site-footer h5 { font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin: 0 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.82); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 12.5px; color: rgba(255,255,255,0.55); align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .accent { width: 56px; height: 3px; background: var(--mmj-corporate-red); border-radius: 2px; display: inline-block; margin-right: 18px; vertical-align: middle; }

/* ============ Page screen container ============ */
.screen { display: none; }
.screen.active { display: block; }

/* ============ Page hero (about/csr/career/contact pages) ============ */
.page-hero {
  background: var(--mmj-deep-palm-green);
  color: #fff;
  padding: 96px 0 64px;
  border-bottom: 4px solid var(--mmj-corporate-red);
}
.page-hero .eyebrow { color: var(--mmj-green-200); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; display: inline-block; }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -0.01em; margin: 0; color: #fff; max-width: 18ch; }
.page-hero h1 em { font-style: italic; color: #fff; position: relative; }
.page-hero h1 em::after { content: ""; position: absolute; left: 0; right: 25%; bottom: -6px; height: 2px; background: var(--mmj-corporate-red); }
.page-hero p { margin-top: 20px; max-width: 60ch; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.84); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 24px; letter-spacing: 0.04em; }
.crumbs span { color: rgba(255,255,255,0.42); }

/* ============ Detail / About body ============ */
.prose { max-width: 68ch; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--mmj-gray-700); margin: 0 0 20px; }
.prose p strong { color: var(--mmj-charcoal); font-weight: 600; }
.prose h3 { font-family: var(--font-sans); font-weight: 600; font-size: 20px; color: var(--mmj-charcoal); margin: 36px 0 14px; }

/* ============ Career list ============ */
.career-list { display: flex; flex-direction: column; gap: 12px; }
.career-row {
  background: #fff;
  border: 1px solid rgba(31, 77, 54, 0.08);
  border-radius: 14px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 200ms, border-color 200ms;
  box-shadow: 0 1px 2px rgba(20,40,28,0.04);
}
.career-row:hover { border-color: var(--mmj-green-300); box-shadow: var(--shadow-sm); }
.career-row .title { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--mmj-deep-palm-green); letter-spacing: -0.005em; }
.career-row .dept { font-size: 13px; color: var(--mmj-medium-gray); margin-top: 2px; }
.career-row .col { font-size: 13.5px; color: var(--mmj-gray-700); }
.career-row .col .lab { font-size: 10px; color: var(--mmj-medium-gray); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 4px; }
.career-row .arrow { color: var(--mmj-fresh-leaf-green); }
.career-row .arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ============ Careers section (front-end) ============ */
.careers-section {
  padding: 96px 0 120px;
  background: var(--bg-warm);
}
.careers-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  margin-top: 32px;
}
.careers-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.careers-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--mmj-gray-700);
  margin: 0;
}
.careers-body p {
  margin: 0 0 16px;
}
.careers-body p:last-child {
  margin-bottom: 0;
}
.career-apply {
  align-self: flex-start;
  margin-top: 8px;
}
.careers-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.careers-tree-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  cursor: pointer;
  opacity: 1;
  transition: transform 200ms var(--ease-out), opacity 200ms;
  animation: treeFloat 4.5s ease-in-out infinite;
}
.careers-tree-img:hover {
  transform: translateY(-2px);
  opacity: 1;
  animation-play-state: paused;
}

@keyframes treeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .careers-tree-img {
    animation: none;
  }
}

@media (max-width: 900px) {
  .careers-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .careers-visual {
    order: -1;
  }
  .careers-tree-img {
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }
}


/* ============================================================
   Single-page layout additions
   ============================================================ */

/* All h2 italic accents */
.section-head h2 em,
.po-text h2 em { font-style: italic; color: var(--mmj-deep-palm-green); }
.hero h1 em { font-style: italic; color: #fff; }
.section-dark .section-head h2 em { color: #fff; }

/* Smooth anchor offset for sticky header */
section[id] { scroll-margin-top: 96px; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(31, 77, 54, 0.05);
  border: 1px solid rgba(31, 77, 54, 0.10);
  padding: 4px 6px;
  border-radius: 999px;
}
.lang-opt {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mmj-medium-gray);
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 200ms;
}
.lang-opt:hover { color: var(--mmj-deep-palm-green); }
.lang-opt.active {
  background: var(--mmj-deep-palm-green);
  color: #fff;
}
.lang-sep { color: rgba(31, 77, 54, 0.25); font-size: 10px; }

/* About block layout */
.about-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  align-items: flex-start;
}
.about-split .prose p {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--mmj-gray-700);
  margin: 0 0 20px;
}
.about-fact {
  position: sticky;
  top: 120px;
  background: #fff;
  border: 1px solid rgba(31, 77, 54, 0.08);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 8px 24px rgba(20, 40, 28, 0.06);
}
.about-fact .fact-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(31, 77, 54, 0.10);
}
.about-fact dl { margin: 0; }
.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 77, 54, 0.06);
}
.fact-row:last-child { border-bottom: none; }
.fact-row dt {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--mmj-medium-gray);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.fact-row dd {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--mmj-deep-palm-green);
  text-align: right;
}

/* Inline eyebrow used in po-text */
.eyebrow-inline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  margin-bottom: 18px;
}
.eyebrow-inline .rule {
  width: 28px;
  height: 2px;
  background: var(--mmj-corporate-red);
}

/* Careers benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(31, 77, 54, 0.14);
  border-left: 1px solid rgba(31, 77, 54, 0.14);
  margin-bottom: 72px;
}
.benefit-card {
  border-right: 1px solid rgba(31, 77, 54, 0.14);
  border-bottom: 1px solid rgba(31, 77, 54, 0.14);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  transition: background 200ms;
}
.benefit-card:hover { background: rgba(255, 255, 255, 0.45); }
.benefit-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--mmj-corporate-red);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 4px;
}
.benefit-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--mmj-deep-palm-green);
  margin: 0;
}
.benefit-card p {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--mmj-gray-700);
  margin: 0;
}

/* Open positions */
.open-positions { margin-top: 24px; }
.open-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.015em;
  color: var(--mmj-deep-palm-green);
  margin: 0 0 28px;
}

/* Compliance h4 italic accents */
.compliance-card h4 em { font-style: italic; color: var(--mmj-deep-palm-green); }

/* Scroll-snap-like rhythm: prevent overlap between adjacent sections nested in anchor section */
section[id] > section:first-child > div.container,
section[id] > div.container { /* allow first section inside anchor section to keep its own padding */ }
section[id] > section { /* nothing to override; default padding stays */ }

/* When the mobile menu is open we lock body scroll, which breaks
   `position: sticky` on the header (it has no scrolling ancestor anymore
   and drops to its document origin — taking the close button with it).
   Pin the header explicitly so the X close button stays at top of viewport
   no matter what section the user opened the menu from. */
.site-header.menu-open {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* ============ Sustainability Showcase — cinematic 3-chapter slideshow ============ */
.showcase-section {
  padding: 0 !important;
  background: var(--mmj-green-950);
}
.showcase-stage {
  position: relative;
  width: 100%;
  height: min(86vh, 820px);
  min-height: 620px;
  overflow: hidden;
  background: var(--mmj-green-950);
}
.showcase-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 1000ms var(--ease-out);
  transform: scale(1.02);
  will-change: transform, opacity;
}
.showcase-slide.active {
  opacity: 1;
  z-index: 1;
  animation: showcase-kenburns 6s linear forwards;
}
@keyframes showcase-kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.10); }
}
/* Soft directional overlay — heavier near text, lifting toward upper-right */
.showcase-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(65% 85% at 22% 75%, rgba(8,28,18,0.88) 0%, rgba(10,32,20,0.55) 38%, rgba(15,42,28,0.18) 65%, transparent 82%),
    linear-gradient(180deg, rgba(10,32,20,0.18) 0%, transparent 30%, rgba(10,32,20,0.55) 78%, rgba(8,28,18,0.78) 100%),
    linear-gradient(90deg, rgba(8,28,18,0.55) 0%, rgba(8,28,18,0.18) 35%, transparent 60%);
  pointer-events: none;
}
.showcase-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 240px;
  z-index: 2;
}
.showcase-text {
  max-width: 58ch;
  color: #fff;
}
.showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.showcase-eyebrow .rule {
  width: 36px;
  height: 2px;
  background: var(--mmj-corporate-red);
}
.showcase-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.showcase-title em {
  font-style: italic;
  background: linear-gradient(180deg, transparent 70%, rgba(179, 38, 30, 0.62) 70%, rgba(179, 38, 30, 0.62) 92%, transparent 92%);
  padding: 0 4px;
}
.showcase-caption {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  margin: 0;
  max-width: 50ch;
}
/* Staggered fade-in on active slide */
.showcase-slide .showcase-eyebrow,
.showcase-slide .showcase-title,
.showcase-slide .showcase-caption { opacity: 0; transform: translateY(18px); }
.showcase-slide.active .showcase-eyebrow { animation: showcase-fadeUp 700ms 250ms var(--ease-out) forwards; }
.showcase-slide.active .showcase-title { animation: showcase-fadeUp 800ms 400ms var(--ease-out) forwards; }
.showcase-slide.active .showcase-caption { animation: showcase-fadeUp 800ms 600ms var(--ease-out) forwards; }
@keyframes showcase-fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
/* Prev / Next arrows (konsep sama dengan carousel CSR) */
.showcase-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(8,28,18,0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.showcase-nav:hover {
  background: rgba(8,28,18,0.78);
  border-color: rgba(255,255,255,0.58);
}
.showcase-nav svg {
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.showcase-prev { left: 28px; }
.showcase-next { right: 28px; }

/* Progress bar at top */
.showcase-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.10);
  z-index: 4;
}
.showcase-progress .bar {
  height: 100%;
  width: 0;
  background: var(--mmj-corporate-red);
  animation-name: showcase-progress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes showcase-progress {
  from { width: 0; }
  to { width: 100%; }
}
/* Bottom controls — thin red rules instead of dots */
.showcase-controls {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
}
.showcase-controls .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  position: relative;
}
.showcase-dots {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}
.showcase-dot {
  width: 42px;
  height: 2px;
  background: rgba(255,255,255,0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 220ms var(--ease-out), height 220ms var(--ease-out), width 220ms var(--ease-out);
}
.showcase-dot:hover { background: rgba(255,255,255,0.55); }
.showcase-dot.active {
  background: var(--mmj-corporate-red);
  height: 3px;
  width: 64px;
}
.showcase-counter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  display: flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: -0.01em;
  pointer-events: auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.showcase-counter .curr {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #fff;
}
.showcase-counter .sep { color: rgba(255,255,255,0.4); font-size: 18px; }
.showcase-counter .total {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,0.65);
}
/* Persistent operational facts strip — sits above the controls, constant across slides */
.showcase-facts {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;
  z-index: 3;
  pointer-events: none;
}
.showcase-facts ul {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.showcase-facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
}
.showcase-facts .lab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.showcase-facts .lab .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mmj-corporate-red);
  display: inline-block;
}
.showcase-facts .val {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.showcase-facts .sub {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.72);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Responsive */
@media (max-width: 1100px) {
  .showcase-content { padding-bottom: 220px; }
  .showcase-stage { height: min(80vh, 740px); }
  .showcase-facts ul { gap: 24px; }
  .showcase-facts .val { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
}
@media (max-width: 900px) {
  .showcase-stage { height: min(78vh, 720px); min-height: 600px; }
  .showcase-content { padding-bottom: 260px; }
  .showcase-facts ul {
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
    padding-top: 18px;
  }
  .showcase-facts .val { font-size: 1.6rem; }
  .showcase-eyebrow { margin-bottom: 22px; }
  .showcase-title { font-size: clamp(1.9rem, 5.4vw, 2.8rem); margin-bottom: 20px; }
  .showcase-caption { font-size: 15.5px; }
  .showcase-overlay {
    background:
      radial-gradient(70% 80% at 28% 78%, rgba(15,42,28,0.74) 0%, rgba(15,42,28,0.40) 50%, transparent 80%),
      linear-gradient(180deg, transparent 30%, rgba(15,42,28,0.55) 75%, rgba(15,42,28,0.8) 100%);
  }
  .showcase-nav  { width: 40px; height: 40px; }
  .showcase-prev { left: 14px; }
  .showcase-next { right: 14px; }
}
@media (max-width: 640px) {
  .showcase-stage { height: auto; min-height: 0; aspect-ratio: 3 / 4; max-height: 880px; }
  .showcase-prev, .showcase-next { display: none; }   /* gesture/dot di mobile */
  .showcase-content { padding-bottom: 230px; }
  .showcase-facts { bottom: 68px; }
  .showcase-facts ul {
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    padding-top: 14px;
  }
  .showcase-facts .lab { font-size: 9.5px; letter-spacing: 0.2em; }
  .showcase-facts .val { font-size: 1.35rem; }
  .showcase-facts .sub { font-size: 11px; }
  .showcase-text { max-width: 100%; }
  .showcase-eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: 0.26em; }
  .showcase-eyebrow .rule { width: 24px; }
  .showcase-title { font-size: clamp(1.6rem, 7.2vw, 2.2rem); margin-bottom: 14px; }
  .showcase-caption { font-size: 14.5px; line-height: 1.55; max-width: 100%; }
  .showcase-overlay {
    background: linear-gradient(180deg, rgba(15,42,28,0.05) 0%, rgba(15,42,28,0.35) 45%, rgba(15,42,28,0.78) 80%, rgba(15,42,28,0.92) 100%);
  }
  .showcase-controls { bottom: 22px; }
  .showcase-dot { width: 24px; }
  .showcase-dot.active { width: 36px; }
}

/* ============ Sample / placeholder content banner ============ */
.sample-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  margin-bottom: 28px;
  background: rgba(179, 38, 30, 0.06);
  border: 1px dashed rgba(179, 38, 30, 0.35);
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mmj-gray-700);
}
.sample-badge {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid rgba(179, 38, 30, 0.25);
}
@media (max-width: 640px) {
  .sample-note { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; font-size: 13px; }
}

/* ============================================================
   Hamburger + mobile menu (hidden on desktop)
   ============================================================ */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(31, 77, 54, 0.14);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--mmj-deep-palm-green);
  border-radius: 2px;
  transition: transform 280ms var(--ease-out), opacity 200ms var(--ease-out);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  left: 0; right: 0;
  top: 76px;
  bottom: 0;
  background: var(--mmj-warm-sand);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px var(--container-pad) max(20px, env(safe-area-inset-bottom));
  visibility: hidden;
  display: none;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu.header-scrolled { top: 64px; }
.mobile-menu-lang {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(31, 77, 54, 0.10);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  min-height: 0;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(10px, 1.8vh, 16px) 4px;
  border-bottom: 1px solid rgba(31, 77, 54, 0.10);
  color: var(--mmj-deep-palm-green);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2.6vh, 24px);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 200ms, padding 200ms;
  flex-shrink: 0;
}
.mobile-nav-link:hover { color: var(--mmj-corporate-red); }
.mobile-nav-link.active { color: var(--mmj-corporate-red); }
.mobile-nav-link.active .mobile-nav-num { color: var(--mmj-corporate-red); }
.mobile-nav-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--mmj-corporate-red);
  letter-spacing: 0;
  font-weight: 500;
  min-width: 24px;
}
.mobile-nav-label { flex: 1; }
.mobile-nav-link svg { color: var(--mmj-medium-gray); }

/* ============================================================
   RESPONSIVE — tablet landscape (≤1100px)
   ============================================================ */
@media (max-width: 1100px) {
  :root { --container-pad: 32px; --header-h: 84px; }
  .site-header .inner { gap: 24px; height: 84px; }
  .site-header.scrolled .inner { height: 68px; }
  .nav-links { gap: 20px; }
  .nav-link { font-size: 13px; }
  .brand-name .word { font-size: 24px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.24em; }
  .brand-mark { width: 56px; height: 56px; }

  .stats-layout { gap: 56px; }
  .po-split { gap: 48px; }
  .about-split { gap: 48px; }
  .quote-content { padding: 56px 48px; max-width: 70%; }

  .csr-grid { gap: 16px; }
  .csr-card { padding: 18px; }
  .pillars { gap: 16px; }
  .pillar { padding: 24px; min-height: 200px; }
  .pillar h3 { font-size: 21px; }
  .compliance-grid { gap: 14px; }
  .value-item { padding: 32px 28px 36px; }
  .value-item h3 { font-size: 26px; }
  .benefit-card { padding: 32px 26px 36px; }
  .benefit-card h3 { font-size: 24px; }
}

/* ============================================================
   RESPONSIVE — tablet portrait & below (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --container-pad: 24px; --header-h: 76px; }
  section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  /* Header — hide desktop nav, show hamburger */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .header-cta { gap: 10px; }
  .lang-toggle { padding: 3px 4px; }
  .lang-opt { padding: 4px 8px; font-size: 10.5px; }

  .site-header .inner { height: 76px; }
  .site-header.scrolled .inner { height: 64px; }
  .brand-name .word { font-size: 22px; }
  .brand-sub { display: none; }
  .brand-mark { width: 52px; height: 52px; }
  .site-header.scrolled .brand-mark { width: 46px !important; height: 46px !important; }

  /* Hero — tetap full-screen (min-height dari base), padding & font lebih kecil */
  .hero .container { padding-top: 56px; padding-bottom: 88px; }
  .hero h1 { max-width: 100%; font-size: clamp(2.4rem, 6.8vw, 3.8rem); }
  .hero .lead { font-size: 16.5px; max-width: 100%; }
  .hero .eyebrow { margin-bottom: 24px; }

  /* Stats — stack to single column */
  .stats-section { padding: 56px 0 64px; }
  .stats-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 40px; }
  .stats-layout { grid-template-columns: 1fr; gap: 48px; }
  .stats-hero-num .figure { font-size: clamp(6rem, 18vw, 9rem); }
  .stats-rail { border-left: none; border-top: 1px solid rgba(31, 77, 54, 0.14); padding-left: 0; padding-top: 24px; }
  .stats-rail li::before { display: none; }
  .stats-rail .figure { font-size: 48px; }

  /* About */
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-fact { position: static; padding: 24px; }
  .about-split .prose p { font-size: 16px; }

  /* Values & benefits — 2 columns */
  .values-section { padding: 80px 0; }
  .values-grid-modern { grid-template-columns: repeat(2, 1fr); }
  .value-item { padding: 28px 22px 32px; }
  .value-item h3 { font-size: 22px; }
  .value-item p { font-size: 14px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-card { padding: 28px 22px 32px; }
  .benefit-card h3 { font-size: 22px; }

  /* Plantation overview — stack */
  .po-split { grid-template-columns: 1fr; gap: 36px; }
  .po-image { aspect-ratio: 16/10; }
  .po-facts { grid-template-columns: 1fr 1fr; margin-top: 28px; padding-top: 24px; }
  .po-fact .val { font-size: 30px; }
  .po-fact:nth-child(odd) { padding-right: 16px; }
  .po-fact:nth-child(even) { padding-left: 16px; }

  /* Pillars — 2 cols */
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { min-height: auto; }

  /* Quote */
  .quote-feature { aspect-ratio: auto; min-height: 420px; border-radius: 18px; }
  .quote-content { padding: 48px 36px; max-width: 100%; }
  .quote-overlay {
    background: linear-gradient(180deg,
      rgba(15, 42, 28, 0.55) 0%,
      rgba(15, 42, 28, 0.82) 55%,
      rgba(15, 42, 28, 0.92) 100%);
  }
  .quote-eyebrow { margin-bottom: 24px; }
  .quote-feature blockquote { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 28px; }

  /* CSR grid — 2 cols */
  .csr-grid { grid-template-columns: repeat(2, 1fr); }
  .csr-card { aspect-ratio: 3/4; }

  /* News — single column */
  .news-list { grid-template-columns: 1fr; }

  /* Compliance — 2 cols */
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }

  /* Careers row — stack columns */
  .career-row { grid-template-columns: 1fr auto; gap: 14px; padding: 18px 20px; }
  .career-row .col { font-size: 12.5px; }

  /* Contact — stack */
  .contact-cards { grid-template-columns: 1fr 1fr; }

  /* Footer — 2x2 grid */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-bottom: 40px; }
  .site-footer { padding: 72px 0 28px; }
  .footer-blurb { max-width: 100%; }

  /* Page hero */
  .page-hero { padding: 72px 0 48px; }
}

/* ============================================================
   RESPONSIVE — mobile (≤640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --container-pad: 20px; --header-h: 68px; }
  section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .section-head .lead { font-size: 16px; }

  /* Header */
  .site-header .inner { height: 68px; gap: 12px; }
  .site-header.scrolled .inner { height: 60px; }
  .brand { gap: 10px; }
  .brand-name .word { font-size: 18px; }
  .brand-mark { width: 46px; height: 46px; }
  .site-header.scrolled .brand-mark { width: 40px !important; height: 40px !important; }
  .site-header.scrolled .brand-name .word { font-size: 16px; }
  .lang-toggle { display: none; }
  .mobile-menu { top: 68px; padding-top: 14px; }
  .mobile-menu.header-scrolled { top: 60px; }
  .mobile-menu-lang { display: flex; }

  /* Buttons */
  .btn { padding: 12px 20px; font-size: 12px; }
  .btn-sm { padding: 9px 14px; font-size: 10.5px; }
  .hero .cta-row .btn { flex: 1; justify-content: center; min-width: 0; }

  /* Hero — full-screen, padding lebih rapat di ponsel */
  .hero .container { padding-top: 40px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(2rem, 8.4vw, 2.8rem); line-height: 1.05; }
  .hero .lead { font-size: 15px; margin-top: 20px; }
  .hero .cta-row { margin-top: 28px; gap: 10px; }

  /* Stats */
  .stats-hero-num .figure { font-size: clamp(5rem, 22vw, 7.5rem); }
  .stats-hero-num .figure-unit { font-size: 14px; margin-top: 10px; }
  .stats-hero-cap p { font-size: 16px; }
  .stats-rail .figure { font-size: 40px; }
  .stats-rail li { padding: 18px 0; }

  /* About */
  .about-fact { padding: 20px; }
  .fact-row { padding: 10px 0; gap: 12px; }
  .fact-row dt { font-size: 11.5px; }
  .fact-row dd { font-size: 12.5px; }

  /* Values & benefits — single column on phones */
  .values-grid-modern { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .value-item, .benefit-card { padding: 26px 20px 30px; }

  /* Plantation facts — single column */
  .po-facts { grid-template-columns: 1fr; gap: 0; }
  .po-fact:nth-child(odd), .po-fact:nth-child(even) {
    padding: 18px 0;
    border-left: none;
  }
  .po-fact:nth-child(n+2) { border-top: 1px solid rgba(31, 77, 54, 0.12); }

  /* Pillars — single column */
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 22px; }

  /* Quote */
  .quote-feature { min-height: 360px; border-radius: 14px; }
  .quote-content { padding: 36px 24px; }
  .quote-feature blockquote { font-size: clamp(1.25rem, 5.4vw, 1.75rem); }
  .quote-cite { gap: 12px; }
  .quote-cite .cite-rule { width: 20px; }
  .quote-cite .cite-name { font-size: 13px; }
  .quote-cite .cite-role { font-size: 12.5px; }

  /* CSR — single column */
  .csr-grid { grid-template-columns: 1fr; gap: 16px; }
  .csr-card { aspect-ratio: 4/5; padding: 18px; }
  .csr-card h3 { font-size: 24px; }
  .csr-filters { gap: 8px; margin-bottom: 24px; }
  .chip { padding: 8px 14px; font-size: 11px; }

  /* News */
  .news-row { padding: 18px; gap: 14px; flex-direction: column; }
  .news-row .thumb { width: 100%; height: 160px; }
  .news-row .title { font-size: 19px; }

  /* Compliance — single column */
  .compliance-grid { grid-template-columns: 1fr; }
  .compliance-card { padding: 18px; }

  /* Careers — stack */
  .career-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
    align-items: flex-start;
  }
  .career-row .arrow { justify-self: flex-end; margin-top: -32px; }
  .career-row .title { font-size: 18px; }
  .open-title { font-size: 26px; }

  /* Contact — single column */
  .contact-cards { grid-template-columns: 1fr; gap: 12px; }
  .contact-card { padding: 18px 20px; }
  .contact-card .ico { width: 32px; height: 32px; }

  /* Footer — single column */
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom .legal { flex-wrap: wrap; gap: 16px; }
  .site-footer { padding: 56px 0 24px; }

  /* Page hero */
  .page-hero { padding: 56px 0 36px; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .page-hero p { font-size: 15px; }
}

/* ============================================================
   RESPONSIVE — very small phones (≤380px)
   ============================================================ */
@media (max-width: 380px) {
  :root { --container-pad: 16px; }
  .brand-name .word { font-size: 16px; }
  .hero h1 { font-size: clamp(1.75rem, 9vw, 2.2rem); }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; }
  .stats-hero-num { flex-wrap: wrap; gap: 10px; }
  .csr-card h3 { font-size: 22px; }
  .section-head h2 { font-size: 1.7rem; }
}

/* ============================================================
   LANDSCAPE — short viewport on phones (e.g. landscape orientation)
   ============================================================ */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --header-h: 56px; }
  /* Landscape pendek: jangan paksa full-height; biar konten yang menentukan tinggi */
  .hero { min-height: calc(100dvh - var(--header-h)); justify-content: flex-start; }
  .hero .container { padding-top: 32px; padding-bottom: 40px; }
  .hero .scroll-hint { display: none; }
  .mobile-menu { top: 60px; padding-top: 10px; }
  .site-header .inner { height: 56px; }
  .mobile-nav-link { padding: 8px 4px; font-size: 17px; gap: 12px; }
}

/* ============================================================
   Touch / coarse pointer — slightly larger hit targets
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .chip { min-height: 40px; display: inline-flex; align-items: center; }
  .nav-link, .lang-opt, .footer-col a { min-height: 32px; display: inline-flex; align-items: center; }
}


/* ============================================================
   ARTICLE PAGE — CSR field report
   Editorial long-form with dossier styling, reading rail, margin
   notes, pull quotes, photo essay, location panel, impact strip.
   ============================================================ */

.article-page {
  background: var(--mmj-warm-sand, #f6f1e6);
  color: var(--fg-1, #1a2a1f);
  /* No padding-top: the header is position:sticky and already reserves its own
     space in normal flow. Adding offset here only created a dead gap at scroll-top. */
}

/* ---- Breadcrumb ---- */
.article-breadcrumb {
  border-bottom: 1px solid rgba(15,42,28,0.08);
  background: #fff;
}
.article-breadcrumb .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--mmj-gray-700);
}
.article-breadcrumb a {
  color: var(--mmj-gray-700);
  cursor: pointer;
  text-decoration: none;
  transition: color 200ms;
}
.article-breadcrumb a:hover { color: var(--mmj-corporate-red); }
.article-breadcrumb .sep { opacity: 0.45; }
.article-breadcrumb .current {
  color: var(--mmj-deep-palm-green);
  font-weight: 600;
  max-width: 50ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Placeholder note ---- */
.article-placeholder-note {
  background: rgba(217, 119, 87, 0.08);
  border-bottom: 1px solid rgba(217,119,87,0.18);
}
.article-placeholder-note .container {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(15,42,28,0.78);
}
.article-placeholder-note .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mmj-corporate-red);
  flex-shrink: 0;
}

/* ---- Hero ---- */
.article-hero {
  position: relative;
  min-height: 640px;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.article-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 22% 75%, rgba(8,28,18,0.90) 0%, rgba(10,32,20,0.55) 38%, rgba(15,42,28,0.18) 65%, transparent 84%),
    linear-gradient(180deg, rgba(10,32,20,0.30) 0%, transparent 28%, rgba(10,32,20,0.60) 78%, rgba(8,28,18,0.86) 100%),
    linear-gradient(90deg, rgba(8,28,18,0.55) 0%, rgba(8,28,18,0.18) 35%, transparent 60%);
  pointer-events: none;
}

/* dossier stamp */
.article-stamp {
  position: absolute;
  top: 32px;
  right: 32px;
  border: 1.5px dashed rgba(255,255,255,0.65);
  padding: 10px 14px 8px;
  transform: rotate(1.5deg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(2px);
  z-index: 2;
}
.article-stamp .stamp-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
.article-stamp .stamp-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

/* coords tag bottom-left */
.article-coords-tag {
  position: absolute;
  bottom: 28px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.22);
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.92);
  z-index: 2;
}

.article-hero-content {
  position: relative;
  z-index: 1;
  padding: 88px 0 80px;
  max-width: 940px;
}
.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
}
.article-eyebrow .rule {
  width: 36px; height: 2px;
  background: var(--mmj-corporate-red);
}
.article-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 24px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
  max-width: 22ch;
}
.article-title em {
  font-style: italic;
  color: #fff;
  position: relative;
}
.article-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 10%; bottom: 0.06em;
  height: 4px;
  background: var(--mmj-corporate-red);
  opacity: 0.9;
}
.article-dek {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
  margin: 0 0 36px;
  max-width: 56ch;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.article-meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px 48px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.22);
  max-width: 820px;
}
.article-meta .meta-item { display: flex; flex-direction: column; gap: 4px; }
.article-meta dt {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.article-meta dd {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: #fff;
  margin: 0;
  letter-spacing: -0.005em;
}

/* ---- Body shell ---- */
.article-body {
  background: var(--mmj-warm-sand, #f6f1e6);
  padding: 80px 0 100px;
  position: relative;
}
.article-body::before {
  /* subtle paper grain — repeating tiny dots */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(15,42,28,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.5;
}
.article-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  position: relative;
}

/* ---- Reading rail ---- */
.reading-rail { position: relative; }
.rail-sticky {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rail-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
}
.rail-label .rule-v {
  width: 20px; height: 2px;
  background: var(--mmj-corporate-red);
}
.rail-track {
  position: relative;
  padding-left: 18px;
}
.rail-track::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(15,42,28,0.15);
}
.rail-progress {
  position: absolute;
  left: 4px; top: 8px;
  width: 3px;
  background: var(--mmj-corporate-red);
  border-radius: 2px;
  transition: height 120ms linear;
}
.rail-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.rail-list li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-sans);
  color: var(--mmj-gray-700);
  transition: color 200ms;
}
.rail-list .rail-dot {
  position: absolute;
  left: -18px; top: 5px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--mmj-warm-sand, #f6f1e6);
  border: 2px solid rgba(15,42,28,0.2);
  transition: all 200ms;
}
.rail-list .rail-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: rgba(15,42,28,0.45);
  letter-spacing: -0.005em;
}
.rail-list .rail-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.rail-list li:hover { color: var(--mmj-deep-palm-green); }
.rail-list li.active .rail-dot {
  background: var(--mmj-corporate-red);
  border-color: var(--mmj-corporate-red);
  box-shadow: 0 0 0 3px rgba(180,30,38,0.15);
}
.rail-list li.active .rail-name {
  color: var(--mmj-deep-palm-green);
  font-weight: 700;
}
.rail-list li.active .rail-num { color: var(--mmj-corporate-red); }
.rail-list li.done .rail-dot {
  background: var(--mmj-corporate-red);
  border-color: var(--mmj-corporate-red);
  opacity: 0.6;
}

.rail-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px dashed rgba(15,42,28,0.18);
}
.rail-actions button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mmj-gray-700);
  text-align: left;
  transition: color 200ms;
}
.rail-actions button:hover { color: var(--mmj-corporate-red); }
.rail-actions button svg { flex-shrink: 0; }

/* ---- Main column ---- */
.article-main {
  position: relative;
  max-width: 720px;
}

/* CMS article uses the standard .article-wrap grid (200px rail + 1fr main)
   — no overrides needed; reading rail is now always present. */

/* ---- CMS sections (rendered from new section-based editor) ---- */
.cms-section { margin-bottom: 48px; scroll-margin-top: 80px; }
.cms-section-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1.2;
  color: var(--mmj-deep-palm-green);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15,42,28,0.12);
}
.cms-section-figure {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
}
.cms-section-figure .ph-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--mmj-deep-palm-green);
  border-radius: 2px;
}
.cms-section-figure figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 2px 0;
  border-top: 1px solid rgba(15,42,28,0.12);
  margin-top: 4px;
}
.cms-section-figure .cap-body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
  color: var(--mmj-deep-palm-green);
}

/* ---- Dual photo: two images side-by-side per section ---- */
.cms-section-dual-figure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0;
  align-items: start;
}
.cms-section-dual-figure figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.cms-section-dual-figure .ph-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--mmj-deep-palm-green);
  border-radius: 2px;
}
.cms-section-dual-figure figcaption {
  padding: 8px 2px 0;
  border-top: 1px solid rgba(15,42,28,0.1);
  margin-top: 4px;
}
.cms-section-dual-figure .cap-body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  line-height: 1.4;
  color: var(--mmj-deep-palm-green);
  opacity: 0.8;
}
@media (max-width: 640px) {
  .cms-section-dual-figure {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- CMS gallery: responsive 2-col photo grid ---- */
.cms-gallery {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 48px 0;
}
.cms-gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.cms-gallery .ph-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--mmj-green-900);
  border-radius: 2px;
}
.cms-gallery figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 2px 0;
  border-top: 1px solid rgba(15,42,28,0.12);
  margin-top: 4px;
}
.cms-gallery .cap-body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
  color: var(--mmj-deep-palm-green);
}

/* Chapter */
.article-chapter { margin-bottom: 72px; scroll-margin-top: 80px; }
.article-chapter:last-child { margin-bottom: 0; }
.chapter-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}
.chapter-head .ch-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  color: var(--mmj-corporate-red);
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.chapter-head .ch-rule {
  flex-shrink: 0;
  width: 36px;
  height: 1.5px;
  background: var(--mmj-corporate-red);
  margin-bottom: 6px;
}
.chapter-head .ch-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mmj-deep-palm-green);
  margin: 0;
}
.chapter-body { position: relative; }

/* Article body text */
.article-p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.65;
  color: var(--fg-1, #1a2a1f);
  margin: 0 0 35px;
  text-wrap: pretty;
}
.article-p.has-dropcap::after { content: ""; display: block; clear: both; }
.dropcap {
  float: left;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 90px;
  line-height: 0.85;
  color: var(--mmj-corporate-red);
  padding: 8px 14px 0 0;
  margin-top: 4px;
}

/* Margin note (floats right) */
.margin-note {
  float: right;
  clear: right;
  width: 38%;
  min-width: 220px;
  margin: 4px 0 18px 32px;
  padding: 16px 18px 18px;
  background: #fff;
  border-left: 3px solid var(--mmj-corporate-red);
  box-shadow: 0 6px 16px rgba(15,42,28,0.05);
  position: relative;
  font-family: var(--font-sans);
}
.margin-note::before {
  content: "";
  position: absolute;
  top: -8px; left: -8px;
  width: 14px; height: 14px;
  background: var(--mmj-corporate-red);
  border-radius: 50%;
  opacity: 0.15;
}
.margin-note .mn-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  margin-bottom: 8px;
}
.margin-note p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: var(--mmj-deep-palm-green);
}
.margin-note .mn-source {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15,42,28,0.18);
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--mmj-gray-700);
}

/* Pull quote — breaks out, full main width */
.article-pullquote {
  clear: both;
  margin: 48px 0 48px -20px;
  padding: 36px 0 36px 36px;
  position: relative;
  border-left: 3px solid var(--mmj-corporate-red);
}
.article-pullquote .pq-rule {
  position: absolute;
  left: 36px; top: 0;
  width: 64px; height: 1.5px;
  background: var(--mmj-corporate-red);
}
.article-pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--mmj-deep-palm-green);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.article-pullquote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
}

/* Photo essay */
.article-photos {
  clear: both;
  margin: 40px 0;
  display: grid;
  gap: 18px;
}
.article-photos.cols-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "lead lead"
    "a    b";
}
.article-photos.cols-3 .lead { grid-area: lead; }
.article-photos figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.article-photos .ph-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--mmj-deep-palm-green);
}
.article-photos .lead .ph-img { aspect-ratio: 21 / 9; }
.article-photos figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 2px 0;
  border-top: 1px solid rgba(15,42,28,0.12);
  margin-top: 0;
}
.article-photos .cap-body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
  color: var(--mmj-deep-palm-green);
}
.article-photos .cap-credit {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--mmj-gray-700);
}

/* Location panel */
.location-panel {
  clear: both;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  margin: 48px 0;
  background: #fff;
  border: 1px solid rgba(15,42,28,0.14);
  box-shadow: 0 12px 32px rgba(15,42,28,0.06);
  overflow: hidden;
}
.lp-map {
  position: relative;
  background: #f6f1e6;
  aspect-ratio: 5 / 3.5;
}
.lp-map svg { width: 100%; height: 100%; display: block; }
.lp-watermark {
  position: absolute;
  bottom: 10px; left: 12px;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(15,42,28,0.55);
  text-transform: uppercase;
}
.lp-info {
  padding: 24px 24px 20px;
  border-left: 1px solid rgba(15,42,28,0.1);
}
.lp-info .lp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  margin-bottom: 18px;
}
.lp-info .lp-head .rule {
  width: 24px; height: 2px;
  background: var(--mmj-corporate-red);
}
.lp-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.lp-info .lp-marker {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mmj-corporate-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.lp-info .lp-detail { display: flex; flex-direction: column; gap: 2px; }
.lp-info .lp-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--mmj-deep-palm-green);
  letter-spacing: -0.005em;
}
.lp-info .lp-coords {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mmj-gray-700);
}
.lp-info .lp-dist {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--mmj-gray-700);
  margin-top: 2px;
}

/* Impact figures strip */
.article-impact {
  clear: both;
  margin: 48px 0;
  padding: 32px 36px;
  background: var(--mmj-deep-palm-green);
  color: #fff;
  position: relative;
}
.article-impact::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 6px; height: 100%;
  background: var(--mmj-corporate-red);
}
.article-impact .impact-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.article-impact .impact-head .rule {
  width: 24px; height: 2px;
  background: var(--mmj-corporate-red);
}
.article-impact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 24px;
}
.article-impact li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-impact .val {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.015em;
}
.article-impact .val .unit {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-left: 4px;
  letter-spacing: 0.04em;
}
.article-impact .lab {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
  max-width: 22ch;
}

/* ---- Article footer ---- */
.article-footer {
  background: #fff;
  padding: 64px 0 80px;
  border-top: 1px solid rgba(15,42,28,0.08);
}
.article-footer .container { display: flex; flex-direction: column; gap: 56px; }

.af-tags-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(15,42,28,0.1);
}
.af-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.af-tags .af-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  margin-right: 8px;
}
.af-tags .af-tag {
  padding: 6px 12px;
  background: rgba(15,42,28,0.04);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--mmj-deep-palm-green);
  letter-spacing: 0.02em;
}
.af-share { display: flex; gap: 10px; }
.af-share button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid rgba(15,42,28,0.2);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mmj-deep-palm-green);
  transition: all 200ms;
}
.af-share button:hover {
  border-color: var(--mmj-corporate-red);
  color: var(--mmj-corporate-red);
}

/* Author card */
.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 28px;
  background: var(--mmj-warm-sand, #f6f1e6);
  border-left: 3px solid var(--mmj-corporate-red);
}
.author-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--mmj-deep-palm-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; gap: 4px; }
.author-eyebrow {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  margin-bottom: 2px;
}
.author-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--mmj-deep-palm-green);
  letter-spacing: -0.005em;
}
.author-role {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--mmj-gray-700);
  letter-spacing: 0.02em;
}
.author-bio {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-1, #1a2a1f);
  max-width: 60ch;
}

/* Related stories */
.related-stories .rs-head {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related-stories .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
}
.related-stories .eyebrow .rule { width: 36px; height: 2px; background: var(--mmj-corporate-red); }
.related-stories h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--mmj-deep-palm-green);
  margin: 0;
}
.rs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rs-card {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background-size: cover;
  background-position: center;
  background-color: var(--mmj-deep-palm-green);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform 220ms var(--ease-out, ease-out);
}
.rs-card:hover { transform: translateY(-3px); }
.rs-card .rs-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,42,28,0.05) 0%, rgba(15,42,28,0.55) 55%, rgba(8,28,18,0.85) 100%);
  pointer-events: none;
}
.rs-card .rs-body {
  position: relative;
  z-index: 1;
  padding: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rs-card .rs-tag {
  align-self: flex-start;
  padding: 5px 10px;
  background: var(--mmj-corporate-red);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.rs-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: #fff;
  margin: 0;
}
.rs-card h4 em { font-style: italic; color: #fff; }
.rs-card .rs-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 4px;
}
.rs-card .rs-cta svg { transition: transform 200ms; }
.rs-card:hover .rs-cta svg { transform: translateX(3px); }

.article-back {
  display: flex;
  justify-content: center;
  padding-top: 12px;
}
.btn.btn-on-light {
  background: var(--mmj-deep-palm-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn.btn-on-light:hover { background: var(--mmj-corporate-red); }

/* ============ Article image lightbox ============ */
.article-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 20, 14, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}
.lightbox-image-wrap {
  cursor: default;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms;
}
.lightbox-close:hover { background: rgba(0, 0, 0, 0.7); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms;
}
.lightbox-nav:hover { background: rgba(0, 0, 0, 0.7); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
}

/* Make article images clickable */
.cms-section-figure .ph-img,
.cms-section-dual-figure .ph-img,
.cms-gallery .ph-img {
  cursor: pointer;
}


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .article-wrap { grid-template-columns: 180px 1fr; gap: 40px; }
  .margin-note { width: 42%; }
}
@media (max-width: 900px) {
  .article-hero { min-height: 540px; }
  .article-stamp { top: 20px; right: 20px; padding: 8px 12px 6px; }
  .article-coords-tag { right: 20px; bottom: 20px; }
  .article-meta { grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
  .article-wrap { grid-template-columns: 1fr; gap: 32px; }
  .rail-sticky {
    position: relative;
    top: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(15,42,28,0.1);
  }
  .rail-track { padding-left: 0; flex: 1 1 100%; }
  .rail-track::before, .rail-progress { display: none; }
  .rail-list { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .rail-list li { padding-left: 0; }
  .rail-list .rail-dot { display: none; }
  .rail-actions { flex-direction: row; border-top: none; padding-top: 0; margin-top: 0; flex: 0 0 auto; gap: 14px; }
  .margin-note {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 16px 0 22px;
  }
  .article-pullquote { margin-left: 0; padding-left: 24px; }
  .article-pullquote .pq-rule { left: 24px; }
  .article-photos.cols-3 {
    grid-template-columns: 1fr;
    grid-template-areas: "lead" "a" "b";
  }
  .cms-gallery { grid-template-columns: 1fr 1fr; }
  .location-panel { grid-template-columns: 1fr; }
  .lp-info { border-left: none; border-top: 1px solid rgba(15,42,28,0.1); }
  .article-impact ul { grid-template-columns: repeat(2, 1fr); }
  .rs-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .article-hero-content { padding: 60px 0 56px; }
  .article-meta { grid-template-columns: 1fr 1fr; gap: 16px 22px; padding-top: 18px; }
  .article-meta dd { font-size: 14.5px; }
  .article-body { padding: 56px 0 72px; }
  .article-chapter { margin-bottom: 56px; }
  .chapter-head { flex-wrap: wrap; gap: 10px; }
  .chapter-head .ch-num { font-size: 30px; }
  .article-p { font-size: 17px; line-height: 1.6; }
  .dropcap { font-size: 64px; padding: 6px 10px 0 0; }
  .cms-gallery { grid-template-columns: 1fr; }
  .article-impact { padding: 24px 22px; }
  .article-impact ul { grid-template-columns: 1fr 1fr; gap: 18px; }
  .article-impact .val { font-size: 1.6rem; }
  .rs-grid { grid-template-columns: 1fr; }
  .author-card { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .author-avatar { width: 56px; height: 56px; font-size: 20px; }
  .af-tags-row { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   CSR LISTING PAGE — halaman dedicated CSR & Kegiatan Perusahaan
   Class prefix: clp-
   ============================================================ */

/* ---- Page wrapper ---- */
.csr-listing-page {
  background: var(--mmj-warm-sand);
  min-height: 100vh;
}

/* ---- Hero header ---- */
.clp-hero {
  background: var(--mmj-deep-palm-green);
  color: #fff;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.clp-hero::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 200px; height: 4px;
  background: var(--mmj-corporate-red);
}
/* Decorative circle */
.clp-hero::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.025);
  pointer-events: none;
}

.clp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.60);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 36px;
  transition: color 200ms;
}
.clp-back:hover { color: #fff; }
.clp-back svg {
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Eyebrow on dark background */
.clp-eyebrow {
  color: rgba(255,255,255,0.60) !important;
  margin-bottom: 18px;
}
.clp-eyebrow .rule { background: var(--mmj-corporate-red) !important; }

.clp-hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 20px;
}
.clp-hero-title em {
  font-style: italic;
  color: #fff;
  position: relative;
}
.clp-hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 20%;
  bottom: -4px;
  height: 2px;
  background: var(--mmj-corporate-red);
}

.clp-hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.76);
  margin: 0;
  max-width: 56ch;
}

/* ---- Scroll indicator (between carousel and sections) ---- */
.clp-scroll-hint {
  /* Positioned inside the carousel — on top of the photo */
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: none; /* container is transparent; button handles events */
}
.clp-scroll-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 24px 10px;
  transition: opacity 200ms, transform 200ms;
  line-height: 1;
  pointer-events: auto;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.clp-scroll-btn:hover { opacity: 0.55; transform: translateY(2px); }
.clp-scroll-btn svg {
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  animation: clp-bounce-arrow 1.8s ease-in-out infinite;
}
@keyframes clp-bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ---- Article not-found fallback ---- */
.article-not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: var(--mmj-warm-sand);
}
.anf-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mmj-deep-palm-green);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0;
  margin-bottom: 24px;
  transition: opacity 200ms;
}
.anf-back:hover { opacity: 0.65; }
.anf-back svg {
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.anf-msg {
  font-size: 17px;
  color: var(--mmj-gray-700);
  margin: 0;
}

/* ---- Content sections ---- */
.clp-section { padding: 80px 0; }
.clp-section-alt { background: #fff; }

/* ---- Section heading ---- */
.clp-sec-head { margin-bottom: 48px; }
.clp-sec-label {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 20px;
}
.clp-sec-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 58px;
  line-height: 1;
  color: var(--mmj-corporate-red);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  margin-top: -4px;
  user-select: none;
}
.clp-sec-info { padding-top: 6px; }
.clp-sec-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--mmj-deep-palm-green);
  margin: 0 0 10px;
}
.clp-sec-title em { font-style: italic; color: var(--mmj-deep-palm-green); }
.clp-sec-desc {
  font-size: 15px;
  line-height: 1.62;
  color: var(--mmj-gray-700);
  margin: 0;
  max-width: 58ch;
}

/* Category filter chips (inside CSR section) */
.clp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* Thin divider between the two sections */
.clp-divider { padding: 0; background: var(--mmj-warm-sand); }
.clp-divider-line {
  height: 1px;
  background: rgba(31, 77, 54, 0.10);
}

/* ---- Card grid ---- */
.clp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---- Paginated grid system ---- */
.clp-pgrid-stage {
  overflow: hidden;
}
.clp-pg-exit-fwd { animation: clp-pg-exit-fwd 260ms ease-out forwards; }
.clp-pg-exit-bck { animation: clp-pg-exit-bck 260ms ease-out forwards; }
.clp-pg-enter-fwd { animation: clp-pg-enter-fwd 380ms ease-out forwards; }
.clp-pg-enter-bck { animation: clp-pg-enter-bck 380ms ease-out forwards; }

@keyframes clp-pg-exit-fwd {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-36px); }
}
@keyframes clp-pg-exit-bck {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(36px); }
}
@keyframes clp-pg-enter-fwd {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes clp-pg-enter-bck {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}

.clp-pgrid-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.clp-pgrid-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mmj-deep-palm-green);
  transition: background 200ms, border-color 200ms, color 200ms, transform 150ms;
  flex-shrink: 0;
}
.clp-pgrid-arrow:hover:not([disabled]) {
  background: var(--mmj-deep-palm-green);
  border-color: var(--mmj-deep-palm-green);
  color: #fff;
  transform: scale(1.05);
}
.clp-pgrid-arrow[disabled] {
  opacity: 0.32;
  cursor: not-allowed;
}
.clp-pgrid-indicators {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.clp-pgrid-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.clp-pgrid-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms, width 250ms, border-radius 250ms;
  flex-shrink: 0;
}
.clp-pgrid-dot.active {
  background: var(--mmj-corporate-red);
  width: 24px;
  border-radius: 4px;
}
.clp-pgrid-count {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--mmj-gray-500);
  letter-spacing: 0.08em;
}

/* ---- Individual card — full-image overlay (model sama dengan kartu CSR home) ---- */
.clp-card {
  position: relative;
  aspect-ratio: 3 / 4.2;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  background-color: var(--mmj-deep-palm-green);
  box-shadow: 0 8px 24px rgba(20,40,28,0.10);
  isolation: isolate;
  transition: transform 220ms var(--ease-out, ease-out),
              box-shadow 360ms var(--ease-out, ease-out);
}
/* Alt section sebelumnya pakai warm-sand — di model overlay, tetap hijau gelap */
.clp-section-alt .clp-card { background: var(--mmj-deep-palm-green); }
.clp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(20,40,28,0.20);
}

/* Cover image — mengisi seluruh kartu */
.clp-card-img {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--mmj-deep-palm-green);
}
/* Scrim keterbacaan — transparan di atas (gambar tetap terlihat),
   gelap lembut hanya di area teks bawah. Tidak terlalu gelap. */
.clp-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,42,28,0) 0%,
    rgba(15,42,28,0.18) 28%,
    rgba(15,42,28,0.64) 58%,
    rgba(15,42,28,0.97) 100%);
}

/* Category tag — chip merah di kiri atas (seperti home) */
.clp-card-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: var(--mmj-corporate-red);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.clp-card-tag::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #fff;
}

/* Card body — di-overlay di bagian bawah kartu */
.clp-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

/* Date + location meta row — putih di atas gambar */
.clp-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,0.86);
  margin-bottom: 9px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.clp-card-meta > span:first-child { flex-shrink: 0; }
.clp-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--mmj-corporate-red);
  flex-shrink: 0;
}
.clp-meta-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.clp-meta-loc span,
.clp-meta-loc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clp-meta-loc svg {
  flex-shrink: 0;
  opacity: 0.9;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Card title — putih, em italic dengan garis bawah merah (seperti home) */
.clp-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 9px;
  text-shadow: 0 1px 14px rgba(0,0,0,0.45);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clp-card-title em {
  font-style: italic;
  color: #fff;
  position: relative;
  display: inline-block;
}
.clp-card-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 12%;
  bottom: -2px;
  height: 2px;
  background: var(--mmj-corporate-red);
}

/* Excerpt — dibatasi 2 baris agar gambar tetap terlihat */
.clp-card-excerpt {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.84);
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card footer */
.clp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.22);
}

/* "Baca cerita" link + tombol panah bundar merah (seperti home) */
.clp-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}
.clp-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mmj-corporate-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 200ms;
}
.clp-arrow svg { width: 12px; height: 12px; }
.clp-card:hover .clp-arrow { transform: translateX(2px); }
.clp-read-more svg {
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Author label */
.clp-author {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0;
  text-transform: none;
}

/* Empty state */
.clp-empty {
  text-align: center;
  padding: 64px 32px;
  font-style: italic;
  color: var(--mmj-medium-gray);
  font-size: 15px;
  background: rgba(31, 77, 54, 0.03);
  border-radius: 14px;
  border: 1px dashed rgba(31, 77, 54, 0.18);
}

/* ---- CLP Responsive ---- */
@media (max-width: 1100px) {
  .clp-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .clp-card { aspect-ratio: 3 / 4; }
}
@media (max-width: 900px) {
  .clp-hero  { padding: 64px 0 48px; }
  .clp-hero-title { font-size: clamp(2rem, 6vw, 3rem); }
  .clp-hero-lead  { font-size: 15.5px; }
  .clp-section    { padding: 64px 0; }
  .clp-sec-num    { font-size: 46px; }
  .clp-sec-label  { gap: 18px; }
  .clp-pgrid-nav  { gap: 16px; }
  .clp-pgrid-arrow { width: 40px; height: 40px; }
}
@media (max-width: 640px) {
  .clp-grid       { grid-template-columns: 1fr; gap: 18px; }
  .clp-card       { aspect-ratio: 4 / 5; }
  .clp-hero       { padding: 52px 0 40px; }
  .clp-hero-title { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .clp-hero-lead  { font-size: 15px; }
  .clp-section    { padding: 52px 0; }
  .clp-sec-label  { gap: 14px; }
  .clp-sec-num    { font-size: 38px; }
  .clp-sec-title  { font-size: clamp(1.6rem, 5.5vw, 2rem); }
  .clp-card-title { font-size: 23px; }
  .clp-back       { margin-bottom: 24px; }
  .clp-pgrid-nav  { gap: 12px; margin-top: 32px; padding-top: 28px; }
  .clp-pgrid-arrow { width: 38px; height: 38px; }
  .clp-pgrid-count { display: none; }
}


/* ============================================================
   CLP CAROUSEL — Hero slideshow (3 post terbaru)
   Prefix: clp-cs-
   Mirip SustainabilityShowcase tapi dengan konten editorial.
   ============================================================ */

/* ---- Stage / wrapper ---- */
.clp-carousel {
  position: relative;
  width: 100%;
  /* Full-page hero di SEMUA device — isi tepat tinggi viewport di bawah
     header sticky (konsep sama seperti hero home page). Tinggi final
     dipasang via JS (mengukur header asli); baris di bawah = fallback. */
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  min-height: 540px;
  overflow: hidden;
  background: var(--mmj-green-950);
  user-select: none;
}

/* ---- Individual slide ---- */
.clp-cs-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 900ms var(--ease-out, ease-out);
  transform: scale(1.03);
  will-change: transform, opacity;
}
.clp-cs-slide.active {
  opacity: 1;
  z-index: 1;
  animation: clp-kenburns 9s linear forwards;
}
@keyframes clp-kenburns {
  from { transform: scale(1.03); }
  to   { transform: scale(1.11); }
}

/* ---- Cinematic gradient overlay — dark at top AND bottom ---- */
.clp-cs-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(8,28,18,0.88) 0%,
      rgba(8,28,18,0.52) 24%,
      rgba(10,30,20,0.15) 46%,
      rgba(8,28,18,0.68) 72%,
      rgba(8,28,18,0.96) 100%),
    linear-gradient(90deg, rgba(8,28,18,0.28) 0%, transparent 55%);
  pointer-events: none;
}

/* ---- Page header overlay (top, permanent) ---- */
.clp-cs-page-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 4;
  padding-top: 52px;
  padding-bottom: 24px;
  pointer-events: none;
}
.clp-cs-page-header > .container { pointer-events: none; }
.clp-cs-page-header button,
.clp-cs-page-header a { pointer-events: auto; }

.clp-cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 36px;
  transition: color 200ms;
}
.clp-cs-back:hover { color: #fff; }
.clp-cs-back svg {
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.clp-cs-page-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 18px;
}
.clp-cs-rule {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--mmj-corporate-red);
  flex-shrink: 0;
}

.clp-cs-page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.40);
}
.clp-cs-page-title em { font-style: italic; color: #fff; }

.clp-cs-page-lead {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
  margin: 0;
  max-width: 52ch;
  text-shadow: 0 1px 8px rgba(0,0,0,0.30);
}

/* ---- Per-slide content wrap (bottom, animated) ---- */
.clp-cs-content-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms var(--ease-out, ease-out);
}
.clp-cs-content-wrap.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 6; /* always above inactive wraps regardless of DOM order */
}
.clp-cs-content-wrap .container { padding-bottom: 100px; width: 100%; }
/* Inactive wraps: explicitly block their container + content from intercepting events.
   pointer-events does NOT inherit, so children default to auto — must be set explicitly. */
.clp-cs-content-wrap:not(.active) > .container {
  pointer-events: none;
}
.clp-cs-content-wrap:not(.active) .clp-cs-content {
  pointer-events: none;
}
.clp-cs-content {
  max-width: 680px;
}

/* ---- Eyebrow row: type pill + category badge + date ---- */
.clp-cs-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.clp-cs-type {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
  background: var(--mmj-corporate-red);
  padding: 5px 12px;
  border-radius: 3px;
}
.clp-cs-cat {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 4px 10px;
  border-radius: 3px;
}
.clp-cs-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.60);
}
.clp-cs-date svg {
  flex-shrink: 0; stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ---- Title ---- */
.clp-cs-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 16px;
  max-width: 22ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.40);
}
.clp-cs-title em {
  font-style: italic;
  color: #fff;
  position: relative;
}
.clp-cs-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--mmj-corporate-red);
}

/* ---- Excerpt ---- */
.clp-cs-excerpt {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
  margin: 0 0 28px;
  max-width: 54ch;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- CTA button ---- */
.clp-cs-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--mmj-deep-palm-green);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 13px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 220ms, color 220ms, transform 220ms, box-shadow 220ms;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
}
.clp-cs-cta:hover {
  background: var(--mmj-corporate-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.32);
}
.clp-cs-cta svg {
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 220ms;
}
.clp-cs-cta:hover svg { transform: translateX(4px); }

/* ---- Staggered fade-up on active content-wrap ---- */
/* Only hide children when the wrap itself is INACTIVE — avoids opacity:0 on
   interactive elements, which blocks pointer-events in WebKit/Safari. */
.clp-cs-content-wrap:not(.active) .clp-cs-eyebrow,
.clp-cs-content-wrap:not(.active) .clp-cs-title,
.clp-cs-content-wrap:not(.active) .clp-cs-excerpt,
.clp-cs-content-wrap:not(.active) .clp-cs-cta {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}
/* "both" fill-mode = apply from-state during delay AND to-state after end */
.clp-cs-content-wrap.active .clp-cs-eyebrow {
  animation: clp-fadeUp 700ms 220ms var(--ease-out, ease-out) both;
}
.clp-cs-content-wrap.active .clp-cs-title {
  animation: clp-fadeUp 800ms 400ms var(--ease-out, ease-out) both;
}
.clp-cs-content-wrap.active .clp-cs-excerpt {
  animation: clp-fadeUp 800ms 580ms var(--ease-out, ease-out) both;
}
.clp-cs-content-wrap.active .clp-cs-cta {
  animation: clp-fadeUp 700ms 720ms var(--ease-out, ease-out) both;
  pointer-events: auto; /* always clickable once wrap is active */
}
@keyframes clp-fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Progress bar (top edge) ---- */
.clp-cs-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.12);
  z-index: 10;
}
.clp-cs-bar {
  height: 100%;
  background: var(--mmj-corporate-red);
  width: 0;
  animation: clp-bar linear forwards;
}
@keyframes clp-bar {
  from { width: 0; }
  to   { width: 100%; }
}

/* ---- Prev / Next arrow buttons ---- */
.clp-cs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(8,28,18,0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.clp-cs-nav:hover {
  background: rgba(8,28,18,0.78);
  border-color: rgba(255,255,255,0.58);
}
.clp-cs-nav svg {
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.clp-cs-prev { left: 28px; }
.clp-cs-next { right: 28px; }

/* ---- Dot indicators + counter (bottom-right) ---- */
.clp-cs-controls {
  position: absolute;
  bottom: 36px;
  right: var(--container-pad, 48px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}
.clp-cs-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.clp-cs-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms, width 300ms, border-radius 300ms;
  flex-shrink: 0;
}
.clp-cs-dot.active {
  background: var(--mmj-corporate-red);
  width: 28px;
  border-radius: 4px;
}
.clp-cs-counter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.clp-cs-counter .curr  { color: #fff; font-size: 22px; font-weight: 500; line-height: 1; }
.clp-cs-counter .sep   { font-style: normal; opacity: 0.45; }
.clp-cs-counter .total { font-size: 13px; }

/* ---- Carousel responsive ---- */
@media (max-width: 1100px) {
  .clp-cs-prev { left: 20px; }
  .clp-cs-next { right: 20px; }
}
@media (max-width: 900px) {
  /* tinggi diatur base + JS (full-page); jangan di-cap di sini */
  .clp-cs-page-header { padding-top: 40px; }
  .clp-cs-page-title  { font-size: clamp(1.9rem, 5.5vw, 3rem); }
  .clp-cs-page-lead   { font-size: 14.5px; }
  .clp-cs-title       { font-size: clamp(1.6rem, 5.5vw, 2.6rem); }
  .clp-cs-excerpt     { font-size: 14.5px; }
  .clp-cs-content-wrap .container { padding-bottom: 80px; }
  .clp-cs-controls    { bottom: 24px; right: 20px; }
  .clp-cs-nav         { width: 40px; height: 40px; }
  .clp-cs-prev        { left: 14px; }
  .clp-cs-next        { right: 14px; }
}
@media (max-width: 640px) {
  /* tinggi diatur base + JS (full-page); jangan di-cap di sini */
  .clp-cs-page-header { padding-top: 28px; }
  .clp-cs-page-title  { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .clp-cs-page-lead   { display: none; }          /* too cramped on mobile */
  .clp-cs-back        { margin-bottom: 22px; }
  /* Konten diangkat agar bersih di atas dots + scroll hint (tidak terpotong) */
  .clp-cs-content-wrap .container { padding-bottom: 138px; }
  /* Batasi judul maks 3 baris supaya judul CMS yang panjang tidak menabrak kontrol */
  .clp-cs-title       {
    font-size: clamp(1.4rem, 7vw, 2rem); max-width: 100%;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .clp-cs-excerpt     { display: none; }          /* terlalu sesak di mobile */
  .clp-cs-eyebrow     { gap: 7px; margin-bottom: 12px; }
  .clp-cs-cta         { padding: 11px 18px; font-size: 12.5px; }
  .clp-cs-prev,
  .clp-cs-next        { display: none; }          /* swipe gesture diganti dot */
  /* Bottom controls ditumpuk rapi & ter-center: dots di atas, scroll hint di bawah */
  .clp-cs-controls    { left: 0; right: 0; bottom: 92px; justify-content: center; gap: 14px; }
  .clp-cs-counter     { display: none; }
  .clp-scroll-hint    { bottom: 12px; }
}
/* Viewport pendek non-mobile (laptop 768–900px, landscape tablet) — saat hero
   full-page, header atas & konten slide bawah bisa bertumpuk pada slide
   berjudul panjang. Bebaskan ruang vertikal di atas (sembunyikan lead,
   rapatkan header) tanpa mengganggu aturan mobile (min-width: 641px). */
@media (max-height: 900px) and (min-width: 641px) {
  .clp-cs-page-header { padding-top: 34px; }
  .clp-cs-page-lead   { display: none; }
  .clp-cs-back        { margin-bottom: 20px; }
}

/* ============================================================
   Legal pages — Kebijakan Privasi & Syarat & Ketentuan
   Reuses .page-hero (dark hero) + .prose (long-form body).
   ============================================================ */
.legal-page { background: var(--mmj-pure-white); }

/* Hero legal: foto kebun MMJ dengan overlay hijau agar teks putih tetap terbaca. */
.legal-hero {
  background-color: var(--mmj-green-900);
  background-image:
    linear-gradient(90deg, rgba(22,59,39,0.96) 0%, rgba(22,59,39,0.86) 34%, rgba(31,77,54,0.58) 66%, rgba(31,77,54,0.40) 100%),
    url('assets/plantation-rows.jpg?v=20');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
@media (max-width: 640px) {
  .legal-hero {
    background-image:
      linear-gradient(180deg, rgba(22,59,39,0.90) 0%, rgba(22,59,39,0.80) 100%),
      url('assets/plantation-rows.jpg?v=20');
    background-position: center;
  }
}

.legal-hero .crumbs { margin-bottom: 18px; }
.legal-hero .crumbs .legal-crumb { cursor: pointer; transition: color 160ms; }
.legal-hero .crumbs .legal-crumb:hover { color: #fff; }
.legal-updated {
  margin-top: 24px;
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.legal-updated strong { color: #fff; font-weight: 600; }

.legal-body { padding-top: 64px; padding-bottom: 88px; }
.legal-prose { max-width: 72ch; }
.legal-prose > p { font-size: 17px; line-height: 1.75; color: var(--mmj-gray-700); margin: 0 0 20px; }

.legal-section { margin-top: 44px; }
.legal-section:first-of-type { margin-top: 0; }
.legal-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--mmj-deep-palm-green);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mmj-gray-200);
}
.legal-section p { font-size: 16.5px; line-height: 1.75; color: var(--mmj-gray-700); margin: 0 0 16px; }
.legal-section p strong,
.legal-list strong { color: var(--mmj-charcoal); font-weight: 600; }
.legal-section a,
.legal-list a,
.legal-callout a { color: var(--mmj-green-700); text-decoration: underline; text-underline-offset: 2px; }
.legal-section a:hover,
.legal-list a:hover,
.legal-callout a:hover { color: var(--mmj-deep-palm-green); }

.legal-list { margin: 0 0 18px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.legal-list li { position: relative; padding-left: 26px; font-size: 16.5px; line-height: 1.7; color: var(--mmj-gray-700); }
.legal-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mmj-fresh-leaf-green);
}

.legal-callout {
  background: var(--mmj-sand-50);
  border-left: 3px solid var(--mmj-corporate-red);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mmj-gray-700);
}

.legal-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--mmj-gray-200);
}
.legal-back { display: inline-flex; align-items: center; gap: 8px; }
.legal-other {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--mmj-deep-palm-green);
  transition: color 160ms;
}
.legal-other:hover { color: var(--mmj-corporate-red); }

/* Footer links — make the (previously inert) anchors clearly clickable. */
.site-footer .footer-bottom .legal a,
.site-footer .footer-col a { cursor: pointer; }

@media (max-width: 720px) {
  .legal-body { padding-top: 44px; padding-bottom: 64px; }
  .legal-section h2 { font-size: 1.35rem; }
  .legal-footer-nav { flex-direction: column; align-items: stretch; }
  .legal-back { justify-content: center; }
  .legal-other { justify-content: center; }
}

/* ============================================================
   Galeri Foto — halaman galeri publik
   ============================================================ */
.gallery-page {
  background: var(--mmj-warm-sand);
  min-height: 100vh;
  padding: 48px 0 96px;
}
.gallery-head {
  padding: 20px 0 34px;
  max-width: 760px;
}
.gallery-eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mmj-corporate-red);
  display: inline-block;
  margin-bottom: 14px;
}
.gallery-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--mmj-deep-palm-green);
  margin: 0 0 16px;
}
.gallery-title em { font-style: italic; color: var(--mmj-corporate-red); }
.gallery-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mmj-gray-700);
  margin: 0;
  max-width: 60ch;
}
.gallery-count {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mmj-gray-500);
}

/* Masonry: CSS multi-column — tiap foto pertahankan rasio asli,
   dibuat berdempet dengan jarak kecil (6px). */
.gallery-masonry {
  column-count: 4;
  column-gap: 6px;
}
@media (max-width: 1100px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 760px)  { .gallery-masonry { column-count: 2; } }
@media (max-width: 420px)  { .gallery-masonry { column-count: 2; column-gap: 5px; } }

.g-item {
  display: block;
  width: 100%;
  margin: 0 0 6px;
  padding: 0;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  position: relative;
  line-height: 0;
  background: var(--mmj-green-100);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
@media (max-width: 420px) { .g-item { margin-bottom: 5px; } }
.g-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,42,26,0.30), rgba(11,42,26,0) 42%);
  opacity: 0;
  transition: opacity 260ms var(--ease-out);
  pointer-events: none;
}
.g-item:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.16); }
.g-item:hover::after { opacity: 1; }
.g-item:focus-visible { outline: 3px solid var(--mmj-corporate-red); outline-offset: 2px; }

.gallery-status {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 44px 0;
  color: var(--mmj-gray-500);
  font-size: 14px;
}
.gallery-sentinel { min-height: 60px; }

/* Spinner (dipakai galeri) */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,0.15);
  border-top-color: var(--mmj-corporate-red);
  border-radius: 50%;
  display: inline-block;
  animation: mmj-spin 0.7s linear infinite;
}
@keyframes mmj-spin { to { transform: rotate(360deg); } }

/* ============ Lightbox (popup foto) ============ */
.glb {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(8, 20, 14, 0.93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 76px;
  animation: glb-fade 200ms var(--ease-out);
}
@keyframes glb-fade { from { opacity: 0; } to { opacity: 1; } }
.glb-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
}
.glb-img {
  max-width: 100%;
  /* Caption-aware: sisakan ruang untuk caption + padding agar tidak terpotong
     di layar pendek / landscape (mis. ponsel diputar). */
  max-height: min(78vh, calc(100vh - 180px));
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.glb-caption {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
  max-width: 70ch;
}
.glb-caption-text {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  line-height: 1.5;
}
.glb-counter {
  color: rgba(255,255,255,0.55);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.glb-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms var(--ease-out);
}
.glb-close:hover { background: rgba(255,255,255,0.24); }
.glb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff; font-size: 34px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms var(--ease-out);
}
.glb-nav:hover { background: rgba(255,255,255,0.24); }
.glb-prev { left: 16px; }
.glb-next { right: 16px; }
.glb-close:focus-visible, .glb-nav:focus-visible { outline: 3px solid var(--mmj-corporate-red); outline-offset: 2px; }

@media (max-width: 640px) {
  .glb { padding: 16px 8px 22px; }
  .glb-img { max-height: min(72vh, calc(100vh - 150px)); }
  .glb-nav { width: 42px; height: 42px; font-size: 28px; }
  .glb-prev { left: 6px; }
  .glb-next { right: 6px; }
  .glb-close { top: 10px; right: 12px; width: 40px; height: 40px; }
}
