@font-face {
  font-family: 'Instrument Sans';
  src: url('../public/fonts/InstrumentSans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root { --ink: #23322f; --muted: #6a7874; --blue: #315cbd; --paper: #f7f7f2; --line: #dce2da; --sans: 'Instrument Sans', sans-serif; }
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button,a { -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
::selection { color: #153663; background: #d5e4f6; }
figure,p,h1,h2,h3 { margin: 0; }
.icon { width: 20px; height: 20px; display: block; flex-shrink: 0; }
[data-icon],[data-mark],[data-brand] { display: inline-flex; align-items: center; justify-content: center; }
.brand-icon { width: 25px; height: 25px; display: block; object-fit: contain; }
.brand-mark { width: 37px; height: 26px; display: block; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 14px 20px; border-radius: 6px; color: #fff; background: var(--blue); }
.skip-link:focus { top: 12px; }
.story-header { position: fixed; top: 22px; left: 50%; z-index: 50; transform: translateX(-50%); width: calc(100% - 80px); max-width: 1280px; height: 66px; padding: 0 19px 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid transparent; border-radius: 10px; transition: max-width .5s cubic-bezier(.22,1,.36,1), background .35s, box-shadow .35s, border-radius .5s, top .5s; }
.story-scrolled .story-header { top: 16px; max-width: 1000px; border-color: #fff; background: #f9faf5dc; backdrop-filter: blur(20px); border-radius: 40px; box-shadow: 0 7px 30px #203a5010; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 28px; font-weight: 650; letter-spacing: -1.1px; }
.story-back { display: inline-flex; align-items: center; gap: 9px; color: #788580; font-size: 12px; }
.story-back .icon { width: 14px; height: 14px; transform: rotate(180deg); }
.story-back:hover { color: var(--blue); }
.story-button { display: inline-flex; align-items: center; justify-content: center; gap: 27px; min-height: 44px; padding: 12px 20px; border: 1px solid #283734; border-radius: 6px; background: #283734; color: #fff; font-size: 12px; font-weight: 550; transition: background .2s, box-shadow .2s; }
.story-button .icon { width: 16px; height: 16px; }
.story-button:hover { background: #34514b; box-shadow: 0 5px 15px #23393215; }
.story-opening { max-width: 1000px; padding: 163px 25px 52px; margin: auto; text-align: center; }
.story-eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 12px; font-weight: 500; color: #70817b; }
.story-eyebrow>span { width: 5px; height: 5px; border-radius: 50%; background: #6691c3; box-shadow: 0 0 0 4px #6691c310; }
.story-opening h1 { margin: 23px 0 18px; font-size: clamp(56px,6.5vw,88px); font-weight: 450; line-height: 1.05; letter-spacing: -4.5px; }
.story-deck { font-size: 22px; line-height: 1.5; text-wrap: balance; color: #79837c; font-weight: 400; letter-spacing: -.5px; }
.story-byline { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 32px; color: #7b8680; font-size: 11px; }
.author-mark { width: 28px; height: 28px; border: 1px solid #e0e7de; border-radius: 50%; background: #fff9; }
.author-mark .brand-mark { width: 19px; height: 13px; }
.story-byline>span:nth-child(2) { color: #53675d; }
.story-byline>i { height: 3px; width: 3px; margin: 0 4px; background: #a2aea6; border-radius: 50%; }

/* The illustration shares the homepage's procedural weave and supplied mark. */
.story-cover { position: relative; max-width: 1100px; width: calc(100% - 80px); height: 450px; margin: 0 auto 84px; overflow: hidden; border-radius: 14px; isolation: isolate; background: linear-gradient(117deg,#c9dcf4 0%,#dddfe6 42%,#edd8d5 78%,#eee9db); border: 1px solid #ffffffc9; }
.cover-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%,#fff8,transparent 52%),linear-gradient(0deg,#eff0dc70,transparent 60%); }
.story-weave { position: absolute; width: 650px; height: 520px; left: 50%; top: -34px; margin-left: -325px; opacity: .73; transform: translateY(var(--cover-drift,0px)) rotate(var(--cover-turn,0deg)); }
.cover-paths { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cover-paths path { stroke: #6a8fab; stroke-width: .7; opacity: .6; }
.cover-paths .cover-trace { stroke: #356fb0; stroke-width: 1.2; opacity: .8; stroke-dasharray: 2 31.333; animation: story-flow 8s linear infinite; }
.cover-source { position: absolute; z-index: 3; display: flex; align-items: center; gap: 13px; background: #ffffffcc; border: 1px solid #fff; border-radius: 9px; padding: 15px 20px 15px 15px; box-shadow: 0 9px 30px #6788a111; backdrop-filter: blur(8px); }
.cover-source small { display: block; font-size: 10px; color: #8b969b; margin-bottom: 5px; }
.cover-source strong { display: block; font-size: 12px; font-weight: 500; color: #51616b; }
.cover-source-brand { background: #fff; border-radius: 7px; width: 37px; height: 37px; }
.source-conversation { top: 93px; left: 53px; transform: rotate(-5deg); animation: conversation-float 8s ease-in-out infinite; }
.source-context { bottom: 93px; left: 86px; transform: rotate(3deg); animation: context-float 9s ease-in-out infinite; }
.cover-core { position: absolute; z-index: 4; left: 50%; top: 45%; width: 105px; height: 105px; margin: -52px 0 0 -52px; border-radius: 29px; background: linear-gradient(140deg,#ffffffe8,#f3f5f3c9); border: 1px solid #fff; box-shadow: 0 17px 40px #4e6f9c23; display: grid; place-items: center; backdrop-filter: blur(15px); animation: story-core 7s ease-in-out infinite; }
.cover-core .brand-mark { width: 66px; height: 42px; }
.cover-core>strong { position: absolute; top: 116px; font-size: 15px; font-weight: 550; letter-spacing: -.4px; color: #4b6b89; }
.cover-document { position: absolute; right: 57px; top: 101px; z-index: 3; width: 239px; background: #fffef9ed; padding: 19px 22px; border-radius: 9px; border: 1px solid #fff; box-shadow: 0 20px 40px #6877831c; transform: rotate(6deg); animation: document-float 9s ease-in-out infinite; }
.cover-doc-top { display: flex; align-items: center; gap: 8px; color: #7f9397; font-size: 9px; }
.cover-doc-top .icon { width: 13px; height: 13px; }
.cover-doc-top>span:last-child { margin-left: auto; }
.cover-document h2 { margin-top: 25px; font-size: 25px; line-height: 1.16; letter-spacing: -.9px; font-weight: 500; }
.cover-document p { font-size: 11px; line-height: 1.7; color: #879287; margin-top: 13px; }
.cover-doc-bottom { display: flex; align-items: center; padding-top: 17px; margin-top: 20px; border-top: 1px solid #e8ebe0; }
.person-dot { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #e8ead4; border: 2px solid #fff; font-size: 7px; color: #718372; }
.person-dot+.person-dot { margin-left: -6px; background: #e3eaf2; }
.cover-doc-bottom>span:last-child { margin-left: 7px; font-size: 9px; color: #6c8076; }
.story-cover>figcaption { position: absolute; left: 29px; bottom: 24px; color: #73838d; font-size: 11px; }

.story-layout { display: grid; grid-template-columns: 190px minmax(0,710px); gap: 67px; max-width: 1070px; padding: 0 30px; margin: auto; align-items: start; }
.story-contents { position: sticky; top: 137px; padding-top: 7px; }
.story-contents>p { font-size: 10px; color: #98a098; margin-bottom: 16px; }
.story-contents nav { display: grid; gap: 3px; }
.story-contents nav a { position: relative; font-size: 11px; color: #829087; line-height: 1.5; padding: 8px 0 8px 14px; border-left: 1px solid #dfe5db; transition: color .2s, border-color .2s; }
.story-contents nav a:hover,.story-contents nav a[aria-current] { color: #315c9d; border-left-color: #5480ba; }
.contents-home { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: #557263; margin-top: 28px; }
.contents-home .icon { width: 12px; height: 12px; }
.story-article { min-width: 0; font-size: 17px; line-height: 1.85; color: #58685f; }
.story-article p+p { margin-top: 24px; }
.story-article strong { font-weight: 550; color: #31493b; }
.story-lead>p:first-child { color: #304c3b; font-size: 28px; line-height: 1.4; letter-spacing: -.7px; margin-bottom: 27px; }
.story-chapter { position: relative; margin-top: 74px; padding-top: 38px; border-top: 1px solid var(--line); scroll-margin-top: 15px; }
.chapter-number { display: inline-block; font-size: 10px; color: #8e9e8c; line-height: 1; margin-bottom: 20px; }
.story-chapter h2 { color: #2c4034; font-size: clamp(30px,3vw,39px); font-weight: 500; line-height: 1.2; letter-spacing: -1.3px; text-wrap: balance; margin-bottom: 30px; }
.story-chapter>h3 { margin: 33px 0 13px; font-weight: 550; color: #334d3c; font-size: 19px; line-height: 1.5; letter-spacing: -.3px; }
.story-workflow { margin: 33px 0; border-radius: 12px; border: 1px solid #dbe4e9; background: #eff3f6; overflow: hidden; }
.workflow-request { display: flex; align-items: center; gap: 14px; padding: 22px 26px; background: #fff9; border-bottom: 1px solid #e0e7ec; }
.workflow-request .brand-mark { width: 28px; height: 21px; }
.workflow-request p { font-size: 14px; color: #496178; font-weight: 500; }
.story-workflow ol { list-style: none; margin: 0; padding: 27px; display: grid; gap: 23px; }
.story-workflow li { display: flex; align-items: flex-start; gap: 16px; }
.story-workflow li>span { width: 34px; height: 34px; border: 1px solid #d9e3ed; background: #fff8; border-radius: 50%; color: #6f8ead; }
.story-workflow li .icon { width: 16px; height: 16px; }
.story-workflow li>div { flex: 1; min-width: 0; }
.story-workflow li strong { font-size: 13px; line-height: 1.5; color: #466279; display: block; font-weight: 550; }
.story-workflow li p { font-size: 12px; line-height: 1.65; color: #7b8c99; margin-top: 4px; }
.workflow-result { display: flex; align-items: center; gap: 9px; padding: 17px 25px; border-top: 1px solid #dfe7ec; color: #638477; background: #f6faf8; font-size: 12px; }
.workflow-result .icon { width: 14px; height: 14px; }
.story-artifacts { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 40px 35px 77px; margin: 34px -20px; background: #eef0e3; border-radius: 12px; min-height: 341px; }
.artifact-paper { position: relative; width: 220px; padding: 22px 25px; border: 1px solid #fff; border-radius: 6px; background: #fffffaf2; box-shadow: 0 12px 35px #42553913; }
.artifact-paper>.icon,.artifact-paper>[data-icon] { color: #8b9e79; margin-bottom: 20px; }
.artifact-paper small { display: block; font-size: 9px; color: #8e9a85; }
.artifact-paper h3 { font-size: 20px; color: #4f6441; line-height: 1.3; font-weight: 500; margin-top: 5px; letter-spacing: -.6px; }
.artifact-paper p { font-size: 11px; line-height: 1.9; margin-top: 14px; color: #8a967f; }
.paper-source { display: flex; align-items: center; gap: 5px; margin-top: 22px; padding-top: 12px; border-top: 1px solid #e8ecdf; font-size: 9px; line-height: 1.4; color: #7b8d6b; }
.paper-source .icon { width: 12px; height: 12px; }
.paper-research { transform: rotate(-6deg) translateY(-5px); }
.paper-plan { transform: rotate(6deg) translateY(12px); }
.story-artifacts figcaption { position: absolute; bottom: 25px; left: 20px; right: 20px; text-align: center; font-size: 11px; line-height: 1.5; color: #8b9780; }
.story-scopes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 31px 0; }
.story-scopes>div { background: #f0f2ea; border: 1px solid #e1e7dc; padding: 21px 18px; border-radius: 8px; }
.story-scopes [data-icon] { color: #79916d; margin-bottom: 14px; }
.story-scopes h3 { color: #506c45; font-size: 16px; font-weight: 550; line-height: 1.4; margin-bottom: 9px; }
.story-scopes p { font-size: 12px; line-height: 1.75; color: #87927f; }
.story-decision { margin: 34px 0; padding: 26px; border: 1px solid #dde6d5; border-radius: 12px; background: #eff3e8; }
.story-decision>div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.decision-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: #7b8d6e; }
.decision-label .icon { width: 16px; height: 16px; }
.decision-status { font-size: 10px; padding: 4px 9px; background: #fbf7e9; color: #9c884f; border: 1px solid #e9e0ba; border-radius: 20px; }
.story-decision h3 { margin-top: 25px; font-size: 25px; line-height: 1.25; font-weight: 450; color: #4c673d; letter-spacing: -.75px; }
.story-decision p { margin-top: 13px; font-size: 13px; line-height: 1.75; color: #879378; }
.decision-principle { display: flex; align-items: center; gap: 9px; border-top: 1px solid #dce6d2; padding-top: 17px; margin-top: 23px; font-size: 11px; color: #7d8b70; }
.decision-principle .icon { width: 13px; height: 13px; }
.story-providers { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 31px 0; border: 1px solid #dfe6ef; border-radius: 12px; padding: 23px; background: #edf3f9; }
.story-providers>div { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 4px; border: 1px solid #fff; border-radius: 7px; background: #fff9; font-size: 11px; color: #728499; }
.story-providers>div>.icon,.story-providers>div>[data-icon] { height: 25px; }
.story-providers>p { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 7px; font-size: 11px; line-height: 1.6; color: #748ba6; }
.story-providers>p .icon { width: 15px; height: 15px; }
.story-signoff { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-bottom: 9px; font-size: 12px; color: #879a7e; }
.story-signoff .brand-mark { width: 28px; height: 21px; }
.story-closing { margin: 90px 12px 0; border: 1px solid #dce5ec; background: radial-gradient(ellipse at 24% 0,#d6e4f5,transparent 65%),linear-gradient(110deg,#f0f4ef,#eeede5); border-radius: 14px; text-align: center; padding: 72px 25px 70px; }
.story-closing h2 { font-size: clamp(40px,4.6vw,61px); font-weight: 450; line-height: 1.14; letter-spacing: -2.6px; margin-top: 23px; }
.story-closing>p:not(.story-eyebrow) { margin-top: 25px; color: #839083; font-size: 15px; line-height: 1.8; }
.story-closing .story-button { margin-top: 29px; background: var(--blue); border-color: var(--blue); min-height: 49px; font-size: 13px; gap: 27px; }
.story-closing .story-button:hover { background: #244ca1; }
.story-closing-link { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; color: #758976; margin-top: 18px; }
.story-closing-link .icon { width: 13px; height: 13px; }
.story-footer { max-width: 1200px; margin: auto; padding: 40px 30px; display: flex; align-items: center; gap: 30px; }
.story-footer .wordmark { font-size: 24px; }
.story-footer .brand-mark { width: 31px; height: 23px; }
.story-footer>span { font-size: 10px; color: #9aa396; }
.story-footer nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 10px; color: #80927b; }
.story-footer nav a { display: flex; align-items: center; gap: 6px; }
.story-footer nav .icon { width: 12px; height: 12px; }
html[data-motion-paused=true] *,html[data-motion-paused=true] *::before,html[data-motion-paused=true] *::after { animation-play-state: paused!important; }
/* The cover's loops move only during its short ambient window (see src/art.js). */
[data-ambient=settled],[data-ambient=settled] *,[data-ambient=settled] *::before,[data-ambient=settled] *::after { animation-play-state: paused!important; }
@keyframes story-flow { to { stroke-dashoffset: -100; } }
@keyframes story-core { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-8px) rotate(0); } }
@keyframes conversation-float { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes context-float { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(6px) rotate(1deg); } }
@keyframes document-float { 0%,100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(-7px) rotate(4deg); } }

@media (max-width: 1100px) {
  .story-cover { height: 410px; width: calc(100% - 56px); }
  .source-conversation { left: 30px; top: 75px; }
  .source-context { left: 55px; bottom: 80px; }
  .cover-document { right: 35px; width: 220px; top: 85px; }
  .cover-source { padding: 12px; gap: 8px; }
  .cover-source strong { font-size: 10px; }
  .cover-source small { font-size: 9px; }
  .cover-core { width: 91px; height: 91px; margin: -45px 0 0 -45px; border-radius: 25px; }
  .cover-core .brand-mark { width: 56px; height: 37px; }
  .cover-core>strong { top: 101px; }
  .story-layout { max-width: 810px; display: block; padding-inline: 50px; }
  .story-contents { display: none; }
}
@media (max-width: 760px) {
  .story-header { width: calc(100% - 28px); padding-inline: 10px; top: 13px; height: 58px; }
  .story-scrolled .story-header { top: 10px; }
  .story-header .wordmark { font-size: 24px; gap: 7px; }
  .story-header .brand-mark { width: 31px; height: 22px; }
  .story-back { display: none; }
  .story-opening { padding-top: 130px; padding-bottom: 35px; }
  .story-opening h1 { font-size: clamp(42px,8.4vw,63px); letter-spacing: -2.6px; }
  .story-deck { font-size: 17px; }
  .story-byline { margin-top: 26px; }
  .story-cover { height: 390px; width: calc(100% - 32px); margin-bottom: 54px; }
  .story-weave { width: 460px; height: 430px; margin-left: -230px; top: -5px; opacity: .65; }
  .source-conversation { left: 24px; top: 73px; }
  .source-context { left: auto; right: 20px; top: 38px; bottom: auto; }
  .cover-source { padding: 10px 12px; gap: 8px; }
  .cover-source-brand { width: 28px; height: 28px; }
  .cover-source-brand .brand-icon { width: 20px; height: 20px; }
  .cover-source strong { font-size: 9px; }
  .cover-source small { font-size: 8px; }
  .cover-core { top: 50%; left: 37%; width: 82px; height: 82px; margin: -41px 0 0 -41px; border-radius: 23px; }
  .cover-core .brand-mark { width: 51px; height: 34px; }
  .cover-core>strong { top: 90px; font-size: 13px; }
  .cover-document { top: auto; bottom: 66px; right: 27px; width: 190px; padding: 16px 19px; }
  .cover-document h2 { margin-top: 17px; font-size: 22px; }
  .cover-document p { font-size: 10px; margin-top: 9px; }
  .cover-doc-bottom { margin-top: 13px; padding-top: 11px; }
  .cover-corner { top: 20px; left: 22px; font-size: 9px; }
  .story-cover>figcaption { left: 20px; bottom: 24px; font-size: 10px; }
  .story-layout { max-width: 700px; padding-inline: 32px; }
  .story-article { font-size: 16px; line-height: 1.9; }
  .story-lead>p:first-child { font-size: 26px; }
  .story-chapter { margin-top: 57px; padding-top: 31px; }
  .story-chapter h2 { font-size: 33px; letter-spacing: -1.2px; }
  .story-artifacts { margin-inline: -10px; padding-inline: 23px; }
  .artifact-paper { padding: 19px; }
  .artifact-paper h3 { font-size: 18px; }
  .story-scopes { gap: 8px; }
  .story-scopes>div { padding: 17px 14px; }
  .story-scopes p { font-size: 11px; }
  .story-scopes h3 { font-size: 15px; }
  .story-providers { padding: 17px; gap: 8px; }
  .story-providers>div { font-size: 10px; }
  .story-providers>p { font-size: 10px; }
  .story-closing { margin-top: 62px; padding-block: 58px; }
  .story-closing h2 { letter-spacing: -1.8px; }
  .story-footer { flex-wrap: wrap; gap: 18px 25px; padding-block: 30px; }
  .story-footer nav { width: 100%; margin-left: 0; }
}
@media (max-width: 500px) {
  .story-header .story-button { min-height: 39px; padding: 10px 13px; gap: 13px; font-size: 11px; }
  .story-opening { padding-inline: 17px; }
  .story-opening h1 { margin-top: 24px; font-size: clamp(39px,9vw,45px); letter-spacing: -2px; }
  .story-deck { font-size: 15px; letter-spacing: -.25px; }
  .story-eyebrow { font-size: 11px; }
  .story-byline { gap: 8px; font-size: 10px; }
  .story-cover { height: 430px; width: calc(100% - 24px); border-radius: 10px; }
  .source-conversation { top: 52px; left: 19px; padding: 9px 11px; }
  .source-conversation strong { display: none; }
  .source-conversation small { font-size: 9px; margin: 0; }
  .source-context { top: 120px; right: 13px; padding: 9px 11px; }
  .source-context strong { display: none; }
  .source-context small { font-size: 9px; margin: 0; }
  .cover-core { left: 25%; top: 53%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 20px; }
  .cover-core .brand-mark { width: 45px; height: 29px; }
  .cover-core>strong { top: 80px; font-size: 12px; }
  .cover-document { width: 166px; right: 18px; bottom: 65px; padding: 14px 16px; }
  .cover-doc-top { font-size: 8px; gap: 6px; }
  .cover-doc-top .icon { width: 12px; height: 12px; }
  .cover-document h2 { font-size: 20px; }
  .cover-document p { display: none; }
  .cover-doc-bottom>span:last-child { font-size: 8px; }
  .story-cover>figcaption { bottom: 23px; left: 16px; font-size: 9px; max-width: 150px; }
  .story-layout { padding-inline: 25px; }
  .story-lead>p:first-child { font-size: 25px; letter-spacing: -.7px; }
  .story-chapter h2 { font-size: clamp(30px,8vw,35px); letter-spacing: -1.3px; }
  .workflow-request { padding: 19px; gap: 11px; }
  .workflow-request p { font-size: 12px; }
  .story-workflow ol { padding: 23px 19px; gap: 22px; }
  .story-workflow li { gap: 12px; }
  .story-workflow li strong { font-size: 12px; }
  .story-workflow li p { font-size: 11px; }
  .workflow-result { padding: 15px 19px; font-size: 11px; align-items: flex-start; }
  .workflow-result .icon { margin-top: 3px; }
  .story-artifacts { gap: 4px; min-height: 307px; padding: 30px 18px 68px; }
  .artifact-paper { padding: 17px 15px; }
  .artifact-paper h3 { font-size: 16px; letter-spacing: -.4px; }
  .artifact-paper p { font-size: 10px; }
  .artifact-paper small,.paper-source { font-size: 8px; }
  .paper-source { margin-top: 17px; }
  .story-artifacts figcaption { font-size: 10px; bottom: 20px; }
  .story-scopes { grid-template-columns: 1fr; gap: 10px; }
  .story-scopes>div { position: relative; padding: 18px 19px 18px 57px; }
  .story-scopes [data-icon] { position: absolute; left: 19px; top: 20px; }
  .story-scopes h3 { margin-bottom: 5px; }
  .story-scopes p { font-size: 12px; line-height: 1.7; }
  .story-decision { padding: 22px 19px; }
  .story-decision h3 { font-size: 23px; }
  .decision-label,.decision-principle { font-size: 10px; }
  .decision-status { font-size: 9px; }
  .story-providers { padding: 16px 12px; gap: 6px; }
  .story-providers>div { font-size: 9px; padding-block: 16px; }
  .story-providers>div .brand-icon { width: 23px; height: 23px; }
  .story-providers>p { align-items: flex-start; gap: 6px; }
  .story-providers>p .icon { margin-top: 3px; }
  .story-closing { margin-inline: 8px; }
  .story-closing h2 { font-size: clamp(33px,9vw,42px); }
  .story-closing>p:not(.story-eyebrow) { font-size: 13px; }
  .story-footer { padding-inline: 24px; gap: 19px; }
  .story-footer>span { font-size: 9px; }
  .story-footer nav { gap: 20px; font-size: 9px; }
}
@media (max-width: 359px) {
  .story-header { gap: 12px; }
  .story-header .story-button { white-space: nowrap; font-size: 10px; gap: 9px; padding-inline: 10px; }
  .cover-document h2 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none!important; transition: none!important; }
  .story-weave { transform: none; }
}

/* A concrete project view makes the shared-work story visible without adding another demo app. */
.story-workspace { margin: 36px -26px; border: 1px solid #dbe5e8; border-radius: 12px; background: #fff; color: #35535e; box-shadow: 0 14px 35px #335d7510; overflow: hidden; font-size: 12px; line-height: 1.6; }
.story-workspace-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 54px; padding: 0 20px; border-bottom: 1px solid #e1e8e9; background: #f7fafb; }
.story-workspace-top>span:first-child { display: flex; align-items: center; gap: 11px; color: #45616b; font-size: 12px; font-weight: 550; }
.story-workspace-top .brand-mark { width: 26px; height: 18px; }
.story-workspace-members { display: inline-flex; align-items: center; }
.story-workspace-members i { display: grid; place-items: center; width: 25px; height: 25px; border: 2px solid #fff; border-radius: 50%; font-size: 8px; font-style: normal; color: #778b70; background: #e9eee0; }
.story-workspace-members i+i { margin-left: -6px; color: #8597a7; background: #e4edf5; }
.story-workspace-members>span { font-size: 9px; color: #85968f; margin-left: 7px; }
.story-workspace-body { display: grid; grid-template-columns: 147px minmax(0,1fr); }
.story-workspace-sidebar { display: flex; flex-direction: column; gap: 7px; background: #f5f7f3; border-right: 1px solid #e4eae2; padding: 23px 10px; }
.story-workspace-sidebar>span { display: flex; align-items: center; gap: 7px; min-height: 32px; padding: 8px 8px; color: #7c8e80; font-size: 10px; line-height: 1.5; }
.story-workspace-sidebar>span.story-workspace-nav-label { font-size: 9px; color: #9aa695; padding-block: 0; min-height: 22px; margin-bottom: 5px; }
.story-workspace-sidebar .icon { width: 13px; height: 13px; }
.story-workspace-sidebar>.story-workspace-selected { color: #537dac; background: #e4edf6; border-radius: 5px; }
.story-workspace-main { padding: 24px 25px; min-width: 0; }
.story-workspace-breadcrumb { display: flex; align-items: center; gap: 8px; color: #93a2a5; font-size: 9px; margin-bottom: 17px; }
.story-workspace-breadcrumb .icon { width: 10px; height: 10px; }
.story-workspace-main h3 { font-size: 26px; font-weight: 500; letter-spacing: -.7px; line-height: 1.3; color: #385862; }
.story-workspace-main p { font-size: 12px; line-height: 1.7; }
.story-workspace-main .story-workspace-summary { color: #8b9c9a; font-size: 11px; margin: 6px 0 25px; }
.story-workspace-request { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid #e4ebef; background: #f4f8fa; border-radius: 8px; margin-bottom: 20px; }
.story-workspace-request>span,.story-workspace-review>span { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #e0e9f0; color: #8399ac; font-size: 8px; }
.story-workspace-request p { color: #6e8690; font-size: 11px; margin: 2px 0 0; }
.story-workspace-response { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; }
.story-workspace-response>.brand-mark,.story-workspace-response>[data-mark] { flex-shrink: 0; width: 26px; padding-top: 2px; }
.story-workspace-response .brand-mark { width: 24px; height: 18px; }
.story-workspace-response strong { font-size: 11px; color: #506f7c; font-weight: 550; }
.story-workspace-response p { margin-top: 5px; color: #8a9e9c; font-size: 11px; }
.story-workspace-document { display: flex; align-items: center; gap: 12px; padding: 15px; margin-left: 36px; border: 1px solid #dce6ea; border-radius: 8px; background: #fcfeff; box-shadow: 0 4px 10px #33556d04; }
.story-workspace-document>div { min-width: 0; }
.story-workspace-file { display: grid; place-items: center; width: 33px; height: 42px; border-radius: 5px; color: #87a3be; background: #e7eff7; flex-shrink: 0; }
.story-workspace-file .icon { width: 19px; height: 19px; }
.story-workspace-document>div>span { display: block; font-size: 8px; color: #97aab3; margin-bottom: 3px; }
.story-workspace-document strong { display: block; color: #4f7184; font-size: 15px; font-weight: 500; line-height: 1.5; }
.story-workspace-document small { display: block; font-size: 8px; color: #92a6a8; line-height: 1.7; margin-top: 5px; }
.story-workspace-document>[data-icon]:last-child { margin-left: auto; color: #9bb1bd; }
.story-workspace-document>[data-icon]:last-child .icon { width: 13px; height: 13px; }
.story-workspace-tasks { display: grid; gap: 12px; border-top: 1px solid #ebefea; padding-top: 21px; margin-top: 23px; }
.story-workspace-tasks>span { display: flex; align-items: center; gap: 9px; font-size: 10px; color: #7d9681; }
.story-workspace-tasks .icon { width: 13px; height: 13px; color: #9aaf91; }
.story-workspace-tasks>.story-workspace-pending { color: #8a7d5e; }
.story-workspace-tasks>.story-workspace-pending .icon { color: #b3a17e; }
.story-workspace-pending small { margin-left: auto; font-size: 8px; color: #ad9b74; border: 1px solid #ece6d7; border-radius: 4px; padding: 2px 6px; background: #fbf8ef; }
.story-workspace-review { display: flex; align-items: flex-start; gap: 9px; margin-top: 24px; }
.story-workspace-review>span { background: #eaf0e3; color: #899c7a; }
.story-workspace-review p { font-size: 10px; color: #8b9b84; margin: 0; }
.story-workspace-review strong { display: block; font-size: 10px; margin-bottom: 3px; font-weight: 550; color: #728764; }
.story-workspace figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; border-top: 1px solid #e1e8e7; background: #f8faf7; font-size: 9px; line-height: 1.7; color: #84988b; }
.story-workspace figcaption a { display: inline-flex; align-items: center; gap: 7px; color: #638275; white-space: nowrap; }
.story-workspace figcaption .icon { width: 12px; height: 12px; }
@media (max-width: 1100px) {
  .story-workspace { margin-inline: 0; }
  .story-workspace-body { grid-template-columns: 130px minmax(0,1fr); }
  .story-workspace-main { padding: 23px 20px; }
}
@media (max-width: 600px) {
  .story-workspace { margin: 30px 0; border-radius: 9px; }
  .story-workspace-top { padding: 0 15px; height: 51px; }
  .story-workspace-members>span { display: none; }
  .story-workspace-body { grid-template-columns: 1fr; }
  .story-workspace-sidebar { flex-direction: row; padding: 9px 12px; border-right: 0; border-bottom: 1px solid #e4eae2; gap: 7px; }
  .story-workspace-sidebar>span { display: none; font-size: 10px; }
  .story-workspace-sidebar>.story-workspace-selected,.story-workspace-sidebar>span:nth-child(2) { display: flex; min-height: 29px; padding: 6px 9px; }
  .story-workspace-main { padding: 21px 17px; }
  .story-workspace-main h3 { font-size: 25px; }
  .story-workspace-main .story-workspace-summary { font-size: 11px; }
  .story-workspace-request { padding: 12px; gap: 8px; }
  .story-workspace-request p,.story-workspace-response p { font-size: 11px; }
  .story-workspace-document { margin-left: 0; padding: 12px; gap: 10px; }
  .story-workspace-document strong { font-size: 16px; }
  .story-workspace-document small { font-size: 9px; }
  .story-workspace-tasks>span { font-size: 11px; gap: 8px; }
  .story-workspace-pending small { font-size: 8px; white-space: nowrap; }
  .story-workspace-review p,.story-workspace-review strong { font-size: 11px; }
  .story-workspace figcaption { flex-direction: column; align-items: flex-start; padding: 15px 17px; gap: 9px; font-size: 10px; }
}
