/* Nutri Enrich Global - Edible Oils concept.
   Editorial dark style. Mobile-first: base rules target phones, then
   min-width queries add tablet and desktop layouts. */

:root {
  --ink: #14110d;
  --ink-2: #221c15;
  --paper: #f2ebdc;
  --paper-2: #e8dfcb;
  --gold: #d9a441;
  --olive: #4a5a28;
  --rust: #a4492a;
  --muted: #6b6252;
  --muted-light: #b9ad98;
  --rule: rgba(20, 17, 13, 0.22);
  --rule-light: rgba(242, 235, 220, 0.25);
  --gutter: 20px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[id] { scroll-margin-top: 76px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.9rem, 11vw, 6.2rem); line-height: 0.96; }
h2 { font-size: clamp(2.2rem, 7vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw + 0.75rem, 2.1rem); }
em { font-style: italic; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: 64px; }
.label {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 18px;
}
.label::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.dark { background: var(--ink); color: var(--paper); }
.dark .label { color: var(--gold); }
.light .label { color: var(--rust); }
.lead { font-size: 1.125rem; max-width: 36rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border: 2px solid transparent; border-radius: 2px;
  font: 700 0.8125rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e8b657; }
.btn-line { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-line:hover { background: var(--paper); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Top bar */
.topbar { background: var(--gold); color: var(--ink); font-size: 0.8125rem; font-weight: 600; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.topbar span + span { display: none; }
.topbar a { text-decoration: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--rule-light); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.brand small { font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.menu-btn {
  width: 48px; height: 48px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: transparent; border: 1.5px solid var(--rule-light); border-radius: 2px; cursor: pointer;
}
.menu-btn span { width: 22px; height: 2px; background: var(--paper); transition: transform 0.2s, opacity 0.2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav {
  position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column;
  background: var(--ink); padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--rule-light);
}
.nav.open { display: flex; }
.nav a { font-family: var(--serif); font-size: 1.9rem; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--rule-light); }
.nav a:hover { color: var(--gold); }
.nav .btn { font-family: var(--sans); font-size: 0.8125rem; margin-top: 20px; border-bottom: 2px solid transparent; padding: 14px 28px; }

/* Hero */
.hero { padding-block: 44px 0; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 em { color: var(--gold); }
.hero .lead { margin-top: 26px; color: #d8cfbc; }
.shelf { display: flex; align-items: flex-end; justify-content: center; gap: 4%; border-bottom: 2px solid var(--gold); padding-inline: 8px; }
.shelf svg { width: 26%; height: auto; }
.shelf svg:nth-child(2) { width: 31%; }
.hero-facts { display: grid; margin-top: 56px; border-top: 1px solid var(--rule-light); }
.hero-facts div { padding: 18px 0; border-bottom: 1px solid var(--rule-light); font-size: 0.9375rem; color: var(--muted-light); }
.hero-facts b { display: block; color: var(--paper); font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2; }

/* Range */
.range-head { display: grid; gap: 14px; margin-bottom: 36px; }
.range { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.range li { display: grid; grid-template-columns: 52px 1fr; gap: 6px 12px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.range .n { font-family: var(--serif); font-size: 1.5rem; color: var(--rust); line-height: 1.2; }
.range p { color: var(--muted); font-size: 0.9375rem; max-width: 40rem; margin-top: 6px; }
.range .go { grid-column: 2; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--gold); justify-self: start; padding-bottom: 2px; margin-top: 6px; }
.range .go:hover { color: var(--rust); }

/* About */
.about-grid { display: grid; gap: 40px; }
.about h2 em { color: var(--rust); }
.about .lead { margin-top: 24px; }
.about p + p { margin-top: 14px; color: var(--muted); }
.reasons { list-style: none; margin: 0; padding: 0; counter-reset: r; border-top: 2px solid var(--ink); }
.reasons li { counter-increment: r; display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.reasons li::before { content: "0" counter(r); font-family: var(--serif); font-size: 1.5rem; color: var(--rust); line-height: 1.2; }
.reasons strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.reasons span { display: block; color: var(--muted); font-size: 0.9375rem; margin-top: 4px; }
.mv { display: grid; gap: 22px; margin-top: 32px; }
.mv h3 { font-size: 1.5rem; margin-bottom: 4px; }
.mv p { font-size: 0.9375rem; color: var(--muted); }

/* Spec sheet */
.spec-band { background: var(--olive); color: var(--paper); }
.spec-band .label { color: var(--gold); }
.spec-grid { display: grid; gap: 36px; }
.spec-band .lead { margin-top: 22px; color: #e3ddc9; }
.spec { margin: 0; border-top: 2px solid var(--paper); }
.spec div { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(242, 235, 220, 0.3); }
.spec dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #cfd6b9; font-weight: 700; }
.spec dd { margin: 0; font-weight: 600; }
.ph-val { color: var(--gold); font-weight: 600; }

/* Certifications */
.certs { list-style: none; margin: 36px 0 0; padding: 0; display: grid; border-top: 2px solid var(--ink); }
.certs li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-weight: 600; display: flex; gap: 14px; align-items: baseline; }
.certs li::before { content: "\2713"; color: var(--olive); font-weight: 800; }

/* Enquiry */
.enq-grid { display: grid; gap: 44px; }
.enq h2 em { color: var(--gold); }
.enq .lead { margin-top: 20px; color: #d8cfbc; }
.contact-list { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--rule-light); }
.contact-list div { padding: 14px 0; border-bottom: 1px solid var(--rule-light); }
.contact-list dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.contact-list dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; font-family: var(--serif); font-size: 1.7rem; }
form { display: grid; gap: 18px; }
.row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--muted-light); }
input, select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 2px;
  background: rgba(242, 235, 220, 0.07); border: 1.5px solid rgba(242, 235, 220, 0.4);
  color: var(--paper); font: 500 1rem var(--sans);
}
select option { color: var(--ink); }
textarea { min-height: 130px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8f8574; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: 3px solid rgba(217, 164, 65, 0.35); }
.status { min-height: 1.5em; font-size: 0.9375rem; font-weight: 600; }
.status.ok { color: #b7d98a; }
.status.err { color: #f0a58c; }

/* Footer */
.site-footer { background: #0c0a07; color: var(--muted-light); font-size: 0.9375rem; }
.foot-grid { display: grid; gap: 28px; padding-block: 48px; }
.foot-brand { font-family: var(--serif); font-size: 2rem; color: var(--paper); line-height: 1; margin-bottom: 8px; }
.site-footer h2 { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.copy { border-top: 1px solid var(--rule-light); padding: 18px var(--gutter); text-align: center; font-size: 0.8125rem; }

/* Tablet */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .section { padding-block: 88px; }
  .topbar span + span { display: inline; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts div { padding-right: 20px; border-bottom: 0; }
  .range li { grid-template-columns: 64px 1fr auto; align-items: center; }
  .range .go { grid-column: auto; margin-top: 0; }
  .mv { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr 1fr; }
  .spec div { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 20px; }
  .spec dd { text-align: right; }
  .certs { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

/* Desktop */
@media (min-width: 960px) {
  :root { --gutter: 40px; }
  .menu-btn { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 30px; padding: 0; background: transparent; border: 0; }
  .nav a { font-family: var(--sans); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border: 0; padding: 6px 0; }
  .nav .btn { margin: 0; background: var(--gold); color: var(--ink); padding: 12px 22px; }
  .nav .btn:hover { color: var(--ink); background: #e8b657; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: end; }
  .hero-facts { margin-top: 72px; }
  .range-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .spec-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .enq-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .menu-btn span { transition: none; }
}
