:root {
  --accent: #6c5ce7;
  --ink: #171719;
  --muted: #707078;
  --line: #deddd8;
  --canvas: #f7f6f2;
  --paper: #fffefa;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "Fragment Mono", monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.appbar {
  position: sticky; top: 0; z-index: 50; height: 48px; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 14px;
  border-bottom: 1px solid #333; color: #e9e9e9; background: #242424; font-size: 12px;
}
.appbar__file, .appbar__nav, .status-pill { display: flex; align-items: center; }
.appbar__file { gap: 8px; min-width: 0; }
.appbar__file > span:last-child { color: #a6a6a6; }
.window-dots { display: flex; gap: 5px; margin-right: 4px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #595959; }
.window-dots i:first-child { background: #ff6258; }
.window-dots i:nth-child(2) { background: #ffbd2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.file-mark { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 5px; color: white; background: var(--accent); font-weight: 700; }
.appbar__nav { justify-content: center; gap: 4px; }
.appbar__nav a { padding: 7px 10px; color: #bcbcbc; text-decoration: none; border-radius: 5px; }
.appbar__nav a:hover { color: white; background: #383838; }
.status-pill { justify-self: end; gap: 7px; padding: 7px 10px; text-decoration: none; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #66d28f; box-shadow: 0 0 0 4px rgba(102,210,143,.12); }

.hero-workspace { position: relative; min-height: calc(100vh - 48px); display: grid; grid-template-columns: 242px minmax(0, 1fr) 268px; gap: 24px; padding: 28px 32px; background: #fff; border-bottom: 1px solid #d8d5cf; }
.side-panel { position: relative; z-index: 3; align-self: start; max-height: calc(100vh - 104px); overflow: auto; padding: 20px 14px; border: 1px solid #dedee5; border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 15px 45px rgba(36,38,50,.08); font-size: 12px; }
.side-panel--pages { border-right: 1px solid #dedee5; }
.side-panel--inspect { border-left: 1px solid #dedee5; padding: 0; }
.panel-label { margin: 0 8px 10px; color: #7a7a7a; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.panel-label--space { margin-top: 26px; }
.side-panel nav { display: grid; gap: 2px; }
.side-panel nav a, .layer-row { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 5px; color: #555; text-decoration: none; }
.side-panel nav a:hover { background: #ececea; }
.side-panel nav a.is-active { color: #111; background: #e8e5fb; }
.side-panel nav a span { color: var(--accent); }
.layer-row { color: #444; }
.layer-row--nested { padding-left: 26px; color: #777; }
.layer-row span { width: 12px; color: #999; font-family: var(--mono); font-size: 9px; }

.hero-stage { position: static; min-height: calc(100vh - 104px); overflow: hidden; display: grid; place-items: center; padding: 185px 8% 135px; background: transparent; }
.hero-stage::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(circle, #d5d7e0 1.45px, transparent 1.55px); background-size: 24px 24px; background-position: 7px 7px; pointer-events: none; }
.stage-grid, .board-grid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(31,31,31,.18) 1px, transparent 1px); background-size: 22px 22px; }
.stage-grid { display: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; pointer-events: none; }
.hero-glow--one { top: 8%; left: 14%; width: 240px; height: 240px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.hero-glow--two { right: 8%; bottom: 8%; width: 300px; height: 300px; background: radial-gradient(circle, #ffe6bc, transparent 70%); }
.hero-copy { position: relative; z-index: 4; max-width: 760px; padding: 38px 46px 34px; border: 1px solid #dddde4; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 20px 55px rgba(33,35,46,.1); text-align: center; }
.eyebrow, .kicker { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; }
.eyebrow span { display: grid; place-items: center; width: 25px; height: 25px; color: white; background: var(--accent); border-radius: 50%; }
.hero-copy h1 { margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.04; letter-spacing: -.05em; }
.hero-copy h1 strong { color: var(--accent); font-weight: 600; }
.hero-copy h1 em { color: #6e6b72; font-family: var(--sans); font-style: normal; font-weight: 500; }
.hero-copy__body { max-width: 580px; margin: 24px auto 28px; color: #55545a; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 0 17px; border: 1px solid #cbc9c4; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 600; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(28,27,25,.12); }
.button--dark { color: white; background: #1c1c1e; border-color: #1c1c1e; }
.button--light { background: rgba(255,255,255,.72); }
.button--accent { color: white; background: var(--accent); border-color: var(--accent); }

.float-card { position: absolute; z-index: 2; width: 190px; padding: 16px; border: 1px solid #dedee5; background: rgba(255,255,255,.96); box-shadow: 0 12px 30px rgba(37,35,51,.1); border-radius: 14px; text-align: left; }
.float-card p, .float-card span { margin: 0; color: #777; font-size: 10px; }
.float-card strong { display: block; margin: 8px 0; font-size: 14px; line-height: 1.35; }
.float-card--brief { top: 7%; right: 4%; transform: rotate(4deg); }
.float-card--flow { left: 4%; bottom: 17%; transform: rotate(-4deg); }
.tiny-status { display: inline-block; padding: 4px 6px; color: #17663f !important; background: #dff6e9; border-radius: 3px; font-family: var(--mono); }
.mini-flow { display: flex; align-items: center; margin: 15px 0 12px; }
.mini-flow i { width: 21px; height: 21px; border: 2px solid var(--accent); border-radius: 5px; animation: process-fill 4.8s ease-in-out infinite; }
.mini-flow i:nth-of-type(2) { animation-delay: .8s; }
.mini-flow i:nth-of-type(3) { animation-delay: 1.6s; }
.mini-flow b { flex: 1; height: 1px; background: #aaa; }
@keyframes process-fill {
  0%, 12% { background: transparent; box-shadow: none; transform: scale(1); }
  22%, 72% { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent); transform: scale(1.06); }
  84%, 100% { background: transparent; box-shadow: none; transform: scale(1); }
}
.hero-polaroid { position: absolute; z-index: 3; top: 6%; left: 27%; width: 154px; padding: 10px 10px 13px; border: 1px solid #dedee5; border-radius: 12px; background: white; box-shadow: 0 12px 28px rgba(37,35,51,.11); transform: rotate(-5deg); }
.portrait-placeholder { height: 122px; overflow: hidden; border: 1px solid #dedee5; background: #eeeae2; }
.portrait-placeholder img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 28%; }
.hero-chip { position: absolute; z-index: 3; padding: 9px 14px; border: 1px solid #d7d7de; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 7px 18px rgba(37,35,51,.08); font-family: var(--mono); font-size: 9px; }
.hero-chip--one { top: 28%; left: 3%; transform: rotate(5deg); }
.hero-chip--two { top: 29%; right: 3%; transform: rotate(-5deg); }
.hero-chip--three { right: 9%; bottom: 28%; transform: rotate(6deg); }
.hero-chip--location { top: 34%; left: 25%; transform: rotate(-4deg); }
.color-card { position: absolute; z-index: 3; right: 4%; bottom: 15%; width: 132px; padding: 8px; border: 1px solid #cfcac1; background: white; box-shadow: 0 9px 22px rgba(37,35,31,.1); transform: rotate(3deg); }
.color-card__swatch { display: block; height: 70px; background: var(--accent); transition: background .2s ease; }
.color-card p { display: flex; justify-content: space-between; align-items: end; gap: 7px; margin: 7px 2px 0; }
.color-card small { display: block; color: #888; font-family: var(--mono); font-size: 7px; }
.color-card strong { color: #333; font-family: var(--mono); font-size: 8px; }
.compact-color { position: absolute; z-index: 6; top: 24px; right: 20px; display: none; align-items: center; gap: 7px; padding: 7px 9px 7px 7px; border: 1px solid #cbc7bf; border-radius: 7px; background: rgba(255,255,255,.92); box-shadow: 0 8px 20px rgba(37,35,31,.1); cursor: pointer; }
.compact-color__wheel { position: relative; width: 27px; height: 27px; overflow: hidden; border: 3px solid white; outline: 1px solid #bbb; border-radius: 50%; background: conic-gradient(#ff5252, #ffd740, #45d483, #3c8dff, #9d55ff, #ff5252); }
.compact-color__wheel::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: white; pointer-events: none; }
.compact-color__wheel input { position: absolute; inset: -8px; z-index: 2; width: 44px; height: 44px; opacity: 0; cursor: pointer; }
.compact-color small { color: #656269; font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.cursor { position: absolute; z-index: 5; display: flex; align-items: center; color: var(--accent); font-size: 10px; pointer-events: none; }
.cursor span { width: 0; height: 0; border-top: 18px solid currentColor; border-right: 11px solid transparent; transform: rotate(-25deg); }
.cursor b { padding: 4px 7px; color: white; background: currentColor; border-radius: 3px; }
.cursor--one { top: 34%; left: 14%; transform: rotate(-6deg); }
.cursor--two { bottom: 32%; right: 12%; color: #0f766e; transform: rotate(8deg); }

.command-bar { position: absolute; z-index: 6; left: 50%; bottom: 52px; width: min(620px, 78%); min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 6px 7px 6px 14px; transform: translateX(-50%); border: 1px solid #c8c6c0; border-radius: 9px; background: rgba(255,255,255,.93); box-shadow: 0 12px 30px rgba(30,28,25,.11); }
.command-bar__icon { width: 24px; height: 24px; display: grid; place-items: center; color: white; background: var(--accent); border-radius: 5px; font-size: 11px; }
.command-bar input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #222; font-size: 13px; }
.command-bar input::placeholder { color: #949494; }
.command-bar button { display: flex; gap: 9px; padding: 8px 10px; border: 0; border-radius: 5px; color: #555; background: #eee; cursor: pointer; font-size: 11px; }
.ask-result { position: absolute; z-index: 7; left: 50%; bottom: 110px; width: min(620px, 78%); padding: 13px 15px; transform: translateX(-50%); border: 1px solid #ccc9c3; border-radius: 8px; background: white; box-shadow: 0 10px 25px rgba(30,28,25,.12); font-size: 12px; line-height: 1.5; }
.ask-result a { float: right; margin-left: 16px; color: var(--accent); font-weight: 700; text-decoration: none; }

.inspect-tabs { display: flex; border-bottom: 1px solid #d8d7d4; }
.inspect-tabs button { flex: 1; padding: 13px; border: 0; border-bottom: 2px solid transparent; color: #898989; background: transparent; font-size: 11px; }
.inspect-tabs .is-active { color: #222; border-color: var(--accent); }
.inspect-section { padding: 16px 12px; border-bottom: 1px solid #dfdedb; }
.selection-name { display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid #c7c6c2; border-radius: 5px; background: white; }
.selection-name span { color: var(--accent); }
.selection-name strong { font-size: 11px; }
.property-grid { display: grid; grid-template-columns: 20px 1fr 20px 1fr; align-items: center; gap: 5px; color: #8a8a8a; font-size: 10px; }
.property-grid b { padding: 7px; color: #333; border: 1px solid #d3d2ce; border-radius: 4px; background: white; font-weight: 400; }
.swatches { display: flex; gap: 9px; }
.swatch { width: 26px; height: 26px; padding: 0; border: 3px solid white; outline: 1px solid #ccc; border-radius: 50%; background: var(--color); cursor: pointer; }
.swatch.is-active { outline: 2px solid var(--color); }
.custom-color { position: relative; width: 28px; height: 28px; overflow: hidden; border: 3px solid white; outline: 1px solid #bbb; border-radius: 50%; background: conic-gradient(#ff5252, #ffd740, #45d483, #3c8dff, #9d55ff, #ff5252); cursor: pointer; }
.custom-color::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: white; pointer-events: none; }
.custom-color input { position: absolute; inset: -8px; width: 44px; height: 44px; opacity: 0; cursor: pointer; }
.accent-value { margin: 10px 2px 0; color: #8b898e; font-family: var(--mono); font-size: 8px; }
.tag-stack { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-stack span { padding: 6px 7px; border: 1px solid #d1d0cc; border-radius: 4px; background: white; font-size: 10px; }
.inspect-links { display: grid; }
.inspect-links a { display: flex; justify-content: space-between; padding: 11px 8px; border-bottom: 1px solid #e7e7ec; text-decoration: none; font-size: 14px; }
.inspect-links a:hover { color: var(--accent); }
.inspect-note { margin: 24px 20px; color: #777; font-family: var(--sans); font-size: 20px; font-weight: 600; line-height: 1.15; transform: rotate(-2deg); }

.product-board { position: relative; overflow: hidden; padding: 28px max(26px, calc((100vw - 1320px) / 2)) 0; background: var(--canvas); }
.board-grid { position: absolute; inset: 0; opacity: .35; background-size: 24px 24px; }
.board-toolbar, .board-intro, .project-zone, .experiment-zone, .capability-zone, .process-zone, .about-zone, .contact-zone, .board-footer { position: relative; z-index: 2; }
.board-toolbar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.72); box-shadow: 0 4px 20px rgba(30,28,25,.04); font-size: 11px; }
.board-toolbar > div { display: flex; align-items: center; gap: 9px; }
.tool-icon { width: 26px; height: 26px; display: grid; place-items: center; color: white; background: var(--accent); border-radius: 5px; font-weight: 700; }
.board-legend { color: #777; }
.board-legend span { display: flex; align-items: center; gap: 5px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.dot--live { background: #36a66d; }.dot--build { background: #f1a53b; }.dot--idea { background: #8985e7; }
.board-intro { max-width: 780px; margin: 110px auto 80px; text-align: center; }
.board-index { display: inline-block; margin: 0 0 25px; padding: 6px 8px; color: var(--accent); border: 1px solid currentColor; border-radius: 4px; font-family: var(--mono); font-size: 10px; }
.kicker { margin: 0 0 13px; color: var(--accent); }
.board-intro h2, .about-card h2, .contact-zone h2 { margin: 0; font-size: clamp(38px, 4.4vw, 66px); line-height: 1.02; letter-spacing: -.045em; }
.board-intro > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.zone-label { position: absolute; z-index: 5; top: -16px; left: 24px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--accent); border-radius: 4px; color: var(--accent); background: var(--canvas); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.zone-label small { padding-left: 9px; border-left: 1px solid currentColor; color: #818087; font: inherit; text-transform: none; }

.project-zone { max-width: 1200px; min-height: 560px; margin: 0 auto 150px; padding: 64px 44px; border: 1px dashed #aaa6bc; border-radius: 12px; }
.connector-map { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.connector-map path, .capability-map svg path { fill: none; stroke: #b8b5c2; stroke-width: 1.3; stroke-dasharray: 5 7; }
.project-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 130px; gap: 16px; }
.project-node { position: relative; display: flex; flex-direction: column; min-height: 350px; padding: 0; overflow: hidden; border: 1px solid #cfcdc7; border-radius: 8px; color: var(--ink); background: var(--paper); box-shadow: 0 10px 30px rgba(39,37,33,.08); text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.project-node:hover { z-index: 4; transform: translateY(-5px) rotate(0deg) !important; border-color: var(--accent); box-shadow: 0 18px 40px rgba(39,37,33,.14); }
.project-node:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 3px; }
.project-node--1 { grid-column: 1 / span 4; grid-row: 1 / span 3; transform: rotate(-1.2deg); }
.project-node--2 { grid-column: 5 / span 4; grid-row: 1 / span 3; margin-top: 38px; transform: rotate(1deg); }
.project-node--3 { grid-column: 9 / span 4; grid-row: 1 / span 3; margin-top: 10px; transform: rotate(-.8deg); }
.project-node--4 { grid-column: 8 / span 5; grid-row: 4 / span 3; margin-top: 80px; transform: rotate(-1.1deg); }
.project-node--5 { grid-column: 1 / span 5; grid-row: 7 / span 3; margin-top: 65px; transform: rotate(1.1deg); }
.project-node--6 { grid-column: 7 / span 5; grid-row: 7 / span 3; margin-top: 100px; transform: rotate(-.5deg); }
.project-node__visual { position: relative; min-height: 145px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid #d9d7d1; color: #87858c; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, #f8f7f2), #eeece5); background-size: cover; background-position: center; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.project-node__visual::before, .project-node__visual::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--accent) 25%, #ccc); background: rgba(255,255,255,.5); }
.project-node__visual::before { width: 55%; height: 55%; transform: translate(-18%, 12%) rotate(-3deg); }
.project-node__visual::after { width: 36%; height: 42%; transform: translate(48%, -22%) rotate(5deg); }
.project-node__visual span, .project-node__visual strong { position: relative; z-index: 2; }
.project-node__visual strong { position: absolute; right: 12px; bottom: 8px; color: color-mix(in srgb, var(--accent) 70%, #111); font-size: 28px; opacity: .35; }
.project-node__visual.has-image::before, .project-node__visual.has-image::after { display: none; }
.project-node__visual.has-preview::before, .project-node__visual.has-preview::after { display: none; }
.project-node__preview {
  position: absolute; inset: 0; z-index: 1; width: 160%; height: 160%; border: 0;
  background: white; pointer-events: none; transform: scale(.625); transform-origin: top left;
}
.project-node__meta { display: flex; align-items: center; gap: 8px; padding: 13px 15px 0; color: #7c7a7f; font-size: 10px; }
.project-status { padding: 4px 6px; border-radius: 3px; font-family: var(--mono); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.status--live { color: #14603b; background: #dcf4e6; }.status--mvp { color: #89520c; background: #fff0ce; }.status--prototype { color: #4c43a8; background: #e8e6ff; }.status--concept { color: #8a3d62; background: #f8dfeb; }
.project-node__title { padding: 13px 15px 0; font-size: 21px; letter-spacing: -.025em; }
.project-node__summary { padding: 8px 15px 18px; color: #66646a; font-size: 12px; line-height: 1.5; }
.project-node__footer { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px 15px; border-top: 1px solid #e4e2dd; color: #87858b; font-size: 9px; }
.project-node__footer b { color: var(--accent); white-space: nowrap; }

.experiment-zone { max-width: 1120px; min-height: 580px; margin: 0 auto 160px; padding: 80px; border: 1px dashed #aba8b6; border-radius: 50% 45% 48% 46%; animation: experiment-shape 12s ease-in-out infinite alternate; }
.experiment-note { --drag-x: 0px; --drag-y: 0px; --drift-x: 0px; --drift-y: 0px; position: absolute; width: 320px; padding: 26px; border: 1px solid #ccc8b9; background: #fff9cd; box-shadow: 0 12px 30px rgba(40,37,29,.09); cursor: grab; touch-action: none; user-select: none; transition: box-shadow .2s ease, border-radius .25s ease; will-change: transform; }
.experiment-note:hover { border-radius: 22px 5px 18px 8px; box-shadow: 0 20px 42px rgba(40,37,29,.15); }
.experiment-note:active, .experiment-note.is-dragging { z-index: 6; cursor: grabbing; border-radius: 28px 8px 24px 10px; box-shadow: 0 28px 55px rgba(40,37,29,.2); }
.experiment-note:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 5px; }
.experiment-note span, .about-sticky span { color: #80762e; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.experiment-note strong { display: block; margin: 13px 0 8px; font-size: 21px; }
.experiment-note p { margin: 0; color: #6f6a53; font-size: 12px; line-height: 1.55; }
.experiment-note--one { top: 100px; left: 9%; transform: translate(calc(var(--drag-x) + var(--drift-x)), calc(var(--drag-y) + var(--drift-y))) rotate(-3deg); }
.experiment-note--two { right: 7%; bottom: 80px; transform: translate(calc(var(--drag-x) + var(--drift-x)), calc(var(--drag-y) + var(--drift-y))) rotate(3deg); background: #e8f5ee; }
.experiment-note--two span { color: #337355; }
.experiment-orbit { position: absolute; left: 48%; top: 47%; width: 170px; height: 170px; display: grid; place-items: center; border: 1px solid #bbb7c3; border-radius: 50%; transform: translate(-50%, -50%); }
.experiment-orbit::before, .experiment-orbit::after { content: ""; position: absolute; inset: 25px -40px; border: 1px dashed #bcb8c6; border-radius: 50%; animation: orbit-one 10s linear infinite; }
.experiment-orbit::after { animation-name: orbit-two; animation-direction: reverse; animation-duration: 13s; }
.experiment-orbit span { color: var(--accent); font-family: var(--sans); font-size: 21px; font-weight: 600; line-height: .9; text-align: center; }
.experiment-orbit i { position: absolute; z-index: 2; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.experiment-orbit i:first-child { top: -3px; }.experiment-orbit i:nth-child(2) { right: -30px; bottom: 29px; }.experiment-orbit i:nth-child(3) { left: -21px; bottom: 18px; }
@keyframes experiment-shape {
  from { border-radius: 50% 45% 48% 46%; }
  to { border-radius: 43% 52% 45% 54%; }
}
@keyframes orbit-one {
  from { transform: rotate(38deg); }
  to { transform: rotate(398deg); }
}
@keyframes orbit-two {
  from { transform: rotate(-38deg) scale(.94); }
  to { transform: rotate(322deg) scale(1.06); }
}

.capability-zone { max-width: 1180px; margin: 0 auto 170px; padding: 34px; border: 1px dashed #aaa7b6; border-radius: 12px; }
.capability-map { position: relative; min-height: 540px; }
.capability-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.capability-core, .capability-node { position: absolute; z-index: 2; display: grid; place-items: center; text-align: center; }
.capability-core { left: 50%; top: 50%; width: 180px; height: 120px; transform: translate(-50%, -50%) rotate(-2deg); color: white; background: var(--accent); border-radius: 8px; box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 24%, transparent); }
.capability-core span { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; opacity: .7; }
.capability-core strong { font-size: 22px; }
.capability-node { min-height: 54px; padding: 10px 16px; border: 1px solid #cbc9c3; border-radius: 7px; background: var(--paper); box-shadow: 0 7px 18px rgba(35,33,30,.07); font-size: 12px; font-weight: 600; }
.node--1 { left: 7%; top: 5%; transform: rotate(-3deg); }.node--2 { left: 34%; top: 3%; transform: rotate(2deg); }.node--3 { right: 6%; top: 5%; transform: rotate(-1deg); }.node--4 { right: 0; top: 36%; transform: rotate(2deg); }
.node--5 { right: 6%; bottom: 5%; transform: rotate(-2deg); }.node--6 { left: 42%; bottom: 0; transform: rotate(1deg); }.node--7 { left: 7%; bottom: 4%; transform: rotate(-2deg); }.node--8 { left: 0; top: 40%; transform: rotate(2deg); }

.process-zone { max-width: 1200px; margin: 0 auto 170px; padding: 80px 46px 60px; border: 1px dashed #aaa7b6; border-radius: 12px; }
.process-track { display: grid; grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr; align-items: center; }
.process-track article { min-height: 210px; padding: 22px; border: 1px solid #cfcdc7; border-radius: 8px; background: var(--paper); box-shadow: 0 8px 20px rgba(38,36,32,.06); }
.process-track article:nth-of-type(even) { transform: translateY(20px); }
.process-track article > span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 42px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--mono); font-size: 10px; }
.process-track strong { display: block; font-size: 22px; }
.process-track p { margin: 9px 0 0; color: #68666b; font-size: 12px; line-height: 1.55; }
.process-track > i { color: var(--accent); font-style: normal; text-align: center; }

.about-zone { max-width: 1120px; min-height: 610px; margin: 0 auto 170px; }
.about-card { width: 72%; padding: 58px; border: 1px solid #cbc9c4; border-radius: 9px; background: var(--paper); box-shadow: 0 14px 35px rgba(38,36,32,.08); }
.about-card h2 { max-width: 650px; margin-bottom: 30px; }
.about-card > p:not(.kicker) { max-width: 680px; color: #5f5d62; font-size: 16px; line-height: 1.75; }
.about-sticky { position: absolute; right: 1%; top: 140px; width: 320px; min-height: 300px; padding: 46px 35px 35px; background: #fff3a8; box-shadow: 0 14px 35px rgba(38,36,32,.13); transform: rotate(3deg); }
.about-sticky::before { content: ""; position: absolute; top: -12px; left: 38%; width: 90px; height: 28px; background: rgba(225,214,190,.7); transform: rotate(-4deg); }
.about-sticky strong { display: block; margin: 50px 0 25px; font-family: var(--sans); font-size: 28px; font-weight: 600; line-height: 1.15; }
.about-sticky small { font-family: var(--mono); }

.contact-zone { max-width: 980px; margin: 0 auto 130px; padding: 90px 70px; border: 2px solid var(--accent); border-radius: 10px; background: color-mix(in srgb, var(--accent) 5%, var(--paper)); text-align: center; box-shadow: 12px 12px 0 color-mix(in srgb, var(--accent) 16%, transparent); }
.contact-zone h2 { max-width: 800px; margin: 0 auto 34px; }
.contact-pin { position: absolute; left: 50%; top: -9px; width: 18px; height: 18px; transform: translateX(-50%); border: 4px solid white; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 5px rgba(0,0,0,.2); }
.contact-note { margin: 20px 0 0; color: #77747a; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.board-footer { min-height: 70px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: #777; font-size: 11px; }
.board-footer a { text-decoration: none; }

.project-modal { width: min(980px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 12px; background: var(--paper); box-shadow: 0 30px 90px rgba(15,14,13,.35); transition: width .28s ease, height .28s ease, max-height .28s ease, border-radius .28s ease; }
.project-modal.is-live { width: calc(100% - 24px); height: calc(100vh - 24px); max-width: none; max-height: calc(100vh - 24px); border-radius: 6px; box-shadow: none; }
.project-modal::backdrop { background: rgba(24,23,22,.64); backdrop-filter: blur(4px); }
.modal-shell { position: relative; display: grid; grid-template-columns: 40% 60%; min-height: 690px; }
.modal-close { position: absolute; z-index: 4; top: 12px; right: 12px; width: 34px; height: 34px; padding: 0; border: 1px solid #d3d1cb; border-radius: 50%; background: rgba(255,255,255,.9); cursor: pointer; font-size: 21px; }
.modal-visual { position: relative; min-height: 690px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 28px; color: white; border-right: 1px solid #d8d6d0; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, white), #ebe9e3); background-size: cover; background-position: center; text-shadow: 0 1px 5px rgba(0,0,0,.65); }
.modal-visual.has-image { color: white; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.modal-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.26), transparent 24%, transparent 62%, rgba(0,0,0,.76)); }
.modal-visual__preview { position: absolute; inset: 0; width: 160%; height: 160%; border: 0; background: white; pointer-events: none; transform: scale(.625); transform-origin: top left; }
.modal-visual__expand { position: absolute; inset: 0; z-index: 2; padding: 0; border: 0; color: white; background: transparent; cursor: zoom-in; }
.modal-visual__expand span { position: absolute; left: 50%; top: 48%; padding: 9px 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(17,17,19,.72); font-family: var(--mono); font-size: 9px; opacity: 0; transform: translate(-50%, -42%); transition: opacity .18s ease, transform .18s ease; }
.modal-visual__expand:hover span, .modal-visual__expand:focus-visible span { opacity: 1; transform: translate(-50%, -50%); }
.modal-status, .modal-visual > div { position: relative; z-index: 3; pointer-events: none; }
.modal-status { align-self: flex-start; padding: 6px 8px; border: 1px solid currentColor; border-radius: 4px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.modal-visual small { display: block; font-family: var(--mono); font-size: 9px; }
.modal-visual strong { display: block; margin-top: 10px; color: white; font-size: 34px; letter-spacing: -.04em; }
.modal-visual.has-image strong { color: white; }
.modal-content { padding: 52px 48px 38px; overflow: auto; }
.modal-category { margin: 0 0 12px; color: var(--accent); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.modal-content h2 { margin: 0; font-size: 42px; line-height: 1; letter-spacing: -.045em; }
.modal-summary { margin: 17px 0 25px; color: #656268; font-size: 15px; line-height: 1.6; }
.modal-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid #dedcd6; border-bottom: 1px solid #dedcd6; }
.modal-facts div { display: grid; gap: 6px; }
.modal-facts span, .modal-notes span { color: #969399; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.modal-facts strong { font-size: 11px; line-height: 1.4; }
.modal-notes article { padding: 17px 0; border-bottom: 1px solid #e1dfda; }
.modal-notes p { margin: 7px 0 0; color: #555359; font-size: 12px; line-height: 1.55; }
.modal-actions { display: flex; gap: 8px; margin-top: 24px; }
.button.is-disabled { color: #9a979d; background: #edebe6; border-color: #dedbd5; pointer-events: none; }
.modal-live-view { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; overflow: hidden; background: white; opacity: 0; transform: scale(.96); transform-origin: center; transition: opacity .24s ease, transform .24s ease; }
.modal-live-view[hidden] { display: none; }
.modal-live-view.is-active { opacity: 1; transform: scale(1); }
.modal-live-view__bar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 10px 8px 16px; border-bottom: 1px solid #deddd8; background: #fff; }
.modal-live-view__bar > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.modal-live-view__bar i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #42b883; box-shadow: 0 0 0 4px rgba(66,184,131,.13); }
.modal-live-view__bar strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.modal-live-view__bar span { color: #8a878d; font-family: var(--mono); font-size: 9px; white-space: nowrap; }
.modal-live-view__bar a { color: #5f5d62; font-size: 11px; text-decoration: none; }
.modal-live-view__bar button { width: 34px; height: 34px; padding: 0; border: 1px solid #d3d1cb; border-radius: 50%; background: white; cursor: pointer; font-size: 21px; }
.modal-live-view iframe { width: 100%; flex: 1; border: 0; background: white; }

@media (max-width: 1100px) {
  .hero-workspace { grid-template-columns: 184px minmax(0, 1fr); gap: 18px; padding: 22px; }
  .side-panel--inspect { display: none; }
  .compact-color { display: flex; }
  .hero-stage { padding-inline: 7%; }
  .project-zone { padding-inline: 34px; }
  .process-track { grid-template-columns: 1fr 42px 1fr; gap: 16px 0; }
  .process-track > i:nth-of-type(2) { display: none; }
  .process-track article:nth-of-type(3) { grid-column: 1; }
  .process-track article:nth-of-type(4) { grid-column: 3; }
}

@media (max-width: 780px) {
  .appbar { grid-template-columns: 1fr auto; }
  .appbar__nav, .appbar__file > span:not(.window-dots):not(.file-mark), .appbar__file strong { display: none; }
  .status-pill { font-size: 10px; }
  .hero-workspace { display: block; min-height: auto; padding: 0; }
  .side-panel--pages { display: none; }
  .hero-stage { position: relative; min-height: 860px; padding: 218px 18px 155px; }
  .hero-copy { padding: 30px 20px 27px; border-radius: 18px; }
  .hero-copy h1 { font-size: clamp(43px, 12vw, 58px); }
  .hero-copy__body { font-size: 15px; }
  .hero-polaroid { top: 24px; left: 50%; width: 134px; padding: 8px 8px 10px; transform: translateX(-50%) rotate(-3deg); }
  .portrait-placeholder { height: 96px; }
  .float-card, .color-card, .hero-chip--two, .hero-chip--three { display: none; }
  .hero-chip--one { top: 170px; left: 50%; transform: translateX(-50%) rotate(2deg); }
  .hero-chip--location { top: 182px; left: 18px; }
  .cursor { display: none; }
  .command-bar, .ask-result { width: calc(100% - 36px); }
  .command-bar { bottom: 42px; }
  .ask-result { bottom: 102px; }
  .product-board { padding-inline: 16px; }
  .board-toolbar { padding: 7px; }
  .board-legend { display: none !important; }
  .board-intro { margin: 85px auto 65px; }
  .board-intro h2, .about-card h2, .contact-zone h2 { font-size: 42px; }
  .project-zone { min-height: auto; padding: 50px 14px 20px; margin-bottom: 110px; }
  .connector-map { display: none; }
  .project-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 20px; }
  .project-node { grid-column: auto; grid-row: auto; min-height: 370px; margin: 0; transform: none; }
  .experiment-zone { min-height: auto; padding: 70px 16px 30px; border-radius: 12px; margin-bottom: 110px; }
  .experiment-note { position: relative; inset: auto; width: auto; margin: 0 0 26px; transform: translate(var(--drag-x), var(--drag-y)) rotate(-1deg); }
  .experiment-note--two { transform: translate(var(--drag-x), var(--drag-y)) rotate(1deg); }
  .experiment-orbit { position: relative; inset: auto; margin: 70px auto 35px; transform: none; }
  .capability-zone { padding: 60px 14px 20px; margin-bottom: 110px; }
  .capability-map { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .capability-map svg { display: none; }
  .capability-core, .capability-node { position: relative; inset: auto; width: auto; min-height: 70px; transform: none; }
  .capability-core { grid-column: 1 / -1; height: 110px; }
  .process-zone { padding: 60px 14px 20px; margin-bottom: 110px; }
  .process-track { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .process-track > i { transform: rotate(90deg); }
  .process-track article, .process-track article:nth-of-type(3), .process-track article:nth-of-type(4) { grid-column: 1; min-height: 185px; transform: none; }
  .process-track article > span { margin-bottom: 26px; }
  .about-zone { min-height: auto; margin-bottom: 110px; }
  .about-card { width: 100%; padding: 35px 25px 210px; }
  .about-card > p:not(.kicker) { font-size: 14px; }
  .about-sticky { top: auto; right: 4%; bottom: -30px; width: 82%; min-height: 220px; padding: 35px 25px 25px; }
  .about-sticky strong { margin: 30px 0 20px; font-size: 25px; }
  .contact-zone { padding: 70px 20px; margin-bottom: 90px; box-shadow: 7px 7px 0 color-mix(in srgb, var(--accent) 16%, transparent); }
  .modal-shell { display: block; }
  .project-modal { width: calc(100% - 18px); max-height: calc(100vh - 18px); }
  .project-modal.is-live { width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
  .modal-visual { min-height: 210px; border-right: 0; border-bottom: 1px solid #d8d6d0; }
  .modal-visual__expand span { opacity: 1; top: 50%; }
  .modal-content { padding: 32px 22px 26px; }
  .modal-content h2 { font-size: 34px; }
  .modal-actions { flex-direction: column; }
  .modal-live-view__bar span, .modal-live-view__bar a { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
