/* ----- Glimp R typeface ---------------------------------------------------
   Two families on disk, both semi-condensed:
   - "Glimp R"          → small text / body        (SemiCond regular)
   - "Glimp R SemiCond" → big text / titles        (SemiCond semibold)
   Both loaded with font-display: swap so Inter doesn't flash long.
-------------------------------------------------------------------------- */
@font-face {
  font-family: "Glimp R";
  src: url("/fonts/GlimpR-SemiCond.ttf") format("truetype");
  font-weight: 100 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glimp R SemiCond";
  src: url("/fonts/GlimpR-SemiCondSemiBold.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --outsmart-font-body: "Glimp R", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --outsmart-font-display: "Glimp R SemiCond", "Glimp R", ui-sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* Hijack the base --font-sans / --font-inter tokens so every rule that
     references them switches over without touching the huge compiled base. */
  --font-inter: var(--outsmart-font-body);
  --font-sans: var(--outsmart-font-body);
}

html,
body {
  font-family: var(--outsmart-font-body) !important;
}

/* Anything that was hard-coded to `Inter, sans-serif` in the compiled base */
*[style*="Inter"] {
  font-family: var(--outsmart-font-body) !important;
}

/* ---- Big text / titles get the SemiCondensed SemiBold cut -------------- */
h1,
h2,
h3,
.c-hero-home_title,
.c-brands-section_title,
.c-numbers-stack_card_stat,
.c-tile-animated_title,
.outsmart-cards-intro_text,
.outsmart-mission-block,
.outsmart-mission-slide,
.heading-2xl,
.heading-xl,
.heading-lg,
.heading-md,
.heading-sm,
.heading-xs,
.heading-2xs,
.md\:heading-xs,
.max-md\:heading-sm,
.md\:heading-md,
.md\:heading-lg,
.md\:heading-xl,
.md\:heading-2xl,
/* All buttons & button labels → SemiCond */
button,
.c-button,
.c-button_label,
.c-button-quote,
.c-button-quote_label,
.outsmart-hero-cta,
.outsmart-footer_button,
.outsmart-role-apply,
.outsmart-floating-cta,
.outsmart-floating-cta_label,
.c-menu-mobile_contact,
.c-menu-desktop_contact {
  font-family: var(--outsmart-font-display) !important;
}

/* ---- Specific body copy that lives inside heading utilities ------------ */
/* These two paragraphs use .heading-xs / .md:heading-xs utilities for sizing
   but should read as body Regular, not display. Higher-specificity overrides. */
p.md\:heading-xs.max-md\:heading-sm.text-balance,
.outsmart-cards-outro p.heading-xs {
  font-family: var(--outsmart-font-body) !important;
  font-weight: 400 !important;
}

.c-homepage-timeline_intro_illustration_canvas {
  aspect-ratio: 1430/1220 !important;
}
.c-homepage-timeline_intro_ghost {
  aspect-ratio: 1430/540 !important;
}
.c-homepage-timeline_intro_illustration_wrap {
  top: -78svh !important;
}
.c-homepage-timeline_intro_illustration {
  margin-top: 45.75rem !important;
  margin-bottom: -12.5vw !important;
}
.c-homepage-timeline_intro_illustration_inner {
  transform: translate(clamp(4.6rem, 10.5vw, 12.25rem), -5.6rem) scale(1.14) !important;
  transform-origin: center top;
}
.outsmart-hide-menu,
c-menu-desktop,
c-menu-mobile {
  display: none !important;
}
:root {
  --menu-bar-height: 0px;
  --outsmart-paper: #fff;
  --outsmart-beige: #FFF8E5;
  --outsmart-cream: var(--outsmart-paper);
  --outsmart-ink: #000;
  --outsmart-brown: #000;
  --outsmart-footer: #251100;
  --outsmart-footer-field: #3a2921;
  --outsmart-muted: var(--outsmart-paper);
  --outsmart-orange: #ff6200;
  --color-beige-400: var(--outsmart-beige);
  --color-beige-500: var(--outsmart-beige);
  --color-black: #000;
  --color-charcoal: #000;
}
.c-preloader {
  display: none !important;
}
.outsmart-floating-cta-wrap {
  position: fixed;
  top: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  z-index: 160;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  transition: opacity .5s cubic-bezier(0.22, 1, 0.36, 1), transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.outsmart-floating-cta-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.outsmart-floating-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.45rem 0.35rem 1.15rem;
  min-height: 3.3rem;
  border-radius: 999px;
  background: #0a0a0a;
  color: #ffffff;
  text-decoration: none;
  font-size: var(--text-button);
  font-weight: 500;
  letter-spacing: -0.02em;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  transform-origin: center;
  transition: transform .45s var(--ease-bounce), box-shadow .45s var(--ease-bounce);
}
.outsmart-floating-cta_label {
  white-space: nowrap;
}
.outsmart-floating-cta_icon {
  width: 4.176rem;
  height: 4.176rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.outsmart-floating-cta_icon c-rive,
.outsmart-floating-cta_icon canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.outsmart-floating-cta_icon svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--outsmart-ink);
  stroke-width: 2.3;
  fill: none;
}
.outsmart-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(12rem, 20vw, 15rem);
  min-height: 3.9rem;
  padding: 0.5rem 1.7rem;
  border-radius: 999px;
  background: var(--outsmart-orange);
  color: var(--outsmart-paper);
  text-decoration: none;
  text-align: center;
  font-size: var(--text-button);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  box-shadow: none;
  transform-origin: center;
  transition: transform .45s var(--ease-bounce), box-shadow .45s var(--ease-bounce),
    background-color .2s ease, color .2s ease !important;
}
.outsmart-floating-cta:hover,
.outsmart-floating-cta:focus-visible {
  color: #ffffff;
  text-decoration: none;
}
.outsmart-hero-cta:hover,
.outsmart-hero-cta:focus-visible,
.outsmart-hero-cta:active {
  color: var(--outsmart-paper);
  background: var(--outsmart-orange);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .outsmart-floating-cta:hover,
  .outsmart-floating-cta:focus-visible,
  .outsmart-hero-cta:hover,
  .outsmart-hero-cta:focus-visible,
  .outsmart-footer_social-link:hover,
  .outsmart-footer_social-link:focus-visible {
    transform: scale(1.045);
  }
}
.outsmart-hero-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.2rem, 2.8vw, 2.1rem);
  opacity: calc(1 - (var(--progress, 0) * 0.9));
  transform: translate3d(0, calc(var(--progress, 0) * -1rem), 0);
  will-change: transform, opacity;
}
.outsmart-hero-logo {
  width: clamp(9rem, 17vw, 12.5rem);
  height: auto;
  display: block;
}
.outsmart-hero-lockup .c-hero-home_title {
  color: var(--outsmart-beige) !important;
}
.outsmart-static-cards {
  background: transparent !important;
  position: relative;
}
.outsmart-static-cards .grid.gap-6.md\:grid-cols-14.md\:gap-8 {
  display: grid;
  gap: clamp(2.5rem, 3vw, 3.5rem);
  align-items: stretch;
}
.outsmart-static-cards .grid.gap-6.md\:grid-cols-14.md\:gap-8 > div {
  max-width: none !important;
  grid-column: auto !important;
  justify-self: stretch !important;
  display: flex;
}
.outsmart-static-cards .c-tile-animated {
  position: relative !important;
  height: 100%;
  display: flex;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.outsmart-static-cards .c-tile-animated_bg,
.outsmart-static-cards .c-tile-animated_bg.-colored,
.outsmart-static-cards .c-tile-animated_bg.-white {
  border-radius: 2.45rem;
  transform: none !important;
  transition: none !important;
}
.outsmart-static-cards .c-tile-animated_inner {
  gap: clamp(1.15rem, 2vw, 1.6rem);
  padding: clamp(1.25rem, 2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.outsmart-static-cards .c-tile-animated_title,
.outsmart-static-cards .c-tile-animated_description,
.outsmart-static-cards .c-tile-animated_cta {
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.outsmart-static-cards .c-tile-animated_cta {
  display: none !important;
}
.outsmart-static-cards .outsmart-card_media {
  aspect-ratio: 16/10;
  border-radius: 1.9rem;
  overflow: hidden;
  position: relative;
  background: #ff6200;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.outsmart-static-cards .outsmart-card_media:before,
.outsmart-static-cards .outsmart-card_media:after,
.outsmart-static-cards .outsmart-card_media > * {
  display: none !important;
}
.outsmart-static-cards .c-tile-animated_title {
  font-size: 1.7475rem;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.outsmart-static-cards .c-tile-animated_description {
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.5;
  flex: 1 1 auto;
}
.outsmart-workwithus-spacer {
  width: 100%;
  height: 0;
  padding-top: 8%;
  flex: 0 0 auto;
}
.c-deluxe-callout {
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  margin-top: 0 !important;
  padding-top: clamp(0.18rem, 0.45vw, 0.36rem) !important;
  padding-bottom: clamp(0.18rem, 0.45vw, 0.36rem) !important;
}
@media (max-width: 999px) {
  /* Rive raccoon: peeks on load, centered, bigger, stays pinned longer (mobile) */
  .c-homepage-timeline_intro_illustration_wrap {
    top: -60svh !important; /* peeks into viewport on load, but not fully above */
  }
  .c-homepage-timeline_intro_illustration_sticky {
    top: 40svh !important; /* pin at peek position from scrollY=0 so raccoon holds initial spot */
  }
  .c-homepage-timeline_intro_ghost {
    aspect-ratio: 1430/1700 !important; /* slightly taller ghost = slightly longer pin */
  }
  .c-homepage-timeline_intro_illustration {
    margin-top: 42.5rem !important;
  }
  .c-homepage-timeline_intro_illustration_inner {
    transform: translate(0, -2.7rem) scale(1.55) !important; /* centered, scale 1.55 */
  }
  .outsmart-floating-cta-wrap {
    top: 1rem;
    right: 1rem;
  }
  .outsmart-floating-cta {
    gap: 0.25rem;
    padding: 0.3rem 0.38rem 0.3rem 0.9rem;
    min-height: 3rem;
  }
  .outsmart-floating-cta_icon {
    width: 3.672rem;
    height: 3.672rem;
  }
  .outsmart-hero-lockup {
    gap: 1.05rem;
  }
  .outsmart-hero-logo {
    width: clamp(10rem, 41.6vw, 12.675rem); /* 30% bigger on mobile */
  }
  .outsmart-hero-cta {
    min-width: auto;
    min-height: 3.5rem;
    padding: 0.42rem 1.45rem;
  }
  .outsmart-static-cards {
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem) !important;
  }
  .outsmart-static-cards .c-tile-animated_title {
    font-size: clamp(1.68rem, 5.8vw, 1.85rem);
  }
  .outsmart-static-cards .outsmart-card_media {
    aspect-ratio: 16/10;
  }
}
@media (min-width: 1000px) {
  .outsmart-static-cards:not(.outsmart-static-cards-in-callout) {
    height: 125vh;
    padding: 0 !important;
    margin-top: 0 !important;
  }
  .outsmart-static-cards:not(.outsmart-static-cards-in-callout) > .container {
    position: sticky;
    top: calc(var(--menu-bar-height) + 1rem);
    min-height: calc(100vh - var(--menu-bar-height) - 1rem);
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .outsmart-static-cards:not(.outsmart-static-cards-in-callout)
    > .container
    > .grid {
    width: 100%;
  }
  .outsmart-static-cards:not(.outsmart-static-cards-in-callout)
    .col-span-full.md\:col-start-2.md\:col-span-14 {
    width: 100%;
  }
  .outsmart-static-cards:not(.outsmart-static-cards-in-callout)
    .grid.gap-6.md\:grid-cols-14.md\:gap-8 {
    display: flex !important;
    align-items: stretch;
    justify-content: center;
    gap: clamp(2.5rem, 3vw, 3.5rem);
    transform: translate3d(var(--cards-offset, 0px), 0, 0);
    will-change: transform;
  }
  .outsmart-static-cards:not(.outsmart-static-cards-in-callout)
    .grid.gap-6.md\:grid-cols-14.md\:gap-8
    > div {
    flex: 0 0 min(24vw, 18.5rem);
    max-width: min(24vw, 18.5rem) !important;
  }
}
.outsmart-footer {
  background: var(--outsmart-footer);
  color: var(--outsmart-cream);
  padding: clamp(5.5rem, 11vw, 9rem) 0 0.7rem;
  overflow: hidden;
  min-height: auto;
  display: block;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.outsmart-footer_panel {
  max-width: min(100%, 45rem);
  margin: 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.outsmart-footer_copy {
  font-size: clamp(1.3rem, 2.35vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 31ch;
  margin: 0 auto;
  color: var(--outsmart-cream);
  text-align: center;
}
.outsmart-footer_form {
  margin: clamp(1.35rem, 2.5vw, 2rem) auto 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  width: min(100%, 64rem);
  max-width: none;
}
.outsmart-footer_input {
  flex: 0 1 22rem;
  max-width: 22rem;
  min-width: 0;
  border: 0;
  background: var(--outsmart-footer-field);
  color: var(--outsmart-cream);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  padding: 1.05rem 1.25rem;
  border-radius: 1.2rem;
}
.outsmart-footer_input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}
.outsmart-footer_input:focus {
  outline: none;
}
.outsmart-footer_success {
  margin: clamp(1.35rem, 2.5vw, 2rem) auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.9rem;
  padding: 0.5rem 1.7rem;
  border-radius: 1.2rem;
  background: #000;
  color: var(--outsmart-orange);
  font-family: var(--outsmart-font-display);
  font-size: var(--text-button);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
}
.outsmart-footer_success-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
}
@media (max-width: 767px) {
  .outsmart-footer_success {
    width: 100%;
    max-width: min(100%, 32rem);
    min-height: 3.5rem;
    padding: 0.85rem 1.45rem;
  }
}
.outsmart-footer_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.9rem;
  border: 0;
  border-radius: 1.2rem;
  background: var(--outsmart-orange);
  color: #000;
  font-family: var(--font-sans);
  font-size: var(--text-button);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: none;
  padding: 0.5rem 1.7rem;
  flex: 0 0 auto;
  transform-origin: center;
  transition:
    transform 0.45s var(--ease-bounce);
}
.outsmart-footer_button svg,
.outsmart-footer_button .c-icon,
.outsmart-footer_button path {
  color: #000;
  fill: currentColor;
  stroke: currentColor;
}
@media (hover: hover) and (pointer: fine) {
  .outsmart-footer_button:hover,
  .outsmart-footer_button:focus-visible {
    transform: scale(1.045);
  }
}
.outsmart-footer_button:hover {
  background: var(--outsmart-orange);
}
.outsmart-partners-shell {
  background: #EDE5D8 !important;
}
.c-brands-section_item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  min-width: clamp(14rem, 21vw, 18rem);
  min-height: clamp(6.4rem, 8.6vw, 8rem);
  padding-block: clamp(0.8rem, 1.4vw, 1.3rem) !important;
  padding-inline: clamp(1.9rem, 3.3vw, 3rem) !important;
}
.c-brands-section_item_visual {
  display: none !important;
}
.c-brands-section_item_title {
  display: none !important;
}
.outsmart-partner-logo {
  display: block;
  width: auto;
  height: clamp(1.8rem, 2.65vw, 2.6rem);
  max-width: min(13rem, 100%);
  object-fit: contain;
}
.outsmart-partner-logo.-dst {
  height: clamp(2.05rem, 3vw, 2.95rem);
}
.outsmart-footer_social {
  margin-top: 3.4rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}
.outsmart-footer_social-label {
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  text-transform: none;
  letter-spacing: 0;
  color: var(--outsmart-cream);
  font-weight: 400;
}
.outsmart-footer_social-links {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.outsmart-footer_social-link {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  background: var(--outsmart-beige);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform .45s var(--ease-bounce);
}
.outsmart-footer_social-link svg {
  width: 1.3rem;
  height: 1.3rem;
  display: block;
  color: #000;
  fill: currentColor;
  stroke: currentColor;
  transform: scale(1);
  transform-origin: center;
  transition: transform .45s var(--ease-bounce);
}
.outsmart-footer_social-link path {
  color: #000;
  fill: currentColor;
  stroke: currentColor;
  transition: none !important;
}
@media (hover: hover) and (pointer: fine) {
  /* Counter-scale the icon so the button grows on hover but the icon
     stays visually the same size — no perceived icon movement. */
  .outsmart-footer_social-link:hover svg,
  .outsmart-footer_social-link:focus-visible svg {
    transform: scale(0.957);
  }
}
.outsmart-footer_social-link:hover {
  background: var(--outsmart-orange);
  color: var(--outsmart-brown);
}
.outsmart-footer_wordmark-wrap {
  margin-top: clamp(2.2rem, 4vw, 3.75rem);
  margin-bottom: 0.6rem;
  padding: 0 clamp(0.4rem, 1.2vw, 1rem);
}
.outsmart-footer_wordmark {
  display: block;
  width: 100%;
  height: auto;
}
.outsmart-footer_meta {
  margin-top: 0.16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--outsmart-muted);
  font-size: 0.78rem;
  opacity: 0.5;
  white-space: nowrap;
  line-height: 1.1;
}
.outsmart-footer_meta a {
  color: inherit;
  text-decoration: none;
}
.outsmart-footer_meta a:hover {
  text-decoration: underline;
}
@media (max-width: 699px) {
  .outsmart-footer {
    padding: 5rem 0 0.52rem;
    min-height: auto;
  }
  .outsmart-footer_panel {
    padding: 0;
  }
  .outsmart-footer_wordmark-wrap {
    margin-bottom: 0.5rem;
  }
  .outsmart-footer_form {
    width: 100%;
    max-width: min(100%, 32rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .outsmart-footer_button {
    width: 100%;
    flex: 0 0 auto;
    min-height: 3.5rem;
    padding: 0.42rem 1.45rem;
  }
  .outsmart-footer_input {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }
  .outsmart-footer_meta {
    flex-direction: column;
    align-items: center;
  }
}

c-deluxe-callout {
  overflow: clip !important;
}
.c-homepage-timeline_intro_illustration_inner > svg {
  display: none !important;
}
.c-numbers-stack_title strong::after {
  display: none !important;
}
.c-numbers-stack_card_icon_wrap {
  display: none !important;
}
.c-numbers-stack_text {
  width: auto !important;
  max-width: 32rem !important;
}
@media (min-width: 1000px) {
  .c-numbers-stack_text {
    width: auto !important;
    max-width: 32rem !important;
  }
}
.c-numbers-stack_content_sticky {
  justify-content: flex-start !important;
  gap: clamp(1.25rem, 2vw, 2rem) !important;
}
@media (min-width: 1000px) {
  .c-numbers-stack_content_sticky {
    min-height: 0 !important;
  }
}
.c-numbers-stack_card_stat {
  font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}
/* Team-card background-photo pattern (one class per person).
   All photos live in /team/. Gradient darkens the bottom so white name+copy reads. */
.outsmart-team-card-rosalind,
.outsmart-team-card-bowen,
.outsmart-team-card-lizzie,
.outsmart-team-card-jeremy,
.outsmart-team-card-harsha {
  color: var(--outsmart-cream) !important;
  justify-content: flex-end;
  gap: 0.8rem;
  overflow: hidden;
}
.outsmart-team-card-rosalind .c-numbers-stack_card_stat,
.outsmart-team-card-rosalind .c-numbers-stack_card_description,
.outsmart-team-card-bowen .c-numbers-stack_card_stat,
.outsmart-team-card-bowen .c-numbers-stack_card_description,
.outsmart-team-card-lizzie .c-numbers-stack_card_stat,
.outsmart-team-card-lizzie .c-numbers-stack_card_description,
.outsmart-team-card-jeremy .c-numbers-stack_card_stat,
.outsmart-team-card-jeremy .c-numbers-stack_card_description,
.outsmart-team-card-harsha .c-numbers-stack_card_stat,
.outsmart-team-card-harsha .c-numbers-stack_card_description {
  color: var(--outsmart-cream) !important;
  position: relative;
  z-index: 1;
}
.outsmart-team-card-rosalind .c-numbers-stack_card_description,
.outsmart-team-card-bowen .c-numbers-stack_card_description,
.outsmart-team-card-lizzie .c-numbers-stack_card_description,
.outsmart-team-card-jeremy .c-numbers-stack_card_description,
.outsmart-team-card-harsha .c-numbers-stack_card_description {
  max-width: 20rem;
}
.outsmart-team-card-rosalind {
  background:
    linear-gradient(180deg, rgba(18, 10, 8, 0.08) 18%, rgba(18, 10, 8, 0.72) 100%),
    url('/team/ros.jpeg') center 28% / cover no-repeat !important;
}
.outsmart-team-card-bowen {
  background:
    linear-gradient(180deg, rgba(18, 10, 8, 0.08) 18%, rgba(18, 10, 8, 0.72) 100%),
    url('/team/bowen.PNG') center 22% / cover no-repeat !important;
}
.outsmart-team-card-lizzie {
  background:
    linear-gradient(180deg, rgba(18, 10, 8, 0.08) 18%, rgba(18, 10, 8, 0.72) 100%),
    url('/team/lizzie.jpg') center 25% / cover no-repeat !important;
}
.outsmart-team-card-harsha {
  background:
    linear-gradient(180deg, rgba(18, 10, 8, 0.08) 18%, rgba(18, 10, 8, 0.72) 100%),
    url('/team/harsha.png') center 25% / cover no-repeat !important;
}
.outsmart-team-card-jeremy {
  background:
    linear-gradient(180deg, rgba(18, 10, 8, 0.08) 18%, rgba(18, 10, 8, 0.72) 100%),
    url('/team/Jeremy.jpg') center 25% / cover no-repeat !important;
}
.outsmart-intro-tagline {
  position: relative;
  z-index: 2;
  margin-top: clamp(1.75rem, 4.5vw, 3.75rem);
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  justify-content: center;
}
@media (min-width: 1000px) {
  /* On desktop, give the rail a viewport-height-proportional top margin so
     the sticky raccoon has room to fully exit upward before the rail
     enters view. Using svh keeps the gap consistent in % across monitor
     sizes (small laptops to 4K). No cropping, no overlap. */
  .outsmart-intro-tagline {
    margin-top: clamp(3rem, 18svh, 16rem);
  }
}
.outsmart-mission-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: clamp(0.75rem, 1.5vw, 1.5rem);
  row-gap: clamp(0.4rem, 1vw, 0.9rem);
  flex-wrap: wrap;
  max-width: min(96vw, 82rem);
  padding: 0 1rem;
}
.outsmart-mission-pair {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  flex: 0 0 auto;
  white-space: nowrap;
}
.outsmart-mission-block {
  display: inline-block;
  overflow: hidden;
  padding: 0.1em 0 0.12em;
  margin: -0.1em 0 -0.12em;
  background: none;
  color: var(--outsmart-ink);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.17;
  white-space: nowrap;
  vertical-align: middle;
}
.outsmart-mission-block .outsmart-mission-slide {
  display: inline-block;
  transform: translateY(100px);
  white-space: nowrap;
  line-height: 1.17;
  will-change: transform;
}
@keyframes outsmart-slide-up {
  0% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0);
  }
}
.outsmart-mission-rail.is-revealed .outsmart-mission-block .outsmart-mission-slide {
  animation: outsmart-slide-up 0.85s cubic-bezier(0.65, 0, 0.35, 1) both;
  animation-delay: calc(var(--outsmart-block-i, 0) * 0.025s);
}
.outsmart-mission-dot {
  width: clamp(1.2rem, 1.8vw, 1.8rem);
  height: clamp(1.2rem, 1.8vw, 1.8rem);
  border-radius: 999px;
  background: var(--outsmart-orange);
  flex: 0 0 auto;
  align-self: center;
}
@media (max-width: 999px) {
  /* Gap between "Join the waitlist" and mission rail split between ghost + tagline padding
     so the raccoon pin releases earlier (ghost short) without losing visual gap (padding tall) */
  .outsmart-intro-tagline {
    margin-top: 0 !important;
    padding-top: 8.375rem !important;
    padding-bottom: 1.25rem !important;
    z-index: 6 !important; /* sit above pinned raccoon (intro has z-index:5) */
  }
}
@media (max-width: 699px) {
  .outsmart-mission-rail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    row-gap: 0.25rem;
    column-gap: 0;
    overflow: visible;
    padding: 0 1rem 0.25rem;
    max-width: none;
    flex-wrap: nowrap;
  }
  .outsmart-mission-rail::-webkit-scrollbar {
    display: none;
  }
  .outsmart-mission-pair {
    gap: 0.65rem;
  }
  .outsmart-mission-block {
    font-size: clamp(2.125rem, 8vw, 2.75rem);
  }
  .outsmart-mission-dot {
    align-self: center;
  }
}

.outsmart-static-cards-in-callout {
  position: relative;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: none !important;
  height: 240vh;
  padding: 0 !important;
  background: transparent;
  pointer-events: none;
}
.outsmart-static-cards-in-callout > .container {
  position: sticky;
  top: calc(var(--menu-bar-height, 4rem) + 1rem);
  height: calc(100vh - var(--menu-bar-height, 4rem) - 1rem);
  min-height: 0 !important;
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: none !important;
  padding: 0 !important;
  width: 100%;
  pointer-events: none;
}
.outsmart-static-cards-in-callout > .container > .grid {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none;
}
.outsmart-static-cards-in-callout > .container > .grid > * {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.outsmart-static-cards-in-callout .grid.gap-6.md\:grid-cols-14.md\:gap-8 {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(1.25rem, 3vw, 3rem);
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  transform: translate3d(var(--cards-offset, 0px), 0, 0);
  will-change: transform;
  padding: 0 clamp(1rem, 5vw, 4rem) !important;
}
.outsmart-static-cards-in-callout .grid.gap-6.md\:grid-cols-14.md\:gap-8 > div {
  flex: 0 0 min(78vw, 23.75rem) !important;
  max-width: min(78vw, 23.75rem) !important;
  grid-column: auto !important;
  justify-self: stretch !important;
  display: flex !important;
}
.outsmart-static-cards-in-callout .c-tile-animated {
  position: relative !important;
  height: 100%;
  display: flex;
  flex: 1;
  min-height: 27.5rem;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.outsmart-static-cards-in-callout .c-tile-animated_bg,
.outsmart-static-cards-in-callout .c-tile-animated_bg.-colored,
.outsmart-static-cards-in-callout .c-tile-animated_bg.-white {
  border-radius: 2.45rem;
  transform: none !important;
  transition: none !important;
}
.outsmart-static-cards-in-callout .c-tile-animated_inner {
  gap: clamp(1rem, 1.8vw, 1.6rem);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}
.outsmart-static-cards-in-callout .c-tile-animated_title,
.outsmart-static-cards-in-callout .c-tile-animated_description,
.outsmart-static-cards-in-callout .c-tile-animated_cta {
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.outsmart-static-cards-in-callout .c-tile-animated_cta {
  display: none !important;
}
.outsmart-static-cards-in-callout .outsmart-card_media {
  aspect-ratio: 16/10;
  border-radius: 1.8rem;
  overflow: hidden;
  position: relative;
  background: var(--outsmart-orange);
}
.outsmart-static-cards-in-callout .c-tile-animated_title {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.outsmart-static-cards-in-callout .c-tile-animated_description {
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  line-height: 1.5;
}
.outsmart-static-cards-in-callout .outsmart-role-card .c-tile-animated_inner {
  justify-content: flex-start;
  gap: clamp(0.85rem, 1.5vw, 1.1rem);
}
.outsmart-role-copy {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(0.7rem, 1.3vw, 0.95rem);
}
.outsmart-static-cards-in-callout .outsmart-role-card .c-tile-animated_title {
  margin-top: auto;
  margin-bottom: 0;
}
.outsmart-static-cards-in-callout .outsmart-role-card .c-tile-animated_description {
  margin-top: 0;
  margin-bottom: 0;
}
.outsmart-role-pill {
  display: inline-block;
  align-self: flex-start;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--outsmart-orange);
  /* Use the SemiCond SemiBold display font so "semibold" actually renders */
  font-family: var(--outsmart-font-display) !important;
  font-size: clamp(1.28rem, 1.34vw, 1.38rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
/* Extra breathing room between description and Apply button (mobile + desktop) */
.outsmart-role-apply {
  margin-top: clamp(1rem, 2.2vw, 1.75rem) !important;
}
.outsmart-role-apply {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 3.45rem;
  padding: 0.92rem 1.62rem;
  border-radius: 999px;
  background: var(--outsmart-orange);
  color: var(--outsmart-paper);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: var(--text-button);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  transform-origin: center;
  transition: transform .45s var(--ease-bounce);
}
.outsmart-role-apply:hover,
.outsmart-role-apply:focus-visible,
.outsmart-role-apply:active {
  color: var(--outsmart-paper);
  background: var(--outsmart-orange);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .outsmart-role-apply:hover,
  .outsmart-role-apply:focus-visible {
    transform: scale(1.045);
  }
}

.outsmart-cards-intro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 clamp(1rem, 4vw, 3rem);
  text-align: center;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}
.outsmart-cards-intro_rive {
  width: clamp(16.2rem, 25.2vw, 25.2rem);
  aspect-ratio: 1/1;
  pointer-events: none;
  margin-bottom: clamp(-3rem, -3vw, -1.5rem);
}
.outsmart-cards-intro_rive canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.outsmart-cards-intro_text {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--outsmart-ink);
  max-width: min(82vw, 34rem);
  margin: 0;
}
.outsmart-cards-outro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  padding: 0 clamp(1rem, 4vw, 3rem);
  z-index: 1;
}
.outsmart-cards-outro .heading-2xl {
  font-size: clamp(3.5rem, 10vw, 7rem) !important;
  margin: 0 !important;
  text-align: center;
  pointer-events: auto;
}
.outsmart-cards-outro .heading-xs {
  font-size: clamp(1.25rem, 0.95rem + 0.7vw, 1.625rem) !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  max-width: min(90vw, 40rem);
  text-align: center;
  pointer-events: auto;
}
.outsmart-cards-outro .c-button {
  --button-height: 3.9rem;
  --button-radius: 999px;
  --button-padding: 0.5rem;
  --button-gap: 0.9rem;
  --button-icon-width: 2.9rem;
  --button-background: var(--outsmart-ink);
  --button-background-hover: #2c2e2a;
  --button-icon-background: var(--outsmart-paper);
  --button-icon-background-hover: var(--outsmart-paper);
  --button-color: var(--outsmart-paper);
  --button-color-hover: var(--outsmart-paper);
  --button-stroke-color: transparent;
  pointer-events: auto;
  justify-content: center;
  padding: 0.5rem 1.7rem;
  margin-top: clamp(1.9rem, 3.5vw, 3rem);
  transform-origin: center;
  transition: transform .45s var(--ease-bounce), box-shadow .45s var(--ease-bounce);
}
.outsmart-cards-outro .c-button:before,
.outsmart-cards-outro .c-button:hover:before,
.button-hover:hover .outsmart-cards-outro .c-button:before {
  transform: none !important;
  transition: none !important;
}
.outsmart-cards-outro .c-button_label {
  padding: 0;
  transform: none !important;
  transition: none !important;
}
.outsmart-cards-outro .c-button_icon {
  display: none !important;
}
.outsmart-cards-outro .c-button_icon {
  color: var(--outsmart-ink);
}
.outsmart-cards-outro .c-button:hover,
.outsmart-cards-outro .c-button:focus-visible,
.outsmart-cards-outro .c-button:active {
  color: var(--outsmart-paper);
}
@media (hover: hover) and (pointer: fine) {
  .outsmart-cards-outro .c-button:hover,
  .outsmart-cards-outro .c-button:focus-visible {
    transform: scale(1.045);
  }
}
@media (max-width: 999px) {
  /* Taller job cards on mobile */
  .outsmart-static-cards-in-callout .c-tile-animated {
    min-height: 31.25rem !important;
  }
  .outsmart-cards-outro .c-button {
    --button-height: 3.9rem;
    --button-padding: 0.48rem;
    --button-icon-width: 2.8rem;
    padding: 0.48rem 1.7rem;
  }
  /* Bigger button font on mobile — applies to every button on the page */
  .outsmart-hero-cta,
  .outsmart-floating-cta,
  .outsmart-floating-cta_label,
  .outsmart-footer_button,
  .outsmart-role-apply,
  .outsmart-role-pill,
  .outsmart-cards-outro .c-button,
  .outsmart-cards-outro .c-button_label {
    font-size: 1.2rem !important;
  }
  /* Slightly taller hero + floating CTA so the bigger text breathes */
  .outsmart-hero-cta {
    min-height: 3.9rem;
    padding: 0.5rem 1.6rem;
  }
  .outsmart-floating-cta {
    min-height: 3.15rem;
    padding: 0.32rem 0.42rem 0.32rem 1rem;
    gap: 0.25rem;
  }
  .outsmart-floating-cta_icon {
    width: 3.96rem;
    height: 3.96rem;
  }
}
.outsmart-static-cards-in-callout > .container > .grid {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Match job card title to team card title (same responsive clamp) */
.c-tile-animated_title,
.outsmart-static-cards .c-tile-animated_title,
.outsmart-static-cards-in-callout .c-tile-animated_title {
  font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
  line-height: 1.1 !important;
}

/* Match "A tight, fast-moving..." blurb to team card description (shared wider clamp below) */
.c-numbers-stack_text.body-md {
  line-height: 1.25 !important;
}

/* =========================================================================
   Responsive clamps — widen narrow-scaling text so scaling is visible.
   Mobile baseline ≈ current, desktop grows meaningfully.
   ========================================================================= */

/* Team card description: 20px mobile → 22px desktop (line-height 1.25 scales with it).
   Using px (not rem) because the site's root font-size scales with viewport, so
   1.375rem ends up larger than 22px on wide screens. */
.c-numbers-stack_card_description {
  font-size: clamp(20px, 19.3px + 0.188vw, 22px) !important;
  line-height: 1.25 !important;
}
/* Left-column blurb ("A tight, fast-moving..."): unchanged clamp */
.c-numbers-stack_text.body-md {
  font-size: clamp(1.25rem, 0.95rem + 0.7vw, 1.625rem) !important;
}

/* Role card description ("Engineering • Lehi Office..."): ~15.2px → ~20px */
.c-tile-animated_description,
.outsmart-static-cards .c-tile-animated_description,
.outsmart-static-cards-in-callout .c-tile-animated_description {
  font-size: clamp(0.95rem, 0.87rem + 0.4vw, 1.25rem) !important;
  line-height: 1.35 !important;
}

/* Role pill ("Engineering" / "Product"): ~18.4px → ~24px */
.outsmart-role-pill {
  font-size: clamp(1.15rem, 1rem + 0.65vw, 1.5rem) !important;
}

/* Button labels — apply link, footer button, hero CTA, nav contact: ~16px → ~22px */
.outsmart-role-apply,
.outsmart-footer_button,
.c-button-quote_label,
.c-menu-desktop_contact .c-button-quote_label {
  font-size: clamp(1rem, 0.9rem + 0.45vw, 1.375rem) !important;
}

/* Copyright footer span: ~12px → ~15px */
.outsmart-footer_meta > span {
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.95rem) !important;
}

/* =========================================================================
   Mobile-only: bigger font on every button.
   Declared LAST so it beats the clamp rules above on source order.
   ========================================================================= */
@media (max-width: 999px) {
  .outsmart-hero-cta,
  .outsmart-floating-cta,
  .outsmart-floating-cta_label,
  .outsmart-footer_button,
  .outsmart-role-apply,
  .outsmart-cards-outro .c-button,
  .outsmart-cards-outro .c-button_label,
  .c-button-quote_label,
  .c-menu-desktop_contact .c-button-quote_label {
    font-size: 1.2rem !important;
  }
  /* Bigger role title (e.g. "Senior Applied AI Engineer") on mobile */
  .outsmart-static-cards-in-callout .outsmart-role-card .c-tile-animated_title,
  .outsmart-static-cards-in-callout .c-tile-animated_title {
    font-size: clamp(2.1rem, 7.4vw, 2.55rem) !important;
    line-height: 1.08 !important;
  }
  /* Bigger role category ("Engineering" / "Product") on mobile */
  .outsmart-role-pill {
    font-size: 1.45rem !important;
  }
}

/* =========================================================================
   Desktop-only: unify every button at 22px.
   ========================================================================= */
@media (min-width: 1000px) {
  .outsmart-hero-cta,
  .outsmart-floating-cta,
  .outsmart-floating-cta_label,
  .outsmart-footer_button,
  .outsmart-role-apply,
  .outsmart-cards-outro .c-button,
  .outsmart-cards-outro .c-button_label,
  .c-button-quote_label,
  .c-menu-desktop_contact .c-button-quote_label {
    font-size: 22px !important;
  }
}

/* =========================================================================
   Custom cursors — desktop only (coarse-pointer devices get system cursor).
   ========================================================================= */
@media (hover: hover) and (pointer: fine) {
  html,
  body {
    cursor: url('/cursors/cursor-pointer.svg') 2 0, auto;
  }

  a,
  button,
  [role="button"],
  label[for],
  summary,
  select,
  .c-button,
  .c-button-quote,
  .outsmart-role-apply,
  .outsmart-hero-cta,
  .outsmart-floating-cta,
  .outsmart-footer_button,
  .outsmart-footer_social-link {
    cursor: url('/cursors/cursor-pointer-links.svg') 12 0, pointer;
  }

  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  textarea,
  [contenteditable],
  [contenteditable="true"] {
    cursor: url('/cursors/cursor-text.svg') 16 16, text;
  }

  [draggable="true"],
  .c-tile-animated,
  .outsmart-static-cards-in-callout .c-numbers-stack_card {
    cursor: url('/cursors/cursor-grab.svg') 12 4, grab;
  }
}
