@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --paper: #000000;
  --paper-deep: #070707;
  --ink: #f5f5f5;
  --ink-soft: #dedede;
  --orange: #f06432;
  --muted: #999999;
  --line: rgba(255, 255, 255, .15);
  --line-dark: rgba(255, 255, 255, .17);
  --white: #ffffff;
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --page-width: 1320px;
  --gutter: clamp(22px, 5vw, 76px);
  --space-section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { position: relative; min-height: 100%; margin: 0; background: #000; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: var(--font); }
::selection { color: var(--paper); background: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.section-wrap { width: min(100% - var(--gutter) * 2, var(--page-width)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; transform: translateY(-150%); background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.header-inner { width: min(100% - var(--gutter) * 2, var(--page-width)); height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { display: inline-flex; align-items: baseline; font-size: 27px; line-height: 1; font-weight: 700; letter-spacing: -.09em; }
.wordmark-period { color: var(--orange); margin-left: 1px; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3.4vw, 50px); }
.site-nav a, .footer-nav a { font-size: 11px; line-height: 1; letter-spacing: .105em; text-transform: uppercase; transition: color .22s var(--ease); }
.site-nav a:hover, .footer-nav a:hover { color: var(--orange); }
.site-nav > a:not(.nav-apply) { position: relative; }
.site-nav > a:not(.nav-apply)::after { content: ''; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease); }
.site-nav > a:not(.nav-apply):hover::after, .site-nav > a:not(.nav-apply):focus-visible::after { transform: scaleX(1); }
.site-nav .nav-apply { display: flex; align-items: center; gap: 10px; padding: 13px 0 11px; border-bottom: 1px solid var(--ink); color: var(--ink); }
.site-nav .nav-apply:hover { border-color: var(--orange); color: var(--orange); }
.nav-apply span, .footer-nav span { color: var(--orange); font-size: 15px; }
.menu-toggle { display: none; }

.hero { min-height: 670px; padding-block: clamp(76px, 9vw, 126px) clamp(86px, 10vw, 142px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(410px, .92fr); align-items: center; gap: clamp(44px, 7vw, 104px); }
.hero-copy { padding-bottom: 8px; }
.eyebrow { margin: 0 0 24px; font-size: 10px; line-height: 1.2; font-weight: 600; letter-spacing: .145em; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--orange); vertical-align: 1px; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.075em; }
.hero h1 { max-width: 710px; margin: 0 0 24px; font-size: clamp(58px, 7.3vw, 102px); line-height: .98; }
h1 em, h2 em { font-weight: 400; font-style: normal; }
.hero-positioning { margin: 0 0 12px; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.045em; }
.hero-description { max-width: 565px; margin: 0; color: #5e5a53; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 29px; margin-top: 31px; }
.button { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; border: 1px solid transparent; font-size: 11px; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease); }
.button:hover { transform: translateY(-2px); box-shadow: 0 3px 0 rgba(23, 23, 23, .12); }
.button:active { transform: translateY(0) scale(.985); box-shadow: none; }
.button span { font-size: 17px; line-height: 1; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--orange); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.text-link span { color: var(--orange); font-size: 16px; transition: transform .2s var(--ease); }
.text-link:hover { border-color: var(--orange); color: var(--orange); }
.text-link:hover span { transform: translate(2px, -2px); }
.development-status { display: flex; align-items: center; gap: 12px; margin-top: 51px; }
.status-light { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--orange); }
.development-status strong, .development-status small { display: block; }
.development-status strong { font-size: 10px; line-height: 1.4; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.development-status small { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .065em; text-transform: uppercase; }

.architecture-figure { min-width: 0; margin: 0; }
.architecture-caption, .board-topline, .context-diagram-header, .saas-diagram-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 9px; font-weight: 600; letter-spacing: .115em; text-transform: uppercase; }
.architecture-caption { margin: 0 0 12px; }
.caption-index { color: var(--muted); }
.architecture-board { padding: 23px 24px 15px; background: #201f1c; color: var(--paper); }
.board-topline { padding-bottom: 15px; border-bottom: 1px solid var(--line-dark); color: #aaa59c; font-size: 8px; }
.hero-flow { position: relative; list-style: none; margin: 0; padding: 11px 0; }
.hero-flow::before { content: ''; position: absolute; top: 30px; bottom: 37px; left: 17px; width: 1px; background: rgba(245, 241, 232, .23); }
.hero-flow-step { position: relative; min-height: 49px; display: grid; grid-template-columns: 36px 1fr 18px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-dark); }
.flow-index { z-index: 1; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #635f57; border-radius: 50%; background: #201f1c; color: #aaa59c; font-size: 9px; }
.flow-label { font-size: 13px; letter-spacing: -.025em; }
.flow-symbol { justify-self: end; color: #918c82; font-size: 14px; }
.flow-symbol-orange { color: var(--orange); }
.flow-end { font-size: 8px; color: var(--orange); }
.flow-step-krya { min-height: 133px; padding-block: 13px; border-bottom: 1px solid var(--line-dark); }
.flow-step-krya .flow-index { border-color: var(--orange); color: var(--orange); }
.krya-block { min-width: 0; padding: 11px 13px 12px; border: 1px solid rgba(240, 100, 50, .56); background: rgba(240, 100, 50, .07); }
.krya-block-heading { display: flex; align-items: center; gap: 10px; }
.krya-mark { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 13px; font-weight: 700; }
.krya-block-heading strong, .krya-block-heading small { display: block; }
.krya-block-heading strong { font-size: 14px; font-weight: 500; letter-spacing: -.02em; }
.krya-block-heading small { margin-top: 1px; color: #c1bbb0; font-size: 8px; letter-spacing: .04em; }
.agent-constellation { display: flex; flex-wrap: wrap; gap: 5px; margin: 11px 0 0 37px; }
.agent-constellation span { padding: 3px 6px; border: 1px solid rgba(245, 241, 232, .2); color: #d4cec2; font-size: 7px; line-height: 1.2; letter-spacing: .075em; text-transform: uppercase; }
.board-footnote { display: flex; align-items: center; gap: 8px; color: #aaa59c; font-size: 9px; }
.orange-rule { width: 14px; height: 1px; background: var(--orange); }
.figure-note { display: flex; gap: 9px; margin: 13px 0 0; color: var(--muted); font-size: 10px; }
.figure-note span { color: var(--orange); }

.section-line { border-top: 1px solid var(--line); }
.problem { padding-block: var(--space-section); display: grid; grid-template-columns: 1fr .78fr; gap: 10%; }
.section-heading h2, .approach h2, .workflow-heading h2, .audience-copy h2, .saas-copy h2, .pilot-transition h2, .application-intro h2 { margin: 0; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; }
.problem .eyebrow, .approach .eyebrow { color: var(--muted); }
.problem-content { padding-top: 61px; }
.section-intro { max-width: 480px; margin: 0 0 26px; font-size: 17px; line-height: 1.6; letter-spacing: -.025em; }
.friction-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.friction-list li { min-height: 48px; display: grid; grid-template-columns: 36px 1fr; align-items: center; border-bottom: 1px solid var(--line); font-size: 12px; }
.friction-list li span { color: var(--orange); font-size: 9px; letter-spacing: .06em; }

.approach { padding-bottom: var(--space-section); }
.approach-top { display: flex; justify-content: space-between; align-items: flex-start; }
.approach-top .eyebrow { color: var(--muted); }
.section-aside { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.approach-main { display: grid; grid-template-columns: 1fr .74fr; gap: 10%; align-items: end; margin-top: 11px; }
.approach-copy { max-width: 480px; padding-bottom: 6px; }
.approach-copy > p { margin: 0 0 14px; color: #59554e; font-size: 14px; line-height: 1.8; }
.approach-copy strong { color: var(--ink); font-weight: 600; }
.approach-copy .development-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; }
.development-note .status-light { margin-top: 5px; }
.principle-ribbon { margin-top: clamp(54px, 7vw, 94px); padding-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.principle-ribbon > div { position: relative; min-height: 101px; padding: 0 20px 0 0; display: flex; flex-direction: column; }
.principle-ribbon > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.principle-ribbon span { color: var(--orange); font-size: 9px; letter-spacing: .08em; }
.principle-ribbon strong { margin-top: 12px; font-size: 14px; font-weight: 500; letter-spacing: -.025em; }
.principle-ribbon small { margin-top: 4px; color: var(--muted); font-size: 10px; }

.workflow-section { overflow: hidden; padding-block: clamp(83px, 10vw, 132px) clamp(75px, 8vw, 108px); background: var(--ink); color: var(--paper); }
.workflow-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 66px; }
.eyebrow-light { color: #b6b1a7; }
.workflow-heading h2 { font-size: clamp(45px, 5.4vw, 72px); }
.workflow-heading > p { max-width: 265px; margin: 0 0 7px; color: #b6b1a7; font-size: 12px; line-height: 1.7; }
.workflow-architecture { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(245, 241, 232, .36); }
.workflow-rail { position: absolute; top: -4px; left: 0; width: 100%; height: 7px; background: linear-gradient(90deg, var(--orange) 0 5%, transparent 5% 100%); pointer-events: none; }
.workflow-rail { z-index: 1; top: -1px; height: 1px; background: rgba(245, 241, 232, .34); }
.workflow-rail-progress { position: absolute; z-index: 2; top: -1px; left: 0; width: 100%; height: 1px; background: var(--orange); transform: scaleX(var(--phase-progress, 0)); transform-origin: left center; pointer-events: none; }
.workflow-step { position: relative; min-height: 292px; padding: 27px 22px 22px 0; display: flex; flex-direction: column; align-items: flex-start; border-right: 1px solid var(--line-dark); }
.workflow-step { opacity: .62; transition: opacity .35s var(--ease), border-color .35s var(--ease); }
.workflow-step::before { content: ''; position: absolute; z-index: 3; top: -5px; left: 0; width: 9px; height: 9px; border: 1px solid #8d887f; border-radius: 50%; background: var(--ink); transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease); }
.workflow-step + .workflow-step { padding-left: 21px; }
.workflow-step:last-child { border-right: 0; }
.workflow-number { display: flex; align-items: center; gap: 12px; color: var(--orange); font-size: 12px; letter-spacing: .04em; }
.workflow-number span { color: #8d887f; font-size: 8px; letter-spacing: .11em; }
.workflow-step h3 { margin: 51px 0 10px; font-size: 18px; line-height: 1.15; font-weight: 500; letter-spacing: -.045em; }
.workflow-step h3 { transition: color .3s var(--ease), transform .3s var(--ease); }
.workflow-step p { max-width: 190px; margin: 0; color: #aaa59c; font-size: 11px; line-height: 1.7; }
.workflow-token { margin-top: auto; padding-top: 26px; color: #77736b; font-size: 8px; letter-spacing: .11em; }
.workflow-step-featured { padding: 18px 16px 16px !important; border: 1px solid rgba(240, 100, 50, .65); background: rgba(240, 100, 50, .09); }
.workflow-step-featured::before { top: -5px; left: 0; }
.workflow-step-featured h3 { margin-top: 31px; font-size: 23px; }
.workflow-step-featured p { color: #c4beb4; }
.workflow-mini-agents { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 15px; }
.workflow-mini-agents span { padding: 3px 5px; border: 1px solid rgba(245, 241, 232, .23); color: #c8c2b8; font-size: 7px; letter-spacing: .05em; text-transform: uppercase; }
.architecture-disclaimer { display: flex; align-items: center; gap: 9px; margin: 27px 0 0; color: #b6b1a7; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.architecture-disclaimer i { color: var(--orange); font-style: normal; }
.architecture-disclaimer .status-light { width: 6px; height: 6px; }

.audiences { padding-block: var(--space-section); display: grid; grid-template-columns: .56fr 1fr .92fr; align-items: center; gap: clamp(30px, 5vw, 70px); }
.audience-index { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.audiences > .audience-index { align-self: start; }
.index-cross { color: var(--orange); font-size: 21px; font-weight: 400; line-height: 1; }
.audience-copy h2, .saas-copy h2 { margin-top: 27px; font-size: clamp(37px, 4vw, 54px); }
.audience-copy > p, .saas-copy > p { max-width: 465px; margin: 21px 0 19px; color: #5f5b54; font-size: 13px; line-height: 1.8; }
.context-diagram { padding: 17px 17px 13px; border: 1px solid var(--line); background: #f0ece3; }
.context-diagram-header, .saas-diagram-heading { color: var(--muted); font-size: 7px; }
.context-pivot { position: relative; min-height: 134px; margin-top: 20px; display: flex; align-items: center; justify-content: space-around; text-align: center; }
.context-pivot::before, .context-pivot::after { content: ''; position: absolute; left: 15%; right: 15%; height: 1px; background: var(--line); }
.context-pivot::before { top: 27%; }
.context-pivot::after { bottom: 27%; }
.context-pivot > span:not(.pivot-mark):not(.agency-signal-packet) { z-index: 1; padding: 10px 11px; background: #f0ece3; font-size: 9px; font-weight: 600; line-height: 1.5; letter-spacing: .1em; }
.pivot-mark { z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--orange); font-size: 18px; }
.context-streams { display: flex; justify-content: space-between; gap: 5px; padding: 10px 0 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.context-streams span { color: #56524a; font-size: 8px; letter-spacing: .02em; }
.context-base { display: flex; align-items: center; gap: 7px; padding-top: 11px; color: var(--muted); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.context-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.saas-section { background: var(--paper-deep); }
.saas-inner { padding-block: var(--space-section); display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: clamp(55px, 10vw, 140px); }
.saas-diagram { position: relative; min-height: 329px; padding: 18px; overflow: hidden; border: 1px solid #d1cbbf; background: rgba(245, 241, 232, .58); }
.saas-diagram-heading { position: relative; z-index: 2; }
.saas-center { position: absolute; z-index: 1; top: 50%; left: 50%; width: 116px; height: 116px; transform: translate(-50%, -47%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 50%; background: var(--ink); color: var(--paper); text-align: center; font-size: 8px; font-weight: 600; line-height: 1.5; letter-spacing: .1em; }
.saas-center-mark { color: var(--orange); font-size: 32px; font-weight: 500; line-height: .8; letter-spacing: -.1em; }
.saas-orbit { position: absolute; top: 50%; left: 50%; width: 238px; height: 184px; transform: translate(-50%, -43%); border: 1px solid #d5cfc4; border-radius: 50%; }
.saas-orbit-two { width: 330px; height: 255px; transform: translate(-50%, -45%); border-color: #dfd9ce; }
.saas-orbit span { position: absolute; padding: 5px 7px; background: var(--paper-deep); color: #59554e; font-size: 8px; letter-spacing: .03em; }
.saas-orbit-one span:first-child { top: 18px; left: 12px; }
.saas-orbit-one span:last-child { right: -6px; bottom: 25px; }
.saas-orbit-two span:first-child { top: 49px; right: -7px; }
.saas-orbit-two span:last-child { bottom: 21px; left: -2px; }
.saas-diagram > p { position: absolute; bottom: 14px; left: 18px; margin: 0; color: var(--muted); font-size: 8px; letter-spacing: .06em; }
.saas-copy .audience-index { margin-bottom: 0; }
.saas-copy h2 { margin-top: 22px; }
.saas-copy > p { max-width: 485px; }

.pilot-transition { position: relative; min-height: 420px; padding-block: clamp(82px, 11vw, 144px); display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.pilot-accent { position: absolute; top: 12%; right: 24%; width: 1px; height: 77%; background: linear-gradient(180deg, transparent, var(--orange), transparent); opacity: .65; transform: rotate(34deg); }
.pilot-transition-copy { position: relative; z-index: 1; max-width: 695px; }
.pilot-transition .eyebrow { color: var(--muted); }
.pilot-transition h2 { font-size: clamp(53px, 6vw, 79px); }
.pilot-transition-copy > p:last-child { max-width: 520px; margin: 22px 0 0; color: #5f5b54; font-size: 13px; line-height: 1.8; }
.button-orange { background: var(--orange); color: var(--ink); }
.button-orange:hover { background: var(--ink); color: var(--paper); }
.pilot-transition > .button { position: relative; z-index: 1; flex: 0 0 auto; }

.application-section { padding-block: clamp(76px, 10vw, 130px); background: #211f1c; color: var(--paper); }
.application-wrap { display: grid; grid-template-columns: .72fr 1fr; gap: clamp(55px, 10vw, 142px); align-items: start; }
.application-intro { position: sticky; top: 45px; }
.application-intro h2 { font-size: clamp(54px, 6vw, 78px); }
.application-intro > p:not(.eyebrow) { max-width: 340px; margin: 24px 0 0; color: #b6b1a7; font-size: 13px; line-height: 1.8; }
.application-aside { display: flex; align-items: center; gap: 9px; margin-top: 42px; color: #9e988d; font-size: 8px; letter-spacing: .12em; }
.application-aside .status-light { width: 6px; height: 6px; }
.application-form { min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.form-field { min-width: 0; display: flex; flex-direction: column; }
.form-field > label, .form-field legend { margin-bottom: 9px; color: #e0dbd1; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.form-field label span, .form-submit-row p span { color: var(--orange); }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid rgba(245, 241, 232, .24); border-radius: 0; background: transparent; color: var(--paper); font-size: 12px; transition: border-color .2s, background .2s; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #827d73; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--orange); background: rgba(245, 241, 232, .035); outline: none; }
.form-field select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%); background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; }
.form-field select:invalid { color: #827d73; }
.form-field select option { color: var(--ink); background: var(--paper); }
.form-field fieldset { margin: 0; padding: 0; border: 0; }
.form-field legend { width: 100%; }
.form-field legend small { margin-left: 7px; color: #827d73; font-size: 8px; font-weight: 400; letter-spacing: .04em; text-transform: none; }
.interest-field { grid-column: 1 / -1; }
.check-options { display: flex; flex-wrap: wrap; gap: 7px; }
.check-option { position: relative; cursor: pointer; }
.check-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-option span { display: block; padding: 9px 10px; border: 1px solid rgba(245, 241, 232, .24); color: #b6b1a7; font-size: 9px; line-height: 1.35; transition: border-color .2s, color .2s, background .2s; }
.check-option input:checked + span { border-color: var(--orange); background: rgba(240, 100, 50, .11); color: var(--paper); }
.check-option input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.form-field-wide { grid-column: 1 / -1; }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; }
.form-submit-row p { margin: 0; color: #8f897f; font-size: 9px; }
.form-submit { border: 0; cursor: pointer; }
.form-confirmation { margin: 22px 0 0; padding: 15px 17px; border-left: 2px solid var(--orange); background: rgba(245, 241, 232, .07); color: var(--paper); font-size: 12px; line-height: 1.6; }
.form-confirmation[hidden] { display: none; }

.site-footer { background: var(--paper); }
.footer-main { min-height: 190px; padding-block: 49px 39px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.wordmark-footer { font-size: 24px; }
.footer-brand-block > p { max-width: 270px; margin: 14px 0 0; color: var(--muted); font-size: 11px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 17px 30px; padding-top: 7px; }
.footer-nav a { font-size: 9px; }
.footer-bottom { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom a span { color: var(--orange); }

.js-enabled .reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.js-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-enabled .workflow-step:nth-child(2) { transition-delay: 40ms; }
.js-enabled .workflow-step:nth-child(3) { transition-delay: 80ms; }
.js-enabled .workflow-step:nth-child(4) { transition-delay: 120ms; }
.js-enabled .workflow-step:nth-child(5) { transition-delay: 160ms; }
.js-enabled .workflow-step:nth-child(6) { transition-delay: 200ms; }

@media (min-width: 1500px) {
  .hero h1 { font-size: 102px; }
}

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(0, .95fr) minmax(360px, .9fr); gap: 40px; }
  .hero h1 { font-size: clamp(56px, 7vw, 76px); }
  .audiences { grid-template-columns: .4fr 1fr; }
  .audiences > .audience-index { grid-column: 1 / -1; }
  .context-diagram { grid-column: 2; }
  .saas-inner { gap: 60px; }
  .application-wrap { gap: 65px; }
}

@media (max-width: 760px) {
  :root { --gutter: 24px; --space-section: 88px; }
  html { scroll-padding-top: 74px; }
  .header-inner { height: 68px; }
  .wordmark { font-size: 25px; }
  .menu-toggle { min-height: 42px; padding: 0; display: flex; align-items: center; gap: 11px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .menu-toggle-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
  .menu-toggle-icon { width: 20px; height: 13px; display: flex; flex-direction: column; justify-content: space-between; }
  .menu-toggle-icon i { height: 1px; display: block; background: var(--ink); transition: transform .2s var(--ease); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 67px; right: 0; left: 0; padding: 13px var(--gutter) 23px; display: flex; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: var(--paper); visibility: hidden; opacity: 0; transform: translateY(-5px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav a { min-height: 45px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 10px; }
  .site-nav .nav-apply { justify-content: space-between; border-bottom-color: var(--ink); }
  .hero { min-height: 0; padding-block: 75px 84px; grid-template-columns: 1fr; gap: 62px; }
  .hero h1 { font-size: clamp(59px, 13vw, 88px); }
  .hero-description { max-width: 620px; font-size: 13px; }
  .development-status { margin-top: 34px; }
  .architecture-board { padding-inline: 18px; }
  .problem { grid-template-columns: 1fr; gap: 20px; }
  .problem-content { padding-top: 0; }
  .section-heading h2, .approach h2, .workflow-heading h2 { font-size: clamp(45px, 10vw, 66px); }
  .section-intro { font-size: 16px; }
  .approach-top { display: block; }
  .section-aside { display: block; margin-top: -10px; }
  .approach-main { grid-template-columns: 1fr; gap: 26px; margin-top: 31px; }
  .principle-ribbon { margin-top: 52px; }
  .principle-ribbon > div { padding-right: 11px; }
  .principle-ribbon > div + div { padding-left: 14px; }
  .principle-ribbon strong { font-size: 12px; }
  .principle-ribbon small { font-size: 9px; line-height: 1.5; }
  .workflow-heading { display: block; margin-bottom: 42px; }
  .workflow-heading > p { margin-top: 18px; }
  .workflow-architecture { grid-template-columns: 1fr; border-top: 0; }
  .workflow-rail { top: 3px; left: 4px; width: 1px; height: calc(100% - 6px); background: rgba(245, 241, 232, .34); }
  .workflow-rail-progress { top: 3px; left: 4px; width: 1px; height: calc(100% - 6px); transform: scaleY(var(--phase-progress, 0)); transform-origin: top center; }
  .workflow-step, .workflow-step + .workflow-step { min-height: 0; padding: 0 0 25px 27px; border: 0; }
  .workflow-step::before { top: 1px; left: 0; border-color: #aaa59c; }
  .workflow-step-featured::before { border-color: var(--orange); background: var(--orange); }
  .workflow-step h3, .workflow-step-featured h3 { margin: 12px 0 6px; font-size: 19px; }
  .workflow-step p { max-width: 400px; }
  .workflow-token { margin-top: 8px; padding-top: 0; }
  .workflow-step-featured { margin: 0 0 22px 24px; padding: 15px !important; }
  .workflow-step-featured::before { left: -25px; }
  .workflow-step-featured h3 { margin-top: 13px; }
  .workflow-mini-agents { margin-top: 10px; padding-top: 0; }
  .architecture-disclaimer { align-items: flex-start; font-size: 8px; line-height: 1.6; }
  .architecture-disclaimer .status-light { margin-top: 4px; }
  .audiences { grid-template-columns: 1fr; gap: 24px; }
  .audiences > .audience-index { grid-column: auto; }
  .audience-copy h2, .saas-copy h2 { font-size: clamp(42px, 9vw, 58px); }
  .context-diagram { grid-column: auto; }
  .saas-inner { grid-template-columns: 1fr; gap: 42px; }
  .saas-diagram { min-height: 305px; }
  .saas-copy { grid-row: 1; }
  .pilot-transition { min-height: 0; padding-block: 84px; display: block; }
  .pilot-accent { top: 10%; right: 17%; height: 80%; }
  .pilot-transition h2 { font-size: clamp(57px, 11vw, 76px); }
  .pilot-transition-copy > p:last-child { max-width: 590px; }
  .pilot-transition > .button { margin-top: 26px; }
  .application-wrap { grid-template-columns: 1fr; gap: 45px; }
  .application-intro { position: static; }
  .application-intro h2 { font-size: clamp(58px, 11vw, 76px); }
  .application-aside { margin-top: 25px; }
  .footer-main { min-height: 0; flex-direction: column; gap: 31px; }
  .footer-nav { max-width: 390px; gap: 15px 24px; }
  .footer-bottom { min-height: 0; padding-block: 17px; flex-wrap: wrap; justify-content: flex-start; gap: 13px 20px; }
  .footer-bottom p { width: 100%; }
}

@media (max-width: 480px) {
  :root { --gutter: 20px; --space-section: 76px; }
  .hero { padding-top: 63px; gap: 50px; }
  .hero .eyebrow { max-width: 260px; line-height: 1.6; }
  .hero h1 { font-size: clamp(54px, 12vw, 66px); }
  .hero-positioning { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .button { min-height: 49px; }
  .architecture-caption { font-size: 8px; }
  .architecture-board { padding: 16px 12px 13px; }
  .board-topline { font-size: 7px; }
  .hero-flow-step { grid-template-columns: 33px 1fr 12px; gap: 9px; }
  .hero-flow::before { left: 16px; }
  .flow-index { width: 32px; height: 32px; }
  .flow-label { font-size: 12px; }
  .flow-step-krya { min-height: 139px; }
  .krya-block { padding: 10px 8px; }
  .agent-constellation { gap: 4px; margin-left: 0; }
  .agent-constellation span { font-size: 6px; }
  .board-footnote { font-size: 8px; }
  .principle-ribbon { grid-template-columns: 1fr; gap: 0; }
  .principle-ribbon > div, .principle-ribbon > div + div { min-height: 81px; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); }
  .principle-ribbon strong { margin-top: 5px; }
  .workflow-step-featured { margin-left: 19px; }
  .workflow-step-featured::before { left: -20px; }
  .context-pivot { min-height: 125px; }
  .context-streams span { font-size: 7px; }
  .saas-diagram { min-height: 280px; padding: 13px; }
  .saas-orbit { width: 208px; height: 165px; }
  .saas-orbit-two { width: 285px; height: 224px; }
  .saas-orbit-one span:first-child { top: 16px; left: 2px; }
  .saas-orbit-one span:last-child { right: -18px; bottom: 19px; }
  .saas-orbit-two span:first-child { top: 38px; right: -14px; }
  .saas-orbit-two span:last-child { bottom: 17px; left: -13px; }
  .saas-diagram > p { left: 13px; }
  .form-grid { grid-template-columns: 1fr; gap: 21px; }
  .interest-field, .form-field-wide { grid-column: auto; }
  .form-submit-row { align-items: flex-start; flex-direction: column; }
  .check-options { display: grid; }
  .check-option span { min-height: 39px; display: flex; align-items: center; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-enabled .reveal { opacity: 1; transform: none; }
}

/* One-shot system activation */
[data-hero-system] .architecture-board { transition: transform .18s var(--ease); }
[data-hero-system].has-depth .architecture-board { transform: translate3d(var(--board-x, 0px), var(--board-y, 0px), 0); }
[data-hero-system].has-depth .board-topline,
[data-hero-system].has-depth .board-footnote { transform: translate3d(var(--caption-x, 0px), var(--caption-y, 0px), 0); transition: transform .18s var(--ease); }
[data-hero-system] .board-topline, [data-hero-system] .board-footnote { transition: transform .18s var(--ease); }
.hero-flow[data-signal] { --signal-start: 25px; --signal-end: calc(100% - 46px); }
.hero-flow[data-signal]::after { content: ''; position: absolute; z-index: 3; top: var(--signal-start); left: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); opacity: 0; pointer-events: none; }
[data-hero-system].is-running .hero-flow[data-signal]::after { animation: signal-travel 4.6s cubic-bezier(.42, 0, .58, 1) .4s forwards; }
[data-hero-system].is-running [data-system-node] { animation: flow-node-activate .72s var(--ease) both; }
[data-hero-system].is-running [data-system-node="brief"] { animation-delay: .4s; }
[data-hero-system].is-running [data-system-node="research"] { animation-delay: 1.4s; }
[data-hero-system].is-running [data-system-node="krya"] { animation-delay: 2.4s; }
[data-hero-system].is-running [data-system-node="review"] { animation-delay: 3.9s; }
[data-hero-system].is-running [data-system-node="analysis"] { animation-delay: 4.7s; }
[data-hero-system].is-running [data-system-node="krya"] .krya-block { animation: krya-coordinate 1.1s var(--ease) 2.4s both; }
[data-hero-system].is-running [data-system-node="krya"] .krya-block-heading strong { animation: krya-type 1.05s var(--ease) 2.4s both; }
[data-hero-system].is-running [data-agent] { animation: agent-respond .42s var(--ease) both; }
[data-hero-system].is-running [data-agent="research"] { animation-delay: 2.78s; }
[data-hero-system].is-running [data-agent="content"] { animation-delay: 2.92s; }
[data-hero-system].is-running [data-agent="audience"] { animation-delay: 3.06s; }
[data-hero-system].is-running [data-agent="campaign"] { animation-delay: 3.2s; }
[data-hero-system].is-running [data-agent="analysis"] { animation-delay: 3.34s; }

@keyframes flow-node-activate {
  0%, 100% { background-color: transparent; border-bottom-color: var(--line-dark); }
  35%, 62% { background-color: rgba(240, 100, 50, .055); border-bottom-color: rgba(240, 100, 50, .62); }
}
@keyframes krya-coordinate {
  0%, 100% { border-color: rgba(240, 100, 50, .56); background-color: rgba(240, 100, 50, .07); }
  42%, 68% { border-color: var(--orange); background-color: rgba(240, 100, 50, .15); }
}
@keyframes krya-type {
  0%, 100% { color: var(--paper); }
  45%, 70% { color: var(--orange); }
}
@keyframes agent-respond {
  0%, 100% { color: #d4cec2; border-color: rgba(245, 241, 232, .2); background-color: transparent; transform: translateY(0); }
  42%, 70% { color: var(--paper); border-color: rgba(240, 100, 50, .8); background-color: rgba(240, 100, 50, .13); transform: translateY(-1px); }
}

/* Scroll progression through the five conceptual phases */
.workflow-architecture { --phase-progress: 0; }
.workflow-step.is-active { opacity: 1; border-right-color: rgba(240, 100, 50, .62); }
.workflow-step.is-active::before { border-color: var(--orange); background: var(--orange); transform: scale(1.1); }
.workflow-step.is-active h3 { color: var(--paper); transform: translateY(-2px); }
.workflow-step.is-active .workflow-number { color: var(--orange); }
.workflow-step.is-complete { opacity: .78; }
.workflow-step.is-complete::before { border-color: rgba(240, 100, 50, .56); background: var(--orange); }
.workflow-step.is-complete .workflow-number::after { content: '✓'; margin-left: 1px; color: #aaa59c; font-size: 9px; }
.workflow-step-featured.is-active { border-color: var(--orange); background: rgba(240, 100, 50, .14); }
.workflow-step-featured.is-complete { border-color: rgba(240, 100, 50, .46); background: rgba(240, 100, 50, .07); }

/* Agency context activates once as the diagram enters view */
[data-agency-system].is-running [data-context-block] { animation: context-arrive .48s var(--ease) both; }
[data-agency-system].is-running .context-pivot [data-context-block]:first-child { animation-delay: .12s; }
[data-agency-system].is-running .context-pivot [data-context-block]:last-child { animation-delay: .42s; }
[data-agency-system].is-running .context-streams [data-context-block]:nth-child(1) { animation-delay: .7s; }
[data-agency-system].is-running .context-streams [data-context-block]:nth-child(2) { animation-delay: .82s; }
[data-agency-system].is-running .context-streams [data-context-block]:nth-child(3) { animation-delay: .94s; }
[data-agency-system].is-running .context-streams [data-context-block]:nth-child(4) { animation-delay: 1.06s; }
[data-agency-system].is-running [data-coordination-point] { animation: coordination-point .72s var(--ease) .3s both; }
[data-agency-system].is-running .context-pivot::before { animation: context-line .55s var(--ease) .25s both; }
[data-agency-system].is-running .context-pivot::after { animation: context-line .55s var(--ease) .45s both; }
@keyframes context-arrive {
  0% { opacity: .55; color: var(--orange); transform: translateY(2px); }
  100% { opacity: 1; color: inherit; transform: translateY(0); }
}
@keyframes coordination-point {
  0%, 100% { background: var(--ink); color: var(--orange); transform: scale(1); }
  45%, 68% { background: var(--orange); color: var(--ink); transform: scale(1.04); }
}
@keyframes context-line {
  0% { transform: scaleX(.55); opacity: .45; }
  100% { transform: scaleX(1); opacity: 1; }
}

/* The existing SaaS rings settle into alignment; they never loop */
[data-saas-system].is-running .saas-orbit-one { animation: saas-orbit-one-settle .95s var(--ease) both; }
[data-saas-system].is-running .saas-orbit-two { animation: saas-orbit-two-settle 1.05s var(--ease) .08s both; }
@keyframes saas-orbit-one-settle {
  0% { transform: translate(calc(-50% - 2px), -43%); }
  100% { transform: translate(-50%, -43%); }
}
@keyframes saas-orbit-two-settle {
  0% { transform: translate(calc(-50% + 2px), -45%); }
  100% { transform: translate(-50%, -45%); }
}

@media (max-width: 760px) {
  .hero-flow[data-signal] { --signal-start: 23.5px; --signal-end: calc(100% - 47.5px); }
  .hero-flow[data-signal]::after { left: 13px; }
  .workflow-step.is-active { border-right-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  [data-hero-system] .architecture-board,
  [data-hero-system].has-depth .architecture-board,
  [data-hero-system].has-depth .board-topline,
  [data-hero-system].has-depth .board-footnote { transform: none !important; transition: none !important; }
  .hero-flow[data-signal]::after { display: none !important; animation: none !important; }
  [data-hero-system].is-running [data-system-node],
  [data-hero-system].is-running [data-agent],
  [data-hero-system].is-running .krya-block,
  [data-hero-system].is-running .krya-block-heading strong,
  [data-agency-system].is-running [data-context-block],
  [data-agency-system].is-running [data-coordination-point],
  [data-agency-system].is-running .context-pivot::before,
  [data-agency-system].is-running .context-pivot::after,
  [data-saas-system].is-running .saas-orbit-one,
  [data-saas-system].is-running .saas-orbit-two { animation: none !important; }
  .workflow-rail-progress, .workflow-step, .workflow-step::before, .workflow-step h3 { transition: none !important; }
  .workflow-step.is-active h3, .workflow-step.is-active::before, .button:hover, .button:active { transform: none !important; }
  .button:hover, .button:active { box-shadow: none !important; }
}

/* The same context pieces move from fragmentation into coordination. */
.fragmentation-diagram { margin: 29px 0 29px; padding: 14px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fragmentation-diagram figcaption, .coordination-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.fragment-field { position: relative; min-height: 105px; margin-top: 7px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; }
.fragment-field::before { content: ''; position: absolute; top: 50%; right: 3%; left: 3%; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 10% 20%, transparent 20% 30%, var(--line) 30% 55%, transparent 55% 69%, var(--line) 69% 82%, transparent 82%); }
.fragment-field [data-context-piece] { position: relative; z-index: 1; width: fit-content; padding: 5px 7px; border: 1px solid #c9c3b8; background: var(--paper); color: #625e56; font-size: 9px; line-height: 1.2; transition: border-color .32s var(--ease), color .32s var(--ease); }
.fragment-field [data-context-piece]:nth-child(2n) { justify-self: end; }
.fragment-field [data-context-piece]:nth-child(3n) { --rest-y: 16px; }
.fragment-field [data-context-piece]:nth-child(4n) { --rest-y: -12px; }
.fragment-field [data-context-piece].is-separated { border-color: #bbb4a8; color: #77736b; }

.coordination-diagram { margin: clamp(54px, 7vw, 90px) 0 0; padding: 20px 22px 16px; background: #211f1c; color: var(--paper); }
.coordination-caption { color: #aaa59c; }
.coordination-system-line { min-height: 205px; margin-top: 18px; display: grid; grid-template-columns: minmax(155px, 1fr) minmax(42px, .34fr) minmax(190px, 1.05fr) minmax(42px, .34fr) minmax(115px, .7fr); align-items: center; gap: 12px; }
.coordination-kicker { display: block; margin-bottom: 12px; color: #aaa59c; font-size: 8px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.coordination-pieces { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.coordination-pieces span, .coordination-outcomes > span:not(.coordination-kicker) { padding: 6px 7px; border: 1px solid rgba(245, 241, 232, .22); color: #d4cec2; font-size: 8px; letter-spacing: .02em; transition: border-color .3s, color .3s, background .3s, transform .3s; }
.coordination-pieces span:nth-child(2n) { transform: translateY(3px); }
.coordination-connector { position: relative; height: 1px; background: rgba(245, 241, 232, .24); }
.coordination-connector::before { content: ''; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.coordination-connector [data-signal-packet] { position: absolute; z-index: 1; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); opacity: 0; }
.coordination-hub { min-height: 128px; padding: 15px 13px 12px; border: 1px solid rgba(240, 100, 50, .5); background: rgba(240, 100, 50, .055); transition: border-color .3s, background .3s; }
.coordination-hub > strong { display: block; font-size: 24px; line-height: 1; font-weight: 500; letter-spacing: -.06em; }
.coordination-specialists { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.coordination-specialists span { padding: 3px 5px; border: 1px solid rgba(245, 241, 232, .2); color: #c1bbb0; font-size: 7px; letter-spacing: .045em; text-transform: uppercase; transition: color .3s, border-color .3s, background .3s; }
.coordination-outcomes { display: flex; flex-direction: column; gap: 5px; }
.coordination-outcomes .coordination-kicker { margin: 0 0 6px; }
.coordination-footnote { display: flex; align-items: center; gap: 9px; margin: 0; padding-top: 13px; border-top: 1px solid var(--line-dark); color: #aaa59c; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.coordination-footnote .status-light { width: 5px; height: 5px; }
[data-coordination-story].is-running .coordination-connector::before { animation: connection-form .55s var(--ease) .45s both; }
[data-coordination-story].is-running .coordination-connector [data-signal-packet] { animation: coordination-packet .9s var(--ease) .42s both; }
[data-coordination-story].is-running .coordination-connector-output::before { animation-delay: 1.1s; transform-origin: left; }
[data-coordination-story].is-running .coordination-connector-output [data-signal-packet] { animation-delay: 1.08s; }
[data-coordination-story].is-running [data-context-piece] { animation: context-gather .48s var(--ease) both; }
[data-coordination-story].is-running .coordination-pieces [data-context-piece]:nth-child(1) { animation-delay: .05s; }
[data-coordination-story].is-running .coordination-pieces [data-context-piece]:nth-child(2) { animation-delay: .13s; }
[data-coordination-story].is-running .coordination-pieces [data-context-piece]:nth-child(3) { animation-delay: .21s; }
[data-coordination-story].is-running .coordination-pieces [data-context-piece]:nth-child(4) { animation-delay: .29s; }
[data-coordination-story].is-running .coordination-pieces [data-context-piece]:nth-child(5) { animation-delay: .37s; }
[data-coordination-story].is-running .coordination-pieces [data-context-piece]:nth-child(6) { animation-delay: .45s; }
[data-coordination-story].is-running .coordination-pieces [data-context-piece]:nth-child(7) { animation-delay: .53s; }
[data-coordination-story].is-running .coordination-hub { animation: hub-coordinate .8s var(--ease) .9s both; }
[data-coordination-story].is-running [data-agent] { animation: specialist-coordinate .38s var(--ease) both; }
[data-coordination-story].is-running [data-agent="research"] { animation-delay: 1.18s; }
[data-coordination-story].is-running [data-agent="content"] { animation-delay: 1.3s; }
[data-coordination-story].is-running [data-agent="audience"] { animation-delay: 1.42s; }
[data-coordination-story].is-running [data-agent="campaign"] { animation-delay: 1.54s; }
[data-coordination-story].is-running [data-agent="analysis"] { animation-delay: 1.66s; }
@keyframes connection-form { to { transform: scaleX(1); } }
@keyframes coordination-packet { 0% { left: 0; opacity: .9; } 100% { left: calc(100% - 5px); opacity: 0; } }
@keyframes context-gather { 0% { border-color: var(--orange); background-color: rgba(240, 100, 50, .14); transform: translateY(2px); } 100% { border-color: rgba(245, 241, 232, .22); background-color: transparent; transform: translateY(0); } }
@keyframes hub-coordinate { 0%, 100% { border-color: rgba(240, 100, 50, .5); background-color: rgba(240, 100, 50, .055); } 45%, 70% { border-color: var(--orange); background-color: rgba(240, 100, 50, .15); } }
@keyframes specialist-coordinate { 0%, 100% { color: #c1bbb0; border-color: rgba(245, 241, 232, .2); background: transparent; } 45%, 68% { color: var(--paper); border-color: rgba(240, 100, 50, .75); background: rgba(240, 100, 50, .12); } }

/* Keyboard and pointer previews teach the existing hero architecture. */
.hero-flow-step { transition: opacity .24s var(--ease), background-color .24s var(--ease), border-color .24s var(--ease); }
.flow-hit-target { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.flow-hit-target:focus-visible { outline: 2px solid var(--orange); outline-offset: -3px; }
[data-hero-system][data-focus-node] .hero-flow-step { opacity: .4; }
[data-hero-system][data-focus-node] [data-system-node="krya"] { opacity: .62; }
[data-hero-system][data-focus-node] [data-system-node="krya"] .krya-block { border-color: rgba(240, 100, 50, .78); }
[data-hero-system][data-focus-node] [data-system-node="krya"] .krya-block-heading strong { color: var(--orange); }
[data-hero-system][data-focus-node="brief"] [data-system-node="brief"],
[data-hero-system][data-focus-node="research"] [data-system-node="research"],
[data-hero-system][data-focus-node="krya"] [data-system-node="krya"],
[data-hero-system][data-focus-node="review"] [data-system-node="review"],
[data-hero-system][data-focus-node="analysis"] [data-system-node="analysis"] { opacity: 1; background: rgba(240, 100, 50, .07); border-bottom-color: rgba(240, 100, 50, .74); }
[data-hero-system][data-focus-node="krya"] .krya-block { background: rgba(240, 100, 50, .14); border-color: var(--orange); }
[data-hero-system][data-focus-node="krya"] [data-agent] { opacity: 1; border-color: rgba(240, 100, 50, .48); }
[data-hero-system][data-focus-node="research"] [data-system-node="krya"] .krya-block { background: rgba(240, 100, 50, .11); }
[data-hero-system][data-focus-node="review"] .hero-flow[data-signal]::after { display: none; animation: none; }
[data-hero-system][data-state="human-review"] [data-system-node="review"] { background: rgba(240, 100, 50, .075); border-bottom-color: rgba(240, 100, 50, .78); }
[data-hero-system][data-state="human-review"] .hero-flow[data-signal]::after { animation-play-state: paused; }

/* Information fragments separate as the problem section passes, then gather through Krya. */
.fragmentation-diagram [data-context-piece] { --spread-x: 0px; --spread-y: 0px; --rest-x: 0px; --rest-y: 0px; --fragment-x: 0px; --fragment-y: 0px; transform: translate3d(calc(var(--rest-x) + var(--fragment-x)), calc(var(--rest-y) + var(--fragment-y)), 0); }
.fragmentation-diagram [data-context-piece="brief"] { --spread-x: -18px; --spread-y: -8px; }
.fragmentation-diagram [data-context-piece="research"] { --spread-x: 12px; --spread-y: -12px; }
.fragmentation-diagram [data-context-piece="content"] { --spread-x: -22px; --spread-y: 10px; }
.fragmentation-diagram [data-context-piece="campaign"] { --spread-x: 18px; --spread-y: -14px; }
.fragmentation-diagram [data-context-piece="feedback"] { --spread-x: -16px; --spread-y: 12px; }
.fragmentation-diagram [data-context-piece="reporting"] { --spread-x: 22px; --spread-y: -10px; }
.fragmentation-diagram [data-context-piece="analysis"] { --spread-x: 11px; --spread-y: 16px; }
.problem[data-state="fragmented"] .fragmentation-diagram [data-context-piece] { border-color: #bdb6aa; }
.problem[data-state="fragmented"] .fragment-field::before { background: linear-gradient(90deg, transparent 0 10%, var(--line) 10% 18%, transparent 18% 31%, var(--line) 31% 43%, transparent 43% 60%, var(--line) 60% 72%, transparent 72% 100%); }

/* Workflow phase readout, review pause, and the one-time learning return. */
.workflow-rail-progress::after { content: ''; position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.workflow-step[data-workflow-step="04"].is-active { background: rgba(245, 241, 232, .055); }
.workflow-step[data-workflow-step="04"].is-active::before { border-color: var(--paper); background: var(--paper); }
.workflow-step[data-workflow-step="04"].is-active h3 { color: var(--orange); }
.workflow-state-readout { min-height: 29px; margin: 17px 0 0; display: flex; align-items: center; gap: 14px; color: #b6b1a7; font-size: 9px; line-height: 1.5; }
.workflow-state-index { color: var(--orange); font-size: 8px; font-weight: 600; letter-spacing: .1em; white-space: nowrap; }
.workflow-feedback { position: relative; margin-top: 14px; padding-top: 15px; display: grid; grid-template-columns: 93px minmax(50px, 1fr) 64px; align-items: center; gap: 11px; border-top: 1px solid var(--line-dark); color: #89847a; font-size: 7px; font-weight: 600; letter-spacing: .11em; opacity: .56; text-transform: uppercase; transition: opacity .4s var(--ease); }
.feedback-source { color: #b6b1a7; }
.feedback-target { text-align: right; }
.feedback-track { position: relative; height: 1px; background: rgba(245, 241, 232, .23); }
.feedback-track::after { content: '↶'; position: absolute; top: -10px; left: -2px; color: var(--orange); font-size: 12px; }
.feedback-track i { position: absolute; top: -2px; left: 100%; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); opacity: 0; }
.feedback-note { grid-column: 1 / -1; color: #89847a; font-size: 8px; font-weight: 400; letter-spacing: .04em; text-transform: none; }
[data-workflow-story][data-state="human-review"] .workflow-state-index { color: var(--paper); }
[data-workflow-story][data-state="human-review"] .workflow-state-readout { color: var(--paper); }
[data-workflow-story][data-state="complete"] .workflow-feedback { opacity: 1; }
[data-workflow-story][data-state="complete"] .feedback-track { background: rgba(240, 100, 50, .48); }
[data-workflow-story][data-state="complete"] .feedback-track i { animation: learning-return 1.1s var(--ease) .18s both; }
@keyframes learning-return { 0% { left: calc(100% - 5px); opacity: 0; } 24% { opacity: .9; } 82% { opacity: .8; } 100% { left: 0; opacity: 0; } }

/* Client contexts settle into a shared direction. */
.agency-context-objects { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 19px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.agency-context-objects span { padding: 4px 6px; border: 1px solid #d6d0c4; color: #615d55; font-size: 7px; letter-spacing: .035em; transition: border-color .3s, color .3s, background .3s, transform .3s; }
.context-pivot { min-height: 120px; margin-top: 9px; }
.pivot-mark { font-size: 14px; font-weight: 600; letter-spacing: -.04em; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(1) { animation-delay: .04s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(2) { animation-delay: .12s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(3) { animation-delay: .2s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(4) { animation-delay: .28s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(5) { animation-delay: .36s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(6) { animation-delay: .44s; }
[data-agency-system].is-running .agency-context-objects [data-context-block] { animation: context-arrive .48s var(--ease) both; }
[data-agency-system][data-state="coordinating"] .pivot-mark { background: var(--orange); color: var(--ink); }

/* The B2B SaaS path gives the existing rings a clear sequence of meaning. */
.saas-capacity-flow { position: relative; margin-top: 35px; padding-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.saas-capacity-flow::before { content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: var(--orange); opacity: .34; }
.saas-capacity-step { position: relative; padding: 0 8px 0 0; color: #77736b; font-size: 8px; line-height: 1.45; transition: color .3s var(--ease); }
.saas-capacity-step + .saas-capacity-step { padding-left: 8px; border-left: 1px solid #d6d0c4; }
.saas-capacity-step.is-active { color: var(--ink); }
.saas-capacity-step.is-complete { color: #5b574f; }
.saas-capacity-step.is-active::before, .saas-capacity-step.is-complete::before { content: ''; position: absolute; top: -16px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.saas-capacity-signal { position: absolute; z-index: 1; top: -3px; left: 12.5%; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); opacity: 0; transition: left .45s var(--ease), opacity .2s; }
[data-saas-experience][data-state="team"] .saas-capacity-signal { left: 12.5%; opacity: 1; }
[data-saas-experience][data-state="handoffs"] .saas-capacity-signal { left: 37.5%; opacity: 1; }
[data-saas-experience][data-state="coordination"] .saas-capacity-signal { left: 62.5%; opacity: 1; }
[data-saas-experience][data-state="capacity"] .saas-capacity-signal { left: 87.5%; opacity: 1; }
[data-saas-experience].is-running .saas-orbit-one { animation: saas-orbit-one-settle .95s var(--ease) both; }
[data-saas-experience].is-running .saas-orbit-two { animation: saas-orbit-two-settle 1.05s var(--ease) .08s both; }
[data-saas-experience][data-state="handoffs"] .saas-diagram { border-color: #c1bbae; }
[data-saas-experience][data-state="coordination"] .saas-center { box-shadow: inset 0 0 0 1px rgba(240, 100, 50, .5); }

/* The pilot signal resolves the story toward the application action. */
.pilot-transition { isolation: isolate; }
.pilot-accent { pointer-events: none; }
.pilot-accent::after { content: ''; position: absolute; top: 0; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); opacity: 0; }
[data-pilot-experience].is-signalled .pilot-accent::after { animation: pilot-resolution 1.15s var(--ease) .15s both; }
[data-pilot-experience][data-state="ready"] .pilot-accent { opacity: .82; }
@keyframes pilot-resolution { 0% { top: 0; opacity: 0; } 18% { opacity: 1; } 76% { opacity: .9; } 100% { top: 76%; opacity: 0; } }

@media (max-width: 760px) {
  .coordination-diagram { margin-top: 52px; padding: 17px 15px 14px; }
  .coordination-system-line { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .coordination-origin, .coordination-outcomes { max-width: none; }
  .coordination-pieces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .coordination-connector { width: 1px; height: 28px; margin-inline: auto; }
  .coordination-connector::before { transform: scaleY(0); transform-origin: top; }
  .coordination-connector [data-signal-packet] { top: 0; left: -2px; }
  .coordination-hub { min-height: 0; }
  .coordination-outcomes { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
  .coordination-outcomes .coordination-kicker { grid-column: 1 / -1; }
  .coordination-outcomes > span:not(.coordination-kicker) { text-align: center; }
  [data-coordination-story].is-running .coordination-connector::before { animation-name: connection-form-mobile; }
  [data-coordination-story].is-running .coordination-connector [data-signal-packet] { animation-name: coordination-packet-mobile; }
  .workflow-state-readout { align-items: flex-start; flex-direction: column; gap: 4px; }
  .workflow-feedback { grid-template-columns: 78px minmax(35px, 1fr) 57px; gap: 8px; }
  .context-diagram { padding: 15px 13px 12px; }
  .agency-context-objects { gap: 4px; }
  .agency-context-objects span { padding: 4px 5px; font-size: 6px; }
  .context-pivot { min-height: 112px; }
  .saas-capacity-flow { grid-template-columns: 1fr 1fr; gap: 13px 0; margin-top: 27px; }
  .saas-capacity-flow::before, .saas-capacity-signal { display: none; }
  .saas-capacity-step { min-height: 30px; padding-left: 10px; }
  .saas-capacity-step + .saas-capacity-step { border-left: 0; }
  .saas-capacity-step::before { content: ''; position: absolute; top: 2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #b8b1a5; }
  .saas-capacity-step.is-active::before, .saas-capacity-step.is-complete::before { background: var(--orange); }
}

@keyframes connection-form-mobile { to { transform: scaleY(1); } }
@keyframes coordination-packet-mobile { 0% { top: 0; opacity: .9; } 100% { top: calc(100% - 5px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .fragmentation-diagram [data-context-piece] { --fragment-x: 0px !important; --fragment-y: 0px !important; }
  .coordination-connector::before, .coordination-connector [data-signal-packet], .feedback-track i, .pilot-accent::after { display: none !important; animation: none !important; }
  [data-coordination-story].is-running .coordination-hub,
  [data-coordination-story].is-running [data-agent],
  [data-coordination-story].is-running [data-context-piece],
  [data-saas-experience].is-running .saas-orbit-one,
  [data-saas-experience].is-running .saas-orbit-two,
  [data-pilot-experience].is-signalled .pilot-accent::after { animation: none !important; }
  .saas-capacity-signal { transition: none !important; }
}

/* Hero state machine timing: arrive, coordinate, pause for judgment, learn, return. */
.hero-flow[data-signal] { --signal-research: calc(var(--signal-start) + 49px); --signal-krya: calc(var(--signal-start) + 147px); --signal-review: calc(var(--signal-start) + 238px); }
[data-hero-system].is-running .hero-flow[data-signal]::after { animation-duration: 6.4s; }
[data-hero-system].is-running [data-system-node="analysis"] { animation-delay: 5.5s; }
[data-hero-system].is-running [data-system-node="review"] { animation: human-review-hold 1.4s var(--ease) 3.9s both; }
@keyframes signal-travel {
  0% { top: var(--signal-start); opacity: 0; }
  4% { top: var(--signal-start); opacity: .9; }
  16% { top: var(--signal-research); opacity: .9; }
  34% { top: var(--signal-krya); opacity: .9; }
  54%, 69% { top: var(--signal-review); opacity: .9; }
  85%, 88% { top: var(--signal-end); opacity: .9; }
  90% { top: calc(var(--signal-start) + 52px); opacity: .48; }
  96% { top: calc(var(--signal-start) + 12px); opacity: .22; }
  100% { top: var(--signal-start); opacity: 0; }
}
@keyframes human-review-hold {
  0%, 100% { background-color: transparent; border-bottom-color: var(--line-dark); }
  12%, 82% { background-color: rgba(245, 241, 232, .055); border-bottom-color: rgba(240, 100, 50, .7); }
}

/* Replace repeated tags with a keyboard-operable focus target on each hero stage. */
.flow-hit-target { touch-action: manipulation; }
[data-hero-system][data-focus-node] .hero-flow-step { opacity: .4; }
[data-hero-system][data-focus-node] [data-system-node="krya"] { opacity: .62; }
[data-hero-system][data-focus-node] [data-system-node="krya"] .krya-block { border-color: rgba(240, 100, 50, .78); }
[data-hero-system][data-focus-node] [data-system-node="krya"] .krya-block-heading strong { color: var(--orange); }
[data-hero-system][data-focus-node="brief"] [data-system-node="brief"],
[data-hero-system][data-focus-node="research"] [data-system-node="research"],
[data-hero-system][data-focus-node="krya"] [data-system-node="krya"],
[data-hero-system][data-focus-node="review"] [data-system-node="review"],
[data-hero-system][data-focus-node="analysis"] [data-system-node="analysis"] { opacity: 1; background: rgba(240, 100, 50, .07); border-bottom-color: rgba(240, 100, 50, .74); }
[data-hero-system][data-focus-node="krya"] .krya-block { background: rgba(240, 100, 50, .14); border-color: var(--orange); }
[data-hero-system][data-focus-node="krya"] [data-agent] { opacity: 1; border-color: rgba(240, 100, 50, .48); }
[data-hero-system][data-focus-node="research"] [data-system-node="krya"] .krya-block { background: rgba(240, 100, 50, .11); }
[data-hero-system][data-focus-node="review"] .hero-flow[data-signal]::after { display: none; animation: none; }

/* Scroll connects the same labels that appear fragmented above. */
.fragmentation-diagram .fragment-field [data-context-piece] { --spread-x: 0px; --spread-y: 0px; --rest-x: 0px; --rest-y: 0px; --fragment-x: 0px; --fragment-y: 0px; transform: translate3d(calc(var(--rest-x) + var(--fragment-x)), calc(var(--rest-y) + var(--fragment-y)), 0); }
.fragmentation-diagram .fragment-field [data-context-piece="brief"] { --spread-x: -18px; --spread-y: -8px; }
.fragmentation-diagram .fragment-field [data-context-piece="research"] { --spread-x: 12px; --spread-y: -12px; }
.fragmentation-diagram .fragment-field [data-context-piece="content"] { --spread-x: -22px; --spread-y: 10px; }
.fragmentation-diagram .fragment-field [data-context-piece="campaign"] { --spread-x: 18px; --spread-y: -14px; }
.fragmentation-diagram .fragment-field [data-context-piece="feedback"] { --spread-x: -16px; --spread-y: 12px; }
.fragmentation-diagram .fragment-field [data-context-piece="reporting"] { --spread-x: 22px; --spread-y: -10px; }
.fragmentation-diagram .fragment-field [data-context-piece="analysis"] { --spread-x: 11px; --spread-y: 16px; }
.fragmentation-diagram .fragment-field [data-context-piece]:nth-child(3n) { --rest-y: 16px; }
.fragmentation-diagram .fragment-field [data-context-piece]:nth-child(4n) { --rest-y: -12px; }
.problem[data-state="fragmented"] .fragmentation-diagram .fragment-field [data-context-piece] { border-color: #bdb6aa; }

/* The coordination diagram settles into connected, illustrative architecture. */
[data-coordination-story][data-state="settled"] .coordination-connector::before { transform: scaleX(.36); opacity: .32; }
[data-coordination-story][data-state="settled"] .coordination-pieces span { transform: none; border-color: rgba(245, 241, 232, .31); }
[data-coordination-story][data-state="settled"] .coordination-hub { border-color: rgba(240, 100, 50, .67); background: rgba(240, 100, 50, .08); }

/* Make the workflow readout and return signal part of one scroll narrative. */
.workflow-rail-progress::after { box-shadow: 0 0 0 2px rgba(240, 100, 50, .1); }
[data-workflow-story][data-state="human-review"] .workflow-state-index,
[data-workflow-story][data-state="human-review"] .workflow-state-readout { color: var(--paper); }
.workflow-feedback.is-returned { opacity: 1; }
.workflow-feedback.is-returned .feedback-track { background: rgba(240, 100, 50, .48); }
.workflow-feedback.is-returned .feedback-track i { animation: learning-return 1.1s var(--ease) .18s both; }
[data-workflow-story][data-state="complete"] .workflow-feedback { opacity: 1; }

/* Agency context appears first; Krya then aligns the labeled work streams. */
[data-agency-system].is-running .agency-context-objects [data-context-block] { animation: context-arrive .48s var(--ease) both; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(1) { animation-delay: .04s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(2) { animation-delay: .12s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(3) { animation-delay: .2s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(4) { animation-delay: .28s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(5) { animation-delay: .36s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(6) { animation-delay: .44s; }
[data-agency-system].is-running .agency-context-objects [data-context-block]:nth-child(7) { animation-delay: .52s; }
[data-agency-system].is-running .context-pivot [data-context-block]:first-child { animation-delay: .68s; }
[data-agency-system].is-running .context-pivot [data-context-block]:last-child { animation-delay: .94s; }
[data-agency-system].is-running .context-streams [data-context-block]:nth-child(1) { animation-delay: 1.14s; }
[data-agency-system].is-running .context-streams [data-context-block]:nth-child(2) { animation-delay: 1.26s; }
[data-agency-system].is-running .context-streams [data-context-block]:nth-child(3) { animation-delay: 1.38s; }
[data-agency-system].is-running .context-streams [data-context-block]:nth-child(4) { animation-delay: 1.5s; }
[data-agency-system].is-running [data-coordination-point] { animation-delay: .75s; }
[data-agency-system].is-running .context-pivot::before { animation-delay: .65s; }
[data-agency-system].is-running .context-pivot::after { animation-delay: .85s; }
[data-agency-system][data-state="settled"] .agency-context-objects span { border-color: #cbc4b8; }

/* Each SaaS state advances the same orange information marker by one phase. */
[data-saas-experience][data-state="team"] [data-saas-step="team"],
[data-saas-experience][data-state="handoffs"] [data-saas-step="handoffs"],
[data-saas-experience][data-state="coordination"] [data-saas-step="coordination"],
[data-saas-experience][data-state="capacity"] [data-saas-step="capacity"] { color: var(--ink); }
[data-saas-experience][data-state="team"] [data-saas-step="team"]::before,
[data-saas-experience][data-state="handoffs"] [data-saas-step="handoffs"]::before,
[data-saas-experience][data-state="coordination"] [data-saas-step="coordination"]::before,
[data-saas-experience][data-state="capacity"] [data-saas-step="capacity"]::before { background: var(--orange); }
[data-saas-experience].is-running .saas-orbit-one { animation: saas-orbit-one-settle .95s var(--ease) both; }
[data-saas-experience].is-running .saas-orbit-two { animation: saas-orbit-two-settle 1.05s var(--ease) .08s both; }

/* The last context signal resolves into the existing pilot call to action. */
[data-pilot-experience][data-state="ready"] .pilot-accent { opacity: .82; }

@media (max-width: 760px) {
  .hero-flow[data-signal] { --signal-start: 23.5px; --signal-research: calc(var(--signal-start) + 49px); --signal-krya: calc(var(--signal-start) + 151.5px); --signal-review: calc(var(--signal-start) + 237px); --signal-end: calc(100% - 47.5px); }
  .hero-flow[data-signal]::after { left: 13px; }
  .coordination-connector::before { transform: scaleY(0); transform-origin: top; }
  [data-coordination-story][data-state="settled"] .coordination-connector::before { transform: scaleY(.36); }
  [data-coordination-story].is-running .coordination-connector::before { animation-name: connection-form-mobile; }
  [data-coordination-story].is-running .coordination-connector [data-signal-packet] { animation-name: coordination-packet-mobile; }
}

@media (prefers-reduced-motion: reduce) {
  .fragmentation-diagram .fragment-field [data-context-piece] { --fragment-x: 0px !important; --fragment-y: 0px !important; }
  [data-hero-system].is-running .hero-flow[data-signal]::after,
  [data-coordination-story].is-running .coordination-connector [data-signal-packet],
  .workflow-feedback .feedback-track i,
  [data-pilot-experience] .pilot-accent::after { display: none !important; animation: none !important; }
  .workflow-step.is-active h3, .workflow-step.is-active::before, .button:hover, .button:active { transform: none !important; }
  .workflow-step.is-active h3, .workflow-step.is-active::before, .button:hover, .button:active { box-shadow: none !important; }
}

/* The same context packet passes through the agency coordination model. */
.context-pivot .agency-signal-packet { position: absolute; z-index: 2; top: 50%; left: 15%; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: 0; pointer-events: none; }
[data-agency-system].is-running .agency-signal-packet { animation: agency-signal-travel .92s var(--ease) .82s both; }
@keyframes agency-signal-travel {
  0% { left: 15%; opacity: 0; }
  12% { opacity: .9; }
  76% { left: 78%; opacity: .9; }
  100% { left: 83%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .context-pivot .agency-signal-packet { display: none !important; animation: none !important; }
}

/* Cinematic starfield: one responsive canvas over subtle near-black atmosphere. */
html, body { background: #000; }
body { isolation: isolate; }
.cosmic-backdrop { position: fixed; z-index: 0; inset: 0; overflow: hidden; background: #000; pointer-events: none; }
.cosmic-backdrop::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 24% 34%, rgba(82,82,82,.045), transparent 46%), radial-gradient(ellipse at 76% 68%, rgba(58,58,58,.035), transparent 52%); }
.cosmic-canvas { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; opacity: .98; transition: opacity 1.2s var(--ease); }
.cosmic-backdrop[data-zone="arrival"] .cosmic-canvas { opacity: .72; }

/* Keep the whole document on the void canvas; each existing section retains its layout. */
main, .site-footer { position: relative; z-index: 1; background: transparent; }
.site-header { background: rgba(0,0,0,.82); border-bottom-color: rgba(255,255,255,.16); }
.site-nav { background-color: #000; }
.site-nav a, .footer-nav a { color: #e7e7e7; }
.site-nav .nav-apply { border-bottom-color: rgba(255,255,255,.55); color: #fff; }
.site-nav .nav-apply:hover { border-color: var(--orange); color: var(--orange); }
.hero-description, .approach-copy > p, .audience-copy > p, .saas-copy > p, .pilot-transition-copy > p:last-child { color: #b7b7b7; }
.button-dark { background: #fff; color: #000; }
.button-dark:hover { background: var(--orange); color: #000; box-shadow: 0 0 0 1px rgba(240,100,50,.38); }
.button-orange { background: var(--orange); color: #050505; }
.button-orange:hover { background: #ff7b4b; color: #050505; box-shadow: 0 0 13px rgba(240,100,50,.2); }
.button:hover { box-shadow: 0 0 0 1px rgba(240,100,50,.22); }
.architecture-caption, .caption-index, .figure-note, .section-aside, .audience-index, .pilot-transition .eyebrow { color: #a6a6a6; }
.architecture-board { border: 1px solid rgba(255,255,255,.17); background: rgba(0,0,0,.82); color: #fff; }
.hero-flow-step { border-bottom-color: rgba(255,255,255,.16); }
.hero-flow::before { background: rgba(255,255,255,.24); }
.flow-index { border-color: rgba(255,255,255,.3); background: #000; color: #bbb; }
.flow-symbol { color: #8d8d8d; }
.krya-block { position: relative; isolation: isolate; overflow: hidden; border-color: rgba(240,100,50,.52); background: rgba(5,5,5,.82); }
.krya-block::before { content: ''; position: absolute; z-index: 0; top: 50%; right: -12px; width: 110px; height: 110px; border: 1px solid rgba(240,100,50,.18); border-radius: 50%; box-shadow: 0 0 0 8px rgba(240,100,50,.035), 0 0 0 19px rgba(255,255,255,.035); transform: translateY(-50%); pointer-events: none; }
.krya-block-heading, .agent-constellation { position: relative; z-index: 1; }
.krya-mark { border: 1px solid rgba(240,100,50,.86); background: #080604; color: #ff8a5c; box-shadow: 0 0 0 3px rgba(240,100,50,.055); }
.krya-block-heading small, .board-topline, .board-footnote { color: #aaa; }
.agent-constellation span { border-color: rgba(255,255,255,.2); color: #d6d6d6; }
.hero-flow[data-signal]::after { box-shadow: 0 0 7px rgba(240,100,50,.48); }
.problem-content, .approach, .audiences, .pilot-transition { color: #f5f5f5; }
.section-line, .friction-list, .friction-list li, .approach-copy .development-note, .principle-ribbon, .principle-ribbon > div + div { border-color: rgba(255,255,255,.16); }
.problem .eyebrow, .approach .eyebrow { color: #a3a3a3; }
.section-intro, .friction-list li { color: #d0d0d0; }
.fragmentation-diagram { border-color: rgba(255,255,255,.16); }
.fragmentation-diagram figcaption, .coordination-caption { color: #999; }
.fragment-field::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,.16) 10% 20%, transparent 20% 30%, rgba(255,255,255,.16) 30% 55%, transparent 55% 69%, rgba(255,255,255,.16) 69% 82%, transparent 82%); }
.fragment-field [data-context-piece] { border: 0; background: transparent; color: #aaa; }
.fragment-field [data-context-piece]::before { content: ''; width: 4px; height: 4px; margin-right: 7px; display: inline-block; border-radius: 50%; background: rgba(255,255,255,.68); vertical-align: 1px; }
.problem[data-state="fragmented"] .fragment-field [data-context-piece] { color: #eee; }
.problem[data-state="fragmented"] .fragment-field [data-context-piece]::before { background: var(--orange); box-shadow: 0 0 5px rgba(240,100,50,.25); }
.coordination-diagram { border: 1px solid rgba(255,255,255,.17); background: rgba(0,0,0,.88); color: #fff; }
.coordination-caption, .coordination-kicker, .coordination-footnote { color: #999; }
.coordination-pieces span, .coordination-outcomes > span:not(.coordination-kicker) { border-color: rgba(255,255,255,.19); color: #d4d4d4; }
.coordination-connector { background: rgba(255,255,255,.24); }
.coordination-hub { border-color: rgba(240,100,50,.46); background: rgba(240,100,50,.035); }
.coordination-specialists span { border-color: rgba(255,255,255,.2); color: #c8c8c8; }
.coordination-footnote { border-top-color: rgba(255,255,255,.15); }
.workflow-section { background: transparent; color: #fff; }
.workflow-heading > p, .eyebrow-light, .architecture-disclaimer { color: #aaa; }
.workflow-architecture { border-top-color: rgba(255,255,255,.24); }
.workflow-rail { background: rgba(255,255,255,.2); }
.workflow-step { border-right-color: rgba(255,255,255,.14); }
.workflow-step::before { border-color: #777; background: #000; }
.workflow-number span { color: #929292; }
.workflow-step h3, .workflow-step.is-active h3 { color: #fff; }
.workflow-step p { color: #aaa; }
.workflow-step[data-workflow-step="04"].is-active::before { border-color: #fff; background: #fff; }
.workflow-token { color: #858585; }
.workflow-step-featured { border-color: rgba(240,100,50,.58); background: rgba(240,100,50,.055); }
.workflow-step-featured p { color: #c7c7c7; }
.workflow-mini-agents span { border-color: rgba(255,255,255,.2); color: #ccc; }
.workflow-step[data-workflow-step="04"].is-active { background: rgba(255,255,255,.045); }
.workflow-state-readout, .feedback-source { color: #aaa; }
[data-workflow-story][data-state="human-review"] .workflow-state-index,
[data-workflow-story][data-state="human-review"] .workflow-state-readout { color: #fff; }
.workflow-feedback { color: #999; }
.feedback-track { background: rgba(255,255,255,.2); }
.feedback-note { color: #888; }
.context-diagram { border-color: rgba(255,255,255,.18); background: rgba(0,0,0,.82); color: #f3f3f3; }
.context-diagram-header, .saas-diagram-heading { color: #999; }
.agency-context-objects { border-bottom-color: rgba(255,255,255,.16); }
.agency-context-objects span { border-color: rgba(255,255,255,.22); color: #ccc; background: rgba(255,255,255,.015); }
.context-pivot::before, .context-pivot::after { background: rgba(255,255,255,.2); }
.context-pivot > span:not(.pivot-mark):not(.agency-signal-packet) { background: #030303; color: #ddd; }
.pivot-mark { border: 1px solid rgba(240,100,50,.45); background: #050505; color: #ff8a5c; }
.context-streams { border-color: rgba(255,255,255,.16); }
.context-streams span { color: #c6c6c6; }
.context-base { color: #999; }
.saas-section { background: transparent; color: #fff; }
.saas-diagram { border-color: rgba(255,255,255,.17); background: rgba(0,0,0,.84); }
.saas-center { border: 1px solid rgba(255,255,255,.16); background: #030303; color: #fff; }
.saas-orbit, .saas-orbit-two { border-color: rgba(255,255,255,.22); }
.saas-orbit span { background: #030303; color: #ccc; }
.saas-diagram > p { color: #999; }
.saas-capacity-flow { border-top-color: rgba(255,255,255,.16); }
.saas-capacity-flow::before { opacity: .24; }
.saas-capacity-step { color: #898989; }
.saas-capacity-step + .saas-capacity-step { border-left-color: rgba(255,255,255,.15); }
.saas-capacity-step.is-active, [data-saas-experience][data-state="team"] [data-saas-step="team"], [data-saas-experience][data-state="handoffs"] [data-saas-step="handoffs"], [data-saas-experience][data-state="coordination"] [data-saas-step="coordination"], [data-saas-experience][data-state="capacity"] [data-saas-step="capacity"] { color: #fff; }
.saas-capacity-step.is-complete { color: #b4b4b4; }
.pilot-transition { color: #fff; }
.pilot-transition-copy > p:last-child { color: #b4b4b4; }
.pilot-accent { right: 24%; width: 1px; height: 46%; opacity: .28; background: linear-gradient(180deg, transparent, rgba(240,100,50,.72), transparent); transform: none; }
.application-section { background: transparent; color: #fff; }
.application-intro > p:not(.eyebrow) { color: #b6b6b6; }
.application-aside, .form-submit-row p { color: #999; }
.form-field > label, .form-field legend { color: #e3e3e3; }
.form-field input, .form-field select, .form-field textarea { border-color: rgba(255,255,255,.22); background: #030303; color: #fff; }
.form-field input::placeholder, .form-field textarea::placeholder, .form-field legend small, .form-field select:invalid { color: #858585; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { background: rgba(255,255,255,.025); }
.form-field select option { background: #050505; color: #fff; }
.check-option span { border-color: rgba(255,255,255,.22); color: #c5c5c5; }
.check-option input:checked + span { color: #fff; border-color: rgba(240,100,50,.8); }
.form-confirmation { background: rgba(255,255,255,.045); color: #fff; }
.site-footer { background: transparent; color: #fff; }
.footer-brand-block > p, .footer-bottom { color: #999; }
.footer-bottom { border-top-color: rgba(255,255,255,.16); }
::selection { color: #000; background: var(--orange); }

@media (max-width: 760px) {
  .site-nav { background: #000; border-bottom-color: rgba(255,255,255,.17); }
  .site-nav a { border-bottom-color: rgba(255,255,255,.14); }
  .cosmic-canvas { opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  .cosmic-canvas { transition: none; }
}

/* Let the typography and starfield share one continuous surface. */
.site-header { border: 0; background: transparent; }
.site-nav { background: transparent; }
.site-nav > a:not(.nav-apply)::after { display: none; }
.site-nav .nav-apply { border: 0; }
.text-link { border: 0; }
.section-line { border: 0; }

.architecture-board,
.coordination-diagram,
.context-diagram,
.saas-diagram { border: 0; background: transparent; }
.board-topline { border: 0; }
.hero-flow::before { display: none; }
.hero-flow-step,
.flow-step-krya { border: 0; background: transparent; }
.flow-index { border: 0; border-radius: 0; background: transparent; color: #777; }
.krya-block { border: 0; background: transparent; }
.krya-block::before { right: -36px; width: 190px; height: 190px; border: 0; border-radius: 50%; background: radial-gradient(circle, rgba(240,100,50,.075), transparent 69%); box-shadow: none; }
.krya-mark { border: 0; background: transparent; box-shadow: none; color: var(--orange); }
.agent-constellation span { border: 0; }
.hero-flow-step[data-system-node] { border-bottom: 0; }
[data-hero-system][data-focus-node] [data-system-node],
[data-hero-system][data-state="human-review"] [data-system-node="review"],
[data-hero-system] [data-focus-node] .krya-block { background: transparent !important; }
[data-hero-system] [data-agent],
.coordination-diagram [data-agent] { border: 0; background: transparent !important; }
[data-hero-system].is-running [data-agent] { animation-name: agent-respond-ambient; }
[data-coordination-story].is-running [data-agent] { animation-name: specialist-coordinate-ambient; }
@keyframes agent-respond-ambient {
  0%, 100% { color: #d6d6d6; transform: translateY(0); }
  42%, 70% { color: #ff9a72; transform: translateY(-1px); }
}
@keyframes specialist-coordinate-ambient {
  0%, 100% { color: #c8c8c8; }
  45%, 68% { color: #ff9a72; }
}

.friction-list,
.friction-list li,
.approach-copy .development-note,
.principle-ribbon,
.principle-ribbon > div + div,
.fragmentation-diagram { border: 0; }
.friction-list { display: grid; gap: 10px; }
.friction-list li { min-height: 32px; }
.principle-ribbon { column-gap: 28px; }
.principle-ribbon > div + div { padding-left: 0; }
.fragment-field::before { display: none; }

.coordination-pieces span,
.coordination-outcomes > span:not(.coordination-kicker),
.coordination-specialists span,
.coordination-hub { border: 0; background: transparent; }
.coordination-diagram [data-context-piece],
.coordination-diagram [data-agent],
.coordination-diagram .coordination-hub { background: transparent !important; }
.coordination-connector { height: 0; background: transparent; }
.coordination-connector::before,
.coordination-connector [data-signal-packet] { display: none; }
.coordination-footnote { border: 0; }

.workflow-architecture { border: 0; }
.workflow-rail,
.workflow-rail-progress { display: none; }
.workflow-step { border: 0; }
.workflow-step::before { border: 0; background: transparent; }
.workflow-step.is-active::before { background: var(--orange); box-shadow: 0 0 12px rgba(240,100,50,.24); }
.workflow-step-featured { border: 0; background: transparent; }
.workflow-step-featured.is-active,
.workflow-step-featured.is-complete { border: 0; background: transparent; }
.workflow-mini-agents span { border: 0; }
.workflow-step[data-workflow-step="04"].is-active { background: transparent; }
.workflow-step[data-workflow-step="04"].is-active::before { background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.18); }
.workflow-feedback,
.feedback-track { border: 0; background: transparent !important; }
.workflow-feedback { padding-top: 0; }
.feedback-track::after { display: none; }

.context-diagram-header,
.saas-diagram-heading { border: 0; }
.agency-context-objects,
.agency-context-objects span,
.context-streams { border: 0; background: transparent; }
.agency-context-objects { gap: 12px 18px; padding-bottom: 0; }
.agency-context-objects span { padding-inline: 0; }
.context-pivot::before,
.context-pivot::after { display: none; }
.context-pivot > span:not(.pivot-mark):not(.agency-signal-packet) { background: transparent; }
.pivot-mark { width: auto; height: auto; border: 0; border-radius: 0; background: transparent; }
.context-diagram [data-coordination-point] { border: 0; background: transparent !important; box-shadow: none !important; }
.context-streams { gap: 14px; }
.context-pivot .agency-signal-packet { box-shadow: 0 0 8px rgba(240,100,50,.3); }

.saas-center { width: auto; height: auto; border: 0; border-radius: 0; background: transparent; }
.saas-center { box-shadow: none !important; }
.saas-orbit,
.saas-orbit-two { border: 0; }
.saas-orbit span { padding: 0; background: transparent; }
.saas-capacity-flow,
.saas-capacity-step + .saas-capacity-step { border: 0; }
.saas-capacity-flow::before { display: none; }
.saas-capacity-signal { display: none; }
.pilot-accent { opacity: .12; }

.application-form,
.form-grid,
.form-field,
.form-confirmation { background: transparent; }
.form-field input,
.form-field select,
.form-field textarea { border: 0; border-bottom: 1px solid rgba(255,255,255,.09); background: transparent; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: rgba(240,100,50,.68); background: transparent; }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.check-option span { border: 0; background: transparent; padding-inline: 0; }
.check-option input:checked + span { border: 0; background: transparent; color: var(--orange); }
.form-confirmation { border: 0; padding-inline: 0; }
.footer-bottom { border: 0; }

@media (max-width: 760px) {
  .site-nav { border: 0; background: transparent; }
  .site-nav.is-open { background: linear-gradient(180deg, rgba(0,0,0,.96), rgba(0,0,0,.72) 76%, transparent); }
  .site-nav a { border: 0; }
  .principle-ribbon > div,
  .principle-ribbon > div + div { border: 0; }
  .workflow-step,
  .workflow-step + .workflow-step { border: 0; }
}

/* A quiet companion that drifts with page progress, then settles between scrolls. */
.cosmic-rocket {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(8px, 1.2vw, 18px);
  width: 44px;
  height: 80px;
  display: block;
  color: #fff;
  opacity: .82;
  pointer-events: none;
  transform: translate3d(0, calc(-50% + var(--rocket-scroll-offset, 0px)), 0);
  transition: transform 220ms cubic-bezier(.22,.7,.25,1);
}
.cosmic-rocket-orientation {
  position: absolute;
  inset: 0;
  display: block;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 360ms cubic-bezier(.22,.7,.25,1);
}
.cosmic-rocket[data-scroll-direction="down"] .cosmic-rocket-orientation { transform: rotate(180deg); }
.cosmic-rocket-image {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: invert(1) grayscale(1) brightness(.92);
  mix-blend-mode: screen;
  transform-origin: 50% 55%;
  animation: rocket-idle-wiggle 3.2s ease-in-out infinite;
}
@keyframes rocket-idle-wiggle {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  28% { transform: translateY(-2px) rotate(1deg); }
  58% { transform: translateY(1px) rotate(1.5deg); }
  82% { transform: translateY(-1px) rotate(-.5deg); }
}
.rocket-exhaust {
  position: absolute;
  z-index: 1;
  top: calc(100% - 19px);
  left: 0;
  width: 100%;
  height: 54px;
  display: block;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(77,228,255,.56)) drop-shadow(0 0 9px rgba(22,141,255,.34));
}
.rocket-exhaust svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rocket-plume-cloud {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: rocket-cloud-billow .72s ease-in-out infinite alternate;
}
.rocket-plume-fusion {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: rocket-fusion-pulse .54s ease-in-out infinite alternate;
}
.rocket-plume-left,
.rocket-plume-right {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: rocket-plume-flicker .52s ease-in-out infinite alternate;
}
.rocket-plume-right { animation-duration: .67s; animation-delay: -.23s; }
@keyframes rocket-cloud-billow {
  from { opacity: .78; transform: scale(.96,.97); }
  to { opacity: 1; transform: scale(1.05,1.04); }
}
@keyframes rocket-fusion-pulse {
  from { opacity: .84; transform: scale(.96,.96); }
  to { opacity: 1; transform: scale(1.04,1.03); }
}
@keyframes rocket-plume-flicker {
  from { opacity: .86; transform: scale(.96,.94); }
  to { opacity: 1; transform: scale(1.05,1.07); }
}
@media (max-width: 760px) {
  .cosmic-rocket { left: 5px; width: 34px; height: 62px; opacity: .72; }
  .rocket-exhaust { top: calc(100% - 15px); height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .cosmic-rocket, .cosmic-rocket-orientation { transition: none; }
  .cosmic-rocket { --rocket-scroll-offset: 0px !important; }
  .cosmic-rocket[data-scroll-direction="down"] .cosmic-rocket-orientation { transform: rotate(0deg); }
  .cosmic-rocket-image, .rocket-plume-cloud, .rocket-plume-fusion, .rocket-plume-left, .rocket-plume-right { animation: none; }
}

/* Form feedback and bot trap use the existing pilot form visual language. */
.form-submit:disabled { cursor: wait; opacity: .68; }
.form-submit:disabled:hover { transform: none; box-shadow: none; }
.form-confirmation.is-error { border-left-color: #ff9a72; color: #ffd4c4; }
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
