/* =========================================================
   سدو للتسويق — the page is read like one long Sadu rug:
   bands of goat-hair black, undyed wool and madder red,
   joined by woven strips and finished with a fringe.
   ========================================================= */

:root {
  /* palette — the dyes of a Sadu tent */
  --night: #1B1311;        /* goat hair */
  --night-2: #241916;
  --night-3: #33241F;
  --wool: #F4ECDF;         /* undyed wool */
  --wool-2: #EADDC8;
  --wool-3: #D9C7A8;
  --madder: #922326;       /* madder root red (brand) */
  --madder-deep: #6E1A1D;
  --madder-hi: #A82C2F;
  --saffron: #C9962B;      /* saffron / ochre */
  --saffron-hi: #E2B452;
  --ink: #2A1F1B;
  --ink-soft: #5E4F47;

  --on-night: var(--wool);
  --on-night-soft: rgba(244, 236, 223, .72);
  --line-night: rgba(244, 236, 223, .14);
  --line-wool: rgba(42, 31, 27, .14);

  --f-display: "Reem Kufi", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --f-num: "Handjet", ui-monospace, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-pad: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--on-night);
  font: 400 1.0625rem/1.85 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

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

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--saffron);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 .95rem/1.4 var(--f-body);
  color: var(--eyebrow, var(--saffron));
}
/* the Sadu "eye": a diamond within a diamond */
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  background: currentColor;
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px var(--eyebrow-gap, var(--night)), 0 0 0 4.5px currentColor;
  margin-inline-end: 4px;
}

.h2 {
  margin-top: 16px;
  font: 700 clamp(2.1rem, 4.4vw, 3.6rem)/1.25 var(--f-display);
  text-wrap: balance;
}

.sec__lead {
  margin-top: 20px;
  max-width: 38em;
  font-size: clamp(1.05rem, 1.3vw, 1.175rem);
  color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 3px;
  font: 600 1rem/1.2 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .25s, color .25s, border-color .25s, translate .35s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--madder); color: var(--wool); }
.btn--primary:hover { background: var(--madder-hi); }
/* a woven selvedge along the bottom of every primary button */
.btn--primary::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 4px;
  background-image:
    linear-gradient(90deg, var(--saffron) 50%, var(--madder-deep) 0),
    linear-gradient(90deg, var(--madder-deep) 50%, var(--saffron) 0);
  background-size: 8px 2px, 8px 2px;
  background-position: 0 0, 0 2px;
  background-repeat: repeat-x;
  transform: scaleX(.18);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.btn--primary:hover::after { transform: scaleX(1); }

.btn--ghost { border-color: rgba(244, 236, 223, .35); color: var(--wool); }
.btn--ghost:hover { background: var(--wool); color: var(--night); border-color: var(--wool); }

.btn--line { border-color: rgba(201, 150, 43, .7); color: var(--wool); }
.btn--line svg { color: var(--saffron); }
.btn--line:hover { background: var(--saffron); border-color: var(--saffron); color: var(--night); }
.btn--line:hover svg { color: var(--night); }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color .3s, box-shadow .3s, transform .45s var(--ease);
}
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 3px;
  background-image:
    linear-gradient(90deg, var(--saffron) 50%, var(--madder) 0),
    linear-gradient(90deg, var(--madder) 50%, var(--saffron) 0);
  background-size: 8px 50%, 8px 50%;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x;
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
}
.hdr.is-solid {
  background: rgba(27, 19, 17, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-night);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--hdr-h);
}
.hdr__logo img { height: 30px; width: auto; }
.hdr__nav { display: flex; gap: 30px; }
.hdr__nav a {
  position: relative;
  padding-block: 6px;
  color: var(--on-night-soft);
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.hdr__nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.hdr__nav a:hover,
.hdr__nav a[aria-current="true"] { color: var(--wool); }
.hdr__nav a:hover::after,
.hdr__nav a[aria-current="true"]::after { transform: scaleX(1); }
.hdr__cta { margin-inline-start: auto; }

.burger {
  display: none;
  margin-inline-start: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-night);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 61;
}
.burger span {
  position: absolute;
  inset-inline: 12px;
  height: 2px;
  background: var(--wool);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: calc(var(--hdr-h) + 24px) var(--gutter) 0;
  background: var(--night);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  padding-block: 14px;
  border-bottom: 1px solid var(--line-night);
  font: 600 1.75rem/1.3 var(--f-display);
  text-decoration: none;
}
.menu__cta { margin-top: 32px; }
.menu__strip { margin-top: auto; margin-inline: calc(var(--gutter) * -1); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--hdr-h) + clamp(36px, 6vh, 72px));
  background: var(--night);
  color: var(--on-night);
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 62vw;
  height: 62vw;
  left: -16vw;
  top: -8vw;
  background: radial-gradient(circle, rgba(146, 35, 38, .26), transparent 62%);
  animation: glow-a 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 40vw;
  height: 40vw;
  right: -10vw;
  bottom: -12vw;
  background: radial-gradient(circle, rgba(201, 150, 43, .10), transparent 62%);
  animation: glow-b 20s ease-in-out infinite alternate;
}
@keyframes glow-a { to { transform: translate(14vw, 8vw) scale(1.15); } }
@keyframes glow-b { to { transform: translate(-12vw, -6vw) scale(.9); } }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero__title {
  margin: 22px 0 26px;
  font: 700 clamp(2.4rem, 4.8vw, 4.25rem)/1.22 var(--f-display);
}
.hero__lead {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--on-night-soft);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* the key word gets a woven underline once the loom finishes */
.woven-word { position: relative; display: inline-block; }
.woven-word::after {
  content: "";
  position: absolute;
  inset-inline: -.04em;
  bottom: -.06em;
  height: .13em;
  background-image:
    linear-gradient(90deg, var(--madder) 50%, var(--saffron) 0),
    linear-gradient(90deg, var(--saffron) 50%, var(--madder) 0);
  background-size: .26em 50%, .26em 50%;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1s var(--ease);
}
.is-woven .woven-word::after,
.no-js .woven-word::after { transform: scaleX(1); }

/* ---------- loom ---------- */
.loom-wrap { width: 100%; max-width: 410px; margin-inline: auto; }
.loom {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.loom__frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: #100B09;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
/* loom beams */
.loom__frame::before,
.loom__frame::after {
  content: "";
  position: absolute;
  inset-inline: -16px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(#4A3328, #2A1C16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 10px rgba(0, 0, 0, .4);
}
.loom__frame::before { top: -14px; }
.loom__frame::after { bottom: -14px; }
.loom canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loom__shuttle {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 10px;
  background: linear-gradient(90deg, #7A5516, var(--saffron-hi) 50%, #7A5516);
  clip-path: polygon(0 50%, 18% 0, 82% 0, 100% 50%, 82% 100%, 18% 100%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6));
  opacity: 0;
  transition: opacity .35s;
  will-change: transform;
  pointer-events: none;
}
.loom.is-weaving .loom__shuttle { opacity: 1; }

.loom__cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 18px;
  padding-inline: 16px;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--on-night-soft);
}
.loom__hint { color: var(--saffron); }
.loom:hover + .loom__cap .loom__hint { color: var(--saffron-hi); }
.no-js .loom__hint { display: none; }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-night);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 30px clamp(16px, 2.4vw, 32px) 40px;
  border-inline-start: 1px solid var(--line-night);
}
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat__num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font: 300 clamp(3.4rem, 6.4vw, 5.8rem)/.9 var(--f-num);
  color: var(--wool);
  font-variant-numeric: tabular-nums;
}
.stat__plus { color: var(--saffron); font-weight: 500; }
.stat__label { color: var(--on-night-soft); font-size: 1rem; }

/* =========================================================
   WOVEN STRIPS + FRINGE
   ========================================================= */
.strip {
  position: relative;
  display: block;
  height: 54px;
  /* fallback when the canvas can't draw: plain dhurs checks */
  background-color: var(--night);
  background-image:
    linear-gradient(90deg, var(--madder) 50%, var(--wool) 0),
    linear-gradient(90deg, var(--wool) 50%, var(--madder) 0);
  background-size: 14px 50%, 14px 50%;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x;
}
.strip { overflow: hidden; }
.strip.is-drawn { background: var(--night); }
.strip canvas { position: absolute; top: 0; left: 0; height: 100%; max-width: none; }
.strip.is-live canvas { animation: strip-drift var(--dur, 10s) linear infinite; }
.strip--rev.is-live canvas { animation-direction: reverse; }
@keyframes strip-drift { to { transform: translateX(calc(var(--loop, 0px) * -1)); } }
.strip--lg { height: 72px; }
.strip--sm { height: 30px; }

.fringe {
  height: 38px;
  background: repeating-linear-gradient(90deg,
    rgba(234, 221, 200, .9) 0 2px, transparent 2px 5px,
    rgba(234, 221, 200, .75) 5px 7px, transparent 7px 16px);
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.sec { padding-block: var(--sec-pad); }
.sec--wool   { background: var(--wool);   color: var(--ink); --muted: var(--ink-soft); --eyebrow: var(--madder); --eyebrow-gap: var(--wool); }
.sec--wool2  { background: var(--wool-2); color: var(--ink); --muted: var(--ink-soft); --eyebrow: var(--madder); --eyebrow-gap: var(--wool-2); }
.sec--night  { background: var(--night);  color: var(--on-night); --muted: var(--on-night-soft); }
.sec--madder {
  color: var(--wool);
  --muted: rgba(244, 236, 223, .85);
  --eyebrow: var(--wool);
  --eyebrow-gap: var(--madder);
  /* faint weft ridges, like dyed wool */
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 7px),
    var(--madder);
}
.sec__head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 76px); }

/* ---------- story ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.story__text .h2 { margin-bottom: 30px; }
.story__text p:not(.eyebrow) {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.3vw, 1.175rem);
  color: var(--ink-soft);
}
.story__text p + p { margin-top: 18px; }
.story__media { overflow: hidden; aspect-ratio: 5 / 6; --s-end: 1.16; }
.story__media img { width: 100%; height: 100%; object-fit: cover; scale: var(--s-end); }

.values { margin-top: clamp(64px, 9vw, 120px); }
.values__title {
  font: 600 1rem/1.4 var(--f-body);
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.values__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.value { padding-top: 22px; border-top: 2px solid var(--ink); }
.value h4 { font: 700 1.5rem/1.3 var(--f-display); color: var(--madder); }
.value p { margin-top: 8px; font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }

/* ---------- services (threads) ---------- */
.threads { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-night); }
.thread {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding-block: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line-night);
}
/* a short length of the thread's weave */
.thread__swatch {
  width: 14px;
  height: 48px;
  background-image:
    linear-gradient(var(--c) 50%, var(--c2) 0),
    linear-gradient(var(--c2) 50%, var(--c) 0);
  background-size: 50% 8px, 50% 8px;
  background-position: 0 0, 100% 0;
  background-repeat: repeat-y;
}
.thread__name {
  font: 600 clamp(1.4rem, 2.3vw, 1.95rem)/1.35 var(--f-display);
  transition: color .3s;
}
.thread__en {
  font: 400 .95em/1 var(--f-num);
  color: var(--on-night-soft);
  margin-inline-start: .15em;
}
.thread__desc { color: var(--on-night-soft); }
/* hover: the thread is pulled through the whole row */
.thread::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 4px;
  background-image:
    linear-gradient(90deg, var(--c) 50%, var(--c2) 0),
    linear-gradient(90deg, var(--c2) 50%, var(--c) 0);
  background-size: 10px 2px, 10px 2px;
  background-position: 0 0, 0 2px;
  background-repeat: repeat-x;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .7s var(--ease);
}
.thread:hover::after { transform: scaleX(1); }
.thread:hover .thread__name { color: var(--saffron-hi); }

.services__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 44px;
  color: var(--on-night-soft);
}
.services__more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--saffron-hi);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.services__more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.services__more a:hover svg { transform: translateX(-5px); }

/* ---------- why / results ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.why__list { margin: 40px 0 0; padding: 0; list-style: none; }
.why__list li { padding-block: 22px; border-top: 1px solid rgba(244, 236, 223, .22); }
.why__list h3 { font: 600 1.45rem/1.4 var(--f-display); }
.why__list p { margin-top: 6px; color: var(--muted); }

.why__results {
  padding: clamp(28px, 4vw, 48px);
  background: var(--night);
  color: var(--on-night);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.why__results-title { font: 700 1.6rem/1.35 var(--f-display); }
.why__results-lead { margin-top: 10px; color: var(--on-night-soft); }
.metrics { margin-top: 26px; }
.metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--line-night);
}
.metric dt { color: var(--on-night-soft); }
.metric dd {
  direction: ltr;
  font: 400 clamp(2.8rem, 4.6vw, 3.8rem)/1 var(--f-num);
  color: var(--saffron-hi);
}

/* ---------- work ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.case__img {
  overflow: hidden;
  aspect-ratio: 361 / 288;
  background: var(--wool-2);
  border: 1px solid var(--line-wool);
}
.case { transition: translate .5s var(--ease); }
.case:hover { translate: 0 -6px; }
.case__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .8s var(--ease);
}
.no-js .case:hover .case__img img { scale: 1.06; }
.case__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-top: 20px;
  border-bottom: 1px solid var(--line-wool);
  padding-bottom: 20px;
  position: relative;
}
.case__meta::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 4px;
  background-image:
    linear-gradient(90deg, var(--madder) 50%, var(--wool-3) 0),
    linear-gradient(90deg, var(--wool-3) 50%, var(--madder) 0);
  background-size: 10px 2px, 10px 2px;
  background-position: 0 0, 0 2px;
  background-repeat: repeat-x;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .7s var(--ease);
}
.case:hover .case__meta::after { transform: scaleX(1); }
.case__tag { font-size: .92rem; font-weight: 600; color: var(--madder); }
.case__title { margin-top: 4px; font: 600 1.4rem/1.35 var(--f-display); }
.case__result { display: flex; flex-direction: column; align-items: flex-end; text-align: left; flex: none; }
.case__result strong {
  direction: ltr;
  font: 500 2.5rem/1 var(--f-num);
  color: var(--madder);
}
.case__result .case__result--word { font: 600 1.05rem/1.4 var(--f-body); direction: rtl; }
.case__result > span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- journey ---------- */
.journey__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.journey__head .sec__head { margin-bottom: 0; }
.journey__head .btn { flex: none; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* the weft thread running through the three stages */
.steps::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 19px;
  height: 6px;
  background-image:
    linear-gradient(90deg, var(--madder) 50%, var(--wool-3) 0),
    linear-gradient(90deg, var(--wool-3) 50%, var(--madder) 0);
  background-size: 12px 3px, 12px 3px;
  background-position: 0 0, 0 3px;
  background-repeat: repeat-x;
}
.js .steps::before { clip-path: inset(0 0 0 100%); transition: clip-path 1.8s var(--ease); }
.js .steps.is-in::before { clip-path: inset(0); }

.step__node {
  position: relative;
  z-index: 1;
  display: block;
  width: 44px;
  height: 44px;
}
.step__node::before,
.step__node::after {
  content: "";
  position: absolute;
  inset: 7px;
  transform: rotate(45deg);
  background: var(--madder);
  box-shadow: 0 0 0 5px var(--wool-2);
}
.step__node::after { inset: 16px; background: var(--saffron); box-shadow: none; }
.js .step__node { transform: scale(0); transition: transform .5s var(--ease); }
.js .steps.is-in .step__node { transform: scale(1); }
.js .steps.is-in .step:nth-child(1) .step__node { transition-delay: .1s; }
.js .steps.is-in .step:nth-child(2) .step__node { transition-delay: .75s; }
.js .steps.is-in .step:nth-child(3) .step__node { transition-delay: 1.4s; }

.step__num {
  display: block;
  margin-top: 26px;
  font: 400 2.4rem/1 var(--f-num);
  color: var(--madder);
}
.step h3 { margin-top: 10px; font: 700 1.7rem/1.35 var(--f-display); }
.step p { margin-top: 10px; color: var(--ink-soft); max-width: 22em; }

/* ---------- testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line-night);
}
.quote blockquote {
  font: 500 clamp(1.1rem, 1.5vw, 1.25rem)/1.9 var(--f-body);
  color: var(--wool);
}
.quote blockquote::before {
  content: "”";
  display: block;
  height: .42em;
  margin-bottom: 14px;
  font: 400 5.5rem/1 Georgia, "Times New Roman", serif;
  color: var(--saffron);
}
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: .95rem; color: var(--on-night-soft); }
.quote figcaption strong { display: block; color: var(--wool); font-weight: 600; font-size: 1.02rem; }
.quote__av {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  background: var(--madder);
  color: var(--wool);
  font: 700 1.2rem/1 var(--f-display);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.faq__side { position: sticky; top: calc(var(--hdr-h) + 32px); }
.faq__ask {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--madder);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.faq__ask svg { width: 20px; height: 20px; }
.faq__list { border-top: 2px solid var(--ink); }
.faq__list details { border-bottom: 1px solid var(--line-wool); }
.faq__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
  font: 600 clamp(1.08rem, 1.5vw, 1.25rem)/1.55 var(--f-body);
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--madder); }
.faq__ico { position: relative; flex: none; width: 18px; height: 18px; }
.faq__ico::before,
.faq__ico::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 8px;
  height: 2px;
  background: var(--madder);
  transition: transform .3s var(--ease);
}
.faq__ico::after { transform: rotate(90deg); }
.faq__list details[open] .faq__ico::after { transform: rotate(0deg); }
.faq__list details p { padding-bottom: 26px; max-width: 40em; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.direct { margin: 44px 0 0; padding: 0; list-style: none; }
.direct li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--line-night);
}
.direct svg { width: 22px; height: 22px; flex: none; color: var(--saffron); }
.direct small { display: block; font-size: .85rem; color: var(--on-night-soft); }
.direct a { font-size: 1.15rem; font-weight: 600; text-decoration: none; unicode-bidi: isolate; }
.direct a:hover { color: var(--saffron-hi); }

.form {
  padding: clamp(24px, 4vw, 44px);
  background: var(--night-2);
  border: 1px solid var(--line-night);
}
.form__title { font: 700 1.6rem/1.35 var(--f-display); margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: .95rem; font-weight: 500; color: var(--on-night-soft); }
.field small { font-size: .85em; opacity: .8; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--night);
  border: 1px solid rgba(244, 236, 223, .2);
  border-radius: 3px;
  color: var(--wool);
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field ::placeholder { color: rgba(244, 236, 223, .38); }
.field select {
  appearance: none;
  padding-inline-start: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--saffron) 50%), linear-gradient(-45deg, transparent 50%, var(--saffron) 50%);
  background-position: 18px 50%, 24px 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field select option { background: var(--night); color: var(--wool); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(201, 150, 43, .2); }
.field input[aria-invalid="true"] { border-color: #E0686B; }
.field__err { margin-top: 6px; font-size: .88rem; color: #F08A8C; }
.form .btn { margin-top: 8px; }
.form__note { margin-top: 14px; font-size: .88rem; color: var(--on-night-soft); }
.form__note.is-sent { color: var(--saffron-hi); }

/* =========================================================
   FOOTER
   ========================================================= */
.ftr { background: var(--night); color: var(--on-night-soft); padding-top: clamp(56px, 8vw, 88px); border-top: 1px solid var(--line-night); }
.ftr__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.ftr__brand img { height: 40px; width: auto; }
.ftr__brand p { margin-top: 16px; font: 600 1.15rem/1.5 var(--f-display); color: var(--wool); }
.ftr__links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ftr__links h2 { margin-bottom: 6px; font: 600 .95rem/1.4 var(--f-body); color: var(--saffron); }
.ftr__links a { text-decoration: none; }
.ftr__links a:hover { color: var(--wool); }
.ftr__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--line-night);
  font-size: .9rem;
}
.ftr__base { margin-top: 56px; }
.ftr__up { text-decoration: none; }
.ftr__up:hover { color: var(--wool); }

/* floating WhatsApp */
.wa-float {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  transform: translateY(120px);
  transition: transform .45s var(--ease), translate .35s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float.is-shown { transform: none; }
.no-js .wa-float { transform: none; }

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

/* =========================================================
   MOTION
   ========================================================= */

/* ---------- intro: the logo is tied off, then the weft is pulled away ---------- */
.intro { display: none; }
.has-intro .intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.has-intro body { overflow: hidden; }
.intro__bands { position: absolute; inset: 0; display: flex; flex-direction: column; }
.intro__bands span {
  flex: 1;
  background: var(--night);
  box-shadow: inset 0 -1px 0 rgba(201, 150, 43, .14);
  transition: transform .8s cubic-bezier(.7, 0, .2, 1) calc(var(--n, 0) * 55ms);
}
.intro__bands span:nth-child(1) { --n: 0; }
.intro__bands span:nth-child(2) { --n: 1; }
.intro__bands span:nth-child(3) { --n: 2; }
.intro__bands span:nth-child(4) { --n: 3; }
.intro__bands span:nth-child(5) { --n: 4; }
.intro__bands span:nth-child(6) { --n: 5; }
.intro.is-out .intro__bands span:nth-child(odd)  { transform: translateX(105%); }
.intro.is-out .intro__bands span:nth-child(even) { transform: translateX(-105%); }

.intro__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transform: translate(-50%, -50%);
  transition: opacity .35s, transform .5s var(--ease);
}
.intro__mark img {
  width: clamp(150px, 20vw, 230px);
  height: auto;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1);
}
.intro__thread {
  width: clamp(150px, 20vw, 230px);
  height: 6px;
  background-image:
    linear-gradient(90deg, var(--madder) 50%, var(--saffron) 0),
    linear-gradient(90deg, var(--saffron) 50%, var(--madder) 0);
  background-size: 10px 3px, 10px 3px;
  background-position: 0 0, 0 3px;
  background-repeat: repeat-x;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .8s var(--ease) .35s;
}
.intro.is-on .intro__mark img { clip-path: inset(0); }
.intro.is-on .intro__thread { transform: scaleX(1); }
.intro.is-out .intro__mark { opacity: 0; transform: translate(-50%, -50%) scale(.94); }

/* ---------- headlines rise word by word ---------- */
.js [data-split] .w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: .16em .03em .22em;
  margin: -.16em -.03em -.22em;
}
.js [data-split] .w__i {
  display: inline-block;
  transform: translateY(118%);
  transition: transform 1.05s var(--ease);
  transition-delay: calc(var(--base, 0ms) + var(--i, 0) * 75ms);
}
.js [data-split].is-in .w__i { transform: none; }
.hero__title { --base: 150ms; }

/* ---------- hero entrance ---------- */
.js .hero-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.is-ready .hero-in { opacity: 1; transform: none; }

.js .loom__frame { opacity: 0; transition: opacity .6s ease .15s; }
.js .loom__frame::before,
.js .loom__frame::after { transform: scaleX(0); transition: transform 1s var(--ease) .25s; }
.is-ready .loom__frame { opacity: 1; }
.is-ready .loom__frame::before,
.is-ready .loom__frame::after { transform: scaleX(1); }

/* ---------- strips weave in, then keep drifting ----------
   (the clip sits on the canvas: a fully clipped element never counts as visible to IntersectionObserver) */
.js .strip canvas { clip-path: inset(0 0 0 100%); transition: clip-path 1.5s var(--ease); }
.js .strip.is-in canvas { clip-path: inset(0); }

/* ---------- images: a curtain lifts, the photo settles ---------- */
.js .reveal-img img {
  clip-path: inset(100% 0 0 0);
  scale: calc(var(--s-end, 1) + .25);
  transition: clip-path 1.2s var(--ease) var(--d, 0ms), scale 1.6s var(--ease) var(--d, 0ms);
}
.js .reveal-img.is-in img { clip-path: inset(0); scale: var(--s-end, 1); }
.js .reveal-img.is-done img { transition: scale .8s var(--ease); }
.js .case:hover .reveal-img.is-done img { scale: 1.06; }

/* ---------- services: each thread unspools as it arrives ---------- */
.js .thread .thread__swatch {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .9s var(--ease) calc(var(--d, 0ms) + 250ms);
}
.js .thread.is-in .thread__swatch { transform: none; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: clamp(28px, 4vw, 48px);
  background: var(--night);
  border-top: 1px solid var(--line-night);
  direction: ltr;
  user-select: none;
}
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding-inline-end: clamp(20px, 3vw, 44px);
  direction: rtl;
  unicode-bidi: isolate;
  white-space: nowrap;
  font: 700 clamp(2.6rem, 7vw, 6.2rem)/1.35 var(--f-display);
  color: var(--wool);
}
/* the Sadu eye between phrases */
.marquee__item::after {
  content: "";
  flex: none;
  width: .28em;
  height: .28em;
  background: var(--madder);
  transform: rotate(45deg);
  box-shadow: 0 0 0 .07em var(--night), 0 0 0 .12em var(--saffron);
}
.marquee__row--alt { margin-top: 6px; }
.marquee__row--alt .marquee__item {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--saffron);
}
.marquee__row--alt .marquee__item::after { width: .22em; height: .22em; background: var(--wool); box-shadow: none; }

/* ---------- cursor: a Sadu diamond that follows the pointer ---------- */
.cursor { display: none; }
.has-cursor .cursor {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.has-cursor .cursor.is-on { opacity: 1; }
.cursor__ring {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--saffron);
  transform: rotate(45deg);
  transition: transform .35s var(--ease), background-color .3s;
}
.cursor.is-hover .cursor__ring { transform: rotate(45deg) scale(2.3); background: rgba(201, 150, 43, .16); }
.cursor.is-down .cursor__ring { transform: rotate(45deg) scale(.7); }
.cursor__label {
  position: absolute;
  left: 26px;
  top: 16px;
  padding: 3px 12px;
  background: var(--saffron);
  color: var(--night);
  font: 600 .85rem/1.5 var(--f-body);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .3s var(--ease);
}
.cursor.has-label .cursor__label { opacity: 1; transform: none; }

/* ---------- faq: answers open smoothly ---------- */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__list details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .5s var(--ease), content-visibility .5s allow-discrete;
  }
  .faq__list details[open]::details-content { block-size: auto; }
}
.faq__list details p { transition: opacity .5s ease .1s, transform .5s var(--ease) .1s; }
.faq__list details:not([open]) p { opacity: 0; transform: translateY(-8px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1020px) {
  .hdr__nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .loom-wrap { max-width: 520px; }
  .loom__frame { aspect-ratio: 16 / 10; }
  .story, .why, .faq, .contact__grid { grid-template-columns: 1fr; }
  .story__photo { max-width: 560px; }
  .faq__side { position: static; }
  .values__list { grid-template-columns: repeat(2, 1fr); gap: 32px clamp(20px, 3vw, 40px); }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 420px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }
  .quote { scroll-snap-align: start; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 0 26px; padding-inline-start: 20px; }
  .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-night); }
  .thread { grid-template-columns: 20px minmax(0, 1fr); gap: 6px 16px; align-items: start; }
  .thread__swatch { grid-row: span 2; height: 100%; min-height: 48px; width: 12px; }
  .cases { grid-template-columns: 1fr; }
  .journey__head { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; gap: 36px; padding-inline-start: 64px; }
  .steps::before { inset-inline: auto; inset-inline-start: 19px; top: 0; bottom: 0; width: 6px; height: auto;
    background-image:
      linear-gradient(var(--madder) 50%, var(--wool-3) 0),
      linear-gradient(var(--wool-3) 50%, var(--madder) 0);
    background-size: 3px 12px, 3px 12px;
    background-position: 0 0, 3px 0;
    background-repeat: repeat-y; }
  .js .steps::before { clip-path: inset(0 0 100% 0); }
  .js .steps.is-in::before { clip-path: inset(0); }
  .step { position: relative; }
  .step__node { position: absolute; inset-inline-start: -64px; top: -4px; }
  .step__num { margin-top: 0; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .strip { height: 42px; }
  .strip--lg { height: 56px; }
  .strip--sm { height: 26px; }
}

@media (max-width: 420px) {
  .hero__ctas .btn { width: 100%; }
  .values__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .hero::after { animation: none; }
  .strip.is-live canvas { animation: none; }
  .js .rv, .js .hero-in, .js .loom__frame { opacity: 1; transform: none; }
  .js [data-split] .w__i { transform: none; }
  .js .strip canvas, .js .reveal-img img { clip-path: none; }
  .js .reveal-img img { scale: var(--s-end, 1); }
  .js .thread .thread__swatch, .js .loom__frame::before, .js .loom__frame::after { transform: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
