/* EMAR FIX — tile-adhesive brand site. RTL first; logical properties keep the English page (dir=ltr) working.
   Motion vocabulary: tiles being laid (hero transition, menu), masked line reveals, scroll-linked fills. */
:root {
  --green: #1D5B3E;
  --green-2: #24704C;
  --deep: #0C1D15;
  --deep-2: #12291E;
  --cream: #F4EFE4;
  --paper: #FBF9F4;
  --sand: #C9B68A;
  --sand-2: #E7DCC3;
  --ink: #142019;
  --body: #57635C;
  --line: #E3DDCF;
  --head-h: 84px;
  --wrap: 1240px;
  --f-head: "Changa", "Barlow Condensed", sans-serif;
  --f-body: "Almarai", "Barlow", sans-serif;
  --f-sign: "Aref Ruqaa", "Caveat", serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
html[lang="en"] { --f-head: "Barlow Condensed", "Changa", sans-serif; --f-body: "Barlow", "Almarai", sans-serif; --f-sign: "Caveat", "Aref Ruqaa", cursive; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 400 16px/1.85 var(--f-body); color: var(--body); background: var(--paper); overflow-x: hidden; }
html[lang="en"] body { font-size: 17px; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1.2; color: var(--ink); }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
section { position: relative; }
.pad { padding-block: clamp(80px, 10vw, 140px); }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* Loader: adhesive is combed, three tiles are laid into the logo, then the screen lifts off as tiles ---- */
html.loading { overflow: hidden; }
#loader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; }
.ld-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); }
/* Grid order follows the page direction, so --t already starts at the reading-start corner. */
.ld-tiles i { --o: var(--t); background: var(--deep); box-shadow: 0 0 0 1px var(--deep); transition: transform .75s var(--ease-io), opacity .6s ease; transition-delay: calc(var(--o) * 55ms); }
#loader.out { pointer-events: none; }
#loader.out .ld-tiles i { transform: scale(0) rotate(14deg); opacity: 0; }
.ld-center { position: relative; display: grid; justify-items: center; gap: 28px; transition: opacity .35s ease, transform .6s var(--ease); }
#loader.out .ld-center { opacity: 0; transform: scale(.9); }
.ld-mark { position: relative; width: 112px; height: 112px; direction: ltr; animation: press .45s var(--ease) 1.05s; }
@keyframes press { 50% { transform: scale(.94); } }
.ld-mark .t { position: absolute; width: 52px; height: 52px; border-radius: 6px; background: var(--cream); opacity: 0; animation: drop .6s var(--ease) forwards; }
.ld-mark .t1 { left: 0; top: 0; animation-delay: .4s; }
.ld-mark .t2 { left: 60px; top: 0; background: rgba(244, 239, 228, .55); animation-delay: .55s; }
.ld-mark .t3 { left: 0; top: 60px; background: rgba(244, 239, 228, .55); animation-delay: .7s; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-48px) scale(1.3) rotate(-10deg); } 60% { opacity: 1; transform: translateY(3px) scale(.95); } 100% { opacity: 1; transform: none; } }
.ld-mark .ridges { position: absolute; left: 60px; top: 60px; width: 52px; height: 52px; display: grid; align-content: center; gap: 9px; }
.ld-mark .ridges b { height: 6px; border-radius: 3px; background: var(--sand); transform: scaleX(0); transform-origin: left; animation: comb .45s var(--ease) forwards; }
.ld-mark .ridges b:nth-child(1) { animation-delay: .05s; } .ld-mark .ridges b:nth-child(2) { animation-delay: .15s; } .ld-mark .ridges b:nth-child(3) { animation-delay: .25s; }
@keyframes comb { to { transform: scaleX(1); } }
.ld-word { display: flex; direction: ltr; overflow: hidden; padding-block: 4px; font: 800 clamp(34px, 5vw, 54px)/1 "Barlow Condensed", sans-serif; letter-spacing: .16em; color: #fff; }
.ld-word span { display: inline-block; transform: translateY(115%); animation: up .65s var(--ease) forwards; }
.ld-word .sp { width: .3em; }
.ld-word span:nth-child(1) { animation-delay: .8s; } .ld-word span:nth-child(2) { animation-delay: .85s; } .ld-word span:nth-child(3) { animation-delay: .9s; }
.ld-word span:nth-child(4) { animation-delay: .95s; } .ld-word span:nth-child(6) { animation-delay: 1.05s; } .ld-word span:nth-child(7) { animation-delay: 1.1s; }
.ld-word span:nth-child(8) { animation-delay: 1.15s; color: var(--sand); }
@keyframes up { to { transform: none; } }
.ld-meta { display: flex; align-items: center; gap: 14px; width: 220px; direction: ltr; opacity: 0; animation: fadein .4s ease .9s forwards; }
@keyframes fadein { to { opacity: 1; } }
.ld-bar { position: relative; flex: 1; height: 2px; overflow: hidden; background: rgba(255, 255, 255, .15); }
.ld-bar i { position: absolute; inset: 0; background: var(--sand); transform: scaleX(var(--lp, 0)); transform-origin: left; }
.ld-pct { min-width: 3ch; font: 600 14px/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; color: var(--sand); }
/* The hero's first slide waits for the loader, then plays its entrance. */
html.loading .hero-copy .slide.on .ln > span { transform: translateY(110%); }
html.loading .hero-copy .slide.on .fade { opacity: 0; transform: translateY(16px); }

/* Reveal primitives -------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
/* Masked lines: each .ln > span rises from below its own line */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * .09s + var(--d, 0s)); }
.in .ln > span, .ln.in > span, .on .ln > span { transform: none; }

/* Buttons ----------------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 40px; background: var(--green); color: #fff;
  font: 600 16px/1 var(--f-head); cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s; }
html[lang="en"] .btn { text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--sand); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover { color: var(--deep); }
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
html[dir="rtl"] .btn .dir { transform: scaleX(-1); }
.btn:hover .dir { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .dir { transform: scaleX(-1) translateX(4px); }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn.ghost::before { background: #fff; }
.btn.ghost:hover { color: var(--ink); }
.btn.wa { background: #1F9D57; }

.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 600 15px/1 var(--f-head); color: var(--green); letter-spacing: .04em; }
html[lang="en"] .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 14px; }
.kicker i { display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; }
.kicker i::before, .kicker i::after { content: ""; width: 7px; height: 7px; background: currentColor; }
.kicker i::after { opacity: .45; }
.h-xl { font-size: clamp(36px, 3.4vw + 16px, 68px); }
.h-lg { font-size: clamp(30px, 2.4vw + 14px, 52px); }

/* Header ------------------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 90; color: #fff; transition: background .4s, color .4s, box-shadow .4s, transform .5s var(--ease); }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: var(--head-h); transition: height .4s; }
.site-header.solid { background: rgba(251, 249, 244, .95); backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.solid .bar { height: 70px; }
.site-header.hide { transform: translateY(-100%); }
.progress-line { position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 100%; background: var(--sand); transform: scaleX(var(--sp, 0)); transform-origin: right; }
html[dir="ltr"] .progress-line { transform-origin: left; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo svg { width: 44px; height: 44px; }
.logo b { display: block; font: 700 22px/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; }
.logo small { display: block; margin-top: 4px; font: 500 12px/1.1 "Changa", sans-serif; opacity: .75; }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a { position: relative; padding: 10px 14px; font: 500 16px/1 var(--f-head); opacity: .85; transition: opacity .3s; }
html[lang="en"] .main-nav a { text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; background: var(--sand); transform: scaleX(0); transition: transform .4s var(--ease); }
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.head-end { display: flex; align-items: center; gap: 14px; }
.lang { font: 600 15px/1 var(--f-head); padding: 8px 4px; opacity: .85; }
.lang:hover { opacity: 1; }
.head-end .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.menu-btn { width: 48px; height: 48px; border: 1.5px solid currentColor; border-radius: 50%; background: none; color: inherit; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; }
@media (max-width: 1080px) { .main-nav { display: none; } .head-end { margin-inline-start: auto; } }
@media (max-width: 600px) { .head-end .btn { display: none; } .logo small { display: none; } }

/* Tile menu ------------------------------------------------------------------------ */
.menu { position: fixed; inset: 0; z-index: 95; visibility: hidden; pointer-events: none; color: #fff; transition: visibility 0s .9s; }
.menu .tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); }
.menu .tiles i { background: var(--deep); transform: scale(0); transition: transform .5s var(--ease); transition-delay: calc(var(--t) * 28ms); }
.menu.open { visibility: visible; pointer-events: auto; transition: none; }
.menu.open .tiles i { transform: scale(1.02); }
.menu .inner { position: relative; height: 100%; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; transition: opacity .35s; }
.menu.open .inner { opacity: 1; transition-delay: .45s; }
.menu .top { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); }
.close-btn { width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 50%; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.close-btn:hover { transform: rotate(90deg); background: rgba(255, 255, 255, .1); }
.close-btn svg { width: 20px; height: 20px; }
.menu .grid { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-block: 30px 50px; }
.menu nav a { display: flex; align-items: baseline; gap: 20px; padding: 6px 0; font: 700 clamp(34px, 4vw + 10px, 72px)/1.15 var(--f-head); color: #fff; }
html[lang="en"] .menu nav a { text-transform: uppercase; }
.menu nav a small { font: 500 14px/1 "Barlow Condensed", sans-serif; color: var(--sand); letter-spacing: .1em; }
.menu nav a span { background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 3px; transition: background-size .5s var(--ease), color .3s; }
html[dir="ltr"] .menu nav a span { background-position: 0 100%; }
.menu nav a:hover span { background-size: 100% 3px; color: var(--sand); }
.menu .info { display: grid; gap: 22px; border-inline-start: 1px solid rgba(255, 255, 255, .15); padding-inline-start: 40px; }
.menu .info small { display: block; color: var(--sand); font-size: 14px; margin-bottom: 4px; }
.menu .info b { font: 600 20px/1.4 var(--f-head); }
@media (max-width: 800px) { .menu .grid { grid-template-columns: 1fr; } .menu .info { border: 0; padding: 0; } .menu .tiles { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(6, 1fr); } }

/* Hero ----------------------------------------------------------------------------------- */
.hero { height: 100svh; min-height: 660px; max-height: 1000px; color: #fff; background: var(--deep); overflow: hidden; }
.hero-stage { position: absolute; inset: 0; overflow: hidden; }
.hero-stage .layer { position: absolute; inset: 0; background-size: cover; background-position: center; transform-origin: 60% 50%; }
.hero-stage .layer.kb { animation: kb 9s linear forwards; }
@keyframes kb { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-stage .tiles { position: absolute; inset: 0; transform: scale(1.1); transform-origin: 60% 50%; }
.hero-stage .tiles i { position: absolute; background-repeat: no-repeat; transform: scale(.2) rotate(-6deg); opacity: 0; transition: transform .75s var(--ease), opacity .45s ease; }
.hero-stage .tiles.go i { transform: none; opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to left, rgba(9, 22, 15, .94) 0%, rgba(9, 22, 15, .82) 38%, rgba(9, 22, 15, .4) 70%, rgba(9, 22, 15, .15) 100%), linear-gradient(to top, rgba(9, 22, 15, .8), transparent 38%); }
html[dir="ltr"] .hero-shade { background: linear-gradient(to right, rgba(9, 22, 15, .94) 0%, rgba(9, 22, 15, .82) 38%, rgba(9, 22, 15, .4) 70%, rgba(9, 22, 15, .15) 100%), linear-gradient(to top, rgba(9, 22, 15, .8), transparent 38%); }
.hero h1, .hero h2, .hero p { text-shadow: 0 2px 24px rgba(9, 22, 15, .35); }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 120px 120px; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.hero > .wrap { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--head-h); padding-bottom: 90px; }
.hero-copy { position: relative; min-height: 400px; }
.hero-copy .slide { position: absolute; inset: 0 0 auto; max-width: 780px; visibility: hidden; transition: visibility 0s .7s; }
.hero-copy .slide.on { visibility: visible; transition: none; }
.hero-copy .slide:not(.on) .ln > span { transform: translateY(-110%); transition-duration: .6s; transition-delay: 0s; }
.hero .kicker { color: var(--sand); }
.hero h1, .hero h2 { color: #fff; font-size: clamp(44px, 5.2vw + 12px, 108px); line-height: 1.04; margin-bottom: 24px; }
html[lang="ar"] .hero h1, html[lang="ar"] .hero h2 { line-height: 1.22; }
.hero em { font-style: normal; color: var(--sand); }
.hero p { max-width: 560px; font-size: clamp(16px, .4vw + 14px, 19px); color: rgba(255, 255, 255, .86); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-copy .slide .fade { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .8s var(--ease); }
.hero-copy .slide.on .fade { opacity: 1; transform: none; transition-delay: .45s; }
.hero-bar { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-bar .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 20px; }
.hero-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 1; max-width: 720px; }
.hero-tab { position: relative; padding: 22px 0 24px; padding-inline-end: 24px; background: none; border: 0; color: rgba(255, 255, 255, .55); text-align: start; cursor: pointer; transition: color .3s; }
.hero-tab b { display: block; font: 700 14px/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; margin-bottom: 6px; }
.hero-tab span { font: 600 18px/1.2 var(--f-head); }
.hero-tab::before { content: ""; position: absolute; top: -1px; inset-inline: 0 24px; height: 2px; background: var(--sand); transform: scaleX(0); transform-origin: right; }
html[dir="ltr"] .hero-tab::before { transform-origin: left; }
.hero-tab:hover { color: #fff; }
.hero-tab[aria-selected="true"] { color: #fff; }
.hero-tab[aria-selected="true"]::before { animation: fillx var(--dur, 7s) linear forwards; }
.hero.paused .hero-tab[aria-selected="true"]::before { animation-play-state: paused; }
@keyframes fillx { to { transform: scaleX(1); } }
.hero-ctrl { display: flex; align-items: center; gap: 10px; }
.hero-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.hero-ctrl button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-ctrl svg { width: 20px; height: 20px; }
html[dir="rtl"] .hero-ctrl .dir { transform: scaleX(-1); }
.scroll-cue { position: absolute; bottom: 130px; left: max(20px, (100vw - var(--wrap)) / 2); z-index: 3; display: grid; justify-items: center; gap: 12px; color: rgba(255, 255, 255, .7); font: 600 12px/1 "Barlow Condensed", sans-serif; letter-spacing: .3em; writing-mode: vertical-rl; }
html[dir="ltr"] .scroll-cue { left: auto; right: max(20px, (100vw - var(--wrap)) / 2); }
.scroll-cue i { width: 1.5px; height: 70px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--sand); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@media (max-width: 760px) {
  .hero-copy { min-height: 440px; }
  .hero-tab span { display: none; }
  .hero-tab { padding-inline-end: 12px; }
  .hero-tab::before { inset-inline-end: 12px; }
  .scroll-cue { display: none; }
  .hero-ctrl button { width: 44px; height: 44px; }
}

/* Spec counters -------------------------------------------------------------------------- */
.counters { background: var(--deep); color: #fff; }
.counters .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.counter { padding: 40px 28px; border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.counter:first-child { border-inline-start: 0; padding-inline-start: 0; }
.counter .num { display: flex; align-items: baseline; gap: 8px; font: 700 clamp(40px, 3vw + 18px, 64px)/1 "Barlow Condensed", sans-serif; color: #fff; }
.counter .num .v { direction: ltr; unicode-bidi: isolate; }
.counter .num small { font-size: .36em; color: var(--sand); letter-spacing: .04em; }
.counter p { margin: 10px 0 0; font-size: 15px; color: rgba(255, 255, 255, .7); line-height: 1.6; }
@media (max-width: 900px) { .counters .wrap { grid-template-columns: 1fr 1fr; } .counter { padding: 30px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); } .counter:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; } }

/* Message --------------------------------------------------------------------------------- */
.message { background: var(--paper); overflow: hidden; }
.message .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.message .photo { position: relative; aspect-ratio: 4 / 5; }
.message .photo .img { position: absolute; inset: 0; overflow: hidden; border-end-start-radius: 120px; }
.message .photo img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, 0px)); }
.message .photo .stamp { position: absolute; top: 24px; inset-inline-end: -40px; width: 132px; height: 132px; border-radius: 50%; background: var(--sand); color: var(--deep); display: grid; place-items: center; }
.message .photo .stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.message .photo .stamp b { font: 800 30px/1 "Barlow Condensed", sans-serif; }
@keyframes spin { to { transform: rotate(360deg); } }
.quote-mark { display: block; height: 64px; font: 700 150px/1 Georgia, serif; color: var(--sand-2); }
.message blockquote { margin: 0; font: 500 clamp(19px, .9vw + 13px, 25px)/1.85 var(--f-body); color: var(--ink); }
html[lang="en"] .message blockquote { line-height: 1.55; }
.message .sign { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.message .sign .name { font: 700 clamp(28px, 1.8vw + 14px, 40px)/1.2 var(--f-sign); color: var(--green); }
.message .sign .role { font-size: 14px; color: var(--body); padding-inline-start: 18px; border-inline-start: 1px solid var(--line); line-height: 1.5; }
@media (max-width: 900px) { .message .grid { grid-template-columns: 1fr; } .message .photo { max-width: 460px; } .message .photo .stamp { inset-inline-end: 10px; } }

/* About + value tiles -------------------------------------------------------------------- */
.about { background: var(--cream); }
.about .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.about .lead { font-size: 19px; color: var(--ink); line-height: 1.8; }
.value-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; perspective: 1200px; }
.vt { position: relative; aspect-ratio: 1; outline: none; }
.vt .face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .8s var(--ease); }
.vt .front { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.vt .back { background: var(--green); color: #fff; transform: rotateY(180deg); font-size: 14px; line-height: 1.6; justify-content: center; }
.vt:hover .front, .vt:focus .front, .vt.flip .front { transform: rotateY(-180deg); }
.vt:hover .back, .vt:focus .back, .vt.flip .back { transform: none; }
.vt .n { font: 700 14px/1 "Barlow Condensed", sans-serif; color: var(--sand); letter-spacing: .1em; }
.vt .front b { font: 700 clamp(17px, .6vw + 13px, 22px)/1.25 var(--f-head); color: var(--ink); }
.vt .front svg { width: 30px; height: 30px; color: var(--green); }
.vt:nth-child(2) .front, .vt:nth-child(6) .front { background: var(--sand-2); box-shadow: none; }
.vt:nth-child(4) .front { background: var(--deep); box-shadow: none; } .vt:nth-child(4) .front b { color: #fff; } .vt:nth-child(4) .front svg { color: var(--sand); }
@media (max-width: 900px) { .about .grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .value-tiles { grid-template-columns: 1fr 1fr; } }

/* Vision: words light up on scroll -------------------------------------------------------- */
.vision { background: var(--paper); }
.vision .statement { font: 700 clamp(30px, 3vw + 14px, 64px)/1.35 var(--f-head); color: var(--ink); max-width: 1120px; margin: 0; }
html[lang="en"] .vision .statement { text-transform: uppercase; line-height: 1.08; }
.vision .statement .w { opacity: .14; transition: opacity .3s linear, color .3s; }
.vision .statement .w.lit { opacity: 1; }
.vision .statement .w.hl.lit { color: var(--green); }
.vision .foot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.vision .foot p { margin: 0; }
@media (max-width: 800px) { .vision .foot { grid-template-columns: 1fr; } }

/* Products: selector + cards ------------------------------------------------------------------- */
.products { background: var(--cream); }
.products .head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 44px; }
.picker { background: #fff; padding: 22px 24px; box-shadow: 0 30px 60px -40px rgba(12, 29, 21, .35); }
.picker > b { display: block; font: 700 18px/1.3 var(--f-head); color: var(--ink); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 30px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 500 15px/1 var(--f-body); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.picker .result { margin: 14px 0 0; min-height: 28px; font-size: 15px; color: var(--body); }
.picker .result b { color: var(--green); font: 700 20px/1 "Barlow Condensed", sans-serif; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; perspective: 1400px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s, opacity .5s, filter .5s; box-shadow: 0 20px 40px -30px rgba(12, 29, 21, .4); }
.card:hover { box-shadow: 0 40px 70px -40px rgba(12, 29, 21, .55); }
.cards.filtered .card:not(.match) { opacity: .35; filter: grayscale(.8); }
.card.match { box-shadow: 0 0 0 3px var(--green), 0 40px 70px -40px rgba(12, 29, 21, .55); }
.card .media { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--deep); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 22, 15, .55), transparent 55%); }
.card:hover .media img { transform: scale(1.08); }
.card .code { position: absolute; bottom: 12px; inset-inline-start: 18px; z-index: 1; font: 800 clamp(50px, 2.6vw + 24px, 72px)/.85 "Barlow Condensed", sans-serif; color: #fff; direction: ltr; }
.card .tag { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 1; padding: 7px 12px; border-radius: 30px; background: rgba(12, 29, 21, .75); backdrop-filter: blur(6px); color: #fff; font: 600 13px/1 var(--f-head); }
.card .body { padding: 22px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 21px; margin-bottom: 6px; }
.card .use { font-size: 14px; color: var(--body); margin-bottom: 18px; line-height: 1.6; }
.bars { display: grid; gap: 12px; margin-bottom: 20px; }
.bar small { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--body); margin-bottom: 5px; line-height: 1.4; }
.bar small b { direction: ltr; unicode-bidi: isolate; font: 600 15px/1.2 "Barlow Condensed", sans-serif; color: var(--ink); letter-spacing: .02em; }
.bar .track { height: 6px; background: var(--cream); position: relative; overflow: hidden; }
.bar .track i { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--v, 0%); background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform 1.4s var(--ease); transition-delay: var(--d, .2s); }
html[dir="ltr"] .bar .track i { transform-origin: left; }
.card.in .bar .track i { transform: scaleX(1); }
.bar.na .track { background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
.card .get { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); font: 600 16px/1 var(--f-head); color: var(--green); }
.card .get svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
html[dir="rtl"] .card .get svg { transform: scaleX(-1); }
.card:hover .get svg { transform: translateX(5px); }
html[dir="rtl"] .card:hover .get svg { transform: scaleX(-1) translateX(5px); }
.products .fine { font-size: 13px; margin: 22px 0 0; color: var(--body); }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .products .head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Quality: exploded layers ------------------------------------------------------------------------ */
.quality { background: var(--deep); color: rgba(255, 255, 255, .8); overflow: hidden; }
.quality::before { content: ""; position: absolute; inset: 0; background: url("../img/bg-site.webp") center / cover; opacity: .1; }
.quality .wrap { position: relative; }
.quality h2 { color: #fff; }
.quality .kicker { color: var(--sand); }
.quality .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.layers { position: relative; height: 540px; }
.layers .scene { position: absolute; inset-block: 0; inset-inline: 28% -8%; perspective: 1600px; }
.layers .stack { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
html[dir="ltr"] .layers .stack { transform: rotateX(58deg) rotateZ(38deg); }
.plate { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; transform: translateZ(calc(var(--z) * (16px + var(--p, 0) * 80px))); box-shadow: 0 30px 50px rgba(0, 0, 0, .45); }
.plate.tile { --z: 2; background-image: linear-gradient(90deg, rgba(0, 0, 0, .14) 2px, transparent 2px), linear-gradient(rgba(0, 0, 0, .14) 2px, transparent 2px), linear-gradient(135deg, #F1EBDD, #D2C6AD); background-size: 150px 150px, 150px 150px, 100% 100%; }
.plate.glue { --z: 1; background: repeating-linear-gradient(90deg, #ADABA4 0 9px, #8C8A83 9px 13px, #BDBBB4 13px 20px); }
.plate.base { --z: 0; background: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, .18) 1px, transparent 2px) 0 0 / 14px 14px, radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .12) 1px, transparent 2px) 0 0 / 11px 11px, #6E6C66; }
.plate-label { position: absolute; inset-inline-start: 0; z-index: 2; max-width: 34%; display: flex; align-items: center; gap: 12px; color: #fff; font: 600 17px/1.3 var(--f-head); transform: translateY(calc(var(--p, 0) * var(--k) * 46px)); }
.plate-label::after { content: ""; width: 50px; height: 1px; background: var(--sand); }
.plate-label small { display: block; font: 500 13px/1.4 var(--f-body); color: rgba(255, 255, 255, .6); }
.plate-label.l1 { top: 18%; --k: -1; } .plate-label.l2 { top: 46%; --k: 0; } .plate-label.l3 { top: 72%; --k: 1; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background .3s, transform .4s var(--ease); }
.doc:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.doc .ic { width: 48px; height: 58px; flex: none; background: #fff; color: var(--green); display: grid; place-items: center; font: 800 15px/1 "Barlow Condensed", sans-serif; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.doc b { display: block; font: 600 17px/1.3 var(--f-head); }
.doc span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.commit { margin-top: 30px; counter-reset: c; }
.commit li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.commit li::before { counter-increment: c; content: "0" counter(c); font: 700 22px/1.3 "Barlow Condensed", sans-serif; color: var(--sand); }
.commit b { display: block; color: #fff; font: 600 19px/1.3 var(--f-head); margin-bottom: 4px; }
.commit p { margin: 0; font-size: 15px; }
@media (max-width: 960px) { .quality .grid { grid-template-columns: 1fr; } .layers { height: 420px; } .plate { width: 220px; height: 220px; margin: -110px 0 0 -110px; } .layers .scene { inset-inline: 32% -4%; } }
@media (max-width: 520px) { .layers .scene { inset-inline: 40% -18%; } .plate { width: 170px; height: 170px; margin: -85px 0 0 -85px; } .plate-label { font-size: 15px; } }
@media (max-width: 480px) { .docs { grid-template-columns: 1fr; } }

/* Why us: bento with spotlight ------------------------------------------------------------------------ */
.why { background: var(--paper); }
.why .head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); grid-auto-flow: dense; gap: 14px; margin-top: 50px; }
.bx { position: relative; overflow: hidden; padding: 28px; padding-top: 80px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.bx::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 182, 138, .35), transparent 60%); opacity: 0; transition: opacity .4s; }
.bx:hover::before { opacity: 1; }
.bx .n { position: absolute; top: 24px; inset-inline-start: 28px; font: 700 15px/1 "Barlow Condensed", sans-serif; color: var(--sand); letter-spacing: .1em; }
.bx svg.ic { position: absolute; top: 22px; inset-inline-end: 24px; width: 34px; height: 34px; color: var(--green); transition: transform .6s var(--ease); }
.bx:hover svg.ic { transform: rotate(-12deg) scale(1.12); }
.bx h3 { font-size: 24px; margin-bottom: 8px; }
.bx p { margin: 0; font-size: 15px; line-height: 1.65; }
.bx.wide { grid-column: span 2; }
.bx.photo { grid-row: span 2; padding: 0; color: #fff; }
.bx.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.bx.photo:hover img { transform: scale(1.06); }
.bx.photo .cap { padding: 90px 28px 28px; background: linear-gradient(to top, rgba(9, 22, 15, .92), transparent); }
.bx.photo h3 { color: #fff; }
.bx.dark { background: var(--green); color: rgba(255, 255, 255, .85); box-shadow: none; }
.bx.dark h3 { color: #fff; } .bx.dark svg.ic { color: var(--sand); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bx.photo { grid-row: span 1; min-height: 320px; } .why .head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); } .bx.wide { grid-column: auto; } }

/* Marquee ---------------------------------------------------------------------------------------------------- */
.marquee { padding-block: 30px; background: var(--green); overflow: hidden; color: #fff; }
.marquee .row { display: flex; width: max-content; animation: marquee 34s linear infinite; }
html[dir="rtl"] .marquee .row { animation-name: marquee-rtl; }
.marquee.rev .row { animation-direction: reverse; }
.marquee span { display: inline-flex; align-items: center; gap: 34px; padding-inline-end: 34px; direction: ltr; font: 800 clamp(40px, 4vw + 14px, 82px)/1.1 "Barlow Condensed", sans-serif; letter-spacing: .02em; white-space: nowrap; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .7); }
.marquee span::after { content: ""; width: 16px; height: 16px; background: var(--sand); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* Contact -------------------------------------------------------------------------------------------------------- */
.contact { background: var(--cream); }
.contact .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 30px; }
.cc { display: flex; align-items: center; gap: 18px; padding: 18px; background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.cc:hover { transform: translateX(-6px); box-shadow: 0 20px 40px -30px rgba(12, 29, 21, .5); }
html[dir="ltr"] .cc:hover { transform: translateX(6px); }
.cc .ic { width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.cc .ic svg { width: 24px; height: 24px; }
.cc small { display: block; font-size: 13px; color: var(--body); }
.cc b { font: 600 18px/1.4 var(--f-head); color: var(--ink); }
.form { background: #fff; padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 80px -50px rgba(12, 29, 21, .5); }
.form h3 { font-size: 28px; margin-bottom: 4px; }
.form .sub { font-size: 15px; margin-bottom: 26px; }
.form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form .full { grid-column: 1 / -1; }
.fl { position: relative; display: block; }
.fl input, .fl select, .fl textarea { width: 100%; min-height: 58px; padding: 26px 14px 8px; border: 0; border-bottom: 1.5px solid var(--line); background: var(--paper); font: 400 16px/1.4 var(--f-body); color: var(--ink); border-radius: 0; transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none; }
.fl select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--body) 50%), linear-gradient(135deg, var(--body) 50%, transparent 50%); background-position: 18px 30px, 23px 30px; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir="ltr"] .fl select { background-position: calc(100% - 23px) 30px, calc(100% - 18px) 30px; }
.fl textarea { min-height: 120px; resize: vertical; }
.fl > span { position: absolute; inset-inline-start: 14px; top: 18px; font-size: 15px; color: var(--body); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.fl input:focus ~ span, .fl input:not(:placeholder-shown) ~ span, .fl textarea:focus ~ span, .fl textarea:not(:placeholder-shown) ~ span, .fl.select > span { transform: translateY(-12px); font-size: 12px; color: var(--green); }
.fl .opt { opacity: .7; }
.fl [aria-invalid="true"] { border-color: #C0392B; }
.form .err { display: block; margin-top: 6px; color: #C0392B; font-size: 13px; font-style: normal; }
.form .err[hidden] { display: none; }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form .hint { margin: 0; font-size: 14px; }
.form .msg { margin: 16px 0 0; padding: 12px 16px; background: var(--cream); color: var(--ink); font-size: 15px; }
@media (max-width: 960px) { .contact .grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .fields { grid-template-columns: 1fr; } }

/* Footer ------------------------------------------------------------------------------------------------------------ */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, .7); overflow: hidden; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 80px 40px; }
.site-footer .logo { color: #fff; margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--sand); }
.site-footer .ft-wa { display: inline-flex; align-items: center; gap: 10px; font: 600 21px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .03em; color: #fff; }
.site-footer .ft-wa svg { width: 22px; height: 22px; color: var(--sand); flex: none; }
.site-footer .big { display: block; direction: ltr; text-align: center; white-space: nowrap; font: 800 clamp(60px, 16vw, 280px)/.82 "Barlow Condensed", sans-serif; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .18); background: linear-gradient(var(--sand), var(--sand)) no-repeat 0 100% / 100% 0; -webkit-background-clip: text; background-clip: text; transition: background-size 1.6s var(--ease); user-select: none; }
.site-footer .big.in { background-size: 100% 100%; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.site-footer .bottom a { color: #fff; font-weight: 700; }
.site-footer details { font-size: 12px; min-width: 0; max-width: 100%; }
.site-footer details li { overflow-wrap: anywhere; }
.site-footer summary { cursor: pointer; }
.site-footer details ul { margin-top: 10px; gap: 4px; }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .top { grid-template-columns: 1fr; } }

/* Floating ---------------------------------------------------------------------------------------------------------- */
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #1F9D57; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4); transition: transform .4s var(--ease), opacity .3s, visibility .3s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float.hide { opacity: 0; visibility: hidden; transform: scale(.6); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1F9D57; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa-float svg { width: 28px; height: 28px; }
.to-top { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 80; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--deep); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top > svg { width: 18px; height: 18px; }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: var(--sand); stroke-width: 2; stroke-dasharray: 157; stroke-dashoffset: calc(157 - 157 * var(--sp, 0)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .ln > span { transform: none; }
  .vision .statement .w { opacity: 1; }
}
