/* ==========================================================================
   AL-SAAD INTERNATIONAL TRADING — "EXPORT DOSSIER" DESIGN SYSTEM
   Decisions & rationale: design-system/al-saad/MASTER.md
   Fonts: Newsreader (display) · Source Sans 3 (body/UI) · IBM Plex Mono (data labels)
   ========================================================================== */

:root {
    /* Color */
    --ink: #0D2B1D;
    --ink-2: #163A28;
    --ink-soft: #4A5A4F;
    --paper: #F6F2E9;
    --sand: #ECE5D5;
    --surface: #FFFFFF;
    --line: #D8CFBC;
    --line-strong: #BFB39A;
    --gold: #8A5A12;
    --gold-bright: #C4A163;
    --on-ink: #F6F2E9;
    --on-ink-muted: #B9C4BA;
    --line-on-ink: rgba(246, 242, 233, 0.16);
    --cat-herbs: #2F6B45;
    --cat-spices: #8E2A3B;
    --cat-seeds: #8A5A12;
    --danger: #B42318;
    --focus: #C4A163;

    /* Type */
    --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans 3', -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

    /* Space (4px base) */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 64px;
    --s-9: 96px;

    --section-y: clamp(64px, 9vw, 120px);
    --gutter: clamp(16px, 4vw, 40px);
    --container: 1240px;
    --measure: 68ch;
    --radius: 2px;
    --header-h: 72px;

    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --dur-fast: 160ms;
    --dur: 240ms;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: inherit;
    text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.4rem; line-height: 1.25; }
h4 { font-size: 1.15rem; line-height: 1.3; }

h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold); }

/* Accent text on dark surfaces must use the light gold (6.3:1 on ink) */
.section--ink h2 em, .quote__aside h2 em, .cta-band h2 em, .panel--ink em { color: var(--gold-bright); }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--s-4); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

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

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: var(--s-4);
    top: -100px;
    z-index: 3000;
    padding: var(--s-3) var(--s-4);
    background: var(--ink);
    color: var(--on-ink);
    font-weight: 600;
}
.skip-link:focus { top: var(--s-4); }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section + .section:not(.section--sand):not(.section--ink) { border-top: 1px solid var(--line); }

.section-head {
    display: grid;
    gap: var(--s-4);
    margin-bottom: clamp(32px, 5vw, 56px);
    max-width: 760px;
}

.section-head--split {
    max-width: none;
    grid-template-columns: 1fr;
    align-items: end;
}

@media (min-width: 900px) {
    .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-7); }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: currentColor;
}

.section--ink .eyebrow { color: var(--gold-bright); }

.lede {
    font-size: clamp(1.075rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 60ch;
}

.section--ink .lede,
.section--ink .muted { color: var(--on-ink-muted); }

.muted { color: var(--ink-soft); }
.prose { max-width: var(--measure); color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }

.grid-2 {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
}

@media (min-width: 900px) {
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-2--wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
    .grid-2--center { align-items: center; }
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    min-height: 48px;
    padding: var(--s-3) var(--s-5);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.btn svg { flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.nav-toggle:hover svg { transform: none; }

.btn--primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--primary:hover { background: var(--ink-2); }

.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink); background: var(--surface); }

.btn--gold { background: var(--gold-bright); color: var(--ink); border-color: var(--gold-bright); }
.btn--gold:hover { background: #D3B57E; border-color: #D3B57E; }

.btn--ghost-on-ink { color: var(--on-ink); border-color: var(--line-on-ink); background: transparent; }
.btn--ghost-on-ink:hover { border-color: var(--on-ink); }

.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: var(--s-2) var(--s-4); font-size: 0.95rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    min-height: 44px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.link-arrow::after { content: '→'; transition: transform var(--dur) var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow:hover { color: var(--gold); }
.section--ink .link-arrow { color: var(--on-ink); }
.section--ink .link-arrow:hover { color: var(--gold-bright); }

/* --------------------------------------------------------------------------
   Home intro: statement + three connected steps + stat strip
   -------------------------------------------------------------------------- */
.intro__grid { display: grid; gap: var(--s-7); align-items: center; }

.intro__text { display: grid; gap: var(--s-4); justify-items: start; }
.intro__text h2 { margin: 0; }

.intro__steps { list-style: none; display: grid; gap: var(--s-3); }

.intro__step {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: var(--s-4);
    row-gap: var(--s-1);
    padding: var(--s-4) var(--s-5);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.intro__step:hover { border-color: var(--gold-bright); box-shadow: 0 16px 32px -24px rgba(13, 43, 29, 0.35); }

/* Hairline linking one step's number to the next */
.intro__step:not(:last-child)::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset-inline-start: calc(var(--s-5) + 23.5px);
    top: calc(var(--s-4) + 48px);
    bottom: calc((var(--s-3) + var(--s-4)) * -1);
    width: 1px;
    background: var(--gold-bright);
}

.intro__num {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gold-bright);
    background: var(--paper);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
}
.intro__step h3 { font-size: 1.15rem; align-self: end; }
.intro__step p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* Stats: compact list under the intro text, label left, value right */
.intro__stats {
    width: 100%;
    max-width: 420px;
    margin: var(--s-2) 0 0;
    border-top: 1px solid var(--line);
}
.intro__stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-4);
    padding-block: var(--s-2);
    border-bottom: 1px solid var(--line);
}
.intro__stat dt {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.intro__stat dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

@media (min-width: 900px) {
    .intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); }
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--paper);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 1px 0 rgba(13, 43, 29, 0.02), 0 8px 24px -16px rgba(13, 43, 29, 0.25);
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    text-decoration: none;
    color: var(--ink);
    min-height: 44px;
}

.brand__mark { width: 44px; height: 44px; flex: none; object-fit: contain; }

.brand__text { display: grid; line-height: 1.05; }
.brand__name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.brand__sub {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 3px;
}

.mobile-menu .brand, .site-footer .brand { color: var(--on-ink); }
.mobile-menu .brand__sub, .site-footer .brand__sub { color: var(--gold-bright); }

.nav { display: none; }

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--s-1);
    list-style: none;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--s-3);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
    position: relative;
    transition: color var(--dur-fast) var(--ease);
}

.nav__link::after {
    content: '';
    position: absolute;
    left: var(--s-3);
    right: var(--s-3);
    bottom: 8px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
}

.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }

.header-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    min-width: 44px;
    min-height: 44px;
    padding: 0 var(--s-3);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--ink);
    font: 600 0.9rem var(--font-body);
    cursor: pointer;
}

/* Language switch (EN / AR) */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 var(--s-3);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--ink);
    font: 600 0.9rem var(--font-body);
    text-decoration: none;
    transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.lang-switch:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.lang-switch, .lang-link { gap: var(--s-2); }
.lang-switch .flag, .lang-link .flag { width: 20px; height: 14px; }
.lang-link { display: inline-flex; align-items: center; }
.lang-switch[lang="ar"] { font-family: 'IBM Plex Sans Arabic', var(--font-body); }

@media (min-width: 1100px) {
    .nav { display: block; }
    .header-cta { display: inline-flex; }
    .nav-toggle { display: none; }
}

/* Mobile menu: half-height sheet dropping from the top, page dimmed behind it */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1999;
    background: rgba(8, 24, 16, 0.55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
body.menu-open::after {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur) var(--ease);
}

.mobile-menu {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 2000;
    height: 50vh;
    height: 50dvh;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    background: var(--ink);
    color: var(--on-ink);
    padding: var(--s-3) var(--gutter) var(--s-4);
    border-radius: 0 0 20px 20px;
    border-bottom: 2px solid var(--gold-bright);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.45);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 320ms var(--ease), visibility 0s linear 320ms;
}

.mobile-menu.is-open {
    visibility: visible;
    transform: none;
    transition: transform 320ms var(--ease);
}

.mobile-menu__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: calc(var(--header-h) - var(--s-4));
    padding-bottom: var(--s-3);
    margin-bottom: var(--s-3);
    border-bottom: 1px solid var(--line-on-ink);
}

.mobile-menu .brand__mark { width: 34px; height: 34px; }
.mobile-menu .nav-toggle { color: var(--on-ink); border-color: var(--line-on-ink); border-radius: 999px; }

/* Two columns so all pages fit in half the screen */
.mobile-menu__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-2);
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    min-height: 44px;
    padding: 0 var(--s-3);
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--on-ink);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.mobile-menu__link:hover,
.mobile-menu__link:focus-visible { background: rgba(255, 255, 255, 0.09); }
.mobile-menu__link[aria-current="page"] {
    color: var(--gold-bright);
    border-color: var(--gold-bright);
    background: rgba(255, 255, 255, 0.06);
}
.mobile-menu__link[aria-current="page"]::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-bright);
    flex-shrink: 0;
}

.mobile-menu__footer {
    margin-top: auto;
    padding-top: var(--s-4);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2) var(--s-4);
    color: var(--on-ink-muted);
    font-size: 0.875rem;
}
.mobile-menu__footer .btn { flex: 1 0 100%; }
.mobile-menu__footer a:not(.btn) { color: var(--on-ink-muted); text-decoration: none; }
.mobile-menu__footer a:not(.btn):hover { color: var(--on-ink); }

@media (prefers-reduced-motion: reduce) {
    .mobile-menu, .mobile-menu.is-open, body::after { transition: none; }
}

/* --------------------------------------------------------------------------
   Slider (home): full-viewport, header floats over it until the page scrolls
   -------------------------------------------------------------------------- */
/* Same floating header on inner pages that open with a .page-hero (body.has-hero) */
.page-home .site-header,
.has-hero .site-header {
    position: fixed;
    inset-inline: 0;
    background: transparent;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.page-home .site-header.is-scrolled,
.has-hero .site-header.is-scrolled { background: var(--paper); }
.page-home .site-header:not(.is-scrolled) .brand,
.page-home .site-header:not(.is-scrolled) .nav__link,
.page-home .site-header:not(.is-scrolled) .nav__link:hover,
.has-hero .site-header:not(.is-scrolled) .brand,
.has-hero .site-header:not(.is-scrolled) .nav__link,
.has-hero .site-header:not(.is-scrolled) .nav__link:hover { color: var(--on-ink); }
.has-hero .site-header:not(.is-scrolled) .nav__link[aria-current="page"] { color: var(--gold-bright); }
.page-home .site-header:not(.is-scrolled) .brand__sub,
.has-hero .site-header:not(.is-scrolled) .brand__sub { color: var(--gold-bright); }
.page-home .site-header:not(.is-scrolled) .nav__link::after,
.has-hero .site-header:not(.is-scrolled) .nav__link::after { background: var(--gold-bright); }
.page-home .site-header:not(.is-scrolled) .nav-toggle,
.has-hero .site-header:not(.is-scrolled) .nav-toggle,
.page-home .site-header:not(.is-scrolled) .lang-switch,
.has-hero .site-header:not(.is-scrolled) .lang-switch { color: var(--on-ink); border-color: var(--line-on-ink); }
.page-home .site-header:not(.is-scrolled) .header-cta,
.has-hero .site-header:not(.is-scrolled) .header-cta { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }


.slider {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    background: var(--ink);
    color: var(--on-ink);
    overflow: hidden;
}

.slider__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 900ms var(--ease), visibility 0s linear 900ms;
}
.slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 900ms var(--ease);
}

.slider__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.04);
    transition: transform 6s linear;
}
.slider__slide.is-active .slider__img { transform: scale(1); }

/* Keeps the text readable wherever the photos reach under it */
.slider__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 43, 29, 0.92) 0%, rgba(13, 43, 29, 0.6) 38%, rgba(13, 43, 29, 0) 62%);
    pointer-events: none;
}

.slider__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: var(--s-5);
    justify-items: start;
    width: 100%;
    padding-top: var(--header-h);
}
.slider__content > * { max-width: 34rem; }
.slider__content .eyebrow { color: var(--gold-bright); }

.slider__title {
    font-size: clamp(2.5rem, 5.2vw, 4.5rem);
    letter-spacing: -0.02em;
}
.slider__title em { color: var(--gold-bright); }

.slider__lede {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.55;
    color: var(--on-ink-muted);
}

/* Text rises in with each slide */
.slider__content > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.slider__slide.is-active .slider__content > * { opacity: 1; transform: none; }
.slider__slide.is-active .slider__content > :nth-child(2) { transition-delay: 120ms; }
.slider__slide.is-active .slider__content > :nth-child(3) { transition-delay: 240ms; }
.slider__slide.is-active .slider__content > :nth-child(4) { transition-delay: 360ms; }

.btn--ghost-light { background: transparent; color: var(--on-ink); border-color: var(--line-on-ink); }
.btn--ghost-light:hover { border-color: var(--on-ink); background: rgba(246, 242, 233, 0.06); }

.slider__dots {
    position: absolute;
    left: 50%;
    bottom: var(--s-6);
    transform: translateX(-50%);
    display: flex;
    gap: var(--s-2);
    z-index: 1;
}

.slider__dot {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}
.slider__dot::before {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    top: 50%;
    height: 2px;
    background: var(--line-on-ink);
    transition: background var(--dur) var(--ease);
}
.slider__dot[aria-current]::before { background: var(--gold-bright); }
.slider__dot:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: -4px; }

/* Phones: portrait images put the products low, so text sits at the top */
@media (max-width: 767px) {
    .slider__slide { align-items: flex-start; }
    .slider__img { object-position: center bottom; }
    .slider__slide::after { background: linear-gradient(180deg, rgba(13, 43, 29, 0.9) 0%, rgba(13, 43, 29, 0.55) 45%, rgba(13, 43, 29, 0) 65%); }
    .slider__content { padding-top: calc(var(--header-h) + var(--s-6)); gap: var(--s-4); }
    .slider__lede { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .slider__slide, .slider__img, .slider__content > * { transition: none; }
    .slider__img { transform: none; }
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
    padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px);
    border-bottom: 1px solid var(--line);
}

.hero__grid {
    display: grid;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

@media (min-width: 900px) {
    .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.hero__copy { display: grid; gap: var(--s-5); justify-items: start; }
.hero__copy h1 { max-width: 14ch; }

.hero__media { position: relative; }

.hero__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--sand);
}

@media (min-width: 900px) {
    .hero__img { aspect-ratio: 5 / 6; max-height: 640px; }
}

/* Spec card: the "label on the sack" */
.spec-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--s-4) var(--s-5);
    box-shadow: 0 18px 40px -24px rgba(13, 43, 29, 0.35);
    margin-top: calc(-1 * var(--s-8));
    margin-inline: var(--s-4);
    position: relative;
}

@media (min-width: 900px) {
    .spec-card {
        position: absolute;
        left: calc(-1 * var(--s-7));
        bottom: var(--s-6);
        width: min(340px, 80%);
        margin: 0;
    }
}

.spec-card__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-3);
    padding-bottom: var(--s-3);
    border-bottom: 1px solid var(--line);
    margin-bottom: var(--s-2);
}

.spec-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.spec-card__title i { font-style: italic; color: var(--ink-soft); font-size: 0.95rem; }

/* Facts strip */
.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    margin-top: clamp(40px, 6vw, 72px);
}

@media (min-width: 900px) {
    .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.facts { list-style: none; }

.fact {
    display: flex;
    flex-direction: column;
    padding: var(--s-5) var(--s-4) 0 0;
}

.fact__value small { font-size: 0.5em; }

.fact + .fact { padding-left: var(--s-4); border-left: 1px solid var(--line); }

@media (max-width: 899.98px) {
    .fact:nth-child(3) { padding-left: 0; border-left: 0; }
}

.fact__value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
}

.fact__label { margin-top: var(--s-2); font-size: 0.95rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Data primitives: spec list, tags, tables
   -------------------------------------------------------------------------- */
.spec-list { margin: 0; }

.spec-list__row {
    display: grid;
    grid-template-columns: minmax(96px, 34%) 1fr;
    gap: var(--s-4);
    padding-block: var(--s-3);
    border-bottom: 1px solid var(--line);
}

.spec-list__row:last-child { border-bottom: 0; }

.spec-list dt {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding-top: 3px;
}

.spec-list dd { margin: 0; font-size: 0.98rem; }

.spec-list--compact .spec-list__row { padding-block: var(--s-2); grid-template-columns: 88px 1fr; }
.spec-list--compact dd { font-size: 0.92rem; }

.section--ink .spec-list__row { border-color: var(--line-on-ink); }
.section--ink .spec-list dt { color: var(--on-ink-muted); }

.cat-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cat, var(--ink-soft));
    white-space: nowrap;
}

.cat-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.cat-tag--herbs { --cat: var(--cat-herbs); }
.cat-tag--spices { --cat: var(--cat-spices); }
.cat-tag--seeds { --cat: var(--cat-seeds); }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }

.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.85rem;
    line-height: 1.4;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    white-space: nowrap;
}

.tag--solid { background: var(--ink); border-color: var(--ink); color: var(--on-ink); font-variant-numeric: tabular-nums; }

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
    min-width: 560px;
}

.data-table th, .data-table td {
    text-align: left;
    vertical-align: top;
    padding: var(--s-4) var(--s-5);
    border-bottom: 1px solid var(--line);
}

.data-table tr:last-child td { border-bottom: 0; }

.data-table thead th {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    background: var(--paper);
}

.data-table tbody th {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Category index (home)
   -------------------------------------------------------------------------- */
.cat-index { list-style: none; border-top: 1px solid var(--ink); }

.cat-row {
    display: grid;
    gap: var(--s-3) var(--s-6);
    padding-block: var(--s-6);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: background-color var(--dur) var(--ease);
}

@media (min-width: 900px) {
    .cat-row {
        grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.3fr) auto;
        align-items: baseline;
        padding-inline: var(--s-4);
    }
}

.cat-row:hover { background: var(--surface); }
.cat-row:hover .cat-row__go { color: var(--gold); transform: translateX(4px); }

.cat-row__count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

.cat-row__name { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.cat-row__examples { color: var(--ink-soft); }

.cat-row__go {
    font-weight: 600;
    white-space: nowrap;
    transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

/* Category cards: full-bleed photo with the name and actions over it (home) */
.cat-cards {
    list-style: none;
    display: grid;
    gap: var(--s-5);
}

@media (min-width: 900px) {
    .cat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cat-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 480px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--ink);
    color: var(--on-ink);
    isolation: isolate;
}

.cat-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 900ms var(--ease);
}
.cat-card:hover .cat-card__img { transform: scale(1.07); }

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(13, 43, 29, 0) 25%, rgba(13, 43, 29, 0.7) 55%, rgba(13, 43, 29, 0.96) 100%);
}

.cat-card__body {
    display: grid;
    gap: var(--s-3);
    width: 100%;
    padding: var(--s-6) var(--s-5) var(--s-5);
}

.cat-card__count {
    justify-self: start;
    padding: 4px 12px;
    border: 1px solid rgba(196, 161, 99, 0.6);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-bright);
}

.cat-card__name { font-size: clamp(1.6rem, 2.3vw, 2rem); }
.cat-card__examples { color: var(--on-ink-muted); font-size: 0.95rem; }

.cat-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-top: var(--s-2);
}
.cat-card__actions .btn { border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
    .cat-card__img { transition: none; }
    .cat-card:hover .cat-card__img { transform: none; }
}

/* --------------------------------------------------------------------------
   Filter chips & catalogue toolbar
   -------------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    min-height: 44px;
    padding: 0 var(--s-4);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--ink);
    font: 600 0.95rem var(--font-body);
    cursor: pointer;
    transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.chip:hover { border-color: var(--ink); background: var(--surface); }

.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

.chip__count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.75;
    font-variant-numeric: tabular-nums;
}

.catalog-toolbar {
    position: sticky;
    top: var(--header-h);
    z-index: 900;
    display: grid;
    gap: var(--s-4);
    padding-block: var(--s-4) var(--s-5);
    margin-bottom: var(--s-6);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--dur) var(--ease);
}

/* Shadow once the toolbar is pinned under the header */
.catalog-toolbar.is-stuck {
    box-shadow: 0 8px 24px -16px rgba(13, 43, 29, 0.25);
}

@media (min-width: 900px) {
    .catalog-toolbar { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-items: end; }
}

/* Compact pinned toolbar on small screens: hide the label, let chips scroll sideways */
@media (max-width: 899px) {
    .catalog-toolbar.is-stuck { gap: var(--s-3); padding-block: var(--s-3); }
    .catalog-toolbar.is-stuck .field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .catalog-toolbar.is-stuck .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .catalog-toolbar.is-stuck .chips::-webkit-scrollbar { display: none; }
    .catalog-toolbar.is-stuck .chip { flex-shrink: 0; }
}

.search-field { position: relative; }

.search-field svg {
    position: absolute;
    left: var(--s-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-soft);
    pointer-events: none;
}

.search-field .field__input { padding-left: 44px; }

.result-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-bottom: var(--s-5);
}

.empty-state {
    grid-column: 1 / -1;
    padding: var(--s-8) var(--s-5);
    text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    display: grid;
    gap: var(--s-3);
    justify-items: center;
}

/* --------------------------------------------------------------------------
   Product grid & card
   -------------------------------------------------------------------------- */
.product-grid {
    display: grid;
    gap: var(--s-5);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: var(--s-2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 24px 48px -24px rgba(13, 43, 29, 0.35);
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--sand);
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease);
}

.product-card:hover .product-card__media img { transform: scale(1.06); }

.product-card__cat {
    position: absolute;
    top: var(--s-3);
    left: var(--s-3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
}
.product-card__cat::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cat, var(--ink));
}
.product-card__cat--herbs { --cat: var(--cat-herbs); }
.product-card__cat--spices { --cat: var(--cat-spices); }
.product-card__cat--seeds { --cat: var(--cat-seeds); }

/* Specimen plate: shown until a verified product photo exists */
.plate {
    --plate: var(--ink-soft);
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: var(--s-2);
    padding: var(--s-5);
    text-align: center;
    background: color-mix(in srgb, var(--plate) 9%, var(--paper));
}

.plate::before {
    content: '';
    position: absolute;
    inset: var(--s-3);
    border: 1px solid color-mix(in srgb, var(--plate) 28%, transparent);
    pointer-events: none;
}

.plate--herbs { --plate: var(--cat-herbs); }
.plate--spices { --plate: var(--cat-spices); }
.plate--seeds { --plate: var(--cat-seeds); }

.plate__leaf { width: 36px; height: 48px; margin-bottom: var(--s-1); }
.plate__leaf path:first-child { fill: var(--plate); }
.plate__leaf path { stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }

.plate__name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.2;
    max-width: 16ch;
}

.plate__note {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.pd__media .plate { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.pd__media .plate__leaf { width: 64px; height: 86px; }
.pd__media .plate__name { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    flex: 1;
    padding: var(--s-4) var(--s-3) var(--s-3);
}

.product-card__title { font-size: 1.35rem; }
.product-card__title a { text-decoration: none; }
.product-card__title a:hover { color: var(--gold); }

.product-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2);
    margin-top: auto;
}
.product-card__actions .btn { padding-inline: var(--s-2); border-radius: 8px; font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
    .product-card, .product-card__media img { transition: none; }
    .product-card:hover, .product-card:hover .product-card__media img { transform: none; }
}

.section-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    margin-top: var(--s-7);
    padding-top: var(--s-5);
    border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Process ledger
   -------------------------------------------------------------------------- */
.ledger {
    list-style: none;
    display: grid;
    border-top: 1px solid var(--line-on-ink);
    counter-reset: step;
}

.section:not(.section--ink) .ledger { border-top-color: var(--ink); }

@media (min-width: 640px) { .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ledger--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.ledger__step {
    counter-increment: step;
    display: grid;
    align-content: start;
    gap: var(--s-2);
    padding: var(--s-5) var(--s-5) var(--s-6) 0;
    border-bottom: 1px solid var(--line-on-ink);
}

.section:not(.section--ink) .ledger__step { border-bottom-color: var(--line); }

@media (min-width: 640px) {
    .ledger__step { padding-left: var(--s-5); border-left: 1px solid var(--line-on-ink); }
    .section:not(.section--ink) .ledger__step { border-left-color: var(--line); }
}

.ledger__step::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--gold-bright);
    margin-bottom: var(--s-3);
}

.section:not(.section--ink) .ledger__step::before { color: var(--gold); }

.ledger__step h3 { font-size: 1.25rem; }
.ledger__step p { font-size: 0.95rem; color: var(--on-ink-muted); }
.section:not(.section--ink) .ledger__step p { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Markets
   -------------------------------------------------------------------------- */
.markets {
    display: grid;
    gap: var(--s-6);
}

@media (min-width: 900px) {
    .markets { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-8); }
}

.origin-card {
    align-self: start;
    padding: var(--s-6);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    display: grid;
    gap: var(--s-4);
}

.market-list { list-style: none; border-top: 1px solid var(--ink); }

.market-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-1);
    padding-block: var(--s-5);
    border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
    .market-list li { grid-template-columns: 180px minmax(0, 1fr); gap: var(--s-5); align-items: baseline; }
}

.market-list h3 { font-size: 1.5rem; }
.market-list p { color: var(--ink-soft); }

/* Country names with their flags */
.flag {
    flex: none;
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(13, 43, 29, 0.12);
}

.country-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--ink-soft); }
.market-list .country-list li { display: inline-flex; align-items: center; gap: var(--s-2); padding: 0; border: 0; }

.origin-card__place { display: flex; align-items: center; gap: var(--s-3); }
.origin-card__place .flag { width: 30px; height: 20px; }

/* --------------------------------------------------------------------------
   Commitments (why)
   -------------------------------------------------------------------------- */
.commitments {
    list-style: none;
    display: grid;
    gap: 0 var(--s-7);
    counter-reset: c;
}

@media (min-width: 900px) { .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.commitments li {
    counter-increment: c;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: var(--s-4);
    padding-block: var(--s-5);
    border-bottom: 1px solid var(--line);
}

.commitments li::before {
    content: counter(c, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--gold);
    padding-top: 6px;
}

.commitments h3 { font-size: 1.25rem; margin-bottom: var(--s-1); }
.commitments p { color: var(--ink-soft); font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   Figure / image frames
   -------------------------------------------------------------------------- */
.figure { margin: 0; }

.figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--sand);
}

.figure figcaption {
    margin-top: var(--s-3);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ink-soft);
}

.panel {
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.panel--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.panel--ink .muted { color: var(--on-ink-muted); }

.panel h3 { margin-bottom: var(--s-4); }

.check-list { list-style: none; display: grid; gap: var(--s-3); }

.check-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: var(--s-3);
    align-items: baseline;
}

.check-list li::before {
    content: '';
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg) translateY(-2px);
}

.panel--ink .check-list li::before { border-color: var(--gold-bright); }

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
/* Page hero (inner pages): calm dark band, text left, product-circle composition right
   (same visual language as the home slider). Phones: composition above the text. */
.page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, var(--ink) 0%, #10321F 100%);
    color: var(--on-ink);
    padding-block: var(--s-5) var(--s-6);
}

.has-hero .page-hero { padding-top: calc(var(--header-h) + var(--s-2)); }

/* One soft light behind the composition, nothing else */
.page-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 560px;
    height: 560px;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 161, 99, 0.14), transparent 65%);
}

.page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-5);
    align-items: center;
}

.page-hero__text { display: grid; gap: var(--s-4); max-width: 620px; }

.page-hero .breadcrumb { margin-bottom: 0; font-size: 0.85rem; }
.page-hero .breadcrumb,
.page-hero .breadcrumb a { color: var(--on-ink-muted); }
.page-hero .breadcrumb a:hover,
.page-hero .breadcrumb [aria-current] { color: var(--on-ink); }
.page-hero .breadcrumb li + li::before { color: var(--line-on-ink); }
.page-hero .eyebrow { color: var(--gold-bright); }
.page-hero h1 { color: var(--on-ink); font-size: clamp(2.1rem, 8vw, 3.5rem); line-height: 1.08; text-wrap: balance; }
.page-hero h1 em { color: var(--gold-bright); }
.page-hero .lede { color: var(--on-ink-muted); font-size: clamp(1rem, 1.25vw, 1.125rem); max-width: 54ch; }

.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-1); }
.page-hero__actions .btn { min-height: 48px; border-radius: 999px; padding-inline: var(--s-5); }

/* Facts: quiet line under a hairline, separated by gold dots */
.page-hero__facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2) var(--s-3);
    list-style: none;
    margin-top: var(--s-3);
    padding-top: var(--s-4);
    border-top: 1px solid var(--line-on-ink);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-ink-muted);
}
.page-hero__facts li { display: inline-flex; align-items: center; gap: var(--s-3); }
.page-hero__facts li + li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-bright);
}

/* Composition: one large circle + four small ones, each with a gold ring set off by a gap */
.page-hero__art {
    position: relative;
    order: -1;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 16 / 11;
    justify-self: center;
}

.page-hero__orb {
    position: absolute;
    aspect-ratio: 1;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    outline: 1px solid rgba(196, 161, 99, 0.7);
    outline-offset: 4px;
    box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.6);
}
.page-hero__orb--main { width: 40%; left: 30%; top: 21%; outline-offset: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.page-hero__orb--a { width: 20%; right: 8%; top: 4%; }
.page-hero__orb--b { width: 18%; left: 6%; top: 52%; }
.page-hero__orb--c { width: 15%; right: 12%; bottom: 4%; }
.page-hero__orb--d { width: 12%; left: 12%; top: 6%; }

.page-hero__dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-bright);
}
.page-hero__dot--1 { left: 30%; top: 4%; }
.page-hero__dot--2 { right: 2%; top: 50%; }
.page-hero__dot--3 { left: 36%; bottom: 2%; }

@media (min-width: 900px) {
    .page-hero { padding-bottom: var(--s-7); }
    .has-hero .page-hero { padding-top: calc(var(--header-h) + var(--s-4)); }
    .page-hero::before { width: 720px; height: 720px; right: -160px; }

    .page-hero__inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: var(--s-8);
        min-height: 320px;
    }
    .page-hero h1 { font-size: clamp(2.6rem, 4vw, 3.5rem); }

    .page-hero__art { order: 0; max-width: 360px; aspect-ratio: 1; justify-self: end; }
    .page-hero__orb--main { width: 56%; left: 22%; top: 22%; outline-offset: 10px; }
    .page-hero__orb--a { width: 24%; right: 2%; top: 4%; }
    .page-hero__orb--b { width: 20%; left: 0; top: 60%; }
    .page-hero__orb--c { width: 18%; right: 6%; bottom: 2%; }
    .page-hero__orb--d { width: 14%; left: 8%; top: 8%; }
    .page-hero__dot--1 { left: 42%; top: 6%; }
    .page-hero__dot--2 { right: 0; top: 54%; }
    .page-hero__dot--3 { left: 34%; bottom: 4%; }
}

/* Slow, gentle float; off for reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .page-hero__text, .page-hero__art { animation: hero-rise 800ms var(--ease) both; }
    .page-hero__art { animation-delay: 120ms; }
    .page-hero__orb { animation: hero-float 8s ease-in-out infinite; }
    .page-hero__orb--a { animation-duration: 7s; animation-delay: -2s; }
    .page-hero__orb--b { animation-duration: 9s; animation-delay: -4s; }
    .page-hero__orb--c { animation-duration: 6.5s; animation-delay: -1s; }
    .page-hero__orb--d { animation-duration: 7.5s; animation-delay: -3s; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes hero-float { 50% { transform: translateY(-6px); } }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    list-style: none;
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: var(--s-2);
}

.breadcrumb li + li::before { content: '/'; margin-right: var(--s-2); color: var(--line-strong); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); }

/* --------------------------------------------------------------------------
   Product details
   -------------------------------------------------------------------------- */
.pd {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
}

@media (min-width: 900px) {
    .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
    .pd__media { position: sticky; top: calc(var(--header-h) + 24px); }
}

.pd__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--sand);
}

.pd__info { display: grid; gap: var(--s-5); }

.pd__specs {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: var(--s-2) var(--s-5);
}

.pd__note { font-size: 0.92rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-grid {
    display: grid;
    gap: var(--s-5) var(--s-5);
}

@media (min-width: 640px) {
    .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .field--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 6px; align-content: start; }

.field__label { font-weight: 600; font-size: 0.95rem; }

.field__req { color: var(--ink-soft); font-weight: 400; font-size: 0.85rem; }

.field__hint { font-size: 0.88rem; color: var(--ink-soft); }

.field__input {
    width: 100%;
    min-height: 48px;
    padding: var(--s-3) var(--s-4);
    font: 400 1rem/1.4 var(--font-body);
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
    appearance: none;
}

.field__input::placeholder { color: #7A857D; }

.field__input:hover { border-color: var(--ink-soft); }

.field__input:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(196, 161, 99, 0.45);
}

select.field__input {
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230D2B1D' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

textarea.field__input { min-height: 112px; resize: vertical; }

.field__input[aria-invalid="true"] { border-color: var(--danger); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.2); }

.field__error {
    display: none;
    font-size: 0.88rem;
    color: var(--danger);
    font-weight: 600;
}

.field__error.is-visible { display: block; }

/* Input with a leading icon; a check mark appears once a field is filled in correctly */
.field__control { position: relative; }

.field__icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--ink-soft);
    pointer-events: none;
    transition: color var(--dur-fast) var(--ease);
}

.field__control--icon .field__input { padding-left: 46px; }

.field__control:focus-within .field__icon { color: var(--gold); }

.field.is-valid .field__control::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--cat-herbs);
    border-bottom: 2px solid var(--cat-herbs);
    transform: translateY(-70%) rotate(-45deg);
    pointer-events: none;
}

.field.is-valid .field__input:not(:focus) { border-color: var(--cat-herbs); }
.field.is-valid select.field__input { background-position: right 40px center; }
.field.is-valid .field__control--icon .field__input { padding-right: 40px; }

/* Searchable product list (combobox built by js/contact.js over the product <select>) */
.combo .combo__input { padding-right: 44px; }

.combo__toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
}

.combo__toggle svg { transition: transform var(--dur-fast) var(--ease); }
.combo.is-open .combo__toggle svg { transform: rotate(180deg); }

.field.is-valid .combo::after { display: none; }
.field.is-valid .combo .combo__input { padding-right: 44px; }

.combo__list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 320px;
    margin: 0;
    padding: var(--s-2);
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    box-shadow: 0 18px 40px -16px rgba(13, 43, 29, 0.28);
}

.combo__list[hidden] { display: none; }

.combo__group {
    position: sticky;
    top: calc(-1 * var(--s-2));
    padding: var(--s-2) var(--s-2) 6px;
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
}

.combo__option {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    min-height: 44px;
    padding: 6px var(--s-2);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.97rem;
}

.combo__option:hover, .combo__option.is-active { background: #F3F6F1; }
.combo__option[aria-selected="true"] { font-weight: 700; box-shadow: inset 3px 0 0 var(--ink); }

.combo__option mark { background: rgba(196, 161, 99, 0.35); color: inherit; border-radius: 2px; }

.combo__thumb {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--sand);
}

span.combo__thumb { border: 6px solid var(--sand); }
.combo__thumb--herbs { background: var(--cat-herbs); }
.combo__thumb--spices { background: var(--cat-spices); }
.combo__thumb--seeds { background: var(--cat-seeds); }
.combo__thumb--other { background: var(--ink-soft); }

.combo__empty { padding: var(--s-3) var(--s-2); font-size: 0.92rem; color: var(--ink-soft); }

/* Choice cards (radio group) */
.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-group > legend { padding: 0; margin-bottom: 6px; }

.choices {
    display: grid;
    gap: var(--s-3);
}

@media (min-width: 640px) {
    .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.choice { position: relative; display: block; cursor: pointer; }

.choice__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.choice__body {
    display: grid;
    gap: 2px;
    min-height: 64px;
    padding: var(--s-3) var(--s-4) var(--s-3) 48px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

/* Radio dot */
.choice__body::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 16px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 1.5px solid var(--line-strong);
    border-radius: 50%;
    background: var(--surface);
    transition: border var(--dur-fast) var(--ease);
}

.choice__title { font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.choice__desc { font-size: 0.86rem; color: var(--ink-soft); }

.choice:hover .choice__body { border-color: var(--ink-soft); }

.choice__input:checked + .choice__body {
    border-color: var(--ink);
    background: #F3F6F1;
    box-shadow: inset 0 0 0 1px var(--ink);
}

.choice__input:checked + .choice__body::before { border: 5px solid var(--ink); }

.choice__input:focus-visible + .choice__body {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

/* Sections inside the form */
.form-section {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.form-section + .form-section {
    margin-top: var(--s-6);
    padding-top: var(--s-6);
    border-top: 1px dashed var(--line);
}

/* Floated so the legend sits inside the section instead of on its top border */
.form-section__title {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: 0;
    margin-bottom: var(--s-5);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink);
}

.form-section__title + * { clear: both; }

.form-section__num {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold-bright);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.form-actions {
    grid-column: 1 / -1;
    display: grid;
    gap: var(--s-3);
    margin-top: var(--s-6);
}

.form-submit { min-height: 56px; font-size: 1.05rem; }

.form-actions__note {
    display: flex;
    align-items: flex-start;
    gap: var(--s-2);
}

.form-actions__note svg { flex: none; margin-top: 3px; }

.form-status {
    display: grid;
    justify-items: start;
    gap: var(--s-2);
    padding: var(--s-6);
    border: 1px solid var(--cat-herbs);
    border-left-width: 4px;
    background: #EEF4EE;
    border-radius: 6px;
}

.form-status__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: var(--s-2);
    border-radius: 50%;
    background: var(--cat-herbs);
    color: #FFFFFF;
}

.form-status h3 { font-size: 1.4rem; }
.form-status p { color: var(--ink-soft); }
.form-status[hidden] { display: none; }

/* Form header with required-fields progress */
.form-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s-4) var(--s-6);
    margin-bottom: var(--s-6);
    padding-bottom: var(--s-5);
    border-bottom: 1px solid var(--line);
}

.form-head__title { margin-top: var(--s-2); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.form-progress {
    display: grid;
    gap: var(--s-2);
    width: min(100%, 220px);
}

.form-progress__text {
    display: flex;
    justify-content: space-between;
    gap: var(--s-3);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
}

.form-progress__count { color: var(--ink); font-weight: 500; }

.form-progress__track {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: var(--sand);
    overflow: hidden;
}

.form-progress__fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cat-herbs), var(--gold-bright));
    transition: width var(--dur) var(--ease);
}

.form-progress.is-complete .form-progress__count { color: var(--cat-herbs); }

/* Quote split section */
.contact-section { background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%); }

.quote {
    display: grid;
    gap: var(--s-5);
    align-items: start;
}

@media (min-width: 900px) {
    .quote { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-6); }
}

.quote__aside {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--on-ink);
    padding: clamp(28px, 4vw, 48px);
    display: grid;
    gap: var(--s-6);
    align-content: start;
    border-radius: 10px;
    border-top: 3px solid var(--gold-bright);
}

@media (min-width: 900px) {
    .quote__aside { position: sticky; top: calc(var(--header-h) + var(--s-5)); }
}

.quote__title { margin-top: var(--s-4); font-size: clamp(1.7rem, 2.8vw, 2.4rem); }

.quote__aside .lede { color: var(--on-ink-muted); }
.quote__aside .eyebrow { color: var(--gold-bright); }

.quote__form {
    padding: clamp(24px, 4vw, 52px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(13, 43, 29, 0.04), 0 18px 40px -24px rgba(13, 43, 29, 0.22);
}

.next-steps { list-style: none; display: grid; gap: 0; counter-reset: n; }

.next-steps li {
    position: relative;
    counter-increment: n;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: var(--s-3);
    padding-bottom: var(--s-5);
    color: var(--on-ink-muted);
    font-size: 0.97rem;
}

.next-steps li:last-child { padding-bottom: 0; }

/* Connecting line between steps */
.next-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    bottom: 4px;
    left: 14px;
    width: 1px;
    background: var(--line-on-ink);
}

.next-steps li::before {
    content: counter(n);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--gold-bright);
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--gold-bright);
}

.next-steps strong { color: var(--on-ink); font-weight: 600; }

.contact-cards {
    list-style: none;
    display: grid;
    gap: var(--s-2);
    padding-top: var(--s-5);
    border-top: 1px solid var(--line-on-ink);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    min-height: 64px;
    padding: var(--s-3);
    border: 1px solid var(--line-on-ink);
    border-radius: 8px;
    background: rgba(246, 242, 233, 0.04);
    color: var(--on-ink);
    text-decoration: none;
    transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

a.contact-card:hover { background: rgba(246, 242, 233, 0.09); border-color: rgba(196, 161, 99, 0.6); }

.contact-card__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(196, 161, 99, 0.14);
    color: var(--gold-bright);
}

.contact-card__text { display: grid; min-width: 0; }

.contact-card__label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--on-ink-muted);
}

.contact-card__value { font-weight: 600; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
    .form-progress__fill, .choice__body, .contact-card, .field__input { transition: none; }
}

/* --------------------------------------------------------------------------
   Wikipedia background (product details)
   -------------------------------------------------------------------------- */
.wiki { border-top: 1px solid var(--line); }

.wiki__card {
    display: grid;
    gap: var(--s-4);
    justify-items: start;
    max-width: 760px;
}

.wiki__facts { width: 100%; }

.wiki__facts .sci { font-style: italic; }

.wiki__license {
    max-width: var(--measure);
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.wiki__license a { color: inherit; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
    background: var(--ink);
    color: var(--on-ink);
    padding-block: clamp(48px, 7vw, 88px);
}

.cta-band__inner {
    display: grid;
    gap: var(--s-5);
    align-items: center;
}

@media (min-width: 900px) {
    .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-8); }
}

.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 22ch; }
.cta-band h2 em { color: var(--gold-bright); }
.cta-band p { color: var(--on-ink-muted); margin-top: var(--s-3); max-width: 56ch; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--ink-2);
    color: var(--on-ink-muted);
    padding-block: var(--s-8) var(--s-6);
    font-size: 0.97rem;
}

.site-footer__grid {
    display: grid;
    gap: var(--s-7);
    padding-bottom: var(--s-7);
    border-bottom: 1px solid var(--line-on-ink);
}

@media (min-width: 900px) {
    .site-footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
}

.site-footer h2 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: var(--s-4);
}

.site-footer ul { list-style: none; display: grid; gap: 2px; }

.site-footer a { color: var(--on-ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.site-footer a:hover { color: var(--gold-bright); text-decoration: underline; }

.site-footer__about p { max-width: 42ch; margin-top: var(--s-4); }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--s-3);
    padding-top: var(--s-5);
    font-size: 0.88rem;
}

.site-footer__motto { font-family: var(--font-display); font-style: italic; color: var(--gold-bright); }

.site-footer__credit {
    display: flex;
    justify-content: center;
    margin-top: var(--s-4);
}

.site-footer .site-footer__credit-badge {
    gap: 4px;
    min-height: 32px;
    padding: 4px 14px;
    border: 1px solid var(--line-on-ink);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--on-ink);
    opacity: 0.8;
    transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.site-footer .site-footer__credit-badge:hover,
.site-footer .site-footer__credit-badge:focus-visible {
    background: #1d6fe0;
    border-color: #1d6fe0;
    color: #fff;
    opacity: 1;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Reveal motion (progressive enhancement; see js/main.js)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 500ms var(--ease), transform 500ms var(--ease);
    }

    .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   Print — buyers print spec sheets
   -------------------------------------------------------------------------- */
@media print {
    .site-header, .mobile-menu, .site-footer, .cta-band, .product-card__actions, .btn { display: none !important; }
    body { background: #fff; }
    .section { padding-block: 24px; }
}

/* --------------------------------------------------------------------------
   Arabic (RTL) — pages in /ar/ set <html lang="ar" dir="rtl">
   -------------------------------------------------------------------------- */
:root[lang="ar"] {
    --font-display: 'Noto Naskh Arabic', 'Newsreader', Georgia, serif;
    --font-body: 'IBM Plex Sans Arabic', 'Source Sans 3', -apple-system, 'Segoe UI', Tahoma, sans-serif;
    /* The mono face has no Arabic glyphs: labels, counts and tags use the Arabic sans */
    --font-mono: 'IBM Plex Sans Arabic', 'IBM Plex Mono', ui-monospace, monospace;
}

/* Arabic has no italics or letter-spacing (spacing breaks the joined letters); keep accents by colour and weight */
[lang="ar"] body * { letter-spacing: 0 !important; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4 { letter-spacing: 0; line-height: 1.35; }
[lang="ar"] h1 em, [lang="ar"] h2 em, [lang="ar"] .slider__title em, [lang="ar"] .site-footer__motto { font-style: normal; }
[lang="ar"] .eyebrow, [lang="ar"] .brand__sub, [lang="ar"] .site-footer h2 { letter-spacing: 0; text-transform: none; font-family: var(--font-body); font-size: 0.85rem; }
[lang="ar"] .brand__name { font-family: var(--font-body); font-weight: 700; }
[lang="ar"] body { line-height: 1.75; }
/* Latin names and codes keep their own direction */
[lang="ar"] .sci, [lang="ar"] [dir="ltr"] { unicode-bidi: isolate; }
[dir="rtl"] .spec-list dd[dir="ltr"] { text-align: right; }

[dir="rtl"] .skip-link { left: auto; right: var(--s-4); }
[dir="rtl"] .btn svg, [dir="rtl"] .cat-row__go { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .nav-toggle svg, [dir="rtl"] .nav-toggle:hover svg { transform: none; }
[dir="rtl"] .link-arrow::after { content: '←'; }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-3px); }
[dir="rtl"] .cat-row:hover .cat-row__go { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .nav__link::after { transform-origin: right; }

/* Mirror the photos; one scale() on both states so the zoom animates without flipping */
[dir="rtl"] .slider__img { object-position: left center; transform: scale(-1.04, 1.04); }
[dir="rtl"] .slider__slide.is-active .slider__img { transform: scale(-1, 1); }
@media (prefers-reduced-motion: reduce) {
    [dir="rtl"] .slider__img, [dir="rtl"] .slider__slide.is-active .slider__img { transform: scaleX(-1); }
}
[dir="rtl"] .slider__slide::after { background: linear-gradient(270deg, rgba(13, 43, 29, 0.92) 0%, rgba(13, 43, 29, 0.6) 38%, rgba(13, 43, 29, 0) 62%); }
@media (max-width: 767px) {
    [dir="rtl"] .slider__img { object-position: center bottom; }
    [dir="rtl"] .slider__slide::after { background: linear-gradient(180deg, rgba(13, 43, 29, 0.9) 0%, rgba(13, 43, 29, 0.55) 45%, rgba(13, 43, 29, 0) 65%); }
}

@media (min-width: 900px) {
    [dir="rtl"] .spec-card { left: auto; right: calc(-1 * var(--s-7)); }
}
[dir="rtl"] .fact { padding: var(--s-5) 0 0 var(--s-4); }
[dir="rtl"] .fact + .fact { padding-left: 0; padding-right: var(--s-4); border-left: 0; border-right: 1px solid var(--line); }
@media (max-width: 899.98px) {
    [dir="rtl"] .fact:nth-child(3) { padding-right: 0; border-right: 0; }
}
[dir="rtl"] .data-table th, [dir="rtl"] .data-table td { text-align: right; }
[dir="rtl"] .search-field svg { left: auto; right: var(--s-4); }
[dir="rtl"] .search-field .field__input { padding-left: var(--s-4); padding-right: 44px; }
[dir="rtl"] .product-card__cat { left: auto; right: var(--s-3); }
[dir="rtl"] .ledger__step { padding: var(--s-5) 0 var(--s-6) var(--s-5); }
@media (min-width: 640px) {
    [dir="rtl"] .ledger__step { padding-left: 0; padding-right: var(--s-5); border-left: 0; border-right: 1px solid var(--line-on-ink); }
    [dir="rtl"] .section:not(.section--ink) .ledger__step { border-right-color: var(--line); }
}
[dir="rtl"] .check-list li::before { transform: scaleX(-1) rotate(-45deg) translateY(-2px); }
[dir="rtl"] .page-hero::before { right: auto; left: -120px; }
@media (min-width: 900px) {
    [dir="rtl"] .page-hero::before { left: -160px; }
}
[dir="rtl"] .breadcrumb li + li::before { margin-right: 0; margin-left: var(--s-2); }
[dir="rtl"] select.field__input { padding-right: var(--s-4); padding-left: 44px; background-position: left 16px center; }
[dir="rtl"] .form-status { border-left-width: 1px; border-right-width: 4px; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { direction: ltr; text-align: right; }
/* Contact form (RTL) */
[dir="rtl"] .field__icon { left: auto; right: 15px; }
[dir="rtl"] .field__control--icon .field__input { padding-left: var(--s-4); padding-right: 46px; }
[dir="rtl"] .field.is-valid .field__control::after { right: auto; left: 16px; }
[dir="rtl"] .field.is-valid .field__control--icon .field__input { padding-left: 40px; }
[dir="rtl"] .field.is-valid select.field__input { background-position: left 40px center; }
[dir="rtl"] .combo .combo__input { padding-right: 46px; padding-left: 44px; }
[dir="rtl"] .combo__toggle { right: auto; left: 4px; }
[dir="rtl"] .field.is-valid .combo .combo__input { padding-left: 44px; }
[dir="rtl"] .combo__option[aria-selected="true"] { box-shadow: inset -3px 0 0 var(--ink); }
[dir="rtl"] .choice__body { padding: var(--s-3) 48px var(--s-3) var(--s-4); }
[dir="rtl"] .choice__body::before { left: auto; right: 16px; }
[dir="rtl"] .next-steps li:not(:last-child)::after { left: auto; right: 14px; }
[dir="rtl"] .form-progress__fill { background: linear-gradient(270deg, var(--cat-herbs), var(--gold-bright)); }
