/* ============================================================
   ARUNIKA NUSANTARA — stylesheet v2
   Palette taken from East Java earth: volcanic soil, Majapahit
   brick, turmeric, banana leaf, lime-white kapur sirih.
   ============================================================ */

:root {
  /* Palette keyed to the logo: forest green, champagne gold, kapur cream. */
  --rimba:     #0f1e16;   /* deep forest night — dark bands, header, footer */
  --rimba-2:   #16291f;
  --rimba-3:   #1f3628;
  --hijau:     #2b6640;   /* logo green — accent on light backgrounds */
  --hijau-d:   #1f4e30;
  --hijau-l:   #6fa57c;
  --emas:      #c9a15a;   /* logo gold — accent on dark backgrounds */
  --emas-s:    #e3c68c;
  --pandan:    #2e6b4f;
  --kapur:     #f6efe1;   /* lime-white cream — light bands */
  --pasir:     #ece5d1;   /* sand — alternate light band */
  --tinta:     #142019;
  --tinta-s:   #55604f;
  --garis-t:   rgba(246, 239, 225, 0.16);
  --garis-g:   #d5ccb2;

  --f-mark: 'Marcellus', Georgia, serif;
  --f-head: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Karla', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: 28px;

  /* ---- FOTO: ganti nama file di sini saja ---- */
  --img-hero:     url('hero.jpg');
  --img-farmers:  url('farmers.jpg');
  --img-workshop: url('workshop.jpg');
  --img-story:    url('story.jpg');

  --veil-hero: linear-gradient(180deg, rgba(15,30,22,.95) 0%, rgba(15,30,22,.78) 42%, rgba(15,30,22,.94) 100%);
  --veil-band: linear-gradient(rgba(15,30,22,.78), rgba(15,30,22,.72));
}

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

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

body {
  margin: 0; background: var(--kapur); color: var(--tinta);
  font-family: var(--f-body); font-size: 16.5px; line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
figure { margin: 0; }

h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.02; margin: 0 0 .4em; letter-spacing: -.01em; }
h4 { font-family: var(--f-mark); font-weight: 400; font-size: 1.02rem; letter-spacing: .02em; margin: 0 0 .4em; }
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 17ch; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; max-width: 62ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 3px solid var(--emas); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--emas); color: var(--rimba); padding: 10px 18px; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------- Editorial furniture ---------------- */
.kicker {
  font-family: var(--f-mark); font-size: .74rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--hijau); display: block; margin-bottom: 18px;
}
.on-dark .kicker { color: var(--emas); }

/* vertical chapter mark in the margin */
.chapter-mark {
  position: absolute; left: 0; top: 96px;
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--f-mark); font-size: .72rem; letter-spacing: .42em;
  text-transform: uppercase; color: var(--hijau); opacity: .8;
  padding-left: 6px; border-left: 1px solid currentColor;
}
.on-dark .chapter-mark { color: var(--emas); opacity: .55; }

/* oversized ghost numeral */
.ghost-num {
  position: absolute; font-family: var(--f-head); font-weight: 600;
  font-size: clamp(11rem, 26vw, 24rem); line-height: .78;
  color: var(--hijau); opacity: .07; pointer-events: none; user-select: none; z-index: 0;
}
.on-dark .ghost-num { color: var(--emas); opacity: .08; }

/* drop cap */
.lede { font-size: 1.16rem; max-width: 46ch; }
.lede::first-letter {
  font-family: var(--f-head); font-weight: 600; font-size: 4.1em;
  float: left; line-height: .82; padding: .06em .12em 0 0; color: var(--hijau);
}
.on-dark .lede::first-letter { color: var(--emas); }

/* caption */
.cap {
  font-family: var(--f-mark); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tinta-s);
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--garis-g);
}
.on-dark .cap { color: rgba(246,239,225,.62); border-top-color: var(--garis-t); }

/* pull quote that breaks the column */
.pull {
  font-family: var(--f-head); font-weight: 500;
  font-size: clamp(1.7rem, 3.1vw, 2.6rem); line-height: 1.22;
  color: var(--hijau); max-width: 22ch; margin: 0;
}
.on-dark .pull { color: var(--emas-s); }
.pull cite { display: block; font-family: var(--f-body); font-style: normal; font-size: .92rem; line-height: 1.62; letter-spacing: .01em; color: var(--tinta-s); margin-top: 22px; max-width: 44ch; }
.on-dark .pull cite { color: rgba(246,239,225,.66); }

/* tumpal — the triangle border that edges a batik cloth */
.tumpal { height: 16px; width: 100%; display: block; }
.tumpal-top {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='16' viewBox='0 0 34 16'%3E%3Cpath d='M0 0h34L17 16z' fill='%23c9a15a'/%3E%3C/svg%3E");
  background-size: 34px 16px; background-repeat: repeat-x;
}
.tumpal-bottom {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='16' viewBox='0 0 34 16'%3E%3Cpath d='M0 16h34L17 0z' fill='%23c9a15a'/%3E%3C/svg%3E");
  background-size: 34px 16px; background-repeat: repeat-x;
}

/* ---------------- Bands ---------------- */
.band { padding: 118px 0; position: relative; }
.band-air { padding: 160px 0; }
.band-tight { padding: 74px 0; }

.on-dark { background: var(--rimba); color: var(--kapur); position: relative; overflow: hidden; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--kapur); }
.on-dark p { color: rgba(246, 239, 225, .80); }
.on-dark > * { position: relative; z-index: 1; }

/* .on-dark > * sets position:relative on every direct child, which would drag
   the absolutely-positioned chapter mark back into the flow. Restore it. */
.band > .chapter-mark, .on-dark > .chapter-mark { position: absolute; z-index: 2; }

.on-light { background: var(--kapur); }
.on-sand  { background: var(--pasir); }

.on-light, .on-sand {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%231f4e30' stroke-width='1.1' opacity='0.07'%3E%3Cellipse cx='42' cy='21' rx='13' ry='19'/%3E%3Cellipse cx='42' cy='63' rx='13' ry='19'/%3E%3Cellipse cx='21' cy='42' rx='19' ry='13'/%3E%3Cellipse cx='63' cy='42' rx='19' ry='13'/%3E%3Cellipse cx='0' cy='0' rx='13' ry='19'/%3E%3Cellipse cx='84' cy='84' rx='13' ry='19'/%3E%3Cellipse cx='0' cy='84' rx='13' ry='19'/%3E%3Cellipse cx='84' cy='0' rx='13' ry='19'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 84px 84px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 32px; font-family: var(--f-body); font-weight: 600; font-size: .92rem;
  letter-spacing: .02em; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 2px;
  transition: background-color .18s, color .18s, border-color .18s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-brick { background: var(--hijau); color: var(--kapur); }
.btn-brick:hover { background: var(--hijau-d); }
.btn-sun { background: var(--emas); color: var(--rimba); }
.btn-sun:hover { background: var(--emas-s); }
.btn-ghost-l { background: transparent; color: var(--kapur); border-color: var(--garis-t); }
.btn-ghost-l:hover { border-color: var(--emas); color: var(--emas); }
.btn-ghost-d { background: transparent; color: var(--tinta); border-color: var(--garis-g); }
.btn-ghost-d:hover { border-color: var(--hijau); color: var(--hijau); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #18803f; }
.btn-sm { padding: 10px 20px; font-size: .82rem; }

.link-rule {
  display: inline-block; font-family: var(--f-mark); font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 5px; border-bottom: 1.5px solid var(--hijau); transition: color .18s, border-color .18s;
}
.link-rule:hover { color: var(--hijau); }
.on-dark .link-rule { border-bottom-color: var(--emas); }
.on-dark .link-rule:hover { color: var(--emas); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(15,30,22,.97); border-bottom: 1px solid var(--garis-t);
}
.header-inner {
  display: flex; align-items: center; gap: 34px;
  padding: 15px var(--gutter); max-width: var(--wrap); margin: 0 auto; position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-name {
  font-family: var(--f-mark); font-size: 1.16rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--kapur); line-height: 1;
}
.brand-sub {
  display: block; font-family: var(--f-body); font-size: .58rem; font-weight: 600;
  letter-spacing: .34em; color: var(--emas); margin-top: 5px;
}

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--f-mark); text-decoration: none; font-size: .84rem;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(246,239,225,.8);
  padding: 5px 0; border-bottom: 1.5px solid transparent; transition: color .18s, border-color .18s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--kapur); border-bottom-color: var(--hijau-l); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px;
  align-items: center; justify-content: center; background: none;
  border: 1px solid var(--garis-t); border-radius: 2px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--kapur); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; color: var(--kapur); overflow: hidden;
  background-image: var(--veil-hero), var(--img-hero);
  background-size: cover; background-position: center;
  padding: 124px 0 0;
}
.hero h1, .hero h2, .hero h3, .hero h4 { color: var(--kapur); }
.hero p { color: rgba(246, 239, 225, .84); }
.hero-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-sky svg { width: 100%; height: 100%; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: end;
}
.hero h1 { max-width: 12ch; margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--emas-s); }
.hero-actions { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }

/* the image card that deliberately overlaps the band edge */
.hero-plate {
  position: relative; margin-bottom: -78px;
  border: 1px solid var(--garis-t); background: var(--rimba-2); padding: 14px;
}
.hero-plate .shot {
  display: block; aspect-ratio: 4/5; background-size: cover; background-position: center;
  background-image: var(--img-farmers); background-color: var(--rimba-3);
}
.hero-plate .cap { padding: 0 2px; }

.hero-meta {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 122px; border-top: 1px solid var(--garis-t);
}
.hero-meta div { padding: 22px 22px 26px 0; border-right: 1px solid var(--garis-t); }
.hero-meta div:last-child { border-right: none; }
.hero-meta b { display: block; font-family: var(--f-head); font-size: 2.1rem; font-weight: 600; color: var(--emas); line-height: 1.05; }
.hero-meta span { display: block; font-size: .84rem; color: rgba(246,239,225,.7); max-width: 22ch; margin-top: 4px; }

/* ---------------- Chapter opener ---------------- */
.chapter-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; margin-bottom: 66px; }
.chapter-head h2 { margin-bottom: 0; }

/* ---------------- Commodity chapters (alternating) ---------------- */
.entry {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; padding: 92px 0; position: relative;
}
.entry + .entry { border-top: 1px solid var(--garis-g); }
.on-dark .entry + .entry { border-top-color: var(--garis-t); }
.entry-flip .entry-media { order: 2; }
.entry-media { position: relative; }
.entry-media .shot {
  display: block; aspect-ratio: 5/4; background-size: cover; background-position: center;
  background-color: var(--pasir);
}
.entry-body { position: relative; z-index: 1; }
.entry-body h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 6px; }
.entry-body .latin { font-family: var(--f-mark); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-s); display: block; margin-bottom: 20px; }
.on-dark .entry-body .latin { color: rgba(246,239,225,.6); }
.entry-facts { display: flex; gap: 28px; flex-wrap: wrap; margin: 22px 0 24px; padding-top: 18px; border-top: 1px solid var(--garis-g); }
.on-dark .entry-facts { border-top-color: var(--garis-t); }
.entry-facts div { font-size: .82rem; color: var(--tinta-s); font-variant-numeric: tabular-nums; }
.on-dark .entry-facts div { color: rgba(246,239,225,.7); }
.entry-facts b { display: block; font-family: var(--f-mark); font-size: .95rem; color: var(--tinta); letter-spacing: .04em; }
.on-dark .entry-facts b { color: var(--kapur); }

/* ---------------- Gotong royong ---------------- */
.gr-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.gr-diagram { margin-top: 72px; border-top: 1px solid var(--garis-t); padding-top: 44px; }
.gr-legend { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 24px; font-size: .84rem; color: rgba(246,239,225,.68); }
.gr-legend span { display: flex; align-items: center; gap: 8px; }
.gr-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

.js-animate .flow-line { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s ease-out; }
.js-animate .farm-node { opacity: 0; transition: opacity .8s ease .2s; }
.js-animate.is-visible .flow-line { stroke-dashoffset: 0; }
.js-animate.is-visible .farm-node { opacity: 1; }

.gr-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.gr-pillars > div { border-top: 2px solid var(--emas); padding-top: 20px; }
.gr-pillars p { font-size: .94rem; margin-bottom: 0; }

/* ---------------- Photo band ---------------- */
.photo-band { background-size: cover; background-position: center; background-repeat: no-repeat; }
.bg-farmers  { background-image: var(--veil-band), var(--img-farmers); }
.bg-workshop { background-image: var(--veil-band), var(--img-workshop); }
.bg-story    { background-image: var(--veil-band), var(--img-story); }

/* ---------------- Catalogue ---------------- */
.product { padding: 96px 0; border-top: 1px solid var(--garis-g); position: relative; scroll-margin-top: 96px; }
.product:first-of-type { border-top: none; padding-top: 36px; }
.product-open { display: grid; grid-template-columns: 1.05fr .95fr; gap: 58px; align-items: end; margin-bottom: 46px; }
.product-open h2 { margin-bottom: 8px; max-width: none; }
.product-open .latin { font-family: var(--f-mark); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-s); }
.product-body { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: start; }

/* gallery */
.gallery { position: relative; isolation: isolate; border: 1px solid var(--garis-g); background: var(--pasir); overflow: hidden; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; }
.gallery-slide .shot { display: block; aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--pasir); }
.gallery-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(15,30,22,.9));
  color: var(--kapur); font-family: var(--f-mark); font-size: .82rem;
  letter-spacing: .08em; padding: 46px 18px 16px;
}
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(15,30,22,.76); color: var(--kapur);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  transition: background-color .18s;
}
.gallery-btn:hover { background: var(--hijau); }
.gallery-btn:disabled { opacity: .35; cursor: default; }
.gallery-prev { left: 12px; } .gallery-next { right: 12px; }
.gallery-dots { display: flex; gap: 8px; align-items: center; padding: 16px 0 4px; }
.gallery-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: var(--garis-g); transition: background-color .18s, transform .18s; }
.gallery-dots button[aria-current="true"] { background: var(--hijau); transform: scale(1.4); }
.gallery-hint { font-family: var(--f-mark); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-s); margin: 10px 0 0; }

/* story panel */
.story { background: var(--rimba); color: var(--kapur); padding: 40px 38px; margin-bottom: 30px; position: relative; }
.story::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--emas); }
.story h3 { color: var(--emas-s); font-size: 1.42rem; }
.story p { color: rgba(246,239,225,.86); font-size: 1rem; }
.story p:last-child { margin-bottom: 0; }
.story .pull { font-size: 1.35rem; margin: 24px 0; max-width: 30ch; padding-left: 20px; border-left: 2px solid var(--hijau-l); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; font-variant-numeric: tabular-nums; }
.spec-table caption { text-align: left; font-family: var(--f-mark); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hijau); padding-bottom: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--garis-g); }
.spec-table th { font-weight: 400; color: var(--tinta-s); width: 44%; }
.spec-table td { font-weight: 500; }

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 24px; }
.pill { border: 1px solid var(--garis-g); border-radius: 40px; padding: 6px 15px; font-size: .8rem; background: var(--kapur); }
.pill-hot { background: var(--hijau); color: var(--kapur); border-color: var(--hijau); }

.product-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------------- Generic ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--garis-g); border: 1px solid var(--garis-g); }
.card { background: var(--kapur); padding: 30px 26px; }
.card h4 { color: var(--hijau); margin-bottom: 8px; }
.card p { font-size: .93rem; margin-bottom: 0; color: var(--tinta-s); }
.on-dark .card-grid { background: var(--garis-t); border-color: var(--garis-t); }
.on-dark .card { background: var(--rimba-2); }
.on-dark .card h4 { color: var(--emas); }
.on-dark .card p { color: rgba(246,239,225,.78); }

.process { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process li { display: grid; grid-template-columns: 88px 1fr 1.1fr; gap: 26px; padding: 32px 0; border-top: 1px solid var(--garis-g); align-items: start; }
.process li:last-child { border-bottom: 1px solid var(--garis-g); }
.process .n { font-family: var(--f-head); font-size: 2.2rem; font-weight: 600; color: var(--hijau); font-variant-numeric: tabular-nums; line-height: 1; }
.process h3 { margin-bottom: 0; font-size: 1.28rem; }
.process p { margin-bottom: 0; font-size: .95rem; color: var(--tinta-s); }

.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }
.lab-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.lab-table caption { text-align: left; font-family: var(--f-mark); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--emas); padding-bottom: 14px; }
.lab-table th, .lab-table td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--garis-t); }
.lab-table th { font-weight: 400; color: rgba(246,239,225,.7); width: 54%; }
.lab-table td { color: var(--kapur); }

.market-list { list-style: none; margin: 0; padding: 0; }
.market-list li { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--garis-t); font-size: .96rem; }
.market-list li:first-child { border-top: 1px solid var(--garis-t); }
.market-list .ports { color: rgba(246,239,225,.6); font-size: .85rem; text-align: right; }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 54px; }
.photo-strip .shot { display: block; aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--pasir); }

/* ---------------- Editorial article ---------------- */
.article { display: grid; grid-template-columns: 1fr; max-width: 700px; }
.article h2 { margin-top: 56px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.article h2:first-child { margin-top: 0; }
.article p { font-size: 1.04rem; }
.quote-block { margin: 54px 0; padding: 0; }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.value-grid > div { padding: 26px 0; border-top: 1px solid var(--garis-g); }
.on-dark .value-grid > div { border-top-color: var(--garis-t); }
.value-grid h4 { color: var(--hijau); margin-bottom: 6px; }
.on-dark .value-grid h4 { color: var(--emas); }
.value-grid p { font-size: .94rem; margin-bottom: 0; color: var(--tinta-s); }
.on-dark .value-grid p { color: rgba(246,239,225,.78); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--garis-t); }
.timeline .yr { font-family: var(--f-mark); font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--emas); }
.timeline p { margin-bottom: 0; font-size: .95rem; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 58px; align-items: start; }
.contact-details { list-style: none; margin: 30px 0 0; padding: 0; }
.contact-details li { padding: 16px 0; border-bottom: 1px solid var(--garis-g); }
.contact-details li:first-child { border-top: 1px solid var(--garis-g); }
.contact-details strong { display: block; font-family: var(--f-mark); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-s); font-weight: 400; margin-bottom: 4px; }
.contact-details span { font-size: 1rem; font-weight: 500; }

.quote-form { background: var(--kapur); border: 1px solid var(--garis-g); padding: 40px; }
.quote-form h2 { font-size: 1.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row-full { grid-column: 1 / -1; }
.form-row label { font-family: var(--f-mark); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-s); }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--f-body); font-size: .95rem; padding: 12px 13px;
  background: #fff; border: 1px solid var(--garis-g); border-radius: 2px; color: var(--tinta);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--hijau); }
.form-note { font-size: .86rem; color: var(--tinta-s); margin: 14px 0 0; }
.form-status { margin-top: 14px; padding: 13px 16px; border-left: 4px solid var(--emas); background: var(--pasir); font-size: .9rem; }

.faq { list-style: none; margin: 0; padding: 0; }
.faq li { border-bottom: 1px solid var(--garis-g); }
.faq li:first-child { border-top: 1px solid var(--garis-g); }
.faq details { padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--f-head); font-weight: 600; font-size: 1.24rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--hijau); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; font-size: .95rem; color: var(--tinta-s); }

/* ---------------- Close + footer ---------------- */
.close-band { text-align: center; }
.close-band .pull { margin: 0 auto; max-width: 26ch; }
.close-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 42px; }

.site-footer { background: var(--rimba); color: var(--kapur); padding: 78px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 42px; padding-bottom: 40px; border-bottom: 1px solid var(--garis-t); }
.footer-grid h4 { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--emas); margin-bottom: 16px; }
.footer-grid p { font-size: .9rem; color: rgba(246,239,225,.66); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { text-decoration: none; font-size: .9rem; color: rgba(246,239,225,.8); }
.footer-links a:hover { color: var(--emas); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 26px; font-size: .8rem; color: rgba(246,239,225,.5); }

/* ---------------- WhatsApp ---------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1f9d55; color: #fff; text-decoration: none;
  padding: 13px 21px 13px 17px; border-radius: 40px;
  font-family: var(--f-body); font-weight: 600; font-size: .92rem;
  box-shadow: 0 6px 22px rgba(0,0,0,.3); transition: background-color .18s, transform .15s;
}
.wa-float:hover { background: #18803f; transform: translateY(-2px); }

/* ---------------- Page hero ---------------- */
.page-hero { padding: 96px 0 84px; position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 20px; max-width: 15ch; }
.page-hero .lede { color: rgba(246,239,225,.84); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1300px) { .chapter-mark { display: none; } }

@media (max-width: 1080px) {
  .card-grid, .gr-pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .band { padding: 76px 0; }
  .band-air { padding: 92px 0; }
  .hero { padding-top: 64px; }

  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--rimba);
    border-bottom: 1px solid var(--garis-t); padding: 6px var(--gutter) 18px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--garis-t); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .hero-grid, .chapter-head, .entry, .gr-quote, .product-open,
  .product-body, .lab-grid, .contact-grid, .value-grid { grid-template-columns: 1fr; gap: 32px; }
  .entry { padding: 56px 0; }
  .entry-flip .entry-media { order: 0; }
  .hero-plate { margin-bottom: 0; }
  .hero h1 { max-width: none; }
  .hero-meta { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .hero-meta div:nth-child(2n) { border-right: none; }
  .hero-meta div:nth-child(-n+2) { border-bottom: 1px solid var(--garis-t); }

  .card-grid, .gr-pillars { grid-template-columns: 1fr; }
  .process li { grid-template-columns: 54px 1fr; }
  .process li p { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .ghost-num { font-size: 9rem; }
  .story { padding: 28px 24px; }
  .lede::first-letter { font-size: 3.4em; }
}

/* ============================================================
   PHOTO HARMONISATION
   Any photo you drop in gets a warm dawn wash so that a mix of
   sources still reads as one palette: light falls from the upper
   left in dawn gold, deepening to earth in the lower right.
   Tune or remove by editing --wash-* below.
   ============================================================ */
:root {
  --wash-1: rgba(201, 161, 90, .16);   /* emas — where the light lands */
  --wash-2: rgba(43, 102, 64, .10);    /* hijau — the middle */
  --wash-3: rgba(15, 30, 22, .30);     /* rimba — the shadow side */
}

.shot, .hero-plate .shot { position: relative; }
.shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(152deg, var(--wash-1) 0%, var(--wash-2) 46%, var(--wash-3) 100%);
  mix-blend-mode: multiply;
}
/* a second, very light pass lifts the highlight so photos do not go muddy */
.shot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 90% at 18% 12%, rgba(255, 240, 210, .12), transparent 60%);
}

/* Photo bands and the hero use the same light direction, so a full-bleed
   photo and a framed one never look like they came from different sites. */
:root {
  --veil-hero: linear-gradient(152deg, rgba(15,30,22,.80) 0%, rgba(22,41,31,.72) 38%, rgba(15,30,22,.94) 100%);
  --veil-band: linear-gradient(152deg, rgba(15,30,22,.74) 0%, rgba(201,161,90,.20) 45%, rgba(15,30,22,.88) 100%);
}

/* ============================================================
   Logo mark
   ============================================================ */
.brand-mark { display: block; width: 54px; height: auto; flex-shrink: 0; }
.brand { gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 64px; height: auto; }
.footer-brand .brand-name { font-size: 1.12rem; }

/* ============================================================
   Incoterms diagram
   ============================================================ */
.terms {
  display: grid; gap: 10px; margin-top: 8px;
  grid-template-columns: minmax(150px, 1.1fr) repeat(4, minmax(0, 1fr));
}
.terms-route, .term { display: contents; }
.terms-route span {
  font-family: var(--f-mark); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tinta-s); padding: 0 4px 8px; border-bottom: 1px solid var(--garis-g);
  position: relative;
}
.terms-route span:not(.terms-blank)::after {
  content: ""; position: absolute; right: 6px; bottom: -4px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--emas);
}
.term-name { padding: 16px 0; border-bottom: 1px solid var(--garis-g); }
.term-name b {
  display: block; font-family: var(--f-head); font-weight: 600; font-size: 2rem; line-height: 1;
  color: var(--hijau);
}
.term-name span { display: block; font-size: .8rem; color: var(--tinta-s); margin-top: 6px; }
.cell {
  display: flex; align-items: center; padding: 14px 16px; min-height: 76px;
  font-size: .86rem; line-height: 1.35; border-radius: 2px; align-self: center;
}
.cell.us  { background: var(--hijau); color: var(--kapur); }
.cell.you { background: transparent; color: var(--tinta-s); border: 1.5px dashed var(--garis-g); }
/* the moment risk passes: a gold rule where our cells end */
.term .cell.us + .cell.you { box-shadow: inset 3px 0 0 var(--emas); }

.terms-legend {
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center;
  margin-top: 24px; font-size: .86rem; color: var(--tinta-s);
}
.terms-legend span { display: flex; align-items: center; gap: 9px; }
.swatch { width: 18px; height: 12px; border-radius: 2px; display: inline-block; }
.swatch.us { background: var(--hijau); }
.swatch.you { border: 1.5px dashed var(--garis-g); }
.terms-note { flex-basis: 100%; font-style: italic; }

.terms-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; margin-top: 58px;
}
.terms-facts > div { padding: 22px 0; border-top: 2px solid var(--emas); }
.terms-facts h4 { color: var(--hijau); margin-bottom: 6px; }
.terms-facts p { font-size: .94rem; margin: 0; color: var(--tinta-s); }

.terms-cta {
  display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: space-between;
  margin-top: 50px; padding: 30px 34px; background: var(--rimba); color: var(--kapur);
}
.terms-cta p { margin: 0; max-width: 52ch; color: rgba(246,239,225,.84); font-size: 1rem; }

@media (max-width: 900px) {
  .terms { grid-template-columns: 1fr 1fr; gap: 8px; }
  .terms-route { display: none; }
  .term-name { grid-column: 1 / -1; padding: 22px 0 6px; border-bottom: none; }
  .cell { min-height: 0; padding: 12px 14px; font-size: .82rem; }
  .terms-facts { grid-template-columns: 1fr; }
  .terms-cta { padding: 24px; }
  .brand-mark { width: 46px; }
}

/* ============================================================
   Accents on dark grounds use gold, never green: green on forest
   green disappears. The hero is dark but is not an .on-dark band,
   so it is listed explicitly.
   ============================================================ */
.hero .kicker { color: var(--emas); }
.hero .lede::first-letter { color: var(--emas); }
.hero .btn-brick, .on-dark .btn-brick, .page-hero .btn-brick { background: var(--emas); color: var(--rimba); }
.hero .btn-brick:hover, .on-dark .btn-brick:hover, .page-hero .btn-brick:hover { background: var(--emas-s); }
.story .pull { color: var(--emas-s); border-left-color: var(--emas); }
.story .lede::first-letter { color: var(--emas); }
