@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-arabic-300-normal.441410df80.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.6010e7fd0d.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-arabic-500-normal.90aef64fea.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-latin-300-normal.dde6d3b237.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-latin-400-normal.9ed8dcb02e.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-latin-500-normal.be6a3b2e37.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Readex Pro";font-style:normal;font-weight:160 700;font-display:swap;src:url(/assets/fonts/readex-pro-latin-wght-normal.7074eeb987.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-latin-400-normal.08949f728d.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-latin-500-normal.01d2854474.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Yildiz public website (apps/site). Oakayu-style (owner pick 2026-10-26): light, airy, soft window light, rounded
   media cards, pill buttons — with more motion. Logical properties throughout (Arabic is the default, right-to-left).
   Tokens first; components only ever read tokens. */

:root {
  --bg: #fafaf8;
  --band: #efeeeb;
  --tile: #e9e8e4;
  --tile-2: #f3f2ef;
  --card: #ffffff;
  --ink: #181715;
  --ink-2: #3a3833;
  --muted: #6f6b64;
  --line: #e0ded9;
  --bar: #1e1d1b;
  --bar-ink: #f4f2ee;
  --pill: rgba(24, 23, 21, 0.07);
  --glass: rgba(255, 255, 255, 0.55);
  --accent: #de7a01;
  --accent-2: #f39a2a;
  --wood-a: #c9a27a;
  --wood-b: #5b4330;
  --panel-a: #dcc6a8;
  --panel-b: #b99a72;
  --groove: #8a6c4a;
  --studio-top: #ecebe8;
  --studio-bottom: #d6d4cf;
  --blind: rgba(40, 32, 24, 0.075);
  --shadow: 0 30px 60px -30px rgba(24, 23, 21, 0.28);
  --radius-l: 28px;
  --radius-m: 18px;
  --radius-s: 12px;
  --font-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --fs-display: clamp(2.5rem, 1.15rem + 4.6vw, 5.6rem);
  --fs-h2: clamp(1.9rem, 1.2rem + 2.3vw, 3.4rem);
  --fs-h3: clamp(1.12rem, 1rem + 0.35vw, 1.35rem);
  --fs-lead: clamp(1.02rem, 0.96rem + 0.28vw, 1.18rem);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --hdr-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light dark;
}

/* Arabic headings in IBM Plex Sans Arabic (one family with the body text); Readex Pro carries the Latin pages. */
:root:lang(ar) { --font-display: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121210;
    --band: #191816;
    --tile: #22211e;
    --tile-2: #2a2926;
    --card: #1f1e1b;
    --ink: #f2f0eb;
    --ink-2: #d8d4cc;
    --muted: #a39e95;
    --line: #2f2d29;
    --bar: #0b0b0a;
    --bar-ink: #f2f0eb;
    --pill: rgba(242, 240, 235, 0.09);
    --glass: rgba(30, 29, 27, 0.55);
    --studio-top: #262522;
    --studio-bottom: #151413;
    --blind: rgba(255, 236, 210, 0.05);
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  }
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:lang(en) body, body:lang(en) { line-height: 1.6; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.skip {
  position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; transition: top .2s;
}
.skip:focus { top: 12px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------------------------------------------------------------- type */
.display, .h2, .mega, .ftr-slogan, .menu-nav a, .stat b {
  font-family: var(--font-display);
  font-weight: 300;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: 1.08; }
.h2 { font-size: var(--fs-h2); line-height: 1.12; }
:lang(en) .display, :lang(en) .h2 { letter-spacing: -0.025em; line-height: 1.02; }
:lang(en) .h2 { line-height: 1.06; }
h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.35; }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 58ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .85rem; font-weight: 400; color: var(--muted); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
:lang(en) .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; }

/* ---------------------------------------------------------------- reveal + split (only with JS) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* The mask needs room below the baseline: Arabic dots (ي ب ج) and Latin descenders sit there. */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .1em .34em; margin-block: -.1em -.34em; }
[data-split] .w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }
.hero-title .line { display: block; }
.js [data-stagger] > * { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--si, 0) * 80ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-display); font-size: .98rem; font-weight: 400; white-space: nowrap;
  transition: background-color .3s, color .3s, transform .4s var(--ease-out), box-shadow .3s;
  transform: translate(var(--mx, 0), var(--my, 0));
}
.pill .ico, .pill .ico-arrow { width: 18px; height: 18px; flex: none; }
.pill-solid { background: var(--ink); color: var(--bg); }
.pill-solid:hover { background: var(--accent); color: #fff; }
.pill-soft { background: var(--pill); color: var(--ink); }
.pill-soft:hover { background: var(--ink); color: var(--bg); }
.pill-glass { background: var(--glass); color: var(--ink); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.pill-glass:hover { background: var(--card); }
[dir="rtl"] .ico-arrow { transform: scaleX(-1); }
.pill:hover .ico-arrow { animation: nudge .7s var(--ease-out); }
@keyframes nudge { 40% { translate: 5px 0; } }
[dir="rtl"] .pill:hover .ico-arrow { animation-name: nudge-rtl; }
@keyframes nudge-rtl { 40% { translate: -5px 0; } }

.more {
  display: inline-flex; align-items: center; gap: 16px; margin-top: clamp(28px, 4vw, 48px);
  font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); font-weight: 300;
  transform: translate(var(--mx, 0), var(--my, 0)); transition: transform .4s var(--ease-out);
}
.round {
  width: 56px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  background: var(--pill); transition: background .35s, color .35s, width .45s var(--ease-out);
}
.round .ico-arrow { width: 18px; height: 18px; }
.more:hover .round { background: var(--ink); color: var(--bg); width: 72px; }

/* ---------------------------------------------------------------- intro (first visit per session) */
.intro { display: none; }
.js.intro .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; background: var(--bar); color: var(--bar-ink);
  animation: intro-up .9s var(--ease) 1.25s forwards;
}
.intro-mark { display: flex; align-items: center; gap: 16px; animation: intro-mark 1.2s var(--ease-out) both; }
.intro-star { width: 64px; height: 60px; }
.intro-star path { fill: var(--accent); stroke: var(--accent); stroke-width: 30; transform-origin: center; transform-box: fill-box; animation: intro-star 1.2s var(--ease-out) both; }
.intro-name { font-family: var(--font-display); font-weight: 300; font-size: 2.4rem; }
:lang(en) .intro-name { letter-spacing: .08em; }
@keyframes intro-star { from { transform: rotate(-140deg) scale(.4); opacity: 0; } }
@keyframes intro-mark { from { opacity: 0; letter-spacing: .4em; } }
@keyframes intro-up { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------------------------------------------------------------- scroll progress + to-top */
.progress { position: fixed; inset-inline: 0; top: 0; height: 2px; z-index: 70; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .progress i { transform-origin: right; }
.to-top {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top .star { width: 20px; height: 20px; fill: var(--accent); transform: rotate(var(--rot, 0deg)); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--line); stroke-width: 2; }
.to-top-ring circle[data-ring] { stroke: var(--accent); stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--p, 0))); }

/* ---------------------------------------------------------------- header */
.hdr {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--hdr-h); color: var(--ink);
  transition: background-color .45s, color .45s, transform .5s var(--ease), box-shadow .45s;
}
.hdr.is-solid { background: var(--bar); color: var(--bar-ink); box-shadow: 0 10px 30px -20px rgba(0,0,0,.5); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.brand .star { width: 30px; height: 28px; fill: var(--accent); transition: transform .8s var(--ease-out); }
.brand:hover .star { transform: rotate(72deg); }
:lang(en) .brand-name { letter-spacing: .06em; text-transform: uppercase; font-size: 1.1rem; }
.hdr-nav { display: flex; gap: 6px; margin-inline-start: auto; }
.hdr-nav a { position: relative; padding: 8px 14px; border-radius: 999px; font-family: var(--font-display); font-size: .96rem; opacity: .82; transition: opacity .3s, background .3s; }
.hdr-nav a:hover { opacity: 1; background: var(--pill); }
.hdr.is-solid .hdr-nav a:hover { background: rgba(255,255,255,.08); }
.hdr-nav a[aria-current="page"] { opacity: 1; }
.hdr-nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 14px; bottom: 3px; height: 1.5px; background: var(--accent); border-radius: 2px; }
.hdr-end { display: flex; align-items: center; gap: 10px; }
.lang-pill { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; font-family: var(--font-display); font-size: .9rem; background: var(--pill); transition: background .3s; }
.hdr.is-solid .lang-pill, .hdr.is-solid .hdr-login { background: rgba(255,255,255,.1); color: var(--bar-ink); }
.hdr.is-solid .hdr-login:hover { background: var(--bar-ink); color: var(--bar); }
.hdr-login { min-height: 44px; }
.menu-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--pill); display: none; place-items: center; position: relative; }
.hdr.is-solid .menu-btn { background: rgba(255,255,255,.1); }
.menu-btn i { position: absolute; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-out); }
.menu-btn i:first-child { transform: translateY(-4px); }
.menu-btn i:last-child { transform: translateY(4px); }
.menu-open .menu-btn i:first-child { transform: rotate(45deg); }
.menu-open .menu-btn i:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bar); color: var(--bar-ink);
  clip-path: circle(0 at var(--cx, 90%) var(--cy, 38px)); transition: clip-path .8s var(--ease);
  display: flex; align-items: center; padding-top: var(--hdr-h);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: circle(150% at var(--cx, 90%) var(--cy, 38px)); }
.menu-open .hdr { color: var(--bar-ink); background: transparent; box-shadow: none; transform: none; }
.menu-in { display: grid; gap: 40px; }
.menu-nav { display: grid; }
.menu-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: clamp(2.2rem, 1.4rem + 4vw, 4.4rem); line-height: 1.25; padding-block: 6px; border-bottom: 1px solid rgba(255,255,255,.1);
  opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), color .3s;
  transition-delay: calc(.15s + var(--i) * 70ms);
}
.menu.is-open .menu-nav a { opacity: 1; transform: none; }
.menu-nav a:hover, .menu-nav a[aria-current="page"] { color: var(--accent-2); }
.menu-nav .ico-arrow { width: 32px; height: 32px; opacity: .5; }
.menu-side { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; opacity: 0; transition: opacity .6s .5s; }
.menu.is-open .menu-side { opacity: 1; }
.menu-side .pill-solid { background: var(--bar-ink); color: var(--bar); }
.menu-lang, .menu-meta { opacity: .75; }
.menu-lang:hover, .menu-meta:hover { opacity: 1; }
.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: max(660px, 100svh); display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: linear-gradient(180deg, var(--studio-top), var(--studio-bottom)); isolation: isolate;
}
.studio { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.studio-glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 72% 38%, rgba(255, 244, 228, .75), transparent 70%); }
[dir="rtl"] .studio-glow { background: radial-gradient(60% 70% at 28% 38%, rgba(255, 244, 228, .75), transparent 70%); }
@media (prefers-color-scheme: dark) {
  .studio-glow { background: radial-gradient(55% 65% at 72% 40%, rgba(222, 122, 1, .14), transparent 70%); }
  [dir="rtl"] .studio-glow { background: radial-gradient(55% 65% at 28% 40%, rgba(222, 122, 1, .14), transparent 70%); }
}
.studio-blinds {
  position: absolute; inset: -25% -30%;
  background: repeating-linear-gradient(104deg, transparent 0 54px, var(--blind) 54px 92px);
  filter: blur(9px); transform: skewY(-6deg);
  -webkit-mask-image: radial-gradient(60% 55% at 40% 35%, #000, transparent 75%);
  mask-image: radial-gradient(60% 55% at 40% 35%, #000, transparent 75%);
  animation: blinds 38s ease-in-out infinite alternate;
}
@keyframes blinds { from { translate: -4% 0; } to { translate: 6% 2%; } }
.hero-stage { position: absolute; inset: 0; z-index: 0; }
.hero-canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-canvas.is-ready { opacity: 1; }
.hero-still {
  position: absolute; inset-inline-end: 12%; top: 50%; height: 64%; width: auto; translate: 0 -50%;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,.22)); animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.hero-in {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
  padding-top: calc(var(--hdr-h) + 40px); padding-bottom: clamp(36px, 7vh, 84px); pointer-events: none;
}
.hero-in a, .hero-in button { pointer-events: auto; }
.hero-copy { max-width: 690px; }
.hero-title { margin-bottom: 22px; }
.hero-lead { color: var(--ink-2); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-now {
  display: grid; gap: 10px; justify-items: end; text-align: end; pointer-events: auto;
  background: var(--glass); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-radius: 20px; padding: 14px 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  animation: rise 1s var(--ease-out) both;
}
.hero-now[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.now-label { font-size: .78rem; color: var(--muted); font-family: var(--font-display); }
:lang(en) .now-label { text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; }
.now-val { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); }
.now-val > * { transition: opacity .35s, transform .45s var(--ease-out); }
.now-val.is-swap > * { opacity: 0; transform: translateY(8px); }
.now-dot { width: 14px; height: 14px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 2px var(--card); }
.now-swatches { display: flex; gap: 8px; }
.now-swatches button {
  width: 30px; height: 30px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  transition: transform .35s var(--ease-out), box-shadow .3s;
}
.now-swatches button:hover { transform: translateY(-3px) scale(1.08); }
.now-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--accent); }
.scroll-cue { position: absolute; inset-inline-start: 50%; bottom: 18px; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--muted); translate: -50% 0; opacity: .6; z-index: 1; }
[dir="rtl"] .scroll-cue { translate: 50% 0; }
.scroll-cue i { position: absolute; inset-inline-start: 50%; top: 8px; width: 3px; height: 8px; margin-inline-start: -1.5px; border-radius: 3px; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: none; opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: clamp(40px, 7vw, 88px); }
.stat { display: grid; gap: 4px; padding-inline: clamp(12px, 3vw, 40px); border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat b { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-family: var(--font-display); }

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(72px, 10vw, 150px); position: relative; }
.band { position: relative; overflow: hidden; }
.band-lit { background: linear-gradient(180deg, var(--bg), var(--band)); }
.band-blinds {
  position: absolute; inset: -10% -20%; pointer-events: none;
  background: repeating-linear-gradient(118deg, transparent 0 70px, var(--blind) 70px 120px);
  filter: blur(14px); opacity: .9;
  -webkit-mask-image: radial-gradient(70% 60% at 80% 20%, #000, transparent 70%);
  mask-image: radial-gradient(70% 60% at 80% 20%, #000, transparent 70%);
  transform: translateY(var(--py, 0));
}
.band-grey { background: var(--band); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); position: relative; }
.sec-head .lead { justify-self: end; }

/* ---------------------------------------------------------------- cards (featured + catalogue designs) */
.cards, .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); position: relative; }
.grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-m); background: var(--tile); overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out), box-shadow .5s;
  text-align: start; width: 100%;
}
.card:hover { box-shadow: var(--shadow); }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 1.1s var(--ease);
}
.card:hover::after { transform: translateX(120%); }
.card-media { aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative; }
.card-media::before { content: ""; position: absolute; bottom: 9%; width: 52%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.22), transparent); transition: transform .8s var(--ease-out), opacity .8s; }
.card-media img { height: 80%; width: auto; max-width: 86%; object-fit: contain; position: relative; transition: transform .9s var(--ease-out); filter: drop-shadow(0 14px 14px rgba(0,0,0,.14)); }
.card:hover .card-media img { transform: translateY(-10px) scale(1.035); }
.card:hover .card-media::before { transform: scale(.8); opacity: .7; }
.card-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 10px 10px; padding: 10px 10px 10px 16px; padding-inline: 16px 10px; background: var(--card); border-radius: var(--radius-s); }
.card-name { display: grid; line-height: 1.3; min-width: 0; }
.card-name b { font-family: var(--font-mono); font-weight: 500; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-name span { font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .round { width: 40px; height: 40px; flex: none; }
.card:hover .round { background: var(--ink); color: var(--bg); transform: rotate(-45deg); }
[dir="rtl"] .card:hover .round { transform: rotate(45deg); }
.card .round { transition: background .35s, color .35s, transform .5s var(--ease-out); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-display); font-size: .72rem; vertical-align: middle; }
.card .badge { position: absolute; top: 12px; inset-inline-start: 12px; }
.is-skel { min-height: 320px; background: linear-gradient(100deg, var(--tile) 30%, var(--tile-2) 50%, var(--tile) 70%); background-size: 300% 100%; animation: shimmer 1.6s linear infinite; border-radius: var(--radius-m); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------------------------------------------------------------- collections */
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(14px, 2vw, 28px); }
.col { display: grid; justify-items: center; gap: 14px; text-align: center; padding-block: 8px; }
.col.is-skel { min-height: 240px; }
.col-art { position: relative; height: clamp(150px, 18vw, 230px); width: 100%; }
.col-art::after { content: ""; position: absolute; bottom: 2%; inset-inline: 0; margin-inline: auto; width: 46%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.2), transparent); transition: transform .9s var(--ease-out), opacity .9s; }
/* Pinned inside the box (absolute + margin auto): a very tall or very wide piece is scaled into it, never past it. */
.col-art img { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: 92%; object-fit: contain; z-index: 1; transition: transform 1s var(--ease-out), opacity .6s; }
.col-art img + img { height: 86%; opacity: 0; transform: translateX(14%) rotate(6deg); }
[dir="rtl"] .col-art img + img { transform: translateX(-14%) rotate(-6deg); }
.col:hover .col-art img:first-child { transform: translateY(-12px) translateX(-10%) rotate(-4deg); }
[dir="rtl"] .col:hover .col-art img:first-child { transform: translateY(-12px) translateX(10%) rotate(4deg); }
.col:hover .col-art img + img { opacity: 1; transform: translateY(-6px) translateX(16%) rotate(5deg); }
[dir="rtl"] .col:hover .col-art img + img { transform: translateY(-6px) translateX(-16%) rotate(-5deg); }
.col:hover .col-art::after { transform: scale(1.25); opacity: .6; }
.col-name { font-family: var(--font-display); font-size: 1.05rem; }
.col-n { font-size: .82rem; color: var(--muted); margin-top: -10px; }

/* ---------------------------------------------------------------- story (sticky) */
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.story-sticky { position: sticky; top: calc(var(--hdr-h) + 8vh); display: grid; gap: 0; }
.story-sticky .lead { margin-top: 18px; }
.story-items { display: grid; margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); padding-top: 24px; }
.story-item { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .7s var(--ease-out); pointer-events: none; }
.story-item.is-on { opacity: 1; transform: none; pointer-events: auto; }
.story-item h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.9rem); font-weight: 300; margin-bottom: 8px; }
.story-item p { color: var(--muted); max-width: 46ch; }
.story-dots { display: flex; gap: 8px; margin-top: 28px; }
.story-dots i { width: 26px; height: 3px; border-radius: 3px; background: var(--line); transition: background .4s, width .5s var(--ease-out); }
.story-dots i.is-on { background: var(--accent); width: 44px; }
.story-media { display: grid; gap: 12vh; }
.story-fig { margin: 0; min-height: min(78vh, 760px); border-radius: var(--radius-l); background: var(--band); display: grid; place-items: center; overflow: hidden; position: relative; padding: 32px; }
.story-fig-1 { background: radial-gradient(80% 70% at 30% 20%, #f6efe4, var(--band)); }
.story-fig-3 { background: linear-gradient(160deg, var(--band), var(--tile)); }
@media (prefers-color-scheme: dark) { .story-fig-1 { background: radial-gradient(80% 70% at 30% 20%, #2b2620, var(--band)); } }
.story-art { width: 100%; display: grid; place-items: center; transform: translateY(var(--py, 0)); }
.story-cap { display: none; }
.cnc { width: min(78%, 380px); height: auto; filter: drop-shadow(0 40px 40px rgba(60, 40, 20, .25)); }
.cnc-groove path { fill: none; stroke: var(--groove); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(1.5px 1.5px 0 rgba(255,255,255,.45)); }
.is-in .cnc-groove path:nth-child(1) { animation: groove1 12s linear infinite; }
.is-in .cnc-groove path:nth-child(2) { animation: groove2 12s linear infinite; }
.is-in .cnc-groove path:nth-child(3) { animation: groove3 12s linear infinite; }
@keyframes groove1 { 0% { stroke-dashoffset: 1; opacity: 1; } 40% { stroke-dashoffset: 0; } 95% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes groove2 { 0%, 40% { stroke-dashoffset: 1; opacity: 1; } 72.6% { stroke-dashoffset: 0; } 95% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes groove3 { 0%, 72.6% { stroke-dashoffset: 1; opacity: 1; } 80% { stroke-dashoffset: 0; } 95% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.cnc-tool { fill: #fff; stroke: var(--accent); stroke-width: 3; filter: drop-shadow(0 0 6px var(--accent)); opacity: 0; }
.is-in .cnc-tool { opacity: 1; }
.mosaic { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: min(100%, 520px); transform: rotate(-8deg) scale(1.08); }
[dir="rtl"] .mosaic { transform: rotate(8deg) scale(1.08); }
.mosaic i { aspect-ratio: 1; border-radius: 12px; background: var(--tile); background-size: cover; background-position: center; box-shadow: 0 10px 20px -12px rgba(0,0,0,.35); }
.is-in .mosaic i { animation: wave 4.8s var(--ease) infinite; animation-delay: calc(var(--i, 0) * 120ms); }
@keyframes wave { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-10px) scale(1.06); } }
.measure { width: min(80%, 380px); height: auto; overflow: visible; }
.m-panel { fill: var(--panel-a); filter: drop-shadow(0 30px 30px rgba(60,40,20,.2)); }
.m-inner { fill: none; stroke: var(--groove); stroke-width: 4; }
.m-dim path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 1.2s var(--ease-out) .2s; }
.m-dim text { fill: var(--ink); font-family: var(--font-mono); font-size: 18px; opacity: 0; transition: opacity .6s .8s; }
.is-in .m-dim path { transform: none; }
.is-in .m-dim text { opacity: 1; }
.track { display: grid; gap: 0; position: relative; width: min(100%, 340px); }
.track li { display: flex; align-items: center; gap: 18px; padding-block: 16px; position: relative; color: var(--muted); font-family: var(--font-display); transition: color .4s; }
.track li::before { content: ""; position: absolute; inset-inline-start: 10px; top: 50%; height: 100%; width: 2px; background: var(--line); }
.track li:last-child::before { display: none; }
.track li::after { content: ""; position: absolute; inset-inline-start: 10px; top: 50%; height: 100%; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.track li.is-done::after { transform: scaleY(1); }
.track li:last-child::after { display: none; }
.track i { width: 22px; height: 22px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); position: relative; z-index: 1; transition: box-shadow .4s, background .4s; }
.track li.is-done { color: var(--ink); }
.track li.is-done i { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 6px rgba(222,122,1,.15); }
.track li.is-now i { animation: ping 1.4s var(--ease) infinite; }
@keyframes ping { 50% { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 12px rgba(222,122,1,0); } }

/* ---------------------------------------------------------------- process */
.steps { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(48px, 8vw, 120px); row-gap: 18px; }
.steps-line { position: absolute; inset-inline-start: 50%; top: 0; bottom: 0; width: 2px; margin-inline-start: -1px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: linear-gradient(var(--accent), var(--accent-2)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: var(--card); border-radius: var(--radius-m); box-shadow: 0 1px 0 var(--line); }
.step:nth-child(even) { grid-column: 1; }
.step:nth-child(odd) { grid-column: 2; margin-top: 60px; }
.step::before { content: ""; position: absolute; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); transition: background .4s, box-shadow .4s; }
.step:nth-child(even)::before { inset-inline-end: calc(-1 * clamp(48px, 8vw, 120px) / 2 - 7px); }
.step:nth-child(odd)::before { inset-inline-start: calc(-1 * clamp(48px, 8vw, 120px) / 2 - 7px); }
.step.is-lit::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(222,122,1,.15); }
.step-n { font-size: .9rem; color: var(--accent); padding-top: 3px; }
.step-body h3 { margin-bottom: 4px; }
.step-body p { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- colours */
.colours-sec { overflow: hidden; }
.mega {
  font-size: clamp(4rem, 1rem + 13vw, 15rem); line-height: 1.05; white-space: nowrap; padding-inline: var(--gutter);
  transform: translateX(var(--shift, 0)); will-change: transform;
}
.mega span {
  background: linear-gradient(90deg, var(--wood-a), var(--wood-b) 45%, var(--accent) 80%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 760px) { .mega { white-space: normal; font-size: clamp(3.4rem, 17vw, 6rem); line-height: 1.1; } }
/* Opens from the centre outwards (a reveal from the right edge never started animating in Chrome). */
.js .mega span { display: inline-block; clip-path: inset(0 50% 0 50%); transition: clip-path 1.6s var(--ease); }
.js .mega.is-in span { clip-path: inset(0 0% 0 0%); }
:lang(en) .mega { letter-spacing: -0.04em; }
.colours-lead { margin-block: 18px 40px; }
.marquee { overflow: hidden; padding-block: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* The strip is laid out left-to-right in both languages (its loop maths), each label keeps the page's direction. */
.marquee-track { display: flex; gap: 14px; width: max-content; will-change: transform; direction: ltr; }
[dir="rtl"] .sw span { direction: rtl; }
.sw {
  position: relative; flex: none; width: clamp(130px, 14vw, 190px); aspect-ratio: 3 / 2; border-radius: 16px; background: var(--tile); background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); transition: transform .5s var(--ease-out), box-shadow .4s; overflow: hidden;
}
.sw:hover { transform: translateY(-8px) scale(1.04); box-shadow: var(--shadow); z-index: 1; }
.sw span { position: absolute; inset-inline: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: var(--card); color: var(--ink); font-size: .8rem; font-family: var(--font-display); width: max-content; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease-out); }
.sw:hover span, .sw:focus-visible span { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- CTA */
.cta-sec { padding-top: 0; }
.cta-card { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--band); padding: clamp(36px, 6vw, 88px); display: grid; gap: 18px; justify-items: start; }
.cta-card .lead { margin-bottom: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cta-actions .more { margin-top: 0; font-size: 1.05rem; }
.cta-star { position: absolute; inset-inline-end: -60px; top: -40px; width: clamp(220px, 30vw, 420px); opacity: .08; animation: spin 60s linear infinite; }
.cta-star .star { width: 100%; height: auto; fill: var(--accent); }
@keyframes spin { to { rotate: 360deg; } }

/* ---------------------------------------------------------------- footer */
.ftr { position: relative; padding-block: clamp(100px, 14vw, 180px) 28px; overflow: hidden; margin-top: clamp(40px, 6vw, 80px); }
.ftr-bg {
  position: absolute; inset: 0; background: linear-gradient(135deg, var(--wood-a), var(--wood-b)); background-size: cover; background-position: center;
  transform: scale(1.12) translateY(var(--py, 0)); filter: saturate(.95);
}
.ftr-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, rgba(0,0,0,.18)); }
.ftr-card { position: relative; background: var(--card); border-radius: 22px; padding: clamp(28px, 4vw, 56px); box-shadow: var(--shadow); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 40px; }
.ftr-slogan { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.2rem); line-height: 1.05; margin-block: 26px 14px; display: grid; }
:lang(en) .ftr-slogan { letter-spacing: -0.03em; }
.ftr-text { color: var(--muted); max-width: 42ch; }
.ftr-col { display: grid; align-content: start; gap: 10px; }
.ftr-h { font-family: var(--font-display); font-size: .85rem; font-weight: 400; color: var(--muted); margin-bottom: 6px; }
:lang(en) .ftr-h { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.ftr-col a { width: fit-content; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .4s var(--ease); }
[dir="rtl"] .ftr-col a { background-position: 100% 100%; }
.ftr-col a:hover { background-size: 100% 1px; }
.ftr-muted { color: var(--muted); font-size: .9rem; }
.ftr-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ftr-social a { padding: 4px 12px; border-radius: 999px; background: var(--pill); text-transform: capitalize; font-size: .85rem; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(40px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.ftr-bottom a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- page hero (products / contact) */
.page-hero { padding-top: calc(var(--hdr-h) + clamp(48px, 8vw, 110px)); padding-bottom: clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--band), var(--bg)); position: relative; overflow: hidden; }
.page-hero .display { margin-bottom: 18px; max-width: 16ch; }
.page-hero .lead { max-width: 60ch; }

/* ---------------------------------------------------------------- catalogue */
.catalogue { padding-bottom: clamp(60px, 8vw, 120px); }
.cat-bar { position: sticky; top: calc(var(--hdr-h) + 10px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 8px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 18px; transition: top .5s var(--ease); }
.hdr-hidden .cat-bar { top: 10px; }
.tabs { position: relative; display: flex; gap: 4px; }
.tabs button { position: relative; z-index: 1; min-height: 44px; padding: 0 20px; border-radius: 999px; font-family: var(--font-display); color: var(--muted); transition: color .35s; }
.tabs button[aria-selected="true"] { color: var(--bg); }
.tab-n { font-size: .78rem; opacity: .7; margin-inline-start: 4px; }
.tabs-ink { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: left .5s var(--ease-out), width .5s var(--ease-out); }
.search { display: flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 16px; border-radius: 999px; background: var(--card); flex: 1 1 260px; max-width: 420px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent); }
.search .ico { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: var(--ink); outline: none; padding: 0; }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 10px; margin-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--pill); font-family: var(--font-display); font-size: .9rem; transition: background .3s, color .3s, transform .3s var(--ease-out); }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--accent); color: #fff; }
.cat-count { color: var(--muted); font-size: .88rem; margin-bottom: 14px; min-height: 1.4em; }
.grid .card { animation: card-in .7s var(--ease-out) both; animation-delay: calc(min(var(--k, 0), 18) * 35ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.grid.is-colours { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.ctile { display: grid; gap: 10px; text-align: start; animation: card-in .7s var(--ease-out) both; animation-delay: calc(min(var(--k, 0), 24) * 25ms); }
.ctile-sw { aspect-ratio: 1; border-radius: var(--radius-m); background: var(--tile); background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); transition: transform .5s var(--ease-out), box-shadow .4s, border-radius .5s var(--ease-out); }
.ctile:hover .ctile-sw { transform: translateY(-6px) rotate(-2deg); box-shadow: var(--shadow); border-radius: 26px; }
.ctile-name { font-family: var(--font-display); font-size: .95rem; line-height: 1.3; }
.ctile-sub { font-size: .78rem; color: var(--muted); }
.cat-state { text-align: center; padding: 60px 16px; color: var(--muted); display: grid; justify-items: center; gap: 16px; }
.cat-state[hidden] { display: none; }

/* drawer */
.drawer { width: min(1120px, 100% - 24px); max-width: none; max-height: min(92vh, 860px); height: 100%; padding: 0; border: 0; border-radius: var(--radius-l); background: var(--card); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(0,0,0,.45); overflow: hidden; opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .45s var(--ease), transform .6s var(--ease-out); }
.drawer.is-open { opacity: 1; transform: none; }
.drawer::backdrop { background: rgba(18, 18, 16, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.drawer-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); height: 100%; }
.drawer-view { position: relative; background: linear-gradient(180deg, var(--studio-top), var(--studio-bottom)); min-height: 320px; touch-action: none; cursor: grab; }
.drawer-view:active { cursor: grabbing; }
.drawer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.drawer-canvas.is-ready { opacity: 1; }
.drawer-still { position: absolute; inset: 0; margin: auto; height: 78%; width: auto; filter: drop-shadow(0 20px 20px rgba(0,0,0,.2)); }
.drawer-hint { position: absolute; bottom: 16px; inset-inline: 0; text-align: center; font-size: .82rem; color: var(--muted); pointer-events: none; }
.drawer-info { overflow-y: auto; padding: clamp(24px, 3vw, 44px); display: grid; align-content: start; gap: 22px; }
.drawer-info .h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); }
.drawer-desc { color: var(--muted); }
.drawer-block h3 { font-size: .95rem; color: var(--muted); margin-bottom: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.drawer-colour { color: var(--ink); }
.variants { display: flex; flex-wrap: wrap; gap: 10px; }
.variants button { width: 64px; height: 84px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; transition: box-shadow .3s, transform .3s var(--ease-out); }
.variants button img { height: 78%; width: auto; }
.variants button:hover { transform: translateY(-3px); }
.variants button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 8px; max-height: 260px; overflow-y: auto; padding: 4px; }
.swatches button { aspect-ratio: 1; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .3s var(--ease-out), box-shadow .3s; }
.swatches button:hover { transform: scale(1.1); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--accent); }
.drawer-note { font-size: .85rem; color: var(--muted); }
.drawer-x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.drawer-x:hover { transform: rotate(90deg); }
.drawer-x i { position: absolute; width: 18px; height: 1.6px; background: currentColor; }
.drawer-x i:first-child { transform: rotate(45deg); }
.drawer-x i:last-child { transform: rotate(-45deg); }
.drawer .pill-solid { justify-self: start; }

/* ---------------------------------------------------------------- about */
.about-hero { padding-top: calc(var(--hdr-h) + clamp(40px, 7vw, 100px)); padding-bottom: clamp(48px, 7vw, 100px); background: linear-gradient(180deg, var(--band), var(--bg)); overflow: hidden; }
.about-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.about-copy .display { margin-bottom: 18px; }
.star-stage { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; display: grid; place-items: center; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line); animation: spin 50s linear infinite; }
.orbit::after { content: ""; position: absolute; top: -5px; inset-inline-start: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.orbit-2 { inset: 13%; animation-duration: 34s; animation-direction: reverse; }
.orbit-2::after { background: var(--wood-a); }
.orbit-3 { inset: 26%; animation-duration: 22s; }
.orbit-3::after { background: var(--ink); width: 7px; height: 7px; }
.star-draw { width: 46%; height: auto; overflow: visible; }
.star-draw path { fill: var(--accent); fill-opacity: 0; stroke: var(--accent); stroke-width: 22; stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .star-draw path { animation: star-draw 2.6s var(--ease) .4s forwards, star-glow 6s ease-in-out 3s infinite; }
html:not(.js) .star-draw path { fill-opacity: 1; stroke-dashoffset: 0; }
@keyframes star-draw { 70% { stroke-dashoffset: 0; fill-opacity: 0; } 100% { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes star-glow { 50% { filter: drop-shadow(0 0 40px rgba(222,122,1,.45)); } }
.about-story-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 80px; align-items: start; }
.about-paras { display: grid; gap: 22px; font-size: var(--fs-lead); color: var(--ink-2); }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 5vw, 64px); }
.values .h2 { margin-bottom: clamp(32px, 5vw, 56px); }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { background: var(--band); border-radius: var(--radius-m); padding: 28px 24px 30px; display: grid; gap: 10px; align-content: start; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out), background .4s; }
.value:hover { background: var(--tile); }
.value p { color: var(--muted); font-size: .95rem; }
.value-glyph { position: relative; width: 56px; height: 56px; margin-bottom: 18px; }
.value-glyph i { position: absolute; border-radius: 50%; }
.glyph-1 i { inset: 0; border: 1.5px solid var(--ink); }
.glyph-1 i:nth-child(2) { inset: 14px; border-color: var(--accent); }
.glyph-1 i:nth-child(3) { inset: 25px; background: var(--accent); border: 0; }
.value:hover .glyph-1 i:nth-child(2) { animation: pulse 1.2s var(--ease) infinite; }
.glyph-2 i { width: 12px; height: 12px; top: 22px; background: var(--line); transition: background .3s; }
.glyph-2 i:nth-child(1) { inset-inline-start: 0; background: var(--accent); }
.glyph-2 i:nth-child(2) { inset-inline-start: 22px; }
.glyph-2 i:nth-child(3) { inset-inline-start: 44px; }
.value:hover .glyph-2 i { animation: dots 1.2s var(--ease) infinite; }
.value:hover .glyph-2 i:nth-child(2) { animation-delay: .15s; }
.value:hover .glyph-2 i:nth-child(3) { animation-delay: .3s; }
.glyph-3 i { width: 30px; height: 30px; }
.glyph-3 i:nth-child(1) { top: 0; inset-inline-start: 0; background: var(--wood-a); }
.glyph-3 i:nth-child(2) { top: 0; inset-inline-start: 26px; background: var(--accent); mix-blend-mode: multiply; }
.glyph-3 i:nth-child(3) { top: 24px; inset-inline-start: 13px; background: var(--ink); opacity: .85; mix-blend-mode: multiply; }
.value:hover .glyph-3 i { animation: wobble 1.6s var(--ease) infinite; }
.glyph-4 i:nth-child(1) { inset: 0; border-radius: 14px; border: 1.5px solid var(--ink); }
.glyph-4 i:nth-child(2) { width: 22px; height: 12px; top: 18px; inset-inline-start: 17px; border-radius: 0; border-inline-start: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
[dir="rtl"] .glyph-4 i:nth-child(2) { transform: rotate(45deg) scaleX(-1); }
.glyph-4 i:nth-child(3) { display: none; }
@keyframes pulse { 50% { transform: scale(1.18); } }
@keyframes dots { 50% { background: var(--accent); transform: translateY(-6px); } }
@keyframes wobble { 50% { transform: translate(3px, -3px) scale(1.06); } }

/* ---------------------------------------------------------------- contact */
.contact-sec { padding-top: clamp(24px, 4vw, 48px); }
.c-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.c-card { position: relative; background: var(--band); border-radius: var(--radius-m); padding: 28px 24px; display: grid; gap: 10px; align-content: start; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out); }
.c-card > .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 12px; }
.c-card h2 { font-family: var(--font-display); font-weight: 400; font-size: .9rem; color: var(--muted); }
.c-big { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.9rem); width: fit-content; }
[dir="rtl"] .c-big { justify-self: end; }
.c-big:hover { color: var(--accent); }
.c-text { font-size: 1.05rem; }
.c-copy { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 6px 14px; border-radius: 999px; background: var(--pill); font-size: .82rem; transition: background .3s, color .3s; }
.c-copy:hover { background: var(--ink); color: var(--bg); }
.c-copy .ico { width: 15px; height: 15px; }
.c-card .more { margin-top: 6px; font-size: 1rem; }
.c-customers { display: flex; gap: 20px; align-items: flex-start; margin-top: 16px; padding: 28px; border-radius: var(--radius-m); border: 1px dashed var(--line); }
.c-customers > .ico { width: 30px; height: 30px; color: var(--accent); flex: none; }
.c-customers h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-bottom: 4px; }
.c-customers p { color: var(--muted); }
.ask-chip { display: inline-block; margin-top: 22px; padding: 8px 18px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-display); animation: rise .8s var(--ease-out) both; }
.ask-chip[hidden] { display: none; }
.toast { position: fixed; inset-inline-start: 50%; bottom: 24px; z-index: 80; translate: -50% 0; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-family: var(--font-display); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .5s var(--ease-out); pointer-events: none; }
[dir="rtl"] .toast { translate: 50% 0; }
.toast.is-on { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100svh; display: grid; align-items: center; padding-top: var(--hdr-h); background: linear-gradient(180deg, var(--band), var(--bg)); }
.nf-in { display: grid; justify-items: start; gap: 14px; }
.nf-star { width: 90px; height: auto; overflow: visible; margin-bottom: 20px; }
.nf-star path { fill: none; stroke: var(--accent); stroke-width: 40; stroke-dasharray: .7 .3; animation: nf 6s linear infinite; }
@keyframes nf { to { stroke-dashoffset: -2; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .menu-btn { display: grid; }
  .hdr-end { margin-inline-start: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-sticky { position: static; }
  .story-items, .story-dots { display: none; }
  .story-media { gap: 18px; }
  .story-fig { min-height: 0; padding: 28px 22px 26px; grid-template-rows: auto auto; gap: 22px; }
  .story-art { min-height: 300px; }
  .story-cap { display: grid; gap: 6px; width: 100%; }
  .story-cap h3 { font-size: 1.3rem; font-weight: 300; }
  .story-cap p { color: var(--muted); }
  .about-hero-in, .about-story-in { grid-template-columns: 1fr; }
  .star-stage { width: min(78%, 380px); order: -1; }
  .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .numbers .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .drawer { width: 100%; max-height: none; height: 100%; border-radius: 0; margin: 0; max-width: 100%; }
  .drawer-in { grid-template-columns: 1fr; grid-template-rows: 46vh auto; overflow-y: auto; }
  .drawer-info { overflow: visible; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 64px; }
  .hdr-login { display: none; }
  .hero { min-height: max(640px, 100svh); }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(0deg, var(--studio-bottom) 0%, var(--studio-bottom) 28%, transparent 58%); }
  .hero-in { grid-template-columns: 1fr; padding-bottom: 72px; gap: 18px; }
  .hero-now { justify-items: start; text-align: start; padding: 10px 12px; width: fit-content; }
  .hero-now .now-label { display: none; }
  .hero-still { inset-inline-end: 50%; translate: 50% 0; top: 13%; height: 46%; }
  [dir="rtl"] .hero-still { translate: -50% 0; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .stats { grid-template-columns: 1fr; gap: 22px; }
  .stat, .stat:first-child { border-inline-start: 0; padding-inline: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; padding-inline-start: 34px; }
  .steps-line { inset-inline-start: 8px; margin-inline-start: 0; }
  .step:nth-child(even), .step:nth-child(odd) { grid-column: 1; margin-top: 0; }
  .step:nth-child(even)::before, .step:nth-child(odd)::before { inset-inline-start: -33px; inset-inline-end: auto; }
  .ftr-top { grid-template-columns: 1fr; }
  .cat-bar { border-radius: 22px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; }
  .search { max-width: none; }
  .value-grid { grid-template-columns: 1fr; }
  .to-top { width: 46px; height: 46px; inset-inline-end: 14px; bottom: 14px; }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-bar { margin: 0 6px 6px; padding-inline: 10px 6px; }
  .card .round { width: 32px; height: 32px; }
  .card-name b { font-size: .9rem; }
  .numbers { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-stagger] > *, .js [data-split] .w > span { opacity: 1; transform: none; }
  .js .mega span { clip-path: none; }
  .studio-blinds, .cta-star, .orbit { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
