/* =========================================================
   RIJAL — Portfolio of Anjali Rijal
   Hostem-style minimal UI + techwear-catalogue annotations
   ========================================================= */

:root {
  --bg: #ffffff;
  --soft: #f5f4f1;
  --ink: #131313;
  --ink-2: #3a3a3a;
  --mute: #8b8b8b;
  --line: #dcdcdc;
  --red: #8e1b22;
  --red-2: #b3232c;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --tech: "Chakra Petch", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;

  --hdr: 64px;
  --gut: clamp(16px, 2.4vw, 36px);
  --ease: cubic-bezier(.77, 0, .18, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --look-h: min(64vh, 640px);
  --aw: 220px; /* width of the active look, set by JS */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--tech);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.menu-open, body.lb-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

/* ---------- shared bits ---------- */
.kicker {
  font-family: var(--tech);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 18px;
}
.kicker span { color: var(--ink); margin-right: 10px; }
.serif-xl, .serif-l {
  font-family: var(--serif);
  font-weight: 300;
  line-height: .95;
  margin: 0;
  letter-spacing: -.01em;
}
.serif-xl { font-size: clamp(64px, 11vw, 168px); color: var(--red); }
.serif-l { font-size: clamp(40px, 6vw, 92px); }
.serif-l em, .serif-xl em { font-style: italic; color: var(--red); }

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .35s, color .35s;
}
.tag:hover { background: var(--ink); color: #fff; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 22px;
  border-radius: 40px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .4s, transform .4s var(--ease-out);
}
.pill:hover { background: var(--red); transform: translateY(-2px); }
.pill--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.pill--ghost:hover { background: var(--ink); color: #fff; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 22px;
  transition: clip-path 1.1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader__word { display: flex; overflow: hidden; font-family: var(--serif); font-size: clamp(30px, 7vw, 96px); letter-spacing: .1em; font-weight: 400; }
.loader__word .sp { display: inline-block; width: .5em; }
.loader__word span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * .05s); }
.loader__meta { display: flex; gap: 40px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.loader__count { color: var(--ink); font-variant-numeric: tabular-nums; }
.loader__bar { width: min(260px, 60vw); height: 1px; background: var(--line); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .3s; }
@keyframes rise { to { transform: translateY(0); } }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 300;
    width: 10px; height: 10px; margin: -5px 0 0 -5px;
    border-radius: 50%; background: var(--ink);
    pointer-events: none;
    transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s;
    mix-blend-mode: difference; background: #fff;
  }
  .cursor__label { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
  .cursor.is-drag { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .cursor.is-drag .cursor__label { opacity: 1; }
  .cursor.is-link { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
}

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hdr);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gut);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .6s var(--ease);
}
.hdr.hide { transform: translateY(-100%); }
body.menu-open .hdr { transform: none; background: var(--bg); }
.hdr__left { display: flex; gap: 8px; }
.logo {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: .24em;
  margin-right: -.24em;
  white-space: nowrap;
  line-height: 1;
}
.hdr__right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.hdr__mail { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; position: relative; }
.hdr__mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.hdr__mail:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { width: 28px; height: 20px; display: grid; align-content: space-between; position: relative; z-index: 120; }
.burger span { height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), opacity .3s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(9.25px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-9.25px) rotate(-45deg); }

/* ---------- menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: calc(var(--hdr) + 6vh) var(--gut) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 6.4vw, 84px); line-height: 1.12;
  transform: translateY(105%);
  transition: transform .9s var(--ease-out), color .3s, padding .4s var(--ease-out);
}
.menu__list small { font-family: var(--tech); font-size: 11px; color: var(--mute); letter-spacing: .1em; }
.menu__list a:hover { color: var(--red); padding-left: 14px; }
body.menu-open .menu__list a { transform: translateY(0); }
body.menu-open .menu__list li:nth-child(2) a { transition-delay: .05s; }
body.menu-open .menu__list li:nth-child(3) a { transition-delay: .1s; }
body.menu-open .menu__list li:nth-child(4) a { transition-delay: .15s; }
body.menu-open .menu__list li:nth-child(5) a { transition-delay: .2s; }
body.menu-open .menu__list li:nth-child(6) a { transition-delay: .25s; }
body.menu-open .menu__list li:nth-child(7) a { transition-delay: .3s; }
body.menu-open .menu__list li:nth-child(8) a { transition-delay: .35s; }
.menu__foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.menu__foot a { color: var(--ink); }

/* =========================================================
   HERO / COLLECTION
   ========================================================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 700px;
  padding-top: var(--hdr);
  overflow: hidden;
  background: var(--bg);
}

/* top strip */
.hero__strip {
  position: absolute; z-index: 5;
  top: calc(var(--hdr) + 14px); right: var(--gut); left: 46%;
  display: flex; align-items: flex-start; justify-content: flex-end; gap: 34px;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
}
.stat { display: flex; gap: 8px; align-items: baseline; font-size: 10px; line-height: 1.35; max-width: 210px; }
.stat b { font-weight: 600; font-size: 11px; white-space: nowrap; }
.stat span { color: var(--ink-2); }
.stat--plain span { font-weight: 500; }
.hero__icons { display: flex; gap: 6px; }
.icon-btn { width: 26px; height: 26px; border: 1px solid var(--ink); display: grid; place-items: center; transition: background .3s, color .3s; }
.icon-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.icon-btn:hover { background: var(--ink); color: #fff; }

/* stage + track (shared with editorial) */
.stage {
  position: absolute; z-index: 2;
  left: 0; right: 0;
  top: calc(var(--hdr) + 70px);
  bottom: 64px;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.stage__track {
  position: absolute; left: 0; top: 0; bottom: 0;
  display: flex; align-items: flex-end;
  gap: clamp(48px, 6.5vw, 120px);
  will-change: transform;
  transition: transform 1.15s var(--ease);
}
.stage.is-dragging .stage__track { transition: none; }
.no-anim .stage__track, .no-anim .look, .no-anim .ed-card, .no-anim .look img { transition: none !important; }

.look {
  position: relative;
  flex: none;
  height: var(--look-h);
  width: calc(var(--look-h) * var(--r));
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform 1.15s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
  transform: scale(.82);
  opacity: .22;
  filter: grayscale(1) contrast(.9);
}
.look img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.look.is-near { opacity: .34; }
.look.is-active { transform: scale(1); opacity: 1; filter: none; cursor: grab; }
.look.is-active img { animation: float 5.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.look__num { display: none;
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .14em; color: var(--mute); white-space: nowrap;
  opacity: 0; transition: opacity .6s;
}
.look.is-near .look__num, .look.is-active .look__num { display: none; opacity: 1; }

.stage__shadow {
  position: absolute; left: 50%; bottom: -10px;
  width: calc(var(--aw) * 1.1); height: 26px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,0,0,.18), transparent);
  filter: blur(4px);
  transition: width 1.1s var(--ease);
  animation: shadow 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shadow { 0%,100% { opacity: 1; transform: translateX(-50%) scaleX(1); } 50% { opacity: .7; transform: translateX(-50%) scaleX(.9); } }

/* Hostem detail list */
.details {
  position: absolute; z-index: 4;
  top: 25%;
  right: calc(50% + var(--aw) / 2 + 36px);
  width: 200px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.55;
  transition: right 1.1s var(--ease);
}
.details p { margin: 0; }
.details__sub { padding-left: 12px; margin: 10px 0 8px !important; }
.details__body { padding-left: 24px; }
.details__body > * { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.details.in .details__body > * { opacity: 1; transform: none; }
.details.in .details__body > *:nth-child(2) { transition-delay: .07s; }
.details.in .details__body > *:nth-child(3) { transition-delay: .14s; }
.details.in .details__body > *:nth-child(4) { transition-delay: .21s; }
.details__body .d-item { margin-bottom: 8px; }
.details__body .d-item span { display: block; }
.details__body .d-item em { display: block; font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 14px; color: var(--ink-2); }
.details__link { display: inline-block; margin-top: 4px; font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 14px; border-bottom: 1px solid currentColor; }
.details__link:hover { color: var(--red); }

/* annotations */
.anno { position: absolute; z-index: 4; display: block; font-size: 10.5px; font-weight: 500; line-height: 1.35; }
.anno__dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.anno__line { position: absolute; border-color: var(--ink); border-style: solid; border-width: 0; }
.anno__text { position: absolute; white-space: nowrap; font-style: italic; }
.anno__box { position: absolute; width: 30px; height: 30px; border: 1px solid var(--ink); display: grid; place-items: center; background: #fff; }
.anno__box svg { width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.anno:hover .anno__text { color: var(--red); }

.anno--left {
  top: 60%;
  right: calc(50% + var(--aw) / 2 - 6px);
  width: 170px; height: 70px;
  transition: right 1.1s var(--ease);
}
.anno--left .anno__dot { right: -3px; top: -3px; }
.anno--left .anno__line { right: 0; top: 0; width: 100%; height: 100%; border-top-width: 1px; border-left-width: 1px; transform-origin: right top; }
.anno--left .anno__text { left: 14px; top: 12px; }

.anno--right {
  top: 30%;
  left: calc(50% + var(--aw) / 2 - 14px);
  width: 120px; height: 104px;
  transition: left 1.1s var(--ease);
}
.anno--right .anno__dot { left: -3px; top: -3px; }
.anno--right .anno__line { left: 0; top: 0; width: 100%; height: 100%; border-left-width: 1px; border-bottom-width: 1px; transform-origin: left top; }
.anno--right .anno__text { left: 18px; top: -4px; }
.anno--right .anno__box { right: -30px; bottom: -15px; }

.anno .anno__line { transform: scale(0); transition: transform .9s var(--ease); }
.anno .anno__text, .anno .anno__box, .anno .anno__dot { opacity: 0; transition: opacity .5s; }
.anno.in .anno__line { transform: scale(1); transition-delay: .2s; }
.anno.in .anno__dot { opacity: 1; }
.anno.in .anno__text, .anno.in .anno__box { opacity: 1; transition-delay: .75s; }

/* left copy */
.hero__copy {
  position: absolute; z-index: 5;
  left: var(--gut); bottom: 58px;
  width: min(370px, 32vw);
}
.barcode { width: 92px; height: 26px; margin-bottom: 10px; }
.hero__title {
  font-family: var(--tech);
  font-weight: 500;
  font-size: clamp(18px, 1.75vw, 25px);
  line-height: 1.3;
  letter-spacing: .04em;
  margin: 0 0 12px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.hero__title .line:nth-child(2) > span { transition-delay: .1s; }
body.ready .hero__title .line > span { transform: none; }
.hero__tag { margin: 0 0 18px; font-size: 11px; color: var(--ink-2); max-width: 300px; word-break: break-word; }

/* right index */
.hero__index {
  position: absolute; z-index: 5;
  right: var(--gut); top: 31%;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.index-dots { display: grid; grid-template-columns: repeat(3, 24px); gap: 7px; }
.index-dots button {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--ink);
  font-size: 9px; font-weight: 600;
  display: grid; place-items: center;
  transition: background .35s, color .35s, transform .35s var(--ease-out);
}
.index-dots button:hover { transform: scale(1.12); }
.index-dots button.on { background: var(--ink); color: #fff; }
.index-line { width: 1px; height: 52px; background: var(--ink); }
.index-year { font-size: 10px; font-weight: 600; letter-spacing: .08em; }

/* bottom-right card */
.hero__card {
  position: absolute; z-index: 5;
  right: var(--gut); bottom: 52px;
  display: flex; gap: 10px;
}
.card__info {
  width: 150px; padding: 10px 12px;
  border: 1px solid var(--ink); border-radius: 12px;
  background: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
}
.card__arrows { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: -2px; }
.card__arrows button { transition: color .3s, transform .3s; }
.card__arrows button:hover { color: var(--red); transform: scale(1.1); }
.card__list { list-style: none; margin: 0; padding: 0; font-size: 10px; font-weight: 500; line-height: 1.6; }
.card__list i { font-style: normal; margin-right: 6px; font-size: 8px; }
.card__count { font-size: 10px; color: var(--mute); }
.card__count b { color: var(--ink); }
.card__thumb {
  position: relative; width: 112px; height: 130px;
  border-radius: 12px; overflow: hidden; background: var(--soft);
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), opacity .4s; }
.card__thumb:hover img { transform: scale(1.08); }
.card__thumb.swap img { opacity: 0; }
.card__heart { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 10px; color: var(--red); }

/* bottom centre */
.hero__bottom {
  position: absolute; z-index: 5;
  left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: min(280px, 50vw);
}
.hero__hint { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.chev { display: grid; gap: 0; height: 18px; }
.chev i { display: block; width: 12px; height: 12px; border-right: 1.3px solid var(--ink); border-bottom: 1.3px solid var(--ink); transform: rotate(45deg); margin-top: -6px; animation: chev 1.8s infinite; }
.chev i:nth-child(2) { animation-delay: .2s; }
@keyframes chev { 0%,100% { opacity: .2; } 50% { opacity: 1; } }
.progress { width: 100%; height: 2px; background: var(--line); }
.progress i { display: block; height: 100%; width: 12.5%; background: var(--ink); transition: width 1.1s var(--ease); }

/* staged entrance for hero UI */
.hero__strip, .hero__copy .barcode, .hero__tag, .hero__copy .pill, .hero__index, .hero__card, .hero__bottom, .details {
  opacity: 0; transform: translateY(14px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), right 1.1s var(--ease);
}
body.ready .hero__strip, body.ready .hero__copy .barcode, body.ready .hero__tag, body.ready .hero__copy .pill,
body.ready .hero__index, body.ready .hero__card, body.ready .hero__bottom, body.ready .details { opacity: 1; transform: none; }
body.ready .hero__strip { transition-delay: .25s; }
body.ready .hero__tag { transition-delay: .35s; }
body.ready .hero__copy .pill { transition-delay: .45s; }
body.ready .hero__index { transition-delay: .4s; }
body.ready .hero__card { transition-delay: .55s; }
body.ready .hero__bottom { transition-delay: .65s; }
.stage__track { opacity: 0; }
body.ready .stage__track { opacity: 1; transition: transform 1.15s var(--ease), opacity 1.2s ease .1s; }

/* =========================================================
   BAND
   ========================================================= */
.band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; padding: 12px 0; background: var(--bg); }
.band__inner { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font-size: 12px; font-weight: 500; letter-spacing: .2em; }
.band__inner b { color: var(--red); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CONCEPT
   ========================================================= */
.concept {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 110px);
  align-items: center;
  padding: clamp(80px, 12vw, 170px) var(--gut);
}
.concept__media { overflow: hidden; }
.concept__media img { width: 100%; aspect-ratio: 1190/842; object-fit: cover; transform: scale(1.15); transition: transform 1.8s var(--ease-out); }
.concept__media.in img { transform: scale(1); }
.concept__lead { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.35; margin: 28px 0 22px; font-weight: 400; }
.concept__body { color: var(--ink-2); font-size: 13px; max-width: 520px; margin: 0 0 40px; }
.concept__stats { display: flex; gap: clamp(24px, 4vw, 60px); border-top: 1px solid var(--line); padding-top: 22px; }
.concept__stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--red); }
.concept__stats span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* split-text reveal */
[data-split] .ch { display: inline-block; transform: translateY(100%); opacity: 0; transition: transform 1s var(--ease-out), opacity 1s; }
[data-split] .chw { display: inline-block; overflow: hidden; vertical-align: top; }
[data-split].in .ch { transform: none; opacity: 1; }
[data-split-words] .w { display: inline-block; opacity: .12; transition: opacity .6s; }
[data-split-words].in .w { opacity: 1; }

[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 12% 12% 12%); transition: clip-path 1.5s var(--ease); }
[data-reveal="clip"].in { clip-path: inset(0 0 0 0); }

/* =========================================================
   RUNWAY (pinned horizontal scroll)
   ========================================================= */
.runway { position: relative; background: var(--ink); color: #fff; }
.runway__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--hdr);
}
.runway .kicker { color: #8d8d8d; }
.runway .kicker span { color: #fff; }
.runway__head { position: absolute; top: calc(var(--hdr) + 5vh); left: var(--gut); z-index: 2; pointer-events: none; }
.runway__head .serif-l { font-size: clamp(36px, 5vw, 76px); }
.runway__head .serif-l em { color: #e04851; }
.runway__note { font-size: 11px; color: #9a9a9a; letter-spacing: .06em; margin: 12px 0 0; }
.runway__track {
  display: flex; gap: clamp(14px, 1.8vw, 28px);
  padding: 0 var(--gut);
  padding-left: calc(var(--gut) + 38vw);
  margin-top: 11vh;
  will-change: transform;
  width: max-content;
}
.rw {
  position: relative; flex: none; margin: 0;
  width: clamp(220px, 21vw, 340px);
  cursor: pointer;
}
.rw__img { overflow: hidden; aspect-ratio: 900/1290; background: #222; }
.rw__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease-out), filter .6s; filter: grayscale(.25); }
.rw:hover .rw__img img { transform: scale(1.03); filter: none; }
.rw:nth-child(even) { margin-top: 7vh; }
.rw__cap { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 10.5px; letter-spacing: .08em; color: #bdbdbd; }
.rw__cap b { color: #fff; font-weight: 500; }
.runway__bar { position: absolute; left: var(--gut); right: var(--gut); bottom: 28px; height: 1px; background: #3a3a3a; }
.runway__bar i { display: block; height: 100%; width: 0; background: #fff; }

/* mobile / no-pin fallback */
.runway.no-pin .runway__pin { position: relative; height: auto; padding: calc(var(--hdr) + 24px) 0 56px; }
.runway.no-pin .runway__head { position: relative; top: 0; padding: 0 var(--gut); margin-bottom: 28px; }
.runway.no-pin .runway__track {
  width: auto; margin-top: 0; padding-left: var(--gut); scroll-padding-left: var(--gut);
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; transform: none !important;
}
.runway.no-pin .runway__track::-webkit-scrollbar { display: none; }
.runway.no-pin .rw { scroll-snap-align: start; width: 68vw; max-width: 320px; }
.runway.no-pin .rw:nth-child(even) { margin-top: 0; }
.runway.no-pin .rw__img img { transform: none; }
.runway.no-pin .runway__bar { display: none; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { padding: clamp(80px, 11vw, 160px) var(--gut); }
.section-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 10px 40px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .kicker { grid-column: 1 / -1; margin: 0; }
.section-head__note { justify-self: end; max-width: 280px; margin: 0; color: var(--ink-2); font-size: 12px; text-align: right; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

.process__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); }
.pc { grid-column: span 6; cursor: pointer; margin: 0; }
.pc:nth-child(3n+1) { grid-column: span 7; }
.pc:nth-child(3n+2) { grid-column: span 5; margin-top: 12vh; }
.pc:nth-child(3n) { grid-column: 3 / span 8; }
.pc__img { position: relative; overflow: hidden; background: var(--soft); }
.pc__img img { width: 100%; aspect-ratio: 1190/842; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pc:hover .pc__img img { transform: scale(1.05); }
.pc__img::after {
  content: "View ↗"; position: absolute; right: 12px; bottom: 12px;
  padding: 6px 10px; background: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease-out);
}
.pc:hover .pc__img::after { opacity: 1; transform: none; }
.pc__cap { display: flex; gap: 14px; align-items: baseline; margin-top: 12px; border-top: 1px solid var(--ink); padding-top: 8px; }
.pc__cap b { font-size: 10.5px; font-weight: 600; }
.pc__cap span { font-family: var(--serif); font-size: 21px; font-style: italic; }
.pc__cap small { margin-left: auto; font-size: 10px; color: var(--mute); letter-spacing: .1em; text-transform: uppercase; }

/* =========================================================
   ASHTAMANGALA (collection II)
   ========================================================= */
.serif-xl--sm { font-size: clamp(44px, 6.2vw, 96px); }
.concept--rev { grid-template-columns: 1fr 1.15fr; }
.concept--rev .concept__media { order: 2; }

/* reels: draggable horizontal strips */
.reel-sec { padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.reel-sec .section-head { padding: 0 var(--gut); }
.reel-sec--soft { background: var(--soft); }
.reel-sec--dark { background: var(--ink); color: #fff; }
.reel-sec--dark .kicker { color: #8d8d8d; }
.reel-sec--dark .kicker span { color: #fff; }
.reel-sec--dark .serif-l em { color: #e04851; }
.reel-sec--dark .section-head__note { color: #9a9a9a; }

.reel__track {
  display: flex; align-items: flex-start; gap: clamp(14px, 1.8vw, 28px);
  padding: 0 var(--gut);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity; scroll-padding-left: var(--gut);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rl { flex: none; margin: 0; scroll-snap-align: start; cursor: pointer; width: calc(var(--rh) * var(--r)); }
.reel--stagger .rl:nth-child(even) { margin-top: 6vh; }
.rl__img { height: var(--rh); overflow: hidden; background: #222; }
.reel-sec--soft .rl__img { background: #fff; }
.rl__img img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; transition: transform 1.2s var(--ease-out), filter .6s; }
.reel--stagger .rl__img img { filter: grayscale(.25); }
.rl:hover .rl__img img { transform: scale(1.04); filter: none; }
.rl__cap { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 10.5px; letter-spacing: .08em; color: var(--mute); }
.rl__cap b { color: var(--ink); font-weight: 500; }
.reel-sec--dark .rl__cap { color: #bdbdbd; }
.reel-sec--dark .rl__cap b { color: #fff; }

.reel__ctrl { display: flex; align-items: center; gap: 22px; margin: 30px var(--gut) 0; }
.reel__bar { flex: 1; height: 1px; background: var(--line); }
.reel__bar i { display: block; height: 100%; width: 8%; background: var(--ink); transition: width .25s; }
.reel-sec--dark .reel__bar { background: #3a3a3a; }
.reel-sec--dark .reel__bar i { background: #fff; }
.reel-sec--dark .circle-btn { border-color: #fff; }
.reel-sec--dark .circle-btn:hover { background: #fff; color: var(--ink); }

/* =========================================================
   EDITORIAL (second Hostem carousel)
   ========================================================= */
.editorial { padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 110px); background: var(--soft); overflow: hidden; }
.editorial .section-head { padding: 0 var(--gut); }
.ed { position: relative; display: flex; flex-direction: column; }
.ed__stage { position: relative; height: clamp(440px, 64vh, 660px); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ed__stage::before, .ed__stage::after { content: ""; position: absolute; top: 0; bottom: 0; width: 22vw; z-index: 2; pointer-events: none; }
.ed__stage::before { left: 0; background: linear-gradient(90deg, var(--soft) 30%, rgba(245,244,241,0)); }
.ed__stage::after { right: 0; background: linear-gradient(-90deg, var(--soft) 10%, rgba(245,244,241,0)); }
.ed__stage .stage__track { align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.ed-card {
  flex: none;
  height: clamp(320px, 54vh, 560px);
  aspect-ratio: 1000/1414;
  transform: scale(.78);
  opacity: .4;
  filter: grayscale(1);
  transition: transform 1.15s var(--ease), opacity .9s var(--ease), filter .9s var(--ease), box-shadow 1s;
  cursor: pointer;
  overflow: hidden;
  background: #ddd;
}
.ed-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ed-card.is-near { opacity: .6; }
.ed-card.is-active { transform: scale(1); opacity: 1; filter: none; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); cursor: zoom-in; }

.ed__list {
  position: absolute; z-index: 3; left: var(--gut); top: calc(clamp(440px, 64vh, 660px) / 2); transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0;
  font-family: var(--serif); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  line-height: 2;
}
.ed__list button { color: var(--mute); transition: color .3s, padding .4s var(--ease-out); text-align: left; letter-spacing: inherit; text-transform: inherit; font-family: inherit; }
.ed__list button:hover { color: var(--ink); }
.ed__list button.on { color: var(--ink); padding-left: 12px; }
.ed__list button.on::before { content: "— "; color: var(--red); }

.ed__info { text-align: center; max-width: 520px; margin: 18px auto 0; padding: 0 var(--gut); }
.ed__num { font-size: 10.5px; letter-spacing: .14em; color: var(--mute); margin: 0 0 8px; }
.ed__title { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.4vw, 50px); line-height: 1; margin: 0 0 10px; }
.ed__desc { font-size: 12px; color: var(--ink-2); margin: 0 0 18px; }
.ed__info > * { transition: opacity .5s, transform .6s var(--ease-out); }
.ed__info.swap > * { opacity: 0; transform: translateY(10px); }
.ed__controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 26px; padding: 0 var(--gut); }
.circle-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 15px; transition: background .3s, color .3s; }
.circle-btn:hover { background: var(--ink); color: #fff; }
.ed__dots { display: flex; gap: 6px; }
.ed__dots i { width: 6px; height: 6px; border-radius: 50%; background: #c7c7c7; transition: background .3s, transform .3s; }
.ed__dots i.on { background: var(--ink); transform: scale(1.4); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: clamp(90px, 12vw, 180px) var(--gut); max-width: 1300px; margin: 0 auto; }
.about__big { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.12; margin: 0 0 50px; }
.about__services { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.about__services li { border: 1px solid var(--ink); padding: 8px 16px; border-radius: 30px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; transition: background .3s, color .3s; }
.about__services li:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* =========================================================
   FOOTER (Hostem)
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding: 0 var(--gut); }
.footer__cta { display: block; text-align: center; padding: clamp(60px, 9vw, 130px) 0; border-bottom: 1px solid var(--line); }
.footer__small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.footer__big { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 11vw, 170px); line-height: .9; display: inline-block; transition: color .4s, letter-spacing .7s var(--ease-out); }
.footer__big em { font-style: normal; display: inline-block; transition: transform .6s var(--ease-out); }
.footer__cta:hover .footer__big { color: var(--red); letter-spacing: .02em; }
.footer__cta:hover .footer__big em { transform: translate(8px, -8px); }
.footer__row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 30px 0;
  font-family: var(--serif); font-size: 12px; letter-spacing: .14em; line-height: 1.7;
}
.footer__row p { margin: 0; }
.footer__row p:last-child { text-align: right; }
.footer__row a:hover { color: var(--red); }
.footer__logo { font-size: 22px; letter-spacing: .26em; white-space: nowrap; }
.footer__base { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 16px 0 22px; font-size: 10.5px; letter-spacing: .1em; color: var(--mute); text-transform: uppercase; }
.footer__base a:hover { color: var(--ink); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(255,255,255,.98);
  display: grid; grid-template-rows: auto 1fr auto;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
body.lb-open .lb { opacity: 1; visibility: visible; }
.lb__top { display: flex; align-items: center; gap: 20px; padding: 16px var(--gut); border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.lb__title { font-family: var(--serif); font-size: 18px; letter-spacing: .04em; text-transform: none; font-style: italic; }
.lb__count { color: var(--mute); }
.lb__close { margin-left: auto; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.lb__close:hover { color: var(--red); }
.lb__stage { position: relative; display: grid; place-items: center; padding: 20px 70px; min-height: 0; touch-action: pan-y; }
.lb__stage img { max-width: 100%; max-height: calc(100svh - 200px); object-fit: contain; box-shadow: 0 20px 50px -25px rgba(0,0,0,.35); transition: opacity .35s, transform .5s var(--ease-out); }
.lb__stage img.out { opacity: 0; transform: scale(.97); }
.lb__nav { position: absolute; top: 50%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; display: grid; place-items: center; font-size: 16px; transition: background .3s, color .3s; }
.lb__nav:hover { background: var(--ink); color: #fff; }
.lb__prev { left: var(--gut); }
.lb__next { right: var(--gut); }
.lb__thumbs { display: flex; gap: 8px; justify-content: center; padding: 12px var(--gut) 18px; overflow-x: auto; scrollbar-width: none; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumbs button { flex: none; width: 44px; height: 56px; opacity: .35; transition: opacity .3s; outline-offset: 2px; }
.lb__thumbs button.on { opacity: 1; outline: 1px solid var(--ink); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .hero__strip { left: 36%; gap: 20px; }
  .stat--plain { display: none; }
  .anno--left { display: none; }
  .hdr__left .tag:nth-child(n+3) { display: none; }
}

@media (max-width: 900px) {
  :root { --hdr: 58px; --look-h: min(54svh, 460px); }
  .hdr__left, .hdr__mail { display: none; }
  .hdr { grid-template-columns: 1fr auto 1fr; }
  .hdr::before { content: ""; }
  .logo { grid-column: 2; font-size: 20px; }

  /* hero becomes a stacked flow */
  .hero { height: auto; min-height: 0; padding-bottom: 36px; display: flex; flex-direction: column; }
  .hero__strip {
    position: relative; top: auto; left: auto; right: auto;
    order: 1;
    margin: 14px var(--gut) 0;
    justify-content: space-between; gap: 14px;
  }
  .stat { max-width: none; flex: 1; }
  .stat--plain { display: none; }
  .hero__icons { display: none; }

  .stage { position: relative; order: 2; top: auto; bottom: auto; height: calc(var(--look-h) + 70px); margin-top: 10px; }
  .stage__track { top: 10px; bottom: 40px; }
  .stage__shadow { bottom: 30px; }
  .anno { display: none; }

  .details {
    position: relative; order: 3; right: auto !important; top: auto;
    width: auto; margin: 6px var(--gut) 0; text-align: center;
  }
  .details__sub, .details__body { padding-left: 0; }
  .details__cat, .details__sub { display: none; }
  .details__body { min-height: 76px; }
  .details__body .d-item:nth-child(3) { display: none; }
  .details__body .d-item span { font-size: 10px; color: var(--mute); }

  .hero__index { position: relative; order: 4; right: auto; top: auto; flex-direction: row; justify-content: center; margin: 18px 0 0; }
  .index-dots { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: 300px; }
  .index-line, .index-year { display: none; }

  .hero__copy { position: relative; order: 5; left: auto; bottom: auto; width: auto; margin: 30px var(--gut) 0; }
  .hero__card { position: relative; order: 6; right: auto; bottom: auto; margin: 24px var(--gut) 0; }
  .card__info { flex: 1; width: auto; }
  .hero__bottom { position: relative; order: 7; left: auto; bottom: auto; transform: none; margin: 26px auto 0; width: 60%; }
  body.ready .hero__bottom { transform: none; }

  .concept, .concept--rev { grid-template-columns: 1fr; }
  .concept--rev .concept__media { order: 0; }
  .reel--stagger .rl:nth-child(even) { margin-top: 0; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__note { justify-self: start; text-align: left; }
  .pc, .pc:nth-child(3n+1), .pc:nth-child(3n+2), .pc:nth-child(3n) { grid-column: 1 / -1; margin-top: 0; }

  .ed__stage { height: clamp(360px, 62svh, 520px); }
  .ed__stage::before, .ed__stage::after { width: 10vw; }
  .ed-card { height: clamp(300px, 54svh, 460px); }
  .ed__list { display: none; }

  .footer__row { grid-template-columns: 1fr; text-align: center; }
  .footer__row p:last-child { text-align: center; }
  .footer__logo { order: -1; }
  .lb__stage { padding: 12px 12px 70px; }
  .lb__nav { top: auto; bottom: 10px; }
  .lb__prev { left: calc(50% - 58px); }
  .lb__next { right: calc(50% - 58px); }
}

@media (max-width: 480px) {
  .stat span { font-size: 9.5px; }
  .hero__tag { font-size: 10.5px; }
  .concept__stats { gap: 18px; }
  .lb__top { gap: 12px; }
  .lb__title { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
