/* FPA Persian site — same design language as the English site (fpa-en/src/css/site.css), right-to-left.
   Mobile-first; logical properties only (inline-start = right in Persian). Persian text never gets
   letter-spacing or uppercase; mono is only used for Latin and digits. */
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JB"; src: url("../fonts/jbmono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: only light;
  --night: #17211b;
  --night-2: #1f2b23;
  --moss: #55703f;
  --moss-soft: #8aa36f;
  --cream: #f2efe6;
  --paper: #faf8f2;
  --accent: #e8743f;
  --accent-deep: #b4531f;
  --on-accent: #17211b;
  --ink: #18201a;
  --muted: #5d665e;
  --line: rgba(23, 33, 27, .14);
  --line-light: rgba(242, 239, 230, .18);

  --sans: "Vazirmatn", Tahoma, sans-serif;
  --mono: "JB", "Vazirmatn", ui-monospace, monospace;

  --gutter: 20px;
  --rail: 1240px;
  --radius: 18px;
  --radius-lg: 28px;
  --section: 88px;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.85; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; padding-bottom: var(--bar-h); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.3; }
p { margin: 0; }

.rail { width: 100%; max-width: var(--rail); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--panel { background: var(--cream); }
.section--dark { background: var(--night); color: var(--cream); }
.section--dark .lead, .section--dark .muted { color: rgba(242, 239, 230, .72); }

/* preview notes: kept in the source, hidden from the client view */
.wf-note, .ux { display: none !important; }
.tbd { color: var(--accent-deep); background: #fbeee5; border-radius: 6px; padding: 0 6px; font-weight: 500; }
.section--dark .tbd, .footer .tbd { color: var(--accent); background: rgba(232, 116, 63, .12); }
.is-soon { opacity: .5; cursor: default; }
.ai-tag { position: absolute; inset-inline-start: 10px; bottom: 10px; z-index: 2; background: rgba(14, 21, 17, .72); color: var(--cream); font-size: 11.5px; padding: 3px 9px; border-radius: 999px; }

/* ---------- type ---------- */
.label { font-size: 13px; color: var(--moss); display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.label .num { font-family: var(--mono); color: var(--accent-deep); }
.section--dark .label { color: var(--moss-soft); }
.section--dark .label .num { color: var(--accent); }
.h-hero { font-size: clamp(38px, 10.5vw, 84px); line-height: 1.18; font-weight: 500; }
.h-section { font-size: clamp(30px, 7.6vw, 54px); line-height: 1.25; }
.h-card { font-size: 21px; line-height: 1.4; }
.lead { font-size: 17.5px; color: var(--muted); max-width: 38em; margin-top: 16px; }
.muted { color: var(--muted); }
.fine { font-size: 13.5px; line-height: 1.7; color: var(--muted); margin-top: 18px; }
.section--dark .fine { color: rgba(242, 239, 230, .55) !important; }
.split-head { display: grid; gap: 4px; margin-bottom: 40px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, filter .2s; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--primary[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn--dark, .btn--ink { background: var(--night); color: var(--cream); }
.btn--dark:hover, .btn--ink:hover { background: var(--moss); }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--ghost-light { border-color: currentColor; color: var(--cream); background: transparent; }
.btn--ghost-light:hover { background: rgba(242, 239, 230, .12); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--accent-deep); }
.section--dark .link:hover { color: var(--accent); }
.row-ctas { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 28px; align-items: center; }

/* ---------- header & menu ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--cream); transition: background-color .3s, color .3s, box-shadow .3s; }
.header.is-solid { background: rgba(250, 248, 242, .94); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header__in { display: flex; align-items: center; gap: 12px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-inline-end: auto; }
.brand img { width: auto; height: 46px; }
.brand .logo-dark { display: none; }
.header.is-solid .brand .logo-light { display: none; }
.header.is-solid .brand .logo-dark { display: block; }
.brand__name { display: none; font-size: 15px; font-weight: 500; line-height: 1.3; padding-inline-start: 12px; border-inline-start: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.nav { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; font-size: 14px; }
.menu-btn__icon { width: 22px; height: 10px; position: relative; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform .3s; }
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { bottom: 0; }
.menu-open .menu-btn__icon::before { transform: translateY(4.25px) rotate(45deg); }
.menu-open .menu-btn__icon::after { transform: translateY(-4.25px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--night); color: var(--cream); padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open .header { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header .brand .logo-light { display: block; }
.menu-open .header .brand .logo-dark { display: none; }
.menu__links { list-style: none; margin: 0; padding: 0; }
.menu__links li { border-bottom: 1px solid var(--line-light); }
.menu__links a { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; font-size: 27px; text-decoration: none; }
.menu__links a span { font-family: var(--mono); font-size: 12px; color: var(--moss-soft); }
.menu__links a[aria-current="page"] { color: var(--accent); }
.menu__soon { margin-top: 14px; font-size: 14px; color: rgba(242, 239, 230, .5); }
.menu__foot { display: grid; gap: 14px; font-size: 15px; color: rgba(242, 239, 230, .7); }
.menu__foot a { text-decoration: none; }
.menu__foot .btn { width: 100%; }

/* language picker */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent; background: none; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.lang__btn svg { width: 20px; height: 20px; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: color-mix(in srgb, currentColor 35%, transparent); }
.lang__list { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 170px; background: var(--paper); color: var(--ink); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(23, 33, 27, .35), 0 0 0 1px var(--line); }
.lang__list[hidden] { display: none; }
.lang__list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 10px; text-decoration: none; font-size: 15px; }
.lang__list a:hover, .lang__list a[aria-current="true"] { background: var(--cream); }
.lang__list b { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; width: 2.2em; }
.lang__list span { color: var(--muted); }
.flag { width: 22px; height: 14px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.footer__lang .flag { width: 18px; height: 12px; vertical-align: -1px; margin-inline-end: 6px; display: inline-block; }
.menu-open .lang { visibility: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 88svh; color: var(--cream); display: flex; align-items: flex-end; overflow: hidden; background: var(--night); }
.hero--home { min-height: 100svh; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media img { animation: hero-zoom 18s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 21, 17, .55) 0%, rgba(14, 21, 17, .05) 30%, rgba(14, 21, 17, .3) 55%, rgba(14, 21, 17, .9) 100%); }
.hero__in { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 40px; }
.hero .label { color: var(--cream); opacity: .85; }
.hero .h-hero { max-width: 13em; }
.hero .lead { font-size: 17.5px; line-height: 1.8; max-width: 34em; margin-top: 20px; color: rgba(242, 239, 230, .86); }
.hero .row-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
.hero .row-ctas .btn { width: 100%; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; font-size: 13px; color: rgba(242, 239, 230, .75); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* crop chooser card in the seedling hero */
.chooser { margin-top: 26px; background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 20px; max-width: 560px; }
.chooser h3 { font-size: 17px; }
.chooser .chips { margin-top: 14px; }
.hero .chooser .row-ctas { flex-direction: row; }

/* ---------- grids & cards ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 14px; }
.card { background: var(--cream); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; margin: 0; text-decoration: none; }
.section--panel .card { background: var(--paper); }
.section--dark .card { background: var(--night-2); }
a.card:hover .h-card { color: var(--accent-deep); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: #e6e2d6; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 20px 20px 24px; display: grid; gap: 8px; align-content: start; }
.card__num { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); }
.section--dark .card__num { color: var(--accent); }
.card p { color: var(--muted); font-size: 15.5px; }
.section--dark .card p { color: rgba(242, 239, 230, .7); }
.card .link { justify-self: start; font-size: 15px; margin-top: 6px; }
.card .btn { justify-self: start; margin-top: 10px; }

/* numbers → tiles */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 168px; padding: 18px; border-radius: var(--radius); background: var(--cream); }
.section--panel .stat { background: var(--paper); }
.stat b { font-size: 52px; font-weight: 300; line-height: 1; color: var(--ink); }
.stat span { font-size: 15px; line-height: 1.55; color: var(--muted); }
.stat--wide { grid-column: 1 / -1; min-height: 230px; background: var(--night) !important; color: var(--cream); }
.stat--wide::after { content: ""; position: absolute; left: -70px; top: -70px; width: 230px; height: 230px; border-radius: 50%; border: 1px solid var(--line-light); box-shadow: 0 0 0 44px rgba(242, 239, 230, .035), 0 0 0 88px rgba(242, 239, 230, .02); pointer-events: none; transform: scale(var(--lux-s, 1)); transform-origin: 30% 30%; }
.stat--wide b { font-size: 76px; color: var(--cream); white-space: nowrap; }
.stat--wide span { color: rgba(242, 239, 230, .78); font-size: 17px; max-width: 20em; }
.stats > .stat:last-child:nth-child(even) { grid-column: 1 / -1; }
.ev-grid > .compare img { aspect-ratio: 4 / 5; object-fit: cover; }
.grid-2 > .compare > img { max-height: min(72vh, 640px); object-fit: cover; object-position: 50% 30%; }

/* crop priority → matrix */
.ptable { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.ptable th, .ptable td { padding: 15px 8px; border-bottom: 1px solid var(--line); text-align: start; font-size: 18px; }
.ptable th { font-size: 13px; font-weight: 400; color: var(--muted); }
.ptable td:not(:nth-child(-n+2)), .ptable th:not(:nth-child(-n+2)) { text-align: center; }
.ptable a { text-decoration: none; font-weight: 500; }
.ptable a:hover { color: var(--accent-deep); }
.ptable .prio { font-family: var(--mono); font-size: 13px; color: var(--accent-deep); width: 2.6em; }
.ptable tr[hidden] { display: none; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line); vertical-align: middle; }
.dot.on { background: var(--moss); border-color: var(--moss); box-shadow: 0 0 0 5px rgba(85, 112, 63, .14); }
.filter { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.filter button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14.5px; transition: all .2s; }
.filter button[aria-pressed="true"] { background: var(--night); color: var(--cream); border-color: var(--night); }

/* chips & forms */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; transition: all .2s; }
.chips input:checked + span { background: var(--night); color: var(--cream); border-color: var(--night); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form { position: relative; margin-top: 8px; background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 24px 20px; display: grid; gap: 22px; align-content: start; }
.form h3 { font-size: 26px; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.fields { display: grid; gap: 14px; }
.field span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 14px; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--moss); outline-offset: 0; border-color: transparent; }
.form .btn { width: 100%; }
.form__ok { display: none; padding: 14px; border-radius: 12px; background: var(--cream); font-size: 15px; }
.form.is-sent .form__ok { display: block; }

/* order block: steps + expert */
.mini-steps { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line-light); }
.mini-steps li { position: relative; padding-block: 14px; padding-inline: 34px 0; border-bottom: 1px solid var(--line-light); font-size: 16.5px; }
.mini-steps b { position: absolute; inset-inline-start: 0; top: 17px; font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--accent); }
.mini-steps em { font-style: normal; color: var(--moss-soft); }
.expert { display: flex; gap: 16px; align-items: center; margin-top: 28px; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 16px; }
.expert__ph { width: 68px; height: 68px; border-radius: 50%; background: var(--night-2); display: grid; place-items: center; font-size: 12px; color: rgba(242, 239, 230, .5); flex: none; }
.expert__role { font-size: 13px; color: var(--moss-soft); }
.expert__name { font-size: 20px; }
.expert__links { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* evidence (before / after) */
.tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-light); background: transparent; color: rgba(242, 239, 230, .8); cursor: pointer; font-size: 15px; transition: all .2s; }
.tab[aria-selected="true"] { background: var(--cream); color: var(--night); border-color: var(--cream); }
.section:not(.section--dark) .tab { border-color: var(--line); color: var(--ink); }
.section:not(.section--dark) .tab[aria-selected="true"] { background: var(--night); color: var(--cream); border-color: var(--night); }
.panel[hidden] { display: none; }
.compare { position: relative; margin: 0; }
.compare > div, .compare > img { border-radius: var(--radius); overflow: hidden; }
.compare > img, .compare > div > img { width: 100%; height: auto; }
.compare figcaption { margin-top: 14px; font-size: 15.5px; max-width: 46em; }
.section--dark .compare figcaption { color: rgba(242, 239, 230, .85); }
.tag { position: absolute; bottom: 12px; padding: 4px 11px; border-radius: 6px; font-size: 12.5px; background: rgba(14, 21, 17, .78); color: var(--cream); }
.tag--g { background: var(--accent); color: var(--on-accent); }

/* horizontal step rail */
.steps { position: relative; list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.steps::-webkit-scrollbar { display: none; }
.steps > li { flex: 0 0 82%; scroll-snap-align: start; }
.steps .card__img { aspect-ratio: 4 / 3; }
.steps .h-card { font-size: 23px; }
.rail-hint { display: none; }
.steps { cursor: grab; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
.steps.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.steps img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.rail-nav { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.rail-nav__bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-inline-end: 10px; }
.rail-nav__bar span { display: block; height: 100%; width: 20%; background: var(--accent); transition: width .2s; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s; }
.rail-nav button:hover:not(:disabled) { background: var(--night); color: var(--cream); }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.rail-nav button svg { width: 18px; height: 18px; }

/* journey (numbered stations) */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: j; }
.journey > li { display: grid; gap: 16px; background: var(--cream); border-radius: var(--radius); padding: 14px 14px 22px; }
.section--panel .journey > li { background: var(--paper); }
.journey .j-img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.journey .j-img img { width: 100%; height: 100%; object-fit: cover; }
.journey > li > div:last-child { padding-inline: 6px; }
.journey h3 { font-size: 21px; display: flex; gap: 12px; align-items: baseline; }
.journey h3::before { counter-increment: j; content: counter(j, persian); font-family: var(--mono); color: var(--accent-deep); font-size: 13px; }
.journey p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }

/* lists, callouts, formulas */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; }
.ticks li { position: relative; padding-block: 12px; padding-inline: 22px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 23px; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }
.section--dark .ticks, .section--dark .ticks li { border-color: var(--line-light); }
.section--dark .ticks li::before { background: var(--moss-soft); }
.ticks.grid-2 { gap: 0 40px; }
.callout { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--cream); font-size: 15.5px; color: var(--muted); }
.section--panel .callout { background: var(--paper); }
.callout b { color: var(--ink); font-weight: 500; }
.formula { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 15px; }
.formula span { background: var(--cream); border-radius: 999px; padding: 7px 14px; }
.section--panel .formula span { background: var(--paper); }
.section--dark .formula span { background: var(--night-2); }
.formula i { font-style: normal; font-family: var(--mono); color: var(--accent-deep); }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-size: 18px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 10px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 16px; max-width: 42em; }

/* timeline (about) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; gap: 4px; padding-block: 0 26px; padding-inline: 30px 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--moss); }
.timeline li.key::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.timeline .y { font-family: var(--mono); font-size: 13px; color: var(--accent-deep); }
.timeline .h-card { font-size: 20px; }
.timeline p { color: var(--muted); font-size: 15px; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }

/* visit, catalogue */
.addr { font-style: normal; margin-top: 18px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.map { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); aspect-ratio: 4 / 3; box-shadow: 0 0 0 1px var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.catalogue { display: grid; gap: 40px; align-items: center; }
.catalogue > img { width: 78%; justify-self: center; border-radius: 2px 6px 6px 2px; box-shadow: 1.5px 1.5px 0 #dcd6ca, 3px 3px 0 #f3f0e9, 4.5px 4.5px 0 #d6cfc2, 0 26px 40px -16px rgba(23, 33, 27, .5); transform: rotate(-2deg); }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--cream); padding: 64px 0 32px; }
.footer__big { font-size: clamp(38px, 10vw, 76px); line-height: 1.15; }
.footer__sub { margin-top: 10px; font-size: 17px; color: rgba(242, 239, 230, .6); }
.footer__grid { display: grid; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.footer h4 { margin: 0 0 10px; font-size: 13px; font-weight: 400; color: var(--moss-soft); }
.footer p, .footer ul { margin: 0; font-size: 15px; color: rgba(242, 239, 230, .78); }
.footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 44px; font-size: 13px; color: rgba(242, 239, 230, .5); }
.footer__base .brand { margin: 0; }
.footer__base .brand img { height: 40px; }

/* ---------- mobile action bar ---------- */
.actionbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: rgba(250, 248, 242, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s ease; }
.actionbar.is-on { transform: none; }
.actionbar .btn { min-height: 48px; font-size: 15px; padding: 0 12px; }

/* ---------- content components (product, service, academy and research pages) ---------- */
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-error .form__ok { display: block; background: #fbe9e2; color: #6b2a12; }
.form__ok a { text-decoration: underline; }
.form button[disabled] { opacity: .7; cursor: progress; }
.field input[aria-invalid="true"] { outline: 2px solid #c0392b; }
.card .k { color: var(--ink); font-weight: 600; }
.section--dark .card .k { color: var(--cream); }
.card p + p { margin-top: 4px; }
.hero--short { min-height: 62svh; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.facts div { background: var(--cream); border-radius: 14px; padding: 14px 16px; }
.section--panel .facts div { background: var(--paper); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 16px; font-weight: 500; line-height: 1.6; }
.specs { margin: 22px 0 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 15px; }
.specs dd { margin: 0; font-weight: 500; text-align: end; }

.case { background: var(--cream); border-radius: var(--radius-lg); padding: 22px 20px; display: grid; gap: 14px; align-content: start; }
.case--dark { background: var(--night-2); }
.case--dark p:not(.case__k) { color: rgba(242, 239, 230, .75); }
.case__k { font-size: 13px; color: var(--accent-deep); }
.case--dark .case__k, .section--dark .case__k { color: var(--accent); }
.case__rows { margin: 0; border-top: 1px solid var(--line); }
.case__rows div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.case__rows dt { color: var(--muted); font-size: 14px; }
.case__rows dd { margin: 0; }
.case .stat { background: var(--paper); min-height: 120px; }
.case--dark .stat { background: var(--night); }
.case--dark .stat b { color: var(--cream); }
.case .stat b { font-size: 30px; white-space: nowrap; }
.case .stat { min-height: 104px; padding: 14px; gap: 12px; }
.case .stat span { font-size: 13.5px; }
.stats--2 .stat b { white-space: nowrap; }
.case .link { justify-self: start; }
.case .stats { width: 100%; }
.stats--3, .stats--2 { grid-template-columns: 1fr 1fr; }
.stats--3 > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }

.pubs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pubs li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pubs__y { font-family: var(--mono); font-size: 13px; color: var(--accent-deep); padding-top: 4px; }
.pubs__fa { font-weight: 500; }
.pubs a, .pubs span[lang] { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: left; text-decoration: none; }
.pubs a:hover { color: var(--accent-deep); text-decoration: underline; }
.pubs em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--muted); text-align: left; opacity: .8; }

.crop-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crop-links .card__img { aspect-ratio: 4 / 3; }
.crop-links .card__body { padding: 12px 14px 16px; gap: 2px; }
.crop-links .h-card { font-size: 18px; }
.crop-links p { font-size: 13.5px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

.cycle, .levels { list-style: none; margin: 0; padding: 0; counter-reset: c; display: grid; gap: 10px; }
.cycle li, .levels li { position: relative; counter-increment: c; border-radius: 14px; padding: 16px 16px 16px 16px; padding-inline-start: 52px; display: grid; gap: 4px; }
.cycle li { background: var(--night-2); }
.levels li { background: var(--cream); }
.cycle li::before, .levels li::before { content: counter(c, persian); position: absolute; inset-inline-start: 18px; top: 16px; font-family: var(--mono); font-size: 14px; color: var(--accent); }
.levels li::before { color: var(--accent-deep); }
.cycle b, .levels b { font-weight: 500; font-size: 17px; }
.cycle span { font-size: 15px; color: rgba(242, 239, 230, .7); }
.levels span { font-size: 15px; color: var(--muted); }
.example { margin-top: 28px; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 20px; }
.example p:not(.label) { color: rgba(242, 239, 230, .82); }

.contact-list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 13px; color: var(--muted); }
.contact-list strong, .contact-list a { font-weight: 500; text-decoration: none; }

.table-wrap { overflow-x: auto; }
.cal { min-width: 560px; }
.cal td { font-size: 16px; }
.pill { display: inline-block; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: rgba(85, 112, 63, .14); color: var(--moss); white-space: nowrap; }
.menu__links a { font-size: 21px; padding: 11px 0; }

@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts:has(> div:nth-child(5)) { grid-template-columns: repeat(5, 1fr); }
  .facts:has(> div:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  .stats--3 { grid-template-columns: repeat(3, 1fr); }
  .stats--3 > .stat:last-child:nth-child(odd) { grid-column: auto; }
  .crop-links { grid-template-columns: repeat(3, 1fr); }
  .case { padding: 30px; }
  .levels { grid-template-columns: 1fr 1fr; }
  .pubs li { grid-template-columns: 80px 1fr; }
}
@media (min-width: 1024px) {
  .crop-links { grid-template-columns: repeat(6, 1fr); }
  .crop-links:has(> .card:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
  .cycle { grid-template-columns: repeat(5, 1fr); }
  .levels { grid-template-columns: repeat(4, 1fr); }
  .case__rows div { grid-template-columns: 90px 1fr; }
  .grid-2 > .case .stat b { font-size: 26px; }
  .stats--2 .stat b { font-size: 52px; }
}

/* ---------- home page components, as on the English site (RTL) ---------- */
.hero__grid { display: grid; gap: 0; }
.hero__sub { font-size: 17.5px; line-height: 1.8; max-width: 32em; margin: 20px 0 26px; color: rgba(242, 239, 230, .86); }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; }
.hero__ctas .btn { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.hero__caption { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: rgba(242, 239, 230, .65); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; min-height: 44px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(-3px); }

.tiles { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 172px; padding: 16px 16px 18px; border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.tile__tag { align-self: flex-start; font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.tile__num { display: flex; align-items: baseline; gap: 6px; font-size: 60px; font-weight: 300; line-height: .95; color: var(--ink); }
.tile__num i { font-style: normal; font-size: 15px; color: var(--accent-deep); }
.tile__num s { text-decoration: none; font-size: .45em; color: var(--accent-deep); }
.tile__txt { font-size: 15px; line-height: 1.55; color: var(--muted); }
.tile--hero { grid-column: 1 / -1; min-height: 240px; background: var(--night); color: var(--cream); }
.tile--hero::after { content: ""; position: absolute; left: -70px; top: -70px; width: 230px; height: 230px; border-radius: 50%; border: 1px solid var(--line-light); box-shadow: 0 0 0 44px rgba(242, 239, 230, .035), 0 0 0 88px rgba(242, 239, 230, .02); pointer-events: none; transform: scale(var(--lux-s, 1)); transform-origin: 30% 30%; }
.tile--hero .tile__tag { color: rgba(242, 239, 230, .7); border-color: var(--line-light); }
.tile--hero .tile__num { font-size: 104px; color: var(--cream); }
.tile--hero .tile__num i { color: var(--accent); font-size: 17px; }
.tile--hero .tile__txt { color: rgba(242, 239, 230, .78); font-size: 17px; max-width: 18em; }
.tile--wide { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; row-gap: 14px; align-items: end; }
.tile--wide .tile__tag { grid-column: 1 / -1; justify-self: start; }
.tile--wide .tile__txt { padding-bottom: 6px; }

.areas { display: grid; gap: 14px; }
.area { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.area__img { aspect-ratio: 16 / 10; overflow: hidden; }
.area__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.area:hover .area__img img { transform: scale(1.04); }
.area__body { padding: 20px 20px 24px; display: grid; gap: 10px; }
.area__num { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); }
.area p { color: var(--muted); font-size: 15.5px; }
.area .link-arrow { justify-self: start; min-height: 0; font-size: 15px; }

.ev-case[hidden] { display: none; }
.compare--split > img { width: 100%; height: auto; border-radius: var(--radius); }
.compare--split { border-radius: var(--radius); overflow: hidden; background: #0e1511; }
.compare__shade { position: absolute; top: 0; bottom: 0; background: rgba(10, 15, 12, .62); opacity: 0; transition: opacity .35s; pointer-events: none; }
.compare__shade--a { left: 0; width: var(--split); }
.compare__shade--b { right: 0; left: var(--split); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--cream); opacity: .9; }
.compare__tag { white-space: nowrap; position: absolute; bottom: 12px; padding: 5px 10px; border-radius: 6px; font-size: 12.5px; background: rgba(14, 21, 17, .78); color: var(--cream); }
.compare__tag--a { right: calc(100% - var(--split) + 10px); }
.compare__tag--b { left: calc(var(--split) + 10px); }
.compare__tag.is-grafted { background: var(--accent); color: var(--on-accent); }
.compare--split[data-focus="a"] .compare__shade--b, .compare--split[data-focus="b"] .compare__shade--a { opacity: 1; }
.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.focus button { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-light); background: transparent; color: var(--cream); cursor: pointer; font-size: 15px; transition: all .2s; }
.focus button[aria-pressed="true"] { background: rgba(242, 239, 230, .12); border-color: var(--cream); }
.ev-cap { margin-top: 16px; font-size: 16px; color: rgba(242, 239, 230, .85); max-width: 46em; }
.ev-src { display: block; margin-top: 6px; font-size: 13px; color: rgba(242, 239, 230, .5); }
.harvest { margin-top: 40px; display: grid; gap: 18px; align-items: end; }
.harvest img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.harvest__title { font-size: 26px; line-height: 1.4; }

.crops { display: grid; gap: 14px; }
.crop { display: grid; grid-template-columns: 1fr 64px; gap: 14px; background: var(--cream); border-radius: var(--radius); padding: 18px; text-decoration: none; }
.crop__img { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.crop__img img { width: 100%; height: 100%; object-fit: cover; }
.crop h3 { font-size: 24px; }
.crop h3 small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.crop:hover h3 { color: var(--accent-deep); }
.spec { list-style: none; margin: 10px 0 0; padding: 0; }
.spec li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { font-weight: 500; }
.ruler { grid-row: 2 / span 2; grid-column: 2; align-self: start; }
.ruler svg { width: 64px; height: auto; overflow: visible; }
.ruler .band { transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.ruler.is-in .band { transform: scaleY(1); }
.ruler .graft { opacity: 0; transition: opacity .5s .8s; }
.ruler.is-in .graft { opacity: 1; }
.crops-foot { margin-top: 26px; display: grid; gap: 18px; }
.chip { font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
a.chip:hover { border-color: var(--ink); }

.feature { display: grid; gap: 30px; align-items: center; }
.feature__img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.collab { position: relative; overflow: hidden; }
.collab__bg { position: absolute; inset: 0; }
.collab__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.4); }
.collab .rail { position: relative; }
.tracks { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line-light); }
.tracks li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 15px 0; border-bottom: 1px solid var(--line-light); }
.tracks .n { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 5px; }
.tracks a { text-decoration: none; }
.tracks strong { font-weight: 500; font-size: 18px; display: block; }
.tracks a:hover strong { color: var(--accent); }
.tracks span:not(.n) { font-size: 15px; color: rgba(242, 239, 230, .65); }

.booklets { position: relative; padding: 0 0 26px 12px; }
.booklet { position: relative; border-radius: 7px 2px 2px 7px; }
.booklet img { width: 100%; height: auto; border-radius: 6px 2px 2px 6px; position: relative; z-index: 1; }
.booklet::before { content: ""; position: absolute; inset: 2px 2px -5px -5px; border-radius: 8px 2px 2px 8px; z-index: 0; background: #f3f0e9; box-shadow: -1.5px 1.5px 0 #dcd6ca, -3px 3px 0 #f3f0e9, -4.5px 4.5px 0 #d6cfc2, 0 26px 40px -16px rgba(23, 33, 27, .5), 0 8px 16px -8px rgba(23, 33, 27, .25); }
.booklet::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 8%; z-index: 2; pointer-events: none; background: linear-gradient(270deg, rgba(0, 0, 0, .32) 0%, rgba(255, 255, 255, .22) 14%, rgba(0, 0, 0, .1) 38%, rgba(0, 0, 0, 0) 100%); }
.booklet--back { width: 70%; margin-right: auto; }
.booklet--front { width: 84%; margin-top: -26%; margin-right: 16%; z-index: 3; }
.cat-list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.cat-list li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cat-list strong { font-weight: 500; font-size: 18px; display: block; }
.cat-list span { font-size: 13px; color: var(--muted); }
.dl { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.dl svg { width: 20px; height: 20px; }

@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile--hero { grid-column: span 2; }
  .hero__ctas { flex-direction: row; }
  .hero__ctas .btn { width: auto; }
  .areas, .crops { grid-template-columns: 1fr 1fr; }
  .harvest { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
  .hero__sub { margin: 0 0 26px; }
  .numbers { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
  .tiles { margin-top: 0; gap: 12px; }
  .tile { min-height: 200px; padding: 20px; }
  .tile__num { font-size: 72px; }
  .tile--hero .tile__num { font-size: 124px; }
  .areas { grid-template-columns: repeat(4, 1fr); }
  .area__img { aspect-ratio: 4 / 5; }
  .harvest { grid-template-columns: 1fr; margin-top: 0; }
  .crops { grid-template-columns: repeat(4, 1fr); }
  .crops-foot { grid-template-columns: 1fr auto; align-items: center; }
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .collab-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .catalogue { grid-template-columns: 1.1fr 1fr; gap: 72px; }
}

/* ---------- motion layer (lux.js) ---------- */
.lux-on .lux-line { padding-bottom: .12em; margin-bottom: -.12em; }
.lux-on .hero__media img { animation: none; will-change: transform; }
.section.is-pinned { overflow: hidden; padding-block: 48px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.is-pinned .steps { overflow: visible; scroll-snap-type: none; will-change: transform; }
.is-pinned .rail-hint { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =================== tablet =================== */
@media (min-width: 640px) {
  :root { --gutter: 32px; --section: 112px; }
  .hero .row-ctas { flex-direction: row; align-items: center; }
  .hero .row-ctas .btn { width: auto; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat--wide { grid-column: 1 / -1; }
  .stats > .stat:last-child:nth-child(even) { grid-column: auto; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .form { padding: 36px; }
  .form .btn { width: auto; justify-self: start; }
  .steps > li { flex-basis: 46%; }
  .journey > li { grid-template-columns: 240px 1fr; align-items: center; padding: 14px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .timeline { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .timeline::before { display: none; }
  .timeline li { border-top: 1px solid var(--line); padding-block: 18px 22px; padding-inline: 26px 0; }
  .timeline li::before { top: 27px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .menu__foot .btn { width: auto; justify-self: start; }
}

/* =================== desktop =================== */
@media (min-width: 1024px) {
  :root { --gutter: 48px; --section: 140px; }
  body { padding-bottom: 0; font-size: 17px; }
  .actionbar, .menu-btn, .menu { display: none !important; }
  .nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
  .nav > a:not(.btn), .nav__btn { text-decoration: none; opacity: .85; min-height: 44px; display: inline-flex; align-items: center; background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; color: inherit; }
  .nav > a:not(.btn):hover, .nav__btn:hover { opacity: 1; }
  .nav a[aria-current="page"], .nav__btn[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
  .nav .is-soon { opacity: .45 !important; }
  .nav .btn { min-height: 44px; padding: 0 20px; }
  .header:not(.is-solid) .nav .btn--ink { background: var(--cream); color: var(--night); }
  .nav__group { position: relative; }
  .nav__btn::after { content: ""; width: 6px; height: 6px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-inline-start: 8px; margin-top: -4px; }
  .nav__sub { display: none; position: absolute; inset-inline-start: -12px; top: 100%; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 6px; min-width: 220px; box-shadow: 0 18px 40px -12px rgba(23, 33, 27, .35), 0 0 0 1px var(--line); }
  .nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { display: grid; }
  .nav__sub a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; }
  .nav__sub a:hover { background: var(--cream); }
  .hero__in { padding-bottom: 64px; }
  .hero--home .h-hero { font-size: clamp(56px, 6.4vw, 96px); }
  .chooser { padding: 24px 26px; }
  .split-head { grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
  .split-head .lead { margin: 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .grid-2--center { align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-4 .card__img { aspect-ratio: 4 / 5; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .stats:has(.stat--wide) { grid-template-columns: 1.9fr 1fr 1fr 1fr; }
  .stat--wide { grid-column: auto; }
  .ev-grid { grid-template-columns: 1.6fr 1fr; gap: 48px; }
  .stat { min-height: 200px; padding: 22px; }
  .stat b { font-size: 64px; }
  .stat--wide b { font-size: 112px; }
  .form { margin-top: 0; padding: 44px; }
  .steps { padding-inline: max(var(--gutter), calc((100vw - var(--rail)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--rail)) / 2 + var(--gutter))); }
  .steps > li { flex-basis: 30%; }
  .journey { grid-template-columns: 1fr 1fr; }
  .journey > li { grid-template-columns: 1fr; padding: 14px 14px 22px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .catalogue { grid-template-columns: 1fr 1.1fr; gap: 72px; }
}
@media (min-width: 1200px) { .brand__name { display: block; } }

/* =================== header, refined (overrides the basic header rules above) =================== */
.header__in { transition: height .3s; }
.brand__name small { display: block; font-size: 11.5px; font-weight: 400; opacity: .7; margin-top: 1px; }
.header__cta { display: none; }
.lang__btn { border-color: color-mix(in srgb, currentColor 22%, transparent); }
.header.is-solid { box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(23, 33, 27, .35); }

@media (min-width: 1024px) {
  .header__in { height: 80px; gap: 18px; }
  .header.is-solid .header__in { height: 66px; }
  .header.is-solid .brand img { height: 40px; }
  .brand img { transition: height .3s; }
  .nav { gap: 2px; margin-inline-start: auto; }
  .brand { margin-inline-end: 0; }
  .nav > a.nav__link, .nav__btn { opacity: 1; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background-color .2s; }
  .nav > a.nav__link:hover, .nav__btn:hover, .nav__group:focus-within .nav__btn, .nav__group:hover .nav__btn { background: color-mix(in srgb, currentColor 9%, transparent); }
  .nav a[aria-current="page"], .nav__btn[aria-current="page"] { text-decoration: none; background: color-mix(in srgb, currentColor 11%, transparent); }
  .nav a[aria-current="page"]::before, .nav__btn[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-inline-end: 8px; }
  .nav__btn::after { width: 6px; height: 6px; border: 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -3px 8px 0 0; margin-inline-start: 9px; margin-inline-end: 0; transition: transform .2s; opacity: .7; }
  .nav__group:hover .nav__btn::after, .nav__group:focus-within .nav__btn::after { transform: rotate(225deg); margin-top: 3px; }
  .nav__sub { display: grid; position: absolute; inset-inline-start: 0; top: 100%; padding: 8px; margin-top: 10px; min-width: 300px; border-radius: 18px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav__sub::before { content: ""; position: absolute; inset-inline: 0; top: -14px; height: 14px; }
  .nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__sub a { display: grid; gap: 2px; padding: 11px 14px; border-radius: 12px; }
  .nav__sub a b { font-weight: 500; font-size: 15px; }
  .nav__sub a small { font-size: 12.5px; color: var(--muted); }
  .nav__sub--mega { min-width: 640px; inset-inline-start: -20px; }
  .mega { display: grid; grid-template-columns: 200px 1fr; gap: 8px; }
  .mega__intro { background: var(--cream); align-content: start; gap: 6px !important; padding: 16px !important; }
  .mega__intro .link-arrow { min-height: 0; margin-top: 10px; font-size: 13.5px; justify-self: start; }
  .mega__crops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .mega__crop { grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px !important; row-gap: 0 !important; align-items: center; padding: 8px !important; }
  .mega__crop img { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
  .mega__crop b { align-self: end; }
  .mega__crop small { align-self: start; }
  .header__cta { display: inline-flex; min-height: 44px; padding: 0 20px; font-size: 15px; }
  .header__cta svg { width: 16px; height: 16px; }
  .header:not(.is-solid) .lang__btn { border-color: rgba(242, 239, 230, .35); }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav > a.nav__link, .nav__btn { padding: 0 10px; font-size: 14.5px; }
  .header__cta { padding: 0 14px; }
  .header__cta svg { display: none; }
}
.header::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(180deg, rgba(14, 21, 17, .55), rgba(14, 21, 17, 0)); opacity: 1; transition: opacity .3s; pointer-events: none; z-index: -1; }
.header.is-solid::before, .menu-open .header::before { opacity: 0; }
@media (min-width: 1024px) {
  .nav__sub--mega { min-width: 740px; }
  .mega { grid-template-columns: 210px 1fr; }
  .mega__crop small { white-space: nowrap; }
}
