/* ─────────────────────────────────────────────────────────────
   Vidastu Build — /build/ page styles
   Sits on tokens.css (light editorial layer). No tokens edited.
   Gold for this sub-brand: #C9A96E (matches --hp-gold), ink text on it.
   ───────────────────────────────────────────────────────────── */

body.build-page {
  --build-gold: #C9A96E;
  --build-gold-deep: #B8985D;
  background: var(--bg-cream);
  color: var(--ink);
}

/* ── Skip link ────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -48px; left: 16px;
  z-index: 60;
  padding: 12px 18px;
  background: var(--build-gold);
  color: var(--ink);
  font-size: 13px;
  border-radius: 6px;
  transition: top 200ms var(--ease-out);
}
.skip-link:focus-visible { top: 10px; }

/* ── Gold hairline under nav ──────────────────────────────── */
.gold-hairline {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--build-gold);
  z-index: 51;
}

/* ── Focus: gold, page-scoped ─────────────────────────────── */
body.build-page :focus-visible {
  outline: 2px solid var(--build-gold);
  outline-offset: 3px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn--build {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  background: var(--build-gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 350ms var(--ease-out), transform 350ms var(--ease-out);
}
.btn--build:hover { background: var(--build-gold-deep); transform: translateY(-2px); }
body.build-page .btn--ghost {
  padding: 16px 26px;
  font-size: 14px;
  border-radius: 999px;
}

/* ── Section rhythm ───────────────────────────────────────── */
.b-section { padding: 72px 0; }
.b-section--paper { background: var(--bg-paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.b-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.b-section h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.b-section h2 em { font-style: italic; }
.b-intro { font-size: 16.5px; color: var(--ink-soft); max-width: 62ch; margin: 0 0 36px; }

/* ── Hero ─────────────────────────────────────────────────── */
.b-hero { padding: clamp(140px, 18vh, 200px) 0 72px; }
.b-hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 18ch;
}
.b-hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 28px;
  line-height: 1.55;
}
.b-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  padding: 0;
  margin: 0 0 36px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.b-trust li { display: inline-flex; align-items: center; }
.b-trust li + li::before { content: "·"; margin: 0 12px; color: var(--build-gold); }
.b-trust a { border-bottom: 1px solid transparent; transition: border-color 250ms, color 250ms; }
.b-trust a:hover { color: var(--ink); border-bottom-color: var(--build-gold); }
.b-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 30px; }
.b-sectors-line {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0;
}

/* ── How it works ─────────────────────────────────────────── */
.b-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.b-step {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 26px 22px;
}
.b-step .num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--build-gold-deep);
  display: block;
  margin-bottom: 14px;
}
.b-step h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.b-step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ── Packages ─────────────────────────────────────────────── */
.b-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.b-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 30px 26px;
}
.b-tier--popular { border: 1.5px solid var(--build-gold); }
.bt-flag {
  position: absolute;
  top: -12px; left: 26px;
  background: var(--build-gold);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.bt-name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 8px;
}
.bt-band {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.bt-band .unit { font-size: 13px; color: var(--ink-soft); letter-spacing: 0; }
.bt-def { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 20px; line-height: 1.55; }
.bt-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex: 1;
}
.bt-list li {
  font-size: 14px;
  line-height: 1.5;
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.bt-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--build-gold-deep);
  font-family: var(--f-mono);
  font-size: 12px;
}
.bt-excl { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; margin: 0 0 20px; }
.bt-cta { justify-content: center; text-align: center; padding: 14px 18px; }
.b-tiers-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 28px 0 0;
  max-width: 62ch;
}

/* ── Calculator ───────────────────────────────────────────── */
.b-calc { min-height: 560px; }
.b-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.bc-hinglish {
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 18px 0 0;
}
.b-calc-card {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
}
.bc-field { margin-bottom: 18px; }
.bc-field > label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.bc-size-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.b-calc-card input,
.b-calc-card select {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  color: var(--ink);
  background: var(--bg-cream);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.bc-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bc-tier {
  min-height: 46px;
  padding: 8px 6px;
  font-size: 13px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--bg-cream);
  color: var(--ink);
  transition: background 250ms, color 250ms, border-color 250ms;
}
.bc-tier[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg-cream);
  border-color: var(--ink);
}
.bc-result {
  margin: 22px 0 18px;
  padding: 18px 20px;
  background: var(--bg-cream);
  border-left: 3px solid var(--build-gold);
  border-radius: 8px;
}
.bc-result-lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.bc-result-val {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.01em;
}
.bc-result-sub { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.b-calc-card .btn--build { width: 100%; justify-content: center; text-align: center; }
.bc-note { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; margin: 16px 0 0; }

/* ── YEIDA two-column ─────────────────────────────────────── */
.b-yeida-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.by-col {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 28px 26px;
}
.by-col--yeida { border-left: 3px solid var(--sage); }
.by-col--vidastu { border-left: 3px solid var(--terracotta); }
.by-col h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 21px;
  margin: 0 0 16px;
}
.by-col ul { list-style: none; padding: 0; margin: 0; }
.by-col li {
  font-size: 14.5px;
  line-height: 1.55;
  padding: 9px 0 9px 24px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.by-col li::before {
  position: absolute;
  left: 0;
  font-family: var(--f-mono);
  font-size: 12px;
}
.by-col--yeida li::before { content: "§"; color: var(--sage); }
.by-col--vidastu li::before { content: "✓"; color: var(--terracotta); }
.by-deadline {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 22px 26px;
  font-size: 15px;
  line-height: 1.65;
  max-width: none;
  margin: 0;
}

/* ── Founder ──────────────────────────────────────────────── */
.bf-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  max-width: 980px;
}
.bf-photos { display: flex; gap: 12px; }
.bf-photos img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.bf-copy p { font-size: 16px; line-height: 1.7; max-width: 58ch; margin: 0 0 18px; }
.bf-sig {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.bf-sig a { color: var(--ink); border-bottom: 1px solid var(--build-gold); }

/* ── Photo strip ──────────────────────────────────────────── */
.b-strip-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  min-height: 264px;
  -webkit-overflow-scrolling: touch;
}
.b-strip-track .ph {
  flex: none;
  width: 320px;
  height: 240px;
  border-radius: 10px;
  scroll-snap-align: start;
}
@media (min-width: 1024px) {
  .b-strip-track { min-height: 384px; }
  .b-strip-track .ph { width: 480px; height: 360px; }
}
.b-strip-caption {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 14px 0 0;
}
.b-strip-link { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; }
.b-strip-link a { border-bottom: 1px solid var(--build-gold); }

/* ── Testimonials ─────────────────────────────────────────── */
.b-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.b-quote {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 26px;
}
.b-quote .ph {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 16px;
}
.b-quote blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.bq-attr { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }

/* ── FAQ ──────────────────────────────────────────────────── */
.b-faq { max-width: 820px; }
.b-faq details { border-top: 1px solid var(--rule); }
.b-faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.b-faq summary {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.35;
  padding: 18px 36px 18px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: 18px;
  color: var(--build-gold-deep);
}
.b-faq details[open] summary::after { content: "–"; }
.b-faq .answer {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 70ch;
  padding: 0 0 20px;
}
.b-faq .answer a { color: var(--ink); border-bottom: 1px solid var(--build-gold); }

/* ── Final CTA + form ─────────────────────────────────────── */
.bfin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.bfin-left p { font-size: 16px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 26px; }
.b-form-card {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
}
.b-form-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 20px;
}
.bff-field { margin-bottom: 16px; }
.bff-field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.bff-field input,
.bff-field select {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-cream);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.bff-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0 18px;
}
.bff-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--build-gold-deep);
}
.bff-consent label { font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.b-form-card .btn--build { width: 100%; justify-content: center; }
.b-form-card .lead-thanks p { margin: 0 0 8px; font-size: 15px; }
.b-form-card .lead-thanks .mono { font-size: 12.5px; color: var(--ink-soft); }

/* ── Footer privacy line ──────────────────────────────────── */
.bfoot-privacy {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: rgba(247, 244, 238, 0.55);
  margin: 18px 0 0;
}
.bfoot-privacy a { color: rgba(247, 244, 238, 0.8); border-bottom: 1px solid var(--build-gold); }

/* ── Sticky mobile contact bar ────────────────────────────── */
.b-sticky { display: none; }
@media (max-width: 768px) {
  body.build-page { padding-bottom: 76px; }
  .b-sticky {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 244, 238, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--rule);
  }
  .b-sticky a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
  }
  .b-sticky a:first-child { border: 1px solid var(--ink); color: var(--ink); }
  .b-sticky .sticky-wa { background: var(--build-gold); color: var(--ink); }
}

/* ── Reveals: hidden ONLY when JS confirms it will reveal ─── */
html.js-anim .b-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
html.js-anim .b-reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html.js-anim .b-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .b-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .b-tiers { grid-template-columns: 1fr; }
  .b-calc-grid { grid-template-columns: 1fr; }
  .b-yeida-grid { grid-template-columns: 1fr; }
  .b-quotes { grid-template-columns: 1fr; }
  .bfin-grid { grid-template-columns: 1fr; }
  .b-calc { min-height: 0; }
}
@media (max-width: 768px) {
  .b-section { padding: 56px 0; }
  .b-hero { padding: 120px 0 56px; }
  .b-steps { grid-template-columns: 1fr; }
  .bf-grid { grid-template-columns: 1fr; }
  .bf-photos img { width: 104px; height: 130px; }
  .b-cta-row .btn--build,
  .b-cta-row .btn--ghost { width: 100%; justify-content: center; }
}
