:root { color-scheme: dark; }
body {
  --canvas: #0b0c10;
  --type: #f2f1ef;
  --sub: #b8bac3;
  --border: #34363e;
  --panel: #181a20;
  --lime: #c0fa73;
  --violet: #ab9bff;
  --code: "IBM Plex Mono", Consolas, monospace;
  margin: 0;
  background: var(--canvas);
  color: var(--type);
}
body .mast, body footer { background: var(--canvas); border-color: var(--border); color: var(--type); }
.mast .brand, .mast .home-nav a, footer .brand, footer a { color: var(--type); }
.mast .nav-action, main .btn.primary { color: #14180d; background: var(--lime); border-color: var(--lime); }
.mast .nav-action:hover, main .btn.primary:hover { color: #14180d; background: #d2ffa2; }
body .skip { color: #0b0c10; background: var(--lime); }
body :where(a,summary):focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.eyebrow { color: var(--lime); font: 550 .86rem/1.5 var(--code); margin-bottom: 1.1rem; letter-spacing: .065em; }
.eyebrow .line { display: inline-block; width: 1.55rem; height: 2px; background: currentColor; }
main h1, main h2, main h3 { color: var(--type); font-family: var(--display,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif); font-weight: 580; }
main h1 em { color: var(--lime); font-style: normal; }
main h1 { line-height: .96; letter-spacing: -.071em; }
main .btn, main .guide-link, .mast .nav-action { border-radius: 999px; }
.reading-progress { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .reading-progress { display: block; position: fixed; inset: 0 0 auto; z-index: 6; height: 3px; background: var(--lime); transform-origin: left; animation: reading-length auto linear both; animation-timeline: scroll(root block); }
    @keyframes reading-length { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0s !important; transition-duration: 0s !important; }
}

.workspace-intro { display: grid; grid-template-columns: minmax(0,.98fr) minmax(0,1.02fr); gap: clamp(2rem,5.5vw,6rem); align-items: center; padding-block: clamp(3.25rem,7vw,7.2rem); }
.workspace-title h1 { max-width: none; margin: 0 0 1.3rem; font-size: clamp(3.8rem,6.8vw,7.5rem); }
.workspace-title h1 em { display: block; }
.workspace-dek { max-width: 38rem; color: var(--sub); font-size: clamp(1.1rem,1.3vw,1.28rem); line-height: 1.57; margin: 0 0 1.65rem; }
.portfolio-stage { isolation: isolate; position: relative; padding: clamp(.5rem,1.5vw,1.4rem) .5rem; }
.portfolio-stage::before { content: ""; pointer-events: none; position: absolute; inset: -7% -1%; z-index: -1; background: radial-gradient(ellipse closest-side at 55% 51%, #9c88ff4d, transparent 96%), radial-gradient(ellipse closest-side at 29% 72%, #a9ce6b29, transparent 97%); }
.workspace-image { margin: 0; overflow: hidden; border: 1px solid #47484e; border-radius: .55rem; background: #191b20; box-shadow: 0 1.6rem 4.3rem #0008; }
.workspace-image-title, .workspace-image figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .3rem .75rem; padding: .7rem .95rem; }
.workspace-image-title span { font-size: 1rem; font-weight: 590; }
.workspace-image-title small, .workspace-image figcaption { font: .82rem/1.35 var(--code); color: var(--sub); }
.workspace-image-window { position: relative; aspect-ratio: 642/483; overflow: hidden; border-block: 1px solid var(--border); background: #1d1d20; }
.workspace-image-window img { position: absolute; width: 224.3%; height: auto; max-width: none; left: -47.35%; top: -143.1%; }
.workspace-image figcaption { padding-block: .25rem; }
.workspace-image figcaption a { display: inline-flex; align-items: center; min-height: 2.55rem; color: var(--type); }
.workspace-ops, .workspace-ready, .workspace-fit { border-top: 1px solid var(--border); }
.workspace-ops, .workspace-planning, .workspace-ready, .workspace-fit { padding-block: clamp(3.5rem,7.25vw,7.35rem); }
.workspace-ops { background: #101117; }
.workspace-lead { max-width: 50rem; }
.workspace-lead h2, .workspace-fit h2 { max-width: 18ch; font-size: clamp(2.6rem,5.2vw,5.25rem); line-height: 1.01; letter-spacing: -.061em; margin: 0 0 1.15rem; }
.workspace-lead > p:not(.eyebrow), .workspace-rows p, .workspace-panels p, .workspace-ready-inner h3 + p, .workspace-fit p { color: var(--sub); font-size: 1.075rem; line-height: 1.65; margin: 0 0 1rem; }
.workspace-lead > p:not(.eyebrow) { max-width: 61ch; }
.screen-reel { padding: clamp(1.1rem,2.5vw,2.1rem); margin: clamp(2rem,4vw,3.6rem) 0 0; background: #191a21; border: 1px solid #41434d; border-radius: .55rem; min-width: 0; }
.screen-reel legend { float: left; padding: 0; margin: 0 .85rem .85rem 0; font-size: clamp(1.22rem,1.8vw,1.7rem); font-weight: 570; letter-spacing: -.026em; }
.screen-choices { margin-left: auto; width: max-content; max-width: 100%; display: flex; gap: .4rem; flex-wrap: wrap; }
.screen-choices label { display: inline-flex; align-items: center; min-height: 2.7rem; position: relative; border: 1px solid #4b4d59; border-radius: .35rem; padding: .5rem .95rem; font-size: .95rem; line-height: 1.3; cursor: pointer; color: var(--sub); }
.screen-choices label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.screen-choices label:has(input:checked) { color: #141120; background: var(--violet); border-color: var(--violet); font-weight: 630; }
.screen-choices label:has(input:focus-visible) { outline: 3px solid white; outline-offset: 3px; }
.screen-panels { clear: both; padding-top: 1rem; }
.screen-slide { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(0,.65fr); gap: clamp(1.1rem,2.6vw,2.75rem); align-items: end; border-top: 1px solid var(--border); padding-top: 1.1rem; margin: 0; }
.screen-shot { display: block; overflow: hidden; border: 1px solid #70727c; background: white; border-radius: .3rem; }
.screen-shot img { width: 100%; height: auto; display: block; }
.screen-slide figcaption { padding-bottom: .5rem; }
.screen-slide figcaption strong { display: block; font: 560 clamp(1.4rem,2.9vw,3rem)/1.07 var(--display,sans-serif); letter-spacing: -.054em; max-width: 13ch; }
.screen-slide figcaption p { color: var(--sub); font-size: 1.05rem; line-height: 1.5; margin: .8rem 0 1.2rem; }
.screen-slide figcaption small { color: var(--violet); font: .83rem/1.45 var(--code); }
.screen-action, .screen-verified { display: none; }
.screen-reel:has([value="action"]:checked) .screen-finding, .screen-reel:has([value="verified"]:checked) .screen-finding { display: none; }
.screen-reel:has([value="action"]:checked) .screen-action, .screen-reel:has([value="verified"]:checked) .screen-verified { display: grid; }
.workspace-rows { margin-top: clamp(2.25rem,4.4vw,4.35rem); border-bottom: 1px solid var(--border); }
.workspace-rows article, .workspace-ready-inner, .workspace-fit { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); column-gap: clamp(2rem,6vw,6rem); }
.workspace-rows article { border-top: 1px solid var(--border); padding-block: clamp(1.45rem,2.65vw,2.6rem); }
.workspace-page h3 { font-size: clamp(1.4rem,2.3vw,2.3rem); letter-spacing: -.041em; line-height: 1.16; margin: 0 0 .7rem; }
.workspace-rows article p:last-child, .workspace-panels p:last-child, .workspace-ready-inner p:last-child { margin-bottom: 0; }
.workspace-links { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
.workspace-links a, .workspace-fit .plain-link { color: var(--lime); font-weight: 580; }
.workspace-links a { display: inline-flex; align-items: center; min-height: 2.55rem; }
.workspace-panels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.2rem,3.5vw,3.5rem); margin-top: clamp(1.75rem,3vw,2.75rem); }
.workspace-panels article { border-top: 1px solid var(--violet); padding-top: 1.5rem; }
.workspace-planning .eyebrow, .workspace-ready .eyebrow { color: var(--violet); }
.workspace-ready { background: #191821; }
.workspace-ready-inner { grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr); }
.workspace-ready-inner .workspace-lead { align-self: start; }
.workspace-ready-inner h3:not(:first-child) { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid #41404f; }
.workspace-fit h2 { max-width: 13ch; }
@media (prefers-reduced-motion: no-preference) {
  .screen-slide { animation: show-screen .28s cubic-bezier(.22,.68,.2,1) both; }
  @keyframes show-screen { from { opacity: .55; transform: translateY(.45rem); } to { opacity: 1; transform: none; } }
  @supports (animation-timeline: view()) {
    .portfolio-stage .workspace-image { animation: portfolio-sweep linear both; animation-timeline: view(block); animation-range: cover 12% cover 95%; }
    @keyframes portfolio-sweep { from { transform: perspective(1500px) rotateY(-7deg) rotateX(3deg) rotateZ(-1deg) translateY(1rem); } to { transform: perspective(1500px) rotateY(4deg) rotateX(-2deg) rotateZ(.6deg) translateY(-1rem); } }
    .workspace-panels article, .workspace-rows article { animation: workspace-row linear both; animation-timeline: view(block); animation-range: entry 0% entry 60%; }
    @keyframes workspace-row { from { opacity: .58; transform: translateY(1.75rem); } to { opacity: 1; transform: none; } }
    .screen-reel { animation: reel-entry linear both; animation-timeline: view(block); animation-range: entry 0% entry 65%; }
    @keyframes reel-entry { from { transform: perspective(1300px) rotateX(4deg) scale(.96); } to { transform: none; } }
  }
}
@media (max-width: 53rem) {
  .workspace-intro { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 1.5rem; }
  .workspace-title h1 { font-size: clamp(3.45rem,7vw,5.8rem); }
  .screen-slide { grid-template-columns: minmax(0,1.45fr) minmax(0,.75fr); gap: 1.1rem; }
}
@media (max-width: 45rem) {
  .workspace-intro, .screen-slide, .workspace-rows article, .workspace-panels, .workspace-ready-inner, .workspace-fit { grid-template-columns: 1fr; }
  .workspace-intro { gap: 2rem; padding-top: 3rem; }
  .workspace-title h1 { font-size: clamp(3.8rem,10.8vw,5.5rem); max-width: 13ch; }
  .portfolio-stage { padding-inline: .2rem; max-width: 36rem; width: 100%; }
  .screen-reel legend { float: none; position: relative; top: 1rem; margin: 0; }
  .screen-reel { padding-top: 1.7rem; }
  .screen-choices { width: 100%; margin: 0; }
  .screen-slide figcaption { padding: .2rem 0; }
  .screen-slide figcaption strong { max-width: none; }
  .screen-slide figcaption p { margin: .45rem 0 .7rem; }
  .workspace-ready-inner { gap: .9rem; }
  .workspace-fit { gap: .65rem; }
}
@media (max-width: 24rem) {
  .screen-choices label { padding: .45rem .5rem; font-size: .88rem; }
}
@media print {
  .workspace-page { background: white; color: black; }
  .workspace-page .mast, .reading-progress, .workspace-title .btn, footer { display: none; }
  .workspace-intro, .workspace-fit, .workspace-ready-inner { display: block; }
  .workspace-ops, .workspace-ready, .workspace-fit, .workspace-planning, .workspace-intro { padding-block: 1.5rem; background: white; }
  .workspace-page main :is(h1,h2,h3,p) { color: black; }
  .screen-reel, .workspace-image { print-color-adjust: exact; }
}

