:root {
  --ink: #182a24;
  --muted: #52645c;
  --green: #17634b;
  --rule: #d3dcd4;
  --body: #fbfcf8;
  --lime: #d7f897;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--body);
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
body { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; }
a { color: inherit; }
button,input { font: inherit; }
button { color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #2f936d; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1216px, calc(100% - clamp(40px, 10vw, 154px))); margin-inline: auto; }
body .portfolio-navigation[data-placement="page"] {
  background: #fbfcf8; border-bottom: 1px solid #d7dfd6; min-height: 48px;
  padding-inline: max(calc((100vw - 1216px) / 2), min(5vw, 77px));
  font-size: 13px; gap: 20px;
}
body .portfolio-navigation .portfolio-title { display: flex; align-items: center; gap: 10px; color: #253e33; }
body .portfolio-navigation .portfolio-title::before {
  content:""; width: 17px; height: 14px; border-radius: 4px; background: #2b493d;
  box-shadow: -3px 3px 0 #a6c28e; transform: skewY(-8deg);
}
.cover { color: #f6faf2; background: #102923; position: relative; overflow: hidden; isolation: isolate; }
.cover-grid { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at 76% 50%, #43624d80, transparent 55%),
  linear-gradient(90deg, #122a25 5%, #173329 74%, #133026); }
.cover-grid::after { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(to right,#b9e7bb13 1px,transparent 1px),
  linear-gradient(to bottom,#b9e7bb13 1px,transparent 1px);
  background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent 2%, #0005 34%, #000 63%);
}
.cover-in { position: relative; display: grid; grid-template-columns: 46% 54%; align-items: center; min-height: clamp(395px, 35.4vw, 514px); }
.cover-copy { padding: 46px 0 49px; z-index: 1; }
.kicker { color: #456a52; display: flex; align-items: center; gap: 10px; font: 650 12px/1.3 var(--mono); letter-spacing: .14em; }
.kicker.light { color: #cfeb9e; }
.marks { width: 16px; height: 12px; display: inline-block; flex-shrink: 0; transform: skewX(-20deg); background: repeating-linear-gradient(90deg,currentColor 0 3px, transparent 3px 6px); }
h1 { margin: 22px 0 17px; line-height: 1; }
h1 span { display: block; font-size: clamp(70px, 7.4vw, 110px); font-weight: 655; letter-spacing: -.062em; word-spacing: .045em; line-height: .92; }
h1 b { display: block; margin-top: 16px; font-size: clamp(31px, 3.6vw, 50px); font-weight: 675; letter-spacing: -.044em; line-height: 1.18; }
.intro { color: #cfddd2; max-width: 31em; font-size: 16px; line-height: 1.85; text-wrap: pretty; }
.cover-actions { display: flex; flex-wrap: wrap; gap: 23px; align-items: center; margin-top: 26px; }
.primary { display: inline-flex; align-items: center; gap: 11px; padding: 10px 18px; min-height: 42px; background: var(--lime); border-radius: 5px; color: #1e351b; font-size: 15px; font-weight: 690; text-decoration: none; }
.primary:hover { background: #e7ffb3; }
.grid-icon { width: 14px; height: 14px; display: inline-block; background:
  linear-gradient(to right, transparent 42%,var(--lime) 42% 58%,transparent 58%),
  linear-gradient(to bottom,transparent 42%,var(--lime) 42% 58%,transparent 58%),currentColor; border-radius: 2px; }
.quiet { font-size: 14px; color: #e0e9dd; text-underline-offset: 5px; text-decoration-color: #73927e; }
.quiet small { font: 11px var(--mono); color: #c1d5b5; margin-left: 3px; }
.machine { position: relative; align-self: stretch; min-height: 300px; isolation: isolate; }
.product { position: absolute; left: 50%; top: 49%; width: min(83%, 510px); height: 82%; object-fit: contain; transform: translate(-50%, -50%); z-index: 1; }
.shadow { position: absolute; width: 68%; height: 20%; border-radius: 50%; top: 57%; left: 15%; background: #00100bb8; filter: blur(20px); transform: rotate(-7deg); }
.orbit { position: absolute; left: 50%; top: 58%; width: 101%; height: 47%; transform: translate(-50%,-50%) rotate(-13deg); border: 1px solid #acca9a54; border-radius: 50%; }
.orbit.two { width: 82%; height: 38%; border-style: dashed; border-color: #acc78345; }
.orbit.three { width: 115%; height: 56%; border-color: #a6c79e23; }
.cross { position: absolute; display: block; width: 13px; height: 13px; background:
  linear-gradient(90deg, transparent calc(50% - .5px),#a5bd8d 50%,transparent calc(50% + .8px)),
  linear-gradient(transparent calc(50% - .5px),#a5bd8d 50%,transparent calc(50% + .8px)); }
.cross-a { top: 13%; right: 0; } .cross-b { bottom: 10%; left: 3%; }
.dimension { position: absolute; z-index: 2; color: #dcf3b1; font: 12px/1.4 var(--mono); letter-spacing: .04em; display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 3px #1a342a; }
.dimension i { display: block; width: 30px; height: 1px; background: #b4d291; position: relative; }
.dimension i::before { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; top: -1.5px; left: -2px; background: #c3e19c; }
.dimension.top { top: 14%; left: 10%; flex-direction: row-reverse; } .dimension.top i { width: 36px; transform: rotate(35deg); transform-origin: left; }
.dimension.top i::before { left: auto; right: 0; } .dimension.bottom { bottom: 10%; right: 1%; } .dimension.bottom i { transform: rotate(35deg); transform-origin: right; }
.cover-base { position: relative; background: #0c241e75; border-top: 1px solid #bcd0ae37; }
.base-in,.base-in nav,.model-note { display: flex; align-items: center; }
.base-in { min-height: 46px; justify-content: space-between; gap: 24px; }
.base-in nav { gap: 25px; }
.base-in nav a { text-decoration: none; color: #e0e9de; font-size: 13px; }
.base-in nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.model-note { gap: 10px; color: #e2eadc; font: 13px/1.35 var(--mono); }
.model-note span { color: #b3c6b9; }
.model-note i { display: inline-block; width: 11px; height: 11px; border: 1px solid #b4ca9a; outline: 1px dashed #b4ca9a; outline-offset: 2px; border-radius: 2px; margin: 0 4px 0 2px; }
.section { padding-block: clamp(44px, 4.4vw, 67px); }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 26px; }
h2 { margin: 9px 0 5px; font-size: clamp(32px, 3.1vw, 44px); line-height: 1.22; letter-spacing: -.054em; }
.section-intro { color: var(--muted); font-size: 16px; }
.search-box { display: flex; flex: 0 1 248px; align-items: center; gap: 11px; min-width: 200px; height: 43px; padding: 0 14px; border: 1px solid #c7d2c8; background: white; border-radius: 6px; }
.search-icon { position: relative; width: 13px; height: 13px; border: 1.6px solid #617567; border-radius: 50%; }
.search-icon::after { content: ""; width: 6px; height: 1.5px; background: #617567; position: absolute; top: 10px; left: 9px; transform: rotate(45deg); }
.search-box input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); outline: 0; font-size: 14px; }
.search-box:focus-within { outline: 2px solid #4b836c; outline-offset: 2px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 19px; }
.scene-card { border-radius: 9px; overflow: hidden; border: 1px solid #ced8cf; background: white; display:flex; flex-direction:column; }
.scene-card[data-group=desk] { --wash: #e6edf9; --tone:#3b557d; }
.scene-card[data-group=studio] { --wash: #efebf7; --tone:#66517d; }
.scene-card[data-group=dev] { --wash: #dfede4; --tone:#355f4c; }
.scene-card[data-group=ai] { --wash: #fae9dd; --tone:#7d4e32; }
.scene-card[data-group=home] { --wash: #e0f0ee; --tone:#3b6c68; }
.scene-card[data-group=auto] { --wash: #f5eed9; --tone:#77632e; }
.card-head { position: relative; isolation: isolate; min-height: 114px; padding: 20px; background: var(--wash); display: flex; align-items:center; overflow:hidden; }
.card-head::before { content:""; position: absolute; inset:0; background-image: radial-gradient(var(--tone) .65px, transparent .9px); background-size: 7px 7px; opacity: .14; mask-image: linear-gradient(90deg, transparent, #000 85%); }
.card-heading { z-index:1; }
.card-heading small,.stories small { display:block; font: 650 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tone); }
.card-heading h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -.045em; margin-top: 6px; }
.card-head .miniature { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); }
.card-body { padding: 14px 20px 10px; display:flex; flex-direction:column; flex:1; }
.summary { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0 0 13px; }
.case-links { margin-top:auto; }
.case-links a { display: flex; align-items: center; justify-content: space-between; gap:10px; padding: 10px 0; border-top: 1px solid #e1e6df; font-weight: 550; font-size:15px; line-height: 1.48; text-decoration:none; }
.case-links a:hover { color: var(--green); text-decoration: underline; text-underline-offset:3px; }
.plus { flex:none; width: 18px; height:18px; border:1px solid #b7c6b9; border-radius:50%; background:
 linear-gradient(#56715f,#56715f) center / 7px 1px no-repeat, linear-gradient(#56715f,#56715f) center / 1px 7px no-repeat; }
.case-links a:hover .plus { background-color: var(--lime); border-color: #9bb186; }
.empty { text-align: center; background: #edf3e9; padding: 36px 20px; border-radius: 8px; }
.empty p { color: var(--muted); } .empty button { border: 1px solid var(--rule); background:white; border-radius:4px; padding:6px 14px; margin-top:14px; }
.hardware { background: #eaf0e9; border-block: 1px solid var(--rule); }
.source-link { font-size: 14px; color: var(--green); text-decoration-thickness:1px; text-underline-offset:4px; white-space:nowrap; }
.hw-layout { display:grid; grid-template-columns: 1fr 1fr; border:1px solid #c9d5c9; background: #fbfcfa; border-radius: 10px; overflow:hidden; }
.hw-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 22px 24px 27px; background:#f5f6f7; }
.seg { display:inline-flex; gap: 2px; background: #e6eae4; border:1px solid #ced5cd; border-radius: 6px; padding:3px; }
.seg button { border:0; padding:5px 17px; border-radius:4px; background:transparent; font-size:14px; }
.seg button[aria-pressed=true] { background: white; box-shadow: 0 1px 3px #14231a24; font-weight:650; }
.hw-figure img { display: block; width: min(80%, 344px); height:auto; mix-blend-mode: multiply; }
#port-notes { padding: 27px 30px; align-self:center; }
#port-notes h3,.stories h3 { font-size:22px; letter-spacing: -.04em; line-height:1.4; margin: 0 0 12px; }
#port-notes dt { font-weight: 650; margin-top: 10px; }
#port-notes dd,.hw-foot,.stories article p { color:var(--muted); font-size:15px; line-height: 1.72; }
.hw-foot { margin-top: 13px; }
.stories { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.stories article { border:1px solid var(--rule); background: white; border-radius:9px; overflow:hidden; }
.stories img { display:block; width:100%; height: clamp(160px,16vw,240px); object-fit:cover; }
.stories article>div { padding: 22px 24px; }
.stories small { color:#526e57; margin-bottom:9px; }
.stories article p { margin-bottom:12px; }
.end { background:#122c24; color:#eef3e8; padding:24px 0; font-size:14px; }
.end>.wrap,.end>.wrap>div { display:flex; align-items: center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.end span,.end p { color:#c6d2c5; } .end a { text-underline-offset:3px; }
dialog { padding:0; color:var(--ink); width: min(680px,calc(100% - 32px)); max-height:min(88dvh,960px); margin:auto; border: 1px solid #b6c4b7; border-radius:13px; background:#fcfdf9; box-shadow:0 26px 100px #08241f55; overscroll-behavior:contain; }
dialog::backdrop { background: #091c16a3; backdrop-filter: blur(3px); }
body:has(dialog[open]) { overflow:hidden; }
.dialog-bar { position:sticky; top:0; background: #153a2e; min-height:46px; z-index:1; display:flex; justify-content:space-between; align-items:center; padding:4px 15px 4px 25px; color:#d5eba9; font-size:14px; font-weight:600; }
#dismiss { border: 1px solid #729180; border-radius:50%; color:#f0f7ea; display:grid; place-items:center; width:33px; height:33px; font: 24px/1 sans-serif; background:transparent; }
.reader-content { padding: 25px 30px 28px; }
#case-title { font-size:clamp(26px,3vw,35px); margin:0 0 9px; line-height:1.25; }
.teaser { color:var(--muted); }
.kit { background:#eef3e9; padding:14px 16px; display: grid; gap:4px; margin:19px 0 21px; border-left:3px solid #95ad77; border-radius:3px; }
.kit b,.reader-content h3 { font-size:16px; font-weight:690; }
.steps { padding:0; list-style:none; counter-reset: step; margin: 14px 0 23px; }
.steps li { position:relative; counter-increment:step; padding:0 0 19px 41px; }
.steps li:not(:last-child)::after { content:""; position:absolute; top:28px; bottom:2px; left:13px; border-left:1px solid #c4d5c4; }
.steps li:last-child { padding-bottom:0; }
.steps li::before { content:counter(step, decimal-leading-zero); position:absolute; left:0; top:0; width:27px; height:27px; display:grid; place-items:center; background:#e0eadb; color:#365f45; font:600 12px var(--mono); border-radius:50%; }
.steps li p,.outcome p,.limit p,.kit span { color:#465b4e; overflow-wrap:anywhere; }
.outcome { background:#eaf2de; padding:12px 16px; border-radius:5px; }
.limit { margin:15px 0; }
.reader-sources { border-top:1px solid var(--rule); padding-top:13px; display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; }
.reader-sources a,.reader-next { color:var(--green); font-size:14px; text-underline-offset:3px; }
.reader-next { display:inline-block; margin-top:16px; }
@media(max-width:1060px) and (min-width:851px) {
 .card-head { padding-inline:15px; } .card-head .miniature { transform: translateY(-50%) scale(.8); transform-origin:right center; right:1%; }
}
@media(max-width:850px) {
 .case-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .cover-in { grid-template-columns: 49% 51%; }
 .cover-copy { padding-block:42px; }
 .product { width:92%; }
 .dimension.top { left:0; } .base-in nav { gap:17px; }
 .section-head { gap:16px; }
}
@media(max-width:650px) {
 body .portfolio-navigation[data-placement="page"] { gap:8px; padding:0 12px; font-size:12px; min-height:43px; }
 body .portfolio-navigation .portfolio-title { display:none; }
 .wrap { width: calc(100% - 36px); }
 .cover-in { grid-template-columns: 1fr; }
 .cover-copy { padding:32px 0 0; }
 .cover-grid::after { background-size:29px 29px; mask-image:linear-gradient(180deg,#0003,#000 75%); }
 .kicker { font-size:11px; } h1 { margin:15px 0 11px; }
 h1 span { font-size:67px; } h1 b { font-size:32px; margin-top:9px; }
 .intro { line-height:1.7; font-size:15px; max-width:37em; }
 .cover-actions { margin-top:17px; gap:20px; }
 .machine { min-height:0; height:clamp(190px,54vw,280px); width:min(100%,440px); justify-self:center; }
 .product { height:92%; width:76%; top:49%; }
 .orbit { width:91%; } .orbit.three { width:105%; } .orbit.two { width:78%; }
 .dimension.top { left:0; top:11%; } .dimension.bottom { right:1%; bottom:7%; }
 .dimension { font-size:11px; } .cross-b { left:0; } .cross-a { right:3%; }
 .cover-base .base-in { gap:8px; min-height:43px; } .model-note { font-size:11px; gap:5px; } .model-note span { display:none; }
 .base-in nav { gap:13px; } .base-in nav a { font-size:12px; }
 .section { padding-block:35px; } .section-head { align-items:flex-start; flex-direction:column; margin-bottom:18px; gap:13px; }
 .section-head h2 { margin:6px 0; } .section-intro { font-size:15px; }
 .search-box { flex:auto; width:100%; } .case-grid { gap:15px; grid-template-columns: 1fr; }
 .card-head { min-height:104px; } .card-head .miniature { right:6%; }
 .hw-layout,.stories { grid-template-columns:1fr; } .hw-figure { gap:20px; } #port-notes { padding:22px; }
 .field .section-head { margin-bottom:18px; } .stories img { height:auto; aspect-ratio:2.2; }
 .end>.wrap,.end>.wrap>div { gap:7px 16px; align-items:flex-start; }
 .reader-content { padding:20px; } dialog { max-height:92dvh; } .dialog-bar { padding-left:20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }
