/* Garage RAG 2.0 concept layer. Load after brand/tokens.css. */
.rag2 {
  --launch-display: clamp(3.5rem, 8.8vw, 8rem);
  --launch-section: clamp(2.75rem, 6.5vw, 6rem);
  --motion-feedback: 150ms;
  --motion-reveal: 420ms;
  --motion-stage: 900ms;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  margin: 0; background: var(--surface); color: var(--ink);
  font: 16px/1.6 var(--font-sans);
}
.rag2 * { box-sizing: border-box; }
.rag2 :focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.rag2 a { color: var(--violet-700); text-underline-offset: 4px; }
.rag2 button, .rag2 select { font: inherit; }
.rag2 button { cursor: pointer; }
.rag2 .wrap { max-width: 1360px; padding: 0 clamp(20px, 5vw, 80px); margin: auto; }
.rag2 header { padding-top: 24px; padding-bottom: 24px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.rag2 .brand { display: flex; align-items: center; gap: 12px; font-weight: 600; margin-right: auto; }
.rag2 .brand img { width: 36px; height: 36px; }
.rag2 .mono, .rag2 .eyebrow { font: 12px/1.6 var(--font-mono); }
.rag2 .eyebrow { font: 600 17px/1.5 var(--font-sans); letter-spacing: -.02em; color: var(--ink-muted); }
.rag2 .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rag2 button, .rag2 select, .rag2 .button { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); padding: 10px 16px; text-decoration: none; transition: background var(--motion-feedback), border-color var(--motion-feedback), transform var(--motion-feedback); }
.rag2 button:hover, .rag2 .button:hover { border-color: var(--violet-500); background: var(--violet-050); }
.rag2 .primary { background: var(--violet-500); color: var(--on-brand); border-color: var(--violet-500); }
.rag2 .primary:hover { background: var(--violet-700); color: var(--on-brand); }
.rag2 .hero { min-height: 92svh; padding: 120px 0; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.rag2 h1 { font-size: var(--launch-display); line-height: 1.02; letter-spacing: -.055em; font-weight: 600; margin: 24px auto 40px; max-width: 1100px; }
.rag2 h1 em { font-style: normal; color: var(--violet-700); }
.rag2 .hero-bottom { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.rag2 .intro { font-size: clamp(20px, 2.4vw, 28px); max-width: 650px; color: var(--ink-muted); margin: 0; line-height: 1.4; }
.rag2 .hero .button { border-radius: var(--radius-pill); padding: 12px 24px; }
.rag2 .system { display: grid; grid-template-columns: 1fr 1.3fr; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; }
.rag2 .flow { background: var(--violet-050); padding: 32px; position: relative; }
.rag2 .flow ol { padding: 0; list-style: none; margin: 32px 0; }
.rag2 .flow li { display: flex; align-items: center; gap: 16px; padding: 16px 0; color: var(--ink-muted); }
.rag2 .node { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--violet-300); background: var(--surface); font: 13px var(--font-mono); border-radius: var(--radius-xs); }
.rag2 .flow li.active { color: var(--violet-700); }
.rag2 .flow li.active .node { background: var(--violet-500); color: var(--on-brand); border-color: var(--violet-500); }
.rag2 .flow li.active { animation: arrive var(--motion-reveal) var(--motion-ease) both; }
.rag2 .answer { padding: 32px; border-left: 1px solid var(--line); }
.rag2 h2 { font-size: var(--launch-section); line-height: 1.08; letter-spacing: -.04em; font-weight: 500; margin: 16px 0 24px; }
.rag2 h3 { font-size: 22px; line-height: 1.3; font-weight: 500; margin: 16px 0; }
.rag2 .badge { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); font: 12px/1.5 var(--font-mono); }
.rag2 .answer-body { margin: 24px 0; padding-left: 20px; border-left: 2px solid var(--violet-300); }
.rag2 .source { border-top: 1px solid var(--line); padding: 16px 0; }
.rag2 summary { cursor: pointer; color: var(--violet-700); }
.rag2 details[open] p { animation: arrive var(--motion-reveal) var(--motion-ease); }
.rag2 .caption { font-size: 13px; color: var(--ink-muted); }
.rag2 section.chapter { padding-top: 160px; padding-bottom: 120px; }
.rag2 .section-head { max-width: 900px; margin: 0 auto 64px; text-align: center; }
.rag2 .section-head p { max-width: 650px; margin: 24px auto; color: var(--ink-muted); font-size: 21px; }
.rag2 .privacy { display: grid; grid-template-columns: 1fr 1.25fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.rag2 .levels { padding: 16px; display: grid; gap: 8px; background: var(--surface-raised); }
.rag2 .levels button { text-align: left; display: flex; gap: 16px; align-items: baseline; }
.rag2 .levels button[aria-pressed="true"] { background: var(--violet-050); border-color: var(--violet-500); color: var(--violet-700); }
.rag2 .privacy-detail { padding: 32px; border-left: 1px solid var(--line); }
.rag2 .privacy-detail h3 { font-size: 30px; }
.rag2 .notice { border-left: 3px solid var(--warning); padding: 12px 16px; background: var(--warning-soft); color: var(--ink); }
.rag2 .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rag2 .tile { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.rag2 .swatches { display: flex; gap: 8px; margin: 24px 0; }
.rag2 .swatch { width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--swatch); }
.rag2 .type-sample { font-size: 56px; line-height: 1.1; letter-spacing: -.05em; margin: 20px 0; }
.rag2 .motion-track { height: 60px; border: 1px solid var(--line); padding: 12px; margin: 24px 0; }
.rag2 .motion-mark { width: 32px; height: 32px; background: var(--violet-500); }
.rag2 .motion-track.play .motion-mark { animation: travel 900ms var(--motion-ease) both; }
.rag2 .states { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.rag2 footer { padding-top: 32px; padding-bottom: 40px; display: flex; justify-content: space-between; gap: 24px; }
.rag2 [id] { scroll-margin-top: 84px; }
.rag2 #journey { scroll-margin-top: 0; }
.rag2 .chapter-nav { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; justify-content: center; gap: 32px; padding: 16px 0; }
.rag2 .chapter-nav a { font-size: 13px; text-decoration: none; color: var(--ink-muted); }
.rag2 .chapter-nav a:hover, .rag2 .chapter-nav a[aria-current="location"] { color: var(--ink); }
.rag2 .reading-track { position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; }
.rag2 #reading-progress { display: block; height: 100%; width: 100%; background: var(--violet-500); transform: scaleX(0); transform-origin: left; }
.rag2 .retrieval-showcase { border-radius: 24px; overflow: hidden; background: var(--surface-raised); border: 1px solid var(--line); }
.rag2 .query-display { padding: 48px 32px; text-align: center; border-bottom: 1px solid var(--line); }
.rag2 .query-display .mono { color: var(--ink-muted); }
.rag2 .query-display p { font-size: clamp(24px, 3.4vw, 44px); letter-spacing: -.035em; margin: 12px 0 0; }
.rag2 .search-lanes { display: grid; grid-template-columns: 1fr 1fr; }
.rag2 .search-lane { padding: 40px; transition: opacity 400ms, background 400ms; }
.rag2 .search-lane + .search-lane { border-left: 1px solid var(--line); }
.rag2 .search-lane .mono, .rag2 .search-lane p { color: var(--ink-muted); }
.rag2 .search-lane h3 { font-size: 32px; letter-spacing: -.03em; }
.rag2 .search-lane[data-emphasis="muted"] { background: var(--surface-raised); }
.rag2 .search-lane[data-emphasis="active"] { background: var(--violet-050); }
.rag2 .word-object { min-height: 200px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; }
.rag2 .word-object span { padding: 12px 16px; border: 1px solid var(--violet-300); border-radius: 8px; color: var(--violet-700); font-size: 22px; }
.rag2 .word-object span:nth-child(2) { border-color: var(--line); color: var(--ink-muted); }
.rag2 .meaning-object { height: 200px; position: relative; display: flex; align-items: center; justify-content: center; }
.rag2 .meaning-object span { position: absolute; font-size: 12px; padding: 8px 12px; border: 1px solid var(--violet-300); border-radius: 20px; background: var(--surface); z-index: 1; }
.rag2 .meaning-object span:first-child { top: 15px; left: 5%; }
.rag2 .meaning-object span:nth-child(2) { color: var(--violet-700); border-color: var(--violet-500); }
.rag2 .meaning-object span:nth-child(3) { bottom: 10px; right: 0; }
.rag2 .meaning-object i { position: absolute; width: 65%; height: 110px; border: 1px solid var(--line-strong); border-radius: 50%; transform: rotate(-25deg); }
.rag2 .meaning-object i:nth-last-child(2) { width: 45%; transform: rotate(25deg); }
.rag2 .meaning-object i:last-child { width: 30%; transform: rotate(65deg); }
.rag2 .fusion-result { padding: 0 32px 40px; text-align: center; }
.rag2 .fusion-result h3 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; }
.rag2 .fusion-result .toolbar { justify-content: center; }
.rag2 .fusion-result button[aria-pressed="true"] { background: var(--violet-500); border-color: var(--violet-500); color: var(--on-brand); }
.rag2 .fusion-junction { display: flex; width: 52%; height: 64px; margin: 0 auto 32px; }
.rag2 .fusion-junction span { width: 50%; border-bottom: 1px solid var(--violet-300); }
.rag2 .fusion-junction span:first-child { border-left: 1px solid var(--violet-300); border-radius: 0 0 0 24px; }
.rag2 .fusion-junction span:last-child { border-right: 1px solid var(--violet-300); border-radius: 0 0 24px 0; }
.rag2 .feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0 80px; }
.rag2 .feature-card { background: var(--surface-raised); border-radius: 24px; padding: 48px; overflow: hidden; }
.rag2 .feature-card h3 { font-size: 36px; letter-spacing: -.04em; }
.rag2 .feature-card p { color: var(--ink-muted); max-width: 500px; font-size: 19px; }
.rag2 .feature-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 640px; }
.rag2 .feature-wide h2 { font-size: clamp(40px, 5vw, 64px); }
.rag2 .provenance-art { min-height: 400px; position: relative; perspective: 1000px; }
.rag2 .origin-sheet { width: 65%; height: 320px; padding: 24px; border: 1px solid var(--violet-300); background: var(--surface); border-radius: 16px; transform: rotateY(18deg) rotateZ(-8deg); }
.rag2 .origin-sheet > span { color: var(--ink-muted); font-size: 12px; }
.rag2 .origin-sheet i { display: block; height: 8px; background: var(--line-strong); margin: 24px 0; }
.rag2 .origin-sheet i:nth-child(3) { background: var(--violet-500); width: 70%; }
.rag2 .fragment-stack { position: absolute; top: 80px; right: 0; width: 65%; }
.rag2 .fragment-stack > span { display: block; margin: 16px 0; padding: 20px; background: var(--violet-100); border: 1px solid var(--violet-300); border-radius: 12px; color: var(--violet-700); transform: rotate(-4deg); }
.rag2 .fragment-stack small { display: block; margin-top: 8px; font-size: 11px; }
.rag2 .index-art { height: 240px; position: relative; margin-top: 32px; }
.rag2 .index-art span { position: absolute; left: 10%; width: 80%; height: 90px; border: 1px solid var(--violet-300); background: var(--surface-sunken); transform: rotateX(55deg) rotateZ(-12deg); border-radius: 16px; }
.rag2 .index-art span:nth-child(1) { top: 120px; }
.rag2 .index-art span:nth-child(2) { top: 80px; }
.rag2 .index-art span:nth-child(3) { top: 40px; }
.rag2 .index-art span:nth-child(4) { top: 0; background: var(--violet-100); }
.rag2 .citation-art { position: relative; padding: 32px; margin-top: 32px; border: 1px solid var(--line-strong); border-radius: 16px; }
.rag2 .citation-art i { display: block; height: 8px; margin: 16px 0; background: var(--line); }
.rag2 .citation-art i:last-child { width: 55%; }
.rag2 .citation-number { display: inline-block; padding: 8px 12px; border-radius: 8px; background: var(--violet-100); color: var(--violet-700); margin-right: 12px; }
.rag2 .citation-art small { color: var(--ink-muted); }
.rag2 .closing { min-height: 100svh; padding: 120px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.rag2 .closing img { margin-bottom: 32px; }
.rag2 .closing p { max-width: 550px; color: var(--ink-muted); font-size: 22px; }
.rag2 .closing .toolbar { justify-content: center; margin: 24px 0 32px; gap: 32px; }
.rag2 .closing .button { border-radius: var(--radius-pill); }
.rag2 .design-notes { border-top: 1px solid var(--line); padding: 24px 0; }
.rag2 .design-notes > summary { color: var(--ink-muted); }
.rag2 .reveal.arrived { animation: chapter-arrive 900ms var(--motion-ease) both; }
@keyframes chapter-arrive { from { opacity: .5; transform: translateY(36px); } to { opacity: 1; transform: none; } }
.rag2 .skip { position: absolute; top: -100px; }
.rag2 .skip:focus { top: 8px; z-index: 10; background: var(--surface); padding: 12px; }
.rag2 [hidden] { display: none; }
.rag2 h2 em { font-style: normal; color: var(--ink-muted); }
.rag2 .journey { min-height: 650svh; position: relative; }
.rag2 .journey-sticky { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 0 24px; }
.rag2 .journey-heading { text-align: center; }
.rag2 .journey-heading h2 { font-size: clamp(36px, 5vw, 64px); margin: 12px 0 28px; }
.rag2 .product-stage { width: 100%; border: 1px solid var(--line-strong); border-radius: 24px; background: var(--surface-raised); overflow: hidden; }
.rag2 .product-bar { display: flex; justify-content: space-between; gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--line); }
.rag2 .story-panels { display: grid; }
.rag2 .story-panel { grid-area: 1 / 1; padding: 28px 48px; opacity: 0; visibility: hidden; transform: translateY(12px); }
.rag2 .story-panel.current { opacity: 1; visibility: visible; transform: none; animation: scene-arrive 480ms var(--motion-ease) both; }
@keyframes scene-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.rag2 .story-panel h3 { font-size: clamp(24px, 3.2vw, 40px); letter-spacing: -.035em; margin: 8px 0; }
.rag2 .story-panel p { color: var(--ink-muted); max-width: 600px; margin: 8px 0 24px; }
.rag2 .story-number { font: 13px var(--font-mono); color: var(--violet-700); }
.rag2 .source-stack, .rag2 .context-object { display: flex; gap: 12px; }
.rag2 .source-stack span, .rag2 .context-object span { flex: 1; padding: 24px 12px; text-align: center; border-radius: 12px; background: var(--surface-sunken); color: var(--violet-700); }
.rag2 .boundary-object, .rag2 .evidence-object { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; border: 1px solid var(--violet-300); border-radius: 12px; }
.rag2 .story-progress { display: flex; gap: 8px; padding: 0 48px 16px; }
.rag2 .story-progress button { position: relative; flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 4px; background: transparent; padding: 12px 0; color: var(--ink-muted); text-align: left; font: 11px var(--font-mono); }
.rag2 .story-progress button::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line-strong); }
.rag2 .story-progress button[aria-pressed="true"] { color: var(--violet-700); }
.rag2 .story-progress button[aria-pressed="true"]::before { background: var(--violet-500); }
.rag2 .story-progress button:hover { color: var(--ink); background: var(--surface-sunken); }
.rag2 .statement { min-height: 90svh; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 120px 0; }
.rag2 .statement p { color: var(--ink-muted); max-width: 560px; margin: 0 auto; font-size: 24px; }
.rag2 .data-canvas { position: relative; padding: 24px 32px 16px; overflow: hidden; }
.rag2 .phase-labels { display: flex; justify-content: space-around; gap: 24px; font: 11px var(--font-mono); color: var(--ink-muted); margin-bottom: 24px; }
.rag2 .data-nodes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.rag2 .data-node { text-align: center; color: var(--ink-muted); }
.rag2 .data-node > span { display: block; font-weight: 600; margin-top: 16px; }
.rag2 .data-node small { display: block; font-size: 11px; }
.rag2 .data-node.reached { color: var(--violet-700); }
.rag2 .data-object { height: 108px; width: 100%; position: relative; display: flex; justify-content: center; align-items: center; perspective: 700px; transform: scale(.88); transition: transform 700ms var(--motion-ease); }
.rag2 .data-node.selected .data-object { transform: scale(1.12) translateY(-6px); }
.rag2 .data-object i { display: block; background: var(--surface-sunken); border: 1px solid var(--line-strong); transition: transform 800ms var(--motion-ease), background 600ms, border-color 600ms; }
.rag2 .reached .data-object i { border-color: var(--violet-500); background: var(--violet-100); }
.rag2 .sheets i { position: absolute; width: 56px; height: 76px; border-radius: 6px; transform: rotateY(-25deg) rotateZ(-8deg); }
.rag2 .sheets i:nth-child(1) { translate: -12px -8px; }
.rag2 .sheets i:nth-child(3) { translate: 12px 8px; }
.rag2 .selected .sheets i:nth-child(1) { transform: translateX(-12px) rotateY(-25deg) rotateZ(-16deg); }
.rag2 .selected .sheets i:nth-child(3) { transform: translateX(12px) rotateY(-25deg) rotateZ(4deg); }
.rag2 .chunks, .rag2 .vectors { display: grid; grid-template-columns: repeat(3, 20px); align-content: center; gap: 8px; }
.rag2 .chunks i { height: 30px; border-radius: 3px; }
.rag2 .vectors i { height: 16px; transform: rotate(-15deg); }
.rag2 .selected .chunks i:nth-child(odd) { transform: translateY(-10px) rotate(-8deg); }
.rag2 .selected .vectors i:nth-child(odd) { transform: translateY(8px) rotate(15deg); }
.rag2 .retrieval, .rag2 .cited { flex-direction: column; gap: 10px; }
.rag2 .retrieval i { width: 76px; height: 18px; border-radius: 4px; }
.rag2 .selected .retrieval i:nth-child(2) { transform: translateX(14px); background: var(--violet-500); }
.rag2 .gate { width: 72px; margin: auto; border: 1px solid var(--violet-300); border-radius: 16px; gap: 10px; }
.rag2 .gate i { height: 60px; width: 8px; }
.rag2 .selected .gate i:first-child { transform: translateX(-12px); }
.rag2 .selected .gate i:last-child { transform: translateX(12px); }
.rag2 .cited i { width: 72px; height: 10px; border-radius: 2px; }
.rag2 .cited i:last-child { width: 40px; background: var(--violet-500); }
.rag2 .data-rail { position: absolute; top: 116px; left: 9%; right: 9%; height: 1px; background: var(--line); }
.rag2 .data-trace { display: block; width: calc(var(--journey-progress, 0) * 100%); height: 1px; background: var(--violet-500); }
.rag2 .data-packet { position: absolute; width: 8px; height: 8px; background: var(--violet-700); top: -4px; left: calc(var(--journey-progress, 0) * 100%); transform: rotate(45deg); }
.rag2 .hero-art { margin: 0 calc(-1 * clamp(20px, 5vw, 80px)); overflow: hidden; }
.rag2 .hero-art img { display: block; width: 100%; height: auto; max-height: 85svh; object-fit: contain; }
.rag2 .hero-art figcaption { text-align: center; padding: 12px 24px; }
/* Readable sequential fallback before JS and when motion is reduced. */
.rag2:not([data-scroll="ready"]) .journey, .rag2[data-motion="reduced"] .journey { min-height: auto; }
.rag2:not([data-scroll="ready"]) .journey-sticky, .rag2[data-motion="reduced"] .journey-sticky { position: static; }
.rag2:not([data-scroll="ready"]) .story-panels, .rag2[data-motion="reduced"] .story-panels { display: block; }
.rag2:not([data-scroll="ready"]) .story-panel, .rag2[data-motion="reduced"] .story-panel { opacity: 1; visibility: visible; transform: none; border-bottom: 1px solid var(--line); }
.rag2:not([data-scroll="ready"]) .story-progress, .rag2[data-motion="reduced"] .story-progress { display: none; }
.rag2[data-motion="reduced"] .story-panel { animation: none; }
@keyframes arrive { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes travel { from { transform: translateX(0); } to { transform: translateX(100px); } }
@media (max-width: 760px) {
  .rag2 .chapter-nav { gap: 20px; }
  .rag2 .chapter-nav a { font-size: 12px; }
  .rag2 .search-lanes, .rag2 .feature-grid, .rag2 .feature-wide { grid-template-columns: 1fr; }
  .rag2 .search-lane, .rag2 .feature-card { padding: 28px; }
  .rag2 .search-lane + .search-lane { border-left: 0; border-top: 1px solid var(--line); }
  .rag2 .feature-wide { gap: 24px; }
  .rag2 .provenance-art { min-height: 360px; }
  .rag2 .closing { padding: 80px 0; }
  .rag2 .fusion-junction { display: none; }
  .rag2 header, .rag2 footer { flex-direction: column; align-items: start; }
  .rag2 .system, .rag2 .privacy, .rag2 .section-head, .rag2 .grid { grid-template-columns: 1fr; }
  .rag2 .answer, .rag2 .privacy-detail { border-left: 0; border-top: 1px solid var(--line); padding: 24px; }
  .rag2 .hero { padding: 80px 0; }
  .rag2 section.chapter { padding-top: 96px; padding-bottom: 64px; }
  .rag2 .section-head { gap: 0; }
  .rag2 .story-panel { padding: 24px; }
  .rag2 .story-progress { padding: 0 24px 24px; }
  .rag2 .data-canvas { padding: 20px 12px; }
  .rag2 .data-nodes { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
  .rag2 .data-rail, .rag2 .phase-labels { display: none; }
  .rag2 .data-object { height: 88px; }
  .rag2 .journey { min-height: auto; }
  .rag2 .journey-sticky { position: static; }
  .rag2 .story-panels { display: block; }
  .rag2 .story-panel { opacity: 1; visibility: visible; transform: none; border-bottom: 1px solid var(--line); }
  .rag2 .story-panel.current { animation: none; }
  .rag2 .story-progress { display: none; }
  .rag2 .source-stack, .rag2 .context-object { gap: 6px; font-size: 12px; }
  .rag2 .source-stack span, .rag2 .context-object span { padding: 20px 6px; }
  .rag2 .boundary-object, .rag2 .evidence-object { flex-direction: column; align-items: start; }
}
@media (min-width: 761px) and (min-height: 741px) and (max-height: 1000px) {
  .rag2 .journey-sticky { padding: 68px 0 12px; }
  .rag2 .journey-heading h2 { font-size: 38px; margin: 8px 0 20px; }
  .rag2 .journey-heading .eyebrow { font-size: 15px; }
  .rag2 .product-bar { padding: 12px 24px; }
  .rag2 .data-canvas { padding-top: 16px; padding-bottom: 12px; }
  .rag2 .phase-labels { margin-bottom: 16px; }
  .rag2 .data-object { height: 88px; }
  .rag2 .data-rail { top: 90px; }
  .rag2 .story-panel { padding: 20px 32px 12px; }
  .rag2 .story-panel h3 { font-size: 28px; }
  .rag2 .story-panel p { max-width: 850px; margin-bottom: 12px; }
  .rag2 .story-progress { padding: 0 32px 8px; }
  .rag2 .scroll-cue { margin: 10px 0 0; }
}
@media (max-height: 740px) {
  .rag2 .journey { min-height: auto; }
  .rag2 .journey-sticky { position: static; }
  .rag2 .story-panels { display: block; }
  .rag2 .story-panel { opacity: 1; visibility: visible; transform: none; border-bottom: 1px solid var(--line); }
  .rag2 .story-panel.current { animation: none; }
  .rag2 .story-progress { display: none; }
}
.rag2[data-motion="reduced"] *, .rag2[data-motion="reduced"] *::before, .rag2[data-motion="reduced"] *::after { animation: none !important; transition: none !important; }
.rag2[data-motion="reduced"] .data-object { transform: none; }
.rag2[data-motion="reduced"] .data-packet { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rag2 *, .rag2 *::before, .rag2 *::after { animation: none !important; transition: none !important; }
}
