/* Generated by _build/rtl-css.mjs from assets/css/refresh-home.css for the Arabic (right-to-left) edition. Do not edit: edit the original. */
/* Design refresh 2026-11 (home): ideas from DESIGN-IDEAS-THEMEFOREST.md
   6  hero framed by our own engraved plates (a small fan behind the featured sheet, desktop only)
   14 entry tiles for each main section
   7  editorial trust strip on a dark green band
   9  "Start here": ranked list of the best-supported plants
   5  ingredient spotlight rows with a vertical herbarium label
   13 "How to read a grade" step cards inside the trust band
   Only colors from site.css variables (or the fixed on-forest accents site.css already uses on forest bands). */

/* ---------- 6. Hero: a fan of engraved plates behind the featured sheet ---------- */
.hero-fan { display: none; }
@media (min-width: 861px) {
  .hero-plate { position: relative; width: min(100%, 460px); padding-right: 104px; }
  .hero-plate .sheet { position: relative; z-index: 1; }
  .hero-fan { display: block; position: absolute; inset: 0; pointer-events: none; }
  .fan-plate {
    position: absolute; right: 0; display: block; width: 62%; background: var(--mount); padding: 9px;
    box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(59, 50, 38, .12), inset 0 0 0 5px var(--mount), inset 0 0 0 6px rgba(156, 122, 67, .5);
    transform-origin: 100% 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  }
  .plate-fan { display: block; width: 100%; height: auto; }
  .fan-1 { top: 7%; right: -40px; width: 40%; transform: rotate(-11deg); }
  .fan-2 { top: 45%; right: -64px; width: 43%; transform: rotate(-4deg); }
  .hero-plate:hover .fan-1 { transform: rotate(-13deg) translate(6px, -4px); }
  .hero-plate:hover .fan-2 { transform: rotate(-6deg) translateX(8px); }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .hero-plate { padding-right: 64px; }
  .fan-1 { right: -24px; width: 38%; } .fan-2 { right: -36px; width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .fan-plate { transition: none; }
  .hero-plate:hover .fan-1 { transform: rotate(-11deg); }
  .hero-plate:hover .fan-2 { transform: rotate(-4deg); }
}

/* ---------- 14. Entry tiles ---------- */
.home-entries .sec-head { margin-bottom: clamp(22px, 3vw, 40px); }
.entry-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.entry-tile { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: inherit; text-decoration: none; }
.entry-mount {
  display: block; background: #EFE4CC; padding: 10px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(59, 50, 38, .1), inset 0 0 0 5px var(--mount), inset 0 0 0 6px rgba(156, 122, 67, .45);
}
.plate-entry { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.entry-label {
  margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line-strong);
  font: 600 1.02rem/1.2 var(--ui); font-variant-caps: all-small-caps; letter-spacing: normal; color: var(--brass-strong);
}
.entry-label::after { content: "\00a0←"; font-variant-caps: normal; color: var(--brass); transition: margin .2s ease; }
.entry-d { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.entry-tile:hover .plate-entry, .entry-tile:focus-visible .plate-entry { transform: scale(1.05); }
.entry-tile:hover .entry-label::after { margin-right: 4px; }
@media (max-width: 1080px) { .entry-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .entry-tiles { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .entry-tile { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
  .entry-mount { grid-row: 1 / span 2; padding: 5px; }
  .entry-label { margin: 0; padding: 0; border: 0; }
  .entry-d { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .plate-entry, .entry-label::after { transition: none; } .entry-tile:hover .plate-entry { transform: none; } }

/* ---------- 7. Editorial trust strip ---------- */
.trust-strip { background: var(--forest); color: var(--on-forest); padding-block: clamp(30px, 4vw, 48px); margin-top: var(--space); }
.trust-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 0; }
.trust-items > li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; padding-inline: 24px; border-right: 1px solid rgba(239, 231, 216, .14); }
.trust-items > li:first-child { padding-right: 0; border-right: 0; }
.trust-items svg { width: 36px; height: 36px; fill: none; stroke: #E8C693; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.trust-items h3 { font: 400 1.18rem/1.2 var(--display); letter-spacing: normal; color: var(--on-forest); margin: 4px 0 6px; }
.trust-items p { margin: 0 0 10px; font-size: .93rem; line-height: 1.5; color: var(--on-forest-muted); }
.trust-items a { display: inline-block; font: 600 0.832rem/1.7 var(--ui); text-transform: uppercase; letter-spacing: normal; color: #E8C693; text-decoration: none; }
.trust-items a::after { content: "\00a0←"; }
.trust-items a:hover, .trust-items a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) {
  .trust-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
  .trust-items > li, .trust-items > li:first-child { padding: 0; border: 0; }
}
@media (max-width: 560px) { .trust-items { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* ---------- 9. Start here: ranked list ---------- */
.start-list { list-style: none; margin: 0; padding: 0; counter-reset: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: clamp(28px, 5vw, 72px); }
.start-list > li { counter-increment: start; border-top: 1px solid var(--line); min-width: 0; }
.start-list > li:nth-child(3n) { border-bottom: 1px solid var(--line); }
.start-item { display: grid; grid-template-columns: clamp(3.3rem, 4.8vw, 4.5rem) 84px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 0; color: inherit; text-decoration: none; }
.start-item::before {
  content: counter(start, decimal-leading-zero); content: counter(start, decimal-leading-zero) / "";
  font: 400 clamp(2.4rem, 3.6vw, 3.4rem)/1 var(--display); color: var(--brass); opacity: .6; font-variant-numeric: lining-nums tabular-nums; letter-spacing: normal;
}
.start-thumb { display: block; background: var(--mount); padding: 5px; box-shadow: inset 0 0 0 1px rgba(59, 50, 38, .12), inset 0 0 0 3px var(--mount), inset 0 0 0 4px rgba(156, 122, 67, .45); }
.start-thumb :is(img, svg) { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.start-body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.start-t { font: 400 1.45rem/1.15 var(--display); letter-spacing: normal; transition: color .2s ease; }
.start-body .latin { font-size: .95rem; }
.start-d { color: var(--muted); font-size: .94rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 2px 0 6px; }
.start-item:hover .start-t, .start-item:focus-visible .start-t { color: var(--brass-strong); }
@media (max-width: 860px) {
  .start-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .start-list > li:nth-child(3n) { border-bottom: 0; }
  .start-list > li:last-child { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .start-item { grid-template-columns: 2.7rem 60px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .start-item::before { font-size: 2rem; }
  .start-t { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .start-t { transition: none; } }

/* ---------- 5. Ingredient spotlight ---------- */
.home-spot { display: grid; gap: clamp(48px, 7vw, 96px); }
.spot { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.spot-art { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: stretch; justify-items: center; }
.spot-family {
  margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; align-self: stretch;
  padding-right: 12px; border-right: 1px solid var(--line-strong);
  font: 600 0.858rem/1 var(--ui); text-transform: uppercase; letter-spacing: normal; color: var(--brass-strong);
}
.spot .sheet { width: 100%; max-width: 400px; transform: rotate(-.8deg); }
.spot-flip .spot-art { order: 2; grid-template-columns: minmax(0, 1fr) auto; }
.spot-flip .spot-family { order: 2; transform: none; text-align: right; padding: 0 12px 0 0; }
.spot-flip .sheet { transform: rotate(.8deg); }
.spot-copy h3 { font-size: var(--step-3); font-weight: 400; margin: 0; }
.spot-copy h3 a { color: inherit; text-decoration: none; }
.spot-copy h3 a:hover { color: var(--brass-strong); }
.spot-copy > .latin { margin: 6px 0 0; font-size: 1.15rem; }
.spot-hook { font: 400 1.3rem/1.5 var(--latin); color: var(--ink); margin: 18px 0 0; max-width: 46ch; }
.spot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 26px 0 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.spot-sub { margin: 0 0 8px; font: 600 0.86rem/1.4 var(--ui); text-transform: uppercase; letter-spacing: normal; color: var(--brass-strong); }
.spot-does, .spot-uses { list-style: none; margin: 0; padding: 0; }
.spot-does li, .spot-uses li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .98rem; line-height: 1.4; }
.spot-does li::before { content: "◆"; font-size: 0.78rem; color: var(--brass); margin-left: 10px; vertical-align: .3em; }
.spot-uses li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.spot-uses a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.spot-uses a:hover { color: var(--brass-strong); }
.spot-uses .grade b { width: 2em; height: 2em; font-size: .95rem; }
@media (max-width: 1000px) { .spot-cols { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
@media (max-width: 767px) {
  .spot { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .spot-art, .spot-flip .spot-art { order: 0; grid-template-columns: minmax(0, 1fr); }
  .spot-family { display: none; }
  .spot .sheet { max-width: 320px; }
  .spot-hook { font-size: 1.15rem; }
}

/* ---------- 13. How to read a grade (inside the trust band) ---------- */
/* Redesigned 25 Nov 2026 (owner request): four even cards, each opened by a small brass numeral on a short rule,
   then the heading and text. Card 1 shows the four seals D to A so the filling ring explains itself. */
.grade-steps { margin: 0 0 clamp(40px, 5vw, 64px); }
.grade-steps-h { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font: 600 0.86rem/1.4 var(--ui); text-transform: uppercase; letter-spacing: normal; color: #E8C693; }
.grade-steps-h::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, rgba(232, 198, 147, .4), rgba(232, 198, 147, 0)); }
.grade-steps > ol { list-style: none; margin: 0; padding: 0; counter-reset: gs; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grade-steps > ol > li { counter-increment: gs; position: relative; min-width: 0; display: flex; flex-direction: column; padding: 26px 24px 26px; border: 1px solid rgba(239, 231, 216, .14); background: linear-gradient(-180deg, rgba(255, 249, 236, .055), rgba(255, 249, 236, .015)); border-radius: 4px; transition: border-color .25s, background-color .25s; }
.grade-steps > ol > li:hover { border-color: rgba(232, 198, 147, .4); }
.grade-steps > ol > li::before {
  content: counter(gs, decimal-leading-zero); content: counter(gs, decimal-leading-zero) / "";
  align-self: flex-start; margin: 0 0 18px; padding: 0 0 10px; min-width: 2.6em; border-bottom: 1px solid #E8C693;
  font: 400 1.15rem/1 var(--display); color: #E8C693; font-variant-numeric: lining-nums;
}
.grade-steps h4 { font: 400 1.3rem/1.2 var(--display); letter-spacing: normal; color: var(--on-forest); margin: 0 0 12px; }
.grade-steps p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--on-forest-muted); }
.grade-steps a { color: #E8C693; text-underline-offset: 3px; }
.gs-demo { display: flex; align-items: center; margin: auto 0 0; padding-top: 22px; }
.gs-demo .grade { font-size: 1rem; }
.gs-demo .grade b { width: 2.2em; height: 2.2em; font-size: 1.05rem; }
.gs-demo-sep { flex: 1; min-width: 6px; height: 1px; margin: 0 4px; background: rgba(232, 198, 147, .3); }
.grade-steps .gs-demo-cap { margin: 10px 0 0; font: 500 0.806rem/1.4 var(--ui); text-transform: uppercase; letter-spacing: normal; color: rgba(232, 198, 147, .8); }
.grade-steps-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.grade-steps-key li { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: .95rem; color: var(--on-forest); border-bottom: 1px solid rgba(239, 231, 216, .08); }
.grade-steps-key li:last-child { border-bottom: 0; }
.grade-steps-key .grade b { width: 2.1em; height: 2.1em; font-size: .95rem; }
@media (max-width: 1000px) { .grade-steps > ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grade-steps > ol { grid-template-columns: minmax(0, 1fr); } }

/* The evidence ladder under it: one card per grade, a top rule in the grade's color, the seal beside the name. */
.band-trust .ladder { gap: 18px; border-top: 0; }
.band-trust .rung, .band-trust .rung + .rung { --gc: #BDB5A6; display: flex; flex-direction: column; min-width: 0; padding: 24px 24px 22px; border: 1px solid rgba(239, 231, 216, .14); border-top: 2px solid var(--gc); border-radius: 4px; background: linear-gradient(-180deg, color-mix(in srgb, var(--gc) 9%, transparent), rgba(255, 249, 236, .015) 55%); }
.band-trust .rung[data-g="A"] { --gc: #9ED0B0; } .band-trust .rung[data-g="B"] { --gc: #C6D18C; } .band-trust .rung[data-g="C"] { --gc: #E2BF83; }
.band-trust .rung-h { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 16px; margin: 0 0 16px; }
.band-trust .rung-h .grade b { width: 2.7em; height: 2.7em; font-size: 1.45rem; }
.band-trust .rung-h span { display: contents; }
.band-trust .rung-h small { grid-column: 1 / -1; margin-top: 12px; }
.band-trust .rung-count { margin: 0 0 12px; padding-top: 14px; border-top: 1px solid rgba(239, 231, 216, .1); color: var(--gc); }
.band-trust .rung-empty { margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(239, 231, 216, .1); font: 400 1rem/1.55 var(--latin); color: var(--on-forest-muted); }
@media (max-width: 900px) { .band-trust .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .band-trust .ladder { grid-template-columns: minmax(0, 1fr); } .band-trust .rung, .band-trust .rung + .rung { border-bottom: 1px solid rgba(239, 231, 216, .14); } }

/* Photographs instead of drawn plates (23 Nov 2026, owner request): entry tiles, the hero fan and the menu's featured plant */
.entry-mount .vis { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.entry-mount .vis img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fan-plate img, .nav-feat-art img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* The plant-name ticker belongs to the first screen (owner request, 24 Nov 2026): the hero gives up the ticker's
   height, so hero + ticker together fill the screen below the header on laptops and phones. */
:root { --tick-h: 48px; }
.hero + .ticker a { padding-block: 13px; font-size: 1.2rem; }
@media (min-width: 861px) {
  .hero { min-height: calc(100svh - var(--head-h) - var(--tick-h)); }
  .hero-plate .plate-art, .hero-plate .sheet-photo { height: clamp(170px, calc(100svh - var(--head-h) - var(--tick-h) - 2 * clamp(14px, 3.2vh, 48px) - 270px), 500px); }
}
@media (max-width: 860px) {
  :root { --tick-h: 42px; }
  .hero { min-height: calc(100svh - var(--head-h) - var(--tick-h)); }
  .hero + .ticker a { padding: 11px 18px; font-size: 1.05rem; }
  .hero + .ticker a::after { margin-right: 36px; }
}
@media (min-width: 861px) {
  /* Longer headlines in French, Spanish and Portuguese take two lines, not three; Arabic is set a touch smaller. */
  html:is([lang="fr"], [lang="es"], [lang="pt"]) .hero h1 { max-width: 19ch; }
  html[lang="ar"] .hero h1 { font-size: clamp(2rem, min(4.2vw, 6.6vh), 4.4rem); max-width: none; text-wrap: balance; }
  html:is([lang="fr"], [lang="es"], [lang="pt"]) .hero .stats span { letter-spacing: normal; }
}
@media (max-width: 860px) {
  html:is([lang="fr"], [lang="es"], [lang="pt"]) .hero .eyebrow { letter-spacing: normal; }
  html:is([lang="fr"], [lang="es"], [lang="pt"]) .hero-actions .btn { padding-block: 11px; }
}
