/* Buitenzorg Lemongrass — site styles. Light, single-theme by design (marketing site). */
:root {
  --bg: #F5F3EE;          /* warm linen ground */
  --surface: #FFFFFF;
  --surface-2: #EDEAE2;   /* rattan-paper panel */
  --ink: #1B1F1A;
  --ink-2: #3B4238;
  --muted: #646B61;
  --rule: #DDD8CC;
  --accent: #4C6A1D;      /* lemongrass, deep */
  --accent-hover: #3E5716;
  --accent-soft: #E7ECD9;
  --honey: #8A5E1E;       /* rattan honey, darkened for 4.5:1 text contrast */
  --honey-bar: #B9853A;   /* the lighter honey, for fills and badges only */
  --field-border: #8F968A; /* 3:1 against white for form controls */
  --deep: #1F2A18;        /* footer / dark panels */
  --on-deep: #EEF0E6;
  --danger: #A3402E;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(27,31,26,.06), 0 8px 24px -12px rgba(27,31,26,.18);
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --measure: 66ch;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.hero :focus-visible, .deep :focus-visible, .site-footer :focus-visible { outline-color: #F5F3EE; box-shadow: 0 0 0 5px var(--deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.012em; margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 600; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0; }
p + p { margin-top: 1em; }
.measure { max-width: var(--measure); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: .92em; font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--honey); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--radius); font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink-2); }
.btn-secondary:hover { background: var(--surface); }
.btn-ghost { background: transparent; color: var(--accent); padding-inline: 6px; }
.btn-sm { padding: 9px 12px; font-size: 14px; min-height: 40px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,243,238,.92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: 17px; line-height: 1.05; white-space: nowrap; min-width: 0; }
.brand > span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand-mark { width: auto; height: 40px; flex: none; }
.footer-logo { display: block; width: 160px; height: auto; margin: -6px 0 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: var(--radius); font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--radius); color: var(--ink-2); font-weight: 500; font-size: 14px; min-height: 40px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: var(--surface); color: var(--ink); }
.lang-menu ul { list-style: none; margin: 4px 0 0; padding: 6px; position: absolute; left: 0; top: 100%; min-width: 180px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow); z-index: 60; }
.lang-menu ul a { display: block; padding: 9px 10px; border-radius: var(--radius); text-decoration: none; color: var(--ink-2); font-size: 14px; }
.lang-menu ul a:hover { background: var(--surface-2); color: var(--ink); }
.lang-menu ul a[aria-current="true"] { font-weight: 600; color: var(--accent); }
@media (max-width: 940px) { .lang-menu ul { position: static; box-shadow: none; border: 0; background: transparent; padding-left: 12px; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quote-pill { position: relative; }
.quote-pill .count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--honey); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding-inline: 5px; }
.quote-pill .count[data-n="0"] { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--field-border); border-radius: var(--radius); padding: 9px; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; }
@media (max-width: 940px) {
  .nav { gap: 12px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 12px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-secondary { display: none; }
}
@media (max-width: 520px) {
  .brand { font-size: 15px; }
  .nav-cta .btn-sm { padding-inline: 10px; }
  .brand small { display: none; }
  .quote-pill .long { display: none; }
  .plan-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); background: var(--surface); border-top: 1px solid var(--rule); box-shadow: 0 -6px 20px -12px rgba(27,31,26,.3); font-size: 14px; }
.plan-bar[hidden] { display: none; }
@media (min-width: 981px) { .plan-bar { display: none; } }
body.has-plan-bar { padding-bottom: 64px; }
.preview-banner { font-size: 12px; padding-block: 5px; }
}
@media (min-width: 521px) { .quote-pill .short { display: none; } }
@media (max-width: 400px) { .brand { font-size: 14px; } }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--on-deep); background: var(--deep); overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,27,16,.86) 0%, rgba(20,27,16,.62) 55%, rgba(20,27,16,.25) 100%); }
.hero-inner { padding-block: clamp(56px, 9vw, 120px); max-width: 720px; }
.hero h1 { color: #fff; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-deep); margin-top: 18px; max-width: 58ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-secondary:hover { background: rgba(255,255,255,.1); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; font-size: 14px; color: var(--on-deep); }
.hero-facts b { display: block; font-family: var(--font-display); font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.section-head p { max-width: 60ch; color: var(--muted); }
.alt { background: var(--surface); border-block: 1px solid var(--rule); }
.deep { background: var(--deep); color: var(--on-deep); }
.deep h2, .deep h3 { color: #fff; }
.deep a { color: #D7E4B5; }

/* Grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Service tiles */
.service { padding: 22px 22px 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 10px; }
.service .icon { width: 36px; height: 36px; color: var(--accent); }
.service h3 { font-size: 18px; }
.service p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.step { counter-increment: step; padding: 22px 20px 26px 0; border-right: 1px solid var(--rule); padding-right: 20px; }
.step:last-child { border-right: 0; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); color: var(--honey); font-size: 13px; letter-spacing: .06em; display: block; margin-bottom: 10px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2) { border-right: 0; } .step { border-bottom: 1px solid var(--rule); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; padding-right: 0; } }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.card .media { aspect-ratio: 4/3; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; position: relative; }
.card .media picture { display: block; width: 100%; height: 100%; }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .media.thumb img { object-fit: contain; padding: 12px; }
.card .media .tag { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--ink-2); padding: 4px 8px; border-radius: 3px; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .sku { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.card h3 { font-size: 17px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card .spec { color: var(--muted); font-size: 14px; }
.card .dims { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card .foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card .price { font-family: var(--font-display); font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; }
.price-note { font-size: 12px; color: var(--muted); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 13px; background: repeating-linear-gradient(45deg, #EEEBE3 0 8px, #E6E2D8 8px 16px); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1px solid var(--field-border); background: var(--surface); padding: 9px 14px; min-height: 40px; border-radius: 999px; font-size: 14px; cursor: pointer; font-family: inherit; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Catalog layout with container panel */
.catalog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
@media (max-width: 980px) { .catalog-layout { grid-template-columns: 1fr; } }
.panel { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 18px; }
@media (max-width: 980px) { .panel { position: static; max-height: none; } }
.panel h3 { font-size: 17px; margin-bottom: 4px; }
.panel .hint { font-size: 13px; color: var(--muted); }
.quote-items { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: min(320px, 34vh); overflow: auto; }
.quote-items li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; font-size: 14px; border-top: 1px solid var(--rule); padding-top: 8px; }
.quote-items .sku { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.quote-items input { width: 60px; min-height: 40px; padding: 4px 6px; border: 1px solid var(--field-border); border-radius: 3px; font: inherit; font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.quote-items button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; width: 40px; height: 40px; border-radius: 4px; }
.quote-items button:hover { background: var(--surface-2); color: var(--ink); }
.fill { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.fill .row { display: grid; grid-template-columns: 52px 1fr 64px; gap: 10px; align-items: center; font-size: 13px; }
.fill .bar { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.fill .bar i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .2s; }
.fill .bar i.full { background: var(--honey-bar); }
.fill .bar i.over { background: var(--danger); }
.fill .pct { font-family: var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; }
.total-cbm { margin-top: 12px; font-size: 14px; display: flex; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 10px; }
.total-cbm b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.panel .btn { width: 100%; justify-content: center; margin-top: 14px; }
.empty { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Product page */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.product .media { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; }
.product .media picture { display: block; width: 100%; height: 100%; }
.product .media img { width: 100%; height: 100%; object-fit: cover; }
.product .media.thumb img { object-fit: contain; padding: 24px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 20px; }
.specs th, .specs td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.specs th { width: 34%; color: var(--muted); font-weight: 500; }
.specs td.mono { font-family: var(--font-mono); font-size: 14px; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.qty-row input { width: 84px; padding: 10px; border: 1px solid var(--field-border); border-radius: var(--radius); font: inherit; font-variant-numeric: tabular-nums; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 8px; border-radius: 3px; }
.note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--honey); padding: 8px 12px; background: var(--surface); margin-top: 18px; }

/* Photo strip / gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; align-items: start; }
.gallery figure { margin: 0; }
.gallery picture { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.gallery .tall picture { aspect-ratio: 3/4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { font-size: 13px; color: var(--muted); padding: 6px 2px 0; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .creds { grid-template-columns: 1fr; } }
.cred { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 14px 16px; }
.cred img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.cred .mark { width: 64px; height: 64px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-radius: 6px; flex: none; }
.cred b { display: block; font-size: 15px; }
.cred span { font-size: 13px; color: var(--muted); }

/* Prose pages */
.prose { max-width: var(--measure); }
.prose h2 { font-size: 26px; margin-top: 40px; margin-bottom: 10px; }
.prose h3 { margin-top: 26px; margin-bottom: 6px; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 14px 0; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 500; }
.tbc { color: var(--honey); font-weight: 600; }
.callout { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; font-size: 15px; }

/* Forms */
.form { display: grid; gap: 14px; max-width: 640px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--field-border); border-radius: var(--radius); background: var(--surface); font: inherit; color: var(--ink); }
[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 2px #F6E3DF; }
.field-error { font-size: 13px; color: var(--danger); margin-top: 4px; }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.status { margin-top: 12px; font-size: 15px; border-radius: var(--radius); display: block; min-height: 1px; }
.status.ok { padding: 10px 12px; background: var(--accent-soft); color: var(--accent-hover); }
.status.err { padding: 10px 12px; background: #F6E3DF; color: var(--danger); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--deep); color: var(--on-deep); padding-block: 48px 28px; margin-top: 40px; font-size: 14px; }
.site-footer a { color: #D7E4B5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #B7C29C; margin-bottom: 10px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: #A9B396; font-size: 13px; }
.preview-banner { background: #FFF4D6; color: #6B4E00; border-bottom: 1px solid #F0DDA0; font-size: 13px; text-align: center; padding: 7px var(--gutter); }
