:root{
  --bg:#0d0d0d;
  --ink:#f2f2f2;
  --muted:#aeaeae;
  --line:#313131;
  --brand-yellow:#cdcdcd;
  --coral:#cdcdcd;
  --paper:#181818;
  --shadow:0 24px 70px #00000033
}
body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
button,input{
  font:inherit
}
button,a,input{
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer
}
a:focus-visible,button:focus-visible,input:focus-visible,[tabindex]:focus-visible{
  outline:2px solid #dcdcdc;
  outline-offset:5px
}
section[id],nav[id]{
  scroll-margin-top:100px
}
.site-header{
  background:#0d0d0ded;
  border-color:var(--line)
}
.nav a.is-active{
  background:#cdcdcd14
}
.nav a{
  min-height:44px
}
.brand-logo{
  width:28px;
  height:28px
}
.brand{
  letter-spacing:-.04em
}
.skip-link{
  position:fixed;
  top:-100px;
  left:20px;
  z-index:100;
  background:var(--brand-yellow);
  color:#0d0d0d;
  padding:16px
}
.skip-link:focus{
  top:12px
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%)
}
[hidden]{
  display:none!important
}
.os-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
  gap:32px 6%;
  padding:64px clamp(20px,6vw,90px) 24px;
  isolation:isolate;
  overflow:hidden;
  max-width:1800px;
  margin:auto
}
.os-intro{
  grid-column:1;
  z-index:1;
  padding-top:24px
}
.os-intro .eyebrow{
  font:10px/1.8 ui-monospace,monospace;
  letter-spacing:.09em;
  color:var(--muted)
}
.status-dot{
  display:inline-block;
  width:5px;
  height:5px;
  background:var(--brand-yellow);
  border-radius:50%;
  margin:0 10px
}
.os-intro h1{
  font-size:clamp(48px,5.5vw,88px);
  line-height:1.06;
  letter-spacing:-.065em;
  margin:36px 0 24px;
  font-weight:640
}
.os-intro h1 span{
  color:#a1a1a1
}
.os-lead{
  max-width:460px;
  font-size:18px;
  line-height:1.7;
  color:var(--muted)
}
.os-principle{
  font-size:14px;
  margin:24px 0;
  color:var(--ink)
}
.text-link{
  display:inline-block;
  padding:12px 0;
  border-bottom:1px solid #cdcdcd66;
  color:var(--brand-yellow);
  font-size:14px
}
.os-object{
  position:relative;
  grid-column:2;
  grid-row:1;
  min-height:350px
}
.os-object canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity .6s
}
.os-object.is-ready canvas{
  opacity:1
}
.orb-fallback{
  position:absolute;
  inset:12% 12%;
  border-radius:50%;
  background:repeating-radial-gradient(ellipse at 34% 35%,transparent 0 8px,#cccccc41 9px 10px,transparent 11px 15px),radial-gradient(ellipse at 28% 30%,#8c8c8c55,#28282844 50%,transparent 72%);
  box-shadow:inset 8px 0 38px #dadada55,24px 0 70px #72727218;
  transform:rotate(-25deg)
}
.is-ready .orb-fallback{
  opacity:0
}
.object-caption{
  position:absolute;
  bottom:0;
  right:0;
  color:#a2a2a2;
  font:9px ui-monospace,monospace;
  letter-spacing:.15em
}
.terminal{
  grid-column:1/-1;
  max-width:100%;
  border:1px solid #424242;
  border-radius:12px;
  background:#121212;
  box-shadow:0 24px 70px #00000033;
  overflow:hidden
}
.terminal-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:17px 24px;
  border-bottom:1px solid var(--line);
  background:#1a1a1a
}
.terminal-top h2{
  font:11px ui-monospace,monospace;
  letter-spacing:.1em
}
.terminal-top>span{
  font:10px ui-monospace,monospace;
  color:var(--brand-yellow)
}
.terminal-output{
  height:160px;
  overflow:auto;
  overscroll-behavior:contain;
  padding:20px 24px;
  font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;
  scrollbar-color:#4d4d4d transparent;
  overflow-wrap:anywhere
}
.terminal-output p{
  margin:0;
  white-space:pre-wrap
}
.terminal-output .command{
  color:#979797;
  margin-top:12px
}
.terminal-output a{
  color:var(--brand-yellow);
  text-decoration:underline
}
.terminal-menu{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:8px 20px 18px;
  gap:6px
}
.terminal-menu button{
  min-height:44px;
  border:1px solid #333333;
  border-radius:5px;
  background:#1e1e1e;
  color:#e4e4e4;
  text-align:left;
  font:12px/1.5 ui-monospace,monospace;
  padding:10px
}
.terminal-menu button:hover{
  border-color:#cdcdcd;
  background:#2c2c2c
}
.terminal form{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 24px;
  border-top:1px solid var(--line);
  font:12px ui-monospace,monospace
}
.terminal label{
  white-space:nowrap;
  color:#a3a3a3
}
.prompt-name{
  color:var(--brand-yellow)
}
.terminal input{
  width:100%;
  min-width:0;
  border:0;
  background:transparent;
  color:#f2f2f2;
  caret-color:#cdcdcd;
  font-size:16px;
  padding:8px 0
}
.terminal input::placeholder{
  color:#959595
}
.terminal form button{
  width:44px;
  min-height:44px;
  flex-shrink:0;
  color:#cdcdcd;
  background:#252525;
  border:1px solid #454545;
  border-radius:5px
}
.terminal-bottom{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:0 24px 14px;
  color:#a1a1a1;
  font:10px/1.5 ui-monospace,monospace
}
.terminal-bottom button{
  background:none;
  color:var(--brand-yellow);
  border:0;
  min-height:32px
}
.terminal-bottom button:disabled{
  opacity:.5;
  cursor:default
}
.os-bottom{
  grid-column:1/-1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  color:#9f9f9f;
  font:10px/1.6 ui-monospace,monospace;
  letter-spacing:.07em
}
.os-bottom button{
  background:transparent;
  border:1px solid var(--line);
  color:var(--muted);
  padding:10px;
  min-height:44px;
  border-radius:5px
}
.os-navigation{
  display:flex;
  flex-wrap:wrap;
  gap:8px 28px;
  padding:32px 6%;
  border-block:1px solid var(--line);
  margin-top:32px
}
.os-navigation a{
  font:12px ui-monospace,monospace;
  color:var(--muted);
  padding:12px 0
}
.os-navigation a:hover{
  color:var(--brand-yellow)
}
.hero{
  min-height:0;
  padding-top:90px;
  padding-bottom:90px
}
.hero-title{
  font-size:clamp(38px,4.4vw,64px);
  line-height:1.04;
  letter-spacing:-.04em;
  margin-bottom:24px
}
.hero-logo{
  display:none
}
.title-secret{
  background:#2d2d2d;
  color:#d9d9d9;
  box-shadow:none
}
.title-simple::after{
  display:none
}
.route-item{
  background:#181818;
  border-color:var(--line)
}
.route-item:hover{
  background:#252525
}
.route-item strong{
  font-size:26px
}
.studio-panel{
  background:#151515;
  border:1px solid var(--line)
}
.studio-panel::after{
  background:linear-gradient(90deg,#151515 0 40%,#151515cc 62%,#15151511 88%)
}
.studio-panel .mode-button.is-active{
  color:#1b1b1b
}
.primary{
  background:var(--brand-yellow);
  color:#1b1b1b
}
.secondary{
  border-color:#505050
}
.work-grid article{
  border-color:var(--line)
}
h2{
  font-size:clamp(34px,4vw,60px);
  line-height:1.1;
  letter-spacing:-.04em
}
.process-section,.mentor{
  background:#141414
}
.process-stage{
  background-color:#1a1a1a
}
.process-real{
  color:#171717
}
.process-real .real-main span{
  color:#616161
}
.process-switch button.is-active{
  color:#1b1b1b
}
.teacher-proof{
  background:#1f1f1f
}
.quote-board{
  background:radial-gradient(circle at 18% 18%,#cdcdcd16,transparent 50%),#212121;
  box-shadow:none
}
.quote-board-top{
  color:#aeaeae
}
.quote-chip{
  background:#303030;
  color:var(--ink);
  border-color:#5c5c5c
}
.quote-chip.is-visible{
  color:#1b1b1b
}
.quote-board::after{
  border-color:#5c5c5c
}
.service-section{
  display:grid;
  grid-template-columns:var(--section-grid);
  gap:var(--section-gap);
  border-top:1px solid var(--line)
}
.service-section p,.legal-section p{
  font-size:17px;
  line-height:1.75;
  color:var(--muted)
}
.service-section h2+p{
  margin-top:24px
}
.service-details article{
  padding:24px 0;
  border-bottom:1px solid var(--line)
}
.service-details article:first-child{
  padding-top:0
}
.service-details h3{
  font-size:22px;
  letter-spacing:-.025em
}
.legal-section{
  border-top:1px solid var(--line)
}
.legal-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7%;
  margin-top:40px
}
.legal-grid a{
  text-decoration:underline
}
.contact-card{
  overflow-wrap:anywhere
}
.contact-card a{
  font-size:clamp(22px,3.4vw,48px)
}
.footer{
  gap:20px;
  flex-wrap:wrap
}
.strip{
  flex-wrap:wrap;
  padding-block:20px;
  gap:20px 5vw
}
.process-stage.is-timing .process-autoplay i{
  animation:processTimer 4.6s linear forwards
}
.quote-chip{
  position:static!important;
  transform:none!important
}
.quote-board{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;
  padding-top:70px;
  min-height:370px
}
.quote-chip{
  width:100%;
  font-size:13px;
  padding:12px 8px;
  box-shadow:none
}
#quoteText{
  grid-column:1/-1;
  font-size:clamp(32px,3.5vw,50px);
  margin-top:24px
}
.mode-button{
  min-height:44px
}
.icon-button{
  width:44px;
  height:44px
}
.process-switch button{
  min-height:44px
}
@media(min-width:1500px){
  .os-hero{
    gap:40px 8%
  }
  .os-intro h1{
    font-size:88px
  }
  .os-object{
    min-height:420px
  }
}
@media(max-width:860px){
  .os-hero{
    grid-template-columns:1fr;
    gap:24px;
    padding-top:32px
  }
  .os-intro{
    grid-column:1
  }
  .os-object{
    grid-column:1;
    grid-row:2;
    min-height:260px;
    max-width:460px;
    width:100%;
    justify-self:center
  }
  .os-intro h1{
    font-size:clamp(42px,8vw,68px);
    margin-top:20px
  }
  .terminal-menu{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .service-section,.legal-grid{
    grid-template-columns:1fr
  }
  .site-header{
    align-items:center
  }
  .nav{
    gap:0
  }
  .nav a{
    padding-inline:9px
  }
  .nav span{
    display:none
  }
  .os-bottom{
    flex-wrap:wrap
  }
  .service-section{
    gap:32px
  }
  .os-lead{
    max-width:580px
  }
}
@media(max-width:560px){
  .site-header{
    position:relative;
    flex-direction:row;
    gap:8px;
    padding:16px
  }
  .brand{
    font-size:15px
  }
  .brand-logo{
    width:24px;
    height:24px
  }
  .nav{
    font-size:11px
  }
  .nav a{
    padding:8px
  }
  .nav a[href="#mentoring"]{
    display:none
  }
  .os-intro .eyebrow{
    font-size:9px
  }
  .os-object{
    min-height:220px
  }
  .terminal-top{
    padding:16px
  }
  .terminal-output{
    padding:16px;
    height:180px
  }
  .terminal-menu{
    padding:8px 12px 14px
  }
  .terminal-menu button{
    font-size:11px
  }
  .terminal form{
    flex-wrap:wrap;
    padding:12px;
    gap:4px 8px
  }
  .terminal label{
    flex-basis:100%;
    font-size:10px
  }
  .terminal input{
    flex:1
  }
  .terminal-bottom{
    padding:0 12px 12px;
    align-items:center
  }
  .terminal-bottom span{
    max-width:185px
  }
  .terminal-bottom button{
    min-height:44px
  }
  .os-bottom{
    font-size:9px
  }
  .os-bottom>span{
    flex-basis:100%
  }
  .os-navigation{
    gap:4px 20px
  }
  .os-navigation a{
    font-size:11px
  }
  .hero{
    padding-top:60px;
    padding-bottom:60px
  }
  .hero-title{
    font-size:42px
  }
  .route-board{
    grid-template-columns:1fr 1fr
  }
  .route-item{
    min-height:135px;
    padding:12px
  }
  .route-item strong{
    font-size:24px
  }
  .route-item small{
    font-size:12px
  }
  .mode-controls,.mode-text,.mode-label{
    max-width:75%
  }
  .mode-label{
    font-size:44px
  }
  .mode-text{
    font-size:16px
  }
  .studio-panel{
    min-height:330px
  }
  .legal-grid{
    gap:24px
  }
  .quote-board{
    min-height:330px
  }
  .process-stage{
    min-height:440px
  }
  section[id],nav[id]{
    scroll-margin-top:20px
  }
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important
  }
}
html[data-paused="true"] *,html[data-paused="true"] *::after{
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important
}
html:not(.has-js) .mode-controls, html:not(.has-js) .icon-button, html:not(.has-js) .process-switch, html:not(.has-js) .process-autoplay, html:not(.has-js) .quote-chip, html:not(.has-js) #motion-toggle{
  display: none;
}
.terminal noscript p{
  padding: 24px;
  line-height: 1.7;
}
.terminal noscript a{
  text-decoration: underline;
}

/* VISION OS 2.1 — terminal first, from binary to a useful interface. */
.os-hero {
  grid-template-columns: minmax(0, 1fr) minmax(270px, .43fr);
  gap: 32px;
  padding: 32px clamp(20px, 4vw, 64px) 24px;
  overflow: visible;
}
.os-intro { grid-column: 1 / -1; padding-top: 0; display: grid; grid-template-columns: 1fr .8fr; gap: 0 48px; align-items: center; }
.os-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 8px; }
.os-intro h1 { grid-column: 1; grid-row: 2 / 5; font-size: clamp(38px, 4.2vw, 64px); line-height: 1.08; margin: 8px 0; }
.os-intro .os-lead { grid-column: 2; font-size: 15px; margin: 8px 0; max-width: 470px; }
.os-intro .os-principle { grid-column: 2; font-size: 13px; margin: 8px 0; }
.os-intro .text-link { display: none; }
.terminal { grid-column: 1; grid-row: 2; align-self: start; border-color: #5c5c5c; box-shadow: 0 16px 80px #00000044, 0 0 60px #c6c6c605; }
.terminal-top { padding: 19px 26px; }
.terminal-top h2 { font-size: 12px; }
.terminal-output { height: auto; min-height: 370px; max-height: none; overflow: visible; padding: 28px; font-size: 14px; line-height: 1.85; }
.terminal-output .command { margin: 0 0 24px; font-size: 12px; color: #a9a9a9; }
.terminal-output p:not(.command) { max-width: 76ch; }
.terminal-output p:has(a) { margin-top: 12px; }
.terminal-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 24px 24px; gap: 8px; }
.terminal-menu button { font-size: 13px; padding: 12px; min-height: 48px; }
.terminal-history { border-top: 1px solid var(--line); color: var(--muted); font: 11px/1.7 ui-monospace, monospace; }
.terminal-history summary { padding: 13px 26px; cursor: pointer; min-height: 44px; }
.terminal-history summary span { color: var(--brand-yellow); margin-left: 8px; }
#terminal-history { max-height: 320px; overflow: auto; padding: 0 26px; overscroll-behavior: contain; }
.history-entry { border-top: 1px solid var(--line); padding: 18px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.history-entry a { color: var(--brand-yellow); text-decoration: underline; }
.os-object { grid-column: 2; grid-row: 2; min-height: 0; align-self: start; position: sticky; top: 110px; padding-top: 12px; width: 100%; max-width: none; }
.transform-heading { display: flex; justify-content: space-between; font: 9px ui-monospace, monospace; letter-spacing: .13em; color: #aaaaaa; padding: 0 8px; }
.transform-heading > span:last-child { color: #cdcdcd; font-size: 18px; }
.transform-scene { position: relative; height: 390px; perspective: 900px; isolation: isolate; }
.transform-grid { position: absolute; inset: 18% 0 10%; background: linear-gradient(#cdcdcd0b 1px, transparent 1px), linear-gradient(90deg, #cdcdcd0b 1px, transparent 1px); background-size: 24px 24px; transform: rotateX(58deg) rotateZ(-22deg); mask-image: radial-gradient(ellipse, #000000, transparent 70%); }
.os-object canvas { z-index: 2; opacity: 1; pointer-events: none; }
.code-plane, .reality-plane { position: absolute; inset: 65px 6px auto; border: 1px solid #5d5d5d; background: #1c1c1ced; border-radius: 9px; overflow: hidden; box-shadow: 0 30px 60px #00000055, -5px 5px 0 #2e2e2e44; will-change: transform, opacity; }
.code-plane { opacity: 0; transform: translateY(12px) rotateY(-12deg) rotateX(8deg); }
.code-file { display: block; padding: 13px 16px; border-bottom: 1px solid #424242; color: #a8a8a8; font: 10px ui-monospace, monospace; }
.code-plane pre { padding: 18px 16px; margin: 0; font: 11px/1.85 ui-monospace, monospace; color: #e6e6e6; }
.code-plane pre span { color: #cdcdcd; }
.code-plane pre em { color: #d6d6d6; font-style: normal; }
.reality-plane { z-index: 3; opacity: 1; transform: rotateY(-8deg) rotateX(4deg); background: linear-gradient(140deg, #2c2c2c, #1a1a1a 70%); }
.has-js .reality-plane { opacity: 0; }
.reality-top { display: flex; align-items: center; gap: 9px; padding: 14px; border-bottom: 1px solid #4c4c4c; font: 10px system-ui, sans-serif; }
.reality-mark { display: grid; place-items: center; border: 1px solid #adadad; color: #dddddd; border-radius: 5px; width: 22px; height: 22px; font: 14px system-ui, sans-serif; }
.reality-top i { width: 5px; height: 5px; background: #d8d8d8; border-radius: 50%; margin-left: auto; }
.reality-content { padding: 24px 18px; }
.reality-eyebrow { font: 8px ui-monospace, monospace; color: #bfbfbf; letter-spacing: .05em; }
.reality-content strong { display: block; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.12; letter-spacing: -.045em; margin: 14px 0 20px; font-weight: 640; }
.reality-flow { display: flex; gap: 6px; align-items: center; font: 9px ui-monospace, monospace; }
.reality-flow span { padding: 8px 6px; background: #a9a9a912; border: 1px solid #5e5e5e; border-radius: 4px; }
.reality-flow b { font-weight: 400; color: #d7d7d7; }
.reality-task { display: flex; gap: 10px; align-items: center; border-top: 1px solid #4c4c4c; margin-top: 20px; padding-top: 16px; font-size: 11px; }
.reality-task > span { color: #e1e1e1; font-size: 18px; }
.reality-task small { display: block; color: #b6b6b6; font-size: 10px; margin-top: 5px; }
.transform-beam { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #eaeaea, transparent); box-shadow: 0 0 14px #e5e5e5; opacity: 0; z-index: 4; }
.transform-steps { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid #404040; padding-top: 16px; font: 8px/1.8 ui-monospace, monospace; color: #9c9c9c; }
.transform-steps b { display: block; font-weight: 400; font-size: 11px; margin-bottom: 6px; }
.transform-steps .is-active { color: #e7e7e7; }
.transform-description { color: #b5b5b5; font-size: 14px; line-height: 1.7; margin: 24px 0 12px; }
.transform-note { color: #929292; font: 9px/1.7 ui-monospace, monospace; }
@media (max-width: 1000px) {
  .os-hero { grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; }
  .terminal-output { padding: 22px; font-size: 13px; }
  .terminal-menu { padding: 8px 18px 20px; }
  .terminal-menu button { font-size: 11px; }
  .terminal form { flex-wrap: wrap; }
  .terminal label { flex-basis: 100%; }
  .terminal input { flex: 1; }
}
@media (max-width: 760px) {
  .os-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 18px; }
  .os-intro { display: block; }
  .os-intro h1 { font-size: clamp(35px, 7.8vw, 52px); margin: 16px 0; }
  .os-intro h1 br { display: none; }
  .os-intro h1 span::before { content: ' '; }
  .os-intro .os-lead { font-size: 14px; }
  .os-intro .os-principle { font-size: 12px; margin-top: 12px; }
  .terminal { grid-column: 1; grid-row: 2; }
  .terminal-output { min-height: 310px; padding: 20px 16px; font-size: 12px; line-height: 1.9; }
  .terminal-top { padding: 17px 16px; }
  .terminal-top h2 { font-size: 10px; }
  .terminal-menu { padding: 8px 12px 16px; }
  .terminal-history summary { padding-inline: 16px; }
  .os-object { grid-column: 1; grid-row: 3; position: relative; top: auto; max-width: 420px; justify-self: center; margin-top: 12px; }
  .transform-scene { height: 370px; }
  .code-plane, .reality-plane { inset-inline: 18px; }
  .reality-content strong { font-size: 32px; }
  .os-bottom { grid-row: 4; }
}

.terminal[data-view="home"] .terminal-output { min-height: 170px; }
.terminal[data-view="home"] .terminal-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .terminal[data-view="home"] .terminal-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .terminal[data-view="home"] .terminal-output { min-height: 210px; }
}
.transform-scene { overflow: clip; }
.os-hero > * { min-width: 0; }
#top { scroll-margin-top: 90px; }
/* Secondary reading is available on demand; the terminal is the main experience. */
.content-library { margin: 8px clamp(18px, 4vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.content-library > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; padding: 24px 0; min-height: 64px; color: #b0b0b0; font-size: 13px; }
.content-library > summary::-webkit-details-marker { display: none; }
.content-library > summary:hover { color: #eeeeee; }
.content-library > summary:focus-visible, .terminal-history > summary:focus-visible { outline: 2px solid #dcdcdc; outline-offset: 3px; }
.library-hint { display: flex; align-items: center; gap: 18px; color: #959595; font: 11px ui-monospace, monospace; }
.library-hint b { color: #dddddd; font-size: 20px; font-weight: 400; transition: transform 160ms ease; }
.content-library[open] .library-hint b { transform: rotate(45deg); }
.content-library .os-navigation { margin-top: 0; padding-inline: 0; }
.content-library .section, .content-library .hero { padding-inline: 0; }
.content-library .process-section, .content-library .mentor { padding-inline: 24px; border-radius: 10px; }
.footer { padding: 28px clamp(18px, 4vw, 64px); font-size: 12px; }
.footer small { display: block; color: #929292; margin-top: 7px; font-size: 10px; }
.footer-contact { display: flex; gap: 24px; font-size: 13px; }
.footer-contact a:first-child { color: #d0d0d0; }
@media (max-width: 560px) {
  .nav a[href="#o-mne"] { display: none; }
  .content-library > summary { font-size: 12px; gap: 10px; }
  .library-hint { font-size: 9px; gap: 10px; }
  .footer { gap: 22px; }
  .footer-contact { flex-wrap: wrap; gap: 12px 24px; }
  .content-library .process-section, .content-library .mentor { padding-inline: 16px; }
}
/* Keep the illustration inside its grid row so it never covers the controls below. */
.os-object { position: relative; top: auto; }
/* Terminal workspace: content first, compact actions, no secondary page below. */
.has-js .content-library { display: none; }
.site-header { padding-block: 10px; }
.os-hero { padding-top: 14px; gap: 14px 28px; grid-template-columns: minmax(0, 1fr) minmax(280px, .41fr); }
.os-intro { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 0 2px; }
.os-intro h1 { font-size: 20px; line-height: 1.3; margin: 0; letter-spacing: -.025em; font-weight: 640; }
.os-intro h1 span { font-weight: 400; color: #979797; }
.os-intro p { margin: 0; color: #b4b4b4; font-size: 12px; }
.terminal-top { padding: 13px 22px; }
.terminal-top h2 { font-size: 10px; }
.terminal-output, .terminal[data-view="home"] .terminal-output { min-height: clamp(380px, 53svh, 680px); padding: 26px; font-size: 15px; line-height: 1.8; }
.terminal-menu, .terminal[data-view="home"] .terminal-menu { display: flex; flex-wrap: wrap; gap: 3px 14px; padding: 6px 22px 10px; border-top: 1px solid #303030; }
.terminal-menu button { min-height: 30px; padding: 4px 2px; border: 0; border-radius: 0; background: transparent; color: #c1c1c1; font-size: 11px; }
.terminal-menu button:hover { background: transparent; color: #e9e9e9; text-decoration: underline; text-underline-offset: 4px; }
.terminal-history summary { min-height: 26px; padding: 4px 22px; font-size: 10px; }
.terminal form { padding: 9px 22px; gap: 10px; flex-wrap: nowrap; }
.terminal form label { flex-basis: auto; font-size: 11px; }
.terminal form button { min-height: 34px; height: 34px; width: 34px; }
.terminal-input-wrap { position: relative; flex: 1; min-width: 0; }
.terminal-input-wrap input { display: block; margin: 0; font: 15px/1.4 ui-monospace, monospace; width: 100%; }
.terminal-input-wrap input:placeholder-shown { caret-color: transparent; }
.terminal-caret { display: none; position: absolute; left: 0; top: 50%; width: 8px; height: 17px; transform: translateY(-50%); background: #dddddd; animation: terminalBlink 1.05s step-end infinite; pointer-events: none; }
.input-hint { display: none; position: absolute; top: 50%; left: 17px; transform: translateY(-50%); color: #898989; font: 12px ui-monospace, monospace; white-space: nowrap; pointer-events: none; }
input:placeholder-shown ~ .terminal-caret, input:placeholder-shown ~ .input-hint { display: block; }
@keyframes terminalBlink { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
.terminal-bottom { padding: 0 22px 6px; align-items: center; font-size: 9px; }
.terminal-bottom button { min-height: 24px; font-size: 9px; }
.os-object { padding-top: 4px; }
.transform-scene { height: 310px; }
.code-plane, .reality-plane { top: 20px; }
.code-plane pre { font-size: 10px; padding: 12px; line-height: 1.65; }
.reality-content { padding: 18px 15px; }
.reality-content strong { font-size: 28px; margin: 10px 0 15px; }
.reality-task { margin-top: 14px; padding-top: 12px; }
.transform-steps { padding-top: 10px; }
.topic-detail { margin-top: 22px; }
.topic-kicker { margin-bottom: 8px; color: #b9b9b9; font: 9px ui-monospace, monospace; letter-spacing: .08em; }
.topic-detail h2 { font-size: 23px; line-height: 1.15; margin: 0 0 10px; letter-spacing: -.035em; }
.topic-detail > p:not(.topic-kicker) { color: #bdbdbd; font-size: 12px; line-height: 1.7; margin: 0 0 14px; }
.topic-detail ol { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: topic; }
.topic-detail li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid #363636; font-size: 11px; line-height: 1.55; color: #c8c8c8; counter-increment: topic; }
.topic-detail li::before { content: '0' counter(topic); font: 10px ui-monospace, monospace; color: #b9b9b9; padding-top: 2px; }
.os-bottom { font-size: 9px; }
.os-bottom button { min-height: 28px; padding: 5px 8px; font-size: 9px; }
@media (max-width: 760px) {
  .os-hero { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 14px; }
  .os-intro { display: block; }
  .os-intro h1 { font-size: 17px; margin: 0 0 4px; }
  .os-intro p { font-size: 10px; }
  .terminal-output, .terminal[data-view="home"] .terminal-output { min-height: 380px; padding: 18px 15px; font-size: 13px; }
  .terminal-menu, .terminal[data-view="home"] .terminal-menu { gap: 0 12px; padding: 4px 12px; }
  .terminal-menu button { min-height: 44px; font-size: 10px; padding: 4px 1px; }
  .terminal form { padding: 8px 14px; flex-wrap: wrap; }
  .terminal form label { flex-basis: 100%; font-size: 10px; }
  .terminal form button { height: 44px; min-height: 44px; width: 44px; }
  .terminal-input-wrap input { font-size: 16px; }
  .terminal-bottom { padding-inline: 14px; }
  .terminal-bottom button { min-height: 44px; }
  .os-object { max-width: 440px; }
  .transform-scene { height: 320px; }
  .os-bottom > span { flex-basis: auto; }
}
.os-object[data-topic="assistant"] .reality-flow { flex-direction: column; align-items: stretch; gap: 5px; }
.os-object[data-topic="assistant"] .reality-flow span { max-width: 80%; border-radius: 8px 8px 8px 0; }
.os-object[data-topic="assistant"] .reality-flow span:last-child { align-self: flex-end; border-radius: 8px 8px 0 8px; background: #cdcdcd22; }
.os-object[data-topic="assistant"] .reality-flow b { display: none; }
.os-object[data-topic="design"] .reality-flow span { border: none; min-height: 30px; color: #171717; background: #d4d4d4; }
.os-object[data-topic="design"] .reality-flow span:nth-of-type(2) { background: #bebebe; }
.os-object[data-topic="design"] .reality-flow span:nth-of-type(3) { background: #d6d6d6; }
.os-object[data-topic="integration"] .reality-flow span, .os-object[data-topic="it"] .reality-flow span { border-radius: 50%; width: max-content; min-width: 48px; max-width: 100%; min-height: 42px; height: auto; padding: 8px 10px; flex: 0 0 auto; display: grid; place-items: center; text-align: center; }
.os-object[data-topic="legal"] .reality-flow { flex-direction: column; align-items: stretch; gap: 3px; }
.os-object[data-topic="legal"] .reality-flow span { padding: 4px 8px; border: 0; border-left: 2px solid #cdcdcd; }
.os-object[data-topic="legal"] .reality-flow b { display: none; }
.reality-flow img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; filter: grayscale(1); }
.reality-flow { flex-wrap: wrap; }
.os-object[data-topic="assistant"] .transform-scene, .os-object[data-topic="legal"] .transform-scene { height: 360px; }

.os-object[data-topic="assistant"] .reality-content { padding: 14px; }
.os-object[data-topic="assistant"] .reality-flow span { padding: 5px 7px; }
.os-object[data-topic="assistant"] .reality-task { margin-top: 10px; padding-top: 10px; }

/* Terminal window: quiet chrome, continuous screen and an inline shell prompt. */
.terminal { background: #0f0f0f; border-color: #3f3f3f; border-radius: 9px; box-shadow: 0 22px 65px #00000055, 0 1px 0 #ffffff08 inset; }
.terminal-top { position: relative; min-height: 37px; padding: 9px 18px; background: #242424; border-bottom: 1px solid #090909; gap: 14px; }
.terminal-window-dots { display: flex; gap: 7px; flex-shrink: 0; }
.terminal-window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #858585; box-shadow: inset 0 0 0 1px #00000022; }
.terminal-window-dots i:nth-child(2) { background: #bababa; }
.terminal-window-dots i:nth-child(3) { background: #a3a3a3; }
.terminal-top h2 { margin: 0; color: #bfbfbf; font-size: 11px; letter-spacing: 0; font-weight: 400; }
.terminal-top > span { color: #a0a0a0; font-size: 9px; }
.terminal-output, .terminal[data-view="home"] .terminal-output { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; line-height: 1.65; color: #dbdbdb; }
.terminal-output .command { color: #bbbbbb; margin-top: 0; }
.terminal-menu, .terminal[data-view="home"] .terminal-menu { border-top: 0; padding-top: 7px; }
.terminal-menu button { color: #a4a4a4; }
.terminal-history { border-color: #ffffff0b; }
.terminal-history summary { color: #7e7e7e; }
.terminal form { border-top: 0; }
.terminal form label { font-size: 12px; color: #a3a3a3; }
.terminal-input-wrap input, .terminal-input-wrap input:focus, .terminal-input-wrap input:focus-visible { outline: none; box-shadow: none; border: 0; border-radius: 0; background: transparent; }
.terminal form:focus-within .prompt-name { color: #e1e1e1; }
.terminal form button { background: transparent; border-color: transparent; color: #adadad; }
.terminal form button:hover { background: #ffffff08; border-color: #ffffff18; }
.terminal-bottom { color: #7c7c7c; }
.terminal-bottom button:disabled { visibility: hidden; }
@media (max-width: 760px) {
  .terminal-top { padding-inline: 14px; gap: 8px; }
  .terminal-top h2 { font-size: 9px; }
  .terminal-top > span { font-size: 8px; }
  .terminal-window-dots { gap: 5px; }
  .terminal-window-dots i { width: 7px; height: 7px; }
}

/* Personal introduction: quieter surfaces, real portrait and room for the text. */
body { background: #151515; }
.site-header { background: #151515f5; }
.nav a > span { display: none; }
.os-hero { max-width: 1400px; padding: 52px clamp(20px, 5vw, 72px) 24px; gap: 36px 48px; grid-template-columns: minmax(0, 1fr) minmax(250px, .43fr); }
.os-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; padding-bottom: 16px; }
.os-intro .intro-label { font-size: 12px; color: #b4b4b4; margin: 0 0 20px; }
.os-intro h1 { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(36px, 4.3vw, 60px); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; margin: 0; color: #e4e4e4; }
.os-intro .intro-copy p { font-size: 15px; line-height: 1.75; max-width: 42ch; color: #bbbbbb; }
.intro-copy a { display: inline-block; margin-top: 18px; font-size: 13px; color: #d9d9d9; text-underline-offset: 5px; }
.terminal { box-shadow: none; border-color: #3d3d3d; border-radius: 5px; }
.terminal-output, .terminal[data-view="home"] .terminal-output { min-height: 310px; font-size: 14px; line-height: 1.8; }
.terminal-top { background: #252525; }
.terminal-window-dots i { background: #7a7a7a; box-shadow: none; }
.terminal-window-dots i:nth-child(2) { background: #7a7a7a; }
.terminal-window-dots i:nth-child(3) { background: #7a7a7a; }
.terminal-top > span { display: none; }
.os-object { position: static; padding-top: 0; }
.personal-portrait { margin: 0; }
.personal-portrait img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: center 35%; filter: saturate(.55); border-radius: 2px; }
.personal-portrait figcaption { font-size: 12px; color: #e0e0e0; padding-top: 12px; }
.personal-portrait figcaption span { display: block; color: #9c9c9c; font-size: 11px; margin-top: 4px; }
.topic-detail { margin-top: 30px; }
.topic-kicker { color: #b5b5b5; letter-spacing: .04em; }
.topic-detail h2 { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 400; font-size: 26px; color: #dfdfdf; }
.topic-detail li::before { color: #b1b1b1; }
.os-bottom { border-color: #383838; color: #adadad; }
@media (max-width: 760px) {
  .os-hero { grid-template-columns: minmax(0, 1fr); padding: 28px 18px 18px; gap: 28px; }
  .os-intro { grid-template-columns: 1fr; gap: 22px; padding: 0; }
  .os-intro h1 { font-size: clamp(36px, 8vw, 52px); }
  .os-intro .intro-label { font-size: 11px; margin-bottom: 14px; }
  .os-intro .intro-copy p { font-size: 14px; }
  .terminal-output, .terminal[data-view="home"] .terminal-output { min-height: 280px; font-size: 12px; }
  .os-object { max-width: none; width: 100%; }
  .personal-portrait img { height: 260px; }
}

/* Classic terminal palette: neutral surfaces and logo-yellow accents. */
:root { --bg: #101010; --ink: #eeeeee; --muted: #aaaaaa; --line: #333333; --brand-yellow: #f8b800; --coral: #f8b800; --paper: #191919; }
body { background: #101010; }
.site-header { background: #101010f5; }
.os-intro h1 { font-weight: 600; letter-spacing: -.045em; }
.topic-detail h2 { font-weight: 600; letter-spacing: -.025em; }
.terminal { background: #000000; border-color: #444444; }
.terminal-top { background: #252525; }
.terminal-output, .terminal[data-view="home"] .terminal-output { color: #cccccc; }
.terminal-output .command, .terminal form label, .terminal form:focus-within .prompt-name { color: #f8b800; }
.terminal-menu button { color: #f8b800; }
.terminal-menu button:hover { color: #ffffff; }
.terminal-input-wrap input { color: #eeeeee; caret-color: #f8b800; }
.terminal-caret { background: #f8b800; }
.terminal-output a, .history-entry a, .intro-copy a { color: #f8b800; }
.nav a.is-active { background: #ffffff08; }
.nav a::after { background: #f8b800; }
.topic-kicker, .topic-detail li::before { color: #aaaaaa; }
.personal-portrait img { filter: grayscale(1); }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline-color: #f8b800; }

/* Use the available desktop width; keep prose readable within the wider panels. */
.os-hero { max-width: none; padding-inline: clamp(20px, 3vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(320px, .48fr); gap: 32px clamp(24px, 3vw, 56px); }
.os-intro { grid-template-columns: 1.2fr 1fr; }
.os-intro .intro-copy p { max-width: 52ch; }
.terminal-output p:not(.command) { max-width: 76ch; }
.personal-portrait { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.personal-portrait img { width: 92px; height: 92px; flex-shrink: 0; object-position: center 35%; }
.personal-portrait figcaption { padding: 0; font-size: 14px; }
.personal-portrait figcaption span { margin-top: 6px; }
.transform-heading { padding: 0; color: #aaaaaa; }
.transform-heading > span:last-child, .transform-steps .is-active { color: #f8b800; }
.transform-scene { height: 290px; }
.code-plane, .reality-plane { background: #161616; box-shadow: none; border-color: #444444; }
.code-plane pre span, .code-plane pre em, .reality-mark, .reality-flow b, .reality-task > span { color: #f8b800; }
.reality-mark { border-color: #f8b800; }
.reality-top i { background: #f8b800; }
.transform-beam { background: linear-gradient(90deg, transparent, #f8b800, transparent); box-shadow: none; }
.transform-grid { opacity: .35; }
.transform-steps { padding-top: 8px; }
.topic-detail { margin-top: 22px; }
@media (min-width: 1600px) {
  .os-object { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-content: start; }
  .personal-portrait { grid-column: 1 / -1; }
  .transform-heading, .transform-scene, .transform-steps { grid-column: 1; }
  .topic-detail { grid-column: 2; grid-row: 2 / 5; margin-top: 0; }
  .os-hero { grid-template-columns: minmax(0, 1.1fr) minmax(580px, 1fr); }
}
@media (max-width: 760px) {
  .os-hero { grid-template-columns: minmax(0, 1fr); padding-inline: 18px; }
  .os-intro { grid-template-columns: 1fr; }
  .transform-scene { max-width: 440px; width: 100%; margin-inline: auto; }
}

/* Keep animation captions inside narrow cards, including wide-screen columns. */
.reality-plane { container-type: inline-size; }
.reality-content strong {
  width: auto;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: clamp(20px, 7cqw, 28px);
  line-height: 1.2;
}

/* Flow labels must fit their own boxes, not just the enclosing card. */
.reality-flow { min-width: 0; }
.reality-flow span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.reality-flow b { flex: 0 0 auto; }

.os-object[data-topic="integration"] .reality-flow,
.os-object[data-topic="it"] .reality-flow { gap: 4px; }
