:root {
  --muted: #a0a397;
  --page-gutter: 6%;
  --content-right: 132px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}
[data-theme="light"] { --muted: #575d54; --line: #c4c8bf; }
*, *::before, *::after { letter-spacing: 0; }
.kicker, .section-label, .site-nav, .magnetic-link, .work-list small, .work-list span,
.work-preview-card p, .work-preview-card > span, .loader-kicker, .loader-count { letter-spacing: 0; }
html { scroll-padding-top: 32px; scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--acid); outline-offset: 6px; }
html:not([data-custom-cursor="true"]), html:not([data-custom-cursor="true"]) body,
html:not([data-custom-cursor="true"]) a, html:not([data-custom-cursor="true"]) button { cursor: auto !important; }
.arrow-icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; filter: invert(1); }
[data-theme="light"] .arrow-icon { filter: none; }
.text-link { display: inline-flex; gap: 24px; align-items: center; width: fit-content; padding-block: 12px; color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; font-size: 12px; }
.text-link .arrow-icon { transition: transform 220ms var(--ease-out); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 300; padding: 12px; background: var(--text); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.screen-vignette { height: 14px; opacity: .18; z-index: 8; }
.grain { position: absolute; opacity: .08; mix-blend-mode: normal; }
.site-nav { top: 32px; right: 30px; font-size: 11px; gap: 12px; mix-blend-mode: difference; }
.site-nav a { position: relative; color: #e0e0e0; }
.site-nav .nav-number, .site-nav .nav-arrow { display: none; }
.site-nav .nav-label { display: inline-block; transition: transform 180ms var(--ease-out); }
.site-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 200ms var(--ease-out); }
.site-nav a[aria-current="location"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; outline: 2px solid transparent; }
.site-nav a:focus-visible { outline-color: var(--acid); }
.site-nav a[aria-current="location"] { color: var(--acid); }
.nav-toggle { display: none; }
.navigation-drawer:not([open]) { display: none; }
.navigation-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; border: 0; border-left: 1px solid var(--line); padding: 30px 24px 24px; width: min(520px, 100%); height: 100%; max-width: 100%; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--background); color: var(--text); }
.navigation-drawer[open] { display: flex; flex-direction: column; }
.navigation-drawer::backdrop { background: #0008; }
.index-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; font-size: 12px; line-height: 1.7; }
.index-header > span > span { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; }
.index-header button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: none; color: inherit; border-radius: 50%; transition: transform 140ms var(--ease-out); }
.index-body { margin-block: auto; padding-block: 40px; }
.index-eyebrow { color: var(--muted); font-size: 10px; text-transform: uppercase; display: block; margin-bottom: 20px; }
.index-footer { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: env(safe-area-inset-bottom, 0px); display: flex; justify-content: space-between; gap: 16px; font-size: 10px; line-height: 1.7; color: var(--muted); }
.index-footer a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.index-footer .arrow-icon { width: 16px; height: 16px; }
.theme-toggle { top: 32px; left: var(--page-gutter); width: 48px; height: 28px; }
.sound-toggle { position: fixed; right: 32px; bottom: 60px; z-index: 210; }
.initial-loader { background: var(--background); gap: 22px; }
.loader-title { font-size: 104px; line-height: 1; }
.loader-kicker { font-size: 11px; }
.loader-line { display: none; }
.loader-count { height: 14px; transition: opacity 200ms ease; }
.initial-loader[data-ready="true"] .loader-count { opacity: 0; }
.initial-loader .loader-start { display: flex; align-items: center; gap: 24px; text-transform: none; font-weight: 400; opacity: 0; transition: opacity 300ms ease, color 180ms ease, transform 140ms var(--ease-out); }
.initial-loader[data-ready="true"] .loader-start { opacity: 1; }
.loader-silent { padding: 6px; background: transparent; border: 0; color: var(--muted); font: inherit; font-size: 11px; }
.loader-silent:disabled { visibility: hidden; }
.loader-silent:hover { color: var(--text); }
.mask-stage { min-height: min(820px, calc(var(--motion-height, 100svh) - 80px)); padding: 148px var(--content-right) 110px var(--page-gutter); overflow: clip; background-size: 96px 96px; }
.mask-stage > .hero-stack { transform: none; transition: none; width: 100%; will-change: auto; gap: 32px; }
.hero-mask-frame { transform: none; transition: none; will-change: auto; }
.hero-copy h1, .hero-copy h2 { font-size: 80px; line-height: .96; max-width: 1100px; }
.hero-copy .kicker { font-size: 13px; opacity: 1; margin-bottom: 36px; }
.hero-copy .line-wrap { overflow: visible; }
.line-wrap > span { animation: none; transform: none; }
.hero-grid { max-width: 970px; grid-template-columns: 1fr 1fr; font-size: 12px; line-height: 1.8; border-color: var(--line); gap: 48px; }
.hero-reveal { background: var(--acid); }
.hero-reveal .kicker { color: var(--black); }
.hero-actions { gap: 10px; }
.magnetic-link { min-height: 42px; font-size: 11px; border-color: var(--line); border-radius: 5px; }
.hero-scroll { position: absolute; bottom: 32px; left: var(--page-gutter); display: flex; align-items: center; gap: 14px; color: var(--muted); text-decoration: none; font-size: 10px; }
.scroll-stem { width: 1px; height: 28px; background: var(--acid); transform-origin: top; }
.passing-statement { overflow: clip; padding-block: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement-track { width: max-content; font-family: "EB Garamond", serif; font-size: 104px; line-height: 1.1; padding: 0; padding-left: clamp(28px, 7vw, 56px); }
.statement-track em { color: var(--acid); }
.statement-rule { display: none; }
.flagship-section, .secondary-work, .research-shelf, .practice-section, .contact-section { padding: 100px var(--content-right) 100px var(--page-gutter); }
.section-label { font-size: 11px; color: var(--muted); font-weight: 400; line-height: 1.5; margin: 0; text-transform: uppercase; }
.chapter-heading { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px 48px; margin-bottom: 76px; align-items: end; }
.chapter-heading > .section-label { grid-column: 1 / -1; }
.chapter-heading h2, .secondary-work h2, .practice-section h2 { font-size: 76px; line-height: 1.04; max-width: 880px; }
.chapter-aside { font-size: 12px; color: var(--muted); line-height: 1.9; margin: 0 0 8px; }
.fleet-stage { display: grid; grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; min-height: 600px; width: 100%; }
.fleet-copy { min-width: 0; }
.project-eyebrow { display: flex; gap: 18px; align-items: center; font-size: 10px; line-height: 1.5; color: var(--muted); }
.project-eyebrow > span:first-child { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.fleet-copy h3 { margin: 24px 0 16px; font-family: "EB Garamond", serif; font-size: 86px; font-weight: 400; line-height: 1; }
.title-period { color: var(--acid); }
.project-summary { font-family: "EB Garamond", serif; font-size: 30px; line-height: 1.2; margin: 20px 0; }
.project-description { max-width: 350px; color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0 0 16px; }
.fleet-console { min-width: 0; width: 100%; }
.architecture-tabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; margin: 0; border-bottom: 1px solid var(--line); }
.architecture-tabs button { font: inherit; font-size: 11px; padding: 14px 8px; background: none; border: none; color: var(--muted); text-align: left; transition: color 160ms ease, background 160ms ease; }
.architecture-tabs button span { font-size: 9px; opacity: .6; margin-right: 4px; }
.architecture-tabs button[aria-selected="true"] { color: var(--acid); border-color: var(--acid); }
.tab-marker { position: absolute; pointer-events: none; bottom: -1px; left: 0; width: calc(100% / 3); height: 2px; background: var(--acid); transition: transform 220ms var(--ease-out); }
.sequence-progress { height: 1px; background: var(--line); margin-block: 12px 16px; width: 100%; }
.sequence-progress span { display: block; height: 1px; background: var(--acid); transform: scaleX(.05); transform-origin: left; }
.architecture-vitrine { --diagram-accent: #d1ff48; background: #121514; color: #ebede5; border: 1px solid #3e4939; border-radius: 6px; min-width: 0; box-shadow: 0 24px 70px #0002; }
.vitrine-header, .vitrine-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 20px 24px; font-size: 10px; color: #a8b09f; }
.vitrine-header { border-bottom: 1px solid #31392e; }
.vitrine-footer { border-top: 1px solid #31392e; }
.vitrine-footer a { color: inherit; display: flex; gap: 12px; align-items: center; text-decoration: none; }
.vitrine-footer .arrow-icon { filter: invert(1); width: 14px; height: 14px; }
.architecture-panels { position: relative; height: 410px; overflow: hidden; }
.architecture-track { display: flex; width: 100%; height: 100%; }
.architecture-panel { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; padding: 28px; display: flex; flex-direction: column; }
.architecture-panel[hidden] { display: none; }
.fleet-console[data-mode="manual"] .architecture-panels { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--acid) transparent; }
.fleet-console[data-mode="manual"] .architecture-panel { scroll-snap-align: start; }
.architecture-caption { margin-top: auto; }
.architecture-caption h4 { font-family: "EB Garamond", serif; font-size: 30px; line-height: 1.1; font-weight: 400; margin: 12px 0; }
.architecture-caption p { color: #a8b09f; font-size: 11px; line-height: 1.8; margin: 0; max-width: 490px; }
.branch-diagram { padding: 8px 0; }
.repo-node { display: flex; align-items: center; gap: 16px; width: fit-content; margin: 0 auto; font-size: 10px; }
.repo-node strong { display: block; margin-top: 5px; color: #a8b09f; font-weight: 400; }
.node-symbol { color: var(--diagram-accent); font-size: 38px; border: 1px solid #637043; width: 60px; height: 60px; display: grid; place-items: center; }
.branch-lines { display: flex; height: 48px; width: 70%; margin: auto; position: relative; border-bottom: 1px solid #727b4c; }
.branch-lines::before { content: ""; position: absolute; height: 100%; left: 50%; width: 1px; background: #727b4c; }
.branch-lines span { flex: 1; }
.branch-nodes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; padding-top: 16px; }
.branch-nodes > div { position: relative; padding: 14px 8px; border: 1px solid #56603a; background: #1c221a; text-align: center; }
.branch-nodes > div::before { content: ""; position: absolute; bottom: 100%; left: 50%; height: 16px; width: 1px; background: #727b4c; }
.branch-nodes span { display: block; font-size: 9px; color: #a8b09f; }
.branch-nodes strong { display: block; color: var(--diagram-accent); font-size: 14px; font-weight: 400; margin-top: 8px; }
.code-label { display: block; text-transform: uppercase; font-size: 9px; color: #8d9786; margin-bottom: 14px; }
.execution-diagram code, .inspect-diagram code { display: block; font-size: 15px; line-height: 1.8; font-family: inherit; }
.execution-diagram code > span, .inspect-diagram code > span { color: var(--diagram-accent); }
.execution-flow { display: flex; gap: 8px; margin-top: 18px; font-size: 10px; align-items: center; }
.execution-flow > * { flex: 1; border-top: 1px solid #697846; padding-top: 12px; font-weight: 400; }
.execution-flow strong { color: var(--diagram-accent); }
.stream-lines { display: flex; flex-direction: column; gap: 7px; padding-top: 24px; }
.stream-lines i { display: block; height: 3px; background: #4c5844; width: 55%; }
.stream-lines i:nth-child(2) { width: 82%; background: #839852; }
.stream-lines i:nth-child(3) { width: 70%; }
.stream-lines i:nth-child(4) { width: 35%; background: var(--diagram-accent); }
.memory-section { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 56px; padding: 96px var(--content-right) 90px var(--page-gutter); background: #203de2; color: #f2f3ff; overflow: clip; }
.memory-section .project-eyebrow { color: #c3ccff; }
.memory-copy { min-width: 0; }
.memory-copy h2 { font-size: 86px; margin: 24px 0; line-height: 1; }
.memory-copy h2 span { display: inline; color: #d1ff48; }
.memory-deck { font-family: "EB Garamond", serif; font-size: 33px; line-height: 1.2; }
.memory-copy > p:not(.memory-deck) { font-size: 12px; line-height: 1.9; max-width: 380px; color: #d3dbff; }
.memory-copy .text-link { margin-top: 18px; }
.memory-section .arrow-icon { filter: invert(1); }
.memory-figure { margin: 0; min-width: 0; }
.memory-image-frame { display: block; aspect-ratio: 1200 / 840; overflow: hidden; background: #dce0ff; border-radius: 4px; }
.memory-figure img { display: block; width: 100%; height: 100%; object-fit: contain; }
.memory-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; font-size: 9px; color: #d0d8ff; }
.secondary-work { background: var(--background); min-height: 0; }
.secondary-work h2 { margin: 28px 0 52px; }
.work-list { border-top: 1px solid var(--line); }
.work-list > a { position: relative; display: grid; grid-template-columns: 48px minmax(0,1fr) minmax(180px,.55fr) 24px; align-items: center; gap: 18px; padding: 26px 0; min-height: 140px; transform: none; transition: background 180ms ease, color 180ms ease; border-bottom: 1px solid var(--line); }
.work-list > a > strong { font-size: 62px; line-height: 1.1; transform: none; }
.work-list > a > span { font-size: 11px; }
.work-list > a > small { font-size: 10px; line-height: 1.6; }
.work-list > a:hover { padding-left: 0; }
.work-list > a:hover > strong { transform: none; }
.work-preview { border-radius: 7px; }
.work-preview-card { border-radius: 6px; overflow: hidden; }
.work-preview-card > img { width: 100%; height: 190px; object-fit: cover; border-radius: 3px; display: block; margin-bottom: 20px; }
.work-preview-card h3 { font-size: 46px; }
.work-preview-card p { font-size: 9px; }
.work-preview-card > span { font-size: 10px; line-height: 1.6; }
.research-shelf { border-top: 1px solid var(--line); background: var(--surface); }
.research-sheets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; align-items: stretch; }
.research-sheet { min-width: 0; display: flex; flex-direction: column; background: var(--background); padding: 26px 22px; border: 1px solid var(--line); border-radius: 4px; }
.sheet-topline { display: flex; justify-content: space-between; gap: 8px; font-size: 8px; color: var(--muted); line-height: 1.5; }
.sheet-topline span:last-child { color: var(--acid); }
.research-sheet h3 { font-family: "EB Garamond", serif; font-weight: 400; font-size: 46px; line-height: 1; margin: 32px 0 20px; }
.sheet-deck { font-family: "EB Garamond", serif; font-size: 24px; line-height: 1.25; margin: 0; }
.research-sheet > p:not(.sheet-deck) { font-size: 11px; line-height: 1.9; color: var(--muted); margin-bottom: 28px; }
.research-sheet .text-link { margin-top: auto; font-size: 10px; gap: 12px; }
.research-sheet .arrow-icon { width: 16px; height: 16px; }
.research-process { display: flex; gap: 10px; justify-content: space-between; font-size: 9px; border-block: 1px solid var(--line); padding: 24px 0; margin: 32px 0 20px; }
.research-process strong { color: var(--acid); font-weight: 400; }
.event-surface { display: flex; gap: 10px; height: 64px; align-items: center; margin: 32px 0 20px; border-block: 1px solid var(--line); }
.event-surface span { width: 3px; height: 34px; background: var(--acid); transform: skew(-25deg); }
.event-surface span:nth-child(2n) { opacity: .35; height: 22px; }
.event-surface span:nth-child(3n) { height: 45px; }
.practice-section { padding-block: 116px; }
.practice-section h2 { margin-top: 28px; }
.practice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; margin-top: 68px; }
.practice-grid > div { border-top: 1px solid var(--line); padding-top: 20px; }
.practice-grid > div > span { color: var(--acid); font-size: 10px; }
.practice-grid h3 { font-family: "EB Garamond",serif; font-size: 30px; font-weight: 400; margin-block: 22px 16px; }
.practice-grid p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.notebook-gates { display: grid; grid-template-columns: 1fr 1fr; }
.notebook-gate { position: relative; padding: 60px 12% 80px; overflow: hidden; text-decoration: none; color: inherit; min-height: 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.gate-feed { background: #d1ff48; color: #141710; }
.gate-notes { background: #e4e9e3; color: #202522; }
.notebook-gate .section-label { color: inherit; opacity: .7; }
.notebook-gate > strong { position: relative; z-index: 1; font-family: "EB Garamond",serif; font-size: 64px; line-height: .98; font-weight: 400; }
.notebook-gate > span:not(.section-label):not(.gate-type) { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; position: relative; z-index: 1; }
.notebook-gate .arrow-icon { filter: none; }
.gate-type { position: absolute; bottom: 12px; right: 22px; font-family: "EB Garamond",serif; font-size: 84px; opacity: .13; }
.gate-feed .gate-type { right: 42px; }
.contact-section { padding-top: 116px; padding-bottom: 34px; }
.contact-section h2 { font-size: 124px; line-height: .92; margin: 40px 0; }
.contact-section h2 em { color: var(--acid); }
.contact-links { display: flex; flex-wrap: wrap; gap: 24px 52px; }
.footer-colophon { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 100px; font-size: 10px; color: var(--muted); }
.footer-colophon a { color: inherit; text-decoration: none; }
.hero-copy h1,
.hero-copy h2 {
  font-size: clamp(1.35rem, 4.2vw, 5.8rem);
  line-height: 0.95;
}
.line-wrap {
  white-space: nowrap;
}
.line-wrap > span {
  display: inline-block;
  width: auto;
}
.mobile-reveal-pill { z-index: 210; top: auto; }
.text-link { position: relative; }
.text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--acid); transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease-out); }
.text-link:active::after, .text-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.theme-toggle, .sound-toggle, .loader-silent, .nav-toggle { transition: transform 140ms var(--ease-out), border-color 180ms ease, background 180ms ease; }
.theme-toggle:active, .sound-toggle:active, .nav-toggle:active, .index-header button:active { transform: scale(.94); }
.architecture-tabs button:active { background: color-mix(in srgb, var(--acid) 10%, transparent); }
.work-list > a > strong, .work-list .row-arrow { transition: transform 180ms var(--ease-out), color 180ms ease; }
.work-list > a:active > strong { transform: translateX(4px); color: var(--acid); }
.notebook-gate .arrow-icon { transition: transform 180ms var(--ease-out); }
.notebook-gate:active .arrow-icon { transform: translate(3px,-3px); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover .arrow-icon { transform: translate(3px,-3px); }
  .text-link:hover::after { transform: scaleX(1); transform-origin: left; }
  .notebook-gate:hover .arrow-icon { transform: translate(3px,-3px); }
  .site-nav a:hover .nav-label { transform: translateX(-4px); }
  .work-list > a:hover > strong { transform: translateX(8px); }
  .work-list > a:hover .row-arrow { transform: translate(3px,-3px); }
}
@media (min-width: 1600px) {
  .hero-copy h1, .hero-copy h2 { font-size: 88px; }
  .chapter-heading h2, .secondary-work h2, .practice-section h2 { font-size: 92px; }
  .fleet-copy h3, .memory-copy h2 { font-size: 108px; }
  .architecture-panels { height: 460px; }
  .branch-diagram { padding-top: 32px; }
}
@media (max-width: 1199px) {
  :root { --content-right: 110px; --page-gutter: 5%; }
  .hero-copy h1, .hero-copy h2 { font-size: 58px; }
  .chapter-heading { grid-template-columns: minmax(0,1fr) 200px; gap: 24px; }
  .chapter-heading h2, .secondary-work h2, .practice-section h2 { font-size: 62px; }
  .fleet-stage, .memory-section { gap: 30px; }
  .fleet-copy h3, .memory-copy h2 { font-size: 66px; }
  .project-summary { font-size: 27px; }
  .architecture-tabs button { font-size: 10px; padding-inline: 5px; }
  .architecture-tabs button span { display: none; }
  .architecture-panel { padding: 24px 20px; }
  .architecture-caption h4 { font-size: 26px; }
  .research-sheets { gap: 12px; }
  .research-sheet { padding: 22px 16px; }
  .research-sheet h3 { font-size: 40px; }
  .sheet-topline { flex-direction: column; }
  .research-process { font-size: 8px; gap: 5px; }
  .work-list > a > strong { font-size: 52px; }
}
@media (max-width: 900px) {
  :root { --content-right: 24px; --page-gutter: 24px; }
  body > .site-nav { display: none; }
  .navigation-drawer .site-nav { position: static; padding: 0; border: 0; background: none; display: flex; align-items: stretch; gap: 0; min-width: 0; width: 100%; mix-blend-mode: normal; text-transform: none; }
  .navigation-drawer .site-nav a { display: grid; grid-template-columns: 26px minmax(0,1fr) 24px; align-items: center; column-gap: 16px; padding: 16px 0; color: var(--text); border-bottom: 1px solid var(--line); }
  .navigation-drawer .site-nav a::after { display: none; }
  .navigation-drawer .site-nav .nav-number { display: inline; font-family: 'JetBrains Mono',monospace; font-size: 10px; color: var(--muted); font-weight: 400; align-self: start; padding-top: 12px; }
  .navigation-drawer .site-nav .nav-label { font: 400 52px/.98 'EB Garamond',serif; }
  .navigation-drawer .site-nav .nav-arrow { display: inline; width: 20px; height: 20px; transition: transform 180ms var(--ease-out); }
  .navigation-drawer .site-nav a[aria-current="location"] .nav-label { color: var(--acid); }
  .navigation-drawer .site-nav a[aria-current="location"] .nav-arrow { transform: rotate(45deg); }
  .navigation-drawer .site-nav a:active .nav-label { transform: translateX(5px); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: fixed; z-index: 122; right: 20px; top: 24px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--background); color: var(--text); font: 400 11px 'JetBrains Mono',monospace; }
  .nav-toggle [data-nav-index] { color: var(--muted); font-size: 9px; }
  .nav-toggle img { width: 16px; height: 16px; }
  .theme-toggle { top: 34px; }
  .sound-toggle { right: 24px; bottom: 40px; }
  .mask-stage { min-height: 780px; padding-top: 140px; }
  .stage-reveal-flood { min-height: 780px; padding-top: 140px; padding-inline: 24px; }
  .hero-copy h1, .hero-copy h2 { font-size: 46px; }
  .chapter-heading { grid-template-columns: 1fr; }
  .chapter-aside { max-width: 410px; }
  .fleet-stage { grid-template-columns: 1fr; gap: 36px; }
  .fleet-copy { max-width: 600px; }
  .fleet-copy h3 { font-size: 80px; }
  .project-description { max-width: 520px; }
  .architecture-tabs { margin-top: 0; }
  .architecture-tabs button { font-size: 12px; padding: 14px 8px; margin-right: 0; }
  .architecture-tabs button span { display: inline; }
  .sequence-progress { display: block; }
  .architecture-vitrine { max-width: 680px; width: 100%; }
  .architecture-panels { height: 400px; }
  .architecture-panel { padding: 28px; }
  .memory-section { grid-template-columns: 1fr; gap: 40px; }
  .memory-copy > p:not(.memory-deck) { max-width: 500px; }
  .memory-image-frame { aspect-ratio: 1200 / 840; }
  .research-sheets { grid-template-columns: 1fr; gap: 24px; }
  .research-sheet { padding: 28px; }
  .sheet-topline { flex-direction: row; font-size: 10px; }
  .research-sheet h3 { font-size: 54px; }
  .research-process { justify-content: flex-start; gap: 40px; font-size: 11px; }
  .research-sheet > p:not(.sheet-deck) { max-width: 620px; font-size: 12px; }
  .practice-grid { gap: 24px; }
  .practice-grid h3 { font-size: 26px; }
  .notebook-gate { padding: 44px 24px 70px; }
  .notebook-gate > strong { font-size: 54px; }
  .footer-colophon > span:nth-child(2) { display: none; }
}
@media (max-width: 600px) {
  :root { --page-gutter: 20px; --content-right: 20px; }
  .loader-title { font-size: 54px; }
  .loader-kicker { font-size: 9px; }
  .mask-stage { min-height: min(720px, calc(var(--motion-height, 100svh) - 80px)); padding-top: 128px; padding-bottom: 100px; }
  .layer--reveal,
  .stage-reveal-flood {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    z-index: 200;
    pointer-events: none;
    padding: 0;
    margin: 0;
  }
  .hero-copy h1, .hero-copy h2 { font-size: 30px; line-height: 1.05; }
  .hero-copy .kicker { font-size: 10px; margin-bottom: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 16px; font-size: 11px; }
  .mask-stage > .hero-stack,
  .stage-reveal-flood > .hero-stack { gap: 26px; }
  .hero-scroll { bottom: 26px; }
  .hero-actions { gap: 8px; }
  .magnetic-link { min-width: 86px; font-size: 10px; min-height: 40px; padding: 0 16px; }
  .passing-statement { padding-block: 28px; }
  .statement-track { font-size: 64px; }
  .flagship-section, .secondary-work, .research-shelf, .practice-section, .contact-section { padding-top: 72px; padding-bottom: 72px; }
  .chapter-heading { margin-bottom: 40px; gap: 22px; }
  .chapter-heading h2, .secondary-work h2, .practice-section h2 { font-size: 48px; line-height: 1.04; }
  .chapter-aside { font-size: 11px; }
  .fleet-copy h3, .memory-copy h2 { font-size: 66px; }
  .project-summary { font-size: 29px; }
  .architecture-panel { padding: 24px 16px; }
  .architecture-panels { height: clamp(334px, calc(var(--motion-height, 100svh) - 334px), 380px); }
  .node-symbol { width: 44px; height: 44px; font-size: 30px; }
  .branch-lines { height: 28px; }
  .branch-nodes > div { padding: 10px 6px; }
  .vitrine-header, .vitrine-footer { padding: 18px 16px; font-size: 9px; }
  .branch-nodes { gap: 8px; }
  .branch-nodes span { font-size: 8px; }
  .branch-nodes strong { font-size: 12px; }
  .execution-diagram code, .inspect-diagram code { font-size: 12px; }
  .architecture-caption h4 { font-size: 28px; }
  .architecture-caption p { font-size: 11px; }
  .memory-section { padding-block: 64px; }
  .memory-deck { font-size: 30px; }
  .memory-image-frame { aspect-ratio: 1200 / 840; }
  .memory-figure figcaption { font-size: 8px; }
  .work-list > a { grid-template-columns: 30px minmax(0,1fr) 20px; grid-template-rows: auto auto; gap: 12px 12px; min-height: 124px; padding-block: 24px; }
  .work-list > a > span { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .work-list > a > strong { grid-column: 2; grid-row: 1; font-size: 42px; align-self: end; }
  .work-list > a > small { grid-column: 2; grid-row: 2; font-size: 8px; align-self: start; }
  .work-list > a > img { grid-column: 3; grid-row: 1 / 3; width: 18px; height: 18px; }
  .research-sheet { padding: 24px 20px; }
  .sheet-topline { font-size: 8px; }
  .research-sheet h3 { font-size: 48px; }
  .practice-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .practice-grid h3 { font-size: 30px; }
  .practice-grid p { font-size: 11px; }
  .notebook-gates { grid-template-columns: 1fr; }
  .notebook-gate { min-height: 350px; padding-inline: 28px; }
  .notebook-gate > strong { font-size: 62px; }
  .contact-section h2 { font-size: 88px; }
  .contact-links { flex-direction: column; gap: 16px; }
  .contact-section { padding-bottom: 128px; }
  .footer-colophon { margin-top: 64px; font-size: 9px; }
  .mobile-reveal-pill { width: 76px; height: 76px; top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .sound-toggle { right: 20px; bottom: calc(38px + env(safe-area-inset-bottom, 0px)); width: 36px; height: 36px; }
  .screen-vignette { height: 16px; opacity: .3; }
}
@media (max-width: 374px) {
  .hero-copy h1, .hero-copy h2 { font-size: 22px; }
  .chapter-heading h2, .secondary-work h2, .practice-section h2 { font-size: 42px; }
  .work-list > a > strong { font-size: 36px; }
  .architecture-tabs button { font-size: 11px; padding-inline: 6px; }
  .research-process { gap: 20px; }
}
@media (pointer: coarse) {
  .work-list > a:hover { background: transparent; color: var(--text); }
  .work-list > a[data-reading="true"] { background: color-mix(in srgb, var(--acid) 5%, transparent); }
  .work-list > a[data-reading="true"] > span, .work-list > a[data-reading="true"] .row-arrow { color: var(--acid); }
}
@media (max-width: 900px), (pointer: coarse) {
  .mobile-reveal-pill { width: 76px; height: 76px; top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .sound-toggle { width: 36px; height: 36px; bottom: calc(38px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 900px) and (max-height: 620px) {
  .index-body { padding-block: 18px; }
  .index-eyebrow { margin-bottom: 8px; }
  .navigation-drawer .site-nav a { padding-block: 10px; }
  .navigation-drawer .site-nav .nav-label { font-size: 36px; }
  .index-footer { padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .statement-track { white-space: normal; width: auto; font-size: 48px; padding: 0 var(--page-gutter); }
  .memory-figure img { height: 100%; }
}

/* --------------------------------------------------------------------------
   Research & Engineering - Active Rigor Styles
   -------------------------------------------------------------------------- */
.research-live-beacon {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
  margin-right: 8px;
  vertical-align: middle;
  animation: beacon-pulse 2s ease-in-out infinite;
}

.research-status-tag {
  color: var(--acid);
  font-family: monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(209, 255, 72, 0.35);
  background: rgba(209, 255, 72, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
}

.research-telemetry-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 8px 12px;
  margin: 12px 0 16px;
  font-family: monospace;
  font-size: 10px;
}

.research-telemetry-badge span {
  color: var(--muted);
}

.research-telemetry-badge strong {
  color: var(--acid);
  font-weight: 600;
}

/* Ensure work preview cards showcase the dense technical plates cleanly */
.work-preview-card img {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  background: #0c0e0d;
}

/* ==========================================================================
   Dual-Layer Architecture (Minh Pham Pattern)
   ========================================================================== */
.main-layer {
  position: relative;
  width: 100%;
}

.layer {
  width: 100%;
  box-sizing: border-box;
}

.layer--base {
  position: relative;
  z-index: 1;
}

.layer--reveal,
.stage-reveal-flood {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 200;
  pointer-events: none;
  background: var(--acid);
  color: #050506;
  clip-path: circle(var(--flood-radius, var(--size, 0px)) at var(--pill-x, var(--x, 50vw)) var(--pill-y, var(--y, 90vh)));
  -webkit-clip-path: circle(var(--flood-radius, var(--size, 0px)) at var(--pill-x, var(--x, 50vw)) var(--pill-y, var(--y, 90vh)));
  transition: clip-path 820ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: clip-path;
  padding: 0;
  display: block;
}

[data-theme="light"] .layer--reveal,
[data-theme="light"] .stage-reveal-flood {
  background: #0026c7;
  color: #ffffff;
}

/* Layer Reveal Typography & Component Theme - Dark Mode (Black on Acid Lime #d1ff48) */
.layer--reveal,
.layer--reveal * {
  color: #050506;
}

.layer--reveal .kicker {
  color: #050506 !important;
  opacity: 0.85;
}

.layer--reveal h1,
.layer--reveal h2,
.layer--reveal h3,
.layer--reveal h4,
.layer--reveal strong,
.layer--reveal b {
  color: #050506 !important;
}

.layer--reveal em {
  font-style: italic;
  color: #050506 !important;
}

.layer--reveal p,
.layer--reveal span,
.layer--reveal small,
.layer--reveal code,
.layer--reveal figcaption {
  color: #050506 !important;
}

.layer--reveal .section-label,
.layer--reveal .project-eyebrow span,
.layer--reveal .sheet-topline span,
.layer--reveal .chapter-aside {
  color: #050506 !important;
  opacity: 0.85;
}

.layer--reveal .memory-section,
.layer--reveal .memory-copy,
.layer--reveal .memory-copy *,
.layer--reveal .memory-copy h2,
.layer--reveal .memory-copy h2 span,
.layer--reveal .memory-deck,
.layer--reveal .memory-deck *,
.layer--reveal .memory-copy > p,
.layer--reveal .memory-copy > p:not(.memory-deck),
.layer--reveal .memory-section .project-eyebrow,
.layer--reveal .memory-section .project-eyebrow *,
.layer--reveal .memory-section .text-link,
.layer--reveal .memory-figure figcaption,
.layer--reveal .memory-figure figcaption * {
  color: #050506 !important;
}

.layer--reveal .memory-image-frame {
  background: rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(5, 5, 6, 0.22) !important;
}

.layer--reveal .terminal-run-pill,
.layer--reveal .terminal-footer > div {
  background: rgba(0, 0, 0, 0.1) !important;
  color: #050506 !important;
  border: 1px solid rgba(5, 5, 6, 0.25) !important;
}

.layer--reveal .mask-stage,
.layer--reveal .passing-statement,
.layer--reveal .flagship-section,
.layer--reveal .memory-section,
.layer--reveal .secondary-work,
.layer--reveal .research-shelf,
.layer--reveal .practice-section,
.layer--reveal .notebook-gates,
.layer--reveal .contact-section {
  background: transparent !important;
}

.layer--reveal .passing-statement {
  border-top-color: rgba(5, 5, 6, 0.22) !important;
  border-bottom-color: rgba(5, 5, 6, 0.22) !important;
}

.layer--reveal .statement-track em {
  color: #050506 !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.layer--reveal .hero-grid {
  border-top-color: rgba(5, 5, 6, 0.25) !important;
}

.layer--reveal .magnetic-link {
  border-color: rgba(5, 5, 6, 0.3) !important;
  color: #050506 !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

.layer--reveal .scroll-stem {
  background: #050506 !important;
}

.layer--reveal .hero-scroll {
  color: #050506 !important;
}

.layer--reveal .text-link {
  color: #050506 !important;
  border-bottom-color: #050506 !important;
}

.layer--reveal .title-period {
  color: #050506 !important;
}

.layer--reveal .architecture-vitrine,
.layer--reveal .architecture-panel,
.layer--reveal .research-sheet,
.layer--reveal .work-preview-card,
.layer--reveal .reveal-terminal-block {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(5, 5, 6, 0.22) !important;
  color: #050506 !important;
}

.layer--reveal .vitrine-header,
.layer--reveal .vitrine-footer {
  border-color: rgba(5, 5, 6, 0.2) !important;
  color: #050506 !important;
}

.layer--reveal .vitrine-footer a {
  color: #050506 !important;
}

.layer--reveal .reveal-tabs-mock {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-bottom: 1px solid rgba(5, 5, 6, 0.22) !important;
}

.layer--reveal .reveal-tab-mock {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 12px 14px;
  color: #050506 !important;
  border: none;
}

@media (max-width: 900px) {
  .layer--reveal .reveal-tab-mock {
    padding: 14px 8px;
    font-size: 12px;
  }
}

@media (max-width: 374px) {
  .layer--reveal .reveal-tab-mock {
    font-size: 11px;
    padding-inline: 6px;
  }
}

.layer--reveal .reveal-tab-mock span {
  font-size: 9px;
  opacity: 0.7;
  margin-right: 4px;
}

.layer--reveal .reveal-tab-mock:first-child {
  border-bottom: 2px solid #050506 !important;
  font-weight: 600;
}

.layer--reveal .sequence-progress {
  background: rgba(5, 5, 6, 0.2) !important;
}

.layer--reveal .sequence-progress span {
  background: #050506 !important;
}

.layer--reveal .node-symbol {
  color: #050506 !important;
  border-color: rgba(5, 5, 6, 0.3) !important;
}

.layer--reveal .repo-node strong {
  color: #050506 !important;
}

.layer--reveal .branch-lines,
.layer--reveal .branch-lines::before {
  border-color: rgba(5, 5, 6, 0.25) !important;
  background: rgba(5, 5, 6, 0.25) !important;
}

.layer--reveal .branch-nodes > div {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(5, 5, 6, 0.22) !important;
}

.layer--reveal .branch-nodes span,
.layer--reveal .branch-nodes strong {
  color: #050506 !important;
}

.layer--reveal .architecture-caption p {
  color: #050506 !important;
}

.layer--reveal .code-label {
  color: #050506 !important;
  opacity: 0.75;
}

.layer--reveal .work-list {
  border-top-color: rgba(5, 5, 6, 0.22) !important;
}

.layer--reveal .work-row-mock {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(180px, 0.55fr) 24px;
  align-items: center;
  gap: 18px;
  padding: 26px 0;
  min-height: 140px;
  border-bottom: 1px solid rgba(5, 5, 6, 0.22) !important;
}

.layer--reveal .work-row-mock strong {
  font-family: 'EB Garamond', serif;
  font-size: 62px;
  font-weight: 400;
  line-height: 1.1;
  color: #050506 !important;
}

.layer--reveal .work-row-mock small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #050506 !important;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .layer--reveal .work-row-mock {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    grid-template-rows: auto auto;
    gap: 12px 12px;
    min-height: 124px;
    padding-block: 24px;
    align-items: center;
  }
  .layer--reveal .work-row-mock > span {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
  }
  .layer--reveal .work-row-mock > strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 42px;
    line-height: 1.1;
    align-self: end;
  }
  .layer--reveal .work-row-mock > small {
    grid-column: 2;
    grid-row: 2;
    font-size: 8px;
    line-height: 1.6;
    align-self: start;
  }
  .layer--reveal .work-row-mock > img {
    grid-column: 3;
    grid-row: 1 / 3;
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 374px) {
  .layer--reveal .work-row-mock > strong {
    font-size: 36px;
  }
}

.layer--reveal .research-telemetry-badge {
  background: rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(5, 5, 6, 0.25) !important;
  color: #050506 !important;
}

.layer--reveal .research-telemetry-badge span,
.layer--reveal .research-telemetry-badge strong {
  color: #050506 !important;
}

.layer--reveal .research-status-tag {
  color: #050506 !important;
  border-color: rgba(5, 5, 6, 0.3) !important;
  background: rgba(0, 0, 0, 0.08) !important;
}

.layer--reveal .research-process {
  border-block-color: rgba(5, 5, 6, 0.22) !important;
}

.layer--reveal .research-process strong {
  color: #050506 !important;
}

.layer--reveal .event-surface {
  border-block-color: rgba(5, 5, 6, 0.22) !important;
}

.layer--reveal .event-surface span {
  background: #050506 !important;
}

.layer--reveal .practice-grid > div {
  border-top-color: rgba(5, 5, 6, 0.22) !important;
}

.layer--reveal .practice-grid > div > span {
  color: #050506 !important;
}

.layer--reveal .notebook-gate {
  box-shadow: inset 0 0 0 1px rgba(5, 5, 6, 0.22) !important;
  border: none !important;
  background: rgba(0, 0, 0, 0.06) !important;
  color: #050506 !important;
}

.layer--reveal .notebook-gate strong,
.layer--reveal .notebook-gate span {
  color: #050506 !important;
}

.layer--reveal .gate-type {
  color: #050506 !important;
  opacity: 0.18 !important;
}

.layer--reveal .footer-colophon {
  border-top-color: rgba(5, 5, 6, 0.22) !important;
  color: #050506 !important;
}

.layer--reveal .arrow-icon {
  filter: none !important;
  opacity: 0.9 !important;
}

/* ==========================================================================
   Light Mode Reveal Overrides (White on Royal Cobalt Blue #0026c7)
   ========================================================================== */
[data-theme="light"] .layer--reveal,
[data-theme="light"] .layer--reveal * {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .kicker {
  color: #ffffff !important;
  opacity: 0.85;
}

[data-theme="light"] .layer--reveal h1,
[data-theme="light"] .layer--reveal h2,
[data-theme="light"] .layer--reveal h3,
[data-theme="light"] .layer--reveal h4,
[data-theme="light"] .layer--reveal strong,
[data-theme="light"] .layer--reveal b {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal em {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal p,
[data-theme="light"] .layer--reveal span,
[data-theme="light"] .layer--reveal small,
[data-theme="light"] .layer--reveal code,
[data-theme="light"] .layer--reveal figcaption {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .section-label,
[data-theme="light"] .layer--reveal .project-eyebrow span,
[data-theme="light"] .layer--reveal .sheet-topline span,
[data-theme="light"] .layer--reveal .chapter-aside {
  color: #ffffff !important;
  opacity: 0.85;
}

[data-theme="light"] .layer--reveal .memory-section,
[data-theme="light"] .layer--reveal .memory-copy,
[data-theme="light"] .layer--reveal .memory-copy *,
[data-theme="light"] .layer--reveal .memory-copy h2,
[data-theme="light"] .layer--reveal .memory-copy h2 span,
[data-theme="light"] .layer--reveal .memory-deck,
[data-theme="light"] .layer--reveal .memory-deck *,
[data-theme="light"] .layer--reveal .memory-copy > p,
[data-theme="light"] .layer--reveal .memory-copy > p:not(.memory-deck),
[data-theme="light"] .layer--reveal .memory-section .project-eyebrow,
[data-theme="light"] .layer--reveal .memory-section .project-eyebrow *,
[data-theme="light"] .layer--reveal .memory-section .text-link,
[data-theme="light"] .layer--reveal .memory-figure figcaption,
[data-theme="light"] .layer--reveal .memory-figure figcaption * {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .memory-image-frame {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .layer--reveal .terminal-run-pill,
[data-theme="light"] .layer--reveal .terminal-footer > div {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

[data-theme="light"] .layer--reveal .passing-statement {
  border-top-color: rgba(255, 255, 255, 0.25) !important;
  border-bottom-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .layer--reveal .statement-track em {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .hero-grid {
  border-top-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .layer--reveal .magnetic-link {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="light"] .layer--reveal .scroll-stem {
  background: #ffffff !important;
}

[data-theme="light"] .layer--reveal .hero-scroll {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .text-link {
  color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .title-period {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .architecture-vitrine,
[data-theme="light"] .layer--reveal .architecture-panel,
[data-theme="light"] .layer--reveal .research-sheet,
[data-theme="light"] .layer--reveal .work-preview-card,
[data-theme="light"] .layer--reveal .reveal-terminal-block {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .vitrine-header,
[data-theme="light"] .layer--reveal .vitrine-footer {
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .vitrine-footer a {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .reveal-tabs-mock {
  border-bottom-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .layer--reveal .reveal-tab-mock {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .reveal-tab-mock:first-child {
  border-bottom-color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .sequence-progress {
  background: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="light"] .layer--reveal .sequence-progress span {
  background: #ffffff !important;
}

[data-theme="light"] .layer--reveal .node-symbol {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

[data-theme="light"] .layer--reveal .repo-node strong {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .branch-lines,
[data-theme="light"] .layer--reveal .branch-lines::before {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.3) !important;
}

[data-theme="light"] .layer--reveal .branch-nodes > div {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .layer--reveal .branch-nodes span,
[data-theme="light"] .layer--reveal .branch-nodes strong {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .architecture-caption p {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .code-label {
  color: #ffffff !important;
  opacity: 0.8;
}

[data-theme="light"] .layer--reveal .work-list {
  border-top-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .layer--reveal .work-row-mock {
  border-bottom-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .layer--reveal .work-row-mock strong {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .work-row-mock small {
  color: #ffffff !important;
  opacity: 0.85;
}

[data-theme="light"] .layer--reveal .research-telemetry-badge {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .research-telemetry-badge span,
[data-theme="light"] .layer--reveal .research-telemetry-badge strong {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .research-status-tag {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.14) !important;
}

[data-theme="light"] .layer--reveal .research-process {
  border-block-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .layer--reveal .research-process strong {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .event-surface {
  border-block-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .layer--reveal .event-surface span {
  background: #ffffff !important;
}

[data-theme="light"] .layer--reveal .practice-grid > div {
  border-top-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .layer--reveal .practice-grid > div > span {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .notebook-gate {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25) !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .notebook-gate strong,
[data-theme="light"] .layer--reveal .notebook-gate span {
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .gate-type {
  color: #ffffff !important;
  opacity: 0.25 !important;
}

[data-theme="light"] .layer--reveal .footer-colophon {
  border-top-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

[data-theme="light"] .layer--reveal .arrow-icon {
  filter: invert(1) !important;
  opacity: 1 !important;
}
