/* ============================================================
   PROSPECT — index.html page-specific styles
   ============================================================ */

.page-shell {
  position: relative;
}

/* ── Hero (1.1) ──
   Full-bleed animation, title + tagline centred at the top,
   protected by a scrim that fades down from the top edge. */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  overflow: hidden;
}

.hero__animation {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--cream);
}

.hero__animation iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    var(--cream) 0%,
    var(--cream) 16%,
    rgba(240, 235, 224, 0.7) 26%,
    rgba(240, 235, 224, 0.25) 36%,
    rgba(240, 235, 224, 0) 46%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
  text-align: center;
}

.hero__wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: 12px;
  color: var(--forest-deep);
  line-height: 1;
}

.hero__tagline {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 20px;
}

@media (max-width: 860px) {
  .hero {
    min-height: 70vh;
  }

  .hero__content {
    padding: 56px var(--gutter-sm) 0;
  }
}

/* ── 1.1.3 — Hero quote ── */
.hero-quote {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px var(--gutter) 72px;
  text-align: center;
}

.hero-quote__rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 32px;
}

.hero-quote__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.55;
  color: var(--forest-deep);
}

@media (max-width: 860px) {
  .hero-quote {
    padding: 48px var(--gutter-sm) 56px;
  }
}

/* ── 1.2 — Our Mission ── */
.mission-vision__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(23px, 2.8vw, 30px);
  line-height: 1.5;
  color: var(--forest-deep);
  text-align: justify;
  border-left: 2px solid var(--gold);
  padding-left: 28px;
}

/* ── 1.3 — Who We Are ── */
.who-we-are__intro {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.85;
  color: var(--forest-mid);
  text-align: justify;
  margin-bottom: 20px;
}

.pillar-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--parchment);
}

.pillar-card {
  background: var(--linen);
  padding: 28px 22px;
  border-top: 2px solid transparent;
  transition: border-color 150ms var(--ease-out);
}

.pillar-card:hover {
  border-top-color: var(--gold);
}

.pillar-card__eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
}

.pillar-card__desc {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--moss);
}

@media (max-width: 860px) {
  .pillar-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pillar-card {
    scroll-snap-align: start;
  }
}

/* ── 1.4 — Problems We Solve ── */
.problems__intro {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 21px;
  line-height: 1.7;
  color: var(--forest-deep);
  text-align: justify;
}


/* ── 1.5 — Use case sections (animated) ──
   Strict 50/50 split: animation full-height on one side, copy on the
   other. The section label sits alone, top-left of the section, above
   both. Sides alternate via .use-case-section--reverse. No gradients —
   the animation's own background is simply the page's cream, so it
   blends flat with no visible seam. */
.use-case-section {
  position: relative;
  padding-top: 20px;
  margin-bottom: 50px;
}

.use-case__label {
  padding: 0 var(--gutter);
  max-width: var(--content-max);
  margin: 0 auto 12px;
}

.use-case__row {
  display: flex;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 56px;
}

.use-case-section--reverse .use-case__row {
  flex-direction: row-reverse;
}

.use-case__animation {
  flex: 1 1 0;
  padding-bottom: 10px;
  background: var(--cream);
}

/* Overflow copy — anything beyond the first paragraph runs full-width
   below the row instead of stacking inside the text column. Longer text
   was growing .use-case__row taller than the animation's own aspect
   ratio, which stretched (and cropped) the graphic to match; keeping
   the row itself short and moving the rest of the copy below fixes
   that at the source rather than capping text length. Holds one of the
   floating-bubble containers — no styling of its own, just width and
   position, so the bubble is the only visible frame. */
.use-case__more {
  max-width: calc(var(--content-max) - var(--gutter) * 2);
  margin: 40px auto 0;
}

.use-case__more:empty { display: none; }

.use-case__more .use-case__body {
  max-width: none;
}

.use-case__more .use-case__body + .use-case__body {
  margin-top: 18px;
}

/* Each animation's container is matched to that specific artwork's own
   aspect ratio (computed from its cropped viewBox), so "slice" fill-mode
   needs zero cropping in either direction — a shared ratio was cropping
   the narrower-ratio animations (e.g. Dashboards) vertically. */
.animation-dashboards { aspect-ratio: 1.545; }
.animation-context { aspect-ratio: 1.714; }
.animation-succession { aspect-ratio: 1.638; }
.animation-workflows { aspect-ratio: 1.845; }

.use-case__animation iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.use-case__text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.use-case__body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.85;
  color: var(--forest-mid);
  text-align: justify;
}

.use-case__body + .use-case__body {
  margin-top: 18px;
}

@media (max-width: 860px) {
  .use-case-section {
    padding-top: 16px;
    margin-bottom: 32px;
  }

  .use-case__label {
    padding: 0 var(--gutter-sm);
  }

  .use-case__row,
  .use-case-section--reverse .use-case__row {
    flex-direction: column;
    min-height: 0;
    gap: 0;
  }

  .use-case__animation,
  .use-case__text {
    flex: none;
    width: 100%;
  }

  .use-case__text {
    padding: 28px 0 0;
  }

  .use-case__more {
    max-width: none;
    margin: 28px var(--gutter-sm) 0;
  }
}

/* ── 1.6 — Flagship Products ── */
.products-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.product-card {
  background: var(--linen);
  border: 0.5px solid var(--parchment);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.product-card--isaac {
  border-top: 2px solid var(--gold);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 150ms var(--ease-out), background 150ms var(--ease-out);
}

.product-card--isaac:hover {
  background: color-mix(in srgb, var(--gold) 6%, var(--linen));
}

.product-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.product-card__crease {
  width: 55px;
  height: auto;
}

.product-card__badge {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
  border: 1px solid var(--ash);
  padding: 4px 10px;
}

.product-card__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: 3px;
  color: var(--forest-deep);
}

.product-card__name--muted {
  color: var(--ash);
  font-size: 22px;
}

.product-card__desc {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--moss);
  text-align: justify;
  margin-top: 16px;
  flex: 1;
}

.product-card__meta {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 20px;
}

.product-card__cta {
  margin-top: 20px;
  align-self: flex-start;
}

@media (max-width: 860px) {
  .products-row {
    grid-template-columns: 1fr;
  }
}

/* ── 1.7 — Contact CTA ── */
.contact-cta {
  text-align: left;
}

.contact-cta__anchor {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.4;
  color: var(--forest-deep);
  max-width: 20ch;
}

.contact-cta__support {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--stone);
  margin-top: 24px;
}

.contact-cta__cta {
  margin-top: 40px;
}
