/* Infinity Endure: one stylesheet for both languages.
   Brand: orange #E84B02, cream #FAF6F1, black #000, grey #999EA2.
   League Spartan (EN), Cairo (AR). Solid backgrounds only, no gradients. */

:root {
  --orange: #E84B02;
  --orange-dark: #C23E00;
  --cream: #FAF6F1;
  --cream-2: #F1EBE3;
  --black: #000;
  --ink: #141210;
  --grey: #999EA2;
  --muted: #615B55;
  --line-dark: #222;
  --line-light: #DDD5CB;

  --font: 'League Spartan', system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
html[lang="ar"] { --font: 'Cairo', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { font-size: 18px; line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--orange); color: var(--black); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
}
html[lang="ar"] .label { letter-spacing: 0; font-size: 15px; }

/* ---------- Buttons: thick pill, bold, springy lift ---------- */
.btn {
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60px;
  padding: 8px 8px 8px 30px;
  text-decoration: none;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .55);
  transition: transform .35s var(--spring), background-color .3s var(--ease), box-shadow .35s var(--ease);
}
[dir="rtl"] .btn { padding: 8px 30px 8px 8px; }
html[lang="ar"] .btn { font-size: 19px; }
.btn:hover { transform: translateY(-3px); background: #F25A12; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: 0 6px 14px -10px rgba(0, 0, 0, .5); }
.btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.btn__text { white-space: nowrap; padding-top: 2px; }
html[lang="ar"] .btn__text { padding-top: 0; }
.btn__arrow {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--black); color: var(--cream);
  transition: transform .35s var(--spring);
}
.btn__arrow svg { width: 18px; height: 18px; }
[dir="rtl"] .btn__arrow svg { transform: scaleX(-1); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-8deg); }
[dir="rtl"] .btn:hover .btn__arrow { transform: translateX(-4px) rotate(8deg); }

.btn--small { min-height: 46px; padding: 5px 5px 5px 20px; font-size: 15px; box-shadow: none; }
[dir="rtl"] .btn--small { padding: 5px 20px 5px 5px; }
html[lang="ar"] .btn--small { font-size: 16px; }
.btn--small .btn__arrow { width: 36px; height: 36px; }
.btn--small .btn__arrow svg { width: 15px; height: 15px; }

/* Text link with a line that draws in */
.link {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding-block: 6px;
}
.link::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: currentColor; opacity: .35;
}
.link::before {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
[dir="rtl"] .link::before { transform-origin: right; }
.link:hover::before { transform: scaleX(1); }
.link svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateY(3px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: var(--black); border-color: var(--line-dark); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.header__logo img { width: 92px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  text-decoration: none; font-size: 15px; font-weight: 500; color: #C9C4BD;
  position: relative; padding-block: 4px;
  transition: color .2s;
}
html[lang="ar"] .nav a:not(.btn) { font-size: 16px; }
.nav a:not(.btn):hover { color: var(--cream); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1px; background: var(--orange);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .lang { border: 1px solid #3a3a3a; padding: 5px 10px 3px !important; border-radius: 2px; }
html[lang="ar"] .nav .lang { font-family: 'League Spartan', sans-serif; }
html[lang="en"] .nav .lang { font-family: 'Cairo', sans-serif; padding: 2px 10px 4px !important; }
.nav .lang::after { display: none; }

/* ---------- Hero (black) ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 120px 80px;
  overflow: hidden;
  background: var(--black);
}
.hero__maze {
  position: absolute;
  width: min(1150px, 120vw); aspect-ratio: 1;
  inset-inline-end: -22%;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
}
.hero__maze svg { width: 100%; height: 100%; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero__text .label { margin-bottom: 26px; display: block; }
.hero__title {
  font-size: clamp(56px, 8.4vw, 116px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--orange);
}
.hero__title span { display: block; color: var(--cream); font-size: .4em; letter-spacing: .14em; margin-top: .3em; font-weight: 800; text-transform: uppercase; }
html[lang="ar"] .hero__title { line-height: 1.15; letter-spacing: 0; font-size: clamp(56px, 8vw, 108px); }
html[lang="ar"] .hero__title span { letter-spacing: 0; font-size: .6em; margin-top: .05em; font-weight: 900; }
.hero__sub { margin-top: 30px; max-width: 30ch; font-size: clamp(19px, 1.7vw, 22px); color: #D6D0C8; line-height: 1.45; }
html[lang="ar"] .hero__sub { line-height: 1.75; max-width: 34ch; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px;
  border-block: 1px solid var(--line-dark);
  width: fit-content;
}
.hero__meta li { list-style: none; padding: 12px 22px 10px; font-size: 15px; color: var(--grey); }
.hero__meta li + li { border-inline-start: 1px solid var(--line-dark); }
.hero__meta li:first-child { padding-inline-start: 0; }
.hero__meta strong { color: var(--cream); font-weight: 700; }
.hero__meta ul, ul.hero__meta { padding: 0; margin-block: 30px 0; margin-inline: 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }
.hero__note { margin-top: 18px; font-size: 14px; color: #77736E; }

/* The 3D book */
.book-stage { perspective: 1600px; display: grid; place-items: center; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.book-stage.is-dragging { cursor: grabbing; }
.book img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.book {
  --rx: 4deg; --ry: -24deg;
  position: relative;
  width: min(360px, 70vw);
  aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease);
}
.book.is-moving { transition: transform .25s linear; }
.book__face {
  position: absolute; inset: 0;
  transform: translateZ(14px);
  border-radius: 2px 4px 4px 2px;
  overflow: hidden;
  box-shadow: inset 4px 0 0 rgba(255,255,255,.06);
}
.book__face img { width: 100%; height: 100%; object-fit: cover; }
.book__face::after { /* spine hinge line */
  content: ""; position: absolute; inset-block: 0; left: 9px; width: 2px; background: rgba(0,0,0,.55);
  box-shadow: 1px 0 0 rgba(255,255,255,.06);
}
.book__spine {
  position: absolute; inset-block: 0; left: 0; width: 28px;
  background: #161616;
  border-inline: 1px solid #262626;
  transform-origin: left center;
  transform: translateZ(14px) rotateY(90deg);
}
.book__pages {
  position: absolute; top: 5px; bottom: 5px; right: 0; width: 26px;
  background: repeating-linear-gradient(90deg, #EFE8DE 0 1px, #D6CDC0 1px 2px);
  transform-origin: right center;
  transform: translateZ(13px) rotateY(-90deg);
}
.book__back { position: absolute; inset: 0; background: #070707; transform: translateZ(-14px); border-radius: 2px; }
.book-shadow {
  width: 70%; height: 26px; margin-top: 46px;
  background: #000; border-radius: 50%;
  box-shadow: 0 0 40px 18px rgba(232,75,2,.0), 0 0 30px 10px #000;
  opacity: .9;
}
.book-stage__floor { /* solid shelf line */
  width: 82%; height: 1px; background: var(--line-dark); margin-top: -12px;
}


/* ---------- Cream sections ---------- */
.cream { background: var(--cream); color: var(--ink); position: relative; z-index: 1; }
.section { padding-block: clamp(90px, 12vw, 150px); }
.section + .section { border-top: 1px solid var(--line-light); }

.promise__head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.h2 {
  font-size: clamp(40px, 5.6vw, 78px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.02em;
}
html[lang="ar"] .h2 { line-height: 1.3; letter-spacing: 0; font-weight: 900; }
.h2 em { font-style: normal; color: var(--orange); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 46ch; }

.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.split-words.is-in .w > span { transform: none; }

.lists { display: grid; grid-template-columns: 1fr 1fr; margin-top: 80px; border-top: 2px solid var(--ink); }
.lists > div { padding-top: 26px; }
.lists > div + div { border-inline-start: 1px solid var(--line-light); padding-inline-start: 48px; }
.lists > div:first-child { padding-inline-end: 48px; }
.lists h3 { font-size: 15px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
html[lang="ar"] .lists h3 { letter-spacing: 0; font-size: 18px; }
.lists ul { list-style: none; padding: 0; margin: 0; }
.lists li {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start;
  padding-block: 18px; border-bottom: 1px solid var(--line-light);
  font-size: 19px; line-height: 1.4;
}
html[lang="ar"] .lists li { line-height: 1.7; }
.lists li svg { width: 22px; height: 22px; margin-top: 2px; }
.lists .tick path { stroke: var(--orange); stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .7s var(--ease) .2s; }
.lists .cross path { stroke: var(--ink); stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .5s var(--ease) .2s; }
.lists li.is-in svg path { stroke-dashoffset: 0; }
.lists .wont li { color: var(--muted); }

/* ---------- Inside every way ---------- */
.inside__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.inside__head { position: sticky; top: 120px; align-self: start; }
.inside__head .h2 { font-size: clamp(36px, 4.4vw, 60px); }
.inside__head .label { margin-bottom: 22px; display: block; }

.steps { position: relative; list-style: none; margin: 0; padding: 0; padding-inline-start: 64px; counter-reset: step; }
.steps__track { position: absolute; inset-block: 10px 10px; inset-inline-start: 19px; width: 2px; background: var(--line-light); }
.steps__fill { position: absolute; inset: 0; background: var(--orange); transform-origin: top; transform: scaleY(0); }
.steps li {
  position: relative; counter-increment: step;
  padding-block: 26px; border-bottom: 1px solid var(--line-light);
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.2;
  opacity: .25; transform: translateX(0); transition: opacity .6s var(--ease), color .6s;
}
html[lang="ar"] .steps li { line-height: 1.5; padding-block: 20px; }
.steps li:first-of-type { padding-top: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; inset-inline-start: -64px; top: 30px;
  width: 40px; height: 40px; margin-top: -6px;
  display: grid; place-items: center;
  font-family: 'League Spartan', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  background: var(--cream); color: var(--muted);
  border: 1px solid var(--line-light); border-radius: 50%;
  transition: background .4s, color .4s, border-color .4s;
}
.steps li:first-of-type::before { top: 4px; }
html[lang="ar"] .steps li::before { top: 24px; }
html[lang="ar"] .steps li:first-of-type::before { top: 2px; }
.steps li.is-on { opacity: 1; }
.steps li.is-on::before { background: var(--orange); color: var(--black); border-color: var(--orange); }

.ending {
  margin-top: 56px; padding: 34px 34px 32px; background: var(--black); color: var(--cream);
  display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center;
}
.ending p { font-size: 19px; color: #CFC9C1; }
.ending strong { color: var(--orange); font-weight: 700; }

/* ---------- Marquee band ---------- */
.band { background: var(--orange); color: var(--black); overflow: hidden; border-block: 1px solid var(--black); position: relative; z-index: 1; }
.band__track { display: flex; width: max-content; will-change: transform; animation: band 40s linear infinite; }
@keyframes band { to { transform: translate3d(-50%, 0, 0); } }
.band__item {
  display: flex; align-items: center; gap: 34px; padding: 20px 17px 16px;
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(26px, 3.4vw, 44px); font-weight: 900; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.band__item svg { width: 54px; height: 26px; }

/* ---------- About (black) ---------- */
.about { background: var(--black); color: var(--cream); position: relative; z-index: 1; }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.about__logo { width: 170px; margin-bottom: 40px; }
.about .label { margin-bottom: 22px; display: block; }
.about__text p { font-size: clamp(19px, 1.7vw, 23px); color: #CFC9C1; line-height: 1.55; }
html[lang="ar"] .about__text p { line-height: 1.85; }
.about__text p + p { margin-top: 22px; }
.about__text em { font-style: normal; color: var(--cream); font-weight: 700; }
.pillars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.pillars li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid var(--line-dark);
  padding-block: 18px 14px;
  font-size: clamp(42px, 6.4vw, 92px); font-weight: 900; line-height: 1; letter-spacing: -.02em;
  color: #1E1E1E;
  transition: color .7s var(--ease);
}
html[lang="ar"] .pillars li { letter-spacing: 0; line-height: 1.35; padding-block: 8px 10px; }
.pillars li small { font-family: 'League Spartan', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: #333; transition: color .7s; }
.pillars li.is-on { color: var(--cream); }
.pillars li.is-on small { color: var(--orange); }
.signoff { margin-top: 40px; font-family: 'League Spartan', sans-serif; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); direction: ltr; text-align: start; }
[dir="rtl"] .signoff { text-align: right; }

/* ---------- FAQ (centred) ---------- */
.faq__grid { max-width: 820px; margin-inline: auto; text-align: center; }
.faq__head .label { display: block; margin-bottom: 18px; }
.faq__head .h2 { font-size: clamp(40px, 5vw, 66px); margin-bottom: 50px; }
.contact { margin-top: 50px; }
.contact p { color: var(--muted); font-size: 16px; margin-bottom: 4px; }
.contact a { font-size: 21px; font-weight: 700; color: var(--ink); text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.contact a:hover { color: var(--orange); }
.faq-list { border-top: 2px solid var(--ink); text-align: start; }
.qa { border-bottom: 1px solid var(--line-light); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 26px 24px;
  font-size: clamp(20px, 2vw, 25px); font-weight: 700; line-height: 1.25;
  transition: color .2s;
}
html[lang="ar"] .qa summary { line-height: 1.5; padding-block: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--orange); }
.qa summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.qa__icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line-light); border-radius: 50%; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; translate: -50% -50%; }
.qa__icon::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.qa[open] .qa__icon { background: var(--orange); border-color: var(--orange); color: var(--black); transform: rotate(180deg); }
.qa[open] .qa__icon::after { rotate: 0deg; }
.qa__body { overflow: hidden; }
.qa__body p { padding-bottom: 26px; padding-inline-end: 60px; color: var(--muted); font-size: 18px; }

/* ---------- Final buy strip ---------- */
.buy { background: var(--black); color: var(--cream); position: relative; z-index: 1; padding-block: clamp(80px, 10vw, 120px); }
.buy__in { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; }
.buy__cover { width: 150px; box-shadow: 10px 10px 0 #161616; transform: rotate(-3deg); transition: transform .6s var(--ease); }
.buy__cover:hover { transform: rotate(0); }
.buy__title { font-size: clamp(34px, 4.4vw, 58px); font-weight: 900; line-height: 1; color: var(--orange); }
html[lang="ar"] .buy__title { line-height: 1.3; }
.buy__title span { color: var(--cream); }
.buy__sub { margin-top: 14px; color: var(--grey); font-size: 17px; max-width: 44ch; }
.buy__price { font-family: 'League Spartan', sans-serif; font-size: 64px; font-weight: 900; line-height: 1; margin-bottom: 18px; text-align: end; }
.buy__price small { font-size: 18px; color: var(--grey); font-weight: 600; margin-inline-start: 4px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--grey); border-top: 1px solid var(--line-dark); position: relative; z-index: 1; padding-block: 56px 34px; font-size: 15px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; }
.footer__logo img { width: 110px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  border: 1px solid #2E2E2E; border-radius: 2px; padding: 10px 14px 9px; color: #D6D0C8;
  transition: border-color .25s, color .25s, background .25s;
}
.socials a:hover { border-color: var(--orange); color: var(--cream); }
.socials svg { width: 18px; height: 18px; flex: none; }
.socials span { direction: ltr; unicode-bidi: isolate; font-family: 'League Spartan', sans-serif; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: #6E6A66; font-size: 14px; }
.footer__bottom a { text-decoration: none; color: #AAA49D; }
.footer__bottom a:hover { color: var(--orange); }

/* ---------- One type scale + bolder text (v2) ----------
   display = hero title only · h2 = every section heading · item = big list lines
   body = every paragraph · small = labels and notes. Nothing else. */
:root {
  --fs-h2: clamp(34px, 4.6vw, 58px);
  --fs-item: clamp(24px, 2.6vw, 32px);
  --fs-body: 19px;
  --fs-small: 14px;
}
body { font-weight: 500; }
.label { font-size: var(--fs-small); font-weight: 800; letter-spacing: .14em; }
html[lang="ar"] .label { font-size: 16px; letter-spacing: 0; }
.h2, .inside__head .h2, .faq__head .h2, .buy__title { font-size: var(--fs-h2); font-weight: 900; }
.hero__sub, .lead, .lists li, .ending p, .about__text p, .qa__body p, .buy__sub, .contact a {
  font-size: var(--fs-body); font-weight: 500;
}
.hero__sub { color: #E4DED6; }
.lead, .qa__body p { color: #4A4540; }
.about__text p, .ending p { color: #DAD4CC; }
.lists li { font-weight: 600; }
.lists h3 { font-size: var(--fs-small); font-weight: 800; letter-spacing: .14em; }
.steps li, .qa summary { font-size: var(--fs-item); font-weight: 800; }
.pillars li { font-size: var(--fs-h2); color: #2A2A2A; }
.pillars li small { font-size: var(--fs-small); color: #444; }
.hero__note, .contact p, .footer, .footer__bottom { font-size: var(--fs-small); font-weight: 500; }
.hero__note { color: #8E8984; }
.signoff { font-size: 16px; font-weight: 800; letter-spacing: .12em; color: var(--cream); }
.buy__price { font-size: var(--fs-h2); }
.nav a:not(.btn) { font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* Hero entrance */
.intro > * { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.intro > :nth-child(1) { animation-delay: .1s; }
.intro > :nth-child(2) { animation-delay: .22s; }
.intro > :nth-child(3) { animation-delay: .36s; }
.intro > :nth-child(4) { animation-delay: .48s; }
.intro > :nth-child(5) { animation-delay: .6s; }
.intro > :nth-child(6) { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.book-stage { opacity: 0; animation: bookIn 1.4s var(--ease) .35s forwards; }
@keyframes bookIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav a:not(.btn):not(.lang) { display: none; }
  .hero { padding-block: 110px 90px; }
  .hero__in { grid-template-columns: 1fr; gap: 56px; }
  .hero__maze { inset-inline-end: -55%; top: 62%; }
  .book { width: min(280px, 64vw); }
  .promise__head, .inside__grid, .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .inside__head { position: static; }
  .lists { grid-template-columns: 1fr; margin-top: 56px; }
  .lists > div + div { border-inline-start: 0; padding-inline-start: 0; margin-top: 30px; }
  .lists > div:first-child { padding-inline-end: 0; }
  .buy__in { grid-template-columns: 1fr; gap: 30px; }
  .buy__price { text-align: start; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .header__in { height: 62px; }
  .header__logo img { width: 78px; }
  .nav { gap: 12px; }
  .hero__meta li { padding: 10px 14px 8px; font-size: 14px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .btn .btn__text { flex: 1; text-align: center; }
  .steps { padding-inline-start: 54px; }
  .steps li::before { inset-inline-start: -54px; width: 36px; height: 36px; }
  .steps__track { inset-inline-start: 17px; }
  .ending { grid-template-columns: 1fr; padding: 26px 22px; }
  .qa__body p { padding-inline-end: 0; }
  .header .btn--small .btn__arrow { display: none; }
  .header .btn--small { padding: 5px 18px; }
}


/* ---------- Phone and tablet: centred, book first (v2) ---------- */
@media (max-width: 960px) {
  :root { --fs-h2: 40px; --fs-item: 22px; --fs-body: 18px; --fs-small: 13px; }
  html[lang="ar"] { --fs-h2: 38px; }
  .section { padding-block: 72px; }
  .steps li { padding-block: 16px; }
  .steps li::before { width: 32px; height: 32px; margin-bottom: 8px; font-size: 12px; }
  .qa summary { font-size: 20px; }
  .pillars li { font-size: 44px; }
  .sr-mobile { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* Hero: the book, then the buy button */
  .hero { min-height: 100svh; padding-block: 84px 40px; align-items: center; }
  .hero__in { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
  .hero__text { display: contents; }
  .hero__text > .label, .hero__title, .hero__sub { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .book-stage { order: 1; }
  .book { width: min(250px, 60vw); }
  .book-shadow { margin-top: 22px; height: 18px; }
  .hero__actions { order: 2; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; width: 100%; }
  .hero__actions .btn { width: 100%; max-width: 360px; }
  .hero__actions .btn .btn__text { flex: 1; text-align: center; }
  .hero__note { order: 3; margin-top: 12px; }
  .hero__maze { inset-inline-end: auto; inset-inline-start: 50%; translate: -50% -50%; top: 42%; width: 160vw; }
  [dir="rtl"] .hero__maze { translate: 50% -50%; }

  /* Everything else centred */
  .promise__head, .inside__head, .about__text, .faq__grid, .buy__in { text-align: center; }
  .lead { margin-inline: auto; }
  .steps { padding-inline-start: 0; }
  .steps__track { display: none; }
  .steps li { text-align: center; padding-block: 22px; }
  .steps li::before { position: static; margin: 0 auto 12px; }
  .steps li:first-of-type { padding-top: 0; }
  .ending { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about__logo { margin-inline: auto; }
  .signoff, [dir="rtl"] .signoff { text-align: center; }
  .buy__in { justify-items: center; }
  .buy__cover { margin-inline: auto; }
  .buy__sub { margin-inline: auto; }
  .buy__price { text-align: center; }
  .footer__top, .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .socials { justify-content: center; }
}

/* ---------- Soft cards, Sahteen style (v3) ----------
   Rounded cards with a soft shadow and a dashed inner line, pill tags,
   round icon badges. Used for "what it does / won't do" and the questions. */
:root {
  --radius: 28px;
  --card: #FFFFFF;
  --shadow-1: 0 1px 2px rgba(20,18,16,.06), 0 12px 28px -16px rgba(20,18,16,.35);
  --shadow-2: 0 2px 6px rgba(20,18,16,.08), 0 26px 50px -26px rgba(20,18,16,.5);
  --tint: #FCE6DA;
}
.pill-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 7px; border-radius: 999px;
  font-size: var(--fs-small); font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
html[lang="ar"] .pill-tag { letter-spacing: 0; padding: 6px 16px 7px; font-size: 15px; }

/* What it does / won't do */
.lists { border-top: 0; gap: 20px; margin-top: 56px; align-items: stretch; }
.lists > div, .lists > div + div, .lists > div:first-child {
  position: relative; padding: 34px 30px 26px; margin: 0; border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow-2);
}
.lists > div::before {
  content: ""; position: absolute; inset: 10px; border-radius: 20px;
  border: 1.5px dashed rgba(232,75,2,.28); pointer-events: none;
}
.lists .does { background: var(--card); }
.lists .wont { background: var(--black); color: var(--cream); }
.lists .wont::before { border-color: rgba(250,246,241,.16); }
.lists h3 {
  display: inline-block; margin: 0 0 18px; padding: 8px 16px 7px; border-radius: 999px;
  background: var(--tint); color: var(--orange-dark);
}
html[lang="ar"] .lists h3 { padding: 5px 16px 7px; }
.lists .wont h3 { background: #1F1F1F; color: var(--cream); }
.lists li, .lists .wont li {
  display: flex; align-items: center; gap: 14px; text-align: start;
  padding: 10px 0; border: 0; color: inherit;
}
.lists li svg {
  flex: none; width: 40px; height: 40px; margin: 0; padding: 10px;
  border-radius: 50%; background: var(--tint);
}
.lists .wont li svg { background: #1F1F1F; }
.lists .cross path { stroke: #B9B2AA; }
.lists .wont li span { color: #E4DED6; }

/* Questions */
.faq-list { border-top: 0; display: flex; flex-direction: column; gap: 12px; }
.qa {
  border: 0; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-1);
  padding-inline: 24px; transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.qa:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.qa[open] { box-shadow: var(--shadow-2); }
.qa summary { padding-block: 20px; font-size: 20px; }
html[lang="ar"] .qa summary { padding-block: 16px; }
.qa__icon { width: 38px; height: 38px; border: 0; background: var(--tint); color: var(--orange-dark); }
.qa[open] .qa__icon { background: var(--orange); color: var(--black); }
.qa__body p { padding-bottom: 22px; padding-inline-end: 0; }
.contact { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mail-pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--ink);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .35s cubic-bezier(.34,1.56,.64,1);
}
.mail-pill svg { width: 20px; height: 20px; flex: none; }
.mail-pill span { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
.mail-pill:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.contact a.mail-pill { font-size: 17px; }

/* Pillars: no numbers */
.pillars li { justify-content: center; }
@media (min-width: 961px) { .pillars li { justify-content: flex-start; } }

@media (max-width: 960px) {
  .lists { margin-top: 40px; }
  .lists > div, .lists > div + div, .lists > div:first-child { padding: 30px 22px 20px; text-align: center; }
  .lists li, .lists .wont li { text-align: start; }
  .qa { padding-inline: 18px; }
  .qa summary { font-size: 18px; }
}

/* Inside every way: soft cards, number badge beside the text (v3) */
.steps { display: grid; gap: 10px; padding: 0; }
.steps__track { display: none; }
.steps li, .steps li:first-of-type {
  display: flex; align-items: center; gap: 14px; text-align: start;
  padding: 14px 18px; border: 0; border-radius: 20px;
  background: var(--card); box-shadow: var(--shadow-1);
  font-size: 19px; font-weight: 800; line-height: 1.3;
  opacity: .45; transform: translateY(8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .35s var(--ease);
}
html[lang="ar"] .steps li { line-height: 1.5; padding-block: 12px; }
.steps li::before, .steps li:first-of-type::before, html[lang="ar"] .steps li::before {
  position: static; flex: none; margin: 0;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--tint); color: var(--orange-dark); font-size: 13px;
}
.steps li.is-on { opacity: 1; transform: none; }
.steps li.is-on::before { background: var(--orange); color: var(--black); }
.steps li:hover { box-shadow: var(--shadow-2); }
.ending { border-radius: var(--radius); margin-top: 20px; }
@media (max-width: 960px) {
  .steps li, .steps li:first-of-type { padding: 12px 16px; font-size: 17px; }
  .ending { text-align: center; }
}

/* Steps: the card you are on gets a spinning dashed ring and a dashed outline */
.steps li { position: relative; }
.steps li::before { transition: background .4s, color .4s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.steps li.is-on::before { transform: scale(1.08); }
.steps li::after {
  content: ""; position: absolute; top: 50%; inset-inline-start: 12px;
  width: 50px; height: 50px; margin-top: -25px; border-radius: 50%;
  border: 1.5px dashed var(--orange); opacity: 0; transform: scale(.6);
  transition: opacity .4s, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.steps li.is-current::after { opacity: 1; transform: scale(1); animation: ring 9s linear infinite; }
@keyframes ring { to { rotate: 360deg; } }
.steps li.is-current { box-shadow: var(--shadow-2), inset 0 0 0 1.5px rgba(232,75,2,.0); outline: 1.5px dashed rgba(232,75,2,.45); outline-offset: -7px; }
@media (max-width: 960px) { .steps li::after { inset-inline-start: 10px; } }

/* Shorter on phones: tabs for does / won't, two-column steps */
.tabs { display: none; }
@media (max-width: 960px) {
  .tabs {
    display: flex; gap: 4px; width: fit-content; max-width: 100%; margin: 36px auto 0;
    padding: 5px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-1);
  }
  .tab {
    border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 800;
    padding: 11px 18px 10px; border-radius: 999px; background: transparent; color: var(--muted);
    transition: background .35s var(--ease), color .35s var(--ease);
  }
  html[lang="ar"] .tab { font-size: 16px; padding: 8px 18px 10px; }
  .tab.is-active { background: var(--orange); color: var(--black); }
  .tab[data-tab="wont"].is-active { background: var(--black); color: var(--cream); }
  .lists { margin-top: 16px; display: block; }
  .lists > div { display: none; }
  .lists > div.is-active { display: block; animation: panel .5s var(--ease); }
  .lists h3 { display: none; }
  @keyframes panel { from { opacity: 0; transform: translateY(12px); } }

  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .steps li, .steps li:first-of-type {
    flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 14px; font-size: 16px; line-height: 1.25; min-height: 112px;
  }
  html[lang="ar"] .steps li { line-height: 1.45; padding: 12px 14px; }
  .steps li::after { top: 8px; margin-top: 0; inset-inline-start: 8px; }
}

/* Footer socials: round icon buttons */
.socials { gap: 12px; }
.socials a, .socials a:hover {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border-radius: 50%; border: 1.5px solid #2E2E2E; color: var(--cream); background: transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .4s cubic-bezier(.34,1.56,.64,1);
}
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--black); transform: translateY(-3px) rotate(-6deg); }
.socials svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .intro > *, .book-stage { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
}

/* ---------- Shirts (shop): cards + product panel + size finder ---------- */
.shop__head { text-align: center; max-width: 760px; margin-inline: auto; }
.shop__head .label { display: block; margin-bottom: 18px; }
.shop__head .lead { margin: 22px auto 0; }
.shop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.card { position: relative; background: var(--card); border-radius: 22px; box-shadow: var(--shadow-1); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease), opacity .9s var(--ease); }
.card:hover { box-shadow: var(--shadow-2); }
.card__open { display: block; width: 100%; padding: 0 0 54px; border: 0; background: none; text-align: start; font: inherit; color: var(--ink); cursor: pointer; }
.card__open:focus-visible { outline: 2px solid var(--orange); outline-offset: -4px; }
.card__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #CFCAC4; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__name { display: block; padding: 14px 16px 2px; font-family: 'League Spartan', sans-serif; font-size: var(--fs-body); font-weight: 800; line-height: 1.25; }
html[lang="ar"] .card__name { direction: ltr; unicode-bidi: plaintext; text-align: start; }
.card__meta { display: flex; justify-content: space-between; gap: 8px; padding: 2px 16px 0; font-size: var(--fs-small); color: var(--muted); }
.card__meta strong { color: var(--ink); font-family: 'League Spartan', sans-serif; font-weight: 800; }
.card .swatches { position: absolute; inset-inline-start: 16px; bottom: 16px; }

.swatches { display: flex; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .25s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.swatches--sm .swatch { width: 24px; height: 24px; outline-offset: 2px; }
.swatch--black { background: #0e0e0e; }
.swatch--white { background: #fff; }
.swatch.is-on { outline-color: var(--orange); }
.swatch:hover { transform: scale(1.1); }

/* Product panel: a centred card on desktop, a bottom sheet on phones */
.sheet { width: min(980px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--radius); background: var(--cream); color: var(--ink); box-shadow: var(--shadow-2); overflow: hidden; }
.sheet::backdrop { background: rgba(0,0,0,.6); }
.sheet[open] { animation: sheet-in .45s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } }
.sheet__in { display: grid; grid-template-columns: 1fr 1fr; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.sheet__media { background: #CFCAC4; }
.sheet__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; position: sticky; top: 0; }
.sheet__body { padding: 34px 32px 30px; }
.sheet__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--black); color: var(--cream); cursor: pointer; transition: background .3s, transform .4s cubic-bezier(.34,1.56,.64,1); }
.sheet__close:hover { background: var(--orange); color: var(--black); transform: rotate(90deg); }
.sheet__close svg { width: 18px; height: 18px; }
.sheet__title { font-size: var(--fs-item); font-weight: 900; line-height: 1.15; padding-inline-end: 44px; }
.sheet__title span { display: block; font-family: 'League Spartan', sans-serif; }
html[lang="ar"] .sheet__title span { direction: ltr; unicode-bidi: plaintext; text-align: start; }
.sheet__title small { display: block; margin-top: 6px; font-size: var(--fs-small); font-weight: 700; color: var(--muted); }
.sheet__price { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.sheet__price strong { font-family: 'League Spartan', sans-serif; font-size: var(--fs-item); font-weight: 900; }
.sheet__price span { font-size: var(--fs-small); font-weight: 700; color: var(--orange-dark); }
.sheet__label { margin: 22px 0 10px; font-size: var(--fs-small); font-weight: 800; }
.sheet__error { min-height: 1.4em; margin-top: 6px; font-size: var(--fs-small); font-weight: 700; color: var(--orange-dark); }
.sheet__buy { width: 100%; justify-content: space-between; margin-top: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 54px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-light); background: var(--card); color: var(--ink); font-family: 'League Spartan', sans-serif; font-size: var(--fs-small); font-weight: 800; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.chip:hover { border-color: var(--orange); transform: translateY(-2px); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip[hidden] { display: none; }
.chips--sm .chip { min-width: 46px; height: 36px; padding: 0 10px; }

.finder { margin-top: 18px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-1); padding-inline: 20px; }
.finder summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; cursor: pointer; list-style: none; font-size: var(--fs-body); font-weight: 800; }
.finder summary::-webkit-details-marker { display: none; }
.finder[open] .qa__icon { background: var(--orange); color: var(--black); transform: rotate(180deg); }
.finder[open] .qa__icon::after { rotate: 0deg; }
.finder__body { padding-bottom: 20px; }
.finder__body p, .finder__body label { font-size: var(--fs-small); color: #4A4540; }
.finder--details .finder__body p + p { margin-top: 10px; }
.finder__body .finder__q { display: block; margin: 16px 0 8px; font-weight: 800; color: var(--ink); }
.finder__body .finder__q:first-child { margin-top: 0; }
.finder__hint { margin: 10px 0 8px; }
.fits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fit { padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line-light); background: var(--cream); color: var(--ink); text-align: start; font: inherit; cursor: pointer; transition: border-color .25s, background .25s; }
.fit strong { display: block; font-size: var(--fs-small); font-weight: 800; }
.fit span { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--muted); line-height: 1.35; }
.fit.is-on { border-color: var(--orange); background: var(--tint); }
.chest { display: flex; gap: 8px; }
.chest input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-light); background: var(--cream); font: inherit; font-size: var(--fs-body); font-weight: 700; color: var(--ink); }
.chest input:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.units { display: flex; padding: 4px; border-radius: 999px; background: var(--cream-2); }
.units button { border: 0; padding: 0 14px; border-radius: 999px; background: transparent; font: inherit; font-size: var(--fs-small); font-weight: 800; color: var(--muted); cursor: pointer; }
.units button.is-on { background: var(--ink); color: var(--cream); }
.finder__body .finder__result { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--tint); color: var(--ink); font-weight: 600; }
.finder__result:empty { display: none; }
.finder__result strong { font-family: 'League Spartan', sans-serif; font-weight: 900; color: var(--orange-dark); }
.finder__tip { margin-top: 12px; }
.sizetable { margin-top: 14px; overflow-x: auto; }
.sizetable table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); text-align: center; }
.sizetable th, .sizetable td { padding: 8px 6px; border-bottom: 1px solid var(--line-light); white-space: nowrap; }
.sizetable thead th { font-weight: 800; color: var(--muted); }
.sizetable tbody th { font-family: 'League Spartan', sans-serif; font-weight: 900; }
.sizetable td small { display: block; color: var(--muted); }

@media (max-width: 960px) {
  .shop__grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
  .card { border-radius: 18px; }
  .card__open { padding-bottom: 46px; }
  .card__name { padding: 10px 12px 0; }
  .card__meta { padding: 2px 12px 0; }
  .card .swatches { inset-inline-start: 12px; bottom: 12px; }
  .sheet { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .sheet[open] { animation: sheet-up .45s var(--ease); }
  @keyframes sheet-up { from { transform: translateY(40%); opacity: 0; } }
  .sheet__in { grid-template-columns: 1fr; max-height: 92dvh; }
  .sheet__media img { position: static; }
  .sheet__body { padding: 24px 16px 28px; }
  .finder { padding-inline: 16px; }
  .fits { grid-template-columns: 1fr; }
}

/* Shirts: "Coming soon" over the product panel when Buy is pressed (orders not open yet) */
.soon { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.55); animation: panel .35s var(--ease); }
.soon[hidden] { display: none; }
.soon--page { position: fixed; z-index: 60; }
.soon__box { display: flex; flex-direction: column; align-items: center; gap: 22px; width: min(340px, 100%); padding: 34px 24px 26px; border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow-2); text-align: center; }
.soon__title { font-size: var(--fs-item); font-weight: 900; color: var(--ink); }
.soon .btn--small { padding: 5px 34px; min-width: 140px; }
@keyframes panel { from { opacity: 0; transform: translateY(12px); } }
