/* ============================================================
   Prana Food — B2B Export Homepage
   Palette: warm ivory ground, deep olive ink, estate green accent,
   logo navy reserved for the wordmark and small identity moments.
   Type: Prata (display serif) + Archivo (body / labels).
   ============================================================ */

:root {
  --bg: #F7F3EA;
  --bg-alt: #EFE9DB;
  --card: #FFFFFF;
  --ink: #1F2A21;
  --ink-2: #4A554B;
  --ink-3: #7C857C;
  --line: #DDD5C2;
  --navy: #16324F;
  --accent: #5A6B33;
  --accent-deep: #465526;
  --accent-press: #46552B;
  --gold: #A68868;
  --gold-bright: #DFC09A;
  --dark: #0B1730;
  --dark-2: #14233D;
  --on-dark: #F0ECE2;
  --on-dark-2: #B4BFD0;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- type helpers ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; text-wrap: balance; }

.display-xl { font-size: clamp(46px, 6vw, 88px); letter-spacing: -0.01em; }
.display-lg { font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -0.005em; }
.display-md { font-size: clamp(24px, 2.6vw, 34px); }

.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }

.value-name, .spec-value, .term-big, .contact-card .contact-value { font-weight: 600; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--accent); color: #FBFAF4; }
.btn-primary:hover { background: var(--accent-press); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: rgba(31, 42, 33, 0.06); }

.btn-on-dark { background: var(--on-dark); color: var(--dark); }
.btn-on-dark:hover { background: #FFFFFF; }

.btn .arrow { transition: transform 160ms var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- top bar + nav ---------- */

.topbar {
  background: var(--dark);
  color: var(--on-dark-2);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
  max-width: none;
  padding-left: clamp(16px, 2vw, 26px);
  padding-right: clamp(16px, 2vw, 26px);
}
.topbar .sep { color: var(--accent); margin: 0 8px; }
.topbar-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lang-toggle {
  display: flex;
  gap: 2px;
  border: 1px solid rgba(242, 239, 228, 0.25);
  border-radius: 999px;
  padding: 2px;
}
.lang-toggle button {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: transparent;
  color: var(--on-dark-2);
  border: none;
  border-radius: 999px;
  padding: 3px 12px;
  cursor: pointer;
  transition: background 120ms var(--ease), color 120ms var(--ease);
}
.lang-toggle button.active { background: var(--on-dark); color: var(--dark); }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background 240ms var(--ease);
}

.nav .container {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: none;
  padding: 0;
  min-height: 72px;
}
.nav nav { flex: 1; display: flex; justify-content: center; }
.nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; align-self: stretch; }
.nav-mark-block { align-self: stretch; display: grid; place-items: center; width: clamp(60px, 4.8vw, 76px); background: var(--dark); }
.nav-logo .nav-mark { height: 46px; width: auto; }
.nav-logo .nav-wordmark { height: 26px; width: auto; margin-left: clamp(8px, 1vw, 12px); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 120ms var(--ease);
}
.nav-links a:hover { color: var(--ink); }
/* CTA as a full-height colour block flush to the right edge (the area IS the button) */
.nav-cta {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 clamp(22px, 2.6vw, 40px);
  background: var(--gold-bright);
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms var(--ease);
}
.nav-cta:hover { background: #E7CFAE; }
.nav-cta-arrow { font-size: 15px; line-height: 1; }

@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
}

/* ---------- hero (full-bleed cover) ---------- */

.hero {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  min-height: clamp(580px, 88vh, 880px);
  padding: clamp(64px, 8vw, 120px) 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(78deg, rgba(7, 23, 57, 0.88) 0%, rgba(7, 23, 57, 0.62) 45%, rgba(7, 23, 57, 0.2) 100%),
    linear-gradient(to top, rgba(7, 23, 57, 0.6), transparent 45%);
}
.hero .container { position: relative; width: 100%; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; max-width: 780px; }
.hero .eyebrow { color: var(--gold-bright); }
.hero .eyebrow::before { background: var(--gold-bright); }
.hero .lede { color: rgba(240, 236, 226, 0.88); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.65); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 2.4vw, 30px) clamp(24px, 3vw, 56px);
  border-top: 1px solid rgba(240, 236, 226, 0.28);
  padding-top: 24px;
  margin-top: 8px;
  width: 100%;
}
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 1.9vw, 25px); color: #FFFFFF; white-space: nowrap; }
.fact-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(240, 236, 226, 0.65); }

@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { animation: hero-zoom 22s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-copy > * { animation: hero-rise 760ms cubic-bezier(0.16, 1, 0.3, 1) backwards; }
  .hero-copy > *:nth-child(1) { animation-delay: 80ms; }
  .hero-copy > *:nth-child(2) { animation-delay: 200ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 320ms; }
  .hero-copy > *:nth-child(4) { animation-delay: 440ms; }
  .hero-copy > *:nth-child(5) { animation-delay: 560ms; }
}
@keyframes hero-zoom {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ---------- marquee ---------- */

.marquee {
  background: var(--dark);
  border-top: 1px solid rgba(240, 236, 226, 0.14);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.marquee-group span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(17px, 1.7vw, 22px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
}
.marquee-group img { height: 16px; width: auto; opacity: 0.75; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee-scroll 38s linear infinite; }
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ---------- values strip ---------- */

.values {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(90, 107, 51, 0.05), transparent 60%),
    var(--bg);
  padding: clamp(56px, 7vw, 104px) 0;
}
.values-head {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
/* accent rule that sweeps across the top on hover */
.value::before {
  content: "";
  position: absolute; top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 360ms var(--ease);
}
.value:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 107, 51, 0.35);
  box-shadow: 0 1px 2px rgba(31, 42, 33, 0.05), 0 22px 48px rgba(31, 42, 33, 0.11);
}
.value:hover::before { width: 100%; }
/* large editorial index numeral, watermark-style */
.value-index {
  position: absolute; top: 16px; right: 22px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(46px, 4.6vw, 68px); line-height: 1;
  color: var(--accent); opacity: 0.13;
  pointer-events: none; user-select: none;
}
.value .icon { transition: background 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease); }
.value:hover .icon { background: var(--accent); color: #FBFAF4; transform: rotate(-6deg); }
.value-name { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); }
.value p { font-size: 15px; color: var(--ink-2); max-width: 34ch; }

@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- generic section ---------- */

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

/* ---------- who we serve ---------- */

.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.serve-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.serve-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(31, 42, 33, 0.06), 0 12px 28px rgba(31, 42, 33, 0.09);
}
.serve-card .icon, .value .icon, .term-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex: none;
}
.serve-card h3 { font-size: 19px; }
.serve-card p { font-size: 14.5px; color: var(--ink-2); }

@media (max-width: 980px) { .serve-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .serve-grid { grid-template-columns: 1fr; } }

/* ---------- the oil (dark) ---------- */

.oil { background: var(--dark); color: var(--on-dark); overflow: hidden; }
/* ribbon is the section's last element — sit it flush to the bottom edge */
.oil.section { padding-bottom: 0; }
.oil .eyebrow { color: var(--gold-bright); }
.oil .eyebrow::before { background: var(--gold-bright); }
.oil .lede { color: var(--on-dark-2); }

/* centered section header */
.oil-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto clamp(20px, 3vw, 40px);
}
.oil-head .oil-riolivo-logo { height: clamp(40px, 4.4vw, 58px); width: auto; align-self: center; margin-bottom: 2px; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-bright);
}
.oil-hint {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--on-dark-2);
}

/* big segmented character selector */
.oil-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto clamp(28px, 3.5vw, 44px);
}
.oil-select-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  background: transparent;
  border: 1px solid rgba(240, 236, 226, 0.3);
  border-radius: 999px;
  padding: 14px 30px;
  min-height: 48px;
  cursor: default;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.oil-select-btn:hover { border-color: rgba(223, 192, 154, 0.6); color: var(--on-dark); }
.oil-select-btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.oil-select-btn.active {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--dark);
}

/* duo layout: character panels flanking the bottle */
.oil-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.oil-duo .oil-stage { align-self: center; }

.character {
  position: relative;
  background: rgba(20, 35, 61, 0.45);
  border: 1px solid rgba(240, 236, 226, 0.16);
  border-radius: 12px;
  padding: clamp(24px, 2.6vw, 36px);
  min-height: clamp(330px, 32vw, 430px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  cursor: default;
  user-select: none;
  transition: border-color 220ms var(--ease), background 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.character:hover { border-color: rgba(223, 192, 154, 0.45); transform: translateY(-3px); }
.character:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.character.active {
  background: var(--dark-2);
  border-color: rgba(223, 192, 154, 0.7);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.character.active::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
}
.char-left { text-align: right; align-items: flex-end; }
.char-right { text-align: left; align-items: flex-start; }

.char-num { font-size: 12px; letter-spacing: 0.2em; color: var(--gold-bright); }
.char-name { font-size: clamp(24px, 2.4vw, 32px); color: var(--on-dark); }
.char-cultivar {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.char-acidity {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1;
  color: var(--gold-bright);
  margin: 8px 0 2px;
}
.char-acidity .char-acid-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-top: 6px;
}
.char-desc { font-size: 14.5px; line-height: 1.6; color: var(--on-dark-2); }
.char-for { font-size: 13.5px; color: var(--gold-bright); }
.char-left .char-for::after { content: " \2190"; }
.char-right .char-for::before { content: "\2192 "; }

.oil-riolivo-logo { height: clamp(38px, 4vw, 54px); width: auto; align-self: flex-start; margin-bottom: 6px; }

/* -- animated product stage -- */
.oil-stage {
  position: relative;
  min-height: clamp(500px, 50vw, 700px);
  display: grid;
  place-items: center;
}
.oil-stage::before,
.oil-stage::after {
  content: "";
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  transition: opacity 700ms var(--ease);
}
.oil-stage::before {
  background: radial-gradient(circle, rgba(223, 192, 154, 0.22), transparent 65%);
  opacity: 1;
}
.oil-stage::after {
  background: radial-gradient(circle, rgba(166, 196, 110, 0.22), transparent 65%);
  opacity: 0;
}
.oil-stage[data-glow="intense"]::before { opacity: 0; }
.oil-stage[data-glow="intense"]::after { opacity: 1; }
.oil-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  font-family: var(--font-display);
  font-size: clamp(90px, 11vw, 150px);
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 236, 226, 0.13);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.oil-ring {
  position: absolute;
  width: min(500px, 92%);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 3;
}
.oil-ring svg { width: 100%; height: 100%; display: block; }
.oil-ring text {
  fill: var(--gold-bright);
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
}
.oil-bottle-wrap { position: relative; z-index: 2; will-change: transform; }
/* on hover the bottle lifts above the rotating ring text */
.oil-bottle-wrap:hover { z-index: 5; }
/* dedicated hover-zoom layer — sits between parallax (wrap) and float (img)
   so the three transforms compose without clobbering one another */
.oil-bottle-scale {
  position: relative;
  display: block;
  transform-origin: center 62%;
  transition: transform 620ms var(--ease);
  will-change: transform;
}
.oil-bottle-wrap:hover .oil-bottle-scale { transform: scale(1.08); }
.oil-bottle {
  height: clamp(420px, 48vw, 620px);
  width: auto;
  filter: drop-shadow(0 36px 44px rgba(0, 0, 0, 0.5));
  transition: filter 620ms var(--ease);
}
.oil-bottle-wrap:hover .oil-bottle { filter: drop-shadow(0 48px 64px rgba(0, 0, 0, 0.62)); }
/* navy gradient overlay on the bottle — same treatment as the other images; fades on hover */
.oil-bottle-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(11, 23, 48, 0.55) 0%, rgba(11, 23, 48, 0.14) 48%, rgba(11, 23, 48, 0.04) 100%);
  transition: opacity 620ms var(--ease);
  opacity: 1;
}
.oil-bottle-wrap:hover .oil-bottle-shade { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .oil-ring svg { animation: oil-spin 46s linear infinite; }
  .oil-bottle { animation: oil-float 7s ease-in-out infinite; }
}
@keyframes oil-spin { to { transform: rotate(360deg); } }
@keyframes oil-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* shared facts ribbon — full-bleed, structured 5-up grid with dividers */
.oil-ribbon {
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid rgba(240, 236, 226, 0.14);
  border-bottom: 1px solid rgba(240, 236, 226, 0.14);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.oil-ribbon li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-align: center;
  padding: 22px clamp(14px, 1.8vw, 26px);
  border-left: 1px solid rgba(240, 236, 226, 0.12);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--on-dark-2);
}
.oil-ribbon li:first-child { border-left: none; }
.ribbon-mark { height: 18px; width: auto; opacity: 0.78; flex: none; }
@media (max-width: 900px) {
  .oil-ribbon {
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(20px, 4vw, 40px);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .oil-ribbon li {
    justify-content: flex-start; text-align: left;
    padding-left: 0; padding-right: 0;
    border-left: none; border-top: 1px solid rgba(240, 236, 226, 0.1);
  }
  .oil-ribbon li:nth-child(1), .oil-ribbon li:nth-child(2) { border-top: none; }
}
@media (max-width: 480px) {
  .oil-ribbon { grid-template-columns: 1fr; }
  .oil-ribbon li:nth-child(2) { border-top: 1px solid rgba(240, 236, 226, 0.1); }
}

/* directional reveals (gated like .reveal) */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-armed .reveal-left,
  html.reveal-armed .reveal-right {
    opacity: 0;
    transition: opacity 560ms var(--ease), transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.reveal-armed .reveal-left { transform: translateX(-30px); }
  html.reveal-armed .reveal-right { transform: translateX(30px); }
  html.reveal-armed .reveal-left.in,
  html.reveal-armed .reveal-right.in { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .oil-duo { grid-template-columns: 1fr; }
  .oil-duo .oil-stage { order: -1; }
  .char-left, .char-right { text-align: left; align-items: flex-start; }
  .char-left .char-for::after { content: ""; }
  .char-left .char-for::before { content: "\2192 "; }
}

/* ---------- export terms ---------- */

.export-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.term-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.term-card .term-big { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); color: var(--ink); }
.term-card h3 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.term-card p { font-size: 14.5px; color: var(--ink-2); }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* centered eyebrow (symmetric rules, colour follows text) */
.eyebrow--mid { justify-content: center; }
.eyebrow--mid::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* serpentine connector — weaves between the centered steps, stops at step 04 */
.process::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 12.5%;
  right: 12.5%;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='28'%20viewBox='0%200%2064%2028'%3E%3Cpath%20d='M0,14%20C10.67,10%2021.33,10%2032,14%20C42.67,18%2053.33,18%2064,14'%20fill='none'%20stroke='%235A6B33'%20stroke-width='2'%20stroke-opacity='0.5'%20stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
  background-size: 64px 28px;
}
.step { padding: 0 16px 8px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; position: relative; }
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.step:hover .step-num {
  background: var(--accent);
  color: #FBFAF4;
  border-color: var(--accent);
  transform: scale(1.08);
}
.step h3 { font-size: 19px; }
.step p { font-size: 14px; color: var(--ink-2); }

@media (max-width: 920px) {
  .export-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- packaging / white label ---------- */

.packaging { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pack-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pack-card image-slot { width: 100%; height: 180px; }
/* same navy gradient treatment as every other image, laid over the photo band */
.pack-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(11, 23, 48, 0.55) 0%, rgba(11, 23, 48, 0.14) 48%, rgba(11, 23, 48, 0.04) 100%);
}
.pack-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.pack-body h3 { font-size: 18px; }
.pack-body p { font-size: 14px; color: var(--ink-2); }

.whitelabel {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.whitelabel-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.whitelabel ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.whitelabel li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
  align-items: baseline;
}
.whitelabel li::before { content: "→"; color: var(--accent); flex: none; }

@media (max-width: 980px) {
  .pack-grid { grid-template-columns: repeat(2, 1fr); }
  .whitelabel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pack-grid { grid-template-columns: 1fr; }
  .whitelabel { padding: clamp(24px, 6vw, 32px); }
  /* the long CTA can't sit on one line on a phone — let it wrap and fill the width
     so it stops forcing the card wider than the viewport */
  .whitelabel-copy .btn { white-space: normal; width: 100%; justify-content: center; text-align: center; }
}

/* ---------- estate ---------- */

.estate-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.estate-grid image-slot { width: 100%; }
/* gallery cells — keep the mosaic UI; images crossfade and open a popup on click */
.estate-cell {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-alt);
  cursor: zoom-in;
}
.estate-cell:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.estate-cell .cell-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 760ms var(--ease), transform 700ms var(--ease);
}
.estate-cell:hover .cell-img { transform: scale(1.045); }
.cell-incoming { opacity: 0; }
.estate-cell.swapping .cell-incoming { opacity: 1; }
/* same navy gradient treatment as every other image */
.estate-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(11, 23, 48, 0.55) 0%, rgba(11, 23, 48, 0.14) 48%, rgba(11, 23, 48, 0.04) 100%);
  transition: opacity 300ms var(--ease);
}
.estate-cell:hover::after { opacity: 0.45; }
.estate-a { grid-column: span 7; height: clamp(280px, 34vw, 440px); }
.estate-b { grid-column: span 5; height: clamp(280px, 34vw, 440px); }
.estate-c { grid-column: span 5; height: clamp(220px, 26vw, 320px); }
.estate-d { grid-column: span 7; height: clamp(220px, 26vw, 320px); }

@media (max-width: 760px) {
  .estate-a, .estate-b, .estate-c, .estate-d { grid-column: span 12; height: 260px; }
}

.estate-foot {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.estate-foot p { max-width: 52ch; color: var(--ink-2); }

/* ---------- contact ---------- */

.contact { background: var(--dark); color: var(--on-dark); }
.contact .eyebrow { color: var(--gold-bright); }
.contact .eyebrow::before { background: var(--gold-bright); }
.contact .section-head { max-width: 760px; }
.contact .lede { color: var(--on-dark-2); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--dark-2);
  border: 1px solid rgba(242, 239, 228, 0.14);
  border-radius: 10px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}
.contact-card:hover { border-color: rgba(242, 239, 228, 0.4); transform: translateY(-2px); }
.contact-card .contact-kind { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); }
.contact-card .contact-value { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 23px); overflow-wrap: anywhere; }
.contact-card .contact-hint { font-size: 13.5px; color: var(--on-dark-2); }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.footer { background: var(--dark); color: var(--on-dark-2); border-top: 1px solid rgba(242, 239, 228, 0.12); position: relative; overflow: hidden; }
.footer-watermark {
  position: absolute;
  right: -50px;
  bottom: -90px;
  width: 320px;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}
.footer .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1560px;
  padding-top: 48px;
  padding-bottom: 40px;
  padding-left: clamp(32px, 4vw, 52px);
  padding-right: clamp(32px, 4vw, 52px);
  font-size: 14px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-lockup { display: flex; align-items: center; gap: 12px; }
.footer-mark { height: 40px; width: auto; }
.footer-brand .footer-wordmark { height: 23px; width: auto; filter: brightness(0) invert(0.95); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { white-space: nowrap; }
.footer-col a { text-decoration: none; transition: color 120ms var(--ease); }
.footer-col a:hover { color: var(--on-dark); }
.footer-legal { width: 100%; border-top: 1px solid rgba(242, 239, 228, 0.12); padding-top: 20px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- reveal ---------- */

/* Hidden state only applies while JS has confirmed a working IntersectionObserver
   (html.reveal-armed). If IO never fires, the class is removed and content fails open. */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-armed .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 480ms var(--ease), transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.reveal-armed .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   UX/UI ENHANCEMENTS
   Nav scroll-spy · mobile drawer · hero scroll cue · quote form
   ============================================================ */

/* ---------- focus-visible polish ---------- */
.btn:focus-visible,
.nav-links a:focus-visible,
.footer-col a:focus-visible,
.contact-card:focus-visible,
.lang-toggle button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero .btn:focus-visible,
.oil .btn:focus-visible,
.contact .btn:focus-visible,
.contact-card:focus-visible,
.lang-toggle button:focus-visible { outline-color: var(--gold-bright); }

/* ---------- sticky nav: scrolled state + active link ---------- */
.nav.scrolled {
  background: rgba(247, 243, 234, 0.97);
  box-shadow: 0 12px 30px rgba(11, 23, 48, 0.06);
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -7px;
  height: 2px;
  background: var(--accent);
  transition: right 220ms var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink); }

/* ---------- hamburger ---------- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
.nav-toggle:hover { background: rgba(31, 42, 33, 0.05); }
.nav-toggle-bars { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle-bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 240ms var(--ease), opacity 160ms var(--ease), top 240ms var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; margin-right: var(--gutter); }
  .nav-cta { display: none; }
}

/* ---------- mobile drawer ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.mobile-nav.open { visibility: visible; pointer-events: auto; }
.mobile-nav-backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 23, 48, 0.5);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 300ms var(--ease);
}
.mobile-nav.open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0;
  height: 100%; width: min(86vw, 360px);
  background: var(--dark); color: var(--on-dark);
  padding: 22px clamp(24px, 6vw, 34px) 30px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 340ms var(--ease);
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.42);
  overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel { transform: none; }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-nav-mark { height: 38px; width: auto; }
.mobile-nav-close {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(240, 236, 226, 0.2);
  border-radius: 8px; color: var(--on-dark); cursor: pointer;
  transition: background 160ms var(--ease);
}
.mobile-nav-close:hover { background: rgba(240, 236, 226, 0.08); }
.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 25px;
  color: var(--on-dark); text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid rgba(240, 236, 226, 0.1);
  transition: color 160ms var(--ease), padding-left 220ms var(--ease);
}
.mobile-nav-links a:hover { color: var(--gold-bright); padding-left: 6px; }
.mobile-nav-cta { margin-top: 22px; justify-content: center; }
.mobile-nav-foot { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.mobile-nav-foot a { color: var(--on-dark-2); text-decoration: none; }
.mobile-nav-foot a:hover { color: var(--on-dark); }

@media (prefers-reduced-motion: no-preference) {
  .mobile-nav-links a, .mobile-nav-cta {
    opacity: 0; transform: translateX(22px);
    transition: opacity 320ms var(--ease), transform 320ms var(--ease), color 160ms var(--ease), padding-left 220ms var(--ease);
  }
  .mobile-nav.open .mobile-nav-links a, .mobile-nav.open .mobile-nav-cta { opacity: 1; transform: none; }
  .mobile-nav.open .mobile-nav-links a:nth-child(1) { transition-delay: 130ms; }
  .mobile-nav.open .mobile-nav-links a:nth-child(2) { transition-delay: 180ms; }
  .mobile-nav.open .mobile-nav-links a:nth-child(3) { transition-delay: 230ms; }
  .mobile-nav.open .mobile-nav-links a:nth-child(4) { transition-delay: 280ms; }
  .mobile-nav.open .mobile-nav-links a:nth-child(5) { transition-delay: 330ms; }
  .mobile-nav.open .mobile-nav-cta { transition-delay: 390ms; }
}

/* ---------- hero scroll cue ---------- */
.hero-scroll {
  align-self: center;
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 6px;
  text-decoration: none;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(240, 236, 226, 0.7);
  transition: color 200ms var(--ease);
}
.hero-scroll:hover { color: #fff; }
.hero-scroll-line {
  width: 1px; height: 46px; position: relative; overflow: hidden;
  background: linear-gradient(to bottom, rgba(240, 236, 226, 0.55), transparent);
}
.hero-scroll-line::after {
  content: ""; position: absolute; left: 0; top: -55%;
  width: 100%; height: 55%; background: var(--gold-bright);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scroll-line::after { animation: scroll-drip 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
}
@keyframes scroll-drip { 0% { top: -55%; } 65%, 100% { top: 100%; } }
@media (max-width: 920px) { .hero-scroll { display: none; } }

/* ---------- quote form + contact layout ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 920px) { .contact-layout { grid-template-columns: 1fr; } }

.quote-form { display: flex; flex-direction: column; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.quote-form label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark-2);
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 15px;
  color: var(--on-dark);
  background: rgba(240, 236, 226, 0.05);
  border: 1px solid rgba(240, 236, 226, 0.18);
  border-radius: 8px;
  padding: 13px 15px;
  appearance: none; -webkit-appearance: none;
  transition: border-color 160ms var(--ease), background 160ms var(--ease), box-shadow 160ms var(--ease);
}
.quote-form textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: rgba(180, 191, 208, 0.55); }
.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover { border-color: rgba(240, 236, 226, 0.32); }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
  background: rgba(240, 236, 226, 0.08);
  box-shadow: 0 0 0 3px rgba(223, 192, 154, 0.18);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--on-dark-2);
  border-bottom: 1.5px solid var(--on-dark-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.quote-form select { cursor: pointer; padding-right: 38px; }
.quote-form select option { color: #15233D; }

.form-foot { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-submit { width: 100%; justify-content: center; padding: 17px 28px; }
.form-submit:disabled { opacity: 0.6; cursor: progress; }
.form-note { font-size: 13px; color: var(--on-dark-2); }
.form-error { font-size: 13px; color: #f0a08f; }
.form-error[hidden] { display: none; }

/* Honeypot — kept in the DOM for bots, hidden from people and assistive tech */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-success {
  text-align: center;
  padding: clamp(28px, 5vw, 56px) 0;
  flex-direction: column; align-items: center; gap: 14px;
}
.form-success:not([hidden]) { display: flex; }
.form-success-mark {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(166, 196, 110, 0.14);
  border: 1px solid var(--gold-bright);
  color: var(--gold-bright);
}
.form-success h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); color: var(--on-dark); }
.form-success p { color: var(--on-dark-2); max-width: 48ch; font-size: 15px; }

.contact-aside { display: flex; flex-direction: column; gap: 14px; }
.contact-aside-title {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark-2);
}
.contact-aside .contact-card { padding: 22px; }

/* ---------- heritage: family photo cover + warm story card ---------- */
.heritage {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: clamp(560px, 80vh, 840px);
  padding: clamp(48px, 7vw, 100px) 0;
  overflow: hidden;
  background: var(--dark);
}
.heritage-bg { position: absolute; inset: 0; }
.heritage-bg picture { display: block; width: 100%; height: 100%; }
/* focus nudged ~80px right and ~50px up */
.heritage-bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* card now sits at the top, so nudge the image focus down a touch to reveal more sky/canopy below it */
  object-position: 50% 30%;
}
/* dark gradient wash so the photo sits back behind the content */
.heritage-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 23, 48, 0.72) 0%, rgba(11, 23, 48, 0.46) 45%, rgba(11, 23, 48, 0.28) 100%),
    linear-gradient(to top, rgba(11, 23, 48, 0.5), transparent 55%);
}
.heritage .container { position: relative; width: 100%; }
.heritage-card {
  position: relative;
  max-width: 505px;
  background: rgba(11, 23, 48, 0.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 236, 226, 0.22);
  border-radius: 18px;
  padding: clamp(30px, 3.3vw, 48px);
  box-shadow: 0 30px 60px rgba(11, 23, 48, 0.3);
  display: flex; flex-direction: column;
  gap: clamp(14px, 1.6vw, 20px);
  align-items: flex-start;
  color: var(--on-dark);
  overflow: hidden;
}
.heritage-card .eyebrow { color: var(--gold-bright); }
.heritage-card .eyebrow::before { background: var(--gold-bright); }
.heritage-card h2 { color: #FFFFFF; }
.heritage-text { color: rgba(240, 236, 226, 0.9); font-size: clamp(15px, 1.35vw, 16.5px); }
.heritage-card .btn { margin-top: 4px; }
.heritage-loc {
  position: absolute; z-index: 1;
  right: clamp(16px, 3vw, 44px); bottom: clamp(14px, 2.4vw, 30px);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(240, 236, 226, 0.82);
  text-shadow: 0 1px 6px rgba(11, 23, 48, 0.5);
}
@media (max-width: 700px) {
  /* The bottle sits ~70% across the source image; on narrow screens the default
     centered crop drops it off the right edge, so shift the focus rightward. */
  .hero-bg img { object-position: 74% center; }

  .heritage {
    align-items: flex-start;
    min-height: clamp(580px, 90vh, 740px);
    padding-top: clamp(28px, 7vw, 48px);
  }
  /* dedicated mobile crop is already framed (sky up top, family low); just keep it centered */
  .heritage-bg img { object-position: 40% 40%; }
  .heritage-bg::after {
    background:
      linear-gradient(to top, rgba(11, 23, 48, 0.7) 0%, rgba(11, 23, 48, 0.34) 55%, rgba(11, 23, 48, 0.22) 100%);
  }
  .heritage-card { max-width: none; }
}

/* ---------- transparency ledger (dark, percentage breakdown) ---------- */
.ledger-sec { background: var(--dark); color: var(--on-dark); }
.ledger-sec .eyebrow { color: var(--gold-bright); }
.ledger-sec .eyebrow::before { background: var(--gold-bright); }
.ledger-sec .lede { color: var(--on-dark-2); }
.ledger {
  background: var(--dark-2);
  border: 1px solid rgba(240, 236, 226, 0.14);
  border-radius: 16px;
  padding: clamp(22px, 3.4vw, 44px);
}
.ledger-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
.ledger-product { font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); color: var(--on-dark); }
.ledger-total { display: flex; flex-direction: column; align-items: flex-end; }
.ledger-total-num { font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--gold-bright); }
.ledger-total-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 5px; }

.ledger-bar {
  display: flex; width: 100%; height: 56px;
  gap: 3px; border-radius: 10px; overflow: hidden;
}
.ledger-seg { height: 100%; width: var(--w); }
.seg-1 { background: #DFC09A; }
.seg-2 { background: #C9A87C; }
.seg-3 { background: #A68868; }
.seg-4 { background: #7E8B5A; }
.seg-5 { background: #5A6B33; }
@media (prefers-reduced-motion: no-preference) {
  .ledger-seg { transition: width 900ms cubic-bezier(0.16, 1, 0.3, 1); }
  html.reveal-armed .ledger .ledger-seg { width: 0; }
  html.reveal-armed .ledger.in .ledger-seg { width: var(--w); }
  html.reveal-armed .ledger.in .seg-2 { transition-delay: 80ms; }
  html.reveal-armed .ledger.in .seg-3 { transition-delay: 160ms; }
  html.reveal-armed .ledger.in .seg-4 { transition-delay: 240ms; }
  html.reveal-armed .ledger.in .seg-5 { transition-delay: 320ms; }
}

.ledger-legend { list-style: none; margin-top: 26px; display: flex; flex-direction: column; }
.ledger-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  grid-template-areas: "dot name pct" ". note note";
  align-items: center; gap: 4px 14px;
  padding: 16px 0; border-top: 1px solid rgba(240, 236, 226, 0.1);
}
.ledger-row:first-child { border-top: none; }
.dot { grid-area: dot; width: 12px; height: 12px; border-radius: 50%; }
.dot-1 { background: #DFC09A; }
.dot-2 { background: #C9A87C; }
.dot-3 { background: #A68868; }
.dot-4 { background: #7E8B5A; }
.dot-5 { background: #5A6B33; }
.ledger-row-name { grid-area: name; font-weight: 600; font-size: 15px; color: var(--on-dark); }
.ledger-row-pct { grid-area: pct; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.ledger-row-note { grid-area: note; font-size: 13.5px; color: var(--on-dark-2); max-width: 64ch; }
.ledger-foot { margin-top: 20px; font-size: 12.5px; font-style: italic; color: var(--on-dark-2); }

@media (max-width: 560px) {
  .ledger-bar { height: 44px; }
  .ledger-row-note { font-size: 13px; }
}

/* ---------- proof / trusted band ---------- */
.proof { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-bottom: clamp(40px, 5vw, 60px);
}
.proof-stat {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(6px, 2vw, 18px) clamp(16px, 2.6vw, 36px);
  border-left: 1px solid var(--line);
}
.proof-stat:first-child { border-left: none; padding-left: 0; }
.proof-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 4.6vw, 58px); line-height: 0.98; color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.proof-label { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 760px) {
  .proof-stats { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .proof-stat { padding: 0 22px; }
  .proof-stat:nth-child(odd) { border-left: none; padding-left: 0; }
}
@media (max-width: 420px) {
  .proof-stats { grid-template-columns: 1fr; }
  .proof-stat { border-left: none; padding-left: 0; }
}
.proof-certs { display: flex; flex-direction: column; gap: 16px; }
.proof-certs-title { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.proof-certs-row { display: flex; flex-wrap: wrap; gap: 16px; }
.proof-certs-row image-slot { width: clamp(120px, 16vw, 162px); height: 78px; }

/* ---------- typography hierarchy: lift card titles ---------- */
.fact-num { font-variant-numeric: tabular-nums; }
.serve-card h3 { font-size: 21px; }
.step h3 { font-size: 21px; }
.pack-body h3 { font-size: 20px; }

/* ---------- testimonials (what chefs say) ---------- */
.testimonials { background: var(--dark); color: var(--on-dark); }
.testimonials .eyebrow { color: var(--gold-bright); }
.testimonials .eyebrow::before { background: var(--gold-bright); }
.testimonials .lede { color: var(--on-dark-2); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--dark-2);
  border: 1px solid rgba(240, 236, 226, 0.14);
  border-radius: 14px;
  padding: clamp(26px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.testimonial:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 192, 154, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: clamp(50px, 4vw, 66px);
  line-height: 0.5;
  color: var(--gold-bright);
  margin-bottom: 4px;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.42;
  color: var(--on-dark);
  flex: 1;
  text-wrap: pretty;
}
.testimonial-by { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.testimonial-by image-slot { width: 50px; height: 50px; flex: none; }
.by-text { display: flex; flex-direction: column; gap: 3px; }
.by-name { font-family: var(--font-display); font-size: 17px; color: var(--on-dark); }
.by-role { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); }

@media (max-width: 920px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---------- lightbox (estate gallery popup) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 280ms var(--ease), visibility 0s linear 280ms;
}
.lightbox.open { visibility: visible; opacity: 1; transition-delay: 0s; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 23, 48, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1100px, 92vw);
  pointer-events: none;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox-img { transform: scale(0.96); transition: transform 320ms var(--ease); }
  .lightbox.open .lightbox-img { transform: scale(1); }
}
.lightbox-cap {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.lightbox-btn {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(240, 236, 226, 0.3);
  background: rgba(20, 35, 61, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--on-dark);
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.lightbox-btn:hover { background: rgba(20, 35, 61, 0.85); border-color: var(--gold-bright); transform: scale(1.06); }
.lightbox-btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.lightbox-close { top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); }
.lightbox-prev { left: clamp(10px, 2.6vw, 30px); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(10px, 2.6vw, 30px); top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 560px) {
  .lightbox-img { max-height: 68vh; }
  .lightbox-btn { width: 42px; height: 42px; }
}
