/* ============================================================
   VITOVA CALM — bold premium landing
   Softriver palette: cream / beige / sage-olive / near-black
   ============================================================ */

:root {
  /* Softriver palette */
  --cream:        #F2EDE0;   /* pale page surface */
  --beige:        #E4DAC4;   /* warm card surface */
  --beige-deep:   #D4C6A8;   /* secondary warm */
  --sage:         #7C8C6C;   /* core sage/olive */
  --sage-deep:    #5E6E50;   /* hover, accents */
  --olive-ink:    #3A4232;   /* dark olive text on cream */
  --ink:          #16170F;   /* near-black, hero bg */
  --ink-soft:     #22241B;   /* slightly lifted ink */
  --bone:         #EFE7D4;   /* light text on ink */
  --bone-dim:     rgba(239,231,212,0.66);
  --line:         rgba(22,23,15,0.12);
  --line-light:   rgba(239,231,212,0.18);

  /* Type */
  --serif:  "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:   "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Sizes */
  --fs-eyebrow: 0.74rem;
  --fs-body:    1.0625rem;
  --fs-lede:    1.21rem;
  --fs-h3:      1.55rem;
  --fs-h2:      clamp(2.2rem, 4.4vw, 3.6rem);
  --fs-h1:      clamp(2.8rem, 7vw, 6rem);

  /* Spacing */
  --sp-section: clamp(80px, 10vw, 140px);
  --radius:     14px;
  --radius-lg:  22px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--olive-ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Reusable type ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--sage-deep); }
.eyebrow--light { color: var(--sage); }

.section { padding: var(--sp-section) 0; }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--ink); color: var(--bone); }

.section__head { max-width: 720px; margin-bottom: 64px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.section__title--light { color: var(--bone); }
.section__title--md { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.section__title em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 400;
}
.section__title--light em { color: var(--sage); }

.section__lede {
  font-size: var(--fs-lede);
  color: var(--olive-ink);
  max-width: 56ch;
  margin: 0;
}
.section__lede--light { color: var(--bone-dim); margin-left: auto; margin-right: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn--sm { padding: 10px 18px; font-size: 0.88rem; }
.btn--lg { padding: 20px 38px; font-size: 1.05rem; }
.btn--primary {
  background: var(--ink);
  color: var(--bone);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 14px 30px -18px rgba(0,0,0,0.6);
}
.btn--primary:hover { background: var(--sage-deep); transform: translateY(-1px); box-shadow: 0 18px 40px -18px rgba(0,0,0,0.55); }

.link { font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s var(--ease), border-color .2s var(--ease); }
.link--arrow:hover { color: var(--sage-deep); border-color: var(--sage-deep); }
.link--light { color: var(--bone); border-color: var(--line-light); }
.link--light:hover { color: var(--sage); border-color: var(--sage); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0; z-index: 50;
  background: rgba(242,237,224,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__mark { height: 28px; width: 28px; display: block; }
.nav__wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity .2s var(--ease);
}
.nav__links a:hover { opacity: 1; }
@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  padding: clamp(80px, 12vw, 140px) 0 clamp(100px, 14vw, 160px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 78% 38%, rgba(124,140,108,0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(228,218,196,0.06), transparent 60%);
  z-index: -1;
}
.hero::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line-light);
}
.hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero__copy .eyebrow { color: var(--sage); }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--bone);
}
.hero__title em {
  font-style: italic;
  color: var(--sage);
  font-weight: 400;
}
.hero__sub {
  font-size: var(--fs-lede);
  color: var(--bone-dim);
  max-width: 46ch;
  margin: 0 0 36px;
}
.hero__ctas { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.hero__ctas .link { color: var(--bone); border-color: var(--line-light); }
.hero__ctas .link:hover { color: var(--sage); border-color: var(--sage); }
.hero__trust {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: flex; gap: 28px; flex-wrap: wrap;
  border-top: 1px solid var(--line-light);
  padding-top: 22px;
}
.hero__trust li {
  font-size: 0.86rem;
  color: var(--bone-dim);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
}
.hero__trust li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage);
}

/* Hero product card — bright pedestal that "pops" the pouch */
.hero__visual { position: relative; }
.product-card--hero {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(165deg, var(--beige) 0%, var(--cream) 100%);
  border-radius: var(--radius-lg);
  box-shadow:
    0 60px 80px -40px rgba(0,0,0,0.55),
    0 30px 50px -30px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.4);
  overflow: hidden;
  padding: 18px;
}
.product-card--hero::after {
  /* warm wash to make pouch pop */
  content: "";
  position: absolute; left: 50%; bottom: -10%;
  width: 80%; height: 30%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(58,66,50,0.35), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.product-card__pedestal {
  position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%);
  width: 78%; height: 26px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55), transparent 70%);
  filter: blur(12px);
  z-index: -1;
}

/* Image slots — visible placeholders that swap for <img> */
.image-slot {
  position: relative;
  width: 100%; height: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  background:
    repeating-linear-gradient(
      45deg,
      rgba(124,140,108,0.10) 0 12px,
      rgba(124,140,108,0.04) 12px 24px
    ),
    var(--beige);
  border: 1px dashed rgba(58,66,50,0.35);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  text-align: center;
  color: var(--olive-ink);
}
.image-slot__label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--sage-deep);
}
.image-slot__hint {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(58,66,50,0.65);
}
.image-slot--hero { min-height: 100%; }
.image-slot--support { aspect-ratio: 4 / 5; }
.image-slot--circle { aspect-ratio: 1; border-radius: 50%; }
.image-slot--small { aspect-ratio: 4 / 5; border-radius: var(--radius); }

/* Product image fills its container */
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.product-card--hero .product-img {
  border-radius: calc(var(--radius-lg) - 6px);
}
.product-img--circle {
  border-radius: 50%;
  aspect-ratio: 1;
}
.founder__photo {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 50px -30px rgba(0,0,0,0.35);
}
.inside__visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 60px -35px rgba(0,0,0,0.35);
}
.future__visual {
  overflow: hidden;
}
.future__visual .product-img {
  border-radius: var(--radius);
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  /* Copy + form ABOVE image on mobile — ad clickers must see the headline + email field above the fold */
  .hero__copy   { order: 1; }
  .hero__visual { order: 2; }
  .product-card--hero { aspect-ratio: 4 / 5; max-width: 420px; margin: 0 auto; }
  /* Tighten hero padding on mobile so the form sits closer to the top */
  .hero { padding: clamp(40px, 9vw, 70px) 0 clamp(60px, 10vw, 100px); }
  .hero__sub { margin-bottom: 22px; }
  .hero__trust { margin-top: 30px; padding-top: 18px; }
}

/* ============================================================
   WHY
   ============================================================ */
.why { background: var(--beige); }
.why__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why__card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  border: 1px solid rgba(58,66,50,0.08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -28px rgba(0,0,0,0.35);
}
.why__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--sage-deep);
  display: block;
  margin-bottom: 28px;
}
.why__card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.why__card p { margin: 0; color: var(--olive-ink); opacity: 0.85; }

@media (max-width: 980px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

/* ============================================================
   INSIDE
   ============================================================ */
.inside__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.inside__lede {
  font-size: var(--fs-lede);
  margin: 0 0 30px;
  color: var(--olive-ink);
  max-width: 46ch;
}
.inside__list {
  list-style: none; padding: 0; margin: 0 0 30px;
  display: grid; gap: 14px;
}
.inside__list li {
  padding: 16px 18px 16px 22px;
  background: var(--beige);
  border-radius: var(--radius);
  border-left: 3px solid var(--sage);
  font-size: 1rem;
}
.inside__list li strong { color: var(--ink); font-weight: 600; }

.inside__visual { position: relative; }
.inside__visual .image-slot { box-shadow: 0 40px 60px -35px rgba(0,0,0,0.35); }

@media (max-width: 880px) { .inside__grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder { background: var(--cream); }
.founder__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  max-width: 1040px;
  margin-left: auto; margin-right: auto;
}
.founder__photo { width: 100%; }
.founder__copy p {
  margin: 0 0 18px;
  font-size: 1.08rem;
  color: var(--olive-ink);
  max-width: 58ch;
}
.founder__sign {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage-deep);
  font-size: 1.05rem;
  margin-top: 10px !important;
}
@media (max-width: 760px) {
  .founder__grid { grid-template-columns: 1fr; text-align: left; }
  .founder__photo { max-width: 200px; }
}

/* ============================================================
   FUTURE (dark)
   ============================================================ */
.future__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.future__card {
  background: var(--ink-soft);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.future__card:hover { border-color: rgba(124,140,108,0.5); }
.future__card--active {
  background: linear-gradient(180deg, var(--beige) 0%, var(--cream) 100%);
  color: var(--ink);
  border-color: transparent;
}
.future__card--active:hover { transform: translateY(-3px); }
.future__card--ghost { opacity: 0.86; }

.future__tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  align-self: flex-start;
  padding: 5px 11px;
  border: 1px solid rgba(124,140,108,0.4);
  border-radius: 999px;
}
.future__card--active .future__tag {
  color: var(--sage-deep);
  border-color: rgba(94,110,80,0.4);
  background: rgba(255,255,255,0.4);
}
.future__tag--soon { color: var(--bone-dim); border-color: var(--line-light); }

.future__visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--beige);
  position: relative;
  overflow: hidden;
}
.future__visual--ghost {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(239,231,212,0.06) 0 10px,
      transparent 10px 20px
    ),
    var(--ink-soft);
  border: 1px dashed var(--line-light);
}
.future__card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.future__card--ghost h3 { color: var(--bone); }
.future__card--active h3 { color: var(--ink); }
.future__card p { margin: 0; font-size: 0.96rem; color: var(--bone-dim); }
.future__card--active p { color: var(--olive-ink); }

@media (max-width: 980px) {
  .future__grid { grid-template-columns: 1fr 1fr; }
  .future__card--active { grid-column: span 2; }
}
@media (min-width: 981px) {
  /* On desktop, make Calm card visibly larger */
  .future__card--active .future__visual { aspect-ratio: 3 / 4; }
}
@media (max-width: 560px) {
  .future__grid { grid-template-columns: 1fr; }
  .future__card--active { grid-column: span 1; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__head { position: sticky; top: 90px; }
.faq__list { display: grid; gap: 12px; }
.faq__item {
  background: var(--beige);
  border-radius: var(--radius);
  border: 1px solid rgba(58,66,50,0.08);
  padding: 0;
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
  position: relative; width: 16px; height: 16px; flex-shrink: 0;
}
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; background: var(--sage-deep);
  transition: transform .3s var(--ease);
}
.faq__plus::before { left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); }
.faq__plus::after  { top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); }
.faq__item[open] .faq__plus::after { transform: translateX(-50%) scaleY(0); }

.faq__body {
  padding: 0 26px 24px;
  color: var(--olive-ink);
  opacity: 0.88;
  font-size: 1.02rem;
}

@media (max-width: 880px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(80px, 10vw, 130px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 400px at 50% 100%, rgba(124,140,108,0.25), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; }
.cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--bone);
}
.cta__title em { font-style: italic; color: var(--sage); font-weight: 400; }
.cta__sub {
  color: var(--bone-dim);
  font-size: var(--fs-lede);
  margin: 0 0 36px;
}
.cta .btn--primary {
  background: var(--bone);
  color: var(--ink);
}
.cta .btn--primary:hover { background: var(--sage); color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--bone-dim);
  padding: 70px 0 30px;
  border-top: 1px solid var(--line-light);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
}
.footer__brand p { max-width: 36ch; font-size: 0.95rem; }
.footer__brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer__mark { height: 32px; width: 32px; display: block; }
.footer__wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: var(--bone);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__nav h4 {
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer__nav a {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--bone-dim);
  transition: color .2s var(--ease);
}
.footer__nav a:hover { color: var(--bone); }
.footer__base {
  display: flex; justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
  font-size: 0.85rem;
}
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
  .footer__base { flex-direction: column; gap: 8px; }
}

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

/* ============================================================
   WAITLIST FORMS — Hero inline, CTA section, Sticky top bar
   ============================================================ */

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

/* ---------- Hero form (over dark hero background) ---------- */
.hero__form{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:stretch;
  max-width:560px;
  margin-top:28px;
  position:relative;
}
.hero__form input[type="email"]{
  flex:1 1 240px;
  min-width:220px;
  padding:14px 18px;
  font:500 1rem/1.2 var(--sans);
  color:var(--ink);
  background:var(--bone);
  border:1px solid rgba(239,231,212,0.85);
  border-radius:999px;
  outline:none;
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.hero__form input[type="email"]::placeholder{ color:rgba(22,23,15,0.5); }
.hero__form input[type="email"]:focus{
  border-color:var(--sage);
  box-shadow:0 0 0 3px rgba(124,140,108,0.35);
}
.hero__form-btn{
  flex:0 0 auto;
  padding:14px 26px;
  border-radius:999px;
  white-space:nowrap;
}
.hero__sub-ctas{
  margin-top:16px;
}

/* Shared form messages */
.form__ok, .form__err, .form__legal{
  flex:1 1 100%;
  margin:6px 0 0;
  font:400 0.85rem/1.4 var(--sans);
  color:var(--bone-dim);
}
.form__legal a{ color:var(--bone); text-decoration:underline; text-underline-offset:3px; }
.form__legal--light, .form__ok--light, .form__err--light{ color:var(--bone-dim); }
.form__legal--light a{ color:var(--bone); }
.form__ok{
  display:none;
  color:#cfe2b6;
  font-weight:500;
}
.form__ok.show{ display:block; }
.form__err{
  display:none;
  color:#f4b9a6;
  font-weight:500;
}
.form__err.show{ display:block; }

/* When hero form is successful, hide the input/button, show only the ok */
.hero__form.is-success input,
.hero__form.is-success .hero__form-btn,
.hero__form.is-success .form__legal{ display:none; }
.cta__form.is-success input,
.cta__form.is-success .cta__form-btn,
.cta__form.is-success .form__legal{ display:none; }

/* Button spinner / loading state */
.btn__spinner{
  display:none;
  width:14px; height:14px;
  border:2px solid rgba(239,231,212,0.4);
  border-top-color:var(--bone);
  border-radius:50%;
  animation:vitova-spin .8s linear infinite;
  margin-left:8px;
  vertical-align:-2px;
}
.vitova-form.is-loading .btn__label{ opacity:0.7; }
.vitova-form.is-loading .btn__spinner{ display:inline-block; }
@keyframes vitova-spin{ to { transform:rotate(360deg); } }

/* ---------- CTA section form (centred, on cream) ---------- */
.cta__eyebrow{ display:inline-block; margin-bottom:14px; }
.cta__form{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:stretch;
  justify-content:center;
  max-width:560px;
  margin:28px auto 0;
}
.cta__form input[type="email"]{
  flex:1 1 260px;
  min-width:220px;
  padding:16px 20px;
  font:500 1.05rem/1.2 var(--sans);
  color:var(--bone);
  background:rgba(239,231,212,0.08);
  border:1px solid rgba(239,231,212,0.35);
  border-radius:999px;
  outline:none;
  transition:border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.cta__form input[type="email"]::placeholder{ color:rgba(239,231,212,0.55); }
.cta__form input[type="email"]:focus{
  border-color:var(--bone);
  background:rgba(239,231,212,0.14);
  box-shadow:0 0 0 3px rgba(239,231,212,0.18);
}
.cta__form-btn{ flex:0 0 auto; border-radius:999px; white-space:nowrap; }
.cta__form .form__ok,
.cta__form .form__err,
.cta__form .form__legal{ text-align:center; }

/* ---------- Sticky top bar ---------- */
.waitbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  background:var(--ink);
  color:var(--bone);
  transform:translateY(-100%);
  transition:transform .35s var(--ease);
  border-bottom:1px solid rgba(239,231,212,0.10);
}
.waitbar.is-visible{ transform:translateY(0); }
.waitbar__inner{
  max-width:1240px;
  margin:0 auto;
  padding:10px 18px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.waitbar__msg{
  flex:1 1 auto;
  font:500 0.92rem/1.3 var(--sans);
  color:var(--bone);
  min-width:0;
}
.waitbar__msg strong{ font-weight:600; }
.waitbar__msg-sub{
  color:var(--bone-dim);
  font-weight:400;
  margin-left:6px;
}
.waitbar__form{
  display:flex;
  gap:8px;
  align-items:stretch;
  flex:0 1 auto;
}
.waitbar__form input[type="email"]{
  width:260px;
  max-width:54vw;
  padding:9px 14px;
  font:500 0.92rem/1.2 var(--sans);
  color:var(--ink);
  background:var(--bone);
  border:1px solid transparent;
  border-radius:999px;
  outline:none;
}
.waitbar__form input[type="email"]::placeholder{ color:rgba(22,23,15,0.5); }
.waitbar__form input[type="email"]:focus{
  border-color:var(--sage);
  box-shadow:0 0 0 3px rgba(124,140,108,0.35);
}
.waitbar__btn{ padding:8px 16px; border-radius:999px; font-size:0.9rem; }
.waitbar__ok{
  display:none;
  color:#cfe2b6;
  font:500 0.95rem/1.2 var(--sans);
  flex:1 1 auto;
}
.waitbar[data-state="success"] .waitbar__msg,
.waitbar[data-state="success"] .waitbar__form{ display:none; }
.waitbar[data-state="success"] .waitbar__ok{ display:inline; }

.waitbar__close{
  background:transparent;
  border:0;
  color:var(--bone-dim);
  font-size:1.4rem;
  line-height:1;
  cursor:pointer;
  padding:4px 8px;
  margin-left:2px;
  border-radius:6px;
}
.waitbar__close:hover{ color:var(--bone); }

/* Push the page down when bar is visible (only on >=720px so mobile doesn't double-up too much) */
body:has(.waitbar.is-visible){ padding-top:54px; }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 760px){
  .waitbar__inner{
    padding:8px 12px;
    gap:8px;
  }
  .waitbar__msg{
    flex:1 1 100%;
    font-size:0.85rem;
  }
  .waitbar__msg-sub{ display:none; }
  .waitbar__form{ flex:1 1 100%; }
  .waitbar__form input[type="email"]{ flex:1 1 auto; width:auto; max-width:none; }
  .waitbar__close{
    position:absolute;
    top:4px; right:6px;
  }
  body:has(.waitbar.is-visible){ padding-top:96px; }

  .hero__form{ margin-top:22px; }
  .hero__form input[type="email"]{ flex:1 1 100%; }
  .hero__form-btn{ flex:1 1 100%; }
}

/* ============================================================
   COOKIE CONSENT — banner + preferences modal
   ============================================================ */
#vc-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:9999;
  background:#1a1a1a; color:#f5f1e8;
  box-shadow:0 -4px 18px rgba(0,0,0,.25);
  padding:10px 16px env(safe-area-inset-bottom, 10px);
  font-family:inherit;
}
.vc-banner__inner{
  max-width:1100px; margin:0 auto;
  display:flex; gap:14px; align-items:center; flex-wrap:wrap; justify-content:space-between;
}
.vc-banner__copy{ flex:1 1 320px; min-width:0; }
.vc-banner__copy strong{ display:none; }
.vc-banner__copy p{ font-size:.78rem; line-height:1.45; opacity:.88; margin:0; }
.vc-banner__actions{ display:flex; gap:8px; flex-wrap:wrap; flex-shrink:0; }

/* Mobile: compact one-line strip, smaller buttons */
@media (max-width:640px){
  #vc-banner{ padding:8px 12px env(safe-area-inset-bottom, 8px); }
  .vc-banner__inner{ gap:8px; }
  .vc-banner__copy{ flex:1 1 100%; }
  .vc-banner__copy p{ font-size:.72rem; line-height:1.35; }
  .vc-banner__actions{ flex:1 1 100%; gap:6px; }
  .vc-banner__actions .vc-btn{ flex:1 1 auto; padding:9px 10px; font-size:.78rem; }
}

.vc-btn{
  appearance:none; border:0; cursor:pointer;
  padding:11px 18px; border-radius:999px;
  font:600 .85rem/1 inherit; letter-spacing:.01em;
  transition:transform .12s ease, background .15s ease, color .15s ease;
}
.vc-btn--primary{ background:#f5f1e8; color:#1a1a1a; }
.vc-btn--primary:hover{ transform:translateY(-1px); }
.vc-btn--ghost{ background:transparent; color:#f5f1e8; border:1px solid rgba(245,241,232,.35); }
.vc-btn--ghost:hover{ background:rgba(245,241,232,.08); }

/* Modal */
#vc-modal{ position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; }
.vc-modal__backdrop{ position:absolute; inset:0; background:rgba(20,20,20,.55); backdrop-filter:blur(2px); }
.vc-modal__panel{
  position:relative; background:#f5f1e8; color:#1a1a1a;
  max-width:560px; width:calc(100% - 32px);
  border-radius:18px; padding:30px 30px 26px;
  box-shadow:0 30px 70px rgba(0,0,0,.4);
  max-height:90vh; overflow:auto;
}
.vc-modal__close{
  position:absolute; top:10px; right:14px;
  background:none; border:0; font-size:1.6rem; line-height:1;
  cursor:pointer; color:#1a1a1a; padding:6px 10px;
}
.vc-modal__panel h2{ margin:0 0 10px; font-size:1.35rem; }
.vc-modal__intro{ font-size:.92rem; line-height:1.55; margin:0 0 18px; }
.vc-modal__intro a{ color:inherit; text-decoration:underline; }

.vc-cat{ border-top:1px solid rgba(26,26,26,.12); padding:14px 0; }
.vc-cat__row{ display:flex; align-items:center; gap:18px; justify-content:space-between; }
.vc-cat__row > div{ flex:1; }
.vc-cat__row strong{ display:block; font-size:.95rem; margin-bottom:4px; }
.vc-cat__row p{ margin:0; font-size:.82rem; line-height:1.5; opacity:.78; }

/* Switch */
.vc-switch{ position:relative; display:inline-block; width:44px; height:24px; flex-shrink:0; }
.vc-switch input{ opacity:0; width:0; height:0; }
.vc-slider{
  position:absolute; cursor:pointer; inset:0;
  background:#cfc7b8; border-radius:24px;
  transition:background .2s ease;
}
.vc-slider::before{
  content:""; position:absolute; height:18px; width:18px;
  left:3px; top:3px; background:#fff; border-radius:50%;
  transition:transform .2s ease;
  box-shadow:0 1px 2px rgba(0,0,0,.2);
}
.vc-switch input:checked + .vc-slider{ background:#1a1a1a; }
.vc-switch input:checked + .vc-slider::before{ transform:translateX(20px); }
.vc-switch--disabled .vc-slider{ background:#1a1a1a; opacity:.55; cursor:not-allowed; }

.vc-modal__actions{
  display:flex; gap:10px; justify-content:flex-end;
  margin-top:22px; flex-wrap:wrap;
}
.vc-modal__actions .vc-btn--ghost{ color:#1a1a1a; border-color:rgba(26,26,26,.25); }
.vc-modal__actions .vc-btn--ghost:hover{ background:rgba(26,26,26,.06); }

/* Footer cookie-settings trigger */
.footer .vc-cookie-link{
  background:none; border:0; padding:0; cursor:pointer;
  color:inherit; font:inherit; text-align:left;
  text-decoration:none; opacity:.78;
}
.footer .vc-cookie-link:hover{ opacity:1; text-decoration:underline; }

/* Mobile — keep banner as a slim single-row strip, NOT a stacked wall */
@media (max-width:560px){
  #vc-banner{ left:0; right:0; bottom:0; padding:8px 10px env(safe-area-inset-bottom, 8px); }
  .vc-banner__inner{ flex-wrap:nowrap; gap:8px; align-items:center; }
  .vc-banner__copy{ flex:1 1 auto; min-width:0; }
  .vc-banner__copy p{ font-size:.68rem; line-height:1.3; white-space:normal; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
  .vc-banner__actions{ flex:0 0 auto; width:auto; gap:6px; flex-wrap:nowrap; }
  .vc-banner__actions .vc-btn{ flex:0 0 auto; padding:7px 10px; font-size:.72rem; }
  /* Hide the ghost "Reject all" + "Manage preferences" on the smallest screens — only show primary + the footer link covers granular control */
  .vc-banner__actions .vc-btn--ghost + .vc-btn--ghost{ display:none; }
  .vc-modal__panel{ padding:24px 20px; border-radius:14px; }
}

/* ============================================================
   FOUNDERS' 100 — urgency pill above hero form
   ============================================================ */
.founders-tag{
  display:inline-flex; align-items:center; gap:8px;
  margin:0 0 14px 0;
  padding:7px 14px 7px 12px;
  background:rgba(168,176,145,.18);
  color:#f5f1e8;
  border:1px solid rgba(168,176,145,.45);
  border-radius:999px;
  font:600 .82rem/1.3 inherit;
  letter-spacing:.01em;
}
.founders-tag__dot{
  width:8px; height:8px; border-radius:50%;
  background:#A8B091;
  box-shadow:0 0 0 0 rgba(168,176,145,.7);
  animation:founders-pulse 2.2s ease-out infinite;
}
@keyframes founders-pulse{
  0%   { box-shadow:0 0 0 0 rgba(168,176,145,.7); }
  70%  { box-shadow:0 0 0 10px rgba(168,176,145,0); }
  100% { box-shadow:0 0 0 0 rgba(168,176,145,0); }
}
@media (prefers-reduced-motion: reduce){
  .founders-tag__dot{ animation:none; }
}
@media (max-width:640px){
  .founders-tag{ font-size:.76rem; padding:6px 12px 6px 10px; margin-bottom:12px; }
}
