/* Ibra & Dabbous · pattern tissue, marker red, blue ink, gold pins, real silk */
:root {
  --tissue: #EFE6D2;
  --tissue-2: #E6DAC0;
  --red: #D2352A;
  --red-2: #B92A20;
  --blue: #274C9E;
  --black: #141414;
  --gold: #C9A033;
  --ink-2: rgba(20, 20, 20, .64);
  --hair: rgba(20, 20, 20, .14);
  --hair-l: rgba(239, 230, 210, .22);
  --display: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --body: 'DM Mono', ui-monospace, monospace;
  --hand: 'Reenie Beanie', cursive;
  --gut: clamp(16px, 3.4vw, 56px);
  --top-h: 64px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  /* one size system for every control */
  --btn-h: 44px; --btn-fs: 13.5px; --btn-px: 22px;
  --chip-h: 34px; --chip-fs: 12px; --chip-px: 14px;
}
html[lang="ar"] { --display: 'Alexandria', 'Syne', sans-serif; --body: 'IBM Plex Sans Arabic', 'DM Mono', sans-serif; --hand: 'Aref Ruqaa', cursive; }

* { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; overflow-x: clip; background: var(--tissue); color: var(--black); font-family: var(--body); font-weight: 300; font-size: 15px; line-height: 1.65; }
html[lang="ar"] body { font-size: 16px; font-weight: 400; }
html[lang="en"] .ar, html[lang="ar"] .en { display: none !important; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--tissue); }
main:focus { outline: none; }

.skip { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 300; background: var(--black); color: var(--tissue); padding: 8px 14px; transform: translateY(-200%); transition: transform .2s; }
.skip:focus { transform: none; }

/* film grain and the visible twelve-column grid */
.grain { position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.cols { position: fixed; inset: 0 var(--gut); z-index: 0; display: grid; grid-template-columns: repeat(12, 1fr); pointer-events: none; }
.cols i { border-inline-start: 1px solid rgba(20, 20, 20, .055); }
.cols i:last-child { border-inline-end: 1px solid rgba(20, 20, 20, .055); }
main, footer { position: relative; z-index: 1; }

/* ---------- intro loader ---------- */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 400; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--tissue); transition: clip-path 1s var(--ease-io); clip-path: inset(0 0 0 0); }
.loader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__mark { width: 84px; height: 84px; }
.loader__mark .lm-needle { fill: #141414; fill-opacity: 0; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s var(--ease) .1s forwards, fillin .4s ease .9s forwards; }
.loader__mark .lm-pin { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .7s var(--ease) .3s forwards; }
.loader__mark .lm-head { transform-origin: 14px 14px; transform: scale(0); animation: pop .5s var(--ease) .7s forwards; }
.loader__mark .lm-thread { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.1s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; } }
@keyframes pop { to { transform: scale(1); } }
.loader__word { margin: 0; overflow: hidden; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .3em; }
html[lang="ar"] .loader__word { letter-spacing: 0; font-size: 18px; }
.loader__word span { display: inline-block; transform: translateY(110%); animation: rise .8s var(--ease) .6s forwards; }
.loader__count { position: absolute; inset-inline-end: var(--gut); bottom: 24px; margin: 0; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--red); }
@keyframes rise { to { transform: none; } }

/* ---------- custom cursor (fine pointers only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { position: fixed; z-index: 250; left: 0; top: 0; display: grid; place-items: center; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red); pointer-events: none; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s; will-change: transform; mix-blend-mode: normal; }
  .cursor span { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .08em; color: var(--tissue); opacity: 0; transition: opacity .2s; white-space: nowrap; }
  .cursor.big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--black); }
  .cursor.big span { opacity: 1; }
  .cursor.hide { opacity: 0; }
  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
}

/* ---------- type and controls ---------- */
.label { margin: 0 0 18px; font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
html[lang="ar"] .label { letter-spacing: 0; font-size: 13px; }
.label--light { color: var(--tissue); opacity: .85; }
.hand { margin: 0; font-family: var(--hand); font-size: 28px; line-height: 1; color: var(--red); transform: rotate(-3deg); }
html[lang="ar"] .hand { font-size: 22px; }
.hand--light { color: var(--tissue); }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6.4vw, 112px); line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
html[lang="ar"] .h2 { letter-spacing: 0; text-transform: none; line-height: 1.25; font-size: clamp(36px, 5.6vw, 96px); }
.h2--light { color: var(--tissue); }
.head { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.note { margin: 18px 0 0; font-size: 12px; color: var(--ink-2); }
.rise .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.rise .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.rise .ln:nth-child(2) > span { transition-delay: .09s; }
.rise.in .ln > span { transform: none; }
.wipe { overflow: hidden; }
.wipe img, .wipe video { clip-path: inset(0 100% 0 0); transform: scale(1.12); transition: clip-path 1.3s var(--ease-io), transform 1.8s var(--ease); }
html[dir="rtl"] .wipe img, html[dir="rtl"] .wipe video { clip-path: inset(0 0 0 100%); }
.wipe.in img, .wipe.in video, html[dir="rtl"] .wipe.in img, html[dir="rtl"] .wipe.in video { clip-path: inset(0 0 0 0); transform: none; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--btn-h); padding: 0 var(--btn-px); border-radius: 999px; border: 1px solid transparent; font-family: var(--body); font-weight: 500; font-size: var(--btn-fs); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; will-change: transform; }
html[lang="ar"] .btn { letter-spacing: 0; font-size: 14px; }
.btn::after { content: ''; position: absolute; inset: -4px; }
.btn--red { background: var(--red); color: var(--tissue); }
.btn--red:hover { background: var(--black); }
.btn--ghost { background: rgba(239, 230, 210, .14); border-color: rgba(239, 230, 210, .7); color: var(--tissue); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--tissue); color: var(--black); }
.btn--black { background: var(--black); color: var(--tissue); }
.btn--black:hover { background: var(--blue); }
.chip { position: relative; white-space: nowrap; display: inline-flex; align-items: center; height: var(--chip-h); padding: 0 var(--chip-px); border-radius: 999px; border: 1px solid var(--hair); background: rgba(239, 230, 210, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--body); font-weight: 500; font-size: var(--chip-fs); letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
html[lang="ar"] .chip { letter-spacing: 0; font-size: 13px; }
.chip::after { content: ''; position: absolute; inset: -5px -2px; }
.chip:hover { border-color: var(--black); }
.chip--red { background: var(--red); border-color: var(--red); color: var(--tissue); }
.chip--red:hover { background: var(--black); border-color: var(--black); }

/* ---------- top bar with the ruler ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 120; height: var(--top-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 0 var(--gut); transition: background .4s, color .4s; }
.top.solid { background: rgba(239, 230, 210, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--hair); }
.top.on-dark:not(.solid) { color: var(--tissue); }
.top.glass-dark { background: rgba(20, 16, 12, .62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top.on-dark:not(.solid) .chip:not(.chip--red) { background: rgba(20, 20, 20, .25); border-color: rgba(239, 230, 210, .4); color: var(--tissue); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .18em; white-space: nowrap; }
html[lang="ar"] .brand { letter-spacing: 0; font-size: 16px; }
.brand img { width: 30px; height: 30px; }
.top.on-dark:not(.solid) .brand img { filter: invert(1) hue-rotate(180deg) saturate(.6); }
.ruler { position: relative; height: 22px; max-width: 520px; width: 100%; justify-self: center; }
.ruler__ticks { position: absolute; inset: 0; background-image: linear-gradient(90deg, currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); background-size: 10% 100%, 2% 45%; background-repeat: repeat-x; background-position: 0 0, 0 100%; opacity: .35; }
.ruler__mark { position: absolute; top: -2px; bottom: -2px; inset-inline-start: var(--p, 0%); width: 2px; background: var(--red); transition: inset-inline-start .15s linear; }
.ruler__n { position: absolute; top: 50%; inset-inline-start: calc(var(--p, 0%) + 8px); transform: translateY(-50%); font-family: var(--display); font-weight: 800; font-size: 11px; color: var(--red); transition: inset-inline-start .15s linear; }
.top__end { display: flex; gap: 8px; }
.chip .sh { display: none; }
.top.on-red .chip--red { background: var(--tissue); color: var(--red); border-color: var(--tissue); }

/* ---------- hero ---------- */
.hero { position: relative; height: 420vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #2a221b; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { background: center / cover no-repeat; }
.hero__video { object-fit: cover; opacity: 0; transition: opacity .8s; transform: translateZ(0); }
.hero__stage.video-ready .hero__video { opacity: 1; }
.scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 16, 12, .45), rgba(20, 16, 12, 0) 30%, rgba(20, 16, 12, 0) 52%, rgba(20, 16, 12, .72)); }
.ring { position: absolute; z-index: 3; right: var(--gut); top: calc(var(--top-h) + 20px); width: 34px; height: 34px; color: var(--tissue); transform: rotate(-90deg); transition: opacity .5s; }
.hero__stage.video-ready .ring, .hero__stage.video-failed .ring { opacity: 0; }
.band { position: absolute; z-index: 2; inset-inline-start: var(--gut); max-width: min(52vw, 760px); color: var(--tissue); text-shadow: 0 1px 2px rgba(10, 8, 6, .8), 0 6px 30px rgba(10, 8, 6, .55); opacity: 0; }
.band--1 { top: calc(var(--top-h) + 28px); opacity: 1; }
.band--2 { top: 22vh; }
.band--3 { top: 24vh; max-width: min(34vw, 540px); }
.kicker { margin: 0; font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 14px; }
.hero__note { margin-top: 14px; color: #FFD3C9; }
.hero__big { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.6vw, 118px); line-height: .92; letter-spacing: -.045em; text-transform: uppercase; transform: translateY(calc((1 - var(--k, 1)) * 40px)); }
html[lang="ar"] .hero__big { letter-spacing: 0; line-height: 1.25; text-transform: none; }
.hero__settle { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.5vw, 40px); line-height: 1.1; letter-spacing: -.02em; transform: translateY(calc((1 - var(--k, 1)) * 30px)); }
html[lang="ar"] .hero__settle { letter-spacing: 0; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; opacity: var(--kb, 1); transform: translateY(calc((1 - var(--kb, 1)) * 14px)); text-shadow: none; }
.hero__name { position: absolute; z-index: 2; left: 0; right: 0; bottom: -0.06em; margin: 0; padding: 0 var(--gut); font-family: var(--display); font-weight: 800; font-size: 13.6vw; line-height: .78; letter-spacing: -.06em; color: var(--tissue); white-space: nowrap; text-align: center; }
html[lang="ar"] .hero__name { font-size: 20vw; line-height: 1.2; letter-spacing: 0; bottom: .1em; }
.hero__name .ln, .foot__word .ln { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__name .ln > span { display: inline-block; transform: translateY(calc((1 - var(--nk, 1)) * 100%)); }
.cue { position: absolute; z-index: 2; inset-inline-end: var(--gut); bottom: 18vh; margin: 0; display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--tissue); }
.cue i { width: 1px; height: 40px; background: var(--tissue); transform-origin: top; animation: cue 2.2s var(--ease-io) infinite; animation-delay: -.4s; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 720px), (orientation: portrait) and (max-width: 1024px), (orientation: portrait) and (pointer: coarse), (orientation: landscape) and (pointer: coarse) and (max-height: 560px), (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
  .band { max-width: none; inset-inline-end: var(--gut); opacity: 1; }
  .band--2 { display: none; }
  .band--3 { top: auto; bottom: calc(30vw + 34px); }
  .hero__settle { font-size: 22px; }
  .cue, .ring { display: none; }
  .scrim { background: linear-gradient(180deg, rgba(20, 16, 12, .5), rgba(20, 16, 12, 0) 28%, rgba(20, 16, 12, .2) 50%, rgba(20, 16, 12, .82)); }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--hair); background: var(--tissue); }
.marquee__track { display: flex; width: max-content; animation: marq 36s linear infinite; }
html[dir="rtl"] .marquee__track { animation-name: marq-rtl; }
.marquee__track span { display: inline-flex; align-items: center; gap: 28px; padding-inline-end: 28px; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 56px); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
html[lang="ar"] .marquee__track span { letter-spacing: 0; }
.marquee__track span:nth-child(odd) { color: var(--red); }
.marquee__track svg { width: .5em; height: .5em; flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes marq-rtl { to { transform: translateX(50%); } }

/* ---------- 01 sequence: tissue to silk ---------- */
.seq { position: relative; height: 560vh; }
.seq__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto; gap: 0 20px; padding: calc(var(--top-h) + 20px) var(--gut) 30px; }
.seq__paper { grid-column: 1 / span 5; grid-row: 1 / span 2; display: grid; grid-template-rows: auto 1fr auto; min-height: 0; }
.pattern { width: 100%; height: 100%; min-height: 0; background-image: linear-gradient(rgba(39, 76, 158, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(39, 76, 158, .1) 1px, transparent 1px); background-size: 20px 20px; border: 1px solid var(--hair); }
.pattern .pc { fill: rgba(255, 255, 255, .35); stroke: var(--black); stroke-width: 1.4; }
.pattern .gr { stroke: var(--blue); stroke-width: 1.2; fill: none; }
.pattern .gr-h { fill: var(--blue); }
.pattern .dart { stroke: var(--black); stroke-width: 1; fill: none; }
.pattern .notch { fill: var(--black); }
.pattern .nl { stroke: var(--red); stroke-width: 1.4; stroke-dasharray: 6 5; fill: none; }
.pattern .pin line { stroke: #8a8a8a; stroke-width: 1.3; }
.pattern .pin circle { fill: var(--gold); stroke: #8b6b16; stroke-width: .6; }
.pattern .lbl { font-family: 'Reenie Beanie', cursive; font-size: 22px; fill: var(--blue); }
html[lang="ar"] .pattern .lbl { font-family: 'Aref Ruqaa', cursive; font-size: 17px; }
.pattern .lbl-r { fill: var(--red); }
.seq__count { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; font-family: var(--display); font-weight: 800; }
.seq__count b { font-size: clamp(56px, 6vw, 96px); line-height: .9; color: var(--red); letter-spacing: -.04em; font-weight: 800; }
.seq__count span { font-size: 18px; color: var(--ink-2); }
.seq__photos { grid-column: 6 / span 7; grid-row: 1; position: relative; min-height: 0; overflow: hidden; border-radius: 2px; background: var(--tissue-2); }
.seq__photos figure { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease-io); }
html[dir="rtl"] .seq__photos figure { clip-path: inset(0 100% 0 0); }
.seq__photos figure.on, html[dir="rtl"] .seq__photos figure.on { clip-path: inset(0 0 0 0); }
.seq__photos figure.past, html[dir="rtl"] .seq__photos figure.past { clip-path: inset(0 0 0 0); }
.seq__photos img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.seq__photos figure.on img { transform: scale(1); }
.seq__photos .tag { position: absolute; z-index: 2; left: 6%; top: 8%; display: flex; align-items: center; gap: 10px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
html[dir="rtl"] .seq__photos .tag { left: auto; right: 6%; }
.seq__photos .tag i { width: 70px; height: 1px; background: #fff; }
.seq__photos .tag .hand { color: #fff; font-size: 30px; }
.seq__text { grid-column: 6 / span 7; grid-row: 2; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: baseline; padding-top: 18px; }
.seq__text h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 48px); letter-spacing: -.03em; text-transform: uppercase; line-height: 1; }
html[lang="ar"] .seq__text h3 { letter-spacing: 0; text-transform: none; line-height: 1.3; }
.seq__text p { margin: 0; max-width: 44ch; color: var(--ink-2); }
.seq__text.swap > * { animation: swap .7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }
.seq__dots { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 10px; }

/* ---------- 02 silhouettes: horizontal ---------- */
.sil { position: relative; height: 380vh; background: var(--tissue-2); }
.sil__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--top-h) + 22px) 0 26px; }
.sil__head { padding: 0 var(--gut); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.sil__head .h2 { font-size: clamp(34px, 4.6vw, 78px); }
.sil__track { display: flex; gap: 24px; padding: 26px var(--gut) 0; min-height: 0; will-change: transform; }
.sil__card { flex: 0 0 min(86vw, 1180px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; min-height: 0; }
.sil__photo { position: relative; margin: 0; overflow: hidden; border-radius: 2px; min-height: 0; }
.sil__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.sil__card:hover .sil__photo img { transform: scale(1.04); }
.sil__photo .hand { position: absolute; left: 22px; bottom: 22px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); font-size: 30px; }
html[dir="rtl"] .sil__photo .hand { left: auto; right: 22px; }
.sil__info { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; gap: 10px; min-height: 0; padding: 6px 0; border-top: 1px solid var(--black); }
.sil__n { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--red); padding-top: 10px; }
.sil__name { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5vw, 88px); line-height: .88; letter-spacing: -.05em; text-transform: uppercase; }
html[lang="ar"] .sil__name { letter-spacing: 0; text-transform: none; line-height: 1.2; }
.sil__flat { min-height: 0; width: 100%; height: 100%; }
.sil__flat .pc { fill: rgba(255, 255, 255, .5); stroke: var(--black); stroke-width: 1.3; }
.sil__flat .gr { stroke: var(--blue); stroke-width: 1.1; }
.sil__flat .lbl { font-family: 'Reenie Beanie', cursive; font-size: 20px; fill: var(--blue); }
html[lang="ar"] .sil__flat .lbl { font-family: 'Aref Ruqaa', cursive; font-size: 15px; }
.sil__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 12px; border-top: 1px solid var(--hair); }
.sil__foot p { margin: 0; max-width: 34ch; color: var(--ink-2); font-size: 14px; }
.sil__price { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--red); white-space: nowrap; }
.sil__bar { margin: 18px var(--gut) 0; height: 2px; background: var(--hair); }
.sil__bar i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
html[dir="rtl"] .sil__bar i { transform-origin: 100% 50%; }

/* ---------- 03 cloth ---------- */
.cloth { position: relative; padding-bottom: 120px; }
.cloth__film { position: relative; height: 92vh; height: 92svh; min-height: 520px; overflow: hidden; background: #4d1018; }
.cloth__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cloth__film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 8, 8, .1), rgba(20, 8, 8, .55)); }
.cloth__filmtext { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: calc(14vh + 48px); }
.swatches { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1440px; margin: -14vh auto 0; padding: 0 var(--gut); }
.sw { position: relative; margin: 0; cursor: default; }
.sw__cloth { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #ccc; box-shadow: 0 28px 50px rgba(20, 20, 20, .28); clip-path: polygon(0% 2%, 2% 0%, 4% 2%, 6% 0%, 8% 2%, 10% 0%, 12% 2%, 14% 0%, 16% 2%, 18% 0%, 20% 2%, 22% 0%, 24% 2%, 26% 0%, 28% 2%, 30% 0%, 32% 2%, 34% 0%, 36% 2%, 38% 0%, 40% 2%, 42% 0%, 44% 2%, 46% 0%, 48% 2%, 50% 0%, 52% 2%, 54% 0%, 56% 2%, 58% 0%, 60% 2%, 62% 0%, 64% 2%, 66% 0%, 68% 2%, 70% 0%, 72% 2%, 74% 0%, 76% 2%, 78% 0%, 80% 2%, 82% 0%, 84% 2%, 86% 0%, 88% 2%, 90% 0%, 92% 2%, 94% 0%, 96% 2%, 98% 0%, 100% 2%, 100% 98%, 98% 100%, 96% 98%, 94% 100%, 92% 98%, 90% 100%, 88% 98%, 86% 100%, 84% 98%, 82% 100%, 80% 98%, 78% 100%, 76% 98%, 74% 100%, 72% 98%, 70% 100%, 68% 98%, 66% 100%, 64% 98%, 62% 100%, 60% 98%, 58% 100%, 56% 98%, 54% 100%, 52% 98%, 50% 100%, 48% 98%, 46% 100%, 44% 98%, 42% 100%, 40% 98%, 38% 100%, 36% 98%, 34% 100%, 32% 98%, 30% 100%, 28% 98%, 26% 100%, 24% 98%, 22% 100%, 20% 98%, 18% 100%, 16% 98%, 14% 100%, 12% 98%, 10% 100%, 8% 98%, 6% 100%, 4% 98%, 2% 100%, 0% 98%); transition: transform .8s var(--ease); }
.sw__cloth img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.sw:hover .sw__cloth { transform: translateY(-10px) rotate(-1.2deg); }
.sw:hover .sw__cloth img { transform: scale(1.08); }
.sw__pin { position: absolute; z-index: 3; top: -6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6df9b, var(--gold) 55%, #7d5d12); box-shadow: 0 3px 6px rgba(0, 0, 0, .35); }
.sw__pin::after { content: ''; position: absolute; left: 6px; top: 12px; width: 1.4px; height: 26px; background: linear-gradient(#999, #ddd); transform: rotate(14deg); transform-origin: top; }
.sw figcaption { padding-top: 16px; }
.sw h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-transform: uppercase; }
html[lang="ar"] .sw h3 { letter-spacing: 0; text-transform: none; }
.sw p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.sw .hand { position: absolute; z-index: 3; top: 18%; inset-inline-end: -8px; font-size: 24px; background: var(--tissue); padding: 2px 8px; }
.weeks > .note { max-width: 1440px; margin: 18px auto 0; padding: 0 var(--gut); }
.cloth__own { max-width: 1440px; margin: 40px auto 0; padding: 0 var(--gut); font-size: 13px; color: var(--ink-2); }

/* ---------- 04 measurements ---------- */
.meas { background: var(--blue); color: var(--tissue); padding: 130px 0 110px; }
.meas__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.meas__big { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(140px, 20vw, 340px); line-height: .8; letter-spacing: -.07em; }
.meas__lede { margin: 18px 0 0; max-width: 34ch; font-size: 15px; }
.meas__photo { margin: 36px 0 0; aspect-ratio: 4 / 3; border-radius: 2px; }
.meas__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); mix-blend-mode: luminosity; }
.meas__photo { background: var(--blue); }
.meas__right { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 40px; align-items: start; }
.form { position: sticky; top: calc(var(--top-h) + 30px); width: 100%; }
.form .fo { fill: none; stroke: rgba(239, 230, 210, .85); stroke-width: 1.4; }
.form .fl { fill: none; stroke: rgba(239, 230, 210, .3); stroke-width: 1; stroke-dasharray: 3 4; }
.form .pt { fill: var(--blue); stroke: var(--tissue); stroke-width: 1.4; transition: fill .3s, r .3s; }
.form .pt.on { fill: var(--gold); stroke: var(--gold); }
.form .pn { font-family: 'DM Mono', monospace; font-size: 9px; fill: var(--tissue); }
.mlist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.mlist li { break-inside: avoid; display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hair-l); font-size: 14px; cursor: default; transition: padding .3s var(--ease), color .3s; }
.mlist li b { font-family: var(--display); font-weight: 800; font-size: 12px; color: var(--gold); min-width: 22px; }
.mlist li:hover, .mlist li.on { padding-inline-start: 8px; color: #fff; }

/* ---------- 05 weeks ---------- */
.weeks { padding: 130px 0 110px; }
.gantt { max-width: 1440px; margin: 56px auto 0; padding: 0 var(--gut); }
.g-head, .g-row { display: grid; grid-template-columns: minmax(170px, 3fr) repeat(11, minmax(0, 1fr)); align-items: center; }
.g-head span { padding: 0 0 10px; font-family: var(--display); font-weight: 800; font-size: 12px; text-align: center; border-bottom: 1px solid var(--black); }
.g-head span:first-child { text-align: start; }
.g-row { position: relative; min-height: 46px; border-bottom: 1px solid var(--hair); }
.g-row > span { font-size: 13.5px; padding-inline-end: 12px; }
.g-row .bar { position: relative; height: 12px; background: var(--black); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s var(--ease); border-radius: 1px; }
html[dir="rtl"] .g-row .bar { transform-origin: 100% 50%; }
.gantt.in .g-row .bar { transform: scaleX(1); }
.g-row .bar.fit { height: 2px; background: var(--red); }
.g-row .gpin { position: relative; justify-self: center; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6df9b, var(--gold) 55%, #7d5d12); box-shadow: 0 3px 6px rgba(0, 0, 0, .25); transform: scale(0); transition: transform .6s var(--ease) .7s; }
.gantt.in .g-row .gpin { transform: scale(1); }
.g-row .gcells { display: contents; }

/* ---------- 06 sew film ---------- */
.sew { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #1b1512; }
.sew video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sew::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 30% 60%, rgba(10, 8, 6, .55), rgba(10, 8, 6, 0) 70%); }
html[dir="rtl"] .sew::after { background: radial-gradient(ellipse 80% 70% at 70% 60%, rgba(10, 8, 6, .55), rgba(10, 8, 6, 0) 70%); }
.sew__text { position: absolute; z-index: 2; inset-inline-start: var(--gut); bottom: 12vh; }
.sew__text .hand { margin-bottom: 14px; font-size: 34px; }

/* ---------- 07 prices index ---------- */
.prices { position: relative; padding: 130px 0 110px; }
.index { list-style: none; max-width: 1440px; margin: 20px auto 0; padding: 0 var(--gut); }
.index li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: baseline; gap: 20px; padding: 18px 0 14px; border-top: 1px solid var(--black); cursor: default; }
.index li:last-child { border-bottom: 1px solid var(--black); }
.index .ix-n { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--red); }
.index .ix-name { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 7.4vw, 140px); line-height: .86; letter-spacing: -.06em; text-transform: uppercase; transition: transform .6s var(--ease), color .4s; }
html[lang="ar"] .index .ix-name { letter-spacing: 0; text-transform: none; line-height: 1.2; }
.index .ix-price { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.2vw, 34px); white-space: nowrap; }
.index .ix-thumb { display: none; }
.index li:hover .ix-name { transform: translateX(18px); color: var(--red); }
html[dir="rtl"] .index li:hover .ix-name { transform: translateX(-18px); }
.peek { position: fixed; z-index: 90; left: 0; top: 0; width: 260px; aspect-ratio: 3 / 4; margin: -170px 0 0 -130px; overflow: hidden; pointer-events: none; clip-path: inset(50% 50% 50% 50%); transition: clip-path .5s var(--ease-io); }
.peek.on { clip-path: inset(0 0 0 0); }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 08 ticket ---------- */
.ticket { background: var(--red); color: var(--tissue); padding: 130px 0; }
.ticket__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); align-items: start; }
.ticket__lede { margin: 22px 0 0; max-width: 40ch; }
.ticket__lede a { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.tk { position: relative; display: grid; gap: 18px; padding: 30px 30px 26px; background: var(--tissue); color: var(--black); border-radius: 4px; box-shadow: 0 30px 60px rgba(60, 10, 6, .35); -webkit-mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, transparent 98%, #000) 100% 0 / 51% 100% no-repeat; mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, transparent 98%, #000) 100% 0 / 51% 100% no-repeat; }
.tk__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1.5px dashed rgba(20, 20, 20, .35); font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
html[lang="ar"] .tk__head { letter-spacing: 0; text-transform: none; }
.tk__head b { color: var(--red); font-weight: 800; }
.tk__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field > span { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ar"] .field > span { letter-spacing: 0; font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(20, 20, 20, .35); border-radius: 0; color: var(--black); font: inherit; font-size: 16px; font-weight: 400; padding: 8px 0; }
.field textarea { resize: vertical; }
.field select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 2px center; padding-inline-end: 20px; }
html[dir="rtl"] .field select { background-position: left 2px center; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.tk__err { margin: 0; min-height: 1.2em; color: var(--red); font-size: 13px; font-weight: 500; }
.tk__foot { position: relative; display: flex; align-items: center; justify-content: space-between; }
.tk__stamp { position: absolute; inset-inline-end: 0; top: 50%; padding: 6px 14px; border: 3px solid var(--blue); border-radius: 6px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .1em; color: var(--blue); transform: translateY(-50%) rotate(-10deg) scale(1.5); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .25s; }
html[lang="ar"] .tk__stamp { letter-spacing: 0; }
.tk__stamp.on { opacity: .9; transform: translateY(-50%) rotate(-10deg) scale(1); }
.tk__ok { margin: 0; font-size: 13.5px; }
.tk__ok:empty { display: none; }

/* ---------- footer ---------- */
.foot { background: var(--black); color: var(--tissue); padding: 90px var(--gut) 30px; overflow: hidden; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 1440px; margin: 0 auto; }
.foot h4 { margin: 0 0 8px; font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .foot h4 { letter-spacing: 0; font-size: 13px; }
.foot__cols p { margin: 0; font-size: 14px; }
.foot__cols a { text-decoration: none; }
.foot__word { margin: 80px 0 0; font-family: var(--display); font-weight: 800; font-size: 13.6vw; line-height: .8; letter-spacing: -.06em; white-space: nowrap; text-align: center; color: var(--tissue); }
html[lang="ar"] .foot__word { font-size: 19vw; line-height: 1.1; letter-spacing: 0; }
.foot__word .ln > span { display: inline-block; }
.foot__base { display: flex; justify-content: space-between; gap: 40px; max-width: 1440px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--hair-l); font-size: 12px; color: rgba(239, 230, 210, .6); }
.foot__base p { margin: 0; max-width: 64ch; }
.credit { white-space: nowrap; }
.credit a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201, 160, 51, .5); }

body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

.seq__photos figcaption { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .ruler { display: none; }
  .top { grid-template-columns: auto 1fr; }
  .top__end { justify-self: end; }
  .seq { height: auto; }
  .seq__stage { position: relative; height: auto; display: block; padding: 90px var(--gut) 40px; }
  .pattern { aspect-ratio: 600 / 640; height: auto; }
  .seq__count { display: none; }
  .seq__photos { display: grid; gap: 34px; overflow: visible; background: none; margin-top: 40px; }
  .seq__photos figure { position: relative; inset: auto; clip-path: none !important; }
  .seq__photos figure img { aspect-ratio: 4 / 5; height: auto; transform: none; }
  .seq__photos figcaption { display: block; padding-top: 12px; }
  .seq__text { display: none; }
  .sil { height: auto; }
  .sil__stage { position: relative; height: auto; overflow: visible; display: block; padding: 90px 0 40px; }
  .sil__track { display: grid; grid-template-columns: minmax(0, 1fr); gap: 50px; transform: none !important; }
  .sil__head { flex-direction: column; align-items: flex-start; gap: 0; }
  .sil__card { min-width: 0; }
  .sil__card { grid-template-columns: minmax(0, 1fr); flex: none; }
  .sil__photo { aspect-ratio: 4 / 5; }
  .sil__flat { height: 220px; }
  .sil__bar { display: none; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meas__grid, .ticket__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .index li { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: 'thumb n' 'thumb name' 'thumb price'; column-gap: 18px; row-gap: 2px; align-items: center; padding: 18px 0; }
  .index .ix-n { grid-area: n; }
  .index .ix-thumb { grid-area: thumb; display: block; width: 76px; height: 100px; object-fit: cover; border-radius: 2px; }
  .index .ix-name { grid-area: name; }
  .index .ix-price { grid-area: price; }
  .peek { display: none; }
  .cols { grid-template-columns: repeat(4, 1fr); }
  .cols i:nth-child(n+5) { display: none; }
}

/* ---------- phone: its own scale ---------- */
@media (max-width: 720px) {
  :root { --top-h: 56px; --btn-h: 42px; --btn-fs: 13px; --btn-px: 18px; --chip-h: 32px; --chip-fs: 11px; --chip-px: 12px; }
  body { font-size: 14px; }
  .brand span { font-size: 11px; letter-spacing: .14em; }
  html[lang="ar"] .brand span { font-size: 14px; letter-spacing: 0; }
  .brand img { width: 26px; height: 26px; }
  .chip .lg { display: none; }
  .chip .sh { display: inline; }
  .top { gap: 10px; }
  .top__end { gap: 6px; }
  .h2 { font-size: clamp(34px, 10.4vw, 46px); }
  html[lang="ar"] .h2 { font-size: clamp(30px, 9vw, 40px); }
  .hand { font-size: 24px; }
  .marquee { padding: 16px 0; }
  .marquee__track span { font-size: 26px; gap: 18px; padding-inline-end: 18px; }
  .sil__name { font-size: clamp(34px, 11vw, 46px); }
  .sil__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sil__price { font-size: 20px; }
  .cloth__film { height: 78svh; min-height: 460px; }
  .cloth__filmtext { bottom: calc(9vh + 36px); }
  .swatches { gap: 16px 14px; margin-top: -9vh; }
  .sw .hand { font-size: 19px; }
  .sw h3 { font-size: 15px; }
  .meas { padding: 90px 0 80px; }
  .meas__big { font-size: 150px; }
  .meas__right { grid-template-columns: minmax(0, 1fr); }
  .form { position: relative; top: auto; max-width: 180px; margin: 0 auto; }
  .mlist { columns: 1; }
  .weeks, .prices { padding: 90px 0 80px; }
  .g-head, .g-row { grid-template-columns: minmax(104px, 1.6fr) repeat(11, minmax(0, 1fr)); }
  .g-row > span { font-size: 11px; line-height: 1.35; padding: 6px 6px 6px 0; }
  .g-head span { font-size: 10px; }
  .g-row .gpin { width: 12px; height: 12px; }
  .index .ix-name { font-size: clamp(28px, 9.4vw, 38px); }
  .index .ix-price { font-size: 18px; }
  .ticket { padding: 90px 0; }
  .tk { padding: 24px 20px 20px; }
  .tk__row { grid-template-columns: minmax(0, 1fr); }
  .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .foot__base { flex-direction: column; gap: 12px; }
  .credit { white-space: normal; }
  .sew__text .hand { font-size: 26px; }
  html[lang="en"] .hero__name .ln, html[lang="en"] .foot__word .ln { display: block; }
  html[lang="en"] .hero__name { line-height: .84; bottom: .1em; }
  .hero__settle br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise .ln > span, .wipe img, .wipe video { transform: none !important; clip-path: none !important; }
  .loader { display: none !important; }
  .g-row .bar, .g-row .gpin { transform: none !important; }
}
