/* =========================================================
   Malekan - Premium Raisins & Dried Fruits
   Recreated from malekan.ae · Site by helpfuladvertising.com
   ========================================================= */

:root {
  --cream: #FEFAEF;
  --cream-2: #FBF3E4;
  --green: #004433;
  --brown: #A1653A;
  --terra: #BD7746;
  --gold: #CA9E67;
  --tan: #CBBBA0;
  --ink: #212121;
  --slate: #575A5B;
  --white: #FFFFFF;
  --muted: #6b6257;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --radius: 18px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

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

::selection { background: var(--gold); color: var(--green); }

html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.18; color: var(--green); letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.center { text-align: center; }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(900px 620px at 50% 38%, #0a5a45, var(--green) 70%);
  display: grid; place-items: center;
  transition: transform .9s var(--ease-out);
}
.preloader.done { transform: translateY(-100%); }
.preloader.done .preloader-inner { opacity: 0; transform: translateY(-26px); }
/* corner brackets instead of a full keyline: no stray side lines on narrow screens */
.preloader::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .1;
  animation: lattice-breathe 4.5s ease-in-out infinite alternate;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23CA9E67' stroke-opacity='.5'%3E%3Crect x='19' y='19' width='34' height='34'/%3E%3Crect x='19' y='19' width='34' height='34' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(closest-side at 50% 42%, transparent 30%, #000);
  mask-image: radial-gradient(closest-side at 50% 42%, transparent 30%, #000);
}
.preloader-frame {
  position: absolute; inset: 20px; pointer-events: none;
  background:
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 0 0 / 36px 1px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 0 0 / 1px 36px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 100% 0 / 36px 1px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 100% 0 / 1px 36px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 0 100% / 36px 1px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 0 100% / 1px 36px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 100% 100% / 36px 1px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 100% 100% / 1px 36px;
  background-repeat: no-repeat;
  animation: frame-in 1s .2s var(--ease-out) backwards;
}
@media (max-width: 560px) { .preloader-frame { inset: 14px; } }
@keyframes frame-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes lattice-breathe { from { opacity: .06; } to { opacity: .14; } }
.preloader-inner {
  text-align: center; position: relative;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.preloader-eyebrow {
  color: rgba(202,158,103,.85);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .38em; text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0; animation: fade-in .7s .25s var(--ease) forwards;
}
.preloader-word { overflow: hidden; display: flex; justify-content: center; gap: .04em; }
.preloader-word span {
  font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5rem);
  color: var(--cream); letter-spacing: .1em; display: inline-block;
  background: linear-gradient(110deg, var(--cream) 42%, #fff3da 50%, var(--cream) 58%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transform: translateY(120%);
  animation: letter-rise .7s var(--ease-out) forwards, word-sheen 2.8s 1.2s ease-in-out infinite;
}
@keyframes word-sheen { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
.preloader-word span:nth-child(1){animation-delay:.05s}
.preloader-word span:nth-child(2){animation-delay:.11s}
.preloader-word span:nth-child(3){animation-delay:.17s}
.preloader-word span:nth-child(4){animation-delay:.23s}
.preloader-word span:nth-child(5){animation-delay:.29s}
.preloader-word span:nth-child(6){animation-delay:.35s}
.preloader-word span:nth-child(7){animation-delay:.41s}
@keyframes letter-rise { to { transform: translateY(0); } }
/* gold rule that draws outward from a centre diamond */
.preloader-rule {
  position: relative; height: 1px; margin: 22px auto 0;
  width: min(300px, 60vw);
  background: linear-gradient(90deg, transparent, rgba(202,158,103,.75), transparent);
  transform: scaleX(0);
  animation: rule-draw .8s .55s var(--ease-out) forwards;
}
@keyframes rule-draw { to { transform: scaleX(1); } }
.preloader-rule i {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-style: normal; color: var(--gold); font-size: .8rem;
  background: transparent; padding: 0 10px;
  animation: diamond-spin 6s linear infinite, diamond-glow 1.8s ease-in-out infinite;
}
@keyframes diamond-glow { 0%, 100% { text-shadow: 0 0 4px rgba(202,158,103,.3); } 50% { text-shadow: 0 0 14px rgba(202,158,103,.95); } }
@keyframes diamond-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.preloader-sub {
  margin-top: 20px; color: var(--gold);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  opacity: 0; animation: fade-in .8s .8s var(--ease) forwards;
}
@keyframes fade-in { to { opacity: 1; } }

/* =========================================================
   FILM GRAIN
   ========================================================= */
/* sits above the hero backdrop only; main content (z2+) covers it */
.grain {
  position: fixed; inset: -100px; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .045;
  animation: grain-shift 1.2s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0,0); }
  25% { transform: translate(-40px,30px); }
  50% { transform: translate(30px,-45px); }
  75% { transform: translate(-25px,-20px); }
  100% { transform: translate(0,0); }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.72rem; font-weight: 600;
  color: var(--brown); margin-bottom: 18px;
}
.eyebrow.light { color: var(--gold); }

/* ---------- Buttons (glow effect) ---------- */
.btn {
  display: inline-block; position: relative; overflow: hidden;
  font-family: var(--sans); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 34px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: box-shadow .45s var(--ease), filter .45s var(--ease), transform .2s, letter-spacing .45s var(--ease);
  white-space: nowrap; will-change: transform, box-shadow;
}
/* light sheen sweeps across on hover */
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,243,218,.32) 50%, transparent 68%);
  transform: translateX(-130%);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(130%); transition: transform .8s var(--ease); }
.btn:hover { letter-spacing: .17em; }
.btn-solid {
  background: var(--green); color: var(--cream);
  box-shadow: 0 0 12px rgba(202,158,103,.22), 0 0 28px rgba(202,158,103,.1);
}
.btn-solid:hover, .btn-solid:focus-visible {
  filter: brightness(1.1);
  animation: btn-glow 1.9s var(--ease) infinite;
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 0 14px rgba(202,158,103,.55), 0 0 36px rgba(202,158,103,.32), 0 0 68px rgba(202,158,103,.16); }
  50%      { box-shadow: 0 0 20px rgba(202,158,103,.75), 0 0 52px rgba(202,158,103,.45), 0 0 96px rgba(202,158,103,.24); }
}
.btn-sm { padding: 12px 24px; font-size: 0.74rem; }

/* =========================================================
   HEADER
   ========================================================= */
/* floating pill navbar */
.site-header {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--maxw));
  z-index: 60;
  background: rgba(254,250,239,.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(203,187,160,.45);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(0,68,51,.12);
  padding: 9px 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), top .4s var(--ease);
}
.site-header.scrolled {
  top: 10px;
  background: rgba(254,250,239,.94);
  box-shadow: 0 16px 44px rgba(0,68,51,.2);
}
.main-nav a.active { color: var(--brown); font-weight: 600; }
.main-nav a.active::after { width: 100%; }
/* brand | centered links | actions */
.header-inner {
  padding: 0 12px 0 30px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 20px;
}
.brand { justify-self: start; grid-column: 1; }
.brand-word { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: .14em; color: var(--green); }

.site-header::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, rgba(202,158,103,.6), rgba(202,158,103,.08) 32%, rgba(202,158,103,.08) 68%, rgba(202,158,103,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.main-nav { display: flex; gap: 28px; justify-self: center; grid-column: 2; }
.main-nav a {
  font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--green);
  position: relative; padding: 8px 0;
  transition: color .3s var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; border-radius: 2px;
  background: var(--gold); transform: translateX(-50%); transition: width .35s var(--ease);
}
.main-nav a:hover { color: var(--brown); }
.main-nav a:hover::after { width: 100%; }

/* Products dropdown */
.nav-item { position: relative; display: flex; }
.nav-item::before { content: ""; position: absolute; top: 100%; left: -24px; right: -24px; height: 20px; }
.nav-drop {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 218px; padding: 10px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(254,250,239,.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(202,158,103,.4); border-radius: 18px;
  box-shadow: 0 24px 48px rgba(0,68,51,.18);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s;
}
.nav-drop a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 10px;
  font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--green);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav-drop a::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none; opacity: .7; }
.nav-drop a:hover { background: rgba(202,158,103,.14); color: var(--brown); }

.header-actions { justify-self: end; grid-column: 3; display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: inline-block;
  background: var(--green); color: var(--cream);
  font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 24px; border-radius: 999px;
  box-shadow: 0 0 12px rgba(202,158,103,.22);
  transition: box-shadow .45s var(--ease), filter .45s var(--ease);
}
.nav-cta:hover, .nav-cta:focus-visible { filter: brightness(1.1); animation: btn-glow 1.9s var(--ease) infinite; }

/* animated 2-line hamburger in a circular chip */
.menu-toggle {
  display: none; position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(0,68,51,.28); background: transparent;
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.menu-toggle span {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 17px; height: 2px; border-radius: 2px;
  background: var(--green);
  transition: width .35s var(--ease), transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; width: 11px; }
.menu-toggle::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  border: 1px solid rgba(202,158,103,0); transition: border-color .35s var(--ease), transform .35s var(--ease);
  transform: scale(.8);
}
.menu-toggle:hover { border-color: var(--gold); background: rgba(202,158,103,.14); }
.menu-toggle:hover::after { border-color: rgba(202,158,103,.55); transform: scale(1); }
.menu-toggle:hover span:nth-child(2) { width: 17px; }
.menu-toggle:hover span:nth-child(1) { width: 11px; }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80;
  background: radial-gradient(900px 620px at 50% 38%, #0a5a45, var(--green) 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-nav::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23CA9E67' stroke-opacity='.5'%3E%3Crect x='19' y='19' width='34' height='34'/%3E%3Crect x='19' y='19' width='34' height='34' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav-frame {
  position: absolute; inset: 14px; pointer-events: none;
  background:
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 0 0 / 30px 1px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 0 0 / 1px 30px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 100% 0 / 30px 1px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 100% 0 / 1px 30px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 0 100% / 30px 1px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 0 100% / 1px 30px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 100% 100% / 30px 1px,
    linear-gradient(rgba(202,158,103,.7), rgba(202,158,103,.7)) 100% 100% / 1px 30px;
  background-repeat: no-repeat;
}
.mobile-brand {
  position: absolute; top: 34px; left: 0; right: 0; text-align: center;
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.05rem;
  letter-spacing: .22em; color: var(--cream); direction: ltr;
}
.mobile-nav nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-nav nav a {
  position: relative; font-family: var(--serif); font-size: 1.9rem; color: var(--cream); padding: 8px 26px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s var(--ease) var(--d, 0s), transform .55s var(--ease) var(--d, 0s), color .3s var(--ease) 0s;
}
.mobile-nav.open nav a { opacity: 1; transform: none; }
.mobile-nav.open nav a:nth-child(1) { --d: .10s; }
.mobile-nav.open nav a:nth-child(2) { --d: .16s; }
.mobile-nav.open nav a:nth-child(3) { --d: .22s; }
.mobile-nav.open nav a:nth-child(4) { --d: .28s; }
.mobile-nav.open nav a:nth-child(5) { --d: .34s; }
.mobile-nav.open nav a:nth-child(6) { --d: .40s; }
.mobile-nav nav { counter-reset: mnav; }
.mobile-nav nav a { counter-increment: mnav; }
.mobile-nav nav a::after {
  content: counter(mnav, decimal-leading-zero);
  position: absolute; inset-inline-start: -16px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .08em;
  color: rgba(202,158,103,.7);
}
.mobile-nav nav a::before {
  content: ""; position: absolute; inset-inline-end: 0; top: 50%;
  width: 6px; height: 6px; margin-top: -3px; background: var(--gold);
  transform: rotate(45deg) scale(0); transition: transform .3s var(--ease);
}
.mobile-nav nav a:hover { color: var(--gold); }
.mobile-nav nav a:hover::before { transform: rotate(45deg) scale(1); }
.mobile-nav .orn-div { margin-top: 26px; opacity: 0; transition: opacity .6s var(--ease) .45s; }
.mobile-nav.open .orn-div { opacity: 1; }
.mobile-close {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(254,250,239,.35);
  color: var(--cream); font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .45s var(--ease);
}
.mobile-close:hover, .mobile-close:focus-visible {
  border-color: var(--gold); background: rgba(202,158,103,.16); transform: rotate(90deg);
}
.mobile-tagline {
  position: absolute; top: 66px; left: 0; right: 0; text-align: center;
  color: rgba(202,158,103,.8); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.mobile-contact { position: absolute; bottom: 86px; display: flex; align-items: center; gap: 14px; font-size: .92rem; }
.mobile-contact a { color: rgba(254,250,239,.85); transition: color .3s var(--ease); }
.mobile-contact a:hover { color: var(--gold); }
.mobile-contact span { color: var(--gold); font-size: .7rem; }
.mobile-socials { position: absolute; bottom: 40px; display: flex; gap: 24px; }
.mobile-socials a { color: var(--gold); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; transition: color .3s var(--ease); }
.mobile-socials a:hover { color: var(--cream); }

/* =========================================================
   HERO - sticky, parallax bg, 3 front layers, graphics
   ========================================================= */
/* scroll media expansion: tall wrapper, sticky stage inside */
.hero-wrap { position: relative; height: 230vh; z-index: 0; }
.hero {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh;
  display: grid; place-items: center; text-align: center;
  overflow: hidden;
  background: radial-gradient(900px 460px at 50% 20%, var(--cream-2), transparent 70%), var(--cream);
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  will-change: transform;
  transform-origin: 50% 36%; /* zoom drives toward the mountain peak */
}
.hero-bg > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
}
/* cinematic scrim: darkens the photo for text contrast, zooms with it */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 40%, rgba(0,28,21,.38) 100%),
    linear-gradient(180deg, rgba(0,36,27,.40) 0%, rgba(0,36,27,.44) 45%, rgba(0,30,22,.66) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 6%; max-width: 980px;
  will-change: transform, opacity;
}
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: rgba(254,250,239,.92);
  font-size: clamp(.62rem, .9vw, .74rem); font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase;
  margin-bottom: 26px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s .15s var(--ease), transform .8s .15s var(--ease);
}
body.loaded .hero-eyebrow { opacity: 1; transform: none; }
.hero-eyebrow::before, .hero-eyebrow::after { content: "\2726"; color: var(--gold); margin: 0 14px; font-size: .8em; vertical-align: 1px; }

/* drifting gold dust in the hero */
.hero-dust { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hero-dust i {
  position: absolute; bottom: -8px; width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,232,190,.95), rgba(202,158,103,.45) 60%, transparent 75%);
  opacity: 0;
  animation: dust-rise 11s linear infinite, dust-twinkle 2.6s ease-in-out infinite;
}
.hero-dust i:nth-child(1) { left: 8%;  animation-delay: 0s, .3s;  transform: scale(.8); }
.hero-dust i:nth-child(2) { left: 22%; animation-delay: 2.4s, .9s; }
.hero-dust i:nth-child(3) { left: 37%; animation-delay: 5.1s, 0s;  transform: scale(.6); }
.hero-dust i:nth-child(4) { left: 55%; animation-delay: 1.2s, 1.4s; transform: scale(1.15); }
.hero-dust i:nth-child(5) { left: 68%; animation-delay: 6.6s, .6s; }
.hero-dust i:nth-child(6) { left: 81%; animation-delay: 3.8s, 1.9s; transform: scale(.7); }
.hero-dust i:nth-child(7) { left: 92%; animation-delay: 8.2s, .2s;  transform: scale(.9); }
@keyframes dust-rise {
  0% { bottom: -3%; opacity: 0; }
  8% { opacity: .85; }
  85% { opacity: .5; }
  100% { bottom: 104%; opacity: 0; }
}
@keyframes dust-twinkle { 50% { filter: brightness(1.6); } }
.hero-title {
  font-family: var(--serif); font-weight: 600;
  color: var(--cream);
  font-size: clamp(36px, 5.4vw, 78px);
  line-height: 1.12;
  letter-spacing: .01em;
}
.hero-ctas {
  margin-top: 34px;
  display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s .5s var(--ease), transform .8s .5s var(--ease);
}
body.loaded .hero-ctas { opacity: 1; transform: none; }
/* soft image-side scrim behind the title block: keeps cream text readable over the snowy peak */
.hero-content::before {
  content: ""; position: absolute; z-index: -1;
  inset: -14% -18%;
  background: radial-gradient(58% 62% at 50% 46%, rgba(0,30,22,.42), rgba(0,30,22,.18) 62%, transparent 78%);
  pointer-events: none;
}
/* warm CTA reads clearly against the green vineyard */
.hero-ctas .btn-solid { background: linear-gradient(135deg, var(--terra), var(--brown)); }
.hero-link {
  display: inline-block;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
  background: rgba(254,250,239,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0,68,51,.32);
  padding: 13px 28px; border-radius: 999px;
  transition: color .3s var(--ease), border-color .3s, background .3s;
}
.hero-link span { display: inline-block; transition: transform .3s var(--ease); }
.hero-link:hover { color: var(--brown); border-color: var(--gold); background: rgba(254,250,239,.9); }
.hero-link:hover span { transform: translateX(5px); }

/* gooey text morphing */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.gooey-defs { position: absolute; width: 0; height: 0; }
.hero-title.gooey {
  position: relative;
  height: 1.3em;
  width: 100%;
}
/* threshold filter only while morphing, so resting text stays crisp */
.hero-title.gooey.morphing { filter: url(#gooey-threshold); }
.gooey-text {
  position: absolute; inset: 0;
  width: 100%; text-align: center;
  user-select: none; will-change: filter, opacity;
}
/* fallback: no rAF or reduced motion -> static stacked lines */
.hero-title.gooey.gooey-static { height: auto; filter: none; }
.gooey-static .gooey-text { position: static; display: block; filter: none !important; opacity: 1 !important; }
.hero-kicker {
  margin: 22px auto 0;
  max-width: 54ch;
  font-size: clamp(.95rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  font-weight: 500;
  color: rgba(254,250,239,.94);
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s .32s var(--ease), transform .8s .32s var(--ease);
}
body.loaded .hero-kicker { opacity: 1; transform: none; }

/* split-text: words rise from clipped lines */
.split .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .1em 0 .14em; margin: -.1em 0 -.14em; }
.split .word > i {
  display: inline-block; font-style: inherit;
  transform: translateY(115%);
  transition: transform .85s var(--ease-out);
}
.split.in .word > i { transform: translateY(0); }


/* front branch layers */
.hero-layer { position: absolute; z-index: 3; pointer-events: none; will-change: transform; }
.hero-layer-branch-left { top: -3vh; left: -60px; width: clamp(180px, 24vw, 380px); transform-origin: top left; }
.hero-layer-branch-right { top: -4vh; right: -70px; width: clamp(200px, 27vw, 430px); transform-origin: top right; }

.hero-scroll-hint {
  position: absolute; z-index: 4; bottom: 26px; left: 50%;
  width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgba(254,250,239,.6); border-radius: 14px;
  display: block; cursor: pointer;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.hero-scroll-hint:hover, .hero-scroll-hint:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(202,158,103,.5);
  transform: translateY(3px);
}

/* golden-hour light rays: slow ambient beams sweep the vineyard */
.hero-rays { position: absolute; inset: -10% -20%; z-index: 2; pointer-events: none; mix-blend-mode: soft-light; }
.hero-rays::before, .hero-rays::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(108deg, transparent 20%, rgba(255,236,190,.6) 28%, transparent 35%, transparent 52%, rgba(255,236,190,.4) 60%, transparent 68%);
  animation: rays-pan 17s ease-in-out infinite alternate;
}
.hero-rays::after {
  background: linear-gradient(98deg, transparent 38%, rgba(255,228,170,.45) 47%, transparent 56%);
  animation-duration: 23s; animation-delay: -9s;
}
@keyframes rays-pan { from { transform: translateX(-5%); } to { transform: translateX(5%); } }

/* the gooey title invites a tap: it re-morphs on click */
.hero-title.gooey { cursor: pointer; }
.hero-title.poked { animation: title-pop .5s var(--ease); }
@keyframes title-pop { 30% { transform: scale(.972); } }
.hero-scroll-hint span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--terra);
  animation: hint-drop 1.8s var(--ease) infinite;
}
@keyframes hint-drop { 0%{ transform: translateY(0); opacity: 1;} 70%{ transform: translateY(14px); opacity: 0;} 100%{ opacity: 0;} }

/* Everything after the hero slides over it */
.over-hero { position: relative; z-index: 2; background: var(--cream); box-shadow: 0 -30px 60px rgba(0,44,33,.18); }
/* keep page content and footer above the grain layer */
main { position: relative; z-index: 2; }
.site-footer { z-index: 2; }

/* =========================================================
   PAGE HERO (subpage banners)
   ========================================================= */
.page-hero {
  position: relative;
  min-height: clamp(320px, 52vh, 520px);
  display: grid; place-items: center; text-align: center;
  overflow: hidden;
  padding: 140px 24px 70px;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,40,30,.58), rgba(0,32,24,.38) 45%, rgba(0,26,19,.62)); }
.page-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero-inner .eyebrow { color: var(--gold); }
.page-hero-inner h1 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; }
.page-hero-inner p { color: rgba(254,250,239,.85); margin-top: 16px; font-size: 1.02rem; }

/* =========================================================
   SECTIONS SHARED
   ========================================================= */
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.section-lead { color: var(--muted); margin-top: 16px; }
.section-lead.light { color: rgba(254,250,239,.78); }

.products { background: radial-gradient(1200px 500px at 50% -10%, var(--cream-2), transparent 60%), var(--cream); }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 46px); }
.category-card { text-align: center; padding: 28px 18px; border-radius: var(--radius); transition: transform .4s var(--ease), background .4s, box-shadow .4s; }
.category-card:hover { transform: translateY(-8px); background: var(--white); box-shadow: 0 24px 48px rgba(0,68,51,.1); }
.cat-img {
  width: clamp(150px, 16vw, 200px); height: clamp(150px, 16vw, 200px); margin: 0 auto 20px;
  display: grid; place-items: center;
  transition: transform .5s var(--ease);
}
.cat-img img {
  width: 94%; height: 94%; object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0,68,51,.22));
  will-change: transform;
}
.category-card:hover .cat-img { transform: scale(1.06) rotate(-2deg); }
.category-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.category-card p { color: var(--muted); font-size: .9rem; }

/* Signature / QA */
.signature { background: var(--green); color: var(--cream); }
.signature .section-head h2 { color: var(--cream); }
.signature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); margin-bottom: 56px; }
.sig-card { position: relative; background: rgba(254,250,239,.06); border: 1px solid rgba(203,187,160,.22); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.sig-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.sig-img { aspect-ratio: 4/3; overflow: hidden; }
.sig-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sig-card:hover .sig-img img { transform: scale(1.07); }
.sig-card h3 { color: var(--cream); font-size: 1.4rem; margin: 22px 24px 26px; text-align: center; }

/* image mask reveal */
.img-mask { position: relative; overflow: hidden; }
.img-mask img { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-out); }
.img-mask.in img { clip-path: inset(0 0 0 0); }

/* About */
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split-cols.reverse .split-media { order: 2; }
.split-text h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 22px; }
.split-text p { margin-bottom: 18px; color: var(--muted); max-width: 52ch; }
.about-motto { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--brown); }
.split-media { position: relative; }
.split-media .img-mask { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,68,51,.16); }
.split-media .img-mask img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.prod-badge { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); background: rgba(202,158,103,.16); border: 1px solid rgba(202,158,103,.55); border-radius: 999px; padding: 6px 14px; margin-bottom: 12px; }

/* Facility photos: caption, muted tone, thumbnail strip */
.img-caption { margin: 14px 0 0; text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.img-tone img { filter: saturate(.78) sepia(.05); transition: filter .6s var(--ease-out), clip-path 1s var(--ease-out); }
.img-tone:hover img { filter: none; }
.factory-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
@media (max-width: 900px) { .factory-strip { grid-template-columns: 1fr 1fr; } .factory-strip > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.factory-strip .img-mask { border-radius: var(--radius); border: 1px solid rgba(202,158,103,.4); }
.factory-strip .img-mask img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
@media (max-width: 700px) { .factory-strip { grid-template-columns: 1fr; gap: 22px; margin-top: 36px; } }

/* Private label */
.private { position: relative; text-align: center; color: var(--cream); overflow: hidden; }
.private-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.private-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,51,38,.9), rgba(0,44,33,.72)); }
.private-inner { position: relative; z-index: 2; max-width: 720px; }
.private-inner h2 { color: var(--cream); font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 18px; }
.private-inner p { color: rgba(254,250,239,.9); margin-bottom: 30px; }

/* Contact */
.contact { background: var(--cream-2); }
.contact-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list .ci { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); font-weight: 600; }
.contact-list a:hover { color: var(--brown); }

.contact-form { background: var(--white); padding: clamp(28px, 4vw, 46px); border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,68,51,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea {
  font-family: var(--sans); font-size: .95rem; padding: 13px 15px; border: 1.5px solid var(--tan);
  border-radius: 10px; background: var(--cream); color: var(--ink); transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,68,51,.1); }
.form-note { margin-top: 16px; color: var(--green); font-weight: 600; font-size: .9rem; }

/* Video */
.video-section { position: relative; height: 72vh; overflow: hidden; background: var(--green); }
.video-section video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-controls { position: absolute; bottom: 22px; left: 24px; display: flex; gap: 10px; z-index: 2; }
.vbtn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(254,250,239,.65); background: rgba(0,44,33,.45);
  color: var(--cream); font-size: .95rem; cursor: pointer;
  display: grid; place-items: center;
  transition: box-shadow .45s var(--ease), border-color .45s;
}
.vbtn:hover, .vbtn:focus-visible {
  border-color: var(--gold);
  animation: btn-glow 1.9s var(--ease) infinite;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid rgba(202,158,103,.3); background: linear-gradient(180deg, #004433 0%, #00382a 100%); color: var(--cream); padding-top: clamp(64px, 8vw, 100px); position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23CA9E67' stroke-opacity='.5'%3E%3Crect x='19' y='19' width='34' height='34'/%3E%3Crect x='19' y='19' width='34' height='34' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.site-footer > .container { position: relative; }
.site-footer .orn-div { margin-bottom: 30px; }
.footer-motifs { display: flex; justify-content: center; align-items: center; gap: clamp(24px, 4vw, 42px); margin-bottom: 24px; color: rgba(202,158,103,.75); }
.footer-motifs svg { width: 27px; height: 27px; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: color .35s var(--ease), transform .35s var(--ease); }
.footer-motifs svg:hover { color: var(--gold); transform: translateY(-3px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: clamp(30px, 4vw, 56px); position: relative; z-index: 2; padding-bottom: 56px; }
.footer-brand { font-family: var(--serif); color: var(--cream); font-size: 1.8rem; letter-spacing: .12em; margin-bottom: 8px; }
.footer-tagline { font-family: var(--serif); font-style: italic; color: var(--gold); margin-bottom: 18px; font-size: 1.02rem; }
.footer-addr { font-style: normal; color: rgba(254,250,239,.72); font-size: .92rem; line-height: 1.9; margin-bottom: 22px; }
.footer-col h4 { color: var(--cream); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; font-family: var(--sans); margin-bottom: 18px; opacity: .85; }
.footer-col > p { color: rgba(254,250,239,.68); font-size: .9rem; margin-bottom: 16px; max-width: 34ch; }

/* link columns */
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  color: rgba(254,250,239,.78); font-size: .93rem;
  display: inline-block;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.footer-links a:hover { color: var(--gold); transform: translateX(5px); }

/* social icon chips */
.footer-social-row { display: flex; gap: 10px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(202,158,103,.4);
  display: grid; place-items: center;
  color: rgba(254,250,239,.85);
  transition: background .35s var(--ease), color .35s, border-color .35s, transform .3s var(--ease);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--gold); color: var(--green); border-color: var(--gold); transform: translateY(-4px); }

/* inline newsletter */
.news-form { display: flex; flex-direction: column; gap: 12px; }
.news-inline { position: relative; }
.news-inline input {
  width: 100%; padding: 14px 56px 14px 18px;
  border-radius: 999px; border: 1px solid rgba(203,187,160,.4);
  background: rgba(254,250,239,.07); color: var(--cream);
  font-family: var(--sans); font-size: .92rem;
  transition: border-color .3s, background .3s;
}
.news-inline input::placeholder { color: rgba(254,250,239,.78); }
.news-inline input:focus { outline: none; border-color: var(--gold); background: rgba(254,250,239,.11); }
.news-btn {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: var(--gold); color: var(--green);
  font-size: 1.05rem; cursor: pointer;
  display: grid; place-items: center;
  transition: filter .3s, transform .3s var(--ease);
}
.news-btn:hover { filter: brightness(1.12); transform: translateY(-50%) translateX(2px); }
.news-check { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: rgba(254,250,239,.65); }
.footer-contactline { margin-top: 18px; font-size: .92rem; line-height: 1.9; }
.footer-contactline a { color: rgba(254,250,239,.78); transition: color .3s; }
.footer-contactline a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid rgba(203,187,160,.18); padding-top: 26px; padding-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 2; }
.footer-bottom p { font-size: .82rem; color: rgba(254,250,239,.65); }
.footer-credit a { color: var(--gold); border-bottom: 1px solid rgba(202,158,103,.4); padding-bottom: 1px; transition: color .3s, border-color .3s; }
.footer-credit a:hover { color: var(--cream); border-color: var(--cream); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--gold); }

/* giant watermark wordmark */
.footer-watermark {
  position: relative; z-index: 1;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(80px, 16.5vw, 250px);
  line-height: .78; text-align: center;
  letter-spacing: .06em;
  color: rgba(254,250,239,.045);
  margin-bottom: -0.12em;
  pointer-events: none; user-select: none;
  white-space: nowrap;
}

/* =========================================================
   STAT CARDS (About: who we are)
   ========================================================= */
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-card {
  background: var(--white);
  border: 1px solid rgba(203,187,160,.45);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0,68,51,.06);
  padding: 28px 20px;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.stat-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 18px 38px rgba(0,68,51,.12); }
.stat-card svg { width: 30px; height: 30px; margin: 0 auto 12px; color: var(--gold); display: block; }
.stat-num {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--green); line-height: 1.1;
}
.stat-label { margin-top: 6px; font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.stat-card.stat-wide { grid-column: 1 / -1; padding: 26px 20px; }
.stat-card.stat-wide .stat-num { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
@media (max-width: 560px) {
  .stat-grid { gap: 12px; }
  .stat-card { padding: 20px 12px; }
}

/* =========================================================
   SUBPAGE COMPONENTS
   ========================================================= */
/* text-only cards need a resting surface */
.category-card.info-card {
  background: var(--white);
  border: 1px solid rgba(203,187,160,.4);
  box-shadow: 0 10px 26px rgba(0,68,51,.06);
  text-align: center;
}
.category-card.info-card h3 { margin-bottom: 10px; }
/* numbered process timeline */
.timeline { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; }
.timeline-step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid rgba(203,187,160,.45); }
.timeline-step:last-child { border-bottom: none; }
.timeline-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); color: var(--brown);
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--gold);
}
.timeline-step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.timeline-step p { color: var(--muted); max-width: 58ch; }

/* checklist */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.checklist li { position: relative; padding-left: 32px; color: var(--muted); }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: var(--cream);
  font-size: .72rem; display: grid; place-items: center;
}

/* product cards: arched frames with an eight-point star lattice */
.prod-sub { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin-bottom: 12px; }
.orn-div { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.orn-div::before, .orn-div::after { content: ""; height: 1px; width: 70px; background: linear-gradient(90deg, transparent, var(--gold)); }
.orn-div::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.orn-div span { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); flex: none; }
.orn-div.light span { background: var(--cream); }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.2vw, 28px); margin-top: 44px; }
.prod-card {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(170deg, #0b5a45, #00392b 55%, #00231b);
  aspect-ratio: 3 / 4.4; padding: 26px 24px; text-align: start;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.prod-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23CA9E67' stroke-opacity='.22'%3E%3Crect x='19' y='19' width='34' height='34'/%3E%3Crect x='19' y='19' width='34' height='34' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
}
.prod-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 58%; background: linear-gradient(180deg, transparent, rgba(0,18,13,.62)); pointer-events: none; }
.prod-card:hover { transform: translateY(-8px); box-shadow: 0 30px 56px rgba(0,34,26,.35); }
.prod-card-media { position: absolute; inset: 0 0 auto 0; height: 60%; display: grid; place-items: center; transition: height .5s var(--ease); }
.prod-card-media img { width: calc(64% * var(--pilescale, 1)); filter: drop-shadow(0 22px 30px rgba(0,14,10,.5)); transition: transform .5s var(--ease); }
/* per-image scale compensation so every pile shows at the same visual diameter */
img[src*="prod-pistachios"] { --pilescale: .962; }
img[src*="prod-green-raisins"] { --pilescale: .987; }
img[src*="prod-sultana-raisins"] { --pilescale: 1.013; }
img[src*="prod-mazafati-dates"] { --pilescale: 1.169; }
img[src*="prod-red-dates"] { --pilescale: 1.118; }
img[src*="prod-apricots"] { --pilescale: .844; }
/* on hover the description expands, so the pile lifts and eases smaller to stay clear of the text */
.prod-card:not(.prod-feature):hover .prod-card-media { height: 46%; }
.prod-card:not(.prod-feature):hover .prod-card-media img { transform: scale(.9); }
.prod-feature:hover .prod-card-media img { transform: scale(1.04); }
.prod-card-text { position: relative; z-index: 2; }
.prod-card .prod-sub { color: var(--gold); margin-bottom: 8px; }
.prod-card h3 { color: var(--cream); font-size: 1.55rem; line-height: 1.15; margin: 0; }
.prod-desc { color: rgba(254,250,239,.8); font-size: .88rem; line-height: 1.55; margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s var(--ease), margin-top .5s var(--ease); }
.prod-card:hover .prod-desc { max-height: 220px; opacity: 1; margin-top: 10px; }
@media (hover: none), (max-width: 640px) { .prod-desc { max-height: none; opacity: 1; margin-top: 10px; } }

.prod-feature { grid-column: span 2; aspect-ratio: auto; min-height: 340px; }
.prod-feature .prod-card-media { inset: 0 0 0 auto; width: 46%; height: 100%; inset-inline-end: 0; inset-inline-start: auto; }
.prod-feature .prod-card-media img { width: 76%; }
.prod-feature .prod-card-text { max-width: 52%; }
.prod-feature h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.prod-feature .prod-desc { max-height: none; opacity: 1; margin-top: 12px; font-size: .92rem; }
.prod-card .prod-badge { color: var(--cream); background: rgba(202,158,103,.22); border-color: rgba(202,158,103,.65); margin-bottom: 12px; }
@media (max-width: 1100px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .prod-grid { grid-template-columns: 1fr; }
  .prod-card { aspect-ratio: 3 / 3.9; }
  .prod-card:not(.prod-feature) .prod-card-media { height: 46%; }
  .prod-card:not(.prod-feature) .prod-card-media img { transform: scale(.9); }
  .prod-feature { grid-column: auto; min-height: 0; aspect-ratio: auto; padding-top: 0; }
  .prod-feature .prod-card-media { position: static; width: 100%; height: 230px; }
  .prod-feature .prod-card-media img { width: 48%; }
  .prod-feature .prod-card-text { max-width: none; padding-bottom: 4px; }
}

.page-hero-lattice { position: absolute; inset: 0; z-index: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23CA9E67' stroke-opacity='.3'%3E%3Crect x='19' y='19' width='34' height='34'/%3E%3Crect x='19' y='19' width='34' height='34' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E"); opacity: .35; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }

/* homepage stats band */
.stat-band { background: var(--cream-2); border-block: 1px solid rgba(203,187,160,.4); padding: 38px 24px; position: relative; z-index: 2; }
.stat-band-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat-item { position: relative; }
.stat-item strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: var(--green); line-height: 1.2; }
.stat-item span { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.stat-item + .stat-item::before { content: ""; position: absolute; inset-inline-start: -9px; top: 12%; height: 76%; width: 1px; background: rgba(202,158,103,.45); }
@media (max-width: 760px) {
  .stat-band-inner { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .stat-item:nth-child(3)::before { display: none; }
}
html[lang="ar"] .stat-item span { letter-spacing: 0; }

/* a lone 7th card in the 3-column collection grid sits centered */
.category-grid > :last-child:nth-child(3n + 1) { grid-column: 2; }
@media (max-width: 900px) { .category-grid > :last-child:nth-child(3n + 1) { grid-column: auto; } }

/* faint lattice texture on dark bands */
.section.signature, .cta-band { position: relative; }
.section.signature::before, .cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23CA9E67' stroke-opacity='.3'%3E%3Crect x='19' y='19' width='34' height='34'/%3E%3Crect x='19' y='19' width='34' height='34' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
}
.section.signature > .container, .cta-band > * { position: relative; }

/* breadcrumbs on product pages */
.crumbs { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(254,250,239,.55); margin-bottom: 20px; }
.crumbs a { color: rgba(254,250,239,.78); transition: color .3s var(--ease); }
.crumbs a:hover { color: var(--gold); }
.crumbs b { color: var(--gold); font-weight: 600; }

/* stretched link makes a whole card clickable */
.card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .prod-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .prod-grid.cols-3 { grid-template-columns: 1fr; } }

/* Know Your Fruit product guide */
.guide { display: grid; grid-template-columns: 225px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding: 46px 0; border-bottom: 1px solid rgba(203,187,160,.45); scroll-margin-top: 130px; }
.guide:last-of-type { border-bottom: none; }
.guide-media {
  position: sticky; top: 120px;
  border-radius: 50%; aspect-ratio: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23CA9E67' stroke-opacity='.22'%3E%3Crect x='19' y='19' width='34' height='34'/%3E%3Crect x='19' y='19' width='34' height='34' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  background-color: var(--cream-2);
  border: 1px solid rgba(202,158,103,.4);
  display: grid; place-items: center; overflow: hidden;
}
.guide-media img { width: calc(72% * var(--pilescale, 1)); filter: drop-shadow(0 16px 24px rgba(0,68,51,.22)); }
.guide-body h3 { font-size: 1.7rem; margin: 2px 0 0; }
.guide-body .prod-sub { margin-bottom: 0; }
.guide-intro { color: var(--muted); max-width: 70ch; margin-top: 12px; }
.guide-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 28px; }
.guide-cols h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin-bottom: 12px; }
.guide-cols ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.guide-cols li { position: relative; padding-inline-start: 16px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.guide-cols li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.guide-note { margin-top: 40px; color: var(--muted); font-size: .8rem; text-align: center; }
.guide-more { display: inline-block; margin-top: 20px; font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--brown); border-bottom: 1px solid rgba(202,158,103,.6); padding-bottom: 3px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.guide-more:hover { color: var(--green); border-color: var(--gold); }

/* back-to-top, injected by script.js */
.to-top {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 55;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: var(--cream); border: 1px solid rgba(202,158,103,.5);
  display: grid; place-items: center; cursor: pointer;
  font-size: 1.1rem; line-height: 1;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s, background .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s; }
.to-top:hover { background: var(--brown); }
@media (max-width: 980px) { .guide-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .guide { grid-template-columns: 1fr; }
  .guide-media { position: static; max-width: 200px; margin-inline: auto; }
}
@media (max-width: 600px) { .guide-cols { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(203,187,160,.45); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 1.15rem; color: var(--green); padding: 16px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--brown); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; max-width: 62ch; }

/* CTA band */
.cta-band { background: linear-gradient(180deg, #013a2c, #004433); border-top: 1px solid rgba(202,158,103,.3); text-align: center; padding: clamp(56px, 8vw, 96px) 24px; }
.cta-band h2 { color: var(--cream); font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.cta-band p { color: rgba(254,250,239,.8); max-width: 56ch; margin: 0 auto 30px; }

@media (max-width: 700px) {
  .timeline-step { grid-template-columns: 52px 1fr; gap: 16px; }
}

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .split-cols { grid-template-columns: 1fr; gap: 44px; }
  .split-cols.reverse .split-media { order: 0; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .signature-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
}
@media (max-width: 760px) {
  .hero-wrap { height: 175vh; }
  .hero-layer-branch-left { width: 140px; left: -34px; top: -2vh; }
  .hero-layer-branch-right { width: 160px; right: -40px; top: -3vh; }
  .video-section { height: 52vh; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .category-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-cta { display: none; }
  .header-inner { padding: 0 10px 0 22px; }
}

/* =========================================================
   A11Y: skip link + keyboard focus
   ========================================================= */
.skip-link {
  position: fixed; top: -60px; left: 20px; z-index: 300;
  background: var(--green); color: var(--cream);
  padding: 12px 22px; border-radius: 0 0 12px 12px;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 0; outline: none; }
html[lang="ar"] .skip-link { left: auto; right: 20px; }

:is(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 90;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--terra));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}
html[lang="ar"] .scroll-progress { transform-origin: 100% 50%; }

/* =========================================================
   VIDEO SECTION OVERLAY
   ========================================================= */
.video-overlay {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(180deg, rgba(0,44,33,.24), rgba(0,44,33,.05) 40%, rgba(0,44,33,.3));
  pointer-events: none;
}
.video-overlay .eyebrow { color: var(--gold); }
.video-overlay h2 {
  color: var(--cream);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  text-shadow: 0 2px 30px rgba(0,44,33,.55);
}

/* =========================================================
   LANGUAGE SWITCH
   ========================================================= */
.lang-switch {
  display: inline-block;
  font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  color: var(--green);
  border: 1px solid rgba(0,68,51,.28);
  padding: 9px 16px; border-radius: 999px;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s;
}
.lang-switch:hover { border-color: var(--gold); background: rgba(202,158,103,.14); color: var(--brown); }

/* =========================================================
   ARABIC / RTL
   ========================================================= */
html[lang="ar"] {
  --serif: 'Amiri', 'Times New Roman', serif;
  --sans: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
}
/* Arabic script must not be letter-spaced */
html[lang="ar"] :is(h1, h2, h3, h4, p, a, li, span, button, input, label, .eyebrow, .hero-eyebrow,
  .hero-kicker, .btn, .nav-cta, .hero-link, .main-nav a, .footer-col h4, .news-check,
  .preloader-eyebrow, .preloader-sub, .ci, .prod-sub, .footer-tagline) {
  letter-spacing: 0 !important;
}
/* the Latin wordmark keeps its serif everywhere */
html[lang="ar"] :is(.brand-word, .preloader-word span, .footer-brand, .footer-watermark) {
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: .1em !important;
}
/* MALEKAN letter spans must always read left-to-right, even in RTL */
html[lang="ar"] .preloader-word { direction: ltr; }
html[lang="ar"] .hero-title { line-height: 1.5; }
/* Amiri needs generous leading and deeper descender room than Fraunces */
html[lang="ar"] :is(h1, h2, h3, h4) { line-height: 1.5; }
html[lang="ar"] .split .word { padding: .3em 0 .34em; margin: -.3em 0 -.34em; }
html[lang="ar"] .hero-title.gooey { height: 1.7em; }
html[lang="ar"] .footer-links a:hover { transform: translateX(-5px); }
html[lang="ar"] .hero-link:hover span { transform: translateX(-5px); }
html[lang="ar"] .news-inline input { padding: 14px 18px 14px 56px; }
html[lang="ar"] .news-btn { right: auto; left: 6px; }
html[lang="ar"] .news-btn:hover { transform: translateY(-50%) translateX(-2px); }
html[lang="ar"] .header-inner { padding: 0 30px 0 12px; }
html[lang="ar"] .mobile-close { right: auto; left: 24px; }
html[lang="ar"] .mobile-brand { letter-spacing: .22em !important; }
html[lang="ar"] :is(.eyebrow, .footer-col h4, .prod-sub, .ci) { font-size: .95rem; font-weight: 700; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .img-mask img, .split .word > i { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .preloader { display: none; }
  .grain { display: none; }
  .hero-dust { display: none; }
  .hero-rays { display: none; }
  .hero-kicker, .hero-eyebrow, .hero-ctas { opacity: 1; transform: none; }
  .hero-wrap { height: auto; }
  .hero { position: relative; }
  .hero-bg { transform: none !important; }
  .zoom-parallax img { transform: none !important; }
}
