*{box-sizing:border-box}
:root{
  --green:#14833b;
  --green-2:#1e9c4b;
  --dark:#10271a;
  --text:#1b211d;
  --muted:#6c746f;
  --soft:#f4f8f5;
  --line:#dfe7e1;
  --white:#fff;
}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Noto Sans Thai",sans-serif;color:var(--text);background:#fff}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font:inherit}
.container{width:min(1180px,calc(100% - 32px));margin:auto}

.site-header{position:sticky;top:0;z-index:100;background:linear-gradient(90deg,#0f3b1f 0%,#1a5b2d 38%,#287a3e 100%);border-bottom:1px solid #0c2f19;backdrop-filter:blur(12px);box-shadow:0 12px 30px rgba(12,47,25,.22)}
.nav-bar{height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  text-decoration:none;
}
.brand img{
  width:44px;
  height:44px;
  object-fit:contain;
  filter:brightness(0) invert(1);
}
.brand-name{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  line-height:1;
}
.brand-en{
  font-size:1.25rem;
  font-weight:800;
  letter-spacing:.045em;
}
.brand-th{
  margin-top:4px;
  font-size:.66rem;
  font-weight:500;
  letter-spacing:.12em;
  color:rgba(255,255,255,.82);
}
.main-nav{display:flex;align-items:center;gap:34px;font-weight:600;font-size:.95rem}
.main-nav a{position:relative;padding:26px 0;color:rgba(255,255,255,.88)}
.main-nav a::after{content:"";position:absolute;left:0;right:0;bottom:18px;height:2px;background:linear-gradient(90deg,rgba(255,255,255,.85),#d8f0df,rgba(255,255,255,.85));transform:scaleX(0);transition:.25s}
.main-nav a:hover::after,.main-nav a.active::after{transform:scaleX(1)}
.main-nav a:hover,.main-nav a.active{color:#ffffff;text-shadow:0 0 10px rgba(255,255,255,.14)}
.menu-toggle{display:none;border:0;background:transparent;width:44px;height:44px}
.menu-toggle span{display:block;width:24px;height:2px;background:#ffffff;margin:5px auto}

.hero-slider{position:relative;height:540px;overflow:hidden;background:#dce9df}

/*
  ลำดับการเปลี่ยนสไลด์:
  1) สไลด์เดิมทั้งภาพและข้อความค่อย ๆ จางหาย
  2) ภาพของสไลด์ใหม่ค่อย ๆ ปรากฏ
  3) หัวข้อและข้อความของสไลด์ใหม่เลื่อนเข้าจากขวาไปซ้าย
*/
.hero-slide{
  position:absolute;
  inset:0;
  z-index:0;
  opacity:0;
  visibility:hidden;
  isolation:isolate;
  background-image:var(--hero),linear-gradient(135deg,#e8f1e9,#b9d5c1);
  background-size:cover;
  background-position:center;
  transition:
    opacity .72s cubic-bezier(.4,0,.2,1),
    visibility 0s linear .72s;
}

.hero-slide.is-active{
  z-index:2;
  opacity:1;
  visibility:visible;
  transition:
    opacity .72s cubic-bezier(.4,0,.2,1),
    visibility 0s;
}

.hero-slide.is-fading-out{
  z-index:3;
  opacity:0;
  visibility:visible;
  pointer-events:none;
  transition:
    opacity .52s cubic-bezier(.4,0,.2,1),
    visibility 0s;
}

.hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.90) 34%,rgba(255,255,255,.32) 58%,rgba(255,255,255,.05) 100%)}
.hero-grid{height:100%;display:grid;grid-template-columns:.86fr 1.14fr;align-items:center;gap:30px}

.hero-copy{
  padding-top:8px;
  overflow:visible;
}

/* ข้อความยังไม่แสดงทันทีเมื่อภาพสไลด์ใหม่เริ่มขึ้น */
.hero-copy > *{
  opacity:0;
  transform:translate3d(78px,0,0);
  filter:blur(3px);
  will-change:opacity,transform,filter;
}

/* แสดงทีละส่วน หลังจากภาพใหม่ปรากฏก่อนแล้ว */
.hero-slide.show-content .hero-kicker{
  animation:slideCopyIn .66s 0s cubic-bezier(.22,.61,.36,1) forwards;
}

.hero-slide.show-content .hero-copy h1,
.hero-slide.show-content .hero-copy h2{
  animation:slideCopyIn .82s .08s cubic-bezier(.22,.61,.36,1) forwards;
}

.hero-slide.show-content .hero-lead{
  animation:slideCopyIn .76s .22s cubic-bezier(.22,.61,.36,1) forwards;
}

.hero-slide.show-content .hero-actions{
  animation:slideCopyIn .72s .34s cubic-bezier(.22,.61,.36,1) forwards;
}

/* ภาพแอป / Master / Node ถือเป็นส่วนหนึ่งของภาพสไลด์ จึงค่อย ๆ ขึ้นพร้อมภาพใหม่ */
.system-showcase{
  opacity:0;
  transform:none;
  transition:opacity .68s .08s cubic-bezier(.4,0,.2,1);
}

.hero-slide.is-active .system-showcase{
  opacity:1;
}

@keyframes slideCopyIn{
  0%{
    opacity:0;
    transform:translate3d(78px,0,0);
    filter:blur(3px);
  }
  100%{
    opacity:1;
    transform:translate3d(0,0,0);
    filter:blur(0);
  }
}
to{opacity:0;transform:translate3d(-36px,0,0) scale(.99);filter:blur(4px)}
}




/* V6 layout applied to every hero slide */
.hero-slide .hero-grid{
  grid-template-columns:minmax(0, 600px) 1fr;
}

.hero-slide .hero-copy{
  max-width:600px;
}

.hero-slide .hero-copy h1,
.hero-slide .hero-copy h2{
  font-size:clamp(2.35rem,3.45vw,3.55rem);
  line-height:1.1;
}

/* ลดพื้นที่ขาวฝั่งขวาทุกสไลด์: ให้ไล่จางเร็วขึ้นและจบเร็วขึ้น */
.hero-slide .hero-shade{
  background:linear-gradient(
    90deg,
    rgba(255,255,255,.97) 0%,
    rgba(255,255,255,.92) 24%,
    rgba(255,255,255,.48) 38%,
    rgba(255,255,255,.10) 48%,
    rgba(255,255,255,0) 56%
  );
}

@media(max-width:780px){
  .hero-slide .hero-grid{
    grid-template-columns:1fr;
  }

  .hero-slide .hero-copy{
    max-width:none;
  }

  .hero-slide .hero-shade{
    background:rgba(255,255,255,.88);
  }
}

.hero-kicker{margin:0 0 12px;color:var(--green);font-size:.82rem;font-weight:800;letter-spacing:.12em}
.hero-copy h1,.hero-copy h2{margin:0;font-size:clamp(2.35rem,4.1vw,4.05rem);line-height:1.12;letter-spacing:-.04em;color:#13271a}
.hero-copy h1 span,.hero-copy h2 span{color:var(--green)}
.hero-lead{max-width:590px;margin:20px 0 0;color:#404a43;font-size:1rem;line-height:1.8}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-width:150px;padding:12px 20px;border-radius:10px;font-weight:700}
.btn-primary{background:linear-gradient(135deg,#1d9b46,#11722f);color:#fff;box-shadow:0 12px 28px rgba(20,131,59,.2)}
.btn-outline{background:rgba(255,255,255,.86);color:#176f34;border:1px solid #6cab7d}

.system-showcase{position:relative;height:410px}
.laptop{position:absolute;left:80px;bottom:24px;width:480px;height:285px;padding:13px 13px 24px;border-radius:18px 18px 8px 8px;background:linear-gradient(145deg,#222,#777);box-shadow:0 28px 45px rgba(0,0,0,.28)}
.laptop::after{content:"";position:absolute;left:-45px;right:-45px;bottom:-12px;height:18px;border-radius:3px 3px 18px 18px;background:linear-gradient(#bfc2c0,#6f7472)}
.laptop-screen{height:100%;display:grid;grid-template-columns:110px 1fr;overflow:hidden;border-radius:9px;background:#f8fbf9}
.app-sidebar{display:flex;flex-direction:column;gap:14px;padding:18px 14px;color:#d7f3df;background:linear-gradient(180deg,#166b35,#0f4c28);font-size:.67rem}
.app-sidebar strong{color:#fff;margin-bottom:8px}
.app-main{padding:17px}
.top-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.top-metrics div{padding:10px;border-radius:8px;background:#fff;border:1px solid #e6ebe7;text-align:center}
.top-metrics b{display:block;color:#1a7d3d;font-size:1.05rem}
.top-metrics small{font-size:.54rem;color:#7d8580}
.dashboard-box{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:16px}
.node-mini{padding:14px 2px;border-radius:8px;color:#fff;font-weight:800;text-align:center;font-size:.72rem}
.purple{background:#7b51b6}.blue{background:#377bc1}.green{background:#438c43}.orange{background:#b17a34}.brown{background:#8e5539}.gray{background:#7f8582}
.chart-line{height:72px;margin-top:14px;border-radius:9px;background:linear-gradient(180deg,#eef8f1,#fff);position:relative;overflow:hidden}
.chart-line::after{content:"";position:absolute;left:20px;right:20px;top:36px;height:2px;background:linear-gradient(90deg,#63aa77 0 15%,#a7d0b0 15% 23%,#63aa77 23% 48%,#a7d0b0 48% 58%,#63aa77 58% 100%);transform:skewY(-7deg)}

.phone{position:absolute;right:66px;bottom:10px;width:118px;height:245px;border:7px solid #1c1e1d;border-radius:25px;background:linear-gradient(180deg,#198242,#0f5d31);box-shadow:0 22px 30px rgba(0,0,0,.28);color:#fff;padding:20px 10px 12px}
.phone-top{position:absolute;top:5px;left:38px;width:42px;height:6px;border-radius:5px;background:#111}
.phone-title{font-weight:800;font-size:.68rem;margin-bottom:16px}
.phone-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}
.phone-grid span{display:grid;place-items:center;min-height:45px;padding:4px;border-radius:9px;background:rgba(255,255,255,.13);font-size:.48rem;text-align:center}

.master-card,.node-card{position:absolute;display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:11px;background:#fff;box-shadow:0 12px 25px rgba(0,0,0,.16);font-size:.72rem}
.master-card small,.node-card small{display:block;margin-top:3px;color:#6d736f;font-size:.62rem}
.master-card i,.node-card i{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#27b34d}
.device-thumb{width:34px;height:26px;display:grid;place-items:center;border-radius:4px;background:#252825;color:#fff}
.master-web{top:22px;left:165px}
.master-logic{left:0;bottom:60px}
.node-stack{position:absolute;right:0;top:58px;display:grid;gap:15px}
.node-stack .node-card{position:relative;min-width:145px}
.node-card>span{display:grid;place-items:center;width:38px;height:29px;border-radius:5px;background:#eff3f0;color:#126d31;font-weight:800}

.slider-arrow{position:absolute;top:50%;z-index:10;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 6px 20px rgba(0,0,0,.14);font-size:2rem;color:#2e4134;cursor:pointer;transform:translateY(-50%)}
.slider-arrow.prev{left:24px}.slider-arrow.next{right:24px}
.slider-status{position:absolute;left:50%;bottom:12px;z-index:10;display:flex;align-items:center;gap:20px;color:#fff;transform:translateX(-50%);text-shadow:0 2px 4px rgba(0,0,0,.45)}
.slider-status strong{font-size:1.05rem}
.slider-dots{display:flex;gap:8px}
.slider-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.75);cursor:pointer}
.slider-dots button.is-active{width:10px;height:10px;background:#1e8d41;outline:2px solid #fff}

.services-section{padding:18px 0 10px}
.section-title.center{text-align:center;margin-bottom:16px}
.section-title p,.section-head p,.section-title.left p{margin:0;color:#194629;font-weight:800;font-size:1.15rem}
.section-title h2{margin:3px 0 0;color:#6a726d;font-size:.82rem;font-weight:500}
.service-grid{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 70px)/6);
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 12px;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:#8fba9b #edf5ef;
}
.service-grid::-webkit-scrollbar{height:8px}
.service-grid::-webkit-scrollbar-track{background:#edf5ef;border-radius:999px}
.service-grid::-webkit-scrollbar-thumb{background:#8fba9b;border-radius:999px}
.service-grid .service-card{scroll-snap-align:start}
.service-card{
  position:relative;
  overflow:hidden;
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d8e0da;
  border-radius:18px;
  background:#183827;
  box-shadow:0 10px 22px rgba(23,26,21,.07);
  isolation:isolate;
  transition:transform .28s ease, box-shadow .28s ease;
}
.service-card::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--card-bg);
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
  transition:transform .45s ease;
  z-index:-3;
}
.service-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(8,18,12,.06) 0%,rgba(8,18,12,.18) 28%,rgba(8,18,12,.72) 72%,rgba(8,18,12,.86) 100%);
  z-index:-2;
}
.service-card-inner{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:22px 16px;
  color:#fff;
}
.service-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  margin:0 auto 16px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:16px;
  background:rgba(255,255,255,.14);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:0 10px 20px rgba(0,0,0,.14);
}
.service-icon svg{
  width:28px;
  height:28px;
  stroke:#fff;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.service-card h3{
  margin:0 0 6px;
  color:#fff;
  font-size:1rem;
  text-align:center;
}
.service-card p{
  margin:0;
  max-width:210px;
  color:rgba(255,255,255,.88);
  font-size:.73rem;
  line-height:1.7;
  text-align:center;
}
.service-card:hover::before{
  transform:scale(1.08);
}
.service-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 30px rgba(23,26,21,.1);
}

.portfolio-section{padding:16px 0;background:linear-gradient(#f8fbf9,#f3f8f4)}
.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}
.section-head h2{margin:1px 0 0;font-size:1.1rem}
.section-head a{color:#18763a;font-size:.76rem;font-weight:700}
.portfolio-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.project-card{overflow:hidden;border:1px solid #e1e8e3;border-radius:10px;background:#fff}
.project-card img{width:100%;aspect-ratio:16/7;object-fit:cover;background:linear-gradient(135deg,#dfeee3,#bed9c6)}
.project-card div{padding:8px 10px}
.project-card h3{margin:0;font-size:.75rem}
.project-card p{margin:2px 0 0;color:#7c837e;font-size:.66rem}

.why-section{padding:12px 0 0}
.section-title.left{margin-bottom:10px}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.why-grid article{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:18px 16px;
  border:1px solid #dfe8e1;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 18px rgba(25,67,40,.045)
}
.why-icon{
  flex:0 0 auto;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border:1px solid #cae0d0;
  border-radius:16px;
  color:#157838;
  background:linear-gradient(180deg,#f7fbf8,#eef7f0);
  box-shadow:0 10px 20px rgba(21,120,56,.08)
}
.why-icon svg{
  width:28px;
  height:28px;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round
}
.why-grid h3{margin:2px 0 4px;color:#166d34;font-size:.92rem}
.why-grid p{margin:0;color:#69716c;font-size:.73rem;line-height:1.6}

.contact-strip{display:grid;grid-template-columns:1.5fr repeat(3,.65fr);align-items:center;gap:18px;margin-top:12px;padding:14px 18px;border:1px solid #d7e4da;border-radius:12px;background:linear-gradient(90deg,#f9fff9,#eff8f0)}
.contact-copy{display:flex;gap:13px;align-items:center}
.leaf-mark{font-size:3rem;color:#14833b}
.contact-copy h2{margin:0;font-size:1.15rem}
.contact-copy p{margin:1px 0 0;color:#59615c;font-size:.7rem}
.quick-contact{padding-left:14px;border-left:1px solid #d3e2d6}
.quick-contact b{display:block;color:#19773a;font-size:.72rem}
.quick-contact span{font-size:.74rem}

.site-footer{margin-top:0;background:linear-gradient(180deg,#106732,#0c5629);color:#fff;padding:22px 0 8px}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:50px}
.footer-logo{display:flex;align-items:center;gap:9px;font-size:1.15rem}
.footer-logo img{width:38px;height:38px;object-fit:contain;filter:brightness(0) invert(1)}
.footer-brand p,.footer-grid p{font-size:.72rem;color:#d4ead9;line-height:1.7}
.footer-grid h3{font-size:.78rem;margin:0 0 6px}
.footer-grid a{display:block;color:#d4ead9;font-size:.7rem;line-height:1.9}
.copyright{margin-top:12px;padding-top:8px;border-top:1px solid rgba(255,255,255,.16);text-align:center;color:#d0e6d5;font-size:.65rem}

@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .hero-grid{grid-template-columns:1fr 1fr}
  .system-showcase{transform:scale(.82);transform-origin:center}
  .service-grid{grid-auto-columns:calc((100% - 28px)/3)}
  .service-card{min-height:230px}
  .portfolio-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .contact-strip{grid-template-columns:1fr 1fr}
}
@media(max-width:780px){
  .main-nav{position:absolute;top:74px;left:16px;right:16px;display:none;flex-direction:column;align-items:stretch;gap:0;padding:12px;border:1px solid #dfe8e1;border-radius:12px;background:#fff;box-shadow:0 16px 30px rgba(0,0,0,.1)}
  .main-nav.open{display:flex}
  .main-nav a{padding:12px;color:#14622f}
  .main-nav a::after{display:none}
  .menu-toggle{display:block}
  .hero-slider{height:650px}
  .hero-grid{grid-template-columns:1fr}
  .hero-copy{padding-top:20px}
  .system-showcase{display:none}
  .hero-shade{background:rgba(255,255,255,.88)}
  .service-grid{grid-auto-columns:calc((100% - 14px)/2)}
  .service-card{min-height:220px}
  .contact-strip{grid-template-columns:1fr}
  .quick-contact{padding-left:0;border-left:0;border-top:1px solid #d3e2d6;padding-top:10px}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .hero-slider{height:620px}
  .hero-copy h1,.hero-copy h2{font-size:2.55rem}
  .hero-actions{flex-direction:column}
  .btn{width:100%}
  .slider-arrow{width:40px;height:40px}
  .slider-arrow.prev{left:10px}.slider-arrow.next{right:10px}
  .portfolio-grid,.why-grid,.footer-grid{grid-template-columns:1fr}
  .service-grid{grid-auto-columns:100%}
  .service-card{min-height:240px}
}



@media (prefers-reduced-motion: reduce){
  .hero-slide,
  .hero-slide.is-active,
  .hero-slide.is-fading-out,
  .hero-copy > *,
  .system-showcase{
    animation:none!important;
    transition:none!important;
    transform:none!important;
    filter:none!important;
  }

  .hero-slide.is-active,
  .hero-slide.show-content .hero-copy > *,
  .hero-slide.is-active .system-showcase{
    opacity:1!important;
    visibility:visible!important;
  }
}


/* =========================================================
   MULTI-PAGE WEBSITE
   ========================================================= */
.inner-page{background:#fff}
.inner-page .site-footer{margin-top:0}

.inner-hero,
.simple-page-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 18%,rgba(104,183,126,.30),transparent 26%),
    linear-gradient(135deg,#f5faf6 0%,#e7f2e9 56%,#cfe4d4 100%);
}

.simple-page-hero{
  min-height:390px;
  display:grid;
  align-items:center;
}

.simple-page-hero .container{
  padding-block:82px;
}

.simple-page-hero h1,
.inner-hero h1{
  margin:0;
  max-width:850px;
  color:#12361f;
  font-size:clamp(2.35rem,5vw,4.5rem);
  line-height:1.1;
  letter-spacing:-.035em;
}

.simple-page-hero h1 span,
.inner-hero h1 span{
  color:var(--green);
}

.simple-page-hero .container>p:last-child{
  max-width:680px;
  color:#55625a;
  line-height:1.85;
}

.page-kicker{
  margin:0 0 12px;
  color:var(--green);
  font-weight:800;
  letter-spacing:.14em;
  font-size:.78rem;
}

.content-section{
  padding:82px 0;
}

.soft-section{
  background:#f4f8f5;
}

.page-section-heading{
  max-width:820px;
  margin-bottom:34px;
}

.page-section-heading.center{
  margin-inline:auto;
  text-align:center;
}

.page-section-heading>p{
  margin:0 0 6px;
  color:var(--green);
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.page-section-heading h2{
  margin:0;
  color:#14341f;
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.25;
}

.page-section-heading span{
  display:block;
  margin-top:12px;
  color:#6b756e;
  line-height:1.75;
}

/* System hero */
.system-hero{
  min-height:650px;
  display:grid;
  align-items:center;
}

.system-hero-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  align-items:center;
  gap:62px;
  padding-block:74px;
}

.inner-hero-copy>p:not(.page-kicker){
  max-width:620px;
  color:#55625a;
  line-height:1.85;
}

.system-app-preview{
  position:relative;
  min-height:450px;
}

.preview-window{
  position:absolute;
  left:20px;
  right:10px;
  top:38px;
  overflow:hidden;
  border:9px solid #262b28;
  border-radius:22px;
  background:#fff;
  box-shadow:0 34px 60px rgba(27,70,42,.23);
}

.preview-topbar{
  height:38px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 13px;
  color:#637069;
  background:#ecefed;
  font-size:.65rem;
}

.preview-topbar span{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#aab1ad;
}

.preview-topbar b{
  margin-left:auto;
  margin-right:auto;
}

.preview-body{
  min-height:326px;
  display:grid;
  grid-template-columns:132px 1fr;
}

.preview-body aside{
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:20px 13px;
  color:#d9ede0;
  background:linear-gradient(180deg,#1e6b38,#104c27);
  font-size:.67rem;
}

.preview-body aside strong{
  margin-bottom:12px;
  color:#fff;
}

.preview-body aside span{
  padding:8px;
  border-radius:7px;
}

.preview-body aside .selected{
  background:rgba(255,255,255,.14);
}

.preview-content{
  padding:18px;
  background:#f7faf8;
}

.preview-metrics{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
}

.preview-metrics div{
  padding:11px;
  border:1px solid #e4eae6;
  border-radius:10px;
  background:#fff;
  text-align:center;
}

.preview-metrics b{
  display:block;
  color:#218046;
  font-size:1.12rem;
}

.preview-metrics small{
  color:#7a837e;
  font-size:.58rem;
}

.preview-node-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
  margin-top:14px;
}

.preview-node{
  min-height:64px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:10px;
  border-radius:9px;
  color:#fff;
}

.preview-node span{
  font-size:.55rem;
}

.n700{background:#754ca8}
.n701{background:#3477b6}
.n800{background:#3d8a4c}
.n801{background:#b77c32}
.n900{background:#865036}
.n901{background:#777f7a}

.preview-chart{
  position:relative;
  height:70px;
  margin-top:14px;
  overflow:hidden;
  border-radius:10px;
  background:linear-gradient(180deg,#eaf5ed,#fff);
}

.preview-chart::before,
.preview-chart::after{
  content:"";
  position:absolute;
  left:20px;
  right:20px;
  height:2px;
  background:#72b082;
  transform:skewY(-6deg);
}

.preview-chart::before{top:28px}
.preview-chart::after{top:47px;opacity:.45}

.floating-status{
  position:absolute;
  z-index:3;
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px 15px;
  border-radius:13px;
  background:#fff;
  box-shadow:0 15px 32px rgba(20,60,34,.18);
  font-size:.7rem;
}

.floating-status small{
  display:block;
  margin-top:3px;
  color:#748078;
  font-size:.59rem;
}

.floating-status i{
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:5px;
  border-radius:50%;
  background:#28b853;
}

.status-device{
  min-width:39px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:7px;
  color:#fff;
  background:#226e3c;
  font-weight:800;
}

.master-status{top:0;left:-26px}
.node-status{right:-16px;bottom:10px}

/* Architecture */
.architecture-flow{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items:center;
  gap:14px;
}

.architecture-flow-4{
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
}

.architecture-flow article{
  min-height:180px;
  padding:24px 16px;
  border:1px solid #dfe9e1;
  border-radius:20px;
  background:#fff;
  text-align:center;
  box-shadow:0 12px 28px rgba(24,72,42,.06);
}

.architecture-flow h3{
  margin:13px 0 7px;
  color:#173c25;
  font-size:1rem;
}

.architecture-flow p{
  margin:0;
  color:#727b75;
  font-size:.78rem;
  line-height:1.6;
}

.flow-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  margin:auto;
  border-radius:17px;
  color:#fff;
  background:#3a8c55;
  font-weight:800;
  font-size:1.2rem;
  letter-spacing:.03em;
}

.master-flow{border-top:4px solid #2d8650!important}
.logic-flow{border-top:4px solid #237180!important}
.node-flow{border-top:4px solid #2f7f9a!important}
.io-flow{border-top:4px solid #876b2b!important}
.merged-master-flow{border-top:4px solid #2d8650!important}
.app-flow .flow-icon{font-size:.9rem}
.io-flow .flow-icon{font-size:1rem}
.flow-arrow{color:#68a87c;font-size:1.7rem}

/* Feature cards */
.feature-card-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.feature-card-grid article{
  padding:25px;
  border:1px solid #dfe7e1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 26px rgba(25,65,39,.055);
}

.app-feature-card{
  display:flex;
  flex-direction:column;
}

.app-shot-frame{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  padding:12px;
  border:1px dashed #d6e4da;
  border-radius:18px;
  background:linear-gradient(180deg,#f9fcfa,#f1f7f3);
}

.app-preview-wrap{
  width:100%;
  max-width:220px;
}

.app-preview-wrap.portrait-preview{
  aspect-ratio:9/16;
}

.app-preview{
  width:100%;
  height:100%;
  overflow:hidden;
  border:6px solid #163c25;
  border-radius:22px;
  background:linear-gradient(180deg,#1e8a48,#155e32);
  box-shadow:0 14px 28px rgba(19,61,37,.14);
}

.preview-topbar{
  height:16px;
  margin:10px 12px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
}

.preview-metrics{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  padding:0 12px;
}

.preview-metrics span,
.preview-dual-cards span,
.preview-pills span,
.preview-calendar b{
  display:block;
  border-radius:10px;
  background:rgba(255,255,255,.18);
}

.preview-metrics span{
  height:34px;
}

.preview-chart{
  height:44px;
  margin:10px 12px;
  border-radius:12px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.18)),
    linear-gradient(135deg,transparent 35%,rgba(255,255,255,.75) 36%,rgba(255,255,255,.75) 40%,transparent 41%,transparent 54%,rgba(255,255,255,.75) 55%,rgba(255,255,255,.75) 59%,transparent 60%);
}

.preview-list,
.preview-bars,
.preview-sensor-lines{
  display:grid;
  gap:7px;
  padding:0 12px 12px;
}

.preview-list i,
.preview-bars i,
.preview-sensor-lines i{
  display:block;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.2);
}

.preview-dual-cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  padding:0 12px 10px;
}

.preview-dual-cards span{
  height:64px;
  border-radius:16px;
}

.preview-bars i:nth-child(1){width:100%}
.preview-bars i:nth-child(2){width:82%}
.preview-bars i:nth-child(3){width:70%}
.preview-bars i:nth-child(4){width:88%}

.preview-sensor-lines i:nth-child(1){width:100%}
.preview-sensor-lines i:nth-child(2){width:76%}
.preview-sensor-lines i:nth-child(3){width:92%}
.preview-sensor-lines i:nth-child(4){width:68%}

.preview-pills{
  display:flex;
  gap:6px;
  padding:10px 12px 12px;
}

.preview-pills span{
  flex:1;
  height:22px;
  border-radius:999px;
}

.preview-calendar{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  padding:0 12px 10px;
}

.preview-calendar b{
  height:36px;
  border-radius:12px;
}

.feature-card-grid h3{
  margin:0 0 10px;
  color:#173c25;
}

.feature-card-grid p{
  margin:0;
  color:#6b756e;
  font-size:.84rem;
  line-height:1.7;
}

/* Master panels */
.master-product-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

.product-panel{
  position:relative;
  overflow:hidden;
  padding:32px;
  border:1px solid #dfe7e1;
  border-radius:24px;
  background:#fff;
  box-shadow:0 15px 35px rgba(22,63,37,.07);
}

.product-panel::after{
  content:"";
  position:absolute;
  right:-70px;
  bottom:-70px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:rgba(57,148,85,.08);
}

.product-panel-top{
  display:flex;
  align-items:center;
  gap:17px;
}

.product-chip{
  min-width:76px;
  height:76px;
  display:grid;
  place-items:center;
  border-radius:19px;
  color:#fff;
  background:#236f3d;
  font-size:.75rem;
  font-weight:800;
}

.logic-panel .product-chip{
  background:#247283;
}

.product-panel-top p{
  margin:0;
  color:#7b847e;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.1em;
}

.product-panel h3{
  margin:3px 0 0;
  color:#173c25;
  font-size:1.6rem;
}

.product-panel ul{
  margin:27px 0;
  padding-left:20px;
  color:#606a63;
  line-height:2;
}

.product-panel>a{
  position:relative;
  z-index:2;
  color:#247642;
  font-weight:700;
}

/* Node cards */
.node-section{
  background:#f4f8f5;
}

.node-product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.node-product{
  border:1px solid #dfe7e1;
  border-radius:26px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 14px 32px rgba(25,65,39,.07);
  border-top:8px solid transparent;
}

.node-700{border-top-color:#6f4aad}
.node-701{border-top-color:#3f7fbe}
.node-800{border-top-color:#419150}
.node-801{border-top-color:#b97b2c}
.node-900{border-top-color:#965b37}
.node-901{border-top-color:#7f857f}

.node-product-body{
  padding:23px 20px 25px;
}

.node-product-body.has-visual{
  display:grid;
  grid-template-columns:minmax(230px,42%) minmax(0,1fr);
  gap:26px;
  align-items:center;
  padding:26px 24px 28px;
}

.node-visual-frame{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:12px;
  border:1px dashed #d8e5db;
  border-radius:20px;
  background:linear-gradient(180deg,#f8fbf9,#eef6f1);
}

.node-visual{
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:20px;
  background:linear-gradient(180deg,#2b8a49,#176535);
  box-shadow:0 16px 30px rgba(22,63,39,.15);
}

.node-product-copy{
  min-width:0;
}

.node-product-copy{
  min-width:0;
  align-self:center;
}

.node-product-eyebrow{
  margin-bottom:10px;
  color:#7c857e;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.1em;
  line-height:1.45;
}

.node-product-copy h3{
  margin:0 0 18px;
  color:#173c25;
  font-size:2.15rem;
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.025em;
}

.node-product-copy strong{
  display:block;
  margin-bottom:10px;
  color:#173c25;
  font-size:1.4rem;
  line-height:1.15;
  letter-spacing:.01em;
  font-weight:800;
}

.node-product-copy p{
  margin:0;
  max-width:360px;
  color:#6a746e;
  font-size:1rem;
  line-height:1.72;
  font-weight:500;
}

.visual-chip-row,
.visual-port-row,
.visual-relay-grid,
.visual-digital-pins{
  display:grid;
  gap:6px;
}

.visual-chip-row{
  grid-template-columns:repeat(4,1fr);
  padding:14px 12px 10px;
}

.visual-chip-row span,
.visual-relay-grid span,
.visual-digital-pins span{
  display:block;
  border-radius:10px;
  background:rgba(255,255,255,.2);
}

.visual-chip-row span{
  height:22px;
}

.visual-board-main{
  height:36px;
  margin:0 12px 12px;
  border-radius:12px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.18)),
    linear-gradient(135deg,transparent 28%,rgba(255,255,255,.78) 29%,rgba(255,255,255,.78) 37%,transparent 38%,transparent 52%,rgba(255,255,255,.78) 53%,rgba(255,255,255,.78) 61%,transparent 62%);
}

.visual-port-row{
  grid-template-columns:repeat(4,1fr);
  padding:0 12px 12px;
}

.visual-port-row i,
.visual-line-stack i,
.visual-control-bars i{
  display:block;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
}

.visual-port-row i{
  height:18px;
  border-radius:10px;
}

.visual-line-stack{
  display:grid;
  gap:7px;
  padding:14px 12px 12px;
}

.visual-line-stack i:nth-child(1){width:100%}
.visual-line-stack i:nth-child(2){width:78%}
.visual-line-stack i:nth-child(3){width:88%}
.visual-line-stack i:nth-child(4){width:66%}

.visual-digital-pins{
  grid-template-columns:repeat(4,1fr);
  padding:10px 12px 12px;
}

.visual-digital-pins span{
  height:26px;
}

.visual-relay-grid{
  grid-template-columns:repeat(2,1fr);
  padding:14px 12px 10px;
}

.visual-relay-grid span{
  height:30px;
}

.visual-control-bars{
  display:grid;
  gap:8px;
  padding:14px 12px 12px;
}

.visual-control-bars i:nth-child(1){width:100%}
.visual-control-bars i:nth-child(2){width:84%}
.visual-control-bars i:nth-child(3){width:68%}

.node-700 .node-product-head{background:#744ca4}
.node-701 .node-product-head{background:#3579b9}
.node-800 .node-product-head{background:#3c884b}
.node-801 .node-product-head{background:#b27831}
.node-900 .node-product-head{background:#875137}
.node-901 .node-product-head{background:#737b76}

/* CTA */
.system-cta{
  padding:54px 0;
  color:#fff;
  background:
    radial-gradient(circle at 82% 20%,rgba(112,187,132,.28),transparent 25%),
    linear-gradient(100deg,#143c24,#176432);
}

.system-cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}

.system-cta p{
  margin:0;
  color:#bfe0c8;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.1em;
}

.system-cta h2{
  max-width:790px;
  margin:6px 0 0;
  font-size:clamp(1.6rem,3vw,2.45rem);
  line-height:1.35;
}

.system-cta .btn-primary{
  flex:0 0 auto;
  background:#fff;
  color:#176432;
}

/* Services page */
.service-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

.service-detail-grid article{
  padding:31px;
  border:1px solid #dfe7e1;
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 28px rgba(25,65,39,.055);
}

.service-detail-image{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:18px;
}

.detail-number{
  color:#2d8950;
  font-size:1.55rem;
  font-weight:800;
}

.service-detail-grid h2{
  margin:12px 0 8px;
  color:#173c25;
}

.service-detail-grid p,
.service-detail-grid li{
  color:#69736d;
  line-height:1.75;
}

/* Portfolio page */
.portfolio-page-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

.portfolio-page-grid article{
  overflow:hidden;
  border:1px solid #dfe7e1;
  border-radius:22px;
  background:#fff;
  box-shadow:0 13px 30px rgba(25,65,39,.07);
}

.portfolio-page-grid img{
  width:100%;
  aspect-ratio:16/8.5;
  object-fit:cover;
}

.portfolio-page-grid article>div{
  padding:24px;
}

.portfolio-page-grid span,
.article-grid span{
  color:#2d8950;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.08em;
}

.portfolio-page-grid h2{
  margin:7px 0;
  color:#173c25;
  font-size:1.25rem;
}

.portfolio-page-grid p{
  margin:0;
  color:#6b756e;
}

/* Articles */
.article-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}

.article-grid article{
  padding:30px;
  border:1px solid #dfe7e1;
  border-radius:21px;
  background:#fff;
  box-shadow:0 12px 28px rgba(25,65,39,.055);
}

.article-grid h2{
  margin:11px 0;
  color:#173c25;
  font-size:1.3rem;
}

.article-grid p{
  color:#69736d;
  line-height:1.75;
}

.article-grid a{
  color:#257843;
  font-weight:700;
}

/* About */
.about-layout{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px;
  align-items:start;
}

.about-layout h2{
  margin:0;
  color:#173c25;
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.25;
}

.about-layout>div:last-child{
  color:#626d66;
  font-size:1.02rem;
  line-height:1.9;
}

.value-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:55px;
}

.value-grid article{
  padding:25px;
  border-top:3px solid #318852;
  background:#f6f9f7;
}

.value-grid b{
  color:#318852;
  font-size:1.5rem;
}

.value-grid h3{
  margin:14px 0 7px;
  color:#173c25;
}

.value-grid p{
  margin:0;
  color:#6a746e;
  font-size:.82rem;
  line-height:1.7;
}

/* Contact */
.contact-page-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:35px;
}

.contact-info-panel,
.contact-form{
  padding:31px;
  border:1px solid #dfe7e1;
  border-radius:23px;
  background:#fff;
  box-shadow:0 14px 32px rgba(24,70,40,.065);
}

.contact-info-panel h2,
.contact-form h2{
  margin:0 0 22px;
  color:#173c25;
}

.contact-method{
  padding:17px 0;
  border-bottom:1px solid #e3e9e5;
}

.contact-method:last-child{
  border-bottom:0;
}

.contact-method b{
  display:block;
  color:#277c46;
  font-size:.75rem;
}

.contact-method span{
  color:#68726c;
  font-size:.86rem;
}

.contact-form{
  display:grid;
  gap:15px;
}

.contact-form label{
  display:grid;
  gap:7px;
  color:#3f4b44;
  font-size:.82rem;
  font-weight:700;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid #d8e1da;
  border-radius:10px;
  color:#27312b;
  background:#fbfcfb;
  font:inherit;
  font-weight:400;
  outline:none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color:#4c9a65;
  box-shadow:0 0 0 3px rgba(76,154,101,.12);
}

.contact-form small{
  color:#78817b;
  line-height:1.6;
}

.form-result{
  padding:16px;
  border:1px solid #bcd8c4;
  border-radius:11px;
  color:#285b37;
  background:#eef8f1;
  white-space:pre-wrap;
  line-height:1.75;
}

@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .system-hero-grid{
    grid-template-columns:1fr;
  }

  .system-app-preview{
    width:min(760px,100%);
    margin:auto;
  }

  .architecture-flow{
    grid-template-columns:1fr 1fr;
  }

  .flow-arrow{
    display:none;
  }

  .feature-card-grid,
  .value-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .node-product-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:780px){
  .simple-page-hero{
    min-height:330px;
  }

  .simple-page-hero .container{
    padding-block:65px;
  }

  .system-hero-grid{
    padding-block:58px;
  }

  .system-app-preview{
    min-height:360px;
  }

  .preview-window{
    left:0;
    right:0;
  }

  .floating-status{
    display:none;
  }

  .architecture-flow,
  .feature-card-grid,
  .master-product-grid,
  .node-product-grid,
  .service-detail-grid,
  .portfolio-page-grid,
  .article-grid,
  .value-grid,
  .contact-page-grid,
  .about-layout{
    grid-template-columns:1fr;
  }

  .about-layout{
    gap:25px;
  }

  .system-cta-inner{
    align-items:flex-start;
    flex-direction:column;
  }

  .preview-body{
    grid-template-columns:95px 1fr;
  }

  .preview-metrics{
    grid-template-columns:repeat(2,1fr);
  }

  .preview-node-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:520px){
  .content-section{
    padding:62px 0;
  }

  .system-app-preview{
    min-height:315px;
  }

  .preview-window{
    border-width:6px;
  }

  .preview-body{
    min-height:275px;
    grid-template-columns:76px 1fr;
  }

  .preview-body aside{
    padding:14px 7px;
    font-size:.5rem;
  }

  .preview-content{
    padding:10px;
  }

  .preview-node{
    min-height:48px;
  }

  .product-panel,
  .service-detail-grid article,
  .contact-info-panel,
  .contact-form{
    padding:24px;
  }
}


/* =========================================================
   NAVIGATION DROPDOWNS
   ========================================================= */
.main-nav{
  gap:16px;
}

.nav-item{
  position:relative;
  display:flex;
  align-items:center;
  min-height:74px;
}

.nav-main-row{
  display:flex;
  align-items:center;
}

.main-nav .nav-link{
  position:relative;
  display:flex;
  align-items:center;
  min-height:74px;
  padding:0 2px;
  color:rgba(255,255,255,.88);
  white-space:nowrap;
}

.main-nav .nav-link::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:17px;
  height:2px;
  background:linear-gradient(90deg,rgba(255,255,255,.85),#d8f0df,rgba(255,255,255,.85));
  transform:scaleX(0);
  transition:transform .25s ease;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after,
.nav-item:hover>.nav-main-row .nav-link::after,
.nav-item:focus-within>.nav-main-row .nav-link::after{
  transform:scaleX(1);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active,
.nav-item:hover>.nav-main-row .nav-link,
.nav-item:focus-within>.nav-main-row .nav-link{
  color:#fff;
  text-shadow:0 0 10px rgba(255,255,255,.14);
}

.submenu-toggle{
  width:25px;
  height:38px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  color:rgba(255,255,255,.84);
  background:transparent;
  cursor:pointer;
}

.submenu-toggle svg{
  width:11px;
  height:8px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .22s ease;
}

.submenu{
  position:absolute;
  top:calc(100% - 7px);
  left:50%;
  z-index:120;
  min-width:220px;
  padding:9px;
  border:1px solid rgba(22,70,39,.13);
  border-radius:14px;
  background:rgba(255,255,255,.98);
  box-shadow:0 18px 40px rgba(7,36,18,.20);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,10px);
  transition:
    opacity .2s ease,
    transform .2s ease,
    visibility 0s linear .2s;
}

.submenu::before{
  content:"";
  position:absolute;
  top:-6px;
  left:50%;
  width:12px;
  height:12px;
  background:#fff;
  border-left:1px solid rgba(22,70,39,.13);
  border-top:1px solid rgba(22,70,39,.13);
  transform:translateX(-50%) rotate(45deg);
}

.submenu a{
  position:relative;
  display:block;
  padding:10px 12px;
  border-radius:9px;
  color:#244b31;
  font-size:.82rem;
  font-weight:600;
  line-height:1.4;
  white-space:nowrap;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}

.submenu a::after{
  display:none!important;
}

.submenu a:hover,
.submenu a:focus{
  color:#116232;
  background:#edf7f0;
  transform:translateX(3px);
  outline:none;
}

.nav-item:hover>.submenu,
.nav-item:focus-within>.submenu,
.nav-item.submenu-open>.submenu{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
  transition:
    opacity .2s ease,
    transform .2s ease,
    visibility 0s;
}

.nav-item:hover .submenu-toggle svg,
.nav-item:focus-within .submenu-toggle svg,
.nav-item.submenu-open .submenu-toggle svg{
  transform:rotate(180deg);
}

[id]{
  scroll-margin-top:96px;
}

.contact-form-anchor{
  height:0;
  scroll-margin-top:96px;
}

@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1120px) and (orientation:portrait){
  .main-nav{
    gap:8px;
    font-size:.82rem;
  }

  .submenu-toggle{
    width:20px;
  }
}

@media(max-width:780px){
  .main-nav{
    top:74px;
    max-height:calc(100vh - 94px);
    overflow-y:auto;
    gap:2px;
    padding:10px;
  }

  .nav-item{
    display:block;
    min-height:0;
    border-bottom:1px solid #edf1ee;
  }

  .nav-item:last-child{
    border-bottom:0;
  }

  .nav-main-row{
    display:grid;
    grid-template-columns:1fr 44px;
    align-items:center;
  }

  .main-nav .nav-link{
    min-height:0;
    padding:12px;
    color:#14622f;
  }

  .main-nav .nav-link::after{
    display:none;
  }

  .submenu-toggle{
    width:44px;
    height:44px;
    color:#14622f;
  }

  .submenu{
    position:static;
    min-width:0;
    width:100%;
    max-height:0;
    overflow:hidden;
    padding:0 8px;
    border:0;
    border-radius:0;
    background:#f5faf6;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    transform:none;
    transition:max-height .28s ease,padding .28s ease;
  }

  .submenu::before{
    display:none;
  }

  .submenu a{
    padding:10px 14px 10px 22px;
    color:#44634e;
    font-size:.78rem;
    white-space:normal;
  }

  .submenu a:hover,
  .submenu a:focus{
    transform:none;
  }

  .nav-item:hover>.submenu,
  .nav-item:focus-within>.submenu{
    max-height:0;
    padding-top:0;
    padding-bottom:0;
  }

  .nav-item.submenu-open>.submenu{
    max-height:420px;
    padding-top:6px;
    padding-bottom:8px;
  }
}


/* =========================================================
   SENSOR EXAMPLES
   ========================================================= */
.sensor-example-section{
  background:#fff;
}

.sensor-example-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.sensor-example-card{
  display:grid;
  grid-template-columns:76px 1fr;
  gap:17px;
  min-height:190px;
  padding:22px;
  border:1px solid #dce6df;
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 27px rgba(24,69,41,.055);
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

.sensor-example-card:hover{
  transform:translateY(-4px);
  border-color:#b9d3c0;
  box-shadow:0 18px 34px rgba(24,69,41,.09);
}

.sensor-icon{
  width:66px;
  height:66px;
  display:grid;
  place-items:center;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(145deg,#318a52,#1b6638);
  box-shadow:0 12px 22px rgba(33,112,61,.19);
}

.sensor-icon svg{
  width:34px;
  height:34px;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.temp-icon{background:linear-gradient(145deg,#de8450,#b95537)}
.soil-icon{background:linear-gradient(145deg,#70a849,#3f7c33)}
.level-icon{background:linear-gradient(145deg,#3994bb,#236c9a)}
.flow-icon{background:linear-gradient(145deg,#2d94ad,#21647b)}
.pressure-icon{background:linear-gradient(145deg,#687eaa,#445984)}
.rain-icon{background:linear-gradient(145deg,#638bab,#3d607c)}
.light-icon{background:linear-gradient(145deg,#e4ad32,#bc771c)}
.water-icon{background:linear-gradient(145deg,#3f9da0,#267275)}
.switch-icon{background:linear-gradient(145deg,#727c77,#4f5954)}

.sensor-card-body{
  min-width:0;
}

.sensor-card-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.sensor-card-title h3{
  margin:2px 0 0;
  color:#173c25;
  font-size:1.02rem;
  line-height:1.45;
}

.sensor-node{
  flex:0 0 auto;
  padding:5px 8px;
  border-radius:999px;
  font-size:.56rem;
  font-weight:800;
  letter-spacing:.03em;
  white-space:nowrap;
}

.node-analog{
  color:#654292;
  background:#f0eaf8;
}

.node-digital{
  color:#28659a;
  background:#e8f2fb;
}

.node-any{
  color:#276f45;
  background:#e8f5ed;
}

.sensor-example-card p{
  margin:9px 0 14px;
  color:#68736c;
  font-size:.78rem;
  line-height:1.7;
}

.sensor-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.sensor-tags span{
  padding:5px 8px;
  border:1px solid #dce6df;
  border-radius:7px;
  color:#54705d;
  background:#f7faf8;
  font-size:.57rem;
  font-weight:700;
}

.sensor-note{
  display:flex;
  align-items:flex-start;
  gap:15px;
  margin-top:22px;
  padding:18px 20px;
  border:1px solid #cfe1d3;
  border-radius:16px;
  background:linear-gradient(90deg,#eff8f1,#f9fcfa);
}

.sensor-note-icon{
  flex:0 0 auto;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:#2b824c;
  font-weight:800;
}

.sensor-note b{
  color:#235d38;
}

.sensor-note p{
  margin:3px 0 0;
  color:#627068;
  font-size:.8rem;
  line-height:1.7;
}

@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .sensor-example-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:680px){
  .sensor-example-grid{
    grid-template-columns:1fr;
  }

  .sensor-example-card{
    grid-template-columns:64px 1fr;
    padding:18px;
  }

  .sensor-icon{
    width:58px;
    height:58px;
    border-radius:16px;
  }

  .sensor-card-title{
    flex-direction:column;
    gap:7px;
  }

  .sensor-note{
    padding:16px;
  }
}


@media (max-width:980px), (orientation:portrait) and (max-width:1120px){
  .app-preview-wrap{
    max-width:210px;
  }
}

@media(max-width:780px){
  .app-shot-frame{
    padding:10px;
  }

  .app-preview-wrap{
    max-width:220px;
  }

  .preview-metrics span{
    height:26px;
  }

  .preview-dual-cards span{
    height:54px;
  }

  .preview-calendar b{
    height:30px;
  }
}


@media (max-width:980px), (orientation:portrait) and (max-width:1080px){
  .architecture-flow-4{
    grid-template-columns:repeat(2,1fr);
  }

  .architecture-flow-4 .flow-arrow{
    display:none;
  }
}

@media(max-width:680px){
  .architecture-flow-4{
    grid-template-columns:1fr;
  }
}


/* Unified Master Panel */
.unified-master-grid{
  grid-template-columns:1fr;
}

.master-unified-panel{
  padding:34px;
}

.master-unified-panel::after{
  right:-46px;
  bottom:-46px;
  width:170px;
  height:170px;
}

.master-unified-layout{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:420px 1fr;
  gap:30px;
  align-items:center;
}

.master-visual-col{
  min-width:0;
}

.master-visual-frame{
  aspect-ratio:4/3;
  padding:16px;
  border:1px dashed #d6e4da;
  border-radius:24px;
  background:linear-gradient(180deg,#f9fcfa,#f1f7f3);
}

.master-visual-screen{
  width:100%;
  height:100%;
  overflow:hidden;
  border:8px solid #1b4f31;
  border-radius:24px;
  background:linear-gradient(180deg,#1f8a49,#155c31);
  box-shadow:0 18px 34px rgba(18,60,36,.15);
}

.master-visual-topbar{
  height:18px;
  margin:14px 16px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
}

.master-visual-stat-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  padding:0 16px;
}

.master-visual-stat-grid span{
  display:block;
  height:52px;
  border-radius:14px;
  background:rgba(255,255,255,.18);
}

.master-visual-chart{
  height:70px;
  margin:12px 16px;
  border-radius:16px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.18)),
    linear-gradient(135deg,transparent 35%,rgba(255,255,255,.75) 36%,rgba(255,255,255,.75) 40%,transparent 41%,transparent 54%,rgba(255,255,255,.75) 55%,rgba(255,255,255,.75) 59%,transparent 60%);
}

.master-visual-list{
  display:grid;
  gap:10px;
  padding:0 16px;
}

.master-visual-list i{
  display:block;
  height:14px;
  border-radius:999px;
  background:rgba(255,255,255,.2);
}

.master-content-col{
  min-width:0;
}

.master-content-col .product-chip{
  min-width:94px;
  background:#236f3d;
  font-size:.72rem;
  letter-spacing:.08em;
}

.master-content-col .product-panel-top{
  margin-bottom:16px;
}

.master-content-col ul{
  margin:22px 0 20px;
}

.master-content-col h3{
  font-size:2rem;
}

@media(max-width:980px){
  .master-unified-layout{
    grid-template-columns:1fr;
    gap:24px;
  }

  .master-unified-panel{
    padding:28px;
  }

  .master-visual-frame{
    max-width:520px;
    margin:0 auto;
  }
}

@media(max-width:680px){
  .master-unified-panel{
    padding:22px;
  }

  .master-visual-frame{
    padding:12px;
    border-radius:20px;
  }

  .master-visual-screen{
    border-width:6px;
    border-radius:20px;
  }

  .master-content-col .product-chip{
    min-width:82px;
    height:68px;
  }

  .master-content-col h3{
    font-size:1.5rem;
  }
}


@media (max-width:980px), (orientation:portrait) and (max-width:1180px){
  .node-product-grid{
    grid-template-columns:1fr;
  }

  .node-product-body.has-visual{
    grid-template-columns:minmax(230px,40%) minmax(0,1fr);
    gap:24px;
    padding:26px 22px 28px;
  }

  .node-visual-frame{
    padding:12px;
  }

  .node-product-copy h3{
    font-size:2rem;
    margin-bottom:17px;
  }
}

@media(max-width:780px){
  .node-product{
    min-height:0;
  }

  .node-product-body.has-visual{
    grid-template-columns:1fr;
    gap:24px;
    min-height:0;
  }

  .node-visual-frame{
    max-width:420px;
    min-height:0;
  }

  .node-product-copy h3{
    font-size:1.8rem;
  }
}


/* V42 bilingual language switch */
.nav-bar{position:relative;padding-right:78px}
.lang-switch{
  position:absolute;
  top:50%;
  right:0;
  transform:translateY(-50%);
  min-width:48px;
  height:38px;
  padding:0 14px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:.88rem;
  letter-spacing:.08em;
  color:#ffffff;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.12);
  box-shadow:0 10px 24px rgba(5,33,15,.18);
  backdrop-filter:blur(10px);
  transition:transform .2s ease,background .2s ease,border-color .2s ease,color .2s ease;
  z-index:4;
}
.lang-switch:hover{
  transform:translateY(-50%) translateY(-1px);
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.42);
  color:#ffffff;
}
.lang-switch:focus-visible{
  outline:2px solid rgba(255,255,255,.8);
  outline-offset:2px;
}
@media (max-width:960px){
  .nav-bar{padding-right:126px}
  .lang-switch{right:58px}
}
@media (max-width:640px){
  .nav-bar{padding-right:120px}
  .lang-switch{
    min-width:44px;
    height:34px;
    padding:0 12px;
    font-size:.82rem;
    right:54px;
  }
}


/* V43 system page 4-slide hero */
.system-page-slider{
  height:640px;
  background:linear-gradient(135deg,#e8f1e9 0%,#dce8dd 45%,#d4e2d6 100%);
}
.system-page-slide{
  background-image:none;
}
.system-page-shade{
  background:linear-gradient(
    90deg,
    rgba(248,251,249,.96) 0%,
    rgba(248,251,249,.92) 26%,
    rgba(248,251,249,.52) 46%,
    rgba(248,251,249,.08) 60%,
    rgba(248,251,249,0) 70%
  );
}
.system-slider-grid{
  grid-template-columns:minmax(0, 580px) 1fr;
  gap:34px;
}
.system-slider-copy{
  max-width:580px;
}
.system-slide-visual{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:420px;
  opacity:0;
  transition:opacity .68s .08s cubic-bezier(.4,0,.2,1);
}
.hero-slide.is-active .system-slide-visual{
  opacity:1;
}
.system-slide-frame{
  width:min(780px,100%);
  padding:16px;
  border:1px solid #c9d9cd;
  border-radius:28px;
  background:rgba(255,255,255,.48);
  box-shadow:0 24px 46px rgba(23,55,33,.10);
  backdrop-filter:blur(10px);
}
.system-slide-frame img{
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  border-radius:20px;
  box-shadow:0 16px 36px rgba(18,46,25,.16);
}
.system-slide-tag{
  position:absolute;
  left:24px;
  bottom:8px;
  display:flex;
  flex-direction:column;
  gap:4px;
  max-width:260px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(202,216,205,.92);
  background:rgba(255,255,255,.95);
  box-shadow:0 16px 32px rgba(18,46,25,.12);
}
.system-slide-tag b{
  color:#17361f;
  font-size:.94rem;
}
.system-slide-tag small{
  color:#617066;
  font-size:.78rem;
  line-height:1.45;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .system-page-slider{
    height:780px;
  }
  .system-slider-grid{
    grid-template-columns:1fr;
    gap:22px;
    padding-top:62px;
    padding-bottom:86px;
  }
  .system-slider-copy{
    max-width:none;
  }
  .system-slide-visual{
    min-height:320px;
  }
  .system-slide-frame{
    width:min(720px,100%);
  }
}
@media(max-width:780px){
  .system-page-slider{
    height:740px;
  }
  .system-page-shade{
    background:rgba(248,251,249,.90);
  }
  .system-slider-grid{
    padding-top:58px;
  }
  .system-slide-frame{
    padding:12px;
    border-radius:22px;
  }
  .system-slide-frame img{
    border-radius:16px;
  }
  .system-slide-tag{
    position:static;
    margin-top:14px;
    max-width:none;
  }
}
@media(max-width:640px){
  .system-page-slider{
    height:700px;
  }
  .system-slider-copy .hero-lead{
    line-height:1.7;
  }
}


/* V45 complete image slots */
.visual-slot-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.portrait-slot-image{
  border:6px solid #163c25;
  border-radius:22px;
  box-shadow:0 14px 28px rgba(19,61,37,.14);
}

.master-slot-image{
  aspect-ratio:4/3;
  border-radius:20px;
  box-shadow:0 18px 34px rgba(18,60,36,.15);
}

.node-slot-image{
  aspect-ratio:1/1;
  border-radius:20px;
  box-shadow:0 16px 30px rgba(22,63,39,.15);
}

/* V53 — homepage real slide images; V46 remains the baseline */
.hero-app-real{
  background-size:auto 100%;
  background-repeat:no-repeat;
  background-position:right center;
  background-color:#eef5ef;
}
.hero-app-real .system-showcase{display:none;}
.hero-app-real .hero-grid{grid-template-columns:minmax(0,600px) 1fr;}
.hero-app-real .hero-shade{
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 29%,rgba(255,255,255,.74) 43%,rgba(255,255,255,.18) 58%,rgba(255,255,255,0) 68%);
}
.hero-product-real{
  background-size:auto 100%;
  background-repeat:no-repeat;
  background-position:right center;
  background-color:#fff;
}
.hero-product-real .hero-shade{
  background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.96) 31%,rgba(255,255,255,.72) 47%,rgba(255,255,255,.12) 64%,rgba(255,255,255,0) 74%);
}
@media(max-width:780px){
  .hero-app-real,.hero-product-real{background-size:cover;background-position:center;}
  .hero-app-real .hero-shade,.hero-product-real .hero-shade{background:rgba(255,255,255,.88);}
}


/* V54 — hero image layout like reference:
   desktop = text left / image right,
   mobile = image full width on top */
.hero-slide{
  background-image:none !important;
  background-color:#edf4ef;
}

.hero-slide::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:56%;
  background-image:var(--hero);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
  z-index:-2;
}

.hero-slide .hero-grid{
  grid-template-columns:minmax(0,620px) 1fr;
  gap:24px;
}

.hero-slide .hero-copy{
  max-width:620px;
  padding:38px 0 68px;
}

.hero-slide .hero-shade{
  z-index:-1;
  background:linear-gradient(
    90deg,
    rgba(255,255,255,.985) 0%,
    rgba(255,255,255,.965) 32%,
    rgba(255,255,255,.90) 42%,
    rgba(255,255,255,.58) 50%,
    rgba(255,255,255,.12) 59%,
    rgba(255,255,255,0) 67%
  );
}

.hero-app-real::before{
  width:58%;
  background-size:contain;
  background-position:right center;
  background-color:#edf4ef;
}

.hero-product-real::before{
  width:54%;
  background-size:contain;
  background-position:right center;
  background-color:#ffffff;
}

@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .hero-slide::before{width:52%;}
  .hero-app-real::before{width:55%;}
  .hero-product-real::before{width:50%;}
  .hero-slide .hero-grid{grid-template-columns:minmax(0,540px) 1fr;}
}

@media(max-width:780px){
  .hero-slider{height:860px;}

  .hero-slide::before,
  .hero-app-real::before,
  .hero-product-real::before{
    top:0;
    left:0;
    right:0;
    bottom:auto;
    width:100%;
    height:min(60vw,320px);
    background-size:cover;
    background-position:center center;
  }

  .hero-slide .hero-shade,
  .hero-app-real .hero-shade,
  .hero-product-real .hero-shade{
    background:linear-gradient(
      180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.06) 48%,
      rgba(255,255,255,.90) 72%,
      rgba(255,255,255,.985) 100%
    );
  }

  .hero-slide .hero-grid{
    display:block;
    height:100%;
    padding-top:calc(min(60vw,320px) + 18px);
  }

  .hero-slide .hero-copy{
    max-width:none;
    padding:18px 0 90px;
  }
}

@media(max-width:520px){
  .hero-slider{height:840px;}
  .hero-slide::before,
  .hero-app-real::before,
  .hero-product-real::before{height:min(62vw,300px);}
  .hero-slide .hero-grid{padding-top:calc(min(62vw,300px) + 14px);}
}


/* V55 — homepage hero refinement
   - move text slightly left
   - prevent title overflow into image
   - remove white fade overlay */
.hero-slide .hero-grid{
  grid-template-columns:minmax(0,560px) 1fr;
  gap:18px;
}

.hero-slide .hero-copy{
  max-width:560px;
  margin-left:-10px;
  padding:38px 0 68px;
}

.hero-slide .hero-copy h1,
.hero-slide .hero-copy h2{
  font-size:clamp(2.2rem,3.15vw,3.25rem);
  line-height:1.08;
  max-width:100%;
}

.hero-slide .hero-lead{
  max-width:940px;
}

.hero-slide .hero-shade,
.hero-app-real .hero-shade,
.hero-product-real .hero-shade{
  display:none;
  background:none !important;
}

.hero-slide::before,
.hero-app-real::before,
.hero-product-real::before{
  background-position:right center;
}

@media (max-width:980px), (orientation:portrait) and (max-width:1180px){
  .hero-slide .hero-grid{grid-template-columns:minmax(0,520px) 1fr;}
  .hero-slide .hero-copy{max-width:520px;margin-left:-6px;}
  .hero-slide .hero-copy h1,
  .hero-slide .hero-copy h2{font-size:clamp(2.1rem,3vw,3rem);}
}

@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .hero-slide::before{width:50%;}
  .hero-app-real::before{width:53%;}
  .hero-product-real::before{width:48%;}
  .hero-slide .hero-grid{grid-template-columns:minmax(0,480px) 1fr;}
  .hero-slide .hero-copy{max-width:480px; margin-left:0;}
}

@media(max-width:780px){
  .hero-slide .hero-grid{padding-top:calc(min(60vw,320px) + 18px);}
  .hero-slide .hero-copy{padding:18px 0 90px; margin-left:0; max-width:none;}
  .hero-slide .hero-copy h1,
  .hero-slide .hero-copy h2{font-size:clamp(2rem,8vw,2.7rem);}
}


/* V56 — move slide counter/dots under the heading block instead of page center */
.slider-status{
  left: clamp(72px, 8vw, 110px);
  bottom: 28px;
  transform: none;
  width: min(560px, calc(50% - 150px));
  justify-content: center;
  gap: 16px;
  text-align: center;
}

@media (max-width:980px), (orientation:portrait) and (max-width:1180px){
  .slider-status{
    width: min(520px, calc(50% - 130px));
    left: clamp(56px, 6vw, 90px);
  }
}

@media (max-width: 900px){
  .slider-status{
    left: 50%;
    width: auto;
    transform: translateX(-50%);
    bottom: 14px;
  }
}


/* V59 — strict hero description boundary + mobile full-width image
   Base restored to V56. V57/V58 were not used as the editing base. */
@media (min-width:781px){
  .hero-slide .hero-grid,
  .hero-slide .hero-copy{
    min-width:0;
  }

  .hero-slide .hero-copy{
    width:560px;
    max-width:560px;
    overflow:visible;
  }

  .hero-slide .hero-lead{
    display:block;
    width:480px !important;
    max-width:480px !important;
    box-sizing:border-box;
    white-space:normal !important;
    overflow-wrap:anywhere;
    word-break:normal;
  }
}

@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1180px) and (orientation:portrait){
  .hero-slide .hero-copy{
    width:500px;
    max-width:500px;
  }

  .hero-slide .hero-lead{
    width:440px !important;
    max-width:440px !important;
  }
}

@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1050px) and (orientation:portrait){
  .hero-slide .hero-copy{
    width:470px;
    max-width:470px;
  }

  .hero-slide .hero-lead{
    width:410px !important;
    max-width:410px !important;
  }
}

@media (max-width:780px){
  html,
  body{
    overflow-x:hidden;
  }

  .hero-slide::before,
  .hero-app-real::before,
  .hero-product-real::before{
    top:0 !important;
    left:0 !important;
    right:0 !important;
    bottom:auto !important;
    width:100% !important;
    height:min(60vw,320px) !important;
    background-size:cover !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
  }

  .hero-slide .hero-grid{
    display:block !important;
    width:min(1180px,calc(100% - 32px));
    height:100%;
    padding-top:calc(min(60vw,320px) + 18px) !important;
    box-sizing:border-box;
  }

  .hero-slide .hero-copy{
    width:100% !important;
    max-width:100% !important;
    min-width:0;
    margin-left:0 !important;
    padding:18px 0 90px !important;
    box-sizing:border-box;
  }

  .hero-slide .hero-lead{
    width:100% !important;
    max-width:100% !important;
    padding-right:0;
    box-sizing:border-box;
    white-space:normal !important;
    overflow-wrap:anywhere;
  }
}

@media (max-width:520px){
  .hero-slide::before,
  .hero-app-real::before,
  .hero-product-real::before{
    height:min(62vw,300px) !important;
  }

  .hero-slide .hero-grid{
    padding-top:calc(min(62vw,300px) + 14px) !important;
  }
}


/* V60 — tighten slide 3 and 4 titles slightly so they never creep into the image area */
@media (min-width:781px){
  .hero-slider .hero-slide:nth-of-type(3) .hero-copy,
  .hero-slider .hero-slide:nth-of-type(4) .hero-copy,
  .hero-slider .hero-slide:nth-of-type(5) .hero-copy{
    width: 520px;
    max-width: 520px;
  }

  .hero-slider .hero-slide:nth-of-type(3) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(3) .hero-copy h2,
  .hero-slider .hero-slide:nth-of-type(4) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(4) .hero-copy h2,
  .hero-slider .hero-slide:nth-of-type(5) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(5) .hero-copy h2{
    font-size: clamp(2.02rem, 2.75vw, 2.9rem);
    max-width: 520px;
    letter-spacing: -.035em;
  }

  .hero-slider .hero-slide:nth-of-type(3) .hero-lead,
  .hero-slider .hero-slide:nth-of-type(4) .hero-lead,
  .hero-slider .hero-slide:nth-of-type(5) .hero-lead{
    width: 450px !important;
    max-width: 450px !important;
  }
}

@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1180px) and (orientation:portrait){
  .hero-slider .hero-slide:nth-of-type(3) .hero-copy,
  .hero-slider .hero-slide:nth-of-type(4) .hero-copy,
  .hero-slider .hero-slide:nth-of-type(5) .hero-copy{
    width: 490px;
    max-width: 490px;
  }

  .hero-slider .hero-slide:nth-of-type(3) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(3) .hero-copy h2,
  .hero-slider .hero-slide:nth-of-type(4) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(4) .hero-copy h2,
  .hero-slider .hero-slide:nth-of-type(5) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(5) .hero-copy h2{
    font-size: clamp(1.95rem, 2.55vw, 2.7rem);
    max-width: 490px;
  }

  .hero-slider .hero-slide:nth-of-type(3) .hero-lead,
  .hero-slider .hero-slide:nth-of-type(4) .hero-lead,
  .hero-slider .hero-slide:nth-of-type(5) .hero-lead{
    width: 420px !important;
    max-width: 420px !important;
  }
}

@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1050px) and (orientation:portrait){
  .hero-slider .hero-slide:nth-of-type(3) .hero-copy,
  .hero-slider .hero-slide:nth-of-type(4) .hero-copy,
  .hero-slider .hero-slide:nth-of-type(5) .hero-copy{
    width: 455px;
    max-width: 455px;
  }

  .hero-slider .hero-slide:nth-of-type(3) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(3) .hero-copy h2,
  .hero-slider .hero-slide:nth-of-type(4) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(4) .hero-copy h2,
  .hero-slider .hero-slide:nth-of-type(5) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(5) .hero-copy h2{
    font-size: clamp(1.86rem, 2.35vw, 2.45rem);
    max-width: 455px;
  }

  .hero-slider .hero-slide:nth-of-type(3) .hero-lead,
  .hero-slider .hero-slide:nth-of-type(4) .hero-lead,
  .hero-slider .hero-slide:nth-of-type(5) .hero-lead{
    width: 395px !important;
    max-width: 395px !important;
  }
}



/* V70 — use the complete phone mockup image without duplicate website frames */
#app-features .app-shot-frame{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
#app-features .app-preview-wrap,
#app-features .app-preview-wrap.portrait-preview{
  width:100%;
  max-width:280px;
  aspect-ratio:auto;
}
#app-features .portrait-slot-image{
  width:100%;
  height:auto;
  object-fit:contain;
  border:0;
  border-radius:0;
  box-shadow:none;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1120px){
  #app-features .app-preview-wrap,
  #app-features .app-preview-wrap.portrait-preview{
    max-width:260px;
  }
}
@media(max-width:780px){
  #app-features .app-preview-wrap,
  #app-features .app-preview-wrap.portrait-preview{
    max-width:300px;
  }
}


/* V71 — equal-size app phone previews */
#app-features .app-feature-grid{
  gap:14px;
  align-items:stretch;
}

#app-features .app-feature-card{
  padding:18px 16px 22px;
}

#app-features .app-shot-frame{
  min-height:0;
  margin-bottom:18px;
  display:flex;
  align-items:center;
  justify-content:center;
}

#app-features .app-preview-wrap,
#app-features .app-preview-wrap.portrait-preview{
  width:100%;
  max-width:260px;
  aspect-ratio:1 / 2;
  display:flex;
  align-items:center;
  justify-content:center;
}

#app-features .portrait-slot-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}

@media (max-width:980px), (orientation:portrait) and (max-width:1120px){
  #app-features .app-preview-wrap,
  #app-features .app-preview-wrap.portrait-preview{
    max-width:245px;
  }
}

@media(max-width:780px){
  #app-features .app-feature-card{
    padding:18px;
  }

  #app-features .app-preview-wrap,
  #app-features .app-preview-wrap.portrait-preview{
    max-width:300px;
  }
}


/* V73 — fit MASTER/NODE product images without cropping */
.master-visual-frame,
.node-visual-frame{
  overflow:hidden;
  background:#fff;
}
.master-slot-image,
.node-slot-image{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#fff;
  box-shadow:none;
}
.master-slot-image{
  aspect-ratio:auto;
  border-radius:18px;
}
.node-slot-image{
  aspect-ratio:auto;
  border-radius:16px;
}

/* V80 — system hero mobile view matches homepage: full-width image on top, copy below */
@media (max-width:780px){
  .system-page-slider{
    height:860px !important;
    background:#edf4ef;
  }

  .system-page-slider .system-page-slide::before{
    display:none !important;
    content:none !important;
  }

  .system-page-slider .system-page-shade{
    display:none !important;
  }

  .system-page-slider .system-slider-grid{
    display:flex !important;
    flex-direction:column;
    justify-content:flex-start;
    width:100% !important;
    max-width:none !important;
    height:100%;
    padding:0 0 86px !important;
    margin:0 !important;
    gap:0 !important;
  }

  .system-page-slider .system-slide-visual{
    order:1;
    position:relative;
    display:block;
    width:100%;
    min-height:0 !important;
    flex:0 0 auto;
    margin:0;
  }

  .system-page-slider .system-slide-frame{
    width:100% !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
  }

  .system-page-slider .system-slide-frame img{
    display:block;
    width:100%;
    height:min(60vw,320px) !important;
    aspect-ratio:auto !important;
    object-fit:cover !important;
    object-position:center center;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  .system-page-slider .system-slide-tag{
    display:none !important;
  }

  .system-page-slider .system-slider-copy{
    order:2;
    width:min(1180px,calc(100% - 32px)) !important;
    max-width:none !important;
    min-width:0;
    margin:0 auto !important;
    padding:32px 0 92px !important;
    box-sizing:border-box;
  }

  .system-page-slider .system-slider-copy h1,
  .system-page-slider .system-slider-copy h2{
    font-size:clamp(2rem,8vw,2.7rem);
    line-height:1.08;
  }

  .system-page-slider .system-slider-copy .hero-lead{
    width:100% !important;
    max-width:100% !important;
    line-height:1.7;
  }
}

@media (max-width:520px){
  .system-page-slider{
    height:840px !important;
  }

  .system-page-slider .system-slide-frame img{
    height:min(62vw,300px) !important;
  }

  .system-page-slider .system-slider-copy{
    padding-top:26px !important;
  }
}

/* V81: larger, sharper transparent BAANLARN logo */
.nav-bar{
  height:92px;
}
.brand{
  flex:0 0 auto;
  gap:0;
}
.brand img{
  width:220px;
  height:82px;
  max-width:none;
  object-fit:contain;
  filter:none;
}
.brand-name{
  display:none;
}
.main-nav{
  gap:24px;
}
.main-nav a{
  padding:35px 0;
}
.main-nav a::after{
  bottom:23px;
}
.footer-logo{
  gap:0;
}
.footer-logo img{
  width:220px;
  height:auto;
  max-height:96px;
  object-fit:contain;
  filter:none;
}
.footer-logo b{
  display:none;
}
@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1120px) and (orientation:portrait){
  .nav-bar{
    height:86px;
  }
  .brand img{
    width:176px;
    height:70px;
  }
  .main-nav{
    gap:7px;
    font-size:.78rem;
  }
  .main-nav a{
    padding:32px 0;
  }
}
@media(max-width:780px){
  .nav-bar{
    height:78px;
    gap:10px;
    padding-right:66px;
  }
  .brand img{
    width:158px;
    height:64px;
  }
  .main-nav{
    top:78px;
    max-height:calc(100vh - 98px);
  }
  .main-nav a{
    padding:12px;
  }
  .footer-logo img{
    width:190px;
    max-height:84px;
  }
}
@media(max-width:420px){
  .brand img{
    width:142px;
    height:58px;
  }
}

/* V82: add the house logo while keeping the original BAANLARN / บ้านหลาน name */
.nav-bar{
  height:78px;
}
.brand{
  flex:0 0 auto;
  gap:12px;
}
.brand img{
  width:112px;
  height:54px;
  max-width:none;
  object-fit:contain;
  filter:none;
}
.brand-name{
  display:flex;
}
.main-nav{
  gap:24px;
}
.main-nav a{
  padding:28px 0;
}
.main-nav a::after{
  bottom:18px;
}
.footer-logo{
  gap:12px;
}
.footer-logo img{
  width:102px;
  height:48px;
  max-height:none;
  object-fit:contain;
  filter:none;
}
.footer-logo b{
  display:inline;
}
@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1120px) and (orientation:portrait){
  .nav-bar{height:76px;}
  .brand{gap:9px;}
  .brand img{width:88px;height:44px;}
  .brand-en{font-size:1.05rem;}
  .brand-th{font-size:.58rem;}
  .main-nav{gap:7px;font-size:.78rem;}
  .main-nav a{padding:27px 0;}
}
@media(max-width:780px){
  .nav-bar{
    height:74px;
    gap:10px;
    padding-right:66px;
  }
  .brand{gap:8px;}
  .brand img{width:78px;height:39px;}
  .brand-en{font-size:1rem;}
  .brand-th{font-size:.56rem;margin-top:3px;}
  .main-nav{top:74px;max-height:calc(100vh - 94px);}
  .main-nav a{padding:12px;}
  .footer-logo img{width:88px;height:42px;}
}
@media(max-width:420px){
  .brand img{width:70px;height:35px;}
  .brand{gap:7px;}
  .brand-en{font-size:.92rem;}
  .brand-th{font-size:.52rem;}
}

/* V83: use the exact user-supplied house-line logo; keep original BAANLARN / บ้านหลาน text */
.brand{
  gap:12px;
}
.brand img{
  width:128px;
  height:46px;
  object-fit:contain;
  object-position:center;
  filter:none;
}
.brand-name{
  display:flex;
}
.footer-logo{
  gap:12px;
}
.footer-logo img{
  width:118px;
  height:42px;
  object-fit:contain;
  filter:none;
}
.footer-logo b{
  display:inline;
}
@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1120px) and (orientation:portrait){
  .brand img{width:104px;height:38px;}
  .footer-logo img{width:104px;height:38px;}
}
@media(max-width:780px){
  .brand{gap:8px;}
  .brand img{width:88px;height:32px;}
  .footer-logo img{width:98px;height:36px;}
}
@media(max-width:420px){
  .brand img{width:78px;height:29px;}
}

/* =========================================================
   V84: white line logo + compact organized navigation
   ========================================================= */
.site-header{
  box-shadow:0 8px 22px rgba(5,34,17,.18);
}

/* Keep the exact supplied logo shape; only turn its line work white. */
.brand img,
.footer-logo img{
  filter:brightness(0) invert(1) drop-shadow(0 0 .35px rgba(255,255,255,.9)) !important;
}

@media (min-width:781px){
  .nav-bar{
    height:78px;
    gap:12px;
    padding-right:66px;
  }

  .brand{
    gap:10px;
    flex:0 0 auto;
  }

  .brand img{
    width:116px;
    height:42px;
  }

  .brand-en{
    font-size:1.14rem;
    line-height:1;
  }

  .brand-th{
    margin-top:4px;
    font-size:.61rem;
  }

  .main-nav{
    flex:1 1 auto;
    justify-content:center;
    gap:4px;
    font-size:.82rem;
    min-width:0;
  }

  .nav-item{
    min-height:78px;
    margin:0 1px;
  }

  .nav-main-row{
    min-height:46px;
    padding:0 5px;
    border:1px solid transparent;
    border-radius:10px;
    transition:background .18s ease,border-color .18s ease;
  }

  .nav-item:hover>.nav-main-row,
  .nav-item:focus-within>.nav-main-row,
  .nav-item.submenu-open>.nav-main-row{
    background:rgba(255,255,255,.10);
    border-color:rgba(255,255,255,.12);
  }

  .main-nav .nav-link{
    min-height:44px;
    padding:0 4px !important;
    font-weight:700;
  }

  .main-nav .nav-link::after{
    left:4px;
    right:4px;
    bottom:2px;
    height:3px;
    border-radius:99px;
  }

  .submenu-toggle{
    width:20px;
    height:44px;
  }

  /* The submenu itself is transparent and attached to its parent.
     Each option is an individual compact bar, stacked vertically. */
  .submenu{
    top:calc(100% - 3px);
    left:0;
    min-width:245px;
    width:max-content;
    max-width:340px;
    padding:5px 0 0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    transform:translateY(6px);
  }

  .submenu::before{
    display:none !important;
    content:none !important;
  }

  .submenu a{
    margin:3px 0;
    padding:10px 13px;
    border:1px solid #d9e6dc;
    border-left:4px solid #2a8849;
    border-radius:8px;
    background:rgba(255,255,255,.98);
    box-shadow:none;
    color:#214c30;
    font-size:.79rem;
    line-height:1.35;
    white-space:normal;
    transform:none !important;
  }

  .submenu a:hover,
  .submenu a:focus{
    color:#0f6230;
    background:#edf7f0;
    border-color:#bcd7c3;
    border-left-color:#0f6a32;
    transform:none !important;
  }

  .nav-item:hover>.submenu,
  .nav-item:focus-within>.submenu,
  .nav-item.submenu-open>.submenu{
    transform:translateY(0);
  }

  .lang-switch{
    height:36px;
    min-width:46px;
    padding:0 12px;
    font-size:.82rem;
  }
}

@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1120px) and (orientation:portrait){
  .brand img{
    width:98px;
    height:36px;
  }

  .brand-en{
    font-size:1rem;
  }

  .brand-th{
    font-size:.55rem;
  }

  .main-nav{
    gap:1px;
    font-size:.72rem;
  }

  .nav-main-row{
    padding:0 3px;
  }

  .main-nav .nav-link{
    padding:0 2px !important;
  }

  .submenu-toggle{
    width:17px;
  }
}

@media (max-width:780px){
  .brand img{
    filter:brightness(0) invert(1) drop-shadow(0 0 .35px rgba(255,255,255,.9)) !important;
  }

  /* Mobile main menu becomes an attached, organized sheet rather than a floating card. */
  .main-nav{
    top:74px;
    left:0;
    right:0;
    width:100%;
    max-height:calc(100vh - 74px);
    padding:10px 12px 16px;
    border:0;
    border-radius:0 0 16px 16px;
    background:#f2f7f3;
    box-shadow:0 14px 28px rgba(7,40,19,.16);
    gap:5px;
  }

  .nav-item{
    margin:0;
    border:0;
  }

  .nav-main-row{
    grid-template-columns:1fr 42px;
    overflow:hidden;
    border:1px solid #dbe7de;
    border-radius:10px;
    background:#fff;
  }

  .nav-item.submenu-open>.nav-main-row{
    border-color:#acd0b6;
    background:#edf7f0;
  }

  .main-nav .nav-link{
    padding:11px 13px !important;
    color:#174f2c;
    font-size:.87rem;
    font-weight:750;
  }

  .submenu-toggle{
    width:42px;
    height:42px;
    color:#176432;
    border-left:1px solid #e1ebe4;
  }

  /* No floating white container: only close, individual menu bars. */
  .submenu{
    margin:0;
    padding:0 0 0 12px;
    background:transparent !important;
    border:0;
    box-shadow:none;
  }

  .submenu a{
    margin:3px 0;
    padding:10px 12px;
    border:1px solid #dce8df;
    border-left:4px solid #2a8849;
    border-radius:8px;
    background:#fff;
    color:#29583a;
    font-size:.79rem;
    line-height:1.35;
    box-shadow:none;
  }

  .submenu a:hover,
  .submenu a:focus{
    color:#0f6230;
    background:#eaf5ed;
    transform:none;
  }

  .nav-item.submenu-open>.submenu{
    max-height:620px;
    padding-top:5px;
    padding-bottom:4px;
  }
}

@media (max-width:420px){
  .brand img{
    width:78px;
    height:29px;
  }
}

/* =========================================================
   V85: align the desktop navigation group to the right
   ========================================================= */
@media (min-width:781px){
  .main-nav{
    margin-left:auto;
    margin-right:4px;
    justify-content:flex-end;
  }
}

/* =========================================================
   V86: restore and position the mobile hamburger menu
   ========================================================= */
@media (max-width:780px){
  .nav-bar{
    position:relative;
    justify-content:flex-start !important;
    padding-right:126px !important;
  }

  .brand{
    min-width:0;
    margin-right:auto;
  }

  .menu-toggle{
    display:flex !important;
    position:absolute;
    top:50%;
    right:70px;
    z-index:8;
    width:42px;
    height:42px;
    padding:0;
    transform:translateY(-50%);
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.28);
    border-radius:12px;
    background:rgba(255,255,255,.10);
    box-shadow:0 8px 18px rgba(3,28,12,.12);
  }

  .menu-toggle span{
    display:block;
    width:22px;
    height:2px;
    margin:3px auto;
    border-radius:99px;
    background:#fff;
  }

  .menu-toggle:focus-visible{
    outline:2px solid rgba(255,255,255,.85);
    outline-offset:2px;
  }

  .lang-switch{
    right:12px !important;
    z-index:9;
  }

  .main-nav{
    z-index:7;
  }
}

@media (max-width:420px){
  .nav-bar{
    padding-right:118px !important;
  }

  .menu-toggle{
    right:64px;
    width:40px;
    height:40px;
  }

  .lang-switch{
    right:10px !important;
    min-width:42px;
    padding:0 10px;
  }
}

/* =========================================================
   V87: mobile navigation text contrast fix
   Keep every main/submenu label readable on light menu bars.
   ========================================================= */
@media (max-width:780px){
  .main-nav,
  .main-nav .nav-item,
  .main-nav .nav-main-row{
    color:#164f2c !important;
  }

  .main-nav .nav-link,
  .main-nav .nav-link:link,
  .main-nav .nav-link:visited,
  .main-nav .nav-link:hover,
  .main-nav .nav-link:focus,
  .main-nav .nav-link:active,
  .main-nav .nav-link.active,
  .nav-item:hover>.nav-main-row .nav-link,
  .nav-item:focus-within>.nav-main-row .nav-link,
  .nav-item.submenu-open>.nav-main-row .nav-link{
    color:#164f2c !important;
    text-shadow:none !important;
    opacity:1 !important;
    -webkit-text-fill-color:#164f2c !important;
  }

  .nav-item.submenu-open>.nav-main-row,
  .nav-item:hover>.nav-main-row,
  .nav-item:focus-within>.nav-main-row{
    background:#e9f5ec !important;
    border-color:#9fc9aa !important;
  }

  .submenu-toggle,
  .nav-item.submenu-open .submenu-toggle,
  .nav-item:hover .submenu-toggle,
  .nav-item:focus-within .submenu-toggle{
    color:#176432 !important;
  }

  .submenu-toggle svg,
  .nav-item.submenu-open .submenu-toggle svg,
  .nav-item:hover .submenu-toggle svg,
  .nav-item:focus-within .submenu-toggle svg{
    stroke:#176432 !important;
  }

  .submenu a,
  .submenu a:link,
  .submenu a:visited,
  .submenu a:hover,
  .submenu a:focus,
  .submenu a:active,
  .submenu a.active{
    color:#245735 !important;
    text-shadow:none !important;
    opacity:1 !important;
    -webkit-text-fill-color:#245735 !important;
  }
}


/* V93 Services page: expandable cards + package section */
.services-page-showcase{
  padding:34px 0 38px;
  background:linear-gradient(180deg,#f7fbf8 0%,#ffffff 100%);
}
.services-page-title{margin-bottom:22px}
.services-page-title p{font-size:1.35rem;color:#174c2a}
.services-page-title h2{font-size:.9rem;color:#6b756e}
.services-page-grid.service-grid{grid-auto-columns:calc((100% - 70px)/6);padding-bottom:14px}
.service-tab{width:100%;padding:0;font:inherit;cursor:pointer;text-align:inherit}
.service-tab strong{display:block;margin:0 0 7px;color:#fff;font-size:1rem;line-height:1.35}
.service-card-summary{display:block;max-width:210px;color:rgba(255,255,255,.88);font-size:.73rem;line-height:1.65}
.service-card-more{display:inline-flex;margin-top:13px;padding:6px 11px;border:1px solid rgba(255,255,255,.45);border-radius:999px;color:#fff;font-size:.68rem;font-weight:800}
.service-tab.is-active{outline:3px solid #2d9b56;outline-offset:2px;transform:translateY(-3px)}
.service-tab.is-active .service-card-more{background:#fff;color:#19552f}
.service-expanded-panels{margin-top:24px}
.service-expanded-panel{display:none;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);overflow:hidden;border:1px solid #d7e6db;border-radius:24px;background:#fff;box-shadow:0 18px 44px rgba(22,72,39,.09)}
.service-expanded-panel.is-active{display:grid;animation:servicePanelIn .28s ease both}
.service-expanded-visual{min-height:360px;background:#e9f3ec}
.service-expanded-visual img{width:100%;height:100%;object-fit:cover;display:block}
.service-expanded-copy{padding:38px 40px;display:flex;flex-direction:column;justify-content:center}
.service-expanded-copy h2{margin:8px 0 12px;color:#143b23;font-size:clamp(1.55rem,2.7vw,2.35rem)}
.service-expanded-copy p,.service-expanded-copy li{color:#68736c;line-height:1.78}
.service-expanded-copy ul{margin:8px 0 22px;padding-left:20px}
.service-expanded-copy .btn{align-self:flex-start}
@keyframes servicePanelIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

.package-section{padding:58px 0 66px;background:linear-gradient(135deg,#eff8f1,#f9fcfa)}
.package-heading{margin-bottom:28px}
.package-heading h2{margin-top:4px;color:#153f26;font-size:clamp(1.8rem,3vw,2.7rem)}
.package-heading span{display:block;margin-top:8px;color:#68736c}
.package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.package-card{overflow:hidden;display:flex;flex-direction:column;border:1px solid #d8e5dc;border-radius:24px;background:#fff;box-shadow:0 14px 35px rgba(18,70,36,.08);transition:transform .25s ease,box-shadow .25s ease}
.package-card:hover{transform:translateY(-5px);box-shadow:0 22px 46px rgba(18,70,36,.13)}
.package-card-featured{border:2px solid #24944a;transform:translateY(-8px)}
.package-visual{position:relative;height:270px;overflow:hidden;background:linear-gradient(145deg,#f5f8f6,#e8f2eb)}
.package-screen{position:absolute;left:18px;right:18px;top:18px;width:calc(100% - 36px);height:134px;object-fit:cover;object-position:top;border-radius:14px;border:1px solid #d9e2dc;box-shadow:0 10px 24px rgba(10,30,18,.12)}
.package-device-row{position:absolute;left:22px;right:22px;bottom:13px;height:125px;display:flex;align-items:flex-end;justify-content:center;gap:5px}
.package-device-row img{height:112px;max-width:42%;object-fit:contain;filter:drop-shadow(0 8px 8px rgba(0,0,0,.15))}
.package-device-row img:first-child{height:118px}
.package-device-row-full img{max-width:35%}
.package-node-count{position:absolute;right:15px;bottom:14px;padding:7px 10px;border-radius:999px;background:#176d37;color:#fff;font-size:.7rem;font-weight:900;box-shadow:0 6px 15px rgba(23,109,55,.25)}
.package-copy{flex:1;padding:25px 26px 28px;display:flex;flex-direction:column}
.package-level{color:#258c4a;font-size:.72rem;font-weight:900;letter-spacing:.12em}
.package-copy h3{margin:7px 0 9px;color:#153f26;font-size:1.35rem}
.package-copy p{margin:0;color:#6c766f;line-height:1.65;font-size:.88rem}
.package-copy ul{margin:17px 0 24px;padding:0;list-style:none}
.package-copy li{position:relative;margin:8px 0;padding-left:24px;color:#344d3c;font-weight:700}
.package-copy li::before{content:'✓';position:absolute;left:0;color:#24944a;font-weight:900}
.package-copy .btn{margin-top:auto;align-self:flex-start}

@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .services-page-grid.service-grid{grid-auto-columns:calc((100% - 28px)/3)}
  .package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .package-card-featured{transform:none}
  .package-card:last-child{grid-column:1/-1;max-width:560px;width:100%;justify-self:center}
}
@media (max-width:780px){
  .services-page-showcase{padding-top:24px}
  .services-page-grid.service-grid{grid-auto-columns:calc((100% - 14px)/2)}
  .service-expanded-panel.is-active{grid-template-columns:1fr}
  .service-expanded-visual{min-height:250px}
  .service-expanded-copy{padding:26px 24px 30px}
  .package-grid{grid-template-columns:1fr}
  .package-card:last-child{grid-column:auto;max-width:none}
  .package-visual{height:250px}
}
@media (max-width:520px){
  .services-page-grid.service-grid{grid-auto-columns:84%}
  .service-tab{min-height:238px}
  .service-expanded-visual{min-height:220px}
  .package-section{padding:42px 0 48px}
}


/* V95 Nationwide installation banner — white and compact */
.nationwide-install-banner{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin:0 0 24px;
  padding:15px 18px;
  border:1px solid #d8e5db;
  border-radius:17px;
  background:#fff;
  box-shadow:0 8px 22px rgba(20,82,43,.07);
  color:#173f28;
}
.nationwide-install-banner::before{
  content:"";
  display:none;
}
.nationwide-install-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid #cfe0d3;
  border-radius:14px;
  background:#f3f8f4;
  box-shadow:none;
}
.nationwide-install-icon svg{
  width:29px;
  height:29px;
  stroke:#18723b;
  stroke-width:2.35;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.nationwide-install-copy span{
  display:block;
  margin-bottom:2px;
  color:#348153;
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.12em;
}
.nationwide-install-copy h2{
  margin:0;
  color:#153e27;
  font-size:clamp(1.05rem,1.8vw,1.38rem);
  line-height:1.25;
}
.nationwide-install-copy p{
  max-width:760px;
  margin:4px 0 0;
  color:#667269;
  font-size:.82rem;
  line-height:1.55;
}
.nationwide-install-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:0 15px;
  border:1px solid #b9d2bf;
  border-radius:999px;
  background:#fff;
  color:#185d33;
  font-size:.82rem;
  font-weight:900;
  white-space:nowrap;
  box-shadow:none;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.nationwide-install-cta:hover{
  transform:translateY(-1px);
  background:#f3f8f4;
  border-color:#8fba99;
}
.nationwide-install-cta b{font-size:1rem}

@media(max-width:780px){
  .nationwide-install-banner{
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:11px;
    padding:13px 14px;
    border-radius:15px;
  }
  .nationwide-install-icon{width:43px;height:43px;border-radius:12px}
  .nationwide-install-icon svg{width:25px;height:25px}
  .nationwide-install-copy p{display:none}
  .nationwide-install-cta{
    min-height:35px;
    padding:0 12px;
    font-size:.76rem;
  }
}
@media(max-width:520px){
  .nationwide-install-banner{
    grid-template-columns:auto minmax(0,1fr);
    text-align:left;
    margin-bottom:20px;
    padding:12px 13px;
  }
  .nationwide-install-icon{margin:0}
  .nationwide-install-copy span{font-size:.56rem}
  .nationwide-install-copy h2{font-size:1rem}
  .nationwide-install-cta{
    grid-column:1/-1;
    width:100%;
    min-height:36px;
    margin-top:1px;
  }
}


/* ===== V97 Article Book Library ===== */
.book-page-intro{
  padding:72px 0 30px;
  text-align:center;
  background:linear-gradient(180deg,#f7fbf8 0%,#fff 100%);
}
.book-page-intro .page-kicker{margin:0 0 8px;color:#188340;font-weight:800;letter-spacing:.16em;font-size:.8rem}
.book-page-intro h1{margin:0;color:#123f25;font-size:clamp(2.3rem,5vw,4.6rem);line-height:1}
.book-page-intro .container>p:last-child{margin:16px auto 0;color:#66756b;max-width:660px;font-size:1.04rem}
.book-library-section{padding-top:30px}
.book-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:46px 36px;align-items:start}
.book-article{min-width:0}
.book-article>summary{list-style:none}
.book-article>summary::-webkit-details-marker{display:none}
.book-cover{
  position:relative;display:block;min-height:480px;overflow:hidden;cursor:pointer;
  border-radius:5px 18px 18px 5px;background:#17472a;color:#fff;
  box-shadow:0 26px 46px rgba(11,48,25,.22),-8px 7px 0 #d6e2d9;
  transform:perspective(1000px) rotateY(-7deg);transform-origin:left center;
  transition:transform .28s ease,box-shadow .28s ease;
}
.book-cover:hover{transform:perspective(1000px) rotateY(-2deg) translateY(-8px);box-shadow:0 34px 56px rgba(11,48,25,.28),-8px 7px 0 #d6e2d9}
.book-cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.book-cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,34,19,.16) 0%,rgba(8,34,18,.32) 37%,rgba(5,25,12,.92) 100%)}
.book-spine{position:absolute;inset:0 auto 0 0;width:26px;background:linear-gradient(90deg,rgba(255,255,255,.25),rgba(0,0,0,.33),rgba(255,255,255,.08));border-right:1px solid rgba(255,255,255,.18)}
.book-brand{position:absolute;left:44px;right:24px;top:30px;display:flex;align-items:center;gap:10px;font-style:normal;letter-spacing:.09em}
.book-brand img{width:78px;height:28px;object-fit:contain;object-position:left;filter:none}
.book-brand b{font-size:.86rem;color:#fff}
.book-category{position:absolute;left:44px;top:105px;padding:7px 11px;border:1px solid rgba(255,255,255,.5);border-radius:999px;font-size:.76rem;font-weight:700;background:rgba(13,67,34,.42);backdrop-filter:blur(5px)}
.book-cover strong{position:absolute;left:44px;right:25px;bottom:105px;font-size:clamp(1.55rem,2.6vw,2.25rem);line-height:1.18;text-shadow:0 2px 16px rgba(0,0,0,.35)}
.book-cover small{position:absolute;left:44px;right:25px;bottom:71px;font-size:.92rem;color:rgba(255,255,255,.86)}
.book-cover em{position:absolute;left:44px;bottom:27px;font-size:.78rem;font-style:normal;font-weight:800;color:#d8ffe2;letter-spacing:.05em}
.book-reading{display:none;background:#fff;border:1px solid #dbe7de;border-radius:20px;padding:34px 38px;box-shadow:0 18px 40px rgba(16,61,31,.08);align-self:stretch}
.book-article[open]{grid-column:1/-1;display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:38px;align-items:start;padding:10px 0 26px}
.book-article[open] .book-cover{min-height:460px;transform:none}
.book-article[open] .book-reading{display:block}
.book-reading-kicker{margin:0 0 8px;color:#17833f;font-size:.8rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.book-reading h2{margin:0 0 18px;color:#123f25;font-size:clamp(1.65rem,3vw,2.5rem);line-height:1.25}
.book-reading p{color:#526159;line-height:1.85;margin:0 0 15px}
.book-reading ul{margin:20px 0 0;padding:18px 22px 18px 42px;border-radius:14px;background:#f2f8f4;color:#244c31;line-height:1.8}
@media (max-width:980px), (orientation:portrait) and (max-width:1000px){.book-library{grid-template-columns:repeat(2,minmax(0,1fr))}.book-article[open]{grid-template-columns:300px 1fr}.book-cover{min-height:450px}}
@media (max-width:720px){.book-page-intro{padding:48px 0 18px}.book-library-section{padding-top:20px}.book-library{grid-template-columns:1fr;gap:34px}.book-cover{min-height:450px;max-width:390px;margin:0 auto;width:100%}.book-article[open]{display:block;padding-bottom:18px}.book-article[open] .book-cover{min-height:430px}.book-reading{margin-top:26px;padding:26px 22px}.book-brand,.book-category,.book-cover strong,.book-cover small,.book-cover em{left:38px}.book-cover strong{font-size:1.8rem}}



/* V98 — 3D stacked standing-book showcase */
.book-library-section{
  padding-top:38px;
  overflow:hidden;
}
.book-library{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:70px 58px;
  align-items:start;
  padding-top:16px;
  padding-bottom:34px;
}
.book-article{
  min-width:0;
  padding:16px 18px 18px 4px;
}
.book-cover{
  position:relative;
  display:block;
  width:min(100%,360px);
  aspect-ratio:0.73;
  min-height:0;
  margin:0 auto;
  overflow:visible;
  cursor:pointer;
  border-radius:4px 18px 18px 4px;
  background:transparent;
  color:#fff;
  box-shadow:none;
  transform:perspective(1300px) rotateY(-7deg);
  transform-origin:left center;
  transition:transform .28s ease,filter .28s ease;
  isolation:isolate;
}
.book-cover::before,
.book-cover::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:4px 18px 18px 4px;
  background-image:
    linear-gradient(90deg,rgba(10,65,32,.96) 0 8%,rgba(255,255,255,.2) 8.5%,rgba(255,255,255,0) 14%),
    linear-gradient(180deg,rgba(5,34,16,.08),rgba(5,34,16,.48)),
    var(--book-cover);
  background-size:cover;
  background-position:center;
  box-shadow:-5px 5px 0 #e7ece8,0 20px 34px rgba(14,54,28,.18);
  pointer-events:none;
}
.book-cover::before{
  transform:translate(-24px,-8px) scale(.985);
  z-index:-3;
  filter:saturate(.92) brightness(.88);
}
.book-cover::after{
  transform:translate(-12px,-4px) scale(.993);
  z-index:-2;
  filter:saturate(.96) brightness(.94);
}
.book-cover:hover{
  transform:perspective(1300px) rotateY(-2deg) translateY(-8px);
  box-shadow:none;
  filter:drop-shadow(0 30px 28px rgba(12,52,26,.22));
}
.book-cover-photo{
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:4px 18px 18px 4px;
  box-shadow:-7px 7px 0 #edf1ed,0 26px 42px rgba(11,48,25,.24);
}
.book-cover-shade{
  z-index:2;
  border-radius:4px 18px 18px 4px;
  background:linear-gradient(180deg,rgba(7,36,18,.04) 0%,rgba(6,31,15,.2) 34%,rgba(4,24,11,.9) 100%);
}
.book-spine{
  z-index:3;
  width:34px;
  border-radius:4px 0 0 4px;
  background:
    linear-gradient(90deg,rgba(4,47,22,.98),rgba(31,114,57,.95) 45%,rgba(2,40,17,.9));
  border-right:1px solid rgba(255,255,255,.3);
  box-shadow:inset -4px 0 8px rgba(0,0,0,.22),inset 3px 0 4px rgba(255,255,255,.14);
}
.book-brand,
.book-category,
.book-cover strong,
.book-cover small,
.book-cover em{
  z-index:4;
}
.book-brand{
  left:52px;
  top:26px;
  right:22px;
  padding:9px 10px;
  border-radius:8px;
  background:rgba(255,255,255,.91);
  color:#144b29;
  box-shadow:0 8px 22px rgba(0,0,0,.1);
}
.book-brand img{
  width:72px;
  height:26px;
  object-fit:contain;
  object-position:left;
  filter:none;
}
.book-brand b{
  color:#15512c;
  font-size:.82rem;
}
.book-category{
  left:52px;
  top:96px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.64);
  background:rgba(12,76,36,.78);
  color:#fff;
}
.book-cover strong{
  left:52px;
  right:24px;
  bottom:112px;
  padding:14px 15px;
  border-radius:8px;
  background:rgba(255,255,255,.92);
  color:#123f25;
  text-shadow:none;
  font-size:clamp(1.35rem,2.2vw,1.95rem);
  line-height:1.18;
  box-shadow:0 10px 24px rgba(0,0,0,.15);
}
.book-cover small{
  left:52px;
  right:24px;
  bottom:72px;
  color:rgba(255,255,255,.94);
  font-weight:600;
  text-shadow:0 2px 10px rgba(0,0,0,.6);
}
.book-cover em{
  left:52px;
  bottom:28px;
  color:#fff;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(18,114,52,.86);
  box-shadow:0 8px 18px rgba(0,0,0,.16);
}
.book-article[open]{
  padding:18px 0 32px;
  grid-template-columns:minmax(300px,390px) minmax(0,1fr);
  gap:56px;
}
.book-article[open] .book-cover{
  width:min(100%,360px);
  aspect-ratio:.73;
  min-height:0;
  transform:perspective(1300px) rotateY(-3deg);
}
@media (max-width:980px), (orientation:portrait) and (max-width:1000px){
  .book-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:64px 46px}
  .book-article[open]{grid-template-columns:300px 1fr;gap:42px}
  .book-cover{width:min(100%,340px);min-height:0}
}
@media (max-width:720px){
  .book-library{grid-template-columns:1fr;gap:58px;padding-left:22px;padding-right:10px}
  .book-article{padding-left:10px;padding-right:6px}
  .book-cover{width:min(86vw,350px);min-height:0;max-width:none;margin:0 auto}
  .book-cover::before{transform:translate(-18px,-7px) scale(.985)}
  .book-cover::after{transform:translate(-9px,-3px) scale(.993)}
  .book-article[open]{display:block;padding-bottom:22px}
  .book-article[open] .book-cover{width:min(86vw,350px);min-height:0}
  .book-brand,.book-category,.book-cover strong,.book-cover small,.book-cover em{left:48px}
  .book-cover strong{font-size:1.55rem}
  .book-reading{margin-top:34px}
}



/* ===== V99 Compact 3-Book Article Library ===== */
.compact-article-page{background:#fff}
.compact-book-intro{padding:62px 0 24px;text-align:center;background:linear-gradient(180deg,#f6faf7 0%,#fff 100%)}
.compact-book-intro .page-kicker{margin:0 0 8px;color:#188340;font-size:.78rem;font-weight:800;letter-spacing:.17em}
.compact-book-intro h1{margin:0;color:#113f24;font-size:clamp(2.35rem,5vw,4.1rem);line-height:1}
.compact-book-intro .container>p:last-child{max-width:680px;margin:15px auto 0;color:#66756b;line-height:1.65}
.compact-book-section{padding:32px 0 80px}
.compact-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px;align-items:start}
.compact-book-item{text-align:center;min-width:0}
.compact-book-button{position:relative;display:block;width:min(100%,270px);aspect-ratio:.74;margin:0 auto 22px;padding:0;border:0;background:transparent;cursor:pointer;perspective:1200px;isolation:isolate}
.book-stack-layer,.compact-book-shell{position:absolute;inset:0;border-radius:0;background:#164f2b;box-shadow:0 18px 34px rgba(14,53,28,.18)}
.book-stack-layer.layer-back{transform:translate(-16px,-7px);z-index:-2;background-image:linear-gradient(90deg,#ffffff 0 28px,#f2f4f2 28px);border:1px solid #d8dfda}
.book-stack-layer.layer-middle{transform:translate(-8px,-3px);z-index:-1;background-image:linear-gradient(90deg,#ffffff 0 28px,#f7f8f7 28px);border:1px solid #d8dfda}
.compact-book-shell{overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;transform:rotateY(-3deg);transform-origin:left center;background:#174f2b}
.compact-book-button:hover .compact-book-shell,.compact-book-button:focus-visible .compact-book-shell{transform:rotateY(0) translateY(-6px);box-shadow:0 28px 48px rgba(14,53,28,.24)}
.compact-book-shell>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.compact-book-gradient{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,31,15,.03) 0%,rgba(5,31,15,.18) 42%,rgba(4,25,12,.92) 100%)}
.compact-book-spine{position:absolute;z-index:5;left:0;top:0;bottom:0;width:31px;border-right:1px solid #d5ddd7;background:linear-gradient(90deg,#f3f5f3 0%,#ffffff 44%,#e7ece8 100%);box-shadow:inset -4px 0 7px rgba(20,63,36,.10)}
.compact-book-spine b{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(180deg);writing-mode:vertical-rl;color:#164f2b;font-size:.67rem;font-weight:800;letter-spacing:.16em;white-space:nowrap}
.compact-book-logo{position:absolute;z-index:4;left:45px;right:14px;top:17px;display:flex;align-items:center;gap:7px;padding:7px 8px;background:rgba(255,255,255,.93);color:#154c2a;text-align:left}
.compact-book-logo img{width:54px;height:19px;object-fit:contain;object-position:left}
.compact-book-logo b{font-size:.7rem;letter-spacing:.08em}
.compact-book-category{position:absolute;z-index:4;left:45px;top:69px;padding:5px 8px;background:rgba(16,101,47,.88);color:#fff;font-size:.66rem;font-weight:800;letter-spacing:.02em}
.compact-book-shell>strong{position:absolute;z-index:4;left:45px;right:14px;bottom:69px;padding:10px 11px;background:rgba(255,255,255,.94);color:#123f25;font-size:clamp(1.05rem,1.8vw,1.32rem);line-height:1.22;text-align:left}
.compact-book-shell>small{position:absolute;z-index:4;left:45px;right:14px;bottom:25px;color:#fff;font-size:.75rem;font-weight:600;line-height:1.4;text-align:left;text-shadow:0 2px 9px rgba(0,0,0,.65)}
.compact-book-item h2{margin:0 0 7px;color:#153f27;font-size:1.25rem;line-height:1.25}
.compact-book-item>p{max-width:300px;margin:0 auto;color:#66756b;font-size:.92rem;line-height:1.6}
.article-modal{position:fixed;inset:0;z-index:5000;display:none;align-items:center;justify-content:center;padding:24px}
.article-modal.is-open{display:flex}
.article-modal-backdrop{position:absolute;inset:0;background:rgba(5,22,12,.72);backdrop-filter:blur(4px)}
.article-modal-panel{position:relative;z-index:1;width:min(920px,100%);max-height:min(86vh,900px);overflow:auto;padding:48px 52px;background:#fff;border:1px solid #dbe8de;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.article-modal-close{position:sticky;float:right;top:0;z-index:2;width:42px;height:42px;margin:-28px -32px 4px 18px;border:0;background:#15572e;color:#fff;font-size:1.8rem;line-height:1;cursor:pointer}
.article-reader-kicker{margin:0 0 8px;color:#188340;font-size:.76rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.article-reader-content h2{margin:0 0 20px;color:#123f25;font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.2}
.article-reader-lead{font-size:1.08rem;color:#3f5748!important}
.article-reader-content h3{margin:27px 0 9px;color:#19552f;font-size:1.25rem}
.article-reader-content p{margin:0 0 15px;color:#56655c;line-height:1.85}
.article-reader-content ul{margin:18px 0 22px;padding:18px 22px 18px 42px;background:#f1f8f3;color:#244d31;line-height:1.8}
body.article-modal-open{overflow:hidden}
@media(max-width:900px){.compact-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:46px 34px}.compact-book-item:last-child{grid-column:1/-1}.article-modal-panel{padding:44px 34px}}
@media(max-width:620px){.compact-book-intro{padding:46px 0 20px}.compact-book-section{padding-top:24px}.compact-book-grid{grid-template-columns:1fr;gap:44px}.compact-book-item:last-child{grid-column:auto}.compact-book-button{width:min(74vw,250px)}.article-modal{padding:10px}.article-modal-panel{max-height:92vh;padding:42px 22px 30px}.article-modal-close{margin:-28px -8px 3px 12px}.compact-book-shell>strong{font-size:1.08rem}}


/* V100: retain all six article books; three per row on desktop and normal flow on smaller screens */
@media(max-width:900px){.compact-book-item:last-child{grid-column:auto}}

/* V101: smaller article books, keep all 6 articles and 3 items per desktop row */
@media (min-width: 901px){
  .compact-book-grid{gap:34px 28px;}
  .compact-book-button{width:min(100%,220px);margin-bottom:17px;}
  .compact-book-spine{width:27px;}
  .compact-book-logo{left:39px;right:11px;top:14px;padding:6px 7px;}
  .compact-book-logo img{width:45px;height:16px;}
  .compact-book-category{left:39px;top:58px;font-size:.6rem;}
  .compact-book-shell>strong{left:39px;right:11px;bottom:57px;font-size:1rem;padding:8px 9px;}
  .compact-book-shell>small{left:39px;right:11px;bottom:20px;font-size:.68rem;}
  .compact-book-item h2{font-size:1.08rem;}
  .compact-book-item>p{font-size:.86rem;}
}
@media (max-width: 620px){
  .compact-book-button{width:min(66vw,215px);}
}


/* =========================================================
   V103 — PROFESSIONAL ABOUT PAGE
========================================================= */
.about-pro-page{background:#fff}
.about-pro-hero{position:relative;overflow:hidden;padding:78px 0 82px;background:linear-gradient(135deg,#f7fbf8 0%,#fff 57%,#eef7f0 100%);border-bottom:1px solid #e2ebe4}
.about-pro-hero::before{content:"";position:absolute;width:430px;height:430px;border-radius:50%;right:-150px;top:-210px;background:radial-gradient(circle,rgba(55,159,83,.17),rgba(55,159,83,0) 68%)}
.about-pro-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,.92fr) minmax(460px,1.08fr);gap:68px;align-items:center}
.about-pro-eyebrow,.about-pro-heading>p{margin:0 0 13px;color:#1b8b42;font-size:13px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.about-pro-copy h1{margin:0;color:#133a22;font-size:clamp(44px,4.8vw,72px);line-height:1.07;letter-spacing:-.04em}
.about-pro-copy h1 span{color:#16893e}
.about-pro-lead{max-width:650px;margin:24px 0 0;color:#4d6254;font-size:18px;line-height:1.85}
.about-pro-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:29px}
.about-pro-points{display:flex;flex-wrap:wrap;gap:11px 20px;margin-top:27px;color:#325940;font-size:14px;font-weight:700}
.about-pro-visual{position:relative;padding:18px 14px 24px 10px}
.about-pro-image-frame{overflow:hidden;border:1px solid #dbe7de;border-radius:28px;background:#fff;box-shadow:0 28px 64px rgba(23,67,36,.14)}
.about-pro-image-frame img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.about-pro-badge{position:absolute;z-index:2;display:flex;flex-direction:column;min-width:166px;padding:14px 17px;border:1px solid rgba(32,105,53,.14);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 14px 34px rgba(23,67,36,.14);backdrop-filter:blur(10px)}
.about-pro-badge b{color:#155c30;font-size:13px;letter-spacing:.08em}
.about-pro-badge small{margin-top:4px;color:#617067;font-size:12px}
.about-pro-badge.badge-top{right:-2px;top:-1px}
.about-pro-badge.badge-bottom{left:-18px;bottom:0}
.about-pro-section{padding:88px 0}
.about-pro-soft{background:#f5f9f6;border-block:1px solid #e4ece6}
.about-pro-heading{max-width:860px;margin:0 0 43px}
.about-pro-heading.center{margin-inline:auto;text-align:center}
.about-pro-heading h2,.about-pro-standard-copy h2,.about-pro-cta h2{margin:0;color:#143b22;font-size:clamp(31px,3vw,48px);line-height:1.22;letter-spacing:-.025em}
.about-pro-heading>span{display:block;margin-top:16px;color:#607066;font-size:17px;line-height:1.8}
.about-pro-principles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.about-pro-principles article{min-height:260px;padding:27px 25px;border:1px solid #dce7df;border-radius:21px;background:#fff;box-shadow:0 15px 36px rgba(28,67,40,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.about-pro-principles article:hover{transform:translateY(-5px);border-color:#abd2b6;box-shadow:0 20px 45px rgba(28,67,40,.1)}
.about-pro-icon{display:grid;place-items:center;width:50px;height:50px;margin-bottom:28px;border-radius:15px;background:#e9f6ed;color:#16893e;font-weight:800}
.about-pro-principles h3{margin:0;color:#173d24;font-size:21px}
.about-pro-principles p{margin:12px 0 0;color:#657268;font-size:15px;line-height:1.75}
.about-pro-standard-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(540px,1.15fr);gap:66px;align-items:center}
.about-pro-standard-copy>p:not(.about-pro-eyebrow){margin:20px 0 0;color:#607066;font-size:17px;line-height:1.8}
.about-pro-checklist{display:grid;gap:13px;margin:28px 0 0;padding:0;list-style:none}
.about-pro-checklist li{position:relative;padding:14px 16px 14px 50px;border:1px solid #dce8df;border-radius:14px;background:#fff;color:#31513a;font-weight:650;line-height:1.6}
.about-pro-checklist li::before{content:"✓";position:absolute;left:17px;top:12px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e5f6ea;color:#16893e;font-weight:900}
.about-pro-photo-grid{display:grid;grid-template-columns:1.18fr .82fr;grid-template-rows:1fr 1fr;gap:13px;height:520px}
.about-pro-photo-grid img{display:block;width:100%;height:100%;object-fit:cover;border-radius:19px;border:1px solid #dce7df;background:#fff}
.about-pro-photo-grid .photo-main{grid-row:1/3}
.about-pro-process{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.about-pro-process::before{content:"";position:absolute;left:8%;right:8%;top:34px;height:2px;background:linear-gradient(90deg,#b9d9c1,#16893e,#b9d9c1)}
.about-pro-process article{position:relative;padding:0 6px;text-align:center}
.about-pro-process article>b{position:relative;z-index:1;display:grid;place-items:center;width:68px;height:68px;margin:0 auto 24px;border:7px solid #fff;border-radius:50%;background:#16893e;color:#fff;box-shadow:0 10px 25px rgba(22,137,62,.2);font-size:15px}
.about-pro-process h3{margin:0;color:#173d24;font-size:19px}
.about-pro-process p{margin:10px 0 0;color:#657268;font-size:14px;line-height:1.7}
.about-pro-cta{padding:0 0 88px}
.about-pro-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:34px;padding:42px 46px;border:1px solid #d4e5d9;border-radius:24px;background:linear-gradient(125deg,#f3faf5,#fff 72%);box-shadow:0 18px 44px rgba(28,67,40,.07)}
.about-pro-cta p{margin:0 0 8px;color:#16893e;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.about-pro-cta h2{max-width:800px;font-size:clamp(27px,2.7vw,42px)}
.about-pro-cta .btn{flex:0 0 auto}
@media (max-width:980px), (orientation:portrait) and (max-width:1100px){
  .about-pro-hero-grid,.about-pro-standard-grid{grid-template-columns:1fr;gap:45px}
  .about-pro-hero-grid{max-width:900px}
  .about-pro-visual{max-width:820px;width:100%;margin:auto}
  .about-pro-principles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .about-pro-standard-grid{max-width:900px}
}
@media(max-width:780px){
  .about-pro-hero{padding:0 0 54px}
  .about-pro-hero-grid{display:flex;flex-direction:column-reverse;gap:32px;padding-inline:0}
  .about-pro-copy{padding:0 20px}
  .about-pro-visual{padding:0;width:100%;max-width:none}
  .about-pro-image-frame{border-radius:0;border-inline:0;box-shadow:none}
  .about-pro-image-frame img{aspect-ratio:16/10;object-fit:contain;background:#f7f7f5}
  .about-pro-badge{display:none}
  .about-pro-copy h1{font-size:clamp(39px,11vw,58px)}
  .about-pro-lead{font-size:16px;line-height:1.75}
  .about-pro-points{display:grid;grid-template-columns:1fr 1fr}
  .about-pro-section{padding:62px 0}
  .about-pro-heading{margin-bottom:30px}
  .about-pro-heading h2,.about-pro-standard-copy h2{font-size:32px}
  .about-pro-principles{grid-template-columns:1fr}
  .about-pro-principles article{min-height:0}
  .about-pro-photo-grid{height:430px;grid-template-columns:1fr 1fr;grid-template-rows:1.2fr .8fr}
  .about-pro-photo-grid .photo-main{grid-row:auto;grid-column:1/3}
  .about-pro-process{grid-template-columns:1fr;gap:12px}
  .about-pro-process::before{display:none}
  .about-pro-process article{display:grid;grid-template-columns:58px 1fr;gap:15px;align-items:start;padding:18px;border:1px solid #dce7df;border-radius:16px;text-align:left}
  .about-pro-process article>b{width:50px;height:50px;margin:0;border-width:5px}
  .about-pro-process h3{margin-top:3px}
  .about-pro-cta{padding-bottom:62px}
  .about-pro-cta-inner{display:block;padding:30px 24px}
  .about-pro-cta .btn{margin-top:23px;width:100%}
}
@media(max-width:520px){
  .about-pro-actions{display:grid}
  .about-pro-actions .btn{width:100%}
  .about-pro-points{grid-template-columns:1fr}
  .about-pro-photo-grid{height:390px}
}


/* =========================================================
   ABOUT LOCATION / COMPANY INFORMATION PAGE — V104
   ========================================================= */
.about-location-page{background:#fff}
.about-location-hero{padding:72px 0 68px;background:linear-gradient(135deg,#f7faf8 0%,#fff 58%,#eef7f1 100%);border-bottom:1px solid #e0e9e2}
.about-location-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.78fr);gap:64px;align-items:center}
.about-location-kicker,.about-location-section-head>p{margin:0 0 12px;color:#188640;font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.about-location-hero h1{margin:0;color:#143a22;font-size:clamp(43px,5vw,70px);line-height:1.08;letter-spacing:-.04em}
.about-location-hero h1 span{color:#188640}
.about-location-lead{max-width:720px;margin:24px 0 0;color:#526359;font-size:18px;line-height:1.85}
.about-location-summary{display:grid;grid-template-columns:86px 1fr;gap:22px;align-items:center;padding:30px;border:1px solid #dce8df;border-radius:24px;background:rgba(255,255,255,.92);box-shadow:0 22px 50px rgba(28,67,40,.09)}
.about-location-mark{display:grid;place-items:center;width:86px;height:86px;border-radius:22px;background:#e8f6ec;color:#16893e;font-size:42px;font-weight:800}
.about-location-summary small{color:#188640;font-size:11px;font-weight:800;letter-spacing:.12em}
.about-location-summary h2{margin:8px 0;color:#183d25;font-size:24px;line-height:1.35}
.about-location-summary p{margin:0;color:#667269;line-height:1.7}
.about-location-section{padding:78px 0}
.about-location-soft{background:#f5f8f6;border-block:1px solid #e2eae4}
.about-location-section-head{max-width:760px;margin:0 0 36px}
.about-location-section-head.center{margin-inline:auto;text-align:center}
.about-location-section-head h2,.about-address-panel h2,.about-hours-grid h2,.about-location-cta h2{margin:0;color:#153b22;font-size:clamp(31px,3.2vw,46px);line-height:1.2;letter-spacing:-.025em}
.about-location-section-head>span{display:block;margin-top:13px;color:#657168;font-size:16px;line-height:1.75}
.about-company-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.about-company-facts article{min-height:142px;padding:23px;border:1px solid #dce7df;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(28,67,40,.045)}
.about-company-facts small{display:block;margin-bottom:13px;color:#188640;font-size:12px;font-weight:800;letter-spacing:.06em}
.about-company-facts strong{display:block;color:#284c33;font-size:17px;line-height:1.55}
.about-location-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(390px,.8fr);gap:28px;align-items:stretch}
.about-map-placeholder{position:relative;min-height:470px;overflow:hidden;border:1px solid #d8e4dc;border-radius:24px;background:linear-gradient(145deg,#eef4ef,#fff);box-shadow:0 18px 42px rgba(28,67,40,.07)}
.about-map-placeholder::before,.about-map-placeholder::after{content:"";position:absolute;inset:-20% -10%;background:repeating-linear-gradient(25deg,transparent 0 76px,rgba(91,137,104,.11) 77px 81px,transparent 82px 145px);transform:rotate(-7deg)}
.about-map-placeholder::after{background:repeating-linear-gradient(112deg,transparent 0 90px,rgba(91,137,104,.08) 91px 95px,transparent 96px 170px);transform:rotate(4deg)}
.about-map-pin{position:absolute;z-index:2;left:50%;top:45%;display:grid;place-items:center;width:74px;height:74px;border:10px solid #fff;border-radius:50% 50% 50% 8px;background:#16893e;color:#fff;box-shadow:0 14px 35px rgba(22,137,62,.25);font-size:16px;transform:translate(-50%,-50%) rotate(-45deg)}
.about-map-pin::first-letter{transform:rotate(45deg)}
.about-map-lines{position:absolute;inset:0;z-index:1}
.about-map-lines i{position:absolute;border:2px solid rgba(22,137,62,.12);border-radius:48%;transform:rotate(-12deg)}
.about-map-lines i:nth-child(1){width:280px;height:150px;left:-40px;top:40px}.about-map-lines i:nth-child(2){width:360px;height:180px;right:-90px;top:120px}.about-map-lines i:nth-child(3){width:300px;height:130px;left:130px;bottom:-30px}.about-map-lines i:nth-child(4){width:180px;height:320px;right:70px;top:-80px}
.about-map-caption{position:absolute;z-index:3;left:22px;right:22px;bottom:22px;padding:17px 19px;border:1px solid rgba(28,92,47,.12);border-radius:16px;background:rgba(255,255,255,.92);box-shadow:0 12px 25px rgba(28,67,40,.08);backdrop-filter:blur(8px)}
.about-map-caption b{display:block;color:#1d5630}.about-map-caption span{display:block;margin-top:4px;color:#69766d;font-size:13px}
.about-address-panel{padding:36px;border:1px solid #d9e5dc;border-radius:24px;background:#fff;box-shadow:0 18px 42px rgba(28,67,40,.07)}
.about-address-block{display:grid;grid-template-columns:54px 1fr;gap:16px;margin-top:29px;padding:21px;border:1px solid #e0e9e2;border-radius:17px;background:#f8faf8}
.about-address-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#e8f6ec;color:#16893e;font-size:27px}
.about-address-block small{display:block;color:#188640;font-size:12px;font-weight:800}.about-address-block strong{display:block;margin-top:6px;color:#294a33;font-size:18px}.about-address-block p{margin:7px 0 0;color:#6b766e;line-height:1.6}
.about-address-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.about-address-actions .btn[disabled]{opacity:.55;cursor:not-allowed}
.about-address-note{margin:14px 0 0;color:#7b847e;font-size:12px;line-height:1.6}
.about-contact-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.about-contact-cards article{padding:28px;border:1px solid #dce7df;border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(28,67,40,.055)}
.about-contact-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:22px;border-radius:15px;background:#e8f6ec;color:#16893e;font-size:16px;font-weight:900}
.about-contact-cards small{color:#188640;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.about-contact-cards h3{margin:9px 0 0;color:#294a33;font-size:19px;line-height:1.45}.about-contact-cards p{margin:10px 0 0;color:#68746c;line-height:1.7}
.about-hours-section{padding-top:20px}
.about-hours-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(440px,1.2fr);gap:46px;align-items:center;padding:42px;border:1px solid #d7e5db;border-radius:24px;background:linear-gradient(125deg,#f4faf6,#fff 75%);box-shadow:0 18px 42px rgba(28,67,40,.06)}
.about-hours-grid>div:first-child>p:last-child{margin:18px 0 0;color:#66736a;font-size:16px;line-height:1.75}
.about-hours-card{overflow:hidden;border:1px solid #dde7e0;border-radius:18px;background:#fff}.about-hours-card>div{display:flex;justify-content:space-between;gap:20px;padding:18px 21px;border-bottom:1px solid #e5ece7}.about-hours-card>div:last-child{border-bottom:0}.about-hours-card span{color:#53645a}.about-hours-card strong{color:#245031;text-align:right}
.about-location-cta{padding:0 0 82px}.about-location-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:39px 42px;border:1px solid #d6e4da;border-radius:23px;background:#fff;box-shadow:0 16px 40px rgba(28,67,40,.065)}
.about-location-cta p{margin:0 0 8px;color:#188640;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.about-location-cta h2{max-width:820px;font-size:clamp(27px,2.6vw,39px)}.about-location-cta .btn{flex:0 0 auto}
@media (max-width:980px), (orientation:portrait) and (max-width:1050px){.about-location-hero-grid,.about-location-grid,.about-hours-grid{grid-template-columns:1fr}.about-company-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.about-location-summary{max-width:720px}.about-map-placeholder{min-height:420px}}
@media (max-width:720px){.about-location-hero{padding:54px 0 48px}.about-location-hero-grid{gap:30px}.about-location-hero h1{font-size:clamp(38px,12vw,54px)}.about-location-lead{font-size:16px;line-height:1.75}.about-location-summary{grid-template-columns:62px 1fr;padding:22px;gap:16px}.about-location-mark{width:62px;height:62px;border-radius:17px;font-size:31px}.about-location-summary h2{font-size:19px}.about-location-section{padding:58px 0}.about-company-facts,.about-contact-cards{grid-template-columns:1fr}.about-company-facts article{min-height:0}.about-map-placeholder{min-height:360px;border-radius:18px}.about-address-panel{padding:25px 20px}.about-address-actions{display:grid}.about-address-actions .btn{width:100%}.about-hours-grid{padding:27px 20px;gap:28px}.about-hours-card>div{display:grid;gap:7px}.about-hours-card strong{text-align:left}.about-location-cta{padding-bottom:60px}.about-location-cta-inner{display:block;padding:29px 22px}.about-location-cta .btn{width:100%;margin-top:22px}}

/* V106: embedded Google Maps */
.about-map-embed{
  min-height:470px;
  overflow:hidden;
  border:1px solid #d8e4dc;
  border-radius:24px;
  background:#eef4ef;
  box-shadow:0 18px 42px rgba(28,67,40,.07);
}
.about-map-embed iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:470px;
  border:0;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .about-map-embed,.about-map-embed iframe{min-height:420px}
}
@media (max-width:720px){
  .about-map-embed{min-height:360px;border-radius:18px}
  .about-map-embed iframe{min-height:360px}
}


/* V107: keep the contact information and inquiry form side by side */
.contact-form-column{
  min-width:0;
}
.contact-form-column .contact-form{
  height:100%;
}
@media(max-width:780px){
  .contact-form-column{
    width:100%;
  }
}

/* Local SEO service-area copy */
.nationwide-local-note{
  max-width:960px;
  margin:12px auto 28px;
  padding:0 16px;
  color:#66736b;
  font-size:.95rem;
  line-height:1.75;
  text-align:center;
}
.nationwide-local-note strong{color:#245c37}

/* =========================================================
   V110: unified desktop menu text color
   Keep every main navigation label the same non-white color
   in normal, hover, focus, active, and open-submenu states.
   ========================================================= */
@media (min-width:781px){
  .main-nav .nav-link,
  .main-nav .nav-link:link,
  .main-nav .nav-link:visited,
  .main-nav .nav-link:hover,
  .main-nav .nav-link:focus,
  .main-nav .nav-link:active,
  .main-nav .nav-link.active,
  .nav-item:hover>.nav-main-row .nav-link,
  .nav-item:focus-within>.nav-main-row .nav-link,
  .nav-item.submenu-open>.nav-main-row .nav-link{
    color:#d8f0df !important;
    -webkit-text-fill-color:#d8f0df !important;
    text-shadow:none !important;
    opacity:1 !important;
  }

  .submenu-toggle,
  .nav-item:hover .submenu-toggle,
  .nav-item:focus-within .submenu-toggle,
  .nav-item.submenu-open .submenu-toggle{
    color:#d8f0df !important;
  }

  .submenu-toggle svg,
  .nav-item:hover .submenu-toggle svg,
  .nav-item:focus-within .submenu-toggle svg,
  .nav-item.submenu-open .submenu-toggle svg{
    stroke:#d8f0df !important;
  }
}


/* =========================================================
   V111: mobile menu divider visibility fix
   Make the vertical separator and arrow area more visible.
   ========================================================= */
@media (max-width:780px){
  .nav-main-row{
    border-color:#c9dacc !important;
    background:#ffffff !important;
  }

  .submenu-toggle{
    border-left:1px solid #bccfc1 !important;
    background:#f4f8f5 !important;
    box-shadow:inset 1px 0 0 rgba(255,255,255,.65) !important;
  }

  .nav-item.submenu-open>.nav-main-row .submenu-toggle,
  .nav-item:hover>.nav-main-row .submenu-toggle,
  .nav-item:focus-within>.nav-main-row .submenu-toggle{
    border-left-color:#9fc2a8 !important;
    background:#e7f2ea !important;
  }
}


/* =========================================================
   V112: rebuilt mobile navigation
   Independent native accordion structure for phone view.
   The desktop dropdown remains unchanged.
   ========================================================= */
.mobile-accordion-nav{
  display:none;
}

@media (max-width:780px){
  body.mobile-menu-open{
    overflow:hidden;
  }

  /* Retire the old mobile dropdown tree completely. */
  .main-nav{
    display:none !important;
  }

  .mobile-accordion-nav{
    position:fixed;
    top:74px;
    left:0;
    right:0;
    z-index:160;
    width:100%;
    height:calc(100vh - 74px);
    height:calc(100dvh - 74px);
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:14px 14px 30px;
    background:#edf5ef;
    border-top:1px solid rgba(20,79,44,.12);
    box-shadow:0 18px 34px rgba(7,40,19,.22);
    scrollbar-width:thin;
  }

  .mobile-accordion-nav[hidden]{
    display:none !important;
  }

  .mobile-accordion-nav.open{
    display:block !important;
  }

  .mobile-nav-group{
    display:block;
    margin:0 0 9px;
    overflow:hidden;
    border:1px solid #c9dbcd;
    border-radius:15px;
    background:#fff;
    box-shadow:0 4px 12px rgba(20,74,38,.05);
  }

  .mobile-nav-summary{
    display:grid;
    grid-template-columns:minmax(0,1fr) 56px;
    align-items:stretch;
    min-height:62px;
    padding:0;
    list-style:none;
    color:#164f2c;
    background:#fff;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    user-select:none;
  }

  .mobile-nav-summary::-webkit-details-marker{
    display:none;
  }

  .mobile-nav-summary::marker{
    content:"";
  }

  .mobile-nav-label{
    display:flex;
    align-items:center;
    min-width:0;
    padding:15px 18px;
    color:#164f2c !important;
    -webkit-text-fill-color:#164f2c !important;
    font-size:1rem;
    font-weight:800;
    line-height:1.35;
    opacity:1 !important;
  }

  .mobile-nav-chevron{
    display:grid;
    place-items:center;
    min-height:62px;
    border-left:2px solid #b8cfbd;
    background:#f1f7f3;
  }

  .mobile-nav-chevron svg{
    width:18px;
    height:12px;
    fill:none;
    stroke:#176432;
    stroke-width:2.3;
    stroke-linecap:round;
    stroke-linejoin:round;
    transition:transform .2s ease;
  }

  .mobile-nav-group[open]{
    border-color:#97c3a2;
    box-shadow:0 8px 20px rgba(20,74,38,.08);
  }

  .mobile-nav-group[open] > .mobile-nav-summary{
    background:#e8f4eb;
  }

  .mobile-nav-group[open] .mobile-nav-chevron{
    border-left-color:#8eb69a;
    background:#dceee1;
  }

  .mobile-nav-group[open] .mobile-nav-chevron svg{
    transform:rotate(180deg);
  }

  .mobile-nav-group.is-active:not([open]) > .mobile-nav-summary{
    background:#f8fbf9;
  }

  .mobile-submenu{
    display:none;
    grid-template-columns:1fr;
    gap:7px;
    padding:10px 11px 12px;
    border-top:1px solid #bfd4c4;
    background:#f3f8f4;
  }

  .mobile-nav-group[open] > .mobile-submenu{
    display:grid !important;
  }

  .mobile-submenu-link,
  .mobile-submenu-link:link,
  .mobile-submenu-link:visited,
  .mobile-submenu-link:hover,
  .mobile-submenu-link:focus,
  .mobile-submenu-link:active{
    position:relative;
    display:block !important;
    min-height:48px;
    margin:0;
    padding:13px 15px 13px 19px;
    border:1px solid #cdded1;
    border-left:5px solid #27864a;
    border-radius:10px;
    background:#fff;
    color:#205a35 !important;
    -webkit-text-fill-color:#205a35 !important;
    font-size:.92rem !important;
    font-weight:700 !important;
    line-height:1.45;
    text-align:left;
    white-space:normal;
    opacity:1 !important;
    visibility:visible !important;
    text-shadow:none !important;
    transform:none !important;
    box-shadow:none;
  }

  .mobile-submenu-link::after{
    content:"›";
    position:absolute;
    top:50%;
    right:14px;
    display:block !important;
    color:#4c7e5d;
    font-size:1.2rem;
    line-height:1;
    transform:translateY(-52%) !important;
  }

  .mobile-submenu-link:hover,
  .mobile-submenu-link:focus{
    border-color:#9ec5a7;
    border-left-color:#126b34;
    background:#eaf5ed;
    outline:none;
  }

  .menu-toggle.is-open span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2){
    opacity:0;
  }

  .menu-toggle.is-open span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
  }

  .menu-toggle span{
    transition:transform .2s ease,opacity .2s ease;
  }
}

@media (max-width:420px){
  .mobile-accordion-nav{
    padding:11px 10px 24px;
  }

  .mobile-nav-summary{
    grid-template-columns:minmax(0,1fr) 52px;
    min-height:58px;
  }

  .mobile-nav-label{
    padding:14px 15px;
    font-size:.96rem;
  }

  .mobile-nav-chevron{
    min-height:58px;
  }

  .mobile-submenu-link,
  .mobile-submenu-link:link,
  .mobile-submenu-link:visited{
    min-height:46px;
    padding:12px 35px 12px 15px;
    font-size:.88rem !important;
  }
}


/* V115 — tighten homepage slide 2 title block so Thai copy never overlaps the image */
@media (min-width:781px){
  .hero-slider .hero-slide:nth-of-type(2) .hero-copy{
    width: 500px;
    max-width: 500px;
  }

  .hero-slider .hero-slide:nth-of-type(2) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(2) .hero-copy h2{
    font-size: clamp(1.98rem, 2.65vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    max-width: 500px;
  }

  .hero-slider .hero-slide:nth-of-type(2) .hero-lead{
    width: 430px !important;
    max-width: 430px !important;
  }
}

@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1180px) and (orientation:portrait){
  .hero-slider .hero-slide:nth-of-type(2) .hero-copy{
    width: 475px;
    max-width: 475px;
  }

  .hero-slider .hero-slide:nth-of-type(2) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(2) .hero-copy h2{
    font-size: clamp(1.9rem, 2.45vw, 2.55rem);
    max-width: 475px;
  }

  .hero-slider .hero-slide:nth-of-type(2) .hero-lead{
    width: 405px !important;
    max-width: 405px !important;
  }
}

@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1050px) and (orientation:portrait){
  .hero-slider .hero-slide:nth-of-type(2) .hero-copy{
    width: 445px;
    max-width: 445px;
  }

  .hero-slider .hero-slide:nth-of-type(2) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(2) .hero-copy h2{
    font-size: clamp(1.82rem, 2.25vw, 2.32rem);
    max-width: 445px;
  }

  .hero-slider .hero-slide:nth-of-type(2) .hero-lead{
    width: 385px !important;
    max-width: 385px !important;
  }
}


/* V116 — homepage slide 1: expanded Home / Garden / Common Garden / Farm title with strict image boundary */
@media (min-width:781px){
  .hero-slider .hero-slide:nth-of-type(1) .hero-copy{
    width: 510px;
    max-width: 510px;
    min-width: 0;
  }

  .hero-slider .hero-slide:nth-of-type(1) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(1) .hero-copy h2{
    font-size: clamp(1.95rem, 2.35vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    max-width: 510px;
  }

  .hero-slider .hero-slide:nth-of-type(1) .hero-lead{
    width: 440px !important;
    max-width: 440px !important;
  }
}

@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1180px) and (orientation:portrait){
  .hero-slider .hero-slide:nth-of-type(1) .hero-copy{
    width: 480px;
    max-width: 480px;
  }

  .hero-slider .hero-slide:nth-of-type(1) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(1) .hero-copy h2{
    font-size: clamp(1.86rem, 2.2vw, 2.28rem);
    max-width: 480px;
  }

  .hero-slider .hero-slide:nth-of-type(1) .hero-lead{
    width: 410px !important;
    max-width: 410px !important;
  }
}

@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1050px) and (orientation:portrait){
  .hero-slider .hero-slide:nth-of-type(1) .hero-copy{
    width: 450px;
    max-width: 450px;
  }

  .hero-slider .hero-slide:nth-of-type(1) .hero-copy h1,
  .hero-slider .hero-slide:nth-of-type(1) .hero-copy h2{
    font-size: clamp(1.78rem, 2.05vw, 2.12rem);
    max-width: 450px;
  }

  .hero-slider .hero-slide:nth-of-type(1) .hero-lead{
    width: 385px !important;
    max-width: 385px !important;
  }
}


/* V119 — homepage hero visual frame: height-first 16:9, left-anchored image, soft fade tail
   Desktop/tablet landscape rule:
   - visual frame keeps a fixed 16:9 geometry derived from the 540px hero height (960x540)
   - source artwork always fits HEIGHT first (auto x 100%), so wider viewports never enlarge the artwork
   - artwork starts from the LEFT edge of the visual frame; any excess image is clipped on the right
   - the visual tail dissolves into the slide background instead of ending as a hard vertical edge */
@media (min-width:781px){
  .hero-slider .hero-slide::before,
  .hero-slider .hero-app-real::before,
  .hero-slider .hero-product-real::before{
    top:0 !important;
    bottom:0 !important;
    left:46% !important;
    right:auto !important;
    width:960px !important;
    height:540px !important;
    max-width:none !important;
    background-size:auto 100% !important;
    background-position:left center !important;
    background-repeat:no-repeat !important;
    -webkit-mask-image:linear-gradient(
      90deg,
      #000 0%,
      #000 66%,
      rgba(0,0,0,.98) 72%,
      rgba(0,0,0,.86) 80%,
      rgba(0,0,0,.52) 89%,
      rgba(0,0,0,.18) 96%,
      transparent 100%
    );
    mask-image:linear-gradient(
      90deg,
      #000 0%,
      #000 66%,
      rgba(0,0,0,.98) 72%,
      rgba(0,0,0,.86) 80%,
      rgba(0,0,0,.52) 89%,
      rgba(0,0,0,.18) 96%,
      transparent 100%
    );
  }
}


/* V120 — remove V119 hero edge fade; keep height-first 16:9 and left anchor */
@media (min-width:781px){
  .hero-slider .hero-slide::before,
  .hero-slider .hero-app-real::before,
  .hero-slider .hero-product-real::before{
    -webkit-mask-image:none !important;
    mask-image:none !important;
  }
}


/* V121 — System page: vertical rotating 3D visual gallery */
.system-visual-gallery{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 73% 45%,rgba(33,145,77,.055),transparent 33%),
    linear-gradient(180deg,#f8fbf9 0%,#ffffff 100%);
  border-bottom:1px solid rgba(20,70,42,.08);
}
.system-visual-gallery-layout{
  min-height:590px;
  display:grid;
  grid-template-columns:minmax(240px,300px) minmax(0,1fr);
  gap:clamp(30px,5vw,84px);
  align-items:center;
  padding-top:34px;
  padding-bottom:34px;
}
.system-gallery-rail{
  position:relative;
  height:520px;
  min-width:0;
  touch-action:pan-x;
  user-select:none;
}
.system-gallery-orbit{
  position:absolute;
  inset:42px 0;
  overflow:hidden;
}
.system-gallery-item{
  --gallery-y:0px;
  --gallery-scale:.72;
  position:absolute;
  left:50%;
  top:50%;
  width:250px;
  height:150px;
  padding:8px;
  border:0;
  border-radius:22px;
  background:rgba(255,255,255,.72);
  box-shadow:0 12px 34px rgba(17,55,34,.08);
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,calc(-50% + var(--gallery-y))) scale(var(--gallery-scale));
  transform-origin:center center;
  transition:transform .62s cubic-bezier(.2,.72,.25,1),opacity .46s ease,filter .46s ease,box-shadow .46s ease;
  filter:saturate(.85) brightness(1.03);
}
.system-gallery-item img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
}
.system-gallery-item.is-current{
  --gallery-y:0px;
  --gallery-scale:1;
  z-index:4;
  width:286px;
  height:178px;
  opacity:1;
  pointer-events:auto;
  filter:none;
  background:#fff;
  box-shadow:0 22px 52px rgba(20,65,39,.16);
}
.system-gallery-item.is-prev{
  --gallery-y:-154px;
  --gallery-scale:.72;
  z-index:3;
  opacity:.48;
  pointer-events:auto;
}
.system-gallery-item.is-next{
  --gallery-y:154px;
  --gallery-scale:.72;
  z-index:3;
  opacity:.48;
  pointer-events:auto;
}
.system-gallery-item.is-before-hidden{
  --gallery-y:-270px;
  --gallery-scale:.55;
  z-index:1;
  opacity:0;
}
.system-gallery-item.is-after-hidden{
  --gallery-y:270px;
  --gallery-scale:.55;
  z-index:1;
  opacity:0;
}
.system-gallery-item:hover:not(.is-current){opacity:.72;}
.system-gallery-item:focus-visible,
.system-gallery-nav:focus-visible{
  outline:3px solid rgba(26,145,70,.25);
  outline-offset:3px;
}
.system-gallery-nav{
  position:absolute;
  left:50%;
  z-index:8;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  padding:0 0 3px;
  border:1px solid rgba(24,112,58,.12);
  border-radius:50%;
  background:rgba(255,255,255,.9);
  box-shadow:0 8px 24px rgba(22,59,38,.08);
  color:#18743a;
  font-size:1.5rem;
  line-height:1;
  cursor:pointer;
  transform:translateX(-50%);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.system-gallery-nav:hover{
  background:#fff;
  box-shadow:0 10px 28px rgba(22,59,38,.14);
  transform:translateX(-50%) scale(1.06);
}
.system-gallery-nav-up{top:0;}
.system-gallery-nav-down{bottom:0;}
.system-gallery-preview{
  position:relative;
  min-width:0;
  height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:32px;
  background:rgba(255,255,255,.56);
}
.system-gallery-preview::after{
  content:"";
  position:absolute;
  left:16%;
  right:16%;
  bottom:34px;
  height:34px;
  border-radius:50%;
  background:rgba(22,57,37,.095);
  filter:blur(20px);
  pointer-events:none;
}
.system-gallery-preview img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  max-width:900px;
  max-height:500px;
  padding:8px 12px;
  object-fit:contain;
  opacity:1;
  transform:scale(1);
}
.system-gallery-preview img.is-changing{
  animation:systemGalleryPreviewIn .52s cubic-bezier(.2,.72,.25,1) both;
}
@keyframes systemGalleryPreviewIn{
  from{opacity:.08;transform:scale(.972);}
  to{opacity:1;transform:scale(1);}
}
@media(max-width:980px){
  .system-visual-gallery-layout{
    grid-template-columns:220px minmax(0,1fr);
    gap:24px;
    min-height:540px;
  }
  .system-gallery-rail{height:480px;}
  .system-gallery-preview{height:480px;}
  .system-gallery-orbit{inset:40px 0;}
  .system-gallery-item{width:205px;height:126px;}
  .system-gallery-item.is-current{width:226px;height:144px;}
  .system-gallery-item.is-prev{--gallery-y:-132px;}
  .system-gallery-item.is-next{--gallery-y:132px;}
  .system-gallery-item.is-before-hidden{--gallery-y:-235px;}
  .system-gallery-item.is-after-hidden{--gallery-y:235px;}
}
@media(max-width:780px){
  .system-visual-gallery-layout{
    grid-template-columns:132px minmax(0,1fr);
    gap:10px;
    min-height:470px;
    width:min(100% - 20px,1180px);
    padding-top:20px;
    padding-bottom:20px;
  }
  .system-gallery-rail{height:430px;}
  .system-gallery-preview{height:430px;border-radius:22px;}
  .system-gallery-orbit{inset:36px 0;}
  .system-gallery-item{width:120px;height:82px;padding:5px;border-radius:14px;}
  .system-gallery-item.is-current{width:132px;height:96px;}
  .system-gallery-item.is-prev{--gallery-y:-108px;}
  .system-gallery-item.is-next{--gallery-y:108px;}
  .system-gallery-item.is-before-hidden{--gallery-y:-190px;}
  .system-gallery-item.is-after-hidden{--gallery-y:190px;}
  .system-gallery-nav{width:32px;height:32px;font-size:1.25rem;}
  .system-gallery-preview img{padding:4px;}
}
@media(max-width:520px){
  .system-visual-gallery-layout{
    grid-template-columns:108px minmax(0,1fr);
    min-height:390px;
  }
  .system-gallery-rail{height:356px;}
  .system-gallery-preview{height:356px;}
  .system-gallery-item{width:98px;height:68px;border-radius:12px;}
  .system-gallery-item.is-current{width:108px;height:80px;}
  .system-gallery-item.is-prev{--gallery-y:-88px;}
  .system-gallery-item.is-next{--gallery-y:88px;}
  .system-gallery-item.is-before-hidden{--gallery-y:-158px;}
  .system-gallery-item.is-after-hidden{--gallery-y:158px;}
}
@media(prefers-reduced-motion:reduce){
  .system-gallery-item,
  .system-gallery-preview img{transition:none!important;animation:none!important;}
}


/* V122 — System page: move gallery into architecture section and rotate horizontally */
.system-gallery-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 24%, rgba(34,145,78,.06), transparent 30%),
    linear-gradient(180deg,#f8fbf9 0%,#ffffff 100%);
}
.system-gallery-anchor{
  position:relative;
  top:-96px;
  width:1px;
  height:1px;
}
.system-gallery-showcase{
  margin-top:30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:28px;
}
.system-gallery-showcase .system-gallery-preview{
  position:relative;
  min-width:0;
  width:min(100%,980px);
  height:auto;
  aspect-ratio:16 / 9;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:30px;
  background:rgba(255,255,255,.72);
  box-shadow:0 18px 56px rgba(20,65,39,.08);
}
.system-gallery-showcase .system-gallery-preview::after{
  content:"";
  position:absolute;
  left:15%;
  right:15%;
  bottom:22px;
  height:26px;
  border-radius:50%;
  background:rgba(22,57,37,.1);
  filter:blur(16px);
  pointer-events:none;
}
.system-gallery-showcase .system-gallery-preview img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  padding:12px 16px;
  object-fit:contain;
}
.system-gallery-showcase .system-gallery-rail{
  position:relative;
  width:min(100%,860px);
  height:210px;
  min-width:0;
  user-select:none;
  touch-action:pan-y;
}
.system-gallery-showcase .system-gallery-orbit{
  position:absolute;
  inset:0 68px;
  overflow:hidden;
}
.system-gallery-showcase .system-gallery-item{
  --gallery-x:0px;
  --gallery-y:14px;
  --gallery-scale:.72;
  --gallery-tilt:0deg;
  position:absolute;
  left:50%;
  top:50%;
  width:220px;
  height:136px;
  padding:8px;
  border:0;
  border-radius:22px;
  background:rgba(255,255,255,.78);
  box-shadow:0 12px 34px rgba(17,55,34,.08);
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translate(calc(-50% + var(--gallery-x)), calc(-50% + var(--gallery-y))) scale(var(--gallery-scale)) rotate(var(--gallery-tilt));
  transform-origin:center center;
  transition:transform .62s cubic-bezier(.2,.72,.25,1),opacity .46s ease,filter .46s ease,box-shadow .46s ease;
  filter:saturate(.88) brightness(1.03);
}
.system-gallery-showcase .system-gallery-item img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
}
.system-gallery-showcase .system-gallery-item.is-current{
  --gallery-x:0px;
  --gallery-y:0px;
  --gallery-scale:1;
  --gallery-tilt:0deg;
  z-index:4;
  width:286px;
  height:176px;
  opacity:1;
  pointer-events:auto;
  filter:none;
  background:#fff;
  box-shadow:0 24px 54px rgba(20,65,39,.16);
}
.system-gallery-showcase .system-gallery-item.is-prev{
  --gallery-x:-242px;
  --gallery-y:18px;
  --gallery-scale:.74;
  --gallery-tilt:-7deg;
  z-index:3;
  opacity:.52;
  pointer-events:auto;
}
.system-gallery-showcase .system-gallery-item.is-next{
  --gallery-x:242px;
  --gallery-y:18px;
  --gallery-scale:.74;
  --gallery-tilt:7deg;
  z-index:3;
  opacity:.52;
  pointer-events:auto;
}
.system-gallery-showcase .system-gallery-item.is-before-hidden{
  --gallery-x:-420px;
  --gallery-y:42px;
  --gallery-scale:.56;
  --gallery-tilt:-10deg;
  z-index:1;
  opacity:0;
}
.system-gallery-showcase .system-gallery-item.is-after-hidden{
  --gallery-x:420px;
  --gallery-y:42px;
  --gallery-scale:.56;
  --gallery-tilt:10deg;
  z-index:1;
  opacity:0;
}
.system-gallery-showcase .system-gallery-item:hover:not(.is-current){opacity:.78;}
.system-gallery-showcase .system-gallery-item:focus-visible,
.system-gallery-showcase .system-gallery-nav:focus-visible{
  outline:3px solid rgba(26,145,70,.25);
  outline-offset:3px;
}
.system-gallery-showcase .system-gallery-nav{
  position:absolute;
  top:50%;
  z-index:8;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  padding:0 0 2px;
  border:1px solid rgba(24,112,58,.12);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 24px rgba(22,59,38,.08);
  color:#18743a;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
  transform:translateY(-50%);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.system-gallery-showcase .system-gallery-nav:hover{
  background:#fff;
  box-shadow:0 10px 28px rgba(22,59,38,.14);
  transform:translateY(-50%) scale(1.06);
}
.system-gallery-showcase .system-gallery-nav-prev{left:0;}
.system-gallery-showcase .system-gallery-nav-next{right:0;}
.system-gallery-showcase .system-gallery-preview img.is-changing{
  animation:systemGalleryPreviewIn .52s cubic-bezier(.2,.72,.25,1) both;
}
.system-gallery-section .architecture-flow{
  margin-top:40px;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1100px){
  .system-gallery-showcase .system-gallery-preview{width:min(100%,900px);}
  .system-gallery-showcase .system-gallery-rail{width:min(100%,780px);height:192px;}
  .system-gallery-showcase .system-gallery-orbit{inset:0 58px;}
  .system-gallery-showcase .system-gallery-item{width:196px;height:122px;}
  .system-gallery-showcase .system-gallery-item.is-current{width:254px;height:156px;}
  .system-gallery-showcase .system-gallery-item.is-prev{--gallery-x:-214px;--gallery-y:16px;}
  .system-gallery-showcase .system-gallery-item.is-next{--gallery-x:214px;--gallery-y:16px;}
  .system-gallery-showcase .system-gallery-item.is-before-hidden{--gallery-x:-370px;--gallery-y:38px;}
  .system-gallery-showcase .system-gallery-item.is-after-hidden{--gallery-x:370px;--gallery-y:38px;}
}
@media(max-width:780px){
  .system-gallery-section .page-section-heading span{display:block;max-width:620px;margin-inline:auto;}
  .system-gallery-showcase{gap:20px;margin-top:22px;}
  .system-gallery-showcase .system-gallery-preview{border-radius:22px;aspect-ratio:16 / 10;}
  .system-gallery-showcase .system-gallery-preview img{padding:8px;}
  .system-gallery-showcase .system-gallery-rail{width:min(100%,100%);height:154px;}
  .system-gallery-showcase .system-gallery-orbit{inset:0 38px;}
  .system-gallery-showcase .system-gallery-item{width:116px;height:80px;padding:5px;border-radius:14px;}
  .system-gallery-showcase .system-gallery-item.is-current{width:154px;height:102px;}
  .system-gallery-showcase .system-gallery-item.is-prev{--gallery-x:-114px;--gallery-y:14px;--gallery-scale:.8;--gallery-tilt:-6deg;opacity:.62;}
  .system-gallery-showcase .system-gallery-item.is-next{--gallery-x:114px;--gallery-y:14px;--gallery-scale:.8;--gallery-tilt:6deg;opacity:.62;}
  .system-gallery-showcase .system-gallery-item.is-before-hidden{--gallery-x:-210px;--gallery-y:34px;}
  .system-gallery-showcase .system-gallery-item.is-after-hidden{--gallery-x:210px;--gallery-y:34px;}
  .system-gallery-showcase .system-gallery-nav{width:34px;height:34px;font-size:1.6rem;}
  .system-gallery-section .architecture-flow{margin-top:28px;}
}
@media(max-width:520px){
  .system-gallery-anchor{top:-76px;}
  .system-gallery-showcase .system-gallery-preview{aspect-ratio:4 / 3;}
  .system-gallery-showcase .system-gallery-rail{height:132px;}
  .system-gallery-showcase .system-gallery-orbit{inset:0 30px;}
  .system-gallery-showcase .system-gallery-item{width:94px;height:68px;border-radius:12px;}
  .system-gallery-showcase .system-gallery-item.is-current{width:128px;height:92px;}
  .system-gallery-showcase .system-gallery-item.is-prev{--gallery-x:-90px;--gallery-y:12px;}
  .system-gallery-showcase .system-gallery-item.is-next{--gallery-x:90px;--gallery-y:12px;}
  .system-gallery-showcase .system-gallery-item.is-before-hidden{--gallery-x:-172px;--gallery-y:28px;}
  .system-gallery-showcase .system-gallery-item.is-after-hidden{--gallery-x:172px;--gallery-y:28px;}
}


/* V123 — System page gallery-only 16:9 stage with 5-image upward arc carousel */
.system-gallery-stage{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(33,145,77,.055), transparent 30%),
    linear-gradient(180deg,#f8fbf9 0%,#ffffff 100%);
}
.system-gallery-stage .container{
  padding-top:34px;
  padding-bottom:34px;
}
.system-gallery-stage .system-gallery-showcase{
  width:min(100%,1120px);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
}
.system-gallery-stage .system-gallery-preview{
  position:relative;
  width:min(100%,980px);
  aspect-ratio:16 / 9;
  height:auto;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:30px;
  background:rgba(255,255,255,.72);
  box-shadow:0 18px 56px rgba(20,65,39,.08);
}
.system-gallery-stage .system-gallery-preview::after{
  content:"";
  position:absolute;
  left:14%;
  right:14%;
  bottom:18px;
  height:22px;
  border-radius:50%;
  background:rgba(22,57,37,.09);
  filter:blur(14px);
  pointer-events:none;
}
.system-gallery-stage .system-gallery-preview img{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  padding:12px 16px;
  object-fit:contain;
}
.system-gallery-stage .system-gallery-rail{
  position:relative;
  width:min(100%,980px);
  height:176px;
  touch-action:pan-y;
  user-select:none;
}
.system-gallery-stage .system-gallery-orbit{
  position:absolute;
  inset:0 54px;
  overflow:hidden;
}
.system-gallery-stage .system-gallery-item{
  --gallery-x:0px;
  --gallery-y:0px;
  --gallery-scale:.72;
  --gallery-tilt:0deg;
  position:absolute;
  left:50%;
  top:50%;
  width:150px;
  height:102px;
  padding:6px;
  border:0;
  border-radius:18px;
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 28px rgba(17,55,34,.08);
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translate(calc(-50% + var(--gallery-x)), calc(-50% + var(--gallery-y))) scale(var(--gallery-scale)) rotate(var(--gallery-tilt));
  transition:transform .62s cubic-bezier(.2,.72,.25,1),opacity .46s ease,filter .46s ease,box-shadow .46s ease;
  filter:saturate(.88) brightness(1.03);
}
.system-gallery-stage .system-gallery-item img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
}
.system-gallery-stage .system-gallery-item.is-current{
  --gallery-x:0px;
  --gallery-y:8px;
  --gallery-scale:1;
  --gallery-tilt:0deg;
  z-index:5;
  width:210px;
  height:136px;
  opacity:1;
  pointer-events:auto;
  background:#fff;
  filter:none;
  box-shadow:0 22px 52px rgba(20,65,39,.16);
}
.system-gallery-stage .system-gallery-item.is-prev{
  --gallery-x:-172px;
  --gallery-y:-14px;
  --gallery-scale:.86;
  --gallery-tilt:-7deg;
  z-index:4;
  opacity:.7;
  pointer-events:auto;
}
.system-gallery-stage .system-gallery-item.is-next{
  --gallery-x:172px;
  --gallery-y:-14px;
  --gallery-scale:.86;
  --gallery-tilt:7deg;
  z-index:4;
  opacity:.7;
  pointer-events:auto;
}
.system-gallery-stage .system-gallery-item.is-prev-2{
  --gallery-x:-322px;
  --gallery-y:-30px;
  --gallery-scale:.72;
  --gallery-tilt:-11deg;
  z-index:3;
  opacity:.44;
  pointer-events:auto;
}
.system-gallery-stage .system-gallery-item.is-next-2{
  --gallery-x:322px;
  --gallery-y:-30px;
  --gallery-scale:.72;
  --gallery-tilt:11deg;
  z-index:3;
  opacity:.44;
  pointer-events:auto;
}
.system-gallery-stage .system-gallery-item.is-before-hidden{
  --gallery-x:-470px;
  --gallery-y:-44px;
  --gallery-scale:.56;
  --gallery-tilt:-12deg;
  z-index:1;
  opacity:0;
}
.system-gallery-stage .system-gallery-item.is-after-hidden{
  --gallery-x:470px;
  --gallery-y:-44px;
  --gallery-scale:.56;
  --gallery-tilt:12deg;
  z-index:1;
  opacity:0;
}
.system-gallery-stage .system-gallery-item:hover:not(.is-current){opacity:.84;}
.system-gallery-stage .system-gallery-item:focus-visible,
.system-gallery-stage .system-gallery-nav:focus-visible{
  outline:3px solid rgba(26,145,70,.25);
  outline-offset:3px;
}
.system-gallery-stage .system-gallery-nav{
  position:absolute;
  top:50%;
  z-index:8;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  padding:0 0 2px;
  border:1px solid rgba(24,112,58,.12);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 24px rgba(22,59,38,.08);
  color:#18743a;
  font-size:1.95rem;
  line-height:1;
  cursor:pointer;
  transform:translateY(-50%);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.system-gallery-stage .system-gallery-nav:hover{
  background:#fff;
  box-shadow:0 10px 28px rgba(22,59,38,.14);
  transform:translateY(-50%) scale(1.06);
}
.system-gallery-stage .system-gallery-nav-prev{left:0;}
.system-gallery-stage .system-gallery-nav-next{right:0;}
.system-gallery-stage .system-gallery-preview img.is-changing{
  animation:systemGalleryPreviewIn .52s cubic-bezier(.2,.72,.25,1) both;
}
@media(max-width:980px){
  .system-gallery-stage .container{padding-top:28px;padding-bottom:28px;}
  .system-gallery-stage .system-gallery-showcase{gap:14px;}
  .system-gallery-stage .system-gallery-preview{width:min(100%,860px);border-radius:24px;}
  .system-gallery-stage .system-gallery-rail{width:min(100%,860px);height:154px;}
  .system-gallery-stage .system-gallery-orbit{inset:0 44px;}
  .system-gallery-stage .system-gallery-item{width:118px;height:84px;padding:5px;border-radius:14px;}
  .system-gallery-stage .system-gallery-item.is-current{width:166px;height:110px;}
  .system-gallery-stage .system-gallery-item.is-prev{--gallery-x:-132px;--gallery-y:-12px;}
  .system-gallery-stage .system-gallery-item.is-next{--gallery-x:132px;--gallery-y:-12px;}
  .system-gallery-stage .system-gallery-item.is-prev-2{--gallery-x:-248px;--gallery-y:-22px;}
  .system-gallery-stage .system-gallery-item.is-next-2{--gallery-x:248px;--gallery-y:-22px;}
  .system-gallery-stage .system-gallery-item.is-before-hidden{--gallery-x:-356px;--gallery-y:-34px;}
  .system-gallery-stage .system-gallery-item.is-after-hidden{--gallery-x:356px;--gallery-y:-34px;}
}
@media(max-width:780px){
  .system-gallery-stage .container{padding-top:22px;padding-bottom:22px;}
  .system-gallery-stage .system-gallery-showcase{gap:12px;}
  .system-gallery-stage .system-gallery-preview{width:min(100%,100%);border-radius:20px;}
  .system-gallery-stage .system-gallery-preview img{padding:8px;}
  .system-gallery-stage .system-gallery-rail{width:min(100%,100%);height:132px;}
  .system-gallery-stage .system-gallery-orbit{inset:0 28px;}
  .system-gallery-stage .system-gallery-item{width:76px;height:58px;padding:4px;border-radius:12px;}
  .system-gallery-stage .system-gallery-item.is-current{width:112px;height:82px;--gallery-y:8px;}
  .system-gallery-stage .system-gallery-item.is-prev{--gallery-x:-84px;--gallery-y:-8px;--gallery-scale:.82;opacity:.78;}
  .system-gallery-stage .system-gallery-item.is-next{--gallery-x:84px;--gallery-y:-8px;--gallery-scale:.82;opacity:.78;}
  .system-gallery-stage .system-gallery-item.is-prev-2{--gallery-x:-152px;--gallery-y:-16px;--gallery-scale:.68;opacity:.46;}
  .system-gallery-stage .system-gallery-item.is-next-2{--gallery-x:152px;--gallery-y:-16px;--gallery-scale:.68;opacity:.46;}
  .system-gallery-stage .system-gallery-item.is-before-hidden{--gallery-x:-218px;--gallery-y:-24px;}
  .system-gallery-stage .system-gallery-item.is-after-hidden{--gallery-x:218px;--gallery-y:-24px;}
  .system-gallery-stage .system-gallery-nav{width:30px;height:30px;font-size:1.5rem;}
}
@media(max-width:520px){
  .system-gallery-stage .system-gallery-preview{aspect-ratio:4 / 3;}
  .system-gallery-stage .system-gallery-rail{height:118px;}
  .system-gallery-stage .system-gallery-orbit{inset:0 24px;}
  .system-gallery-stage .system-gallery-item{width:66px;height:50px;}
  .system-gallery-stage .system-gallery-item.is-current{width:96px;height:72px;}
  .system-gallery-stage .system-gallery-item.is-prev{--gallery-x:-72px;}
  .system-gallery-stage .system-gallery-item.is-next{--gallery-x:72px;}
  .system-gallery-stage .system-gallery-item.is-prev-2{--gallery-x:-128px;}
  .system-gallery-stage .system-gallery-item.is-next-2{--gallery-x:128px;}
}


/* V124 — System gallery responsive modes
   Desktop landscape (>1100px): vertical 3-image rail left + large preview right.
   iPad / phone / narrower viewports: V123 horizontal 5-image arc below preview. */
@media (min-width:981px) and (orientation:landscape){
  .system-gallery-stage .container{
    padding-top:34px;
    padding-bottom:34px;
  }

  .system-gallery-stage .system-gallery-showcase{
    width:min(100%,1180px);
    display:grid;
    grid-template-columns:minmax(240px,300px) minmax(0,1fr);
    grid-template-areas:"rail preview";
    gap:clamp(30px,5vw,76px);
    align-items:center;
  }

  .system-gallery-stage .system-gallery-preview{
    grid-area:preview;
    width:100%;
    max-width:none;
    height:520px;
    aspect-ratio:auto;
    border-radius:30px;
  }

  .system-gallery-stage .system-gallery-preview img{
    padding:10px 12px;
  }

  .system-gallery-stage .system-gallery-rail{
    grid-area:rail;
    width:100%;
    height:520px;
    touch-action:pan-x;
  }

  .system-gallery-stage .system-gallery-orbit{
    inset:42px 0;
  }

  .system-gallery-stage .system-gallery-item{
    --gallery-x:0px;
    --gallery-y:0px;
    --gallery-scale:.72;
    --gallery-tilt:0deg;
    left:50%;
    top:50%;
    width:250px;
    height:150px;
    transform:translate(calc(-50% + var(--gallery-x)), calc(-50% + var(--gallery-y))) scale(var(--gallery-scale)) rotate(var(--gallery-tilt));
  }

  .system-gallery-stage .system-gallery-item.is-current{
    --gallery-x:0px;
    --gallery-y:0px;
    --gallery-scale:1;
    width:286px;
    height:178px;
  }

  .system-gallery-stage .system-gallery-item.is-prev{
    --gallery-x:0px;
    --gallery-y:-154px;
    --gallery-scale:.72;
    --gallery-tilt:0deg;
    opacity:.48;
  }

  .system-gallery-stage .system-gallery-item.is-next{
    --gallery-x:0px;
    --gallery-y:154px;
    --gallery-scale:.72;
    --gallery-tilt:0deg;
    opacity:.48;
  }

  .system-gallery-stage .system-gallery-item.is-prev-2,
  .system-gallery-stage .system-gallery-item.is-next-2{
    opacity:0;
    pointer-events:none;
  }

  .system-gallery-stage .system-gallery-item.is-prev-2{
    --gallery-x:0px;
    --gallery-y:-270px;
  }

  .system-gallery-stage .system-gallery-item.is-next-2{
    --gallery-x:0px;
    --gallery-y:270px;
  }

  .system-gallery-stage .system-gallery-item.is-before-hidden{
    --gallery-x:0px;
    --gallery-y:-300px;
    --gallery-scale:.55;
  }

  .system-gallery-stage .system-gallery-item.is-after-hidden{
    --gallery-x:0px;
    --gallery-y:300px;
    --gallery-scale:.55;
  }

  .system-gallery-stage .system-gallery-nav{
    left:50%;
    top:auto;
    right:auto;
    width:38px;
    height:38px;
    font-size:1.5rem;
    transform:translateX(-50%);
  }

  .system-gallery-stage .system-gallery-nav:hover{
    transform:translateX(-50%) scale(1.06);
  }

  .system-gallery-stage .system-gallery-nav-prev{
    top:0;
  }

  .system-gallery-stage .system-gallery-nav-next{
    right:auto;
    bottom:0;
  }

  .system-gallery-stage .system-gallery-nav-prev::before{content:"⌃";}
  .system-gallery-stage .system-gallery-nav-next::before{content:"⌄";}
  .system-gallery-stage .system-gallery-nav-prev,
  .system-gallery-stage .system-gallery-nav-next{
    font-size:0;
  }
  .system-gallery-stage .system-gallery-nav-prev::before,
  .system-gallery-stage .system-gallery-nav-next::before{
    font-size:1.5rem;
    line-height:1;
  }
}


/* V125 — System gallery day/night preview pair + tighter top placement */
.system-gallery-stage .container{
  padding-top:10px;
}
.system-gallery-preview-stack{
  width:min(100%,980px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  min-width:0;
}
.system-gallery-theme-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:4px;
  border:1px solid rgba(24,112,58,.14);
  border-radius:999px;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 24px rgba(22,59,38,.08);
}
.system-gallery-theme-btn{
  min-width:122px;
  height:38px;
  padding:0 18px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#536059;
  font:inherit;
  font-size:.86rem;
  font-weight:800;
  cursor:pointer;
  transition:background .22s ease,color .22s ease,box-shadow .22s ease,transform .18s ease;
}
.system-gallery-theme-btn:hover{
  transform:translateY(-1px);
}
.system-gallery-theme-btn[data-gallery-theme="day"].is-active{
  background:#1f8d45;
  color:#fff;
  box-shadow:0 5px 14px rgba(31,141,69,.22);
}
.system-gallery-theme-btn[data-gallery-theme="night"].is-active{
  background:#26302b;
  color:#fff;
  box-shadow:0 5px 14px rgba(25,33,29,.22);
}
.system-gallery-theme-btn:focus-visible{
  outline:3px solid rgba(26,145,70,.25);
  outline-offset:2px;
}
.system-gallery-stage .system-gallery-preview img{
  will-change:opacity,transform;
}
.system-gallery-stage .system-gallery-preview img.is-theme-leaving{
  opacity:0;
  transform:translateX(-18px) scale(.988);
  transition:opacity .18s ease,transform .18s ease;
}
.system-gallery-stage .system-gallery-preview img.is-theme-entering{
  animation:systemGalleryThemeIn .38s cubic-bezier(.2,.72,.25,1) both;
}
@keyframes systemGalleryThemeIn{
  from{opacity:.08;transform:translateX(18px) scale(.988);}
  to{opacity:1;transform:translateX(0) scale(1);}
}
@media (min-width:981px) and (orientation:landscape){
  .system-gallery-stage .container{
    padding-top:8px;
  }
  .system-gallery-stage .system-gallery-showcase{
    grid-template-areas:"rail preview";
    align-items:start;
  }
  .system-gallery-preview-stack{
    grid-area:preview;
    width:100%;
    max-width:none;
    align-self:start;
  }
  .system-gallery-stage .system-gallery-preview{
    grid-area:auto;
    height:500px;
  }
  .system-gallery-stage .system-gallery-rail{
    align-self:center;
    margin-top:10px;
  }
}
@media (max-width:980px), (orientation:portrait) and (max-width:1100px){
  .system-gallery-stage .container{
    padding-top:12px;
  }
  .system-gallery-preview-stack{
    width:min(100%,860px);
  }
}
@media(max-width:780px){
  .system-gallery-preview-stack{
    width:100%;
    gap:8px;
  }
  .system-gallery-theme-toggle{
    width:min(100%,330px);
  }
  .system-gallery-theme-btn{
    flex:1 1 0;
    min-width:0;
    height:36px;
    padding:0 10px;
    font-size:.8rem;
  }
}
@media(prefers-reduced-motion:reduce){
  .system-gallery-stage .system-gallery-preview img.is-theme-leaving,
  .system-gallery-stage .system-gallery-preview img.is-theme-entering{
    transition:none!important;
    animation:none!important;
  }
}


/* V126 — System gallery selected-image title above preview */
.system-gallery-preview-title{
  align-self:flex-start;
  min-height:28px;
  margin:0 0 -2px 10px;
  color:#1f3327;
  font-size:clamp(.92rem,1.25vw,1.08rem);
  font-weight:850;
  letter-spacing:-.01em;
  line-height:1.35;
}
@media (min-width:981px) and (orientation:landscape){
  .system-gallery-preview-title{
    margin-left:14px;
  }
}
@media(max-width:780px){
  .system-gallery-preview-title{
    min-height:24px;
    margin-left:6px;
    font-size:.9rem;
  }
}


/* V127 — Desktop landscape: five visible vertical gallery cards + fuller 16:9 stage */
@media (min-width:981px) and (orientation:landscape){
  .system-gallery-stage .container{
    min-height:min(720px,calc(100svh - 82px));
    padding-top:8px;
    padding-bottom:22px;
    display:flex;
    align-items:center;
  }

  .system-gallery-stage .system-gallery-showcase{
    width:min(100%,1200px);
    grid-template-columns:minmax(250px,310px) minmax(0,1fr);
    gap:clamp(34px,5vw,82px);
    align-items:start;
  }

  .system-gallery-preview-stack{
    align-self:start;
  }

  .system-gallery-stage .system-gallery-preview{
    height:clamp(520px,64vh,590px);
  }

  .system-gallery-stage .system-gallery-rail{
    height:clamp(590px,72vh,660px);
    margin-top:0;
    align-self:start;
  }

  .system-gallery-stage .system-gallery-orbit{
    inset:42px 0;
  }

  .system-gallery-stage .system-gallery-item{
    width:224px;
    height:134px;
  }

  .system-gallery-stage .system-gallery-item.is-current{
    --gallery-y:0px;
    --gallery-scale:1;
    width:268px;
    height:164px;
    opacity:1;
    pointer-events:auto;
  }

  .system-gallery-stage .system-gallery-item.is-prev{
    --gallery-x:0px;
    --gallery-y:-142px;
    --gallery-scale:.80;
    opacity:.66;
    pointer-events:auto;
  }

  .system-gallery-stage .system-gallery-item.is-next{
    --gallery-x:0px;
    --gallery-y:142px;
    --gallery-scale:.80;
    opacity:.66;
    pointer-events:auto;
  }

  .system-gallery-stage .system-gallery-item.is-prev-2{
    --gallery-x:0px;
    --gallery-y:-252px;
    --gallery-scale:.64;
    --gallery-tilt:0deg;
    opacity:.34;
    pointer-events:auto;
    z-index:2;
  }

  .system-gallery-stage .system-gallery-item.is-next-2{
    --gallery-x:0px;
    --gallery-y:252px;
    --gallery-scale:.64;
    --gallery-tilt:0deg;
    opacity:.34;
    pointer-events:auto;
    z-index:2;
  }

  .system-gallery-stage .system-gallery-item.is-before-hidden{
    --gallery-x:0px;
    --gallery-y:-360px;
    --gallery-scale:.5;
    opacity:0;
  }

  .system-gallery-stage .system-gallery-item.is-after-hidden{
    --gallery-x:0px;
    --gallery-y:360px;
    --gallery-scale:.5;
    opacity:0;
  }
}

@media (min-width:981px) and (orientation:landscape) and (max-height:760px){
  .system-gallery-stage .container{
    min-height:0;
    padding-bottom:16px;
  }
  .system-gallery-stage .system-gallery-preview{
    height:500px;
  }
  .system-gallery-stage .system-gallery-rail{
    height:570px;
  }
  .system-gallery-stage .system-gallery-item.is-prev{--gallery-y:-124px;}
  .system-gallery-stage .system-gallery-item.is-next{--gallery-y:124px;}
  .system-gallery-stage .system-gallery-item.is-prev-2{--gallery-y:-220px;}
  .system-gallery-stage .system-gallery-item.is-next-2{--gallery-y:220px;}
}


/* V128 — Desktop landscape: enlarge the vertical rail itself so all 5 visuals remain readable */
@media (min-width:981px) and (orientation:landscape){
  .system-gallery-stage .container{
    min-height:min(880px,calc(100svh - 74px));
    padding-top:8px;
    padding-bottom:18px;
  }

  .system-gallery-stage .system-gallery-showcase{
    width:min(100%,1240px);
    grid-template-columns:minmax(320px,350px) minmax(0,1fr);
    gap:clamp(34px,4vw,64px);
    align-items:center;
  }

  .system-gallery-stage .system-gallery-preview{
    height:clamp(560px,68svh,700px);
  }

  .system-gallery-stage .system-gallery-rail{
    height:clamp(720px,82svh,820px);
    margin-top:0;
    align-self:center;
  }

  .system-gallery-stage .system-gallery-orbit{
    inset:30px 0;
  }

  .system-gallery-stage .system-gallery-item{
    width:246px;
    height:148px;
  }

  .system-gallery-stage .system-gallery-item.is-current{
    --gallery-y:0px;
    --gallery-scale:1;
    width:290px;
    height:178px;
    opacity:1;
  }

  .system-gallery-stage .system-gallery-item.is-prev{
    --gallery-x:0px;
    --gallery-y:-176px;
    --gallery-scale:.92;
    opacity:.78;
  }

  .system-gallery-stage .system-gallery-item.is-next{
    --gallery-x:0px;
    --gallery-y:176px;
    --gallery-scale:.92;
    opacity:.78;
  }

  .system-gallery-stage .system-gallery-item.is-prev-2{
    --gallery-x:0px;
    --gallery-y:-320px;
    --gallery-scale:.78;
    --gallery-tilt:0deg;
    opacity:.50;
    pointer-events:auto;
  }

  .system-gallery-stage .system-gallery-item.is-next-2{
    --gallery-x:0px;
    --gallery-y:320px;
    --gallery-scale:.78;
    --gallery-tilt:0deg;
    opacity:.50;
    pointer-events:auto;
  }

  .system-gallery-stage .system-gallery-item.is-before-hidden{
    --gallery-x:0px;
    --gallery-y:-455px;
    --gallery-scale:.62;
    opacity:0;
  }

  .system-gallery-stage .system-gallery-item.is-after-hidden{
    --gallery-x:0px;
    --gallery-y:455px;
    --gallery-scale:.62;
    opacity:0;
  }
}

/* Keep five readable cards on common 1366×768 / short landscape screens too. */
@media (min-width:981px) and (orientation:landscape) and (max-height:800px){
  .system-gallery-stage .container{
    min-height:0;
    padding-top:6px;
    padding-bottom:14px;
  }

  .system-gallery-stage .system-gallery-showcase{
    grid-template-columns:minmax(285px,315px) minmax(0,1fr);
    gap:32px;
  }

  .system-gallery-stage .system-gallery-preview{
    height:clamp(480px,66svh,535px);
  }

  .system-gallery-stage .system-gallery-rail{
    height:650px;
  }

  .system-gallery-stage .system-gallery-orbit{
    inset:24px 0;
  }

  .system-gallery-stage .system-gallery-item{
    width:214px;
    height:128px;
  }

  .system-gallery-stage .system-gallery-item.is-current{
    width:252px;
    height:154px;
  }

  .system-gallery-stage .system-gallery-item.is-prev{
    --gallery-y:-145px;
    --gallery-scale:.90;
  }

  .system-gallery-stage .system-gallery-item.is-next{
    --gallery-y:145px;
    --gallery-scale:.90;
  }

  .system-gallery-stage .system-gallery-item.is-prev-2{
    --gallery-y:-260px;
    --gallery-scale:.76;
    opacity:.50;
  }

  .system-gallery-stage .system-gallery-item.is-next-2{
    --gallery-y:260px;
    --gallery-scale:.76;
    opacity:.50;
  }

  .system-gallery-stage .system-gallery-item.is-before-hidden{--gallery-y:-370px;}
  .system-gallery-stage .system-gallery-item.is-after-hidden{--gallery-y:370px;}
}


/* V129 — Desktop landscape top balance: remove oversized gap above selected-image title */
@media (min-width:981px) and (orientation:landscape){
  .system-gallery-stage .container{
    padding-top:10px;
  }

  .system-gallery-stage .system-gallery-showcase{
    align-items:start;
  }

  .system-gallery-preview-stack{
    align-self:start;
    margin-top:0;
  }

  .system-gallery-preview-title{
    margin-top:0;
    margin-bottom:4px;
  }

  .system-gallery-stage .system-gallery-rail{
    align-self:start;
  }
}

@media (min-width:981px) and (orientation:landscape) and (max-height:800px){
  .system-gallery-stage .container{
    padding-top:8px;
  }
}


/* V130 — Portrait/mobile carousel arrow edge alignment */
@media (max-width:980px), (orientation:portrait){
  .system-gallery-stage .system-gallery-nav-prev{
    left:0 !important;
    right:auto !important;
    top:50% !important;
    bottom:auto !important;
    transform:translateY(-50%) !important;
  }

  .system-gallery-stage .system-gallery-nav-next{
    left:auto !important;
    right:0 !important;
    top:50% !important;
    bottom:auto !important;
    transform:translateY(-50%) !important;
  }

  .system-gallery-stage .system-gallery-nav-prev:hover,
  .system-gallery-stage .system-gallery-nav-next:hover{
    transform:translateY(-50%) scale(1.06) !important;
  }
}


/* V131 — remove inherited content-section top gap so gallery starts close to header */
.content-section.system-gallery-stage{
  padding-top:6px !important;
  padding-bottom:20px !important;
}
.system-gallery-stage > .container{
  padding-top:0 !important;
}
@media (min-width:981px) and (orientation:landscape){
  .content-section.system-gallery-stage{
    padding-top:4px !important;
    padding-bottom:18px !important;
  }
  .system-gallery-stage > .container{
    padding-top:0 !important;
  }
  .system-gallery-preview-stack{
    margin-top:0 !important;
  }
}
@media (max-width:980px), (orientation:portrait){
  .content-section.system-gallery-stage{
    padding-top:8px !important;
    padding-bottom:18px !important;
  }
  .system-gallery-stage > .container{
    padding-top:0 !important;
  }
}


/* V133 — Match System first-section background to homepage hero canvas */
.content-section.system-gallery-stage{
  background:#edf4ef !important;
}


/* V134 — Turn large preview frame into a smart-home display bezel */
.system-gallery-stage .system-gallery-preview{
  position:relative;
  padding:20px 20px 26px !important;
  border-radius:38px !important;
  background:linear-gradient(180deg,#5b6168 0%,#2b3137 14%,#181d22 100%) !important;
  border:1px solid rgba(255,255,255,.26);
  box-shadow:
    0 28px 70px rgba(14,36,22,.16),
    0 12px 22px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.40),
    inset 0 -10px 18px rgba(0,0,0,.26);
}
.system-gallery-stage .system-gallery-preview::before{
  content:"";
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:96px;
  height:14px;
  border-radius:999px;
  background:
    radial-gradient(circle at 50% 50%, #4c5660 0 1.6px, transparent 1.8px),
    linear-gradient(180deg,#0f1418 0%,#23292f 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.10),
    0 1px 0 rgba(255,255,255,.06);
  z-index:5;
  pointer-events:none;
}
.system-gallery-stage .system-gallery-preview::after{
  left:10%;
  right:10%;
  bottom:10px;
  height:22px;
  border-radius:50%;
  background:rgba(10,16,14,.30);
  filter:blur(16px);
}
.system-gallery-stage .system-gallery-preview img{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  padding:0 !important;
  border-radius:26px;
  background:#f1f4f1;
  box-shadow:inset 0 0 0 1px rgba(22,40,28,.08);
}
@media (min-width:981px) and (orientation:landscape){
  .system-gallery-stage .system-gallery-preview{
    padding:22px 22px 30px !important;
    border-radius:40px !important;
  }
  .system-gallery-stage .system-gallery-preview::before{
    top:11px;
    width:102px;
    height:15px;
  }
  .system-gallery-stage .system-gallery-preview img{
    border-radius:28px;
  }
}
@media (max-width:980px), (orientation:portrait){
  .system-gallery-stage .system-gallery-preview{
    padding:16px 16px 20px !important;
    border-radius:28px !important;
  }
  .system-gallery-stage .system-gallery-preview::before{
    top:8px;
    width:78px;
    height:12px;
  }
  .system-gallery-stage .system-gallery-preview img{
    border-radius:18px;
  }
}
@media (max-width:520px){
  .system-gallery-stage .system-gallery-preview{
    padding:14px 14px 18px !important;
    border-radius:24px !important;
  }
  .system-gallery-stage .system-gallery-preview::before{
    width:68px;
    height:10px;
    top:7px;
  }
  .system-gallery-stage .system-gallery-preview img{
    border-radius:15px;
  }
}


/* V135 — Adaptive smart-display frame that fits the selected image exactly */
.system-gallery-stage .system-gallery-preview{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.system-gallery-stage .system-gallery-preview::before,
.system-gallery-stage .system-gallery-preview::after{
  content:none !important;
}
.system-gallery-screen{
  --screen-pad:18px;
  position:relative;
  flex:none;
  width:min(100%, 640px);
  height:auto;
  max-width:100%;
  max-height:100%;
  padding:var(--screen-pad);
  border-radius:34px;
  background:linear-gradient(180deg,#4f565d 0%,#2a3138 18%,#171c21 100%);
  box-shadow:
    0 26px 62px rgba(14,36,22,.14),
    0 12px 26px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -10px 16px rgba(0,0,0,.24);
  overflow:visible;
}
.system-gallery-screen::before{
  content:"";
  position:absolute;
  top:8px;
  left:50%;
  transform:translateX(-50%);
  width:74px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(180deg,#0f1317 0%,#2a3138 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  z-index:4;
  pointer-events:none;
}
.system-gallery-screen::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 0 0 var(--screen-pad) rgba(26,31,36,.90);
  z-index:3;
  pointer-events:none;
}
.system-gallery-stage .system-gallery-preview img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  padding:0 !important;
  border-radius:calc(34px - var(--screen-pad));
  background:#edf4ef;
  box-shadow:none;
}
@media (min-width:981px) and (orientation:landscape){
  .system-gallery-screen{
    --screen-pad:20px;
    border-radius:36px;
  }
  .system-gallery-screen::before{
    top:9px;
    width:84px;
    height:11px;
  }
}
@media (max-width:980px), (orientation:portrait){
  .system-gallery-screen{
    --screen-pad:14px;
    border-radius:26px;
  }
  .system-gallery-screen::before{
    width:62px;
    height:9px;
    top:7px;
  }
}
@media (max-width:520px){
  .system-gallery-screen{
    --screen-pad:12px;
    border-radius:22px;
  }
  .system-gallery-screen::before{
    width:54px;
    height:8px;
    top:6px;
  }
}


/* V136 — Restore previous smart-display frame styling while keeping adaptive sizing */
.system-gallery-stage .system-gallery-preview{
  position:relative;
  overflow:visible;
}
.system-gallery-stage .system-gallery-preview::after{
  content:"" !important;
  position:absolute;
  left:10%;
  right:10%;
  bottom:10px;
  height:22px;
  border-radius:50%;
  background:rgba(10,16,14,.30);
  filter:blur(16px);
  pointer-events:none;
  z-index:0;
}
.system-gallery-screen{
  --screen-pad:18px;
  position:relative;
  z-index:1;
  box-sizing:border-box;
  background:linear-gradient(180deg,#5b6168 0%,#2b3137 14%,#181d22 100%) !important;
  border:1px solid rgba(255,255,255,.26);
  border-radius:38px;
  box-shadow:
    0 28px 70px rgba(14,36,22,.16),
    0 12px 22px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.40),
    inset 0 -10px 18px rgba(0,0,0,.26);
  overflow:hidden;
}
.system-gallery-screen::before{
  content:"";
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:96px;
  height:14px;
  border-radius:999px;
  background:
    radial-gradient(circle at 50% 50%, #4c5660 0 1.6px, transparent 1.8px),
    linear-gradient(180deg,#0f1418 0%,#23292f 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.10),
    0 1px 0 rgba(255,255,255,.06);
  z-index:5;
  pointer-events:none;
}
.system-gallery-screen::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 0 0 var(--screen-pad) rgba(22,40,28,.10);
  z-index:3;
  pointer-events:none;
}
.system-gallery-stage .system-gallery-preview img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  padding:0 !important;
  border-radius:calc(38px - var(--screen-pad));
  background:#f1f4f1;
  box-shadow:inset 0 0 0 1px rgba(22,40,28,.08);
}
@media (min-width:981px) and (orientation:landscape){
  .system-gallery-screen{
    --screen-pad:20px;
    border-radius:40px;
  }
  .system-gallery-screen::before{
    top:11px;
    width:102px;
    height:15px;
  }
  .system-gallery-stage .system-gallery-preview img{
    border-radius:20px;
  }
}
@media (max-width:980px), (orientation:portrait){
  .system-gallery-screen{
    --screen-pad:14px;
    border-radius:28px;
  }
  .system-gallery-screen::before{
    top:8px;
    width:78px;
    height:12px;
  }
  .system-gallery-stage .system-gallery-preview img{
    border-radius:14px;
  }
}
@media (max-width:520px){
  .system-gallery-screen{
    --screen-pad:12px;
    border-radius:24px;
  }
  .system-gallery-screen::before{
    width:68px;
    height:10px;
    top:7px;
  }
  .system-gallery-stage .system-gallery-preview img{
    border-radius:12px;
  }
}


/* V137 — Zero-overlap bezel: frame sits fully outside image edges */
.system-gallery-screen{
  box-sizing:border-box;
  padding:var(--screen-pad) !important;
}
.system-gallery-screen::after{
  content:none !important;
  display:none !important;
  box-shadow:none !important;
}
.system-gallery-screen::before{
  top:2px !important;
  height:14px !important;
}
.system-gallery-stage .system-gallery-preview img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  box-shadow:none !important;
  margin:0 !important;
  padding:0 !important;
}
@media (min-width:981px) and (orientation:landscape){
  .system-gallery-screen::before{
    top:3px !important;
    height:14px !important;
  }
}
@media (max-width:980px), (orientation:portrait){
  .system-gallery-screen::before{
    top:1px !important;
    height:12px !important;
  }
}
@media (max-width:520px){
  .system-gallery-screen::before{
    top:1px !important;
    height:10px !important;
  }
}


/* V139 — Homepage slide 1 uses the same smart-display structure as the System page */
.hero-screen-sync::before{
  display:none !important;
  content:none !important;
}
.hero-screen-sync{
  background-color:#edf4ef;
}
.hero-screen-sync .hero-grid{
  grid-template-columns:minmax(0,520px) minmax(0,1fr);
  align-items:center;
  gap:18px;
}
.hero-screen-sync .hero-copy{
  max-width:520px;
}
.hero-screen-visual{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}
.hero-screen-sync .hero-system-preview{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  overflow:visible;
}
.hero-screen-sync .hero-system-preview::after{
  content:"";
  position:absolute;
  left:10%;
  right:10%;
  bottom:8px;
  height:22px;
  border-radius:50%;
  background:rgba(10,16,14,.30);
  filter:blur(16px);
  pointer-events:none;
  z-index:0;
}
.hero-screen-sync .hero-system-screen{
  --screen-pad:18px;
  position:relative;
  z-index:1;
  box-sizing:border-box;
  width:min(100%, 640px);
  aspect-ratio:4 / 3;
  background:linear-gradient(180deg,#5b6168 0%,#2b3137 14%,#181d22 100%) !important;
  border:1px solid rgba(255,255,255,.26);
  border-radius:38px;
  box-shadow:
    0 28px 70px rgba(14,36,22,.16),
    0 12px 22px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.40),
    inset 0 -10px 18px rgba(0,0,0,.26);
  overflow:hidden;
}
.hero-screen-sync .hero-system-screen::before{
  content:"";
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:96px;
  height:14px;
  border-radius:999px;
  background:
    radial-gradient(circle at 50% 50%, #4c5660 0 1.6px, transparent 1.8px),
    linear-gradient(180deg,#0f1418 0%,#23292f 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.10),
    0 1px 0 rgba(255,255,255,.06);
  z-index:5;
  pointer-events:none;
}
.hero-screen-sync .hero-system-screen::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 0 0 var(--screen-pad) rgba(22,40,28,.10);
  z-index:3;
  pointer-events:none;
}
.hero-screen-sync .hero-system-screen img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:calc(38px - var(--screen-pad));
  background:#f1f4f1;
  box-shadow:inset 0 0 0 1px rgba(22,40,28,.08);
}
@media (max-width:980px), (orientation:portrait) and (max-width:1180px){
  .hero-screen-sync .hero-grid{grid-template-columns:minmax(0,470px) minmax(0,1fr); gap:14px;}
  .hero-screen-sync .hero-copy{max-width:470px;}
  .hero-screen-sync .hero-system-screen{width:min(100%, 600px);}
}
@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .hero-screen-sync .hero-grid{grid-template-columns:minmax(0,430px) minmax(0,1fr);}
  .hero-screen-sync .hero-copy{max-width:430px;}
  .hero-screen-sync .hero-system-screen{width:min(100%, 540px);}
}
@media(max-width:780px){
  .hero-screen-sync .hero-grid{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:stretch;
    gap:18px;
    padding-top:18px;
  }
  .hero-screen-sync .hero-screen-visual{
    order:1;
    width:100%;
  }
  .hero-screen-sync .hero-copy{
    order:2;
    max-width:none;
    padding:0 0 90px;
  }
  .hero-screen-sync .hero-system-screen{
    --screen-pad:14px;
    width:min(100%, 560px);
    border-radius:28px;
  }
  .hero-screen-sync .hero-system-screen::before{
    top:8px;
    width:78px;
    height:12px;
  }
  .hero-screen-sync .hero-system-screen img{
    border-radius:14px;
  }
  .hero-screen-sync .hero-system-preview::after{bottom:6px;}
}
@media(max-width:520px){
  .hero-screen-sync .hero-system-screen{
    --screen-pad:12px;
    width:min(100%, 100%);
    border-radius:24px;
  }
  .hero-screen-sync .hero-system-screen::before{
    width:68px;
    height:10px;
    top:7px;
  }
  .hero-screen-sync .hero-system-screen img{
    border-radius:12px;
  }
}


/* V140 — Mobile slide 1: pin the smart-display visual to the top like every other hero slide */
@media (max-width:780px){
  .hero-screen-sync{
    position:absolute;
  }

  .hero-screen-sync .hero-grid{
    display:block !important;
    height:100%;
    padding-top:calc(min(60vw,320px) + 18px) !important;
  }

  .hero-screen-sync .hero-screen-visual{
    position:absolute;
    top:0;
    left:0;
    right:0;
    width:100%;
    height:min(60vw,320px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px 4px;
    box-sizing:border-box;
    z-index:1;
  }

  .hero-screen-sync .hero-system-preview{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .hero-screen-sync .hero-system-screen{
    width:auto;
    height:100%;
    max-width:100%;
    aspect-ratio:4 / 3;
  }

  .hero-screen-sync .hero-copy{
    position:relative;
    z-index:2;
    max-width:none;
    margin-left:0;
    padding:18px 0 90px;
  }
}

@media (max-width:520px){
  .hero-screen-sync .hero-grid{
    padding-top:calc(min(62vw,300px) + 14px) !important;
  }

  .hero-screen-sync .hero-screen-visual{
    height:min(62vw,300px);
    padding:8px 12px 4px;
  }
}


/* V141 — Mobile hero controls fixed to the bottom edge of the image zone */
@media (max-width:780px){
  .hero-slider .slider-arrow{
    top:calc(min(60vw,320px) - 20px) !important;
    bottom:auto !important;
    width:40px;
    height:40px;
    transform:none !important;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.94);
    color:#263a2d;
    box-shadow:0 7px 20px rgba(24,45,31,.16);
  }

  .hero-slider .slider-arrow.prev{
    left:12px !important;
    right:auto !important;
  }

  .hero-slider .slider-arrow.next{
    left:auto !important;
    right:12px !important;
  }

  .hero-slider .slider-status{
    top:calc(min(60vw,320px) - 18px) !important;
    bottom:auto !important;
    left:50% !important;
    width:auto !important;
    min-height:36px;
    padding:6px 12px;
    gap:10px;
    transform:translateX(-50%) !important;
    border:1px solid rgba(26,83,45,.10);
    border-radius:999px;
    background:rgba(255,255,255,.92);
    color:#263a2d;
    text-shadow:none;
    box-shadow:0 7px 20px rgba(24,45,31,.12);
    backdrop-filter:blur(7px);
    -webkit-backdrop-filter:blur(7px);
  }

  .hero-slider .slider-status strong{
    color:#263a2d;
    font-size:.88rem;
    line-height:1;
  }

  .hero-slider .slider-dots{
    gap:6px;
  }

  .hero-slider .slider-dots button{
    width:7px;
    height:7px;
    background:rgba(38,58,45,.28);
  }

  .hero-slider .slider-dots button.is-active{
    width:8px;
    height:8px;
    background:#1e8d41;
    outline:1px solid rgba(30,141,65,.22);
  }
}

@media (max-width:520px){
  .hero-slider .slider-arrow{
    top:calc(min(62vw,300px) - 19px) !important;
    width:38px;
    height:38px;
  }

  .hero-slider .slider-arrow.prev{left:10px !important;}
  .hero-slider .slider-arrow.next{right:10px !important;}

  .hero-slider .slider-status{
    top:calc(min(62vw,300px) - 17px) !important;
    min-height:34px;
    padding:5px 10px;
    gap:8px;
  }
}


/* V142 — System page: one viewport panel per submenu + fixed up/down section navigation */
.system-panel-page{
  --system-panel-header-h:78px;
  --system-panel-gap:clamp(18px,2.4vh,30px);
}
html:has(body.system-panel-page){
  scroll-behavior:smooth;
  scroll-snap-type:y proximity;
  scroll-padding-top:var(--system-panel-header-h,78px);
}
.system-panel-page .system-page > section[id]{
  box-sizing:border-box;
  height:calc(100svh - var(--system-panel-header-h));
  min-height:calc(100svh - var(--system-panel-header-h));
  scroll-snap-align:start;
  scroll-snap-stop:always;
  scroll-margin-top:var(--system-panel-header-h);
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:none;
}
.system-panel-page .system-page > section[id]::-webkit-scrollbar{
  width:0;
  height:0;
}
.system-panel-page .system-page > section[id] > .container{
  width:min(100%,1200px);
  min-height:100%;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top:var(--system-panel-gap);
  padding-bottom:var(--system-panel-gap);
}
.system-panel-page .system-page > #system-overview{
  height:calc(100svh - var(--system-panel-header-h)) !important;
  min-height:calc(100svh - var(--system-panel-header-h)) !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
.system-panel-page .system-page > #system-overview > .container{
  min-height:100% !important;
  padding-top:clamp(4px,1vh,10px) !important;
  padding-bottom:clamp(10px,1.6vh,18px) !important;
}
.system-panel-page .system-page > #system-consult{
  display:flex;
  align-items:center;
  padding:0 !important;
}
.system-panel-page #system-consult > .container{
  min-height:100%;
  justify-content:center;
}

/* Compact the section content just enough for a clean 16:9 desktop panel. */
@media (min-width:981px) and (orientation:landscape){
  .system-panel-page .system-page > section[id]{
    overflow:hidden;
  }
  .system-panel-page .page-section-heading{
    margin-bottom:clamp(16px,2.2vh,26px);
  }
  .system-panel-page .page-section-heading>p{
    margin-bottom:4px;
  }
  .system-panel-page .page-section-heading h2{
    font-size:clamp(1.72rem,2.55vw,2.55rem);
    line-height:1.16;
  }
  .system-panel-page .page-section-heading span{
    margin-top:8px;
    line-height:1.55;
  }

  .system-panel-page #architecture .architecture-flow{
    gap:12px;
  }
  .system-panel-page #architecture .architecture-flow article{
    min-height:150px;
    padding:20px 14px;
  }

  .system-panel-page #app-features .app-feature-grid{
    gap:12px;
  }
  .system-panel-page #app-features .app-feature-card{
    padding:14px 13px 16px;
  }
  .system-panel-page #app-features .app-shot-frame{
    margin-bottom:11px;
    padding:8px;
  }
  .system-panel-page #app-features .app-preview-wrap,
  .system-panel-page #app-features .app-preview-wrap.portrait-preview{
    width:auto;
    height:clamp(250px,42vh,340px);
    max-width:220px;
    aspect-ratio:auto;
  }
  .system-panel-page #app-features .app-feature-card h3{
    margin-top:0;
    margin-bottom:5px;
  }
  .system-panel-page #app-features .app-feature-card p{
    margin-top:0;
    line-height:1.5;
  }

  .system-panel-page #master-controller .master-unified-panel{
    max-height:calc(100svh - var(--system-panel-header-h) - 160px);
  }
  .system-panel-page #master-controller .master-unified-layout{
    gap:28px;
  }
  .system-panel-page #master-controller .master-visual-frame{
    max-height:48vh;
  }

  .system-panel-page #node-controller .node-product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
  }
  .system-panel-page #node-controller .node-product{
    border-radius:18px;
    border-top-width:6px;
  }
  .system-panel-page #node-controller .node-product-body.has-visual{
    grid-template-columns:minmax(95px,38%) minmax(0,1fr);
    gap:12px;
    min-height:0;
    padding:12px;
  }
  .system-panel-page #node-controller .node-visual-frame{
    padding:6px;
    border-radius:13px;
  }
  .system-panel-page #node-controller .node-slot-image{
    max-height:132px;
    object-fit:contain;
  }
  .system-panel-page #node-controller .node-product-eyebrow{
    font-size:.58rem;
  }
  .system-panel-page #node-controller .node-product-copy h3{
    margin:4px 0;
    font-size:1.05rem;
  }
  .system-panel-page #node-controller .node-product-copy strong{
    font-size:.82rem;
  }
  .system-panel-page #node-controller .node-product-copy p{
    margin:5px 0 0;
    font-size:.7rem;
    line-height:1.45;
  }

  .system-panel-page #sensor-examples .sensor-example-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
  }
  .system-panel-page #sensor-examples .sensor-example-card{
    grid-template-columns:54px 1fr;
    gap:10px;
    min-height:0;
    padding:12px;
    border-radius:15px;
  }
  .system-panel-page #sensor-examples .sensor-icon{
    width:48px;
    height:48px;
    border-radius:13px;
  }
  .system-panel-page #sensor-examples .sensor-icon svg{
    width:27px;
    height:27px;
  }
  .system-panel-page #sensor-examples .sensor-card-title h3{
    font-size:.86rem;
    line-height:1.25;
  }
  .system-panel-page #sensor-examples .sensor-node{
    padding:4px 6px;
    font-size:.48rem;
  }
  .system-panel-page #sensor-examples .sensor-example-card p{
    margin:5px 0 7px;
    font-size:.68rem;
    line-height:1.4;
  }
  .system-panel-page #sensor-examples .sensor-tags{
    gap:4px;
  }
  .system-panel-page #sensor-examples .sensor-tags span{
    padding:3px 5px;
    font-size:.5rem;
  }
  .system-panel-page #sensor-examples .sensor-note{
    margin-top:10px;
    padding:10px 12px;
  }
  .system-panel-page #sensor-examples .sensor-note-icon{
    width:28px;
    height:28px;
  }
  .system-panel-page #sensor-examples .sensor-note p{
    margin-top:2px;
    font-size:.68rem;
    line-height:1.4;
  }
}

/* Tablet / phone: the panel stays viewport-sized; long content scrolls inside that panel. */
@media (max-width:980px), (orientation:portrait) and (max-width:1100px){
  .system-panel-page{
    --system-panel-header-h:74px;
  }
  .system-panel-page .system-page > section[id] > .container{
    justify-content:flex-start;
    padding-top:24px;
    padding-bottom:84px;
  }
  .system-panel-page .system-page > #system-overview > .container{
    justify-content:flex-start;
    padding-bottom:78px !important;
  }
}
@media (max-width:780px){
  .system-panel-page{
    --system-panel-header-h:66px;
  }
  .system-panel-page .system-page > section[id] > .container{
    padding-top:18px;
    padding-bottom:82px;
  }
  .system-panel-page .page-section-heading{
    margin-bottom:20px;
  }
  .system-panel-page .page-section-heading h2{
    font-size:clamp(1.65rem,7vw,2.25rem);
  }
}

/* Fixed viewport controls — always attached to the screen, never to an image. */
.system-panel-jump{
  position:fixed;
  right:max(14px,env(safe-area-inset-right));
  bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px));
  z-index:95;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:6px;
  border:1px solid rgba(29,111,58,.16);
  border-radius:999px;
  background:rgba(255,255,255,.88);
  box-shadow:0 12px 30px rgba(18,55,32,.16);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.system-panel-jump-btn{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(30,122,64,.14);
  border-radius:50%;
  background:#fff;
  color:#176b36;
  font:800 1.35rem/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
  box-shadow:0 5px 14px rgba(20,76,40,.09);
  transition:transform .18s ease,background .18s ease,color .18s ease,opacity .18s ease;
}
.system-panel-jump-btn:hover:not(:disabled){
  transform:translateY(-1px);
  color:#fff;
  background:#1f8d45;
}
.system-panel-jump-btn:focus-visible{
  outline:3px solid rgba(31,141,69,.24);
  outline-offset:2px;
}
.system-panel-jump-btn:disabled{
  opacity:.30;
  cursor:default;
  box-shadow:none;
}
@media (max-width:780px){
  .system-panel-jump{
    right:max(10px,env(safe-area-inset-right));
    bottom:max(12px,calc(env(safe-area-inset-bottom) + 8px));
    gap:5px;
    padding:5px;
  }
  .system-panel-jump-btn{
    width:42px;
    height:42px;
    font-size:1.2rem;
  }
}
@media (prefers-reduced-motion:reduce){
  html:has(body.system-panel-page){scroll-behavior:auto;}
  .system-panel-jump-btn{transition:none;}
}


/* V142.1 — robust snap root + preserve consultation layout */
html.system-panel-snap-root{
  scroll-behavior:smooth;
  scroll-snap-type:y proximity;
  scroll-padding-top:78px;
}
.system-panel-page #system-consult > .container{
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:36px;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1100px){
  html.system-panel-snap-root{scroll-padding-top:74px;}
}
@media(max-width:780px){
  html.system-panel-snap-root{scroll-padding-top:66px;}
  .system-panel-page #system-consult > .container{
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:22px;
  }
}
@media(prefers-reduced-motion:reduce){
  html.system-panel-snap-root{scroll-behavior:auto;}
}


/* V143 — Exact viewport-edge panel alignment under the real sticky header */
html.system-panel-snap-root{
  scroll-snap-type:y mandatory !important;
  scroll-padding-top:var(--system-panel-header-h,78px) !important;
}
.system-panel-page .system-page > section[id]{
  /* Header offset belongs to the scrollport only; never add it again on the panel. */
  scroll-margin-top:0 !important;
  height:calc(100vh - var(--system-panel-header-h,78px)) !important;
  min-height:calc(100vh - var(--system-panel-header-h,78px)) !important;
  height:calc(100dvh - var(--system-panel-header-h,78px)) !important;
  min-height:calc(100dvh - var(--system-panel-header-h,78px)) !important;
  scroll-snap-align:start !important;
  scroll-snap-stop:always;
}
.system-panel-page .system-page > #system-overview{
  height:calc(100vh - var(--system-panel-header-h,78px)) !important;
  min-height:calc(100vh - var(--system-panel-header-h,78px)) !important;
  height:calc(100dvh - var(--system-panel-header-h,78px)) !important;
  min-height:calc(100dvh - var(--system-panel-header-h,78px)) !important;
}


/* V144 — Portrait parity: exact full-frame snap below the live header */
@media (orientation:portrait){
  html.system-panel-snap-root{
    scroll-padding-top:var(--system-panel-header-h,66px) !important;
    scroll-snap-type:y mandatory !important;
  }

  .system-panel-page .system-page > section[id],
  .system-panel-page .system-page > #system-overview{
    box-sizing:border-box;
    height:calc(var(--system-panel-viewport-h,100dvh) - var(--system-panel-header-h,66px)) !important;
    min-height:calc(var(--system-panel-viewport-h,100dvh) - var(--system-panel-header-h,66px)) !important;
    max-height:calc(var(--system-panel-viewport-h,100dvh) - var(--system-panel-header-h,66px)) !important;
    scroll-margin-top:0 !important;
    scroll-margin-block-start:0 !important;
    scroll-snap-align:start !important;
    scroll-snap-stop:always !important;
  }

  /* The section itself is the frame. Long portrait content scrolls inside it,
     so no part of the previous/next frame remains visible at the viewport edge. */
  .system-panel-page .system-page > section[id]{
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:contain;
  }

  .system-panel-page .system-page > section[id] > .container{
    min-height:100%;
    box-sizing:border-box;
  }
}

@media (orientation:portrait) and (max-width:780px){
  .system-panel-page .system-page > section[id],
  .system-panel-page .system-page > #system-overview{
    height:calc(var(--system-panel-viewport-h,100dvh) - var(--system-panel-header-h,66px)) !important;
    min-height:calc(var(--system-panel-viewport-h,100dvh) - var(--system-panel-header-h,66px)) !important;
    max-height:calc(var(--system-panel-viewport-h,100dvh) - var(--system-panel-header-h,66px)) !important;
  }
}


/* V145 — Key Features section reuses the screen-gallery layout */
.feature-gallery-stage .feature-gallery-heading{
  margin-bottom:20px;
}
.feature-gallery-stage .system-gallery-showcase{
  margin-top:0;
}
.feature-gallery-stage .system-gallery-theme-toggle{
  margin-top:2px;
}

/* V152 — Product gallery rebuilt from the Key Features gallery structure. */
.product-gallery-stage .product-gallery-heading{
  margin-bottom:0;
}


/* V153 — Product preview becomes a background information card; selector stays identical to V152. */
.product-gallery-stage .product-gallery-heading{
  margin-bottom:0;
}
.product-gallery-stage .product-preview-stack{
  width:100%;
}
.product-gallery-stage .product-detail-preview{
  position:relative;
  width:100% !important;
  height:clamp(500px,64vh,590px) !important;
  aspect-ratio:auto !important;
  display:grid !important;
  grid-template-columns:minmax(0,48%) minmax(0,52%);
  align-items:stretch !important;
  justify-content:stretch !important;
  gap:0;
  padding:clamp(24px,3vw,38px) !important;
  overflow:hidden !important;
  border:1px solid rgba(26,105,55,.12) !important;
  border-radius:32px !important;
  background:
    radial-gradient(circle at 88% 10%,rgba(25,137,68,.09),transparent 34%),
    linear-gradient(145deg,#ffffff 0%,#f5f9f6 100%) !important;
  box-shadow:0 24px 58px rgba(18,55,32,.10) !important;
}
.product-gallery-stage .product-detail-preview::before{
  content:"";
  position:absolute;
  inset:auto -70px -80px auto;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(25,137,68,.055);
  pointer-events:none;
}
.product-gallery-stage .product-detail-preview::after{
  content:none !important;
}
.product-detail-visual{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px clamp(18px,3vw,34px) 8px 4px;
}
.product-gallery-stage .product-detail-visual img[data-gallery-preview]{
  position:relative;
  z-index:2;
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:410px;
  max-height:440px;
  padding:0 !important;
  object-fit:contain !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.product-detail-copy{
  position:relative;
  z-index:2;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:12px 4px 12px clamp(26px,3vw,42px);
  border-left:1px solid rgba(34,95,56,.12);
}
.product-detail-chip{
  width:max-content;
  min-width:68px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  margin-bottom:12px;
  border-radius:13px;
  background:#1f7a3e;
  color:#fff;
  font-size:.78rem;
  font-weight:850;
  letter-spacing:.06em;
}
.product-detail-eyebrow{
  margin:0 0 4px;
  color:#77837b;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.product-detail-copy h3{
  margin:0 0 14px;
  color:#173d26;
  font-size:clamp(2rem,3vw,2.65rem);
  line-height:1.03;
  letter-spacing:-.035em;
}
.product-detail-highlight{
  display:block;
  margin:0 0 8px;
  color:#173d26;
  font-size:1.12rem;
  line-height:1.35;
  font-weight:850;
}
.product-detail-description{
  margin:0;
  max-width:42ch;
  color:#647068;
  font-size:.96rem;
  line-height:1.68;
}
.product-detail-points{
  margin:16px 0 20px;
  padding-left:20px;
  display:grid;
  gap:7px;
  max-width:44ch;
  color:#606b64;
  font-size:.92rem;
  line-height:1.58;
}
.product-detail-link{
  width:max-content;
  max-width:100%;
  color:#176b36;
  font-weight:800;
  text-decoration:none;
}
.product-detail-link:hover{
  text-decoration:underline;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1100px){
  .product-gallery-stage .product-detail-preview{
    height:auto !important;
    min-height:460px;
    grid-template-columns:minmax(0,44%) minmax(0,56%);
    padding:24px !important;
    border-radius:26px !important;
  }
  .product-detail-copy{
    padding-left:24px;
  }
  .product-gallery-stage .product-detail-visual img[data-gallery-preview]{
    max-height:360px;
  }
}
@media (max-width:780px){
  .product-gallery-stage .product-detail-preview{
    min-height:0;
    grid-template-columns:1fr;
    gap:18px;
    padding:20px 18px !important;
  }
  .product-detail-visual{
    min-height:240px;
    padding:0;
  }
  .product-gallery-stage .product-detail-visual img[data-gallery-preview]{
    max-width:300px;
    max-height:280px;
  }
  .product-detail-copy{
    padding:18px 2px 2px;
    border-left:0;
    border-top:1px solid rgba(34,95,56,.12);
  }
  .product-detail-copy h3{
    font-size:1.72rem;
  }
  .product-detail-description,
  .product-detail-points{
    max-width:none;
  }
}


/* V154 — Product gallery pattern swap + keep selected image/details side-by-side on iPad and phone. */
.product-gallery-stage .product-preview-stack{
  display:flex;
  flex-direction:column;
  gap:10px;
}
@media (min-width:981px) and (orientation:landscape){
  .product-gallery-stage .system-gallery-showcase{
    grid-template-columns:minmax(0,1fr) minmax(290px,340px) !important;
    grid-template-areas:"preview rail" !important;
    gap:clamp(28px,4vw,58px) !important;
    align-items:center !important;
  }
  .product-gallery-stage .product-preview-stack{
    grid-area:preview;
    align-self:center;
  }
  .product-gallery-stage .system-gallery-rail{
    grid-area:rail;
    align-self:center !important;
  }
  .product-gallery-stage .product-detail-preview{
    height:clamp(470px,58vh,560px) !important;
    min-height:470px;
    grid-template-columns:minmax(0,46%) minmax(0,54%) !important;
    padding:clamp(22px,2.6vw,34px) !important;
  }
  .product-gallery-stage .product-detail-visual{
    padding:6px clamp(18px,2vw,26px) 6px 6px;
  }
  .product-gallery-stage .product-detail-visual img[data-gallery-preview]{
    max-width:380px;
    max-height:390px;
  }
  .product-gallery-stage .product-detail-copy{
    padding:8px 0 8px clamp(22px,2.5vw,34px);
  }
}
@media (max-width:980px), (orientation:portrait) and (max-width:1100px){
  .product-gallery-stage .product-detail-preview{
    grid-template-columns:minmax(0,45%) minmax(0,55%) !important;
    min-height:0;
    height:auto !important;
    padding:20px !important;
    gap:0 !important;
  }
  .product-gallery-stage .product-detail-visual{
    min-height:0;
    padding:4px 14px 4px 0;
  }
  .product-gallery-stage .product-detail-visual img[data-gallery-preview]{
    max-width:100%;
    max-height:310px;
  }
  .product-gallery-stage .product-detail-copy{
    padding:4px 0 4px 20px;
    border-left:1px solid rgba(34,95,56,.12);
    border-top:0 !important;
  }
  .product-gallery-stage .product-detail-copy h3{
    font-size:clamp(1.72rem,3.5vw,2.2rem);
    margin-bottom:10px;
  }
  .product-gallery-stage .product-detail-highlight{
    margin-bottom:6px;
    font-size:1rem;
  }
  .product-gallery-stage .product-detail-description{
    font-size:.9rem;
    line-height:1.55;
  }
  .product-gallery-stage .product-detail-points{
    margin:12px 0 16px;
    gap:6px;
    font-size:.86rem;
    line-height:1.48;
  }
}
@media (max-width:780px){
  .product-gallery-stage .product-detail-preview{
    grid-template-columns:minmax(0,42%) minmax(0,58%) !important;
    padding:16px !important;
    border-radius:22px !important;
  }
  .product-gallery-stage .product-detail-visual{
    min-height:0 !important;
    padding:0 12px 0 0;
    align-items:center;
  }
  .product-gallery-stage .product-detail-visual img[data-gallery-preview]{
    max-width:100%;
    max-height:235px;
  }
  .product-gallery-stage .product-detail-copy{
    padding:2px 0 2px 14px;
  }
  .product-gallery-stage .product-detail-chip{
    min-width:58px;
    height:34px;
    padding:0 12px;
    margin-bottom:8px;
    border-radius:11px;
    font-size:.68rem;
  }
  .product-gallery-stage .product-detail-eyebrow{
    margin-bottom:3px;
    font-size:.61rem;
    letter-spacing:.08em;
  }
  .product-gallery-stage .product-detail-copy h3{
    font-size:clamp(1.26rem,4.8vw,1.76rem);
    margin-bottom:8px;
  }
  .product-gallery-stage .product-detail-highlight{
    font-size:.88rem;
    line-height:1.35;
  }
  .product-gallery-stage .product-detail-description{
    font-size:.77rem;
    line-height:1.45;
  }
  .product-gallery-stage .product-detail-points{
    margin:10px 0 12px;
    padding-left:16px;
    gap:4px;
    font-size:.73rem;
    line-height:1.4;
  }
  .product-gallery-stage .product-detail-link{
    font-size:.8rem;
  }
}
@media (max-width:520px){
  .product-gallery-stage .product-detail-preview{
    grid-template-columns:minmax(0,40%) minmax(0,60%) !important;
    padding:14px !important;
    border-radius:20px !important;
  }
  .product-gallery-stage .product-detail-visual{
    padding-right:10px;
  }
  .product-gallery-stage .product-detail-visual img[data-gallery-preview]{
    max-height:200px;
  }
  .product-gallery-stage .product-detail-copy{
    padding-left:12px;
  }
  .product-gallery-stage .product-detail-chip{
    min-width:52px;
    height:30px;
    margin-bottom:7px;
    font-size:.62rem;
  }
  .product-gallery-stage .product-detail-eyebrow{
    font-size:.56rem;
  }
  .product-gallery-stage .product-detail-copy h3{
    font-size:1.08rem;
    margin-bottom:6px;
  }
  .product-gallery-stage .product-detail-highlight{
    font-size:.78rem;
    margin-bottom:5px;
  }
  .product-gallery-stage .product-detail-description{
    font-size:.68rem;
    line-height:1.38;
  }
  .product-gallery-stage .product-detail-points{
    margin:8px 0 10px;
    padding-left:14px;
    font-size:.64rem;
    line-height:1.34;
  }
  .product-gallery-stage .product-detail-link{
    font-size:.72rem;
  }
}


/* V155 — System Cabinet products + sensor enclosure visual integration */
.sensor-enclosure-showcase{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,34%);
  align-items:center;
  gap:18px;
  overflow:hidden;
}
.sensor-enclosure-copy{
  display:flex;
  align-items:flex-start;
  gap:15px;
  min-width:0;
}
.sensor-enclosure-visual{
  position:relative;
  min-height:108px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-left:1px solid rgba(35,93,56,.10);
}
.sensor-enclosure-visual img{
  display:block;
  width:100%;
  max-width:280px;
  max-height:125px;
  object-fit:contain;
  mix-blend-mode:multiply;
}
@media (min-width:981px) and (orientation:landscape){
  .system-panel-page #sensor-examples .sensor-enclosure-showcase{
    margin-top:10px;
    padding:8px 12px;
    grid-template-columns:minmax(0,1fr) 230px;
    gap:12px;
  }
  .system-panel-page #sensor-examples .sensor-enclosure-copy{
    gap:10px;
  }
  .system-panel-page #sensor-examples .sensor-enclosure-visual{
    min-height:72px;
    padding:0 6px;
  }
  .system-panel-page #sensor-examples .sensor-enclosure-visual img{
    max-width:210px;
    max-height:82px;
  }
}
@media (max-width:780px){
  .sensor-enclosure-showcase{
    grid-template-columns:minmax(0,1fr) minmax(118px,34%);
    gap:12px;
  }
  .sensor-enclosure-copy{
    gap:10px;
  }
  .sensor-enclosure-visual{
    min-height:90px;
    padding:2px 4px 2px 10px;
  }
  .sensor-enclosure-visual img{
    max-height:105px;
  }
}
@media (max-width:520px){
  .sensor-enclosure-showcase{
    grid-template-columns:minmax(0,1fr) 112px;
    padding:12px !important;
  }
  .sensor-enclosure-copy .sensor-note-icon{
    width:26px;
    height:26px;
  }
  .sensor-enclosure-copy b{
    font-size:.78rem;
  }
  .sensor-enclosure-copy p{
    font-size:.64rem !important;
    line-height:1.4 !important;
  }
  .sensor-enclosure-visual{
    min-height:78px;
  }
  .sensor-enclosure-visual img{
    max-height:90px;
  }
}


/* V156 — Sensor examples: 50/50 visual + two-column sensor card layout */
.sensor-example-layout{
  display:grid;
  grid-template-columns:minmax(0,46%) minmax(0,54%);
  gap:clamp(22px,3vw,38px);
  align-items:stretch;
}
.sensor-example-visual-panel{
  position:relative;
  min-width:0;
  min-height:520px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:clamp(20px,2.6vw,32px);
  border:1px solid #dce6df;
  border-radius:28px;
  background:
    radial-gradient(circle at 18% 12%,rgba(28,133,67,.08),transparent 34%),
    linear-gradient(145deg,#fbfdfb 0%,#f3f8f4 100%);
  box-shadow:0 20px 44px rgba(24,69,41,.07);
  overflow:hidden;
}
.sensor-example-visual-panel::after{
  content:"";
  position:absolute;
  right:-70px;
  bottom:-90px;
  width:230px;
  height:230px;
  border-radius:50%;
  background:rgba(28,133,67,.045);
  pointer-events:none;
}
.sensor-example-visual-copy{
  position:relative;
  z-index:2;
}
.sensor-example-visual-copy p{
  margin:0 0 5px;
  color:#27804a;
  font-size:.69rem;
  font-weight:850;
  letter-spacing:.12em;
}
.sensor-example-visual-copy strong{
  display:block;
  color:#173c25;
  font-size:clamp(1.25rem,2vw,1.8rem);
  line-height:1.2;
}
.sensor-example-visual-media{
  position:relative;
  z-index:2;
  min-height:0;
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 0 0;
}
.sensor-example-visual-media img{
  display:block;
  width:100%;
  max-width:560px;
  max-height:470px;
  height:auto;
  object-fit:contain;
  mix-blend-mode:multiply;
}
.sensor-example-layout > .sensor-example-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  align-content:start;
}
.sensor-example-layout .sensor-example-card{
  grid-template-columns:52px minmax(0,1fr) !important;
  gap:10px !important;
  min-height:0 !important;
  padding:12px !important;
  border-radius:16px !important;
}
.sensor-example-layout .sensor-icon{
  width:46px !important;
  height:46px !important;
  border-radius:13px !important;
}
.sensor-example-layout .sensor-icon svg{
  width:26px !important;
  height:26px !important;
}
.sensor-example-layout .sensor-card-title{
  gap:6px;
}
.sensor-example-layout .sensor-card-title h3{
  margin-top:0;
  font-size:.82rem !important;
  line-height:1.25 !important;
}
.sensor-example-layout .sensor-node{
  padding:3px 5px !important;
  font-size:.45rem !important;
}
.sensor-example-layout .sensor-example-card p{
  margin:4px 0 6px !important;
  font-size:.64rem !important;
  line-height:1.38 !important;
}
.sensor-example-layout .sensor-tags{
  gap:4px !important;
}
.sensor-example-layout .sensor-tags span{
  padding:3px 5px !important;
  font-size:.47rem !important;
}
@media (min-width:981px) and (orientation:landscape){
  .system-panel-page #sensor-examples .page-section-heading{
    margin-bottom:14px !important;
  }
  .system-panel-page #sensor-examples .sensor-example-layout{
    min-height:0;
    max-height:calc(100svh - var(--system-panel-header-h) - 170px);
  }
  .system-panel-page #sensor-examples .sensor-example-visual-panel{
    min-height:0;
    height:100%;
  }
  .system-panel-page #sensor-examples .sensor-example-visual-media img{
    max-height:46vh;
  }
  .system-panel-page #sensor-examples .sensor-example-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
  }
  .system-panel-page #sensor-examples .sensor-example-card{
    grid-template-columns:44px minmax(0,1fr) !important;
    gap:8px !important;
    padding:9px 10px !important;
    border-radius:14px !important;
  }
  .system-panel-page #sensor-examples .sensor-icon{
    width:40px !important;
    height:40px !important;
    border-radius:11px !important;
  }
  .system-panel-page #sensor-examples .sensor-icon svg{
    width:23px !important;
    height:23px !important;
  }
  .system-panel-page #sensor-examples .sensor-card-title h3{
    font-size:.75rem !important;
  }
  .system-panel-page #sensor-examples .sensor-example-card p{
    margin:3px 0 5px !important;
    font-size:.57rem !important;
    line-height:1.3 !important;
  }
  .system-panel-page #sensor-examples .sensor-tags span{
    padding:2px 4px !important;
    font-size:.42rem !important;
  }
}
@media (max-width:980px){
  .sensor-example-layout{
    grid-template-columns:minmax(0,43%) minmax(0,57%);
    gap:18px;
  }
  .sensor-example-visual-panel{
    min-height:460px;
    padding:20px;
  }
  .sensor-example-layout .sensor-example-card{
    grid-template-columns:44px minmax(0,1fr) !important;
    padding:10px !important;
  }
  .sensor-example-layout .sensor-icon{
    width:40px !important;
    height:40px !important;
  }
}
@media (max-width:760px){
  .sensor-example-layout{
    grid-template-columns:1fr;
    gap:18px;
  }
  .sensor-example-visual-panel{
    min-height:300px;
    padding:18px;
  }
  .sensor-example-visual-media img{
    max-height:260px;
  }
  .sensor-example-layout > .sensor-example-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:520px){
  .sensor-example-visual-panel{
    min-height:250px;
    border-radius:22px;
  }
  .sensor-example-visual-copy strong{
    font-size:1.15rem;
  }
  .sensor-example-visual-media img{
    max-height:210px;
  }
  .sensor-example-layout > .sensor-example-grid{
    grid-template-columns:1fr !important;
  }
  .sensor-example-layout .sensor-example-card{
    grid-template-columns:48px minmax(0,1fr) !important;
  }
}


/* V157 — First three System panels: compact one-line headings aligned to the selected preview in 16:9 landscape. */
.system-gallery-inline-heading{
  display:none;
}
@media (min-width:981px) and (orientation:landscape){
  #architecture > .container > .feature-gallery-heading,
  #controller-system > .container > .product-gallery-heading{
    display:none !important;
  }

  #system-overview .system-gallery-preview-stack,
  #architecture .system-gallery-preview-stack,
  #controller-system .product-preview-stack{
    gap:4px !important;
  }

  .system-gallery-inline-heading{
    width:100%;
    min-height:34px;
    margin:0 0 2px;
    padding:0 12px;
    display:flex;
    align-items:baseline;
    justify-content:center;
    gap:12px;
    white-space:nowrap;
    text-align:center;
    line-height:1.15;
  }
  .system-gallery-inline-heading strong{
    color:#17733a;
    font-size:clamp(1.28rem,1.65vw,1.68rem);
    font-weight:900;
    letter-spacing:-.025em;
  }
  .system-gallery-inline-heading span{
    color:#758078;
    font-size:clamp(.78rem,.95vw,.93rem);
    font-weight:650;
    letter-spacing:0;
  }

  #system-overview .system-gallery-preview-title,
  #architecture .system-gallery-preview-title,
  #controller-system .system-gallery-preview-title{
    min-height:22px;
    margin:0 0 2px !important;
    padding:0 10px;
    font-size:.84rem;
    line-height:1.25;
  }

  #system-overview .system-gallery-showcase,
  #architecture .system-gallery-showcase,
  #controller-system .system-gallery-showcase{
    align-items:start !important;
  }

  /* Removing the old full-width headings frees vertical room; keep the preview zone high and balanced. */
  #architecture .container,
  #controller-system .container{
    padding-top:8px !important;
  }
}

@media (min-width:981px) and (orientation:landscape) and (max-height:800px){
  .system-gallery-inline-heading{
    min-height:30px;
    gap:10px;
  }
  .system-gallery-inline-heading strong{
    font-size:clamp(1.15rem,1.45vw,1.45rem);
  }
  .system-gallery-inline-heading span{
    font-size:.78rem;
  }
}


/* V158 — reserved BAANLARN Remote Access Module slot */
.product-gallery-stage .remote-access-placeholder-item img{
  opacity:.92;
}
.product-gallery-stage .product-detail-visual img[src*="remote-access-module-placeholder"]{
  width:min(100%,360px) !important;
  height:auto !important;
  aspect-ratio:1 / 1;
  opacity:.96;
}


/* V159 — Portrait responsive panel composition.
   Each submenu owns its viewport frame, scales its internal zones, and never reveals adjacent panels. */
@media (orientation:portrait){
  .system-panel-page{
    --portrait-panel-h:calc(var(--system-panel-viewport-h,100dvh) - var(--system-panel-header-h,66px));
  }

  .system-panel-page .system-page > section[id],
  .system-panel-page .system-page > #system-overview{
    overflow:hidden !important;
    overscroll-behavior:none !important;
  }

  .system-panel-page .system-page > section[id] > .container{
    width:min(100% - 24px,920px) !important;
    height:100%;
    min-height:0 !important;
    padding-top:clamp(10px,1.6vh,18px) !important;
    padding-bottom:clamp(10px,1.6vh,18px) !important;
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-sizing:border-box;
    overflow:hidden;
  }

  /* First three panels use one consistent portrait heading system. */
  #architecture > .container > .feature-gallery-heading,
  #controller-system > .container > .product-gallery-heading{
    display:none !important;
  }

  #system-overview .system-gallery-inline-heading,
  #architecture .system-gallery-inline-heading,
  #controller-system .system-gallery-inline-heading{
    width:100%;
    min-height:0;
    margin:0 0 2px;
    padding:0 8px;
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    text-align:center;
    white-space:normal;
    line-height:1.12;
  }
  #system-overview .system-gallery-inline-heading strong,
  #architecture .system-gallery-inline-heading strong,
  #controller-system .system-gallery-inline-heading strong{
    color:#17733a;
    font-size:clamp(1.24rem,4.8vw,1.72rem);
    font-weight:900;
    letter-spacing:-.025em;
  }
  #system-overview .system-gallery-inline-heading span,
  #architecture .system-gallery-inline-heading span,
  #controller-system .system-gallery-inline-heading span{
    color:#758078;
    font-size:clamp(.72rem,2.6vw,.9rem);
    font-weight:650;
    line-height:1.25;
  }

  #system-overview .system-gallery-preview-title,
  #architecture .system-gallery-preview-title,
  #controller-system .system-gallery-preview-title{
    align-self:center !important;
    width:100%;
    min-height:20px;
    margin:0 !important;
    padding:0 8px;
    text-align:center !important;
    font-size:clamp(.82rem,2.8vw,.98rem);
    line-height:1.25;
  }

  #system-overview .system-gallery-showcase,
  #architecture .system-gallery-showcase,
  #controller-system .system-gallery-showcase{
    width:100% !important;
    height:100%;
    min-height:0;
    margin:0 auto !important;
    display:flex !important;
    flex-direction:column;
    align-items:center !important;
    justify-content:space-between;
    gap:clamp(7px,1.2vh,12px) !important;
    overflow:hidden;
  }

  #system-overview .system-gallery-preview-stack,
  #architecture .system-gallery-preview-stack,
  #controller-system .product-preview-stack{
    width:100% !important;
    min-height:0;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:clamp(5px,.8vh,9px) !important;
    overflow:hidden;
  }

  #system-overview .system-gallery-preview,
  #architecture .system-gallery-preview,
  #controller-system .product-detail-preview{
    width:min(100%,780px) !important;
    height:clamp(250px,44dvh,500px) !important;
    min-height:0 !important;
    max-height:500px !important;
    flex:0 1 auto;
    margin:0 auto;
  }

  #system-overview .system-gallery-theme-toggle,
  #architecture .system-gallery-theme-toggle{
    flex:0 0 auto;
    margin-top:0 !important;
  }

  #system-overview .system-gallery-rail,
  #architecture .system-gallery-rail,
  #controller-system .system-gallery-rail{
    width:min(100%,760px) !important;
    height:clamp(104px,14dvh,142px) !important;
    min-height:104px;
    flex:0 0 auto;
    margin:0 auto !important;
  }

  #system-overview .system-gallery-orbit,
  #architecture .system-gallery-orbit,
  #controller-system .system-gallery-orbit{
    inset:0 28px !important;
  }

  /* Product panel stays image-left / details-right even in portrait. */
  #controller-system .product-detail-preview{
    grid-template-columns:minmax(0,42%) minmax(0,58%) !important;
    align-items:stretch !important;
    padding:clamp(13px,2.4vw,20px) !important;
    gap:0 !important;
    border-radius:clamp(20px,3vw,26px) !important;
  }
  #controller-system .product-detail-visual{
    min-height:0 !important;
    padding:0 clamp(8px,1.8vw,14px) 0 0 !important;
  }
  #controller-system .product-detail-visual img[data-gallery-preview]{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
  }
  #controller-system .product-detail-copy{
    min-height:0;
    padding:2px 0 2px clamp(10px,2vw,18px) !important;
    border-left:1px solid rgba(34,95,56,.12) !important;
    border-top:0 !important;
    justify-content:center;
    overflow:hidden;
  }
  #controller-system .product-detail-chip{
    min-width:50px;
    height:clamp(28px,4.2vh,36px);
    padding:0 10px;
    margin-bottom:6px;
    font-size:clamp(.58rem,1.7vw,.72rem);
  }
  #controller-system .product-detail-eyebrow{
    margin-bottom:2px;
    font-size:clamp(.54rem,1.45vw,.66rem);
    line-height:1.25;
  }
  #controller-system .product-detail-copy h3{
    margin-bottom:6px;
    font-size:clamp(1.02rem,4vw,1.65rem) !important;
    line-height:1.04;
  }
  #controller-system .product-detail-highlight{
    margin-bottom:4px;
    font-size:clamp(.74rem,2.3vw,.94rem);
    line-height:1.28;
  }
  #controller-system .product-detail-description{
    font-size:clamp(.62rem,1.9vw,.8rem);
    line-height:1.38;
  }
  #controller-system .product-detail-points{
    margin:7px 0 9px !important;
    padding-left:14px;
    gap:3px;
    font-size:clamp(.58rem,1.75vw,.74rem);
    line-height:1.34;
  }
  #controller-system .product-detail-link{
    font-size:clamp(.64rem,1.9vw,.78rem);
  }

  /* Sensor panel also owns one frame. Keep the visual and all cards inside it. */
  #sensor-examples > .container{
    justify-content:flex-start;
    gap:clamp(8px,1.2vh,12px);
  }
  #sensor-examples .page-section-heading{
    flex:0 0 auto;
    margin:0 auto !important;
    text-align:center;
  }
  #sensor-examples .page-section-heading > p{
    margin-bottom:3px;
    font-size:clamp(.65rem,2vw,.78rem);
  }
  #sensor-examples .page-section-heading h2{
    margin:0;
    font-size:clamp(1.2rem,4.3vw,1.68rem) !important;
    line-height:1.12;
  }
  #sensor-examples .page-section-heading span{
    display:block;
    max-width:620px;
    margin:5px auto 0;
    font-size:clamp(.62rem,1.95vw,.78rem);
    line-height:1.35;
  }
  #sensor-examples .sensor-example-layout{
    width:100%;
    min-height:0;
    flex:1 1 auto;
    display:grid;
    gap:clamp(8px,1.2vh,14px) !important;
    overflow:hidden;
  }
  #sensor-examples .sensor-example-visual-panel,
  #sensor-examples .sensor-example-grid{
    min-height:0 !important;
    overflow:hidden;
  }
  #sensor-examples .sensor-example-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-template-rows:repeat(4,minmax(0,1fr));
    gap:clamp(6px,.9vh,10px) !important;
    align-content:stretch;
  }
  #sensor-examples .sensor-example-card{
    min-height:0 !important;
    height:100%;
    padding:clamp(7px,1.2vw,10px) !important;
    gap:clamp(6px,1vw,9px) !important;
    border-radius:14px !important;
    overflow:hidden;
  }
  #sensor-examples .sensor-icon{
    width:clamp(34px,6vw,42px) !important;
    height:clamp(34px,6vw,42px) !important;
  }
  #sensor-examples .sensor-icon svg{
    width:clamp(20px,3.8vw,25px) !important;
    height:clamp(20px,3.8vw,25px) !important;
  }
  #sensor-examples .sensor-card-title h3{
    font-size:clamp(.68rem,2.15vw,.82rem) !important;
    line-height:1.2 !important;
  }
  #sensor-examples .sensor-node{
    padding:2px 4px !important;
    font-size:clamp(.4rem,1.25vw,.5rem) !important;
  }
  #sensor-examples .sensor-example-card p{
    margin:2px 0 4px !important;
    font-size:clamp(.5rem,1.55vw,.64rem) !important;
    line-height:1.28 !important;
  }
  #sensor-examples .sensor-tags{
    gap:3px !important;
  }
  #sensor-examples .sensor-tags span{
    padding:2px 4px !important;
    font-size:clamp(.38rem,1.15vw,.47rem) !important;
  }

  #system-consult > .container{
    justify-content:center;
  }
}

/* iPad/large portrait: preserve the left visual + right sensor card grid. */
@media (orientation:portrait) and (min-width:601px){
  #sensor-examples .sensor-example-layout{
    grid-template-columns:minmax(0,40%) minmax(0,60%) !important;
    grid-template-rows:1fr;
  }
  #sensor-examples .sensor-example-visual-panel{
    height:100%;
    min-height:0 !important;
    padding:clamp(14px,2vw,20px);
  }
  #sensor-examples .sensor-example-visual-media{
    min-height:0;
    flex:1 1 auto;
  }
  #sensor-examples .sensor-example-visual-media img{
    width:100%;
    height:100%;
    max-height:none !important;
    object-fit:contain;
  }
}

/* Phone portrait: compact visual band above a 2-column sensor grid. */
@media (orientation:portrait) and (max-width:600px){
  .system-panel-page .system-page > section[id] > .container{
    width:calc(100% - 16px) !important;
    padding-top:8px !important;
    padding-bottom:8px !important;
  }

  #system-overview .system-gallery-preview,
  #architecture .system-gallery-preview,
  #controller-system .product-detail-preview{
    height:clamp(230px,42dvh,360px) !important;
  }

  #system-overview .system-gallery-rail,
  #architecture .system-gallery-rail,
  #controller-system .system-gallery-rail{
    height:clamp(96px,13dvh,118px) !important;
    min-height:96px;
  }

  #sensor-examples .page-section-heading span{
    max-width:96%;
  }
  #sensor-examples .sensor-example-layout{
    grid-template-columns:1fr !important;
    grid-template-rows:minmax(120px,27%) minmax(0,73%);
  }
  #sensor-examples .sensor-example-visual-panel{
    min-height:0 !important;
    height:100%;
    padding:8px 12px;
    display:grid;
    grid-template-columns:minmax(0,38%) minmax(0,62%);
    align-items:center;
    gap:8px;
  }
  #sensor-examples .sensor-example-visual-copy{
    align-self:center;
  }
  #sensor-examples .sensor-example-visual-copy p{
    margin-bottom:3px;
    font-size:.54rem;
  }
  #sensor-examples .sensor-example-visual-copy strong{
    font-size:.78rem;
    line-height:1.2;
  }
  #sensor-examples .sensor-example-visual-media{
    min-height:0;
    height:100%;
  }
  #sensor-examples .sensor-example-visual-media img{
    width:100%;
    height:100%;
    max-height:none !important;
    object-fit:contain;
  }
  #sensor-examples .sensor-example-card{
    grid-template-columns:30px minmax(0,1fr) !important;
    padding:6px !important;
    gap:5px !important;
  }
  #sensor-examples .sensor-icon{
    width:28px !important;
    height:28px !important;
    border-radius:9px !important;
  }
  #sensor-examples .sensor-icon svg{
    width:17px !important;
    height:17px !important;
  }
  #sensor-examples .sensor-card-title{
    gap:3px;
  }
  #sensor-examples .sensor-card-title h3{
    font-size:.58rem !important;
  }
  #sensor-examples .sensor-node{
    font-size:.34rem !important;
  }
  #sensor-examples .sensor-example-card p{
    margin:1px 0 2px !important;
    font-size:.43rem !important;
    line-height:1.2 !important;
  }
  #sensor-examples .sensor-tags span{
    padding:1px 3px !important;
    font-size:.31rem !important;
  }
}

/* Short portrait screens: scale internals down rather than creating nested scrolling. */
@media (orientation:portrait) and (max-height:760px){
  #system-overview .system-gallery-inline-heading strong,
  #architecture .system-gallery-inline-heading strong,
  #controller-system .system-gallery-inline-heading strong{
    font-size:1.16rem;
  }
  #system-overview .system-gallery-inline-heading span,
  #architecture .system-gallery-inline-heading span,
  #controller-system .system-gallery-inline-heading span{
    font-size:.68rem;
  }
  #system-overview .system-gallery-preview,
  #architecture .system-gallery-preview,
  #controller-system .product-detail-preview{
    height:clamp(210px,39dvh,300px) !important;
  }
  #system-overview .system-gallery-rail,
  #architecture .system-gallery-rail,
  #controller-system .system-gallery-rail{
    height:92px !important;
    min-height:92px;
  }
  #sensor-examples .page-section-heading span{
    display:none;
  }
  #sensor-examples .sensor-example-layout{
    grid-template-rows:minmax(100px,24%) minmax(0,76%);
  }
}


/* V160 — Global fixed header + true full-viewport System panels.
   The header is always retained. Each System submenu owns exactly the usable viewport below it. */
:root{
  --site-fixed-header-h:78px;
}
.site-header{
  position:fixed !important;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:5000 !important;
}
body{
  padding-top:var(--site-fixed-header-h,78px);
}
@media(max-width:780px){
  :root{--site-fixed-header-h:74px;}
}

/* The System page uses the same measured header value for snapping and panel sizing. */
.system-panel-page{
  --system-panel-header-h:var(--site-fixed-header-h,78px);
}
html.system-panel-snap-root{
  scroll-padding-top:var(--system-panel-header-h,var(--site-fixed-header-h,78px)) !important;
}
.system-panel-page .system-page{
  margin:0 !important;
  padding:0 !important;
}
.system-panel-page .system-page > section[id],
.system-panel-page .system-page > #system-overview{
  box-sizing:border-box !important;
  height:calc(var(--system-panel-viewport-h,100dvh) - var(--system-panel-header-h,var(--site-fixed-header-h,78px))) !important;
  min-height:calc(var(--system-panel-viewport-h,100dvh) - var(--system-panel-header-h,var(--site-fixed-header-h,78px))) !important;
  max-height:calc(var(--system-panel-viewport-h,100dvh) - var(--system-panel-header-h,var(--site-fixed-header-h,78px))) !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  scroll-margin-top:0 !important;
  scroll-snap-align:start !important;
  scroll-snap-stop:always !important;
  overscroll-behavior:none !important;
}
.system-panel-page .system-page > section[id] > .container{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  height:100% !important;
  min-height:0 !important;
  margin:0 !important;
  padding:clamp(8px,1.2vh,14px) clamp(10px,1.6vw,22px) !important;
  overflow:hidden !important;
}

/* Portrait is a self-contained frame, not a compressed desktop column. */
@media (orientation:portrait){
  .system-panel-page .system-page > section[id] > .container{
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    align-items:stretch !important;
  }

  /* First three System panels: heading pinned to the top, main visual consumes the flexible middle,
     selector owns the bottom zone. */
  #system-overview .system-gallery-showcase,
  #architecture .system-gallery-showcase,
  #controller-system .system-gallery-showcase{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-width:none !important;
    margin:0 !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:minmax(0,1fr) auto !important;
    align-items:stretch !important;
    justify-items:stretch !important;
    gap:clamp(7px,1vh,11px) !important;
    overflow:hidden !important;
  }

  #system-overview .system-gallery-preview-stack,
  #architecture .system-gallery-preview-stack,
  #controller-system .product-preview-stack{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    margin:0 !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:auto auto minmax(0,1fr) auto !important;
    align-items:stretch !important;
    justify-items:stretch !important;
    gap:clamp(4px,.65vh,7px) !important;
    overflow:hidden !important;
  }
  #controller-system .product-preview-stack{
    grid-template-rows:auto auto minmax(0,1fr) !important;
  }

  #system-overview .system-gallery-inline-heading,
  #architecture .system-gallery-inline-heading,
  #controller-system .system-gallery-inline-heading{
    align-self:start !important;
    justify-self:stretch !important;
    width:100% !important;
    margin:0 !important;
    padding:2px 10px 3px !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:baseline !important;
    justify-content:center !important;
    flex-wrap:wrap;
    gap:5px 9px !important;
    text-align:center !important;
    line-height:1.12 !important;
  }
  #system-overview .system-gallery-inline-heading strong,
  #architecture .system-gallery-inline-heading strong,
  #controller-system .system-gallery-inline-heading strong{
    font-size:clamp(1.2rem,5vw,1.62rem) !important;
    line-height:1.08 !important;
  }
  #system-overview .system-gallery-inline-heading span,
  #architecture .system-gallery-inline-heading span,
  #controller-system .system-gallery-inline-heading span{
    font-size:clamp(.68rem,2.55vw,.86rem) !important;
    line-height:1.2 !important;
  }

  #system-overview .system-gallery-preview-title,
  #architecture .system-gallery-preview-title,
  #controller-system .system-gallery-preview-title{
    align-self:center !important;
    justify-self:stretch !important;
    width:100% !important;
    min-height:18px !important;
    margin:0 !important;
    padding:0 8px !important;
    text-align:center !important;
    font-size:clamp(.78rem,2.8vw,.94rem) !important;
    line-height:1.2 !important;
  }

  #system-overview .system-gallery-preview,
  #architecture .system-gallery-preview,
  #controller-system .product-detail-preview{
    align-self:stretch !important;
    justify-self:stretch !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
  }

  #system-overview .system-gallery-theme-toggle,
  #architecture .system-gallery-theme-toggle{
    align-self:center !important;
    justify-self:center !important;
    margin:0 !important;
  }

  #system-overview .system-gallery-rail,
  #architecture .system-gallery-rail,
  #controller-system .system-gallery-rail{
    align-self:end !important;
    width:100% !important;
    max-width:none !important;
    height:clamp(92px,13.5dvh,126px) !important;
    min-height:92px !important;
    margin:0 !important;
    flex:none !important;
  }
  #system-overview .system-gallery-orbit,
  #architecture .system-gallery-orbit,
  #controller-system .system-gallery-orbit{
    inset:0 clamp(26px,7vw,46px) !important;
  }

  /* Every regular panel heading belongs to the top edge of its own frame. */
  #sensor-examples > .container{
    gap:clamp(6px,.9vh,10px) !important;
  }
  #sensor-examples .page-section-heading{
    flex:0 0 auto !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:2px 10px 3px !important;
    text-align:center !important;
  }
  #sensor-examples .page-section-heading > p{
    margin:0 0 2px !important;
  }
  #sensor-examples .page-section-heading h2{
    margin:0 !important;
  }
  #sensor-examples .page-section-heading span{
    margin:3px auto 0 !important;
  }
  #sensor-examples .sensor-example-layout{
    width:100% !important;
    min-height:0 !important;
    flex:1 1 auto !important;
    margin:0 !important;
    overflow:hidden !important;
  }

  #system-consult > .container{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    padding:clamp(16px,3vh,34px) clamp(14px,4vw,30px) !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:center !important;
  }
  #system-consult .system-cta-inner{
    width:100%;
    max-width:920px;
    margin:0 auto;
  }
}

/* Phone portrait: use the whole width and distribute the zones vertically instead of centering a narrow stack. */
@media (orientation:portrait) and (max-width:600px){
  .system-panel-page .system-page > section[id] > .container{
    padding:7px 6px 8px !important;
  }

  #system-overview .system-gallery-inline-heading,
  #architecture .system-gallery-inline-heading,
  #controller-system .system-gallery-inline-heading{
    padding-left:8px !important;
    padding-right:8px !important;
  }

  #system-overview .system-gallery-preview,
  #architecture .system-gallery-preview,
  #controller-system .product-detail-preview{
    border-radius:clamp(18px,5vw,24px) !important;
  }

  /* Product panel remains image-left / copy-right, but scales the contents to the available panel rather than wrapping below. */
  #controller-system .product-detail-preview{
    display:grid !important;
    grid-template-columns:minmax(0,42%) minmax(0,58%) !important;
    grid-template-rows:1fr !important;
    align-items:stretch !important;
    gap:0 !important;
    padding:clamp(11px,3vw,15px) !important;
  }
  #controller-system .product-detail-visual{
    min-height:0 !important;
    height:100% !important;
    padding:0 8px 0 0 !important;
  }
  #controller-system .product-detail-visual img[data-gallery-preview]{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
  }
  #controller-system .product-detail-copy{
    min-height:0 !important;
    height:100% !important;
    padding:2px 0 2px 10px !important;
    overflow:hidden !important;
    justify-content:center !important;
  }
  #controller-system .product-detail-chip{
    min-width:46px !important;
    height:27px !important;
    padding:0 8px !important;
    margin-bottom:5px !important;
    font-size:.56rem !important;
  }
  #controller-system .product-detail-eyebrow{
    font-size:.5rem !important;
    margin-bottom:2px !important;
  }
  #controller-system .product-detail-copy h3{
    margin-bottom:5px !important;
    font-size:clamp(.96rem,4.4vw,1.22rem) !important;
  }
  #controller-system .product-detail-highlight{
    margin-bottom:4px !important;
    font-size:clamp(.7rem,2.8vw,.82rem) !important;
  }
  #controller-system .product-detail-description{
    font-size:clamp(.6rem,2.3vw,.7rem) !important;
    line-height:1.34 !important;
  }
  #controller-system .product-detail-points{
    margin:6px 0 7px !important;
    padding-left:13px !important;
    gap:2px !important;
    font-size:clamp(.55rem,2.05vw,.64rem) !important;
    line-height:1.28 !important;
  }
  #controller-system .product-detail-link{
    font-size:.65rem !important;
  }

  /* Sensor frame: large visual zone + cards stay inside the same screen frame. */
  #sensor-examples .page-section-heading span{
    font-size:.56rem !important;
    line-height:1.25 !important;
    max-width:94% !important;
  }
  #sensor-examples .sensor-example-layout{
    grid-template-columns:1fr !important;
    grid-template-rows:minmax(105px,25%) minmax(0,75%) !important;
    gap:6px !important;
  }
}

/* Very short phones get smaller internals; panel geometry never changes and the next panel never bleeds in. */
@media (orientation:portrait) and (max-height:700px){
  #system-overview .system-gallery-inline-heading strong,
  #architecture .system-gallery-inline-heading strong,
  #controller-system .system-gallery-inline-heading strong{
    font-size:1.08rem !important;
  }
  #system-overview .system-gallery-inline-heading span,
  #architecture .system-gallery-inline-heading span,
  #controller-system .system-gallery-inline-heading span{
    font-size:.62rem !important;
  }
  #system-overview .system-gallery-rail,
  #architecture .system-gallery-rail,
  #controller-system .system-gallery-rail{
    height:86px !important;
    min-height:86px !important;
  }
  #sensor-examples .page-section-heading span{
    display:none !important;
  }
}


/* V163 — Homepage phone portrait only.
   Keep the V161 desktop/landscape layout untouched.
   The hero starts exactly below the existing fixed header and owns the initial usable viewport,
   so the next homepage section cannot peek into the first screen. */
@media (max-width:780px) and (orientation:portrait){
  .hero-slider{
    box-sizing:border-box;
    height:calc(100vh - var(--site-fixed-header-h,74px)) !important;
    min-height:calc(100vh - var(--site-fixed-header-h,74px)) !important;
    margin-top:0 !important;
  }
  @supports (height:100dvh){
    .hero-slider{
      height:calc(100dvh - var(--site-fixed-header-h,74px)) !important;
      min-height:calc(100dvh - var(--site-fixed-header-h,74px)) !important;
    }
  }

  /* The visual begins at pixel 0 of the hero, directly against the lower edge of the header.
     Use contain so the source image is visible rather than being vertically cropped by cover. */
  .hero-slider .hero-slide::before,
  .hero-slider .hero-app-real::before,
  .hero-slider .hero-product-real::before{
    top:0 !important;
    bottom:auto !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    background-size:contain !important;
    background-position:center top !important;
    background-repeat:no-repeat !important;
  }

  /* Slide number/dots float at the bottom of this first-screen hero only.
     Because the hero itself equals the usable viewport, this is visually pinned to the screen edge
     without becoming a global fixed control after the user scrolls to the next section. */
  .hero-slider .slider-status{
    position:absolute !important;
    top:auto !important;
    bottom:max(10px,env(safe-area-inset-bottom)) !important;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
    z-index:20;
  }
}


/* V164 — Phone-only home showcase pattern for Services + Latest Work.
   Desktop/tablet layouts remain untouched. */
@media (max-width:600px){
  .services-section,
  .portfolio-section{
    overflow:hidden;
  }
  .services-section{
    padding:24px 0 18px;
  }
  .portfolio-section{
    padding:24px 0 22px;
  }
  .services-section .section-title.center{
    margin-bottom:12px;
  }
  .portfolio-section .section-head{
    margin-bottom:12px;
    align-items:center;
  }

  .services-section .service-grid,
  .portfolio-section .portfolio-grid{
    position:relative;
    display:block !important;
    width:100%;
    overflow:visible !important;
    padding:0 !important;
    margin:0 auto;
    scroll-snap-type:none !important;
    scrollbar-width:none;
    touch-action:pan-y;
    user-select:none;
  }
  .services-section .service-grid::-webkit-scrollbar,
  .portfolio-section .portfolio-grid::-webkit-scrollbar{
    display:none;
  }
  .services-section .service-grid{
    height:min(112vw,455px);
    min-height:390px;
  }
  .portfolio-section .portfolio-grid{
    height:min(108vw,440px);
    min-height:380px;
  }

  .services-section .service-card,
  .portfolio-section .project-card{
    --home-gallery-x:0%;
    --home-gallery-scale:.66;
    position:absolute !important;
    left:50%;
    top:50%;
    margin:0 !important;
    opacity:0;
    pointer-events:none;
    transform:translate(calc(-50% + var(--home-gallery-x)),-50%) scale(var(--home-gallery-scale));
    transform-origin:center;
    transition:transform .58s cubic-bezier(.2,.72,.25,1),opacity .42s ease,filter .42s ease,box-shadow .42s ease;
    will-change:transform,opacity;
  }

  .services-section .service-card{
    width:min(82vw,360px) !important;
    height:min(101vw,420px) !important;
    min-height:0 !important;
    border-radius:24px;
    filter:saturate(.78) brightness(.98);
  }
  .services-section .service-card.is-home-mobile-current{
    --home-gallery-x:0%;
    --home-gallery-scale:1;
    z-index:5;
    opacity:1;
    pointer-events:auto;
    filter:none;
    box-shadow:0 22px 50px rgba(18,49,29,.18);
  }
  .services-section .service-card.is-home-mobile-prev{
    --home-gallery-x:-72%;
    --home-gallery-scale:.72;
    z-index:3;
    opacity:.28;
    pointer-events:auto;
  }
  .services-section .service-card.is-home-mobile-next{
    --home-gallery-x:72%;
    --home-gallery-scale:.72;
    z-index:3;
    opacity:.28;
    pointer-events:auto;
  }
  .services-section .service-card.is-home-mobile-prev2{
    --home-gallery-x:-116%;
    --home-gallery-scale:.56;
    z-index:2;
    opacity:.08;
  }
  .services-section .service-card.is-home-mobile-next2{
    --home-gallery-x:116%;
    --home-gallery-scale:.56;
    z-index:2;
    opacity:.08;
  }
  .services-section .service-card.is-home-mobile-hidden-left{
    --home-gallery-x:-150%;
    --home-gallery-scale:.48;
  }
  .services-section .service-card.is-home-mobile-hidden-right{
    --home-gallery-x:150%;
    --home-gallery-scale:.48;
  }
  .services-section .service-card-inner{
    padding:28px 24px;
  }
  .services-section .service-icon{
    width:60px;
    height:60px;
    margin-bottom:18px;
  }
  .services-section .service-icon svg{
    width:31px;
    height:31px;
  }
  .services-section .service-card h3{
    font-size:1.22rem;
    margin-bottom:8px;
  }
  .services-section .service-card p{
    max-width:260px;
    font-size:.84rem;
    line-height:1.65;
  }

  .portfolio-section .project-card{
    width:min(84vw,370px) !important;
    height:min(92vw,390px) !important;
    overflow:hidden;
    border-radius:22px;
    background:#fff;
    filter:saturate(.8) brightness(.98);
    box-shadow:0 12px 30px rgba(18,49,29,.08);
  }
  .portfolio-section .project-card.is-home-mobile-current{
    --home-gallery-x:0%;
    --home-gallery-scale:1;
    z-index:5;
    opacity:1;
    pointer-events:auto;
    filter:none;
    box-shadow:0 22px 48px rgba(18,49,29,.16);
  }
  .portfolio-section .project-card.is-home-mobile-prev{
    --home-gallery-x:-72%;
    --home-gallery-scale:.72;
    z-index:3;
    opacity:.26;
    pointer-events:auto;
  }
  .portfolio-section .project-card.is-home-mobile-next{
    --home-gallery-x:72%;
    --home-gallery-scale:.72;
    z-index:3;
    opacity:.26;
    pointer-events:auto;
  }
  .portfolio-section .project-card.is-home-mobile-prev2{
    --home-gallery-x:-116%;
    --home-gallery-scale:.56;
    z-index:2;
    opacity:.08;
  }
  .portfolio-section .project-card.is-home-mobile-next2{
    --home-gallery-x:116%;
    --home-gallery-scale:.56;
    z-index:2;
    opacity:.08;
  }
  .portfolio-section .project-card.is-home-mobile-hidden-left{
    --home-gallery-x:-150%;
    --home-gallery-scale:.48;
  }
  .portfolio-section .project-card.is-home-mobile-hidden-right{
    --home-gallery-x:150%;
    --home-gallery-scale:.48;
  }
  .portfolio-section .project-card img{
    width:100%;
    height:72%;
    aspect-ratio:auto;
    object-fit:cover;
  }
  .portfolio-section .project-card > div{
    min-height:28%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:14px 16px;
  }
  .portfolio-section .project-card h3{
    font-size:.96rem;
    line-height:1.4;
  }
  .portfolio-section .project-card p{
    margin-top:4px;
    font-size:.76rem;
  }

  .home-mobile-gallery-nav{
    position:absolute;
    top:50%;
    z-index:12;
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    padding:0 0 2px;
    border:1px solid rgba(24,112,58,.13);
    border-radius:50%;
    background:rgba(255,255,255,.96);
    box-shadow:0 9px 24px rgba(22,59,38,.10);
    color:#18743a;
    font:700 1.85rem/1 system-ui,sans-serif;
    cursor:pointer;
    transform:translateY(-50%);
  }
  .home-mobile-gallery-nav.prev{left:2px;}
  .home-mobile-gallery-nav.next{right:2px;}
  .home-mobile-gallery-nav:active{
    transform:translateY(-50%) scale(.94);
  }

  .home-mobile-gallery-status{
    position:absolute;
    left:50%;
    bottom:2px;
    z-index:12;
    min-width:48px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 10px;
    border:1px solid rgba(24,112,58,.10);
    border-radius:999px;
    background:rgba(255,255,255,.95);
    box-shadow:0 7px 18px rgba(22,59,38,.08);
    color:#1b6635;
    font-size:.72rem;
    font-weight:800;
    transform:translateX(-50%);
  }
}


/* V165 — Services page: selected large service first, selector cards below. */
.services-page-showcase .services-intro-hold{display:none !important;}
.services-page-showcase .service-expanded-panels{
  margin-top:0 !important;
  margin-bottom:34px;
}
.services-page-showcase .services-page-title{
  margin-top:0;
  margin-bottom:22px;
}
.services-page-showcase .services-page-grid{
  margin-bottom:0;
}
@media (max-width:780px){
  .services-page-showcase .service-expanded-panels{margin-bottom:26px;}
}


/* V166 — Services selector: remove redundant heading and carry service numbering inside each card. */
.services-page-showcase .service-expanded-panels{
  margin-bottom:18px !important;
}
.services-page-showcase .services-page-grid{
  margin-top:0 !important;
}
.services-page-showcase .service-card-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  margin:0 0 8px;
  padding:4px 10px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  background:rgba(8,24,14,.28);
  color:rgba(255,255,255,.94);
  font-size:.69rem;
  font-weight:850;
  line-height:1;
  letter-spacing:.08em;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.services-page-showcase .detail-number{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 10px;
  border-radius:999px;
  background:#eef7f1;
  color:#2d8950;
  font-size:.82rem;
  font-weight:850;
  line-height:1;
  letter-spacing:.04em;
}
@media (max-width:780px){
  .services-page-showcase .service-expanded-panels{
    margin-bottom:14px !important;
  }
  .services-page-showcase .service-card-number{
    margin-bottom:6px;
    font-size:.64rem;
  }
}


/* V167 — Show the Services heading only when the expanded service panel is collapsed. */
.services-page-showcase .service-selector-heading{
  margin:0 0 22px;
}
.services-page-showcase.has-service-expanded .service-selector-heading,
.services-page-showcase .service-selector-heading[hidden]{
  display:none !important;
}
.services-page-showcase:not(.has-service-expanded) .service-expanded-panels{
  margin-bottom:0 !important;
}
@media (max-width:780px){
  .services-page-showcase .service-selector-heading{
    margin-bottom:16px;
  }
}


/* V168 — Installation system sizes rebuilt as real product structures, not subscription packages. */
.installation-size-section{
  padding:54px 0 46px;
  background:
    radial-gradient(circle at 18% 34%,rgba(32,139,71,.045),transparent 28%),
    linear-gradient(180deg,#fbfdfc 0%,#f4f9f5 100%);
}
.installation-size-container{width:min(1460px,calc(100% - 40px));}
.installation-size-heading{text-align:center;max-width:920px;margin:0 auto 28px;}
.installation-size-heading p{margin:0 0 6px;color:#188544;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
.installation-size-heading h2{margin:0;color:#17251c;font-size:clamp(2rem,3.4vw,3.2rem);line-height:1.08;letter-spacing:-.035em;}
.installation-size-heading span{display:block;margin:12px auto 0;max-width:780px;color:#707a73;font-size:.98rem;line-height:1.65;}
.installation-size-layout{display:grid;grid-template-columns:minmax(0,.98fr) minmax(0,1.12fr);gap:30px;align-items:stretch;}
.installation-product-stage{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 8px 4px;}
.installation-product-stage>img{display:block;width:100%;max-width:690px;height:auto;object-fit:contain;filter:drop-shadow(0 22px 30px rgba(18,42,28,.08));}
.installation-component-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:5px;}
.installation-component-tags span{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border:1px solid #dce9df;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 5px 14px rgba(24,64,38,.05);color:#17763b;font-size:.78rem;font-weight:800;}
.installation-size-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;}
.installation-size-card{display:flex;flex-direction:column;min-width:0;padding:24px 20px 18px;border:1px solid #e1e8e3;border-radius:22px;background:#fff;box-shadow:0 14px 32px rgba(18,55,32,.07);}
.installation-size-card-featured{border-color:#c9dfcf;box-shadow:0 18px 38px rgba(18,72,37,.10);}
.installation-size-icon{width:64px;height:64px;margin:0 auto 15px;display:grid;place-items:center;border-radius:50%;background:#edf7f0;color:#168a45;}
.installation-size-icon svg{width:34px;height:34px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;}
.installation-size-card h3{margin:0;text-align:center;color:#17251c;font-size:1.42rem;line-height:1.18;}
.installation-size-sub{min-height:42px;margin:8px 0 0;text-align:center;color:#68736b;font-size:.84rem;line-height:1.5;}
.installation-size-rule{display:block;width:38px;height:2px;margin:15px auto 13px;border-radius:2px;background:#1b9a4e;}
.installation-size-card ul{margin:0 0 18px;padding:0;list-style:none;display:grid;gap:10px;color:#46534a;font-size:.83rem;line-height:1.5;}
.installation-size-card li{position:relative;padding-left:21px;}
.installation-size-card li::before{content:'✓';position:absolute;left:0;top:.02em;width:15px;height:15px;display:grid;place-items:center;border-radius:50%;background:#31aa5e;color:#fff;font-size:.64rem;font-weight:900;line-height:1;}
.installation-fit{margin-top:auto;padding:12px 10px;border:1px solid #dfe8e1;border-radius:13px;background:#fbfdfb;text-align:center;}
.installation-fit strong{display:block;margin-bottom:3px;color:#237b40;font-size:.72rem;}
.installation-fit span{display:block;color:#58635b;font-size:.72rem;line-height:1.4;}
.installation-consult-strip{margin-top:28px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;padding:18px 22px;border:1px solid #d7e7dc;border-radius:22px;background:rgba(255,255,255,.92);box-shadow:0 12px 28px rgba(18,55,32,.06);}
.installation-consult-icon{width:68px;height:68px;display:grid;place-items:center;border-radius:50%;background:#eaf6ed;color:#178444;}
.installation-consult-icon svg{width:38px;height:38px;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;}
.installation-consult-copy h3{margin:0 0 5px;color:#176a36;font-size:1.28rem;}
.installation-consult-copy p{margin:0;max-width:720px;color:#6c766f;font-size:.86rem;line-height:1.55;}
.installation-consult-actions{display:flex;gap:12px;align-items:center;}
.installation-consult-actions .btn{min-width:160px;justify-content:center;white-space:nowrap;}
@media (max-width:980px), (orientation:portrait) and (max-width:1180px){
  .installation-size-layout{grid-template-columns:1fr;gap:14px;}
  .installation-product-stage>img{max-width:760px;}
  .installation-size-cards{max-width:980px;width:100%;margin:0 auto;}
  .installation-consult-strip{grid-template-columns:auto 1fr;}
  .installation-consult-actions{grid-column:1/-1;justify-content:center;}
}
@media(max-width:820px){
  .installation-size-section{padding:42px 0 40px;}
  .installation-size-container{width:min(100% - 24px,1460px);}
  .installation-size-heading{margin-bottom:20px;}
  .installation-size-heading h2{font-size:clamp(1.8rem,7vw,2.55rem);}
  .installation-size-heading span{font-size:.9rem;}
  .installation-product-stage{padding:0;}
  .installation-component-tags{gap:6px;}
  .installation-component-tags span{min-height:30px;padding:0 11px;font-size:.7rem;}
  .installation-size-cards{grid-template-columns:1fr;gap:12px;}
  .installation-size-card{display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-areas:'icon title' 'icon sub' 'rule rule' 'list list' 'fit fit';column-gap:14px;padding:18px;}
  .installation-size-icon{grid-area:icon;width:56px;height:56px;margin:0;}
  .installation-size-icon svg{width:30px;height:30px;}
  .installation-size-card h3{grid-area:title;text-align:left;align-self:end;font-size:1.2rem;}
  .installation-size-sub{grid-area:sub;min-height:0;margin:3px 0 0;text-align:left;}
  .installation-size-rule{grid-area:rule;margin:13px 0;width:42px;}
  .installation-size-card ul{grid-area:list;grid-template-columns:1fr 1fr;margin-bottom:14px;}
  .installation-fit{grid-area:fit;}
  .installation-consult-strip{grid-template-columns:1fr;text-align:center;padding:18px;gap:12px;}
  .installation-consult-icon{margin:0 auto;}
  .installation-consult-copy p{margin-inline:auto;}
  .installation-consult-actions{grid-column:auto;flex-wrap:wrap;justify-content:center;}
}
@media(max-width:520px){
  .installation-size-section{padding:34px 0 34px;}
  .installation-size-heading p{font-size:.78rem;}
  .installation-size-heading h2{font-size:1.85rem;}
  .installation-product-stage>img{width:108%;max-width:none;}
  .installation-size-card ul{grid-template-columns:1fr;font-size:.79rem;gap:8px;}
  .installation-size-card{padding:16px;}
  .installation-consult-actions{display:grid;width:100%;grid-template-columns:1fr;}
  .installation-consult-actions .btn{width:100%;min-width:0;}
}


/* V169 — Installation cards: Remote Access is optional; Local-First remains a standard included architecture. */
.installation-size-card li.installation-option::before{
  content:"";
  top:.10em;
  width:13px;
  height:13px;
  border:2px solid #31aa5e;
  background:transparent;
  color:transparent;
  box-sizing:border-box;
}
.installation-size-card li.installation-option{
  color:#536158;
}


/* V174 — Sensor examples: keep the combined visual + card workspace inside one 16:9 frame. */
@media (min-width:981px) and (orientation:landscape){
  #sensor-examples > .container{
    justify-content:flex-start !important;
    align-items:center !important;
  }

  #sensor-examples .page-section-heading{
    width:min(100%,1180px);
    flex:0 0 auto;
    margin:0 auto 12px !important;
  }

  #sensor-examples .sensor-example-layout{
    width:min(100%,1120px) !important;
    aspect-ratio:16 / 9 !important;
    height:auto !important;
    max-height:630px !important;
    min-height:0 !important;
    flex:0 1 auto !important;
    margin:0 auto !important;
    grid-template-columns:minmax(0,45%) minmax(0,55%) !important;
    gap:14px !important;
    align-items:stretch !important;
    overflow:hidden !important;
  }

  #sensor-examples .sensor-example-visual-panel,
  #sensor-examples .sensor-example-grid{
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
  }

  #sensor-examples .sensor-example-visual-panel{
    padding:20px !important;
    border-radius:24px !important;
  }

  #sensor-examples .sensor-example-visual-copy strong{
    font-size:clamp(1.15rem,1.7vw,1.55rem) !important;
  }

  #sensor-examples .sensor-example-visual-media{
    min-height:0 !important;
    overflow:hidden;
  }

  #sensor-examples .sensor-example-visual-media img{
    width:100% !important;
    height:100% !important;
    max-width:440px !important;
    max-height:440px !important;
    object-fit:contain !important;
  }

  #sensor-examples .sensor-example-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-template-rows:repeat(4,minmax(0,1fr)) !important;
    gap:9px !important;
    align-content:stretch !important;
  }

  #sensor-examples .sensor-example-card{
    height:100% !important;
    min-height:0 !important;
    grid-template-columns:42px minmax(0,1fr) !important;
    gap:8px !important;
    padding:9px !important;
    border-radius:14px !important;
    overflow:hidden !important;
  }

  #sensor-examples .sensor-icon{
    width:38px !important;
    height:38px !important;
    border-radius:11px !important;
  }

  #sensor-examples .sensor-icon svg{
    width:22px !important;
    height:22px !important;
  }

  #sensor-examples .sensor-card-title h3{
    font-size:.72rem !important;
    line-height:1.2 !important;
  }

  #sensor-examples .sensor-node{
    padding:2px 4px !important;
    font-size:.4rem !important;
  }

  #sensor-examples .sensor-example-card p{
    margin:3px 0 5px !important;
    font-size:.55rem !important;
    line-height:1.28 !important;
  }

  #sensor-examples .sensor-tags{
    gap:3px !important;
  }

  #sensor-examples .sensor-tags span{
    padding:2px 4px !important;
    font-size:.4rem !important;
  }
}

/* Short 16:9 landscape screens: shrink the contents, never grow the frame past the viewport. */
@media (min-width:981px) and (orientation:landscape) and (max-height:800px){
  #sensor-examples .page-section-heading{
    margin-bottom:8px !important;
  }
  #sensor-examples .page-section-heading span{
    margin-top:3px !important;
  }
  #sensor-examples .sensor-example-layout{
    width:min(100%,1000px) !important;
    max-height:562px !important;
    gap:10px !important;
  }
  #sensor-examples .sensor-example-visual-panel{
    padding:16px !important;
  }
  #sensor-examples .sensor-example-visual-media img{
    max-width:390px !important;
    max-height:390px !important;
  }
  #sensor-examples .sensor-example-grid{
    gap:7px !important;
  }
  #sensor-examples .sensor-example-card{
    grid-template-columns:38px minmax(0,1fr) !important;
    padding:7px 8px !important;
    gap:6px !important;
  }
  #sensor-examples .sensor-icon{
    width:34px !important;
    height:34px !important;
  }
}


/* V178 — About page engineering-confidence redesign. Location/map/contact sections remain unchanged. */
.about-engineering-hero{
  position:relative;
  min-height:clamp(650px,78svh,820px);
  overflow:hidden;
  display:flex;
  align-items:stretch;
  background:#101812;
  color:#fff;
}
.about-engineering-hero-media,
.about-engineering-hero-shade{
  position:absolute;
  inset:0;
}
.about-engineering-hero-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 54%;
  filter:saturate(.9) contrast(1.02);
}
.about-engineering-hero-shade{
  background:
    linear-gradient(90deg,rgba(7,20,12,.92) 0%,rgba(7,20,12,.78) 37%,rgba(7,20,12,.30) 64%,rgba(7,20,12,.06) 100%),
    linear-gradient(0deg,rgba(8,18,11,.44),transparent 45%);
}
.about-engineering-hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding-top:72px;
  padding-bottom:70px;
}
.about-engineering-hero-copy{max-width:690px;}
.about-engineering-eyebrow{
  margin:0 0 15px;
  color:#6ce492;
  font-size:13px;
  font-weight:900;
  letter-spacing:.17em;
}
.about-engineering-hero h1{
  margin:0;
  color:#fff;
  font-size:clamp(50px,5.3vw,82px);
  line-height:1.02;
  letter-spacing:-.045em;
  text-shadow:0 4px 28px rgba(0,0,0,.28);
}
.about-engineering-hero h1 span{color:#83e8a2;}
.about-engineering-lead{
  max-width:640px;
  margin:24px 0 0;
  color:rgba(255,255,255,.84);
  font-size:18px;
  line-height:1.78;
}
.about-engineering-tags{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:27px;
}
.about-engineering-tags span{
  padding:8px 12px;
  border:1px solid rgba(125,228,157,.28);
  border-radius:999px;
  background:rgba(15,36,22,.50);
  color:#e8fff0;
  font-size:12px;
  font-weight:750;
  letter-spacing:.02em;
  backdrop-filter:blur(8px);
}
.about-engineering-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:29px;}
.about-engineering-btn-ghost{
  border:1px solid rgba(255,255,255,.40)!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  backdrop-filter:blur(10px);
}
.about-engineering-btn-ghost:hover{background:rgba(255,255,255,.16)!important;}
.about-engineering-trust{
  position:absolute;
  right:0;
  bottom:48px;
  width:min(430px,38vw);
  padding:20px 23px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  background:rgba(8,20,12,.66);
  box-shadow:0 18px 42px rgba(0,0,0,.20);
  backdrop-filter:blur(12px);
}
.about-engineering-trust small{display:block;color:#75e196;font-size:10px;font-weight:900;letter-spacing:.15em;}
.about-engineering-trust strong{display:block;margin-top:8px;color:#fff;font-size:18px;line-height:1.4;}
.about-engineering-trust span{display:block;margin-top:6px;color:rgba(255,255,255,.72);font-size:13px;line-height:1.6;}

.about-engineering-section{
  padding:92px 0 82px;
  background:linear-gradient(180deg,#fff 0%,#f7faf8 100%);
  border-bottom:1px solid #e1e9e3;
}
.about-engineering-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);
  gap:clamp(42px,5vw,74px);
  align-items:center;
}
.about-engineering-photos{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(180px,.75fr);
  gap:14px;
  height:560px;
}
.about-engineering-photos figure{
  position:relative;
  margin:0;
  overflow:hidden;
  border:1px solid #d8e3db;
  border-radius:24px;
  background:#eef3ef;
  box-shadow:0 22px 48px rgba(22,57,35,.10);
}
.about-engineering-photos img{display:block;width:100%;height:100%;object-fit:cover;}
.about-engineering-photo-main img{object-position:42% center;}
.about-engineering-photo-side img{object-position:center 25%;}
.about-engineering-photos figcaption{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:14px;
  background:rgba(8,24,14,.75);
  color:#fff;
  backdrop-filter:blur(9px);
}
.about-engineering-photos figcaption b{display:block;color:#82e7a0;font-size:12px;letter-spacing:.06em;}
.about-engineering-photos figcaption span{display:block;margin-top:3px;color:rgba(255,255,255,.78);font-size:11px;line-height:1.45;}
.about-engineering-copy h2{
  margin:0;
  color:#153b22;
  font-size:clamp(34px,3.4vw,52px);
  line-height:1.16;
  letter-spacing:-.035em;
}
.about-engineering-copy>p:not(.about-location-kicker){
  margin:20px 0 0;
  color:#5c6b61;
  font-size:16px;
  line-height:1.82;
}
.about-engineering-capabilities{display:grid;gap:10px;margin-top:27px;}
.about-engineering-capabilities article{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:14px;
  align-items:start;
  padding:14px 15px;
  border:1px solid #dce7df;
  border-radius:15px;
  background:#fff;
  box-shadow:0 8px 22px rgba(28,67,40,.035);
}
.about-engineering-capabilities article>b{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:#e8f6ec;
  color:#16893e;
  font-size:12px;
  font-weight:900;
}
.about-engineering-capabilities strong{display:block;color:#234c30;font-size:15px;}
.about-engineering-capabilities span{display:block;margin-top:3px;color:#68746c;font-size:13px;line-height:1.55;}
.about-engineering-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:58px;
}
.about-engineering-facts article{
  min-height:154px;
  padding:21px;
  border:1px solid #dce7df;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 30px rgba(28,67,40,.045);
}
.about-engineering-facts small{display:block;color:#188640;font-size:10px;font-weight:900;letter-spacing:.12em;}
.about-engineering-facts strong{display:block;margin-top:9px;color:#244b30;font-size:18px;line-height:1.3;}
.about-engineering-facts span{display:block;margin-top:8px;color:#6a756e;font-size:13px;line-height:1.6;}

@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .about-engineering-hero{min-height:680px;}
  .about-engineering-hero-shade{background:linear-gradient(90deg,rgba(7,20,12,.90) 0%,rgba(7,20,12,.69) 57%,rgba(7,20,12,.18) 100%),linear-gradient(0deg,rgba(8,18,11,.54),transparent 48%);}
  .about-engineering-trust{position:static;width:min(100%,620px);margin-top:30px;}
  .about-engineering-grid{grid-template-columns:1fr;}
  .about-engineering-photos{height:500px;}
  .about-engineering-copy{max-width:760px;}
  .about-engineering-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
  .about-engineering-hero{min-height:calc(100svh - 64px);}
  .about-engineering-hero-media img{object-position:64% center;}
  .about-engineering-hero-shade{background:linear-gradient(0deg,rgba(5,16,9,.96) 0%,rgba(5,16,9,.86) 54%,rgba(5,16,9,.25) 100%);}
  .about-engineering-hero-inner{justify-content:flex-end;padding-top:110px;padding-bottom:34px;}
  .about-engineering-hero h1{font-size:clamp(39px,12vw,56px);}
  .about-engineering-lead{font-size:15px;line-height:1.67;margin-top:17px;}
  .about-engineering-tags{gap:6px;margin-top:18px;}
  .about-engineering-tags span{padding:6px 9px;font-size:10px;}
  .about-engineering-actions{display:grid;width:100%;margin-top:21px;}
  .about-engineering-actions .btn{width:100%;}
  .about-engineering-trust{margin-top:16px;padding:15px 16px;}
  .about-engineering-trust strong{font-size:14px;}
  .about-engineering-trust span{font-size:11px;}
  .about-engineering-section{padding:58px 0 54px;}
  .about-engineering-grid{gap:35px;}
  .about-engineering-photos{grid-template-columns:1.18fr .82fr;height:390px;gap:9px;}
  .about-engineering-photos figure{border-radius:17px;}
  .about-engineering-photos figcaption{left:8px;right:8px;bottom:8px;padding:9px 10px;border-radius:10px;}
  .about-engineering-photos figcaption b{font-size:9px;}
  .about-engineering-photos figcaption span{font-size:9px;}
  .about-engineering-copy h2{font-size:clamp(29px,8vw,39px);}
  .about-engineering-copy>p:not(.about-location-kicker){font-size:14px;line-height:1.72;}
  .about-engineering-capabilities article{grid-template-columns:38px 1fr;padding:12px;gap:11px;}
  .about-engineering-capabilities article>b{width:38px;height:38px;}
  .about-engineering-capabilities span{font-size:12px;}
  .about-engineering-facts{grid-template-columns:1fr 1fr;gap:9px;margin-top:36px;}
  .about-engineering-facts article{min-height:142px;padding:15px;}
  .about-engineering-facts strong{font-size:15px;}
  .about-engineering-facts span{font-size:11px;line-height:1.5;}
}
@media(max-width:430px){
  .about-engineering-photos{height:335px;}
  .about-engineering-facts{grid-template-columns:1fr;}
  .about-engineering-facts article{min-height:0;}
}


/* V179 — About upper visual system: fixed 16:9 presentation frames.
   The two engineering photos are now background layers, not separate image cards. */
.about-engineering-hero{
  width:100%;
  min-height:0 !important;
  aspect-ratio:16 / 9;
  max-height:none !important;
}
.about-engineering-hero-inner{
  min-height:0 !important;
  height:100%;
  padding-top:clamp(38px,5.4vw,76px);
  padding-bottom:clamp(34px,4.8vw,68px);
}
.about-engineering-hero-copy{
  max-width:min(52vw,690px);
}
.about-engineering-trust{
  bottom:clamp(24px,3.4vw,48px);
}

.about-engineering-section{
  padding:clamp(28px,4vw,58px) 0 !important;
  background:linear-gradient(180deg,#f5f8f6 0%,#fff 100%) !important;
}
.about-engineering-section>.container{
  width:min(1320px,calc(100% - 40px));
}
.about-engineering-stage{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  min-height:0;
  overflow:hidden;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  border:1px solid rgba(31,83,49,.14);
  border-radius:clamp(22px,2.2vw,32px);
  background:#0d1710;
  box-shadow:0 28px 64px rgba(18,55,32,.13);
  isolation:isolate;
}
.about-engineering-stage-visuals,
.about-engineering-stage-shade{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.about-engineering-stage-visuals{z-index:-3;}
.about-engineering-stage-bg{
  position:absolute;
  top:0;
  bottom:0;
  background-repeat:no-repeat;
  background-size:cover;
}
.about-engineering-stage-bg-main{
  left:0;
  width:61%;
  background-image:url("images/about-control-engineer.png");
  background-position:38% center;
}
.about-engineering-stage-bg-side{
  right:0;
  width:45%;
  background-image:url("images/about-field-experience-v191.png");
  background-position:center 28%;
}
.about-engineering-stage-shade{
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(4,12,7,.10) 0%,rgba(4,12,7,.18) 43%,rgba(5,16,9,.79) 61%,rgba(5,16,9,.94) 100%),
    linear-gradient(0deg,rgba(3,10,6,.50) 0%,transparent 34%);
}
.about-engineering-grid{
  position:relative;
  z-index:2;
  min-height:0;
  height:100%;
  display:grid !important;
  grid-template-columns:minmax(0,53%) minmax(0,47%) !important;
  gap:0 !important;
  align-items:stretch !important;
}
.about-engineering-visual-labels{
  min-width:0;
  display:flex;
  align-items:flex-end;
  gap:10px;
  padding:0 clamp(18px,2vw,28px) clamp(16px,1.9vw,26px);
}
.about-engineering-visual-labels>div{
  flex:0 1 auto;
  max-width:265px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:13px;
  background:rgba(4,16,8,.56);
  box-shadow:0 12px 28px rgba(0,0,0,.15);
  backdrop-filter:blur(9px);
}
.about-engineering-visual-labels b{
  display:block;
  color:#83e8a2;
  font-size:clamp(9px,.78vw,12px);
  line-height:1.3;
  letter-spacing:.04em;
}
.about-engineering-visual-labels span{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.82);
  font-size:clamp(8px,.7vw,11px);
  line-height:1.42;
}
.about-engineering-copy{
  min-width:0;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(24px,3vw,42px) clamp(24px,3.2vw,48px);
  color:#fff;
  background:linear-gradient(90deg,rgba(7,20,12,.62),rgba(7,20,12,.84));
  border-left:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(5px);
}
.about-engineering-copy .about-location-kicker{
  color:#78e39a;
  margin-bottom:10px;
}
.about-engineering-copy h2{
  color:#fff !important;
  font-size:clamp(28px,3.1vw,48px) !important;
  line-height:1.11 !important;
  text-shadow:0 4px 22px rgba(0,0,0,.22);
}
.about-engineering-copy>p:not(.about-location-kicker){
  margin-top:clamp(12px,1.4vw,18px) !important;
  color:rgba(255,255,255,.78) !important;
  font-size:clamp(11px,1vw,15px) !important;
  line-height:1.68 !important;
}
.about-engineering-capabilities{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px !important;
  margin-top:clamp(14px,1.8vw,24px) !important;
}
.about-engineering-capabilities article{
  min-width:0;
  grid-template-columns:36px minmax(0,1fr) !important;
  gap:10px !important;
  padding:10px 11px !important;
  border-color:rgba(255,255,255,.14) !important;
  background:rgba(255,255,255,.08) !important;
  box-shadow:none !important;
  backdrop-filter:blur(8px);
}
.about-engineering-capabilities article>b{
  width:36px !important;
  height:36px !important;
  border-radius:10px !important;
  background:rgba(112,226,147,.15) !important;
  color:#86e9a3 !important;
}
.about-engineering-capabilities strong{
  color:#fff !important;
  font-size:clamp(11px,.9vw,14px) !important;
}
.about-engineering-capabilities span{
  color:rgba(255,255,255,.68) !important;
  font-size:clamp(9px,.75vw,12px) !important;
  line-height:1.42 !important;
}
.about-engineering-facts{
  position:relative;
  z-index:3;
  width:auto !important;
  margin:0 !important;
  padding:10px !important;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
  background:rgba(246,250,247,.94);
  border-top:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(12px);
}
.about-engineering-facts article{
  min-height:0 !important;
  padding:12px 13px !important;
  border-radius:13px !important;
  border:1px solid rgba(27,102,50,.10) !important;
  box-shadow:none !important;
  background:rgba(255,255,255,.80) !important;
}
.about-engineering-facts small{font-size:8px !important;}
.about-engineering-facts strong{
  margin-top:5px !important;
  font-size:clamp(12px,1vw,16px) !important;
}
.about-engineering-facts span{
  margin-top:4px !important;
  font-size:clamp(8px,.72vw,11px) !important;
  line-height:1.42 !important;
}

@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .about-engineering-hero{
    min-height:0 !important;
    aspect-ratio:16 / 9 !important;
  }
  .about-engineering-hero-copy{max-width:60%;}
  .about-engineering-hero h1{font-size:clamp(38px,6vw,62px);}
  .about-engineering-lead{font-size:clamp(12px,1.45vw,16px);line-height:1.62;}
  .about-engineering-trust{
    position:absolute !important;
    right:18px;
    bottom:18px;
    width:min(38%,350px) !important;
    margin:0 !important;
    padding:14px 16px;
  }
  .about-engineering-stage{aspect-ratio:16 / 9;}
  .about-engineering-copy{
    padding:20px 22px;
  }
  .about-engineering-copy>p:not(.about-location-kicker){
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .about-engineering-capabilities article{grid-template-columns:30px minmax(0,1fr)!important;padding:8px!important;gap:7px!important;}
  .about-engineering-capabilities article>b{width:30px!important;height:30px!important;font-size:9px;}
  .about-engineering-facts{padding:7px!important;gap:6px!important;}
  .about-engineering-facts article{padding:8px 9px!important;}
  .about-engineering-facts span{display:none;}
}

@media(max-width:720px){
  .about-engineering-hero{
    aspect-ratio:16 / 9 !important;
    min-height:0 !important;
  }
  .about-engineering-hero-media img{object-position:61% center !important;}
  .about-engineering-hero-shade{
    background:linear-gradient(90deg,rgba(5,16,9,.90) 0%,rgba(5,16,9,.68) 60%,rgba(5,16,9,.18) 100%) !important;
  }
  .about-engineering-hero-inner{
    justify-content:center !important;
    padding:12px 14px !important;
  }
  .about-engineering-hero-copy{max-width:72%;}
  .about-engineering-eyebrow{margin-bottom:4px;font-size:7px;letter-spacing:.12em;}
  .about-engineering-hero h1{font-size:clamp(20px,6.8vw,30px)!important;line-height:1.02;}
  .about-engineering-lead{
    margin-top:6px!important;
    font-size:clamp(8px,2.3vw,10px)!important;
    line-height:1.38!important;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .about-engineering-tags{display:none!important;}
  .about-engineering-actions{
    display:flex!important;
    width:auto!important;
    gap:5px!important;
    margin-top:8px!important;
  }
  .about-engineering-actions .btn{
    width:auto!important;
    min-height:24px!important;
    padding:0 9px!important;
    font-size:7px!important;
  }
  .about-engineering-trust{display:none!important;}

  .about-engineering-section{padding:18px 0!important;}
  .about-engineering-section>.container{width:calc(100% - 20px)!important;}
  .about-engineering-stage{
    aspect-ratio:16 / 9 !important;
    border-radius:16px;
  }
  .about-engineering-stage-bg-main{width:68%;background-position:40% center;}
  .about-engineering-stage-bg-side{width:44%;opacity:.72;background-position:center 24%;}
  .about-engineering-stage-shade{
    background:linear-gradient(90deg,rgba(4,12,7,.18) 0%,rgba(5,16,9,.46) 40%,rgba(5,16,9,.93) 72%,rgba(5,16,9,.98) 100%),linear-gradient(0deg,rgba(3,10,6,.50),transparent 45%);
  }
  .about-engineering-grid{
    grid-template-columns:minmax(0,42%) minmax(0,58%)!important;
  }
  .about-engineering-visual-labels{
    align-items:flex-end;
    padding:0 6px 7px;
  }
  .about-engineering-visual-labels>div{display:none;}
  .about-engineering-copy{
    padding:8px 9px!important;
    border-left:0;
    background:transparent;
  }
  .about-engineering-copy .about-location-kicker{
    margin:0 0 3px!important;
    font-size:6px!important;
  }
  .about-engineering-copy h2{
    font-size:clamp(13px,3.7vw,18px)!important;
    line-height:1.06!important;
  }
  .about-engineering-copy>p:not(.about-location-kicker){display:none!important;}
  .about-engineering-capabilities{
    grid-template-columns:1fr 1fr!important;
    gap:4px!important;
    margin-top:6px!important;
  }
  .about-engineering-capabilities article{
    grid-template-columns:20px minmax(0,1fr)!important;
    padding:4px!important;
    gap:4px!important;
    border-radius:7px!important;
  }
  .about-engineering-capabilities article>b{
    width:20px!important;
    height:20px!important;
    border-radius:6px!important;
    font-size:6px!important;
  }
  .about-engineering-capabilities strong{font-size:7px!important;line-height:1.2!important;}
  .about-engineering-capabilities span{display:none!important;}
  .about-engineering-facts{display:none!important;}
}

@media(max-width:430px){
  .about-engineering-hero-copy{max-width:76%;}
  .about-engineering-actions .btn:nth-child(2){display:none;}
  .about-engineering-capabilities article:nth-child(n+3){display:none;}
}


/* V180 — About 16:9 fit-inside correction + two clearly visible engineering backgrounds. */
.about-engineering-hero{
  /* Keep the presentation frame 16:9, but never let its height exceed the
     usable viewport under the fixed navigation bar. */
  width:min(100%,calc(177.7778svh - 138.6667px)) !important;
  max-width:100% !important;
  aspect-ratio:16 / 9 !important;
  min-height:0 !important;
  max-height:none !important;
  margin-inline:auto !important;
}
.about-engineering-hero-inner{
  /* V179's width:100% removed the normal .container safe area. Restore it. */
  width:min(1180px,calc(100% - 40px)) !important;
  margin-inline:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  padding-top:clamp(24px,3.6vw,56px) !important;
  padding-bottom:clamp(24px,3.6vw,56px) !important;
}
.about-engineering-hero-copy{
  max-width:min(53%,650px) !important;
}
.about-engineering-hero h1{
  font-size:clamp(40px,4.55vw,72px) !important;
  line-height:1.01 !important;
}
.about-engineering-lead{
  margin-top:clamp(14px,1.7vw,22px) !important;
  font-size:clamp(13px,1.12vw,17px) !important;
  line-height:1.65 !important;
}
.about-engineering-tags{margin-top:clamp(14px,1.7vw,24px) !important;}
.about-engineering-actions{margin-top:clamp(16px,1.9vw,26px) !important;}
.about-engineering-trust{
  right:0 !important;
  bottom:clamp(16px,2vw,30px) !important;
  width:min(390px,34%) !important;
}

/* The engineering stage remains one 16:9 frame. The two real-site photos now
   own separate background zones, so neither photo can disappear behind the other. */
.about-engineering-stage{
  --about-visual-w:54%;
  aspect-ratio:16 / 9 !important;
}
.about-engineering-stage-bg{
  right:auto !important;
  width:var(--about-visual-w) !important;
  background-size:cover !important;
}
.about-engineering-stage-bg-main{
  left:0 !important;
  top:0 !important;
  bottom:50% !important;
  height:auto !important;
  background-position:44% 48% !important;
  border-bottom:1px solid rgba(255,255,255,.18);
}
.about-engineering-stage-bg-side{
  left:0 !important;
  right:auto !important;
  top:50% !important;
  bottom:0 !important;
  height:auto !important;
  background-position:54% 42% !important;
  opacity:1 !important;
}
.about-engineering-stage-shade{
  background:
    linear-gradient(90deg,rgba(4,12,7,.05) 0%,rgba(4,12,7,.10) 38%,rgba(5,16,9,.72) 54%,rgba(5,16,9,.96) 72%,rgba(5,16,9,.98) 100%),
    linear-gradient(0deg,rgba(3,10,6,.34) 0%,transparent 34%) !important;
}
.about-engineering-grid{
  grid-template-columns:minmax(0,var(--about-visual-w)) minmax(0,calc(100% - var(--about-visual-w))) !important;
}
.about-engineering-visual-labels{
  height:100%;
  display:grid !important;
  grid-template-rows:1fr 1fr;
  align-items:end !important;
  gap:0 !important;
  padding:0 !important;
}
.about-engineering-visual-labels>div{
  width:min(88%,290px);
  max-width:none !important;
  margin:0 0 12px 14px;
  padding:9px 11px !important;
  border-radius:12px !important;
}
.about-engineering-visual-labels>div:nth-child(1){grid-row:1;align-self:end;}
.about-engineering-visual-labels>div:nth-child(2){grid-row:2;align-self:end;}
.about-engineering-copy{
  background:linear-gradient(90deg,rgba(7,20,12,.76),rgba(7,20,12,.93)) !important;
  border-left:1px solid rgba(255,255,255,.12) !important;
}

@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .about-engineering-hero{
    width:min(100%,calc(177.7778svh - 138.6667px)) !important;
  }
  .about-engineering-hero-inner{
    width:calc(100% - 32px) !important;
  }
  .about-engineering-hero-copy{max-width:58% !important;}
  .about-engineering-hero h1{font-size:clamp(31px,5.3vw,54px) !important;}
  .about-engineering-trust{width:min(340px,36%) !important;}
  .about-engineering-stage{--about-visual-w:52%;}
  .about-engineering-copy{padding:18px 20px !important;}
}

@media(max-width:780px){
  .about-engineering-hero{
    width:min(100%,calc(177.7778svh - 131.5556px)) !important;
  }
  .about-engineering-hero-inner{
    width:calc(100% - 24px) !important;
  }
}

@media(max-width:720px){
  .about-engineering-hero-copy{max-width:72% !important;}
  .about-engineering-hero h1{font-size:clamp(20px,6.6vw,30px) !important;}
  .about-engineering-stage{--about-visual-w:43%;}
  .about-engineering-stage-bg-main,
  .about-engineering-stage-bg-side{width:var(--about-visual-w) !important;}
  .about-engineering-stage-bg-main{background-position:48% center !important;}
  .about-engineering-stage-bg-side{background-position:54% center !important;}
  .about-engineering-visual-labels{display:none !important;}
  .about-engineering-copy{padding:8px 9px !important;}
}


/* V181 — About cover proportion + photo-backed engineering cards.
   Hero is intentionally a short cover (16:5), not a full-screen scene.
   The two engineering photos each become the background of their own text block. */
.about-engineering-hero{
  width:100% !important;
  max-width:none !important;
  aspect-ratio:16 / 5 !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  overflow:hidden !important;
}
.about-engineering-hero-media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  /* Bias the crop downward so the engineer / plant becomes the subject,
     rather than spending the cover height on sky. */
  object-position:52% 72% !important;
}
.about-engineering-hero-shade{
  background:
    linear-gradient(90deg,rgba(4,15,8,.91) 0%,rgba(4,15,8,.72) 39%,rgba(4,15,8,.26) 67%,rgba(4,15,8,.06) 100%),
    linear-gradient(0deg,rgba(4,14,8,.34),transparent 52%) !important;
}
.about-engineering-hero-inner{
  width:min(1180px,calc(100% - 40px)) !important;
  height:100% !important;
  min-height:0 !important;
  margin-inline:auto !important;
  padding:clamp(18px,2.3vw,34px) 0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
.about-engineering-hero-copy{
  max-width:min(620px,53%) !important;
}
.about-engineering-eyebrow{
  margin-bottom:clamp(5px,.7vw,9px) !important;
  font-size:clamp(8px,.7vw,11px) !important;
}
.about-engineering-hero h1{
  margin:0 !important;
  font-size:clamp(30px,4vw,58px) !important;
  line-height:1.01 !important;
}
.about-engineering-lead{
  max-width:58ch !important;
  margin-top:clamp(9px,1vw,14px) !important;
  font-size:clamp(11px,.92vw,14px) !important;
  line-height:1.52 !important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.about-engineering-tags{
  gap:6px !important;
  margin-top:clamp(9px,1vw,14px) !important;
}
.about-engineering-tags span{
  padding:5px 9px !important;
  font-size:clamp(8px,.64vw,10px) !important;
}
.about-engineering-actions{
  gap:8px !important;
  margin-top:clamp(10px,1.1vw,15px) !important;
}
.about-engineering-actions .btn{
  min-height:38px !important;
  padding:0 15px !important;
  font-size:clamp(10px,.8vw,12px) !important;
}
.about-engineering-trust{
  display:none !important;
}

/* Lower engineering story: the two real-site images are now independent
   background cards. Their labels sit directly on the photos. */
.about-engineering-section{
  padding:clamp(26px,3vw,44px) 0 !important;
}
.about-engineering-stage{
  --about-visual-w:56%;
  aspect-ratio:auto !important;
  min-height:clamp(560px,45vw,680px) !important;
  grid-template-rows:minmax(0,1fr) auto !important;
}
.about-engineering-stage-visuals{
  left:0 !important;
  right:auto !important;
  width:var(--about-visual-w) !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:10px !important;
  padding:10px !important;
  z-index:-3 !important;
}
.about-engineering-stage-bg{
  position:relative !important;
  inset:auto !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  border-radius:20px !important;
  overflow:hidden !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  opacity:1 !important;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);
}
.about-engineering-stage-bg-main{
  background-image:
    linear-gradient(180deg,rgba(3,12,6,.62) 0%,rgba(3,12,6,.13) 34%,rgba(3,12,6,.08) 64%,rgba(3,12,6,.44) 100%),
    url("images/about-control-engineer.png") !important;
  background-position:43% center !important;
}
.about-engineering-stage-bg-side{
  background-image:
    linear-gradient(180deg,rgba(3,12,6,.62) 0%,rgba(3,12,6,.12) 34%,rgba(3,12,6,.08) 64%,rgba(3,12,6,.44) 100%),
    url("images/about-field-experience-v191.png") !important;
  background-position:56% center !important;
}
.about-engineering-stage-shade{
  z-index:-2 !important;
  background:linear-gradient(90deg,transparent 0%,transparent 54%,rgba(6,18,10,.86) 58%,rgba(6,18,10,.98) 100%) !important;
}
.about-engineering-grid{
  grid-template-columns:minmax(0,var(--about-visual-w)) minmax(0,calc(100% - var(--about-visual-w))) !important;
  height:100% !important;
}
.about-engineering-visual-labels{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  grid-template-rows:1fr !important;
  gap:10px !important;
  align-items:start !important;
  padding:24px 24px 0 !important;
}
.about-engineering-visual-labels>div{
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
  padding:12px 13px !important;
  align-self:start !important;
  border:1px solid rgba(255,255,255,.20) !important;
  border-radius:13px !important;
  background:rgba(5,15,9,.58) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.14) !important;
  backdrop-filter:blur(8px);
}
.about-engineering-visual-labels>div:nth-child(1),
.about-engineering-visual-labels>div:nth-child(2){
  grid-row:1 !important;
  align-self:start !important;
}
.about-engineering-visual-labels b{
  font-size:clamp(10px,.78vw,12px) !important;
}
.about-engineering-visual-labels span{
  font-size:clamp(9px,.7vw,11px) !important;
  line-height:1.45 !important;
}
.about-engineering-copy{
  padding:clamp(24px,2.8vw,40px) clamp(24px,3vw,44px) !important;
  background:linear-gradient(90deg,rgba(7,20,12,.88),rgba(7,20,12,.97)) !important;
  border-left:1px solid rgba(255,255,255,.10) !important;
}

@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .about-engineering-hero{
    aspect-ratio:16 / 5.7 !important;
  }
  .about-engineering-hero-inner{
    width:calc(100% - 32px) !important;
  }
  .about-engineering-hero-copy{max-width:60% !important;}
  .about-engineering-hero h1{font-size:clamp(27px,4.8vw,46px) !important;}
  .about-engineering-stage{
    --about-visual-w:54%;
    min-height:580px !important;
  }
  .about-engineering-stage-visuals,
  .about-engineering-visual-labels{
    gap:8px !important;
  }
  .about-engineering-stage-visuals{padding:8px !important;}
  .about-engineering-visual-labels{padding:20px 20px 0 !important;}
}

@media(max-width:780px){
  .about-engineering-hero{
    aspect-ratio:16 / 7 !important;
  }
  .about-engineering-hero-media img{
    object-position:58% 72% !important;
  }
  .about-engineering-hero-inner{
    width:calc(100% - 24px) !important;
    padding:14px 0 !important;
  }
  .about-engineering-hero-copy{max-width:68% !important;}
  .about-engineering-hero h1{font-size:clamp(22px,5.6vw,34px) !important;}
  .about-engineering-lead{-webkit-line-clamp:2;font-size:clamp(9px,2vw,11px) !important;}
  .about-engineering-tags{display:none !important;}
  .about-engineering-actions{margin-top:8px !important;}
  .about-engineering-actions .btn{min-height:31px !important;padding:0 10px !important;font-size:8px !important;}

  .about-engineering-stage{
    --about-visual-w:100%;
    min-height:0 !important;
    display:block !important;
    overflow:hidden !important;
  }
  .about-engineering-stage-visuals{
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:clamp(310px,64vw,440px) !important;
    grid-template-columns:1fr 1fr !important;
    padding:8px !important;
  }
  .about-engineering-stage-shade{display:none !important;}
  .about-engineering-grid{
    position:absolute !important;
    inset:0 0 auto 0 !important;
    height:clamp(310px,64vw,440px) !important;
    display:block !important;
  }
  .about-engineering-visual-labels{
    height:100% !important;
    grid-template-columns:1fr 1fr !important;
    padding:18px 18px 0 !important;
  }
  .about-engineering-visual-labels>div{display:block !important;padding:9px 10px !important;}
  .about-engineering-visual-labels b{font-size:8px !important;}
  .about-engineering-visual-labels span{font-size:7px !important;}
  .about-engineering-copy{
    position:relative !important;
    margin-top:0 !important;
    padding:22px 18px !important;
    background:#0a170e !important;
    border-left:0 !important;
  }
  .about-engineering-copy .about-location-kicker{font-size:8px !important;}
  .about-engineering-copy h2{font-size:clamp(22px,6.2vw,32px) !important;}
  .about-engineering-copy>p:not(.about-location-kicker){display:block !important;font-size:11px !important;line-height:1.6 !important;}
  .about-engineering-capabilities{margin-top:14px !important;}
  .about-engineering-capabilities article:nth-child(n){display:grid !important;}
  .about-engineering-capabilities span{display:block !important;font-size:9px !important;}
  .about-engineering-facts{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
  }
  .about-engineering-facts span{display:none !important;}
}

@media(max-width:520px){
  .about-engineering-hero{
    aspect-ratio:16 / 8.2 !important;
  }
  .about-engineering-hero-media img{object-position:62% 74% !important;}
  .about-engineering-hero-copy{max-width:76% !important;}
  .about-engineering-eyebrow{font-size:6px !important;}
  .about-engineering-hero h1{font-size:clamp(18px,5.7vw,25px) !important;}
  .about-engineering-lead{font-size:7.5px !important;line-height:1.35 !important;}
  .about-engineering-actions .btn:nth-child(2){display:none !important;}
  .about-engineering-stage-visuals,
  .about-engineering-grid{height:270px !important;}
  .about-engineering-visual-labels{padding:14px 14px 0 !important;gap:6px !important;}
  .about-engineering-visual-labels>div{padding:7px 8px !important;border-radius:10px !important;}
  .about-engineering-visual-labels span{display:none !important;}
  .about-engineering-copy{padding:18px 14px !important;}
  .about-engineering-capabilities span{display:none !important;}
  .about-engineering-facts{grid-template-columns:1fr 1fr !important;}
}


/* V182 — About engineering story simplified: text first, one real engineer photo directly underneath. */
.about-engineering-section{
  padding:clamp(30px,4vw,58px) 0 !important;
  background:#f6f9f7 !important;
}
.about-engineering-section>.container{
  width:min(1180px,calc(100% - 40px)) !important;
}
.about-engineering-story{
  overflow:hidden;
  border:1px solid rgba(24,112,58,.12);
  border-radius:30px;
  background:#fff;
  box-shadow:0 22px 54px rgba(18,55,32,.08);
}
.about-engineering-story-copy{
  padding:clamp(30px,4.2vw,58px) clamp(28px,5vw,68px) clamp(24px,3.5vw,46px);
  color:#23382a;
}
.about-engineering-story-copy .about-location-kicker{
  margin:0 0 10px;
  color:#16833d;
}
.about-engineering-story-copy h2{
  margin:0;
  max-width:860px;
  color:#173d26;
  font-size:clamp(34px,4.2vw,58px);
  line-height:1.05;
  letter-spacing:-.035em;
}
.about-engineering-story-copy>p:not(.about-location-kicker){
  max-width:900px;
  margin:18px 0 0;
  color:#66736a;
  font-size:clamp(14px,1.15vw,17px);
  line-height:1.72;
}
.about-engineering-story .about-engineering-capabilities{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:28px;
}
.about-engineering-story .about-engineering-capabilities article{
  min-width:0;
  padding:14px;
  border:1px solid #dfe9e2;
  border-radius:16px;
  background:#f7faf8;
  box-shadow:none;
}
.about-engineering-story .about-engineering-capabilities article>b{
  width:38px;
  height:38px;
  background:#e0f1e5;
  color:#188340;
}
.about-engineering-story .about-engineering-capabilities strong{color:#264a31;}
.about-engineering-story .about-engineering-capabilities span{color:#6b766e;}
.about-engineering-story-photo{
  position:relative;
  width:100%;
  aspect-ratio:16 / 5.4;
  margin:0;
  overflow:hidden;
  background:#e9eeeb;
}
.about-engineering-story-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(9,25,14,.03),rgba(9,25,14,.16));
  pointer-events:none;
}
.about-engineering-story-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 42%;
}
.about-engineering-story .about-engineering-facts{
  margin:0 !important;
  padding:14px !important;
  border-top:1px solid #e1e9e3;
  background:#eef4ef !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px !important;
}
.about-engineering-story .about-engineering-facts article{
  min-height:0 !important;
  padding:15px 16px !important;
  background:#fff !important;
  border:1px solid #e2e9e4 !important;
  box-shadow:none !important;
}
@media(max-width:900px){
  .about-engineering-story .about-engineering-capabilities{grid-template-columns:repeat(2,minmax(0,1fr));}
  .about-engineering-story-photo{aspect-ratio:16 / 7;}
  .about-engineering-story .about-engineering-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .about-engineering-section>.container{width:calc(100% - 20px) !important;}
  .about-engineering-story{border-radius:22px;}
  .about-engineering-story-copy{padding:24px 18px 20px;}
  .about-engineering-story-copy h2{font-size:clamp(28px,9vw,38px);}
  .about-engineering-story-copy>p:not(.about-location-kicker){font-size:13px;line-height:1.62;}
  .about-engineering-story .about-engineering-capabilities{grid-template-columns:1fr 1fr;gap:8px;margin-top:20px;}
  .about-engineering-story .about-engineering-capabilities article{padding:10px;gap:8px;}
  .about-engineering-story .about-engineering-capabilities article>b{width:32px;height:32px;font-size:9px;}
  .about-engineering-story .about-engineering-capabilities strong{font-size:12px;}
  .about-engineering-story .about-engineering-capabilities span{font-size:10px;}
  .about-engineering-story-photo{aspect-ratio:4 / 3;}
  .about-engineering-story-photo img{object-position:48% 36%;}
  .about-engineering-story .about-engineering-facts{grid-template-columns:1fr 1fr;padding:8px !important;gap:7px !important;}
  .about-engineering-story .about-engineering-facts article{padding:11px !important;}
  .about-engineering-story .about-engineering-facts span{font-size:10px;}
}


/* V183 — About engineering story: real engineer photo becomes the background behind all explanatory copy. */
.about-engineering-section{
  padding:clamp(34px,4.5vw,66px) 0 !important;
  background:#f4f7f5 !important;
}
.about-engineering-section>.container{
  width:min(1320px,calc(100% - 40px)) !important;
}
.about-engineering-story{
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:650px;
  aspect-ratio:16 / 9;
  overflow:hidden;
  border:1px solid rgba(18,61,35,.16);
  border-radius:30px;
  background:#08160f;
  box-shadow:0 24px 60px rgba(16,48,29,.11);
}
.about-engineering-story::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:url("images/about-control-engineer.png");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:72% 35%;
}
.about-engineering-story::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(90deg,rgba(4,31,18,.96) 0%,rgba(6,31,19,.88) 34%,rgba(6,27,17,.56) 58%,rgba(7,22,15,.18) 78%,rgba(7,22,15,.10) 100%),
    linear-gradient(0deg,rgba(5,24,15,.42) 0%,transparent 36%);
}
.about-engineering-story-copy{
  position:relative;
  z-index:2;
  width:min(100%,1080px);
  padding:clamp(44px,5vw,72px) clamp(44px,5vw,74px) 26px !important;
  color:#fff;
}
.about-engineering-story-copy .about-location-kicker{
  margin:0 0 18px !important;
  color:#6ee795 !important;
  font-size:clamp(.78rem,1vw,.96rem) !important;
  font-weight:900 !important;
  letter-spacing:.05em !important;
  text-transform:none !important;
}
.about-engineering-story-copy .about-location-kicker::after{
  content:"";
  display:block;
  width:66px;
  height:2px;
  margin-top:10px;
  background:rgba(110,231,149,.72);
}
.about-engineering-story-copy h2{
  max-width:900px;
  margin:0 0 20px !important;
  color:#fff !important;
  font-size:clamp(2.25rem,4.2vw,4rem) !important;
  line-height:1.12 !important;
  letter-spacing:-.045em !important;
  text-wrap:balance;
}
.about-engineering-story-copy>p:not(.about-location-kicker){
  max-width:760px;
  margin:0 !important;
  color:rgba(255,255,255,.86) !important;
  font-size:clamp(.95rem,1.25vw,1.08rem) !important;
  line-height:1.72 !important;
}
.about-engineering-story .about-engineering-capabilities{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
  max-width:1120px;
  margin:clamp(26px,3vw,38px) 0 0 !important;
}
.about-engineering-story .about-engineering-capabilities article{
  min-width:0;
  display:grid !important;
  grid-template-columns:42px minmax(0,1fr) !important;
  align-items:start;
  gap:11px !important;
  padding:15px 14px !important;
  border:1px solid rgba(255,255,255,.20) !important;
  border-radius:16px !important;
  background:rgba(10,39,24,.53) !important;
  box-shadow:none !important;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.about-engineering-story .about-engineering-capabilities article>b{
  width:40px !important;
  height:40px !important;
  display:grid;
  place-items:center;
  border-radius:11px !important;
  background:rgba(81,201,117,.18) !important;
  color:#71e797 !important;
  font-size:.74rem !important;
  font-weight:900;
}
.about-engineering-story .about-engineering-capabilities strong{
  display:block;
  margin-bottom:4px;
  color:#fff !important;
  font-size:.96rem !important;
  line-height:1.25;
}
.about-engineering-story .about-engineering-capabilities span{
  display:block !important;
  color:rgba(255,255,255,.75) !important;
  font-size:.78rem !important;
  line-height:1.45 !important;
}
.about-engineering-story-photo{
  display:none !important;
}
.about-engineering-story .about-engineering-facts{
  position:relative;
  z-index:3;
  width:100%;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  margin-top:auto !important;
  padding:12px !important;
  border-top:1px solid rgba(18,61,35,.12);
  background:rgba(246,249,247,.96) !important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.about-engineering-story .about-engineering-facts article{
  min-width:0;
  padding:14px 16px !important;
  border:1px solid rgba(23,96,49,.10) !important;
  border-radius:14px !important;
  background:rgba(255,255,255,.93) !important;
  box-shadow:none !important;
}
.about-engineering-story .about-engineering-facts small{
  color:#1f8d48 !important;
  font-size:.62rem !important;
  font-weight:900;
  letter-spacing:.12em;
}
.about-engineering-story .about-engineering-facts strong{
  display:block;
  margin:3px 0 3px;
  color:#1b4d2d !important;
  font-size:1.03rem !important;
}
.about-engineering-story .about-engineering-facts span{
  display:block !important;
  color:#66716a !important;
  font-size:.75rem !important;
  line-height:1.4 !important;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1100px){
  .about-engineering-story{
    aspect-ratio:auto;
    min-height:650px;
  }
  .about-engineering-story::before{
    background-position:66% 35%;
  }
  .about-engineering-story-copy{
    padding:38px 30px 24px !important;
  }
  .about-engineering-story-copy h2{
    max-width:700px;
    font-size:clamp(2rem,5vw,3rem) !important;
  }
  .about-engineering-story .about-engineering-capabilities{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    max-width:720px;
  }
  .about-engineering-story .about-engineering-facts{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:720px){
  .about-engineering-section{
    padding:20px 0 !important;
  }
  .about-engineering-section>.container{
    width:calc(100% - 20px) !important;
  }
  .about-engineering-story{
    min-height:0;
    border-radius:22px;
  }
  .about-engineering-story::before{
    background-position:68% 24%;
  }
  .about-engineering-story::after{
    background:
      linear-gradient(180deg,rgba(5,29,17,.84) 0%,rgba(5,29,17,.70) 53%,rgba(5,29,17,.56) 100%),
      linear-gradient(90deg,rgba(5,29,17,.82) 0%,rgba(5,29,17,.20) 100%);
  }
  .about-engineering-story-copy{
    padding:28px 18px 22px !important;
  }
  .about-engineering-story-copy .about-location-kicker{
    font-size:.72rem !important;
    margin-bottom:14px !important;
  }
  .about-engineering-story-copy h2{
    max-width:96%;
    margin-bottom:14px !important;
    font-size:clamp(1.65rem,8vw,2.35rem) !important;
    line-height:1.12 !important;
  }
  .about-engineering-story-copy>p:not(.about-location-kicker){
    max-width:94%;
    font-size:.82rem !important;
    line-height:1.58 !important;
  }
  .about-engineering-story .about-engineering-capabilities{
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    margin-top:20px !important;
  }
  .about-engineering-story .about-engineering-capabilities article{
    grid-template-columns:30px minmax(0,1fr) !important;
    gap:8px !important;
    padding:10px !important;
    border-radius:12px !important;
  }
  .about-engineering-story .about-engineering-capabilities article>b{
    width:30px !important;
    height:30px !important;
    font-size:.62rem !important;
  }
  .about-engineering-story .about-engineering-capabilities strong{
    font-size:.76rem !important;
  }
  .about-engineering-story .about-engineering-capabilities span{
    font-size:.64rem !important;
  }
  .about-engineering-story .about-engineering-facts{
    grid-template-columns:1fr 1fr !important;
    gap:7px !important;
    padding:8px !important;
  }
  .about-engineering-story .about-engineering-facts article{
    padding:10px !important;
  }
  .about-engineering-story .about-engineering-facts strong{
    font-size:.84rem !important;
  }
  .about-engineering-story .about-engineering-facts span{
    font-size:.64rem !important;
  }
}


/* V184 — About page uses the proven System gallery / Smart Panel architecture. */
.about-showcase-stage{
  background:
    radial-gradient(circle at 72% 18%,rgba(28,137,67,.065),transparent 28%),
    linear-gradient(180deg,#f7faf8 0%,#fff 100%) !important;
}
.about-showcase-stage .container{
  padding-top:24px !important;
  padding-bottom:30px !important;
}
.about-showcase-inline-heading{
  width:100%;
}
.about-showcase-preview{
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.about-showcase-preview::after{display:none !important;}
.about-showcase-screen{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
}
.about-showcase-panel{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .42s ease,visibility .42s ease;
}
.about-showcase-panel.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:2;
}
.about-showcase-panel>img{
  width:100%;
  height:100%;
  object-fit:cover;
  padding:0 !important;
  border-radius:0 !important;
}
.about-showcase-panel[data-about-panel="0"]>img{object-position:60% 42%;}
.about-showcase-panel[data-about-panel="1"]>img{object-position:50% 42%;}
.about-showcase-panel[data-about-panel="2"]>img{object-position:52% 54%;filter:saturate(.9);}
.about-showcase-panel::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(3,24,14,.88) 0%,rgba(3,24,14,.66) 38%,rgba(3,24,14,.16) 70%,rgba(3,24,14,.04) 100%);
  pointer-events:none;
}
.about-showcase-copy{
  position:absolute;
  z-index:3;
  left:clamp(28px,4vw,54px);
  bottom:clamp(28px,4vw,52px);
  width:min(52%,560px);
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.28);
}
.about-showcase-copy small{
  display:block;
  margin-bottom:8px;
  color:#73e59c;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.14em;
}
.about-showcase-copy h2{
  margin:0 0 10px;
  color:#fff;
  font-size:clamp(1.75rem,3vw,3rem);
  line-height:1.08;
  letter-spacing:-.04em;
}
.about-showcase-copy p{
  margin:0;
  color:rgba(255,255,255,.88);
  font-size:clamp(.86rem,1.2vw,1rem);
  line-height:1.65;
  max-width:48ch;
}
.about-showcase-map-panel iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  filter:saturate(.86) contrast(.98);
}
.about-showcase-map-panel::after{
  background:linear-gradient(90deg,rgba(3,24,14,.82) 0%,rgba(3,24,14,.48) 34%,rgba(3,24,14,0) 62%);
  pointer-events:none;
}
.about-showcase-map-copy{pointer-events:none;}
.about-map-thumb{
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#17723a;
  font-weight:850;
  letter-spacing:.08em;
}
.about-map-thumb-icon{font-size:2rem;line-height:1;}
.about-map-thumb>span:last-child{font-size:.72rem;}

@media (min-width:981px) and (orientation:landscape){
  .about-showcase-stage .system-gallery-showcase{
    grid-template-columns:minmax(250px,310px) minmax(0,1fr) !important;
    grid-template-areas:"rail preview" !important;
  }
  .about-showcase-preview-stack{grid-area:preview;}
  .about-showcase-rail{grid-area:rail;}
  .about-showcase-stage .system-gallery-preview{
    height:clamp(500px,62vh,610px) !important;
  }
  .about-showcase-stage .system-gallery-rail{
    height:clamp(590px,70vh,670px) !important;
  }
}
@media (max-width:980px), (orientation:portrait) and (max-width:1100px){
  .about-showcase-copy{width:min(66%,520px);}
  .about-showcase-stage .system-gallery-preview{aspect-ratio:16 / 9 !important;}
}
@media (max-width:780px){
  .about-showcase-stage .container{padding-top:14px !important;padding-bottom:18px !important;}
  .about-showcase-copy{
    left:18px;
    right:18px;
    bottom:18px;
    width:auto;
  }
  .about-showcase-copy small{font-size:.58rem;margin-bottom:5px;}
  .about-showcase-copy h2{font-size:clamp(1.25rem,6vw,1.9rem);margin-bottom:6px;}
  .about-showcase-copy p{
    font-size:.72rem;
    line-height:1.45;
    max-width:40ch;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  .about-showcase-panel::after{
    background:linear-gradient(0deg,rgba(3,24,14,.88) 0%,rgba(3,24,14,.62) 42%,rgba(3,24,14,.06) 76%);
  }
  .about-showcase-map-panel::after{
    background:linear-gradient(0deg,rgba(3,24,14,.82) 0%,rgba(3,24,14,.42) 34%,rgba(3,24,14,0) 64%);
  }
}


/* V185 — About gallery: restore the original cover as page 1 and expose the exact System smart-device bezel. */
.about-showcase-screen.system-gallery-screen{
  position:relative;
  box-sizing:border-box;
  padding:var(--screen-pad) !important;
  background:linear-gradient(180deg,#5b6168 0%,#2b3137 14%,#181d22 100%) !important;
  border:1px solid rgba(255,255,255,.26) !important;
  box-shadow:0 28px 70px rgba(14,36,22,.16),0 12px 22px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.40),inset 0 -10px 18px rgba(0,0,0,.26) !important;
  overflow:hidden !important;
}
.about-showcase-screen.system-gallery-screen::before{
  display:block !important;
  content:"" !important;
  z-index:20 !important;
}
.about-showcase-screen .about-showcase-panel{
  inset:var(--screen-pad) !important;
  border-radius:calc(38px - var(--screen-pad));
  overflow:hidden;
}
.about-showcase-screen .about-showcase-panel>img,
.about-showcase-screen .about-showcase-map-panel iframe{
  border-radius:inherit !important;
}
.about-showcase-cover-panel>img{
  object-position:53% 52% !important;
}
.about-showcase-cover-panel::after{
  background:linear-gradient(90deg,rgba(3,24,14,.94) 0%,rgba(3,24,14,.78) 36%,rgba(3,24,14,.30) 62%,rgba(3,24,14,.06) 100%) !important;
}
.about-showcase-cover-copy{
  width:min(58%,610px);
}
.about-showcase-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:16px;
}
.about-showcase-tags span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border:1px solid rgba(113,231,151,.30);
  border-radius:999px;
  background:rgba(8,42,25,.46);
  color:#d9f8e4;
  font-size:.68rem;
  font-weight:760;
  letter-spacing:.02em;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
@media (max-width:980px), (orientation:portrait){
  .about-showcase-screen .about-showcase-panel{
    border-radius:calc(28px - var(--screen-pad));
  }
}
@media (max-width:780px){
  .about-showcase-cover-copy{width:auto;}
  .about-showcase-tags{gap:5px;margin-top:10px;}
  .about-showcase-tags span{min-height:22px;padding:0 7px;font-size:.55rem;}
}
@media (max-width:520px){
  .about-showcase-screen .about-showcase-panel{
    border-radius:calc(24px - var(--screen-pad));
  }
  .about-showcase-tags span:nth-child(n+4){display:none;}
}


/* V187 — About Smart Panel follows the active media ratio and scales its safe-area typography with the device frame. */
.about-showcase-stage .about-showcase-preview{
  width:100% !important;
  height:auto !important;
  aspect-ratio:var(--about-active-ratio, 4 / 3) !important;
  max-width:860px !important;
  margin-inline:auto !important;
}
.about-showcase-stage .about-showcase-screen{
  width:100% !important;
  height:100% !important;
  aspect-ratio:var(--about-active-ratio, 4 / 3) !important;
  container-type:inline-size;
}
.about-showcase-stage .about-showcase-preview-stack{
  min-width:0;
}
.about-showcase-stage .about-showcase-panel{
  --about-safe-x:clamp(14px,4.4cqw,54px);
  --about-safe-y:clamp(14px,4.1cqw,52px);
}
.about-showcase-stage .about-showcase-copy{
  left:var(--about-safe-x) !important;
  right:auto !important;
  bottom:var(--about-safe-y) !important;
  width:min(56cqw,560px) !important;
  max-width:calc(100% - (var(--about-safe-x) * 2));
}
.about-showcase-stage .about-showcase-copy small{
  margin-bottom:clamp(4px,.8cqw,8px) !important;
  font-size:clamp(.56rem,1.35cqw,.74rem) !important;
  letter-spacing:clamp(.08em,.13cqw,.14em);
}
.about-showcase-stage .about-showcase-copy h2{
  margin-bottom:clamp(5px,1.1cqw,10px) !important;
  font-size:clamp(1.05rem,4.25cqw,3rem) !important;
  line-height:1.08 !important;
}
.about-showcase-stage .about-showcase-copy p{
  font-size:clamp(.66rem,1.55cqw,1rem) !important;
  line-height:1.55 !important;
  max-width:48ch !important;
}
.about-showcase-stage .about-showcase-tags{
  gap:clamp(4px,.8cqw,7px) !important;
  margin-top:clamp(7px,1.8cqw,16px) !important;
}
.about-showcase-stage .about-showcase-tags span{
  min-height:clamp(20px,3.4cqw,28px) !important;
  padding-inline:clamp(6px,1.25cqw,10px) !important;
  font-size:clamp(.50rem,1.15cqw,.68rem) !important;
}
/* About thumbnails follow the source media instead of the generic 16:9 gallery card. */
.about-showcase-stage .about-showcase-rail .system-gallery-item{
  aspect-ratio:4 / 3 !important;
  height:auto !important;
}
.about-showcase-stage .about-showcase-rail .system-gallery-item img{
  object-fit:cover !important;
}
@media (min-width:981px) and (orientation:landscape){
  .about-showcase-stage .system-gallery-showcase{
    grid-template-columns:minmax(250px,310px) minmax(0,1fr) !important;
    grid-template-areas:"rail preview" !important;
    align-items:center !important;
  }
  .about-showcase-stage .about-showcase-preview{
    width:min(100%,820px) !important;
    height:auto !important;
    max-height:none !important;
  }
  .about-showcase-stage .about-showcase-rail{
    height:min(650px,72svh) !important;
    align-self:center !important;
  }
  .about-showcase-stage .about-showcase-rail .system-gallery-item{
    width:206px !important;
  }
  .about-showcase-stage .about-showcase-rail .system-gallery-item.is-current{
    width:252px !important;
  }
}
@media (max-width:980px), (orientation:portrait) and (max-width:1100px){
  .about-showcase-stage .about-showcase-preview{
    width:min(100%,760px) !important;
    aspect-ratio:var(--about-active-ratio, 4 / 3) !important;
  }
  .about-showcase-stage .about-showcase-rail .system-gallery-item{
    width:108px !important;
  }
  .about-showcase-stage .about-showcase-rail .system-gallery-item.is-current{
    width:148px !important;
  }
}
@media (max-width:780px){
  .about-showcase-stage .container{
    width:min(100% - 20px,1180px) !important;
  }
  .about-showcase-stage .about-showcase-preview{
    width:100% !important;
  }
  .about-showcase-stage .about-showcase-copy{
    width:min(64cqw,440px) !important;
  }
  .about-showcase-stage .about-showcase-copy p{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  .about-showcase-stage .about-showcase-rail .system-gallery-item{
    width:76px !important;
  }
  .about-showcase-stage .about-showcase-rail .system-gallery-item.is-current{
    width:108px !important;
  }
}
@media (max-width:520px){
  .about-showcase-stage .container{
    width:min(100% - 14px,1180px) !important;
  }
  .about-showcase-stage .about-showcase-panel{
    --about-safe-x:clamp(12px,4.2cqw,18px);
    --about-safe-y:clamp(12px,4cqw,18px);
  }
  .about-showcase-stage .about-showcase-copy{
    width:min(67cqw,320px) !important;
  }
  .about-showcase-stage .about-showcase-copy h2{
    font-size:clamp(.98rem,4.5cqw,1.35rem) !important;
  }
  .about-showcase-stage .about-showcase-copy p{
    font-size:clamp(.60rem,1.9cqw,.72rem) !important;
    line-height:1.42 !important;
    -webkit-line-clamp:2;
  }
  .about-showcase-stage .about-showcase-tags span:nth-child(n+4){display:none;}
}


/* V188 — About gallery simplified to Engineering / Field / Map. Rich copy fills the left fade; map reuses the location layout inside the Smart Panel. */
.about-showcase-stage .about-showcase-engineering-panel::after,
.about-showcase-stage .about-showcase-field-panel::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(3,20,12,.94) 0%,rgba(3,22,13,.86) 28%,rgba(4,24,15,.63) 49%,rgba(4,24,15,.20) 68%,rgba(4,24,15,.03) 100%);
  pointer-events:none;
}
.about-showcase-stage .about-showcase-engineering-panel>img{
  object-position:58% 50% !important;
}
.about-showcase-stage .about-showcase-field-panel>img{
  object-position:54% 50% !important;
}
.about-showcase-stage .about-showcase-rich-copy{
  top:50% !important;
  bottom:auto !important;
  transform:translateY(-50%);
  width:min(55%,610px) !important;
  max-width:610px !important;
  text-shadow:0 2px 16px rgba(0,0,0,.34);
}
.about-showcase-stage .about-showcase-rich-copy h2{
  font-size:clamp(1.65rem,3.6cqw,3.15rem) !important;
  max-width:13.5em;
}
.about-showcase-stage .about-showcase-rich-copy p{
  max-width:52ch !important;
  color:rgba(255,255,255,.90) !important;
}
.about-showcase-proof{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:clamp(12px,2.2cqw,20px);
}
.about-showcase-proof span{
  min-width:0;
  min-height:44px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border:1px solid rgba(131,235,166,.24);
  border-radius:12px;
  background:rgba(4,37,20,.42);
  color:#e9f8ee;
  font-size:clamp(.58rem,1.05cqw,.75rem);
  font-weight:700;
  line-height:1.25;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.about-showcase-proof b{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:8px;
  background:rgba(80,205,119,.18);
  color:#78e69b;
  font-size:.64rem;
}
.about-showcase-stage .about-showcase-map-clean{
  background:#f4f8f5;
  padding:0 !important;
}
.about-showcase-stage .about-showcase-map-clean::after{
  content:none !important;
  display:none !important;
}
.about-showcase-stage .about-showcase-map-layout{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(250px,.8fr);
  min-width:0;
  min-height:0;
  background:#f7faf8;
}
.about-showcase-stage .about-showcase-map-layout .about-map-embed{
  min-width:0;
  min-height:0;
  height:100%;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:hidden;
}
.about-showcase-stage .about-showcase-map-layout .about-map-embed iframe{
  position:static !important;
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  border:0 !important;
  filter:none !important;
  border-radius:0 !important;
}
.about-showcase-stage .about-showcase-map-layout .about-address-panel{
  min-width:0;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(18px,3.1cqw,34px);
  border-radius:0 !important;
  border:0 !important;
  box-shadow:none !important;
  background:#fff !important;
}
.about-showcase-stage .about-showcase-map-layout .about-address-panel h2{
  font-size:clamp(1.35rem,2.5cqw,2.1rem);
}
.about-showcase-stage .about-showcase-map-layout .about-address-block{
  margin-top:12px;
}
.about-showcase-stage .about-showcase-map-layout .about-address-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-top:16px;
}
.about-showcase-stage .about-showcase-map-layout .about-address-actions .btn{
  width:100%;
  min-width:0;
  justify-content:space-between;
}
.about-showcase-stage .about-showcase-map-layout .about-address-note{
  margin-top:12px;
  font-size:clamp(.62rem,1.05cqw,.78rem);
  line-height:1.45;
}
/* Only three selectors remain; keep them balanced around the current card. */
@media (min-width:981px) and (orientation:landscape){
  .about-showcase-stage .about-showcase-rail .system-gallery-item.is-prev,
  .about-showcase-stage .about-showcase-rail .system-gallery-item.is-next{
    opacity:.64 !important;
  }
}
@media (max-width:780px){
  .about-showcase-stage .about-showcase-rich-copy{
    top:auto !important;
    bottom:var(--about-safe-y) !important;
    transform:none;
    width:min(72cqw,460px) !important;
  }
  .about-showcase-stage .about-showcase-engineering-panel::after,
  .about-showcase-stage .about-showcase-field-panel::after{
    background:linear-gradient(0deg,rgba(3,20,12,.93) 0%,rgba(3,22,13,.76) 36%,rgba(3,22,13,.30) 62%,rgba(3,22,13,.05) 100%);
  }
  .about-showcase-proof{grid-template-columns:1fr;gap:4px;margin-top:8px;}
  .about-showcase-proof span{min-height:28px;padding:5px 7px;}
  .about-showcase-proof span:nth-child(n+3){display:none;}
  .about-showcase-stage .about-showcase-map-layout{
    grid-template-columns:1.15fr .85fr;
  }
  .about-showcase-stage .about-showcase-map-layout .about-address-panel{
    padding:12px;
  }
  .about-showcase-stage .about-showcase-map-layout .about-location-kicker,
  .about-showcase-stage .about-showcase-map-layout .about-address-note{
    display:none;
  }
  .about-showcase-stage .about-showcase-map-layout .about-address-panel h2{
    font-size:clamp(.9rem,3.6cqw,1.2rem);
    margin-bottom:6px;
  }
  .about-showcase-stage .about-showcase-map-layout .about-address-block{
    margin-top:4px;
  }
  .about-showcase-stage .about-showcase-map-layout .about-address-block p,
  .about-showcase-stage .about-showcase-map-layout .about-address-block strong{
    font-size:clamp(.56rem,1.8cqw,.72rem);
    line-height:1.35;
  }
  .about-showcase-stage .about-showcase-map-layout .about-address-actions{
    margin-top:8px;
  }
  .about-showcase-stage .about-showcase-map-layout .about-address-actions .btn{
    min-height:32px;
    padding:0 8px;
    font-size:.62rem;
  }
}
@media (max-width:520px){
  .about-showcase-stage .about-showcase-rich-copy{
    width:min(76cqw,330px) !important;
  }
  .about-showcase-stage .about-showcase-rich-copy h2{
    font-size:clamp(1rem,4.6cqw,1.35rem) !important;
  }
  .about-showcase-stage .about-showcase-rich-copy p{
    -webkit-line-clamp:3 !important;
  }
  .about-showcase-proof{display:none;}
  .about-showcase-stage .about-showcase-map-layout{
    grid-template-columns:1fr;
    grid-template-rows:58% 42%;
  }
  .about-showcase-stage .about-showcase-map-layout .about-address-panel{
    padding:8px 10px;
  }
  .about-showcase-stage .about-showcase-map-layout .about-address-panel h2,
  .about-showcase-stage .about-showcase-map-layout .about-address-block{
    display:none;
  }
  .about-showcase-stage .about-showcase-map-layout .about-address-actions{
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin:0;
  }
}

/* V192 — About Smart Panel true media-fit frame + exact scaled slide replicas in selector. */
.about-showcase-stage .about-showcase-preview{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  overflow:visible !important;
}
.about-showcase-stage .about-showcase-screen.system-gallery-screen{
  --about-frame-radius:38px;
  position:relative;
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  box-sizing:border-box;
  padding:var(--screen-pad) !important;
  border-radius:var(--about-frame-radius) !important;
  overflow:hidden !important;
}
.about-showcase-stage .about-showcase-content{
  position:relative;
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:var(--about-active-ratio, 4 / 3);
  border-radius:max(0px,calc(var(--about-frame-radius) - var(--screen-pad)));
  overflow:hidden;
  background:#0d1410;
  isolation:isolate;
}
.about-showcase-stage .about-showcase-screen .about-showcase-panel{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  border-radius:inherit !important;
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
}
.about-showcase-stage .about-showcase-screen .about-showcase-panel>img{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.about-showcase-stage .about-showcase-map-layout{
  inset:0 !important;
  width:100% !important;
  height:100% !important;
}
@media (min-width:981px) and (orientation:landscape){
  .about-showcase-stage .about-showcase-screen.system-gallery-screen{--about-frame-radius:40px;}
}
@media (max-width:980px), (orientation:portrait){
  .about-showcase-stage .about-showcase-screen.system-gallery-screen{--about-frame-radius:28px;}
}
@media (max-width:520px){
  .about-showcase-stage .about-showcase-screen.system-gallery-screen{--about-frame-radius:24px;}
}

/* Selector cards are actual miniature copies of the complete large slide. */
.about-showcase-stage .about-showcase-rail .system-gallery-item{
  position:absolute;
  display:block !important;
  padding:0 !important;
  overflow:hidden !important;
  background:transparent !important;
  border:0 !important;
  cursor:pointer;
  isolation:isolate;
}
.about-showcase-stage .about-showcase-rail .system-gallery-item:focus-visible{
  outline:3px solid rgba(26,145,70,.28);
  outline-offset:3px;
}
.about-thumb-viewport{
  position:absolute;
  inset:0;
  display:block;
  overflow:hidden;
  border-radius:inherit;
  background:transparent;
  pointer-events:none;
}
.about-thumb-canvas{
  --about-frame-radius:38px;
  position:absolute;
  left:0;
  top:0;
  display:block;
  box-sizing:border-box;
  transform-origin:0 0;
  container-type:inline-size;
  padding:var(--about-thumb-pad,18px);
  border:1px solid rgba(255,255,255,.26);
  border-radius:var(--about-frame-radius);
  background:linear-gradient(180deg,#5b6168 0%,#2b3137 14%,#181d22 100%);
  box-shadow:0 28px 70px rgba(14,36,22,.16),0 12px 22px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.40),inset 0 -10px 18px rgba(0,0,0,.26);
  overflow:hidden;
  pointer-events:none;
}
.about-thumb-canvas::before{
  content:"";
  position:absolute;
  top:3px;
  left:50%;
  transform:translateX(-50%);
  width:102px;
  height:14px;
  border-radius:999px;
  background:radial-gradient(circle at 50% 50%,#4c5660 0 1.6px,transparent 1.8px),linear-gradient(180deg,#0f1418 0%,#23292f 100%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.10),0 1px 0 rgba(255,255,255,.06);
  z-index:50;
}
.about-thumb-content{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:var(--about-thumb-ratio,4 / 3);
  border-radius:max(0px,calc(var(--about-frame-radius) - var(--about-thumb-pad,18px)));
  overflow:hidden;
  background:#0d1410;
  isolation:isolate;
}
.about-showcase-stage .about-thumb-panel{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:inherit !important;
  overflow:hidden !important;
  opacity:1 !important;
  visibility:visible !important;
  display:block !important;
  pointer-events:none !important;
}
.about-showcase-stage .about-thumb-panel>img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  object-fit:cover !important;
  border-radius:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.about-showcase-stage .about-thumb-panel iframe,
.about-showcase-stage .about-thumb-panel a,
.about-showcase-stage .about-thumb-panel button{
  pointer-events:none !important;
}
.about-showcase-stage .about-thumb-panel .about-showcase-map-layout{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
}


/* V193 — Article editorial upgrade: richer technical reading structure and aligned cover imagery. */
.article-modal-panel{width:min(1040px,100%);}
.article-reader-content{max-width:900px;margin:0 auto;}
.article-reader-hero{position:relative;width:100%;aspect-ratio:16/7;margin:0 0 28px;overflow:hidden;border-radius:22px;background:#eef5f0;box-shadow:0 16px 42px rgba(18,63,35,.10);}
.article-reader-hero img{display:block;width:100%;height:100%;object-fit:cover;}
.article-reader-hero-system img{object-position:78% 52%;transform:scale(1.08);transform-origin:78% 52%;}
.compact-book-shell>img.compact-book-system-image{object-position:80% 50%;transform:scale(1.08);transform-origin:80% 50%;}
.article-reader-lead{margin:0 0 20px!important;color:#33483a!important;font-size:1.08rem;line-height:1.85!important;font-weight:550;}
.article-reader-summary{display:grid;grid-template-columns:minmax(120px,.28fr) minmax(0,1fr);gap:16px;align-items:start;margin:22px 0 28px;padding:18px 20px;border:1px solid #cfe1d3;border-radius:18px;background:linear-gradient(135deg,#f0f8f2,#fbfdfb);}
.article-reader-summary strong{color:#176c37;font-size:.92rem;letter-spacing:.02em;}
.article-reader-summary span{color:#46594d;line-height:1.7;}
.article-reader-content h3{margin-top:34px;font-size:1.34rem;line-height:1.4;}
.article-reader-content ul{border-radius:16px;border:1px solid #dcebe0;}
.article-reader-note{display:grid;gap:6px;margin:26px 0;padding:18px 20px;border-left:4px solid #1b8a45;border-radius:0 15px 15px 0;background:#f6faf7;}
.article-reader-note b{color:#155b30;font-size:.9rem;}
.article-reader-note span{color:#53645a;line-height:1.7;}
.article-reader-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:30px 0 4px;padding:18px 20px;border-radius:18px;background:#123f25;color:#fff;}
.article-reader-cta span{font-weight:700;line-height:1.5;}
.article-reader-cta a{flex:0 0 auto;padding:10px 14px;border-radius:12px;background:#fff;color:#176c37;text-decoration:none;font-weight:800;}
.article-reader-cta a:hover{text-decoration:underline;}
@media(max-width:620px){
  .article-reader-hero{aspect-ratio:4/3;margin-bottom:20px;border-radius:16px;}
  .article-reader-summary{grid-template-columns:1fr;gap:7px;padding:15px 16px;}
  .article-reader-lead{font-size:1rem;}
  .article-reader-content h3{margin-top:27px;font-size:1.17rem;}
  .article-reader-cta{align-items:flex-start;flex-direction:column;padding:16px;}
  .article-reader-cta a{width:100%;text-align:center;}
}


/* V194 — Article reader: real two-page book spread on desktop/tablet. */
.article-modal{
  padding:clamp(14px,2vw,28px);
}
.article-modal-panel{
  width:min(1380px,calc(100vw - 32px)) !important;
  max-height:92vh !important;
  padding:0 !important;
  overflow:hidden !important;
  border:1px solid rgba(47,76,57,.20) !important;
  border-radius:22px;
  background:#ece7db !important;
  box-shadow:0 34px 100px rgba(0,0,0,.38) !important;
}
.article-modal-body{
  width:100%;
  height:100%;
}
.article-modal-close{
  position:absolute !important;
  float:none !important;
  top:14px !important;
  right:14px !important;
  z-index:20 !important;
  width:44px !important;
  height:44px !important;
  margin:0 !important;
  border-radius:50%;
  background:rgba(15,65,34,.92) !important;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  backdrop-filter:blur(8px);
}
.article-reader-content{
  max-width:none !important;
  width:100%;
  height:100%;
  margin:0 !important;
}
.article-book-spread{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  width:100%;
  height:min(820px,92vh);
  min-height:610px;
  overflow:hidden;
  background:#f6f1e7;
}
.article-book-spread::before{
  content:"";
  position:absolute;
  z-index:5;
  top:0;
  bottom:0;
  left:50%;
  width:30px;
  transform:translateX(-50%);
  pointer-events:none;
  background:linear-gradient(90deg,rgba(52,42,29,.11),rgba(255,255,255,.5) 43%,rgba(255,255,255,.18) 52%,rgba(52,42,29,.10));
  mix-blend-mode:multiply;
  opacity:.58;
}
.article-book-page{
  position:relative;
  min-width:0;
  min-height:0;
  background:
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.78),transparent 35%),
    linear-gradient(135deg,#fffdf7 0%,#f6f1e7 100%);
}
.article-book-left{
  display:flex;
  flex-direction:column;
  padding:clamp(30px,3.1vw,48px) clamp(30px,3.5vw,54px) clamp(28px,3vw,44px);
  border-right:1px solid rgba(89,72,48,.12);
  box-shadow:inset -14px 0 28px rgba(76,60,39,.035);
  overflow:hidden;
}
.article-book-right{
  padding:clamp(40px,3.7vw,58px) clamp(34px,4vw,62px) 46px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(31,112,57,.38) transparent;
  box-shadow:inset 14px 0 28px rgba(76,60,39,.03);
}
.article-book-right::-webkit-scrollbar{width:8px;}
.article-book-right::-webkit-scrollbar-thumb{background:rgba(31,112,57,.30);border-radius:999px;}
.article-book-left .article-reader-hero{
  flex:0 0 auto;
  width:100%;
  aspect-ratio:16/9 !important;
  margin:0 0 clamp(20px,2.2vw,30px) !important;
  border-radius:18px !important;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(27,55,34,.12) !important;
  background:#e9efe9;
}
.article-book-left .article-reader-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.article-book-left .article-reader-hero-system img{
  object-position:78% 52%;
  transform:scale(1.05);
}
.article-book-left .book-reading-kicker{
  margin:0 0 8px;
  color:#1a7b3e;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.article-book-left h2{
  margin:0 0 14px !important;
  color:#123b23 !important;
  font-size:clamp(1.72rem,2.45vw,2.55rem) !important;
  line-height:1.12 !important;
  letter-spacing:-.035em;
}
.article-book-left .article-reader-lead{
  margin:0 0 18px !important;
  color:#425348 !important;
  font-size:clamp(.92rem,1.1vw,1.05rem) !important;
  line-height:1.72 !important;
}
.article-book-left .article-reader-summary{
  margin:auto 0 0 !important;
  grid-template-columns:1fr !important;
  gap:6px !important;
  padding:17px 18px !important;
  border:1px solid rgba(34,118,59,.18) !important;
  border-radius:16px !important;
  background:rgba(237,247,239,.82) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.article-book-left .article-reader-summary strong{
  color:#17703a;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.article-book-left .article-reader-summary span{
  color:#46584c;
  font-size:.91rem;
  line-height:1.62;
}
.article-book-right h3{
  display:grid;
  grid-template-columns:50px minmax(0,1fr);
  gap:15px;
  align-items:start;
  margin:0 0 12px !important;
  padding-top:28px;
  color:#173f27 !important;
  font-size:clamp(1.05rem,1.4vw,1.31rem) !important;
  line-height:1.38 !important;
  border-top:1px solid rgba(42,83,54,.11);
}
.article-book-right h3:first-child{
  padding-top:0;
  border-top:0;
}
.article-section-number{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:14px;
  background:#1d7c40;
  color:#fff;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.05em;
  box-shadow:0 7px 18px rgba(29,124,64,.15);
}
.article-section-title{
  padding-top:8px;
  font-weight:850;
}
.article-book-right p{
  margin:0 0 18px !important;
  color:#536158 !important;
  font-size:.96rem;
  line-height:1.78 !important;
}
.article-book-right ul{
  margin:26px 0 !important;
  padding:20px 22px 20px 42px !important;
  border:1px solid #d9e8dc !important;
  border-radius:16px !important;
  background:rgba(239,248,241,.78) !important;
  color:#294a33;
  line-height:1.72 !important;
}
.article-book-right .article-reader-note{
  margin:26px 0 !important;
  padding:18px 20px !important;
  border-left:4px solid #1b8a45;
  background:rgba(245,250,246,.92);
}
.article-book-right .article-reader-cta{
  margin:30px 0 4px !important;
  border-radius:16px !important;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .article-modal-panel{width:min(96vw,1180px) !important;}
  .article-book-spread{height:min(800px,90vh);min-height:580px;}
  .article-book-left{padding:28px 30px 30px;}
  .article-book-right{padding:40px 34px 38px;}
  .article-book-left h2{font-size:clamp(1.5rem,2.7vw,2rem) !important;}
  .article-book-left .article-reader-lead{font-size:.91rem !important;line-height:1.62 !important;}
  .article-book-left .article-reader-summary span{font-size:.84rem;}
}
@media (max-width:700px){
  .article-modal{padding:8px !important;align-items:flex-start;}
  .article-modal-panel{
    width:100% !important;
    max-height:calc(100dvh - 16px) !important;
    overflow-y:auto !important;
    border-radius:18px;
  }
  .article-modal-close{
    position:sticky !important;
    top:10px !important;
    right:auto !important;
    float:right !important;
    margin:10px 10px -54px 0 !important;
  }
  .article-book-spread{
    display:block;
    height:auto;
    min-height:0;
    overflow:visible;
  }
  .article-book-spread::before{display:none;}
  .article-book-left,
  .article-book-right{
    width:100%;
    overflow:visible;
    box-shadow:none;
  }
  .article-book-left{
    padding:22px 18px 24px;
    border-right:0;
    border-bottom:1px solid rgba(89,72,48,.14);
  }
  .article-book-right{
    padding:28px 18px 34px;
  }
  .article-book-left .article-reader-hero{
    aspect-ratio:4/3 !important;
    margin-bottom:18px !important;
  }
  .article-book-left h2{
    padding-right:38px;
    font-size:1.58rem !important;
  }
  .article-book-left .article-reader-summary{margin-top:18px !important;}
  .article-book-right h3{
    grid-template-columns:42px minmax(0,1fr);
    gap:12px;
    padding-top:24px;
    font-size:1.05rem !important;
  }
  .article-section-number{
    width:40px;
    height:40px;
    border-radius:12px;
    font-size:.75rem;
  }
  .article-section-title{padding-top:6px;}
  .article-book-right p{font-size:.92rem;line-height:1.72 !important;}
}


/* V195 — Final contact data / article metadata / compatibility polish */
.quick-contact a,
.contact-method a,
.site-footer a[href^="tel:"],
.site-footer a[href^="mailto:"],
.site-footer a[href*="line.me"],
.about-contact-cards h3 a{
  color:inherit;
  text-decoration:none;
}
.quick-contact a:hover,
.contact-method a:hover,
.about-contact-cards h3 a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}
.contact-form-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:4px;
}
.contact-form-actions .btn{
  width:100%;
  justify-content:center;
}
.article-reader-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:4px 0 16px;
  font-size:.78rem;
  line-height:1.45;
  color:#66736b;
}
.article-reader-meta span+span::before{
  content:"•";
  margin-right:18px;
  opacity:.55;
}
.legacy-anchor-alias{
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
  pointer-events:none;
}
@media (min-width:981px){
  .about-contact-cards{grid-template-columns:repeat(4,minmax(0,1fr));}
  .about-contact-cards h3{overflow-wrap:anywhere;}
}
@media (max-width:620px){
  .contact-form-actions{grid-template-columns:1fr;}
  .article-reader-meta{gap:5px 10px;}
  .article-reader-meta span+span::before{margin-right:10px;}
}

/* V196 — Homepage lower-half editorial rebalance.
   Scope: homepage Latest Projects -> Why BAANLARN -> contact CTA/footer only.
   Hero and Services geometry remain unchanged. */
.home-page .portfolio-section{
  position:relative;
  overflow:hidden;
  padding:clamp(64px,7vw,92px) 0 clamp(66px,7vw,88px);
  background:
    radial-gradient(circle at 85% 8%,rgba(46,139,74,.08),transparent 29%),
    linear-gradient(180deg,#f8fbf9 0%,#f2f7f3 100%);
}
.home-page .portfolio-section::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(22,111,54,.16),transparent);
}
.home-page .portfolio-section .container,
.home-page .why-section .container{
  width:min(1240px,calc(100% - 40px));
}
.home-page .home-editorial-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.52fr);
  align-items:end;
  gap:clamp(32px,6vw,84px);
  margin-bottom:clamp(26px,3vw,38px);
}
.home-page .home-section-kicker{
  display:block;
  margin:0 0 10px;
  color:#16723a;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1.3;
  text-transform:uppercase;
}
.home-page .home-editorial-head h2,
.home-page .why-intro h2{
  margin:0;
  color:#14351f;
  font-size:clamp(2rem,3.8vw,3.35rem);
  line-height:1.12;
  letter-spacing:-.035em;
}
.home-page .home-editorial-head>p{
  margin:0 0 4px;
  color:#667168;
  font-size:clamp(.86rem,1vw,.98rem);
  line-height:1.82;
}
.home-page .portfolio-grid{
  display:grid;
  grid-template-columns:repeat(14,minmax(0,1fr));
  grid-template-rows:repeat(2,clamp(220px,21vw,270px));
  gap:16px;
}
.home-page .portfolio-section .project-card{
  position:relative;
  overflow:hidden;
  min-width:0;
  min-height:0;
  border:0;
  border-radius:26px;
  background:#173523;
  box-shadow:0 18px 45px rgba(19,58,32,.10);
  isolation:isolate;
  transform:translateZ(0);
}
.home-page .portfolio-section .project-card:nth-child(1){grid-column:1/9;grid-row:1/3;}
.home-page .portfolio-section .project-card:nth-child(2){grid-column:9/15;grid-row:1/2;}
.home-page .portfolio-section .project-card:nth-child(3){grid-column:9/12;grid-row:2/3;}
.home-page .portfolio-section .project-card:nth-child(4){grid-column:12/15;grid-row:2/3;}
.home-page .portfolio-section .project-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(7,21,12,.02) 30%,rgba(7,22,13,.16) 56%,rgba(6,23,13,.88) 100%);
  pointer-events:none;
}
.home-page .portfolio-section .project-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  aspect-ratio:auto;
  object-fit:cover;
  background:#dce8df;
  transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .5s ease;
}
.home-page .portfolio-section .project-card:nth-child(1) img{object-position:center 48%;}
.home-page .portfolio-section .project-card:nth-child(2) img{object-position:center 56%;}
.home-page .portfolio-section .project-card:nth-child(3) img{object-position:center 50%;}
.home-page .portfolio-section .project-card:nth-child(4) img{object-position:center 48%;}
.home-page .portfolio-section .project-card>div{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  padding:22px 22px 20px;
  background:none;
}
.home-page .portfolio-section .project-card:nth-child(1)>div{padding:30px 30px 28px;}
.home-page .portfolio-section .project-card h3{
  margin:0;
  max-width:92%;
  color:#fff;
  font-size:clamp(.92rem,1.35vw,1.18rem);
  line-height:1.38;
  text-shadow:0 2px 14px rgba(0,0,0,.25);
}
.home-page .portfolio-section .project-card:nth-child(1) h3{
  max-width:72%;
  font-size:clamp(1.3rem,2.1vw,1.75rem);
}
.home-page .portfolio-section .project-card:nth-child(3) h3,
.home-page .portfolio-section .project-card:nth-child(4) h3{font-size:clamp(.82rem,1vw,.96rem);}
.home-page .portfolio-section .project-location{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin:8px 0 0;
  padding:3px 9px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  color:rgba(255,255,255,.88);
  background:rgba(4,21,11,.24);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  font-size:.68rem;
  font-weight:700;
}
.home-page .portfolio-section .project-number{
  position:absolute;
  top:18px;
  left:18px;
  z-index:3;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:50%;
  color:#fff;
  background:rgba(7,27,15,.22);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.05em;
}
@media (hover:hover){
  .home-page .portfolio-section .project-card:hover img{transform:scale(1.035);filter:saturate(1.04);}
  .home-page .portfolio-section .project-card:hover{box-shadow:0 24px 58px rgba(19,58,32,.15);}
}

.home-page .why-section{
  position:relative;
  padding:clamp(72px,7vw,96px) 0 0;
  background:#fff;
}
.home-page .why-layout{
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.45fr);
  gap:clamp(42px,6vw,82px);
  align-items:start;
}
.home-page .why-intro{
  padding-top:8px;
}
.home-page .why-intro h2{
  font-size:clamp(1.9rem,3vw,2.75rem);
}
.home-page .why-intro>p{
  margin:20px 0 0;
  max-width:500px;
  color:#68726b;
  font-size:.92rem;
  line-height:1.85;
}
.home-page .why-more{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-top:24px;
  color:#176f39;
  font-size:.82rem;
  font-weight:800;
}
.home-page .why-more span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid #cce2d2;
  border-radius:50%;
  transition:transform .25s ease,background .25s ease,color .25s ease;
}
.home-page .why-more:hover span{transform:translateX(4px);background:#176f39;color:#fff;}
.home-page .why-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.home-page .why-grid article{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:start;
  min-height:206px;
  padding:28px 26px 26px;
  border:1px solid #dce8df;
  border-radius:24px;
  background:linear-gradient(145deg,#fff 0%,#fbfdfb 100%);
  box-shadow:0 14px 34px rgba(19,58,32,.055);
}
.home-page .why-grid article:nth-child(2),
.home-page .why-grid article:nth-child(3){background:linear-gradient(145deg,#f8fcf9 0%,#f1f8f3 100%);}
.home-page .why-number{
  position:absolute;
  top:18px;
  right:20px;
  color:#c3d7c9;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
}
.home-page .why-icon{
  width:52px;
  height:52px;
  border-radius:17px;
  border-color:#c9dfcf;
  background:linear-gradient(180deg,#f8fcf9,#edf7ef);
  box-shadow:none;
}
.home-page .why-icon svg{width:27px;height:27px;}
.home-page .why-grid article>div{padding:3px 18px 0 0;}
.home-page .why-grid h3{
  margin:0 0 8px;
  color:#174b2a;
  font-size:1.03rem;
  line-height:1.4;
}
.home-page .why-grid p{
  margin:0;
  color:#69736c;
  font-size:.79rem;
  line-height:1.75;
}

.home-page .contact-strip{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  align-items:center;
  gap:clamp(28px,5vw,62px);
  margin-top:clamp(48px,6vw,72px);
  padding:clamp(28px,4vw,42px);
  border:0;
  border-radius:30px 30px 0 0;
  background:
    radial-gradient(circle at 78% 15%,rgba(82,197,113,.20),transparent 30%),
    linear-gradient(135deg,#0f4b28 0%,#126231 58%,#0e562b 100%);
  box-shadow:0 -10px 34px rgba(12,69,34,.08);
  color:#fff;
}
.home-page .contact-copy{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;}
.home-page .leaf-mark{margin-top:-4px;color:#8ce2a4;font-size:3.1rem;line-height:1;}
.home-page .contact-kicker{
  display:block;
  margin-bottom:7px;
  color:#98e3ab;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.home-page .contact-copy h2{
  margin:0;
  color:#fff;
  font-size:clamp(1.45rem,2.4vw,2.05rem);
  line-height:1.24;
}
.home-page .contact-copy p{
  margin:9px 0 0;
  max-width:510px;
  color:rgba(255,255,255,.74);
  font-size:.82rem;
  line-height:1.75;
}
.home-page .contact-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.home-page .contact-action{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  min-height:74px;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:16px;
  background:rgba(255,255,255,.08);
  color:#fff;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:transform .22s ease,background .22s ease,border-color .22s ease;
}
.home-page a.contact-action:hover{transform:translateY(-2px);background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.24);}
.home-page .contact-action span{color:#9ee4b0;font-size:.65rem;font-weight:800;letter-spacing:.05em;}
.home-page .contact-action strong{
  display:block;
  margin-top:4px;
  overflow:hidden;
  color:#fff;
  font-size:.78rem;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-page .contact-action-static{cursor:default;}
.home-page .site-footer{
  padding:44px 0 14px;
  background:linear-gradient(180deg,#0e562b 0%,#0a4724 100%);
}
.home-page .site-footer .footer-grid{gap:clamp(28px,5vw,58px);}
.home-page .site-footer .footer-brand p,
.home-page .site-footer .footer-grid p{font-size:.76rem;line-height:1.78;}
.home-page .site-footer .footer-grid h3{font-size:.82rem;margin-bottom:9px;}
.home-page .site-footer .footer-grid a{font-size:.74rem;line-height:2;}

@media (max-width:980px){
  .home-page .home-editorial-head{grid-template-columns:1fr;gap:15px;}
  .home-page .home-editorial-head>p{max-width:720px;}
  .home-page .portfolio-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(2,270px);
  }
  .home-page .portfolio-section .project-card:nth-child(n){grid-column:auto;grid-row:auto;}
  .home-page .portfolio-section .project-card:nth-child(1)>div{padding:22px 22px 20px;}
  .home-page .portfolio-section .project-card:nth-child(1) h3{max-width:90%;font-size:1.18rem;}
  .home-page .why-layout{grid-template-columns:1fr;gap:32px;}
  .home-page .why-intro{max-width:760px;}
  .home-page .contact-strip{grid-template-columns:1fr;}
}

@media (max-width:600px){
  .home-page .portfolio-section{
    padding:44px 0 36px;
  }
  .home-page .portfolio-section .container,
  .home-page .why-section .container{
    width:min(100% - 28px,1240px);
  }
  .home-page .home-section-kicker{margin-bottom:8px;font-size:.66rem;}
  .home-page .home-editorial-head h2{font-size:1.95rem;line-height:1.16;}
  .home-page .home-editorial-head>p{font-size:.81rem;line-height:1.72;}
  .home-page .portfolio-section .portfolio-grid{
    display:block !important;
    height:min(118vw,455px);
    min-height:404px;
  }
  .home-page .portfolio-section .project-card{
    width:min(84vw,370px) !important;
    height:min(100vw,405px) !important;
    border-radius:24px;
  }
  .home-page .portfolio-section .project-card img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
  }
  .home-page .portfolio-section .project-card>div,
  .home-page .portfolio-section .project-card:nth-child(1)>div{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    min-height:0 !important;
    padding:22px 20px 22px !important;
    background:none !important;
  }
  .home-page .portfolio-section .project-card h3,
  .home-page .portfolio-section .project-card:nth-child(1) h3,
  .home-page .portfolio-section .project-card:nth-child(3) h3,
  .home-page .portfolio-section .project-card:nth-child(4) h3{
    max-width:90%;
    color:#fff;
    font-size:1.04rem;
    line-height:1.42;
  }
  .home-page .portfolio-section .project-number{top:14px;left:14px;width:34px;height:34px;}
  .home-page .portfolio-section .project-location{font-size:.66rem;}
  .home-page .portfolio-section .home-mobile-gallery-status{bottom:0;}

  .home-page .why-section{padding:54px 0 0;}
  .home-page .why-intro h2{font-size:1.8rem;line-height:1.18;}
  .home-page .why-intro>p{margin-top:15px;font-size:.82rem;line-height:1.76;}
  .home-page .why-more{margin-top:18px;font-size:.77rem;}
  .home-page .why-grid{grid-template-columns:1fr;gap:12px;}
  .home-page .why-grid article{
    min-height:0;
    padding:21px 20px;
    border-radius:20px;
  }
  .home-page .why-icon{width:48px;height:48px;border-radius:15px;}
  .home-page .why-grid h3{font-size:.96rem;}
  .home-page .why-grid p{font-size:.76rem;}
  .home-page .contact-strip{
    gap:24px;
    margin-top:38px;
    padding:27px 20px 24px;
    border-radius:24px 24px 0 0;
  }
  .home-page .contact-copy{grid-template-columns:1fr;gap:8px;}
  .home-page .leaf-mark{font-size:2.4rem;}
  .home-page .contact-copy h2{font-size:1.55rem;}
  .home-page .contact-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .home-page .contact-action{min-height:68px;padding:11px 12px;border-radius:14px;}
  .home-page .contact-action strong{font-size:.7rem;}
  .home-page .site-footer{padding-top:36px;}
}


/* V197 — BAANLARN FAMILY CONNECT homepage hero slide.
   Inserted as slide 2. The supplied 4:3 Family dashboard remains height-first on landscape,
   while portrait uses the same image-on-top / copy-below homepage architecture. */
@media (min-width:781px){
  .hero-slider .hero-family-connect::before{
    left:50% !important;
    right:auto !important;
    width:720px !important;
    height:540px !important;
    background-size:auto 100% !important;
    background-position:left center !important;
    background-repeat:no-repeat !important;
    background-color:#edf4ef !important;
  }
  .hero-slider .hero-family-connect .hero-copy{
    width:500px;
    max-width:500px;
  }
  .hero-slider .hero-family-connect .hero-copy h1,
  .hero-slider .hero-family-connect .hero-copy h2{
    max-width:500px;
    font-size:clamp(1.96rem,2.55vw,2.72rem);
    line-height:1.08;
    letter-spacing:-.035em;
  }
  .hero-slider .hero-family-connect .hero-lead{
    width:430px !important;
    max-width:430px !important;
  }
}
@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1180px) and (orientation:portrait){
  .hero-slider .hero-family-connect::before{left:49% !important;}
  .hero-slider .hero-family-connect .hero-copy{width:465px;max-width:465px;}
  .hero-slider .hero-family-connect .hero-copy h1,
  .hero-slider .hero-family-connect .hero-copy h2{font-size:clamp(1.84rem,2.35vw,2.48rem);max-width:465px;}
  .hero-slider .hero-family-connect .hero-lead{width:400px !important;max-width:400px !important;}
}
@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1050px) and (orientation:portrait){
  .hero-slider .hero-family-connect::before{left:48% !important;}
  .hero-slider .hero-family-connect .hero-copy{width:435px;max-width:435px;}
  .hero-slider .hero-family-connect .hero-copy h1,
  .hero-slider .hero-family-connect .hero-copy h2{font-size:clamp(1.74rem,2.16vw,2.22rem);max-width:435px;}
  .hero-slider .hero-family-connect .hero-lead{width:372px !important;max-width:372px !important;}
}
@media (max-width:780px) and (orientation:portrait){
  .hero-slider .hero-family-connect::before{
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    height:min(62vw,300px) !important;
    background-size:cover !important;
    background-position:center center !important;
  }
  .hero-slider .hero-family-connect .hero-copy{
    width:100% !important;
    max-width:none !important;
  }
  .hero-slider .hero-family-connect .hero-copy h1,
  .hero-slider .hero-family-connect .hero-copy h2{
    font-size:clamp(1.92rem,7.7vw,2.55rem) !important;
    line-height:1.07 !important;
  }
  .hero-slider .hero-family-connect .hero-lead{
    width:100% !important;
    max-width:34rem !important;
  }
}

/* V197 position-safe hero sizing after inserting Family Connect at slide 2.
   Preserve the accepted visual proportions of the former slides regardless of their new index. */
@media (min-width:781px){
  .hero-slider .hero-garden .hero-copy{width:500px;max-width:500px;}
  .hero-slider .hero-garden .hero-copy h1,
  .hero-slider .hero-garden .hero-copy h2{font-size:clamp(1.98rem,2.65vw,2.8rem);line-height:1.08;letter-spacing:-.035em;max-width:500px;}
  .hero-slider .hero-garden .hero-lead{width:430px !important;max-width:430px !important;}

  .hero-slider .hero-crop .hero-copy,
  .hero-slider .hero-farm .hero-copy,
  .hero-slider .hero-hardware .hero-copy{width:520px;max-width:520px;}
  .hero-slider .hero-crop .hero-copy h1,
  .hero-slider .hero-crop .hero-copy h2,
  .hero-slider .hero-farm .hero-copy h1,
  .hero-slider .hero-farm .hero-copy h2,
  .hero-slider .hero-hardware .hero-copy h1,
  .hero-slider .hero-hardware .hero-copy h2{font-size:clamp(2.02rem,2.75vw,2.9rem);max-width:520px;letter-spacing:-.035em;}
  .hero-slider .hero-crop .hero-lead,
  .hero-slider .hero-farm .hero-lead,
  .hero-slider .hero-hardware .hero-lead{width:450px !important;max-width:450px !important;}
}
@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1180px) and (orientation:portrait){
  .hero-slider .hero-garden .hero-copy{width:475px;max-width:475px;}
  .hero-slider .hero-garden .hero-copy h1,
  .hero-slider .hero-garden .hero-copy h2{font-size:clamp(1.9rem,2.45vw,2.55rem);max-width:475px;}
  .hero-slider .hero-garden .hero-lead{width:405px !important;max-width:405px !important;}

  .hero-slider .hero-crop .hero-copy,
  .hero-slider .hero-farm .hero-copy,
  .hero-slider .hero-hardware .hero-copy{width:490px;max-width:490px;}
  .hero-slider .hero-crop .hero-copy h1,
  .hero-slider .hero-crop .hero-copy h2,
  .hero-slider .hero-farm .hero-copy h1,
  .hero-slider .hero-farm .hero-copy h2,
  .hero-slider .hero-hardware .hero-copy h1,
  .hero-slider .hero-hardware .hero-copy h2{font-size:clamp(1.95rem,2.55vw,2.7rem);max-width:490px;}
  .hero-slider .hero-crop .hero-lead,
  .hero-slider .hero-farm .hero-lead,
  .hero-slider .hero-hardware .hero-lead{width:420px !important;max-width:420px !important;}
}
@media (min-width:781px) and (max-width:980px), (min-width:781px) and (max-width:1050px) and (orientation:portrait){
  .hero-slider .hero-garden .hero-copy{width:445px;max-width:445px;}
  .hero-slider .hero-garden .hero-copy h1,
  .hero-slider .hero-garden .hero-copy h2{font-size:clamp(1.82rem,2.25vw,2.32rem);max-width:445px;}
  .hero-slider .hero-garden .hero-lead{width:385px !important;max-width:385px !important;}

  .hero-slider .hero-crop .hero-copy,
  .hero-slider .hero-farm .hero-copy,
  .hero-slider .hero-hardware .hero-copy{width:455px;max-width:455px;}
  .hero-slider .hero-crop .hero-copy h1,
  .hero-slider .hero-crop .hero-copy h2,
  .hero-slider .hero-farm .hero-copy h1,
  .hero-slider .hero-farm .hero-copy h2,
  .hero-slider .hero-hardware .hero-copy h1,
  .hero-slider .hero-hardware .hero-copy h2{font-size:clamp(1.86rem,2.35vw,2.45rem);max-width:455px;}
  .hero-slider .hero-crop .hero-lead,
  .hero-slider .hero-farm .hero-lead,
  .hero-slider .hero-hardware .hero-lead{width:395px !important;max-width:395px !important;}
}


/* V198 — Family Connect slide 2 uses the exact same Smart Panel composition as slide 1.
   The supplied 4:3 dashboard is now rendered inside the same bezel, at the same grid position,
   with the same desktop/tablet/mobile sizing rules. No background-image pseudo layer is used. */
.hero-slider .hero-slide.hero-family-connect.hero-screen-sync::before{
  display:none !important;
  content:none !important;
}
.hero-slider .hero-family-connect.hero-screen-sync .hero-grid{
  grid-template-columns:minmax(0,520px) minmax(0,1fr);
  align-items:center;
  gap:18px;
}
.hero-slider .hero-family-connect.hero-screen-sync .hero-copy{
  width:auto !important;
  max-width:520px !important;
}
.hero-slider .hero-family-connect.hero-screen-sync .hero-copy h1,
.hero-slider .hero-family-connect.hero-screen-sync .hero-copy h2{
  max-width:none !important;
}
.hero-slider .hero-family-connect.hero-screen-sync .hero-lead{
  width:auto !important;
  max-width:none !important;
}
.hero-slider .hero-family-connect.hero-screen-sync .hero-system-screen img{
  object-position:center center;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1180px){
  .hero-slider .hero-family-connect.hero-screen-sync .hero-grid{
    grid-template-columns:minmax(0,470px) minmax(0,1fr);
    gap:14px;
  }
  .hero-slider .hero-family-connect.hero-screen-sync .hero-copy{max-width:470px !important;}
}
@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .hero-slider .hero-family-connect.hero-screen-sync .hero-grid{
    grid-template-columns:minmax(0,430px) minmax(0,1fr);
  }
  .hero-slider .hero-family-connect.hero-screen-sync .hero-copy{max-width:430px !important;}
}
@media(max-width:780px){
  .hero-slider .hero-family-connect.hero-screen-sync .hero-grid{
    display:block !important;
    height:100%;
    padding-top:calc(min(60vw,320px) + 18px) !important;
  }
  .hero-slider .hero-family-connect.hero-screen-sync .hero-screen-visual{
    position:absolute;
    top:0;
    left:0;
    right:0;
    width:100%;
    height:min(60vw,320px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px 4px;
    box-sizing:border-box;
    z-index:1;
  }
  .hero-slider .hero-family-connect.hero-screen-sync .hero-copy{
    position:relative;
    z-index:2;
    width:100% !important;
    max-width:none !important;
    margin-left:0;
    padding:18px 0 90px;
  }
  .hero-slider .hero-family-connect.hero-screen-sync .hero-lead{
    width:100% !important;
    max-width:34rem !important;
  }
}
@media(max-width:520px){
  .hero-slider .hero-family-connect.hero-screen-sync .hero-grid{
    padding-top:calc(min(62vw,300px) + 14px) !important;
  }
  .hero-slider .hero-family-connect.hero-screen-sync .hero-screen-visual{
    height:min(62vw,300px);
    padding:8px 12px 4px;
  }
}

/* V202 — Key Features paired-device rail: thumbnails always preview the opposite mode. */
[data-feature-gallery] .system-gallery-item img{
  object-fit:contain !important;
}
[data-feature-gallery][data-feature-rail-preview="phone"] .system-gallery-item,
[data-feature-gallery][data-feature-rail-preview="phone"] .system-gallery-item.is-current{
  background:#111720;
}
[data-feature-gallery][data-feature-rail-preview="smartpanel"] .system-gallery-item,
[data-feature-gallery][data-feature-rail-preview="smartpanel"] .system-gallery-item.is-current{
  background:#fff;
}

/* V204 — Homepage slide 1 image fill tuning.
   Keep the accepted Smart Panel bezel geometry unchanged; slightly enlarge only the
   slide-1 screenshot underneath the clipped bezel so its visual content reaches the
   frame cleanly with no undersized-image gap. */
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen img{
  object-fit:cover !important;
  object-position:center center !important;
  transform:scale(1.045);
  transform-origin:center center;
}
@media(max-width:780px){
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen img{
    transform:scale(1.04);
  }
}

/* V205 — Homepage slide 1 bezel must paint above the enlarged screenshot.
   The image remains enlarged from V204, while the physical Smart Panel frame is
   an explicit top overlay so no part of the screenshot can visually cover it. */
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen{
  isolation:isolate;
}
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen img{
  position:relative;
  z-index:1;
}
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen::after{
  z-index:20 !important;
  box-shadow:
    inset 0 0 0 var(--screen-pad) rgba(24,29,34,.98),
    inset 0 1px 0 rgba(255,255,255,.20),
    inset 0 -1px 0 rgba(0,0,0,.35) !important;
}
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen::before{
  z-index:30 !important;
}

/* V206 — Family Connect slide 2: paired Smart Panel + phone composition.
   The supplied landscape screenshot remains inside the accepted Smart Panel bezel.
   The supplied portrait screenshot is rendered as a second foreground device, using
   the same physical bezel language and overlapping the tablet at the right edge. */
.hero-slider .hero-family-connect .hero-family-device-stack{
  position:relative;
  overflow:visible;
  isolation:isolate;
}
.hero-slider .hero-family-connect .hero-family-tablet-preview{
  position:relative;
  z-index:2;
}
.hero-slider .hero-family-connect .hero-family-tablet-screen img{
  object-fit:cover !important;
  object-position:center center !important;
}
.hero-slider .hero-family-connect .hero-family-phone-preview{
  position:absolute;
  z-index:40;
  right:-2.5%;
  bottom:-5%;
  width:clamp(112px,11vw,158px);
  filter:drop-shadow(0 24px 28px rgba(5,18,12,.28));
  pointer-events:none;
}
.hero-slider .hero-family-connect .hero-family-phone-screen{
  --phone-pad:8px;
  position:relative;
  box-sizing:border-box;
  width:100%;
  aspect-ratio:828 / 1696;
  padding:var(--phone-pad);
  border-radius:26px;
  overflow:hidden;
  background:linear-gradient(180deg,#5b6168 0%,#2b3137 13%,#171c21 100%);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:
    0 20px 42px rgba(14,36,22,.22),
    0 8px 16px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -8px 14px rgba(0,0,0,.28);
}
.hero-slider .hero-family-connect .hero-family-phone-screen::before{
  content:"";
  position:absolute;
  top:5px;
  left:50%;
  transform:translateX(-50%);
  width:34%;
  height:7px;
  border-radius:999px;
  background:linear-gradient(180deg,#0f1418,#252b31);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.10);
  z-index:50;
  pointer-events:none;
}
.hero-slider .hero-family-connect .hero-family-phone-screen::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:
    inset 0 0 0 var(--phone-pad) rgba(24,29,34,.98),
    inset 0 1px 0 rgba(255,255,255,.18);
  z-index:45;
  pointer-events:none;
}
.hero-slider .hero-family-connect .hero-family-phone-screen img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  border-radius:18px;
  background:#111720;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1180px){
  .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:-1.5%;
    bottom:-4%;
    width:clamp(104px,10.5vw,138px);
  }
}
@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:0;
    bottom:-3%;
    width:clamp(96px,10vw,124px);
  }
}
@media(max-width:780px){
  .hero-slider .hero-family-connect .hero-family-device-stack{
    overflow:visible;
  }
  .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:5%;
    bottom:-2px;
    width:min(19vw,86px);
    min-width:62px;
  }
  .hero-slider .hero-family-connect .hero-family-phone-screen{
    --phone-pad:5px;
    border-radius:18px;
  }
  .hero-slider .hero-family-connect .hero-family-phone-screen::before{
    top:3px;
    height:5px;
  }
  .hero-slider .hero-family-connect .hero-family-phone-screen img{
    border-radius:13px;
  }
}
@media(max-width:520px){
  .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:3%;
    bottom:0;
    width:min(18vw,76px);
    min-width:58px;
  }
}

/* V207 — Homepage hero device-edge repair + Family Connect focus layer.
   1) Smart Panel bezel is now a true overlay: screenshots reach pixel-0 on every edge,
      while the bezel paints above them. This removes the residual light/silver gutter.
   2) Family Connect phone uses the same overlay principle and its physical bottom aligns
      with the Smart Panel bottom.
   3) A supplied Family Connect close-up is layered at the left/front as a portfolio-style
      emphasis panel, without altering the source image bytes. */
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen,
.hero-slider .hero-family-connect .hero-family-tablet-screen{
  --hero-bezel:18px;
  padding:0 !important;
  overflow:hidden !important;
  background:#171c21 !important;
  border:0 !important;
  isolation:isolate;
}
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen img,
.hero-slider .hero-family-connect .hero-family-tablet-screen img{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:inherit !important;
  object-fit:cover !important;
  object-position:center center !important;
  transform:none !important;
  box-shadow:none !important;
  background:transparent !important;
}
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen::after,
.hero-slider .hero-family-connect .hero-family-tablet-screen::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:70 !important;
  border-radius:inherit !important;
  pointer-events:none !important;
  box-shadow:
    inset 0 0 0 var(--hero-bezel) rgba(22,27,32,.985),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(0,0,0,.42) !important;
}
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen::before,
.hero-slider .hero-family-connect .hero-family-tablet-screen::before{
  z-index:80 !important;
}

/* Phone: image occupies the full 0px device box; bezel overlays rather than consuming space. */
.hero-slider .hero-family-connect .hero-family-phone-preview{
  right:-2.5% !important;
  bottom:0 !important;
  z-index:60 !important;
}
.hero-slider .hero-family-connect .hero-family-phone-screen{
  --phone-bezel:8px;
  padding:0 !important;
  overflow:hidden !important;
  background:#171c21 !important;
  border:0 !important;
  isolation:isolate;
}
.hero-slider .hero-family-connect .hero-family-phone-screen img{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:inherit !important;
  object-fit:cover !important;
  object-position:center top !important;
  background:transparent !important;
}
.hero-slider .hero-family-connect .hero-family-phone-screen::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:70 !important;
  border-radius:inherit !important;
  pointer-events:none !important;
  box-shadow:
    inset 0 0 0 var(--phone-bezel) rgba(22,27,32,.99),
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 -1px 0 rgba(0,0,0,.42) !important;
}
.hero-slider .hero-family-connect .hero-family-phone-screen::before{z-index:80 !important;}

/* Supplied third image: frontmost portfolio/focus layer to make family messages legible. */
.hero-slider .hero-family-connect .hero-family-focus-preview{
  position:absolute;
  z-index:90;
  left:-14%;
  top:23%;
  width:clamp(190px,17vw,270px);
  pointer-events:none;
  filter:drop-shadow(0 22px 30px rgba(8,25,15,.26));
}
.hero-slider .hero-family-connect .hero-family-focus-card{
  position:relative;
  width:100%;
  aspect-ratio:987 / 966;
  border-radius:22px;
  overflow:hidden;
  background:#edf4ef;
  border:1px solid rgba(255,255,255,.88);
  box-shadow:
    0 18px 40px rgba(11,37,22,.20),
    0 0 0 1px rgba(20,126,72,.12);
}
.hero-slider .hero-family-connect .hero-family-focus-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.42);
  pointer-events:none;
}
.hero-slider .hero-family-connect .hero-family-focus-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  transform:scale(1.055);
  transform-origin:center center;
}

@media (max-width:980px), (orientation:portrait) and (max-width:1180px){
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen,
  .hero-slider .hero-family-connect .hero-family-tablet-screen{--hero-bezel:16px;}
  .hero-slider .hero-family-connect .hero-family-phone-preview{right:-1.5% !important;bottom:0 !important;}
  .hero-slider .hero-family-connect .hero-family-focus-preview{left:-10%;top:24%;width:clamp(170px,16vw,230px);}
}
@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .hero-slider .hero-family-connect .hero-family-phone-preview{right:0 !important;bottom:0 !important;}
  .hero-slider .hero-family-connect .hero-family-focus-preview{left:-6%;top:25%;width:clamp(150px,15vw,200px);}
}
@media(max-width:780px){
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen,
  .hero-slider .hero-family-connect .hero-family-tablet-screen{--hero-bezel:12px;}
  .hero-slider .hero-family-connect .hero-family-phone-screen{--phone-bezel:5px;}
  .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:4% !important;
    bottom:0 !important;
    width:min(19vw,86px) !important;
  }
  .hero-slider .hero-family-connect .hero-family-focus-preview{
    left:2%;
    top:18%;
    width:min(24vw,112px);
  }
  .hero-slider .hero-family-connect .hero-family-focus-card{border-radius:14px;}
}
@media(max-width:520px){
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen,
  .hero-slider .hero-family-connect .hero-family-tablet-screen{--hero-bezel:10px;}
  .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:3% !important;
    bottom:0 !important;
    width:min(18vw,76px) !important;
  }
  .hero-slider .hero-family-connect .hero-family-focus-preview{
    left:1.5%;
    top:19%;
    width:min(23vw,96px);
  }
}

/* V208 — Homepage Hero adopts the accepted System Overview V137 device-frame contract.
   Canonical rule: screenshot pixel-0 touches the INNER bezel edge, never the outer device edge.
   The device bezel therefore occupies real padding outside the image, exactly like
   System > Overview. Applies only to homepage slides 1–2. */
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen,
.hero-slider .hero-family-connect .hero-family-tablet-screen{
  --screen-pad:18px;
  position:relative !important;
  box-sizing:border-box !important;
  width:min(100%,640px) !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  padding:var(--screen-pad) !important;
  border:1px solid rgba(255,255,255,.26) !important;
  border-radius:38px !important;
  overflow:hidden !important;
  isolation:isolate !important;
  background:linear-gradient(180deg,#5b6168 0%,#2b3137 14%,#181d22 100%) !important;
  box-shadow:
    0 28px 70px rgba(14,36,22,.16),
    0 12px 22px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.40),
    inset 0 -10px 18px rgba(0,0,0,.26) !important;
}
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen::after,
.hero-slider .hero-family-connect .hero-family-tablet-screen::after{
  content:none !important;
  display:none !important;
  box-shadow:none !important;
}
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen::before,
.hero-slider .hero-family-connect .hero-family-tablet-screen::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  top:2px !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  width:96px !important;
  height:14px !important;
  border-radius:999px !important;
  background:
    radial-gradient(circle at 50% 50%,#4c5660 0 1.6px,transparent 1.8px),
    linear-gradient(180deg,#0f1418 0%,#23292f 100%) !important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.10),0 1px 0 rgba(255,255,255,.06) !important;
  z-index:5 !important;
  pointer-events:none !important;
}
.hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen img,
.hero-slider .hero-family-connect .hero-family-tablet-screen img{
  position:relative !important;
  inset:auto !important;
  z-index:2 !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:calc(38px - var(--screen-pad)) !important;
  object-fit:contain !important;
  object-position:center center !important;
  transform:none !important;
  box-shadow:none !important;
  background:#f1f4f1 !important;
}

/* Slide 2 phone uses the same physical contract as the System Overview frame:
   real bezel outside the screenshot; the screenshot starts at the inner edge. */
.hero-slider .hero-family-connect .hero-family-device-stack{
  position:relative !important;
  overflow:visible !important;
  isolation:isolate !important;
}
.hero-slider .hero-family-connect .hero-family-tablet-preview{
  position:relative !important;
  z-index:2 !important;
}
.hero-slider .hero-family-connect .hero-family-phone-preview{
  position:absolute !important;
  z-index:70 !important;
  right:-2.5% !important;
  bottom:0 !important;
  width:clamp(112px,11vw,158px) !important;
  pointer-events:none !important;
  filter:drop-shadow(0 24px 28px rgba(5,18,12,.28)) !important;
}
.hero-slider .hero-family-connect .hero-family-phone-screen{
  --phone-pad:8px;
  position:relative !important;
  box-sizing:border-box !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:auto !important;
  padding:var(--phone-pad) !important;
  border:1px solid rgba(255,255,255,.28) !important;
  border-radius:26px !important;
  overflow:hidden !important;
  isolation:isolate !important;
  background:linear-gradient(180deg,#5b6168 0%,#2b3137 13%,#171c21 100%) !important;
  box-shadow:
    0 20px 42px rgba(14,36,22,.22),
    0 8px 16px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -8px 14px rgba(0,0,0,.28) !important;
}
.hero-slider .hero-family-connect .hero-family-phone-screen::after{
  content:none !important;
  display:none !important;
  box-shadow:none !important;
}
.hero-slider .hero-family-connect .hero-family-phone-screen::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  top:2px !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  width:34% !important;
  height:7px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#0f1418,#252b31) !important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.10) !important;
  z-index:5 !important;
  pointer-events:none !important;
}
.hero-slider .hero-family-connect .hero-family-phone-screen img{
  position:relative !important;
  inset:auto !important;
  z-index:2 !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:18px !important;
  object-fit:contain !important;
  object-position:center top !important;
  transform:none !important;
  box-shadow:none !important;
  background:#111720 !important;
}

/* Supplied third image: approximately 2x the former focus size.
   Its BOTTOM edge is the anchor and stays parallel/aligned with the iPad bottom edge;
   its natural height is allowed to rise upward. */
.hero-slider .hero-family-connect .hero-family-focus-preview{
  position:absolute !important;
  z-index:90 !important;
  left:-24% !important;
  right:auto !important;
  top:auto !important;
  bottom:0 !important;
  width:clamp(340px,30vw,520px) !important;
  pointer-events:none !important;
  filter:drop-shadow(0 24px 34px rgba(8,25,15,.28)) !important;
}
.hero-slider .hero-family-connect .hero-family-focus-card{
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:auto !important;
  border-radius:20px !important;
  overflow:hidden !important;
  background:transparent !important;
  border:1px solid rgba(255,255,255,.72) !important;
  box-shadow:0 18px 40px rgba(11,37,22,.20),0 0 0 1px rgba(20,126,72,.10) !important;
}
.hero-slider .hero-family-connect .hero-family-focus-card::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  border-radius:inherit !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28) !important;
  pointer-events:none !important;
}
.hero-slider .hero-family-connect .hero-family-focus-card img{
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center center !important;
  transform:none !important;
}

@media (min-width:981px) and (orientation:landscape){
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen,
  .hero-slider .hero-family-connect .hero-family-tablet-screen{
    --screen-pad:20px;
    border-radius:40px !important;
  }
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen::before,
  .hero-slider .hero-family-connect .hero-family-tablet-screen::before{
    top:3px !important;
    width:102px !important;
    height:14px !important;
  }
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen img,
  .hero-slider .hero-family-connect .hero-family-tablet-screen img{
    border-radius:20px !important;
  }
}
@media (max-width:980px), (orientation:portrait) and (max-width:1180px){
  .hero-slider .hero-family-connect .hero-family-phone-preview{right:-1.5% !important;bottom:0 !important;}
  .hero-slider .hero-family-connect .hero-family-focus-preview{left:-20% !important;width:clamp(300px,28vw,450px) !important;}
}
@media (max-width:980px), (orientation:portrait) and (max-width:1050px){
  .hero-slider .hero-family-connect .hero-family-phone-preview{right:0 !important;bottom:0 !important;}
  .hero-slider .hero-family-connect .hero-family-focus-preview{left:-15% !important;width:clamp(250px,27vw,390px) !important;}
}
@media (max-width:980px), (orientation:portrait){
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen,
  .hero-slider .hero-family-connect .hero-family-tablet-screen{
    --screen-pad:14px;
    border-radius:28px !important;
  }
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen::before,
  .hero-slider .hero-family-connect .hero-family-tablet-screen::before{
    top:1px !important;
    width:78px !important;
    height:12px !important;
  }
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen img,
  .hero-slider .hero-family-connect .hero-family-tablet-screen img{
    border-radius:14px !important;
  }
}
@media(max-width:780px){
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen,
  .hero-slider .hero-family-connect .hero-family-tablet-screen{
    width:min(100%,560px) !important;
    height:auto !important;
    max-height:none !important;
  }
  .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:4% !important;
    bottom:0 !important;
    width:min(19vw,86px) !important;
  }
  .hero-slider .hero-family-connect .hero-family-phone-screen{
    --phone-pad:5px;
    border-radius:18px !important;
  }
  .hero-slider .hero-family-connect .hero-family-phone-screen::before{top:1px !important;height:5px !important;}
  .hero-slider .hero-family-connect .hero-family-phone-screen img{border-radius:13px !important;}
  .hero-slider .hero-family-connect .hero-family-focus-preview{
    left:1% !important;
    bottom:0 !important;
    width:min(42vw,190px) !important;
  }
  .hero-slider .hero-family-connect .hero-family-focus-card{border-radius:14px !important;}
}
@media(max-width:520px){
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen,
  .hero-slider .hero-family-connect .hero-family-tablet-screen{
    --screen-pad:12px;
    width:min(100%,100%) !important;
    border-radius:24px !important;
  }
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen::before,
  .hero-slider .hero-family-connect .hero-family-tablet-screen::before{
    top:1px !important;
    width:68px !important;
    height:10px !important;
  }
  .hero-slider > .hero-slide.hero-screen-sync:first-of-type .hero-system-screen img,
  .hero-slider .hero-family-connect .hero-family-tablet-screen img{border-radius:12px !important;}
  .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:3% !important;
    bottom:0 !important;
    width:min(18vw,76px) !important;
  }
  .hero-slider .hero-family-connect .hero-family-focus-preview{
    left:1% !important;
    bottom:0 !important;
    width:min(40vw,165px) !important;
  }
}


/* V212 — PHONE HERO: independent composition scaling inside one shared stage.
   Architecture:
   1) The outer hero stage is identical for every slide (usable viewport below the fixed header).
   2) Each slide owns its own visual geometry. Device compositions keep a small side safe-gap;
      raw artwork is allowed to touch the viewport edges at 0px.
   3) No canonical visual height is shared between slides. Natural aspect ratio decides each visual height.
   4) Copy flows below that slide's own visual. Counter/dots stay pinned to the bottom of the outer stage.
   Desktop/tablet/landscape remain V208. */
.hero-raw-visual{display:none;}

@media (max-width:780px) and (orientation:portrait){
  .home-page .hero-slider{
    position:relative !important;
    box-sizing:border-box !important;
    height:calc(100svh - var(--site-fixed-header-h,74px)) !important;
    min-height:calc(100svh - var(--site-fixed-header-h,74px)) !important;
    max-height:calc(100svh - var(--site-fixed-header-h,74px)) !important;
    margin:0 !important;
    overflow:hidden !important;
    background:#edf4ef !important;
    --hero-active-visual-h:300px;
  }
  @supports(height:100dvh){
    .home-page .hero-slider{
      height:calc(100dvh - var(--site-fixed-header-h,74px)) !important;
      min-height:calc(100dvh - var(--site-fixed-header-h,74px)) !important;
      max-height:calc(100dvh - var(--site-fixed-header-h,74px)) !important;
    }
  }

  .home-page .hero-slider .hero-slide{
    position:absolute !important;
    inset:0 !important;
    box-sizing:border-box !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
    background:#edf4ef !important;
  }

  /* On phone the visual is real DOM, never a pseudo-background. */
  .home-page .hero-slider .hero-slide::before,
  .home-page .hero-slider .hero-app-real::before,
  .home-page .hero-slider .hero-product-real::before{
    content:none !important;
    display:none !important;
  }

  .home-page .hero-slider .hero-grid{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    width:100% !important;
    max-width:none !important;
    height:100% !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    gap:0 !important;
    overflow:hidden !important;
  }

  /* Every visual is first in flow. Its OWN ratio defines its height. */
  .home-page .hero-slider .hero-screen-visual{
    order:-1 !important;
    flex:0 0 auto !important;
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    max-height:none !important;
    box-sizing:border-box !important;
  }

  /* Device slides: small breathing room left/right, geometry from the actual device frame. */
  .home-page .hero-slider .hero-screen-sync .hero-screen-visual{
    width:calc(100% - 16px) !important;
    max-width:none !important;
    height:auto !important;
    margin:0 8px !important;
    padding:0 !important;
    overflow:visible !important;
  }
  .home-page .hero-slider .hero-screen-sync .hero-system-preview,
  .home-page .hero-slider .hero-family-connect .hero-family-tablet-preview{
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    aspect-ratio:auto !important;
  }
  .home-page .hero-slider .hero-screen-sync .hero-system-screen,
  .home-page .hero-slider .hero-family-connect .hero-family-tablet-screen{
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    max-height:none !important;
    margin:0 !important;
  }

  /* Slide 2 remains one independent composition: iPad is the base; overlays scale from that base. */
  .home-page .hero-slider .hero-family-connect .hero-family-device-stack{
    width:calc(100% - 16px) !important;
    height:auto !important;
    margin:0 8px !important;
    padding:0 !important;
    overflow:visible !important;
    isolation:isolate !important;
  }
  .home-page .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:0 !important;
    bottom:0 !important;
    width:18% !important;
    max-width:none !important;
  }
  .home-page .hero-slider .hero-family-connect .hero-family-focus-preview{
    left:0 !important;
    right:auto !important;
    bottom:0 !important;
    width:40% !important;
    max-width:none !important;
  }

  /* Raw artwork slides: true edge-to-edge image. Natural image ratio decides height. */
  .home-page .hero-slider .hero-raw-visual{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    background:transparent !important;
  }
  .home-page .hero-slider .hero-raw-visual img{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    object-fit:contain !important;
    object-position:center top !important;
    border:0 !important;
  }

  /* Copy follows the natural bottom edge of THAT slide's visual. */
  .home-page .hero-slider .hero-copy{
    order:0 !important;
    flex:1 1 auto !important;
    min-height:0 !important;
    width:calc(100% - 32px) !important;
    max-width:none !important;
    margin:0 16px !important;
    padding:14px 0 68px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }
  .home-page .hero-slider .hero-copy h1,
  .home-page .hero-slider .hero-copy h2{
    margin-top:0 !important;
  }

  /* Counter/dots belong to the OUTER stage, never to the image bottom. */
  .home-page .hero-slider .slider-status{
    position:absolute !important;
    top:auto !important;
    bottom:max(10px,env(safe-area-inset-bottom)) !important;
    left:50% !important;
    right:auto !important;
    width:auto !important;
    transform:translateX(-50%) !important;
    z-index:160 !important;
  }

  /* Arrows follow the active slide's own visual bottom. JS writes the measured value. */
  .home-page .hero-slider .slider-arrow{
    top:calc(var(--hero-active-visual-h,300px) - 20px) !important;
    bottom:auto !important;
    transform:none !important;
    z-index:170 !important;
  }
}

@media (max-width:520px) and (orientation:portrait){
  .home-page .hero-slider .hero-screen-sync .hero-screen-visual,
  .home-page .hero-slider .hero-family-connect .hero-family-device-stack{
    width:calc(100% - 12px) !important;
    margin-left:6px !important;
    margin-right:6px !important;
  }
  .home-page .hero-slider .hero-copy{
    width:calc(100% - 16px) !important;
    margin-left:8px !important;
    margin-right:8px !important;
    padding-top:12px !important;
  }
}

/* V213 — PHONE FAMILY CONNECT specificity repair.
   V212 introduced independent per-slide mobile composition scaling, but the older V198
   Family Connect selectors are more specific and kept reserving the legacy fixed image slot.
   On phone this restores V212's intended flow for slide 2 only: visual first, then copy,
   while the iPad remains the natural-size base for the phone/focus overlays. */
@media (max-width:780px) and (orientation:portrait){
  body.home-page .hero-slider .hero-family-connect.hero-screen-sync .hero-grid{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    width:100% !important;
    max-width:none !important;
    height:100% !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    gap:0 !important;
    overflow:hidden !important;
  }

  body.home-page .hero-slider .hero-family-connect.hero-screen-sync .hero-screen-visual,
  body.home-page .hero-slider .hero-family-connect .hero-family-device-stack{
    order:-1 !important;
    position:relative !important;
    inset:auto !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    display:block !important;
    flex:0 0 auto !important;
    width:calc(100% - 16px) !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 8px !important;
    padding:0 !important;
    transform:none !important;
    overflow:visible !important;
    box-sizing:border-box !important;
    isolation:isolate !important;
  }

  body.home-page .hero-slider .hero-family-connect .hero-family-tablet-preview{
    position:relative !important;
    inset:auto !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    aspect-ratio:auto !important;
    overflow:visible !important;
  }

  body.home-page .hero-slider .hero-family-connect .hero-family-tablet-screen{
    position:relative !important;
    inset:auto !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
  }

  body.home-page .hero-slider .hero-family-connect.hero-screen-sync .hero-copy{
    order:0 !important;
    position:relative !important;
    inset:auto !important;
    z-index:2 !important;
    flex:1 1 auto !important;
    width:calc(100% - 32px) !important;
    max-width:none !important;
    min-height:0 !important;
    margin:0 16px !important;
    padding:14px 0 68px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }

  body.home-page .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:0 !important;
    bottom:0 !important;
    width:18% !important;
    min-width:0 !important;
    max-width:none !important;
  }

  body.home-page .hero-slider .hero-family-connect .hero-family-focus-preview{
    left:0 !important;
    right:auto !important;
    top:auto !important;
    bottom:0 !important;
    width:40% !important;
    min-width:0 !important;
    max-width:none !important;
  }
}

@media (max-width:520px) and (orientation:portrait){
  body.home-page .hero-slider .hero-family-connect.hero-screen-sync .hero-screen-visual,
  body.home-page .hero-slider .hero-family-connect .hero-family-device-stack{
    width:calc(100% - 12px) !important;
    margin-left:6px !important;
    margin-right:6px !important;
  }
  body.home-page .hero-slider .hero-family-connect.hero-screen-sync .hero-copy{
    width:calc(100% - 16px) !important;
    margin-left:8px !important;
    margin-right:8px !important;
    padding-top:12px !important;
  }
}


/* V214 — PHONE FAMILY CONNECT mobile refinement.
   Scope: portrait phone hero slide 2 only.
   1) Remove the left focus card entirely on phone.
   2) Keep only the main iPad + one enlarged phone overlay.
   3) Enlarge the phone overlay so it reads clearly, roughly half of the main image height,
      and let it overlap inward from the right.
   Desktop / landscape / other slides remain unchanged. */
@media (max-width:780px) and (orientation:portrait){
  body.home-page .hero-slider .hero-family-connect .hero-family-focus-preview{
    display:none !important;
  }

  body.home-page .hero-slider .hero-family-connect .hero-family-device-stack,
  body.home-page .hero-slider .hero-family-connect.hero-screen-sync .hero-screen-visual{
    width:calc(100% - 16px) !important;
    margin-left:8px !important;
    margin-right:8px !important;
    overflow:visible !important;
  }

  body.home-page .hero-slider .hero-family-connect .hero-family-tablet-preview,
  body.home-page .hero-slider .hero-family-connect .hero-family-tablet-screen{
    width:100% !important;
    max-width:none !important;
  }

  body.home-page .hero-slider .hero-family-connect .hero-family-phone-preview{
    display:block !important;
    right:2% !important;
    bottom:0 !important;
    width:27% !important;
    min-width:96px !important;
    max-width:132px !important;
    z-index:95 !important;
    filter:drop-shadow(0 16px 24px rgba(5,18,12,.22)) !important;
  }

  body.home-page .hero-slider .hero-family-connect .hero-family-phone-screen{
    --phone-pad:5px !important;
    border-radius:18px !important;
  }
}

@media (max-width:520px) and (orientation:portrait){
  body.home-page .hero-slider .hero-family-connect .hero-family-device-stack,
  body.home-page .hero-slider .hero-family-connect.hero-screen-sync .hero-screen-visual{
    width:calc(100% - 12px) !important;
    margin-left:6px !important;
    margin-right:6px !important;
  }

  body.home-page .hero-slider .hero-family-connect .hero-family-phone-preview{
    right:2% !important;
    bottom:0 !important;
    width:29% !important;
    min-width:96px !important;
    max-width:136px !important;
  }
}


/* V216 — Family Connect copy tightening and lower lead placement.
   User requested shorter explanatory text and a lower visual start so the caption
   reads cleaner without fighting the slide composition. Scope is slide 2 only. */
.hero-slider .hero-family-connect.hero-screen-sync .hero-lead{
  max-width:22.5rem !important;
  margin-top:30px !important;
}
@media (max-width:980px), (orientation:portrait) and (max-width:1180px){
  .hero-slider .hero-family-connect.hero-screen-sync .hero-lead{
    max-width:21rem !important;
    margin-top:26px !important;
  }
}
@media (max-width:780px){
  .hero-slider .hero-family-connect.hero-screen-sync .hero-lead{
    max-width:100% !important;
    margin-top:22px !important;
  }
}


/* V217 — Phone portrait latest projects: replace mobile carousel with a 2x2 grid.
   Scope: homepage latest-projects section only. Service cards keep the existing phone carousel.
   Desktop/tablet and non-home sections remain untouched. */
@media (max-width:600px){
  .portfolio-section .portfolio-grid{
    position:relative;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    width:100%;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
    padding:0 !important;
    margin:0 auto;
    touch-action:auto;
    user-select:auto;
  }
  .portfolio-section .project-card{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    margin:0 !important;
    opacity:1 !important;
    pointer-events:auto !important;
    transform:none !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 28px rgba(18,49,29,.10);
    filter:none !important;
  }
  .portfolio-section .project-card img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1 / 1;
    object-fit:cover;
  }
  .portfolio-section .project-card > div{
    min-height:0;
    padding:10px 12px 12px;
    justify-content:flex-start;
  }
  .portfolio-section .project-card h3{
    font-size:.9rem;
    line-height:1.35;
  }
  .portfolio-section .project-card p{
    margin-top:3px;
    font-size:.72rem;
  }
  .portfolio-section .project-number{
    top:10px;
    left:10px;
  }
  .portfolio-section .home-mobile-gallery-nav,
  .portfolio-section .home-mobile-gallery-status{
    display:none !important;
  }
}


/* V218 — iPad-and-down Latest Projects canonical 2x2 grid.
   Scope: homepage Latest Projects only, <=1024px.
   This intentionally outranks the older V164/V196 mobile carousel/card sizing rules. */
@media (max-width:980px), (orientation:portrait) and (max-width:1024px){
  body.home-page .portfolio-section .portfolio-grid{
    position:relative !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-template-rows:none !important;
    gap:clamp(10px,2vw,18px) !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
    margin:0 auto !important;
    padding:0 !important;
    touch-action:auto !important;
    user-select:auto !important;
  }

  body.home-page .portfolio-section .project-card,
  body.home-page .portfolio-section .project-card:nth-child(n){
    position:relative !important;
    inset:auto !important;
    grid-column:auto !important;
    grid-row:auto !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:23 / 25 !important;
    margin:0 !important;
    opacity:1 !important;
    pointer-events:auto !important;
    transform:none !important;
    filter:none !important;
    border-radius:clamp(14px,2.2vw,24px) !important;
    overflow:hidden !important;
    box-shadow:0 12px 30px rgba(18,49,29,.10) !important;
  }

  body.home-page .portfolio-section .project-card img,
  body.home-page .portfolio-section .project-card:nth-child(n) img{
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    aspect-ratio:auto !important;
    object-fit:cover !important;
    transform:none !important;
  }

  body.home-page .portfolio-section .project-card > div,
  body.home-page .portfolio-section .project-card:nth-child(1) > div{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    z-index:2 !important;
    min-height:0 !important;
    padding:clamp(12px,2vw,22px) !important;
    background:none !important;
  }

  body.home-page .portfolio-section .project-card h3,
  body.home-page .portfolio-section .project-card:nth-child(1) h3,
  body.home-page .portfolio-section .project-card:nth-child(3) h3,
  body.home-page .portfolio-section .project-card:nth-child(4) h3{
    max-width:94% !important;
    font-size:clamp(.72rem,2.1vw,1.12rem) !important;
    line-height:1.35 !important;
  }

  body.home-page .portfolio-section .project-location{
    min-height:0 !important;
    margin-top:clamp(4px,.8vw,8px) !important;
    padding:3px clamp(7px,1vw,10px) !important;
    font-size:clamp(.58rem,1.45vw,.72rem) !important;
  }

  body.home-page .portfolio-section .project-number{
    top:clamp(8px,1.6vw,16px) !important;
    left:clamp(8px,1.6vw,16px) !important;
    width:clamp(30px,4.5vw,38px) !important;
    height:clamp(30px,4.5vw,38px) !important;
    font-size:clamp(.58rem,1.3vw,.68rem) !important;
  }

  /* No carousel affordances for Latest Projects from iPad down. */
  body.home-page .portfolio-section .home-mobile-gallery-nav,
  body.home-page .portfolio-section .home-mobile-gallery-status{
    display:none !important;
  }
}

@media (max-width:520px){
  body.home-page .portfolio-section .container{
    width:min(100% - 20px,1240px) !important;
  }
  body.home-page .portfolio-section .portfolio-grid{
    gap:8px !important;
  }
  body.home-page .portfolio-section .project-card,
  body.home-page .portfolio-section .project-card:nth-child(n){
    border-radius:16px !important;
  }
}


/* V219 — Latest Projects control hard-removal.
   The Latest Projects section is a static 2x2 grid from iPad down and must never show
   carousel arrows or 1/4-style status. Keep Services carousel untouched. */
body.home-page .portfolio-section .home-mobile-gallery-nav,
body.home-page .portfolio-section .home-mobile-gallery-status{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* V220 — System Overview iPad landscape = compact desktop 16:9 pattern.
   Scope is deliberately limited to #system-overview at 981–1100 CSS px landscape:
   vertical selector rail on the left, selected preview on the right, one viewport panel.
   Phone/portrait and every other System section retain their accepted layouts. */
@media (orientation:landscape) and (min-width:981px) and (max-width:1100px){
  .system-panel-page .system-page > #system-overview > .container{
    justify-content:center !important;
    padding:6px 14px 12px !important;
  }

  #system-overview .system-gallery-showcase{
    width:min(100%,1000px) !important;
    height:100%;
    margin:0 auto !important;
    display:grid !important;
    grid-template-columns:minmax(196px,220px) minmax(0,1fr) !important;
    grid-template-areas:"rail preview" !important;
    gap:clamp(16px,2.2vw,24px) !important;
    align-items:center !important;
    overflow:hidden;
  }

  #system-overview .system-gallery-preview-stack{
    grid-area:preview;
    width:100% !important;
    max-width:none !important;
    min-width:0;
    align-self:center !important;
    gap:4px !important;
    margin:0 !important;
  }

  #system-overview .system-gallery-inline-heading{
    width:100%;
    min-height:30px;
    margin:0 0 1px;
    padding:0 8px;
    display:flex !important;
    align-items:baseline;
    justify-content:center;
    gap:9px;
    white-space:nowrap;
    text-align:center;
    line-height:1.12;
  }
  #system-overview .system-gallery-inline-heading strong{
    color:#17733a;
    font-size:clamp(1.16rem,2.15vw,1.38rem);
    font-weight:900;
    letter-spacing:-.025em;
  }
  #system-overview .system-gallery-inline-heading span{
    color:#758078;
    font-size:clamp(.72rem,1.25vw,.82rem);
    font-weight:650;
  }

  #system-overview .system-gallery-preview-title{
    align-self:flex-start !important;
    min-height:20px;
    margin:0 0 2px 8px !important;
    padding:0;
    font-size:.82rem;
    line-height:1.2;
    text-align:left !important;
  }

  #system-overview .system-gallery-preview{
    grid-area:auto;
    width:100% !important;
    max-width:none !important;
    height:clamp(430px,62dvh,500px) !important;
    min-height:0 !important;
    aspect-ratio:auto !important;
    margin:0 auto !important;
    border-radius:24px;
  }

  #system-overview .system-gallery-theme-toggle{
    margin-top:0 !important;
  }
  #system-overview .system-gallery-theme-btn{
    height:34px;
    min-width:110px;
    padding:0 14px;
    font-size:.78rem;
  }

  #system-overview .system-gallery-rail{
    grid-area:rail;
    width:100% !important;
    height:clamp(548px,80dvh,610px) !important;
    min-height:0 !important;
    margin:0 !important;
    align-self:center !important;
    touch-action:pan-x;
  }
  #system-overview .system-gallery-orbit{
    inset:34px 0 !important;
  }

  #system-overview .system-gallery-item{
    --gallery-x:0px;
    --gallery-y:0px;
    --gallery-scale:.76;
    --gallery-tilt:0deg;
    left:50%;
    top:50%;
    width:172px;
    height:104px;
    padding:5px;
    border-radius:15px;
    transform:translate(calc(-50% + var(--gallery-x)),calc(-50% + var(--gallery-y))) scale(var(--gallery-scale)) rotate(var(--gallery-tilt));
  }
  #system-overview .system-gallery-item.is-current{
    --gallery-x:0px;
    --gallery-y:0px;
    --gallery-scale:1;
    width:204px;
    height:126px;
    opacity:1;
  }
  #system-overview .system-gallery-item.is-prev{
    --gallery-x:0px;
    --gallery-y:-132px;
    --gallery-scale:.84;
    --gallery-tilt:0deg;
    opacity:.68;
  }
  #system-overview .system-gallery-item.is-next{
    --gallery-x:0px;
    --gallery-y:132px;
    --gallery-scale:.84;
    --gallery-tilt:0deg;
    opacity:.68;
  }
  #system-overview .system-gallery-item.is-prev-2{
    --gallery-x:0px;
    --gallery-y:-228px;
    --gallery-scale:.66;
    --gallery-tilt:0deg;
    opacity:.34;
  }
  #system-overview .system-gallery-item.is-next-2{
    --gallery-x:0px;
    --gallery-y:228px;
    --gallery-scale:.66;
    --gallery-tilt:0deg;
    opacity:.34;
  }
  #system-overview .system-gallery-item.is-before-hidden{
    --gallery-x:0px;
    --gallery-y:-318px;
    --gallery-scale:.54;
    --gallery-tilt:0deg;
    opacity:0;
  }
  #system-overview .system-gallery-item.is-after-hidden{
    --gallery-x:0px;
    --gallery-y:318px;
    --gallery-scale:.54;
    --gallery-tilt:0deg;
    opacity:0;
  }

  #system-overview .system-gallery-nav{
    left:50% !important;
    right:auto !important;
    width:36px;
    height:36px;
    font-size:1.35rem;
  }
  #system-overview .system-gallery-nav-prev{
    top:0 !important;
    bottom:auto !important;
    transform:translateX(-50%) !important;
  }
  #system-overview .system-gallery-nav-next{
    top:auto !important;
    bottom:0 !important;
    transform:translateX(-50%) !important;
  }
  #system-overview .system-gallery-nav-prev:hover,
  #system-overview .system-gallery-nav-next:hover{
    transform:translateX(-50%) scale(1.06) !important;
  }
}



/* V221 — GLOBAL iPad LANDSCAPE = WIDE/DESKTOP PRESENTATION CONTRACT
   Canonical rule: landscape tablets from 981px upward use the same page/layout
   pattern as desktop wide mode across the whole site. Portrait and <=980px keep
   the existing tablet/phone responsive contracts. */

/* V222 — HOME HERO / iPad landscape true 16:9 composition scaling.
   V221 switched landscape iPad into the wide breakpoint, but the six-slide Hero still
   kept the desktop 540px physical stage.  On canonical 1024x768 iPad landscape this
   now renders the SAME wide composition on a virtual 4/3-larger canvas and scales it
   to 75%, so image/device/copy geometry all shrink together instead of stretching or
   cropping independently.  Result: 540px desktop Hero -> 405px iPad Hero, allowing the
   following homepage content to rise into view exactly as the wide pattern scales down.
   Scope: homepage Hero only; portrait/phone and >=1101px desktop remain unchanged. */
@media (orientation:landscape) and (min-width:981px) and (max-width:1100px){
  body.home-page .hero-slider{
    height:405px !important;
    min-height:405px !important;
    max-height:405px !important;
    overflow:hidden !important;
  }

  body.home-page .hero-slider > .hero-slide{
    top:0 !important;
    left:0 !important;
    right:auto !important;
    bottom:auto !important;
    width:133.333333% !important;
    height:540px !important;
    min-height:540px !important;
    max-height:540px !important;
    transform:scale(.75) !important;
    transform-origin:top left !important;
  }

  /* Slider chrome follows the same 75% physical scale as the virtual 16:9 stage. */
  body.home-page .hero-slider .slider-arrow{
    width:35px !important;
    height:35px !important;
    font-size:1.5rem !important;
  }
  body.home-page .hero-slider .slider-arrow.prev{left:18px !important;}
  body.home-page .hero-slider .slider-arrow.next{right:18px !important;}

  body.home-page .hero-slider .slider-status{
    bottom:21px !important;
    gap:12px !important;
  }
  body.home-page .hero-slider .slider-status strong{
    font-size:.79rem !important;
  }
  body.home-page .hero-slider .slider-dots{
    gap:6px !important;
  }
  body.home-page .hero-slider .slider-dots button{
    width:7px !important;
    height:7px !important;
  }
  body.home-page .hero-slider .slider-dots button.is-active{
    width:8px !important;
    height:8px !important;
  }
}
