/* ── LANDING REVEAL ──
   Pure CSS: content is visible by default; animation is only an enhancement,
   so nothing stays hidden if scripts fail or are slow. */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes underline-draw {
  from { background-size: 0% 0.045em; }
  to   { background-size: 100% 0.045em; }
}
@keyframes bar-grow {
  from { width: 0; }
  to   { width: var(--w); }
}

/* Above the fold: play on load, staggered */
.positioning__eyebrow,
.positioning__headline .line,
.hero-cta,
.hero-visual,
.positioning__statement,
.availability {
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.positioning__headline .line:nth-child(1) { animation-delay: 0.08s; }
.positioning__headline .line:nth-child(2) { animation-delay: 0.2s; }
.hero-cta            { animation-delay: 0.32s; }
.hero-visual         { animation-delay: 0.4s; }
.positioning__statement { animation-delay: 0.48s; }
.availability        { animation-delay: 0.56s; }

/* Below the fold: tiles, cards and the bars are driven by scroll (see styles.css) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .featured-case {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
    /* Children of overflow:hidden parents can't use view() themselves,
       so they follow the parent's named timeline instead. */
    .bento--proof .bento__tile { view-timeline: --tile block; }
    .bento__bar i {
      animation: bar-grow linear both;
      animation-timeline: --tile;
      animation-range: entry 20% entry 100%;
    }
    /* Gentle parallax on the hero screenshot */
    .hero-visual { view-timeline: --hero block; }
    .hero-visual img {
      scale: 1.05;
      animation: hero-parallax linear both;
      animation-timeline: --hero;
      animation-range: cover 0% cover 100%;
    }
  }
}
@keyframes hero-parallax {
  from { translate: 0 -3%; }
  to   { translate: 0 3%; }
}

@media (prefers-reduced-motion: reduce) {
  .positioning__eyebrow,
  .positioning__headline .line,
  .hero-cta,
  .hero-visual,
  .positioning__statement,
  .availability,
  .proof-strip,
  .featured-case,
  .bento__bar i,
  .neon-word {
    animation: none !important;
  }
}

/* ── HERO CTA + VISUAL ── */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  padding: 12px 22px; border-radius: 100px;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
.btn--ghost { color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual {
  position: relative; display: block; overflow: hidden;
  margin-bottom: 56px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-xl);
  background: var(--bg);
  box-shadow: 0 30px 60px rgba(13,13,13,0.10);
  text-decoration: none;
  aspect-ratio: 21 / 9;
}
.hero-visual__bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; gap: 6px; padding: 12px 16px;
  background: var(--header-bg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.hero-visual__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-2); }
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  padding-top: 33px; background: #fff;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-visual:hover img { transform: scale(1.03); }
.hero-visual__caption {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: #fff; background: rgba(13,13,13,0.82);
  padding: 8px 14px; border-radius: 100px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ── POSITIONING STATEMENT ── */
.positioning {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--rule);
}

.positioning__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 24px;
}
.positioning__eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--ink-5);
  display: block;
}

.positioning__headline {
  font-family: var(--serif);
  font-size: clamp(40px, 10.4vw, 118px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 44px;
  padding-bottom: 0.08em;
  overflow: hidden;
}

.positioning__headline .line { display: block; }

.positioning__headline em {
  font-style: italic;
  color: var(--ink-2);
}

.neon-word {
  color: var(--accent);
  background: linear-gradient(var(--accent), var(--accent)) 0 96% / 100% 0.045em no-repeat;
  animation: underline-draw 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

    .positioning__body {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: end;
    }

    .positioning__statement {
      font-size: 19px;
      font-weight: 400;
      line-height: 1.75;
      color: var(--ink-3);
      max-width: 480px;
    }

    .positioning__statement strong {
      color: var(--ink);
      font-weight: 500;
    }

    /* ── AVAILABILITY CARD ── */
    .availability {
      border: 1px solid var(--rule);
      border-radius: var(--r-lg);
      padding: 28px 32px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .availability__status {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .availability__dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
      animation: pulse 2.5s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
      50%       { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 7%, transparent); }
    }

    .availability__label {
      font-size: 13px;
      font-weight: 500;
      color: var(--accent);
    }

    .availability__desc {
      font-size: 14px;
      font-weight: 400;
      color: var(--ink-3);
      line-height: 1.6;
      margin: 0;
      padding: 0;
    }

   .availability__links {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

    .availability__link {
      font-size: 13px;
      font-weight: 500;
      color: var(--ink);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 7px 14px;
      border: 1px solid var(--rule-2);
      border-radius: 100px;
      transition: border-color 0.2s, background 0.2s;
    }

    .availability__link:hover {
      border-color: var(--ink);
      background: var(--surface);
    }

    /* ── SECTION LABEL ── */
    .section-label {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink-4);
      padding: 40px 0 0;
      margin-bottom: 0;
    }

    /* Mobile */
    @media (max-width: 768px) {
      .positioning { padding: 44px 0 40px; }
      .positioning__headline { margin-bottom: 28px; }
      .positioning__body { grid-template-columns: 1fr; gap: 28px; }
      .hero-cta { margin-bottom: 32px; }
      .btn { padding: 11px 18px; font-size: 13px; }
      .hero-visual { aspect-ratio: 4 / 3; margin-bottom: 36px; border-radius: var(--r-lg); }
      .positioning__statement { font-size: 16.5px; max-width: 100%; }
      .availability { padding: 20px 20px; }
    }

    /* ── PROOF BENTO ── */
    .bento--proof {
      grid-template-columns: 1.35fr 1fr;
      grid-template-rows: 1fr 1fr;
      padding: 56px 0;
    }
    .bento--proof .bento__tile { justify-content: flex-end; min-height: 220px; }
    .bento--proof .bento__tile--lead { grid-row: span 2; min-height: 460px; }

    .bento__chip {
      align-self: flex-start;
      margin-bottom: auto;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 6px 12px;
      border: 1px solid var(--rule-2);
      border-radius: 100px;
      color: var(--ink-4);
    }
    .bento__tile--accent .bento__chip {
      color: color-mix(in srgb, var(--accent-ink) 85%, transparent);
      border-color: color-mix(in srgb, var(--accent-ink) 35%, transparent);
    }
    .bento__arrow {
      position: absolute !important;
      top: 24px; right: 24px;
      width: 38px; height: 38px;
      display: grid; place-items: center;
      border: 1px solid var(--rule-2);
      border-radius: 50%;
      font-size: 16px;
      transition: transform 0.35s var(--ease), background 0.2s, color 0.2s;
    }
    .bento__tile--accent .bento__arrow { border-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); }
    a.bento__tile:hover .bento__arrow { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
    a.bento__tile--accent:hover .bento__arrow { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }

    .bento__num {
      font-family: var(--serif);
      font-size: clamp(64px, 8vw, 104px);
      line-height: 0.88;
      letter-spacing: -0.045em;
      margin-top: 28px;
    }
    .bento__tile--lead .bento__num { font-size: clamp(110px, 16vw, 200px); }
    .bento__label {
      font-size: 15px;
      line-height: 1.45;
      color: var(--ink-3);
      max-width: 30ch;
      margin: 0;
    }
    .bento__tile--lead .bento__label { font-size: 18px; max-width: 24ch; }

    .bento__bar {
      position: relative;
      height: 6px;
      border-radius: 100px;
      background: var(--rule);
      margin: 4px 0 2px;
    }
    .bento__bar i {
      display: block; height: 100%; width: var(--w);
      border-radius: inherit;
      background: var(--accent);
    }
    .bento__bar b {
      position: absolute; top: -3px; height: 12px;
      border-radius: 4px;
      border: 1.5px solid var(--ink);
      background: repeating-linear-gradient(135deg, rgba(255,255,255,0.85) 0 2px, transparent 2px 5px);
    }

    @media (max-width: 768px) {
      .bento--proof { grid-template-columns: 1fr; grid-template-rows: none; padding: 36px 0; }
      .bento--proof .bento__tile--lead { grid-row: auto; min-height: 320px; }
      .bento--proof .bento__tile { min-height: 200px; padding: 22px 22px; }
    }
