/* =========================================================
   NQSH966 — نقش ٩٦٦
   Brand colours taken from the project deck.
   ========================================================= */
:root {
  --sand: #ad9071;
  --sand-deep: #8f7255;
  --sand-light: #cfb08a;
  --sand-pale: #f1ebe2;
  --teal: #4d897c;
  --teal-deep: #2f6157;
  --deep: #063634;
  --deep-2: #0b4441;
  --paper: #f6f4f0;
  --stone: #e6e6e6;
  --white: #ffffff;
  --ink: #1d2826;
  --muted: #5b6764;
  --line: rgba(29, 40, 38, 0.12);
  --wood-1: #ecd4ae;
  --wood-2: #d6b283;
  --wood-3: #c49b68;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 30, 28, .06), 0 12px 32px -12px rgba(20, 30, 28, .18);
  --container: 1200px;
  --header-h: 72px;
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  --cube: clamp(180px, 24vw, 290px);
}

/* ---------- Language switching ---------- */
html[lang="ar"] [lang="en"],
html[lang="en"] [lang="ar"] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.45; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
bdi { unicode-bidi: isolate; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 600; color: var(--teal-deep);
  margin-bottom: 14px; text-transform: none;
}
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--sand); transform: rotate(45deg); border-radius: 2px; }
html[lang="en"] .kicker { letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
.kicker-light { color: var(--sand-light); }
.kicker-light::before { background: var(--sand-light); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -12px rgba(47, 97, 87, .8); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(29, 40, 38, .25); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.text-link { color: var(--teal-deep); font-weight: 600; text-underline-offset: 5px; }
.text-link::after { content: " ←"; }
html[lang="en"] .text-link::after { content: " →"; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(246, 244, 240, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(246, 244, 240, .94); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
html[lang="en"] .brand-name { letter-spacing: .04em; }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.main-nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); background: rgba(173, 144, 113, .16); }
.main-nav .nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  font: inherit; font-weight: 600; font-size: .9rem; min-width: 52px; height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid rgba(29, 40, 38, .2); background: transparent; color: var(--ink); cursor: pointer;
}
.lang-toggle:hover { border-color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(173, 144, 113, .22), rgba(173, 144, 113, 0));
  pointer-events: none;
}
html[dir="rtl"] .hero::before { inset: -20% auto auto -10%; }
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ad9071' stroke-opacity='.22' stroke-width='1'%3E%3Cpath d='M36 14l6.4 15.6L58 36l-15.6 6.4L36 58l-6.4-15.6L14 36l15.6-6.4z'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 64px); }
.hero-calligraphy { width: clamp(180px, 22vw, 260px); margin-bottom: 20px; }
.hero h1 { margin-bottom: 18px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.cube-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin: 8px 0 0; }
.cube-hint svg { width: 22px; height: 22px; }

/* Stats */
.stats {
  position: relative; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat { padding: 22px 26px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat dt { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--teal-deep); line-height: 1.2; direction: ltr; text-align: start; }
html[dir="rtl"] .stat dt { text-align: right; }
.stat dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* ---------- 3D cube ---------- */
.cube-stage {
  --s: var(--cube);
  position: relative; width: calc(var(--s) * 1.9); height: calc(var(--s) * 1.9);
  max-width: 100%;
  display: grid; place-items: center;
  perspective: 1100px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.cube-stage.dragging { cursor: grabbing; }
.cube-stage-sm { --s: clamp(170px, 20vw, 250px); }
.cube { position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-36deg); will-change: transform; }
.face {
  position: absolute; inset: 0; padding: 7%;
  border-radius: 10px;
  background:
    repeating-linear-gradient(97deg, rgba(140, 92, 45, .07) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(93deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, var(--wood-1), var(--wood-2) 60%, var(--wood-3));
  box-shadow: inset 0 0 0 1px rgba(110, 70, 30, .25), inset 0 0 22px rgba(120, 72, 30, .28);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.face img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.face-front  { transform: rotateY(0deg)    translateZ(calc(var(--s) / 2)); }
.face-right  { transform: rotateY(90deg)   translateZ(calc(var(--s) / 2)); filter: brightness(.86); }
.face-back   { transform: rotateY(180deg)  translateZ(calc(var(--s) / 2)); filter: brightness(.8); }
.face-left   { transform: rotateY(-90deg)  translateZ(calc(var(--s) / 2)); filter: brightness(.92); }
.face-top    { transform: rotateX(90deg)   translateZ(calc(var(--s) / 2)); filter: brightness(1.06); }
.face-bottom { transform: rotateX(-90deg)  translateZ(calc(var(--s) / 2)); filter: brightness(.75); }
.cube-shadow {
  position: absolute; bottom: 4%; left: 50%; width: calc(var(--s) * 1.2); height: calc(var(--s) * .16);
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29, 40, 38, .28), rgba(29, 40, 38, 0));
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-stone { background: var(--stone); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-head-light p:last-child { color: rgba(255, 255, 255, .72); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-copy > p { color: var(--muted); font-size: 1.08rem; }

.souvenirs { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); aspect-ratio: 1; }
.souvenirs img { width: 100%; height: 100%; object-fit: cover; }
.souvenirs-q {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(12rem, 28vw, 22rem); font-weight: 700; line-height: 1; color: rgba(0, 51, 51, .45);
  font-family: Arial, sans-serif;
}

.pillars { display: grid; gap: 14px; margin-top: 26px; }
.pillar { background: var(--white); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow); }
.pillar h3 { color: var(--teal-deep); font-size: 1.05rem; margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--ink); }

/* Mission */
.mission { background: var(--sand); color: #fff; padding: clamp(64px, 9vw, 110px) 0; position: relative; overflow: hidden; }
.mission::after {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M36 14l6.4 15.6L58 36l-15.6 6.4L36 58l-6.4-15.6L14 36l15.6-6.4z'/%3E%3C/g%3E%3C/svg%3E");
}
.mission-inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.mission-logo { width: 84px; height: 84px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 18px; }
.mission .kicker { color: #fff; }
.mission .kicker::before { background: #fff; }
.mission blockquote { margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.9rem); font-weight: 600; line-height: 1.45; max-width: 22em; }

/* Collections tabs */
.collections { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px); }
.tab-list { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--paper); border-radius: 999px; }
.tab-list button {
  font: inherit; font-weight: 600; font-size: .98rem; border: 0; background: transparent; color: var(--muted);
  padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s;
}
.tab-list button:hover { color: var(--ink); }
.tab-list button[aria-selected="true"] { background: var(--sand); color: #fff; }
.tab-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(18px, 4vw, 48px); align-items: center; padding-top: 18px; animation: fadeUp .5s ease both; }
.tab-panel[hidden] { display: none; }
.tab-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--sand-pale); border-radius: var(--radius-sm); padding: 8px 8px 18px; }
.cube-stage-md { --s: clamp(150px, 17vw, 215px); }
.tab-copy h3 { font-size: 1.45rem; }
.tab-copy p { color: var(--muted); font-size: 1.06rem; }
.tab-render { margin: 22px 0 0; }
.tab-render img { width: 100%; max-width: 380px; }
.tab-render figcaption { font-size: .85rem; color: var(--muted); margin-top: 2px; }

.cube-extras { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; margin-top: 24px; }
.shelf { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #2a2320; min-height: 320px; }
.shelf img { width: 100%; height: 100%; object-fit: cover; }
.shelf figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 24px 20px; color: #fff; font-weight: 500; font-size: 1.05rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
}
.bases { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; }
.bases img { width: 100%; max-width: 340px; margin: 0 auto 12px; }
.bases h3 { margin-top: auto; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ticks li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.ticks li::before { content: ""; width: 8px; height: 8px; background: var(--teal); transform: rotate(45deg); border-radius: 1px; flex: none; }

/* Pattern explorer */
.explorer { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.explorer-visual { position: sticky; top: calc(var(--header-h) + 24px); display: grid; place-items: center; background: var(--sand-pale); border-radius: var(--radius); padding: 24px 12px; }
.pattern-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.pattern-list button {
  width: 100%; display: flex; gap: 16px; align-items: flex-start; text-align: start;
  font: inherit; color: inherit; background: var(--white); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  padding: 16px 18px; cursor: pointer; box-shadow: 0 1px 2px rgba(20, 30, 28, .05);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pattern-list button:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.pattern-list button[aria-pressed="true"] { border-color: var(--sand); box-shadow: var(--shadow); }
.p-num { font-weight: 700; color: var(--sand); font-size: .95rem; min-width: 26px; padding-top: 2px; direction: ltr; }
.p-body { display: grid; gap: 2px; }
.p-body strong { font-size: 1.08rem; font-weight: 600; }
.p-body em { font-style: normal; font-size: .88rem; color: var(--teal-deep); font-weight: 500; }
.p-text { color: var(--muted); font-size: .96rem; line-height: 1.65; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .35s ease, margin .35s ease; }
.pattern-list button[aria-pressed="true"] .p-text { max-height: 12em; opacity: 1; margin-top: 6px; }

/* QR story card */
.story-card { background: var(--deep); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.story-card .split-copy > p { color: rgba(255, 255, 255, .75); }
.split-reverse .split-media { order: 2; }
.qr-photo { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.step-n { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(207, 176, 138, .16); color: var(--sand-light); font-weight: 700; border: 1px solid rgba(207, 176, 138, .4); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { position: relative; background: var(--white); border-radius: var(--radius); padding: 18px 18px 22px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.product:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20, 30, 28, .06), 0 22px 40px -16px rgba(20, 30, 28, .25); }
.product-img { aspect-ratio: 1; background: var(--stone); border-radius: var(--radius-sm); display: grid; place-items: center; padding: 16px; margin-bottom: 16px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.product:hover .product-img img { transform: scale(1.05); }
.badge { position: absolute; top: 28px; inset-inline-start: 28px; background: var(--teal); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.product h3 { font-size: 1.08rem; margin-bottom: 4px; }
.product p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Investment */
.invest { background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.invest-grid { display: grid; grid-template-columns: 1fr 1.25fr; grid-template-areas: "total roi" "total table"; gap: 20px; }
.invest-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.invest-card h3 { font-size: 1.05rem; color: rgba(255, 255, 255, .9); margin-bottom: 16px; }
.invest-card .muted { color: rgba(255, 255, 255, .66); }
.invest-total { grid-area: total; display: flex; flex-direction: column; }
.invest-card:nth-child(2) { grid-area: roi; }
.invest-table { grid-area: table; }
.big-num { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.1; margin: 0 0 6px; color: var(--sand-light); }
.big-num small { font-size: .38em; font-weight: 600; color: rgba(255, 255, 255, .8); }
.plan { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 0; }
.plan li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.plan li bdi { font-weight: 700; font-size: 1.25rem; min-width: 5.2em; direction: ltr; }
html[dir="rtl"] .plan li bdi { text-align: right; }
.plan li > span { color: rgba(255, 255, 255, .8); }
.invest-total .small { margin-top: auto; margin-bottom: 0; }

/* ROI bars — one series, one hue; values labelled directly, profit on hover/focus */
.roi { position: relative; display: grid; gap: 18px; margin-bottom: 18px; }
.roi-row { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 14px; row-gap: 6px; border-radius: 8px; padding: 4px; margin: -4px; outline-offset: 2px; cursor: default; }
.roi-label { grid-column: 1 / -1; font-size: .95rem; color: rgba(255, 255, 255, .85); line-height: 1.4; }
.roi-track { position: relative; height: 20px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.roi-bar {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: 0;
  background: var(--sand-light); border-radius: 0 4px 4px 0;
  transition: width 1.1s cubic-bezier(.2, .7, .2, 1);
}
html[dir="rtl"] .roi-bar { border-radius: 4px 0 0 4px; }
.roi.in-view .roi-bar { width: calc(var(--v) / 200 * 100%); }
.roi-row:hover .roi-bar, .roi-row:focus-visible .roi-bar { background: #e2c7a3; }
.roi-val { font-weight: 700; font-size: 1.1rem; min-width: 4.6em; text-align: end; }
.roi-tip {
  position: absolute; z-index: 5; pointer-events: none; white-space: nowrap;
  background: #fff; color: var(--ink); font-size: .88rem; font-weight: 600; padding: 8px 12px; border-radius: 8px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transform: translate(-50%, calc(-100% - 10px));
}

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 11px 10px; text-align: start; border-bottom: 1px solid rgba(255, 255, 255, .12); }
thead th { font-weight: 600; color: rgba(255, 255, 255, .66); font-size: .85rem; }
tbody th { font-weight: 600; }
td { font-variant-numeric: tabular-nums; direction: ltr; }
html[dir="rtl"] td { text-align: right; }
.scale-note { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(207, 176, 138, .12); color: rgba(255, 255, 255, .88); font-size: .95rem; }
.disclaimer { margin: 28px 0 0; font-size: .85rem; color: rgba(255, 255, 255, .55); max-width: 70em; }

/* Partner */
.partner-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.ptype { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.ptype-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(77, 137, 124, .12); color: var(--teal-deep); margin-bottom: 16px; }
.ptype-icon svg { width: 24px; height: 24px; }
.ptype p { color: var(--muted); margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.contact-form, .contact-direct { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.contact-form h3, .contact-direct h3 { font-size: 1.3rem; margin-bottom: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 500; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid rgba(29, 40, 38, .16); background: var(--paper);
  transition: border-color .2s, background-color .2s;
}
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field input[aria-invalid="true"] { border-color: #b4452f; }
.field textarea { resize: vertical; min-height: 110px; }
.form-error { color: #b4452f; font-weight: 500; font-size: .95rem; }
.contact-form .small { text-align: center; margin: 12px 0 0; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--paper); text-decoration: none; transition: background-color .2s; }
.contact-list a:hover { background: var(--sand-pale); }
.contact-list svg { width: 24px; height: 24px; color: var(--teal-deep); flex: none; }
.contact-list a > span { display: grid; }
.cl-label { font-size: .82rem; color: var(--muted); }
.contact-list bdi { font-weight: 600; font-size: 1.05rem; }
.initiative { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.initiative p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.initiative img { width: 170px; margin-inline: auto; filter: brightness(0) saturate(100%); opacity: .82; }

/* Footer */
.site-footer { background: var(--stone); padding: 56px 0 40px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-logo { width: 230px; margin-bottom: 10px; }
.footer-tag { color: var(--sand-deep); font-weight: 500; }
.footer-links { display: flex; gap: 10px; color: var(--muted); }
.footer-links a { text-decoration: none; font-weight: 600; color: var(--teal-deep); }
.copyright { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 9px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 2px; margin: 0;
    padding: 12px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .25);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  .main-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .main-nav .nav-cta-mobile { display: block; background: var(--teal); color: #fff; text-align: center; margin-top: 8px; }
  .main-nav .nav-cta-mobile:hover { background: var(--teal-deep); color: #fff; }
  .header-actions { margin-inline-start: auto; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-ctas { justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .split, .explorer { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .explorer-visual { position: relative; top: 0; }
  .tab-panel { grid-template-columns: 1fr; }
  .cube-extras { grid-template-columns: 1fr; }
  .invest-grid { grid-template-columns: 1fr; grid-template-areas: "total" "roi" "table"; }
  .partner-types { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-name { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .stat { padding: 18px; }
  .tab-list { display: flex; border-radius: 16px; }
  .tab-list button { flex: 1; padding: 10px 12px; }
}
