/* ════════════════════════════════════════════════════════════════
   About v2 - Journey timeline, Team grid, Hiring grid
   Scoped exclusively to about.html. Shares design tokens with the
   investor page (brand-orange, white-15/25/50, L-bracket corners)
   so the new sections feel like the same family as the rest of the
   site.
   ════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════════
   §-2 CORE VALUES tabs - the right-pane media (single photo / video
   in Balance/Play/Dream/AI tabs, the 5-tile collage in Have Fun)
   used to share a transparent edge with the page bg, so the frame
   bled into the dark canvas. A hairline border + soft inset hairline
   give the pane a clear "this is a piece of content" frame without
   competing with the L-bracket corner markers already in the design.
   Targets the wrapper (.about_layout_tab-content) so the frame lands
   the same on every tab regardless of what's inside.
   ════════════════════════════════════════════════════════════════ */
/* All five core-values tab panes share the same thicker, darker grey
   frame so the right-pane media reads as a clearly contained piece
   of content on every tab (single photo / video / 5-tile collage)
   instead of fading into the section bg around it. */
.about_layout_tab-content {
  border: 3px solid #1f1f1f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 14px 36px -14px rgba(0, 0, 0, 0.7);
}


/* ════════════════════════════════════════════════════════════════
   §-1 OUR JOURNEY carousel - 0 radius on every card. Hairline border
   is brighter on the cards that hold solid-black logo videos (Shifu
   Ventures + Shifu Foundation) since their content goes all the way
   to a #000 matte that otherwise melts into the page background.
   ════════════════════════════════════════════════════════════════ */
.swiper.journey .swiper-image-wrap {
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
}
/* Grab cursor on the carousel signals it's draggable / scrollable
   (Swiper's allowTouchMove is on). Switches to grabbing while the
   user is actively dragging so the affordance updates mid-gesture. */
.swiper.journey,
.swiper.journey .swiper-slide,
.swiper.journey .swiper-wrapper {
  cursor: grab;
}
.swiper.journey:active,
.swiper.journey.swiper-grabbing,
.swiper.journey.swiper-grabbing .swiper-slide {
  cursor: grabbing;
}
/* The Watch Now chip keeps its own pointer cursor (it's a clickable
   button, not a drag handle). */
.swiper.journey .journey-watch-cta {
  cursor: pointer;
}
/* Cards whose only content is a <video> are the logo-on-black tiles -
   give them a more prominent edge so the card is clearly distinct
   from the body around it. (Cards with an <img> have the route-map
   artwork which already carries its own visible edge.) */
.swiper.journey .swiper-image-wrap:has(> video) {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
/* The Sri + Prateek cards use a Figma-exported PNG with subtle baked-
   in rounded corners. Scaling the img slightly (1.025) under the
   wrap's overflow:hidden crops those few rounded-corner pixels out so
   the card reads as truly square-cornered. */
.swiper.journey .swiper-image-wrap > img {
  border-radius: 0;
  transform: scale(1.025);
  transform-origin: center;
}
.swiper.journey .swiper-image-wrap > video {
  border-radius: 0;
}


/* ════════════════════════════════════════════════════════════════
   §-4 Centered section header (mirrors the investor page's
   .section-tabs-header.is-center pattern). Applied to "We live by
   these core values", "The team behind this massive vision", and
   "Actively hiring for these positions" so all three about-page
   section headers center-align like the investor page.
   ════════════════════════════════════════════════════════════════ */
.section-tabs-header.is-center {
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  text-align: center;
}
.section-tabs-header.is-center > * { width: 100%; }


/* ════════════════════════════════════════════════════════════════
   §-3 Dark-grey section wash (mirrors the investor page's
   .section-bg-dark treatment so the about page's "Our Journey"
   carousel and the team grid sit on the same warm-grey backdrop
   as Sri's Journey / tribe / weekly sections elsewhere). Lives
   here (not in shifu-ventures-staging.webflow.css) so the rule is
   loaded everywhere about-v2.css is, without polluting the global
   sheet with page-specific styles.
   ════════════════════════════════════════════════════════════════ */
@media screen and (min-width: 992px) {
  .section-bg-dark {
    background: #161616;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
                inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  }
  /* About-page sections use .padding-section-medium (Our Journey) and
     .padding-section-large (team). Apply consistent breathable
     7rem top/bottom on both so they match the investor sections. */
  .section-bg-dark .padding-section-medium,
  .section-bg-dark .padding-section-large {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}


/* ════════════════════════════════════════════════════════════════
   §00 HERO - full-viewport video with centered heading + CTA
   The Webflow markup nests the video inside .padding-global >
   .padding-section-custom > .container-large; defaults give it side
   padding + a max-width cap + an aspect-ratio. We strip all three so
   the <video> tile fills 100vw x 100vh, and the .about-us-hero-content
   overlay already flex-centers the heading + CTA on top.
   ════════════════════════════════════════════════════════════════ */
.section_header30:has(.about-hero) {
  /* Match the page-wide dark surface (#0c0c0c) so the about hero
     reads as a continuation of the body / navbar rather than a
     pitch-black slab dropped in. Pure #000 was inherited from the
     Webflow template default - swapped for the unified dark grey
     used across body, nav, and the investor + homepage heroes. */
  background: #0c0c0c;
}
.section_header30 .padding-global:has(.about-hero),
.section_header30 .padding-section-custom.about-hero,
.section_header30:has(.about-hero) .container-large {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  max-width: 100%;
  width: 100%;
}
.section_header30:has(.about-hero) .header30_content {
  width: 100vw;
  /* Subtract the sticky navbar's height so the hero fits exactly in
     the visible viewport instead of pushing the page 82px past it.
     --nav-h is published by inline JS on <html> (default 82px). */
  height: calc(100vh - var(--nav-h, 82px));
  min-height: calc(100vh - var(--nav-h, 82px));
  max-height: calc(100vh - var(--nav-h, 82px));
  border-radius: 0;
}
/* The <video> child of .header30_content needs to cover the new
   viewport-sized frame instead of sticking to its original 1164/564
   ratio (which would letterbox left/right at most viewports). */
.section_header30:has(.about-hero) .header30_content > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section_header30:has(.about-hero) .about-us-hero-content {
  width: 100%;
  height: 100%;
  /* Flex centering is already on the class; keeping it explicit so any
     Webflow editor override (e.g. flex-direction) doesn't break the
     centered headline + CTA stack. */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Darken the centre of the video where the headline + CTA sit so
     the white text reads cleanly against bright frames (snooker hall,
     close-up faces) instead of melting into the footage. Radial
     vignette is stronger in the middle and fades to transparent at
     the edges so the cinematic feel of the video is preserved. */
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.42) 35%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0) 100%),
    var(--_primitives---opacity--neutral-darkest-60, rgba(0, 0, 0, 0.55));
}
/* Belt-and-braces: a soft text-shadow on the heading ensures legibility
   even when the underlying frame is unusually bright. The shadow is a
   subtle dark glow rather than a hard drop-shadow so the heading still
   reads as a clean sans-serif rather than a stylised display effect. */
.section_header30:has(.about-hero) .about-us-hero-content .heading-style-h1 {
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.55),
    0 1px 2px rgba(0, 0, 0, 0.4);
}
/* The Co-Build CTA sits on the same dark scrim so the white pill stays
   visible. A faint shadow underneath also lifts the button off the
   video without competing with the brand-orange hover. */
.section_header30:has(.about-hero) .about-us-hero-content .button {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

/* Mobile: 100vh is unreliable on iOS (URL bar shrinks viewport mid-
   scroll). Use 100svh on browsers that support it so the hero locks
   to the visible viewport; fall back to 100vh otherwise. */
@supports (height: 100svh) {
  .section_header30:has(.about-hero) .header30_content {
    height: calc(100svh - var(--nav-h, 82px));
    min-height: calc(100svh - var(--nav-h, 82px));
    max-height: calc(100svh - var(--nav-h, 82px));
  }
}


/* ════════════════════════════════════════════════════════════════
   §01 JOURNEY - 2024 / 2025 / 2026 stepped timeline
   ════════════════════════════════════════════════════════════════ */

.section-journey-v2 {
  position: relative;
  /* Transparent - sit on the body's neutral-darkest like every other section. */
  background: transparent;
}

.section-journey-v2 .padding-section-medium {
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .section-journey-v2 .padding-section-medium {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }
}

/* Centre the heading so the rail underneath reads as the next, distinct row. */
.journey-v2-heading-wrap {
  display: flex;
  justify-content: center;
}

.journey-v2-heading-wrap .heading-style-h2 {
  display: inline-block;
  text-align: center;
}


/* ───── Year rail: pills + connecting progress tracks ───── */
.journey-v2-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}

.journey-v2-year {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 1.125rem;
  margin: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.journey-v2-year:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.3);
}

.journey-v2-year:focus-visible {
  outline: 2px solid var(--_primitives---colors--brand-orange, #f56e38);
  outline-offset: 3px;
}

/* Past years - same dim treatment as future years. The filled connector
   track to their right is the only "visited" affordance, keeping the
   pills minimal and the active year unmistakable. */
.journey-v2-year.is-passed {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Active year - solid orange outline + warm tint + bright text.
   No more diagonal hatching (was too noisy). */
.journey-v2-year.is-active {
  color: #fff;
  border-color: var(--_primitives---colors--brand-orange, #f56e38);
  background: rgba(245, 110, 56, 0.08);
}

.journey-v2-year-num { display: inline-block; }

.journey-v2-dot { display: none; }


/* Connector track. Default: dim line. Currently-loading track: orange
   progress bar. Passed (already crossed) track: a muted gray so it
   reads as "we came from there" without competing with the orange. */
.journey-v2-track {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  min-width: 40px;
}

.journey-v2-track-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--_primitives---colors--brand-orange, #f56e38);
}

.journey-v2-track-fill.is-loading {
  animation: journeyV2Progress var(--journey-progress-ms, 8000ms) linear forwards;
  box-shadow: 0 0 6px rgba(245, 110, 56, 0.4);
}

.journey-v2-track-fill.is-passed {
  width: 100%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

@keyframes journeyV2Progress {
  from { width: 0%; }
  to   { width: 100%; }
}


/* ───── Deck (content card) ───── */
.journey-v2-deck {
  position: relative;
  margin-top: 2.25rem;
  padding: 2.5rem 2.5rem 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

/* Tab notch - a thin orange underline segment on the deck's top
   border that subtly connects the active year pill to the content
   below. No chunky triangle; just a refined hairline anchor. JS sets
   --journey-notch-x to the active year's horizontal centre. */
.journey-v2-deck-notch {
  position: absolute;
  top: -1px;
  left: var(--journey-notch-x, 14%);
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 2px;
  pointer-events: none;
  background: var(--_primitives---colors--brand-orange, #f56e38);
  transition: left 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Stage - slides stack inside the deck. */
.journey-v2-stage {
  position: relative;
}

.journey-v2-slide {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.journey-v2-slide.is-active {
  display: grid;
}

.journey-v2-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
  max-width: 30rem;
}

.journey-v2-eyebrow {
  display: inline-block;
  color: var(--_primitives---colors--brand-orange, #f56e38);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.journey-v2-heading {
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
}

.journey-v2-body {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.0625rem;
  line-height: 1.55;
  margin: 0;
  letter-spacing: -0.005em;
}

.journey-v2-body strong {
  color: #fff;
  font-weight: 500;
}

.journey-v2-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.journey-v2-list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.journey-v2-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--_primitives---colors--brand-orange, #f56e38);
  border-radius: 50%;
}

.journey-v2-list li strong {
  color: #fff;
  font-weight: 500;
}


/* Media frame - L-bracket corners on the photo. */
.journey-v2-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.journey-v2-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.journey-v2-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.journey-v2-video.is-active {
  opacity: 1;
}

/* L-bracket corners on the media frame, brand vocabulary. */
.journey-v2-corner-tl,
.journey-v2-corner-tr,
.journey-v2-corner-bl,
.journey-v2-corner-br {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
  border-color: rgba(245, 110, 56, 0.7);
  border-style: solid;
}

.journey-v2-corner-tl { top: 10px; left: 10px;  border-width: 1.5px 0 0 1.5px; }
.journey-v2-corner-tr { top: 10px; right: 10px; border-width: 1.5px 1.5px 0 0; }
.journey-v2-corner-bl { bottom: 10px; left: 10px;  border-width: 0 0 1.5px 1.5px; }
.journey-v2-corner-br { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; }


/* Placeholder for years without a video yet. Subtle film-strip
   grid + play glyph, brand-orange accented. */
.journey-v2-frame.is-placeholder {
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 110, 56, 0.08), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(245, 110, 56, 0.05), transparent 60%),
    #0a0a0a;
}

.journey-v2-frame.is-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  pointer-events: none;
}

.journey-v2-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  z-index: 1;
}

.journey-v2-placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245, 110, 56, 0.12);
  border: 1px solid rgba(245, 110, 56, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--_primitives---colors--brand-orange, #f56e38);
}

.journey-v2-placeholder-icon svg { display: block; }

.journey-v2-placeholder-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}


/* Tablet */
@media (max-width: 991px) {
  .journey-v2-slide.is-active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .journey-v2-heading {
    font-size: 1.625rem;
  }

  .journey-v2-text { max-width: 100%; }
  .journey-v2-media { aspect-ratio: 16 / 10; }
}

/* Mobile */
@media (max-width: 600px) {
  .journey-v2-rail {
    padding: 0 0.25rem;
  }

  .journey-v2-year {
    font-size: 0.75rem;
    padding: 0.5rem 0.25rem;
  }

  .journey-v2-heading {
    font-size: 1.375rem;
  }

  .journey-v2-body {
    font-size: 0.9375rem;
  }

  .journey-v2-list li {
    font-size: 0.9375rem;
  }

  .journey-v2-corner-tl,
  .journey-v2-corner-tr,
  .journey-v2-corner-bl,
  .journey-v2-corner-br {
    width: 16px;
    height: 16px;
  }
  .journey-v2-corner-tl { top: 8px; left: 8px; }
  .journey-v2-corner-tr { top: 8px; right: 8px; }
  .journey-v2-corner-bl { bottom: 8px; left: 8px; }
  .journey-v2-corner-br { bottom: 8px; right: 8px; }
}


/* ════════════════════════════════════════════════════════════════
   §02 TEAM v2 - calm 4-up grid. Photo on top, identity block below.
   Name + role + tagline are visually one unit (no overlay text on
   the photo, no orange L-brackets). LinkedIn icon sits next to the
   name and brightens on card hover.
   ════════════════════════════════════════════════════════════════ */

/* Flex (not grid) so a partial final row centres instead of hugging the
   left edge. With 7 members the desktop layout is 4 + 3, and the trailing
   row of 3 now sits centred. A full row of 4 still fills edge-to-edge
   exactly (4 * basis + 3 * gap = 100%), so complete rows are unchanged. */
.team-v2-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem 1.5rem;
}

.team-v2-card {
  flex: 0 1 calc((100% - 3 * 1.5rem) / 4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: transparent;
  text-align: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-v2-card:hover {
  transform: translateY(-3px);
}

/* Photo - square corners, matches the homepage's geometric system.
   All 8 portraits are now full-bleed Cloudinary squares (no baked-in
   rounded corners), so the wrapper can sit flush at 0. */
.team-v2-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
  border-radius: 0;
}

.team-v2-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Full-colour by default, very slightly dimmed so the grid reads as
     a cohesive set. Hover lights the photo and zooms in subtly. */
  filter: brightness(0.88) saturate(1.02);
  transform: scale(1.001);
  transition: filter 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-v2-card:hover .team-v2-photo img,
.team-v2-card:focus-within .team-v2-photo img {
  filter: brightness(1) saturate(1.06);
  transform: scale(1.045);
}

.team-v2-card:hover .team-v2-photo img,
.team-v2-card:focus-within .team-v2-photo img {
  filter: grayscale(0%) contrast(1);
}

/* Identity block - name + LinkedIn share a row, role + tagline stack
   below. The whole block reads as one connected unit. */
.team-v2-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.team-v2-name {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

.team-v2-role {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0;
}

.team-v2-tagline {
  display: none;
}

/* LinkedIn chip - clean filled chip pinned bottom-right of the photo.
   Hover-revealed; on hover the chip flips to a solid brand-orange
   wash with a white glyph (replaces the earlier orange-on-faint-
   orange treatment which read as a low-contrast smudge). The entire
   .team-v2-card is now a clickable LinkedIn link (see JS in about
   .html), so this chip is just the visual cue - clicking anywhere on
   the card opens the same profile. */
.team-v2-li {
  position: absolute;
  bottom: 0.875rem;
  right: 0.875rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  color: #fff;
  background: rgba(10, 10, 10, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.team-v2-card:hover .team-v2-li,
.team-v2-card:focus-within .team-v2-li {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.team-v2-li:hover,
.team-v2-card:hover .team-v2-li:hover {
  color: #fff;
  background: var(--_primitives---colors--brand-orange, #f56e38);
  border-color: var(--_primitives---colors--brand-orange, #f56e38);
}

.team-v2-li:focus-visible {
  outline: 2px solid var(--_primitives---colors--brand-orange, #f56e38);
  outline-offset: 2px;
  opacity: 1;
  pointer-events: auto;
}

.team-v2-li svg { display: block; width: 0.875rem; height: 0.875rem; }

/* Whole card is clickable - JS in about.html attaches the LinkedIn href
   from the inner .team-v2-li to the card click. Cursor signals the
   affordance immediately on hover. */
.team-v2-card {
  cursor: pointer;
}


/* Responsive - same identity-block rhythm at every breakpoint. */
@media (max-width: 991px) {
  .team-v2-grid {
    gap: 1.5rem 1.25rem;
  }
  .team-v2-card {
    flex-basis: calc((100% - 2 * 1.25rem) / 3);
  }
}

@media (max-width: 700px) {
  .team-v2-grid {
    gap: 1.5rem 1rem;
  }
  .team-v2-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
  .team-v2-name { font-size: 1rem; }
  .team-v2-role { font-size: 0.75rem; }
  .team-v2-tagline { font-size: 0.8125rem; }
  /* Touch devices have no hover - show the LinkedIn chip always. */
  .team-v2-li {
    opacity: 1;
    pointer-events: auto;
    bottom: 0.625rem;
    right: 0.625rem;
    width: 1.5rem;
    height: 1.5rem;
  }
}


/* ════════════════════════════════════════════════════════════════
   §03 HIRING v2 - role cards with JD links.
   Layout: role title + arrow chip on top, blurb below, meta line
   anchored to the bottom. L-bracket corners + radial gradient wash
   on hover (matches the rest of the site's brand vocabulary).
   ════════════════════════════════════════════════════════════════ */

.hiring-v2-grid {
  display: grid;
  /* 6-column track so each card can span 2 cells (= 3 cards / row at
     the same width as the old `repeat(3, 1fr)` setup). The doubled
     resolution lets us start a partial last row from column 2 instead
     of column 1, which centres an odd lone card or a pair of cards
     within the row instead of leaving them left-aligned with an
     awkward gap on the right. */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
}

.hiring-v2-card {
  grid-column: span 2;
}

/* Centring the last row when it isn't a full triplet:
   - If the last row has exactly TWO cards (5 cards total, like the
     current hiring set), shift the 4th card to start at column 2 so
     cards 4-5 occupy cols 2-3 and cols 4-5 (centre band) instead of
     cols 1-2 and 3-4 (left-aligned).
   - If the last row has exactly ONE card (4 or 7 cards total), shift
     that lone card to start at column 3 so it sits dead-centre.
   IMPORTANT: use the `start / span 2` shorthand here, not just
   `grid-column-start: 2`. The base `grid-column: span 2` shorthand
   resolves to `grid-column-start: span 2; grid-column-end: auto`;
   overriding only `grid-column-start` to a fixed line leaves
   `grid-column-end: auto`, which collapses the cell to a 1-column
   span (this caused a narrow card 4 in the original draft of this
   rule). Setting both halves of the shorthand restores the span. */
.hiring-v2-card:nth-child(4):nth-last-child(2) {
  grid-column: 2 / span 2;
}
.hiring-v2-card:nth-child(3n + 1):last-child {
  grid-column: 3 / span 2;
}

.hiring-v2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.5rem 1.5rem 1.375rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hiring-v2-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(245, 110, 56, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.hiring-v2-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(245, 110, 56, 0.35);
  transform: translateY(-2px);
}

.hiring-v2-card:hover::before { opacity: 1; }

.hiring-v2-card:focus-visible {
  outline: 2px solid var(--_primitives---colors--brand-orange, #f56e38);
  outline-offset: 3px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(245, 110, 56, 0.5);
}

/* Top row - role title on the left, arrow chip pinned top-right. */
.hiring-v2-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hiring-v2-role {
  color: #fff;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

.hiring-v2-blurb {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
  margin: 0;
}

/* Meta line pinned to the card bottom. Uppercase tracking treatment
   (matches the eyebrow rhythm used elsewhere). */
.hiring-v2-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.875rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hiring-v2-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hiring-v2-meta span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hiring-v2-meta span:first-child::before { display: none; }

/* Arrow chip - pinned to top-right of the card. */
.hiring-v2-arrow {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.hiring-v2-arrow svg { display: block; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }

.hiring-v2-card:hover .hiring-v2-arrow {
  color: var(--_primitives---colors--brand-orange, #f56e38);
  border-color: rgba(245, 110, 56, 0.5);
  background: rgba(245, 110, 56, 0.06);
}

.hiring-v2-card:hover .hiring-v2-arrow svg {
  transform: translate(2px, -2px);
}

@media (max-width: 991px) {
  /* 4-col track at tablet so cards (span 2) lay out 2-per-row. With 5
     cards that gives 2 + 2 + 1; the lone card on row 3 gets centred by
     the rule below, which mirrors the desktop behaviour. */
  .hiring-v2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Disable the desktop "shift card 4 to col 2" rule - in a 2-up
     layout, card 4 already sits naturally in row 2 col 2. */
  .hiring-v2-card:nth-child(4):nth-last-child(2) {
    grid-column-start: auto;
  }
  /* Centre the lone last card on tablet (any odd-positioned final
     card that isn't preceded by a row-mate). With 4-col grid + span 2,
     the centred slot for one card is cols 2-3. */
  .hiring-v2-card:last-child:nth-child(odd) {
    grid-column-start: 2;
  }
}

@media (max-width: 600px) {
  .hiring-v2-grid { grid-template-columns: 1fr; }
  /* Mobile is single-column stack - cards take the full width and the
     centring tricks above don't apply. Reset spans + column-starts so
     each card flows naturally one-per-row. */
  .hiring-v2-card,
  .hiring-v2-card:nth-child(4):nth-last-child(2),
  .hiring-v2-card:last-child:nth-child(odd),
  .hiring-v2-card:nth-child(3n + 1):last-child {
    grid-column: 1 / -1;
    grid-column-start: auto;
  }
  .hiring-v2-role { font-size: 1.0625rem; }
  .hiring-v2-card { padding: 1.5rem 1.5rem 1.25rem; }
}


/* ════════════════════════════════════════════════════════════════
   §04 CORE-VALUES VIDEO LIGHTBOX
   Click-to-expand preview tile inside the Core Values tab, plus the
   fullscreen modal that loads a Google Drive iframe and autoplays.
   ════════════════════════════════════════════════════════════════ */

.cv-video-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #111;
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  color: inherit;
}

.cv-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.cv-video-trigger:hover .cv-video-thumb,
.cv-video-trigger:focus-visible .cv-video-thumb {
  transform: scale(1.03);
  filter: brightness(0.9);
}

/* Subtle vignette so the play button always has enough contrast. */
.cv-video-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

/* Matches the .have-fun-play chip on Tab 1: 52px black-translucent
   circle with a 1px white ring + backdrop blur. Sits centred over the
   thumbnail; idle at 0.9× scale / 0.85 opacity and lifts to 1× on
   hover. The translate keeps the centring intact under the scale. */
.cv-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0.85;
  z-index: 1;
  transition: transform 220ms ease, opacity 220ms ease, background 220ms ease;
}

.cv-video-play svg {
  display: block;
  margin-left: 2px; /* nudge the play glyph optically into centre */
}

.cv-video-trigger:hover .cv-video-play,
.cv-video-trigger:focus-visible .cv-video-play {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  background: rgba(0, 0, 0, 0.78);
}

.cv-video-trigger:focus-visible {
  outline: 2px solid var(--_primitives---colors--brand-orange, #f56e38);
  outline-offset: 3px;
}


/* Fullscreen lightbox modal. */
.cv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.cv-lightbox[hidden] { display: none; }

.cv-lightbox-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.cv-lightbox-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cv-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 1;
}

.cv-lightbox-close:hover,
.cv-lightbox-close:focus-visible {
  background: rgba(245, 110, 56, 0.16);
  border-color: rgba(245, 110, 56, 0.6);
}

.cv-lightbox-close:focus-visible {
  outline: 2px solid var(--_primitives---colors--brand-orange, #f56e38);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .cv-lightbox { padding: 1rem; }
  .cv-lightbox-close { top: 0.75rem; right: 0.75rem; width: 2.25rem; height: 2.25rem; }
}


/* ════════════════════════════════════════════════════════════════════
   OUR JOURNEY - VERTICAL SCROLL-PINNED TIMELINE
   Two-column desktop layout: sticky left rail (year line + stops) + a
   right column of three year slides. As the user scrolls, the
   IntersectionObserver flips the active state - the rail dot lights
   up, the line fills, the slide brightens. Mobile collapses to a
   single column with a horizontal sticky year rail at the top.
   ════════════════════════════════════════════════════════════════════ */

.oj-section {
  /* Section breathes top + bottom so the timeline doesn't feel
     glued to neighbouring sections. */
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* ─── Header ───────────────────────────────────────────────────── */
.oj-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}
.oj-header .heading-style-h2 {
  margin: 0;
}
.oj-subhead {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.5;
}

/* ─── Stage (desktop grid) ─────────────────────────────────────── */
.oj-stage {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
}

/* ─── Left sticky rail ─────────────────────────────────────────── */
.oj-rail {
  --oj-progress: 0;
  position: sticky;
  top: 6rem;
  align-self: start;
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.oj-rail-line {
  /* Line endpoints align with the first/last dot centres. With a
     1.25rem rail padding and 88px tall stops, the first dot centre
     sits at rail-top + 64px and the last dot centre at rail-bottom
     - 64px. Keeping the line within those bounds means the fill
     never extends past the visible dots. */
  position: absolute;
  top: 64px;
  bottom: 64px;
  left: 22px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  z-index: 1;
}
.oj-rail-fill {
  /* Anchored at the FIRST dot (top: 64px). Height is set in JS
     based on progress × line-length, in real pixels - bypasses
     edge cases where CSS scaleY / percentage-height on a 2px-
     wide vertical bar inside a sticky context collapses to 0. */
  position: absolute;
  top: 64px;
  left: 22px;
  width: 2px;
  height: 0;
  background: linear-gradient(
    180deg,
    var(--_primitives---colors--brand-orange) 0%,
    rgba(245, 110, 56, 0.7) 100%
  );
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(245, 110, 56, 0.28);
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.oj-rail-stop {
  position: relative;
  z-index: 3;
  background: transparent;
  border: 0;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 1.125rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: opacity 0.3s ease;
  /* Equal vertical rhythm between the three stops along the rail. */
  flex: 1 1 0;
  min-height: 5.5rem;
}
.oj-rail-stop:not(.is-active):not(.is-passed) {
  opacity: 0.55;
}
.oj-rail-stop:hover { opacity: 1; }
.oj-rail-stop:focus-visible { outline: none; }
.oj-rail-stop:focus-visible .oj-rail-dot {
  box-shadow: 0 0 0 4px rgba(245, 110, 56, 0.25);
}

.oj-rail-dot {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
  margin-left: 17px;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}
.oj-rail-stop.is-active .oj-rail-dot {
  background: var(--_primitives---colors--brand-orange);
  border-color: var(--_primitives---colors--brand-orange);
  box-shadow:
    0 0 0 4px rgba(245, 110, 56, 0.18),
    0 0 16px rgba(245, 110, 56, 0.55);
  transform: scale(1.15);
}
.oj-rail-stop.is-passed .oj-rail-dot {
  background: var(--_primitives---colors--brand-orange);
  border-color: var(--_primitives---colors--brand-orange);
}

.oj-rail-stop-text {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
  min-width: 0;
}
.oj-rail-stop-year {
  font-family: var(--_typography---font-styles--heading, 'Figtree', sans-serif);
  font-size: 1.625rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.015em;
}
.oj-rail-stop-title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.3s ease;
}
.oj-rail-stop.is-active .oj-rail-stop-title {
  color: var(--_primitives---colors--brand-orange);
}

/* ─── Right column slides ──────────────────────────────────────── */
.oj-slides {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.oj-slide {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /* Each slide takes ~one viewport so scrolling moves through them
     one at a time. Smaller min-height on tablet via @media below. */
  min-height: 78vh;
  padding-bottom: 5rem;
  transition: opacity 0.5s ease;
}
.oj-slide:last-child {
  /* Trim the trailing space so the rail's last dot can sit at
     ~the bottom of the viewport when the user reaches it. */
  min-height: 60vh;
  padding-bottom: 0;
}
.oj-slide:not(.is-active) {
  opacity: 0.42;
}

.oj-slide-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--_primitives---colors--brand-orange);
  font-weight: 700;
  line-height: 1;
  display: inline-block;
}

.oj-slide-heading {
  font-family: var(--_typography---font-styles--heading, 'Figtree', sans-serif);
  font-size: clamp(1.625rem, 2.6vw, 2.25rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0;
  max-width: 32rem;
}

.oj-slide-body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
}
.oj-slide-body strong {
  color: #fff;
  font-weight: 600;
}

.oj-slide-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 36rem;
}
.oj-slide-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.oj-slide-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 8px;
  height: 1px;
  background: var(--_primitives---colors--brand-orange);
}
.oj-slide-list li strong {
  color: #fff;
  font-weight: 600;
}

/* ─── Media frame with L-bracket corners ──────────────────────── */
.oj-slide-media {
  margin-top: 1rem;
  max-width: 40rem;
}
.oj-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.oj-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.oj-video.is-active { opacity: 1; }

.oj-frame.is-placeholder {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(245, 110, 56, 0.08), transparent 60%),
    linear-gradient(135deg, #0d0d0d 0%, #181210 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.oj-frame.is-placeholder::after {
  /* Faint film-strip rhythm at top + bottom so the placeholder
     reads as "future footage" rather than "empty cell". */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 6px, transparent 6px 14px);
  background-size: 100% 8px;
  background-position: 0 12px, 0 calc(100% - 12px);
  background-repeat: no-repeat;
  opacity: 0.35;
}
.oj-placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.55);
}
.oj-placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(245, 110, 56, 0.12);
  color: var(--_primitives---colors--brand-orange);
}
.oj-placeholder-icon svg { display: block; }
.oj-placeholder-label {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.oj-corner-tl,
.oj-corner-tr,
.oj-corner-bl,
.oj-corner-br {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 0 solid var(--_primitives---colors--brand-orange);
  pointer-events: none;
  z-index: 2;
}
.oj-corner-tl { top: 10px;    left: 10px;    border-width: 1.5px 0 0 1.5px; }
.oj-corner-tr { top: 10px;    right: 10px;   border-width: 1.5px 1.5px 0 0; }
.oj-corner-bl { bottom: 10px; left: 10px;    border-width: 0 0 1.5px 1.5px; }
.oj-corner-br { bottom: 10px; right: 10px;   border-width: 0 1.5px 1.5px 0; }

/* ─── Mobile horizontal rail (sticky at top) ──────────────────── */
.oj-mobile-rail {
  display: none;
}
.oj-mobile-rail-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 1rem;
  max-width: 28rem;
  margin: 0 auto;
}
.oj-mobile-rail-line {
  position: absolute;
  top: 10px;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
}
.oj-mobile-rail-fill {
  position: absolute;
  top: 10px;
  left: 1.5rem;
  height: 2px;
  width: 0%;
  background: var(--_primitives---colors--brand-orange);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(245, 110, 56, 0.4);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.oj-mobile-dot {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.oj-mobile-dot-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 3px #0a0a0a;
  transition: all 0.3s ease;
}
.oj-mobile-dot.is-active .oj-mobile-dot-mark {
  background: var(--_primitives---colors--brand-orange);
  border-color: var(--_primitives---colors--brand-orange);
  box-shadow:
    0 0 0 3px #0a0a0a,
    0 0 12px rgba(245, 110, 56, 0.6);
  transform: scale(1.12);
}
.oj-mobile-dot.is-passed .oj-mobile-dot-mark {
  background: var(--_primitives---colors--brand-orange);
  border-color: var(--_primitives---colors--brand-orange);
}
.oj-mobile-dot-year {
  font-family: var(--_typography---font-styles--heading, 'Figtree', sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.005em;
  line-height: 1;
  transition: color 0.3s ease;
}
.oj-mobile-dot.is-active .oj-mobile-dot-year {
  color: var(--_primitives---colors--brand-orange);
}

/* ─── Tablet ─────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .oj-stage {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .oj-rail { display: none; }
  .oj-mobile-rail {
    display: block;
    position: sticky;
    top: 4rem;
    z-index: 5;
    padding: 1rem 0 1.25rem;
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.96) 0%,
      rgba(10, 10, 10, 0.88) 88%,
      rgba(10, 10, 10, 0) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 2rem;
  }
  .oj-slide {
    min-height: 0;
    padding-bottom: 4rem;
    gap: 1rem;
  }
  .oj-slide:last-child { min-height: 0; }
  .oj-slide-heading { font-size: 1.5rem; }
  .oj-slide-body,
  .oj-slide-list li { font-size: 0.9375rem; }
}

/* ─── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .oj-header { margin-bottom: 2.5rem; }
  .oj-header .heading-style-h2 { font-size: 1.875rem; }
  .oj-subhead { font-size: 0.9375rem; }
  .oj-mobile-rail { top: 3.5rem; padding: 0.75rem 0 1rem; }
  .oj-mobile-dot-year { font-size: 0.75rem; }
  .oj-slide { padding-bottom: 3rem; gap: 0.875rem; }
  .oj-slide-heading { font-size: 1.375rem; }
  .oj-corner-tl, .oj-corner-tr, .oj-corner-bl, .oj-corner-br {
    width: 12px; height: 12px;
  }
  .oj-corner-tl { top: 8px; left: 8px; }
  .oj-corner-tr { top: 8px; right: 8px; }
  .oj-corner-bl { bottom: 8px; left: 8px; }
  .oj-corner-br { bottom: 8px; right: 8px; }
}

/* ─── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .oj-rail-fill,
  .oj-rail-dot,
  .oj-mobile-rail-fill,
  .oj-mobile-dot-mark,
  .oj-slide,
  .oj-rail-stop {
    transition: none !important;
  }
  .oj-slide:not(.is-active) { opacity: 1; }
}

/* Mobile: bump the core-values tab titles ("1. Have Fun", "2. Balance:
   Health, Family & Work" …) so each reads clearly as a heading rather
   than a thin body label. The default mobile size of 1rem / 400 was
   getting lost next to the underline divider. */
@media screen and (max-width: 767px) {
  .about_layout_tabs-menu .tabs-links {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
}

/* Headings: balance line lengths so a lone 1-2 word widow never drops to its
   own line; subheads get pretty. About page uses this sheet. Added by CoS 1, 15 Jul. */
.heading-style-h1, .heading-style-h2, .heading-style-h3 { text-wrap: balance; }
.section-header p, .text-size-medium { text-wrap: pretty; }

/* ============================================================
   About hero: grid + vignette backdrop matching the home + investor
   heroes (background video removed per Prateek). CoS 3, 15 Jul.
   ============================================================ */
.section_header30:has(.about-hero) .header30_content.is-grid-bg {
  position: relative;
  overflow: hidden;
  background: #0c0c0c;
}
.section_header30:has(.about-hero) .header30_content.is-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, transparent 0%, transparent 25%, #000 80%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, transparent 0%, transparent 25%, #000 80%);
  pointer-events: none;
  z-index: 0;
}
/* No video to darken now, so drop the heavy dark vignette; the masked grid +
   dark base give the centre its contrast, matching the other two heroes. */
.section_header30:has(.about-hero) .about-us-hero-content {
  position: relative;
  z-index: 1;
  background: none;
}
