/* Rs 10,000 two-day website offer, India (site.vantemora.com).
   Black and white only, the standing Vantemora rule. Tokens lifted from
   vantemora-b2b/b2b.css so the three sites share one system.
   Grammar is a step flow, not a scroll page: no nav, a progress rail, one
   question at a time, and a sketch of their site assembling beside it. */

:root {
  --paper: #FAF9F6;
  --white: #FFFFFF;
  --mist: #F2F0EB;
  --mist-2: #E9E6DF;
  --line: #E4E1D9;
  --line-2: #D3CFC5;
  --ink: #12110F;
  --ink-2: #1D1B18;
  --ink-3: #2A2824;
  --ink-soft: #5B574F;
  --bone: #F4F2EC;
  --bone-soft: #B3AEA4;
  --bone-faint: #8E897F;
  --bone-line: rgba(244, 242, 236, 0.12);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --r-pill: 999px;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --shadow-2: 0 2px 4px rgba(18, 17, 15, 0.05), 0 14px 34px -10px rgba(18, 17, 15, 0.16);
  --shadow-3: 0 6px 12px rgba(18, 17, 15, 0.08), 0 40px 90px -24px rgba(18, 17, 15, 0.42);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

body { overflow-x: clip; }

button { font: inherit; color: inherit; }
input { font: inherit; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--bone); padding: 10px 16px;
  border-radius: var(--r-sm); text-decoration: none; font-weight: 700; font-size: 14px;
  transition: top 0.18s var(--ease);
}
.skip:focus { top: 12px; }

/* the honeypot. never shown, never announced, never tabbable. */
.hp {
  position: absolute !important; left: -9999px !important; top: 0;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

/* ============================================================ shell */

.app {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.rail {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.rail__bar { height: 3px; background: var(--mist-2); overflow: hidden; }
.rail__fill {
  height: 100%; width: 0%; background: var(--ink);
  transition: width 0.5s var(--ease);
  transform-origin: left;
}

.rail__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter);
  min-height: 52px;
}

.rail__back {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  padding: 10px 10px 10px 0; margin: -10px 0 -10px -2px;
  border-radius: var(--r-sm);
  min-height: 44px;
}
.rail__back:hover { color: var(--ink); }
.rail__back[hidden] { display: none; }
.rail__back svg { width: 16px; height: 16px; }

.rail__mark { height: 19px; display: block; }
.rail__mark img { height: 100%; display: block; }

.rail__count {
  font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px;
  color: var(--ink-soft); text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* ============================================================ stage */

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(40px, 6vw, 72px);
}

.panel { position: relative; min-width: 0; }

/* one screen at a time */
.screen { display: none; }
.screen.is-on { display: block; animation: rise 0.42s var(--ease) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.screen.is-back { animation-name: sink; }
@keyframes sink {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}

.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 14px;
}

/* focused by script on every screen change so screen readers announce it.
   It is not interactive, so it must not paint a focus ring. */
.q:focus { outline: none; }

.q {
  font-size: clamp(1.6rem, 1.15rem + 1.85vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.034em;
  font-weight: 800;
  margin: 0 0 12px;
  text-wrap: balance;
}

.why {
  font-size: 15px; line-height: 1.5; color: var(--ink-soft);
  margin: 0 0 24px; max-width: 46ch;
}

/* ============================================================ options */

.opts { display: grid; gap: 10px; margin: 0 0 8px; }

.opt {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 15px 17px;
  min-height: 60px;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.opt:hover { border-color: var(--line-2); transform: translateX(3px); }
.opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt.is-picked {
  border-color: var(--ink); background: var(--ink); color: var(--bone);
  transform: none;
  box-shadow: var(--shadow-2);
}

.opt__key {
  flex: none;
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  border: 1.2px solid var(--line-2);
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--ink-soft);
  transition: inherit;
}
.opt.is-picked .opt__key { border-color: var(--bone-line); color: var(--bone); background: rgba(244,242,236,0.1); }

.opt__t { font-size: 16px; font-weight: 650; line-height: 1.25; letter-spacing: -0.012em; }
.opt__s { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-top: 3px; }
.opt.is-picked .opt__s { color: var(--bone-soft); }

.hint {
  font-family: var(--mono); font-size: 12px; letter-spacing: 1.2px;
  color: var(--bone-faint); text-transform: uppercase;
  margin: 16px 0 0;
}
.hint kbd {
  font-family: inherit; border: 1px solid var(--line-2); border-radius: 5px;
  padding: 2px 6px; background: var(--white); color: var(--ink-soft);
}

/* the write-in that opens under "Something else" */
.other { margin-top: 14px; display: grid; gap: 14px; justify-items: start; }
.other[hidden] { display: none; }
.other .fld { width: 100%; }
.other .btn { min-height: 52px; }

/* ============================================================ fields */

.flds { display: grid; gap: 13px; margin-bottom: 20px; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 13px; font-weight: 650; letter-spacing: -0.005em; }

.fld input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 16px; /* never below 16: iOS zooms the page on focus */
  min-height: 52px;
  color: var(--ink);
  transition: border-color 0.18s var(--ease);
}
.fld input::placeholder { color: var(--bone-faint); }
.fld input:focus { outline: none; border-color: var(--ink); }
.fld.is-bad input { border-color: var(--ink); background: var(--mist); }

.fld__err { font-size: 13px; color: var(--ink); font-weight: 600; display: none; }
.fld.is-bad .fld__err { display: block; }

.fld__pre {
  display: flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--white);
  transition: border-color 0.18s var(--ease);
}
.fld__pre:focus-within { border-color: var(--ink); }
.fld.is-bad .fld__pre { border-color: var(--ink); background: var(--mist); }
.fld__pre span {
  font-family: var(--mono); font-size: 15px; color: var(--ink-soft);
  padding: 0 2px 0 16px; flex: none;
}
.fld__pre input { border: 0; background: none; padding-left: 8px; }
.fld__pre input:focus { border: 0; }

/* ============================================================ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: var(--bone);
  border: 1.5px solid var(--ink); border-radius: var(--r-pill);
  padding: 15px 28px; min-height: 54px;
  font-size: 16px; font-weight: 700; letter-spacing: -0.012em;
  cursor: pointer; text-decoration: none;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--ink-3); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn[disabled] { opacity: 0.35; pointer-events: none; }
.btn svg { width: 17px; height: 17px; }

.btn--ghost { background: none; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--mist); }

.acts { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }

/* ============================================================ opening */

.open__price {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none;
}
.open__price li {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.4px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: 7px 13px; background: var(--white); color: var(--ink-2);
}
.lede { font-size: 17px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 26px; max-width: 46ch; }

/* ============================================================ the sketch */

.sketch { position: relative; }

.win {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}

.win__bar {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}
.win__dots { display: flex; gap: 5px; flex: none; }
.win__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: block; }
.win__tag { display: none; }

.win__url {
  flex: 1; min-width: 0;
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 5px 11px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.win__body { padding: 20px; display: grid; gap: 14px; min-height: 330px; align-content: start; }

/* every part of the sketch fades up as its answer lands */
.bit { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.bit.is-in { opacity: 1; transform: none; }

.sk__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sk__name { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.sk__nav { display: flex; gap: 7px; }
.sk__nav i { display: block; width: 26px; height: 6px; border-radius: 3px; background: var(--mist-2); }

.sk__hero { background: var(--mist); border-radius: var(--r-md); padding: 20px 18px; display: grid; gap: 12px; }
.sk__h { font-size: clamp(1.05rem, 0.85rem + 0.8vw, 1.45rem); font-weight: 800; letter-spacing: -0.028em; line-height: 1.12; margin: 0; }
.sk__sub { font-size: 13px; color: var(--ink-soft); line-height: 1.45; margin: 0; }

.sk__cta {
  display: inline-flex; align-items: center; gap: 7px; align-self: start;
  background: var(--ink); color: var(--bone);
  border-radius: var(--r-pill); padding: 9px 16px;
  font-size: 13px; font-weight: 700;
}
.sk__cta svg { width: 13px; height: 13px; }
.sk__chip .short { display: none; }

/* where the photos will land once they tell us they have some. Shown as a faint
   wireframe so the window reads as half-built rather than broken. */
.sk__ghost { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sk__ghost[hidden] { display: none; }
.sk__ghost i {
  display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm);
  border: 1.5px dashed var(--line); background: transparent;
}

.sk__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sk__strip i {
  display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm);
  background: var(--mist-2);
  position: relative; overflow: hidden;
}
.sk__strip i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.75) 50%, transparent 62%);
  transform: translateX(-100%);
  animation: sheen 2.8s var(--ease) infinite;
}
.sk__strip i:nth-child(2)::after { animation-delay: 0.3s; }
.sk__strip i:nth-child(3)::after { animation-delay: 0.6s; }
@keyframes sheen { 0%, 55% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }

.sk__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sk__chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.9px; text-transform: uppercase;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 5px 10px; color: var(--ink-soft);
}

.sk__seal {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--ink); border-radius: var(--r-pill);
  padding: 5px 11px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.9px; text-transform: uppercase;
  font-weight: 500;
}
.sk__seal.is-in { animation: stamp 0.5s var(--ease) both; }
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.5) rotate(-7deg); }
  60% { opacity: 1; transform: scale(0.96) rotate(1deg); }
  100% { opacity: 1; transform: none; }
}

.sketch__note {
  font-size: 13px; color: var(--ink-soft); line-height: 1.45;
  margin: 14px 2px 0; text-align: center;
}

/* ============================================================ exits */

.exit { max-width: 52ch; }
.exit .q { margin-bottom: 14px; }
.exit p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 16px; }
.exit p strong { color: var(--ink); font-weight: 700; }

/* ============================================================ booking */

.book { grid-column: 1 / -1; width: 100%; }
.book__head { text-align: center; max-width: 54ch; margin: 0 auto 26px; }
.book__head .q { margin-bottom: 10px; }
.book__head p { font-size: 16px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

.cal__wait {
  margin: 0; padding: 60px 24px; text-align: center;
  font-size: 15px; color: var(--ink-soft);
}
.cal__wait a { color: var(--ink); }

#cal {
  width: 100%; min-height: 620px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--white);
}

/* ============================================================ phones
   A phone gets its own composition, not a squeezed desktop: the sketch moves
   above the question and shrinks to a strip, so the question and its options
   still own the first screen. */

@media (max-width: 860px) {
  /* The question owns the screen. The sketch becomes a live strip pinned to the
     bottom edge: they still watch their site assemble, in the corner of the eye,
     as they tap. A full window up top buried the question below the fold. */
  .stage {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px var(--gutter) calc(96px + env(safe-area-inset-bottom, 0px));
    align-items: start;
  }

  .q { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 1.9rem); }
  .why { margin-bottom: 18px; font-size: 14.5px; }
  .opt { min-height: 58px; padding: 13px 15px; }
  .hint { display: none; }

  .sketch {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 9px var(--gutter) calc(9px + env(safe-area-inset-bottom, 0px));
  }

  .win {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 11px;
    border-radius: var(--r-md);
    box-shadow: 0 1px 2px rgba(18, 17, 15, 0.05);
    overflow: hidden; /* backstop: nothing may poke past the strip edge */
  }
  .win__bar { border: 0; background: none; padding: 0; flex: 0 1 auto; min-width: 0; display: flex; gap: 8px; }
  .win__dots { display: none; }
  .win__url { font-size: 12px; padding: 4px 9px; max-width: 34vw; flex: 0 1 auto; }

  /* the honesty label lives in the strip itself, because the long note under
     the window has nowhere to sit on a phone without covering a form field. */
  .win__tag {
    display: inline-block; flex: none;
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.8px; text-transform: uppercase;
    color: var(--bone-faint); border: 1px dashed var(--line-2);
    border-radius: var(--r-pill); padding: 3px 8px;
  }

  .win__body {
    flex: 1; min-width: 0; min-height: 0; padding: 0;
    display: flex; align-items: center; gap: 9px;
    grid-template-columns: none;
  }

  /* On a 390px strip an invisible-but-laid-out badge steals the width the
     business name needs, so un-earned parts leave the layout entirely here.
     They still arrive with a fade, just without reserving space first. */
  .sketch .bit:not(.is-in) { display: none; }

  /* the address bar already shows their business name, so the heading is a
     duplicate on a strip this narrow. */
  .sk__head, .sk__nav { display: none; }

  .sk__hero { background: none; padding: 0; display: contents; }
  .sk__h, .sk__sub { display: none; }

  .sk__cta { padding: 5px 10px; font-size: 12px; flex: 0 1 auto; min-width: 0; white-space: nowrap; }
  .sk__cta span { overflow: hidden; text-overflow: ellipsis; }
  .sk__strip, .sk__ghost { display: none; }

  .sk__foot { flex: none; display: flex; gap: 6px; margin-left: auto; }
  .sk__seal, .sk__chip { padding: 4px 9px; font-size: 12px; white-space: nowrap; }
  .sk__chip .full { display: none; }
  .sk__chip .short { display: inline; }

  /* Only the badge they earned LAST is shown. Three at 12px do not fit a 360px
     strip, and the newest one is the one that just changed. */
  .sketch[data-badge="cta"]  .sk__seal,
  .sketch[data-badge="cta"]  .sk__chip,
  .sketch[data-badge="seal"] .sk__cta,
  .sketch[data-badge="seal"] .sk__chip,
  .sketch[data-badge="chip"] .sk__cta,
  .sketch[data-badge="chip"] .sk__seal { display: none; }

  .sketch__note { display: none; }

  .book__head { text-align: left; }
  #cal { min-height: 560px; }
}

@media (max-width: 400px) {
  .win__body { padding: 12px; }
  .opt__t { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .bit { opacity: 1; transform: none; }
}
