/* Foaster home — blue ink, open paper, and a small number of confident scenes.
   Loaded after refinement.css. Motion hooks are optional: every section remains
   fully visible when JavaScript, scroll enhancement, or motion is unavailable. */
body.refined.home-revised {
  --home-cobalt: #223f67;
  --home-deep-ink: #14394f;
  --home-blue-paper: #e7eff6;
  --home-lilac-paper: #eceef6;
}
/* A fading paper wash keeps the cover navigation clear over the drawing. */
@media (min-width: 761px) {
  body.refined.home-revised.theme-day .hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: calc(var(--nav-height, 88px) + 64px);
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, #ffffffd9 0%, #ffffffa3 45%, #ffffff00 100%);
  }
  body.refined.home-revised.theme-day .site-header:not(.is-solid) .nav-left {
    color: #102c40;
    font-weight: 550;
  }
}
/* The film introduces the same ink used later by the platform story. */
html[data-typeface] body.refined.home-revised .home-launch .launch-heading h2 {
  color: var(--home-cobalt);
  letter-spacing: -.042em;
}
body.refined.home-revised .home-launch .launch-heading {
  column-gap: clamp(48px, 6.05vw, 80px);
  margin-bottom: 48px;
}
body.refined.home-revised .home-launch .launch-heading p {
  color: #50677a;
  max-width: 480px;
}
/* Let the introduction share the film's full width, without a narrow text cap. */
body.refined.home-revised #a-new-scale {
  --launch-intro-space: clamp(40px, 3.5vw, 64px);
  padding-block-start: var(--launch-intro-space);
}
body.refined.home-revised #a-new-scale .launch-heading {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  column-gap: clamp(32px, 4.4vw, 64px);
  align-items: center;
  margin-bottom: var(--launch-intro-space);
}
body.refined.home-revised #a-new-scale .launch-copy { min-width: 0; }
body.refined.home-revised #a-new-scale .launch-copy p {
  max-width: none;
  margin: 0;
}
body.refined.home-revised #a-new-scale .launch-copy p + p { margin-top: 16px; }
@media (max-width: 1000px) {
  body.refined.home-revised #a-new-scale .launch-heading { display: block; }
  body.refined.home-revised #a-new-scale .launch-copy { margin-top: 24px; }
}
@media (max-width: 760px) {
  body.refined.home-revised #a-new-scale { --launch-intro-space: 32px; }

}
body.refined.home-revised .home-launch .launch-player {
  border: 0;
  background: var(--home-deep-ink);
  border-radius: 24px;
  box-shadow: 0 0 0 1px #1834490a;
}

/* Two generous illustrated destinations. The washes belong to the pictures,
   with no second card or floating text container inside them. */
body.refined.home-revised .home-audiences .home-section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}
html[data-typeface] body.refined.home-revised .home-audiences #audiences-title {
  color: var(--home-cobalt);
}
body.refined.home-revised .home-audiences .audience-panels {
  gap: 24px;
}
body.refined.home-revised .home-audiences .audience-panel {
  background: var(--home-blue-paper);
  border-radius: 24px;
  isolation: isolate;
}
body.refined.home-revised .home-audiences .audience-panel::after {
  background: linear-gradient(180deg, #e7eff6 0%, #e7eff6f7 14%, #e7eff6c2 28%, #e7eff61a 49%, transparent 63%);
}
body.refined.home-revised .home-audiences .audience-panel:nth-child(2)::after {
  background: linear-gradient(180deg, #eceef6 0%, #eceeefed 14%, #eceef6c2 28%, #eceef61a 49%, transparent 63%);
}
body.refined.home-revised .home-audiences .audience-copy {
  top: 40px;
  left: 40px;
  right: 32px;
}
html[data-typeface] body.refined.home-revised .home-audiences .audience-copy h3 {
  color: #193a5d;
  max-width: 440px;
  text-wrap: balance;
}
body.refined.home-revised .home-audiences .audience-copy p {
  color: #3a566d;
}
body.refined.home-revised .home-audiences .audience-copy .audience-link {
  color: #244765;
  border-color: #6a879e;
}
body.refined.home-revised .home-audiences .audience-panel > img {
  transition: transform 1.1s cubic-bezier(.22,.7,.25,1);
}
body.refined.home-revised .home-audiences .audience-panel:hover > img,
body.refined.home-revised .home-audiences .audience-panel:focus-visible > img {
  transform: scale(1.025);
}
body.refined.home-revised .home-audiences .audience-panel:focus-visible {
  outline-color: #315b82;
  outline-offset: 6px;
}

/* A single ink-blue editorial spread closes the product argument. The photo
   runs to the edge of the scene rather than living inside another padded box. */
body.refined.home-revised .home-proof {
  background: var(--home-cobalt);
  color: #fff;
  border-radius: 24px;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
body.refined.home-revised .home-proof figure {
  position: relative;
  display: block;
  padding: 0;
  align-self: stretch;
  overflow: hidden;
}
body.refined.home-revised .home-proof figure::after {
  content: "";
  position: absolute;
  inset: 65% 0 0;
  background: linear-gradient(transparent, #0d263db3);
  pointer-events: none;
}
body.refined.home-revised .home-proof figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 432px;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% center;
}
body.refined.home-revised .home-proof figure figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  color: #edf4fa;
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}
body.refined.home-revised .home-proof > div {
  padding: clamp(40px, 4.25vw, 64px);
}
body.refined.home-revised .home-proof .eyebrow {
  color: #bbd0e4;
}
html[data-typeface] body.refined.home-revised .home-proof #proof-title {
  color: #fff;
  max-width: 480px;
}
body.refined.home-revised .home-proof > div > p:not(.eyebrow) {
  color: #e0e9f3;
  max-width: 440px;
}
body.refined.home-revised .home-proof .text-link {
  color: #fff;
  border-color: #9ab6d2;
}
body.refined.home-revised .home-proof .text-link:hover {
  color: #e0efff;
  border-color: #fff;
}
body.refined.home-revised .home-proof :is(a,button):focus-visible {
  outline-color: #bdd6f0;
}

/* One unbroken city panorama, with the same blue undertone as the page. */
body.refined.home-revised .illustrated-footer .footer-panorama {
  background: #e7eff6;
}
body.refined.home-revised .illustrated-footer .footer-panorama::after {
  background: linear-gradient(transparent, #eef4f9 94%);
}
body.refined.home-revised.theme-night .illustrated-footer .footer-panorama::after {
  background: linear-gradient(transparent, #0c2943 94%);
}

/* A restrained scroll entrance outside the interactive platform: one editorial
   unit at a time, a maximum of 16px, with no opacity flicker or scaled text. */
@media (prefers-reduced-motion: no-preference) {
  body.refined.home-revised .home-launch[data-scroll-accent] .launch-heading,
  body.refined.home-revised .home-audiences[data-scroll-accent] .home-section-heading,
  body.refined.home-revised .home-proof[data-scroll-accent] > div {
    transform: translate3d(0, calc((1 - var(--enter-progress, 1)) * 16px), 0);
  }
  body.refined.home-revised .home-audiences[data-scroll-accent] .audience-panels {
    transform: translate3d(0, calc((1 - var(--enter-progress, 1)) * 24px), 0);
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  body.refined.home-revised .home-audiences .audience-copy {
    top: 32px;
    left: 32px;
    right: 24px;
  }
  body.refined.home-revised .home-proof > div { padding: 32px; }
  body.refined.home-revised .home-proof figure img { min-height: 440px; }
}

@media (max-width: 760px) {
  /* The landscape cover's skyline begins past its midpoint. Aim the mobile
     crop at One WTC rather than the blank office wall, without stretching it.
     A local paper wash protects the opening copy and clears over the city. */
  body.refined.home-revised.theme-day .hero {
    height: 100svh;
    min-height: 640px;
    max-height: none;
    background: #edf3f8;
  }
  body.refined.home-revised.theme-day .hero-art {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% center;
    transform: none;
    mask-image: none;
  }
  body.refined.home-revised.theme-day .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(180deg, #f5f8fbf5 0%, #f5f8fbeb 25%, #f5f8fbc4 39%, #f5f8fb40 53%, transparent 64%),
      linear-gradient(90deg, #f5f8fb4d, transparent 82%);
  }
  body.refined.home-revised.theme-day .hero-copy {
    left: 24px;
    top: calc(var(--nav-height, 80px) + 40px);
    width: calc(100% - 48px);
    max-width: 440px;
    padding: 0;
  }
  body.refined.home-revised.theme-day .hero-actions {
    gap: 12px 20px;
    margin-top: 24px;
  }
  body.refined.home-revised.theme-day .hero-actions .backing {
    margin: 0;
    white-space: nowrap;
  }
  body.refined.home-revised .home-launch .launch-heading { margin-bottom: 32px; }
  body.refined.home-revised .home-launch .launch-player { border-radius: 18px; }
  body.refined.home-revised .home-audiences .home-section-heading { margin-bottom: 32px; }
  body.refined.home-revised .home-audiences .audience-panel { border-radius: 18px; }
  body.refined.home-revised .home-audiences .audience-copy {
    top: 28px;
    left: 28px;
    right: 24px;
  }
  body.refined.home-revised .home-proof { border-radius: 18px; }
  body.refined.home-revised .home-proof figure { width: 100%; }
  body.refined.home-revised .home-proof figure img {
    min-height: 0;
    height: auto;
    aspect-ratio: 1.4;
  }
  body.refined.home-revised .home-proof figure figcaption {
    left: 20px;
    right: 20px;
    bottom: 16px;
    font-size: 10px;
  }
  body.refined.home-revised .home-proof > div { padding: 32px 24px 40px; }
  body.refined.home-revised .illustrated-footer .footer-legal { background: #eef4f9; }
  body.refined.home-revised.theme-night .illustrated-footer .footer-legal { background: #0c2943; }
}

@media (max-width: 360px) {
  body.refined.home-revised.theme-day .hero-copy { top: calc(var(--nav-height, 80px) + 28px); }
  html[data-typeface] body.refined.home-revised.theme-day .hero h1 { font-size: 32px; line-height: 1.1; }
  body.refined.home-revised.theme-day .hero-copy .hero-subtitle { font-size: 13px; line-height: 1.65; }
  body.refined.home-revised.theme-day .hero-actions { margin-top: 20px; }
}

/* Keep the category and the client outcome distinct within the cover. */
body.refined.home-revised .hero-copy .hero-outcome {
  max-width: 460px;
  margin-top: 12px;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.65;
  color: #24475e;
  letter-spacing: -.012em;
}
body.refined.home-revised.theme-night .hero-copy .hero-outcome { color: #f2f6fa; }
@media (max-width: 760px) {
  body.refined.home-revised .hero-copy .hero-outcome {
    max-width: 360px;
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.refined.home-revised .home-audiences .audience-panel > img { transition: none; }
  body.refined.home-revised .home-audiences .audience-panel:hover > img,
  body.refined.home-revised .home-audiences .audience-panel:focus-visible > img {
    transform: none;
  }
}

/* Give the YC endorsement enough presence beside the primary action. */
body.refined.home-revised .hero-copy .backing { font-size: 14px; line-height: 1.4; gap: 10px; }
body.refined.home-revised .hero-copy .backing .yc-mark { width: 28px; height: 28px; font-size: 22px; flex-shrink: 0; }
@media (max-width: 760px) {
  body.refined.home-revised .hero-copy .backing { font-size: 13px; }
  body.refined.home-revised .hero-copy .backing .yc-mark { width: 26px; height: 26px; font-size: 20px; }
}
