/* Homepage narrative: concise introduction followed by a video-inspired career stage. */
.career-detail { --career-paper: #f3f4f2; --career-ink: #15191e; --career-muted: #60666e; }
.home-page .about { padding-block: 88px 76px; overflow: clip; }
.story-link { display: inline-flex; align-items: center; gap: 18px; padding-block: 12px; color: inherit; font-size: 14px; font-weight: 550; }
.story-link .pixel-arrow { width: 18px; height: 18px; }
.story-link:hover { color: var(--accent); }
.career-story { --career-progress: 0%; --career-light: #5e8cff; margin-top: 64px; padding-top: 30px; border-top: 1px solid rgb(255 255 255 / 14%); }
.career-story-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.career-story-heading h3 { color: #fff; font-size: clamp(24px, 2.2vw, 32px); font-weight: 480; line-height: 1.15; letter-spacing: -.035em; }
.career-story-heading p { max-width: 460px; margin-top: 9px; color: rgb(255 255 255 / 45%); font-size: 13px; line-height: 1.65; }
.career-story .story-link { flex: 0 0 auto; color: rgb(255 255 255 / 72%); font-size: 12px; }
.career-story .story-link:hover { color: #fff; }
.career-track { position: relative; margin-top: 26px; }
.career-rail { position: absolute; z-index: 1; top: 12px; right: calc((100% - 36px) / 6); left: calc((100% - 36px) / 6); height: 1px; }
.career-rail::before,
.career-rail > span { content: ""; position: absolute; top: 0; left: 0; height: 1px; }
.career-rail::before { right: 0; background: rgb(255 255 255 / 17%); }
.career-rail > span { width: var(--career-progress); background: #5e8cff; box-shadow: 0 0 13px rgb(94 140 255 / 76%); transition: width 620ms cubic-bezier(.22,1,.36,1); }
.career-story-list { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 62px; }
.career-story-item { position: relative; min-width: 0; cursor: default; transition: opacity 420ms ease; }
.career-node { position: absolute; z-index: 3; top: -50px; left: 50%; width: 10px; height: 10px; box-sizing: border-box; border: 2px solid #8a909a; border-radius: 50%; background: #8a909a; box-shadow: 0 0 0 6px #000; translate: -50% -50%; transition: border-color 360ms ease, background-color 360ms ease, box-shadow 360ms ease, scale 360ms cubic-bezier(.22,1,.36,1); }
.career-story-item article { position: relative; height: 100%; min-height: 226px; padding: 28px; overflow: hidden; border: 1px solid rgb(255 255 255 / 12%); border-radius: 18px; background: #101217; box-shadow: 0 22px 54px rgb(0 0 0 / 20%); opacity: .68; transition: opacity 380ms ease, border-color 380ms ease, box-shadow 540ms cubic-bezier(.22,1,.36,1), background-color 380ms ease; }
.career-story-item:nth-child(2) article,
.career-story-item:nth-child(3) article { background: #101217; }
.career-story-item time { display: block; color: rgb(255 255 255 / 54%); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .04em; transition: color 360ms ease; }
.career-company { margin-top: 42px; overflow: hidden; color: rgb(255 255 255 / 46%); font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.career-story-item h4 { margin-top: 9px; color: #fff; font-size: clamp(20px, 1.85vw, 26px); font-weight: 500; line-height: 1.28; letter-spacing: -.035em; }
.career-brief { max-width: 34em; margin-top: 18px; color: rgb(255 255 255 / 52%); font-size: 12px; line-height: 1.75; }
.career-story-item.is-active article { z-index: 1; opacity: 1; border-color: color-mix(in srgb, var(--career-light) 52%, transparent); background-color: #121722; box-shadow: 0 30px 78px rgb(0 0 0 / 42%), inset 0 -52px 88px color-mix(in srgb, var(--career-light) 13%, transparent); }
.career-story-item.is-active time { color: #8cafff; }
.career-story-item.is-active .career-node { border-color: #fff; background: var(--career-light); box-shadow: 0 0 0 6px #000, 0 0 0 9px color-mix(in srgb, var(--career-light) 16%, transparent), 0 0 18px var(--career-light); scale: 1.18; }
.career-story-item:focus-visible { outline: none; }
.career-story-item:focus-visible article { outline: 3px solid #2f6bff; outline-offset: 5px; }

/* One stable presentation stage; all four panels remain readable without JS. */
.featured-story { padding-block: 56px 52px; background: #fff; }
.featured-stage { --feature-top: calc(var(--header-height) + 12px); }
.featured-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 26px; }
.featured-heading h2 { font-size: clamp(38px, 4vw, 54px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
.featured-heading h2 em { font-weight: 430; }
.featured-heading p { margin-top: 14px; color: #686e75; font-size: 14px; line-height: 1.6; }
.featured-panels { display: grid; gap: 24px; overflow: clip; border-radius: 24px; background: #0b0e13; }
.featured-panel { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); color: #fff; background: #101318; border-radius: 24px; overflow: clip; }
.featured-art { position: relative; min-width: 0; display: grid; align-items: center; background: #090b10; aspect-ratio: 16 / 10; margin: 12px; border-radius: 15px; overflow: hidden; }
.featured-art > img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain; }
.featured-art > [hidden] { display: none; }
.featured-art .featured-interface { padding: 14px; background: #0e1620; }
.featured-art .featured-interface--phone { padding-block: 18px 58px; background: #e6edf3; }
.featured-art--long-page { align-items: stretch; }
.featured-scroll-viewport { grid-area: 1 / 1; width: 100%; height: 100%; overflow: hidden; background: #eefafa; touch-action: pan-y; transition: opacity 260ms ease; }
.featured-scroll-viewport::-webkit-scrollbar { display: none; }
.featured-scroll-viewport picture { display: block; width: 100%; }
.featured-long-page { display: block; width: 100%; height: auto; max-width: none; }
.featured-scroll-cue { position: absolute; z-index: 2; top: 16px; right: 16px; margin: 0; padding: 8px 11px; border: 1px solid rgb(255 255 255 / 32%); border-radius: 999px; color: #fff; background: rgb(13 19 25 / 70%); box-shadow: 0 8px 24px rgb(0 0 0 / 16%); backdrop-filter: blur(10px); font-size: 10px; line-height: 1; letter-spacing: .02em; pointer-events: none; transition: opacity 240ms ease, translate 320ms cubic-bezier(.22,1,.36,1); }
.featured-art--long-page.is-long-page-scrolled .featured-scroll-cue { opacity: 0; translate: 0 -5px; }
.featured-art--long-page.is-long-page-resetting .featured-scroll-viewport { opacity: 0; }
.featured-view-toggle { display: none; position: absolute; z-index: 3; left: 18px; bottom: 16px; padding: 12px 17px; border: 1px solid #585d66; border-radius: 40px; background: #151a24; color: #fff; font-size: 12px; min-height: 42px; transition: background-color 240ms; }
.featured-view-toggle:hover { background: #2f6bff; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: 32px clamp(30px, 3vw, 42px); }
.featured-category { margin-bottom: 24px; color: #adb6c6; font-size: 12px; line-height: 1.6; }
.featured-copy h3 { font-size: clamp(25px, 2.5vw, 36px); font-weight: 520; line-height: 1.34; letter-spacing: -.035em; }
.featured-summary { margin-top: 24px; color: #b7bfcc; font-size: 14px; line-height: 1.85; }
.featured-focus { margin-top: 28px; padding-top: 22px; border-top: 1px solid #333b47; }
.featured-focus > p { margin-bottom: 12px; color: #818fa4; font-size: 11px; }
.featured-focus ul { display: flex; flex-wrap: wrap; gap: 7px 15px; font-size: 12px; color: #d4dbe6; line-height: 1.7; }
.featured-navigation,
.featured-bottom { display: none; }
.featured-story.is-enhanced .featured-panels { position: relative; isolation: isolate; gap: 0; }
.featured-story.is-enhanced .featured-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0, 22px, 0) scale(.988); transition: opacity 520ms cubic-bezier(.22,1,.36,1), transform 680ms cubic-bezier(.22,1,.36,1), visibility 0s 680ms; }
.featured-story.is-enhanced .featured-panel.is-active { z-index: 1; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.featured-story.is-enhanced .featured-view-toggle { display: block; }
.featured-story.is-enhanced .featured-navigation { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.featured-navigation button { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 74px; padding: 11px 18px; border: 1px solid #e0e2e5; border-radius: 13px; background: #f7f8f8; color: #60676f; text-align: left; transition: background-color 260ms, border-color 260ms, color 260ms; }
.featured-navigation button img { flex: 0 0 auto; width: 66px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.featured-navigation button > span { flex: 1; min-width: 0; padding-right: 2px; font-size: 14px; font-weight: 550; line-height: 1.45; }
.featured-navigation small { display: block; margin-top: 3px; font-size: 11px; color: #757d86; font-weight: 400; }
.featured-navigation button[aria-pressed="true"] { color: #fff; background: #171e2a; border-color: #171e2a; }
.featured-navigation button[aria-pressed="true"] small { color: #bbc7da; }
.featured-navigation button:hover { border-color: #748bb9; }
.featured-story.is-enhanced .featured-bottom { display: flex; align-items: center; gap: 20px; margin-top: 18px; font-size: 12px; line-height: 1.5; color: #757b85; }
.featured-count { color: #858b93; }
.featured-count > span { font-weight: 600; color: #171e2a; }
.featured-skip { margin-left: auto; padding-block: 8px; color: #343b47; }
.featured-skip:hover { color: var(--accent); }
.featured-story.is-scroll-story { position: relative; padding: 0; height: var(--feature-story-height); }
.featured-story.is-scroll-story .featured-stage { position: sticky; top: var(--feature-top); padding-block: 24px; }
.featured-story.is-scroll-story .featured-art { aspect-ratio: auto; height: clamp(290px, calc(100svh - 365px), 480px); }
.featured-story.is-scroll-story .featured-copy { padding-block: 24px; }
.featured-story.is-scroll-story .featured-category { margin-bottom: 18px; }
.featured-story.is-scroll-story .featured-summary { margin-top: 18px; }
.featured-story.is-scroll-story .featured-focus { margin-top: 20px; padding-top: 17px; }

/* Desktop scroll director: one continuous motion language after the hero. */
@media (min-width: 1024px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .home-page .about.is-scroll-directed .about-inner > * {
    opacity: var(--about-opacity, 1) !important;
    transition: none !important;
    will-change: transform, opacity;
  }
  .home-page .about.is-scroll-directed .about-inner > h2 {
    transform: translate3d(var(--about-title-x, 0), var(--about-title-y, 0), 0) !important;
  }
  .home-page .about.is-scroll-directed .about-content {
    transform: translate3d(var(--about-copy-x, 0), var(--about-copy-y, 0), 0) !important;
  }
  .home-page .about.is-scroll-directed .about-metrics > div {
    transform: translate3d(0, var(--about-metric-y, 0), 0);
    transition: transform 140ms linear;
  }
  .featured-story.is-scroll-story .featured-panels {
    box-shadow: 0 34px 90px rgb(12 20 34 / 15%);
  }
  .featured-story.is-scroll-story.is-enhanced .featured-panel {
    visibility: visible;
    z-index: 1;
    opacity: var(--panel-opacity, 0);
    pointer-events: none;
    transform: translate3d(var(--panel-x, 0), var(--panel-y, 0), 0) perspective(1200px) rotateY(var(--panel-rotate, 0deg)) scale(var(--panel-scale, 1));
    transform-origin: 50% 64%;
    filter: blur(var(--panel-blur, 0));
    transition: opacity 120ms linear, filter 120ms linear;
    will-change: transform, opacity, filter;
  }
  .featured-story.is-scroll-story.is-enhanced .featured-panel.is-active {
    pointer-events: auto;
  }
  .featured-story.is-scroll-story .featured-panels::after {
    content: "";
    position: absolute;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #5e8cff;
    box-shadow: 0 0 18px rgb(94 140 255 / 58%);
    transform: scaleX(var(--featured-progress, 0));
    transform-origin: left center;
    pointer-events: none;
  }

  .home-page .archive.is-motion-rail {
    position: relative;
    height: var(--archive-story-height, 2200px);
    padding: 0;
    overflow: clip;
  }
  .home-page .archive.is-motion-rail .archive-inner {
    position: sticky;
    top: var(--header-height);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: calc(100svh - var(--header-height));
    padding-block: clamp(48px, 6.5vh, 68px) 34px;
    overflow: visible;
    isolation: isolate;
  }
  .home-page .archive.is-motion-rail .archive-inner::after {
    content: "PROJECT ARCHIVE";
    position: absolute;
    z-index: -1;
    right: auto;
    bottom: clamp(32px, 5vh, 58px);
    left: 0;
    color: rgb(18 24 32 / 3.6%);
    font-size: clamp(92px, 13vw, 186px);
    font-weight: 560;
    line-height: .78;
    letter-spacing: -.065em;
    white-space: nowrap;
    transform: translate3d(var(--archive-backdrop-x, 0), 0, 0);
    will-change: transform;
    pointer-events: none;
  }
  .home-page .archive.is-motion-rail .section-heading {
    position: relative;
    flex: 0 0 auto;
    margin-bottom: 30px;
    padding-bottom: 18px;
  }
  .home-page .archive.is-motion-rail .section-heading::before,
  .home-page .archive.is-motion-rail .section-heading::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
  }
  .home-page .archive.is-motion-rail .section-heading::before { background: #d8dbde; }
  .home-page .archive.is-motion-rail .section-heading::after {
    background: #2f6bff;
    box-shadow: 0 0 13px rgb(47 107 255 / 36%);
    transform: scaleX(var(--archive-progress, 0));
    transform-origin: left center;
  }
  .home-page .archive.is-motion-rail .archive-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    gap: 24px;
    width: max-content;
    transform: translate3d(var(--archive-x, 0), 0, 0);
    will-change: transform;
  }
  .home-page .archive.is-motion-rail .archive-card {
    flex: 0 0 clamp(360px, 34vw, 500px);
    width: clamp(360px, 34vw, 500px);
    opacity: var(--rail-opacity, 1);
    transform: translate3d(0, var(--rail-y, 0), 0) rotate(var(--rail-rotate, 0deg)) scale(var(--rail-scale, 1));
    transform-origin: 50% 60%;
    transition: opacity 160ms linear;
    will-change: transform, opacity;
  }
  .home-page .archive.is-motion-rail .archive-visual {
    border-radius: 18px;
    box-shadow: 0 20px 48px rgb(25 34 49 / 13%);
  }
  .home-page .archive.is-motion-rail .archive-card:hover {
    translate: 0 -7px;
  }
}

/* Varied density after the featured stage: compact supporting work. */
.home-page .archive { padding-block: 72px 96px; background: #f3f4f2; }
.home-page .archive .section-heading { margin-bottom: 40px; }
.home-page .archive-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 36px 24px; align-items: start; }
.home-page .archive-visual { aspect-ratio: 16 / 9; border-radius: 14px; }
.home-page .archive-meta { margin-top: 16px; font-size: 11px; }
.home-page .archive-card h3 { margin-top: 7px; font-size: 19px; line-height: 1.45; }
.home-page .archive-card { transition: translate 450ms cubic-bezier(.22,1,.36,1); }
.home-page .archive-card:hover { translate: 0 -5px; }
.home-page .archive-card:hover .archive-visual { transform: none; }
.story-reveal-ready [data-story-reveal] { opacity: 0; translate: 0 20px; transition: opacity 600ms ease, translate 760ms cubic-bezier(.22,1,.36,1); }
.story-reveal-ready [data-story-reveal].is-story-visible { opacity: 1; translate: 0 0; }
.story-reveal-ready .career-story .career-story-item { opacity: 0; translate: 0 34px; transition: opacity 620ms ease, translate 760ms cubic-bezier(.22,1,.36,1); }
.story-reveal-ready .career-story.is-story-visible .career-story-item { opacity: 1; translate: 0 0; }
.story-reveal-ready .career-story.is-story-visible .career-story-item:nth-child(2) { transition-delay: 90ms; }
.story-reveal-ready .career-story.is-story-visible .career-story-item:nth-child(3) { transition-delay: 180ms; }

/* Full career comes before the long profile on the About page. */
.about-page .page-hero { padding-block: 72px 56px; }
.about-page .page-hero-aside { gap: 22px; }
.career-detail { padding-block: 64px 72px; background: var(--career-paper); }
.career-detail .about-details-inner { gap: 40px; }
.career-detail .about-details-heading h2 { font-size: clamp(34px, 3.5vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.career-timeline { display: grid; gap: 16px; }
.career-entry { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 42px; padding: 32px; border: 1px solid #daddda; border-radius: 20px; background: #fff; }
.career-entry--lead { border-color: #171e2a; color: #fff; background: #171e2a; }
.career-entry--lead .career-date { color: #90b1ff; }
.career-entry h3 { margin: 20px 0 9px; font-size: 26px; font-weight: 550; line-height: 1.3; }
.career-entry .career-company { color: #575f69; }
.career-entry--lead .career-company { color: #c7d0de; }
.career-entry-body { align-self: center; }
.career-entry-body > p { font-size: 15px; line-height: 1.8; color: #565f6b; }
.career-entry-body > ul { display: grid; gap: 13px; font-size: 15px; line-height: 1.8; color: #c7d0de; }
.career-entry-body > ul strong { font-weight: 550; color: #fff; }
.career-entry .career-domain { margin-top: 23px; }
.career-entry--lead .career-domain { border-color: #354052; color: #b9c4d8; }
.about-page .about-profile { padding-block: 64px; }
.about-page .detail-placeholder { min-height: 0; padding: 26px; background: #fff; }
.about-page .detail-placeholder p:last-child { margin-top: 16px; color: #646b75; }
:is(.story-link,.featured-navigation button,.featured-view-toggle,.featured-skip):focus-visible { outline: 3px solid #2f6bff; outline-offset: 5px; }

@media (max-width: 1100px) {
  .career-story-item article { min-height: 236px; padding: 24px; }
  .career-company { margin-top: 34px; }
  .featured-navigation button img { width: 52px; }
  .featured-navigation button { gap: 10px; padding-inline: 14px; }
  .featured-copy { padding: 28px; }
  .featured-copy h3 { font-size: 27px; }
}
@media (max-width: 900px) {
  .career-story { margin-top: 54px; }
  .career-story-heading { align-items: start; }
  .career-story-heading p { max-width: 360px; }
  .career-story-list { gap: 12px; }
  .career-rail { right: calc((100% - 24px) / 6); left: calc((100% - 24px) / 6); }
  .career-story-item article { min-height: 252px; padding: 22px; }
  .career-company { margin-top: 30px; white-space: normal; }
  .featured-panel { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
  .featured-art { height: 360px; aspect-ratio: auto; margin: 10px; }
  .featured-copy { padding: 24px 26px; }
  .featured-copy h3 { font-size: 25px; }
  .featured-summary { margin-top: 18px; font-size: 13px; }
  .featured-focus { margin-top: 20px; padding-top: 16px; }
  .featured-navigation button img { display: none; }
  .home-page .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .career-entry { grid-template-columns: 210px 1fr; gap: 28px; padding: 28px; }
}
@media (max-width: 620px) {
  .home-page .about { padding-block: 60px 50px; }
  .career-story { margin-top: 48px; padding-top: 24px; }
  .career-story-heading { align-items: start; gap: 18px; }
  .career-story-heading h3 { font-size: 25px; }
  .career-story-heading p { display: none; }
  .career-story .story-link { gap: 10px; padding-top: 3px; white-space: nowrap; }
  .career-rail { display: none; }
  .career-track { margin-top: 22px; }
  .career-story-list { grid-auto-flow: column; grid-auto-columns: minmax(268px, 82vw); grid-template-columns: none; gap: 12px; margin: 0 -4vw; padding: 10px 4vw 20px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; }
  .career-story-list::-webkit-scrollbar { display: none; }
  .career-story-item { scroll-snap-align: center; }
  .career-node { top: 26px; left: 24px; translate: 0 0; }
  .career-story-item article { min-height: 220px; padding: 25px 24px; transform: none; opacity: .74; }
  .career-story-item.is-active article { transform: none; }
  .career-story-item time { padding-left: 22px; }
  .career-company { margin-top: 34px; }
  .featured-story { padding-block: 48px 36px; }
  .featured-heading { align-items: start; gap: 16px; margin-bottom: 20px; }
  .featured-heading h2 { font-size: 36px; }
  .featured-heading p { font-size: 12px; }
  .featured-heading .story-link { gap: 10px; font-size: 12px; white-space: nowrap; }
  .featured-panel { grid-template-columns: 1fr; border-radius: 20px; }
  .featured-art { height: auto; aspect-ratio: 16 / 10; margin: 9px 9px 0; border-radius: 12px; }
  .featured-copy { padding: 23px 24px 28px; }
  .featured-copy h3 { font-size: 26px; }
  .featured-copy h3 br { display: none; }
  .featured-category { margin-bottom: 12px; }
  .featured-summary { margin-top: 14px; font-size: 14px; line-height: 1.75; }
  .featured-focus { margin-top: 18px; padding-top: 16px; }
  .featured-focus > p { display: none; }
  .featured-story.is-enhanced .featured-navigation { gap: 7px; margin-top: 12px; }
  .featured-navigation button { min-height: 50px; padding: 9px 8px; justify-content: center; text-align: center; border-radius: 9px; }
  .featured-navigation button > span { font-size: 11px; }
  .featured-navigation small { display: none; }
  .featured-story.is-enhanced .featured-bottom { flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; font-size: 11px; }
  .featured-view-toggle { left: 12px; bottom: 12px; padding: 10px 13px; font-size: 11px; }
  .home-page .archive { padding-block: 48px 56px; }
  .home-page .archive .section-heading { margin-bottom: 28px; }
  .home-page .archive-grid { gap: 26px 14px; }
  .home-page .archive-card h3 { font-size: 14px; }
  .home-page .archive-meta { margin-top: 11px; font-size: 10px; }
  .home-page .archive-visual { border-radius: 9px; }
  .career-detail { padding-block: 40px 48px; }
  .career-detail .about-details-inner { gap: 30px; }
  .career-entry { grid-template-columns: 1fr; gap: 24px; padding: 25px; }
  .career-entry h3 { margin-top: 15px; }
  .career-entry-body > ul,
  .career-entry-body > p { font-size: 14px; }
  .about-page .page-hero { padding-block: 48px 40px; }
  .about-page .about-profile { padding-block: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-reveal-ready [data-story-reveal] { opacity: 1; translate: none; }
  .story-reveal-ready .career-story .career-story-item { opacity: 1; translate: none; transition: none; }
  .career-story-item article,
  .career-node,
  .career-rail > span { transition: none; }
  .featured-story.is-enhanced .featured-panel { transform: none; transition: none; }
  .home-page .archive-card:hover { translate: none; }
}

/* 2026-09 narrative pass: one continuous route from the hero to contact. */
.home-page .hero-scroll-story {
  height: 190vh;
  height: 190svh;
  min-height: 1180px;
}

.home-page .clients-transition {
  --clients-opacity: 0;
  --clients-y: 34px;
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: 100%;
  max-width: none;
  min-height: clamp(180px, 25svh, 226px);
  /* Keep the rail close to the hero, but never pull it through the ribbon. */
  margin: clamp(-380px, -46svh, -300px) 0 0;
  padding-block: clamp(26px, 3.8svh, 38px) clamp(22px, 3.2svh, 32px);
  overflow: hidden;
  color: #242424;
  background: #d2d2ce;
  isolation: isolate;
}

.home-page .clients-transition-inner {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding-inline: var(--page-padding);
}

.home-page .clients-transition::after {
  content: "";
  position: absolute;
  right: var(--page-padding);
  bottom: 0;
  left: var(--page-padding);
  height: 1px;
  background: rgb(32 32 31 / 12%);
  transform: scaleX(var(--clients-opacity));
  transform-origin: left;
}

.home-page .clients-transition .clients-caption,
.home-page .clients-transition .client-marquee {
  opacity: var(--clients-opacity);
  transform: translate3d(0, var(--clients-y), 0);
  transition: opacity 220ms linear, transform 320ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform, opacity;
}

.home-page .clients-transition .clients-caption {
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 520;
  letter-spacing: -.025em;
}

.home-page .clients-transition .client-marquee {
  margin-top: 6px;
  padding-block: 16px 12px;
}

.home-page .clients-caption {
  color: rgb(32 32 31 / 56%);
}

.home-page .featured-story {
  --featured-stage-opacity: 0;
  --featured-stage-y: 130px;
  color: #f7f8fb;
  background: #0b0e13;
}

.home-page .featured-stage {
  opacity: var(--featured-stage-opacity);
  transform: translate3d(0, var(--featured-stage-y), 0);
  will-change: transform, opacity;
}

.home-page .featured-heading h2,
.home-page .featured-heading .story-link {
  color: #24272c;
  transition: color 220ms ease;
}

.home-page .featured-heading p {
  color: #717780;
  transition: color 220ms ease;
}

.home-page .featured-story.is-heading-on-dark .featured-heading h2,
.home-page .featured-story.is-heading-on-dark .featured-heading .story-link {
  color: #f7f8fb;
}

.home-page .featured-story.is-heading-on-dark .featured-heading p {
  color: #848d9c;
}

.home-page .featured-navigation button {
  border-color: #272c35;
  color: #a9b0bd;
  background: #11151c;
}

.home-page .featured-navigation button:hover {
  border-color: #526c9f;
}

.home-page .featured-navigation button[aria-pressed="true"] {
  border-color: #406fda;
  background: #151e31;
  box-shadow: inset 0 0 0 1px rgb(69 113 224 / 28%);
}

.home-page .featured-navigation small,
.home-page .featured-story.is-enhanced .featured-bottom,
.home-page .featured-count {
  color: #7f8999;
}

.home-page .featured-count > span,
.home-page .featured-skip {
  color: #dce3ef;
}

.home-page .about {
  padding-block: clamp(76px, 9vw, 116px);
}

.about-action {
  width: max-content;
  margin-top: 34px;
  color: rgb(255 255 255 / 76%);
}

.about-action:hover,
.about-action:focus-visible {
  color: #fff;
}

.featured-story {
  --featured-exit: 0;
}

.featured-heading,
.featured-panels,
.featured-navigation,
.featured-bottom {
  transform: translate3d(0, calc(var(--featured-exit) * -72px), 0) scale(calc(1 - var(--featured-exit) * .055));
  transform-origin: 50% 18%;
  opacity: calc(1 - var(--featured-exit) * .72);
  transition: opacity 90ms linear;
  will-change: transform, opacity;
}

.featured-heading {
  transform-origin: 50% 100%;
}

.featured-story.is-scroll-story .featured-panel .featured-art,
.featured-story.is-scroll-story .featured-panel .featured-copy {
  transition: transform 130ms linear, opacity 130ms linear;
}

.featured-story.is-scroll-story .featured-panel .featured-art {
  transform: translate3d(var(--panel-art-x, 0), var(--panel-art-y, 0), 0);
}

.featured-story.is-scroll-story .featured-panel .featured-copy {
  transform: translate3d(var(--panel-copy-x, 0), var(--panel-copy-y, 0), 0);
}

@media (min-width: 1024px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .home-page .archive.is-motion-rail .archive-card {
    opacity: var(--rail-combined-opacity, 1);
    transform: translate3d(0, calc(var(--rail-y, 0px) + var(--archive-entry-y, 0px)), 0)
      rotate(var(--rail-rotate, 0deg))
      scale(var(--rail-combined-scale, 1));
  }

  .home-page .archive.is-motion-rail .archive-visual img {
    transform: translate3d(var(--archive-img-x, 0), var(--archive-img-y, 0), 0) scale(1.08);
    will-change: transform;
  }
}

.home-page .contact-cta {
  position: relative;
  min-height: clamp(360px, 48vw, 610px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #2f6bff;
  isolation: isolate;
}

.home-page .contact-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at var(--contact-x, 72%) var(--contact-y, 48%), rgb(255 255 255 / 22%), transparent 21%),
    linear-gradient(128deg, #245cf1 0%, #2f6bff 52%, #174ee2 100%);
}

.home-page .contact-cta-inner {
  position: relative;
  isolation: isolate;
}

.home-page .contact-cta h2 {
  color: #fff;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.02;
}

.home-page .contact-cta .button {
  position: relative;
  z-index: 4;
  color: #111;
  background: #fff;
  box-shadow: 0 18px 48px rgb(1 25 91 / 18%);
}

.contact-orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(18px, 8vw, 130px);
  width: clamp(210px, 27vw, 390px);
  aspect-ratio: 1;
  translate: 0 -50%;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  transition: scale 700ms cubic-bezier(.22,1,.36,1), rotate 900ms cubic-bezier(.22,1,.36,1);
}

.contact-orbit::before,
.contact-orbit::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
}

.contact-orbit::after {
  inset: 38%;
  background: rgb(255 255 255 / 8%);
}

.contact-orbit span {
  --particle-angle: 0deg;
  --particle-radius: clamp(90px, 12vw, 180px);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px rgb(255 255 255 / 78%);
  transform: rotate(var(--particle-angle)) translateX(var(--particle-radius));
  transform-origin: 0 50%;
  transition: transform 720ms cubic-bezier(.22,1,.36,1), opacity 420ms ease;
}

.contact-orbit span:nth-child(1) { --particle-angle: 4deg; --particle-radius: clamp(90px, 12vw, 180px); }
.contact-orbit span:nth-child(2) { --particle-angle: 31deg; --particle-radius: clamp(72px, 9.7vw, 148px); }
.contact-orbit span:nth-child(3) { --particle-angle: 66deg; --particle-radius: clamp(98px, 13.2vw, 194px); }
.contact-orbit span:nth-child(4) { --particle-angle: 101deg; --particle-radius: clamp(80px, 10.7vw, 160px); }
.contact-orbit span:nth-child(5) { --particle-angle: 134deg; --particle-radius: clamp(102px, 13.7vw, 202px); }
.contact-orbit span:nth-child(6) { --particle-angle: 169deg; --particle-radius: clamp(78px, 10.4vw, 156px); }
.contact-orbit span:nth-child(7) { --particle-angle: 202deg; --particle-radius: clamp(94px, 12.7vw, 188px); }
.contact-orbit span:nth-child(8) { --particle-angle: 229deg; --particle-radius: clamp(70px, 9.4vw, 142px); }
.contact-orbit span:nth-child(9) { --particle-angle: 261deg; --particle-radius: clamp(100px, 13.4vw, 198px); }
.contact-orbit span:nth-child(10) { --particle-angle: 294deg; --particle-radius: clamp(76px, 10.2vw, 152px); }
.contact-orbit span:nth-child(11) { --particle-angle: 326deg; --particle-radius: clamp(92px, 12.4vw, 184px); }
.contact-orbit span:nth-child(12) { --particle-angle: 347deg; --particle-radius: clamp(68px, 9vw, 136px); }

.home-page .contact-cta:has(.button:hover) .contact-orbit,
.home-page .contact-cta:has(.button:focus-visible) .contact-orbit {
  scale: .62;
  rotate: 18deg;
}

.home-page .contact-cta:has(.button:hover) .contact-orbit span,
.home-page .contact-cta:has(.button:focus-visible) .contact-orbit span {
  --particle-radius: clamp(38px, 5vw, 74px);
}

@media (max-width: 760px) {
  .home-page .hero-scroll-story { height: 176svh; min-height: 1080px; }
  .home-page .clients-transition { min-height: 172px; margin-top: -160px; padding-block: 30px 24px; }
  .home-page .clients-transition-inner { padding-inline: var(--page-padding); }
  .home-page .clients-transition .client-marquee { margin-top: 4px; padding-block: 14px 8px; }
  .home-page .featured-story { --featured-stage-opacity: 1; --featured-stage-y: 0px; }
  .home-page .contact-cta { min-height: 430px; }
  .home-page .contact-cta-inner { align-items: end; gap: 42px; }
  .home-page .contact-cta h2 { font-size: clamp(39px, 11vw, 54px); }
  .contact-orbit { top: 36%; right: -46px; width: 250px; opacity: .72; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-heading,
  .featured-panels,
  .featured-navigation,
  .featured-bottom,
  .featured-panel .featured-art,
  .featured-panel .featured-copy,
  .contact-orbit,
  .contact-orbit span { transform: none !important; transition: none !important; }
}
