/* VIAL · Design review 2026-11-16
   Compact visual rhythm, unclipped hero, meaningful safety-system motion.
   Intentionally overrides legacy spacing in site.css. */
:root { --space: clamp(38px,4.1vw,58px); }
.section { padding-block:var(--space); }
.section-head { margin-bottom:24px; }
.section-head h2 { margin-top:8px; }
.section-subtitle { margin-top:9px;line-height:1.6; }
.lead { line-height:1.65; }
.hero-grid {
  height:auto;min-height:0;display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);
  align-items:center;gap:clamp(30px,4.3vw,64px);
  padding-block:clamp(36px,4vw,56px);
}
.hero-copy { padding:0;min-width:0; }
.hero h1 {
  max-width:640px;font-size:clamp(2.35rem,4.05vw,3.75rem);
  margin:14px 0 17px;line-height:1.13;
}
.hero .lead { margin-bottom:24px;max-width:540px;line-height:1.6;font-size:1.06rem; }
.hero-points { gap:18px;margin-top:26px;padding-top:18px; }
.hero-points span { font-size:.8rem; }
.hero-art { align-self:center;display:flex;align-items:center;min-width:0; }
.hero-industrial {
  height:380px;min-height:0;max-height:none;
  border-radius:24px;flex:1;max-width:100%;
}
/* System-of-safety visualization: four domain signals and three quiet motions. */
.hero-orbit-one{width:222px;height:222px;animation:orbit-drift 34s linear infinite}
.hero-orbit-two{width:278px;height:126px;animation:ellipse-drift 42s linear infinite}
.hero-scene-core,.hero-orbit{top:39%}
.hero-scene-tracks {top:39%}
.scene-core-frame {
  width:112px;height:112px;border-radius:25px;
  box-shadow:0 20px 65px rgba(0,0,0,.28),inset 0 0 30px rgba(108,228,211,.12),0 0 24px rgba(109,218,204,.12);
  animation:core-glow 4.8s ease-in-out infinite;
}
.scene-core-frame img{width:94px;height:94px;filter:brightness(1.65) saturate(1.18) drop-shadow(0 5px 7px rgba(0,0,0,.08))}
.hero-scene-fields{
  left:15px;right:15px;bottom:15px;
  grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;
}
.hero-scene-fields span {
  min-height:86px;padding:12px 10px;gap:8px;
  border-color:rgba(147,224,216,.25);background:rgba(14,51,63,.9);
  font-size:.7rem;line-height:1.25;
}
.hero-scene-fields b {font-size:.62rem}
.hero-scene-fields span::before {
  content:"";position:absolute;width:4px;height:4px;border-radius:50%;
  background:#94ead8;box-shadow:0 0 9px #64d9c8;
  transform:translate(0,-8px);
  animation:signal-blink 5s ease-in-out infinite;
}
.hero-scene-fields span{position:relative}
.hero-scene-fields span:nth-child(2)::before{animation-delay:1.2s}
.hero-scene-fields span:nth-child(3)::before{animation-delay:2.4s}
.hero-scene-fields span:nth-child(4)::before{animation-delay:3.6s}
.hero-scene-top{top:19px;left:20px;right:20px}
.hero-grid-lines{background-size:32px 32px}
.hero-industrial::after{
  content:"";position:absolute;z-index:1;top:39%;left:50%;
  width:360px;height:360px;max-width:80%;
  transform:translate(-50%,-50%);border-radius:50%;
  background:conic-gradient(from 12deg,transparent 0deg,transparent 307deg,rgba(109,235,218,.18) 340deg,transparent 360deg);
  mask-image:radial-gradient(circle,transparent 26%,black 30%,transparent 62%);
  animation:radar-sweep 13s linear infinite;pointer-events:none;
}
.hero-scene-tracks span {animation:signal-blink 3.5s ease-in-out infinite}
.hero-scene-tracks span:nth-child(2){animation-delay:1.5s}
.hero-scene-tracks span:nth-child(3){animation-delay:2.7s}
@keyframes orbit-drift {from{transform:translate(-50%,-50%) rotate(-17deg)}to{transform:translate(-50%,-50%) rotate(343deg)}}
@keyframes ellipse-drift {from{transform:translate(-50%,-50%) rotate(36deg)}to{transform:translate(-50%,-50%) rotate(-324deg)}}
@keyframes radar-sweep {from{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes signal-blink {0%,100%{opacity:.48}40%{opacity:1}66%{opacity:.65}}
@keyframes core-glow {0%,100%{box-shadow:0 18px 45px rgba(0,0,0,.24),0 0 15px rgba(109,235,218,.10)}50%{box-shadow:0 18px 45px rgba(0,0,0,.24),0 0 28px rgba(109,235,218,.30)}}
/* A more legible original gear: no blur from CSS scaling a tiny raster. */
.brand-gear {width:66px;height:66px;flex:0 0 66px;object-fit:contain}
.header-inner {min-height:86px}
.brand{gap:9px}
.brand-word strong{font-size:1.31rem}
.site-footer .brand-gear{filter:brightness(2.2) saturate(1.1)}
/* Section cadence: headline/content spacing is deliberate and consistent. */
.service-card{min-height:208px;gap:11px;padding:21px}
.service-card h3{margin:0;font-size:1.16rem}
.service-card p{line-height:1.55}
.service-icon{width:47px;height:47px}
.service-icon svg{width:23px;height:23px}
.showcase{gap:clamp(26px,4vw,52px)}
.showcase-image{aspect-ratio:1.42}
.showcase h2{margin:10px 0 15px}
.mode-list{margin-top:18px;gap:13px}
.mode-item h3{margin-bottom:4px}
.mode-item p{line-height:1.55}
.about-content h2{margin-bottom:12px}
.about-content details{margin-top:17px}
.credential-figure{min-height:265px;padding:20px}
.credential-figure img{max-height:270px}
.credential-meta{padding:18px 23px}
.contact-cta{padding:clamp(26px,3.3vw,44px);gap:24px}
.contact-cta h2{margin:9px 0 10px}
.site-footer{padding:42px 0 22px}
.footer-grid{padding-bottom:32px}
.page-hero{padding-block:48px 54px}
.page-main{padding-block:48px}
.page-hero h1{margin:14px 0}
.breadcrumb{margin-bottom:18px}
/* Visible focused layout and controlled effects on touch devices. */
@media(max-width:1120px) and (min-width:901px) {
  .brand-gear{width:52px;height:52px;flex-basis:52px}
  .brand-word strong{font-size:1.1rem}
  .nav-main{gap:9px}
  .nav-main a{font-size:.77rem}
  .header-inner{gap:10px}
}
@media(max-width:900px) {
  .hero-grid{grid-template-columns:1fr;height:auto;min-height:0;gap:25px;padding-block:35px}
  .hero-copy{padding:0}
  .hero-industrial{height:345px;min-height:0}
  .hero-art{align-self:auto}
  .hero h1{font-size:clamp(2.25rem,6.1vw,3.5rem);margin:14px 0 16px}
  .hero .lead{margin-bottom:20px}
  .hero-points{margin-top:20px}
  .brand-gear{width:57px;height:57px;flex-basis:57px}
  .header-inner{min-height:76px}
  .showcase{gap:25px}
}
@media(max-width:650px) {
  :root{--space:35px}
  .section{padding-block:35px}
  .section-head{margin-bottom:19px}
  .hero-grid{gap:22px;padding-block:29px 33px}
  .hero h1{font-size:clamp(2.18rem,8.5vw,3rem);margin:12px 0 15px}
  .hero .lead{font-size:.97rem;margin-bottom:20px}
  .hero-points{margin-top:17px;padding-top:14px;gap:10px}
  .hero-points span{font-size:.72rem}
  .hero-industrial{height:352px;min-height:0;border-radius:19px}
  .hero-orbit-one{width:158px;height:158px}
  .hero-orbit-two{width:188px;height:88px}
  .hero-orbit,.hero-scene-core,.hero-scene-tracks{top:30%}
  .hero-industrial::after{top:30%;width:250px;height:250px}
  .scene-core-frame{width:82px;height:82px;border-radius:18px}
  .scene-core-frame img{width:70px;height:70px}
  .hero-scene-top{top:14px;left:15px;right:15px;font-size:.59rem}
  .hero-scene-fields{grid-template-columns:repeat(2,minmax(0,1fr));left:12px;right:12px;bottom:12px;gap:6px}
  .hero-scene-fields span{min-height:56px;padding:9px 11px;gap:5px;font-size:.71rem;display:flex;flex-direction:row;align-items:center;gap:7px}
  .hero-scene-fields b{font-size:.63rem;flex:0 0 auto}
  .hero-scene-fields span::before{display:none}
  .hero-scene-tracks{left:12%;right:12%}
  .brand-gear{width:49px;height:49px;flex-basis:49px}
  .header-inner{min-height:70px}
  .service-card{min-height:0;padding:17px;gap:8px}
  .service-icon{width:42px;height:42px}
  .service-card p{line-height:1.45}
  .showcase-image{aspect-ratio:1.5}
  .mode-list{margin-top:13px;gap:12px}
  .about-content details{margin-top:12px}
  .credential-figure{min-height:200px;padding:14px}
  .credential-figure img{max-height:220px}
  .contact-cta{padding:28px 24px}
  .site-footer{padding-top:36px}
  .footer-grid{gap:23px}
  .page-hero{padding:34px 0 38px}
  .page-main{padding-block:35px}
}
@media(max-width:355px) {
  .brand-gear{width:44px;height:44px;flex-basis:44px}
  .hero-industrial{height:360px}
  .hero-scene-fields span{font-size:.66rem;padding:8px}
  .hero-orbit-two{display:block}
}
/* Motion remains purely decorative and must never block content or scroll. */
@media(prefers-reduced-motion:reduce) {
  .hero-industrial::before,.hero-industrial::after,.hero-orbit,.hero-scene-tracks span,.scene-core-frame,.hero-scene-fields span::before{animation:none!important}
}
