/* Anatomy proof, theme 1.6.0. Scroll moves the room. Clicks run the sample. */

.olc-anatomy-page {
    --navy: #0c1228;
    --navy-2: #16203f;
    --gold: #c9a227;
    --gold-2: #e2c56a;
    --cream: #f3efe6;
    --paper: #f7f4ee;
    --ink: #152033;
    --muted: #5c6575;
    --line: rgba(226, 197, 106, 0.85);
    --header: 64px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }
.olc-anatomy-page { box-sizing: border-box; }
.olc-anatomy-page { scroll-behavior: auto; }
.olc-anatomy-page {
    margin: 0;
    background: var(--navy);
    color: #f4f1ea;
    font-family: "Source Sans 3", sans-serif;
    font-size: 17px;
    line-height: 1.45;
  }
.olc-anatomy-page img { max-width: 100%; display: block; }
.olc-anatomy-page a { color: inherit; }
.olc-anatomy-page button, .olc-anatomy-page input { font: inherit; }
.olc-anatomy-page .cta:focus-visible, .olc-anatomy-page .text-link:focus-visible, .olc-anatomy-page .stage-btn:focus-visible, .olc-anatomy-page .part-btn:focus-visible, .olc-anatomy-page .choice:focus-visible {
    outline: 2px solid var(--gold-2); outline-offset: 3px;
  }

  /* Chapter 1–3: the room comes apart, then docks into the software */
.olc-anatomy-page .anatomy { position: relative; height: 220vh; }
.olc-anatomy-page .anatomy__sticky {
    position: sticky; top: var(--olc-header-h); height: calc(100dvh - var(--olc-header-h)); overflow: hidden;
    background:
      radial-gradient(900px 520px at 70% 40%, rgba(27,42,94,0.55), transparent 70%),
      var(--navy);
  }
.olc-anatomy-page .chapter-label {
    position: absolute; top: 18px; left: 28px; z-index: 6;
    font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--gold-2);
  }
.olc-anatomy-page .hero-copy {
    position: absolute; z-index: 5; left: 6vw; bottom: 3.2vh; width: min(720px, 88vw);
    text-shadow: 0 18px 40px rgba(0,0,0,0.45);
  }
.olc-anatomy-page .kicker {
    margin: 0 0 12px; font-family: "IBM Plex Mono", monospace; font-size: 12px;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  }
.olc-anatomy-page h1 {
    margin: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 600;
    font-size: clamp(44px, 5.6vw, 84px); line-height: 0.88; letter-spacing: -0.02em;
  }
.olc-anatomy-page .mask { overflow: hidden; }
.olc-anatomy-page .mask span { display: block; animation: olc-ax-rise 0.9s var(--ease) both; }
.olc-anatomy-page .mask span:nth-child(2) { animation-delay: 0.08s; }
  @keyframes olc-ax-rise { from { transform: translateY(110%); } to { transform: none; } }
  .deck {
    margin: 10px 0 0; color: var(--gold-2); font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(24px, 2.5vw, 36px); font-weight: 600; line-height: 1;
  }
.olc-anatomy-page .rule { width: 72px; height: 2px; background: var(--gold); margin: 12px 0; transform-origin: left; animation: olc-ax-draw 0.7s 0.25s var(--ease) both; }
  @keyframes olc-ax-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .lead { margin: 0; max-width: 460px; color: rgba(244,241,234,0.88); font-size: 16px; }
.olc-anatomy-page .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 14px; }
.olc-anatomy-page .cta {
    display: inline-block; text-decoration: none; background: var(--gold); color: var(--navy);
    font-family: "Barlow Condensed", sans-serif; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; padding: 14px 18px; font-size: 16px;
  }
.olc-anatomy-page .text-link { color: #fff; }
.olc-anatomy-page .plan { margin: 10px 0 0; color: rgba(244,241,234,0.8); font-size: 15px; }
.olc-anatomy-page .plan a { color: #fff; }

.olc-anatomy-page .stage {
    position: absolute; inset: 0;
  }
.olc-anatomy-page .rig {
    position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform;
  }
.olc-anatomy-page .layer { position: absolute; inset: 0; transform-style: preserve-3d; }
.olc-anatomy-page .layer-photo img { width: 100%; height: 100%; object-fit: cover; }
.olc-anatomy-page .scrim {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(12,18,40,0.78) 0%, rgba(12,18,40,0.15) 42%, rgba(12,18,40,0.25) 100%);
    pointer-events: none;
  }
.olc-anatomy-page .scan {
    position: absolute; left: 0; right: 0; height: 1px; background: var(--gold);
    box-shadow: 0 0 18px var(--gold); opacity: 0; pointer-events: none;
  }
.olc-anatomy-page .layer-lines { pointer-events: none; opacity: 0; }
.olc-anatomy-page .layer-lines svg { width: 100%; height: 100%; }
.olc-anatomy-page .layer-lines path, .olc-anatomy-page .layer-lines line, .olc-anatomy-page .layer-lines rect, .olc-anatomy-page .layer-lines polyline {
    fill: none; stroke: var(--line); stroke-width: 1.25; vector-effect: non-scaling-stroke;
  }
.olc-anatomy-page .dim {
    position: absolute; font-family: "IBM Plex Mono", monospace; font-size: 11px;
    letter-spacing: 0.14em; color: var(--gold-2); text-transform: uppercase;
    background: rgba(12,18,40,0.55); padding: 4px 6px;
  }
.olc-anatomy-page .plate {
    position: absolute; left: 0; top: 0; width: 210px; padding: 10px 12px;
    background: var(--paper); color: var(--ink);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
    font-size: 14px; will-change: transform, opacity; opacity: 0;
  }
.olc-anatomy-page .plate strong { font-family: "Barlow Condensed", sans-serif; font-size: 22px; font-weight: 600; }
.olc-anatomy-page .plate span { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }

.olc-anatomy-page .os {
    position: absolute; z-index: 7; top: 54px; right: 4vw;
    width: min(400px, 36vw); background: var(--paper); color: var(--ink);
    box-shadow: 0 30px 70px rgba(0,0,0,0.35); opacity: 0; pointer-events: none;
  }
.olc-anatomy-page .os__bar {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--navy); color: #fff; padding: 10px 14px;
    font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  }
.olc-anatomy-page .os__bar b { color: var(--gold-2); font-weight: 500; }
.olc-anatomy-page .os__stages { display: grid; grid-template-columns: 1fr 1fr; }
.olc-anatomy-page .stage-btn {
    appearance: none; border: 0; border-bottom: 1px solid rgba(21,32,51,0.12);
    background: transparent; text-align: left; padding: 10px 12px; cursor: pointer;
    font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
    font-size: 15px; color: var(--muted);
  }
.olc-anatomy-page .stage-btn[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.olc-anatomy-page .os__body { padding: 16px 16px 18px; }
.olc-anatomy-page .os__kicker { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.olc-anatomy-page .os__value { margin: 4px 0 0; font-family: "Barlow Condensed", sans-serif; font-size: 64px; line-height: 0.9; font-weight: 600; }
.olc-anatomy-page .os__status { margin: 4px 0 12px; color: var(--gold); font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; font-size: 18px; }
.olc-anatomy-page .os__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(21,32,51,0.12); }
.olc-anatomy-page .os__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(21,32,51,0.08); font-size: 15px; }
.olc-anatomy-page .os__note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.olc-anatomy-page .thread p { margin: 0 0 8px; padding: 8px 10px; font-size: 15px; }
.olc-anatomy-page .thread .out { background: #e7e1d4; }
.olc-anatomy-page .thread .in { background: #fff; }
.olc-anatomy-page .parts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.olc-anatomy-page .part-btn {
    border: 1px solid rgba(21,32,51,0.2); background: transparent; padding: 6px 8px; cursor: pointer;
    font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  }
.olc-anatomy-page .part-btn[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.olc-anatomy-page .deposit-flag {
    margin: 0 0 10px; padding: 8px 10px; background: #f3e7c3; color: var(--ink); font-size: 14px;
  }

.olc-anatomy-page .transform, .olc-anatomy-page .discover, .olc-anatomy-page .close {
    position: relative; padding: 12vh 6vw;
  }
.olc-anatomy-page .transform { background: var(--navy-2); }
.olc-anatomy-page .transform h2, .olc-anatomy-page .discover h2, .olc-anatomy-page .close h2 {
    font-family: "Barlow Condensed", sans-serif; font-weight: 600;
    font-size: clamp(42px, 6vw, 84px); line-height: 0.92; margin: 0 0 12px; letter-spacing: -0.02em;
  }
.olc-anatomy-page .transform .lede, .olc-anatomy-page .discover .lede { max-width: 560px; margin: 0 0 28px; }
.olc-anatomy-page .compare {
    position: relative; width: min(1100px, 100%); aspect-ratio: 16/9; overflow: hidden;
    background: #000; touch-action: none; cursor: ew-resize;
  }
.olc-anatomy-page .compare img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.olc-anatomy-page .compare__top { position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; }
.olc-anatomy-page .compare__top img { width: 1000px; max-width: none; height: 100%; object-fit: cover; }
.olc-anatomy-page .compare__cut {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--gold);
    box-shadow: 0 0 0 8px rgba(201,162,39,0.2);
  }
.olc-anatomy-page .compare__cut::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; border-radius: 50%;
    transform: translate(-50%, -50%); border: 2px solid var(--gold); background: var(--gold);
  }
.olc-anatomy-page .compare-ui { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 16px; }
.olc-anatomy-page .choice {
    background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 14px; cursor: pointer; font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.12em; text-transform: uppercase;
  }
.olc-anatomy-page .choice[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.olc-anatomy-page .range { flex: 1; min-width: 180px; accent-color: var(--gold); }

.olc-anatomy-page .bridge { height: 28vh; background: linear-gradient(#16203f, #f3efe6); }
.olc-anatomy-page .discover { background: var(--cream); color: var(--ink); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.olc-anatomy-page .discover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.olc-anatomy-page .cap { margin: 8px 0 0; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.olc-anatomy-page .projects { list-style: none; margin: 22px 0 0; padding: 0; }
.olc-anatomy-page .projects a {
    display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: baseline;
    text-decoration: none; padding: 14px 0; border-top: 1px solid rgba(21,32,51,0.15);
    font-family: "Barlow Condensed", sans-serif; font-size: 32px; letter-spacing: -0.01em;
  }
.olc-anatomy-page .projects li:last-child a { border-bottom: 1px solid rgba(21,32,51,0.15); }
.olc-anatomy-page .projects span { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--gold); }
.olc-anatomy-page .projects em { font-style: normal; font-family: "Source Sans 3", sans-serif; font-size: 14px; color: var(--muted); }
.olc-anatomy-page .close { background: var(--navy); text-align: left; }
.olc-anatomy-page .close p { max-width: 460px; }

@media (max-width: 800px) {
  .olc-anatomy-page .anatomy { height: 200vh; }
  .olc-anatomy-page .hero-copy { left: 16px; right: 16px; bottom: 24px; width: auto; }
  .olc-anatomy-page h1 { font-size: 52px; }
  .olc-anatomy-page .os { left: 16px; right: 16px; width: auto; top: auto; bottom: 16px; }
  .olc-anatomy-page .os__value { font-size: 48px; }
  .olc-anatomy-page .discover { grid-template-columns: 1fr; padding: 64px 16px; gap: 22px; }
  .olc-anatomy-page .projects a { font-size: 26px; }
  .olc-anatomy-page .transform { padding: 64px 16px; }
  .olc-anatomy-page .plate { width: 160px; }
  .olc-anatomy-page .plate strong { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .olc-anatomy-page .mask span,
  .olc-anatomy-page .rule { animation: none; }
  .olc-anatomy-page .anatomy { height: auto; }
  .olc-anatomy-page .anatomy__sticky { position: relative; height: auto; overflow: visible; min-height: 100vh; }
  .olc-anatomy-page .hero-copy { position: relative; left: auto; bottom: auto; padding: 96px 6vw 24px; }
  .olc-anatomy-page .rig { position: relative; height: 62vh; transform: none !important; }
  .olc-anatomy-page .os { position: relative; opacity: 1 !important; pointer-events: auto; right: auto; top: auto; width: min(440px, 92vw); margin: 24px 6vw 48px; }
  .olc-anatomy-page .plate,
  .olc-anatomy-page .scan,
  .olc-anatomy-page .layer-lines { display: none; }
}

html.is-settled .olc-anatomy-page .anatomy { height: auto; }
html.is-settled .olc-anatomy-page .anatomy__sticky { position: relative; height: auto; overflow: visible; }
html.is-settled .olc-anatomy-page .hero-copy { position: relative; left: auto; bottom: auto; padding: 96px 6vw 24px; opacity: 1 !important; transform: none !important; }
html.is-settled .olc-anatomy-page .rig { position: relative; height: 62vh; }
html.is-settled .olc-anatomy-page .os { position: relative; opacity: 1 !important; pointer-events: auto; inset: auto; width: min(440px, 92vw); margin: 24px 6vw 48px; }
html.is-settled .olc-anatomy-page .plate { display: none; }

