@import url("assets/retrowave-fonts.css");

:root {
  --ink:#fff2f2;
  --muted:#d3c3dc;
  --wine:#ffa0b1;
  --coral:#ff938f;
  --rule:#624372;
  --pale:#281a40;
  --ground:#100b21;
  --surface:#201534;
  --raised:#2d1d45;
  --accent-ink:#221026;
  --hero-control-start:#261938;
  --hero-joint:#3c2a54;
  --hero-blend-start:#56406c;
  --catalog-tint:#d9d4df;
  --deep-lilac:#342343;
  --mono:"IBM Plex Mono",Consolas,monospace;
  --max:1360px;
  font-family:"Golos Text",system-ui,sans-serif;
  font-synthesis:none;
  color:var(--ink);
  background:var(--ground);
  color-scheme:dark;
}
*{box-sizing:border-box}
html{scroll-padding-top:var(--hero-header,77px)}
body{margin:0}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button,select{cursor:pointer}
button{color:inherit}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #ffc2b5;outline-offset:3px}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;top:.5rem;left:.5rem;z-index:12;background:var(--surface);padding:12px}
.wrap{width:min(89.5%,var(--max));margin-inline:auto}
.hero-copy{margin-inline:auto}
header{position:sticky;top:0;z-index:5;background:#18102b;border-bottom:1px solid #61385f}
.headrow{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center;gap:9px;flex:none}
.brand span{display:grid;gap:3px}
.brand strong{font-size:20px;letter-spacing:.025em;line-height:1}
.brand small{font-size:10px;letter-spacing:.33em}
.brand img{display:block;width:42px;height:42px}
#topnav{display:flex;gap:clamp(14px,2vw,34px);align-items:center}
#topnav a,.text-btn{font-size:15px}
#topnav a{padding:12px 0}
#topnav a:hover,#topnav a[aria-current],.text-btn:hover,.footer-links a:hover,.footer-bottom>a:hover,.contact-lines a:hover{text-decoration:underline;text-underline-offset:5px}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:0 22px;border-radius:7px;border:1px solid transparent;font-weight:600;font-size:15px;min-height:46px;text-align:center;transition:background .18s}
.dark{background:linear-gradient(104deg,#ffb397,#ff8fa1);color:var(--accent-ink);box-shadow:0 0 21px #ff779834}
.dark:hover{background:#ffd0bc;color:var(--accent-ink)}
.outline{background:var(--surface);border-color:var(--rule)}
.outline:hover{background:#39214c}
.light{background:var(--raised);color:var(--ink);border-color:var(--rule)}
.light:hover{background:#422757}
.mobile-toggle,.mobile-catalog{display:none}
.hero{
  position:relative;
  isolation:isolate;
  background:var(--ground);
}
.hero-lab{
  position:relative;
  height:calc(100vh - var(--hero-header,77px));
  height:calc(100svh - var(--hero-header,77px));
}
.hero-scene,.hero-plate{position:absolute;inset:0;overflow:hidden;background:#100b23}
.hero-plate picture,.hero-plate img{display:block;width:100%;height:100%}
.hero-plate img{object-fit:cover}
.hero-scene:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:clamp(26px,5.5svh,56px);
  background:linear-gradient(180deg,transparent,var(--hero-control-start));
  pointer-events:none;
}
.hero-controls{
  position:sticky;
  top:var(--hero-header,77px);
  z-index:3;
  background:linear-gradient(180deg,var(--hero-control-start),var(--hero-joint));
}
.hero-controls{overflow:hidden}
.bench-track{display:flex;width:max-content}
.bench-names{
  display:flex;align-items:center;list-style:none;margin:0;padding:0;
  color:var(--ink);font:500 clamp(13px,1.1vw,16px)/1.4 var(--mono);
}
.bench-names li{display:flex;align-items:center;white-space:nowrap;padding-block:15px}
.bench-names li::before{
  content:"";width:5px;height:5px;margin-inline:clamp(14px,1.8vw,28px);
  background:var(--coral);box-shadow:0 0 7px #ff938f55;
}
.bench-names[aria-hidden]{display:none}
@keyframes bench-crawl{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:no-preference){
  .hero-controls.is-moving .bench-track{animation:bench-crawl var(--crawl-duration) linear infinite}
  .hero-controls.is-moving .bench-names[aria-hidden]{display:flex}
  .hero-controls:hover .bench-track{animation-play-state:paused}
}
@media(prefers-reduced-motion:reduce){
  .hero-controls{overflow-x:auto}
}
.hero-zoom{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:7px 11px;
  border:1px solid var(--rule);
  background:#1d142f;
  color:var(--ink);
  font-size:13px;
  border-radius:6px;
}
.hero-zoom:hover{
  border-color:var(--coral);
  color:var(--coral);
}
.hero-zoom{display:none;position:absolute;z-index:2;right:12px;top:10px}
.hero-intro{
  position:relative;
  z-index:2;
  background:radial-gradient(ellipse 42% 48% at 79% 48%,#8a649129,transparent),linear-gradient(180deg,var(--hero-joint),var(--hero-blend-start));
  scroll-margin-top:var(--hero-controls-height,65px);
}
.hero-blend{
  height:clamp(174px,31svh,345px);
  background:linear-gradient(180deg,var(--hero-blend-start),#776488 26%,#9a8da7 53%,#bdb4c5 78%,var(--catalog-tint));
}
/* Anchor both tiles at the join so the sky continues into the pale gradient. */
.hero-intro,.hero-blend{
  isolation:isolate;
  --sky-origin:bottom;
  --sky-density:linear-gradient(90deg,#0005 0%,#0004 27%,#000b 50%,#000 73%);
}
.hero-blend{position:relative;--sky-origin:top}
.hero-intro::before,.hero-blend::before,.hero-intro::after,.hero-blend::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-position:right var(--sky-origin);
  mask-image:var(--sky-density);
}
.hero-intro::before,.hero-blend::before{
  background-image:url("assets/pixel-night.svg");
}
.hero-intro::after,.hero-blend::after{
  background-image:url("assets/pixel-glints.svg");
}
.hero-blend::before,.hero-blend::after{
  mask-image:var(--sky-density),linear-gradient(#000 0%,transparent 84%);
  mask-composite:intersect;
}
@media(prefers-reduced-motion:no-preference){
  .hero-intro::after,.hero-blend::after{animation:sky-glimmer 6s ease-in-out infinite alternate}
  @keyframes sky-glimmer{from{opacity:.42}to{opacity:1}}
}
@media(max-width:650px){
  .hero-intro,.hero-blend{--sky-density:linear-gradient(90deg,#0004 0%,#0005 62%,#000b 87%,#000)}
  .hero-intro::before,.hero-blend::before,.hero-intro::after,.hero-blend::after{background-size:380px auto}
}
.hero-copy{
  width:min(89.5%,var(--max));
  min-height:clamp(310px,49svh,490px);
  padding:clamp(30px,5.4svh,68px) 0 clamp(14px,2.5svh,30px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}
.kicker{display:flex;align-items:center;gap:10px;font:600 .75rem/1.4 var(--mono);letter-spacing:.10em;text-transform:uppercase;color:var(--coral)}
.kicker i{width:22px;height:1px;background:currentColor;display:block}
h1,h2,h3,p{margin:0}
h1,h2,h3{text-wrap:balance}
.hero h1{font-size:clamp(45px,6.5vw,105px);line-height:.93;letter-spacing:-.05em;font-weight:700;margin:14px 0 16px}
.hero h1 em{font-style:normal;color:var(--coral);text-shadow:0 0 32px #ff577046}
.hero-copy p{font-size:clamp(16px,1.35vw,20px);line-height:1.48;max-width:52ch;color:var(--muted);margin-bottom:22px}
.section{padding-block:clamp(52px,5.5vw,88px)}
.section-top{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:28px}
h2{font-size:clamp(32px,3.45vw,54px);line-height:1.04;letter-spacing:-.04em;font-weight:550}
h3{font-size:clamp(20px,1.6vw,27px);line-height:1.16;letter-spacing:-.025em;font-weight:600}
.text-btn{display:inline-flex;align-items:center;gap:10px;color:var(--wine);font-weight:600}
.text-btn{text-decoration:underline;text-decoration-color:#c3a9c8;text-underline-offset:5px}
.text-btn:is(:hover,:focus-visible){text-decoration-color:currentColor}
form{display:grid;gap:15px;margin:22px 0 0}
label{display:grid;gap:6px;font-size:14px;font-weight:600}
input,textarea,select{min-width:0;width:100%;min-height:44px;background:var(--surface);border:1px solid #755985;color:var(--ink);border-radius:8px;padding:10px 12px}
input::placeholder,textarea::placeholder{color:#bca6ca;opacity:1}
textarea{resize:vertical}
.catalog-find{background:var(--surface);display:flex;gap:12px;align-items:center;border:1px solid #694f7e;border-radius:12px;padding:5px 6px 5px 19px;margin:0 0 23px}
.catalog-find:focus-within{border-color:var(--wine)}
.catalog-find input{background:transparent;border:0;padding:8px 0;min-height:40px}
.catalog-find input:focus-visible{outline:none}
.catalog-find button{border:0;border-radius:8px;background:#4c315f;padding:9px 19px;color:#ffe5e7;font-size:14px;font-weight:600;min-height:40px}
.catalog-find button:hover{background:#633e6d}
.glass{width:15px;height:15px;border:1.7px solid #ffa5b7;border-radius:50%;position:relative;margin-right:3px;flex:none}
.glass:after{content:"";width:7px;height:1.7px;background:#ffa5b7;position:absolute;right:-5px;bottom:-2px;transform:rotate(45deg)}
.featured-grid,.service-grid,.tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.75vw,28px)}
.tile{display:flex;min-width:0;flex-direction:column;background:var(--surface);border:1px solid var(--rule);border-radius:13px;overflow:hidden;transition:border-color .18s}
.tile:hover{border-color:#fa8da7}
.tile img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.tile-body{padding:17px 19px 20px}
.tile-body p,.service-grid p,.about p,.process-list p,.legal p,.legal li,.route-lede,.product-detail p{line-height:1.55;color:var(--muted)}
.tile-body p{font-size:15px;margin-top:7px}
.service-block{border-top:1px solid var(--rule)}
.service-grid article{min-width:0;display:flex;flex-direction:column}
.service-grid article p{flex:1}
.lilac-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 22px;border:1px solid #d0bade;border-radius:999px;background:#e4d1f0;color:#482754;font-weight:600;font-size:15px;text-align:center;transition:background .18s,border-color .18s}
.lilac-button:is(:hover,:focus-visible){background:#d7bce8;border-color:#ac87bd}
.service-grid .lilac-button{align-self:flex-start;margin:18px 16px 2px}
.catalog-all{display:flex;justify-content:center;margin-top:clamp(20px,3vw,36px)}
.catalog-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));align-items:start;gap:12px 16px}
.catalog-subtitle{margin:26px 0 15px}
.catalog-directory > :is(.catalog-branch,.catalog-entry){border:1px solid #d9cfe0;border-radius:14px;background:#fff}
.catalog-branch summary,.catalog-entry{display:flex;align-items:center;gap:13px;min-height:48px;padding:9px 13px;color:#42294e;font-weight:600;line-height:1.3;overflow-wrap:anywhere;border-radius:inherit}
.catalog-branch summary{cursor:pointer;list-style:none}
.catalog-branch summary::-webkit-details-marker{display:none}
.catalog-branch summary::after{content:"";flex:none;margin-left:auto;width:24px;height:24px;border-radius:50%;background:linear-gradient(#673d79 0 0) center/10px 2px no-repeat,linear-gradient(#673d79 0 0) center/2px 10px no-repeat,#f0e5f5}
.catalog-branch[open] > summary::after{background-size:10px 2px,0 0}
.catalog-directory img{width:50px;height:50px;flex:none;object-fit:cover;border-radius:9px;image-rendering:pixelated}
.branch-content{margin:0 12px 12px;padding-left:9px;border-left:2px solid #ddcce7}
.branch-content .branch-content{margin-right:0}
.branch-content img{width:36px;height:36px;border-radius:6px}
.branch-content .catalog-entry,.branch-content summary{padding:7px 8px;gap:10px;font-size:15px;border-radius:8px}
.catalog-branch summary:hover,.catalog-entry:hover{background:#f6eff9}
.catalog-entry span,.branch-page{text-decoration:underline;text-underline-offset:.2em;text-decoration-color:#c3a9cf}
.branch-page{display:inline-flex;align-items:center;min-height:40px;padding:6px 8px;color:#654172;font-size:14px}

.service-grid img{display:block;width:100%;aspect-ratio:1.6;object-fit:cover;border-radius:12px}
.service-grid h3{margin:18px 0 8px}
.text-btn{border:0;background:none;padding:8px 0;margin-top:8px}
.about{
  --ink:#fff5fa;
  --muted:#e1d3e4;
  display:grid;
  grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(18px,3vw,54px);
  padding:clamp(12px,1.3vw,22px);
  border-radius:22px;
  color:var(--ink);
  background:radial-gradient(ellipse at 42% 0%,#503460,transparent 58%),var(--deep-lilac);
  box-shadow:inset 0 0 0 1px #60456e;
  overflow:hidden;
}
.about-scene{position:relative;overflow:hidden;border-radius:12px;background:#291532}
.about-instrument{display:block;width:100%;height:auto;aspect-ratio:15/8;image-rendering:pixelated}
.about-signature{display:flex;align-items:center;gap:8px;padding:4px 12px;background:#281a34;font-size:12px;letter-spacing:.07em;font-weight:650;color:#fff4f8}
.about-mark{width:32px;height:32px;animation:mark-orbit 12s linear infinite}
@keyframes mark-orbit{to{transform:rotate(360deg)}}
.about-copy{padding:clamp(16px,1.8vw,32px) clamp(20px,3vw,52px) clamp(16px,1.8vw,32px) 0}
.about-copy h2{color:var(--ink);margin-bottom:clamp(14px,1.4vw,25px)}
.about .lede{max-width:38ch;color:var(--ink);font-size:clamp(19px,1.45vw,26px);line-height:1.35;letter-spacing:-.02em;margin-bottom:12px}
.about-copy>p{max-width:52ch}
.process-list{counter-reset:step;list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,3vw,52px)}
.process-list li{counter-increment:step;border-top:1px solid #6b4a7e;padding:15px 0 0}
.process-list li:before{content:counter(step,decimal-leading-zero);font:500 14px/1.2 ui-monospace,monospace;color:var(--wine);display:block;margin-bottom:20px}
.process-list p{margin-top:8px}
footer{color:#fff3fa}
.footer-main,.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:22px}
.footer-main{padding:54px 0 42px}
footer .kicker{color:#ffa3ba}
footer h2{margin:12px 0 25px}
.contact-lines{display:grid;gap:8px;font-size:clamp(19px,1.7vw,27px)}
.contact-lines small{color:#dfc2e0;font-size:14px}
.footer-bottom{align-items:start;border-top:1px solid #ffffff40;padding:24px 0 77px;flex-wrap:wrap;color:#e0cde7;font-size:14px}
.footer-bottom strong{font-weight:600}
.footer-bottom small,.footer-links{display:grid;gap:7px}
.footer-bottom small{margin-top:7px;font-size:13px}
.chat{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:4;width:54px;height:54px;padding:0;display:grid;place-items:center;border:1px solid #89658c;border-radius:50%;background:#291b37;color:#ffd2dc;box-shadow:0 3px 14px #28153280}
.chat:is(:hover,:focus-visible){background:#432954;border-color:#ffc4d8}
.chat-icon{width:22px;height:17px;border:2px solid currentColor;border-radius:6px;position:relative;margin-bottom:3px}
.chat-icon:after{content:"";position:absolute;left:3px;bottom:-5px;width:6px;height:6px;transform:skewY(-30deg);background:#291b37;border-bottom:2px solid currentColor;border-left:2px solid currentColor}
.chat:is(:hover,:focus-visible) .chat-icon:after{background-color:#432954}
.route{min-height:60vh}
.bread{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--muted);margin-bottom:26px}
.bread a,.fallback-link,.legal a,.check a,.notice a{text-decoration:underline;text-underline-offset:3px}
.route-lede{margin:14px 0 24px;max-width:72ch}
.route .catalog-find{max-width:720px;margin:23px 0}
.route .tile-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr))}
.product{display:grid;align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:6vw}
.product>img{width:100%;border-radius:14px}
.product-detail{border-top:1px solid var(--rule);padding-top:18px;margin-top:26px}
.product-detail h3{font-size:19px;margin-bottom:8px}
.product-detail p,.lead-copy{white-space:pre-wrap}
.model-image{margin:0;min-width:0}
.model-image img{display:block;width:100%;border-radius:14px}
.model-image figcaption{font-size:.83rem;line-height:1.5;color:var(--muted);margin-top:.7rem}
.product-maker{color:var(--wine);font-weight:600;margin-bottom:.65rem}
.model-image figcaption a,.model-source{text-decoration:underline;text-underline-offset:.18em}
.model-source{display:inline-block;color:var(--wine);margin-top:1.3rem}
.product.text-only{grid-template-columns:minmax(0,54rem)}
.specifications{margin:12px 0 0;font-size:.98rem;line-height:1.45}
.specifications>div{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.3rem 1rem;padding:.58rem 0;border-bottom:1px solid var(--rule)}
.specifications dt{color:var(--muted)}
.specifications dd{margin:0}
.legal{max-width:760px}
.legal h2{margin:18px 0}
.legal h3{font-size:20px;margin:24px 0 7px}
.legal p{margin:12px 0}
dialog{width:min(570px,94vw);max-height:calc(100dvh - 26px);padding:28px;border:0;border-radius:17px;color:var(--ink);background:var(--surface);border:1px solid var(--rule);box-shadow:0 15px 60px #05030ccc}
dialog::backdrop{background:#090415b8}
.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.dialog-head h2,#legal-dialog h2{font-size:clamp(26px,3vw,35px)}
.close{border:0;border-radius:50%;background:#38264d;min-width:38px;height:38px;font-size:25px;line-height:1}
.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
fieldset{margin:0;padding:0;border:0;min-width:0}
legend{padding:0;font-size:15px;font-weight:600}
#contact-hint{font-size:13px;color:var(--muted);margin:4px 0 10px}
.optional{font-weight:400;font-size:12px;color:var(--muted);grid-column:2;justify-self:end;align-self:center}
label:has(.optional)>textarea{grid-column:1/-1}
.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.45}
.check input{margin:1px 0 0;width:19px;height:19px;min-height:0;accent-color:var(--wine);flex:none}
.feedback,.notice,.context{font-size:14px;line-height:1.45}
.feedback{color:#ff9caa}
.feedback:empty{display:none}
.notice,.context{padding:11px 14px;background:#35234c;border-radius:8px}
input[readonly],textarea[readonly]{color:#e7d1eb;background:#281939}
#sent h3,#sent p{margin:16px 0}
#back-to-form{margin-top:12px}
.toolbar,.tree-tools,.row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.toolbar,.tree-tools{margin:18px 0}
.toolbar button,.smallbtn,.row-actions button,.tree-tools button{border:1px solid #735786;border-radius:7px;background:var(--surface);color:#f3e3ee;padding:8px 12px;min-height:38px;font-size:14px}
.toolbar .active,.toolbar .primary,.tree-tools .primary{background:#ffc4bd;color:var(--accent-ink);border-color:#ffc4bd}
.admin-list{display:grid;gap:8px}
.admin-row{border:1px solid var(--rule);padding:15px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow-wrap:anywhere}
.admin-row small,.admin-row p{display:block;color:var(--muted);line-height:1.45;margin:4px 0}
.admin-row select{width:auto}
.admin-form{max-width:720px;background:#201533;padding:clamp(15px,2.5vw,31px);border-radius:12px}
.admin-form h3{margin:0}
.admin-form .toolbar{margin:3px 0}
.admin-form img{border-radius:6px;max-height:120px;object-fit:contain}
.empty{padding:20px;border:1px dashed var(--rule);border-radius:9px}
.tree-tools label{flex:1 1 230px}
.tree-tools{align-items:end}
.tree-tools .tree-count{display:block;flex-basis:100%;font-size:13px;color:var(--muted)}
.tree,.tree ul{list-style:none;padding:0;margin:0}
.tree ul{margin-left:15px;border-left:1px solid var(--rule);padding-left:12px}
.tree-row{display:flex;align-items:center;gap:9px;padding:10px 0;border-top:1px solid var(--rule)}
.tree-title{flex:1;overflow-wrap:anywhere;min-width:0}
.tree-title strong{font-size:16px}
.tree-title small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.tree-expand,.tree-spacer{width:32px;height:32px;flex:none}
.tree-expand{border:0;border-radius:6px;background:#3d2856;color:#ffc3cc;font-size:18px}
.tree-node,.tree-expand>span{display:block}
.tree-expand[aria-expanded=true]>span{transform:rotate(90deg)}
.row-actions button{font-size:13px;padding:6px 9px;min-height:32px}
.toolbar button:hover,.row-actions button:hover,.tree-tools button:hover,.tree-expand:hover{border-color:#f891b0}
button:disabled{cursor:wait;opacity:.65}
@media(max-width:1050px){
  .headrow{gap:12px}.brand strong{font-size:17px}.brand img{width:37px;height:37px}
  #topnav{gap:14px}#topnav a{font-size:14px}.navquote{padding:0 16px;font-size:14px}

}
@media(max-width:860px){
  .headrow{min-height:65px}.navquote{margin-left:auto;min-height:38px}
  .mobile-toggle{display:flex;align-items:center;gap:7px;border:1px solid #795b89;border-radius:99px;padding:8px 12px;background:transparent;min-height:38px;font-size:14px}
  .mobile-catalog{display:inline-flex;align-items:center;min-height:38px;padding:6px 12px;border:1px solid #ac779a;border-radius:7px;background:#3e2855;color:#fff4f8;font-size:14px;font-weight:600}
  .mobile-catalog:is(:hover,[aria-current]){background:#523365}
  .menu-icon{display:block;border-block:1.5px solid currentColor;width:14px;height:8px}
  #topnav{display:none;position:absolute;top:100%;left:0;right:0;background:#201532;padding:6px 5.25% 14px;border-bottom:1px solid var(--rule);box-shadow:0 10px 20px #070512bb}
  #topnav.open{display:grid;gap:0}#topnav a{font-size:16px;border-bottom:1px solid var(--rule)}#topnav a:last-child{border-bottom:0}
  .featured-grid,.service-grid,.tile-grid{gap:14px}.tile-body{padding:15px}
  .about{gap:20px}
  .about-copy{padding:22px 24px 22px 0}
}
@media(max-width:650px){
  .wrap,.hero-copy{width:90%}.headrow .navquote{display:none}.headrow{min-height:62px}
  .headrow{gap:7px}.mobile-catalog{margin-left:auto}
  .hero h1{font-size:clamp(42px,10vw,62px)}
  .hero-copy{min-height:0;padding:38px 0 21px}
  .section{padding-block:43px}.section-top{gap:8px 16px;flex-wrap:wrap;margin-bottom:20px}
  h2{font-size:clamp(29px,6.5vw,38px)}.text-btn{font-size:14px}
  .catalog-find{padding-left:13px;gap:9px}.catalog-find input{font-size:14px}.catalog-find button{padding-inline:12px}
  .featured-grid{grid-template-columns:1fr;gap:9px}.featured-grid .tile{display:grid;grid-template-columns:90px 1fr;align-items:center;min-height:80px}
  .featured-grid .tile img{height:100%;aspect-ratio:auto;min-height:80px}.featured-grid .tile-body{padding:13px 12px}.featured-grid .tile-body h3{font-size:18px}.featured-grid .tile-body p{display:none}
  .service-grid,.process-list,.about,.product{grid-template-columns:1fr}
  .service-grid{gap:29px}.service-grid img{aspect-ratio:1.8}
  .about{border-radius:16px;gap:0;padding:10px}.about-scene{border-radius:8px}.about-copy{padding:24px 17px 18px}.process-list{gap:20px}.process-list li{display:grid;grid-template-columns:32px 1fr;gap:6px 10px}.process-list li:before{grid-row:span 2;margin:3px 0}.process-list h3{grid-column:2}.process-list p{grid-column:2;margin:0}
  .footer-main{display:grid;padding:35px 0 27px}.footer-bottom{display:grid;gap:17px}.chat{bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));width:48px;height:48px}
  .product{gap:25px}.route{padding-top:30px}
  .two{grid-template-columns:1fr}dialog{padding:19px}
  .admin-row{align-items:flex-start;flex-wrap:wrap}.tree-row{display:grid;grid-template-columns:32px minmax(0,1fr);gap:4px 7px}.row-actions{grid-column:2}.tree ul{margin-left:6px;padding-left:6px}
}
@media(max-width:370px){.hero-copy p{font-size:15px}}
@media(max-width:370px){
  .brand{gap:6px}.brand img{width:32px;height:32px}.brand strong{font-size:15px}.brand small{font-size:9px}
  .mobile-catalog,.mobile-toggle{padding-inline:8px;font-size:12px}.mobile-toggle{gap:4px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
.product>img{aspect-ratio:1.24;object-fit:contain;background:#241934}
#search-count:not(:empty),.admin-status:not(:empty){margin:12px 0 16px;color:var(--muted);font-size:14px}
.admin-status.error{color:#ff9caa}.admin-list{margin-top:14px}
.route>.fallback-link{margin-bottom:16px}#adminwork .notice{margin:13px 0}

@media(max-aspect-ratio:6/5){
  .hero-copy p{max-width:53ch}
}
@media(max-width:1024px) and (orientation:portrait){
  .hero-lab{
    height:min(calc(100vh - var(--hero-header,77px)),calc(100vw / .5628));
    height:min(calc(100svh - var(--hero-header,77px)),calc(100vw / .5628));
  }
  .hero-zoom{display:inline-flex}
}
@media(max-width:500px) and (orientation:portrait){
  .hero-zoom{padding-inline:9px;font-size:12px}
}
@media(prefers-reduced-motion:no-preference){
  .section-top h2{transform:translateY(min(16px,var(--copy-rise,0px)))}
  .service-grid h3,.service-grid p,.process-list h3,.process-list p{
    transform:translateY(var(--copy-rise,0px));
  }
}
@media(prefers-reduced-motion:no-preference) and (min-width:1025px),
      (prefers-reduced-motion:no-preference) and (orientation:landscape){
  .hero-lab{position:sticky;top:var(--hero-header,77px)}
}

header{background:linear-gradient(104deg,#1e1235,#140d28 58%,#271636)}
.brand small{color:var(--coral)}
#topnav a:hover,#topnav a[aria-current]{color:var(--coral)}
.tile,.service-grid article,.admin-form{background:linear-gradient(154deg,#2c1c46,#201533 75%)}
.service-grid article{border:1px solid var(--rule);border-radius:13px;overflow:hidden;padding-bottom:15px}
.service-grid img{border-radius:0}
.service-grid h3,.service-grid p{margin-inline:16px}
.footer-bottom{border-top-color:var(--rule)}
footer{
  background:radial-gradient(ellipse at 76% 18%,#473352 0,transparent 58%),var(--deep-lilac);
  border-top:1px solid #67506e;
}
footer .light{background:#f5e5f0;color:#35243d;border-color:#f5e5f0}
footer .light:hover{background:#ffccd4}
footer .footer-bottom{border-color:#70587c}
footer :focus-visible{outline-color:#ffc6ce}
body:is([data-view="home"],[data-view="catalog"]) #contacts{
  border-top:0;
  border-radius:clamp(24px,3.8vw,64px) clamp(24px,3.8vw,64px) 0 0;
}
body:is([data-view="home"],[data-view="catalog"]){background:#fff
}

.paper{
  --ink:#292331;
  --muted:#504755;
  --wine:#693c79;
  --rule:#dcd6e0;
  --surface:#fff;
  --raised:#eee8f2;
  color:var(--ink);
  color-scheme:light;
}
.home-paper{
  background:linear-gradient(180deg,var(--catalog-tint) 0,#e4e0e7 155px,#eeedf0 350px,#f7f7f8 540px,#fff 760px);
}
.home-paper .service-block{border-top:0}
.home-paper .process-block{background:linear-gradient(180deg,#fff,#f8f7f9 52%,#fff)}
.paper .process-list li,.paper .footer-bottom{border-color:var(--rule)}
.paper .tile,.paper .service-grid article{
  background:var(--surface);
  box-shadow:0 5px 22px #3f254f0c;
}
.paper .tile h3{color:#52335e;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:#c4b0cb;text-underline-offset:.2em}
.paper .tile:is(:hover,:focus-visible,:active){border-color:#a78bad;background:#fbf6fc;box-shadow:0 6px 20px #52305e18}
.paper .tile:is(:hover,:focus-visible,:active) h3{text-decoration-color:currentColor}
@media(min-width:651px){.paper .tile-category img{aspect-ratio:4/3}}

body[data-view="catalog"] header{
  color:#282032;
  background:linear-gradient(180deg,#c7afd9,var(--catalog-tint));
  border-bottom-color:transparent;
}
body[data-view="catalog"] .brand img{filter:brightness(.57) saturate(.68)}
body[data-view="catalog"] .brand small,
body[data-view="catalog"] #topnav a:is(:hover,[aria-current]){color:#653b74}
body[data-view="catalog"] .navquote{
  color:white;
  background:#573266;
  box-shadow:none;
}
body[data-view="catalog"] .navquote:hover{background:#462652}
body[data-view="catalog"] .mobile-catalog{color:#412c4e;background:#f7f1fb;border-color:#856497}
body[data-view="catalog"] .mobile-catalog:is(:hover,[aria-current]){background:#e8dbf1}
@media(max-width:860px){
  body[data-view="catalog"] #topnav{
    background:#eee7f4;
    border-color:#d4c8dc;
    box-shadow:0 12px 26px #30203e25;
  }
  body[data-view="catalog"] #topnav a{border-color:#d4c8dc}
}
body[data-view="catalog"] #content{
  background:linear-gradient(180deg,var(--catalog-tint) 0,
    #e5e1e9 min(200px,28%),#efedf0 min(420px,55%),#f7f7f8 min(640px,79%),#fff min(860px,100%));
}
body[data-view="catalog"] .route{min-height:calc(100svh - var(--hero-header,77px))}
.paper :is(input,textarea,select,.catalog-find){border-color:#84778e}
.paper .catalog-find:focus-within{border-color:var(--wine);box-shadow:0 0 0 2px #82539635}
.paper :is(input,textarea)::placeholder{color:#635968}
.paper .catalog-find button{background:#e9e1ef;color:#492953}
.paper .catalog-find button:hover{background:#dfd2e8}
.paper .glass{border-color:#654675}
.paper .glass:after{background:#654675}
.paper .dark{background:#573266;color:#fff;box-shadow:none}
.paper .dark:hover{background:#462652;color:#fff}
.paper :is(.light,.outline):hover{background:#e4d9ec}
.paper :focus-visible,body[data-view="catalog"] header :focus-visible{outline-color:#643d77}
.paper .product-detail{border-color:var(--rule)}

dialog.paper{border-color:#c8bdd1;box-shadow:0 15px 60px #15101e68}
dialog.paper .close{background:var(--raised)}
.paper :is(.notice,.context,input[readonly],textarea[readonly]){background:#f0ebf4;color:#41344a}
.paper .feedback{color:#942748}

@media(prefers-reduced-motion:no-preference){
  body[data-view="catalog"] .route > :is(.bread,h2,.route-lede,.catalog-find,.tile-grid,.product){
    animation:catalog-arrive .22s ease-out;
  }
  @keyframes catalog-arrive{
    from{opacity:.55;transform:translateY(4px)}
    to{opacity:1;transform:translateY(0)}
  }
}

/* The illustration and its object links share one responsive coordinate plane. */
.hero-plate::before{content:"";position:absolute;inset:-18px;background:var(--bench-photo) center/cover;filter:blur(16px) brightness(.65)}
.bench-frame{position:absolute;inset:0 auto auto 0;width:100%;height:100%}
.bench-frame picture,.bench-frame img{display:block;width:100%;height:100%;object-fit:fill}
.bench-frame img,.tile img,.model-image img,.service-grid img{image-rendering:pixelated}
#bench-map{position:absolute;inset:0;display:block;pointer-events:none}
.bench-hit{position:absolute;transform:translate(-50%,-50%);width:max(24px,var(--hit-w));height:max(24px,var(--hit-h));pointer-events:auto;border-radius:8px;touch-action:manipulation}
.bench-hit::after{
  content:"";position:absolute;inset:-8%;pointer-events:none;opacity:0;
  background:radial-gradient(ellipse,#ffe2fb45 15%,#ffb0dd28 57%,transparent 75%);
  backdrop-filter:brightness(1.55) saturate(1.15);
  mask-image:radial-gradient(ellipse,#000 38%,transparent 74%);
}
@media(hover:hover){
  .bench-hit:hover::after{opacity:1}
}
.bench-hit:focus-visible::after,.bench-hit:active::after{opacity:1}
.bench-hit:focus-visible{outline:2px solid #fff0da;outline-offset:2px}
@media(max-width:767px), (pointer:coarse) and (orientation:landscape) and (max-height:600px) and (max-width:1024px){
  .hero-zoom{display:none}
}
