/* एक Art launch page
   Palette drawn from the logo: rani pink, neel indigo, aasmaan cyan.
   The logo is the one loud element; everything else stays quiet. */
:root {
  --paper: #ffffff;
  --mist: #f4f3fb;
  --ink: #1b1640;
  --ink-soft: #4f4a72;
  --rani: #e8034e;
  --neel: #3a0ce3;
  --aasmaan: #24c9f0;
  --line: #d9d6ec;
  --error: #b00035;
  --display: "Tiro Devanagari Hindi", Georgia, serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 38rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a { color: var(--neel); text-underline-offset: 0.18em; }
a:hover { color: var(--rani); }

:focus-visible { outline: 3px solid var(--aasmaan); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; border-radius: 6px;
}
.skip:focus { top: 1rem; color: var(--paper); }

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.wrap.narrow > * { max-width: 34rem; }

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 1.5rem;
}

/* Hero: the logo is the headline */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-logo { margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); max-width: 47.5rem; margin-left: -2%; }
.tagline {
  font-family: var(--display);
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.meaning { max-width: var(--measure); margin: 0 0 1.25rem; font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); line-height: 1.5; }
.lede { max-width: var(--measure); margin: 0 0 2rem; color: var(--ink-soft); font-size: 1.125rem; }

.button {
  display: inline-block;
  font: 500 1.0625rem/1.2 var(--body);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--neel); color: var(--paper); }
.button[disabled] { opacity: 0.6; cursor: progress; }

/* Manifesto: set like a page from a book */
.manifesto { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--mist); }
.manifesto p {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem);
  line-height: 1.5;
  max-width: 36rem;
  margin: 0 0 1.25rem;
}
.manifesto p:last-child { margin-bottom: 0; }

/* Promises */
.promises { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.promises dl { display: grid; gap: 2rem 3rem; margin: 0; }
@media (min-width: 720px) { .promises dl { grid-template-columns: 1fr 1fr; } }
.promises dt { font-weight: 700; font-size: 1.1875rem; margin-bottom: 0.25rem; }
.promises dd { margin: 0; color: var(--ink-soft); max-width: 30rem; }

/* Art forms as a run of words */
.forms { padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.form-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem);
  max-width: 56rem;
}
.form-list li:last-child { color: var(--ink-soft); font-style: italic; }

/* Sign-up */
.join { background: var(--mist); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.join-intro { margin: -0.75rem 0 2rem; color: var(--ink-soft); }

form { display: grid; gap: 1.5rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field > label { font-weight: 500; margin-bottom: 0.4rem; padding: 0; display: block; }
.optional, .hint { color: var(--ink-soft); font-weight: 400; }
.hint { font-size: 0.9375rem; margin: 0.35rem 0 0; }
.arts .hint { margin: -0.2rem 0 0.75rem; }

input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  font: 400 1.0625rem/1.4 var(--body);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}
input:focus-visible { outline: none; border-color: var(--neel); box-shadow: 0 0 0 3px rgba(58, 12, 227, 0.18); }
input[aria-invalid="true"] { border-color: var(--error); }

.phone { display: flex; align-items: stretch; }
.phone .prefix {
  display: flex; align-items: center; padding: 0 0.85rem;
  border: 1.5px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px;
  background: var(--paper); color: var(--ink-soft);
}
.phone input { border-radius: 0 10px 10px 0; }

.who { display: grid; gap: 0.6rem; }
.choice { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.choice input { margin-top: 0.35rem; width: 1.15rem; height: 1.15rem; accent-color: var(--neel); flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: 0.9875rem; line-height: 1.3;
}
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 3px solid var(--aasmaan); outline-offset: 2px; }

.error { color: var(--error); font-size: 0.9375rem; margin: 0.4rem 0 0; }
.form-status { margin: 0; min-height: 1.5rem; }
.form-status.is-error { color: var(--error); }

.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.done h3 { font-family: var(--display); font-weight: 400; font-size: 1.75rem; margin: 0 0 0.5rem; }
.done:focus { outline: none; }

/* Footer */
.footer { padding: 2.5rem 0 3rem; color: var(--ink-soft); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; align-items: baseline; }
.footer p { margin: 0; }
.footer .small { font-size: 0.9375rem; margin-left: auto; }

/* Privacy page */
.doc { padding: 3rem 0 4rem; }
.doc .wrap { width: min(100% - 2.5rem, 40rem); }
.doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.15; margin: 1.5rem 0 1rem; }
.doc h2 { font-size: 1.5rem; margin: 2rem 0 0.5rem; }
.doc .back img { width: 8rem; }

/* ------------------------------------------------------------------
   Launch page v2: one orchestrated load moment and a slow ribbon.
   Ink spreads across the logo, the two lines of the tagline settle,
   and the art forms drift by in the logo's own colours.
   ------------------------------------------------------------------ */
.hero { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.tagline span { display: inline-block; }
.meaning { font-style: normal; color: var(--ink-soft); max-width: 34rem; margin-bottom: 2rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-logo img {
    -webkit-mask-image: linear-gradient(100deg, #000 0 38%, transparent 62% 100%);
            mask-image: linear-gradient(100deg, #000 0 38%, transparent 62% 100%);
    -webkit-mask-size: 300% 100%;
            mask-size: 300% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    animation: ink-spread 1.8s cubic-bezier(.22, .7, .2, 1) .15s both;
  }
  .tagline span, .meaning, .hero .button {
    animation: settle .9s cubic-bezier(.2, .7, .2, 1) both;
  }
  .tagline span:nth-child(1) { animation-delay: 1.1s; }
  .tagline span:nth-child(2) { animation-delay: 1.35s; }
  .meaning { animation-delay: 1.6s; }
  .hero .button { animation-delay: 1.8s; }
}
@keyframes ink-spread {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; opacity: .2; }
  to   { -webkit-mask-position: 0 0;    mask-position: 0 0;    opacity: 1; }
}
@keyframes settle {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* the ribbon of art forms */
.marquee { overflow: hidden; padding: clamp(1.25rem, 3vw, 2rem) 0; border-block: 1px solid var(--line); }
.marquee-row {
  display: flex; width: max-content; gap: clamp(1.5rem, 4vw, 3rem);
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.1;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--rani), var(--neel) 45%, var(--aasmaan) 100%);
  background-size: 50% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.marquee-row span { display: inline-flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.marquee-row span::after {
  content: ""; width: .28em; height: .28em; border-radius: 50%;
  background: var(--neel); opacity: .35;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-row { animation: drift 60s linear infinite; }
  .marquee:hover .marquee-row { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-row { width: auto; flex-wrap: wrap; white-space: normal; padding-inline: 1.25rem; }
  .marquee-row span:nth-child(n + 15) { display: none; }
}
@keyframes drift { to { transform: translateX(-50%); } }

/* manifesto as verse */
.manifesto p { margin: 0 0 .6rem; }
.manifesto .belief {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.15;
  margin: 2rem 0 1.25rem;
  max-width: 22ch;
}
.manifesto .nudge { color: var(--ink-soft); font-style: italic; }

/* promises: four lines, no cards */
.promises h2 { margin-bottom: 1.75rem; }
.promise-list { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1rem; max-width: 40rem; font-size: 1.1875rem; }
.promise-list li { padding-left: 1.4rem; position: relative; color: var(--ink-soft); }
.promise-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--rani), var(--aasmaan));
}
.promise-list strong { color: var(--ink); font-weight: 700; }
.forms-line { color: var(--ink-soft); max-width: 40rem; margin: 0; }
.promises { padding-bottom: clamp(3rem, 7vw, 5rem); }
