/* ==========================================================================
   Asmagh Sudanese Exports: site stylesheet
   Layout language follows the olamagri reference (two-tone headings,
   opposite-corner media, leaf-corner button hover, quarter-curve hero,
   dark metrics band, contact banner); identity is Asmagh's.
   Mobile first. Logical properties throughout so RTL mirrors itself.
   ========================================================================== */

/* ---------- Font ---------- */
@font-face {
  font-family: "Alexandria";
  src: url("../fonts/Alexandria.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --teal: #0B3D3C;
  --deep: #072C2B;
  --cream: #FFE6C5;
  --on-dark: #FFFFFF; /* text, lines and borders on teal / deep teal */
  --amber: #D9A441;
  --amber-ink: #9A6810; /* amber dark enough for text on light grounds */
  --sand: #E8D6B8;
  --paper: #FBF7F0;
  --white: #ffffff;
  --ink: #15302F;
  --muted: #4D6E6B;
  --muted-on-teal: #A9C3BF;
  --border: #E3D8C6;
  --tint: #F4ECDD;

  --font: "Alexandria", system-ui, "Segoe UI", Tahoma, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --container: 1240px;
  --radius-leaf: clamp(1.75rem, 4vw, 5rem);
  --radius-card: clamp(1.25rem, 2.5vw, 2.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(.15, 0, .2, 1);
}
@media (min-width: 992px) { :root { --header-h: 84px; } }
@media (min-width: 1440px) { :root { --container: 1320px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { line-height: 1.85; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: var(--amber-ink); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, .h1, .h3, .h4, .h5, .h6 {
  margin: 0 0 .5em;
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal);
  letter-spacing: -.01em;
}
[dir="rtl"] :is(h1, h2, h3, h4, h5, h6, .h1, .h3, .h4, .h5, .h6) { line-height: 1.4; letter-spacing: 0; }
.h1 { font-size: clamp(2.1rem, 1.2rem + 3.2vw, 4.25rem); }
.h3 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); }
.h4 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.6rem); }
.h5 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); }
.h6 { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); }
.accent { color: var(--amber-ink); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--cream); color: var(--teal); padding: 10px 18px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  stroke: currentColor; fill: none;
}
.icon--fill { stroke: none; fill: currentColor; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: clamp(64px, 8vw, 120px); overflow: hidden; }
.section--deep { background: var(--deep); color: var(--muted-on-teal); }
.section--sand { background: var(--sand); }
.section--deep :is(h2, h3, .h3, .h4, .h5, .h6) { color: var(--on-dark); }
.section--deep .accent,
.hero .accent, .page-hero .accent, .banner .accent,
.overlay-cta .accent { color: var(--amber); }
.section-title { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.deco { position: absolute; pointer-events: none; }
.deco--rings-end { inset-inline-end: -160px; top: -80px; width: min(640px, 80vw); opacity: .1; }
.deco--tile {
  inset-inline-start: 0; top: 0; width: 100%; height: 100%; max-width: none; opacity: .09;
  object-fit: none; object-position: top left;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 12.5rem;
  padding: .85rem 1.5rem;
  border: 0; border-radius: 2px;
  background: var(--teal); color: var(--on-dark);
  font: 600 .95rem/1.3 var(--font);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: border-radius .3s var(--ease), background-color .3s, color .3s;
}
.btn:hover { background: var(--deep); color: var(--on-dark); border-start-start-radius: 2rem; }
.btn--light { background: var(--on-dark); color: var(--teal); }
.btn--light:hover { background: var(--cream); color: var(--teal); }
.btn--outline { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--on-dark); }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.split__text .btn, .showcase__intro .btn { margin-top: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset-inline: 0; top: 0; z-index: 50;
  color: var(--on-dark);
}
.utility { display: none; }
.header__bar {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  height: var(--header-h);
}
.header__logo { position: relative; z-index: 2; display: block; flex-shrink: 0; }
.logo { height: 44px; width: auto; }
.logo--wide { display: none; }
@media (min-width: 768px) {
  .logo--wide { display: block; height: 52px; }
  .logo--compact { display: none; }
}
.header__lang {
  position: relative; z-index: 2;
  margin-inline-start: auto;
  display: grid; place-items: center;
  min-width: 42px; height: 42px; padding-inline: 8px;
  border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px;
  color: var(--on-dark); font-weight: 600; font-size: .9rem; text-decoration: none;
}
.header__lang:hover { color: var(--teal); background: var(--on-dark); }
.burger {
  position: relative; z-index: 2;
  width: 46px; height: 46px; padding: 0;
  border: 0; background: transparent; color: var(--on-dark); cursor: pointer;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  position: absolute; inset-inline-start: 11px; width: 24px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s;
}
.burger__lines { top: 22px; }
.burger__lines::before, .burger__lines::after { content: ""; inset-inline-start: 0; }
.burger__lines::before { top: -8px; }
.burger__lines::after { top: 8px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu: fullscreen overlay with accordion sub-menu */
.nav {
  display: none;
  position: fixed; inset: 0; z-index: 1;
  padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
  background: var(--deep);
  overflow-y: auto;
}
.menu-open .nav { display: block; animation: fade-in .3s ease; }
.nav__item { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.nav__link {
  display: block; padding: 16px 0;
  color: var(--on-dark); text-decoration: none;
  font-size: 1.25rem; font-weight: 600;
}
.nav__link[aria-current="page"], .nav__link:hover { color: var(--amber); }
.nav__toggle {
  position: absolute; inset-inline-end: 0; top: 10px;
  width: 44px; height: 44px; border: 0; background: transparent; color: var(--on-dark); cursor: pointer;
}
.nav__list { list-style: none; }
.nav__toggle .icon { margin: auto; transition: transform .3s; }
.nav__item.is-open .nav__toggle .icon { transform: rotate(180deg); }
.nav__sub { display: none; list-style: none; padding: 0 0 16px; }
.nav__item.is-open .nav__sub { display: block; }
.nav__sub a {
  display: block; padding: 8px 16px; border-radius: 6px;
  color: var(--muted-on-teal); text-decoration: none;
}
.nav__sub a:hover { color: var(--amber); background: rgba(255, 255, 255, .05); }
.nav__extra { display: grid; gap: 14px; margin-top: 32px; }
.nav__extra-link { display: flex; gap: 12px; align-items: center; color: var(--on-dark); text-decoration: none; }
.nav__extra-link .icon { color: var(--amber); }
.nav__extra .btn { margin-top: 12px; }

@media (min-width: 992px) {
  .utility {
    display: block;
    background: var(--deep);
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    font-size: .875rem;
    transition: margin-top .5s ease;
  }
  .utility__inner { display: flex; justify-content: flex-end; align-items: center; gap: 32px; }
  .utility__link {
    display: inline-flex; align-items: center; gap: 8px; padding: 11px 0;
    color: var(--on-dark); text-decoration: none; font-weight: 500;
  }
  .utility__link:hover { color: var(--amber); }
  .utility__link .icon { color: var(--amber); width: 1.1em; height: 1.1em; }
  .utility__cta {
    align-self: stretch; display: flex; align-items: center;
    padding: 0 20px; background: var(--on-dark); color: var(--teal);
    font-weight: 600; text-decoration: none;
  }
  .utility__cta:hover { background: var(--cream); color: var(--teal); }

  .header__lang, .burger { display: none; }
  .nav {
    display: block; position: static; padding: 0; background: none; overflow: visible;
    margin-inline-start: auto;
  }
  .nav__list { display: flex; align-items: center; list-style: none; gap: 4px; }
  .nav__item { border: 0; display: flex; align-items: center; }
  .nav__link {
    position: relative; padding: 10px 12px;
    font-size: .95rem; font-weight: 500;
  }
  .nav__link::after {
    content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 2px;
    background: var(--amber); opacity: 0; transition: opacity .2s;
  }
  .nav__link:hover, .nav__link[aria-current="page"] { color: var(--on-dark); }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after { opacity: 1; }
  .nav__toggle { position: static; width: 24px; height: 24px; margin-inline-start: -8px; }
  .nav__toggle .icon { width: 16px; height: 16px; }
  .nav__sub {
    position: absolute; top: 100%; inset-inline-start: 0; min-width: 270px;
    padding: 12px; background: var(--deep);
    border-top: 2px solid var(--amber); border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  }
  .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__item.is-open .nav__sub { display: block; }
  .nav__extra { display: none; }
  .logo--wide { height: 56px; }
}
@media (min-width: 1230px) {
  .nav__link { padding-inline: 16px; font-size: 1rem; }
  .nav__link::after { inset-inline: 16px; }
}

/* Sticky state */
.site-header.is-sticky {
  position: fixed;
  background: var(--deep);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .12), 0 10px 30px rgba(0, 0, 0, .18);
  animation: slide-down .5s ease;
}
.site-header.is-sticky .utility { display: none; }
@media (min-width: 992px) {
  .site-header.is-sticky { --header-h: 72px; }
  .site-header.is-sticky .logo--wide { height: 46px; }
}
@keyframes slide-down { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Home hero carousel ---------- */
.hero { position: relative; background: var(--teal); color: var(--on-dark); overflow: hidden; }
.hero__scatter {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: 60%; height: 100%;
  object-fit: cover; opacity: .18; pointer-events: none;
}
.hero__slides { display: grid; }
.hero__slide {
  grid-area: 1 / 1;
  display: grid;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__text {
  position: relative; z-index: 1;
  padding: calc(var(--header-h) + 40px) var(--gutter) 28px;
}
.hero__title {
  margin: 0 0 .5em;
  font-size: clamp(2.1rem, 1.2rem + 3.2vw, 4.25rem);
  font-weight: 600; line-height: 1.12; color: var(--on-dark);
}
[dir="rtl"] .hero__title { line-height: 1.35; }
.hero__lead { max-width: 34rem; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: var(--muted-on-teal); }
.hero__title, .hero__lead, .hero__cta {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s ease, transform .8s var(--ease);
}
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .35s; }
.hero__slide.is-active .hero__lead { opacity: 1; transform: none; transition-delay: .65s; }
.hero__slide.is-active .hero__cta { opacity: 1; transform: none; transition-delay: .95s; }
.hero__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  border-start-start-radius: 55% 40%;
}
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: transform 7s linear;
}
.hero__slide.is-active .hero__media img { transform: scale(1); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 44, 43, .55), rgba(7, 44, 43, 0) 35%);
}
.hero__arc {
  position: absolute; z-index: 1;
  width: 64vw; aspect-ratio: 1;
  inset-inline-start: -32vw; bottom: -32vw;
  border: 6vw solid rgba(7, 44, 43, .55);
  border-radius: 50%;
}
.hero__dots { display: flex; gap: 12px; padding-block: 20px 28px; }
.hero__dot {
  width: 14px; height: 14px; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--on-dark); background: transparent; cursor: pointer;
  transition: background-color .3s;
}
.hero__dot.is-active { background: var(--on-dark); }

@media (min-width: 992px) {
  .hero__slide { grid-template-columns: 1fr 1fr; min-height: clamp(620px, 90vh, 880px); }
  .hero__text {
    align-self: center;
    padding-block: calc(var(--header-h) + 90px) 120px;
    padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-inline-end: 56px;
  }
  .hero__media { aspect-ratio: auto; border-start-start-radius: 100% 100%; }
  .hero__arc { width: 58vw; inset-inline-start: -29vw; bottom: -29vw; border-width: 4.5vw; }
  .hero__dots { position: absolute; bottom: 44px; inset-inline: 0; z-index: 2; padding: 0 var(--gutter); }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--teal); color: var(--muted-on-teal);
  padding-block: calc(var(--header-h) + 48px) clamp(56px, 7vw, 96px);
}
@media (min-width: 992px) { .page-hero { padding-top: calc(var(--header-h) + 44px + 72px); } }
.page-hero__rings {
  position: absolute; inset-inline-end: -220px; top: -60px; width: min(760px, 110vw);
  opacity: .12; pointer-events: none;
}
.page-hero__inner { position: relative; display: grid; gap: 40px; align-items: center; }
.page-hero h1 { color: var(--on-dark); margin-bottom: .35em; }
.page-hero .lead { max-width: 40rem; margin: 0; }
.page-hero__media {
  overflow: hidden; aspect-ratio: 4 / 3;
  border-end-start-radius: var(--radius-leaf); border-start-end-radius: var(--radius-leaf);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) {
  .page-hero--media .page-hero__inner { grid-template-columns: 1.1fr .9fr; gap: 72px; }
}
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 6px; margin-bottom: 18px; font-size: .875rem; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .6; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--amber); text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted-on-teal); }

/* ---------- Metrics band ---------- */
.metrics__inner { position: relative; display: grid; gap: 56px; }
.metrics__intro p { font-size: 1.05rem; }
.metrics__grid { list-style: none; display: grid; gap: 36px; }
.metric { display: flex; gap: 20px; align-items: center; }
.metric__icon { width: 64px; height: 64px; color: var(--amber); }
.metric__value {
  margin: 0; font-size: clamp(2.6rem, 2rem + 2.2vw, 4.25rem); font-weight: 600; line-height: 1.05;
  color: var(--amber); font-variant-numeric: tabular-nums;
}
.metric__label { margin: 4px 0 0; color: var(--on-dark); font-weight: 500; font-size: 1.05rem; line-height: 1.4; }
@media (min-width: 600px) { .metrics__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) {
  .metrics__inner { grid-template-columns: minmax(340px, 1fr) 1.2fr; gap: clamp(64px, 8vw, 150px); align-items: center; }
  .metrics__grid { gap: 72px 56px; }
  .metric { display: block; }
  .metric__icon { width: 96px; height: 96px; margin-bottom: 18px; }
}

/* ---------- Split: text + media ---------- */
.split__inner { display: grid; gap: 40px; align-items: center; }
.split__media {
  position: relative; overflow: hidden; aspect-ratio: 5 / 4;
  border-end-start-radius: var(--radius-leaf); border-start-end-radius: var(--radius-leaf);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text p { color: var(--muted); font-size: 1.05rem; }
.split--sand { background: var(--sand); }
.split--sand .split__text p { color: #3E5B58; }
@media (min-width: 992px) {
  .split__inner { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 110px); }
  .split--reverse .split__media { order: 2; }
}

/* ---------- Product showcase (home) ---------- */
.showcase__inner { display: grid; gap: 40px; }
.showcase__intro p { color: var(--muted); font-size: 1.05rem; }
.showcase__preview { display: none; }
.showcase__list { list-style: none; display: grid; gap: 4px 24px; }
.showcase__item {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 12px; border-radius: 14px;
  color: var(--teal); text-decoration: none;
  transition: background-color .25s;
}
.showcase__item:hover, .showcase__item:focus-visible { background: var(--tint); color: var(--amber-ink); }
.showcase__thumb {
  flex-shrink: 0; width: 52px; height: 64px;
  -webkit-mask: url("../brand/masks/drop-mask.svg") center / contain no-repeat;
  mask: url("../brand/masks/drop-mask.svg") center / contain no-repeat;
  background: var(--sand);
}
.showcase__thumb img { width: 100%; height: 100%; object-fit: cover; }
.showcase__name { font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.showcase__item--gum .showcase__name::after {
  content: "★"; margin-inline-start: 8px; color: var(--amber); font-size: .8em;
}
.showcase__arrow { margin-inline-start: auto; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.showcase__item:hover .showcase__arrow, .showcase__item:focus-visible .showcase__arrow { opacity: 1; transform: none; }
@media (min-width: 600px) { .showcase__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) {
  .showcase__inner { grid-template-columns: 5fr 7fr; gap: clamp(56px, 7vw, 110px); align-items: start; }
  .showcase__intro { position: sticky; top: 110px; }
  .showcase__preview {
    display: block; position: relative; aspect-ratio: 4 / 3; margin-block: 28px 20px; overflow: hidden;
    border-end-start-radius: var(--radius-leaf); border-start-end-radius: var(--radius-leaf);
    background: var(--sand);
  }
  .showcase__preview img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .6s ease;
  }
  .showcase__preview img.is-active { opacity: 1; }
}

/* ---------- Origin map ---------- */
.origin__inner { display: grid; gap: 40px; align-items: center; }
.origin__text p { color: var(--muted); font-size: 1.05rem; }
.origin__map {
  margin: 0; padding: clamp(20px, 3vw, 40px);
  background: var(--white); border: 1px solid var(--border);
  border-end-start-radius: var(--radius-leaf); border-start-end-radius: var(--radius-leaf);
}
.origin__map img { width: 100%; }
@media (min-width: 992px) { .origin__inner { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 110px); } }

.drop-list { list-style: none; display: grid; gap: 12px; margin-bottom: 1.2em; }
.drop-list li { position: relative; padding-inline-start: 30px; }
.drop-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .3em;
  width: 14px; height: 19px; background: var(--amber);
  -webkit-mask: url("../brand/masks/drop-mask.svg") center / contain no-repeat;
  mask: url("../brand/masks/drop-mask.svg") center / contain no-repeat;
}

/* ---------- Industries slider ---------- */
.industries { background: var(--white); }
.industries__head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.industries__head p { color: var(--muted); margin: 0; max-width: 40rem; }
.slider-nav { display: flex; gap: 12px; }
.slider-nav__btn {
  display: grid; place-items: center; width: 54px; height: 54px; padding: 0;
  border: 0; border-radius: 50%; background: var(--amber); color: var(--teal); cursor: pointer;
  transition: transform .18s, background-color .2s;
}
.slider-nav__btn:hover { background: var(--teal); color: var(--on-dark); }
[dir="rtl"] .slider-nav__btn .icon { transform: scaleX(-1); }
.industries__track {
  list-style: none; display: grid; grid-auto-flow: column;
  grid-auto-columns: 82%; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  padding-bottom: 12px; scrollbar-width: none;
}
.industries__track::-webkit-scrollbar { display: none; }
.industry-card {
  scroll-snap-align: start;
  padding: 36px 30px 30px;
  background: var(--paper); border: 1px solid var(--border);
  border-end-start-radius: var(--radius-card); border-start-end-radius: var(--radius-card);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 61, 60, .1); }
.industry-card p { margin: 0; color: var(--muted); }
@media (min-width: 600px) { .industries__track { grid-auto-columns: calc((100% - 24px) / 2.15); } }
@media (min-width: 992px) { .industries__track { grid-auto-columns: calc((100% - 3 * 24px) / 4); } }

.badge {
  display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 22px;
  border-radius: 50%; background: var(--cream); color: var(--teal);
}
.badge .icon { width: 34px; height: 34px; }
.badge--teal { background: var(--teal); color: var(--on-dark); }

/* ---------- Overlay CTA (large image) ---------- */
.overlay-cta { padding-top: 0; }
.overlay-cta__box {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(460px, 42vw, 600px);
  border-radius: clamp(1.5rem, 3vw, 3.125rem);
  color: var(--on-dark);
}
.overlay-cta__box--short { min-height: clamp(400px, 34vw, 480px); }
.overlay-cta__box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay-cta__box::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7, 44, 43, .96) 0%, rgba(7, 44, 43, .55) 45%, rgba(7, 44, 43, .05) 100%);
}
.overlay-cta__content {
  position: relative; z-index: 1; width: 100%;
  display: grid; gap: 16px; padding: clamp(28px, 4vw, 60px);
}
.overlay-cta__content h2 { color: var(--on-dark); margin: 0; }
.overlay-cta__side p { color: var(--on-dark); opacity: .9; }
@media (min-width: 992px) {
  .overlay-cta__content { grid-template-columns: 1fr minmax(0, 34rem); align-items: end; gap: 7rem; }
}

/* ---------- Contact banner ---------- */
/* Heading, two actions and the acacia horizon at the foot. */
.banner {
  position: relative; overflow: hidden;
  background: var(--deep); color: var(--muted-on-teal);
  text-align: center; padding-top: clamp(72px, 8vw, 110px);
}
/* About ends with its own acacia landscape, so the banner skips its horizon. */
.page-about .banner__horizon { display: none; }
.page-about .banner__inner { padding-bottom: clamp(72px, 8vw, 110px); }
.banner__inner { position: relative; z-index: 2; max-width: 920px; padding-bottom: clamp(120px, 15vw, 220px); }
.banner h2 { color: var(--on-dark); }
.banner p { max-width: 640px; margin: 0 auto 28px; font-size: 1.05rem; }
.banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: var(--on-dark); color: var(--teal); }
.banner__horizon {
  position: absolute; bottom: 0; inset-inline: 0; z-index: 1;
  width: 100%; max-width: none; height: auto; pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep); color: var(--muted-on-teal);
  border-top: 4px solid var(--amber);
  padding-block: 64px 24px; font-size: .95rem;
}
.footer__grid { display: grid; gap: 40px; }
.footer__brand img { width: 230px; margin-bottom: 20px; }
.footer__brand p { max-width: 26rem; }
.footer__title { color: var(--on-dark); font-size: 1rem; margin-bottom: 16px; }
.footer__links { list-style: none; display: grid; gap: 8px; }
.footer__links--cols { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer__links a, .footer__contact a, .footer__bottom a, .footer__social a { color: var(--muted-on-teal); text-decoration: none; }
.footer__links a:hover, .footer__contact a:hover, .footer__bottom a:hover, .footer__social a:hover { color: var(--amber); }
.footer__contact { list-style: none; display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--amber); margin-top: .2em; }
.footer__social { list-style: none; display: flex; gap: 16px; margin-top: 20px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .85rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom span { margin-inline: 8px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.3fr .8fr 1.6fr 1.1fr; gap: 48px; } }

/* ---------- Cards and grids ---------- */
.card-grid { list-style: none; display: grid; gap: 24px; }
.card {
  padding: 36px 32px;
  background: var(--white); border: 1px solid var(--border);
  border-end-start-radius: var(--radius-card); border-start-end-radius: var(--radius-card);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 61, 60, .1); }
.card p { margin: 0; color: var(--muted); }
.section--sand .card { background: var(--paper); }
@media (min-width: 700px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.feature-grid { list-style: none; display: grid; gap: 8px 40px; }
.feature { padding-block: 28px; border-top: 2px solid var(--border); }
.section--sand .feature { border-color: rgba(11, 61, 60, .15); }
.feature__icon { width: 48px; height: 48px; color: var(--amber-ink); margin-bottom: 16px; }
.feature p { margin: 0; color: var(--muted); }
.section--sand .feature p { color: #3E5B58; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1230px) { .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Facts / checks lists on deep teal */
.facts__inner, .checks__inner { position: relative; display: grid; gap: 40px; }
.facts__list { list-style: none; display: grid; gap: 18px 40px; }
.facts__list li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark); font-size: 1.05rem; }
.facts__list .icon { color: var(--amber); width: 28px; height: 28px; }
.checks__note { margin-top: 28px; font-size: .95rem; }
.facts__map { width: 100%; max-width: 520px; margin-top: 12px; }
@media (min-width: 768px) { .facts__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) {
  .facts__inner { grid-template-columns: 1fr 2fr; align-items: center; }
  .checks__inner { grid-template-columns: 1fr 1.4fr; align-items: start; }
}

/* Sustainability band with acacia horizon */
.sustain { padding-bottom: 0; background: var(--paper); }
.sustain__inner { max-width: 820px; text-align: center; }
.sustain__inner p { color: var(--muted); font-size: 1.05rem; }
.sustain__horizon { width: 100%; max-width: none; margin-top: 40px; }

/* Process steps */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px 28px;
  background: var(--white); border: 1px solid var(--border);
  border-end-start-radius: var(--radius-card); border-start-end-radius: var(--radius-card);
}
.step p { margin: 0; color: var(--muted); }
.step__num {
  position: absolute; top: 14px; inset-inline-end: 22px;
  font-size: 2.8rem; font-weight: 700; line-height: 1; color: var(--sand);
}
@media (min-width: 600px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1230px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Payment and delivery terms */
.terms { display: grid; gap: 56px; }
.terms__col > p { color: var(--muted); }
.term-list { list-style: none; display: grid; gap: 28px; margin-top: 24px; }
.term-list li { position: relative; padding-inline-start: 68px; }
.term-list__icon {
  position: absolute; inset-inline-start: 0; top: 0;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); color: var(--on-dark);
}
.term-list__icon .icon { width: 26px; height: 26px; }
.term-list p { margin: 0; color: var(--muted); }
.incoterms { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.incoterms li {
  display: flex; gap: 18px; align-items: center; padding: 16px 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
}
.incoterms strong {
  display: grid; place-items: center; min-width: 68px; padding: 6px 10px;
  background: var(--cream); color: var(--teal); border-radius: 8px; font-size: 1.1rem;
}
@media (min-width: 992px) { .terms { grid-template-columns: 1fr 1fr; gap: 96px; } }

/* ---------- Products ---------- */
.eyebrow { margin: 0 0 6px; color: var(--amber-ink); font-size: .9rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips li {
  padding: 5px 14px; border-radius: 999px;
  background: var(--tint); color: var(--teal); font-size: .85rem; font-weight: 500;
}
.chips--lg li { padding: 8px 18px; font-size: .95rem; background: var(--cream); }

.gum-grid { list-style: none; display: grid; gap: 32px; }
.gum-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  border-end-start-radius: var(--radius-leaf); border-start-end-radius: var(--radius-leaf);
}
.gum-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.gum-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gum-card:hover .gum-card__media img { transform: scale(1.06); }
.gum-card__body { position: relative; padding: clamp(24px, 3vw, 40px); }
.gum-card__badge {
  position: absolute; top: -34px; inset-inline-end: clamp(24px, 3vw, 40px); margin: 0;
  box-shadow: 0 0 0 5px var(--white);
}
.gum-card__body h3 a { color: var(--teal); text-decoration: none; }
.gum-card__body > p { color: var(--muted); }
@media (min-width: 992px) { .gum-grid { grid-template-columns: 1fr 1fr; } }

.product-grid { list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.product-card a {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); text-decoration: none; color: inherit;
  border-end-start-radius: var(--radius-card); border-start-end-radius: var(--radius-card);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.product-card a:hover { box-shadow: 0 18px 40px rgba(11, 61, 60, .12); transform: translateY(-3px); }
.product-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card a:hover .product-card__media img { transform: scale(1.08); }
.product-card__body { position: relative; display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 34px 22px 24px; }
.product-card__icon {
  position: absolute; top: -26px; inset-inline-start: 18px;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); color: var(--teal); box-shadow: 0 0 0 4px var(--white);
}
.product-card__icon .icon { width: 28px; height: 28px; }
.product-card__name { margin: 0; color: var(--teal); font-weight: 600; }
.product-card__text { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px;
  color: var(--amber-ink); font-weight: 600; font-size: .9rem;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .25s; }
a:hover .link-arrow .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow .icon, [dir="rtl"] .showcase__arrow { transform: scaleX(-1); }
[dir="rtl"] a:hover .link-arrow .icon { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .showcase__item:hover .showcase__arrow { transform: scaleX(-1); }
@media (min-width: 992px) { .product-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 40px 0 0; padding: 16px 20px;
  border: 1.5px dashed rgba(11, 61, 60, .3); border-radius: 14px; color: var(--ink);
}
.note .icon { color: var(--amber-ink); margin-top: .2em; }

.product__layout { display: grid; gap: 48px; }
.product__main h2 { margin-top: 48px; }
.product__main h2:first-child { margin-top: 0; }
.product__main p { color: var(--muted); font-size: 1.05rem; }
@media (min-width: 992px) {
  .product__layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; align-items: start; }
  .product__aside { position: sticky; top: 100px; }
}

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--border); }
.spec-table thead th { background: var(--teal); color: var(--on-dark); font-weight: 600; font-size: .9rem; }
.spec-table tbody th { color: var(--teal); font-weight: 600; white-space: nowrap; }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.spec-table tbody tr:nth-child(even) { background: var(--paper); }

.facts-card {
  padding: 32px;
  background: var(--white); border: 1px solid var(--border);
  border-end-start-radius: var(--radius-card); border-start-end-radius: var(--radius-card);
}
.facts-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.facts-card__head .badge { width: 56px; height: 56px; margin: 0; flex-shrink: 0; }
.facts-card__head .badge .icon { width: 30px; height: 30px; }
.facts-card__head h2 { margin: 0; }
.facts-card dl { margin: 0 0 16px; }
.facts-card dl > div { padding-block: 12px; border-bottom: 1px solid var(--border); }
.facts-card dt { color: var(--muted); font-size: .82rem; }
.facts-card dd { margin: 2px 0 0; color: var(--teal); font-weight: 500; }
.facts-card__note { color: var(--muted); font-size: .82rem; }
.facts-card .btn { margin-top: 12px; }
.spec-link {
  display: flex; align-items: center; gap: 14px; margin: 4px 0 8px; padding: 14px 16px;
  border: 1.5px dashed rgba(11, 61, 60, .3); border-radius: 14px;
  color: var(--teal); text-decoration: none; line-height: 1.4;
  transition: background-color .2s, border-color .2s;
}
.spec-link:hover { background: var(--tint); border-color: var(--teal); color: var(--teal); }
.spec-link__icon {
  display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px;
  border-radius: 50%; background: var(--cream); color: var(--teal);
}
.spec-link__icon .icon { width: 24px; height: 24px; }
.spec-link strong { display: block; font-weight: 600; }
.spec-link__meta { display: block; font-size: .82rem; color: var(--muted); }
.facts-card--deep { background: var(--deep); border-color: var(--deep); color: var(--muted-on-teal); }
.facts-card--deep h2 { color: var(--on-dark); }
.facts-card--deep .facts-card__note { color: var(--amber); }

/* ---------- Contact ---------- */
.contact__layout { display: grid; gap: 56px; }
.contact__form-wrap > p { color: var(--muted); }
@media (min-width: 992px) {
  .contact__layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 80px; align-items: start; }
  .contact__aside { position: sticky; top: 100px; }
}
.contact-list { list-style: none; display: grid; }
.contact-list li { display: flex; gap: 14px; padding-block: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { color: var(--amber); width: 24px; height: 24px; margin-top: 2px; }
.contact-list__label { display: block; font-size: .8rem; color: var(--muted-on-teal); }
.contact-list div { color: var(--on-dark); }
.contact-list a { color: var(--on-dark); }
.contact__map { display: none; width: 60%; margin: 32px auto 0; opacity: .15; }
@media (min-width: 992px) { .contact__map { display: block; } }

.form { position: relative; margin-top: 28px; }
.form__hp { position: absolute; inset-inline-start: -9999px; }
.form__types { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; border: 0; }
.form__types legend { margin-bottom: 10px; font-weight: 600; color: var(--teal); }
.radio {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border: 1.5px solid var(--border); border-radius: 999px; background: var(--white); cursor: pointer;
}
.radio:has(input:checked) { border-color: var(--teal); background: var(--tint); }
.radio input { accent-color: var(--teal); margin: 0; }
.form__grid { display: grid; gap: 20px 24px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: var(--teal); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #D6C8B0; border-radius: 10px; background: var(--white);
  font: 400 1rem/1.5 var(--font); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(217, 164, 65, .35);
}
.field ::placeholder { color: #8FA3A0; }
.req { color: var(--amber-ink); }
.form__privacy { margin: 20px 0; font-size: .85rem; color: var(--muted); }
.form__status { margin: 16px 0 0; }
.form__status:empty { display: none; }
.form__status.is-success, .form__status.is-error { padding: 14px 18px; border-radius: 12px; }
.form__status.is-success { background: #E3F0EC; color: var(--teal); }
.form__status.is-error { background: #FBEAE7; color: #8A2A1C; }

/* ---------- Credits ---------- */
.credits-table img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; }
.credits-table td { font-size: .9rem; word-break: break-word; }

/* ---------- 404 ---------- */
.page-hero--404 { min-height: 70vh; display: flex; align-items: center; }
.notfound__code { font-size: clamp(5rem, 14vw, 10rem); font-weight: 700; line-height: 1; color: var(--amber); margin: 0 0 24px; }
.notfound__cols { display: grid; gap: 40px; }
.notfound h1, .notfound h2 { color: var(--on-dark); }
@media (min-width: 768px) { .notfound__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Scroll-in animation (only when JS + motion allowed) ---------- */
.js-animate [data-animate] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s ease, transform .8s var(--ease);
}
.js-animate [data-animate].is-in { opacity: 1; transform: none; }
/* Reveal: a cover in the section's background colour slides away. Never clip
   the frame or the image to zero: a fully clipped element has no visible
   area, so IntersectionObserver never reports it (the frame stays blank)
   and lazy-loaded images inside it never start loading. */
.section--sand, .split--sand { --reveal-bg: var(--sand); }
.page-hero { --reveal-bg: var(--teal); }
.js-animate [data-animate="reveal"] { position: relative; opacity: 1; transform: none; }
.js-animate [data-animate="reveal"]::before {
  content: ""; position: absolute; inset: -1px; z-index: 3; pointer-events: none;
  background: var(--reveal-bg, var(--paper));
  transform-origin: top; transition: transform 1.3s var(--ease);
}
.js-animate [data-animate="reveal"].is-in::before { transform: scaleY(0); }
.js-animate [data-animate="reveal"] img { transform: scale(1.18); transition: transform 1.5s var(--ease); }
.js-animate [data-animate="reveal"].is-in img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero__title, .hero__lead, .hero__cta { opacity: 1; transform: none; }
}
