/* =========================================================
   Skewers Nepal · scroll tour
   Dark, editorial, few buttons. Oswald (display) + Manrope (text).
   ========================================================= */

:root {
  --bg: #0e0907;
  --ink: #0e0907;
  --paper: #f4efe6;
  --red: #c81e24;
  --yellow: #f7c32b;
  --white: #fff;
  --muted: rgba(255, 255, 255, .62);
  --line: rgba(255, 255, 255, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px; line-height: 1.55; overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- type ---------- */
.block__label, .end__label, .loader__count, .tour__index, .tour__hint, .tlink, dt {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.block__title, .end__title, .loader__brand, .end__h, .modal__head h2 {
  font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: .03em; line-height: .98; margin: 0;
}

/* text links: the only "buttons" on the tour */
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid currentColor;
  transition: gap .25s var(--ease), opacity .2s;
}
.link span { transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(4px); }
.link:hover { opacity: .8; }
.link--dark { color: var(--ink); }
.tlink { text-decoration: none; color: var(--white); opacity: .85; padding: 6px 2px; }
.tlink:hover { opacity: 1; }
.tlink--dark { color: var(--ink); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: opacity .6s var(--ease), visibility .6s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__in { text-align: center; }
.loader__logo { width: clamp(150px, 36vw, 220px); height: auto; margin: 0 auto; display: block; }
.loader__count { color: rgba(14, 9, 7, .6); margin: 22px 0 0; }
.loader__line { display: block; width: 140px; height: 1px; background: rgba(14, 9, 7, .15); margin: 18px auto 0; }
.loader__line i { display: block; height: 100%; width: 0; background: var(--red); transition: width .15s; }

/* ---------- top bar ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + var(--safe-t)) 20px 10px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
  transition: background .3s, color .3s;
}
.top.is-dark { background: var(--paper); color: var(--ink); }
.top.is-dark .tlink { color: var(--ink); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; filter: drop-shadow(0 1px 8px rgba(255, 255, 255, .4)); transition: filter .3s; }
.top.is-dark .brand { filter: none; }
.brand__logo { height: 40px; width: auto; display: block; }
@media (min-width: 900px) { .brand__logo { height: 48px; } }
.top__nav { display: flex; gap: 22px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 45; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--yellow); }

/* ---------- tour ---------- */
.tour { position: relative; }
.tour__stage { position: relative; height: var(--vh); overflow: hidden; background: var(--bg); }
#seq { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tour__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .55) 32%, rgba(0, 0, 0, .12) 62%, rgba(0, 0, 0, 0) 80%),
    linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 30%);
}
@media (min-width: 900px) {
  .tour__shade {
    background:
      linear-gradient(to right, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .55) 32%, rgba(0, 0, 0, .12) 62%, rgba(0, 0, 0, 0) 80%),
      linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 38%),
      linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 26%);
  }
}
.block {
  position: absolute; left: 20px; right: 20px; bottom: calc(72px + var(--safe-b));
  max-width: 560px; opacity: 0; transform: translateY(18px); pointer-events: none; will-change: opacity, transform;
}
.block.is-on { pointer-events: auto; }
.block__label { color: var(--yellow); margin: 0 0 10px; }
.block__title { font-size: clamp(44px, 12.5vw, 92px); }
.block__sub { margin: 12px 0 0; color: rgba(255, 255, 255, .85); max-width: 400px; }
.block .link { margin-top: 16px; }
.data { display: none; margin: 26px 0 0; padding-top: 16px; border-top: 1px solid var(--line); grid-template-columns: repeat(3, auto); gap: 24px; }
.data div { display: flex; flex-direction: column; gap: 4px; }
.data dt { color: var(--muted); }
.data dd { margin: 0; font-size: 13px; }
.tour__index { position: absolute; left: 20px; bottom: calc(22px + var(--safe-b)); margin: 0; color: var(--muted); }
.tour__hint { position: absolute; right: 90px; bottom: calc(22px + var(--safe-b)); margin: 0; color: var(--muted); transition: opacity .4s; }
.tour__hint::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--muted); margin-left: 10px; vertical-align: middle; animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleX(.3); transform-origin: left; } 50% { transform: scaleX(1); } }
.tour__hint.is-hidden { opacity: 0; }

@media (min-width: 900px) {
  .block { left: 7vw; right: auto; top: 50%; bottom: auto; transform: translateY(calc(-50% + 18px)); max-width: 620px; }
  .block__title { font-size: clamp(80px, 9vw, 136px); }
  .block__sub { font-size: 17px; max-width: 440px; }
  .data { display: grid; }
  .tour__index { left: 7vw; bottom: 36px; }
  .tour__hint { right: 7vw; bottom: 36px; }
  .top { padding: 14px 7vw; }
}

/* ---------- end of tour ---------- */
.end { background: var(--paper); color: var(--ink); padding: 88px 0 40px; }
.end__label { color: var(--red); margin: 0 0 12px; }
.end__title { font-size: clamp(56px, 12vw, 120px); margin-bottom: 48px; }
.end__grid { display: grid; gap: 40px; padding-top: 32px; border-top: 1px solid rgba(0, 0, 0, .14); }
@media (min-width: 820px) { .end__grid { grid-template-columns: 1fr 1.2fr 1fr; gap: 48px; } }
.end__h { font-size: 26px; margin-bottom: 10px; letter-spacing: .08em; }
.end__p { margin: 0 0 14px; color: rgba(14, 9, 7, .7); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.rows b { font-weight: 700; display: block; }
.rows small { display: block; color: rgba(14, 9, 7, .62); font-size: 13px; }
.rows .link { font-size: 12px; white-space: nowrap; }
.rows--contact li { border: 0; padding: 4px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 72px; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, .14); font-size: 12px; color: rgba(14, 9, 7, .62); }
.foot .tlink { font-size: 11px; }
.foot__brand { display: inline-flex; align-items: center; gap: 8px; }
.foot__brand img { width: 96px; height: auto; flex: 0 0 auto; }

/* ---------- floating contact button ---------- */
.fab { position: fixed; right: 18px; bottom: calc(18px + var(--safe-b)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__btn {
  width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  transition: transform .25s var(--ease), background .25s;
}
.fab__btn:active { transform: scale(.94); }
.fab__btn svg { width: 22px; height: 22px; fill: currentColor; grid-area: 1 / 1; transition: opacity .2s, transform .25s var(--ease); }
.fab__ic-close { opacity: 0; transform: rotate(-90deg); }
.fab.is-open .fab__ic-open { opacity: 0; transform: rotate(90deg); }
.fab.is-open .fab__ic-close { opacity: 1; transform: none; }
.fab.is-open .fab__btn { background: #fff; color: var(--ink); }
.fab__sheet { display: flex; flex-direction: column; gap: 6px; }
.fab__sheet[hidden] { display: none; }
.fab__sheet a {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(14, 9, 7, .9); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3); animation: pop .3s var(--ease) both;
}
.fab__sheet a:nth-child(1) { animation-delay: .09s; } .fab__sheet a:nth-child(2) { animation-delay: .06s; } .fab__sheet a:nth-child(3) { animation-delay: .03s; }
.fab__sheet a i { font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 12px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .fab { right: 7vw; bottom: 36px; } .tour__hint { right: calc(7vw + 72px); } }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal__panel { position: relative; width: 100%; max-height: calc(var(--vh) - 32px); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: 18px 18px 0 0; animation: up .35s var(--ease); }
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 8px; }
.modal__head h2 { font-size: 30px; letter-spacing: .08em; }
.modal__x { width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; background: rgba(0, 0, 0, .06); }
.modal__body { overflow-y: auto; padding: 6px 20px 20px; -webkit-overflow-scrolling: touch; }
.modal__foot { padding: 12px 20px calc(16px + var(--safe-b)); border-top: 1px solid rgba(0, 0, 0, .1); }
@media (min-width: 720px) {
  .modal { align-items: center; padding: 24px; }
  .modal__panel { max-width: 600px; border-radius: 18px; max-height: calc(var(--vh) - 48px); }
}
.menuimg { margin: 0 0 14px; border-radius: 12px; overflow: hidden; }
.menuimg img { width: 100%; cursor: zoom-in; display: block; }
.tabs { display: flex; gap: 18px; overflow-x: auto; padding: 6px 0 10px; scrollbar-width: none; position: sticky; top: 0; background: var(--paper); z-index: 1; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .5; padding: 6px 0; border-bottom: 1px solid transparent; }
.tab.is-active { opacity: 1; border-color: var(--ink); }
.items { display: grid; }
.mi { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.mi b { font-weight: 600; }
.mi small { display: block; color: rgba(14, 9, 7, .6); font-size: 12px; }
.mi em { font-style: normal; font-family: "Oswald", sans-serif; font-size: 18px; white-space: nowrap; }
.note { font-size: 12px; color: rgba(14, 9, 7, .6); margin: 14px 0 0; }
.rows--loc { margin-top: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .94); display: grid; place-items: center; overflow: auto; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { width: min(96vw, 900px); max-width: none; }
.lightbox .modal__x { position: fixed; top: calc(16px + var(--safe-t)); right: 16px; background: #fff; }

/* ---------- reduced motion: stills stacked ---------- */
body.no-motion .tour__stage { height: auto; }
body.no-motion #seq, body.no-motion .tour__shade, body.no-motion .tour__hint, body.no-motion .tour__index { display: none; }
body.no-motion .block { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; padding: 64px 20px; max-width: none; }
body.no-motion .block::before { content: ""; display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 520px; background: var(--still) center / cover; border-radius: 12px; margin-bottom: 20px; }
