/* Werx Controls — site styles.
   One system, used everywhere:
   - Palette from the owner's logo (Logo Schema, row 3): charcoal, steel grey,
     one bright engineering blue. Charcoal frames the page; white and pale
     blue carry content; blue marks what is live or what to act on.
   - Grid: 1200px wrap, 12 columns, 24px gutter. Content modules are 3-up
     (cards) or 4-up (photo tiles). Every photo and video sits in a 4:3 frame
     except the portrait hero video.
   - Spacing steps: 8 / 16 / 24 / 40 / 64 / 96.
   - Every section opens the same way: a section header (.sec-head) with the
     title and one line, then its module grid. */
:root {
  --char: #343A40;
  --char-2: #3E454C;
  --char-line: #59626A;
  --steel: #9AA4AE;
  --blue: #1B6FD8;
  --blue-deep: #0F4C9C;
  --blue-bright: #3D97FF;
  --sky: #EEF4FB;
  --paper: #FFFFFF;
  --ink: #1A1F24;
  --muted: #56616B;
  --on-dark: #C9D1D8;
  --rule: #D6DDE4;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --gap: 24px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img, svg, video { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* ── Type ─────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--display); color: inherit; margin: 0 0 16px; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 16px; max-width: 68ch; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 62ch; }

/* ── Logo lockup ──────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.mark { width: 84px; height: 47px; flex: none; }
.lockup { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--display); }
.lockup b { font-weight: 700; font-size: 1.4rem; letter-spacing: .005em; color: #F1F4F6; }
.lockup small { font-weight: 500; font-size: .8rem; color: var(--steel); margin-top: 4px; letter-spacing: .01em; }

/* ── Header ───────────────────────────────────────── */
.site-head { background: var(--char); border-bottom: 3px solid var(--blue); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; flex-wrap: wrap; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: #DDE3E8; padding: 8px 10px; font-weight: 500; font-size: .96rem; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { border-bottom-color: var(--blue-bright); color: #fff; }
.nav a.btn { margin-left: 8px; border-bottom: 0; padding: 12px 18px; color: #fff; }
@media (max-width: 860px) {
  .site-head .wrap { padding-top: 12px; padding-bottom: 6px; }
  .nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -10px; padding-bottom: 4px; }
  .nav a { white-space: nowrap; }
  .nav a.btn { display: none; }
}

/* ── Buttons ──────────────────────────────────────── */
.btn { display: inline-block; font: 650 1rem/1 var(--body); padding: 15px 22px; border-radius: var(--r); text-decoration: none; border: 2px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.light { background: #fff; border-color: #fff; color: var(--blue-deep); }
.btn.light:hover { background: var(--sky); border-color: var(--sky); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ── Sections: one opening pattern everywhere ─────── */
.sec { padding: 80px 0; }
.sec.alt { background: var(--sky); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: end; margin-bottom: 40px; padding-bottom: 16px; border-bottom: 2px solid var(--char); }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .sec { padding: 56px 0; } .sec-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 24px; } }

/* ── Hero ─────────────────────────────────────────── */
.hero { background: var(--char); color: #fff; padding: 64px 0 0; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.hero .lead { color: var(--on-dark); }
.hero-media { position: relative; margin: 0; }
.hero-media video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--char-2); border-radius: var(--r); }
.hero-media figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--steel); padding: 10px 0; border-bottom: 1px solid var(--char-line); }
.vid-toggle { position: absolute; right: 12px; top: 12px; font: 600 .82rem/1 var(--body); padding: 9px 13px; border: 0; border-radius: var(--r); background: rgba(33,37,41,.8); color: #fff; cursor: pointer; }
.vid-toggle:hover { background: var(--char); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero-media { max-width: 440px; } }

.rung { display: block; width: 100%; height: auto; margin-top: 48px; padding-bottom: 32px; }
.rung .wire { fill: none; stroke: var(--char-line); stroke-width: 3; }
.rung .rail { stroke: var(--steel); stroke-width: 4; }
.rung .live { fill: none; stroke: var(--blue-bright); stroke-width: 3; stroke-dasharray: 1200; stroke-dashoffset: 0; }
.rung .coil-fill { fill: var(--blue-bright); opacity: .9; }
.rung text { font-family: var(--display); font-weight: 600; font-size: 14px; fill: var(--on-dark); }
.rung text.tag { fill: var(--steel); font-size: 12px; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .rung .live { animation: energize 1.8s .4s ease-in-out both; }
  .rung .coil-fill { animation: pickup .4s 2.1s ease-out both; }
  @keyframes energize { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
  @keyframes pickup { from { opacity: 0; } to { opacity: .9; } }
}
@media (max-width: 600px) { .rung text { font-size: 22px; } .rung text.tag { display: none; } }

/* ── Inner page header ────────────────────────────── */
.page-head { background: var(--char); color: #fff; padding: 56px 0 48px; border-bottom: 4px solid var(--blue); }
.page-head .lead { color: var(--on-dark); }

/* ── Module grids ─────────────────────────────────── */
.grid-3, .grid-4 { display: grid; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Card: 4:3 photo, then title, text and link. Same height in a row. */
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.card > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; border-top: 3px solid var(--blue); }
.card h3 { margin-bottom: 8px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--blue-deep); }
.card p { font-size: .97rem; color: var(--muted); margin-bottom: 16px; }
.card .more { margin-top: auto; font-weight: 600; font-size: .95rem; text-decoration: none; }
.card .more:hover { text-decoration: underline; }

/* Tile: a 4:3 photo or video with a caption. */
.tile { margin: 0; }
.tile img, .tile video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--char); }
.tile a { display: block; }
.tile a:hover img { opacity: .9; }
.tile figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.tile .kind { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--blue-deep); background: #DCE9FA; padding: 2px 7px; border-radius: 3px; margin-right: 6px; }

.group { margin-bottom: 64px; scroll-margin-top: 24px; }
.group:last-child { margin-bottom: 0; }
.group > h3 { display: flex; align-items: baseline; gap: 12px; font-size: 1.3rem; padding-bottom: 10px; margin-bottom: 20px; border-bottom: 1px solid var(--rule); }
.group > h3 span { font-family: var(--body); font-size: .9rem; font-weight: 500; color: var(--muted); }

/* ── Text modules ─────────────────────────────────── */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px var(--gap); margin: 0; padding: 0; list-style: none; }
.points li { border-left: 4px solid var(--blue); padding-left: 16px; }
.points strong { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: 4px; }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.industries a { display: flex; align-items: center; height: 100%; padding: 16px; border: 1px solid var(--rule); border-left: 4px solid var(--blue); border-radius: var(--r); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; }
.industries a:hover { border-color: var(--blue); color: var(--blue-deep); }
@media (max-width: 1000px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .industries { grid-template-columns: 1fr; } }

.closing { background: var(--blue); color: #fff; padding: 64px 0; }
.closing p { color: #E4EEFB; }

/* Service / industry rows: 4 columns of title + photo, 8 columns of content */
.svc { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; padding: 56px 0; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.svc:first-child { border-top: 0; }
.svc h2 { font-size: 1.55rem; }
.svc ul { margin: 0 0 24px; padding-left: 1.1em; }
.svc li { margin: 0 0 8px; max-width: 70ch; }
.svc h3 { margin-top: 24px; }
.shot { margin: 16px 0 0; }
.shot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.shot figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.note { background: var(--sky); border-left: 4px solid var(--blue); padding: 18px 20px; margin: 8px 0 0; }
.note h3 { margin-top: 0; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; gap: 8px; padding: 40px 0; } .shot { max-width: 520px; } }

.jump { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.jump a { color: #fff; }

/* Project cards: a drawing-sheet title strip above the bullets */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.project { border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper); }
.project header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--rule); background: var(--sky); }
.project h3 { margin: 0; }
.project .tag { font-size: .85rem; color: var(--blue-deep); font-weight: 600; white-space: nowrap; }
.project ul { margin: 0; padding: 16px 20px 18px 38px; }
.project li { margin-bottom: 6px; }
@media (max-width: 860px) { .projects { grid-template-columns: 1fr; } .project header { flex-direction: column; gap: 2px; } }

.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--rule); margin: 0; padding: 0; list-style: none; background: var(--paper); }
.creds li { padding: 16px 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: -1px -1px 0 0; }

/* ── Contact ──────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.form label, .form legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #9AA6B0; border-radius: var(--r); background: #fff; color: var(--ink);
}
.form textarea { min-height: 140px; resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } }
.checks label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.checks input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #9B1C1C; font-weight: 600; min-height: 1.2em; margin: 0; }
.state { border: 1px solid var(--rule); border-left: 4px solid var(--blue); padding: 24px; background: var(--sky); }
.state[hidden] { display: none; }
.state textarea { width: 100%; min-height: 160px; font: .95rem/1.5 var(--body); padding: 10px; border: 1px solid #9AA6B0; border-radius: var(--r); margin: 8px 0; }
.direct { border-top: 3px solid var(--blue); padding-top: 8px; }
.direct dl { margin: 0; }
.direct dt { font-size: .9rem; color: var(--muted); margin-top: 18px; }
.direct dd { margin: 2px 0 0; font-weight: 600; font-size: 1.05rem; }
.direct a { color: var(--ink); }

/* ── Footer: laid out like a drawing title block ──── */
.titleblock { background: var(--char); color: #D5DBE0; padding: 40px 0 28px; font-size: .93rem; }
.tb { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; border: 1px solid var(--char-line); }
.tb > div { padding: 14px 16px; border-right: 1px solid var(--char-line); }
.tb > div:last-child { border-right: 0; }
.tb .k { display: block; font-size: .78rem; color: var(--steel); margin-bottom: 2px; }
.tb a { color: #fff; }
.tb-brand { display: flex; align-items: center; gap: 12px; }
.tb-brand .mark { width: 54px; height: 30px; }
.tb-brand .lockup b { font-size: 1.05rem; }
.tb-brand .lockup small { font-size: .72rem; }
.fine { margin: 14px 0 0; color: var(--steel); font-size: .85rem; max-width: none; }
.fine a { color: var(--on-dark); }
@media (max-width: 860px) { .tb { grid-template-columns: 1fr 1fr; } .tb > div { border-bottom: 1px solid var(--char-line); } .tb > div:nth-child(2n) { border-right: 0; } }
@media (max-width: 480px) { .tb { grid-template-columns: 1fr; } .tb > div { border-right: 0; } }

/* ── Plant levels strip (under the hero video) ───── */
.stack-wrap { padding-top: 48px; padding-bottom: 56px; }
.stack-h { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--steel); margin: 0 0 20px; }
.stack { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
.stack::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 2px; background: var(--char-line); }
.stack::after { content: ""; position: absolute; left: 0; top: 33px; height: 2px; width: 100%; background: var(--blue-bright); transform-origin: left; }
.lvl { position: relative; }
.lvl-n { display: block; font-size: .78rem; font-weight: 600; color: var(--blue-bright); letter-spacing: .02em; }
.lvl-dot { display: block; width: 14px; height: 14px; margin: 6px 0 14px; border-radius: 50%; background: var(--blue-bright); border: 3px solid var(--blue-bright); position: relative; z-index: 1; }
.lvl strong { display: block; font-family: var(--display); font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.lvl ul { list-style: none; margin: 0; padding: 0; }
.lvl li { font-size: .9rem; color: var(--on-dark); padding: 5px 0; border-top: 1px solid var(--char-line); }
@media (prefers-reduced-motion: no-preference) {
  .stack::after { animation: wire 1.6s .3s ease-in-out both; }
  .lvl-dot { animation: dot .3s ease-out both; animation-delay: calc(.3s + var(--i) * .32s); }
  @keyframes wire { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes dot { from { background: var(--char); } to { background: var(--blue-bright); } }
}
@media (max-width: 900px) {
  .stack { grid-template-columns: 1fr 1fr; }
  .stack::before, .stack::after { display: none; }
}
@media (max-width: 520px) { .stack { grid-template-columns: 1fr; } }

/* ── Feature rows (home "What we do") ─────────────── */
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; padding: 48px 0; border-top: 1px solid var(--rule); }
.sec-head + .feature { border-top: 0; padding-top: 0; }
.feature.flip { grid-template-columns: 5fr 7fr; }
.feature.flip .f-visual { order: 2; }
.f-visual > .shot:first-child, .f-visual > .viz:first-child { margin-top: 0; }
.f-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-pair .shot img { aspect-ratio: 1; }
.f-text h3 { font-size: 1.45rem; }
.f-text h3 a { color: var(--ink); text-decoration: none; }
.f-text h3 a:hover { color: var(--blue-deep); }
.ticks { list-style: none; margin: 0 0 20px; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 26px; border-top: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 10px; border-radius: 2px; background: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.chips span { font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--blue-deep); border: 1px solid #CFE0F5; }
.more { font-weight: 600; }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .f-visual { order: 0; }
}

/* ── Drawn graphics ──────────────────────────────── */
.viz { margin: 16px 0 0; }
.viz figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.prog { background: var(--char); border-radius: var(--r); overflow: hidden; color: var(--on-dark); }
.prog figcaption { background: var(--paper); margin: 0; padding-top: 8px; }
.prog-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: var(--char-2); border-bottom: 1px solid var(--char-line); font-size: .8rem; }
.prog-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--char-line); }
.prog-bar b { margin-left: 8px; font-weight: 600; color: var(--steel); }
.prog-body { display: grid; grid-template-columns: 1.4fr 1fr; font: 500 .86rem/1.5 Consolas, "SFMono-Regular", Menlo, monospace; }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree { padding: 14px 16px; }
.tree ul { padding-left: 16px; border-left: 1px dotted var(--char-line); margin-left: 4px; }
.tree li { padding: 2px 0; color: #E6EBEF; }
.tree li.fold { color: var(--steel); }
.tree em { font-style: normal; color: var(--blue-bright); margin-left: 8px; font-family: var(--body); font-size: .78rem; }
.udt { padding: 14px 16px; border-left: 1px solid var(--char-line); background: rgba(255,255,255,.02); }
.udt b { display: block; color: #fff; margin-bottom: 8px; }
.udt dl { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; margin: 0; }
.udt dt { color: #E6EBEF; }
.udt dd { margin: 0; color: var(--steel); }
@media (max-width: 560px) { .prog-body { grid-template-columns: 1fr; } .udt { border-left: 0; border-top: 1px solid var(--char-line); } }

.arch svg { display: block; width: 100%; height: auto; background: var(--sky); border: 1px solid var(--rule); border-radius: var(--r); }
.arch .zone { font: 600 14px var(--body); fill: var(--muted); }
.arch .split { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 6 6; }
.arch .split-t { font: 600 12px var(--body); fill: var(--blue-deep); }
.arch .node rect { fill: #fff; stroke: #B9C6D3; stroke-width: 1.5; }
.arch .node text { font: 500 16px var(--body); fill: var(--ink); }
.arch .node.core rect { fill: var(--char); stroke: var(--char); }
.arch .node.core text { fill: var(--on-dark); }
.arch .node.core text.h { font: 700 18px var(--display); fill: #fff; }
.arch .flow { fill: none; stroke: var(--blue); stroke-width: 2.5; }
.arch .ro { font: 500 13px var(--body); fill: var(--blue-deep); }
.svc .tabscene + .arch { margin-top: 24px; }

/* Plant tablet scenes (SCADA operator view, AI downtime assist) */
.tabscene svg, .aitab svg { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: var(--r); }
.tabscene svg { background: #E4EAF0; }
.aitab svg { background: var(--sky); }
.ts-floor { fill: #CDD5DD; }
.ts-beam { fill: none; stroke: #B9C6D3; stroke-width: 3; }
.ts-eq { fill: #D6DDE4; stroke: #8A96A1; stroke-width: 2; }
.ts-liq { fill: #9CC3EE; }
.ts-pipe { fill: none; stroke: #8A96A1; stroke-width: 7; }
.ts-leg { stroke: #8A96A1; stroke-width: 5; }
.ts-belt { stroke: #59626A; stroke-width: 9; stroke-linecap: round; }
.ts-box rect { fill: #C9AE84; stroke: #9C845F; stroke-width: 1.5; }
.ts-panel rect { fill: #C9D1D8; stroke: #8A96A1; stroke-width: 2; }
.ts-panel path { stroke: #8A96A1; stroke-width: 1.5; }
.ts-handle { fill: #59626A; }
.ts-lt.g { fill: #2E9E5B; }
.ts-lt.off { fill: #9AA4AE; }
.ts-ant { stroke: #59626A; stroke-width: 3; }
.ts-arc { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; }
.ts-wifi { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 7 7; }
.ts-sleeve { fill: #F28C28; }
.ts-stripe { stroke: #EEF2F5; stroke-width: 7; }
.ts-glove { fill: #3E454C; }
.ts-thumb { fill: #4A525A; stroke: #2B3035; stroke-width: 1.5; }
.ts-body { fill: #1A1F24; }
.ts-screen { fill: #F7F9FB; }
.ts-hdr { fill: var(--char); }
.ts-ht { font: 600 14px var(--body); fill: #fff; }
.ts-pill { fill: #2E9E5B; }
.ts-pt { font: 700 10.5px var(--body); fill: #fff; letter-spacing: .06em; }
.ts-t { font: 500 12px var(--body); fill: var(--muted); }
.ts-v { font: 700 14px var(--display); fill: var(--ink); }
.ts-mt { fill: #fff; stroke: #8A96A1; stroke-width: 1.5; }
.ts-ml { fill: #9CC3EE; }
.ts-mp { stroke: #8A96A1; stroke-width: 4; }
.ts-mpump { fill: #6C7780; stroke: #59626A; stroke-width: 1.5; }
.ts-mc { stroke: #6C7780; stroke-width: 6; stroke-linecap: round; }
.ts-mbox rect { fill: #D8C29E; stroke: #9C845F; }
.ts-mpe { fill: var(--blue); }
.ts-side { fill: var(--sky); }
.ts-trend { fill: none; stroke: var(--blue); stroke-width: 2; }
.ts-alm { fill: #E8EEF3; }
.ai-h { font: 700 16px var(--display); fill: #fff; }
.ai-ex { font: 500 12px var(--body); fill: var(--steel); }
.ai-ev { fill: #FCEDEA; }
.ai-evbar { fill: #C8402F; }
.ai-b { font: 700 15px var(--body); fill: var(--ink); }
.ai-k { font: 700 11px var(--body); fill: var(--blue-deep); letter-spacing: .08em; }
.ai-big { font: 700 21px var(--display); fill: var(--ink); }
.ai-m { font: 500 14px var(--body); fill: var(--ink); }
.ai-ok { font: 700 13px var(--body); fill: #23784A; }
.ai-track { fill: #DCE3EA; }
.ai-fill { fill: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .ts-wifi { animation: ts-wifi 1.4s linear infinite; }
  @keyframes ts-wifi { to { stroke-dashoffset: -28; } }
}

.data table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; border: 1px solid var(--rule); }
.data caption { text-align: left; font-family: var(--display); font-weight: 700; padding: 0 0 8px; }
.data caption span { font-family: var(--body); font-weight: 500; font-size: .8rem; color: var(--muted); margin-left: 8px; }
.data th { text-align: left; font-size: .78rem; font-weight: 600; color: var(--muted); padding: 8px 10px; background: var(--sky); border-bottom: 1px solid var(--rule); }
.data td { padding: 8px 10px; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.data td:nth-child(2), .data td:nth-child(3), .data td:nth-child(4) { text-align: right; }
.data tr.warn td { background: #FFF6E5; }
.data tr.warn td:nth-child(4) { color: #9A5B00; font-weight: 700; }
.data svg { width: 90px; height: 22px; display: block; }
.data polyline { fill: none; stroke: var(--blue); stroke-width: 2; }
.data tr.warn polyline { stroke: #C77700; }
@media (max-width: 560px) { .data th:nth-child(3), .data td:nth-child(3) { display: none; } }

/* ── Bento: one large tile, alternating sides ─────── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.bento > li:first-child { grid-column: 1 / span 2; grid-row: span 2; }
.group:nth-of-type(even) .bento > li:first-child { grid-column: 2 / span 2; }
.bento > li:first-child .tile { height: 100%; display: flex; flex-direction: column; }
.bento > li:first-child .tile > a { flex: 1; display: flex; }
.bento > li:first-child .tile img, .bento > li:first-child .tile video { aspect-ratio: auto; flex: 1; height: 100%; min-height: 320px; }
.bento > li.card:first-child > img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.bento > li.card:first-child h3 { font-size: 1.35rem; }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > li:first-child, .group:nth-of-type(even) .bento > li:first-child { grid-column: 1 / -1; grid-row: auto; }
  .bento > li:first-child .tile img, .bento > li:first-child .tile video, .bento > li.card:first-child > img { height: auto; min-height: 0; aspect-ratio: 4 / 3; flex: none; }
}
@media (max-width: 480px) { .bento { grid-template-columns: 1fr; } }

/* Service and industry rows alternate sides */
.svc:nth-of-type(even), .svc.flip { grid-template-columns: 8fr 4fr; }
.svc:nth-of-type(even) > div:first-child, .svc.flip > div:first-child { order: 2; }
.svc .viz { margin-top: 16px; }
@media (max-width: 860px) {
  .svc:nth-of-type(even), .svc.flip { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) > div:first-child, .svc.flip > div:first-child { order: 0; }
}
.svcs .svc, .svcs .svc:nth-of-type(even), .svcs .svc.flip { grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .svcs .svc, .svcs .svc:nth-of-type(even), .svcs .svc.flip { grid-template-columns: 1fr; } }

/* Shape exceptions: the three-bay lineup keeps its wide frame; a photo under a drawn graphic is a wide strip */
img[src$="panel-trio.jpg"] { aspect-ratio: auto !important; }
.viz + .shot img { aspect-ratio: 21 / 9; }
/* Large bento tile: the photo grows to fill the tile height */
@media (min-width: 761px) {
  .bento > li.card:first-child > img { flex: 1 1 auto; height: 0; min-height: 320px; }
  .bento > li:first-child .tile > a { flex: 1 1 auto; height: 0; min-height: 320px; }
  .bento > li:first-child .tile > a > img { height: 100%; min-height: 0; }
  .bento > li:first-child .tile > video { flex: 1 1 auto; height: 0; min-height: 320px; }
}
.bento > li.card:first-child .body { flex: none; }

/* ── Plant pictorial: field device to business system ─ */
.stack::before, .stack::after { display: none; }
.plant-scroll { overflow-x: auto; margin: 0 0 8px; }
.plant { display: block; width: 100%; min-width: 760px; height: auto; }
.plant .eq rect, .plant .eq circle, .plant .eq path, .plant .eq line, .plant .eq ellipse { fill: none; stroke: #AEB8C1; stroke-width: 2; }
.plant .eq .solid { fill: #AEB8C1; stroke: none; }
.plant .eq .thin, .plant .thin { stroke-width: 1.2; stroke: #6F7A84; fill: none; }
.plant .eq .bub { fill: var(--char); stroke: var(--blue-bright); }
.plant .wire, .plant .wire path { fill: none; stroke: var(--char-line); stroke-width: 2.5; }
.plant .sig, .plant .sig path { fill: none; stroke: var(--blue-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 16; }
.plant .fw { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 6 6; }
.plant text { font-family: var(--body); }
.plant .wl { font-size: 12px; font-weight: 600; fill: var(--steel); }
.plant .fwt { fill: var(--blue-bright); }
.plant .bt { font-size: 10.5px; font-weight: 700; fill: #E6EBEF; }
.plant .eqt { font-size: 13px; font-weight: 700; fill: #E6EBEF; }
.plant .eqt.sm { font-size: 11px; }
.plant .liquid { fill: var(--blue); opacity: .85; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(.6); }
.plant .led { fill: var(--blue-bright); }
.plant .led.ok { fill: #3CCB7F; }
.plant .screen-bar { fill: var(--char-line); }
.plant .grid { stroke: #3A4249; stroke-width: 1; fill: none; }
.plant .trend { fill: none; stroke: var(--blue-bright); stroke-width: 2.2; stroke-linejoin: round; }
.plant .run { fill: #1E7A4C; }
.plant .tag2 { fill: #24425F; }
.plant .st { font-size: 9px; font-weight: 700; fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .plant .sig, .plant .sig path { animation: flow 1.1s linear infinite; }
  .plant .liquid { animation: fill 9s ease-in-out infinite; }
  .plant .led { animation: blink 1.4s steps(1) infinite; animation-delay: var(--d, 0s); }
  .plant .trend { stroke-dasharray: 240; animation: trace 9s ease-in-out infinite; }
  @keyframes flow { to { stroke-dashoffset: -18; } }
  @keyframes fill { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(.85); } }
  @keyframes blink { 50% { opacity: .25; } }
  @keyframes trace { 0% { stroke-dashoffset: 240; } 45%, 100% { stroke-dashoffset: 0; } }
}
.lvl strong { margin-top: 6px; }
@media (max-width: 900px) { .plant-scroll { margin-right: -24px; } }
.plant .eq .liquid { fill: var(--blue); stroke: none; }

/* ── Plant pictorial v2: PLC rack, analog + digital loops, robot ── */
.plant .floor { stroke: var(--char-line); stroke-width: 2; }
.plant .eq .liquid { stroke: none; }
.plant .liquid { opacity: 1; }
.plant .eq .pump { fill: #1E7A4C; stroke: #AEB8C1; }
.plant .eq .valve { fill: #24425F; }
.plant .chassis { fill: #2A3137; }
.plant .mod rect { fill: #3A434B; stroke: #8C96A0; stroke-width: 1; }
.plant .mod .door { fill: #2F373E; stroke: none; }
.plant .mod text { font-size: 7px; font-weight: 700; fill: #DDE3E8; }
.plant .mod .port { fill: #1B1F23; stroke: #8C96A0; }
.plant .io { stroke: none; }
.plant .io.off { fill: #4E5860; }
.plant .io.on { fill: #3CCB7F; }
.plant .io.lnk { fill: #F2C230; }
.plant .io.pe-led, .plant .io.rb-led { fill: #F2C230; opacity: .2; }
.plant .key { fill: none; stroke: #C9D1D8; stroke-width: 1.2; }
.plant .eqt.xs { font-size: 9px; }
.plant .conv rect, .plant .conv path { stroke: #AEB8C1; }
.plant .eq .pe { fill: #F2C230; stroke: none; }
.plant .beam { stroke: #F2C230; stroke-width: 2; stroke-dasharray: 3 3; opacity: .2; }
.plant .box rect, .plant .carry, .plant .placed { fill: #C89A5B; stroke: #8A6534; stroke-width: 1.2; }
.plant .box path { stroke: #E3C38F; stroke-width: 2; }
.plant .box { transform: translateX(var(--x, 0)); }
.plant .arm { stroke: #F2C230; stroke-width: 9; stroke-linecap: round; }
.plant .arm.fore { stroke-width: 6; }
.plant .grip { fill: none; stroke: #C9D1D8; stroke-width: 2.5; }
.plant .joint { fill: #2A3137; stroke: #F2C230; stroke-width: 2.5; }
.plant .joint.base { stroke-width: 3; }
.plant .r-upper { transform-box: view-box; transform-origin: 400px 280px; }
.plant .r-fore { transform-box: view-box; transform-origin: 400px 220px; }
.plant .chip.run { fill: #1E7A4C; }
.plant .chip.auto { fill: #24425F; }
.plant .chip.pe-chip { fill: #6B5A1E; }
.plant .st { font-size: 7.5px; }
.plant .st.dim { fill: var(--steel); font-weight: 600; }
.plant .biz { fill: #E6EBEF; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .plant .box { animation: belt 6s linear infinite; animation-delay: var(--dl, 0s); }
  .plant .beam, .plant .io.pe-led { animation: pe 2s linear infinite; }
  .plant .chip.pe-chip { animation: pechip 2s linear infinite; }
  .plant .r-upper { animation: sh 2s ease-in-out infinite; }
  .plant .r-fore { animation: el 2s ease-in-out infinite; }
  .plant .carry { animation: carry 2s linear infinite; }
  .plant .placed { animation: placed 2s linear infinite; }
  .plant .io.rb-led { animation: rb 2s linear infinite; }
  .plant .io.lnk { animation: blink .9s steps(1) infinite; }
  @keyframes belt { 0% { transform: translateX(0); opacity: 0; } 3% { opacity: 1; } 97% { opacity: 1; } 100% { transform: translateX(330px); opacity: 0; } }
  @keyframes pe { 0%, 36% { opacity: .2; } 36.5%, 60% { opacity: 1; } 60.5%, 100% { opacity: .2; } }
  @keyframes pechip { 0%, 36% { fill: #6B5A1E; } 36.5%, 60% { fill: #C99A12; } 60.5%, 100% { fill: #6B5A1E; } }
  @keyframes sh { 0%, 8% { transform: rotate(-36deg); } 42%, 50% { transform: rotate(36deg); } 85%, 100% { transform: rotate(-36deg); } }
  @keyframes el { 0%, 8% { transform: rotate(36deg); } 42%, 50% { transform: rotate(-36deg); } 85%, 100% { transform: rotate(36deg); } }
  @keyframes carry { 0%, 46% { opacity: 1; } 46.5%, 100% { opacity: 0; } }
  @keyframes placed { 0%, 46% { opacity: 0; } 46.5%, 94% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes rb { 0%, 8% { opacity: 1; } 8.5%, 100% { opacity: .2; } }
}
.plant .eq .liquid, .plant .liquid { fill: url(#water); }
.plant .sigd { fill: none; stroke: #F2C230; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 16; }
@media (prefers-reduced-motion: no-preference) { .plant .sigd { animation: flow 1.1s linear infinite; } }

/* ── Plant pictorial v3: 5-axis robot, script-driven floor ── */
.plant .beam, .plant .io.pe-led, .plant .io.rb-led, .plant .chip.pe-chip { animation: none !important; }
.plant .beam.on, .plant .io.pe-led.on, .plant .io.rb-led.on { opacity: 1; }
.plant .chip.pe-chip.on { fill: #C99A12; }
.plant .pkg rect { fill: #C89A5B; stroke: #8A6534; stroke-width: 1.2; }
.plant .pkg path { stroke: #E3C38F; stroke-width: 2; fill: none; }
.plant .robot .ped { fill: #3A434B; stroke: #8C96A0; stroke-width: 1.5; }
.plant .robot .turret { fill: #F2C230; stroke: #7A5E0E; stroke-width: 1.5; }
.plant .robot .link-o { stroke: #7A5E0E; stroke-width: 15; stroke-linecap: round; }
.plant .robot .link { stroke: #F2C230; stroke-width: 11; stroke-linecap: round; }
.plant .robot .link-o.thin2 { stroke-width: 12; }
.plant .robot .link.thin2 { stroke-width: 8; }
.plant .robot .joint { fill: #2A3137; stroke: #F2C230; stroke-width: 2.5; }
.plant .robot .joint.sm { stroke-width: 2; }
.plant .robot .flange { fill: #C9D1D8; }
.plant .robot .finger { stroke: #C9D1D8; stroke-width: 3; stroke-linecap: round; }
.plant .robot .rl { font-size: 9px; font-weight: 700; fill: #DDE3E8; }

/* Hero: the video plays once, then the still of the unit fades in and holds */
.hero-media .end-still { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-media.done .end-still { opacity: 1; }
.hero-media .end-still { object-position: 50% 45%; }

/* About: portrait beside the story */
.about-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.portrait { margin: 0; position: sticky; top: 24px; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); border-bottom: 4px solid var(--blue); }
.portrait figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.portrait figcaption strong { font-family: var(--display); font-size: 1.15rem; }
.portrait figcaption span { color: var(--muted); font-size: .95rem; }
.portrait figcaption a { font-weight: 600; margin-top: 4px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } .portrait { position: static; max-width: 320px; } }

/* Design mosaic: one tall panel, two square details stacked beside it */
.f-mosaic { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; align-items: start; }
.f-mosaic .shot { margin: 0; }
.f-mosaic > .shot img { aspect-ratio: 3 / 4; }
.f-mosaic > div { display: grid; gap: 16px; }
.f-mosaic > div .shot img { aspect-ratio: 1; }
.svc .f-mosaic { margin-top: 16px; }
.f-pair.tall .shot img { aspect-ratio: 4 / 5; }
.f-visual > .shot + .f-pair, .svc .shot + .f-pair { margin-top: 0; }
.f-pair .shot { margin-top: 16px; }

/* ── Online ladder view (controls programming) ─────── */
.ladder { background: var(--char); border-radius: var(--r); overflow: hidden; }
.ladder figcaption { background: var(--paper); margin: 0; padding-top: 8px; }
.lad-bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: var(--char-2); border-bottom: 1px solid var(--char-line); font-size: .82rem; color: var(--on-dark); }
.lad-bar b { color: #fff; font-weight: 600; }
.lad-bar span { color: var(--steel); }
.lad-bar em { margin-left: auto; font-style: normal; font-weight: 700; font-size: .74rem; color: #0E3B22; background: #3CCB7F; padding: 3px 8px; border-radius: 999px; }
.ladder svg { display: block; width: 100%; height: auto; }
.ladder .rail { stroke: #8C96A0; stroke-width: 3; }
.ladder .rn { font: 600 11px var(--body); fill: var(--steel); }
.ladder .cmt { font: 500 11.5px var(--body); fill: #8FA0AE; font-style: italic; }
.ladder .w { fill: none; stroke: #6F7A84; stroke-width: 2.4; }
.ladder .ins path { fill: none; stroke: #C9D1D8; stroke-width: 2.4; }
.ladder .tag { font: 600 11px Consolas, "SFMono-Regular", Menlo, monospace; fill: #E6EBEF; }
.ladder .w.on, .ladder .ins.on path { stroke: #3CCB7F; }
.ladder .ins.on path { stroke-width: 3; }
.ladder .ton rect:first-child { fill: #2A3137; stroke: #C9D1D8; stroke-width: 2; }
.ladder .tb { font: 700 11px Consolas, Menlo, monospace; fill: #fff; }
.ladder .tv { font: 500 11px var(--body); fill: var(--steel); }
.ladder .acc-bg { fill: #47515A; }
.ladder .acc { fill: #F2C230; transform-box: fill-box; transform-origin: left center; transform: scaleX(.35); }
@media (prefers-reduced-motion: no-preference) {
  .ladder .ins.pe path, .ladder .w.pe { animation: ladpe 3s steps(1) infinite; }
  .ladder .acc { animation: ladacc 3s linear infinite; }
  @keyframes ladpe { 0%, 39% { stroke: #6F7A84; } 40%, 79% { stroke: #3CCB7F; } 80%, 100% { stroke: #6F7A84; } }
  @keyframes ladacc { 0%, 40% { transform: scaleX(0); } 79% { transform: scaleX(.4); } 80%, 100% { transform: scaleX(0); } }
}
.checkout td.ok { color: #1E7A4C; font-weight: 600; }
.checkout td.ok::before { content: "✓ "; }
.checkout td:nth-child(2), .checkout td:nth-child(3), .checkout td:nth-child(4) { text-align: left; }
.checkout td:first-child { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: .84rem; }
.ladder + .checkout { margin-top: 20px; }
.about-grid { grid-template-columns: 3fr 9fr; }
.portrait img { max-width: 240px; }
@media (max-width: 860px) { .portrait { max-width: 220px; } }

/* ── Logix-style editor window (controls programming) ── */
.logix { border: 1px solid #B9C3CC; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.logix figcaption { margin: 0; padding: 8px 12px 10px; border-top: 1px solid #D6DDE4; background: var(--paper); }
.lx-title { display: flex; align-items: center; gap: 10px; padding: 7px 12px; background: #E4E9EE; border-bottom: 1px solid #C9D2DA; font-size: .82rem; color: #2B3138; }
.lx-title .dots { display: inline-flex; gap: 5px; }
.lx-title .dots i { width: 9px; height: 9px; border-radius: 50%; background: #B7C0C8; display: block; }
.lx-title b { font-weight: 700; }
.lx-file { color: #6A7580; }
.lx-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 12px; background: #F3F5F7; border-bottom: 1px solid #DDE3E8; font-size: .72rem; color: #44505B; }
.lx-status span { padding: 2px 7px; border: 1px solid #CDD5DC; border-radius: 3px; background: #fff; }
.lx-status .run { background: #2E9E5B; border-color: #2E9E5B; color: #fff; font-weight: 700; }
.lx-status .ok { color: #1E7A4C; font-weight: 600; }
.lx-status .path { margin-left: auto; border: 0; background: none; color: #7A8590; font-family: Consolas, Menlo, monospace; }
.lx-body { display: grid; grid-template-columns: 180px 1fr; min-height: 300px; }
.lx-tree { list-style: none; margin: 0; padding: 8px 6px 10px 10px; background: #F7F9FA; border-right: 1px solid #DDE3E8; font-size: .74rem; line-height: 1.55; color: #2B3138; overflow: hidden; }
.lx-tree ul { list-style: none; margin: 0; padding-left: 12px; }
.lx-tree li { white-space: nowrap; }
.lx-tree .f::before { content: "▾ "; color: #8A96A1; }
.lx-tree .r { cursor: pointer; padding: 0 4px; border-radius: 2px; font-family: Consolas, Menlo, monospace; font-size: .7rem; }
.lx-tree .r::before { content: "▪ "; color: #4C7FB8; }
.lx-tree .r.sel { background: #CFE2F8; }
.lx-tree .r.dim { color: #8A96A1; cursor: default; }
.lx-tree .ax, .lx-tree .io { font-family: Consolas, Menlo, monospace; font-size: .7rem; color: #44505B; }
.lx-edit { min-width: 0; display: flex; flex-direction: column; }
.lx-tabs { display: flex; gap: 2px; padding: 6px 8px 0; background: #EEF2F5; border-bottom: 1px solid #D6DDE4; overflow-x: auto; }
.lx-tabs button { font: 600 .7rem Consolas, Menlo, monospace; color: #44505B; background: #E1E7EC; border: 1px solid #CDD5DC; border-bottom: 0; border-radius: 4px 4px 0 0; padding: 5px 9px; cursor: pointer; white-space: nowrap; }
.lx-tabs button.sel { background: #fff; color: #12395F; }
.lx-pane { display: none; padding: 6px 4px 8px; }
.lx-pane.sel { display: block; }
.lad { display: block; width: 100%; height: auto; }
.lad .rail { stroke: #2B3138; stroke-width: 2.2; }
.lad .w, .lad .i path { fill: none; stroke: #2B3138; stroke-width: 1.6; }
.lad .i.on > path, .lad .i.on > g > path { stroke: #1F9D55; stroke-width: 2.6; }
.lad .box rect { fill: #fff; stroke: #2B3138; stroke-width: 1.4; }
.lad .box.on rect { stroke: #1F9D55; stroke-width: 2; }
.lad text { font-family: Consolas, "SFMono-Regular", Menlo, monospace; }
.lad .t { font-size: 10.5px; fill: #12395F; font-weight: 600; }
.lad .lt { font-size: 10px; font-weight: 700; fill: #2B3138; }
.lad .bn { font-size: 11px; font-weight: 700; fill: #12395F; }
.lad .bl { font-size: 9.5px; fill: #44505B; }
.lad .cm { font-family: var(--body); font-size: 11px; fill: #2E7D4F; }
.lad .rn { font-size: 11px; fill: #6A7580; font-weight: 600; }
@media (max-width: 640px) {
  .lx-body { grid-template-columns: 1fr; }
  .lx-tree { display: none; }
  .lx-status .path { display: none; }
}
.feature.wide { grid-template-columns: 8fr 4fr; gap: 40px; }
@media (max-width: 900px) { .feature.wide { grid-template-columns: 1fr; } }
.lx-body { grid-template-columns: 150px 1fr; }
.lad .t { font-size: 12px; }
.lad .bn { font-size: 12.5px; }
.lad .bl { font-size: 10.5px; }
.lad .cm { font-size: 12px; }
.lad .rn { font-size: 12px; }
.svcs #controls { grid-template-columns: 7fr 5fr; }
@media (max-width: 860px) { .svcs #controls { grid-template-columns: 1fr; } }
.lx-body { grid-template-columns: 172px 1fr; }
.lx-tree { font-size: .72rem; }

/* Phones: the plant drawing scales to the screen instead of scrolling past it */
@media (max-width: 900px) { .plant-scroll { overflow: visible; margin-right: 0; } .plant { min-width: 0; } }

/* ── Serge parent page ───────────────────────────── */
.smark { width: 46px; height: 46px; flex: none; }
.serge-hero { padding: 80px 0 72px; }
.serge-hero h1 { max-width: 18ch; }
.divs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.div-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--rule); border-top: 4px solid var(--blue); border-radius: var(--r); background: var(--paper); scroll-margin-top: 24px; }
.div-card.werx { border-top-color: var(--char); }
.div-card h3 { font-size: 1.6rem; margin: 14px 0 2px; }
.div-sub { color: var(--blue-deep); font-weight: 600; margin: 0 0 12px; }
.div-card .btn { margin-top: auto; align-self: flex-start; }
.div-card .ticks { margin-bottom: 24px; }
.smark-lg { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--blue); color: #fff; font: 800 1.5rem/1 var(--display); }
.werx-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--char); --mark-bg: var(--char); }
.werx-mark .mark { width: 44px; height: 25px; }
.closing a { color: #fff; }
.closing .btn.ghost { color: #fff; }
@media (max-width: 860px) { .divs { grid-template-columns: 1fr; } }

/* ── Manufacturer logos ──────────────────────────── */
.sec.brands { padding-top: 56px; padding-bottom: 56px; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.logos li { display: grid; place-items: center; height: 96px; padding: 16px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); }
.logos img { max-height: 40px; max-width: 100%; width: auto; }
.logos img.lg-ge { max-height: 56px; }
.logos img.lg-rittal { max-height: 64px; }
.logos img.lg-allen-bradley { max-height: 46px; }
.tm { font-size: .8rem; color: var(--muted); margin: 14px 0 0; max-width: none; }
@media (max-width: 860px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, 1fr); } .logos li { height: 80px; } }

/* ── Plant pictorial v4: real equipment, live tank loop ── */
.plant .pipe { fill: none; stroke: #6F7A84; stroke-width: 7; }
.plant .pipe.thin { stroke-width: 3; }
.plant .pipe-in { fill: none; stroke: #262C31; stroke-width: 3.6; }
.plant .pflow path { fill: none; stroke: var(--blue-bright); stroke-width: 2.4; stroke-dasharray: 4 7; opacity: 0; transition: opacity .4s; }
.plant .pflow.on path { opacity: 1; }
.plant .arrow { fill: #6F7A84; }
.plant .vlv { stroke: #C9D1D8; stroke-width: 1.4; fill: #59626A; transition: fill .3s; }
.plant .vlv.open, .plant .vlv.hand { fill: #2E9E5B; }
.plant .stem { fill: none; stroke: #C9D1D8; stroke-width: 1.6; stroke-linecap: round; }
.plant .tg { font-size: 9px; font-weight: 700; fill: var(--steel); letter-spacing: .02em; }
.plant .tg.dk { fill: #DDE3E8; font-size: 7.5px; }
.plant .tank .leg { fill: none; stroke: #8C96A0; stroke-width: 3; stroke-linecap: round; }
.plant .tank .nz { fill: #59626A; stroke: #AEB8C1; stroke-width: 1.4; }
.plant .tank .shell { fill: url(#steel); stroke: #AEB8C1; stroke-width: 2; }
.plant .tank .inner { fill: #1F2429; }
.plant .wave { fill: url(#water); }
.plant .radar { stroke: #F2C230; stroke-width: 1.2; stroke-dasharray: 2 3; opacity: .8; }
.plant .tick { stroke: #fff; stroke-opacity: .45; stroke-width: 1.2; }
.plant .gleam { fill: #fff; opacity: .09; }
.plant .seam { fill: none; stroke: #AEB8C1; stroke-width: 1; opacity: .6; }
.plant .tx { fill: #24425F; stroke: #AEB8C1; stroke-width: 1.4; }
.plant .txw { fill: #0E3B22; stroke: #3CCB7F; stroke-width: 1; }
.plant .isl { fill: none; stroke: var(--steel); stroke-width: 1.4; stroke-dasharray: 5 3; }
.plant .bub { fill: var(--char); stroke: var(--blue-bright); stroke-width: 2; }
.plant .pump .base { fill: #59626A; stroke: #8C96A0; stroke-width: 1; }
.plant .pump .foot { fill: none; stroke: #8C96A0; stroke-width: 2; }
.plant .pump .casing { fill: #59626A; stroke: #C9D1D8; stroke-width: 1.6; transition: fill .4s; }
.plant .pump .casing.on { fill: #1E7A4C; }
.plant .pump .imp { fill: none; stroke: #E6EBEF; stroke-width: 1.8; stroke-linecap: round; }
.plant .pump .hub { fill: #E6EBEF; }
.plant .pump .coup { fill: #F2C230; stroke: #7A5E0E; stroke-width: 1; }
.plant .motor { fill: url(#steelV); stroke: #AEB8C1; stroke-width: 1.4; }
.plant .fins { fill: none; stroke: #2A3137; stroke-width: 1.2; }
.plant .fan, .plant .tbox, .plant .gear { fill: #4A535B; stroke: #AEB8C1; stroke-width: 1.2; }
.plant .gauge { fill: #E6EBEF; stroke: #8C96A0; stroke-width: 1.6; }
.plant .needle { stroke: #C0392B; stroke-width: 1.6; stroke-linecap: round; }
.plant .conv .leg { fill: none; stroke: #8C96A0; stroke-width: 2.4; stroke-linecap: round; }
.plant .conv .frame { fill: url(#steelV); stroke: #AEB8C1; stroke-width: 1.2; }
.plant .conv .belt { fill: #1B1F23; stroke: none; }
.plant .roll circle { fill: #2A3137; stroke: #C9D1D8; stroke-width: 1; }
.plant .roll path { stroke: #C9D1D8; stroke-width: 1; }
.plant .post { fill: none; stroke: #8C96A0; stroke-width: 2; }
.plant .pe { fill: #F2C230; stroke: #7A5E0E; stroke-width: 1; }
.plant .lens { fill: #1B1F23; }
.plant .pkg .tape { stroke: #E9D3A6; stroke-width: 3; }
.plant .pkg .lbl { fill: #F4F6F8; stroke: none; }
.plant .pkg .bc { stroke: #1B1F23; stroke-width: .8; fill: none; }
.plant .encl { fill: #4A535B; stroke: #AEB8C1; stroke-width: 2; }
.plant .bplate { fill: #2E353B; }
.plant .hinge { fill: #8C96A0; }
.plant .duct { fill: #6F7A84; }
.plant .tblk.b { fill: #2F6DB5; }
.plant .tblk.g { fill: #9AA4AE; }
.plant .tblk.o { fill: #D9822B; }
.plant .vfd { fill: #3A434B; stroke: #AEB8C1; stroke-width: 1.2; }
.plant .vfd-scr { fill: #0E3B22; stroke: #1E7A4C; stroke-width: 1; }
.plant .vfd-t { font: 700 7px Consolas, Menlo, monospace; fill: #3CCB7F; }
.plant .cb { fill: #E6EBEF; stroke: #8C96A0; stroke-width: 1; }
.plant .cbh { fill: #1B1F23; }
.plant .psu { fill: #59626A; stroke: #AEB8C1; stroke-width: 1.2; }
.plant .pole { stroke: #8C96A0; stroke-width: 3; }
.plant .lamp { stroke: #1B1F23; stroke-width: .8; }
.plant .lamp.cap { fill: #3A434B; }
.plant .lamp.red { fill: #5A2422; }
.plant .lamp.amb { fill: #5A4A16; transition: fill .15s; }
.plant .lamp.amb.on { fill: #F2C230; }
.plant .lamp.grn { fill: #1E5A3A; }
.plant .lamp.grn.on { fill: #3CCB7F; }
.plant .io.pmp-led { fill: #4E5860; }
.plant .io.pmp-led.on { fill: #3CCB7F; }
.plant .bolt { stroke: #8C96A0; stroke-width: 2; }
.plant .bezel { fill: #23282D; stroke: #AEB8C1; stroke-width: 2; }
.plant .stand { fill: #3A434B; stroke: #AEB8C1; stroke-width: 1.4; }
.plant .scr { fill: #161B1F; }
.plant .scr-hd { fill: #2C343B; }
.plant .hmi-shell { fill: #2A3137; stroke: #8C96A0; stroke-width: 1.4; }
.plant .hmi-liq { fill: url(#water); }
.plant .st.big { font-size: 10px; font-family: Consolas, Menlo, monospace; }
.plant .grid { stroke: #2C343B; }
.plant .chip.stop { fill: #4E5860; }
.plant .chip.stop.run { fill: #1E7A4C; }
.plant .rack { fill: #2A3137; stroke: #AEB8C1; stroke-width: 2; }
.plant .unit { fill: #3A434B; stroke: #59626A; stroke-width: 1; }
.plant .bay { fill: #23282D; stroke: #59626A; stroke-width: .8; }
.plant .db { fill: url(#steel); stroke: #AEB8C1; stroke-width: 2; }
.plant .db-top { fill: #7F8A94; stroke: #AEB8C1; stroke-width: 2; }
.plant .db-ring { fill: none; stroke: #2A3137; stroke-width: 1.4; }
.plant .bldg { fill: #3A434B; stroke: #AEB8C1; stroke-width: 2; }
.plant .door2 { fill: #2A3137; stroke: #AEB8C1; stroke-width: 1.4; }
.plant .win { fill: #F2C230; fill-opacity: .55; stroke: #AEB8C1; stroke-width: 1.2; }
.plant .cloud { fill: #3E454C; stroke: #AEB8C1; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .plant .wave { animation: wave 2.6s linear infinite; }
  .plant .pflow.on path { animation: flow2 .7s linear infinite; }
  @keyframes wave { to { transform: translateX(-35px); } }
  @keyframes flow2 { to { stroke-dashoffset: -11; } }
}

/* ── Page texture: blueprint grid on the dark bands ── */
.hero, .page-head, .closing {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.hero .plant .bp { display: none; }
/* Section rule: a blue lead segment, like a cable marker on the line */
.sec-head { position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 5px; background: var(--blue); }
/* Photos: one clipped corner, like an engraved equipment nameplate */
.shot img, .tile img, .tile video, .hero-media video, .hero-media .end-still, .ind-tiles a {
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

/* Home section rhythm: dark, white, sky, white, dark band, white, blue */
.sec.brands { background: var(--sky); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sec.work { background: var(--paper); border: 0; }

/* Why Werx: dark band over a plant photo */
.sec.band { position: relative; color: #fff; background: #2A2F34; }
.sec.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(36,41,46,.96) 0%, rgba(36,41,46,.9) 55%, rgba(36,41,46,.78) 100%); }
.sec.band .wrap { position: relative; }
.sec.band .sec-head { border-bottom-color: rgba(255,255,255,.5); }
.sec.band .sec-head::after { background: var(--blue-bright); }
.sec.band .sec-head p, .sec.band .points li { color: var(--on-dark); }
.sec.band .points li { border-left-color: var(--blue-bright); }
.sec.band .points strong { color: #fff; }

/* Industries: photo tiles */
.ind-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ind-tiles a { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; text-decoration: none; background: var(--char); }
.ind-tiles img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ind-tiles a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,31,36,0) 35%, rgba(26,31,36,.92) 100%); }
.ind-tiles span { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; font: 700 1.08rem/1.25 var(--display); padding-top: 10px; border-top: 3px solid var(--blue-bright); }
.ind-tiles small { display: block; margin-top: 6px; font: 500 .82rem/1.35 var(--body); color: var(--on-dark); }
.ind-tiles a:hover img, .ind-tiles a:focus-visible img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .ind-tiles img { transition: none; } }
@media (max-width: 1000px) { .ind-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ind-tiles { grid-template-columns: 1fr 1fr; } .ind-tiles a { aspect-ratio: 1; } .ind-tiles small { display: none; } }

.plant .trend { animation: none !important; stroke-dasharray: none; }

/* ── v5: two-part pictorial (stacks on phones) ── */
.plant-row { display: flex; align-items: flex-start; margin: 0 0 8px; }
.plant-row .plant { min-width: 0; width: 100%; height: auto; display: block; }
.plant-row .pa { flex: 500 1 0; }
.plant-row .pb { flex: 700 1 0; }
@media (max-width: 900px) {
  .plant-row { flex-direction: column; gap: 20px; }
  .plant-row .pa, .plant-row .pb { flex: none; width: 100%; }
  .plant-row .pb { padding-top: 16px; border-top: 1px dashed var(--char-line); }
}

/* ── Electrical schematic texture instead of a plain grid ── */
.hero, .page-head, .closing, .titleblock {
  background-image: url(/werx/img/schematic-dark.svg);
  background-size: 640px 420px;
  background-repeat: repeat;
}
.hero { background-position: -40px 0; }
.closing { background-color: var(--blue); }
.sec.brands { background-image: url(/werx/img/schematic-light.svg); background-size: 640px 420px; }

/* ── Why band: the photo comes forward ── */
.sec.band::before { background: linear-gradient(100deg, rgba(30,34,38,.9) 0%, rgba(30,34,38,.72) 45%, rgba(30,34,38,.5) 100%); }
.sec.band .points li { text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.sec.band .points li, .sec.band .sec-head p { color: #E3E8EC; }

/* ── Industries: no blue rule over the photos ── */
.ind-tiles span { border-top: 0; padding-top: 0; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

/* ── Electrical design: example drawing sheet ── */
.sheet svg { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: var(--r); box-shadow: 0 10px 24px -14px rgba(26,31,36,.35); }
.sheet .paper { fill: #FBFCFD; }
.sheet .bd { fill: none; stroke: #1A1F24; stroke-width: 1.6; }
.sheet .bd2 { fill: none; stroke: #1A1F24; stroke-width: .8; }
.sheet .zt { stroke: #1A1F24; stroke-width: .8; }
.sheet .zn { font: 600 8px Consolas, Menlo, monospace; fill: #56616B; }
.sheet .ln path, .sheet .ln rect, .sheet .ln circle { fill: none; stroke: #1A1F24; stroke-width: 1.3; }
.sheet .ln .rail { stroke-width: 2; }
.sheet .ln .dsh { stroke-dasharray: 3 3; stroke-width: 1; }
.sheet .ln .term { fill: #fff; }
.sheet text { font-family: Consolas, "SFMono-Regular", Menlo, monospace; }
.sheet .hd { font-size: 9px; font-weight: 700; fill: #1A1F24; letter-spacing: .04em; }
.sheet .tag { font-size: 8.5px; font-weight: 700; fill: #12395F; }
.sheet .wn { font-size: 8px; fill: #1B6FD8; font-weight: 600; }
.sheet .sm2 { font-size: 7.5px; fill: #44505B; }
.sheet .xr { font-size: 8px; fill: #1B6FD8; text-decoration: underline; }
.sheet .mt { font: 700 13px var(--body); fill: #1A1F24; }
.sheet .mt.sm { font-size: 10px; }
.sheet .tb2 rect, .sheet .tb2 path { fill: none; stroke: #1A1F24; stroke-width: 1; }
.sheet .tt { font-size: 8.5px; font-weight: 700; fill: #1A1F24; }

/* ── The work: panel card shows three photos ── */
.card.collage .cl-imgs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 3fr 2fr; gap: 4px; flex: 1 1 auto; min-height: 320px; background: var(--paper); }
.card.collage .cl-imgs img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.card.collage .cl-imgs img:first-child { grid-column: 1 / -1; }
.card.collage .cl-imgs img:not(:first-child) { object-position: 50% 35%; }
@media (max-width: 760px) { .card.collage .cl-imgs { min-height: 0; aspect-ratio: 4 / 4; flex: none; } }

/* ── Controls editor on phones: tabs wrap, ladder scrolls at a readable size ── */
@media (max-width: 640px) {
  .lx-tabs { flex-wrap: wrap; gap: 4px; padding: 6px; overflow: visible; }
  .lx-tabs button { border: 1px solid #CDD5DC; border-radius: 4px; font-size: .74rem; padding: 7px 10px; flex: 1 1 auto; }
  .lx-tabs button.sel { background: #12395F; color: #fff; border-color: #12395F; }
  .lx-pane { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lx-pane .lad { min-width: 560px; }
  .lx-edit::after { content: "Swipe to scroll the rung"; display: block; font-size: .72rem; color: var(--muted); padding: 0 10px 8px; }
  .lx-status span:not(.run):not(.ok) { display: none; }
}
@media (min-width: 761px) { .card.collage .cl-imgs { height: 0; } }

/* ── v6: ladder wraps on phones instead of scrolling ── */
.lad-n { display: none; }
@media (max-width: 640px) {
  .lad-w { display: none; }
  .lad-n { display: block; }
  .lx-pane { overflow: visible; }
  .lx-pane .lad { min-width: 0; }
  .lx-edit::after { content: none; }
}
.lad .cont { fill: #fff; stroke: #2B3138; stroke-width: 1.4; }

/* ── Electrical design row: manufacturer logos ── */
.brand-panel { padding: 24px; background: var(--sky) url(/werx/img/schematic-light.svg) 0 0 / 640px 420px; border: 1px solid var(--rule); }
.brand-panel h4 { font: 700 1.05rem/1.2 var(--display); margin: 0 0 16px; }
.brand-panel .logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.brand-panel .logos li { height: 84px; }
@media (min-width: 1000px) { .brand-panel .logos { grid-template-columns: repeat(3, 1fr); } .brand-panel .logos li:last-child { grid-column: 2; } }

/* Home rhythm: The work sits on the pale schematic band */
.sec.work { background: var(--sky) url(/werx/img/schematic-light.svg) 0 0 / 640px 420px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (max-width: 640px) { .lx-body { grid-template-columns: 1fr; } .lx-tabs button { flex: 1 1 30%; font-size: .68rem; padding: 7px 4px; } }

/* About: what WERX stands for */
.acro { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin: 0 0 32px; padding: 0; list-style: none; }
.acro li { border-top: 4px solid var(--blue); padding-top: 14px; color: var(--muted); font-size: .97rem; }
.acro b { display: block; font: 800 3rem/1 var(--display); color: var(--blue); margin-bottom: 8px; }
.acro strong { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--ink); margin-bottom: 4px; }
.acro-text { max-width: 72ch; }
.acro-text p { margin: 0 0 14px; }
@media (max-width: 860px) { .acro { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .acro { grid-template-columns: 1fr; } }

/* Gallery videos show the whole frame (portrait phone clips and wide shots
   were being cropped to fill the 4:3 tile, hiding the work). */
.tile video { object-fit: contain; background: #15191D; }

/* Serge software page */
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.opt { background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--blue); border-radius: var(--r); padding: 24px; }
.opt h3 { font-size: 1.2rem; margin-bottom: 10px; }
.opt p { margin: 0; color: var(--muted); }
.opts-foot { margin: 24px 0 0; max-width: 72ch; font-weight: 500; }
.svc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.svc-pair .lead { margin-bottom: 20px; }
.fine-print { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--blue); padding-left: 14px; }
@media (max-width: 860px) { .opts, .svc-pair { grid-template-columns: 1fr; } .svc-pair { gap: 40px; } }

/* Serge pages: software/office texture instead of the electrical ladder */
.serge .hero, .serge .page-head, .serge .closing, .serge .titleblock {
  background-image: url(/werx/img/software-dark.svg);
  background-size: 720px 470px;
}
/* App screenshots in a window frame */
.sw-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: center; }
.appshot { margin: 0; }
.win { border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 18px 40px rgba(16,24,40,.28), 0 2px 6px rgba(16,24,40,.12); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #EEF1F5; border-bottom: 1px solid #DCE2E8; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9D1D8; }
.win-bar span { margin-left: 8px; font: 600 .78rem/1 var(--body); color: var(--muted); }
.win img { display: block; width: 100%; height: auto; }
.appshot figcaption { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; margin-bottom: 40px; }
@media (max-width: 1000px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .shots { grid-template-columns: 1fr; } }
