/* Heratona v6. The chart of our trade, with a floating bar and scroll scenes.
   The site reads like a trader's chart: a dark lacquer sea, gold rules and dashed routes, paper tags
   and slips for the facts buyers check, and an inset map for each origin.
   Type: Cormorant for display, Manrope for text. No scroll effects. */
[hidden] { display: none !important; }
:root {
  --ink: #160506;
  --lacquer: #210809;
  --lacquer-2: #2B0D0E;
  --maroon: #560A0E;
  --wine: #3A0406;
  --gold: #C9A227;
  --gold-soft: #E3CE97;
  --bone: #EEE5D4;
  --bone-2: #E4D8C2;
  --bone-ink: #2A0B0C;
  --paper-muted: #6B4A42;
  --text: #F1E9DC;
  --muted: #C7B5A5;
  --line: rgba(227, 206, 151, .2);
  --line-2: rgba(227, 206, 151, .1);
  --line-paper: rgba(86, 10, 14, .16);

  --display: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --max: 80rem;
  --gut: clamp(1.25rem, 3.3vw, 3rem);
  --sec: clamp(5rem, 10vw, 8.5rem);
  --bar-h: 4.75rem;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .34 0 0 0 0 .04 0 0 0 0 .05 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-synthesis: none; }
@media (prefers-reduced-motion: no-preference) { html:not(.has-lenis) { scroll-behavior: smooth; } }
html { scroll-padding-top: 5rem; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a, button, summary, [role="tab"] { touch-action: manipulation; -webkit-tap-highlight-color: rgba(201, 162, 39, .25); }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 80; background: var(--gold); color: var(--ink); padding: .6rem 1rem; text-decoration: none; font-weight: 600; }
.skip:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }
/* Cormorant defaults to old-style figures; force lining figures everywhere */
* { font-variant-numeric: lining-nums !important; }
.specs td, .mlk-stats dd, .oil-num { font-variant-numeric: lining-nums tabular-nums !important; }

.wrap {
  width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

/* ---------- Type ---------- */
.lbl { font: 600 .875rem/1.45 var(--sans); color: var(--gold); }
.lbl-dim { color: var(--muted); }
.lbl-paper { color: var(--paper-muted); }
.sec-title { font: 500 clamp(2.6rem, 5.6vw, 4.6rem)/.98 var(--display); letter-spacing: -.015em; color: var(--text); text-wrap: balance; }
.sec-title em, .sub-title em, .hero-title em, .foot-tag em { font-style: normal; color: var(--gold); }
.sub-title { font: 600 clamp(1.55rem, 2.6vw, 2.2rem)/1.12 var(--display); color: var(--text); text-wrap: balance; }
.sec-sub { max-width: 40rem; color: var(--muted); font-size: 1.0625rem; }
.body-text { color: var(--muted); max-width: 40rem; }
.sec-head { display: grid; gap: 1.1rem; max-width: 46rem; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: 0 1.45rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 .8rem/1 var(--sans); text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
.pill svg { width: 1rem; height: 1rem; flex: none; }
.pill-gold { background: var(--gold); color: var(--ink); }
.pill-gold:hover { background: var(--gold-soft); }
.pill-line { border-color: rgba(227, 206, 151, .5); color: var(--gold-soft); }
.pill-line:hover { border-color: var(--gold); color: var(--text); }
.pill-ink { background: var(--maroon); color: var(--bone); }
.pill-ink:hover { background: var(--wine); }
.round { width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: none; border: 1px solid rgba(227, 206, 151, .4); color: var(--gold-soft); transition: background-color .25s, color .25s; }
.round:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- Paper ---------- */
.paper {
  background-color: var(--bone); color: var(--bone-ink);
  background-image: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, .5), transparent 60%), var(--noise);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 28px 56px -30px rgba(0, 0, 0, .85);
}

/* ---------- Bar and menu ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background-color .35s, border-color .35s, box-shadow .35s; border-bottom: 1px solid transparent; }
.bar.is-solid, body.index-open .bar { background: var(--ink); border-bottom-color: var(--line); }
.bar-in { height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.bar-brand svg { width: 7rem; height: 2.5rem; color: var(--gold); }
.bar-nav { display: none; gap: 2.1rem; }
.bar-nav a { position: relative; font: 500 .94rem/1 var(--sans); text-decoration: none; color: var(--muted); padding: .55rem 0; transition: color .25s; }
.bar-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.bar-nav a[aria-current="true"] { color: var(--text); }
.bar-nav a[aria-current="true"]::after, .bar-nav a:hover::after { transform: scaleX(1); }
.bar-nav a:hover { color: var(--gold-soft); }
.bar-act { display: flex; align-items: center; gap: 1rem; }
.bar-enq { min-height: 2.6rem; padding: 0 1.1rem; font-size: .875rem; }
.bar-menu { display: inline-flex; align-items: center; gap: .6rem; background: none; border: 0; cursor: pointer; font: 600 .875rem/1 var(--sans); color: var(--gold-soft); padding: .6rem 0; }
.bar-menu-lines { width: 1.4rem; height: 1px; background: currentColor; position: relative; }
.bar-menu-lines::before, .bar-menu-lines::after { content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; }
.bar-menu-lines::before { top: -5px; } .bar-menu-lines::after { top: 5px; }
.bar-menu[aria-expanded="true"] .bar-menu-lines { background: transparent; }
.bar-menu[aria-expanded="true"] .bar-menu-lines::before { transform: translateY(5px) rotate(45deg); }
.bar-menu[aria-expanded="true"] .bar-menu-lines::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 559px) { .bar-enq { display: none; } }
@media (min-width: 1100px) { .bar-nav { display: flex; } .bar-menu { display: none; } }

.index { position: fixed; inset: 0; z-index: 45; overflow-y: auto; overscroll-behavior: contain; background: var(--ink); padding-top: calc(var(--bar-h) + 1.5rem + env(safe-area-inset-top, 0px)); padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px)); }
.index-in { display: grid; gap: 1.6rem; }
.index-list { border-top: 1px solid var(--line); }
.index-list li { border-bottom: 1px solid var(--line); }
.index-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; text-decoration: none; }
.index-list span { font: 500 clamp(1.6rem, 5vw, 2.6rem)/1.1 var(--display); color: var(--text); }
.index-list small { font: 600 .7rem/1.3 var(--sans); color: var(--gold); text-align: right; }
.index-foot { display: flex; flex-wrap: wrap; gap: .6rem 2rem; font-weight: 600; color: var(--gold-soft); }
.index-foot a { text-decoration: none; }
body.index-open { overflow: hidden; }

/* ---------- Hero: the chart ---------- */
.hero { position: relative; padding-top: calc(var(--bar-h) + clamp(1.5rem, 4vw, 3rem)); background: radial-gradient(60% 70% at 85% 30%, rgba(86, 10, 14, .55), transparent 70%), var(--ink); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; justify-items: start; min-width: 0; }
/* The Heratona logo, large and faint behind the whole first screen */
.hero { overflow: hidden; isolation: isolate; }
.hero-depth { position: absolute; inset: 0; z-index: -1; display: grid; place-items: start center; padding-top: calc(var(--bar-h) + 1.5rem); pointer-events: none; }
/* sized so the whole logo, HERATONA lettering included, always fits inside the first screen */
.hero-horse { width: min(88vw, 30rem); height: auto; opacity: .15; }
@media (min-width: 1000px) {
  .hero-depth { place-items: start start; padding: calc(var(--bar-h) + 2rem) 0 0 max(var(--gut), calc((100vw - var(--max)) / 2 - 2rem)); }
  .hero-horse { width: min(44vw, calc((100svh - var(--bar-h) - 6rem) * 1.132), 46rem); }
}
.hero-grid { position: relative; }
.hero-title { font: 500 clamp(3.4rem, 7vw, 6.2rem)/.94 var(--display); letter-spacing: -.015em; color: var(--text); text-wrap: balance; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .ln > span { display: inline-block; }
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span { display: inline-block; }
.wmask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wmask > span { display: inline-block; transform-origin: 0 100%; }

/* Reading progress along the bottom of the bar */
.bar-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; pointer-events: none; }
html:not(.has-lenis) .bar-progress { display: none; }

/* Small hover touches */
.specs tbody tr { transition: background-color .25s; }
.specs tbody tr:hover { background: rgba(86, 10, 14, .06); }
.pill svg { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.pill:hover svg { transform: translateX(4px); }
.cargo-list { perspective: 1000px; }
.ctag { transform-style: preserve-3d; will-change: transform; }
.catalogue .spice { transition: background-color .3s; }
.catalogue .spice:hover { background: rgba(86, 10, 14, .04); }
.hero-lede { max-width: 31rem; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.15rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .3rem; }

.chart { position: relative; padding: clamp(1rem, 2.2vw, 1.8rem); border: 1px solid var(--line); background: rgba(33, 8, 9, .65); min-width: 0; }
.chart-ft { position: relative; margin-top: .6rem; font: italic 500 1.05rem/1.4 var(--display); color: var(--muted); }
.chart .rose { position: absolute; right: clamp(1rem, 3vw, 2.4rem); bottom: clamp(2.6rem, 5vw, 4rem); width: clamp(3rem, 5vw, 4.4rem); color: var(--gold); pointer-events: none; }
.chart .rose text { font: 600 12px var(--display); }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 4vw, 4rem); } }

/* Maps */
.map { margin: 0; min-width: 0; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map-land { fill: rgba(227, 206, 151, .07); stroke: var(--gold-soft); stroke-width: .8; stroke-linejoin: round; }
.grat { stroke: rgba(227, 206, 151, .08); stroke-width: .6; fill: none; }
.map-route { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 4 3; stroke-linecap: round; }
.mlk-lead { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 2 3; }
.map text { fill: var(--gold-soft); font: 600 11px var(--sans); letter-spacing: .06em; paint-order: stroke; stroke: var(--ink); stroke-width: 3.5px; stroke-linejoin: round; }
.map .map-sea, .map .mlk-sea { fill: rgba(227, 206, 151, .5); stroke: none; font: italic 500 12px var(--display); letter-spacing: .3em; }
.map-origin circle { fill: var(--ink); stroke: var(--gold); stroke-width: 1.4; }
.map-hq circle { fill: var(--gold); }
.map-hq text { fill: var(--text); }
.map .map-sub { fill: var(--gold); font-size: 9px; }
.map-pulse { display: none; }
.map figcaption { margin-top: .7rem; font: italic 500 1rem/1.4 var(--display); color: var(--muted); text-align: center; }
.tag rect { fill: #EEE5D4; stroke: #C9A227; stroke-width: .8; }
.tag text { fill: #2A0B0C; stroke: none; font: 600 13.5px var(--display); letter-spacing: .01em; }
.tag .lead { stroke: var(--gold); stroke-width: .8; fill: none; }
.tag:hover rect, .tag:focus-visible rect { fill: #F6EEDF; stroke: #E3CE97; stroke-width: 1.4; }
.tag:focus-visible { outline: none; }
@media (max-width: 639px) { .chart-map text { font-size: 15px; } .chart-map .map-sub { font-size: 12px; } .tag text { font-size: 15px; } }

/* Legend under the chart */
.legend { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.4rem clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); display: grid; gap: 1rem 2.5rem; }
.legend li { display: grid; gap: .15rem; }
.legend b { font: 500 clamp(1.45rem, 2.2vw, 1.85rem)/1.1 var(--display); color: var(--text); }
.legend span { font-size: .92rem; color: var(--muted); }
@media (min-width: 900px) { .legend { grid-template-columns: 1.2fr 1.2fr 1fr; } }

/* ---------- The cargo: five equal tags ---------- */
.cargo { padding-block: var(--sec); background: var(--lacquer); border-top: 1px solid var(--line); }
.cargo-list { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 1rem; }
.ctag { position: relative; display: grid; grid-template-columns: 40% minmax(0, 1fr); text-decoration: none; color: var(--bone-ink); background-color: var(--bone); background-image: var(--noise); box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .9); }
.ctag-hole { position: absolute; z-index: 3; top: .9rem; right: .9rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--lacquer); box-shadow: inset 0 0 0 2px var(--gold); }
.ctag-photo { display: block; overflow: hidden; background: var(--ink); aspect-ratio: 1 / 1; }
.ctag-photo img { width: 100%; height: 100%; object-fit: cover; }
.ctag-body { display: grid; align-content: center; gap: .25rem; padding: 1rem 1.2rem; }
.ctag-from { font: 600 .875rem/1.4 var(--sans); color: var(--maroon); }
.ctag-name { font: 600 1.7rem/1.05 var(--display); color: var(--bone-ink); }
.ctag-note { font-size: .88rem; color: var(--paper-muted); }
.ctag:hover .ctag-name { color: var(--maroon); }
@media (min-width: 900px) {
  .cargo-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
  .ctag { grid-template-columns: minmax(0, 1fr); align-content: start; padding: .55rem .55rem 0; }
  .ctag-photo { aspect-ratio: 3 / 4; }
  .ctag-body { padding: 1rem .6rem 1.3rem; }
  .ctag-hole { top: 1.3rem; right: 1.3rem; }
}

/* ---------- About ---------- */
.about { padding-block: var(--sec); background: var(--ink); }
.about-grid { display: grid; gap: 2rem; }
.about-lead { display: grid; gap: 1rem; align-content: start; }
.statement { font: 500 clamp(1.45rem, 2.4vw, 2.1rem)/1.32 var(--display); color: var(--text); }
.vm-grid { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); display: grid; gap: 2.5rem; }
.vm { display: grid; gap: 1rem; align-content: start; }
.vm-h { font: 600 1rem/1.3 var(--sans); color: var(--gold); }
.vm-vision { font: 500 1.45rem/1.35 var(--display); color: var(--text); }
.mission { display: grid; gap: 1.1rem; }
.mission li { display: grid; gap: .15rem; padding-left: 1rem; border-left: 1px solid var(--gold); }
.m-key { font: 600 1.25rem/1.25 var(--display); color: var(--gold-soft); }
.mission p { color: var(--muted); font-size: .95rem; }
.quote { position: relative; padding: 2.4rem 2rem 2rem; display: grid; gap: 1.2rem; align-content: end; }
.quote::before { content: "\201C"; font: 500 5rem/.6 var(--display); color: var(--gold); }
.quote p { font: italic 500 clamp(1.4rem, 2vw, 1.7rem)/1.3 var(--display); color: var(--maroon); }
.quote figcaption { font: 600 .875rem/1.4 var(--sans); color: var(--paper-muted); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 4rem; align-items: start; }
  .vm-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 3rem; }
}

/* ---------- Sheets: one per origin ---------- */
.sheet { padding-block: var(--sec); position: relative; }
.sheet .wrap { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.sheet-cloves { background: var(--lacquer); border-top: 1px solid var(--line); }
.sheet-vanilla { background: linear-gradient(180deg, #2E0507, var(--wine)); }
.sheet-maluku { background: var(--ink); border-top: 1px solid var(--line); }
.sheet-patchouli, .sheet-coffee { background: var(--lacquer); border-top: 1px solid var(--line); }
.sheet-head { display: grid; gap: 1rem; padding-bottom: clamp(1.6rem, 3vw, 2.2rem); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .sheet-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 3rem; align-items: end; }
  .sheet-head .lbl { grid-column: 1 / -1; }
  .sheet-head .sec-sub { padding-bottom: .4rem; }
}
.split { display: grid; gap: 2rem; align-items: center; }
.split-side { display: grid; gap: 1.3rem; min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 4vw, 4rem); }
  .split-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split-rev .inset { order: 2; }
}
.inset { position: relative; padding: 1.2rem 1.2rem 1rem; border: 1px solid var(--line); background: rgba(22, 5, 6, .55); min-width: 0; }
.inset .map svg { max-height: 30rem; margin-inline: auto; }

/* Paper slips */
.slips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.slip { position: relative; padding: 1.3rem 1.2rem 1.4rem; min-width: 0; }
.origins-rule { display: none; }
.origin-body { display: grid; gap: .3rem; min-width: 0; }
.origin-name { font: 600 clamp(1.5rem, 2.6vw, 2rem)/1 var(--display); color: var(--maroon); }
.origin-region { font-size: .88rem; color: var(--paper-muted); }
.origin-coord { font: 600 .875rem/1.3 var(--sans); letter-spacing: .1em; color: var(--paper-muted); }
.origin-grade { justify-self: start; margin-top: .4rem; padding: .3rem .6rem; border: 1px solid rgba(86, 10, 14, .3); border-radius: 999px; font: 600 .875rem/1 var(--sans); color: var(--maroon); }
.origin-oil { margin-top: .7rem; display: grid; gap: .2rem; container-type: inline-size; min-width: 0; }
.oil-num { font: 500 clamp(2rem, 22cqi, 3.3rem)/1 var(--display); color: var(--bone-ink); white-space: nowrap; }
.oil-label { font: 600 .875rem/1.4 var(--sans); color: var(--paper-muted); }

/* Ledger: the lab table with the botanical drawing */
.ledger-card { position: relative; padding: clamp(1.3rem, 3vw, 2.3rem); display: grid; gap: 1.5rem; min-width: 0; }
.ledger-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(86, 10, 14, .14); pointer-events: none; }
.ledger { overflow-x: auto; min-width: 0; }
.specs { width: 100%; border-collapse: collapse; }
.specs caption { text-align: left; padding-bottom: .9rem; font: 600 .7rem/1.5 var(--sans); color: var(--maroon); }
.specs th, .specs td { padding: .68rem .4rem; border-bottom: 1px solid var(--line-paper); text-align: right; font-weight: 400; vertical-align: baseline; }
.specs thead th { font: 600 .875rem/1.2 var(--sans); color: var(--paper-muted); border-bottom: 2px solid var(--maroon); }
.specs th[scope="row"], .specs thead th:first-child { text-align: left; color: var(--bone-ink); font-size: .95rem; }
.specs th small { color: var(--paper-muted); font-size: .8em; }
.specs td small { font: 400 .72rem/1 var(--sans); color: var(--paper-muted); margin-left: .15em; }
.specs td { font: 600 1.15rem/1.3 var(--display); color: var(--maroon); white-space: nowrap; }
.specs td.txt { font: 400 .92rem/1.4 var(--sans); white-space: normal; }
@media (max-width: 599px) { .specs td { white-space: normal; } .specs td.nw { white-space: nowrap; } .specs td small { display: block; margin: .2rem 0 0; } .specs th, .specs td { padding-inline: .3rem; } }
.specimen { display: grid; justify-items: center; gap: .8rem; color: var(--maroon); }
.specimen-art { width: min(100%, 12rem); height: auto; opacity: .85; }
.specimen figcaption { font: italic 500 .95rem/1.4 var(--display); color: var(--paper-muted); text-align: center; max-width: 17rem; }
@media (min-width: 760px) { .ledger-card { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); align-items: center; column-gap: 2.5rem; } }

.notes { display: grid; gap: .5rem; max-width: 48rem; }
.cert { display: flex; gap: .8rem; align-items: flex-start; color: var(--text); font-size: .95rem; }
.cert-icon { width: 1.3rem; height: 1.3rem; flex: none; color: var(--gold); margin-top: .15rem; }
.cert-note { color: var(--muted); font-size: .92rem; }
.sheet-note { color: var(--muted); max-width: 46rem; padding-left: 1rem; border-left: 1px solid var(--gold); font-size: .95rem; }
.sheet-foot .line-foot, .sheet-foot .vanilla-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; color: var(--muted); }

/* Story text and figures (beside each inset map) */
.story { display: grid; gap: 1.4rem; min-width: 0; }
.mlk-text { display: grid; gap: .9rem; color: var(--muted); }
.mlk-title { font: 600 clamp(1.5rem, 2.6vw, 2.1rem)/1.18 var(--display); color: var(--text); text-wrap: balance; }
.mlk-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.mlk-stats > div { padding: .9rem .8rem .9rem 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .25rem; border-bottom: 1px solid var(--line); min-width: 0; }
.mlk-stats > div:nth-child(2n) { padding-left: 1rem; border-left: 1px solid var(--line); }
.mlk-stats dd { font: 500 clamp(1.7rem, 3vw, 2.3rem)/1 var(--display); color: var(--gold-soft); white-space: nowrap; }
.mlk-stats dt { font: 600 .875rem/1.4 var(--sans); color: var(--muted); }
.mlk-stats-note { font: italic 500 .95rem/1.4 var(--display); color: var(--muted); }
.sheet-cloves .story { padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--line); background: rgba(22, 5, 6, .45); }
@media (min-width: 900px) {
  .sheet-cloves .story { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 3rem; align-items: center; }
  .sheet-cloves .story > .mlk-stats, .sheet-cloves .story > .mlk-stats-note { grid-column: 2; }
  .sheet-cloves .story > .mlk-text { grid-row: 1 / span 2; }
}

/* Manifest: the catalogue on paper */
.more { display: grid; gap: 1.4rem; }
.more-head { display: grid; gap: .6rem; }
.manifest { position: relative; padding: clamp(.6rem, 2vw, 1.4rem) clamp(1rem, 3vw, 2rem); }
.manifest::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(86, 10, 14, .14); pointer-events: none; }
.catalogue { position: relative; z-index: 1; display: grid; }
.catalogue .spice { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-paper); }
.catalogue .spice:last-child { border-bottom: 0; }
.spice-icon { width: 2.2rem; height: 2.2rem; color: var(--maroon); margin-top: .15rem; }
.spice-body { min-width: 0; }
.spice-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; }
.spice-row h3 { font: 600 1.45rem/1.2 var(--display); color: var(--bone-ink); }
.leader { flex: 1; min-width: 2rem; border-bottom: 1px dotted rgba(86, 10, 14, .35); transform: translateY(-.3rem); }
.grade-tag { font: 600 .875rem/1.3 var(--sans); color: var(--maroon); }
.origin-tag { color: var(--paper-muted); }
.origin-tag::after { content: ","; }
.spice-body > p { margin-top: .3rem; font-size: .92rem; color: var(--paper-muted); }
.mlk-bot { color: var(--paper-muted); opacity: .85; white-space: nowrap; }
.mlk-bot { font-family: var(--display); font-style: italic; font-size: 1rem; }
.mlk-more { margin-top: .6rem; }
.mlk-more summary { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; list-style: none; font: 600 .875rem/1 var(--sans); color: var(--maroon); padding: .5rem .8rem; border: 1px solid rgba(86, 10, 14, .25); border-radius: 999px; transition: background-color .25s, color .25s; }
.mlk-more summary::-webkit-details-marker { display: none; }
.mlk-more[open] summary { background: var(--maroon); color: var(--bone); border-color: var(--maroon); }
.mlk-more[open] summary svg { transform: rotate(180deg); }
.mlk-more:not([open]) > :not(summary) { display: none; }
.mlk-specs { margin-top: .9rem; border-top: 1px solid var(--line-paper); max-width: 38rem; }
.mlk-specs > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .8rem; padding: .45rem 0; border-bottom: 1px solid var(--line-paper); font-size: .9rem; line-height: 1.45; }
.mlk-specs dt { font: 600 .875rem/1.7 var(--sans); color: var(--paper-muted); }
.mlk-specs dd { color: var(--bone-ink); }
.mlk-item-foot { margin-top: .8rem; max-width: 38rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mlk-pending { display: inline-flex; align-items: center; gap: .45rem; font: 600 .875rem/1.2 var(--sans); color: var(--paper-muted); }
.mlk-pending::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; border: 1px solid var(--maroon); }
.mlk-enq { display: inline-flex; align-items: center; gap: .4rem; font: 600 .875rem/1 var(--sans); color: var(--maroon); padding: .55rem .95rem; border: 1px solid rgba(86, 10, 14, .3); border-radius: 999px; text-decoration: none; transition: background-color .25s, color .25s; }
.mlk-enq:hover { background: var(--maroon); color: var(--bone); }
.cat-extra { position: relative; z-index: 1; padding: 1rem 0 .4rem; border-top: 1px solid var(--line-paper); font-size: .92rem; color: var(--paper-muted); }
.cat-extra span { font: 600 .875rem/1 var(--sans); color: var(--maroon); margin-right: .6rem; }

/* Vanilla: a pair of photographs beside the grade slips */
.vanilla-grid { display: grid; gap: 2rem; align-items: center; }
.pair { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: .8rem; align-items: end; }
.pair figure { margin: 0; display: grid; gap: .6rem; }
.pair .photo-frame { display: block; overflow: hidden; background: var(--ink); outline: 1px solid var(--line); outline-offset: 5px; }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair-a .photo-frame { aspect-ratio: 3 / 4; }
.pair-b .photo-frame { aspect-ratio: 4 / 3; }
.pair figcaption { font: italic 500 .95rem/1.35 var(--display); color: var(--muted); }
.vanilla-side { display: grid; gap: 1.4rem; min-width: 0; }
@media (min-width: 900px) { .vanilla-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(2rem, 4vw, 3.5rem); } }

/* Maluku: two photographs */
.duo { display: grid; gap: .8rem; }
.duo figure { margin: 0; display: grid; gap: .6rem; min-width: 0; }
.duo .photo-frame { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--lacquer); outline: 1px solid var(--line); outline-offset: 5px; }
.duo img { width: 100%; height: 100%; object-fit: cover; }
.duo figcaption { font: italic 500 .95rem/1.35 var(--display); color: var(--muted); }
@media (min-width: 760px) { .duo { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1.2rem; } .duo .photo-frame { aspect-ratio: auto; height: clamp(18rem, 30vw, 26rem); } }
@media (max-width: 759px) { .duo-pat figure:first-child .photo-frame { aspect-ratio: 16 / 9; } }

/* ---------- Gallery (draft) ---------- */
.gallery { padding-block: var(--sec); background: var(--ink); border-top: 1px solid var(--line); }
.gal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.2rem; }
.gal-head > div:first-child { display: grid; gap: 1rem; }
.gal-nav { display: flex; align-items: center; gap: .8rem; }
.gal-count { font: 600 .875rem/1 var(--sans); color: var(--muted); }
.albums { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0 2rem; border-bottom: 1px solid var(--line); }
.album { text-align: left; cursor: pointer; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: .8rem 0; display: grid; gap: .1rem; }
.album-name { font: 600 1.3rem/1.2 var(--display); color: var(--muted); }
.album-meta { font: 600 .875rem/1.3 var(--sans); color: var(--muted); opacity: .8; }
.album[aria-selected="true"] { border-bottom-color: var(--gold); }
.album[aria-selected="true"] .album-name { color: var(--gold-soft); }
.gal-stage { margin-top: 1.6rem; min-width: 0; }
.gal-slide { display: grid; gap: 1rem; }
.gal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.gal-item { position: relative; margin: 0; aspect-ratio: 4 / 5; min-width: 0; }
.gal-item.gal-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.gal-item > .photo-frame { position: absolute; inset: 0; overflow: hidden; background: var(--lacquer); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-grid-8 .gal-item { aspect-ratio: 1 / 1; }
.gal-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .7rem; background: repeating-linear-gradient(45deg, rgba(227, 206, 151, .05) 0 1px, transparent 1px 9px), var(--lacquer); border: 1px dashed rgba(201, 162, 39, .4); color: var(--gold); }
.gal-empty svg { width: 2.6rem; height: 2.6rem; }
.gal-empty span { font: 600 .875rem/1 var(--sans); color: var(--muted); }
.gal-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; }
.gal-title { font: 600 1.5rem/1.2 var(--display); color: var(--text); }
.gal-place { font: 600 .875rem/1.3 var(--sans); color: var(--gold); }
.photo-tag { position: absolute; top: .7rem; left: .7rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .75rem .42rem .55rem; border-radius: 999px; white-space: nowrap; pointer-events: none; background: rgba(22, 5, 6, .85); color: var(--gold-soft); border: 1px solid rgba(227, 206, 151, .45); font: 600 .875rem/1 var(--sans); }
.photo-tag svg { width: .85rem; height: .85rem; color: var(--gold); flex: none; }
@media (max-width: 599px) { .photo-tag-place { display: none; } }
@media (min-width: 900px) {
  .gal-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(28rem, 42vw, 38rem); gap: .9rem; }
  .gal-item, .gal-item.gal-main { aspect-ratio: auto; }
  .gal-item.gal-main { grid-column: 1; grid-row: 1 / span 2; }
  .gal-grid-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gal-grid-8 .gal-item { aspect-ratio: auto; }
}

/* ---------- Origin to port: the route ---------- */
.route-sec { padding-block: var(--sec); background: var(--lacquer); border-top: 1px solid var(--line); }
.route-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.6rem 2rem; }
.flow-tabs { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.flow-tabs button { appearance: none; border: 0; background: none; cursor: pointer; font: 600 .875rem/1 var(--sans); color: var(--gold-soft); padding: .75rem 1.3rem; border-radius: 999px; transition: background-color .25s, color .25s; }
.flow-tabs button[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.flow-cap { margin-top: 2.4rem; }
/* the steps sit on one dashed route line, each stop a waypoint */
.process { position: relative; margin-top: 1.6rem; display: grid; gap: 0; }
.process::before { content: ""; position: absolute; left: 1.3rem; top: .5rem; bottom: .5rem; border-left: 1px dashed var(--gold); transform: scaleY(var(--route, 1)); transform-origin: top; }
.process li { position: relative; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 1.2rem; padding: 0 0 2rem; }
.process li > * { grid-column: 2; }
.process .stop { grid-column: 1; grid-row: 1 / span 3; position: relative; z-index: 1; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--gold); background: var(--lacquer); display: grid; place-items: center; color: var(--gold); }
.process .stop svg { width: 1.2rem; height: 1.2rem; }
.stop-place { font: 600 .875rem/1.4 var(--sans); color: var(--gold); padding-top: .25rem; }
.process h4 { font: 600 1.55rem/1.2 var(--display); color: var(--text); margin-top: .2rem; }
.process p:not(.stop-place) { font-size: .95rem; color: var(--muted); margin-top: .3rem; max-width: 30rem; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.6rem; }
  .process::before { left: 0; right: 0; top: 1.3rem; bottom: auto; border-left: 0; border-top: 1px dashed var(--gold); transform: scaleX(var(--route, 1)); transform-origin: left; }
  .process li { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .process li > *, .process .stop { grid-column: 1; grid-row: auto; }
  .process .stop { margin-bottom: 1.2rem; }
}
.wh { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; gap: 1rem; }
.wh figure { position: relative; margin: 0; display: grid; gap: .6rem; min-width: 0; }
.wh .photo-frame { overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; outline: 1px solid var(--line); outline-offset: 5px; }
.wh img { width: 100%; height: 100%; object-fit: cover; }
.wh figcaption { font: italic 500 .95rem/1.35 var(--display); color: var(--muted); }
@media (min-width: 760px) { .wh { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1.2rem; } .wh .photo-frame { aspect-ratio: auto; height: clamp(18rem, 30vw, 26rem); } }

/* ---------- Trade terms ---------- */
.trade { padding-block: var(--sec); background: var(--ink); border-top: 1px solid var(--line); }
.scope { font-size: .95rem; color: var(--gold-soft); padding-left: 1rem; border-left: 1px solid var(--gold); }
.incoterms { margin-top: clamp(3rem, 6vw, 4rem); display: grid; gap: 1.4rem; }
.term { position: relative; display: grid; gap: .8rem; align-content: start; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); background: rgba(33, 8, 9, .6); min-width: 0; }
.term-code { font: 500 clamp(4.5rem, 10vw, 7.5rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 1px var(--gold); letter-spacing: -.01em; }
.term-name { font: 600 .875rem/1.4 var(--sans); color: var(--gold); }
.term > p:not([class]) { color: var(--muted); font-size: .98rem; max-width: 34rem; }
.term-min { padding-top: .9rem; border-top: 1px solid var(--line); display: grid; gap: .2rem; font: 600 1.4rem/1.3 var(--display); color: var(--text); }
.term-min span { font: 600 .875rem/1.3 var(--sans); color: var(--muted); }
@media (min-width: 860px) { .incoterms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.glance { position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.2rem; }
.glance::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(86, 10, 14, .16); pointer-events: none; }
.glance-hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; border-bottom: 2px solid var(--maroon); padding-bottom: .9rem; }
.glance .sub-title { color: var(--maroon); }
.glance .sub-title em { color: var(--gold); }
.terms-list { position: relative; z-index: 1; display: grid; }
.terms-list > div { display: grid; gap: .3rem; padding: .95rem 0; border-bottom: 1px solid var(--line-paper); }
.terms-list > div:last-child { border-bottom: 0; }
.terms-list dt { font: 600 .875rem/1.5 var(--sans); color: var(--paper-muted); }
.terms-list dd { font: 600 1.2rem/1.45 var(--display); color: var(--bone-ink); }
@media (min-width: 760px) { .terms-list > div { grid-template-columns: 13rem minmax(0, 1fr); column-gap: 2rem; } }

/* ---------- People ---------- */
.people { padding-block: var(--sec); position: relative; background-color: var(--maroon); background-image: radial-gradient(100% 80% at 15% 0%, rgba(255, 220, 170, .08), transparent 60%), repeating-linear-gradient(45deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 7px); }
.people .sec-sub { color: rgba(241, 233, 220, .85); }
.people .lbl { color: var(--gold-soft); }
.hands { position: relative; counter-reset: hand; margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; gap: 1rem; }
.hand { counter-increment: hand; position: relative; display: grid; gap: .5rem; align-content: start; padding: 1.5rem 1.4rem 1.6rem; border: 1px solid rgba(227, 206, 151, .25); background: rgba(22, 5, 6, .25); min-width: 0; }
.hand-icon { width: 2.8rem; height: 2.8rem; color: var(--gold); margin-bottom: .4rem; }
.hand-role { font: 600 .875rem/1.3 var(--sans); color: var(--gold); }
.hand h3 { font: 600 1.6rem/1.15 var(--display); color: var(--text); }
.hand p:last-child { font-size: .93rem; color: rgba(241, 233, 220, .8); }
.pledge { margin-top: clamp(3.5rem, 7vw, 5rem); display: grid; gap: 1.4rem; }
.pledge .sub-title em { color: var(--gold-soft); }
.pledge-list { display: grid; gap: .9rem; }
.pledge-list > div { position: relative; background-color: var(--bone); background-image: var(--noise); color: var(--bone-ink); padding: 1.3rem 1.4rem; display: grid; gap: .4rem; box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .8); }
.pledge-list dt { font: 600 1.35rem/1.2 var(--display); color: var(--maroon); }
.pledge-list dd { font-size: .95rem; color: var(--paper-muted); }
@media (min-width: 700px) { .hands { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pledge-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .hands { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
  .hands::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 2.9rem; border-top: 1px dashed rgba(227, 206, 151, .5); transform: scaleX(var(--line, 1)); transform-origin: left; }
  .pledge { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 3rem; align-items: start; }
}

/* ---------- Contact ---------- */
.contact { padding-block: var(--sec); background: linear-gradient(180deg, var(--wine), var(--ink)); }
.contact-grid { display: grid; gap: 3rem; }
.contact-copy { display: grid; gap: 1.3rem; align-content: start; min-width: 0; }
.contact-list { display: grid; gap: 1.1rem; margin-top: .4rem; }
.contact-list dt { font: 600 .875rem/1.3 var(--sans); color: var(--gold); }
.contact-list dd { font: 500 clamp(1.4rem, 2.4vw, 1.75rem)/1.3 var(--display); color: var(--text); overflow-wrap: anywhere; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .15rem; }
.contact-list a.ul { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; padding-bottom: .1rem; }
.wa { display: inline-flex; align-items: center; gap: .45rem; font: 600 .875rem/1 var(--sans); color: var(--gold-soft); text-decoration: none; padding: .55rem .85rem; border: 1px solid rgba(227, 206, 151, .4); border-radius: 999px; }
.wa svg { width: 1rem; height: 1rem; }
.wa:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.caution { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(201, 162, 39, .5); background: rgba(22, 5, 6, .4); max-width: 34rem; }
.caution svg { width: 1.3rem; height: 1.3rem; color: var(--gold); }
.caution strong { display: block; font: 600 .875rem/1.4 var(--sans); color: var(--gold); }
.caution p { font-size: .95rem; color: var(--text); margin-top: .2rem; }
.form-card { position: relative; padding: clamp(1.4rem, 3.5vw, 2.6rem); min-width: 0; }
.form-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(86, 10, 14, .14); pointer-events: none; }
.form { position: relative; z-index: 1; display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
.form-title { font: 600 clamp(1.8rem, 3.2vw, 2.4rem)/1.1 var(--display); color: var(--maroon); margin-bottom: .3rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font: 600 .875rem/1.3 var(--sans); color: var(--paper-muted); }
.field .opt { text-transform: none; letter-spacing: 0; opacity: .8; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--bone-ink); background: transparent; border: 0; border-bottom: 1px solid rgba(86, 10, 14, .35); border-radius: 0; padding: .55rem 0; color-scheme: light; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.2 6 8l4-3.8' fill='none' stroke='%23560A0E' stroke-width='1.3'/%3E%3C/svg%3E") right .2rem center / .8rem no-repeat; background-color: transparent; padding-right: 1.6rem; cursor: pointer; }
.field select option { background: var(--bone); color: var(--bone-ink); }
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--maroon); padding-bottom: calc(.55rem - 1px); }
.field input::placeholder { color: rgba(107, 74, 66, .65); }
[aria-invalid="true"] { border-bottom-color: #A1261C !important; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form .pill { justify-self: start; margin-top: .5rem; }
.form-status { font-size: .92rem; color: var(--maroon); min-height: 1.4em; }
@media (min-width: 640px) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.6rem; } .form-title, .field-full, .form .pill, .form-status { grid-column: 1 / -1; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 4rem; align-items: start; } }

/* ---------- Footer ---------- */
.foot { padding-block: clamp(3.5rem, 7vw, 5rem) calc(2.5rem + env(safe-area-inset-bottom, 0px)); background: var(--ink); border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 2rem; }
.foot-mark { display: flex; align-items: center; gap: 1.4rem; }
.foot-logo { width: 8.5rem; height: 3rem; color: var(--gold); flex: none; }
.foot-tag { font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--display); color: var(--text); }
.foot-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; }
.foot-nav a { font: 600 .7rem/1 var(--sans); color: var(--muted); text-decoration: none; transition: color .25s; }
.foot-nav a:hover { color: var(--gold-soft); }
.foot-legal { font-size: .85rem; color: var(--muted); padding-top: 1.4rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .foot-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .foot-legal { grid-column: 1 / -1; } }

/* ---------- Photo protection ---------- */
.photo-frame { position: relative; }
.photo-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.photo-frame img, .hero-horse, .foot-logo { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; pointer-events: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } .ctag:hover { transform: none; } }

/* On a phone the chart tags would be too small to read; the legend below the chart names every product instead */
@media (max-width: 639px) { .chart-map .tag { display: none; } .chart .rose { display: none; } }

@media (max-width: 899px) { .ctag-hole { display: none; } }
.term { overflow: hidden; }


/* =====================================================================
   Colours and textures of the original Heratona site:
   maroon fields with a woven grain, light sections on laid paper,
   white pages for the facts, gold for the accents.
   ===================================================================== */
:root {
  --ink: #280203;            /* maroon ink */
  --lacquer: #3A0406;        /* maroon deep */
  --lacquer-2: #4A070B;
  --wine: #3A0406;
  --gold-soft: #E8D6A0;
  --gold-ink: #8A6A12;
  --paper: #FAF7F2;
  --bone: #FBF6EC;
  --text: #F6EEE6;
  --muted: #DCCBBE;
  --line: rgba(232, 214, 160, .22);
  --line-2: rgba(232, 214, 160, .1);
  --woven:
    radial-gradient(110% 80% at 20% 0%, rgba(255, 220, 170, .07), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .86 0 0 0 0 .66 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-45deg, rgba(255, 230, 190, .035) 0 1px, transparent 1px 7px);
  --laid:
    repeating-linear-gradient(0deg, rgba(86, 10, 14, .018) 0 1px, transparent 1px 5px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .34 0 0 0 0 .04 0 0 0 0 .05 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --shade: inset 0 40px 60px -40px rgba(0, 0, 0, .45), inset 0 -40px 60px -40px rgba(0, 0, 0, .45);
}
body { background: var(--ink); }

/* Maroon fields */
.hero { background-color: #430609; background-image: var(--woven), radial-gradient(120% 90% at 70% 40%, #5C0A0E 0%, #450609 45%, #240203 100%); }
.about, .sheet-maluku, .people { background-color: var(--maroon); background-image: var(--woven); box-shadow: var(--shade); border-top: 0; }
.contact { background-color: var(--lacquer); background-image: var(--woven); box-shadow: var(--shade); }
.foot { background: var(--ink); color: var(--gold-soft); border-top: 1px solid rgba(201, 162, 39, .35); }
.chart { background: rgba(40, 2, 3, .55); }
.index { background-color: var(--maroon); background-image: var(--woven); }

/* Light sections: laid paper, and white pages for the facts */
.cargo, .sheet-cloves, .sheet-patchouli, .sheet-coffee + .sheet-vanilla, .gallery, .trade { background-color: var(--paper); background-image: var(--laid); border-top: 0; }
.sheet-coffee, .sheet-patchouli + .sheet-vanilla, .route-sec { background: #FFFFFF; border-top: 0; }
.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade {
  --text: #280203; --muted: #6A4643; --line: rgba(86, 10, 14, .14); --line-2: rgba(86, 10, 14, .07);
  --gold: #8A6A12; --gold-soft: #8A6A12; --lacquer: #F3ECE1; --lacquer-2: #EDE3D4;
  color: var(--text); color-scheme: light;
}
:is(.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade) .pill-gold,
:is(.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade) .flow-tabs button[aria-selected="true"] { background: #C9A227; color: var(--ink); }
:is(.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade) .pill-gold:hover { background: #E8D6A0; }
:is(.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade) .flow-tabs button[aria-selected="true"] { background: var(--maroon); color: var(--paper); }
:is(.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade) .pill-line,
:is(.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade) .round { border-color: rgba(86, 10, 14, .3); color: var(--maroon); }
:is(.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade) .round:hover { background: var(--maroon); color: var(--paper); border-color: var(--maroon); }
/* paper cards on paper become white sheets */
:is(.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade) :is(.paper, .slip, .ctag) { background-color: #FFFFFF; box-shadow: 0 1px 0 rgba(86, 10, 14, .08), 0 22px 44px -28px rgba(40, 2, 3, .45); }
.process .stop { background: #FFFFFF; }

/* Maps, stories and the FOB/EXW bills stay on maroon, like the original asides */
:is(.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade) :is(.inset, .story, .term) {
  --text: #F6EEE6; --muted: #DCCBBE; --line: rgba(232, 214, 160, .22); --line-2: rgba(232, 214, 160, .1);
  --gold: #C9A227; --gold-soft: #E8D6A0; --lacquer: #3A0406; --lacquer-2: #4A070B;
  color: var(--text); color-scheme: dark;
  background-color: var(--maroon); background-image: var(--woven); border-color: transparent;
}
.sheet-cloves .story { background-color: var(--maroon); }
.inset .map text { stroke: #3A0406; }
.inset .map-origin circle { fill: #3A0406; }

/* The bar turns to paper once you leave the first screen, as on the original */
body:not(.index-open) .bar.is-solid { background: rgba(250, 247, 242, .96); border-bottom-color: rgba(86, 10, 14, .14); }
body:not(.index-open) .bar.is-solid .bar-nav a { color: #6A4643; }
body:not(.index-open) .bar.is-solid .bar-nav a[aria-current="true"], body:not(.index-open) .bar.is-solid .bar-nav a:hover { color: #280203; }
body:not(.index-open) .bar.is-solid .bar-nav a::after { background: #8A6A12; }
body:not(.index-open) .bar.is-solid .bar-brand svg { color: #8A6A12; }
body:not(.index-open) .bar.is-solid .pill-line { border-color: rgba(86, 10, 14, .35); color: var(--maroon); }
body:not(.index-open) .bar.is-solid .pill-line:hover { background: var(--maroon); color: var(--paper); }
body:not(.index-open) .bar.is-solid .bar-menu { color: var(--maroon); }
body.index-open .bar { background: var(--maroon); }

/* Story panels on the light sheets get the same inner margin as the cloves panel */
:is(.cargo, .sheet-cloves, .sheet-vanilla, .sheet-patchouli, .sheet-coffee, .gallery, .route-sec, .trade) .story { padding: clamp(1.4rem, 3vw, 2.4rem); }

/* Sample photographs of the Sulawesi cloves and stems */
.sample { margin: 0; display: grid; gap: .6rem; min-width: 0; }
.sample .photo-frame { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #F3F1EE; box-shadow: 0 1px 0 rgba(86, 10, 14, .08), 0 22px 44px -28px rgba(40, 2, 3, .45); }
.sample-wide .photo-frame { aspect-ratio: 4 / 3; }
.sample img { width: 100%; height: 100%; object-fit: cover; }
.sample figcaption { font: italic 500 1rem/1.35 var(--display); color: var(--muted); }
.samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.2rem); }
@media (max-width: 599px) { .samples { grid-template-columns: repeat(2, minmax(0, 1fr)); } .samples .sample:first-child { grid-column: 1 / -1; } .samples .sample:first-child .photo-frame { aspect-ratio: 4 / 3; } }

/* Elements waiting to slide in must never make the page scroll sideways */
main { overflow-x: clip; }

/* ---------- First-visit curtain with the HAL mark ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background-color: #430609; background-image: var(--woven), radial-gradient(110% 85% at 44% 32%, #6A1116 0%, var(--maroon) 42%, #2E0304 100%); }
.loader-inner { display: grid; justify-items: center; gap: 1.4rem; }
.loader-mark { width: clamp(8rem, 26vw, 12rem); height: auto; aspect-ratio: 2056 / 736; color: var(--gold); }
.loader-bar { display: block; width: clamp(8rem, 26vw, 12rem); height: 1px; background: rgba(232, 214, 160, .18); overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
/* until the script takes over, the first screen waits behind the same maroon so it never flashes */
html.intro body::after { content: ""; position: fixed; inset: 0; z-index: 199; background: #430609; }

.form-status-link { color: var(--maroon); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }

/* ASCII specimens: the botanical drawings, typed out like a telex print */
.ascii-label { font: 500 .66rem/1.2 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-muted); text-align: center; }
.ascii { margin: 0; font: 500 clamp(.72rem, 1.05vw, .84rem)/1.18 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0; white-space: pre; color: var(--maroon); max-width: 100%; overflow: hidden; cursor: default; user-select: none; -webkit-user-select: none; }
.ascii .ascii-cur { display: inline-block; width: .6em; height: 1.05em; vertical-align: -.15em; margin-right: -.6em; background: var(--maroon); animation: ascii-blink .8s steps(1) infinite; }
@keyframes ascii-blink { 50% { opacity: 0; } }
.mlk-spec { margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.mlk-spec-text { display: grid; gap: .6rem; max-width: 34rem; }
.spec-h { margin: 0; font: 600 clamp(1.35rem, 2.2vw, 1.7rem)/1.15 var(--display); color: var(--maroon); text-wrap: balance; }
.mlk-spec-text p { margin: 0; color: var(--bone-ink); font-size: .95rem; line-height: 1.6; }

/* ASCII voyage: a ship sails from origin to Makassar as the section scrolls by */
.voyage { margin: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem); display: grid; gap: .7rem; }
.voy-sea { position: relative; overflow: hidden; font: 500 clamp(.56rem, 1.15vw, .86rem)/1.18 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; height: calc(11.4 * 1.18em); border-bottom: 1px solid var(--line); }
.voy-sea pre { margin: 0; font: inherit; white-space: pre; }
.voy-waves { position: absolute; left: 0; bottom: 0; color: var(--gold); animation: voy-tide 1.8s linear infinite; }
.voy-port { position: absolute; right: 0; bottom: calc(2 * 1.18em); color: var(--maroon); }
.voy-ship { position: absolute; bottom: calc(2 * 1.18em - .3em); left: calc(var(--p, 0) * (100% - 32ch - 18ch)); color: var(--maroon); will-change: left; }
.voy-hull { animation: voy-bob 2.6s ease-in-out infinite; transform-origin: 50% 100%; }
.voy-smoke { position: absolute; left: 0; bottom: 100%; color: var(--muted); opacity: .8; }
.voy-labels { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@keyframes voy-tide { to { transform: translateX(-8ch); } }
@keyframes voy-bob { 0%, 100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-2px) rotate(.5deg); } }
@media (prefers-reduced-motion: reduce) { .voy-waves, .voy-hull { animation: none; } .voy-ship { left: calc(100% - 32ch - 18ch); } }

/* The cargo with six or seven tags: lead products large, the Maluku range below */
@media (min-width: 900px) {
  .cargo-list:has(> li:nth-child(6)) { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cargo-list:has(> li:nth-child(6)) > li { grid-column: span 4; }
  .cargo-list:has(> li:nth-child(7)) > li:nth-child(-n+4) { grid-column: span 3; }
  .cargo-list:has(> li:nth-child(6)) > li .ctag-photo { aspect-ratio: 1 / 1; }
  .cargo-list:has(> li:nth-child(6)) > li .ctag-name { font-size: 2rem; }
  .cargo-list:has(> li:nth-child(6)) > li:nth-last-child(-n+3) .ctag { grid-template-columns: 36% minmax(0, 1fr); align-content: stretch; padding: .55rem; }
  .cargo-list:has(> li:nth-child(6)) > li:nth-last-child(-n+3) .ctag-body { padding: .6rem 1rem; }
  .cargo-list:has(> li:nth-child(6)) > li:nth-last-child(-n+3) .ctag-name { font-size: 1.7rem; }
}

/* ---------- Glass: frosted surfaces where something worth blurring sits behind ---------- */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  /* The bar, once the page scrolls: frosted paper over whatever passes beneath */
  body:not(.index-open) .bar.is-solid {
    background: rgba(250, 247, 242, .8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
    border-bottom-color: rgba(255, 255, 255, .55);
    box-shadow: inset 0 -1px 0 rgba(86, 10, 14, .1), 0 10px 30px -18px rgba(40, 2, 3, .45);
  }
  /* The menu: the page stays visible, blurred, behind the list */
  .index {
    background-color: rgba(86, 10, 14, .78); background-image: none;
    -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  }
  body.index-open .bar { background: rgba(86, 10, 14, .5); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
  /* The chart on the opening screen: a pane of smoked glass over the horse */
  .chart {
    background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 40%, rgba(40, 2, 3, .28));
    -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
    border-color: rgba(232, 214, 160, .28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 1px 0 0 rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .7);
  }
  /* Photo tags: glass chips over the photographs */
  .photo-tag {
    background: rgba(22, 5, 6, .34); color: #FFF6DE;
    -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5);
    border-color: rgba(255, 246, 222, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 6px 18px -8px rgba(0, 0, 0, .55);
  }
  .photo-tag svg { color: #FFF6DE; }
}

/* Section titles: letters rise one by one */
.wmask .ch { display: inline-block; transform-origin: 50% 100%; }

/* Un-slop: people as plain columns, no icon boxes */
.hand { padding: 1.2rem 0 0; border: 0; border-top: 1px solid rgba(227, 206, 151, .35); background: none; }
.hand h3 { font-size: 1.45rem; color: var(--gold-soft); }
.hands::before { display: none; }
@media (min-width: 1100px) { .hands { gap: 2rem; } .vm-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.pledge-list > div { align-content: start; }

/* SEO: the H1 carries a plain description of the business above the tagline */
.hero-kicker { display: block; margin-bottom: .9rem; font: 600 clamp(.72rem, 1vw, .82rem)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.process h3.step-h { font: 600 1.55rem/1.2 var(--display); color: var(--text); margin-top: .2rem; }

/* Coffee: two video stills side by side, kept at their own shape */
@media (min-width: 760px) { .duo-cof { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .duo-cof .photo-frame { height: auto; aspect-ratio: 16 / 9; } }
@media (max-width: 759px) { .duo-cof .photo-frame { aspect-ratio: 16 / 9; } }

/* ASCII specimens never wider than their column: the type shrinks to fit the longest line */
.specimen { container-type: inline-size; width: 100%; }
.ascii { font-size: min(clamp(.72rem, 1.05vw, .84rem), calc(100cqi / (var(--cols, 32) * .62))); overflow: visible; }

/* Coffee: the full cupping sheet */
.cup-sheet { margin-top: clamp(1rem, 2vw, 1.4rem); }
@media (min-width: 760px) { .cup-sheet { grid-template-columns: minmax(0, 1fr); } }
.cup-sheet .specs tr.cup-total th, .cup-sheet .specs tr.cup-total td { border-top: 2px solid var(--maroon); font-weight: 600; }
.cup-sheet .specs tr.cup-total th { color: var(--maroon); }
.cup-note { margin-top: .9rem; font-size: .88rem; color: var(--paper-muted); }
@media (max-width: 599px) { .cup-sheet .specs th, .cup-sheet .specs td { font-size: .85rem; padding-inline: .2rem; } .cup-sheet .specs td { font-size: 1rem; } }
@media (max-width: 599px) { .specs.lots th, .specs.lots td.txt { font-size: .8rem; } .specs.lots td { font-size: 1rem; } .specs.lots th, .specs.lots td { padding-inline: .15rem; } .specs.lots thead th { font-size: .78rem; } }
@media (max-width: 599px) { .specs.lots td { font-size: .9rem; } .cup-sheet .specs td { font-size: .9rem; } .cup-sheet .specs th, .cup-sheet .specs td { padding-inline: .12rem; } .cup-sheet .specs th[scope="row"], .cup-sheet .specs thead th { font-size: .78rem; } }
