/* Naqsh brand: tokens, rail, type, buttons and footer shared by every Naqsh page. */
:root {
  --bg: #101845;
  --ink: #F4F4EF;
  --muted: #A9AFD0;
  --surface: #18215A;
  --surface-2: #232E73;
  --madder: #C8283E;
  --madder-2: #D93B51;
  --resist: #F7F7F2;
  --line: rgba(169, 175, 208, 0.18);
  --line-2: rgba(169, 175, 208, 0.34);
  --rail: 88px;
  --display: "Bespoke Stencil", "Bai Jamjuree", system-ui, sans-serif;
  --text: "Bai Jamjuree", system-ui, sans-serif;
  --urdu: "Gulzar", serif;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 5vw, 80px);
}
html {
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
em,
i {
  font-style: normal;
}
::selection {
  background: var(--madder);
  color: #fff;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--resist);
  outline-offset: 3px;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.cap {
  font: 600 11px/1.2 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- rail: a left vertical rail on desktop, a top bar on phone ---------- */
.rail {
  position: fixed;
  z-index: 60;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 0 28px;
  background: var(--bg);
  border-right: 1px solid var(--line);
}
.rail-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.rail-ur {
  font-family: var(--urdu);
  font-size: 30px;
  line-height: 2;
}
.rail-en {
  margin-top: -4px;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1;
}
.rail-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  margin: auto 0;
  padding: 0;
  list-style: none;
}
.rail-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  color: var(--muted);
  font: 600 11px/1 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}
.rail-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--madder);
  transform: scale(0);
  transition: transform 0.45s var(--ease);
}
.rail-links a:hover {
  color: var(--ink);
}
.rail-links a[aria-current="page"] {
  color: var(--ink);
}
.rail-links a[aria-current="page"]::before {
  transform: scale(1);
}
/* full page captures: the rail runs the length of the page */
.nq-capture body {
  position: relative;
}
.nq-capture .rail {
  position: absolute;
}
.nq-capture .rail-links {
  margin: 290px 0 auto;
}
.rail-swatch {
  position: relative;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 6px;
}
@media (max-width: 899px) {
  .rail {
    right: 0;
    bottom: auto;
    width: auto;
    height: 56px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .rail-mark {
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
  }
  .rail-ur {
    font-size: 20px;
    line-height: 1.7;
  }
  .rail-en {
    margin: 0;
    font-size: 18px;
  }
  .rail-links {
    flex-direction: row;
    gap: 18px;
    margin: 0;
  }
  .rail-links a {
    flex-direction: row;
    gap: 7px;
    padding: 8px 0;
  }
  .rail-swatch {
    display: none;
  }
}

/* ---------- buttons: one hover style, the kit fill ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--madder);
  color: #fff;
  font: 600 16px/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  --k-fill: var(--resist);
  --k-fill-ink: var(--bg);
  transition: transform 0.25s var(--ease), color 0.45s var(--ease);
}
.btn:active,
.tool:active {
  transform: scale(0.97);
}
.btn .k-arrow svg {
  width: 16px;
  height: 16px;
}
.tool {
  position: relative;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font: 500 14px/1 var(--text);
  --k-fill: var(--surface-2);
  --k-fill-ink: var(--ink);
  transition: transform 0.25s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease), background-color 0.35s;
}
.tool[aria-pressed="true"],
.tool[aria-selected="true"] {
  border-color: var(--madder);
  background: var(--madder);
  color: #fff;
  --k-fill: var(--madder-2);
  --k-fill-ink: #fff;
}

/* ---------- footer ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding: 40px var(--gutter) 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot-mark {
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
}
.foot-note {
  margin: 0;
}
.foot-links {
  display: flex;
  gap: 28px;
}
.foot-links a {
  color: var(--ink);
}
@media (min-width: 900px) {
  .with-rail {
    padding-left: var(--rail);
  }
}
@media (max-width: 899px) {
  .with-rail {
    padding-top: 56px;
  }
}
