:root {
  --cream: #fff6e9;
  --ink: #17120d;
  --red: #c8102e;
  --red-deep: #9b0a22;
  --saffron: #ff8f1c;
  --saffron-soft: #ffe1c2;
  --navy: #0b2447;
  --navy-deep: #071a35;
  --green: #138808;
  --green-soft: #dff3d8;
  --gold-soft: #fff1c2;
  --amber: #b45309;
  --gold: #ffcc33;
  --white: #fffdf9;

  --earth: #c9a46a;
  --road: #4a4038;
  --wood: #8b5a2b;
  --skin: #e8b58a;
  --metal: #8d8680;
  --water: #6ec6d9;
  --leaf: #3e9b47;
  --leaf2: #8fcf7a;
  --wall: #f3e3cf;
  --wall2: #e2b98f;
  --dark: #2b2118;

  --font-display: "Baloo 2", "Mukta", system-ui, sans-serif;
  --font-body: "Mukta", "Baloo 2", system-ui, sans-serif;

  --pad: clamp(18px, 5vw, 28px);
  --vh: 100vh;
  --vh-l: 100vh;
}

@supports (height: 100svh) {
  :root { --vh: 100svh; --vh-l: 100lvh; }
}

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

html { -webkit-text-size-adjust: 100%; background: var(--cream); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

main { position: relative; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(env(safe-area-inset-top) + 12px) var(--pad) 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  pointer-events: none;
  transition: color 0.4s;
}
.topbar__ward b { color: var(--red); transition: color 0.4s; }
.topbar__name { margin-left: auto; }

.topbar--light { color: var(--white); }
.topbar--light .topbar__ward b { color: var(--gold); }

/* ---------- shared text reveal ---------- */
.line {
  display: block;
  overflow: hidden;
  padding: 0.22em 0 0.1em;
  margin-top: -0.1em;
}
.word {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}
.reveal-line { overflow: hidden; padding: 0.35em 0 0.25em; }
.reveal-line > span {
  display: inline-block;
  transform: translateY(130%);
}
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: var(--vh);
  display: grid;
  place-items: center;
  padding: var(--pad);
  background: var(--cream);
  overflow: hidden;
  z-index: 1;
}
.hero__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.hero__eyebrow > span {
  padding: 6px 14px;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.2rem, 22vw, 8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero__title .word--accent { color: var(--red); }
.hero__sub {
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
}
.hero__who {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  box-shadow: 0 10px 30px rgba(11,36,71,0.12);
  opacity: 0;
  transform: translateY(20px);
}
.hero__who img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 2px solid var(--saffron);
}
.hero__who span { display: grid; line-height: 1.2; }
.hero__who b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--red);
}
.hero__who small { font-size: 0.85rem; font-weight: 600; color: var(--navy); opacity: 0.8; }

.hero__cue {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom) + 22px);
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  z-index: 2;
}
.hero__cue i {
  position: relative;
  display: block;
  width: 2px;
  height: 18px;
  border-radius: 1px;
  background: var(--red);
  animation: arrow-bob 1.4s ease-in-out infinite;
}
.hero__cue i::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 1px;
  width: 7px; height: 7px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: translate(-50%, 0) rotate(45deg);
}

.hero__shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.shape { position: absolute; display: block; will-change: transform; }
.shape--circle {
  width: 42vw; height: 42vw;
  border-radius: 50%;
  background: var(--saffron);
  top: 5%; left: -16vw;
}
.shape--pill {
  width: 46vw; height: 16vw;
  border-radius: 999px;
  background: var(--green);
  bottom: 16%; right: -12vw;
  transform: rotate(-24deg);
}
.shape--ring {
  width: 30vw; height: 30vw;
  border-radius: 50%;
  border: 3.5vw solid var(--navy);
  top: 7%; right: 4vw;
}
.shape--dot {
  width: 9vw; height: 9vw;
  border-radius: 50%;
  background: var(--red);
  bottom: 24%; left: 12vw;
}

/* ---------- sankalp sections ---------- */
.sankalp {
  position: relative;
  min-height: var(--vh-l);
  z-index: 2;
  overflow: hidden;
  color: var(--ink);
  background: var(--cream);
  border-radius: 28px 28px 0 0;
}
.sankalp--01 { --bg: var(--saffron-soft); --accent: var(--red); --card: var(--white); --card-ink: var(--ink); background: var(--bg); }
.sankalp--02 { --bg: var(--gold-soft); --accent: var(--amber); --card: var(--white); --card-ink: var(--ink); background: var(--bg); }
.sankalp--03 { --bg: var(--green-soft); --accent: var(--green); --card: var(--white); --card-ink: var(--ink); background: var(--bg); }
.sankalp--04 { --bg: var(--red); --accent: var(--gold); --card: var(--red-deep); --card-ink: var(--white); background: var(--bg); color: var(--white); }

.sankalp__ghost {
  position: absolute;
  top: 6vh;
  right: -0.08em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 58vw;
  line-height: 1;
  color: var(--accent);
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.sankalp__inner {
  position: relative;
  min-height: var(--vh-l);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--pad) + 52px) 0 calc(var(--pad) + env(safe-area-inset-bottom));
}
.sankalp__num {
  padding: 0 var(--pad);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.75;
  margin-bottom: 8px;
}
.sankalp__num b { color: var(--accent); font-size: 1.1rem; }
.sankalp__title {
  padding: 0 var(--pad);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 10.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.sankalp__title .line:last-child .word { color: var(--accent); }

.scene {
  position: relative;
  flex: 1 1 0;
  min-height: 180px;
  margin-top: clamp(8px, 2vh, 20px);
  overflow: hidden;
}
.scene__svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.scene__svg text { font-family: var(--font-display); font-weight: 800; }

.captions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 14px;
  padding: 0 var(--pad);
}
.captions__stack {
  flex: 1;
  display: grid;
  min-width: 0;
}
.caption {
  grid-area: 1 / 1;
  will-change: transform, opacity;
}
.caption__card {
  height: 100%;
  background: var(--card);
  color: var(--card-ink);
  border-radius: 18px;
  border-left: 5px solid var(--accent);
  padding: 14px 16px 15px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}
.caption h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.15;
  margin-bottom: 4px;
}
.caption p { font-size: 0.95rem; opacity: 0.85; line-height: 1.4; }
.vdots {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 2px;
}
.vdots i {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.25;
  overflow: hidden;
  cursor: pointer;
  pointer-events: auto;
  transition: height 0.3s, opacity 0.3s;
}
.vdots i.on { height: 30px; opacity: 1; background: rgba(0,0,0,0.12); }
.vdots i.on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: calc(var(--p, 0) * 100%);
  background: var(--accent);
  border-radius: 999px;
}
.vdots__arrow {
  position: relative;
  display: block;
  width: 2px;
  height: 16px;
  margin-top: 6px;
  border-radius: 1px;
  background: var(--accent);
  opacity: 0.8;
  animation: arrow-bob 1.4s ease-in-out infinite;
}
.vdots__arrow::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 1px;
  width: 6px; height: 6px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translate(-50%, 0) rotate(45deg);
}
@keyframes arrow-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  background: var(--navy);
  color: var(--gold);
  padding: 16px 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  white-space: nowrap;
}
.marquee__row { display: inline-flex; will-change: transform; }
.marquee__row span { padding-right: 0.4em; }

/* ---------- candidate ---------- */
.candidate {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: calc(var(--pad) + 30px) 0 0;
  overflow: hidden;
}
.candidate__inner {
  padding: 0 var(--pad);
  text-align: center;
}
.candidate__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 6px 14px;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
}
.candidate__photo {
  position: relative;
  width: min(72vw, 300px);
  margin: 26px auto 22px;
}
.candidate__photo-mask {
  border-radius: 150px 150px 26px 26px;
  overflow: hidden;
  background: var(--saffron-soft);
  clip-path: inset(100% 0 0 0 round 150px 150px 26px 26px);
  will-change: clip-path;
}
.candidate__photo-mask img {
  width: 100%;
  height: auto;
  transform: scale(1.15);
  transform-origin: center top;
}
.candidate__badge {
  position: absolute;
  right: -10px; bottom: 18px;
  display: grid;
  place-items: center;
  width: 82px; height: 82px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1;
  box-shadow: 0 10px 24px rgba(200,16,46,0.35);
  transform: scale(0) rotate(-20deg);
}
.candidate__badge b { font-size: 0.75rem; font-weight: 700; }
.candidate__badge strong { font-size: 1.9rem; font-weight: 800; }

.candidate__role {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--red);
  padding: 5px 14px;
  border-radius: 8px;
  margin-bottom: 6px;
}
.candidate__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 18vw, 6.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--red);
}
.candidate__name .line:first-child .word { color: var(--navy); }
.candidate__tag {
  margin-top: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
}

.info {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  text-align: left;
}
.info__block {
  background: var(--white);
  border: 1.5px solid rgba(11,36,71,0.12);
  border-radius: 20px;
  padding: 20px 20px 22px;
}
.info__block h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.info__block ul { list-style: none; display: grid; gap: 6px; }
.info__block li {
  position: relative;
  padding-left: 18px;
  font-weight: 500;
}
.info__block li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--saffron);
}
.info__block--dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.info__block--dark h4 { color: var(--gold); }
.info__block--accent {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  text-align: center;
}
.info__block--accent h4 { color: var(--gold); font-size: 1.6rem; }
.info__block--accent p { font-weight: 500; font-size: 1.05rem; }

.cta {
  margin-top: 34px;
}
.cta__line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--navy);
}
.cta__hands { font-size: 2.6rem; margin-top: 10px; }

.suggest {
  margin-top: 40px;
  text-align: left;
  background: var(--white);
  border: 1.5px solid rgba(11,36,71,0.12);
  border-radius: 22px;
  padding: 22px 20px 20px;
}
.suggest h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--red);
}
.suggest__intro { margin-top: 4px; margin-bottom: 16px; font-size: 0.98rem; color: var(--navy); opacity: 0.85; }
.suggest__form { display: grid; gap: 12px; }
.suggest label {
  display: grid;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.suggest input, .suggest textarea {
  width: 100%;
  font: inherit;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 12px;
  border: 1.5px solid rgba(11,36,71,0.18);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
}
.suggest textarea { resize: vertical; min-height: 96px; }
.suggest input:focus, .suggest textarea:focus { border-color: var(--red); background: #fff; }
.suggest__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.suggest button {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(200,16,46,0.28);
}
.suggest button:disabled { opacity: 0.6; cursor: default; }
.suggest__status { min-height: 1.4em; text-align: center; font-weight: 600; color: var(--green); }
.suggest__status.is-error { color: var(--red); }

.footer {
  margin-top: 40px;
  padding: 26px var(--pad) calc(env(safe-area-inset-bottom) + 28px);
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-weight: 500;
}
.footer__tags {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
}

/* ---------- desktop guard ---------- */
@media (min-width: 640px) {
  body { background: var(--navy-deep); }
  main, .topbar {
    max-width: 480px;
    margin: 0 auto;
    left: 0; right: 0;
  }
  main { box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 80px rgba(0,0,0,0.5); }
}

