:root{font-size:106.25%;color-scheme:dark;--bg:#080808;--surface:#111111;--raised:#202020;--line:#333333;--fg:#F5F5F5;--muted:#ADADAD;--quiet:#858585;--accent:#DADADA;--hover:#FFFFFF;--ink:#121212;--success:#EEEEEE;--mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--bg);color:var(--fg);font:500 0.9375rem/1.5 Manrope,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a,button,input,textarea{font:inherit;color:inherit}
a{text-decoration:none}
button{cursor:pointer}
h1,h2,h3,p,figure,fieldset{margin:0}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
::selection{background:var(--accent);color:var(--ink)}
.wrap{width:min(1390px,calc(100% - 10vw));margin-inline:auto}
.skip{position:fixed;top:0;left:12px;z-index:10;background:var(--fg);color:var(--bg);padding:10px 18px;transform:translateY(-120%)}
.skip:focus{transform:none}
.mast,.footer{display:flex;align-items:center;gap:40px}
.mast{height:84px;border-bottom:1px solid var(--line)}
.wordmark{font-weight:800;letter-spacing:-.075em;font-size:1.625rem;line-height:1}
.wordmark span,h1 span,.brief h2 span{color:var(--accent)}
.mast nav{display:flex;gap:26px;margin-left:auto}
.mast nav a,.header-tg,.footer a:last-child{font:0.75rem/1.4 var(--mono)}
.mast nav a,.footer a:last-child{color:var(--muted)}
.mast a:hover,.footer a:hover,.handle:hover{color:var(--hover)}
.header-tg{display:inline-flex;align-items:center;gap:9px;border-left:1px solid var(--line);padding-left:25px}
.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.header-tg .icon,.handle .icon,.stack-head .icon{color:var(--accent)}
.header-tg .icon,.handle .icon,.button .icon{transition:translate .2s}
.header-tg:hover .icon,.handle:hover .icon,.button:hover .icon{translate:2px -1px}
.service-cta:hover .icon{translate:3px 0}
.icon.back{transform:rotate(180deg)}.icon.up{transform:rotate(-90deg)}
.hero{display:grid;align-items:center;grid-template-columns:1.29fr 1fr;gap:4%;padding-block:clamp(36px,4vw,70px) clamp(37px,4.5vw,75px)}
.hero-copy{padding-block:10px}
.byline{display:flex;align-items:center;gap:10px;color:var(--muted);font:0.75rem/1.4 var(--mono)}
.byline i{width:8px;height:8px;background:var(--accent);display:inline-block}
.byline span{color:var(--muted)}
h1{font-size:clamp(3.1875rem,6.06vw,5.625rem);font-weight:600;letter-spacing:-.06em;word-spacing:.035em;line-height:1.02;margin:25px 0 23px}
.lede{color:var(--muted);font-size:clamp(0.9375rem,1.22vw,1.125rem);line-height:1.62}
.button{border:0;border-radius:2px;display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:50px;padding:13px 20px;font-size:0.875rem;font-weight:700;background:var(--fg);color:var(--bg);transition:background .2s}
.button:hover{background:var(--hover)}
.discuss{border-radius:5px;background:var(--accent);min-height:54px;gap:30px}
.discuss:hover,.discuss:focus-visible{background:var(--hover)}
.hero .discuss{margin-top:26px}
#exhibit{width:min(100%,520px);justify-self:end;position:relative}
.display{height:clamp(256px,26vw,374px);position:relative}
#poster,#matrix{position:absolute;inset:0;width:100%;height:100%}
#poster{object-fit:contain;image-rendering:pixelated;padding:6% 13%}
#matrix{pointer-events:none}
figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;width:90%;margin:6px auto 0;padding:12px 0 0;border-top:1px solid var(--line)}
.sample{min-width:0;display:grid;gap:3px}
#file{font:0.625rem/1.4 var(--mono);color:var(--muted)}
#code{display:block;color:var(--fg);font:0.75rem/1.55 var(--mono);overflow-wrap:anywhere}
.console-controls{display:flex;align-items:center;flex:none;gap:6px}
.console-controls>button{appearance:none;flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;line-height:1}
.console-controls .icon{display:block}
#motion:hover{border-color:var(--fg)}
#motion .icon{width:18px;height:18px}
#motion .play,#motion[data-paused="true"] .pause{display:none}
#motion[data-paused="true"] .play{display:block}
.stack{scroll-margin-top:min(46vh,420px);border-block:1px solid var(--line);padding:19px 0 0}
.stack-head{display:flex;align-items:center;justify-content:space-between;gap:20px}
.stack-head h2,.stack-head span{font:0.75rem/1.4 var(--mono);letter-spacing:0}
.stack-head span{color:var(--muted);font-size:0.6875rem}.stack-head .icon{width:17px;height:17px;margin-left:2px}
.tech-list{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));margin-top:8px}
.tech{position:relative;padding:16px 2px 18px;border:0;background:transparent;display:flex;gap:8px;align-items:center;justify-content:center;flex-direction:column;min-width:0;color:var(--muted);font:0.6875rem/1.3 var(--mono)}
.tech:after{content:"";position:absolute;inset:auto 12% -1px;height:2px;background:var(--accent);transform:scaleX(0);transition:transform .26s}
.tech[aria-pressed="true"]:after{transform:scaleX(1)}
.tech img{width:min(48px,100%);height:36px;object-fit:contain;opacity:1;transition:transform .25s,opacity .25s}
.tech:hover img,.tech:focus-visible img,.tech[aria-pressed="true"] img{transform:translateY(-2px);opacity:1}
.tech:hover,.tech:focus-visible,.tech[aria-pressed="true"]{color:var(--fg)}
.area{padding-block:clamp(50px,6.2vw,95px)}

.services h2,.cases h2,.brief h2{font-size:clamp(2.125rem,3.45vw,3.375rem);font-weight:550;line-height:1.08;letter-spacing:-.065em}
.services-head,.service-nav{display:flex;align-items:center}
.services-head{justify-content:space-between;gap:12px;margin-bottom:24px}
.service-nav{gap:7px}
.service-nav output{font:0.75rem var(--mono);white-space:nowrap;color:var(--muted);margin-right:9px}
.service-nav button{width:48px;height:48px;border:1px solid var(--line);border-radius:50%;background:transparent;display:grid;place-items:center}
.service-nav .icon{width:23px;height:23px}
.service-nav button[aria-disabled="true"]{color:var(--muted);border-color:var(--line)}
.service-nav button:not([aria-disabled="true"]):hover{background:var(--raised);color:var(--hover);border-color:var(--hover)}
.service-track{--peek:clamp(18px,5vw,70px);position:relative;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-color:var(--quiet) var(--bg)}
.service-track.enhanced{scrollbar-width:none;cursor:grab}
.service-track.enhanced::-webkit-scrollbar{display:none}
.service-track.dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}
.service{flex:0 0 calc(100% - var(--peek) - 12px);min-width:0;scroll-snap-align:start;display:grid;grid-template-columns:1.4fr 1fr;grid-template-rows:1fr auto auto 1fr;align-items:center;gap:0 24px;min-height:288px;padding:clamp(24px,4vw,54px);border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.service:nth-child(2){background:var(--surface)}.service:nth-child(3){background:var(--surface)}
.service-copy{min-width:0;grid-area:2 / 1}
.service h3{font-size:clamp(1.625rem,3.35vw,2.9375rem);line-height:1.1;letter-spacing:-.055em;font-weight:550;text-wrap:balance}
.service p{color:var(--muted)}
.service p{max-width:42ch;margin-top:13px;font-size:0.9375rem;line-height:1.55}
.service-cta{grid-area:3 / 1;justify-self:start;margin-top:24px;gap:18px;background:var(--accent);color:var(--bg)}
.service-cta:hover,.service-cta:focus-visible{background:var(--hover)}
.service-art,.service-demo{grid-column:2;grid-row:1 / -1}
.service-art{display:grid;place-items:center;min-width:0;color:var(--muted);pointer-events:none}
.service-art svg{display:block;width:clamp(164px,18vw,258px);max-width:100%;fill:none;stroke:currentColor;stroke-width:1.45;transform:rotate(-3deg)}
.service:nth-child(2) .service-art svg{transform:rotate(3deg)}
details{margin-top:16px;color:var(--muted);font-size:0.875rem}
summary{display:flex;align-items:center;justify-content:space-between;gap:16px;width:fit-content;cursor:pointer;min-height:48px;padding:9px 16px;color:var(--fg);border:1px solid var(--line);border-radius:2px}
summary::marker,summary::-webkit-details-marker{display:none;content:""}
summary .icon{color:var(--accent);transition:transform .22s}
details[open] summary .icon{transform:rotate(180deg)}
details ol{padding-left:20px;max-width:610px}
details li+li{margin-top:6px}
details strong{color:var(--fg);font-weight:600}
.brief{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line)}

.brief h2{font-size:clamp(2.625rem,5.05vw,4.6875rem)}
.brief-intro .handle{margin-top:16px}
html:has(#brief[open]){overflow:hidden}
#brief{position:fixed;inset:0;margin:auto;width:min(32rem,calc(100% - 32px));max-width:none;max-height:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;padding:clamp(20px,3vw,32px);border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--fg);box-shadow:0 22px 100px #0008}
#brief::backdrop{background:rgb(8 8 8 / .78)}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dialog-head h2{font-size:clamp(1.55rem,3.2vw,2.1rem);letter-spacing:-.055em;line-height:1.1}
.dialog-head h2:focus{outline:none}
#close-brief{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:transparent}
#close-brief:hover{border-color:var(--muted)}
#brief-hint{margin:6px 0 21px;color:var(--muted);font-size:.875rem;max-width:40ch}
#brief textarea{min-height:106px}
#brief .submit{background:var(--accent);border-radius:5px}
#brief .submit:hover{background:var(--hover)}
@media(prefers-reduced-motion:no-preference){#brief[open]{animation:brief-in .18s ease-out}@keyframes brief-in{from{opacity:.7}to{opacity:1}}}
.handle{display:inline-flex;align-items:center;gap:9px;font:0.8125rem var(--mono)}
fieldset{border:0;padding:0;min-width:0}
legend,.field-label{display:block;padding:0;font-weight:650;font-size:0.875rem;margin-bottom:10px}
.choices{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:22px}
.choices label{position:relative}
.choices input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.choices span{display:block;padding:9px 13px;font:0.75rem/1.35 var(--mono);border:1px solid var(--line);color:var(--muted);border-radius:2px}
.choices input:checked+span{color:var(--ink);background:var(--accent);border-color:var(--accent)}
.choices input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}
textarea{display:block;width:100%;min-height:148px;max-height:440px;resize:vertical;border:1px solid var(--line);border-radius:2px;background:var(--surface);color:var(--fg);font:max(16px,.9375rem)/1.55 Manrope,Arial,sans-serif;padding:14px}
textarea::placeholder{color:var(--quiet)}
.field-foot{display:flex;align-items:center;justify-content:space-between;min-height:32px;margin:3px 0 15px}
#copy{background:none;border:0;padding:4px 0;color:var(--muted);font-size:0.75rem}
#copy:hover{color:var(--fg)}
#count{margin-left:auto;color:var(--muted);font:0.6875rem var(--mono)}
.submit{width:100%}
.message{color:var(--fg);font-size:0.8125rem;line-height:1.6}
.message:not(:empty),.retry{margin-top:13px}
.footer{border-top:1px solid var(--line);padding-block:23px 30px;justify-content:space-between}
.footer .wordmark{font-size:1.25rem}
.footer a:last-child{display:inline-flex;align-items:center;gap:7px}
@media(max-width:960px){.wrap{width:calc(100% - 60px)}.hero{gap:2%;grid-template-columns:1.18fr 1fr}}
@media(max-width:735px){.wrap{width:calc(100% - 40px)}.mast{height:68px;gap:19px}.mast nav{gap:13px}.header-tg{padding-left:14px}.hero{grid-template-columns:1fr;gap:16px;padding-block:36px 24px}.hero-copy{padding:0}.byline{font-size:0.6875rem}h1{font-size:clamp(3.0625rem,9.99vw,4.3125rem);margin:19px 0}.hero .discuss{margin-top:20px}#exhibit{width:min(100%,458px);justify-self:center}.display{height:clamp(190px,48vw,246px)}figcaption{width:100%;padding-top:8px;margin:3px auto 0}.tech-list{grid-template-columns:repeat(5,minmax(0,1fr));row-gap:5px}.tech{padding:10px 0 12px;gap:6px;font-size:0.625rem}.tech img{width:min(44px,100%);height:32px}.stack{padding-top:14px}.stack-head span{font-size:0.625rem}.area{padding-block:43px}.choices{gap:5px}.choices span{padding:8px 10px}}
@media(max-width:600px){
  .brief{flex-direction:column;align-items:flex-start}
  #brief{margin:auto auto 0;width:100%;max-height:calc(100% - 12px);max-height:calc(100dvh - 12px);padding:18px 16px max(18px,env(safe-area-inset-bottom));border-radius:16px 16px 0 0}
  #brief .choices{margin-bottom:16px}

  .services-head{margin-bottom:16px}.service-nav{gap:5px}.service-nav output{margin-right:2px;font-size:0.6875rem}
  .service{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto;gap:14px;padding:21px;min-height:0}
  .service-copy{grid-area:1 / 1}.service-demo,.service-art{grid-area:2 / 1;align-self:start}.service-art{justify-content:start;padding-left:3px}.service-art svg{width:123px}
  .service-copy{display:flex;flex-direction:column;align-items:start}.service h3{font-size:clamp(1.6875rem,6.8vw,2.0625rem)}
  .service p{font-size:0.875rem;margin:8px 0 0}.service-cta{grid-area:3 / 1;justify-self:stretch;margin-top:0;gap:6px;padding-inline:12px}
}
@media(min-width:451px) and (max-width:500px){.mast,.mast nav{gap:9px}.header-tg{padding-left:6px;gap:5px}}
@media(max-width:450px){h1{font-size:clamp(2.375rem,13.1vw,3.0625rem)}.wrap{width:calc(100% - 32px)}.mast nav a:nth-child(2){display:none}.mast{gap:12px}.wordmark{font-size:1.5rem}.mast nav a,.header-tg{font-size:0.6875rem}.stack-head h2{font-size:0.75rem}.byline{font-size:0.6875rem}.display{height:186px}.tech-list{row-gap:2px}.tech{font-size:0.625rem;letter-spacing:-.025em}}
@media(max-width:365px){.mast{gap:7px}.header-tg{border:0;padding-left:0;gap:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
#cursor-field{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:3;contain:strict}
@media print,(prefers-reduced-motion:reduce){#cursor-field{display:none}}

/* A faint inner highlight keeps the rounded surfaces distinct on graphite. */
:root{--reflection:inset 0 1px 0 rgb(245 245 245 / .055)}
.mast{margin-top:14px;height:66px;padding-inline:clamp(14px,2.8vw,38px);border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:var(--reflection)}
#exhibit{padding:12px;border:1px solid var(--line);border-radius:28px;background:var(--surface);box-shadow:var(--reflection),0 18px 48px -30px #0006}
.display{isolation:isolate;background:radial-gradient(ellipse at 50% 55%,#20202080,transparent 68%)}
.display::after{content:"";position:absolute;inset:11px;pointer-events:none;
  --tick:linear-gradient(#707070,#707070);
  background:var(--tick) left top/9px 1px,var(--tick) left top/1px 9px,
    var(--tick) right top/9px 1px,var(--tick) right top/1px 9px,
    var(--tick) left bottom/9px 1px,var(--tick) left bottom/1px 9px,
    var(--tick) right bottom/9px 1px,var(--tick) right bottom/1px 9px;
  background-repeat:no-repeat;opacity:.55}
.display::before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:59%;height:74%;border-radius:50%;transform:translate(-50%,-50%) rotate(-20deg);
  border:1px solid rgb(220 220 220 / .13);
  background:radial-gradient(ellipse at 25% 15%,rgb(220 220 220 / .08),transparent 55%);
  box-shadow:inset 1px 1px 10px rgb(220 220 220 / .04)}
figcaption{width:100%;padding:10px 6px 2px;border-color:var(--line)}
#motion,.circle-button,#close-brief,.service-nav button{border:1px solid var(--line);background:var(--raised);box-shadow:var(--reflection)}
.circle-button{color:var(--accent)}
.circle-button:hover,.circle-button[aria-expanded=true]{border-color:var(--accent)}
.button,.discuss,.service-cta,#brief .submit,.bonus-open{border-radius:14px}
.discuss,.service-cta,#brief .submit,.bonus-open{border:1px solid #e5e5e5;background:linear-gradient(112deg,#efefef 0%,#c5c5c5 30%,#e3e3e3 57%,#bababa 100%);color:var(--ink);box-shadow:inset 0 1px 0 #fffa}
.discuss:hover,.service-cta:hover,#brief .submit:hover,.bonus-open:hover{background:var(--hover);border-color:var(--hover)}
.stack{padding:16px 14px 10px;border:1px solid var(--line);border-radius:21px;background:var(--surface);box-shadow:var(--reflection)}
.tech-list{gap:3px}.tech{border-radius:13px}.tech[aria-pressed=true]{background:var(--raised)}
.tech:after{inset:auto 32% 1px;border-radius:3px}
.service,.service:nth-child(2),.service:nth-child(3){border-color:var(--line);border-radius:23px;box-shadow:var(--reflection);background:var(--surface)}
.service-track{border-radius:23px}
summary,.choices span{border-radius:12px}
#brief,.receipt-card{border-color:var(--line);border-radius:24px;background:var(--surface);box-shadow:var(--reflection),0 26px 85px #0008}
#brief::backdrop{background:rgb(0 0 0 / .68)}
#spec{border-radius:13px;border-color:var(--line);background:var(--surface)}
.console-panel{margin-top:12px;padding:15px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.console-line{font:.82rem/1.5 var(--mono);color:var(--accent)}.console-panel p{margin:6px 0;color:var(--muted);font-size:.83rem}
#console-keys{display:flex;gap:8px;flex-wrap:wrap}
#console-keys button,#console-retry{min-width:47px;min-height:40px;padding:6px 12px;border:1px solid var(--line);color:var(--fg);background:var(--raised);border-radius:10px;font:.78rem var(--mono)}
#console-keys button:disabled{opacity:.45}.bonus-open{min-height:44px;margin-top:6px}
#secret-hint{margin-top:9px;color:var(--muted);font-size:.81rem}
.bonus-note{color:var(--success);margin:0 0 14px;padding:9px 12px;background:var(--raised);border:1px solid var(--line);border-radius:11px;font-size:.84rem}
.receipt-page{min-height:100svh;display:grid;place-items:center;padding:18px}
.receipt-card{max-width:500px;padding:clamp(22px,5vw,40px);border:1px solid var(--line)}
.receipt-card h1{font-size:clamp(1.8rem,5vw,2.8rem);margin:34px 0 16px}.receipt-card .receipt-meta{margin-top:20px;color:var(--muted);font:.78rem/1.8 var(--mono);overflow-wrap:anywhere}
@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){
  .mast,#brief{backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15)}
  #brief::backdrop{backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
}
@media(max-width:735px){
  .mast{height:58px;margin-top:10px;border-radius:20px;padding-inline:12px;gap:12px}
  .hero{padding-top:28px}.stack{padding:12px 7px 7px}.stack-head{padding-inline:4px}
  #exhibit{border-radius:22px;padding:8px}.service,.service-track{border-radius:19px}
}
@media(max-width:510px){.mast nav a:nth-child(2){display:none}}
@media(max-width:365px){
  .mast{gap:6px;padding-inline:9px}.mast .wordmark{font-size:1.34rem}.header-tg{gap:4px}
  .tech-list{column-gap:0}.tech{font-size:.59rem}
}
@media(max-width:600px){#brief{border-radius:24px 24px 0 0}}

#manual-draft{max-height:8rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 12px;border:1px solid var(--line);border-radius:12px;color:var(--fg);font:.8rem/1.4 var(--mono)}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 23px;
  margin-top: 26px;
}
.hero-actions .discuss { margin-top: 0; }
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--accent);
  font-size: .84rem;
}
.demo-link:hover { color: var(--hover); text-decoration: underline; text-underline-offset: 4px; }
.demo-link .icon { width: 16px; height: 16px; }

.service-demo {
  width: min(100%, 24rem);
  align-self: center;
  justify-self: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--reflection), 0 10px 30px #0003;
}
.demo-head, .demo-ticket, .demo-options { display: flex; align-items: center; gap: 8px; }
.demo-head {
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.demo-head h4 { margin: 0; font-size: .91rem; letter-spacing: -.025em; }
.demo-head span, .demo-caption, .demo-result { color: var(--muted); font: .73rem/1.45 var(--mono); }
.demo-body { display: grid; gap: 11px; padding: 15px 16px; }
.demo-options { flex-wrap: wrap; }
.demo-options button, .demo-action {
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--raised);
  color: var(--fg);
  font: 600 .78rem/1.3 Manrope, sans-serif;
  transition: background-color .18s, border-color .18s;
}
.demo-options button:hover, .demo-action:hover { border-color: var(--hover); }
.demo-options button[aria-pressed=true] { background: var(--accent); color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.slots button { padding-inline: 2px; font-family: var(--mono); }
.demo-result { display: block; color: var(--muted); }
.demo-ticket { justify-content: space-between; flex-wrap: wrap; }
.demo-ticket strong { font-size: .88rem; }
.demo-ticket output { border-radius: 6px; padding: 2px 7px; background: var(--raised); }
.board-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.board-steps i { height: 4px; border-radius: 2px; background: var(--line); transition: background-color .22s; }
.board-steps i.lit { background: var(--accent); }
.chat-bubble { border-radius: 12px 12px 12px 3px; background: var(--raised); padding: 9px 12px; font: .83rem/1.5 Manrope, sans-serif; }
@media (max-width: 735px) {
  .hero-actions { margin-top: 20px; }
}
@media (max-width: 600px) {
  .service-demo { align-self: start; width: 100%; }
  .demo-head, .demo-body { padding-inline: 12px; }
}

/* Keep the controls in the caption header, so the code can use the entire width. */
figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
.sample { display: contents; }
#file { grid-area: 1 / 1; color: var(--accent); }
.console-controls { grid-area: 1 / 2; }
#code { grid-area: 2 / 1 / 3 / -1; white-space: pre-wrap; min-height: 8.9em; font-size: .73rem; }
.scenarios { display: grid; gap: 5px; padding-left: 1.15em; margin: 14px 0 0; color: var(--muted); }
.scenarios li::marker { color: var(--accent); }
.service p.estimate { display: flex; gap: 5px 12px; flex-wrap: wrap; align-items: baseline; font: .73rem/1.45 var(--mono); margin-top: 16px; }
.estimate strong { font-weight: 500; color: var(--fg); }
.timing-note { margin-top: 12px; color: var(--muted); font-size: .8rem; }
.cases { padding-bottom: clamp(45px, 6vw, 92px); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.case-card { padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--reflection); }
.case-kind { color: var(--accent); font: .73rem/1.4 var(--mono); }
.case-card h3 { font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.1; letter-spacing: -.055em; margin: 10px 0 24px; }
.case-card dl { margin: 0; }
.case-card dt { color: var(--muted); font: .73rem/1.4 var(--mono); margin: 16px 0 5px; }
.case-card dd { margin: 0; max-width: 54ch; text-wrap: pretty; }
.case-card dt:last-of-type { border-top: 1px solid var(--line); padding-top: 16px; color: var(--accent); }
#process summary { background: var(--raised); }
#process summary:hover, .choices label:hover span { border-color: var(--hover); }
#process li { padding-left: 5px; }
#process li::marker { color: var(--muted); font-family: var(--mono); }
#spec:focus { border-color: var(--accent); }
.bonus-note strong { display: inline-block; padding: 2px 6px; margin-right: 4px; background: var(--accent); color: var(--ink); border-radius: 5px; font-family: var(--mono); }
#form-status[data-copied], #console-status[data-solved], .receipt-card .confirmed { color: var(--success); }
@media (max-width: 735px) {
  .mast nav a[href="#stack"] { display: none; }
  .case-grid { grid-template-columns: 1fr; margin: 16px 0; }
}
@media (max-width: 510px) { .mast nav a[href="#cases"] { display: none; } }

@media (prefers-reduced-motion:no-preference) {
  body:has(#motion[data-paused="false"]:not([hidden])) .tech:is([aria-pressed="true"],:hover,:focus-visible) img {
    animation: sprite-idle 2.6s steps(3,end) infinite;
  }
  @keyframes sprite-idle {
    0%, 100% { translate: 0 0; }
    40%, 55% { translate: 0 -3px; }
  }
}

.site-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  margin-top: clamp(20px, 3vw, 38px);
}
.project-showcase {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}
.project-screen { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--raised); }
.project-screen img { display: block; width: 100%; height: auto; }
.project-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px, 2.4vw, 34px); }
.project-copy h3 { margin: 8px 0 12px; font-size: clamp(1.85rem, 3.1vw, 3rem); letter-spacing: -.065em; line-height: 1.08; }
.project-description { max-width: 47ch; margin-bottom: 24px; color: var(--muted); text-wrap: pretty; }
.project-open { display: inline-flex; align-items: center; gap: 12px; min-height: 42px; margin-top: auto; padding: 6px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: .83rem; font-weight: 650; }
.project-open .icon { width: 15px; height: 15px; }
.project-showcase:is(:focus-visible,:hover) .project-open { color: var(--ink); background: var(--fg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-screen img { transition: transform .5s ease-out; }
  .project-showcase:hover img { transform: scale(1.025); }
}
@media (max-width: 735px) {
  .site-gallery { grid-template-columns: 1fr; }
}
