/* ============================================================
   Namiex Chemicals Pvt. Ltd. — "Deodara"
   Warm dark editorial. Cedar amber on bark-brown near-black.
   ============================================================ */

:root {
  --bg:        #14110D;
  --bg-raised: #1C1813;
  --bg-deep:   #0E0B08;
  --line:      #2A241C;
  --line-lift: #3B3327;
  --ink:       #F2ECE2;
  --ink-mid:   #B0A493;
  --ink-dim:   #7A7062;
  --amber:     #D69A44;
  --amber-lift:#EBB864;
  --amber-deep:#7A5522;
  --amber-wash:rgba(214, 154, 68, 0.10);
  --sage:      #8FA37C;

  --f-display: Charter, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1140px;
  --pad: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; margin: 0; text-wrap: balance; }

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

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 16px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(3px);
  transition: opacity 750ms cubic-bezier(.22,.61,.36,1),
              transform 750ms cubic-bezier(.22,.61,.36,1),
              filter 750ms cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform, filter;
}
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
.reveal-d1 { transition-delay: 90ms; }
.reveal-d2 { transition-delay: 180ms; }
.reveal-d3 { transition-delay: 270ms; }
.reveal-d4 { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .therapy-item:hover, .exit-card:hover, .grade-card, .login-card { transform: none !important; animation: none !important; }
  .chroma-svg path[data-draw] { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
}

/* Buttons: a touch of lift and press feedback everywhere, not just on named cards. */
.btn { transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
                    transform 160ms cubic-bezier(.22,.61,.36,1), box-shadow 160ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 12px 26px -12px rgba(214,154,68,0.55); }
.btn:active { transform: translateY(0) scale(0.98); }

/* Underline that draws in on hover rather than just appearing. */
.site-nav a:not(.nav-cta):not(.nav-login) { position: relative; }
.site-nav a:not(.nav-cta):not(.nav-login)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 4px;
  height: 1px; background: var(--amber);
  transition: right 220ms cubic-bezier(.22,.61,.36,1);
}
.site-nav a:not(.nav-cta):not(.nav-login):hover::after { right: 0; }

/* Header gains weight once the page has scrolled past the hero. */
.site-header {
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.site-header.is-scrolled {
  background: rgba(20, 17, 13, 0.97);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.6);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(20, 17, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--f-display);
  font-size: 20px; font-weight: 600; letter-spacing: 0.03em; color: var(--ink);
}
.brand-sub {
  font-family: var(--f-mono);
  font-size: 9px; letter-spacing: 0.15em; color: var(--ink-dim); text-transform: uppercase;
}
.footer-brand .brand-name { font-size: 21px; margin-bottom: 3px; white-space: nowrap; }
.footer-brand .brand-sub {
  font-size: 10px; line-height: 1.6;
  display: block; width: 100%;
  text-align: left;
  letter-spacing: 0.22em;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: contents; }
.site-nav a { color: var(--ink-mid); font-size: 14.5px; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--amber-deep); color: var(--amber) !important;
  padding: 9px 18px; border-radius: 2px; font-size: 13.5px;
  transition: background 160ms ease, border-color 160ms ease;
}
.nav-cta:hover { background: var(--amber-wash); border-color: var(--amber); }

.nav-login {
  display: flex; align-items: center; gap: 6px;
  color: var(--ink-mid) !important; font-size: 13.5px;
  padding: 9px 4px; border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.nav-login svg { width: 15px; height: 15px; flex-shrink: 0; }
.nav-login:hover { color: var(--amber) !important; border-color: var(--amber-deep); }

/* ---------- ERP note (process band) ---------- */
.process-erp {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 22px !important; padding-top: 18px;
  border-top: 1px solid rgba(214,154,68,0.22);
  font-size: 14px !important; color: var(--ink-dim) !important;
}
.process-erp svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--amber); }

/* ---------- Contact band ---------- */
.contact-band { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.contact-media { position: absolute; inset: 0; }
.contact-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.7) sepia(0.28) brightness(0.28) contrast(1.15);
  will-change: transform; transform: scale(1.08);
}
.contact-band::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(20,17,13,0.88) 16%, rgba(20,17,13,0.93) 100%);
}
.contact-band-inner { position: relative; z-index: 1; padding: 100px 0; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-lift); border-radius: 3px;
  width: 42px; height: 38px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: relative; transition: background 160ms ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 220ms ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 84px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(214,154,68,0.09), transparent 62%),
    radial-gradient(700px 400px at 92% 88%, rgba(143,163,124,0.06), transparent 66%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center;
}
.hero-inner { max-width: 820px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 74px); line-height: 1.04;
  letter-spacing: -0.02em; margin-bottom: 26px;
}
.hero h1 .amber { color: var(--amber); font-style: italic; }
.hero-lede { font-size: 18px; color: var(--ink-mid); max-width: 52ch; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Contained duotone plate rather than a photo "floating" in a spotlight —
   matches the desaturated, deliberately-not-a-snapshot treatment used across
   the site (cedar band, process band). A thin frame + amber wash sells it as
   a designed plate, not a product photo pasted onto a dark page. */
.hero-figure {
  margin: 0; position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.65);
}
/* Vignette baked into the frame, sitting above the photo: the source shot has a
   light studio backdrop that would otherwise stop dead at a hard rectangle. This
   dissolves the corners into the surrounding dark card instead. */
.hero-figure::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 100% at 50% 42%, transparent 42%, rgba(14,11,8,0.55) 88%, rgba(14,11,8,0.85) 100%),
    linear-gradient(160deg, rgba(214,154,68,0.14) 0%, transparent 40%);
  pointer-events: none;
}
.hero-figure img {
  width: 100%; height: auto; display: block;
}
/* Caption sits in its own solid strip below the photo, not overlaid on top of it —
   the source photo's own background runs light-to-cream, so text laid over it (even
   with a gradient behind it) was reading as light-grey-on-cream and disappearing. */
.hero-figure figcaption {
  position: relative; z-index: 2;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid); text-align: center; padding: 12px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line-lift);
}

.btn {
  display: inline-block; font-size: 14.5px; padding: 14px 28px;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn-primary { background: var(--amber); color: #1A1108; font-weight: 600; }
.btn-primary:hover { background: var(--amber-lift); }
.btn-ghost { border-color: var(--line-lift); color: var(--ink); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- Stat strip ---------- */
.hero-strip { border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-cell { padding: 26px 22px; border-right: 1px solid var(--line); }
.strip-cell:last-child { border-right: none; }
.strip-num {
  font-family: var(--f-display); font-size: 30px; color: var(--amber);
  display: block; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.strip-label { font-size: 13px; color: var(--ink-dim); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.1;
  letter-spacing: -0.015em; margin-bottom: 16px;
}
.section-head h2 .accent { color: var(--amber); }
.section-head p { color: var(--ink-mid); margin: 0; font-size: 17px; }

/* ---------- Founder / about ---------- */
.about { background: var(--bg-raised); }
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 52px; align-items: start; }
.founder { margin: 0; }
.founder img {
  /* height:auto is required here, not decorative — without it the browser falls
     back to the raw HTML height attribute as a literal pixel value instead of
     scaling with width, badly distorting the image whenever its native
     resolution doesn't already match the display box. */
  width: 100%; height: auto; border: 1px solid var(--line-lift); border-radius: 3px;
}
.founder figcaption {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em;
  color: var(--ink-dim); margin-top: 10px; text-align: center;
}
.about-copy p { color: var(--ink-mid); margin: 0 0 18px; }
.about-copy p strong { color: var(--ink); font-weight: 600; }
.pull {
  font-family: var(--f-display); font-size: 23px; line-height: 1.4; color: var(--ink);
  border-left: 2px solid var(--amber); padding-left: 22px; margin: 28px 0;
}
.about-facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px;
}
.about-fact {
  border: 1px solid var(--line); border-radius: 3px; padding: 16px 18px; background: var(--bg);
}
.about-fact dt {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 5px;
}
.about-fact dd { margin: 0; font-size: 14.5px; color: var(--ink); }

/* ---------- Therapy areas ---------- */
.therapy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.therapy-item {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 4px;
  padding: 26px 16px 22px; text-align: center;
  transition: border-color 200ms ease, transform 200ms ease;
}
.therapy-item:hover { border-color: var(--amber-deep); transform: translateY(-3px); }
.therapy-icon {
  width: 74px; height: 74px; margin: 0 auto 16px;
  display: grid; place-items: center;
}
/* -cut.png has real per-pixel alpha (background-removed), so drop-shadow now hugs the
   actual line art instead of tracing a square around the old opaque JPEG sheet. Two
   stacked shadows: a tight one for crisp amber ink, a wide soft one for ambient glow. */
.therapy-icon img {
  width: 58px; height: 58px;
  filter:
    drop-shadow(0 0 1px var(--amber))
    drop-shadow(0 0 10px rgba(214, 154, 68, 0.55));
  transition: filter 240ms ease, transform 240ms ease;
}
.therapy-item:hover .therapy-icon img {
  transform: scale(1.08);
  filter:
    drop-shadow(0 0 1px var(--amber-lift))
    drop-shadow(0 0 16px rgba(235, 184, 100, 0.85));
}
.therapy-item h4 {
  font-family: var(--f-body); font-size: 14px; color: var(--ink-mid);
  font-weight: 500; line-height: 1.35;
}

/* ---------- Berberine grades ---------- */
.berberine { background: var(--bg-raised); }
.grade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grade-card {
  background: var(--bg); border: 1px solid var(--line);
  border-top: 2px solid var(--amber-deep); border-radius: 3px; padding: 28px 26px;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  transition: transform 400ms cubic-bezier(.22,.61,.36,1), border-color 200ms ease;
  will-change: transform;
}
.grade-card:hover { border-top-color: var(--amber); }
.grade-card.lead { border-top-color: var(--amber); }
.grade-pct {
  font-family: var(--f-display); font-size: 46px; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums; display: block; margin-bottom: 4px;
}
.grade-card.lead .grade-pct { color: var(--amber); }
.grade-assay {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-dim); display: block; margin-bottom: 16px;
}
.grade-card p { margin: 0; font-size: 14.5px; color: var(--ink-mid); }

.salt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.salt-card {
  border: 1px solid var(--line); border-radius: 3px; padding: 18px 20px; background: var(--bg);
  display: flex; flex-direction: column; gap: 4px;
}
.salt-card strong { font-family: var(--f-display); font-size: 17px; color: var(--ink); font-weight: 600; }
.salt-card span { font-size: 13.5px; color: var(--ink-dim); }

.berberine-note {
  margin-top: 26px; padding: 20px 24px;
  border-left: 2px solid var(--sage); background: var(--bg);
  font-size: 15px; color: var(--ink-mid);
}
.berberine-note strong { color: var(--ink); font-weight: 600; }

/* ---------- Chromatogram ---------- */
.chroma-panel {
  background: var(--bg-deep); border: 1px solid var(--line);
  border-radius: 6px; padding: 20px 22px 18px; margin-top: 34px;
}
.chroma-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.chroma-label {
  display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 3px;
}
.chroma-id strong { font-size: 16px; color: var(--ink); font-weight: 600; font-family: var(--f-display); }
.chroma-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-dim);
}
.chroma-svg { width: 100%; height: auto; display: block; }
/* Traced live as the panel scrolls through view, like an instrument printing
   the run — stroke-dashoffset is set directly by JS on every scroll frame, not
   transitioned, so the line tracks scroll position 1:1 with no lag or replay.
   pathLength="1" on the element lets dasharray/dashoffset use 0–1 regardless
   of the path's real geometry. */
.chroma-svg path[data-draw] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.chroma-results {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 4px 0 0;
  background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.chroma-results > div { background: var(--bg-deep); padding: 12px 14px; }
.chroma-results dt {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 4px;
}
.chroma-results dd {
  margin: 0; font-family: var(--f-mono); font-size: 15px;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.chroma-results dd.accent { color: var(--amber); }
.chroma-foot { font-size: 13px; color: var(--ink-dim); margin: 14px 0 0; max-width: 74ch; }

/* ---------- Product catalogue with specs ---------- */
.cat-group { margin-bottom: 56px; }
section, .cat-group, main > * { scroll-margin-top: 92px; }
/* Category headings must outrank the product names beneath them: amber rule above,
   larger optical size, letterspaced caps. */
.cat-group > h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  margin-bottom: 6px;
  padding-top: 18px; padding-bottom: 16px;
  border-top: 2px solid var(--amber);
  border-bottom: 1px solid var(--line-lift);
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  color: var(--amber-lift);
}
.cat-group > h3 span {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-dim); font-weight: 400;
  white-space: nowrap;
}

details.product {
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 180ms ease;
}
details.product[open] { background: var(--bg-raised); }
details.product > summary {
  list-style: none; cursor: pointer;
  padding: 16px 18px 16px 0;
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
}
details.product[open] > summary { padding-left: 18px; }
details.product > summary::-webkit-details-marker { display: none; }
.p-name { font-size: 16px; color: var(--ink); font-weight: 600; }
.p-name em { font-style: normal; color: var(--ink-dim); font-weight: 400; font-size: 13.5px; display: block; }
.p-cas {
  font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-mid);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
/* Drawn rather than typed: a glyph "+" never sits optically centred once rotated. */
.p-open {
  width: 24px; height: 24px; border: 1px solid var(--line-lift); border-radius: 50%;
  position: relative; flex-shrink: 0; color: var(--ink-dim);
  transition: transform 220ms ease, border-color 180ms ease, color 180ms ease;
}
.p-open::before, .p-open::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: currentColor;
}
.p-open::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.p-open::after  { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
details.product[open] .p-open { transform: rotate(45deg); border-color: var(--amber); color: var(--amber); }

.p-body { padding: 0 18px 22px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th {
  text-align: left; font-weight: 400; color: var(--ink-dim);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 9px 16px 9px 0; width: 200px; vertical-align: top;
}
.spec-table td { padding: 9px 0; color: var(--ink); }
.p-note { font-size: 14px; color: var(--ink-mid); margin: 0 0 14px; }

/* ---------- Cedarwood band ----------
   Same full-bleed-photo-behind-text pattern as .process-band, so the two
   photography sections read as one consistent system rather than two
   different layout ideas sitting next to each other. */
.cedar-band { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.cedar-band-media { position: absolute; inset: 0; }
.cedar-band-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(0.3) brightness(0.34) contrast(1.1) saturate(0.8);
  will-change: transform; transform: scale(1.08);
}
.cedar-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 6%, rgba(20,17,13,0.82) 46%, rgba(20,17,13,0.55) 100%);
}
.cedar-band-copy { position: relative; z-index: 2; padding: 108px 0; max-width: 54ch; }
.cedar-band-copy h2 { font-size: clamp(27px, 3.6vw, 40px); line-height: 1.12; margin-bottom: 16px; }
.cedar-band-copy p { color: var(--ink-mid); margin: 0 0 26px; }

/* ---------- EXIT consumer brand ---------- */
.exit-section { background: var(--bg-deep); }
.exit-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 44px; }
.exit-badge {
  display: inline-block; font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); border: 1px solid var(--amber-deep);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 18px;
}
/* Product lineup only (the family/forest half of the source banner is cropped away),
   feathered at the edges and darkened so it reads as a plate on the page, not a
   bright photo dropped onto it. */
.exit-hero-img { margin: 0; position: relative; border-radius: 4px; overflow: hidden; }
.exit-hero-img img {
  width: 100%; display: block;
  filter: brightness(0.62) contrast(1.12) saturate(0.75);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.exit-hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--bg-deep) 0%, transparent 30%);
}

.exit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.exit-card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; transition: border-color 200ms ease, transform 200ms ease, box-shadow 240ms ease;
}
.exit-card:hover { border-color: var(--amber-deep); transform: translateY(-4px); box-shadow: 0 14px 28px -16px rgba(0,0,0,0.55); }
/* -cut.png carries real alpha now (background-removed), so the bottle sits directly
   on the card — no backdrop tile or blend-mode trick required. */
.exit-card-media {
  padding: 18px 14px 8px;
  display: flex; align-items: flex-end; justify-content: center;
}
.exit-card-media img {
  width: 100%; height: 150px; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.45));
  transition: transform 240ms ease;
}
.exit-card:hover .exit-card-media img { transform: translateY(-3px) scale(1.03); }
.exit-card-body { padding: 16px 18px 20px; }
.exit-card-body h4 { font-size: 16px; margin-bottom: 6px; }
.exit-card-body p { font-size: 13.5px; color: var(--ink-dim); margin: 0; }

/* ---------- Molecular formulae ---------- */
.formula { font-variant-numeric: normal; white-space: nowrap; }
.formula sub { font-size: 0.72em; line-height: 0; vertical-align: -0.28em; }
.formula sup { font-size: 0.72em; line-height: 0; vertical-align: 0.42em; }

/* ---------- Process band (plant photography) ---------- */
.process-band { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.process-media { position: absolute; inset: 0; }
.process-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(0.42) brightness(0.34) contrast(1.1) saturate(0.75);
  will-change: transform; transform: scale(1.08);
}
.process-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 6%, rgba(20,17,13,0.82) 46%, rgba(20,17,13,0.55) 100%);
}
.process-copy { position: relative; z-index: 2; padding: 108px 0; }
.process-copy .inner { max-width: 54ch; }
.process-copy h2 { font-size: clamp(27px, 3.6vw, 40px); line-height: 1.12; margin-bottom: 16px; }
.process-copy p { color: var(--ink-mid); margin: 0 0 16px; }
.process-copy p:last-child { margin-bottom: 0; }

/* ---------- Resin highlight ---------- */
.resin { background: var(--bg-raised); }
.resin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }

.compare { display: grid; gap: 14px; height: 100%; }
.compare-row {
  display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start;
  padding: 20px 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg);
  transition: border-color 200ms ease;
}
.compare-row.them { opacity: 0.7; }
.compare-mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.compare-mark svg { width: 16px; height: 16px; }
.compare-row.us .compare-mark   { background: rgba(143,163,124,0.14); color: var(--sage); }
.compare-row.them .compare-mark { background: rgba(156,107,90,0.14); color: #B08072; }
.compare-row h4 { font-size: 16px; margin-bottom: 5px; font-family: var(--f-body); font-weight: 600; color: var(--ink); }
.compare-row p { margin: 0; font-size: 14px; color: var(--ink-mid); line-height: 1.6; }

.resin-aside {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--bg); padding: 28px 26px;
}
.resin-aside p { color: var(--ink-mid); margin: 0 0 16px; font-size: 15px; }
.capacity-note {
  margin: auto 0 20px; padding: 16px 20px;
  border-left: 2px solid var(--amber); background: var(--bg-raised);
  font-size: 14.5px; color: var(--ink-mid);
}
.capacity-note strong { color: var(--ink); }
.resin-aside .btn { align-self: flex-start; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; align-items: start; }
.contact-aside { border-left: 1px solid var(--line); padding-left: 44px; }

.enquiry-form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-dim);
}
.field label span { color: var(--amber); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 15.5px; color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line-lift); border-radius: 3px;
  padding: 12px 14px; width: 100%;
  transition: border-color 160ms ease, background 160ms ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%),
                    linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: 40px;
}
.field select option, .field select optgroup { background: var(--bg-raised); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: var(--bg-deep);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); opacity: 0.7; }
.enquiry-form .btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--ink-dim); margin: 0; }

/* Honeypot — off-screen rather than display:none, which some bots detect. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-banner {
  border-radius: 3px; padding: 16px 20px; margin-bottom: 26px; font-size: 15px;
  border-left: 2px solid var(--sage); background: var(--bg-raised); color: var(--ink);
}
.form-banner.is-error { border-left-color: #9C6B5A; }
.form-banner strong { display: block; margin-bottom: 3px; }

.contact-aside { display: grid; gap: 30px; }
.contact-block h3 {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-dim); font-weight: 500; margin-bottom: 10px;
}
.contact-block p { margin: 0; color: var(--ink-mid); font-size: 15px; line-height: 1.75; }
.contact-block a { color: var(--ink); }
.contact-block a:hover { color: var(--amber); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 36px; }
}
@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; gap: 18px; }
  .enquiry-form .btn { justify-self: stretch; text-align: center; }
}

/* ---------- Quality ---------- */
.q-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.q-item h3 { font-size: 21px; margin-bottom: 12px; }
.q-item p { color: var(--ink-mid); font-size: 15.5px; margin: 0; }
.q-rule { width: 34px; height: 2px; background: var(--amber); margin-bottom: 20px; }

/* ---------- Timeline ---------- */
.years { border-left: 1px solid var(--line-lift); padding-left: 30px; }
.year-item { position: relative; padding-bottom: 34px; }
.year-item:last-child { padding-bottom: 0; }
.year-item::before {
  content: ""; position: absolute; left: -35px; top: 11px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-raised); border: 1px solid var(--amber);
}
.year-n {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em;
  color: var(--amber); display: block; margin-bottom: 6px;
}
.year-item h4 { font-size: 18px; margin-bottom: 6px; }
.year-item p { color: var(--ink-mid); font-size: 15px; margin: 0; max-width: 48ch; }

/* ---------- CTA ---------- */
.cta { padding: 92px 0; text-align: center; }
.cta h2 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.08; margin-bottom: 18px; }
.cta p { color: var(--ink-mid); font-size: 17.5px; max-width: 54ch; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 52px; margin-bottom: 44px; }
.site-footer h4 {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 18px; font-weight: 500;
}
.site-footer p, .site-footer li { color: var(--ink-mid); font-size: 14.5px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: var(--ink-mid); }
.site-footer ul a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--ink-dim);
}
/* The badge itself is a low-res graphic built for a light backdrop — bare on the
   dark page its compression artifacts and internal border show. A soft parchment
   chip (not stark white) keeps it clean without punching a bright box in the page. */
.indiamart {
  display: inline-block; margin-top: 22px;
  background: #F2ECE2; border-radius: 4px; padding: 5px 9px; line-height: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}
.indiamart:hover { transform: translateY(-1px); opacity: 0.9; }
.indiamart img { width: 114px; height: 36px; }

/* ---------- Language switcher ---------- */
.lang-select {
  appearance: none; -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid var(--line-lift); border-radius: 2px;
  color: var(--ink-mid);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em;
  padding: 8px 26px 8px 11px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%),
                    linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%);
  background-position: calc(100% - 14px) 51%, calc(100% - 9px) 51%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  transition: border-color 160ms ease, color 160ms ease;
}
.lang-select:hover { border-color: var(--amber-deep); color: var(--ink); }
.lang-select option { background: var(--bg-raised); color: var(--ink); }
#google_translate_element { position: absolute; left: -9999px; top: 0; height: 0; overflow: hidden; }
body { top: 0 !important; }
.skiptranslate > iframe { display: none !important; }

/* ============================================================
   Tablet
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad: 26px; }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .hero-grid { gap: 40px; }
  .therapy-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .therapy-icon { width: 62px; height: 62px; }
  .therapy-icon img { width: 62px; height: 62px; }
  .exit-grid { grid-template-columns: repeat(2, 1fr); }
  .cedar-band-copy { padding: 72px 0; }
  .cedar-band::after {
    background: linear-gradient(180deg, rgba(20,17,13,0.86) 0%, rgba(20,17,13,0.78) 100%);
  }
  .q-list { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0;
    background: var(--bg-raised); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 18px;
    transform: translateY(-120%);
    transition: transform 300ms cubic-bezier(.22,.61,.36,1);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .site-nav.is-open { transform: none; }
  .nav-links { display: contents; }
  .site-nav a {
    padding: 14px var(--pad); font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  /* .nav-cta is also a .site-nav a, and that rule's higher specificity (class +
     element) was winning the border-bottom over .nav-cta's own colour — the
     button's bottom edge was rendering in --line grey instead of amber like
     the other three sides. Excluding it here removes the mismatched seam. */
  .site-nav a.nav-cta { border-bottom: none; }
  .nav-login { padding-left: var(--pad); }
  .nav-cta {
    margin: 14px var(--pad) 0; text-align: center;
    border: 1px solid var(--amber);
  }
  .lang-select { margin: 14px var(--pad) 0; width: calc(100% - var(--pad) * 2); }
  .contact-band-inner { padding: 64px 0; }
  .process-erp { flex-direction: column; gap: 6px; }
  .process-erp svg { display: none; }

  .hero-grid, .about-grid, .exit-lead, .resin-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-copy { padding: 72px 0; }
  .process-band::after {
    background: linear-gradient(180deg, rgba(20,17,13,0.86) 0%, rgba(20,17,13,0.78) 100%);
  }
  .about-grid .founder { max-width: 220px; }
  .grade-grid, .salt-row { grid-template-columns: 1fr; gap: 14px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-cell:nth-child(2) { border-right: none; }
  .strip-cell:nth-child(1), .strip-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .chroma-results { grid-template-columns: repeat(2, 1fr); }
  .chroma-meta { align-items: flex-start; }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 620px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 34px; }
  .hero { padding: 52px 0 48px; }
  .hero-lede { font-size: 16.5px; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 8px; }
  .header-inner { min-height: 64px; }
  .site-nav { inset: 64px 0 auto 0; max-height: calc(100vh - 64px); }

  .therapy-grid { grid-template-columns: repeat(2, 1fr); }
  .exit-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .exit-card-media img { height: 110px; }
  .exit-card-body { padding: 12px 14px 16px; }
  .exit-card-body h4 { font-size: 14.5px; }
  .about-facts { grid-template-columns: 1fr; }
  .chroma-results { grid-template-columns: 1fr; }
  .chroma-panel { padding: 16px 14px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .strip-cell:last-child { border-bottom: none; }

  /* Spec tables stack into label/value pairs rather than scrolling sideways */
  .spec-table th, .spec-table td { display: block; width: auto; padding: 0; }
  .spec-table th { padding-top: 10px; }
  .spec-table td { padding-bottom: 10px; }
  details.product > summary { grid-template-columns: 1fr auto; row-gap: 4px; }
  .p-cas { grid-column: 1; grid-row: 2; }
  .p-open { grid-column: 2; grid-row: 1 / span 2; }
  .pull { font-size: 19px; padding-left: 16px; }
}
