/* ==========================================================================
   AC Nature — editorial redesign
   Golden-hour harvest style: cream canvas, copper ink, citron accent,
   periwinkle highlight, oversized rounded display type.
   ========================================================================== */

:root {
  --color-wheat-cream: #e5dccd;
  --color-harvest-copper: #ab5700;
  --color-citron-beam: #e8e359;
  --color-morning-glory: #3a8556;
  --color-amber-glow: #d99623;
  --color-forest-floor: #214534;
  --color-deep-moss: #103d26;
  --color-olive-branch: #568037;
  --color-slate-bloom: #2f6b45;
  --color-coral-petal: #c3dab0;
  --color-cream-soft: #f1ebe0;

  --font-poppins: 'Poppins', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-caption: 12px;
  --text-body: 16px;
  --text-subheading: 20px;
  --text-heading-sm: 30px;
  --text-heading: 56px;
  --text-heading-lg: 70px;
  --text-display: 104px;
  --text-display-xl: 156px;

  --radius-cards: 20px;
  --radius-buttons: 31px;
  --radius-tags: 9999px;

  --page-max-width: 1200px;
  --section-gap: 120px;

  --logo-url: url('../assets/images/logo.png');
}

html[dir="rtl"] {
  --font-poppins: 'Cairo', 'Poppins', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Cairo', 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-wheat-cream);
  color: var(--color-harvest-copper);
  font-family: var(--font-poppins);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
}

::selection { background: var(--color-citron-beam); color: var(--color-deep-moss); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-poppins);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.highlight { color: var(--color-morning-glory); }

.typewriter-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: cursor-blink 0.9s step-end infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }

.title-float {
  animation: title-float 4.5s ease-in-out infinite;
}
@keyframes title-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter-cursor { animation: none; }
  .title-float { animation: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-buttons);
  padding: 12px 28px;
  font-family: var(--font-poppins);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-filled {
  background: var(--color-citron-beam);
  color: var(--color-deep-moss);
}
.btn-filled:hover { background: #f2ee7c; }

.btn-ghost-copper {
  background: transparent;
  border-color: var(--color-harvest-copper);
  color: var(--color-harvest-copper);
}
.btn-ghost-copper:hover { background: rgba(171, 87, 0, 0.08); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 24px 0;
  background: var(--header-bg, var(--color-wheat-cream));
  transition: background-color 0.35s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: var(--header-fg, var(--color-harvest-copper));
  transition: color 0.3s ease;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: var(--logo-url);
  mask-image: var(--logo-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: var(--radius-buttons);
  border: 1px solid var(--header-fg, var(--color-harvest-copper));
  background: transparent;
  color: var(--header-fg, var(--color-harvest-copper));
  font-family: var(--font-poppins);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.menu-toggle:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.menu-toggle.is-active { background: color-mix(in srgb, currentColor 16%, transparent); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--color-citron-beam);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,61,38,0.35) 0%, rgba(16,61,38,0.15) 35%, rgba(16,61,38,0.55) 78%, rgba(16,61,38,0.85) 100%);
}
.hero-inner {
  padding: 200px 0 64px;
  text-align: center;
}
.hero-title {
  font-size: clamp(48px, 9vw, var(--text-display-xl));
  line-height: 0.85;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 2.2vw, var(--text-subheading));
  line-height: 1.2;
  max-width: 560px;
  margin: 24px auto 40px;
  color: var(--color-citron-beam);
  opacity: 0.92;
}
.hero-cta { display: flex; justify-content: center; }

.hero-anim {
  transform: translateY(22px);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-anim.is-visible { transform: translateY(0); }

.scroll-cue {
  display: flex;
  justify-content: center;
  padding-bottom: 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--color-citron-beam);
  opacity: 0.8;
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.farms-grid .reveal:nth-child(2),
.products-grid .reveal:nth-child(2),
.team-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.products-grid .reveal:nth-child(3),
.team-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.contact-grid .reveal:nth-child(2) { transition-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-anim {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- sections ---------- */
section { position: relative; }

.section {
  padding: var(--section-gap) 0;
}
.section-cream { background: var(--color-wheat-cream); }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.align-left { margin-left: 0; text-align: left; }

.section-title {
  font-size: clamp(36px, 5.5vw, var(--text-heading-lg));
  line-height: 0.9;
  color: var(--color-morning-glory);
}
.section-title.copper { color: var(--color-harvest-copper); }

/* ---------- about / founders scrollytelling (horizontal panels) ---------- */
.scrolly {
  position: relative;
  height: 400vh;
}

.scrolly-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  direction: ltr;
}

.scrolly-track {
  display: flex;
  height: 100%;
  will-change: transform;
  direction: ltr;
}

.scrolly-panel {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5vw;
  padding: 0 7vw;
  overflow: hidden;
  color: var(--color-wheat-cream);
}
.scrolly-panel[data-bg="deep-moss"] { background: var(--color-deep-moss); }
.scrolly-panel[data-bg="amber"] { background: var(--color-amber-glow); color: var(--color-deep-moss); }

.scrolly-panel--duo {
  display: flex;
  padding: 0;
  gap: 0;
}
.scrolly-duo-half {
  flex: 1 1 50%;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 4vw;
  text-align: center;
}
.scrolly-duo-half[data-bg="slate"] { background: var(--color-slate-bloom); color: var(--color-wheat-cream); }
.scrolly-duo-half[data-bg="coral"] { background: var(--color-coral-petal); color: var(--color-deep-moss); }
.scrolly-duo-half .scrolly-panel-text { align-items: center; max-width: 34ch; }
.scrolly-duo-icon { width: 56px; height: 56px; flex: none; }

.scrolly-panel-media,
.scrolly-panel-text,
.scrolly-duo-half {
  transform: perspective(1000px) rotateY(-34deg);
  opacity: 0;
  transform-origin: right center;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}
.scrolly-panel.is-in .scrolly-panel-media,
.scrolly-panel.is-in .scrolly-panel-text,
.scrolly-panel.is-in .scrolly-duo-half {
  transform: perspective(1000px) rotateY(0deg);
  opacity: 1;
}
.scrolly-panel.is-in .scrolly-panel-text { transition-delay: 0.12s; }
.scrolly-panel.is-in .scrolly-duo-half:nth-child(2) { transition-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
  .scrolly-panel-media,
  .scrolly-panel-text,
  .scrolly-duo-half { transform: none; opacity: 1; transition: none; }
}

.scrolly-panel-media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 64%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.scrolly-panel-media img {
  height: 100%;
  width: auto;
  max-width: 72%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(16, 61, 38, 0.35);
}

.scrolly-panel-media--illustration svg {
  width: 60%;
  height: 60%;
  color: var(--color-wheat-cream);
}
.scrolly-panel[data-bg="coral"] .scrolly-panel-media--illustration svg {
  color: var(--color-deep-moss);
}

.scrolly-sway {
  transform-origin: 50% 100%;
  animation: scrolly-sway 4.5s ease-in-out infinite;
}

.scrolly-accent {
  position: absolute;
  top: 6%;
  right: 8%;
  width: 68px;
  height: 68px;
  color: var(--color-citron-beam);
  animation: scrolly-float 3.6s ease-in-out infinite;
}
.scrolly-accent--reverse {
  top: auto;
  right: auto;
  bottom: 6%;
  left: 8%;
  animation-delay: -1.8s;
}

@keyframes scrolly-sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}
@keyframes scrolly-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.scrolly-panel--quote {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.scrolly-panel-text--wide {
  max-width: 620px;
  align-items: center;
  text-align: center;
}
.scrolly-panel-text--wide .pull-quote { text-align: start; margin-top: 6px; }
.scrolly-panel-text--wide .founders-row { justify-content: center; }

.scrolly-logo-mark {
  position: absolute;
  right: -4%;
  bottom: -12%;
  width: clamp(240px, 34vw, 460px);
  aspect-ratio: 1;
  background-color: currentColor;
  opacity: 0.14;
  -webkit-mask-image: var(--logo-url);
  mask-image: var(--logo-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  z-index: 0;
  pointer-events: none;
}

.scrolly-panel-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-width: 42ch;
}
.scrolly-panel-name { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 22px); }
.scrolly-panel-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: -8px;
}
.scrolly-panel-title { color: inherit; }
.scrolly-panel-text p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25;
  margin: 0;
}
.scrolly-panel-text strong { color: var(--color-citron-beam); }
.scrolly-panel[data-bg="amber"] .scrolly-panel-text strong,
.scrolly-panel[data-bg="coral"] .scrolly-panel-text strong { color: var(--color-harvest-copper); }

@media (max-width: 900px) {
  .scrolly { height: auto; }
  .scrolly-pin { position: static; height: auto; overflow: visible; }
  .scrolly-track { display: block; transform: none !important; }
  .scrolly-panel {
    flex: none;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 56px 24px;
  }
  .scrolly-panel-media { height: 280px; gap: 12px; }
  .scrolly-panel-media--illustration svg { width: 48%; height: 48%; }
  .scrolly-panel--duo { flex-direction: column; }
  .scrolly-duo-half { padding: 40px 24px; gap: 14px; }
  .scrolly-duo-icon { width: 44px; height: 44px; }
  .scrolly-panel-title { font-size: clamp(28px, 8vw, 38px) !important; }
  .scrolly-panel-text { gap: 10px; max-width: none; }
  .scrolly-panel-text p { font-size: clamp(15px, 4vw, 18px); line-height: 1.3; }
  .scrolly-panel-name { font-size: 15px; }
  .scrolly-accent { width: 44px; height: 44px; }
  .scrolly-logo-mark { width: 180px; right: -10%; bottom: -8%; }
  .scrolly-panel-text--wide .pull-quote { padding: 20px; font-size: 15px; }
  .founders-row { gap: 8px; margin-top: 4px; }
  .founder-chip { font-size: 11px; padding: 6px 12px; }
}

.pull-quote {
  border: 1px solid currentColor;
  border-radius: var(--radius-cards);
  padding: 32px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.2;
  color: inherit;
}
.pull-quote cite {
  display: block;
  font-family: var(--font-poppins);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 20px;
  opacity: 0.7;
}

.founders-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.founder-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid currentColor;
  border-radius: var(--radius-tags);
  padding: 8px 16px;
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .scrolly-sway,
  .scrolly-accent { animation: none; }
}

/* ---------- farms / sourcing ---------- */
.farms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.farm-card {
  border-radius: var(--radius-cards);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.farm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(16, 61, 38, 0.2);
}
.farm-card-media {
  padding: 36px 36px 0;
  overflow: hidden;
}
.farm-card img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.farm-card:hover img { transform: scale(1.05); }
.farm-card-body { padding: 20px 40px 40px; }
.farm-card-body .eyebrow { opacity: 0.8; }
.farm-card h3 {
  font-size: var(--text-heading-sm);
  line-height: 0.95;
  margin: 14px 0;
}
.farm-card p { margin: 0; max-width: 46ch; opacity: 0.88; }
.farm-card.tone-olive { background: var(--color-citron-beam); color: var(--color-deep-moss); }
.farm-card.tone-amber { background: var(--color-coral-petal); color: var(--color-deep-moss); }

/* ---------- products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-cards);
  overflow: hidden;
  background: var(--color-harvest-copper);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-tile:hover,
.product-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(16, 61, 38, 0.18);
  outline: none;
}
.product-tile.tone-forest { background: var(--color-forest-floor); }
.product-tile.tone-copper { background: var(--color-coral-petal); }
.product-tile.tone-slate { background: var(--color-slate-bloom); }

.product-tile-media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
}
.product-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.product-tile-media svg { width: 44%; height: 44%; color: var(--color-wheat-cream); }

.product-tile-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-tile-body h3 {
  font-size: 26px;
  line-height: 0.95;
  color: var(--color-wheat-cream);
}
.product-tile.tone-copper .product-tile-body h3 { color: var(--color-deep-moss); }

.card-more {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-citron-beam);
}
.product-tile.tone-copper .card-more { color: var(--color-deep-moss); opacity: 0.75; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  border: 1px solid currentColor;
  border-radius: var(--radius-tags);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- certifications ---------- */
.section-deep {
  background: var(--color-deep-moss);
  color: var(--color-wheat-cream);
}
.section-deep .section-title { color: var(--color-citron-beam); }
.section-deep .section-head p { color: rgba(229,220,205,0.75); }

.cert-track {
  overflow: hidden;
  padding: 8px 4px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  direction: ltr;
}

.cert-track-inner {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: cert-scroll 34s linear infinite;
}
.cert-track:hover .cert-track-inner { animation-play-state: paused; }

@keyframes cert-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cert-card {
  flex: 0 0 auto;
  width: 168px;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.15s linear;
  will-change: transform;
}
.cert-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .cert-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .cert-track-inner { animation: none; }
  .cert-track-inner [aria-hidden="true"] { display: none; }
}

/* ---------- team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  border-radius: var(--radius-cards);
  overflow: hidden;
  background: var(--color-cream-soft);
  border: 1px solid var(--color-harvest-copper);
}
.team-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-forest-floor);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 24px; }
.team-info h3 { font-size: 26px; line-height: 1; margin-bottom: 6px; }
.team-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 16px;
}
.team-info .btn { padding: 8px 20px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-copy p { max-width: 42ch; }

.section-violet { background: var(--color-morning-glory); color: var(--color-wheat-cream); }
.section-violet .contact-copy p { opacity: 0.92; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--color-wheat-cream);
  color: var(--color-harvest-copper);
  border-radius: var(--radius-cards);
  padding: 36px;
  box-shadow: 0 30px 60px rgba(16, 61, 38, 0.22);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field label .req { color: var(--color-morning-glory); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input,
.field textarea {
  font-family: var(--font-poppins);
  font-size: 15px;
  color: var(--color-harvest-copper);
  background: var(--color-cream-soft);
  border: 1px solid var(--color-harvest-copper);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--font-poppins); }
.field input:focus,
.field textarea:focus {
  border-color: var(--color-morning-glory);
  box-shadow: 0 0 0 3px rgba(58, 133, 86, 0.18);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(171,87,0,0.4); }

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.form-note {
  font-size: 12px;
  opacity: 0.65;
}

/* ---------- visit us (contact page) ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.visit-map {
  border: 1px solid var(--color-harvest-copper);
  border-radius: var(--radius-cards);
  overflow: hidden;
  min-height: 300px;
}
.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}
.visit-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.visit-detail { display: flex; flex-direction: column; gap: 6px; }
.visit-detail-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.7;
}
.visit-detail-value {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  transition: color 0.2s ease;
}
a.visit-detail-value:hover { color: var(--color-morning-glory); }

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

/* ---------- footer ---------- */
.site-footer {
  background: var(--color-deep-moss);
  color: var(--color-wheat-cream);
  padding: 64px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(229,220,205,0.18);
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--color-citron-beam);
}
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 13px;
  letter-spacing: 0.03em;
  opacity: 0.85;
}
.footer-nav a:hover { opacity: 1; color: var(--color-citron-beam); }

.footer-giant {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 13vw, 200px);
  line-height: 0.85;
  color: var(--color-citron-beam);
  opacity: 0.16;
  text-align: center;
  padding: 44px 16px 12px;
  letter-spacing: -0.02em;
  user-select: none;
  overflow: hidden;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  :root { --section-gap: 80px; }
  .farms-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .products-grid,
  .team-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .field.full { grid-column: 1; }
  .hero-inner { padding: 140px 0 48px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .footer-top { flex-direction: column; }
}

/* ---------- product detail (products.html) ---------- */
.product-detail {
  padding: 88px 0;
  color: var(--color-wheat-cream);
}
.product-detail.tone-forest { background: var(--color-forest-floor); }
.product-detail.tone-copper { background: var(--color-coral-petal); color: var(--color-deep-moss); }
.product-detail.tone-slate { background: var(--color-slate-bloom); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-detail.reverse .product-detail-grid { direction: rtl; }
.product-detail.reverse .product-detail-body { direction: ltr; }

.product-detail-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-cards);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
}
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-media svg { width: 48%; height: 48%; }

.product-detail-body { display: flex; flex-direction: column; gap: 16px; }
.product-detail-body .eyebrow { opacity: 0.75; }
.product-detail-body h3 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 0.95;
}
.product-detail-body p { margin: 0; max-width: 52ch; opacity: 0.9; }
.product-detail .tag { border-color: currentColor; }

.products-intro-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.stat-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-chip strong {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--color-harvest-copper);
  line-height: 1;
}
.stat-chip span {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-highlight {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-tags);
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.product-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 4px;
}
.product-item {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-item h4 { font-family: var(--font-display); font-size: 16px; margin: 0; line-height: 1.1; }
.product-item p { margin: 0; font-size: 13px; line-height: 1.35; opacity: 0.85; }

@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; direction: ltr !important; }
  .products-intro-stats { gap: 32px; }
}

/* ---------- whatsapp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: whatsapp-pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes whatsapp-pulse {
  0% { opacity: 0.45; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { animation: none; }
}
@media (max-width: 560px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}

/* ---------- site menu (full-screen nav overlay) ---------- */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--color-morning-glory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.site-menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.site-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.site-menu-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 7vw, 72px);
  line-height: 1.2;
  color: var(--color-wheat-cream);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.25s ease;
}
.site-menu.is-open .site-menu-links a {
  opacity: 1;
  transform: translateY(0);
}
.site-menu-links a:hover { color: var(--color-citron-beam); }
.site-menu-links a:nth-child(1) { transition-delay: 0.05s; }
.site-menu-links a:nth-child(2) { transition-delay: 0.1s; }
.site-menu-links a:nth-child(3) { transition-delay: 0.15s; }
.site-menu-links a:nth-child(4) { transition-delay: 0.2s; }
.site-menu-links a:nth-child(5) { transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .site-menu-links a { transition: color 0.25s ease; opacity: 1; transform: none; }
}

/* ==========================================================================
   Language switcher
   ========================================================================== */

.site-menu-langs {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}
.site-menu-langs button {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--color-wheat-cream);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--color-wheat-cream) 40%, transparent);
  border-radius: var(--radius-tags);
  padding: 8px 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s, background 0.2s ease, border-color 0.2s ease;
}
.site-menu.is-open .site-menu-langs button {
  opacity: 1;
  transform: translateY(0);
}
.site-menu-langs button:hover { border-color: var(--color-wheat-cream); }
.site-menu-langs button.is-active {
  background: var(--color-wheat-cream);
  color: var(--color-morning-glory);
  border-color: var(--color-wheat-cream);
}

@media (prefers-reduced-motion: reduce) {
  .site-menu-langs button { transition: background 0.2s ease, border-color 0.2s ease; opacity: 1; transform: none; }
}

/* ==========================================================================
   RTL (Arabic / Darija)
   ========================================================================== */

html[dir="rtl"] .scrolly-panel-text {
  direction: rtl;
}
html[dir="rtl"] .scrolly-panel-text--wide .pull-quote { text-align: start; }
html[dir="rtl"] .founders-row { flex-direction: row-reverse; }
