/* ==========================================================================
   VADR landing · section 03 "Founding 20"
   1. Section + shared bits   2. The big outlined 20 + the offer   3. Phones
   Reuses the tokens from css/how.css, .btn--amber from base.css
   ========================================================================== */

/* 1. Section + shared bits --------------------------------------------------- */
/* no top padding: section 02 ends with the same space as the gap between 01 and 02 */
.offer { position: relative; padding: 0 var(--gutter) clamp(140px, 18vh, 220px); background: var(--ink); }
.offer h2 {
  max-width: 12ch;
  font-size: clamp(36px, 4.6vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -.04em;
}
.offer h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #FFE1B0 0%, var(--amber-1) 40%, var(--amber-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.offer h2 + p { margin-top: 20px; max-width: 480px; color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; }
.offer .btn { margin-top: 32px; }
.offer__label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-1); }

.offer__list { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.offer__list li { position: relative; padding-left: 32px; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.45; color: var(--muted); }
.offer__list b { font-weight: 600; color: #fff; }
.offer__list li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 198, 118, .14) no-repeat center / 11px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23FFC676' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.offer__shop { margin-top: 28px; color: var(--muted); font-size: 14px; }
.offer__shop a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.offer__shop a:hover { text-decoration-color: var(--amber-1); }

/* everything rises in once the section scrolls into view */
.offer-b__num, .offer-b__main {
  opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .9s cubic-bezier(.2, .8, .2, 1);
}
.offer.is-in .offer-b__num, .offer.is-in .offer-b__main { opacity: 1; transform: none; }
.offer.is-in .offer-b__main { transition-delay: .15s; }

/* 2. The big outlined 20 that fills with gold, beside the offer -------------- */
.offer-b {
  display: grid; max-width: 1280px; margin: 0 auto;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center;
}
.offer-b__num { text-align: center; }
.offer-b__num svg { display: block; width: 100%; height: auto; overflow: visible; }
.offer-b__num text { font-family: var(--font); font-size: 300px; font-weight: 700; letter-spacing: -.06em; }
.offer-b__line {
  fill: none; stroke: rgba(255, 198, 118, .55); stroke-width: 1.5;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s cubic-bezier(.6, 0, .3, 1);
}
.offer-b__fill { fill: url(#offer-grad); opacity: 0; transition: opacity 1.2s 1.9s; }
.offer.is-in .offer-b__line { stroke-dashoffset: 0; }
.offer.is-in .offer-b__fill { opacity: 1; }
.offer-b__num .offer__label { display: block; margin-top: 8px; }
.offer-b__main .offer__list { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }

/* 3. Phones ------------------------------------------------------------------- */
@media (max-width: 900px) {
  .offer-b { grid-template-columns: 1fr; gap: 8px; }
  .offer-b__num svg { max-width: 300px; margin: 0 auto; }
  .offer .btn { width: 100%; }
}
