﻿/* ============================================
   Sahar Bakery — design tokens
   ============================================ */
:root {
  --ink: #20242B;
  --text-body: #5F6470;
  --brand-red: #A52222;
  --brand-gold: #D6A23A;
  --brand-orange: #D88A19;
  --brand-brown: #7A3D21;
  --white: #FFFFFF;

  --font-display: 'Peyda', 'IRANYekanX', 'Vazirmatn', sans-serif;
  --font-body: 'Peyda', 'IRANYekanX', 'Vazirmatn', sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: auto;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.typewriter {
  display: inline-flex;
  align-items: center;
  min-height: 1.5em;
}
.typewriter::after {
  content: "";
  width: 1px;
  height: 1em;
  margin-inline-start: 6px;
  background: currentColor;
  opacity: 0;
}
.typewriter.is-typing::after {
  opacity: 0.78;
  animation: type-caret 0.72s steps(1, end) infinite;
}
@keyframes type-caret {
  50% { opacity: 0; }
}

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

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

/* ============================================
   Loader
   ============================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,208,138,0.24), transparent 28%),
    radial-gradient(circle at 84% 78%, rgba(130,65,34,0.2), transparent 34%),
    linear-gradient(135deg, #fff8ec 0%, #f5e2c8 44%, #7a3d21 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
}
#loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
  opacity: 0.42;
}
#loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.04));
  pointer-events: none;
}
#loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}
.loader-shell {
  position: relative;
  z-index: 1;
  width: min(390px, 88vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px 30px 28px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 30px;
  background: rgba(255,255,255,0.28);
  box-shadow: 0 28px 90px rgba(36,20,7,0.2), inset 0 1px 0 rgba(255,255,255,0.72);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  overflow: hidden;
}
.loader-shell::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  border: 1px solid rgba(255,255,255,0.34);
  pointer-events: none;
}
.loader-shell::after {
  content: "";
  position: absolute;
  inset: auto 15% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241,146,0,0.58), transparent);
  pointer-events: none;
}
.loader-mark {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.52);
  border-top-color: var(--brand-orange);
  border-right-color: rgba(130,65,34,0.34);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.18), inset 0 0 18px rgba(255,255,255,0.28);
  animation: loader-spin 1.05s linear infinite;
}
.loader-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 12px 28px rgba(36,20,7,0.16);
}
.loader-copy { text-align: center; }
.loader-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.28rem;
  color: var(--brand-brown);
  text-shadow: 0 1px 0 rgba(255,255,255,0.58);
}
.loader-line {
  display: block;
  margin-top: 7px;
  font-size: 0.84rem;
  font-weight: 650;
  color: rgba(72,38,20,0.68);
}
#loader-bar {
  width: 100%;
  height: 6px;
  padding: 1px;
  background: rgba(255,255,255,0.46);
  border: 1px solid rgba(255,255,255,0.44);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}
#loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-brown), var(--brand-orange), #ffd08a);
  border-radius: inherit;
  transition: width 0.18s ease;
  box-shadow: 0 0 18px rgba(241,146,0,0.34);
}
#loader-percent {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  color: rgba(72,38,20,0.56);
}
@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   Fixed glass header   ============================================ */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 200;
  width: min(520px, calc(100vw - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.language-switcher {
  position: relative;
  z-index: 4;
  width: 44px;
  height: 44px;
  justify-self: start;
  direction: ltr;
  pointer-events: auto;
}
.language-trigger {
  appearance: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.46);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
  font: inherit;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.22s ease;
}
.language-trigger:hover {
  background: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 8px 22px rgba(44,24,12,0.12);
}
.language-trigger:active { transform: scale(0.98); }
.language-trigger:focus-visible,
.language-option:focus-visible {
  outline: 2px solid rgba(214,162,58,0.9);
  outline-offset: 2px;
}
.language-current,
.language-current-short {
  overflow: hidden;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-current-short { display: none; }
.language-globe {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: 0.76;
}
.language-globe::before,
.language-globe::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}
.language-globe::before {
  width: 6px;
  height: 14px;
  border-right: 1px solid currentColor;
  border-left: 1px solid currentColor;
  border-radius: 50%;
}
.language-globe::after {
  width: 14px;
  height: 1px;
  background: currentColor;
}
.language-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.24s ease;
}
.language-switcher.is-open .language-chevron { transform: translateY(2px) rotate(225deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 168px;
  padding: 6px;
  border: 1px solid rgba(130,65,34,0.18);
  border-radius: 16px;
  background: rgba(255,251,245,0.9);
  box-shadow: 0 22px 54px rgba(44,24,12,0.2), inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-7px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.24s cubic-bezier(.22,1,.36,1);
}
.language-switcher.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.language-option {
  appearance: none;
  width: 100%;
  min-height: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.language-option[data-lang="fa"] span,
.language-option[data-lang="ar"] span { direction: rtl; text-align: right; }
.language-option[data-lang="en"] span { direction: ltr; text-align: right; }
.language-option:hover { background: rgba(214,162,58,0.1); }
.language-option.is-active {
  color: var(--brand-brown);
  background: rgba(214,162,58,0.12);
}
.language-option i {
  width: 7px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0;
  transform: translateY(-1px) rotate(45deg);
}
.language-option.is-active i { opacity: 1; }
.site-header.is-solid .language-trigger,
.site-header.is-solid .language-menu {
  background: rgba(255,250,242,0.82);
  border-color: rgba(130,65,34,0.2);
}
.nav-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 7px 10px;
  direction: ltr;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  box-shadow: 0 18px 60px rgba(36,20,7,0.16), inset 0 1px 0 rgba(255,255,255,0.52);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  pointer-events: auto;
}
.nav-burger {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.46);
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
}
.nav-logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: rtl;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.98rem;
  color: var(--white);
  transition: color 0.45s ease, text-shadow 0.45s ease;
  text-shadow: 0 8px 24px rgba(36,20,7,0.22);
}
.nav-logo img { width: 38px; height: 38px; border-radius: 50%; }
.nav-burger {
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}
.nav-burger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-header.nav-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-links {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: grid;
  gap: 6px;
  padding: 10px;
  direction: rtl;
  border: 1px solid rgba(255,255,255,0.44);
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 22px 70px rgba(36,20,7,0.18);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.site-header.nav-open .nav-links {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}
.nav-links a {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}
.nav-links a::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 10px;
  width: 6px;
  border-radius: 999px;
  background: var(--brand-orange);
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.nav-links a:hover {
  background: rgba(241,146,0,0.13);
  color: var(--brand-brown);
  transform: translateX(-3px);
}
.nav-links a:hover::before { opacity: 1; transform: scaleY(1); }
.site-header.is-solid .nav-inner {
  background: rgba(255,255,255,0.24);
  border-color: rgba(255,255,255,0.44);
  box-shadow: 0 18px 60px rgba(36,20,7,0.16), inset 0 1px 0 rgba(255,255,255,0.56);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}
.site-header.is-solid .language-trigger,
.site-header.is-solid .nav-burger {
  background: rgba(255,255,255,0.34);
  border-color: rgba(255,255,255,0.46);
}
.site-header.is-on-light .nav-logo {
  color: var(--brand-brown);
  text-shadow: none;
}

/* ============================================
   Hero — standalone 100vh
   ============================================ */
.hero-standalone {
  position: relative;
  height: 1500vh;
  background: transparent;
  z-index: 1;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--brand-brown);
  margin-bottom: 14px;
}

/* ============================================
   Canvas + overlay + marquee (fixed layers)
   ============================================ */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.canvas-wrap.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* ============================================
   Scroll container + content sections
   ============================================ */
#scroll-container {
  position: relative;
  z-index: 40;
  min-height: 100vh;
  padding: 120px 5vw 110px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 88px;
}
.scroll-section {
  position: relative;
  left: auto;
  right: auto;
  min-height: 74vh;
  display: flex;
  align-items: center;
  transform: none;
}
.section-content .section-inner {
  width: min(1120px, 100%);
  max-width: none;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.section-content.align-right { justify-content: flex-end; }
.section-content.align-left  { justify-content: flex-start; }

.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
  margin: 0 0 18px;
  color: var(--ink);
}
.section-body {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.9;
  color: var(--text-body);
  margin: 0;
}
/* Stats section */
.section-stats {
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72vh;
}
.stats-grid {
  width: min(1100px, 90vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: stretch;
  text-align: center;
}
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: var(--ink);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-orange);
  margin-top: 6px;
}
.stat-label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
}

/* Shared section action */
.section-action {
  position: relative;
  isolation: isolate;
  width: fit-content;
  min-width: 190px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  margin-top: 28px;
  padding: 11px 12px 11px 18px;
  border-radius: 8px;
  border: 1px solid rgba(241,146,0,0.34);
  background: linear-gradient(135deg, var(--brand-orange), #b95f12 48%, var(--brand-brown));
  color: var(--white);
  box-shadow: 0 14px 34px rgba(130,65,34,0.2), inset 0 1px 0 rgba(255,255,255,0.26);
  transform: translateZ(0);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}
.section-action::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -2;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 42%);
}
.section-action::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  right: -35%;
  z-index: -1;
  width: 34%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.36), transparent);
  transition: right 0.55s ease;
}
.section-action span {
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 1.2;
}
.section-action i {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.24);
  font-style: normal;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.32s ease, background 0.32s ease;
}
.section-action i::before,
.section-action i::after {
  content: "";
  position: absolute;
  display: block;
  color: currentColor;
}
.section-action i::before {
  width: 10px;
  height: 10px;
  border-top: 1.7px solid currentColor;
  border-right: 1.7px solid currentColor;
  transform: translate(2px, -2px);
}
.section-action i::after {
  width: 14px;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-45deg);
}
.section-action:hover {
  transform: translateY(-4px);
  border-color: rgba(255,208,138,0.72);
  box-shadow: 0 24px 58px rgba(130,65,34,0.28), inset 0 1px 0 rgba(255,255,255,0.34);
}
.section-action:hover::after { right: 112%; }
.section-action:hover i {
  transform: translate(2px, -2px);
  background: rgba(255,255,255,0.28);
}
.section-action:focus-visible {
  outline: 2px solid rgba(214,162,58,0.92);
  outline-offset: 4px;
}

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 768px) {
  .site-header {
    top: 12px;
    width: min(430px, calc(100vw - 24px));
  }
  .nav-inner { min-height: 54px; padding: 6px 8px; }
  .language-switcher,
  .language-trigger,
  .nav-burger { width: 40px; height: 40px; }
  .nav-logo span { display: none; }
  .nav-logo img { width: 36px; height: 36px; }
  .nav-links { border-radius: 22px; padding: 8px; }
  .nav-links a { padding: 11px 14px; }

  .hero-standalone { height: 1200vh; }
  #scroll-container { padding: 96px 6vw 80px; gap: 54px; }
  .scroll-section { min-height: auto; padding: 30px 0; }
  .section-content.align-right,
  .section-content.align-left { justify-content: center; }
  .section-content .section-inner {
    max-width: 100%;
    text-align: right;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
/* Intro canvas */
#intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}


/* Motion section */
.motion-section {
  position: relative;
  z-index: 35;
  min-height: 78vh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(92px, 10vh, 126px) 6vw clamp(104px, 12vh, 142px);
  background:
    linear-gradient(118deg, rgba(214,162,58,0.1), transparent 30%),
    linear-gradient(300deg, rgba(158,72,31,0.18), transparent 34%),
    linear-gradient(145deg, #170b05 0%, #32170a 44%, #1f0e06 72%, #0d0603 100%);
}
.motion-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,238,208,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,238,208,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, transparent 2%, black 24%, black 76%, transparent 100%);
  pointer-events: none;
}
.motion-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(231,177,77,0.04) 36%, transparent 58%),
    radial-gradient(ellipse at 50% 46%, rgba(208,133,43,0.13), transparent 48%);
  pointer-events: none;
}
.motion-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.motion-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f3c878;
  box-shadow: 0 0 12px rgba(243,200,120,0.56);
  opacity: 0.24;
  animation: motion-particle-drift 8s ease-in-out infinite;
}
.motion-particles span:nth-child(1) { top: 18%; left: 14%; animation-delay: -2s; }
.motion-particles span:nth-child(2) { top: 34%; right: 12%; animation-delay: -5s; }
.motion-particles span:nth-child(3) { top: 70%; left: 22%; animation-delay: -3.5s; }
.motion-particles span:nth-child(4) { top: 77%; right: 21%; animation-delay: -6.5s; }
.motion-particles span:nth-child(5) { top: 48%; left: 8%; animation-delay: -1s; }
.motion-particles span:nth-child(6) { top: 14%; right: 32%; animation-delay: -4s; }
@keyframes motion-particle-drift {
  0%, 100% { transform: translate3d(0, 6px, 0); opacity: 0.16; }
  50% { transform: translate3d(5px, -10px, 0); opacity: 0.42; }
}
.motion-copy {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
  text-align: center;
  color: var(--white);
}
.motion-copy::after {
  content: "";
  display: block;
  width: min(330px, 48vw);
  height: 1px;
  margin: 38px auto 0;
  background: linear-gradient(90deg, transparent, rgba(247,198,104,0.92), transparent);
  box-shadow: 0 0 16px rgba(214,162,58,0.3);
  transform: scaleX(0.62);
  opacity: 0.68;
  transition: transform 0.8s cubic-bezier(.22,1,.36,1), opacity 0.5s ease;
}
.motion-section.is-revealed .motion-copy::after { transform: scaleX(1); opacity: 1; }
.motion-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: rgba(255,241,217,0.68);
  font-size: clamp(0.78rem, 1.1vw, 0.94rem);
  font-weight: 800;
}
.motion-eyebrow::before,
.motion-eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  margin-inline: 12px;
  background: linear-gradient(90deg, transparent, rgba(239,188,91,0.78));
}
.motion-eyebrow::after { transform: scaleX(-1); }
.motion-title {
  direction: ltr;
  unicode-bidi: isolate;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.2vw, 6.7rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  filter: drop-shadow(0 22px 50px rgba(0,0,0,0.28));
}
.motion-title-sahar {
  color: #fff1d7;
  -webkit-text-fill-color: #fff1d7;
}
.motion-title-bakery {
  color: transparent;
  background: linear-gradient(100deg, #e9ac36 0%, #ffd78a 35%, #c36b2d 62%, #e9ac36 100%);
  background-size: 220% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bakery-title-sheen 6.5s ease-in-out infinite;
}
@keyframes bakery-title-sheen {
  0%, 22%, 100% { background-position: 100% 50%; }
  48%, 62% { background-position: 0 50%; }
}
.sahar-signature {
  width: min(330px, 76vw);
  margin: clamp(32px, 3vw, 44px) auto 0;
  display: grid;
  place-items: center;
  color: #f3c878;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 900;
}
.sahar-signature span {
  position: relative;
  display: inline-block;
}
.sahar-signature span::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -12px;
  width: 146%;
  height: 12px;
  border-bottom: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translateX(50%) rotate(-2deg) scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.9s cubic-bezier(.22,1,.36,1) 0.2s, opacity 0.35s ease 0.2s;
}
.motion-section.is-revealed .sahar-signature span::after {
  transform: translateX(50%) rotate(-2deg) scaleX(1);
  opacity: 0.9;
}
.motion-copy > p {
  margin: 28px auto 0;
  max-width: 620px;
  color: rgba(255,244,226,0.75);
  font-size: clamp(0.98rem, 1.35vw, 1.14rem);
  line-height: 2;
}
.signature-grid {
  width: min(940px, 100%);
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  perspective: 900px;
}
.signature-item {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  min-width: 0;
  min-height: 166px;
  overflow: hidden;
  appearance: none;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 22px 20px 18px;
  border: 1px solid rgba(255,236,204,0.17);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.035)),
    rgba(69,30,11,0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -18px 32px rgba(0,0,0,0.08), 0 18px 48px rgba(0,0,0,0.16);
  backdrop-filter: blur(13px) saturate(125%);
  -webkit-backdrop-filter: blur(13px) saturate(125%);
  color: inherit;
  font: inherit;
  text-align: right;
  cursor: pointer;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0) scale(1);
  transform-style: preserve-3d;
  transition: transform 0.26s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}
.signature-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(245,192,93,0.23), transparent 42%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.signature-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f1bc59, #a95125, transparent);
  transform: translateX(72%);
  opacity: 0.58;
  transition: transform 0.7s cubic-bezier(.22,1,.36,1), opacity 0.3s ease;
}
.signature-item > * { position: relative; z-index: 1; }
.signature-item-copy { display: block; min-width: 0; }
.signature-item-copy strong,
.signature-item-copy span,
.signature-item-copy small { display: block; }
.signature-item-copy strong {
  margin-bottom: 7px;
  color: #fff2dc;
  font-size: 1.05rem;
  font-weight: 900;
}
.signature-item-copy span {
  color: rgba(255,239,216,0.74);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.75;
}
.signature-item-copy small {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255,244,226,0.62);
  font-size: 0.78rem;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(6px);
  transition: max-height 0.38s ease, margin-top 0.38s ease, opacity 0.28s ease, transform 0.38s ease;
}
.signature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243,200,120,0.28);
  border-radius: 7px;
  color: #f3c878;
  box-shadow: inset 0 0 18px rgba(214,162,58,0.08);
}
.signature-icon::before,
.signature-icon::after,
.signature-icon i {
  content: "";
  display: block;
  position: absolute;
}
.signature-icon--production::before {
  width: 20px;
  height: 14px;
  bottom: 10px;
  border: 1.5px solid currentColor;
  border-top: 0;
}
.signature-icon--production::after {
  width: 4px;
  height: 12px;
  top: 10px;
  right: 11px;
  border: 1.5px solid currentColor;
  box-shadow: 8px 4px 0 -1.5px transparent, 8px 4px 0 0 currentColor;
}
.signature-icon--technology::before {
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(243,200,120,0.08);
}
.signature-icon--technology::after {
  width: 24px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 -8px 0 -0.25px currentColor, 0 8px 0 -0.25px currentColor;
}
.signature-icon--education::before {
  width: 22px;
  height: 16px;
  bottom: 10px;
  border: 1.5px solid currentColor;
  border-radius: 2px 2px 7px 2px;
  transform: perspective(30px) rotateY(-8deg);
}
.signature-icon--education::after {
  width: 1.5px;
  height: 18px;
  background: currentColor;
}
.signature-grid.has-active .signature-item:not(.is-active) { opacity: 0.7; }
.signature-item.is-active,
.signature-item:hover,
.signature-item:focus-visible {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-5px) scale(1.018);
  border-color: rgba(243,200,120,0.46);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05)),
    rgba(78,34,12,0.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 24px 54px rgba(0,0,0,0.2), 0 0 34px rgba(214,162,58,0.07);
}
.signature-item.is-active::before,
.signature-item:hover::before,
.signature-item:focus-visible::before { opacity: 1; }
.signature-item.is-active::after,
.signature-item:hover::after,
.signature-item:focus-visible::after { transform: translateX(-8%); opacity: 1; }
.signature-item.is-active .signature-item-copy small,
.signature-item:hover .signature-item-copy small,
.signature-item:focus-visible .signature-item-copy small {
  max-height: 62px;
  margin-top: 8px;
  opacity: 1;
  transform: translateY(0);
}
.motion-bridge {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  width: min(360px, 48vw);
  height: 72px;
  transform: translateX(-50%);
  pointer-events: none;
}
.motion-bridge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,187,88,0.84), transparent);
}
.motion-bridge span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, #efba57, rgba(239,186,87,0.18));
  box-shadow: 0 0 14px rgba(239,186,87,0.26);
}

/* Ecosystem overview */
.ecosystem-section {
  --map-x: 0px;
  --map-y: 0px;
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  z-index: 36;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(104px, 11vh, 136px) 5vw clamp(82px, 9vh, 110px);
  background:
    linear-gradient(120deg, rgba(214,162,58,0.1), transparent 34%),
    linear-gradient(305deg, rgba(165,34,34,0.045), transparent 38%),
    linear-gradient(180deg, #fff9ef 0%, #fff 52%, #fbf5e9 100%);
  color: var(--ink);
}
.ecosystem-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(130,65,34,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,65,34,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, black 64%, transparent 96%);
  pointer-events: none;
}
.ecosystem-bridge {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(390px, 32vw);
  height: 78px;
  transform: translateX(-100%);
  pointer-events: none;
}
.ecosystem-bridge::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(181,111,39,0.62), rgba(181,111,39,0.24));
}
.ecosystem-bridge span {
  position: absolute;
  top: 47px;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181,111,39,0.5));
}
.ecosystem-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, 0.84fr) minmax(500px, 1.16fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}
.ecosystem-copy { position: relative; z-index: 3; min-width: 0; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--brand-red);
  font-size: 0.82rem;
  font-weight: 900;
}
.section-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-red));
}
.ecosystem-type-title {
  min-height: 3.45em;
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4.35rem);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: 0;
}
.ecosystem-type-text .type-accent {
  color: transparent;
  background: linear-gradient(100deg, #8a4322, #d0922f 54%, #a52222);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ecosystem-type-caret {
  display: inline-block;
  width: 2px;
  height: 0.88em;
  margin-inline-start: 7px;
  vertical-align: -0.08em;
  background: linear-gradient(180deg, var(--brand-gold), var(--brand-red));
  opacity: 0;
}
.ecosystem-type-title.is-typing .ecosystem-type-caret {
  opacity: 1;
  animation: ecosystem-caret 0.72s steps(1, end) infinite;
}
@keyframes ecosystem-caret { 50% { opacity: 0.16; } }
.ecosystem-detail {
  position: relative;
  min-height: 178px;
  margin-top: 24px;
  padding: 5px 20px 4px 0;
  border-right: 2px solid rgba(191,125,41,0.38);
  transition: opacity 0.22s ease, filter 0.22s ease, transform 0.3s ease;
}
.ecosystem-detail.is-changing {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(8px);
}
.ecosystem-detail strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-brown);
  font-size: 1rem;
  font-weight: 950;
}
.ecosystem-detail p {
  margin: 0;
  max-width: 56ch;
  color: var(--text-body);
  font-size: clamp(0.94rem, 1.25vw, 1.08rem);
  line-height: 1.95;
}
.ecosystem-detail a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(165,34,34,0.32);
  color: var(--brand-red);
  font-size: 0.86rem;
  font-weight: 900;
  transition: gap 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.ecosystem-detail a::after { content: "←"; font-size: 1rem; }
.ecosystem-detail a:hover,
.ecosystem-detail a:focus-visible { gap: 15px; color: var(--brand-brown); border-color: var(--brand-gold); }
.ecosystem-map {
  position: relative;
  min-height: 500px;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  border: 1px solid rgba(130,65,34,0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(214,162,58,0.12), transparent 29%),
    linear-gradient(145deg, rgba(255,255,255,0.82), rgba(250,239,220,0.54));
  box-shadow: 0 30px 82px rgba(72,38,13,0.12), inset 0 1px 0 rgba(255,255,255,0.92), inset 0 -28px 70px rgba(130,65,34,0.035);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}
.ecosystem-map::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(130,65,34,0.07);
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 49.88%, rgba(130,65,34,0.055) 50%, transparent 50.12%),
    linear-gradient(0deg, transparent 49.88%, rgba(130,65,34,0.055) 50%, transparent 50.12%);
  pointer-events: none;
}
.ecosystem-stage {
  position: absolute;
  inset: 0;
  transform: translate3d(var(--map-x), var(--map-y), 0);
  transition: transform 0.3s ease-out;
}
.ecosystem-orbits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.ecosystem-orbits ellipse {
  fill: none;
  stroke: rgba(130,65,34,0.17);
  stroke-width: 1.2;
  stroke-dasharray: 3 8;
  transform-origin: center;
  animation: ecosystem-orbit-flow 26s linear infinite;
}
.ecosystem-orbits ellipse:nth-child(2) { animation-direction: reverse; animation-duration: 34s; }
.ecosystem-orbits path {
  fill: none;
  stroke: rgba(174,112,36,0.14);
  stroke-width: 1.25;
  stroke-dasharray: 4 7;
  transition: stroke 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}
.ecosystem-orbits path.is-active {
  stroke: rgba(190,119,35,0.86);
  stroke-width: 2.2;
  stroke-dasharray: 8 7;
  filter: drop-shadow(0 0 4px rgba(214,162,58,0.55));
  animation: ecosystem-energy-flow 1.15s linear infinite;
}
@keyframes ecosystem-orbit-flow { to { stroke-dashoffset: -110; } }
@keyframes ecosystem-energy-flow { to { stroke-dashoffset: -30; } }
.ecosystem-core,
.ecosystem-node {
  appearance: none;
  position: absolute;
  z-index: 3;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.ecosystem-core {
  top: 50%;
  left: 50%;
  width: 158px;
  height: 158px;
  display: grid;
  place-content: center;
  gap: 3px;
  padding: 18px;
  border: 1px solid rgba(255,223,169,0.3);
  border-radius: 50%;
  background: linear-gradient(145deg, #9e4926 0%, #6f321b 52%, #3c1a0d 100%);
  box-shadow: 0 26px 62px rgba(78,35,13,0.3), 0 0 0 9px rgba(214,162,58,0.09), 0 0 42px rgba(214,162,58,0.18), inset 0 1px 0 rgba(255,226,176,0.24);
  color: rgba(255,245,227,0.76);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.ecosystem-core span {
  display: block;
  color: #fff5e3;
  font-size: 1.05rem;
  font-weight: 950;
}
.ecosystem-core .ecosystem-core-label {
  color: rgba(255,245,227,0.82);
  font-size: 0.82rem;
  font-weight: 800;
}
.ecosystem-core::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(200,137,50,0.28);
  border-radius: 50%;
  animation: ecosystem-core-pulse 3.8s ease-in-out infinite;
}
@keyframes ecosystem-core-pulse {
  0%, 100% { transform: scale(0.98); opacity: 0.45; }
  50% { transform: scale(1.04); opacity: 0.8; }
}
.ecosystem-core:hover,
.ecosystem-core:focus-visible { transform: translate(-50%, -50%) scale(1.035); box-shadow: 0 30px 72px rgba(78,35,13,0.34), 0 0 0 10px rgba(214,162,58,0.12), 0 0 48px rgba(214,162,58,0.23); }
.ecosystem-node {
  --node-x: 50%;
  --node-y: 50%;
  top: var(--node-y);
  left: var(--node-x);
  min-width: 126px;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(130,65,34,0.13);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.84), rgba(255,248,236,0.6));
  box-shadow: 0 14px 34px rgba(62,32,10,0.1), inset 0 1px 0 rgba(255,255,255,0.94);
  color: var(--brand-brown);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.45;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.28s ease, opacity 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.ecosystem-node::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(214,162,58,0.11), 0 0 12px rgba(214,162,58,0.3);
}
.ecosystem-node--1 { --node-x: 50%; --node-y: 12%; }
.ecosystem-node--2 { --node-x: 83.5%; --node-y: 27%; }
.ecosystem-node--3 { --node-x: 83.5%; --node-y: 73%; }
.ecosystem-node--4 { --node-x: 50%; --node-y: 88%; }
.ecosystem-node--5 { --node-x: 16.5%; --node-y: 73%; }
.ecosystem-node--6 { --node-x: 16.5%; --node-y: 27%; }
.ecosystem-map.has-active .ecosystem-node:not(.is-active) { opacity: 0.52; }
.ecosystem-node.is-active,
.ecosystem-node:hover,
.ecosystem-node:focus-visible {
  z-index: 5;
  transform: translate(-50%, -50%) scale(1.08);
  border-color: rgba(184,116,34,0.42);
  background: rgba(255,252,246,0.96);
  box-shadow: 0 20px 42px rgba(82,41,13,0.16), 0 0 28px rgba(214,162,58,0.12), inset 0 1px 0 #fff;
}
.ecosystem-node.is-active::before,
.ecosystem-node:hover::before,
.ecosystem-node:focus-visible::before { background: var(--brand-red); box-shadow: 0 0 0 5px rgba(165,34,34,0.1), 0 0 16px rgba(165,34,34,0.24); }

@media (hover: none), (pointer: coarse) {
  .signature-item { transform: none; }
  .signature-item.is-active { transform: translateY(-3px) scale(1.01); }
}

@media (prefers-reduced-motion: reduce) {
  .motion-particles { display: none; }
  .motion-title-bakery,
  .ecosystem-orbits ellipse,
  .ecosystem-orbits path,
  .ecosystem-core::before { animation: none !important; }
  .ecosystem-stage { transform: none !important; }
}
/* Subsidiaries */
.subsidiaries-section {
  position: relative;
  z-index: 37;
  padding: 74px 5vw 84px;
  background: linear-gradient(180deg, #FBF6EC 0%, #FFFFFF 50%, #FFF8ED 100%);
  overflow: hidden;
}
.subsidiaries-section::before {
  content: "";
  position: absolute;
  inset: 44px 6vw auto auto;
  width: min(34vw, 420px);
  height: 220px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(214,162,58,0.2), rgba(165,34,34,0.08), transparent);
  filter: blur(18px);
  pointer-events: none;
}
.subsidiaries-inner {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
}
.subsidiaries-heading {
  margin-bottom: 26px;
  text-align: right;
  direction: rtl;
}
.subsidiaries-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 950;
}
.subsidiaries-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  direction: rtl;
  align-items: stretch;
}
.company-card {
  position: relative;
  min-height: 310px;
  display: grid;
  grid-template-rows: 132px 1fr;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.56);
  background: rgba(255,255,255,0.46);
  box-shadow: 0 20px 52px rgba(36,20,7,0.1), inset 0 1px 0 rgba(255,255,255,0.78);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  transform: translateY(0);
}
.company-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(214,162,58,0.18), transparent 40%, rgba(165,34,34,0.08));
  opacity: 0;
  transition: opacity 0.32s ease;
}
.company-card .subsidiary-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 4px 8px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.company-card img {
  max-height: 116px;
  width: min(150px, 100%);
  object-fit: contain;
  transition: transform 0.32s ease;
}
.company-card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.company-card-copy span {
  color: var(--brand-brown);
  font-size: 1rem;
  font-weight: 950;
}
.company-card-copy p {
  margin: 10px 0 14px;
  color: var(--text-body);
  font-size: 0.84rem;
  line-height: 1.85;
}
.company-card-copy strong {
  margin-top: auto;
  color: var(--brand-red);
  font-size: 0.76rem;
  font-weight: 900;
}
.company-card-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 64px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(130,65,34,0.16);
  color: var(--brand-brown);
  background: rgba(255,255,255,0.52);
  font-size: 0.78rem;
  font-weight: 900;
  transition: transform 0.24s ease, color 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.company-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  direction: rtl;
}
.company-card-actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(130,65,34,0.34);
  background: rgba(255,255,255,0.82);
}
.company-card-actions a:focus-visible {
  outline: 2px solid rgba(214,162,58,0.88);
  outline-offset: 3px;
}
.company-card-actions .company-products-link {
  color: #fff8ec;
  border-color: rgba(130,65,34,0.36);
  background: linear-gradient(135deg, #824122, #a64f27);
  box-shadow: 0 8px 20px rgba(130,65,34,0.18);
}
.company-card-actions .company-products-link:hover {
  color: #fff;
  border-color: rgba(165,34,34,0.42);
  background: linear-gradient(135deg, #a52222, #824122);
  box-shadow: 0 11px 24px rgba(130,65,34,0.24);
}
.company-card:hover {
  transform: translateY(-8px);
  border-color: rgba(214,162,58,0.46);
  box-shadow: 0 30px 72px rgba(130,65,34,0.17), inset 0 1px 0 rgba(255,255,255,0.92);
}
.company-card:hover::before { opacity: 1; }
.company-card:hover img { transform: scale(1.12); }
/* Timeline and values */
.timeline-section,
.values-section {
  justify-content: center;
}
.timeline-section {
  min-height: calc(100vh + var(--timeline-scroll, 2520px));
  align-items: flex-start;
  z-index: 3;
  background: transparent;
  margin-top: -88px;
  padding-top: 0;
  padding-bottom: 0;
}
@media (min-width: 769px) {
  #about { min-height: auto; }
}
.timeline-section .section-inner,
.values-section .section-inner {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.timeline-section .section-inner {
  position: sticky;
  top: 112px;
  min-height: calc(100vh - 112px);
  align-items: center;
}
.timeline-head .section-heading { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }
.timeline-track {
  position: relative;
  display: grid;
  gap: 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-red), var(--brand-gold), transparent);
}
.timeline-track article {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  padding-right: 60px;
  border: 1px solid rgba(130,65,34,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.64);
  box-shadow: 0 14px 38px rgba(36,20,7,0.06);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, background 0.32s ease;
  transform-origin: center right;
}
.timeline-track article::before {
  content: "";
  position: absolute;
  right: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 6px rgba(214,162,58,0.16);
}
.timeline-track time {
  color: var(--brand-red);
  font-weight: 950;
  font-size: 1.06rem;
  transition: transform 0.32s ease, color 0.32s ease;
}
.timeline-track span {
  color: var(--text-body);
  line-height: 1.8;
  transition: color 0.32s ease, font-weight 0.32s ease;
}
.timeline-track article.is-active {
  z-index: 3;
  transform: translateX(-16px) scale(1.09);
  border-color: rgba(214,162,58,0.5);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 30px 72px rgba(130,65,34,0.2), inset 0 1px 0 rgba(255,255,255,0.94);
}
.timeline-track article.is-active::before {
  background: var(--brand-red);
  box-shadow: 0 0 0 8px rgba(165,34,34,0.14), 0 0 28px rgba(165,34,34,0.22);
}
.timeline-track article.is-active time {
  color: var(--brand-brown);
  transform: scale(1.12);
}
.timeline-track article.is-active span {
  color: var(--ink);
  font-weight: 850;
}
.values-section {
  min-height: 82vh;
  width: 100%;
  margin-inline: 0;
  padding: clamp(76px, 9vh, 112px) 0;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(130,65,34,0.08);
  border-bottom: 1px solid rgba(130,65,34,0.08);
  background: linear-gradient(135deg, #fffdf9 0%, #fbf6ec 48%, #fff 100%);
}
.scroll-section.values-section::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(rgba(130,65,34,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,65,34,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: none;
  opacity: 0.58;
}
.values-section .section-inner {
  position: relative;
  z-index: 1;
  align-items: center;
}
.values-head {
  position: relative;
  padding: 22px 24px 22px 0;
  border-right: 2px solid rgba(214,162,58,0.48);
}
.values-head .section-label {
  margin-bottom: 20px;
  color: var(--brand-red);
}
.values-kicker {
  display: flex;
  width: max-content;
  min-width: 190px;
  margin-bottom: 12px;
  color: var(--brand-brown);
  font-size: 0.86rem;
  font-weight: 900;
}
.values-head .section-heading {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.22;
}
.values-head .section-heading > span {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--brand-brown);
}
.values-head .section-heading > span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  width: 46%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-gold));
}
.values-heading-prefix {
  color: inherit;
  font: inherit;
}
.values-intro {
  max-width: 38ch;
  margin: 0;
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.95;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  direction: rtl;
  border: 1px solid rgba(130,65,34,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.56);
  box-shadow: 0 28px 72px rgba(36,20,7,0.1), inset 0 1px 0 rgba(255,255,255,0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.values-grid article {
  position: relative;
  min-height: 174px;
  padding: 24px;
  border-left: 1px solid rgba(130,65,34,0.1);
  border-bottom: 1px solid rgba(130,65,34,0.1);
  background: transparent;
  transform: translateY(0) scale(1);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.values-grid article:nth-child(3n) { border-left: 0; }
.values-grid article:nth-child(n + 4) { border-bottom: 0; }
.values-grid article::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 0;
  width: calc(100% - 48px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.values-grid article:hover {
  z-index: 2;
  transform: translateY(-6px) scale(1.035);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 24px 58px rgba(130,65,34,0.15);
}
.values-grid article:hover::after { transform: scaleX(1); }
.value-index {
  display: block;
  margin-bottom: 22px;
  color: rgba(165,34,34,0.58);
  font-size: 0.76rem;
  font-weight: 900;
  transition: color 0.3s ease, transform 0.3s ease;
}
.values-grid article:hover .value-index {
  color: var(--brand-red);
  transform: translateX(-4px);
}
.values-grid article strong {
  display: block;
  color: var(--brand-brown);
  font-size: 1.08rem;
  font-weight: 950;
}
.values-grid article p {
  margin: 10px 0 0;
  color: var(--text-body);
  line-height: 1.8;
  font-size: 0.9rem;
}
/* Content media */
.section-copy { position: relative; z-index: 1; }
.section-photo {
  position: relative;
  order: 2;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(36,20,7,0.14);
  isolation: isolate;
  clip-path: inset(0 0 0 0 round 8px);
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: clip-path 0.9s cubic-bezier(.22,1,.36,1), opacity 0.7s ease, transform 0.9s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease;
}
.section-photo.is-reveal-ready {
  clip-path: inset(8% 0 8% 0 round 8px);
  transform: translateY(18px) scale(0.985);
}
.section-photo.is-reveal-ready.is-revealed {
  clip-path: inset(0 0 0 0 round 8px);
  transform: translateY(0) scale(1);
}
.section-photo.is-reveal-ready.is-revealed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
  transform: translateX(120%) skewX(-12deg);
  animation: photo-sheen 1.05s ease 0.12s both;
  pointer-events: none;
}
.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.44);
  border-radius: inherit;
  pointer-events: none;
}
.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.75s ease, filter 0.75s ease;
}
.scroll-section:hover .section-photo {
  box-shadow: 0 28px 68px rgba(36,20,7,0.18);
}
.scroll-section:hover .section-photo img { transform: scale(1.1); filter: saturate(1.08) contrast(1.04); }
.section-content.align-left .section-photo { order: 2; }
.section-content.align-left .section-copy { order: 1; }
@keyframes photo-sheen {
  from { transform: translateX(120%) skewX(-12deg); }
  to { transform: translateX(-130%) skewX(-12deg); }
}
.scroll-section::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(241,146,0,0.18);
  border-radius: 50%;
  transform: translateY(-30px);
  opacity: 0.55;
  pointer-events: none;
}
.section-content.align-right::before { right: 8vw; }
.section-content.align-left::before { left: 8vw; }
.stat {
  min-height: 188px;
  padding: 28px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(241,146,0,0.12), rgba(130,65,34,0.06));
  border: 1px solid rgba(130,65,34,0.08);
  box-shadow: 0 12px 34px rgba(36,20,7,0.06);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.stat:hover {
  transform: translateY(-8px) scale(1.035);
  border-color: rgba(214,162,58,0.42);
  box-shadow: 0 24px 54px rgba(36,20,7,0.14);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 45;
  overflow: hidden;
  color: var(--white);
  padding: 82px 5vw 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(241,146,0,0.24), transparent 30%),
    radial-gradient(circle at 84% 78%, rgba(130,65,34,0.28), transparent 34%),
    linear-gradient(135deg, #241407 0%, #351909 52%, #120804 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.3fr 0.85fr 0.95fr;
  gap: clamp(22px, 3.6vw, 48px);
  align-items: start;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  background: rgba(255,255,255,0.09);
  box-shadow: 0 28px 90px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.16);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  margin-bottom: 68px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
}
.footer-brand > strong { line-height: 1.5; }
.footer-brand img {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 18px 46px rgba(0,0,0,0.22);
}
.site-footer h3 {
  margin: 0 0 22px;
  font-size: 1.18rem;
  color: var(--white);
}
.footer-info p,
.footer-links a {
  margin: 0 0 13px;
  color: rgba(255,255,255,0.72);
  font-size: 0.96rem;
  line-height: 1.9;
}
.footer-info span { color: #ffd08a; font-weight: 800; }
.footer-plain { color: inherit; font: inherit; }
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-links a {
  position: relative;
  padding-right: 20px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-links a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.82em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 18px rgba(241,146,0,0.45);
}
.footer-links a:hover { color: #ffd08a; transform: translateX(-4px); }
.footer-legal {
  position: relative;
  z-index: 1;
  width: calc(100% + 10vw);
  min-height: 52px;
  margin-inline: -5vw;
  padding: 13px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,208,138,0.22);
  background: rgba(10,4,2,0.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.footer-legal p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.78rem;
  line-height: 1.8;
}
.footer-credit {
  margin: 0;
  color: rgba(255,255,255,0.58);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.8;
  white-space: nowrap;
}
.footer-credit a {
  color: #8fc63f;
  font-weight: 900;
  transition: color 0.22s ease, text-shadow 0.22s ease;
}
.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #b3df68;
  text-shadow: 0 0 16px rgba(143,198,63,0.36);
}

@media (max-width: 1080px) {
  .motion-section { padding-inline: 4vw; }
  .signature-item { grid-template-columns: 42px minmax(0, 1fr); padding-inline: 16px; }
  .signature-icon { width: 40px; height: 40px; }
  .ecosystem-inner {
    grid-template-columns: minmax(290px, 0.78fr) minmax(430px, 1.22fr);
    gap: 34px;
  }
  .ecosystem-map { min-height: 460px; }
  .ecosystem-node { min-width: 112px; padding-inline: 10px; font-size: 0.76rem; }
  .subsidiaries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-card { min-height: 280px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .motion-section { min-height: auto; padding: 86px 6vw 106px; }
  .motion-title { font-size: clamp(2.8rem, 12vw, 4.6rem); }
  .motion-copy > p { max-width: 34rem; }
  .signature-grid { grid-template-columns: 1fr; }
  .signature-item {
    min-height: 136px;
    grid-template-columns: 46px minmax(0, 1fr);
    backdrop-filter: blur(8px) saturate(115%);
    -webkit-backdrop-filter: blur(8px) saturate(115%);
  }
  .motion-bridge { height: 58px; }

  .ecosystem-section { padding: 92px 6vw 68px; }
  .ecosystem-inner,
  .timeline-section .section-inner,
  .values-section .section-inner {
    grid-template-columns: 1fr;
  }
  .ecosystem-inner { gap: 18px; }
  .ecosystem-copy { display: contents; }
  .ecosystem-copy .section-kicker { order: 1; margin-bottom: 0; }
  .ecosystem-type-title {
    order: 2;
    min-height: 3.35em;
    max-width: 12ch;
    font-size: clamp(2rem, 8vw, 3.25rem);
  }
  .ecosystem-detail {
    order: 4;
    min-height: 0;
    margin-top: 2px;
  }
  .ecosystem-bridge {
    left: 50%;
    width: 1px;
    height: 62px;
    transform: none;
  }
  .ecosystem-bridge::before { right: auto; left: 0; height: 62px; }
  .ecosystem-bridge span { display: none; }
  .ecosystem-map {
    order: 3;
    min-height: auto;
    aspect-ratio: auto;
    padding: 18px;
    backdrop-filter: blur(8px) saturate(112%);
    -webkit-backdrop-filter: blur(8px) saturate(112%);
  }
  .ecosystem-map::before { inset: 9px; }
  .ecosystem-stage {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    transform: none !important;
  }
  .ecosystem-orbits { display: none; }
  .ecosystem-core {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 96px;
    grid-column: 1 / -1;
    border-radius: 8px;
    transform: none;
  }
  .ecosystem-core::before { inset: 7px; border-radius: 6px; }
  .ecosystem-core:hover,
  .ecosystem-core:focus-visible { transform: translateY(-2px); }
  .ecosystem-node,
  .ecosystem-node.is-active,
  .ecosystem-node:hover,
  .ecosystem-node:focus-visible {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    min-height: 68px;
    transform: none;
  }
  .ecosystem-node.is-active,
  .ecosystem-node:focus-visible { transform: translateY(-2px) scale(1.01); }
  .timeline-section {
    min-height: auto;
    margin-top: -54px;
    padding: 42px 0 18px;
  }
  .timeline-section .section-inner {
    position: static;
    top: auto;
    min-height: auto;
  }
  .subsidiaries-section { padding: 56px 5vw 60px; }
  .subsidiaries-grid { grid-template-columns: 1fr; }
  .company-card {
    min-height: auto;
    grid-template-columns: 132px 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
  }
  .company-card .subsidiary-mark { min-height: 112px; }
  .company-card img { max-height: 104px; }

  .timeline-track article {
    grid-template-columns: 1fr;
    padding: 16px 54px 16px 16px;
    gap: 8px;
  }
  .timeline-track article.is-active {
    transform: translateX(-6px) scale(1.035);
  }
  .section-content.align-left .section-photo { order: 0; }
  .section-content.align-left .section-copy { order: 1; }
  .section-photo { aspect-ratio: 16 / 10; }

  .values-section {
    min-height: auto;
    margin-inline: 0;
    padding: 68px 0;
  }
  .values-head {
    padding: 16px 18px 16px 0;
  }
  .values-head .section-heading { max-width: 12ch; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid article,
  .values-grid article:nth-child(3n),
  .values-grid article:nth-child(n + 4) {
    min-height: 150px;
    border-left: 0;
    border-bottom: 1px solid rgba(130,65,34,0.1);
  }
  .values-grid article:last-child { border-bottom: 0; }

  .footer-inner { grid-template-columns: 1fr; text-align: right; }
  .footer-brand { align-items: center; }
  .footer-links { align-items: flex-start; }
  .footer-inner { margin-bottom: 48px; }
  .footer-legal {
    min-height: 74px;
    padding-block: 14px;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    text-align: center;
  }
  .footer-legal p { font-size: 0.72rem; }
}

@media (max-width: 520px) {
  .motion-section { padding-inline: 18px; }
  .motion-title { gap: 0.12em; font-size: clamp(2.45rem, 12.5vw, 3.2rem); }
  .motion-eyebrow::before,
  .motion-eyebrow::after { width: 22px; margin-inline: 9px; }
  .signature-item { grid-template-columns: 42px minmax(0, 1fr); padding: 18px 15px 15px; }
  .signature-icon { width: 40px; height: 40px; }
  .ecosystem-type-title { max-width: 11.5ch; font-size: clamp(1.9rem, 9vw, 2.55rem); }
  .ecosystem-detail { padding-right: 14px; }
  .ecosystem-map { padding: 14px; }
  .ecosystem-stage { gap: 8px; }
  .ecosystem-node { padding: 9px 7px; font-size: 0.74rem; }
  .company-card {
    grid-template-columns: 1fr;
  }
  .company-card .subsidiary-mark { min-height: 112px; }
}

/* Restored Sahar signature presentation */
.motion-section {
  min-height: 72vh;
  isolation: auto;
  padding: 78px 6vw;
  background:
    radial-gradient(circle at 20% 20%, rgba(241,146,0,0.24), transparent 32%),
    radial-gradient(circle at 82% 76%, rgba(130,65,34,0.26), transparent 34%),
    linear-gradient(135deg, #241407 0%, #3b1e0c 48%, #120904 100%);
}
.motion-section::before {
  z-index: auto;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
  opacity: 0.75;
}
.motion-section::after { content: none; }
.motion-copy {
  width: auto;
  max-width: 980px;
  color: var(--white);
  transition: transform 0.45s ease, filter 0.45s ease;
}
.motion-copy::after {
  width: min(260px, 38vw);
  height: 2px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, var(--brand-orange), transparent);
  box-shadow: none;
  transform: scaleX(0.72);
  opacity: 0.72;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.motion-section.is-revealed .motion-copy::after {
  transform: scaleX(0.72);
  opacity: 0.72;
}
.motion-copy span {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.74);
  font-size: clamp(0.82rem, 1.3vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.motion-copy .motion-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  direction: ltr;
}
.motion-eyebrow::before,
.motion-eyebrow::after { content: none; }
.motion-copy h2 {
  margin: 0;
  color: transparent;
  background: linear-gradient(90deg, #fff4df, #f19200 48%, #824122);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0 transparent;
  font-size: clamp(2.3rem, 7vw, 6.2rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 20px 58px rgba(0,0,0,0.24);
  transition: background 0.35s ease, -webkit-text-stroke 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}
.sahar-signature {
  width: min(320px, 72vw);
  margin: clamp(34px, 3.2vw, 46px) auto 0;
  color: #ffd08a;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  letter-spacing: 0;
}
.sahar-signature span {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.motion-section .motion-copy .sahar-signature span::after {
  bottom: -10px;
  width: 132%;
  border-bottom-width: 2px;
  transform: translateX(50%) rotate(-2deg);
  opacity: 0.86;
  transition: none;
}
.motion-copy:hover .sahar-signature span::after {
  animation: signature-pulse 1.6s ease-in-out infinite;
}
@keyframes signature-pulse {
  0%, 100% { transform: translateX(50%) rotate(-2deg) scaleX(0.96); opacity: 0.62; }
  50% { transform: translateX(50%) rotate(-2deg) scaleX(1.04); opacity: 1; }
}
.motion-copy h2:hover {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px var(--brand-orange);
  transform: translateY(-4px) scale(1.015);
  filter: drop-shadow(0 14px 28px rgba(241,146,0,0.2));
}
.motion-copy p,
.motion-copy > p {
  margin: 24px auto 0;
  max-width: 580px;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.9;
}
.motion-section:hover .motion-copy {
  transform: translateY(-6px);
  filter: drop-shadow(0 18px 38px rgba(241,146,0,0.16));
}
.signature-grid {
  width: min(860px, 100%);
  margin: 34px auto 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  perspective: none;
}
.signature-item {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: block;
  overflow: hidden;
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  text-align: center;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.signature-item::before {
  background: linear-gradient(135deg, rgba(241,146,0,0.22), transparent 48%);
}
.signature-item::after { content: none; }
.signature-item strong,
.signature-item span {
  position: relative;
  z-index: 1;
  display: block;
}
.signature-item strong {
  margin-bottom: 8px;
  color: #fff4df;
  font-size: 1rem;
}
.signature-item span {
  margin-bottom: 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.86rem;
  line-height: 1.75;
  text-transform: none;
}
.signature-item:hover {
  transform: translateY(-5px);
  border-color: rgba(241,146,0,0.5);
  background: rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.signature-item:hover::before { opacity: 1; }
.motion-section:hover .motion-copy::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Stable one-pass ecosystem title typing */
.ecosystem-type-text,
.ecosystem-type-segment { display: inline; }
.ecosystem-type-segment.is-writing {
  text-shadow: 0 0 18px rgba(180,111,37,0.2);
}
.ecosystem-type-text .type-accent.is-writing {
  filter: drop-shadow(0 0 8px rgba(214,162,58,0.2));
}

@media (max-width: 768px) {
  .motion-section { min-height: 68vh; padding: 84px 6vw; }
  .signature-grid { grid-template-columns: 1fr; }
}

/* 2026 content and media refresh */
.motion-section {
  isolation: isolate;
}
.motion-section .motion-copy {
  z-index: 2;
}
.signature-slogan {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 24px auto 0;
  color: #fff4df;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.8vw, 1.52rem);
  font-weight: 950;
  line-height: 1.7;
  text-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.signature-slogan::before,
.signature-slogan::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-inline: 12px;
  vertical-align: middle;
  background: rgba(255,208,138,0.56);
}
.signature-album {
  position: relative;
  width: min(780px, calc(100vw - 48px));
  margin: 40px auto 2px;
  padding: 0 clamp(18px, 4vw, 44px) 22px;
  direction: ltr;
}
.signature-album-stage {
  position: relative;
  height: clamp(210px, 32vw, 350px);
  perspective: 1100px;
}
.signature-album-control {
  appearance: none;
  position: absolute;
  top: calc(50% - 22px);
  z-index: 6;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,244,223,0.34);
  border-radius: 50%;
  color: #fff4df;
  background: rgba(64,31,13,0.64);
  box-shadow: 0 14px 30px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.16);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  cursor: pointer;
  transition: transform 0.24s ease, color 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}
.signature-album-prev { left: 0; }
.signature-album-next { right: 0; }
.signature-album-control span {
  width: 10px;
  height: 10px;
  margin: 0;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.signature-album-prev span { transform: translateX(2px) rotate(-135deg); }
.signature-album-next span { transform: translateX(-2px) rotate(45deg); }
.signature-album-control:hover {
  color: #fff;
  border-color: rgba(241,162,28,0.72);
  background: rgba(130,65,34,0.88);
  transform: scale(1.07);
}
.signature-album-control:active { transform: scale(0.96); }
.signature-album-control:focus-visible {
  outline: 2px solid #f1a21c;
  outline-offset: 3px;
}
.signature-album-slide {
  position: absolute;
  inset: 0 11%;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,244,223,0.34);
  border-radius: 8px;
  background: #2c160a;
  box-shadow: 0 24px 54px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.18);
  opacity: 0;
  transform: translate3d(0, 14px, -80px) scale(0.86);
  transition: opacity 0.68s ease, transform 0.72s cubic-bezier(.22,1,.36,1), filter 0.68s ease;
}
.signature-album-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), transparent 30%, rgba(36,20,7,0.12));
  pointer-events: none;
}
.signature-album-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03) sepia(0.03);
  transform: scale(1.025);
  transition: transform 4.6s ease, filter 0.68s ease;
}
.signature-album-slide.is-active {
  z-index: 3;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
}
.signature-album-slide.is-active img {
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.075);
}
.signature-album-slide.is-prev {
  z-index: 1;
  opacity: 0.42;
  transform: translate3d(-13%, 10px, -55px) rotate(-1.5deg) scale(0.9);
  filter: saturate(0.68) brightness(0.72);
}
.signature-album-slide.is-next {
  z-index: 2;
  opacity: 0.42;
  transform: translate3d(13%, 10px, -55px) rotate(1.5deg) scale(0.9);
  filter: saturate(0.68) brightness(0.72);
}
.signature-album-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 10px;
}
.signature-album-progress span {
  width: 7px;
  height: 3px;
  margin: 0;
  border-radius: 999px;
  background: rgba(255,244,223,0.28);
  transition: width 0.45s cubic-bezier(.22,1,.36,1), background 0.35s ease;
}
.signature-album-progress span.is-active {
  width: 28px;
  background: #f1a21c;
}
.section-photo.about-photo img {
  object-position: center 48%;
  filter: sepia(0.1) saturate(0.86) contrast(1.03);
}
.section-photo.craft-photo img {
  object-position: 58% center;
}
.section-photo.branches-photo img {
  object-position: center 48%;
}
.branch-address strong {
  color: var(--brand-brown);
  font-weight: 950;
}
.branch-address-text {
  display: inline;
  margin: 0;
  color: inherit;
  font-weight: inherit;
}
.branch-address-more {
  display: block;
  margin-top: 12px;
  color: var(--brand-red);
  font-weight: 850;
}
.branch-address-more::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-left: 9px;
  vertical-align: middle;
  background: rgba(214,162,58,0.72);
}
.company-card-copy span {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .motion-section {
    min-height: auto;
    padding: 78px 20px 72px;
  }
  .motion-copy h2 {
    font-size: clamp(2.45rem, 14vw, 4.2rem);
  }
  .sahar-signature {
    margin-top: 44px;
  }
  .signature-slogan::before,
  .signature-slogan::after {
    width: 16px;
    margin-inline: 8px;
  }
  .signature-album {
    width: 100%;
    margin-top: 30px;
    padding-inline: 0;
  }
  .signature-album-stage { height: clamp(188px, 51vw, 248px); }
  .signature-album-control {
    top: calc(50% - 18px);
    width: 36px;
    height: 36px;
    background: rgba(64,31,13,0.76);
  }
  .signature-album-prev { left: -4px; }
  .signature-album-next { right: -4px; }
  .signature-album-slide { inset-inline: 6%; }
  .signature-album-slide.is-prev {
    opacity: 0.28;
    transform: translate3d(-8%, 8px, -45px) rotate(-1deg) scale(0.92);
  }
  .signature-album-slide.is-next {
    opacity: 0.28;
    transform: translate3d(8%, 8px, -45px) rotate(1deg) scale(0.92);
  }
  .section-photo.about-photo {
    aspect-ratio: 16 / 10;
  }
  .company-card-copy span {
    font-size: 0.94rem;
    line-height: 1.7;
  }
}

@media (max-width: 430px) {
  .motion-copy .motion-eyebrow {
    min-width: 0;
    max-width: 100%;
  }
  .signature-slogan {
    font-size: 1.08rem;
  }
  .signature-slogan::before,
  .signature-slogan::after {
    width: 12px;
    margin-inline: 6px;
  }
  .company-card {
    padding: 16px;
  }
}

/* Multilingual header and fixed-layout language direction */
.ecosystem-inner,
.timeline-section .section-inner,
.timeline-track,
.values-section .section-inner,
.section-content .section-inner,
.stats-grid,
.subsidiaries-grid,
.company-card-actions,
.footer-inner {
  direction: rtl;
}

html[lang="en"] {
  --font-display: "Segoe UI", Arial, sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}
html[lang="en"] body { direction: ltr; }
html[lang="en"] .nav-logo { direction: ltr; }
html[lang="en"] .ecosystem-inner,
html[lang="en"] .timeline-section .section-inner,
html[lang="en"] .values-section .section-inner,
html[lang="en"] .section-content .section-inner,
html[lang="en"] .stats-grid,
html[lang="en"] .subsidiaries-grid,
html[lang="en"] .company-card-actions,
html[lang="en"] .values-grid,
html[lang="en"] .footer-inner {
  direction: ltr;
}
html[lang="en"] .nav-links,
html[lang="en"] .ecosystem-copy,
html[lang="en"] .ecosystem-detail,
html[lang="en"] .subsidiaries-heading,
html[lang="en"] .company-card-copy,
html[lang="en"] .section-copy,
html[lang="en"] .timeline-head,
html[lang="en"] .timeline-track article > span,
html[lang="en"] .values-head,
html[lang="en"] .values-grid article,
html[lang="en"] .footer-info,
html[lang="en"] .footer-links {
  direction: ltr;
  text-align: left;
}
html[lang="en"] .ecosystem-type-title {
  max-width: 14ch;
  font-size: clamp(1.9rem, 3.8vw, 3.7rem);
}
html[lang="en"] .timeline-track time { direction: ltr; }
html[lang="en"] .timeline-track article { will-change: transform; }
html[lang="en"] .timeline-track span,
html[lang="en"] .timeline-track article.is-active span {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.6;
  transition: color 0.24s ease;
}
html[lang="en"] .values-head .section-heading > span::after {
  right: auto;
  left: 0;
}
html[lang="en"] .branch-address-more::before {
  margin-right: 9px;
  margin-left: 0;
}
html[lang="en"] .footer-links a {
  padding-right: 0;
  padding-left: 20px;
}
html[lang="en"] .footer-links a::before {
  right: auto;
  left: 0;
}
html[lang="en"] .footer-links a:hover { transform: translateX(4px); }

@media (max-width: 980px) {
  .language-menu {
    left: 0;
    width: 150px;
  }
}

@media (max-width: 430px) {
  .language-menu { width: 142px; }
  .language-option {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.7rem;
  }
  html[lang="en"] .ecosystem-type-title {
    max-width: 13ch;
    font-size: clamp(1.8rem, 8.7vw, 2.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-menu,
  .language-chevron,
  .signature-album-control,
  .signature-album-slide,
  .signature-album-slide img,
  .signature-album-progress span { transition: none; }
}
