/* Gigsity: paper, ink, marigold, and a red grease pencil. Mobile first. */

:root {
  --paper: #f2ebdf;
  --paper-deep: #e8dfcf;
  --card: #fbf7ef;
  --ink: #17131c;
  --ink-soft: #2a2431;
  --mute: #6a6270;
  --gold: #f4ae1a;
  --gold-deep: #c98a06;
  --red: #d9412b;
  --line: rgba(23, 19, 28, 0.16);
  --line-light: rgba(242, 235, 223, 0.18);
  --sans: "Anek Latin", "Anek Devanagari", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --hand: "Kalam", "Anek Devanagari", cursive;
  --pad: clamp(18px, 4.5vw, 56px);
  --max: 1240px;
}

html[lang="hi"] {
  --sans: "Anek Devanagari", "Anek Latin", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* Paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .07 0 0 0 0 .11 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2 {
  font-weight: 800;
  font-stretch: 84%;
  line-height: 0.98;
  letter-spacing: -0.015em;
}

html[lang="hi"] h1,
html[lang="hi"] h2 {
  line-height: 1.22;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(34px, 6vw, 64px);
}

h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

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

section {
  padding: clamp(56px, 9vw, 112px) var(--pad);
}

section > * {
  max-width: var(--max);
  margin-inline: auto;
}

.fine {
  font-size: 14px;
  color: var(--mute);
}

/* ---------- top bar ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px var(--pad);
  background: rgba(242, 235, 223, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-stretch: 90%;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark-dot {
  width: 14px;
  height: 14px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 3px;
  transform: rotate(-8deg);
}

.bar-nav {
  display: none;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
}

.bar-nav a {
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.bar-nav a:hover {
  border-color: var(--gold);
}

.bar-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Anek Devanagari", "Anek Latin", sans-serif;
}

.lang:hover {
  border-color: var(--ink);
}

@media (min-width: 760px) {
  .bar-nav {
    display: flex;
  }
  .bar-end {
    margin-left: 12px;
  }
}

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 6px;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--gold);
}

.btn-ink:hover {
  box-shadow: 2px 2px 0 var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-small {
  min-height: 38px;
  padding: 6px 14px;
  font-size: 15px;
  box-shadow: 2px 2px 0 var(--ink);
}

.link-arrow {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.link-arrow::after {
  content: " →";
}

.link-arrow.light {
  color: var(--paper);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  gap: 34px;
  padding-top: clamp(28px, 5vw, 60px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.hero > * {
  max-width: none;
  margin-inline: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
}

html[lang="hi"] .eyebrow {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 7.4vw, 92px);
  max-width: 11ch;
}

html[lang="hi"] h1 {
  font-size: clamp(38px, 8.6vw, 84px);
  max-width: 13ch;
}

.lede {
  margin-top: 22px;
  max-width: 40ch;
  font-size: clamp(18px, 2.3vw, 21px);
}

.hero .cta-row {
  margin-top: 28px;
}

.hero .fine {
  margin-top: 16px;
  max-width: 44ch;
}

.hero-phone {
  position: relative;
  justify-self: center;
}

.phone {
  position: relative;
  width: min(280px, 68vw);
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border: 7px solid var(--ink);
  border-radius: 26px;
  box-shadow: 10px 12px 0 rgba(23, 19, 28, 0.14);
  transform: rotate(1.6deg);
}

.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 19px;
  display: block;
  background: #0c0a10;
}

.sound {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 8px 14px 8px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.sound svg {
  width: 18px;
  height: 18px;
  fill: var(--ink);
}

.sound[hidden] {
  display: none;
}

.tape {
  position: absolute;
  z-index: 2;
  width: 84px;
  height: 26px;
  background: rgba(244, 174, 26, 0.72);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.phone .tape-a {
  top: -16px;
  left: -30px;
  transform: rotate(-38deg);
}

.phone .tape-b {
  top: -16px;
  right: -30px;
  transform: rotate(36deg);
}

.scribble {
  font-family: var(--hand);
  font-weight: 700;
  color: var(--red);
  font-size: 19px;
  line-height: 1.1;
}

.scribble svg {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scribble-phone {
  display: none;
}

/* the editing desk: tabs, ruler, waveform, cuts */

.desk {
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  padding: 16px 14px 14px;
  min-width: 0;
}

.desk-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.chip-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 3px 8px;
  border-radius: 3px;
}

html[lang="hi"] .chip-label {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 700;
}

.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: -4px;
  padding-inline: 4px;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs button {
  flex: none;
  background: none;
  border: 1px solid var(--line-light);
  color: rgba(242, 235, 223, 0.72);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 14px;
  font-weight: 600;
}

.tabs button[aria-selected="true"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.track {
  position: relative;
  height: 112px;
  margin-top: 4px;
}

/* flags on top, waveform in the middle, timecodes underneath */
.ruler {
  position: absolute;
  inset: auto 0 0 0;
  height: 20px;
  overflow: hidden;
  border-top: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(242, 235, 223, 0.55);
}

.ruler span {
  position: absolute;
  bottom: 0;
  padding: 5px 0 0 5px;
  height: 20px;
  border-left: 1px solid var(--line-light);
}

.wave {
  position: absolute;
  inset: 32px 0 26px 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.wave i {
  flex: 1;
  min-width: 1px;
  background: rgba(242, 235, 223, 0.24);
  border-radius: 1px;
}

.cuts {
  position: absolute;
  inset: 30px 0 22px 0;
}

.cut {
  position: absolute;
  top: 0;
  bottom: 0;
  min-width: 12px;
  padding: 0;
  background: rgba(244, 174, 26, 0.88);
  border: 0;
  border-radius: 3px;
}

.cut::before {
  /* generous tap target */
  content: "";
  position: absolute;
  inset: -8px -14px;
}

.cut span {
  position: absolute;
  top: -27px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.cut[aria-pressed="true"] {
  background: var(--red);
}

.cut[aria-pressed="true"] span {
  background: var(--paper);
  box-shadow: 0 0 0 3px var(--red);
}

.desk-sum {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(242, 235, 223, 0.7);
}

html[lang="hi"] .desk-sum {
  font-family: var(--sans);
  font-size: 15px;
}

.desk-sum b {
  color: var(--gold);
  font-weight: 600;
}

.cliplist {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.cliplist button {
  width: 100%;
  display: grid;
  grid-template-columns: 26px 54px 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: rgba(242, 235, 223, 0.06);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--paper);
  font-size: 15.5px;
  font-family: "Anek Devanagari", "Anek Latin", sans-serif;
}

.cliplist button:hover {
  background: rgba(242, 235, 223, 0.11);
}

.cliplist button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
}

.cliplist .n {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.cliplist [aria-pressed="true"] .n {
  background: var(--red);
  color: var(--paper);
}

.cliplist .tc,
.cliplist .len {
  font-family: var(--mono);
  font-size: 12.5px;
  opacity: 0.72;
}

.cliplist .ti {
  font-weight: 600;
  line-height: 1.3;
}

.desk-note {
  margin-top: 12px;
  color: rgba(242, 235, 223, 0.55);
  font-size: 13px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "copy phone" "desk desk";
    column-gap: clamp(30px, 6vw, 90px);
    align-items: center;
    max-width: calc(var(--max) + 2 * var(--pad));
    margin-inline: auto;
  }
  .hero-copy {
    grid-area: copy;
  }
  .hero-phone {
    grid-area: phone;
    padding-right: clamp(0px, 4vw, 60px);
  }
  .phone {
    width: clamp(250px, 23vw, 300px);
  }
  .desk {
    grid-area: desk;
    padding: 20px 22px 18px;
  }
  .scribble-phone {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    position: absolute;
    left: -128px;
    bottom: -6px;
    width: 150px;
    transform: rotate(-5deg);
  }
  .scribble-phone svg {
    width: 54px;
    flex: none;
    margin-bottom: -26px;
  }
  .cliplist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- doors ---------- */

.doors {
  padding-top: clamp(20px, 4vw, 40px);
}

.doors h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  margin-bottom: 24px;
}

.door-row {
  display: grid;
  gap: 14px;
}

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.door:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--gold);
}

.door-no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mute);
}

.door h3 {
  font-size: 24px;
  font-stretch: 90%;
  font-weight: 800;
}

.door p {
  color: var(--ink-soft);
  flex: 1;
}

.door .link-arrow {
  margin-top: 6px;
  align-self: flex-start;
}

@media (min-width: 820px) {
  .door-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* ---------- the wall (contact sheet) ---------- */

.wall {
  background: var(--ink);
  color: var(--paper);
  background-image: none;
}

.wall-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 30px;
}

.wall-head p {
  margin-top: 10px;
  color: rgba(242, 235, 223, 0.7);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters button {
  background: none;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(242, 235, 223, 0.8);
}

.filters button[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.filters .count {
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0.7;
  margin-left: 5px;
}

.frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 28px;
}

.frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 24px 7px 12px;
  background: #0b090f;
  border: 0;
  text-align: left;
  color: var(--paper);
}

/* sprocket holes, top and bottom, so a row reads as one strip of film */
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(242, 235, 223, 0.2) 7px 16px, transparent 16px 23px);
}

.frame::before {
  top: 8px;
}

.frame::after {
  bottom: 0;
  display: none;
}

.frame-pic {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #1d1824;
  border-radius: 2px;
}

.frame-pic img,
.frame-pic video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-pic video {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.frame.playing .frame-pic video {
  opacity: 1;
}

.frame-len {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(11, 9, 15, 0.78);
  font-family: var(--mono);
  font-size: 11.5px;
}

.frame-ring {
  position: absolute;
  inset: -3px;
  border: 4px solid var(--red);
  border-radius: 47% 53% 50% 50% / 8% 7% 9% 8%;
  opacity: 0;
  transform: rotate(-1.2deg) scale(0.97);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
}

.frame:hover .frame-ring,
.frame:focus-visible .frame-ring {
  opacity: 1;
  transform: rotate(-1.2deg) scale(1);
}

.frame-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.frame-meta span:last-child {
  color: rgba(242, 235, 223, 0.55);
  text-align: right;
}

.frame-title {
  margin-top: 5px;
  min-height: 2.7em;
  font-family: "Anek Devanagari", "Anek Latin", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.frame[hidden] {
  display: none;
}

.wall-error {
  padding: 30px 0;
  color: var(--gold);
}

@media (min-width: 640px) {
  .frames {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .frames {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .frame-title {
    font-size: 15.5px;
  }
}

@media (min-width: 1180px) {
  .frames {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* ---------- clip sheet ---------- */

.sheet {
  display: grid;
  gap: 40px;
}

.sheet > * {
  max-width: none;
  margin-inline: 0;
}

.sheet-copy p {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 18.5px;
}

.sheet-copy h3 {
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

html[lang="hi"] .sheet-copy h3 {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
}

.ticks {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.32em;
  width: 15px;
  height: 8px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-48deg);
  border-radius: 1px;
}

.paper {
  position: relative;
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: 8px 10px 0 rgba(23, 19, 28, 0.1);
  padding: 22px 16px 16px;
  transform: rotate(-0.7deg);
  min-width: 0;
}

.paper .tape-a {
  top: -13px;
  left: 50%;
  margin-left: -42px;
  transform: rotate(-2deg);
}

.paper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.paper th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0 8px 8px 0;
  border-bottom: 2px solid var(--ink);
}

html[lang="hi"] .paper th {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
}

.paper td {
  padding: 11px 8px 11px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.paper td:first-child {
  width: 30px;
}

.paper .at {
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}

.paper .hook {
  font-family: "Anek Devanagari", "Anek Latin", sans-serif;
  font-weight: 600;
}

.paper .why {
  color: var(--ink-soft);
  display: none;
}

.box {
  display: inline-block;
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 2px;
}

.picked .box::after {
  content: "";
  position: absolute;
  left: 2px;
  top: -9px;
  width: 22px;
  height: 12px;
  border-left: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  transform: rotate(-50deg);
  border-radius: 2px;
}

.skipped .hook,
.skipped .at {
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  color: var(--mute);
}

.skipped .box {
  border-color: var(--line);
}

.skip-note {
  display: block;
  margin-top: 3px;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 17px;
  color: var(--red);
  text-decoration: none;
  transform: rotate(-1.5deg);
  transform-origin: left;
}

.skip-why {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.paper figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mute);
}

html[lang="hi"] .paper figcaption {
  font-family: var(--sans);
  font-size: 14px;
}

@media (min-width: 700px) {
  .paper {
    padding: 28px 26px 20px;
  }
  .paper .why {
    display: table-cell;
  }
  .skip-why {
    display: none;
  }
}

@media (min-width: 1000px) {
  .sheet {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: center;
    max-width: calc(var(--max) + 2 * var(--pad));
    margin-inline: auto;
  }
}

/* ---------- how it works ---------- */

.how {
  background: var(--paper-deep);
}

.steps {
  margin-top: 36px;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 30px 34px;
  border-left: 2px solid var(--ink);
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 3px;
  transform: rotate(-8deg);
}

.step-k {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 6px;
}

html[lang="hi"] .step-k {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
}

.steps h3 {
  font-size: 24px;
  font-stretch: 90%;
  font-weight: 800;
}

.steps p {
  margin-top: 6px;
  color: var(--ink-soft);
  max-width: 34ch;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps li {
    padding: 34px 26px 0 0;
    border-left: 0;
    border-top: 2px solid var(--ink);
  }
  .steps li:last-child {
    border-top-color: var(--ink);
  }
  .steps li::before {
    left: 0;
    top: -10px;
  }
}

/* ---------- prices ---------- */

.prices-head p {
  margin-top: 12px;
  font-size: 18.5px;
  color: var(--ink-soft);
}

.cards {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.card {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

/* ticket notches */
.card::before,
.card::after {
  content: "";
  position: absolute;
  top: 92px;
  width: 20px;
  height: 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.card::before {
  left: -12px;
  clip-path: inset(0 0 0 50%);
}

.card::after {
  right: -12px;
  clip-path: inset(0 50% 0 0);
}

.card-name {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

html[lang="hi"] .card-name {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 700;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
  padding-bottom: 18px;
  border-bottom: 2px dashed var(--line);
}

.price b {
  font-size: 54px;
  font-weight: 800;
  font-stretch: 84%;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price span {
  color: var(--mute);
  font-size: 15px;
}

.card p {
  margin-top: 16px;
}

.card .best {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--mute);
}

.card .best b {
  color: var(--ink);
  font-weight: 600;
}

.card.lit,
.pack.lit {
  box-shadow: 6px 6px 0 var(--gold);
}

.sub {
  margin-top: 54px;
  font-size: 28px;
  font-stretch: 88%;
  font-weight: 800;
}

.packs {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.pack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  align-items: baseline;
  padding: 18px 20px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.pack h4 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  font-stretch: 90%;
}

.pack .amt {
  font-size: 26px;
  font-weight: 800;
  font-stretch: 86%;
  white-space: nowrap;
}

.pack .amt small {
  font-size: 13.5px;
  font-weight: 500;
  font-stretch: 100%;
  color: var(--mute);
}

.pack p {
  grid-column: 1 / -1;
  color: var(--ink-soft);
}

.pack.featured {
  background: var(--ink);
  color: var(--paper);
}

.pack.featured p,
.pack.featured .amt small {
  color: rgba(242, 235, 223, 0.74);
}

.pack-flag {
  position: absolute;
  top: -13px;
  right: 16px;
  padding: 2px 10px;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 700;
  transform: rotate(2deg);
}

/* Custom order: a cut-out coupon under the packs, dashed like a "cut here" line. */
.custom {
  margin-top: 18px;
  display: grid;
  gap: 18px;
  padding: 22px 20px;
  background: var(--paper);
  border: 2px dashed var(--ink);
  border-radius: 8px;
}

.custom h4 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-size: 21px;
  font-weight: 800;
  font-stretch: 90%;
}

.custom-tag {
  font-family: var(--hand);
  font-size: 19px;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--red);
  transform: rotate(-1.5deg);
}

.custom-main > p {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 60ch;
}

.custom-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.custom-list li {
  position: relative;
  padding-left: 24px;
}

.custom-list li::before {
  content: "+";
  position: absolute;
  left: 2px;
  top: -1px;
  font-family: var(--hand);
  font-size: 20px;
  line-height: 1.2;
  color: var(--red);
}

.custom-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.custom-side p {
  font-size: 14.5px;
  color: var(--mute);
}

.custom-side .btn {
  justify-self: start;
}

.custom + .fine {
  margin-top: 14px;
}

@media (min-width: 820px) {
  .custom {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 40px;
    padding: 26px 28px;
  }
  .custom-side {
    align-content: end;
    padding-left: 28px;
    border-left: 2px dashed var(--line);
  }
}

.whitelabel {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 2px solid var(--ink);
  display: grid;
  gap: 20px;
  scroll-margin-top: 90px;
}

.whitelabel h3 {
  font-size: 26px;
  font-stretch: 88%;
  font-weight: 800;
}

.whitelabel p {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 44ch;
}

.whitelabel table {
  width: 100%;
  border-collapse: collapse;
}

.whitelabel td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.whitelabel td:last-child {
  text-align: right;
  font-family: var(--mono);
  font-weight: 600;
  white-space: nowrap;
}

.whitelabel td small {
  font-weight: 400;
  color: var(--mute);
}

.trial {
  margin-top: 54px;
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 26px 22px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--ink);
}

.trial h3 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-stretch: 86%;
  font-weight: 800;
  line-height: 1.08;
}

html[lang="hi"] .trial h3 {
  line-height: 1.3;
}

.trial p {
  margin-top: 8px;
  max-width: 52ch;
}

.trial .btn {
  justify-self: start;
  box-shadow: 4px 4px 0 var(--paper);
}

@media (min-width: 820px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .packs {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
  }
  .pack {
    grid-template-columns: 1fr;
    align-content: start;
  }
  .whitelabel {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
  .trial {
    grid-template-columns: 1fr auto;
    padding: 32px 36px;
  }
}

/* ---------- faq ---------- */

.faq {
  background: var(--paper-deep);
}

.faq-list {
  margin-top: 30px;
  max-width: 860px;
  margin-inline: 0;
  border-top: 2px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 44px 18px 0;
  font-size: 21px;
  font-weight: 700;
  font-stretch: 92%;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 12px;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 400;
  color: var(--red);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding: 0 0 22px;
  max-width: 62ch;
  color: var(--ink-soft);
}

/* ---------- hello + final ---------- */

.hello {
  background: var(--ink);
  color: var(--paper);
  background-image: none;
  display: grid;
  gap: 44px;
}

.hello > * {
  max-width: none;
  margin-inline: 0;
}

.note {
  background: var(--card);
  color: var(--ink);
  padding: 26px 24px 22px;
  border-radius: 4px;
  transform: rotate(-1deg);
  box-shadow: 8px 8px 0 rgba(244, 174, 26, 0.9);
  max-width: 520px;
}

.note h3 {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

html[lang="hi"] .note h3 {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
}

.note p {
  margin-top: 14px;
}

.note .pages {
  font-size: 15px;
  color: var(--ink-soft);
}

.sign {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 30px;
  color: var(--red);
  transform: rotate(-3deg);
  transform-origin: left;
}

.final h2 {
  font-size: clamp(40px, 7.4vw, 86px);
  max-width: 12ch;
}

html[lang="hi"] .final h2 {
  font-size: clamp(34px, 6vw, 68px);
}

.final .cta-row {
  margin-top: 30px;
}

.final .btn-gold {
  box-shadow: 4px 4px 0 var(--paper);
}

.final-mail {
  margin-top: 18px;
  color: rgba(242, 235, 223, 0.7);
}

.final-mail + .final-mail {
  margin-top: 6px;
}

@media (min-width: 920px) {
  .hello {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 80px;
    align-items: center;
    padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2));
  }
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding: 22px var(--pad) 30px;
  background: var(--ink);
  color: rgba(242, 235, 223, 0.62);
  border-top: 1px solid var(--line-light);
  font-size: 14px;
}

.foot .mark {
  color: var(--paper);
  font-size: 18px;
}

.foot span:last-child {
  margin-left: auto;
}

/* ---------- viewer ---------- */

.viewer {
  width: min(980px, 100vw);
  max-width: 100vw;
  max-height: 100dvh;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}

.viewer::backdrop {
  background: rgba(11, 9, 15, 0.86);
}

.viewer[open] {
  display: grid;
}

.v-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: 24px;
  line-height: 1;
}

.v-stage {
  background: #0b090f;
  display: grid;
  place-items: center;
}

.v-stage video {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(62dvh, 640px);
  aspect-ratio: 9 / 16;
  background: #0b090f;
}

.v-info {
  padding: 20px var(--pad) 26px;
}

.v-no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.v-info h3 {
  margin-top: 6px;
  font-family: "Anek Devanagari", "Anek Latin", sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.22;
}

.v-sub {
  margin-top: 4px;
  color: var(--mute);
}

.v-info dl {
  margin-top: 16px;
  border-top: 2px solid var(--ink);
}

.v-info dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.v-info dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 3px;
}

html[lang="hi"] .v-info dt {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
}

.v-did {
  margin-top: 14px;
}

.v-rights {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--mute);
}

.v-info .btn {
  margin-top: 18px;
  width: 100%;
}

.v-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.v-nav button {
  background: none;
  border: 0;
  padding: 8px 0;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

@media (min-width: 820px) {
  .viewer[open] {
    grid-template-columns: auto minmax(0, 1fr);
    max-height: 92dvh;
    border-radius: 10px;
    border: 2px solid var(--ink);
  }
  .v-stage video {
    height: min(84dvh, 760px);
  }
  .v-info {
    padding: 44px 34px 30px;
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
