/* The illustration uses original exported pixels; transforms stay in Figma's 1x units. */
.co-visual { position: relative; width: 100%; aspect-ratio: 1.44; overflow: visible; isolation: isolate; background: transparent; }
.co-matte { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.co-visual[data-bleed='true'] .co-matte { -webkit-mask-image: radial-gradient(ellipse farthest-corner at center, #000 68%, transparent 100%); mask-image: radial-gradient(ellipse farthest-corner at center, #000 68%, transparent 100%); }
.co-visual[data-bleed='true'][data-bleed-limited='true'] .co-matte { -webkit-mask-image: radial-gradient(ellipse farthest-side at center, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse farthest-side at center, #000 70%, transparent 100%); }
.co-visual[data-scene='3'][data-bleed='true'] .co-matte,
.co-visual[data-scene='3'][data-bleed='true'][data-bleed-limited='true'] .co-matte {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 48%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 48%, #000 100%);
}
.co-visual[data-scene='3'] .co-matte::after {
  content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  -webkit-mask-image: linear-gradient(to right, #000 0%, transparent 48%);
  mask-image: linear-gradient(to right, #000 0%, transparent 48%);
}
.co-fit, .co-camera { position: absolute; width: 1440px; height: 1000px; left: 0; top: 0; transform-origin: 0 0; }
.co-camera { transform-style: preserve-3d; }
.co-visual img { max-width: none; object-fit: fill; }
.co-sources { position: absolute; inset: 0; transform-style: preserve-3d; }
.co-source, .co-list { position: absolute; left: 0; top: 0; transform-origin: 0 0; border-radius: 3px; box-shadow: 0 30px 55px #0006, 0 0 0 1px #ffffff20; }
.co-source-revit { width: 937px; height: 528px; transform: translate(388px,324px) rotateX(54.7356deg) rotateZ(-45deg) scale(.74); }
.co-source-account { width: 882px; height: 536px; transform: translate(400px,765px) rotateX(54.7356deg) rotateZ(-45deg) scale(.74); }
.co-list { width: 668px; height: 406px; box-shadow: none; }
.co-origin { position: absolute; color: #d4c451; font: 500 23px/1.4 var(--font-system); letter-spacing: .02em; }
.co-origin-revit { left: 410px; top: 480px; }
.co-origin-account { left: 410px; top: 930px; }
.co-shell-rig, .co-body-rig { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.co-shell { position: absolute; width: 612px; height: 640px; background: white; border-radius: 4px; }
.co-sprite { display: block; flex: none; background-image: url('assets/cohesion/create-original.png'); background-size: 628px 656px; background-repeat: no-repeat; }
.co-modal-header { position: absolute; inset: 0 0 auto; height: 45px; border-bottom: 1px solid #3c3c3c40; }
.co-modal-title { position: absolute; top: 8.66px; left: 16px; }
.co-modal-x { position: absolute; right: 16px; top: 8.66px; }
.co-cad { position: absolute; }
.co-categories { left: 314px; top: 61px; }
.co-discipline { left: 16px; top: 122.8px; }
.co-type-instance { left: 16px; top: 284.06px; }
.co-palette { left: 16px; top: 357.48px; }
.co-readonly { left: 16px; top: 540.79px; }
.co-modal-footer { position: absolute; bottom: 0; left: 0; right: 0; height: 57px; border-top: 1px solid #ddd; }
.co-modal-buttons { position: absolute; right: 16px; top: 17px; }
.co-create-another { position: absolute; top: 17px; left: 16px; }
.co-form-body { position: absolute; top: 61px; left: 16px; width: 258px; height: 456.31px; }
.co-field { position: absolute; left: 0; top: 0; width: 100%; background: #fff; outline: 2px solid transparent; outline-offset: 5px; }
.co-name { height: 40.8px; }
.co-data-type { height: 59.63px; }
.co-description { height: 79.21px; }
.co-input { display: block; position: relative; width: 100%; height: 24px; border: 1px solid #80808014; background: #fff; }
.co-name-input { border-color: #f5f5f5; }
.co-description-input { height: 53px; }
.co-value { position: absolute; left: 7px; top: 2.75px; }
.co-chevron { position: absolute; right: 7px; top: 9px; }
.co-settings { position: absolute; width: 1440px; height: 800px; left: 0; top: 0; transform-origin: 0 0; }
.co-settings-crop { position: absolute; inset: 0; overflow: hidden; background: #fff; border-radius: 2px; box-shadow: 0 25px 60px #0006; }
.co-settings-image { position: absolute; width: 1542px; height: 1020.5px; top: -165px; left: -51px; }
.co-body-mask { position: absolute; top: 158px; left: 1101px; width: 323px; height: 199.64px; background: #fff; }
.co-module-region { position: absolute; left: 1101px; top: 367.64px; width: 323px; height: 416.36px; border: 2px dashed #a99128; background: #d4c4511a; }
.co-module-region span { position: absolute; left: 18px; top: 95px; right: 18px; color: #625515; font: 500 20px/1.5 var(--font-system); }
.co-shared-label { position: absolute; left: 797px; top: 166px; width: 270px; padding: 12px 16px; color: #eff2ed; background: #253126; font: 500 20px/1.4 var(--font-system); }
.co-shared-label::after { content: ''; position: absolute; left: 100%; top: 50%; width: 30px; height: 1px; background: #9c9143; }

/* Cohesion and Data standardization share the same reading layer. */
.goal-frame.co-frame { overflow: visible; min-height: 0; touch-action: auto; }
.co-frame > .goal-scroll-range { display: none; }
.co-frame > .goal-summary { position: relative; top: auto; transform: none; }
.co-frame .goal-overview-grid { grid-template-columns: minmax(280px, .9fr) minmax(0, 1.25fr); gap: clamp(24px, 3.5vw, 64px); }
.co-frame .goal-decision-column { grid-area: 1 / 1; padding-bottom: clamp(280px, 42dvh, 360px); }
.co-frame .goal-decision-overview { padding-top: 300px; }
.co-overview { grid-area: 1 / 2; position: sticky; top: calc(var(--bar-h) + 24px); align-self: start; background: transparent; }
.co-overview figure { margin: 0; }
.co-overview .co-visual { height: clamp(240px, calc(100dvh - var(--bar-h) - 174px), 760px); aspect-ratio: auto; }
.co-frame .goal-decision-copy { position: relative; }
.co-frame .goal-decision-copy::after { content: ''; display: block; height: 18px; margin-top: 16px; }

.co-reader { --co-header: 118px; position: fixed; inset: 0 0 0 auto; width: min(1880px, calc(100vw - 42px)); height: 100dvh; max-height: none; max-width: none; margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--hairline); background: var(--surface-canvas); color: var(--text-primary); overflow: hidden; box-shadow: -30px 0 80px #0005; }
.co-reader[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.co-reader::backdrop { background: #0e130fbe; }
.co-reader-header { position: relative; z-index: 2; padding: 18px clamp(20px, 3vw, 48px) 0; background: var(--surface-chrome); border-bottom: 1px solid var(--hairline); }
.co-reader-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.co-reader-title { margin: 0; color: var(--text-primary); font: 500 18px/1.5 var(--font-system); }
.co-return { min-height: 36px; padding: 7px 12px; border: 1px solid var(--hairline); background: transparent; cursor: pointer; color: var(--text-summary); font-size: 13px; }
.co-return:hover { color: var(--accent); border-color: var(--accent); }
.co-step-nav { display: flex; gap: clamp(12px, 3vw, 48px); padding-top: 12px; }
.co-step-nav button { padding: 12px 0; background: transparent; color: var(--text-secondary); font-size: 13px; cursor: pointer; border-bottom: 2px solid transparent; }
.co-step-nav button[aria-current='step'] { color: var(--accent); border-bottom-color: var(--accent); }
.co-reader-progress { position: absolute; bottom: -1px; left: 0; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--co-progress, 0)); opacity: .5; }
.co-reading-viewport { overflow: auto; overscroll-behavior: contain; overflow-anchor: none; scroll-behavior: auto; scrollbar-color: #626b60 #1a211b; }
.co-reading-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, 1fr); align-items: start; min-height: 100%; }
.co-motion-stage { position: sticky; top: 0; grid-area: 1 / 1; height: calc(100dvh - var(--co-header)); display: flex; flex-direction: column; justify-content: center; padding: 24px clamp(12px, 2vw, 32px); overflow: visible; }
.co-motion-stage .co-visual { flex: none; }
.co-stage-eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.co-reader .goal-takeover { grid-area: 1 / 2; min-width: 0; min-height: 0; max-height: none; margin: 0; overflow: visible; visibility: visible; pointer-events: auto; transform: none; will-change: auto; background: transparent; }
.co-reader .goal-return-wrap { display: none; }
.co-reader .subsection-grid { display: block; min-height: 115vh; min-height: 115dvh; padding: clamp(64px, 9vh, 100px) clamp(22px, 3vw, 48px) 80px; border-left: 1px solid var(--hairline); }
.co-reader .subsection-title { font-size: clamp(27px, 2.3vw, 38px); line-height: 1.14; max-width: 20ch; margin: 0 0 28px; }
.co-reader .subsection-content { min-width: 0; }
.co-reader .subsection-summary { font-size: clamp(22px, 1.8vw, 29px); line-height: 1.4; margin: 0 0 28px; }
.co-reader .subsection-evidence .type-body-reading { font-size: 18px; line-height: 1.6; }
.co-reader .subsection-evidence { margin-top: 0; }
.co-step-number { display: block; margin: 0 0 20px; color: var(--accent); font-size: 13px; letter-spacing: .05em; }
.co-source-evidence { margin-top: 32px; }
.co-source-evidence summary { cursor: pointer; color: var(--text-secondary); font-size: 13px; }
.co-source-evidence .case-figure { margin: 20px 0 0; padding: 0; background: transparent; }
.co-source-evidence .case-figure img { max-height: none; }
.co-source-links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 24px; }
.co-source-links a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 4px; font-size: 12px; line-height: 1.5; }
.co-end { min-height: 100dvh; padding: 70px clamp(22px, 3vw, 48px); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.co-end h3 { margin: 0 0 28px; font: 400 38px/1.1 var(--font-editorial); }
.co-end p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; }
.co-end button, .co-end a { display: block; width: 100%; margin-top: 12px; padding: 16px 0; text-align: left; border-top: 1px solid var(--hairline); background: transparent; color: var(--accent); cursor: pointer; font-size: 14px; }
.co-reader-error { padding: 16px; margin: 0; color: #f3d49b; background: #352d20; font-size: 13px; }
html.co-reading { overflow: hidden; scrollbar-gutter: stable; }
html.co-reading body { overflow: hidden; }

@media (min-width: 901px) and (max-height: 720px) {
  .co-motion-stage .co-visual { max-width: calc((100dvh - 285px) * 1.44); align-self: center; }
  .co-stage-eyebrow { margin: 10px 0; }
}
@media (max-width: 1050px) {
  .co-frame .goal-overview-grid { display: block; }
  .co-overview { z-index: 1; background: var(--surface-canvas); }
  .co-overview .co-visual { width: min(100%, calc(36dvh * 1.44)); height: auto; aspect-ratio: 1.44; margin-inline: auto; }
  .co-frame .goal-decision-overview { margin-top: clamp(32px, 5vw, 64px); padding-top: 0; }
}
@media (max-width: 900px) {
  .co-overview .co-visual { width: min(100%, calc(30dvh * 1.44)); }
  .co-reader { width: 100vw; border-left: 0; --co-header: 115px; }
  .co-reader-header { padding: 12px 18px 0; }
  .co-reader-title { font-size: 15px; }
  .co-return { font-size: 12px; }
  .co-step-nav { justify-content: space-between; gap: 10px; }
  .co-step-nav button { font-size: 12px; }
  .co-reading-grid { display: block; }
  .co-motion-stage { z-index: 10; height: auto; padding: 12px 18px; background: var(--surface-canvas); border-bottom: 1px solid var(--hairline); }
  .co-motion-stage .co-visual { width: min(100%, calc(34dvh * 1.44)); align-self: center; }
  .co-stage-eyebrow { display: none; }
  .co-reader .subsection-grid { min-height: 105dvh; padding: 32px 24px 70px; border-left: 0; }
  .co-reader .subsection-title { font-size: 30px; }
  .co-reader .subsection-summary { font-size: 23px; }
  .co-end { border-left: 0; padding: 40px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .co-reader *, .co-frame * { scroll-behavior: auto !important; }
}

.co-ground-shadows { position: absolute; inset: 0; width: 1440px; height: 1000px; overflow: visible; pointer-events: none; }
.co-ground-shadow { fill: #000; }
.co-sources { z-index: 0; }
.co-ground-shadows { z-index: 1; }
.co-list, .co-settings, .co-shell-rig, .co-body-rig { z-index: 2; }
.co-sources { transform: translateZ(-2px); }
.co-ground-shadows { transform: translateZ(-1px); }
.co-camera, .co-sources { transform-style: flat; }
