:root{color-scheme:light;--ink:#173a32;--muted:#50665f;--line:#cbd4cb;--paper:#f7f6ef;--accent:#deeb76}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans SC","PingFang SC","Microsoft Yahei",Arial,sans-serif}button,select,input{font:inherit;color:inherit}button,select{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c37535;outline-offset:3px}button{background:none}header,footer,main{max-width:1320px;margin:auto;padding:0 clamp(16px,4vw,62px)}header,footer{display:flex;align-items:center;justify-content:space-between}header{height:76px}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand b,footer b{font-size:22px;letter-spacing:-1.2px}.brand i{height:17px;width:1px;background:#9eaba2}.brand span:last-child{font-size:13px}.mark{background:var(--ink);color:var(--accent);border-radius:2px 12px 2px 2px;width:30px;height:30px;display:grid;place-items:center;font-size:22px;font-weight:900;font-style:italic}#language{border:1px solid var(--line);border-radius:20px;padding:7px 15px;font-size:12px}.hero{display:grid;grid-template-columns:1fr 1.05fr;background:#173e33;border-radius:20px;overflow:hidden;color:#fbfcf2}.hero-copy{padding:clamp(28px,4.6vw,68px)}.eyebrow{font-size:10px;font-weight:680;letter-spacing:.17em;margin:0}.hero .eyebrow{color:var(--accent)}.hero h1{font-size:clamp(28px,3.2vw,42px);line-height:1.18;letter-spacing:-.025em;margin:16px 0 12px;text-wrap:balance}.lead{font-size:15px;line-height:1.8;color:#d9e3d7;margin:0;max-width:33em}.hero-link{display:inline-flex;align-items:center;gap:28px;margin-top:25px;border-radius:24px;background:var(--accent);color:var(--ink);text-decoration:none;padding:12px 20px;font-size:14px;font-weight:700}.hero-figure{position:relative;margin:0;min-height:300px;overflow:hidden}.hero-figure img{width:100%;height:100%;object-fit:cover;object-position:50% 44%;position:absolute}.hero-figure figcaption{position:absolute;bottom:13px;right:15px;color:white;text-shadow:0 1px 5px #181b12;font-size:10px}.exhibit{padding:52px 0 30px;scroll-margin-top:8px}.section-top,.stage-head,.range-title,.scale{display:flex;justify-content:space-between;gap:10px;align-items:center}.section-top h2{font-size:clamp(24px,3vw,39px);letter-spacing:-.04em;margin:0}.section-top>span{font-size:12px;color:var(--muted)}.mode-nav{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);margin:18px 0 22px}.mode-nav button{border:0;border-right:1px solid var(--line);padding:16px 14px;text-align:left}.mode-nav button:last-child{border-right:0}.mode-nav button[aria-pressed=true]{background:var(--ink);color:white}.mode-nav small,.mode-nav b{display:block}.mode-nav small{letter-spacing:.08em;font-size:9px;margin-bottom:6px}.mode-nav b{font-size:20px}.experience{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(18px,3vw,44px);align-items:start}.stage{background:#e9eee7;border:1px solid var(--line);border-radius:18px;overflow:hidden;min-width:0}.stage-head{padding:16px 20px 0;font-size:12px;font-weight:650}.stage-head output{font-weight:500;color:#5a7065}.stage canvas{display:block;width:100%;aspect-ratio:2.05;touch-action:pan-y}.stage canvas.drag{touch-action:none;cursor:grab}.stage canvas.drag:active{cursor:grabbing}.controls{padding:17px 24px 19px;background:#fffef9;border-top:1px solid var(--line)}.range-title{font-size:13px;font-weight:600}.range-title output{font-size:17px;font-variant-numeric:tabular-nums}.scale{font-size:11px;color:var(--muted)}input[type=range]{width:100%;height:36px;accent-color:#276f58;margin:3px 0;cursor:ew-resize}.story{padding:10px 0}.story .eyebrow{color:#55794e}.story h3{font-size:clamp(24px,2.3vw,36px);line-height:1.24;letter-spacing:-.04em;margin:12px 0}.story p:not(.eyebrow),details p{font-size:14px;line-height:1.8;color:var(--muted);margin:8px 0}.detail-line{border-top:1px solid var(--line);margin:18px 0}.story h4{margin:0}.specs{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;margin:18px 0 12px}.specs label,.specs select{font-size:12px}.specs select{max-width:100%;background:white;border:1px solid var(--line);border-radius:6px;padding:7px}.story small{font-size:11px;color:var(--muted);line-height:1.7}details{margin-top:23px;border-block:1px solid var(--line);padding:17px 0}summary{cursor:pointer;font-size:14px;font-weight:600}details p{max-width:900px;margin:13px 0}footer{height:69px;font-size:12px;border-top:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:720px){header{height:57px}.hero{grid-template-columns:1fr .8fr;border-radius:13px}.hero-copy{padding:24px 17px}.hero-figure{min-height:190px}.eyebrow{font-size:8px}.hero .lead{font-size:11px;line-height:1.55}.hero-link{margin-top:14px;padding:8px 12px;gap:12px;font-size:11px}.hero-figure figcaption{font-size:7px;right:6px}.exhibit{padding-top:28px}.section-top>span{display:none}.mode-nav{margin:12px 0}.mode-nav button{padding:11px 5px}.mode-nav small{font-size:7px;letter-spacing:0}.mode-nav b{font-size:17px}.experience{grid-template-columns:1fr;gap:10px}.stage canvas{aspect-ratio:1.55}.controls{padding:12px 14px}.stage-head{padding:12px 12px 0;font-size:10px}.story{padding:7px 3px}.story h3{margin:8px 0}.detail-line{margin:12px 0}.specs{max-width:420px}.brand b{font-size:18px}.brand{gap:7px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.reference-link{display:block;width:fit-content;color:#2a604c;margin-top:14px;font-size:13px;text-underline-offset:3px}
.hero-figure img{object-position:48% 50%}.hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.stage-head{padding:13px 18px;background:#faf9f3;border-bottom:1px solid var(--line)}#photo-stage{position:relative;background:#d8d0c6}.stage canvas{aspect-ratio:3/1;width:100%;height:auto}#photo-stage[data-mode=fog] canvas{aspect-ratio:2/1}#pair-labels{display:grid;grid-template-columns:1fr 1fr;gap:4px;text-align:center;font-weight:600;font-size:13px;color:#365144;background:#edf1e7}#pair-labels span{background:#fbfaf5;padding:9px}#cut-view{margin-top:12px;padding:10px 0 4px;border-block:1px solid var(--line)}#cut-view summary{font-size:12px}#cut-svg{display:block;width:84%;max-width:340px;margin:12px auto}#cut-view[hidden]{display:none}
@media(max-width:720px){.hero{grid-template-columns:1fr}.hero-figure{height:auto;min-height:0;aspect-ratio:1.8;grid-row:1}.hero-copy{padding:17px 18px 19px}.hero h1{font-size:clamp(23px,5vw,26px);line-height:1.2;margin:7px 0 6px}.hero .lead{font-size:12px}.hero-link{margin-top:11px}.stage-head{padding:10px 12px}.stage canvas{aspect-ratio:2.65/1}.mode-nav small{display:none}.mode-nav b{font-size:16px}.mode-nav button{text-align:center}.stage #pair-labels span{padding:7px 0;font-size:11px}}

#puncture-spec{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:3px 8px;text-align:right;color:var(--muted);font-size:12px}
#puncture-spec strong{color:var(--ink);font-size:clamp(21px,2vw,28px);line-height:1.1;white-space:nowrap;font-variant-numeric:tabular-nums}

#photo-stage[data-mode=reseal]{background:radial-gradient(ellipse at 44% 44%,#f5f2e9 0,#e6e1d6 65%,#d5d0c4 100%)}
#photo-stage{display:grid;align-content:center;height:clamp(370px,61vh,645px);overflow:hidden;background:#e4dfd5}
#photo-stage[data-mode=reseal] canvas{aspect-ratio:auto;height:100%}
#photo-stage[data-mode=reseal]{display:block}
#photo-stage[data-mode=fog]{display:flex;flex-direction:column;justify-content:center;background:#edf1e7}
.experience .story{max-width:900px}
@media(max-width:720px){#photo-stage{height:auto;aspect-ratio:1.32}#photo-stage[data-mode=reseal]{aspect-ratio:1.17}}

/* Use the whole stage for each demonstration. The square comparison and the
   panoramic test-rig photos keep the framing of their source material. */
#photo-stage[data-mode=puncture] canvas{width:min(120%,max(100%,183vh));max-width:none;justify-self:center;aspect-ratio:1250/414}
@media(max-width:720px){#photo-stage[data-mode=puncture] canvas{width:118%}}
#photo-stage[data-mode=fog] canvas{aspect-ratio:auto;height:0;flex:1 1 auto;min-height:0}
#peel-guide{position:absolute;z-index:1;pointer-events:none;width:0;height:0;color:var(--ink)}
#peel-guide .origin{position:absolute;left:-8px;top:-8px;width:16px;height:16px;border:2px solid #fffbed;border-radius:50%;box-shadow:0 0 0 1.8px #386350}
#peel-guide .trail{position:absolute;right:3px;bottom:3px;width:55px;height:2px;transform:rotate(36deg);transform-origin:right center;background:repeating-linear-gradient(90deg,#fffbed 0 5px,transparent 5px 9px);filter:drop-shadow(0 1px 1px #354c39)}
#peel-guide .trail::before{content:"";position:absolute;left:0;top:-3px;width:7px;height:7px;border-left:2px solid #fffbed;border-bottom:2px solid #fffbed;transform:rotate(45deg)}
#peel-guide .finger{position:absolute;left:-2px;top:-2px;width:24px;height:28px;color:#fffdf2;filter:drop-shadow(0 1px 2px #415447);animation:demonstrate-peel 2.6s ease-in-out infinite}
#peel-guide .instruction{position:absolute;right:0;top:16px;font-weight:650;font-size:clamp(12px,1.1vw,15px);white-space:nowrap;background:#fffdf3;color:#234c3d;padding:4px 9px;border-radius:12px;box-shadow:0 1px 4px #354c3933}
@keyframes demonstrate-peel{0%,18%{opacity:1;transform:translate(0,0)}65%,75%{opacity:1;transform:translate(-45px,-33px)}88%{opacity:0;transform:translate(-45px,-33px)}89%,100%{opacity:0;transform:translate(0,0)}}
@media(prefers-reduced-motion:reduce){#peel-guide .finger{animation:none}}

#photo-stage[data-mode=barrier]{height:clamp(390px,61vh,645px);aspect-ratio:auto;display:block;background:#f5f3ea}
#barrier-view{height:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;background:var(--line)}
.barrier-sample{display:grid;grid-template-rows:auto minmax(0,1fr) clamp(92px,12vh,126px);min-width:0;background:#f5f3ea}
header.grade{width:100%;height:auto;max-width:none;gap:8px;flex-wrap:wrap;padding:12px clamp(10px,2vw,28px);background:#fafaf3;font-size:clamp(13px,1.6vw,20px)}
.grade strong{font-variant-numeric:tabular-nums;font-size:clamp(14px,1.85vw,25px);white-space:nowrap}
.cheese-shot{position:relative;overflow:hidden;background:#eee7dc}
.cheese-image{position:absolute;inset:0;background:url('assets/studio/cheese.webp') center/contain no-repeat}
.cheese-shot i{position:absolute;bottom:0;left:54%;height:44%;border-left:2px dotted #315b4e}
.cheese-shot i:before{content:'';position:absolute;top:-7px;left:-8px;width:12px;height:12px;border:2px solid #315b4e;box-shadow:0 0 0 2px #fff9;border-radius:50%}
.section-view{position:relative;overflow:hidden;background:linear-gradient(#ecf3ef 0 50%,#f6e8c7 50%)}
.membrane{position:absolute;inset:calc(50% - 3px) 0 auto;height:6px;border-block:1px solid #839787;background:#d2d9b9}
.outside,.inside{position:absolute;left:7px;font-size:11px;color:#475e50}
.outside{top:14%}.inside{bottom:14%}
.molecules{position:absolute;inset:0;--origin:8%;--end:76%;--touch:35%}
[data-gas=water] .molecules{--origin:77%;--end:7%;--touch:54%}
.molecules i{position:absolute;top:var(--origin);font:650 clamp(10px,1.05vw,14px)/1.2 Arial,sans-serif;color:#1e665f;animation:pass-film 4.4s linear infinite}
.molecules .return{animation-name:stay-outside}
@keyframes pass-film{0%{top:var(--origin);opacity:0}12%{opacity:.95}85%{opacity:.95}100%{top:var(--end);opacity:0}}
@keyframes stay-outside{0%,100%{top:var(--origin);opacity:0}25%,72%{opacity:.95}52%{top:var(--touch)}}
#barrier-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.species{display:inline-flex;gap:3px;border-radius:24px;background:#e8ece3;padding:3px}
.species button{border:none;border-radius:24px;padding:8px 14px;font-size:13px}
.species button[aria-pressed=true]{color:white;background:var(--ink)}
#barrier-metric{font-size:13px;color:var(--muted);margin:0}
@media(max-width:720px){#photo-stage[data-mode=barrier]{height:clamp(255px,76vw,380px)}.barrier-sample{grid-template-rows:auto minmax(0,1fr) 76px}.grade{align-content:center}header.grade{min-height:58px}.cheese-shot{background-size:cover}.outside,.inside{font-size:9px;left:3px}.molecules i{font-size:9px}#barrier-metric{font-size:11px}}
@media(prefers-reduced-motion:reduce){.molecules i{animation:none}.molecules .through{top:var(--end)}}
