/* RUNASH — design tokens: see design-system/runash/MASTER.md */
:root {
  --forest: #1E3A2B;
  --forest-2: #2C5640;
  --leaf: #7DB46C;
  --harvest: #D9963A;
  --harvest-ink: #8F5410;
  --bg: #F5F2EA;
  --surface: #FFFFFF;
  --surface-2: #ECE7DA;
  --ink: #14231A;
  --ink-2: #4A5A4F;
  --line: #DCD5C4;
  --ring: #2C5640;
  --on-dark: #F3F1EA;
  --on-dark-2: #C4CFC6;
  /* Text over photos: tested ≥ 4.5:1 against the brightest photo areas under the scrim */
  --hero-gold: #FFC861;
  --hero-ink: #FFF4E0;
  --hero-ink-2: #F2E6CF;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgb(20 35 26 / .06), 0 12px 32px -12px rgb(20 35 26 / .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --gutter: 16px;
  --header-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --forest-2: #3F7A5A;
    --leaf: #94C784;
    --harvest-ink: #E3A855;
    --bg: #0F1712;
    --surface: #16211A;
    --surface-2: #1B2920;
    --ink: #ECEFE9;
    --ink-2: #A9B5AC;
    --line: #2A3A30;
    --ring: #94C784;
    color-scheme: dark;
  }
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }

/* ---------- 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);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em.accent { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 8px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 1000;
  background: var(--forest); color: #fff; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
@media (min-width: 900px) { .section { padding-block: 112px; } }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--forest); color: var(--on-dark); }

.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--forest-2);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .on-dark .eyebrow, .cta .eyebrow { color: var(--leaf); }
.h2 { font-size: clamp(32px, 4.4vw, 52px); }
.h3 { font-size: clamp(22px, 2.2vw, 26px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 62ch; }
.section--dark .lead { color: var(--on-dark-2); }
.section-head { display: grid; gap: 16px; margin-bottom: 48px; }
.section-head--split { gap: 20px; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; }
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--forest); --btn-fg: #fff; --btn-bd: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  touch-action: manipulation;
}
.btn:hover { --btn-bg: var(--forest-2); --btn-bd: var(--forest-2); }
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--forest); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: #E9F1E4; --btn-bd: #E9F1E4; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .5); }
.btn--ghost-light:hover { --btn-bg: rgb(255 255 255 / .12); --btn-bd: #fff; }
.btn--icon { width: 48px; padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
  color: var(--forest-2); min-height: 44px;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--leaf); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
  color: #fff;
}
.site-header.is-solid, .site-header--solid {
  background: rgb(30 58 43 / .96);
  box-shadow: 0 1px 0 rgb(255 255 255 / .06), 0 10px 30px -18px rgb(0 0 0 / .5);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid, .site-header--solid { background: rgb(30 58 43 / .86); backdrop-filter: blur(14px) saturate(1.2); }
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }

.nav { display: none; }
.nav ul { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .16); }
.nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; color: rgb(255 255 255 / .86);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { color: #fff; background: rgb(255 255 255 / .1); }
.nav a[aria-current="page"] { background: #fff; color: var(--forest); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; min-height: 44px; padding-inline: 8px; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .08); color: #fff; cursor: pointer;
}
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1000px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--forest); color: var(--on-dark);
  display: flex; flex-direction: column; padding: 16px var(--gutter) 32px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--header-h) - 16px); }
.mobile-menu nav { margin-top: 24px; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .12);
}
.mobile-menu nav a[aria-current="page"] { color: var(--leaf); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 12px; }
.mobile-menu__foot .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 32px) 0 32px;
  background: var(--forest);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(10 22 15 / .35) 0%, rgb(10 22 15 / 0) 22%, rgb(10 22 15 / 0) 62%, rgb(10 22 15 / .7) 100%),
    linear-gradient(90deg, rgb(10 22 15 / .84) 0%, rgb(10 22 15 / .78) 50%, rgb(10 22 15 / .4) 100%);
}
.hero__wordmark {
  position: absolute; z-index: -1; left: 0; right: 0; top: calc(var(--header-h) + 4vh);
  text-align: center; font-weight: 800; letter-spacing: -0.06em; line-height: .8;
  font-size: clamp(84px, 22vw, 340px); color: rgb(255 255 255 / .12);
  pointer-events: none; user-select: none;
}
.hero__content { display: grid; gap: 28px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; padding-block: 8px; padding-inline: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .22); width: fit-content; }
@supports (backdrop-filter: blur(1px)) { .hero__kicker { backdrop-filter: blur(10px); } }
.hero__kicker b { flex: none; white-space: nowrap; background: var(--harvest); color: #1d1405; border-radius: 999px; padding: 4px 10px; font-size: 12px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 17ch; color: var(--hero-gold); }
.hero, .page-hero { color: var(--hero-ink); }
.hero em.accent, .page-hero em.accent { color: var(--hero-gold); }
.hero__bottom { display: grid; gap: 28px; }
.hero__text { font-size: clamp(17px, 1.5vw, 19px); color: var(--hero-ink-2); max-width: 52ch; }
@media (min-width: 900px) {
  .hero { padding-bottom: 48px; }
  .hero__bottom { grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
}
.hero__stats {
  margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  border-radius: var(--r-lg); overflow: hidden; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .16);
}
@supports (backdrop-filter: blur(1px)) { .hero__stats { backdrop-filter: blur(16px); } }
.hero__stat { padding: 20px 20px 18px; background: rgb(12 26 18 / .42); }
.hero__stat strong { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero__stat span { font-size: 14px; color: rgb(255 255 255 / .78); line-height: 1.4; display: block; margin-top: 4px; }
@media (min-width: 900px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } .hero__stat { padding: 24px 28px; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--forest);
  padding: calc(var(--header-h) + 72px) 0 72px;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(12 26 18 / .9) 0%, rgb(12 26 18 / .62) 55%, rgb(12 26 18 / .35) 100%); }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); max-width: 16ch; margin-top: 16px; color: var(--hero-gold); }
.page-hero p { margin-top: 20px; max-width: 56ch; color: var(--hero-ink-2); font-size: clamp(17px, 1.5vw, 19px); }
.page-hero .eyebrow { color: var(--leaf); }
.breadcrumbs { display: flex; gap: 8px; font-size: 14px; color: rgb(255 255 255 / .75); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- intro / about split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--rev > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__badge {
  position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 320px;
  background: var(--surface); color: var(--ink); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center;
}
.split__badge .icon-tile { flex: none; }
.split__badge strong { display: block; font-size: 15px; }
.split__badge span { font-size: 14px; color: var(--ink-2); line-height: 1.4; display: block; }
.checklist { display: grid; gap: 18px; margin-top: 28px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.checklist strong { display: block; font-size: 17px; }
.checklist p { color: var(--ink-2); font-size: 16px; margin-top: 2px; }

.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: #E3EEDD; color: var(--forest);
}
.section--dark .icon-tile, .on-dark .icon-tile, .cta .icon-tile { background: rgb(255 255 255 / .08); color: var(--leaf); }

/* ---------- category cards ---------- */
.cat-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.cat-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 8px; text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card__media {
  border-radius: var(--r-md); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, #E2D6BC 0%, #F1EBDD 60%, #F7F3EA 100%);
}
.cat-card__media img { width: 78%; height: 86%; object-fit: contain; transition: transform .5s var(--ease); filter: drop-shadow(0 18px 18px rgb(60 40 10 / .18)); }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__media--photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.cat-card__body { padding: 20px 16px 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.cat-card__body p { color: var(--ink-2); font-size: 15px; }
.cat-card__foot { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 12px; margin-top: auto; }
.cat-card__tag { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cat-card__arrow {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--forest); color: #fff;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.cat-card:hover .cat-card__arrow { transform: rotate(-45deg); background: var(--forest-2); }
.cat-card--feature { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.cat-card--feature .cat-card__body p, .cat-card--feature .cat-card__tag { color: var(--on-dark-2); }
.cat-card--feature .cat-card__arrow { background: #fff; color: var(--forest); }
.cat-card--feature .cat-card__media { background: radial-gradient(120% 90% at 50% 100%, #3E6B52 0%, #2A4B39 70%); }

/* ---------- process ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; border-radius: var(--r-lg); padding: 28px 24px; background: rgb(255 255 255 / .05);
  border: 1px solid rgb(255 255 255 / .12); display: grid; gap: 14px; align-content: start;
}
.step__num { font-size: 14px; font-weight: 700; color: var(--leaf); letter-spacing: .08em; }
.step h3 { font-size: 20px; }
.step p { color: var(--on-dark-2); font-size: 15px; }
.step .icon-tile { margin-bottom: 8px; }

/* ---------- segments ---------- */
.seg-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .seg-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.seg {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); color: #fff;
  min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.seg img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.seg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 22 15 / 0) 20%, rgb(10 22 15 / .92) 78%); }
.seg:hover img { transform: scale(1.04); }
.seg h3 { font-size: 24px; }
.seg p { margin-top: 10px; color: rgb(255 255 255 / .84); font-size: 15px; }
.seg ul { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.seg li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .2); }

/* ---------- brand (PERSIOR) ---------- */
.brand-band {
  display: grid; gap: 32px; border-radius: var(--r-lg); padding: 32px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #F3E3C4 0%, #EBD3A6 100%); color: #2B1D08;
}
.brand-band .eyebrow { color: #7A4A10; }
.brand-band .lead { color: #4E3A1C; }
.brand-band__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.brand-band__list li { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .6); border: 1px solid rgb(122 74 16 / .18); }
.brand-band__media img { width: 100%; max-width: 520px; margin-inline: auto; filter: drop-shadow(0 30px 30px rgb(80 50 10 / .25)); }
.brand-band .btn { --btn-bg: #2B1D08; --btn-bd: #2B1D08; }
.brand-band .btn:hover { --btn-bg: #4A3313; --btn-bd: #4A3313; }
@media (min-width: 900px) { .brand-band { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 64px; gap: 48px; } }

/* ---------- logos marquee ---------- */
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; gap: 16px; width: max-content; animation: marquee 48s linear infinite; }
.logos:hover .logos__track, .logos:focus-within .logos__track { animation-play-state: paused; }
.logos__item {
  flex: none; width: 168px; height: 96px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; padding: 18px 22px;
}
.logos__item img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) {
  .logos { mask-image: none; }
  .logos__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .logos__track [aria-hidden="true"] { display: none; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 72px; } .faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .2s var(--ease); }
.faq-item[open] { border-color: var(--forest-2); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 22px; font-weight: 700; font-size: 17px; min-height: 64px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); transition: transform .25s var(--ease), background-color .25s var(--ease); }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--forest); color: #fff; }
.faq-item__body { padding: 0 22px 22px; color: var(--ink-2); font-size: 16px; display: grid; gap: 10px; }
.faq-item__body ul { display: grid; gap: 8px; padding-left: 0; }
.faq-item__body li { position: relative; padding-inline-start: 20px; }
.faq-item__body li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }

/* ---------- CTA / form ---------- */
.cta {
  display: grid; gap: 40px; border-radius: var(--r-lg); background: var(--forest); color: var(--on-dark);
  padding: 32px 20px; position: relative; overflow: hidden; isolation: isolate;
}
.cta::after {
  content: ""; position: absolute; z-index: -1; inset-inline-end: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgb(125 180 108 / .28), transparent 70%);
}
.cta .lead { color: var(--on-dark-2); }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-list a, .contact-list div {
  display: flex; gap: 14px; align-items: center; text-decoration: none; min-height: 48px;
}
.contact-list small { display: block; font-size: 13px; color: var(--on-dark-2); }
.contact-list strong { font-size: 17px; }
.contact-list a:hover strong { text-decoration: underline; }
@media (min-width: 900px) { .cta { grid-template-columns: .9fr 1.1fr; padding: 56px; gap: 56px; } }

.form { display: grid; gap: 16px; background: var(--surface); color: var(--ink); border-radius: var(--r-md); padding: 24px 20px; }
@media (min-width: 640px) { .form { padding: 32px; grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field label .req { color: #B42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 500 16px/1.4 var(--font); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9B09B; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-2); background: var(--surface); box-shadow: 0 0 0 3px rgb(44 86 64 / .2); }
.field .hint { font-size: 13px; color: var(--ink-2); }
.field .error { font-size: 13px; color: #B42318; font-weight: 600; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B42318; }
.field.invalid .error { display: block; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__foot p { font-size: 13px; color: var(--ink-2); max-width: 40ch; }
.form__status { border-radius: var(--r-sm); padding: 14px 16px; font-weight: 600; font-size: 15px; display: none; gap: 10px; align-items: center; }
.form__status.is-visible { display: flex; }
.form__status--ok { background: #E3EEDD; color: #1E4A2E; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- products page ---------- */
.filters { position: sticky; top: var(--header-h); z-index: 50; background: rgb(245 242 234 / .92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .filters { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); } }
.filters .container { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.filters .container::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .filters .container { flex-wrap: wrap; overflow: visible; } }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip .count { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.chip[aria-pressed="true"] .count { background: rgb(255 255 255 / .18); color: #fff; }

.product-list { display: grid; gap: 20px; }
.product {
  display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 90px);
}
.product[hidden] { display: none; }
@media (min-width: 900px) { .product { grid-template-columns: 420px 1fr; } }
.product__media {
  background: radial-gradient(120% 90% at 50% 100%, #E2D6BC 0%, #F1EBDD 60%, #F7F3EA 100%);
  display: grid; place-items: center; padding: 32px; min-height: 260px; margin: 8px; border-radius: var(--r-md);
}
.product__media img { max-height: 280px; width: auto; filter: drop-shadow(0 22px 22px rgb(60 40 10 / .2)); }
.product__media--photo { padding: 0; overflow: hidden; }
.product__media--photo img { max-height: none; width: 100%; height: 100%; object-fit: cover; filter: none; }
.product__body { padding: 24px 20px 28px; display: grid; gap: 16px; align-content: start; }
@media (min-width: 900px) { .product__body { padding: 40px 40px 40px 32px; } }
.product__top { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #E3EEDD; color: #1E4A2E; }
.tag--warm { background: #F5E6CB; color: #6E430E; }
.product h2 { font-size: clamp(26px, 2.6vw, 34px); }
.product__desc { color: var(--ink-2); max-width: 64ch; }
.specs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.spec { border-radius: var(--r-sm); background: var(--bg); padding: 12px 14px; }
.spec small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.spec span { font-weight: 700; font-size: 15px; }
.items-title { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.items { display: flex; flex-wrap: wrap; gap: 8px; }
.items li { font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); }
.items--sizes li { font-variant-numeric: tabular-nums; }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* ---------- about ---------- */
.values { display: grid; gap: 16px; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; }
.value p { color: var(--ink-2); font-size: 16px; }
.big-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .big-stats { grid-template-columns: repeat(4, 1fr); } }
.big-stat { border-top: 2px solid var(--leaf); padding-top: 20px; }
.big-stat strong { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-stat span { display: block; margin-top: 10px; color: var(--on-dark-2); font-size: 15px; }
.docs-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .docs-grid { grid-template-columns: repeat(2, 1fr); } }
.doc { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.doc p { font-size: 15px; color: var(--ink-2); }
.doc strong { display: block; font-size: 16px; }

/* ---------- contact ---------- */
.contact-cards { display: grid; gap: 16px; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; }
.contact-card h2 { font-size: 18px; margin-top: 8px; }
.contact-card p, .contact-card a { color: var(--ink-2); font-size: 16px; }
.contact-card a { text-decoration: none; font-weight: 700; color: var(--ink); display: inline-flex; min-height: 32px; align-items: center; }
.contact-card a:hover { text-decoration: underline; }
.map {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--surface-2);
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- footer ---------- */
.site-footer { background: #13261B; color: var(--on-dark-2); padding: 72px 0 32px; overflow: hidden; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; } }
.site-footer h2 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { font-size: 15px; max-width: 38ch; margin-top: 16px; }

.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px; }
.footer-word {
  font-size: clamp(72px, 19vw, 280px); font-weight: 800; letter-spacing: -0.06em; line-height: .8; color: rgb(255 255 255 / .035);
  margin-top: 48px; text-align: center; user-select: none;
}

/* ---------- reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- language switcher ---------- */
.lang-switch { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .16); }
.lang-switch a {
  display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 999px;
  font: 700 13px/1 var(--font-latin, var(--font)); letter-spacing: .04em; text-decoration: none; color: rgb(255 255 255 / .82);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang-switch a:hover { background: rgb(255 255 255 / .12); color: #fff; }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--forest); }
.mobile-menu__foot .lang-switch { justify-self: center; margin-bottom: 8px; }
.mobile-menu__foot .lang-switch a { min-width: 56px; height: 44px; font-size: 14px; }
@media (max-width: 380px) { .header-actions > .lang-switch a { min-width: 32px; padding: 0 6px; } }

/* ---------- Persian / RTL ---------- */
:root { --font-latin: "Manrope", system-ui, sans-serif; --font-logo: "Tinos", "Times New Roman", Times, serif; }
[lang="fa"] { --font: "Vazirmatn", "Manrope", Tahoma, sans-serif; }
[lang="fa"] body { line-height: 1.85; }
[lang="fa"] h1, [lang="fa"] h2, [lang="fa"] h3, [lang="fa"] h4 { letter-spacing: 0; line-height: 1.35; }
[lang="fa"] .eyebrow, [lang="fa"] .spec small, [lang="fa"] .site-footer h2 { letter-spacing: 0; }
[lang="fa"] .hero__wordmark, [lang="fa"] .footer-word { font-family: var(--font-logo); }
/* No italic in Persian script: the accent words get colour instead */
[lang="fa"] em.accent { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: 0; color: var(--forest-2); }
[lang="fa"] .hero em.accent, [lang="fa"] .page-hero em.accent { color: var(--hero-gold); }
[lang="fa"] .section--dark em.accent, [lang="fa"] .cta em.accent { color: var(--leaf); }
[lang="fa"] .brand-band em.accent { color: #8F5410; }
[lang="fa"] .hero h1 { line-height: 1.3; }
[lang="fa"] .mobile-menu nav a { letter-spacing: 0; }
[dir="rtl"] .logos { direction: ltr; }
[dir="rtl"] .icon:has(use[href*="arrow-right"]) { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .cat-card:hover .cat-card__arrow { transform: rotate(45deg); }
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { text-align: right; }
[dir="rtl"] .page-hero::before { background: linear-gradient(270deg, rgb(12 26 18 / .9) 0%, rgb(12 26 18 / .62) 55%, rgb(12 26 18 / .35) 100%); }

/* Hero scrim: text side darker; mirrored in RTL, uniform on phones where text spans the full width */
[dir="rtl"] .hero::before {
  background:
    linear-gradient(180deg, rgb(10 22 15 / .35) 0%, rgb(10 22 15 / 0) 22%, rgb(10 22 15 / 0) 62%, rgb(10 22 15 / .7) 100%),
    linear-gradient(270deg, rgb(10 22 15 / .84) 0%, rgb(10 22 15 / .78) 50%, rgb(10 22 15 / .4) 100%);
}
@media (max-width: 899px) {
  .hero::before, [dir="rtl"] .hero::before { background: linear-gradient(180deg, rgb(10 22 15 / .7) 0%, rgb(10 22 15 / .8) 40%, rgb(10 22 15 / .88) 100%); }
}
.page-hero::before { background: linear-gradient(90deg, rgb(12 26 18 / .88) 0%, rgb(12 26 18 / .8) 55%, rgb(12 26 18 / .45) 100%); }
[dir="rtl"] .page-hero::before { background: linear-gradient(270deg, rgb(12 26 18 / .88) 0%, rgb(12 26 18 / .8) 55%, rgb(12 26 18 / .45) 100%); }
@media (max-width: 899px) { .page-hero::before, [dir="rtl"] .page-hero::before { background: rgb(12 26 18 / .8); } }

/* Logo: gold recolour of logo-white.webp (#FFC861, same as --hero-gold), 25% larger than before (44→55px, 52→65px).
   A real image instead of a CSS mask, so it also shows when pages are opened from disk. */
.logo-mark { display: block; height: 55px; width: auto; }
.logo-mark--lg { height: 65px; }
@media (max-width: 380px) { .site-header .logo-mark { height: 48px; } }

/* =====================================================================
   Motion layer. Everything below is decorative and is switched off
   under prefers-reduced-motion (CSS here, JS checks the same query).
   ===================================================================== */

/* Scroll progress bar (element added by main.js) */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 150; pointer-events: none;
  background: linear-gradient(90deg, var(--harvest), var(--hero-gold));
  transform-origin: left; transform: scaleX(var(--progress, 0));
}
[dir="rtl"] .scroll-progress { transform-origin: right; }

/* Hero media wrapper carries the parallax; the image carries the slow zoom */
.hero__media, .page-hero__media { will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
  /* Ken Burns */
  .hero__media img { animation: kenburns 26s ease-in-out infinite alternate; transform-origin: 60% 45%; }
  .page-hero__media img { animation: kenburns 30s ease-in-out infinite alternate; }
  @keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }

  /* Hero entrance: staggered rise on load */
  .hero__kicker, .hero h1, .hero h1 em.accent, .hero__text, .hero .btn-row, .hero__stats,
  .page-hero .breadcrumbs, .page-hero h1, .page-hero p {
    animation: rise .9s var(--ease) both;
  }
  .hero h1 em.accent, .page-hero h1 em.accent { display: inline-block; }
  .hero__kicker { animation-delay: .1s; }
  .hero h1 { animation-delay: .22s; }
  .hero h1 em.accent { animation-delay: .42s; }
  .hero__text { animation-delay: .58s; }
  .hero .btn-row { animation-delay: .7s; }
  .hero__stats { animation-delay: .85s; }
  .page-hero .breadcrumbs { animation-delay: .05s; }
  .page-hero h1 { animation-delay: .15s; }
  .page-hero p { animation-delay: .35s; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

  .hero__wordmark { animation: wordmark-in 1.6s var(--ease) both; }
  @keyframes wordmark-in { from { opacity: 0; letter-spacing: .22em; } to { opacity: 1; letter-spacing: .02em; } }

  /* Eyebrow rule grows in with its block */
  .js .reveal .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .25s; }
  [dir="rtl"].js .reveal .eyebrow::before, .js[dir="rtl"] .reveal .eyebrow::before { transform-origin: right; }
  .js .reveal.is-in .eyebrow::before { transform: scaleX(1); }

  /* Primary buttons: light sweep on hover */
  .btn { position: relative; overflow: hidden; isolation: isolate; }
  .btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
  }
  .btn--light::after { background: linear-gradient(110deg, transparent 30%, rgb(255 200 97 / .45) 50%, transparent 70%); }
  .btn:hover::after { transform: translateX(120%); }
  .btn .icon { transition: transform .25s var(--ease); }
  .btn:hover .icon:has(use[href*="arrow-right"]) { transform: translateX(4px); }
  [dir="rtl"] .btn:hover .icon:has(use[href*="arrow-right"]) { transform: scaleX(-1) translateX(4px); }

  /* Category cards: pointer tilt (vars set by main.js) */
  .cat-card {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    transition: transform .4s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  }
  .cat-card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
  .cat-card.is-tilting { transition: transform .08s linear, box-shadow .3s var(--ease); }
  .cat-card__media img { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
  .cat-card:hover .cat-card__media img { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.07); }

  /* Product cut-outs float gently */
  .product__media img { animation: float 6s ease-in-out infinite; }
  .product:nth-child(2n) .product__media img { animation-delay: -3s; }
  .product__media--photo img { animation: none; }
  @keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }

  /* Segment cards: text block slides up on hover */
  .seg > *:not(img) { transition: transform .5s var(--ease); }
  .seg:hover > *:not(img) { transform: translateY(-6px); }

  /* Process: connecting line draws across the steps */
  .steps { position: relative; }
  @media (min-width: 1100px) {
    .steps::before {
      content: ""; position: absolute; top: 51px; inset-inline: 72px; height: 2px; z-index: 1;
      background: linear-gradient(90deg, var(--leaf), var(--hero-gold));
      transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s;
    }
    [dir="rtl"] .steps::before { transform-origin: right; background: linear-gradient(270deg, var(--leaf), var(--hero-gold)); }
    .steps.is-in::before { transform: scaleX(1); }
    .step { background: #294436; }
    .step .icon-tile { position: relative; z-index: 2; background: #34503F; }
  }
  .step .icon-tile { transition: transform .5s var(--ease), background-color .3s var(--ease); }
  .step.is-in .icon-tile { animation: pop .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 180ms + .3s); }
  @keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: none; } }

  /* Footer wordmark tightens as it scrolls in */
  .js .footer-word.reveal { letter-spacing: .2em; transition: opacity 1s var(--ease), transform 1s var(--ease), letter-spacing 1.4s var(--ease); }
  .js .footer-word.reveal.is-in { letter-spacing: .02em; }

  /* Page-to-page cross-fade (Chromium cross-document View Transitions) */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
}

/* ---------- cold-chain journey ---------- */
.journey { overflow: hidden; }
.journey__stage { position: relative; }
.journey__map { width: 100%; height: auto; display: block; overflow: visible; }
[dir="rtl"] .journey__map { transform: scaleX(-1); }
.journey__route { fill: none; stroke: var(--line); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.journey__route-done { fill: none; stroke: url(#journey-grad); stroke-width: 4; stroke-linecap: round; }
.journey__node { fill: var(--surface); stroke: var(--line); stroke-width: 3; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.journey__node.is-active { fill: var(--forest); stroke: var(--hero-gold); }
.journey__truck-body { fill: var(--forest); }
.journey__truck-glow { fill: var(--hero-gold); opacity: .28; }
.journey__truck-icon { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.journey__stops { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); counter-reset: stop; }
@media (min-width: 900px) { .journey__stops { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.journey__stop {
  counter-increment: stop; border-radius: var(--r-md); padding: 18px; background: var(--surface); border: 1px solid var(--line);
  opacity: .55; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.journey__stop.is-active { opacity: 1; transform: none; border-color: var(--forest-2); box-shadow: var(--shadow); }
.journey__stop::before { content: "0" counter(stop); display: block; font-size: 13px; font-weight: 800; color: var(--harvest-ink); letter-spacing: .08em; margin-bottom: 6px; }
[lang="fa"] .journey__stop::before { content: "۰" counter(stop, persian); letter-spacing: 0; }
.journey__stop strong { display: block; font-size: 17px; line-height: 1.3; }
.journey__stop span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.journey__log {
  margin-top: 20px; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--r-md);
  background: var(--forest); color: var(--on-dark);
}
.journey__log-chart { flex: 1; height: 36px; min-width: 0; }
.journey__log-line { fill: none; stroke: var(--leaf); stroke-width: 2; stroke-linecap: round; }
.journey__log-band { fill: rgb(125 180 108 / .16); }
.journey__log strong { display: block; font-size: 14px; }
.journey__log small { display: block; font-size: 13px; color: var(--on-dark-2); }
.journey__log .icon-tile { background: rgb(255 255 255 / .08); color: var(--hero-gold); flex: none; }
@media (max-width: 640px) { .journey__log-chart { display: none; } }

/* ---------- sticky mobile CTA bar (replaces the floating buttons) ---------- */
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 90; display: flex; gap: 8px; align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(19 38 27 / .96); box-shadow: 0 -10px 30px -12px rgb(0 0 0 / .4);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
@supports (backdrop-filter: blur(1px)) { .mobile-cta { background: rgb(19 38 27 / .86); backdrop-filter: blur(14px); } }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; }
.mobile-cta .btn--icon { flex: none; width: 48px; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: 104px; } }
body.menu-open .mobile-cta { transform: translateY(110%); }

/* ---------- hero collage band (home) ----------
   hero-collage.webp is 2000×667 with 7 product panels split by diagonal seams.
   Each tile is one panel cut as a parallelogram (slant 180 image-px). Sizes are in
   image pixels and scaled to the hero height with container units, so tiles always
   fill the full height. main.js cycles the tiles; without it the band is static. */
.hero-band {
  position: absolute; inset: 0; overflow: hidden; direction: ltr;
  container-type: size; background: #0E1C14;
}
.hero-band__track { display: flex; height: 100%; will-change: transform; }
.hero-band__tile {
  --u: calc(100cqh / 667);
  flex: none; height: 100%;
  width: calc((var(--w) + 180) * var(--u));
  background: url("../img/hero-collage.webp") no-repeat;
  background-size: auto 100%;
  background-position: calc(var(--bx) * var(--u) * -1) 0;
  clip-path: polygon(calc(180 * var(--u)) 0, 100% 0, calc(var(--w) * var(--u)) 100%, 0 100%);
}
/* 12 image-px gutter between neighbours; tiles overlap by the slant so the edges stay parallel */
.hero-band__tile + .hero-band__tile { margin-left: calc((12 - 180) * var(--u)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-band__tile { animation: tile-in 1.1s var(--ease) both; animation-delay: calc(var(--n) * 90ms); }
  .hero-band.is-cycling .hero-band__tile { animation: none; }
  @keyframes tile-in { from { opacity: 0; transform: translateY(-14%); } to { opacity: 1; transform: none; } }
}

/* "RUNASH" wordmarks use the logo's serif (the "RUNASH.RU" line of the logo is Times-style bold) */
.hero__wordmark, .footer-word { font-family: var(--font-logo); font-weight: 700; letter-spacing: .02em; }
.hero__wordmark { font-size: clamp(64px, 17vw, 270px); }
.footer-word { font-size: clamp(60px, 16vw, 240px); }

.hero-band__toggle {
  position: absolute; z-index: 2; inset-inline-end: var(--gutter); top: calc(var(--header-h) + 16px);
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgb(12 26 18 / .5); border: 1px solid rgb(255 255 255 / .25);
  transition: background-color .2s var(--ease);
}
.hero-band__toggle:hover { background: rgb(12 26 18 / .8); }
.hero-band__toggle .icon { width: 16px; height: 16px; }
.hero-band__toggle path[d^="M8"] { fill: currentColor; stroke: none; }

/* ---------- contact page hero: text + quick actions, framed photo with badges ---------- */
.page-hero--contact { padding-bottom: 64px; }
.page-hero--contact::before,
[dir="rtl"] .page-hero--contact::before {
  background:
    radial-gradient(60% 80% at 85% 30%, rgb(125 180 108 / .22), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgb(217 150 58 / .16), transparent 70%);
}
@media (max-width: 899px) { .page-hero--contact::before, [dir="rtl"] .page-hero--contact::before { background: radial-gradient(80% 50% at 80% 70%, rgb(125 180 108 / .2), transparent 70%); } }
.contact-hero { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .contact-hero { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.contact-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (prefers-reduced-motion: no-preference) {
  .contact-hero__actions { animation: rise .9s var(--ease) .5s both; }
  .contact-panel { animation: rise 1s var(--ease) .3s both; }
  .contact-panel__list > div { animation: rise .7s var(--ease) both; animation-delay: calc(.45s + var(--row) * 90ms); }
}

/* Contact box in the contact hero (replaces the photo) */
.contact-panel {
  position: relative; width: 100%; max-width: 520px; justify-self: center;
  padding: 28px; border-radius: var(--r-lg); color: var(--hero-ink);
  background: linear-gradient(160deg, rgb(255 255 255 / .09), rgb(255 255 255 / .03));
  border: 1px solid rgb(255 200 97 / .35);
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / .65), inset 0 1px 0 rgb(255 255 255 / .08);
}
@supports (backdrop-filter: blur(1px)) { .contact-panel { backdrop-filter: blur(10px); } }
.contact-panel__logo { height: 56px; width: auto; margin-bottom: 12px; }
.contact-panel__list { margin: 0; }
.contact-panel__list > div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid rgb(255 255 255 / .12); }
.contact-panel__list > div:nth-child(1) { --row: 0; } .contact-panel__list > div:nth-child(2) { --row: 1; }
.contact-panel__list > div:nth-child(3) { --row: 2; } .contact-panel__list > div:nth-child(4) { --row: 3; }
.contact-panel__list > div:nth-child(5) { --row: 4; }
.contact-panel__list dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--hero-gold); }
.contact-panel__list dt .icon { width: 16px; height: 16px; }
.contact-panel__list dd { margin: 0; padding-inline-start: 24px; font-size: 16px; line-height: 1.5; color: var(--hero-ink-2); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.contact-panel__list dd a { color: var(--hero-ink); font-weight: 700; font-size: 18px; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.contact-panel__list dd a:hover { color: var(--hero-gold); text-decoration: underline; }
[lang="fa"] .contact-panel__list dt { letter-spacing: 0; }
@media (max-width: 480px) { .contact-panel { padding: 22px 18px; } .contact-panel__list dd a { font-size: 17px; } }

/* ---------- about page hero: RUNASH convoy on the road ----------
   Lead truck sits at ~35–72% across, 40–75% down the photo. The overlay is
   dark only behind the text column so the truck stays visible. */
.page-hero--about { min-height: min(78svh, 720px); display: flex; align-items: center; }
.page-hero--about .page-hero__media img { object-position: 50% 55%; }
.page-hero--about::before { background: linear-gradient(90deg, rgb(12 26 18 / .9) 0%, rgb(12 26 18 / .78) 34%, rgb(12 26 18 / .28) 62%, rgb(12 26 18 / .12) 100%); }
[dir="rtl"] .page-hero--about::before { background: linear-gradient(270deg, rgb(12 26 18 / .9) 0%, rgb(12 26 18 / .8) 38%, rgb(12 26 18 / .3) 70%, rgb(12 26 18 / .15) 100%); }
@media (max-width: 899px) { .page-hero--about::before, [dir="rtl"] .page-hero--about::before { background: linear-gradient(180deg, rgb(12 26 18 / .55) 0%, rgb(12 26 18 / .82) 55%, rgb(12 26 18 / .9) 100%); } }
.page-hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: radial-gradient(38% 45% at 78% 8%, rgb(255 214 140 / .55), transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  /* focus pull on load, then a slow push toward the lead truck */
  .page-hero--about .page-hero__media img {
    transform-origin: 52% 62%;
    animation: about-focus 1.8s var(--ease) both, about-drive 22s ease-in-out 1.8s infinite alternate;
  }
  @keyframes about-focus { from { transform: scale(1.18); filter: blur(10px) saturate(.7); } to { transform: scale(1.04); filter: none; } }
  @keyframes about-drive { from { transform: scale(1.04); } to { transform: scale(1.16) translate3d(-1.5%, .8%, 0); } }
  .page-hero__glow { animation: sun-drift 9s ease-in-out infinite alternate; }
  @keyframes sun-drift { from { opacity: .35; transform: translate3d(0, 0, 0); } to { opacity: .7; transform: translate3d(-4%, 2%, 0); } }
}
/* Nudge the photo away from the text column so the lead truck clears the copy
   (margin-inline-start flips automatically in RTL); not needed on phones */
@media (min-width: 900px) {
  .page-hero--about .page-hero__media img { margin-inline-start: 10%; }
  /* fill the strip the shift uncovers with a soft copy of the same photo */
  .page-hero--about .page-hero__media { background: url("../img/about-trucks.jpg") left 55% / cover no-repeat; }
  .page-hero--about p { max-width: 46ch; }
}

/* ---------- product photos that pan slowly across a wide image ----------
   Used on the products page. Each card picks its photo and framing with a
   modifier class; to convert another card, add a .pan--name rule below. */
.pan-media {
  --pan-zoom-a: 130%; --pan-zoom-b: 142%; --pan-y-a: 80%; --pan-y-b: 74%; --pan-x-a: 6%; --pan-x-b: 94%;
  --pan-time: 22s; --pan-fallback: none;
  min-height: 420px; padding: 0;
  background-image: var(--pan-img), var(--pan-fallback);
  background-repeat: no-repeat;
  background-size: auto var(--pan-zoom-a), cover;
  background-position: var(--pan-x-a) var(--pan-y-a), center;
}
@media (prefers-reduced-motion: no-preference) {
  .pan-media { animation: media-pan var(--pan-time) ease-in-out infinite alternate; }
  @keyframes media-pan {
    from { background-position: var(--pan-x-a) var(--pan-y-a), center; background-size: auto var(--pan-zoom-a), cover; }
    to   { background-position: var(--pan-x-b) var(--pan-y-b), center; background-size: auto var(--pan-zoom-b), cover; }
  }
}
@media (max-width: 899px) { .pan-media { min-height: 300px; } }
/* full: whole photo height (nothing cropped top or bottom), panning edge to edge
   so the first and last items are shown whole. Used by the panoramic product rows. */
.pan--full { --pan-zoom-a: 100%; --pan-zoom-b: 100%; --pan-y-a: 50%; --pan-y-b: 50%; --pan-x-a: 0%; --pan-x-b: 100%; --pan-time: 26s; }
.pan--fresh   { --pan-img: url("../img/fresh-produce.jpg"); }
.pan--seafood { --pan-img: url("../img/pan-seafood.jpg"); }
.pan--persior { --pan-img: url("../img/pan-persior-line.jpg"); --pan-time: 16s; } /* 16:9 photo: shorter travel, so a shorter cycle keeps the same pace */
.pan--dried   { --pan-img: url("../img/pan-dried-fruit.jpg"); }
.pan--nuts    { --pan-img: url("../img/pan-nuts.jpg"); }
/* factory hall: frame the packing line below the logo screen */
.pan--private-label { --pan-img: url("../img/private-label.jpg"); --pan-fallback: url("../img/service-2.jpg"); --pan-zoom-a: 158%; --pan-zoom-b: 172%; --pan-y-a: 97%; --pan-y-b: 92%; }
/* ---------- touch screens: every control at least 44×44 px ---------- */
@media (pointer: coarse) {
  .lang-switch a { height: 44px; min-width: 40px; }
  .site-footer a { min-height: 44px; }
  .contact-panel__list dd a { min-height: 44px; }
  .hero-band__toggle { width: 44px; height: 44px; }
}
/* small phones: give the header room for logo + language switch + menu */
@media (max-width: 380px) {
  .site-header .logo-mark { height: 44px; }
  .header-actions { gap: 6px; }
  .header-actions > .lang-switch a { min-width: 36px; padding: 0 4px; }
}

/* request form: honeypot (hidden from people, filled only by bots) and status states */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form__status--busy { background: var(--surface-2); color: var(--ink-2); }
.form__status--warn { background: #FBEBD2; color: #6E430E; }

/* ---------- two photos cross-fading in one card (dates) ----------
   Layer A: the bowl cut-out on the card's warm background (keeps its float).
   Layer B: the PERSIOR packaging photo on its own beige (#D3C6AC, sampled from
   the photo) so it blends edge to edge; it fades in and out over a 14 s cycle
   with a slow zoom. Pauses on hover; static (packaging) under reduced motion. */
.media-duo { position: relative; padding: 0; min-height: 420px; overflow: hidden; display: block; }
.media-duo__layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.media-duo__layer--a { padding: 32px; }
.media-duo__layer--b { background: #D3C6AC; opacity: 0; }
.media-duo .media-duo__layer--b img {
  width: 100%; height: 100%; max-height: none; object-fit: contain; filter: none; animation: none;
}
@media (prefers-reduced-motion: no-preference) {
  .media-duo__layer--b { animation: duo-fade 14s ease-in-out infinite; }
  .media-duo .media-duo__layer--b img { animation: duo-zoom 14s ease-in-out infinite; }
  .media-duo:hover .media-duo__layer, .media-duo:hover img { animation-play-state: paused; }
  @keyframes duo-fade { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes duo-zoom { 0%, 38% { transform: scale(1.12) translateX(3%); } 88% { transform: scale(1) translateX(-2%); } 100% { transform: scale(1) translateX(-2%); } }
}
@media (prefers-reduced-motion: reduce) { .media-duo__layer--b { opacity: 1; } }
@media (max-width: 899px) { .media-duo { min-height: 300px; } }

/* about page › documents: illustrated icons cut from src/logo.jpeg */
.doc { align-items: center; }
.doc__icon { flex: none; width: 72px; height: 72px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.doc__icon img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 480px) { .doc__icon { width: 60px; height: 60px; } }

/* ---------- about › "predictability" photo: global logistics ----------
   Slow camera push toward the ship and routes, a soft light sweep across the
   map every few seconds. */
.media-fx { overflow: hidden; border-radius: var(--r-lg); isolation: isolate; }
.media-fx img { object-position: 50% 25%; transform-origin: 55% 30%; } /* keep the plane (top right) in frame */
.media-fx__sheen {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .28) 48%, rgb(255 236 190 / .18) 52%, transparent 65%);
  mix-blend-mode: screen; transform: translateX(-110%);
}
@media (prefers-reduced-motion: no-preference) {
  .media-fx img { animation: fx-push 20s ease-in-out infinite alternate; }
  @keyframes fx-push { from { transform: scale(1.02); } to { transform: scale(1.1) translate3d(-1%, 1%, 0); } }
  .media-fx__sheen { animation: fx-sheen 7s ease-in-out 1.5s infinite; }
  @keyframes fx-sheen { 0% { transform: translateX(-110%); } 45%, 100% { transform: translateX(110%); } }
}

/* home › category cards reuse the product-page media (pan / cross-fade) in the
   card's 16:10 frame instead of the tall product-card frame */
.cat-card__media.pan-media, .cat-card__media.media-duo { min-height: 0; aspect-ratio: 16 / 10; display: block; }
.cat-card__media.media-duo .media-duo__layer--a { padding: 14px; }
.cat-card__media.media-duo .media-duo__layer--a img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 14px 14px rgb(60 40 10 / .18)); }
/* badge on the home intro photo is text-only now */
.split__badge { padding: 16px 20px; }
/* the dark feature card sets its own background; let the panning photo win */
.cat-card .cat-card__media.pan-media {
  background-image: var(--pan-img), var(--pan-fallback);
  background-repeat: no-repeat;
  background-size: auto var(--pan-zoom-a), cover;
  background-position: var(--pan-x-a) var(--pan-y-a), center;
}

/* ---------- PERSIOR logo in the brand band ----------
   Sits after the text, about the height of the text block. The green logo has a
   gold copy on top that is revealed only inside a slanted band sweeping across
   (clip-path, so it also works when pages are opened from disk), plus a soft
   golden glow. Both logos were cut from src/persior.jpeg with the white removed. */
.brand-band__mark { position: relative; justify-self: center; line-height: 0; }
.brand-band__mark img { display: block; height: clamp(200px, 22vw, 360px); width: auto; }
.brand-band__mark-base { filter: drop-shadow(0 12px 24px rgb(122 74 16 / .22)); }
.brand-band__mark-gold { position: absolute; inset: 0; clip-path: polygon(-40% 0, -15% 0, -35% 100%, -60% 100%); }
@media (min-width: 900px) {
  .brand-band { grid-template-columns: minmax(0, 1.15fr) auto minmax(0, .85fr); gap: 40px; }
}
@media (max-width: 899px) {
  .brand-band__mark img { height: 200px; }
}
@media (prefers-reduced-motion: no-preference) {
  .brand-band__mark-gold { animation: mark-sweep 6s ease-in-out 1s infinite; }
  .brand-band__mark-base { animation: mark-glow 6s ease-in-out 1s infinite; }
  @keyframes mark-sweep {
    0%        { clip-path: polygon(-40% 0, -15% 0, -35% 100%, -60% 100%); }
    55%, 100% { clip-path: polygon(140% 0, 165% 0, 145% 100%, 120% 100%); }
  }
  @keyframes mark-glow {
    0%, 100% { filter: drop-shadow(0 12px 24px rgb(122 74 16 / .22)); }
    30%      { filter: drop-shadow(0 12px 24px rgb(122 74 16 / .22)) drop-shadow(0 0 22px rgb(255 200 97 / .75)); }
  }
}
@media (prefers-reduced-motion: reduce) { .brand-band__mark-gold { display: none; } }

/* PERSIOR band without the dates photo: text + logo, balanced two columns.
   The logo gets a soft golden halo so it anchors the right half. */
@media (min-width: 900px) {
  .brand-band { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
}
.brand-band__mark { isolation: isolate; padding: 24px; }
.brand-band__mark::before {
  content: ""; position: absolute; inset: -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 246 222 / .9), rgb(255 238 200 / .45) 55%, transparent 100%);
}
.brand-band__mark img { height: clamp(240px, 28vw, 420px); }
.brand-band__mark-gold { inset: 24px; }
@media (max-width: 899px) {
  .brand-band__mark { padding: 8px; margin-top: 8px; }
  .brand-band__mark img { height: 220px; }
  .brand-band__mark-gold { inset: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .brand-band__mark::before { animation: halo-breathe 6s ease-in-out 1s infinite; }
  @keyframes halo-breathe { 0%, 100% { transform: scale(.96); opacity: .85; } 30% { transform: scale(1.04); opacity: 1; } }
}

/* PERSIOR band: logo first (left in RU/EN, mirrored to the right in Persian), text after */
.brand-band__mark { order: -1; }
@media (min-width: 900px) {
  .brand-band { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
@media (max-width: 899px) {
  .brand-band__mark { margin: 0 0 8px; }
}

/* =====================================================================
   Hover system for images (mouse users only; off for reduced motion)
   One vocabulary everywhere: a soft diagonal light sweep, a gentle zoom
   or colour lift on the photo, and a small lift for logos and icons.
   ===================================================================== */
:root { --hover-ease: cubic-bezier(.22, .61, .36, 1); --hover-time: .7s; }

/* Photo frames that get the light sweep */
.split__media, .product__media, .cat-card__media, .seg { position: relative; }
.split__media, .product__media { overflow: hidden; }
.split__media { border-radius: var(--r-lg); }
.split__media::after, .product__media::after, .cat-card__media::after, .seg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .32) 47%, rgb(255 240 205 / .2) 53%, transparent 70%);
  transform: translateX(-120%); opacity: 0;
}
.seg::after { z-index: -1; } /* above the photo and its scrim, below the card text */
.split__badge { z-index: 3; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .split__media::after, .product__media::after, .cat-card__media::after, .seg::after {
    transition: transform 1s var(--hover-ease), opacity .3s ease;
  }
  .split__media:hover::after, .product__media:hover::after, .cat-card:hover .cat-card__media::after, .seg:hover::after {
    transform: translateX(120%); opacity: 1;
  }

  /* Photos: gentle zoom where the image is static, colour lift where it already moves */
  .split__media:not(.media-fx) img { transition: transform var(--hover-time) var(--hover-ease), filter var(--hover-time) ease; }
  .split__media:not(.media-fx):hover img { transform: scale(1.04); filter: saturate(1.08); }
  .media-fx img, .pan-media, .media-duo, .seg img { transition: filter var(--hover-time) ease; }
  .media-fx:hover img, .product__media.pan-media:hover, .product__media.media-duo:hover,
  .cat-card:hover .cat-card__media.pan-media, .seg:hover img { filter: saturate(1.12) contrast(1.03) brightness(1.03); }
  .media-fx:hover .media-fx__sheen { animation-duration: 2.4s; }

  /* Product cards lift a touch when their photo is hovered */
  .product { transition: box-shadow .4s ease, border-color .4s ease; }
  .product:has(.product__media:hover) { box-shadow: var(--shadow); border-color: transparent; }

  /* PERSIOR logo: turns fully gold and lifts, with a stronger glow */
  .brand-band__mark { transition: transform .5s var(--hover-ease); }
  .brand-band__mark:hover { transform: translateY(-6px) scale(1.03); }
  .brand-band__mark:hover .brand-band__mark-gold {
    animation: none; clip-path: polygon(-20% 0, 120% 0, 120% 100%, -20% 100%);
    transition: clip-path .7s var(--hover-ease);
  }
  .brand-band__mark:hover .brand-band__mark-base {
    animation: none; filter: drop-shadow(0 18px 28px rgb(122 74 16 / .28)) drop-shadow(0 0 24px rgb(255 200 97 / .7));
    transition: filter .5s ease;
  }

  /* Client logos: calm by default, full colour and a small lift on hover */
  .logos__item { transition: transform .4s var(--hover-ease), box-shadow .4s ease, border-color .4s ease; }
  .logos__item img { filter: grayscale(.85) opacity(.75); transition: filter .4s ease; }
  .logos__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
  .logos__item:hover img { filter: none; }

  /* Document icons (About) */
  .doc { transition: transform .4s var(--hover-ease), box-shadow .4s ease, border-color .4s ease; }
  .doc__icon { transition: transform .4s var(--hover-ease), box-shadow .4s ease; }
  .doc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
  .doc:hover .doc__icon { transform: scale(1.08) rotate(-2deg); box-shadow: inset 0 0 0 1px var(--leaf), 0 8px 18px -8px rgb(30 58 43 / .35); }

  /* Header / footer / contact logos: a soft golden glow */
  .logo-mark, .contact-panel__logo { transition: filter .4s ease, transform .4s var(--hover-ease); }
  .brand:hover .logo-mark, .footer-brand .logo-mark:hover, .contact-panel__logo:hover {
    filter: drop-shadow(0 0 10px rgb(255 200 97 / .55)); transform: translateY(-1px);
  }
}
/* Category cards also use the scroll-reveal, whose "transform: none" outranked the
   card's tilt and hover lift. Restate them with enough specificity. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .js .cat-card.reveal.is-in {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    transition: transform .45s var(--hover-ease), box-shadow .3s ease, border-color .3s ease, opacity .5s var(--ease);
  }
  .js .cat-card.reveal.is-in:hover { --lift: -6px; }
  .js .cat-card.reveal.is-in.is-tilting { transition: transform .08s linear, box-shadow .3s ease; }
}
