/* ═══════════════════════════════════════════════════════════════
   KHYBER — Rep the country you love.
   Editorial heritage-streetwear. Palette + type drawn from the
   2026 brand kit: cream, taupe brown, deep Pakistan green, ink.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper:   #F4EEE1;
  --cream:   #EDE5D2;
  --sand:    #D9CDB3;
  --ink:     #191511;
  --ink-2:   #2A251E;
  --brown:   #57503F;
  --brown-d: #453E32;
  --clay:    #8A7D6A;      /* decorative only — fails 4.5:1 on light bg */
  --clay-text: #6E6250;    /* 5.15:1 on paper, 4.75:1 on cream */
  --green:   #143527;
  --green-2: #1D4A35;
  --red:     #7C2128;

  --serif: 'Prata', 'Times New Roman', serif;
  --didone: 'Bodoni Moda', 'Didot', serif;
  --sans: 'Archivo', 'Helvetica Neue', sans-serif;
  --arabic: 'Amiri', serif;
  --urdu: 'Noto Nastaliq Urdu', serif;

  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green-2); color: var(--cream); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
/* Cream buttons sit on green sections — currentColor (ink) is invisible there */
.btn--cream:focus-visible { outline-color: var(--cream); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 300;
  background: var(--ink); color: var(--cream);
  padding: 10px 18px; font-size: 12px; letter-spacing: .12em;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ── Motion pause (WCAG 2.2.2) ─────────────────────────────── */
.motion-toggle {
  position: fixed; bottom: 16px; left: 16px; z-index: 250;
  background: rgba(25, 21, 17, .82); color: var(--cream);
  border: 1px solid rgba(237, 229, 210, .35);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--sans);
  font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.motion-toggle { transition: transform .12s var(--ease), background .2s ease; }
.motion-toggle:hover { background: var(--ink); }
.motion-toggle:active { transform: scale(0.95); }
body.motion-paused .ticker__track,
body.motion-paused .marquee__track,
body.motion-paused .look__row,
body.motion-paused .hero__rug,
body.motion-paused .cta__rug,
body.motion-paused .hero__scroll span { animation-play-state: paused; }

/* ── Grain overlay ─────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 200;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 600;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
  padding: 16px 30px;
  border: 1px solid var(--cream);
  transition: background .2s ease, color .2s ease, transform .16s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .btn--cream:hover { background: transparent; color: var(--cream); transform: translateY(-2px); }
  .btn--ghost:hover { background: var(--cream); color: var(--ink); transform: translateY(-2px); }
  .btn:hover:active { transform: translateY(-2px) scale(0.97); }
}
.btn--small { padding: 10px 18px; font-size: 11px; }
.btn--big { padding: 19px 40px; font-size: 14px; }
.btn__arrow { font-size: 1.1em; line-height: 1; }

/* ═══════════════ PRELOADER ═══════════════ */
/* Hidden unless JS is actually running (html.js is stamped inline and
   removed by the script tag's onerror) — no-JS users never get trapped. */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 400;
  background: var(--cream);
  display: grid; place-items: center;
  transition: transform .7s var(--ease);
}
.js .loader.is-done { transform: translateY(-101%); }
.loader__inner { text-align: center; }
.loader__urdu {
  display: block; font-family: var(--urdu);
  font-size: clamp(22px, 3.4vw, 34px); color: var(--green);
  animation: loaderFade .9s var(--ease) both;
}
.loader__word {
  display: block; font-family: var(--serif);
  font-size: clamp(44px, 9vw, 110px); line-height: 1.05;
  color: var(--ink); letter-spacing: .02em;
  animation: loaderRise .9s .12s var(--ease) both;
}
.loader__sub {
  display: block; margin-top: 14px;
  font-size: 11px; letter-spacing: .38em; color: var(--brown);
  animation: loaderFade .9s .3s var(--ease) both;
}
@keyframes loaderRise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes loaderFade { from { opacity: 0; } to { opacity: 1; } }
body.is-loading { overflow: hidden; }

/* ═══════════════ TICKER ═══════════════ */
.ticker {
  background: var(--green); color: var(--cream);
  overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid rgba(237, 229, 210, .14);
}
/* Two identical gapless groups; -50% lands exactly on the seam.
   Each group is ~3× the old set so ultrawide viewports stay covered. */
.ticker__track {
  display: inline-flex;
  padding: 9px 0;
  animation: tick 56s linear infinite;
  will-change: transform;
}
.ticker__group { display: inline-flex; align-items: center; }
.ticker__group > span, .ticker__group > i { margin-right: 34px; }
.ticker span { font-size: 10.5px; font-weight: 600; letter-spacing: .3em; }
.ticker i { font-style: normal; font-size: 9px; opacity: .65; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ═══════════════ NAV ═══════════════ */
#nav-sentinel { height: 0; }
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--green);
  transition: box-shadow .3s;
}
.nav.is-stuck { box-shadow: 0 1px 0 rgba(237,229,210,.16), 0 12px 40px rgba(10, 20, 15, .35); }
.nav__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad); height: 72px;
  max-width: 1680px; margin: 0 auto;
}
.nav__left { display: flex; gap: 30px; }
.nav__right { display: flex; gap: 26px; align-items: center; justify-content: flex-end; }
.nav__link {
  color: var(--cream); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  position: relative; padding: 4px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--cream);
  transform: scaleX(0); transform-origin: right;
  transition: transform .25s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link--quiet { opacity: .7; }
.nav__link--quiet:hover { opacity: 1; }
.nav__logo img { height: 36px; width: auto; }
.nav__burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.nav__burger span {
  display: block; width: 26px; height: 2px; background: var(--cream);
  transition: transform .35s var(--ease);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ═══════════════ MOBILE MENU ═══════════════ */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--cream);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__inner {
  display: flex; flex-direction: column; gap: 8px; text-align: center;
  padding: 130px 40px 40px;
  max-height: 100svh; overflow-y: auto;
  overscroll-behavior: contain;
}
.menu__link {
  font-family: var(--serif); font-size: clamp(34px, 8vw, 56px);
  color: var(--ink); line-height: 1.3;
  display: flex; align-items: baseline; gap: 18px; justify-content: center;
  transition: color .2s ease;
}
.menu__link:hover { color: var(--green-2); }
.menu__link em {
  font-family: var(--sans); font-style: normal;
  font-size: 12px; letter-spacing: .2em; color: var(--clay-text);
}
.menu__ar { font-family: var(--arabic); font-size: .55em; color: var(--clay-text); }
.menu__foot {
  margin-top: 40px; display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; letter-spacing: .12em; color: var(--brown);
}
.menu__foot a:hover { color: var(--green-2); }

/* Staggered entrance when the menu opens; exits together with the overlay */
.menu__link, .menu__foot {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.menu.is-open .menu__link, .menu.is-open .menu__foot {
  opacity: 1;
  transform: none;
}
.menu.is-open .menu__link:nth-child(1) { transition-delay: .05s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: .09s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: .13s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: .17s; }
.menu.is-open .menu__foot { transition-delay: .22s; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  /* Fill the first viewport minus ticker (36px) + nav (72px) so the CTAs sit at the fold */
  min-height: max(620px, calc(100svh - 108px));
  display: flex; flex-direction: column;
  justify-content: center;
  background: var(--green);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__rug {
  position: absolute; inset: -4%;
  background: url("../assets/img/hero-rug.png") repeat center / 620px;
  opacity: .35;
  mix-blend-mode: soft-light;
  animation: rugDrift 40s linear infinite alternate;
}
@keyframes rugDrift { to { transform: translate(2.5%, 2%) scale(1.04); } }
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 112%;
  object-fit: cover; object-position: center 22%;
  opacity: .82;
  will-change: transform;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 30, 22, .72) 0%, rgba(13, 30, 22, .18) 34%, rgba(10, 24, 17, .28) 62%, rgba(8, 20, 14, .82) 100%),
    radial-gradient(120% 70% at 50% 42%, transparent 40%, rgba(8, 20, 14, .5) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  text-align: center;
  padding: clamp(40px, 7vh, 90px) var(--pad) 30px;
}
.hero__urdu {
  font-family: var(--urdu);
  color: var(--sand);
  font-size: clamp(17px, 2vw, 24px);
  margin-bottom: clamp(18px, 3.5vh, 40px);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 16.5vw, 300px);
  line-height: .95;
  white-space: nowrap;
  color: var(--cream);
  letter-spacing: .01em;
  text-shadow: 0 10px 60px rgba(0,0,0,.35);
}
.hero__title span {
  display: inline-block;
  animation: letterUp 1s var(--ease) both;
  animation-delay: calc(.9s + var(--d, 0) * .06s);
}
.hero__title span:nth-child(1) { --d: 0; }
.hero__title span:nth-child(2) { --d: 1; }
.hero__title span:nth-child(3) { --d: 2; }
.hero__title span:nth-child(4) { --d: 3; }
.hero__title span:nth-child(5) { --d: 4; }
.hero__title span:nth-child(6) { --d: 5; }
@keyframes letterUp {
  from { opacity: 0; transform: translateY(.35em) rotate(2deg); }
  to   { opacity: 1; transform: none; }
}
.hero__word {
  color: var(--cream);
  font-size: clamp(11px, 1.3vw, 16px);
  font-weight: 500;
  letter-spacing: .85em; text-indent: .85em;
  margin-top: clamp(6px, 1.4vh, 18px);
  opacity: .9;
}
.hero__tag {
  font-family: var(--didone); font-style: italic;
  color: var(--sand);
  font-size: clamp(19px, 2.6vw, 32px);
  margin-top: clamp(16px, 3vh, 34px);
}
.hero__tag em { color: var(--cream); }
.hero__foot {
  position: relative; z-index: 2;
  margin-top: auto;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad) 34px;
}
.hero__meta {
  font-size: 10.5px; letter-spacing: .26em; color: var(--sand);
  max-width: 250px; line-height: 2;
}
.hero__meta-sep { margin: 0 10px; opacity: .5; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__scroll {
  font-size: 10.5px; letter-spacing: .3em; color: var(--sand);
  display: flex; align-items: center; gap: 10px;
}
.hero__scroll span { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ═══════════════ MARQUEE ═══════════════ */
.marquee {
  background: var(--cream);
  border-block: 1px solid rgba(25, 21, 17, .18);
  overflow: hidden; white-space: nowrap;
  padding: clamp(18px, 2.6vw, 30px) 0;
}
.marquee__track {
  display: inline-flex;
  animation: tick 55s linear infinite;
  will-change: transform;
}
.marquee__item {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 64px);
  color: var(--ink);
  padding-right: .6em;
}
.marquee__item em { font-family: var(--didone); font-style: italic; }
.marquee__item i {
  font-style: normal; font-size: .5em;
  vertical-align: middle; color: var(--green-2);
  padding: 0 .4em;
}

/* ═══════════════ SECTION HEADS ═══════════════ */
.section-head { padding: clamp(70px, 10vw, 130px) var(--pad) clamp(30px, 4vw, 60px); }
.section-head__index {
  font-size: 11px; font-weight: 600; letter-spacing: .32em;
  color: var(--clay-text);
  margin-bottom: 18px;
}
.section-head__index--cream { color: var(--sand); }
.section-head__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(52px, 9vw, 132px);
  line-height: 1;
}
.section-head__title em { font-family: var(--didone); font-style: italic; }
.section-head__note {
  margin-top: 22px;
  font-size: 13.5px; letter-spacing: .06em; line-height: 1.9;
  color: var(--brown);
  text-transform: uppercase;
}

/* ═══════════════ THE DROP ═══════════════ */
.drop {
  background: var(--paper);
  padding-bottom: clamp(80px, 10vw, 150px);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 70px);
  padding: 0 var(--pad);
  max-width: 1480px; margin: 0 auto;
}
.card { display: block; }
.card--push { transform: translateY(clamp(40px, 6vw, 110px)); }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #FFFFFF;
  border: 1px solid rgba(25, 21, 17, .14);
  overflow: hidden;
}
.card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Some product shots are transparent-PNG cutouts — opaque backing stops
     the layered images from showing through each other on hover */
  background: #FFFFFF;
  /* Deliberately slower than UI-speed rules — editorial crossfade, per taste */
  transition: opacity .55s ease, transform .8s var(--ease);
}
/* Desktop: scroller is transparent — images stack absolutely as before */
.card__scroller { display: contents; }
.card__img--main { object-fit: contain; padding: 6%; }
.card__img--alt { opacity: 0; }
.card__img--extra { opacity: 0; pointer-events: none; }
.card__dots { display: none; }

/* Touch: the media becomes a swipeable, snap-scrolling carousel with dots */
@media (hover: none) {
  .card__scroller {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .card__scroller::-webkit-scrollbar { display: none; }
  .card__scroller .card__img {
    position: static;
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }
  .card__dots {
    display: flex; gap: 7px;
    position: absolute; bottom: 12px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
  .card__dots i {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(25, 21, 17, .25);
    transition: background .2s ease, transform .2s var(--ease);
  }
  .card__dots i.on { background: var(--ink); transform: scale(1.2); }
}
/* Image swap is hover-only on real pointers — on touch, tap fires :hover
   and the swapped image sticks. Keyboard users still get it via focus. */
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__img--alt { opacity: 1; }
  .card:hover .card__img { transform: scale(1.03); }
}
.card:focus-visible .card__img--alt { opacity: 1; }
.card:focus-visible .card__img { transform: scale(1.03); }
.card:active .card__media { transform: scale(0.99); }
.card__media { transition: transform .12s var(--ease); }
.card__chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--ink); color: var(--cream);
  font-size: 10px; font-weight: 600; letter-spacing: .22em;
  padding: 7px 12px;
}
.card__chip--warn { background: var(--red); }
.card__info { padding: 20px 2px 0; border-top: 0; }
.card__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.card__row--sub { margin-top: 6px; }
.card__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: .02em;
}
.card__ar {
  font-family: var(--arabic);
  font-size: .8em; color: var(--clay-text);
  margin-inline-start: 8px;
}
.card__price { font-size: 15px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.card__price ins { text-decoration: none; }
.card__price del { color: var(--clay-text); font-weight: 400; margin-inline-start: 6px; }
.card__gloss { font-size: 13px; color: var(--brown); line-height: 1.6; max-width: 40ch; }
.card__gloss em { font-family: var(--didone); font-size: 1.1em; }
.card__sizes { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; color: var(--clay-text); white-space: nowrap; }
.card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.card__cta i { font-style: normal; transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__cta i { transform: translateX(6px); }
}

/* ═══════════════ STORY ═══════════════ */
.story { background: var(--brown); color: var(--cream); }
.story__inner {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(80px, 11vw, 150px) var(--pad) clamp(50px, 6vw, 90px);
  position: relative;
}
.story__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 7vw, 104px);
  line-height: 1.06;
  max-width: 14ch;
}
.story__title em { font-family: var(--didone); font-style: italic; color: var(--sand); }
.story__cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 100px);
  margin-top: clamp(44px, 6vw, 80px);
}
.story__label {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  color: var(--sand);
  margin-bottom: 18px;
}
.story__col p { font-size: 15px; line-height: 1.95; color: rgba(237, 229, 210, .82); }
.story__col p + p { margin-top: 16px; }
.story__sign {
  font-family: var(--didone); font-style: italic;
  font-size: 17px !important; color: var(--sand) !important;
  margin-top: 24px !important;
}
.story__strip {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(54px, 7vw, 100px);
}
.story__photo img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  background: #E9E4D8;
  border: 1px solid rgba(237, 229, 210, .25);
}
.story__photo:nth-child(2) img,
.story__photo:nth-child(3) img { aspect-ratio: 3 / 3.9; }
.story__photo figcaption {
  margin-top: 12px;
  font-size: 10px; letter-spacing: .26em; color: rgba(237, 229, 210, .8);
}
.urdu-inline {
  font-family: var(--urdu);
  letter-spacing: normal;
  font-size: 13px; line-height: 1;
}
.story__marker {
  position: absolute; right: var(--pad); bottom: 26px;
  font-size: 11px; letter-spacing: .2em; color: rgba(237, 229, 210, .7);
}

/* ═══════════════ CRAFT ═══════════════ */
.craft { background: var(--paper); }
.craft__inner {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(80px, 11vw, 150px) var(--pad);
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.craft__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 6.6vw, 100px);
  line-height: 1.02;
  margin-bottom: clamp(36px, 5vw, 70px);
}
.craft__title em { font-family: var(--didone); font-style: italic; color: var(--green-2); }
.craft__list { list-style: none; }
.craft__item {
  display: flex; gap: clamp(20px, 3vw, 44px);
  padding: clamp(24px, 3vw, 38px) 0;
  border-top: 1px solid rgba(25, 21, 17, .18);
}
.craft__item:last-child { border-bottom: 1px solid rgba(25, 21, 17, .18); }
.craft__num {
  font-family: var(--didone); font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--clay-text);
  line-height: 1.2;
}
.craft__item h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(21px, 2.4vw, 30px);
  margin-bottom: 10px;
}
.craft__item p { font-size: 14.5px; line-height: 1.85; color: var(--brown); max-width: 52ch; }
.craft__media { position: sticky; top: 110px; }
.craft__media img {
  width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover;
  border: 1px solid rgba(25, 21, 17, .2);
}
.craft__media figcaption {
  margin-top: 12px;
  font-size: 10px; letter-spacing: .26em; color: var(--clay-text);
}

/* ═══════════════ LOOKBOOK ═══════════════ */
.look {
  background: var(--ink); color: var(--cream);
  padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 120px);
  overflow: hidden;
}
.look__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0 var(--pad); margin-bottom: clamp(30px, 4vw, 50px);
}
.look__head .section-head__index { color: rgba(237, 229, 210, .62); margin: 0; }
.look__ig {
  font-family: var(--didone); font-style: italic;
  font-size: clamp(17px, 2vw, 24px); color: var(--sand);
}
.look__ig:hover { color: var(--cream); }
/* Gapless periodic track: every img carries its own trailing margin,
   so translateX(-50%) lands exactly on the start of the 3rd set (4 sets total). */
.look__row {
  display: flex;
  width: max-content;
  animation: tick 120s linear infinite;
}
.look__track:hover .look__row { animation-play-state: paused; }
.look__row img {
  height: clamp(300px, 42vw, 520px);
  width: auto; aspect-ratio: 3 / 4; object-fit: cover;
  margin-right: clamp(14px, 2vw, 26px);
  background: #E9E4D8;
  border: 1px solid rgba(237, 229, 210, .18);
  filter: saturate(.92);
  transition: filter .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .look__row img:hover { filter: saturate(1.05); }
}

/* ═══════════════ CTA ═══════════════ */
.cta {
  position: relative;
  background: var(--green);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}
.cta__rug {
  position: absolute; inset: -4%;
  background: url("../assets/img/hero-rug.png") repeat center / 560px;
  opacity: .3; mix-blend-mode: soft-light;
}
.cta__inner {
  position: relative;
  padding: clamp(90px, 13vw, 190px) var(--pad);
}
.cta__urdu {
  font-family: var(--urdu);
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--sand);
  margin-bottom: 16px;
}
.cta__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 8.4vw, 128px);
  line-height: 1.02;
}
.cta__title em { font-family: var(--didone); font-style: italic; color: var(--sand); }
.cta__note {
  margin-top: 26px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sand);
}
.cta__row {
  margin-top: 44px;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer { background: var(--ink); color: var(--cream); overflow: hidden; }
.footer__giant {
  font-family: var(--serif);
  font-size: clamp(70px, 17vw, 300px);
  line-height: .8;
  text-align: center;
  letter-spacing: .02em;
  padding-top: clamp(50px, 7vw, 100px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 229, 210, .34);
  user-select: none;
}
.footer__cols {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(30px, 4vw, 60px);
  max-width: 1480px; margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) var(--pad) clamp(50px, 6vw, 80px);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__col h3 {
  font-size: 10.5px; font-weight: 700; letter-spacing: .32em;
  color: rgba(237, 229, 210, .6);
  margin-bottom: 10px;
}
.footer__col a {
  font-size: 14.5px; letter-spacing: .04em;
  color: rgba(237, 229, 210, .85);
  position: relative;
}
.footer__col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--sand);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__ship {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(237, 229, 210, .62);
  margin-top: 6px;
}
.footer__col--last { align-items: flex-end; text-align: right; }
.footer__urdu {
  font-family: var(--urdu);
  font-size: clamp(30px, 3.6vw, 46px);
  color: var(--sand);
  line-height: 1.6;
}
.footer__made {
  font-size: 10px; letter-spacing: .3em; line-height: 2.2;
  color: rgba(237, 229, 210, .62);
}
.footer__bar {
  border-top: 1px solid rgba(237, 229, 210, .16);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px var(--pad);
  font-size: 10.5px; letter-spacing: .22em;
  color: rgba(237, 229, 210, .65);
}
.footer__tag em { font-family: var(--didone); font-size: 14px; color: var(--sand); }

/* ═══════════════ REVEAL ═══════════════ */
/* All pre-reveal hiding is scoped to html.js so content is never
   invisible when the script fails to load or run. */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  /* Original editorial pacing — slower than UI-speed rules, on purpose */
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * .1s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* Curtain reveal for editorial photos — uncovered top-to-bottom instead of rising.
   The figure itself stays put; the image unclips, the caption fades in after. */
.js .reveal--curtain { opacity: 1; transform: none; }
.js .reveal--curtain img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease);
  transition-delay: calc(var(--i, 0) * .1s);
}
.js .reveal--curtain.in img { clip-path: inset(0 0 0 0); }
.js .reveal--curtain figcaption {
  opacity: 0;
  transition: opacity .6s var(--ease);
  transition-delay: calc(var(--i, 0) * .1s + .35s);
}
.js .reveal--curtain.in figcaption { opacity: 1; }

/* Footer wordmark — rare, end-of-page beat: fade + letter-spacing settle */
.js .footer__giant.reveal {
  transform: none;
  letter-spacing: .07em;
  transition: opacity 1.1s var(--ease), letter-spacing 1.4s var(--ease);
}
.js .footer__giant.reveal.in { transform: none; letter-spacing: .02em; }

.js .card.reveal { transform: translateY(60px); }
.js .card.reveal.in { transform: none; }
.js .card--push.reveal { transform: translateY(calc(clamp(40px, 6vw, 110px) + 60px)); }
.js .card--push.reveal.in { transform: translateY(clamp(40px, 6vw, 110px)); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .craft__inner { grid-template-columns: 1fr; }
  .craft__media { position: static; max-width: 560px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__col--last { align-items: flex-start; text-align: left; }
}

@media (max-width: 860px) {
  .nav__left { display: none; }
  .nav__link--quiet { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { grid-template-columns: auto 1fr; height: 64px; }
  .nav__logo { order: -1; }
  .nav__logo img { height: 30px; }
  .hero { min-height: max(620px, calc(100svh - 100px)); }
  .hero__foot { flex-direction: column; align-items: center; gap: 26px; text-align: center; }
  .hero__meta { max-width: none; }
  .hero__scroll { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card--push { transform: none; }
  .js .card--push.reveal { transform: translateY(60px); }
  .js .card--push.reveal.in { transform: none; }
  .story__cols { grid-template-columns: 1fr; }
  .story__strip { grid-template-columns: 1fr 1fr; }
  .story__photo:first-child { grid-column: 1 / -1; }
  .footer__bar { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 560px) {
  .btn { padding: 14px 22px; font-size: 12px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; justify-content: center; }
  .story__strip { grid-template-columns: 1fr; }
  .story__photo:nth-child(2) img, .story__photo:nth-child(3) img { aspect-ratio: 4 / 3.4; }
  .footer__cols { grid-template-columns: 1fr; gap: 40px; }
  .footer__col--last { align-items: flex-start; text-align: left; }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .marquee__track, .look__row, .hero__rug, .cta__rug, .hero__scroll span { animation: none; }
  .hero__title span { animation: none; opacity: 1; }
  .loader__urdu, .loader__word, .loader__sub { animation: none; opacity: 1; }
  .js .reveal, .js .card.reveal, .js .card--push.reveal, .js .card--push.reveal.in {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .js .reveal--curtain img { clip-path: none !important; transition: none !important; }
  .js .reveal--curtain figcaption { opacity: 1 !important; transition: none !important; }
  .js .footer__giant.reveal { letter-spacing: .02em !important; }
  .menu__link, .menu__foot { opacity: 1; transform: none; }
  * { transition-duration: .01s !important; }
}
