/* 3DNA Industrial — landing page (.indpage) and plant dashboard (.tw). Loaded only on /<lang>/industrial/… */

/* ================================================================ landing */
.apage section.sector-hero.ind-hero{ position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: radial-gradient(ellipse at 70% 40%, #1b2550 0%, #070b16 62%); color: #fff; }
.ind-hero__stage{ position: absolute; inset: 0; }
.ind-hero__stage canvas{ position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity 1.2s ease; }
.ind-hero__stage.is-ready canvas{ opacity: 1; }
.ind-hero__loading{ position: absolute; right: 6vw; bottom: 40px; margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ind-hero__shade{ position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,8,18,.86) 0%, rgba(5,8,18,.55) 36%, rgba(5,8,18,0) 66%), linear-gradient(0deg, rgba(5,8,18,.7) 0%, rgba(5,8,18,0) 35%); }
.ind-hero__copy{ position: absolute; left: 6vw; bottom: clamp(48px, 10vh, 110px); width: min(46vw, 680px); pointer-events: none; }
.ind-hero__copy a, .ind-hero__copy button{ pointer-events: auto; }
.ind-hero__label{ margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #7dd3fc; }
.apage .ind-hero__title{ margin: 0; font-family: "Inter", system-ui, sans-serif; font-weight: 600; font-size: clamp(40px, 4.8vw, 78px); line-height: 1.0; letter-spacing: -.035em; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.ind-hero__title span, .ind-hero__title em{ display: block; }
.ind-hero__title em{ margin-top: .08em; font-family: "DM Serif Text", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; color: #e2ecff; }
.ind-hero__sub{ margin: 22px 0 0; max-width: 34em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: rgba(255,255,255,.86); }
.ind-hero__ctas{ display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.ind-hero__hint{ margin: 18px 0 0; font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.5); }
.ind-btn{ display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 15px "Inter", sans-serif; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.apage .ind-btn--light{ background: #fff; color: #070b16; }
.apage .ind-btn--light:hover{ background: #dbeafe; }
.apage .ind-btn--ghost{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.45); color: #fff; }
.apage .ind-btn--ghost:hover{ border-color: #fff; }
.ind-cards{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin: clamp(40px, 6vh, 64px) 0 0; padding: 0; list-style: none; }
.ind-cards li{ padding: 26px 24px 28px; border-radius: 16px; background: #f4f6fa; }
.ind-cards__n{ font-family: "DM Serif Text", Georgia, serif; font-size: 30px; color: #2563eb; }
.apage .ind-cards h3{ margin: 12px 0 8px; font-size: 18px; font-weight: 600; line-height: 1.3; color: #0b1020; }
.ind-cards p{ margin: 0; font-size: 15px; line-height: 1.55; color: #3c4252; }
.ind-duo__grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 100px); }
.ind-note{ margin: 16px 0 0; padding: 12px 16px; border-left: 2px solid #2563eb; font-size: 14px; line-height: 1.5; color: #4b5563; background: #f4f6fa; }
.ind-aud__grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; list-style: none; }
.ind-aud__grid li{ padding-top: 22px; border-top: 2px solid #0b1020; }
.apage .ind-aud__grid h3{ margin: 0 0 10px; font-family: "DM Serif Text", Georgia, serif; font-weight: 400; font-size: clamp(24px, 2vw, 30px); color: #0b1020; }
.ind-aud__grid p{ margin: 0; font-size: 16px; line-height: 1.6; color: #3c4252; }
.apage .ind-show__card{ display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 460px; margin-top: 24px; overflow: hidden; border-radius: 24px; background: #070b16; color: #fff; text-decoration: none; }
.ind-show__media{ position: relative; display: block; min-height: 300px; background: radial-gradient(ellipse at 40% 50%, #1e3a8a 0%, #070b16 70%) center / cover no-repeat; }
.ind-show__media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.6,.2,1); }
.ind-show__card:hover .ind-show__media img{ transform: scale(1.04); }
.ind-show__body{ display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 60px); }
.ind-show__tag{ padding: 6px 12px; border-radius: 999px; background: rgba(125,211,252,.14); color: #7dd3fc; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.apage .ind-show__title{ margin: 0; font-family: "DM Serif Text", Georgia, serif; font-weight: 400; font-size: clamp(32px, 3.2vw, 50px); line-height: 1.04; color: #fff; }
.ind-show__text{ font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.8); }
.ind-show__facts{ display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ind-show__facts span{ display: flex; flex-direction: column; font-size: 13px; color: rgba(255,255,255,.65); }
.ind-show__facts b{ font-family: "DM Serif Text", Georgia, serif; font-weight: 400; font-size: 32px; color: #fff; }
@media (max-width: 1100px){ .ind-cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px){
  .apage section.sector-hero.ind-hero{ min-height: 560px; }
  .ind-hero__copy{ left: 20px; right: 20px; width: auto; bottom: 36px; }
  .ind-hero__shade{ background: linear-gradient(0deg, rgba(5,8,18,.92) 0%, rgba(5,8,18,.55) 45%, rgba(5,8,18,.1) 75%); }
  .ind-duo__grid, .ind-aud__grid{ grid-template-columns: minmax(0, 1fr); }
  .apage .ind-show__card{ grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px){ .ind-cards{ grid-template-columns: minmax(0, 1fr); } .ind-hero__ctas .ind-btn{ width: 100%; justify-content: center; } }

/* ================================================================ 3D engine overlays (landing + dashboard) */
.twin__canvas{ display: block; width: 100%; height: 100%; touch-action: none; }
.twin__labels{ position: absolute; inset: 0; pointer-events: none; display: none; }
.twin__labels.is-on{ display: block; }
.twin__area{ position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid color-mix(in srgb, var(--c) 70%, transparent); border-radius: 999px; background: rgba(7,11,22,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font: 600 12px "Inter", sans-serif; white-space: nowrap; pointer-events: auto; cursor: pointer; }
.twin__area b{ display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #070b16; font-size: 11px; }
.twin__tip{ position: absolute; left: 0; top: 0; padding: 6px 10px; border-radius: 8px; background: rgba(7,11,22,.88); color: #fff; font: 500 12.5px "Inter", sans-serif; pointer-events: none; white-space: nowrap; z-index: 5; }

/* ================================================================ dashboard */
body.twpage{ background: #070809; }
.tw{ --tw-bg: #070809; --tw-panel: rgba(17,18,21,.96); --tw-line: rgba(255,255,255,.08); --tw-text: #eceef1; --tw-muted: #8b9098; --tw-accent: #ffffff;
  position: relative; display: grid; grid-template-rows: 60px minmax(0, 1fr); height: 100vh; height: 100dvh; background: var(--tw-bg); color: var(--tw-text); font-family: "Inter", system-ui, sans-serif; overflow: hidden; }
.tw button{ font: inherit; color: inherit; }
.tw__top{ display: flex; align-items: center; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--tw-line); background: #0b0c0e; }
.tw__brand{ display: flex; align-items: baseline; gap: 6px; flex: none; color: #fff; text-decoration: none; font-size: 15px; letter-spacing: .02em; }
.tw__brand b{ font-weight: 800; letter-spacing: .06em; }
.tw__brand span{ padding-left: 8px; margin-left: 2px; border-left: 1px solid var(--tw-line); font-size: 12px; color: var(--tw-accent); letter-spacing: .12em; text-transform: uppercase; }
.tw__title{ display: flex; align-items: center; gap: 12px; min-width: 0; margin-left: 10px; }
.tw__title h1{ margin: 0; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw__badge{ flex: none; padding: 4px 9px; border-radius: 999px; background: rgba(250,204,21,.12); color: #facc15; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.tw__views{ display: inline-flex; margin-left: auto; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); }
.tw__views button{ height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 600; color: var(--tw-muted); cursor: pointer; }
.tw__views button[aria-pressed="true"]{ background: #fff; color: #070b16; }
.tw__tools{ display: flex; align-items: center; gap: 8px; }
.tw__icon, .tw__lang{ display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--tw-line); border-radius: 10px; background: rgba(255,255,255,.04); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.tw__icon[aria-pressed="true"]{ border-color: var(--tw-accent); color: var(--tw-accent); }
.tw__back{ display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; background: #fff; color: #070b16; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tw__body{ position: relative; display: grid; grid-template-columns: 0 auto minmax(0, 1fr) auto 0; min-height: 0; transition: grid-template-columns .3s ease; }
.tw.left-open .tw__body{ grid-template-columns: 300px auto minmax(0, 1fr) auto 0; }
.tw.right-open .tw__body{ grid-template-columns: 0 auto minmax(0, 1fr) auto 360px; }
.tw.left-open.right-open .tw__body{ grid-template-columns: 300px auto minmax(0, 1fr) auto 360px; }
.tw__panel{ min-width: 0; overflow: hidden; background: var(--tw-panel); }
.tw__left{ border-right: 1px solid var(--tw-line); }
.tw__right{ border-left: 1px solid var(--tw-line); }
.tw__panel > [data-tabs]{ display: flex; flex-direction: column; height: 100%; width: 300px; }
.tw__right > [data-tabs]{ width: 360px; }
.tw__tabs{ display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--tw-line); }
.tw__tabs button{ flex: 1; height: 38px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 13px; font-weight: 600; color: var(--tw-muted); cursor: pointer; }
.tw__tabs button[aria-selected="true"]{ color: #fff; border-bottom-color: var(--tw-accent); }
.tw__pane{ flex: 1; overflow-y: auto; padding: 14px; scrollbar-width: thin; scrollbar-color: #2a2c31 transparent; }
.tw__toggle{ position: relative; z-index: 3; width: 22px; border: 0; background: #0e0f12; color: var(--tw-muted); cursor: pointer; border-left: 1px solid var(--tw-line); border-right: 1px solid var(--tw-line); }
.tw__toggle span{ display: block; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tw__toggle:hover{ color: #fff; }
.tw__stage{ position: relative; min-width: 0; overflow: hidden; background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(92,98,110,.22), transparent 70%), radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.2px) 0 0 / 22px 22px, #070809; }
.tw__stage .twin__canvas{ position: absolute; inset: 0; }
.tw__loading[hidden]{ display: none; }
.tw__loading{ position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--tw-muted); }
.tw__strip{ position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.tw__strip div{ padding: 9px 14px; border: 1px solid var(--tw-line); border-radius: 12px; background: rgba(17,18,21,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tw__strip span{ display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tw-muted); }
.tw__strip b{ display: block; margin-top: 2px; font-size: 15px; font-weight: 600; }
.tw-search{ width: 100%; height: 38px; margin-bottom: 10px; padding: 0 12px; border: 1px solid var(--tw-line); border-radius: 10px; background: rgba(255,255,255,.04); color: #fff; font: 14px "Inter", sans-serif; }
.tw-group{ margin-bottom: 6px; border-radius: 10px; }
.tw-group summary{ display: flex; align-items: center; gap: 8px; padding: 9px 8px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; }
.tw-group summary::-webkit-details-marker{ display: none; }
.tw-group summary i{ width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tw-group summary em{ margin-left: auto; font-style: normal; font-size: 11px; color: var(--tw-muted); }
.tw-group ul{ margin: 0 0 6px; padding: 0 0 0 17px; list-style: none; }
.tw-group li button, .tw-links button{ display: block; width: 100%; padding: 7px 10px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 13px; color: #cfd3d8; cursor: pointer; }
.tw-group li button:hover, .tw-links button:hover{ background: rgba(255,255,255,.06); color: #fff; }
.tw-group li button.is-on{ background: rgba(255,255,255,.1); color: #fff; }
.tw-steps{ margin: 0; padding: 0; list-style: none; }
.tw-steps button{ display: flex; gap: 12px; width: 100%; padding: 10px 8px; border: 0; border-radius: 10px; background: none; text-align: left; cursor: pointer; }
.tw-steps button:hover, .tw-steps button.is-on{ background: rgba(255,255,255,.06); }
.tw-step__n{ flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #070b16; font-size: 12px; font-weight: 700; }
.tw-steps b{ display: block; font-size: 13.5px; }
.tw-steps small{ display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; color: var(--tw-muted); }
.tw-k{ margin: 18px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tw-muted); }
.tw-hint{ margin: 0 0 10px; font-size: 12px; color: var(--tw-muted); }
.tw-streams{ display: flex; flex-wrap: wrap; gap: 6px; }
.tw-streams button{ display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--tw-line); border-radius: 999px; background: none; font-size: 12.5px; cursor: pointer; }
.tw-streams button[aria-pressed="true"]{ border-color: #fff; background: rgba(255,255,255,.1); }
.tw-streams i, .tw-links i, .tw-legend i, .tw-detail__area i{ width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }
.tw-empty{ margin: 6px 0; font-size: 14px; line-height: 1.55; color: var(--tw-muted); }
.tw-detail__area{ display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 600; color: var(--tw-muted); }
.tw-detail__name{ margin: 8px 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.tw-detail__fn{ margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: #cfd3d8; }
.tw-detail__k{ margin: 16px 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tw-muted); }
.tw-specs{ width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tw-specs th{ padding: 8px 0; text-align: left; font-weight: 500; color: var(--tw-muted); border-bottom: 1px solid var(--tw-line); }
.tw-specs td{ padding: 8px 0; text-align: right; font-weight: 600; border-bottom: 1px solid var(--tw-line); }
.tw-links{ margin: 0; padding: 0; list-style: none; }
.tw-links button{ display: flex; align-items: center; gap: 8px; }
.tw-links small{ margin-left: auto; font-size: 11px; color: var(--tw-muted); }
.tw-note{ margin: 16px 0 0; font-size: 11.5px; line-height: 1.5; color: #facc15; opacity: .85; }
.tw-kpis{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tw-kpi{ padding: 11px 12px; border: 1px solid var(--tw-line); border-radius: 12px; background: rgba(255,255,255,.03); }
.tw-kpi span{ display: block; font-size: 11px; color: var(--tw-muted); }
.tw-kpi b{ display: block; margin-top: 3px; font-size: 17px; font-weight: 600; }
.tw-kpi small{ display: block; margin-top: 2px; font-size: 11px; color: var(--tw-muted); }
.tw-kpi.is-bad b{ color: #f87171; }
.tw-inputs fieldset{ margin: 16px 0 0; padding: 0; border: 0; }
.tw-inputs legend{ margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tw-muted); }
.tw-range{ display: block; padding: 8px 0; }
.tw-range__top{ display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.tw-range output{ font-weight: 600; color: #fff; white-space: nowrap; }
.tw-range input{ width: 100%; margin: 8px 0 0; accent-color: var(--tw-accent); }
.tw-reset{ margin-top: 10px; padding: 8px 12px; border: 1px solid var(--tw-line); border-radius: 10px; background: none; font-size: 12.5px; cursor: pointer; }
.tw-bars{ margin: 0; padding: 0; list-style: none; }
.tw-bars li{ display: grid; grid-template-columns: 112px minmax(0, 1fr) 62px; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; }
.tw-bar__l{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cfd3d8; }
.tw-bar{ height: 8px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.tw-bar i{ display: block; height: 100%; border-radius: 4px; }
.tw-bar__v{ text-align: right; font-weight: 600; }
.tw-opex{ display: flex; align-items: center; gap: 14px; }
.tw-donut{ width: 120px; flex: none; }
.tw-donut__v{ font: 700 18px "Inter", sans-serif; fill: #fff; }
.tw-donut__u{ font: 500 9px "Inter", sans-serif; fill: #8b9098; }
.tw-legend{ flex: 1; margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.tw-legend li{ display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.tw-legend b{ margin-left: auto; }
.tw-months{ display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: 4px; height: 130px; margin: 0; padding: 0; list-style: none; }
.tw-months li{ display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.tw-months i{ display: block; width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #f1f3f5, #8b9098); }
.tw-months span{ font-size: 10px; color: var(--tw-muted); }
@media (max-width: 1200px){ .tw__title .tw__badge{ display: none; } }
@media (max-width: 900px){
  .tw{ grid-template-rows: auto minmax(0, 1fr); }
  .tw__top{ flex-wrap: wrap; gap: 8px 10px; padding: 10px 12px; }
  .tw__title{ order: 3; flex-basis: 100%; margin: 0; }
  .tw__title h1{ font-size: 14px; }
  .tw__views{ order: 4; margin-left: 0; }
  .tw__views button{ padding: 0 10px; font-size: 12px; }
  .tw__tools{ margin-left: auto; }
  .tw__back{ padding: 0 10px; font-size: 12px; }
  .tw__body, .tw.left-open .tw__body, .tw.right-open .tw__body, .tw.left-open.right-open .tw__body{ grid-template-columns: minmax(0, 1fr); }
  .tw__stage{ grid-row: 1; grid-column: 1; }
  .tw__toggle{ position: absolute; top: 12px; width: auto; height: 34px; padding: 0 12px; border: 1px solid var(--tw-line); border-radius: 999px; background: rgba(7,11,22,.85); color: #fff; }
  .tw__toggle span{ writing-mode: horizontal-tb; transform: none; }
  .tw__toggle--left{ left: 12px; } .tw__toggle--right{ right: 12px; }
  .tw__panel{ position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 62%; border: 0; border-top: 1px solid var(--tw-line); border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform .3s ease; }
  .tw.left-open .tw__left, .tw.right-open .tw__right{ transform: none; }
  .tw__panel > [data-tabs], .tw__right > [data-tabs]{ width: 100%; }
  .tw__strip{ top: 56px; bottom: auto; }
  .tw__strip div{ padding: 6px 10px; }
  .tw__strip b{ font-size: 13px; }
}
@media (prefers-reduced-motion: reduce){ .tw__body, .tw__panel{ transition: none; } }

.tw__title h1{ text-transform: none; letter-spacing: -.01em; font-family: "Inter", system-ui, sans-serif; }
.tw h2, .tw h3{ text-transform: none; letter-spacing: -.01em; font-family: "Inter", system-ui, sans-serif; }
.twin__area{ gap: 6px; padding: 4px 10px 4px 4px; font-size: 11px; }
.twin__area b{ width: 19px; height: 19px; font-size: 10px; }

/* black studio: brand, views, KPI accents */
.tw__brand span{ color: var(--tw-muted); }
.tw__views{ background: #16171b; }
.tw__icon[aria-pressed="true"]{ border-color: #fff; color: #fff; }
.tw-kpi{ background: #16171b !important; border-color: var(--tw-line) !important; }
/* panel toggles: clear hide / show buttons over the 3D stage (desktop) */
@media (min-width: 901px){
  .tw__body, .tw.left-open .tw__body, .tw.right-open .tw__body, .tw.left-open.right-open .tw__body{ grid-template-columns: 0 minmax(0, 1fr) 0; }
  .tw.left-open .tw__body{ grid-template-columns: 300px minmax(0, 1fr) 0; }
  .tw.right-open .tw__body{ grid-template-columns: 0 minmax(0, 1fr) 360px; }
  .tw.left-open.right-open .tw__body{ grid-template-columns: 300px minmax(0, 1fr) 360px; }
  .tw__toggle{ position: absolute; top: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; width: auto; height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(20,21,25,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; transition: left .3s ease, right .3s ease, background .2s, color .2s; }
  .tw__toggle:hover{ background: #fff; color: #0b0c0e; }
  .tw__toggle span{ writing-mode: horizontal-tb; transform: none; font-size: 12px; letter-spacing: .1em; }
  .tw__toggle::after, .tw__toggle--right::before{ font-size: 18px; line-height: 1; }
  .tw__toggle--left{ left: 14px; } .tw__toggle--left::after{ content: "›"; }
  .tw.left-open .tw__toggle--left{ left: 314px; } .tw.left-open .tw__toggle--left::after{ content: "‹"; }
  .tw__toggle--right{ right: 14px; } .tw__toggle--right::before{ content: "‹"; }
  .tw.right-open .tw__toggle--right{ right: 374px; } .tw.right-open .tw__toggle--right::before{ content: "›"; }
  .tw.left-open .tw__toggle--left span, .tw.right-open .tw__toggle--right span{ display: none; }
  .tw.left-open .tw__toggle--left, .tw.right-open .tw__toggle--right{ width: 38px; padding: 0; justify-content: center; }
  .tw__strip{ top: auto; }
  .tw__strip{ left: 14px; }
  body.twpage .wa-float{ display: none; }
}

/* ================================================================ pricing & packages (button + modal) */
.tw-price-btn{ display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: #16171b; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tw-price-btn:hover{ background: #fff; color: #0b0c0e; border-color: #fff; }
.tw-price-btn__s{ display: none; }
.tw-modal{ position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; font-family: "Inter", system-ui, sans-serif; }
.tw-modal[hidden]{ display: none; }
html.tw-modal-open{ overflow: hidden; }
.tw-modal__backdrop{ position: absolute; inset: 0; background: rgba(3,4,6,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: twFade .25s ease; }
.tw-modal__box{ position: relative; width: min(960px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: linear-gradient(160deg, #1a1b1f, #111215); box-shadow: 0 30px 80px rgba(0,0,0,.6); color: #eceef1; text-align: left; animation: twRise .3s cubic-bezier(.2,.7,.2,1); }
@keyframes twFade{ from{ opacity: 0; } }
@keyframes twRise{ from{ opacity: 0; transform: translateY(14px) scale(.98); } }
.tw-modal__x{ position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: #16171b; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.tw-modal__x:hover{ background: #fff; color: #0b0c0e; }
.tw-modal .tw-modal__t{ margin: 0; padding-right: 48px; font-family: "Inter", system-ui, sans-serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.tw-modal__intro{ margin: 8px 0 24px; max-width: 40em; font-size: 15px; line-height: 1.5; color: #a3a8af; }
.tw-pkgs{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tw-pkg{ position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: #16171b; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.tw-pkg:hover{ border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.tw-pkg input{ position: absolute; opacity: 0; pointer-events: none; }
.tw-pkg.is-on{ border-color: #fff; background: #1f2126; box-shadow: 0 0 0 1px #fff inset; }
.tw-pkg:has(input:focus-visible){ outline: 2px solid #60a5fa; outline-offset: 3px; }
.tw-pkg__top{ display: flex; align-items: center; gap: 8px; }
.tw-pkg__name{ font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.tw-pkg__rec{ padding: 3px 9px; border-radius: 999px; background: rgba(34,197,94,.16); color: #22c55e; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.tw-pkg__check{ position: relative; flex: none; width: 22px; height: 22px; margin-left: auto; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; transition: border-color .2s, background .2s; }
.tw-pkg.is-on .tw-pkg__check{ border-color: #fff; background: #fff; }
.tw-pkg.is-on .tw-pkg__check::after{ content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #0b0c0e; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tw-pkg__range{ white-space: nowrap; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.02em; color: #fff; }
.tw-pkg__text{ font-size: 14px; line-height: 1.55; color: #b5bac1; }
.tw-pkg.is-rec{ background: #1b1d22; }
.tw-modal__cta{ display: flex; align-items: center; justify-content: center; width: max-content; min-width: 260px; height: 52px; margin: 24px auto 0; padding: 0 28px; border-radius: 14px; background: #fff; color: #0b0c0e; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-decoration: none; transition: background .2s; }
.tw-modal__cta:hover{ background: #e2e5e9; }
.tw-modal__note{ margin: 14px auto 0; max-width: 46em; font-size: 12.5px; line-height: 1.5; text-align: center; color: #7d828a; }
@media (max-width: 1320px) and (min-width: 901px){ .tw-price-btn__l{ display: none; } .tw-price-btn__s{ display: inline; } }
@media (max-width: 900px){
  .tw-price-btn{ height: 40px; padding: 0 12px; }
  .tw-price-btn__l{ display: none; } .tw-price-btn__s{ display: inline; }
}
@media (max-width: 760px){
  .tw-modal{ padding: 0; align-items: end; }
  .tw-modal__box{ max-height: 92dvh; padding: 24px 18px 20px; border-radius: 22px 22px 0 0; }
  .tw-pkgs{ grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tw-pkg{ padding: 16px; gap: 6px; }
  .tw-modal__cta{ width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce){ .tw-modal__backdrop, .tw-modal__box{ animation: none; } .tw-pkg{ transition: none; } }
.tw__views button{ white-space: nowrap; }
@media (max-width: 1600px) and (min-width: 901px){ .tw__title .tw__badge{ display: none; } }
@media (max-width: 1100px) and (min-width: 901px){ .tw__brand span{ display: none; } }

/* process names on the pipes */
.twin__pipes{ position: absolute; inset: 0; overflow: hidden; pointer-events: none; display: none; }
.twin__pipes.is-on{ display: block; }
.twin__pipe{ position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 6px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); border-radius: 999px; background: rgba(12,13,15,.82); color: #fff; font: 600 10.5px "Inter", system-ui, sans-serif; letter-spacing: .02em; white-space: nowrap; visibility: hidden; }
.twin__pipe::before{ content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

/* ================================================================ Canadian case study: project, sources, networks */
.tw-flag{ flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.tw__loc{ display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 4px 10px 4px 6px; border: 1px solid var(--tw-line); border-radius: 999px; font-size: 12px; font-weight: 600; color: #d7dade; white-space: nowrap; }
.tw-proj__head{ display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tw-muted); }
.tw .tw-proj__title{ margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.2; color: #fff; }
.tw-proj__intro{ margin: 0 0 14px; font-size: 13.5px; line-height: 1.55; color: #c9cdd3; }
.tw-proj__grid{ display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 12px; margin: 0 0 14px; padding: 12px; border: 1px solid var(--tw-line); border-radius: 12px; background: rgba(255,255,255,.03); font-size: 12.5px; }
.tw-proj__grid dt{ color: var(--tw-muted); }
.tw-proj__grid dd{ display: flex; align-items: center; gap: 7px; margin: 0; color: #fff; min-width: 0; }
.tw-proj__grid a, .tw-src a, .tw-srclist a{ color: #93c5fd; text-decoration: none; }
.tw-proj__grid a:hover, .tw-src a:hover, .tw-srclist a:hover{ text-decoration: underline; }
.tw-status{ padding: 2px 8px; border-radius: 999px; background: rgba(250,204,21,.12); color: #facc15; font-size: 11.5px; font-weight: 600; }
.tw-facts{ margin: 0 0 12px; padding: 0; list-style: none; }
.tw-facts li{ display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 8px 0; border-bottom: 1px solid var(--tw-line); font-size: 12.5px; }
.tw-facts span{ color: var(--tw-muted); }
.tw-facts b{ grid-column: 1; font-weight: 500; color: #fff; }
.tw-facts em{ grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.tw-tag{ display: inline-block; padding: 1px 6px; border-radius: 5px; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.tw-tag--v{ background: rgba(34,197,94,.16); color: #4ade80; }
.tw-tag--b{ background: rgba(59,130,246,.16); color: #93c5fd; }
.tw-tag--a{ background: rgba(250,204,21,.14); color: #facc15; }
.tw-tag--c{ background: rgba(168,85,247,.16); color: #d8b4fe; }
.tw-linkbtn{ margin: 0 0 12px; padding: 0; border: 0; background: none; color: #93c5fd; font-size: 13px; font-weight: 600; cursor: pointer; }
.tw-disclosure{ margin: 10px 0 8px; padding: 10px 12px; border-left: 2px solid #facc15; border-radius: 0 8px 8px 0; background: rgba(250,204,21,.06); font-size: 11.5px; line-height: 1.5; color: #b9bec6; }
.tw-srcintro{ margin: 0 0 10px; font-size: 12.5px; line-height: 1.5; color: #b9bec6; }
.tw-src{ margin: 0 0 14px; padding: 0; list-style: none; }
.tw-src li{ display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--tw-line); font-size: 12.5px; line-height: 1.4; }
.tw-src b{ font-weight: 600; color: #fff; }
.tw-src span{ color: #c9cdd3; }
.tw-src small{ font-size: 11px; }
.tw-srclist{ margin: 0 0 12px; padding-left: 18px; font-size: 11.5px; line-height: 1.5; color: #9aa0a7; }
.tw-srclist li{ margin-bottom: 6px; }
.tw-netname{ display: flex; align-items: center; gap: 7px; margin: 10px 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tw-muted); }
.tw-netname i{ width: 8px; height: 8px; border-radius: 50%; }
.tw-flow{ display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 0 0 12px; font-size: 12.5px; }
.tw-flow dt{ color: var(--tw-muted); }
.tw-flow dd{ margin: 0; color: #fff; }
.tw-flow button{ padding: 0; border: 0; background: none; color: #93c5fd; font: inherit; text-align: left; cursor: pointer; }
.tw-flow code{ font-size: 11.5px; color: #c9cdd3; }
.tw-presets{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tw-presets button{ padding: 7px 11px; border: 1px solid var(--tw-line); border-radius: 999px; background: none; font-size: 12px; font-weight: 600; color: #c9cdd3; cursor: pointer; }
.tw-presets button[aria-pressed="true"]{ background: #fff; color: #0b0c0e; border-color: #fff; }
.tw-kpi small{ display: block; margin-top: 2px; font-size: 10.5px; color: var(--tw-muted); }
/* engineering networks panel (on the 3D stage) */
.tw-nets{ position: absolute; left: 14px; top: 62px; z-index: 4; width: 250px; max-height: calc(100% - 150px); overflow-y: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(14,15,18,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
.tw-nets__head{ display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 14px; border: 0; background: none; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; cursor: pointer; }
.tw-nets__head[aria-expanded="false"] svg{ transform: rotate(-90deg); }
.tw-nets__body{ padding: 0 12px 12px; }
.tw-nets__list{ margin: 0; padding: 0; list-style: none; }
.tw-nets__list label{ display: flex; align-items: center; gap: 8px; padding: 5px 2px; font-size: 12.5px; color: #d7dade; cursor: pointer; }
.tw-nets__list input, .tw-nets__trace input{ width: 15px; height: 15px; margin: 0; accent-color: #fff; }
.tw-nets__list i{ width: 18px; height: 4px; border-radius: 2px; flex: none; }
.tw-nets__list span{ flex: 1; }
.tw-nets__list em{ font-style: normal; font-size: 11px; color: var(--tw-muted); }
.tw-nets__btns{ display: flex; gap: 4px; margin: 8px 0; }
.tw-nets__btns button{ flex: 1; padding: 6px 4px; border: 1px solid var(--tw-line); border-radius: 8px; background: none; font-size: 11px; font-weight: 600; color: #c9cdd3; cursor: pointer; }
.tw-nets__btns button:hover{ background: rgba(255,255,255,.08); color: #fff; }
.tw-nets__trace{ display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 8px; font-size: 12px; line-height: 1.35; color: #c9cdd3; cursor: pointer; }
.tw-nets__energy{ width: 100%; height: 34px; border: 1px solid rgba(250,204,21,.5); border-radius: 9px; background: rgba(250,204,21,.08); color: #facc15; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; cursor: pointer; }
.tw-nets__energy[aria-pressed="true"]{ background: #facc15; color: #0b0c0e; }
.tw-nets__note{ margin: 8px 0 0; font-size: 10.5px; line-height: 1.4; color: #6f747c; }
.twin__pipe{ cursor: pointer; pointer-events: auto; }
.twin__pipe.is-sel{ background: #fff; color: #0b0c0e; }
.twin__caption{ position: absolute; left: 50%; top: 14px; z-index: 5; transform: translateX(-50%); max-width: min(640px, calc(100% - 140px)); padding: 9px 16px; border: 1px solid rgba(250,204,21,.4); border-radius: 999px; background: rgba(14,15,18,.92); color: #fff; font-size: 13px; line-height: 1.35; text-align: center; pointer-events: none; }
.twin__caption b{ margin-right: 8px; color: #facc15; }
@media (max-width: 1400px) and (min-width: 901px){ .tw__loc{ display: none; } }
@media (max-width: 900px){
  .tw-nets{ top: 56px; left: 10px; width: min(250px, calc(100% - 20px)); max-height: calc(100% - 120px); }
  .twin__caption{ top: auto; bottom: 64px; max-width: calc(100% - 20px); border-radius: 12px; font-size: 12px; }
}

/* ================================================================ landing: full-screen case-study showcase */
.apage section.ind-showfs, section.ind-showfs{ position: relative; display: flex; align-items: flex-end; justify-content: flex-start; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #050607; color: #fff; text-align: left; }
.ind-showfs__img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.ind-showfs__shade{ position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,5,7,.92) 0%, rgba(4,5,7,.7) 32%, rgba(4,5,7,0) 62%), linear-gradient(0deg, rgba(4,5,7,.85) 0%, rgba(4,5,7,0) 40%), linear-gradient(180deg, rgba(4,5,7,.6) 0%, rgba(4,5,7,0) 20%); }
.ind-showfs__in{ position: relative; width: 100%; padding: 0 6vw clamp(48px, 9vh, 96px); }
.ind-showfs__label{ margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.ind-showfs__copy{ max-width: 620px; }
.ind-showfs__loc{ display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 6px 12px 6px 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(0,0,0,.35); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }
.apage .ind-showfs__title, .ind-showfs__title{ margin: 0; font-family: "DM Serif Text", Georgia, serif; font-weight: 400; font-size: clamp(38px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.01em; color: #fff; text-transform: none; }
.ind-showfs__text{ margin: 18px 0 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: rgba(255,255,255,.86); }
.ind-showfs__facts{ display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 26px 0 0; padding: 0; list-style: none; }
.ind-showfs__facts li{ display: grid; }
.ind-showfs__facts b{ font-family: "DM Serif Text", Georgia, serif; font-weight: 400; font-size: 32px; line-height: 1; }
.ind-showfs__facts span{ margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.7); }
.ind-showfs__ctas{ display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 28px 0 0; }
.ind-showfs__tag{ padding: 6px 12px; border-radius: 999px; background: rgba(250,204,21,.14); color: #facc15; font-size: 12px; font-weight: 600; }
.ind-showfs__disc{ margin: 18px 0 0; max-width: 560px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.55); }
@media (max-width: 900px){
  .apage section.ind-showfs, section.ind-showfs{ height: auto; min-height: 100svh; }
  .ind-showfs__img{ height: 60%; object-position: 62% 30%; }
  .ind-showfs__shade{ background: linear-gradient(0deg, #050607 40%, rgba(5,6,7,.75) 52%, rgba(5,6,7,0) 68%), linear-gradient(180deg, rgba(5,6,7,.7) 0%, rgba(5,6,7,0) 18%); }
  .ind-showfs__in{ padding: 50svh 20px 48px; }
  .ind-showfs__facts b{ font-size: 26px; }
}
.tw .twin__pipe{ font: 600 10.5px "Inter", system-ui, sans-serif; }
.tw .tw-linkbtn{ font: 600 13px "Inter", system-ui, sans-serif; }
.tw .tw-flow button{ font: inherit; font-size: 12.5px; }
.tw .tw-presets button{ font: 600 12px "Inter", system-ui, sans-serif; }
.tw .tw-nets__btns button{ font: 600 11px "Inter", system-ui, sans-serif; }
.tw .tw-nets__energy{ font: 700 12.5px "Inter", system-ui, sans-serif; }
.tw .tw-nets__head{ font: 700 11.5px "Inter", system-ui, sans-serif; }

/* mobile: header fits the screen, networks panel at the bottom of the stage */
@media (max-width: 900px){
  .tw{ width: 100%; max-width: 100vw; overflow: hidden; }
  .tw__title{ flex-wrap: wrap; min-width: 0; max-width: 100%; gap: 6px 8px; }
  .tw__title h1{ max-width: 100%; }
  .tw__title .tw__badge{ display: none; }
  .tw__tools{ flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
  .tw-nets{ top: 156px; bottom: auto; left: 10px; max-height: calc(100% - 170px); }
  .twin__caption{ bottom: auto; top: 108px; }
}
@media (max-width: 480px){
  .tw__brand span{ display: none; }
  .tw__back{ padding: 0 10px; }
  .tw .tw-price-btn{ padding: 0 10px; }
}
@media (max-width: 900px){ .tw, .tw__body, .tw__stage{ overflow: clip; } .ind-hero__loading{ display: none; } }
.tw:not(.tw-anim) .tw__panel, .tw:not(.tw-anim) .tw__body{ transition: none !important; }

.tw .tw-energy-stop{ position: absolute; left: 50%; top: 62px; z-index: 5; transform: translateX(-50%); height: 32px; padding: 0 16px; border: 1px solid rgba(250,204,21,.55); border-radius: 999px; background: rgba(14,15,18,.92); color: #facc15; font: 700 12px "Inter", system-ui, sans-serif; letter-spacing: .04em; cursor: pointer; }
.tw .tw-energy-stop:hover{ background: #facc15; color: #0b0c0e; }
@media (max-width: 900px){ .tw .tw-energy-stop{ top: auto; bottom: 14px; } .twin__caption{ top: 108px; } }

/* mobile bottom sheets: grab handle + close button */
.tw__sheetx{ display: none; }
@media (max-width: 900px){
  .tw__panel::before{ content: ""; position: absolute; left: 50%; top: 7px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(255,255,255,.22); z-index: 2; }
  .tw .tw__sheetx{ position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: #1d1f24; color: #fff; font: 400 24px/1 "Inter", system-ui, sans-serif; cursor: pointer; }
  .tw .tw__sheetx:active{ background: #fff; color: #0b0c0e; }
  .tw__panel .tw__tabs{ padding-top: 18px; padding-right: 54px; }
}

/* view modes: thermal legend, header with six views */
.twin__legend{ position: absolute; right: 14px; bottom: 14px; z-index: 4; width: 230px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(10,12,18,.88); color: #d7dade; font: 600 11px "Inter", system-ui, sans-serif; }
.twin__legend i{ display: block; height: 8px; margin: 8px 0 4px; border-radius: 4px; background: linear-gradient(90deg, hsl(238,90%,50%), hsl(180,90%,50%), hsl(120,90%,50%), hsl(60,90%,50%), hsl(0,90%,50%)); }
.twin__legend b{ display: flex; justify-content: space-between; font-weight: 500; color: #9aa0a7; }
.twin__legend em{ font-style: normal; }
.tw__views{ max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tw__views::-webkit-scrollbar{ display: none; }
.tw__views button{ flex: none; padding: 0 11px; }
@media (max-width: 1500px) and (min-width: 901px){ .tw__title .tw__badge{ display: none; } .tw__views button{ padding: 0 9px; font-size: 12.5px; } }
@media (max-width: 1280px) and (min-width: 901px){ .tw__brand span{ display: none; } }
@media (max-width: 900px){ .twin__legend{ right: 10px; bottom: 60px; width: 200px; } .tw__views{ max-width: calc(100vw - 24px); } }

/* phones: all six view modes visible (3 × 2 grid), header kept inside the screen */
@media (max-width: 900px){
  .tw__views{ display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; max-width: 100%; overflow: visible; }
  .tw__views button{ min-width: 0; padding: 0 4px; font-size: 12px; }
  .tw__top{ box-sizing: border-box; width: 100%; }
}
@media (max-width: 560px){
  .tw__views{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-radius: 14px; }
  .tw__views button{ height: 34px; border-radius: 10px; }
}
@media (max-width: 900px){ .tw .tw__back{ display: none; } }
@media (min-width: 901px){ .tw__views{ flex: none; overflow: visible; } .tw__title{ flex: 1 1 auto; min-width: 0; } .tw__title h1{ min-width: 0; } }
@media (max-width: 900px){ body.twpage:has(.tw.left-open) .wa-float, body.twpage:has(.tw.right-open) .wa-float{ display: none; } }

/* phones: the open layers panel replaces the KPI strip, keeps half of the 3D view visible, hides WhatsApp */
@media (max-width: 900px){
  .tw.nets-open .tw__strip{ display: none; }
  .tw.nets-open .tw-nets{ top: 56px; max-height: 52%; }
  body.twpage:has(.tw.nets-open) .wa-float{ display: none; }
}

/* ================================================================ investment dashboard */
.tw-scen{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 3px; border-radius: 12px; background: #16171b; }
.tw .tw-scen button{ min-height: 34px; padding: 4px 6px; border: 0; border-radius: 9px; background: none; font: 600 11.5px/1.2 "Inter", system-ui, sans-serif; color: #b9bec6; cursor: pointer; }
.tw .tw-scen button[aria-pressed="true"]{ background: #fff; color: #0b0c0e; }
.tw-scen__note{ margin: 8px 2px 12px; font-size: 11px; line-height: 1.4; color: #facc15; }
.tw-inv{ display: block !important; }
.tw-hero{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.tw-hero__k{ padding: 10px; border: 1px solid var(--tw-line); border-radius: 12px; background: #141518; }
.tw-hero__k.is-main{ grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(20,21,24,1) 60%); }
.tw-hero__k span{ display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--tw-muted); }
.tw-hero__k b{ display: block; margin-top: 3px; font-size: 17px; font-weight: 700; color: #fff; }
.tw-hero__k.is-main b{ font-size: 30px; letter-spacing: -.02em; }
.tw-hero__k small{ display: block; font-size: 10.5px; color: var(--tw-muted); }
.tw-hero__k.is-main span{ flex-basis: 100%; }
.tw b.is-good, .tw .is-good{ color: #22c55e; }
.tw b.is-bad, .tw .is-bad{ color: #ef4444; }
.tw-chartbox{ margin-bottom: 10px; padding: 10px 10px 6px; border: 1px solid var(--tw-line); border-radius: 12px; background: #111215; }
.tw-chartbox .tw-k{ margin-top: 0; }
.tw-chart{ display: block; width: 100%; height: auto; }
.tw-chart .g{ stroke: rgba(255,255,255,.06); stroke-width: 1; }
.tw-chart .zero{ stroke: rgba(255,255,255,.35); stroke-width: 1; }
.tw-chart .ax{ font: 500 8.5px "Inter", sans-serif; fill: #8b9098; }
.tw-chart rect{ cursor: pointer; transition: opacity .15s; }
.tw-chart rect:hover{ opacity: .75; }
.tw-chart rect.pos{ fill: #22c55e; } .tw-chart rect.neg{ fill: #7f1d1d; } .tw-chart rect.inv{ fill: #ef4444; }
.tw-chart .ln{ fill: none; stroke: #e5e7eb; stroke-width: 1.4; stroke-linejoin: round; }
.tw-chart .be{ stroke: #facc15; stroke-width: 1.2; stroke-dasharray: 3 3; }
.tw-chart .bed{ fill: #facc15; }
.tw-chart .bel{ font: 700 9px "Inter", sans-serif; fill: #facc15; }
.tw-chart__read{ margin: 4px 0 0; min-height: 16px; font-size: 11.5px; color: #b9bec6; }
.tw-chart__read b{ color: #fff; }
.tw-kgrid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.tw-mix{ margin-bottom: 12px; }
.tw-mix__bar{ display: flex; height: 10px; overflow: hidden; border-radius: 5px; background: #222; }
.tw-mix__bar i:first-child{ background: #22d3ee; } .tw-mix__bar i:last-child{ background: #b7793b; }
.tw-mix__l{ display: grid; gap: 3px; margin: 6px 0 0; font-size: 11.5px; color: #c9cdd3; }
.tw-mix__l em{ display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; }
.tw-mix__l em.e{ background: #22d3ee; } .tw-mix__l em.c{ background: #b7793b; }

/* phones (real devices): one-row KPI strip that scrolls sideways, networks button below it,
   opaque bottom sheets, content clear of the browser toolbar / home indicator */
@media (max-width: 900px){
  .tw__strip{ top: 56px; left: 10px; right: 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; pointer-events: auto; }
  .tw__strip::-webkit-scrollbar{ display: none; }
  .tw__strip div{ flex: none; padding: 5px 9px; }
  .tw__strip span{ font-size: 9.5px; }
  .tw__strip b{ font-size: 12.5px; }
  .tw-nets{ top: 112px; }
  .tw.nets-open .tw-nets{ top: 56px; }
  .tw__panel{ background: #111215; }
  .tw__panel .tw__pane{ padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* phones: shorter sheets (the model stays visible above) and a selection card */
.tw-selcard{ display: none; }
@media (max-width: 900px){
  .tw__panel{ height: 52%; }
  .tw-selcard:not([hidden]){ position: absolute; left: 10px; right: 10px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(17,18,21,.96); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
  .tw-selcard__dot{ width: 10px; height: 10px; flex: none; border-radius: 50%; }
  .tw-selcard__t{ flex: 1; min-width: 0; }
  .tw-selcard__t small{ display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #8b9098; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tw-selcard__t b{ display: block; font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tw .tw-selcard__go{ flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; color: #0b0c0e; font: 600 13px "Inter", system-ui, sans-serif; }
  .tw .tw-selcard__x{ flex: none; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: #1d1f24; color: #fff; font: 400 22px/1 "Inter", system-ui, sans-serif; }
  body.twpage:has(.tw-selcard:not([hidden])) .wa-float{ display: none; }
}

/* phones: the dashboard is a full-screen app — no page scrolling behind it, scrolling stays inside the panels */
@media (max-width: 900px){
  html:has(body.twpage), body.twpage{ height: 100%; overflow: hidden; overscroll-behavior: none; }
  body.twpage .site-footer{ display: none; }
  .tw__pane, .tw-nets, .tw__strip{ overscroll-behavior: contain; }
}

/* project status: plain text like the other rows */
.tw .tw-status{ padding: 0; border-radius: 0; background: none; color: #fff; font-size: inherit; font-weight: inherit; }
.tw .tw-proj__grid a{ color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }

/* phones: fly-through video behind the hero instead of the live 3D plant */
.ind-hero__video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1s ease; }
.ind-hero__stage.is-ready .ind-hero__video{ opacity: 1; }

/* digital-twin band: plant render, glass cards 01–04 and the Base Case investment overview */
.ind-twin{ position: relative; overflow: hidden; background: #05070d; color: #fff; }
.ind-twin__bg{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.ind-twin__shade{ position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,7,13,.78) 0%, rgba(5,7,13,.25) 30%, rgba(5,7,13,.1) 52%, rgba(5,7,13,.72) 70%, rgba(5,7,13,.94) 100%); }
.ind-twin__in{ position: relative; width: min(1480px, 100% - 2 * clamp(20px, 3vw, 48px)); margin: 0 auto; padding: clamp(40px, 6vh, 72px) 0 clamp(40px, 6vh, 64px); }
.ind-twin__cards{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
.ind-twin__cards li{ padding: 22px 24px 24px; border: 1px solid rgba(148,197,255,.28); border-radius: 16px; background: rgba(12,20,36,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.ind-twin__n{ display: block; font: 700 32px/1 "Inter", system-ui, sans-serif; letter-spacing: -.02em; color: #38bdf8; }
.apage .ind-twin__cards h3{ margin: 10px 0 8px; font-size: clamp(18px, 1.4vw, 22px); font-weight: 650; line-height: 1.2; color: #fff; }
.ind-twin__cards p{ margin: 0; font-size: 15px; line-height: 1.5; color: rgba(226,236,255,.82); }
.ind-twin__gap{ height: clamp(200px, 26vw, 420px); }
.ind-twin__fin{ display: grid; grid-template-columns: 1fr 1.08fr .84fr; gap: clamp(12px, 1.2vw, 18px); }
.ind-twin__panel{ min-width: 0; padding: 20px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(10,14,22,.84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ind-twin__h{ margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.ind-twin__h b{ color: #4ade80; font-weight: 700; }
.ind-twin__panel:nth-child(2) .ind-twin__h b{ color: #fff; }
.ind-twin__kpis{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ind-twin__kpis div{ padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.03); }
.ind-twin__kpis dt, .ind-twin__side dt{ font-size: 12.5px; line-height: 1.3; color: rgba(255,255,255,.72); }
.ind-twin__kpis dd{ margin: 4px 0 0; font: 700 clamp(17px, 1.35vw, 22px)/1.15 "Inter", system-ui, sans-serif; letter-spacing: -.01em; color: #fff; white-space: nowrap; }
.ind-twin .is-good{ color: #4ade80; }
.ind-twin__chart{ display: block; width: 100%; height: auto; overflow: visible; }
.ind-twin__chart .ax line{ stroke: rgba(255,255,255,.08); stroke-width: 1; }
.ind-twin__chart .ax line.z{ stroke: rgba(255,255,255,.35); }
.ind-twin__chart .ax text{ font: 11px "Inter", system-ui, sans-serif; fill: rgba(255,255,255,.66); }
.ind-twin__chart .ln{ fill: none; stroke: #4ade80; stroke-width: 2.4; stroke-linejoin: round; }
.ind-twin__chart circle{ fill: #4ade80; }
.ind-twin__chart circle.neg{ fill: #86efac; opacity: .8; }
.ind-twin__chart circle.pb{ fill: #05070d; stroke: #fde047; stroke-width: 3; }
.ind-twin__chart .tag rect{ fill: rgba(5,12,8,.92); stroke: #4ade80; stroke-width: 1.2; }
.ind-twin__chart .tag.neg rect{ stroke: #f59e0b; }
.ind-twin__chart .tag text{ font: 10.5px "Inter", system-ui, sans-serif; fill: rgba(255,255,255,.8); }
.ind-twin__chart .tag text.b{ font-size: 13px; font-weight: 700; fill: #fff; }
.ind-twin__pay{ display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.ind-twin__ring{ position: relative; flex: none; width: clamp(130px, 10vw, 170px); aspect-ratio: 1; }
.ind-twin__ring svg{ width: 100%; height: 100%; transform: rotate(-90deg); }
.ind-twin__ring circle{ fill: none; stroke-width: 12; }
.ind-twin__ring .bg{ stroke: rgba(255,255,255,.1); }
.ind-twin__ring .fg{ stroke: #4ade80; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(74,222,128,.6)); }
.ind-twin__ring p{ position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; text-align: center; }
.ind-twin__ring small{ font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.ind-twin__ring b{ font: 700 clamp(40px, 3.4vw, 56px)/1 "Inter", system-ui, sans-serif; color: #fff; }
.ind-twin__side{ flex: 1; min-width: 0; margin: 0; }
.ind-twin__side div{ padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ind-twin__side div:last-child{ border: 0; }
.ind-twin__side dd{ margin: 3px 0 0; font: 700 clamp(18px, 1.4vw, 22px)/1.15 "Inter", system-ui, sans-serif; }
.ind-twin__foot{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 20px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }
@media (max-width: 1200px){
  .ind-twin__cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-twin__fin{ grid-template-columns: 1fr 1fr; }
  .ind-twin__pay{ grid-column: 1 / -1; }
}
@media (max-width: 760px){
  .ind-twin__bg{ height: 340px; object-position: 46% 70%; }
  .ind-twin__shade{ height: 340px; background: linear-gradient(180deg, rgba(5,7,13,.3) 0%, rgba(5,7,13,0) 45%, #05070d 100%); }
  .ind-twin__in{ padding-top: 250px; }
  .ind-twin__cards, .ind-twin__fin{ grid-template-columns: minmax(0, 1fr); }
  .ind-twin__gap{ height: 18px; }
  .ind-twin__kpis{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-twin__pay{ flex-direction: column; align-items: stretch; }
  .ind-twin__ring{ align-self: center; }
  .ind-twin__foot .ind-btn{ width: 100%; justify-content: center; }
}
@media (max-width: 900px){ .ind-hero__hint{ display: none; } }
@media (max-width: 760px){
  .ind-twin__kpis div:last-child:nth-child(odd){ grid-column: 1 / -1; }
}
/* phones: hero buttons sit above the floating WhatsApp button */
@media (max-width: 600px){ .ind-hero__copy{ bottom: calc(150px + env(safe-area-inset-bottom)); } }

/* Industrial pages: body text in Plus Jakarta Sans (self-hosted, SIL OFL — assets/fonts/LICENSES.txt).
   Headings, numbers and UI that name their own font keep it. */
@font-face{ font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/plusjakartasans-latin-ext-v12.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/plusjakartasans-latin-v12.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.indpage, body.twpage{ --ff-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.indpage .ab-p, .indpage .ab-list li, .indpage .ind-twin__cards p, .indpage .ind-aud__grid p, .indpage .ind-hero__sub, .indpage .ind-showfs__text{ font-family: var(--ff-body); }

/* digital-twin band: borderless cards, orbit video background, interactive investment overview */
.ind-twin__cards li{ border: 0; box-shadow: none; }
.ind-twin__vid{ opacity: 0; transition: opacity 1s ease; }
.ind-twin__vid.is-on{ opacity: 1; }
.ind-twin__ctl{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0 0 14px; padding: 12px 16px; border-radius: 16px; background: rgba(10,14,22,.84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ind-twin__ctl[hidden]{ display: none; }
.ind-twin__seg{ display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.06); }
.ind-twin .ind-twin__seg button{ height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: rgba(255,255,255,.75); font: 600 13.5px "Inter", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.ind-twin .ind-twin__seg button:hover{ color: #fff; }
.ind-twin .ind-twin__seg button[aria-pressed="true"]{ background: #4ade80; color: #04130a; }
.ind-twin__sl{ display: flex; flex-direction: column; gap: 4px; flex: 1 1 180px; min-width: 160px; max-width: 280px; font-size: 12.5px; color: rgba(255,255,255,.72); }
.ind-twin__sl output{ float: right; font-weight: 700; color: #fff; }
.ind-twin__sl input{ width: 100%; accent-color: #4ade80; }
.ind-twin .ind-twin__reset{ height: 34px; padding: 0 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; background: none; color: #fff; font: 600 13px "Inter", system-ui, sans-serif; cursor: pointer; }
.ind-twin .ind-twin__reset[hidden]{ display: none; }
.ind-twin .is-bad{ color: #f87171; }
.ind-twin__kpis dd, .ind-twin__side dd, .ind-twin__ring b{ transition: color .3s ease; }
.ind-twin__ring .fg{ transition: stroke-dasharray .6s ease; }
.ind-twin__ring.is-bad .fg{ stroke: #f87171; filter: none; }
.ind-twin__chart{ touch-action: pan-y; cursor: crosshair; }
.ind-twin__chart .ln.is-bad{ stroke: #f87171; }
.ind-twin__chart.is-hover .tag{ opacity: .25; transition: opacity .2s; }
.ind-twin__chart .hov__l{ stroke: rgba(255,255,255,.4); stroke-dasharray: 3 3; }
.ind-twin__chart .hov__d{ fill: #4ade80; stroke: #fff; stroke-width: 2; }
.ind-twin__chart .hov__d.neg{ fill: #f59e0b; }
.ind-twin__chart .hov__t rect{ fill: #fff; }
.ind-twin__chart .hov__t text{ font: 10.5px "Inter", system-ui, sans-serif; fill: #3a3f47; }
.ind-twin__chart .hov__t text.b{ font-size: 13px; font-weight: 700; fill: #04130a; }
@media (max-width: 760px){
  .ind-twin__ctl{ flex-direction: column; align-items: stretch; }
  .ind-twin__seg{ overflow-x: auto; }
  .ind-twin .ind-twin__seg button{ flex: 1; padding: 0 8px; font-size: 12.5px; }
  .ind-twin__sl{ max-width: none; }
  .ind-twin__vid{ height: 340px; object-position: 46% 70%; }
}
.ind-twin__chart .hov[hidden]{ display: none; }
@media (max-width: 760px){
  .ind-twin__sl{ flex: none; min-width: 0; }
  .ind-twin__seg{ overflow: visible; }
  .ind-twin .ind-twin__seg button{ min-width: 0; height: auto; min-height: 40px; padding: 6px; white-space: normal; line-height: 1.2; }
}
@media (max-width: 760px){
  .ind-twin__chart .ax text{ font-size: 13px; }
  .ind-twin__chart .tag text{ font-size: 11.5px; }
  .ind-twin__chart .tag text.b{ font-size: 14px; }
}

/* process section: captioned fly-through film under the list of areas */
.ind-film{ margin-top: clamp(40px, 6vh, 72px); }
.ind-film__frame{ position: relative; overflow: hidden; border-radius: 18px; background: #05070d; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -30px rgba(5,8,18,.45); }
.ind-film__v{ display: block; width: 100%; height: 100%; object-fit: cover; background: #05070d; }
.ind-film__cap{ margin: 16px 0 0; max-width: 62em; font-family: var(--ff-body); font-size: 14.5px; line-height: 1.6; color: var(--a-text, #3c4252); }
.ind-film__cap b{ color: var(--a-ink, #0b1020); font-weight: 600; }
.ind-film__cap span{ margin-left: 8px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #8b9098; }
@media (max-width: 760px){ .ind-film__frame{ border-radius: 12px; } }
.indpage .ab-p--strong{ font-weight: 400; }
.indpage .ab-p{ line-height: 1.65; }

/* ============ dashboard: light theme (toggle in the top bar; dark stays the default) ============ */
.tw__moon{ display: none; }
.tw--light .tw__sun{ display: none; }
.tw--light .tw__moon{ display: block; }
body.twpage.tw-light{ background: #eef0f3; }
.tw.tw--light{ --tw-bg: #eef0f3; --tw-panel: rgba(255,255,255,.97); --tw-line: rgba(15,23,42,.1); --tw-text: #141821; --tw-muted: #5d6673; --tw-accent: #0b0c0e; color-scheme: light; }
.tw--light .tw__top{ background: #ffffff; }
.tw--light .tw__brand, .tw--light .tw__icon, .tw--light .tw__lang, .tw--light .tw-price-btn, .tw--light .tw-price-btn:hover{ color: #141821; }
.tw--light .tw__icon, .tw--light .tw__lang{ background: #fff; border-color: rgba(15,23,42,.14); }
.tw--light .tw-price-btn{ background: #fff; border-color: rgba(15,23,42,.18); }
.tw--light .tw__icon[aria-pressed="true"]{ border-color: #141821; color: #141821; }
.tw--light .tw__views, .tw--light .tw-scen{ background: #e6e9ee; }
.tw--light .tw__views button[aria-pressed="true"], .tw--light .tw-presets button[aria-pressed="true"]{ background: #0b0c0e; color: #fff; }
.tw--light .tw__stage{ background: radial-gradient(ellipse 60% 55% at 50% 45%, #f8f9fb, #dde1e7 75%); }
.tw--light .tw__panel{ background: #ffffff; }
.tw--light .tw__toggle{ background: #fff; color: #141821; border-color: rgba(15,23,42,.14); }
.tw--light .tw__toggle:hover{ color: #000; }
.tw--light .tw__tabs button[aria-selected="true"]{ color: #0b0c0e; }
.tw--light .tw__strip div, .tw--light .tw-nets, .tw--light .twin__legend, .tw--light .twin__caption{ background: rgba(255,255,255,.94); border-color: rgba(15,23,42,.1); color: #141821; box-shadow: 0 6px 18px rgba(15,23,42,.08); }
.tw--light .tw__strip b, .tw--light .tw-nets__head, .tw--light .twin__caption{ color: #141821; }
.tw--light .tw-search{ background: #f3f5f8; color: #141821; }
.tw--light .tw-group li button:hover, .tw--light .tw-links button:hover, .tw--light .tw-steps button:hover, .tw--light .tw-steps button.is-on, .tw--light .tw-nets__btns button:hover{ background: rgba(15,23,42,.05); color: #0b0c0e; }
.tw--light .tw-group li button.is-on, .tw--light .tw-streams button[aria-pressed="true"]{ color: #0b0c0e; border-color: #0b0c0e; background: rgba(15,23,42,.05); }
.tw--light .tw-kpi, .tw--light .tw-hero__k, .tw--light .tw-chartbox, .tw--light .tw-proj__grid{ background: #f6f7f9 !important; }
.tw--light .tw-bar{ background: rgba(15,23,42,.08); }
.tw--light .tw-range output, .tw--light .tw .tw-proj__title, .tw--light .tw-proj__grid dd, .tw--light .tw-facts b, .tw--light .tw-src b, .tw--light .tw-flow dd, .tw--light .tw-hero__k b, .tw--light .tw-chart__read b, .tw--light .tw-status, .tw--light .tw-proj__grid a{ color: #141821; }
.tw.tw--light .tw-proj__title, .tw.tw--light .tw-status, .tw.tw--light .tw-proj__grid a{ color: #141821; text-decoration-color: rgba(15,23,42,.3); }
.tw--light .tw-hero__k b.is-good, .tw--light .is-good{ color: #15803d; }
.tw--light .is-bad{ color: #dc2626; }
.tw--light .tw-hero__k.is-main{ background: linear-gradient(135deg, rgba(34,197,94,.14), rgba(34,197,94,.03)) !important; }
.tw--light .tw-nets__list input, .tw--light .tw-nets__trace input{ color: #141821; }
.tw--light .tw-selcard:not([hidden]){ background: rgba(255,255,255,.97); border-color: rgba(15,23,42,.12); box-shadow: 0 12px 30px rgba(15,23,42,.18); }
.tw--light .tw-selcard__t b{ color: #141821; }
.tw.tw--light .tw-selcard__go{ background: #0b0c0e; color: #fff; }
.tw.tw--light .tw-selcard__x, .tw.tw--light .tw__sheetx{ background: #f1f3f6; color: #141821; border-color: rgba(15,23,42,.14); }
.tw--light .twin__tip, .tw--light .twin__area{ color: #141821; }
.tw--light .twin__tip{ background: rgba(255,255,255,.96); border-color: rgba(15,23,42,.12); }
.tw--light .tw-proj__intro{ color: #3f4753; }
.tw--light .tw-disclosure{ color: #5d6673; }
.tw--light .tw-tag--v{ color: #15803d; background: rgba(22,163,74,.1); border-color: rgba(22,163,74,.3); }
.tw--light .tw-scen button, .tw--light .tw-presets button{ color: #4b5563; }
.tw--light .tw-scen__note, .tw--light .tw-note{ color: #b45309; }
.tw--light .tw-chart__read, .tw--light .tw-bar__l{ color: #4b5563; }
.tw--light .tw-chart .ax{ fill: #5d6673; }
.tw--light .tw-chart .ln{ stroke: #1f2937; }
.tw--light .tw-chart .bed{ fill: #d97706; }
.tw--light .tw-chart .bel{ fill: #b45309; }
.tw--light .twin__area{ background: rgba(255,255,255,.95); border-color: rgba(15,23,42,.14); box-shadow: 0 4px 12px rgba(15,23,42,.12); }
.tw--light .twin__pipe{ background: rgba(255,255,255,.95); color: #141821; }
.tw__strip{ z-index: 2; }
.tw--light .tw__loc{ color: #3f4753; border-color: rgba(15,23,42,.14); }
.tw.tw--light .tw-price-btn, .tw.tw--light .tw-price-btn:hover{ background: #0b0c0e; border-color: #0b0c0e; color: #fff; }

/* landing: FactoryBuilder entry */
.ind-hero__build{ margin: 12px 0 0; }
.ind-hero__build .ind-btn--build{ pointer-events: auto; background: #22c55e; border-color: #22c55e; color: #04130a; }
.ind-hero__build .ind-btn--build:hover{ background: #4ade80; border-color: #4ade80; color: #04130a; }
@media (max-width: 600px){ .ind-hero__build .ind-btn{ width: 100%; justify-content: center; } }
.ind-hero__build{ display: flex; flex-wrap: wrap; gap: 12px; }

/* landing: interactive tools (cards with screenshots) */
.ind-tools__grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; list-style: none; }
.ind-tool{ display: flex; flex-direction: column; min-width: 0; }
.ind-tool__img{ display: block; overflow: hidden; border-radius: 16px; background: #05070d; aspect-ratio: 16 / 9; box-shadow: 0 24px 50px -28px rgba(5,8,18,.5); }
.ind-tool__img img{ display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ind-tool__img:hover img{ transform: scale(1.04); }
.ind-tool__k{ margin: 18px 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #2563eb; }
.apage .ind-tool__t{ margin: 0 0 10px; font: 600 clamp(20px, 1.6vw, 24px)/1.2 "Inter", system-ui, sans-serif; letter-spacing: -.01em; text-transform: none; color: #0b1020; }
.ind-tool__t a{ color: inherit; text-decoration: none; }
.ind-tool__t a:hover{ text-decoration: underline; text-underline-offset: 4px; }
.ind-tool__h{ margin: 10px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b7280; }
.indpage .ind-tool__p{ margin: 0; font-family: var(--ff-body); font-size: 15px; line-height: 1.6; color: #2b313b; }
.ind-tool__l{ margin: 0 0 18px; padding: 0 0 0 18px; font-family: var(--ff-body); font-size: 14.5px; line-height: 1.55; color: #2b313b; }
.ind-tool__l li{ margin: 3px 0; }
.ind-tool .ind-btn{ margin-top: auto; align-self: flex-start; }
.apage .ind-btn--dark{ background: #0b1020; color: #fff; }
.apage .ind-btn--dark:hover{ background: #22c55e; color: #04130a; }
.ind-tools__note{ margin: 28px 0 0; font-size: 12.5px; color: #6b7280; }
@media (max-width: 1000px){ .ind-tools__grid{ grid-template-columns: minmax(0, 1fr); max-width: 640px; } }
@media (max-width: 600px){
  .ind-hero__ctas{ margin-top: 20px; gap: 8px; }
  .ind-hero__ctas .ind-btn, .ind-hero__build .ind-btn{ min-height: 44px; font-size: 14px; }
  .ind-hero__build{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
  .ind-hero__build .ind-btn{ width: 100%; padding: 0 10px; justify-content: center; }
  .ind-hero__sub{ margin-top: 14px; }
}
@media (max-width: 600px){ .ind-hero__build .ind-btn{ font-size: 13px; white-space: nowrap; } .ind-hero__build .ind-btn span[aria-hidden]{ display: none; } }

.ind-tool__acts{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.ind-tool__acts .ind-btn{ margin-top: 0; }
.ind-tool .shr-btn{ min-height: 52px; padding: 0 20px; color: #0b1020; }
/* fly-through film: small round share icon on the frame */
.ind-film__frame{ position: relative; }
.ind-film__share{ position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(8,10,14,.62); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.ind-film__share:hover{ background: #22c55e; color: #04130a; transform: scale(1.06); }
.ind-film__share svg{ width: 19px; height: 19px; }
/* case study: share next to the main button (dark section) */
.ind-showfs__ctas .ind-showfs__share{ min-height: 52px; color: #fff; border-color: rgba(255,255,255,.35); }
.ind-showfs__ctas .ind-showfs__share:hover{ border-color: #fff; }
@media (max-width: 600px){ .ind-showfs__ctas{ gap: 10px; } .ind-showfs__ctas .ind-btn, .ind-showfs__ctas .ind-showfs__share{ width: 100%; justify-content: center; } }

/* tool cards: video loop over the still picture */
.ind-tool__img{ position: relative; }
.ind-tool__vid{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s ease, transform .6s ease; }
.ind-tool__img.has-video .ind-tool__vid{ opacity: 1; }
.ind-tool__img:hover .ind-tool__vid{ transform: scale(1.04); }
.ind-tool .shr-btn{ width: 52px; min-height: 52px; padding: 0; }
.ind-showfs__ctas .ind-showfs__share{ width: 52px; border: 0; }
.ind-showfs__ctas .ind-showfs__share:hover{ background: rgba(255,255,255,.12); }
@media (max-width: 600px){ .ind-showfs__ctas .ind-showfs__share{ width: 52px; } }
.ind-film__share{ border: 0; background: rgba(8,10,14,.5); }
/* Energy Flow: intro film over the 3D view */
.tw-intro{ position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; background: #05070d; transition: opacity .4s ease; }
.tw-intro.is-out{ opacity: 0; }
.tw-intro video{ width: 100%; height: 100%; object-fit: contain; background: #05070d; }
.tw .tw-intro__skip{ position: absolute; right: 16px; bottom: 16px; height: 40px; padding: 0 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(8,10,14,.7); color: #fff; font: 600 13px "Inter", system-ui, sans-serif; cursor: pointer; }
.tw .tw-intro__skip:hover{ background: #fff; color: #0b0c0e; }

/* energy film: full-width band under the tools, opens the live Energy Flow */
.ind-tools{ padding-bottom: 56px; }
.ind-energy{ position: relative; margin: 0; background: #05070c; color: #fff; }
.ind-energy__frame{ display: block; position: relative; aspect-ratio: 16 / 9; max-height: 92vh; width: 100%; background: #05070c url(/images/industrial/energy-film-poster.webp) center / cover no-repeat; }
.ind-energy__vid{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-energy__shade{ position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(0deg, #05070c, rgba(5,7,12,0)); pointer-events: none; }
.ind-energy__copy{ display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k k" "t a" "p a" "n n"; column-gap: 48px; align-items: end; max-width: 1200px; margin: 0 auto; padding: 36px 24px 64px; }
.ind-energy__k{ grid-area: k; margin: 0 0 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fbbf24; }
.apage .ind-energy .ind-energy__t{ grid-area: t; margin: 0 0 12px; font: 600 clamp(26px, 3vw, 42px)/1.12 "Inter", system-ui, sans-serif; letter-spacing: -.015em; text-transform: none; color: #fff; }
.indpage .ind-energy__p{ grid-area: p; margin: 0; max-width: 680px; font-family: var(--ff-body); font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.82); }
.ind-energy__copy .ind-btn{ grid-area: a; align-self: end; white-space: nowrap; }
.ind-energy__n{ grid-area: n; margin: 18px 0 0; font-size: 12px; color: rgba(255,255,255,.55); }
@media (max-width: 760px){
  .ind-tools{ padding-bottom: 40px; }
  .ind-energy__frame{ aspect-ratio: 16 / 10; }
  .ind-energy__copy{ grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "t" "p" "a" "n"; padding: 24px 20px 40px; }
  .ind-energy__copy .ind-btn{ justify-self: start; margin-top: 22px; white-space: normal; }
}
.ind-energy__share{ top: 16px; left: 16px; right: auto; z-index: 3; }

/* Energy Flow: detailed guided tour card */
.tw-tag--e{ background: rgba(148,163,184,.16); color: #cbd5e1; }
.tw.is-tour .tw__strip{ opacity: 0; pointer-events: none; }
.tw-tour{ --tc: #facc15; position: absolute; left: 16px; bottom: 16px; z-index: 6; width: min(780px, calc(100% - 32px)); padding: 14px 16px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(12,13,16,.9); color: #fff; backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(0,0,0,.45); font-family: "Inter", system-ui, sans-serif; animation: twTourIn .35s ease; }
.tw-tour[hidden]{ display: none; }
@keyframes twTourIn{ from{ opacity: 0; transform: translateY(8px); } }
.tw-tour__chs{ display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.tw-tour__chs button{ display: block; width: 100%; padding: 0; border: 0; background: none; color: rgba(255,255,255,.45); font: 500 10.5px/1.2 "Inter", system-ui, sans-serif; text-align: left; cursor: pointer; }
.tw-tour__chs button:hover, .tw-tour__chs button.is-on{ color: #fff; }
.tw-tour__chs i{ display: block; height: 3px; margin-bottom: 5px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.tw-tour__chs i b{ display: block; height: 100%; background: var(--tc); transition: width .4s ease; }
.tw-tour__chs span{ display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-tour__k{ display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tc); }
.tw-tour__n{ padding: 2px 7px; border-radius: 6px; background: var(--tc); color: #0b0c0e; letter-spacing: .02em; }
.tw .tw-tour__t{ margin: 0 0 6px; font: 600 20px/1.2 "Inter", system-ui, sans-serif; letter-spacing: -.01em; color: #fff; text-transform: none; }
.tw-tour__p{ margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.8); }
.tw-tour__facts{ display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.tw-tour__facts li{ display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 12px; font-weight: 600; }
.tw-tour__facts .tw-tag{ font-size: 9.5px; }
.tw-tour__ctl{ display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.tw-tour__ctl button{ display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.04); color: #fff; cursor: pointer; }
.tw-tour__ctl button:hover{ background: var(--tc); border-color: var(--tc); color: #0b0c0e; }
.tw-tour__ctl .tw-tour__stop{ width: auto; margin-left: auto; padding: 0 14px; border-radius: 999px; border-color: rgba(250,204,21,.5); color: #facc15; font: 700 11.5px "Inter", system-ui, sans-serif; letter-spacing: .04em; }
.tw--light .tw-tour{ background: rgba(255,255,255,.94); color: #0b1020; border-color: rgba(0,0,0,.08); box-shadow: 0 18px 40px rgba(0,0,0,.15); }
.tw--light .tw-tour .tw-tour__t{ color: #0b1020; }
.tw--light .tw-tour__p{ color: #2b313b; }
.tw--light .tw-tour__chs button{ color: #6b7280; } .tw--light .tw-tour__chs button.is-on{ color: #0b1020; }
.tw--light .tw-tour__chs i{ background: rgba(0,0,0,.1); }
.tw--light .tw-tour__facts li{ background: rgba(0,0,0,.05); }
.tw--light .tw-tour__ctl button{ color: #0b1020; border-color: rgba(0,0,0,.15); }
@media (max-width: 900px){
  .tw-tour{ left: 8px; right: 8px; bottom: 8px; width: auto; padding: 10px 12px; border-radius: 14px; max-height: 52%; overflow-y: auto; }
  .tw-tour__chs{ gap: 4px; margin-bottom: 8px; }
  .tw-tour__chs span{ display: none; }
  .tw .tw-tour__t{ font-size: 16px; }
  .tw-tour__p{ font-size: 12.5px; line-height: 1.45; }
  .tw-tour__facts li{ font-size: 11px; }
  .tw-tour__ctl{ margin-top: 8px; }
  .tw-tour__ctl button{ width: 32px; height: 32px; }
}
body.twpage:has(.tw.is-tour) .wa-float{ display: none; }
@media (max-width: 900px){
  .tw.is-tour .tw-nets{ display: none; }
  .tw-tour__facts{ flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -12px; padding-right: 12px; }
  .tw-tour__facts li{ flex: none; }
  .tw-tour{ max-height: none; }
}

/* Energy Flow focus mode: only the plant, the flows and the step card */
.tw.is-tour .tw__views, .tw.is-tour .tw-price-btn, .tw.is-tour .tw__badge, .tw.is-tour .tw-nets, .tw.is-tour .tw-selcard{ display: none !important; }
.twin__pipe b{ margin-left: 2px; padding-left: 7px; border-left: 1px solid rgba(255,255,255,.22); font-weight: 700; color: color-mix(in srgb, var(--c) 70%, #fff); }
.twin__pipe.is-sel b{ color: #0b0c0e; border-color: rgba(0,0,0,.2); }
.tw--light .twin__pipe b{ color: inherit; }
.tw.is-tour .tw__body{ grid-template-columns: minmax(0, 1fr) !important; }
.tw.is-tour .tw__stage{ grid-column: 1 / -1; grid-row: 1; }
.tw.is-tour .tw__panel, .tw.is-tour .tw__toggle{ display: none !important; }

/* Energy Flow micro-diagram (tour card): source → distribution → users → return */
.tw-sch{ --sc: #facc15; margin: 10px 0 0; }
.tw-sch svg{ display: block; width: 100%; height: auto; max-height: 92px; overflow: visible; }
.tw-sch rect{ fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.16); stroke-width: 1.2; transition: fill .4s, stroke .4s; }
.tw-sch text{ fill: rgba(255,255,255,.55); font: 600 12px "Inter", system-ui, sans-serif; text-anchor: middle; }
.tw-sch g.on rect{ fill: color-mix(in srgb, var(--sc) 22%, transparent); stroke: var(--sc); }
.tw-sch g.on text{ fill: #fff; }
.tw-sch .ar, .tw-sch .lp{ fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.6; }
.tw-sch .lp{ stroke-dasharray: 4 4; }
.tw-sch .hd{ fill: rgba(255,255,255,.3); }
.tw-sch .ar.on, .tw-sch .lp.on{ stroke: var(--sc); stroke-dasharray: 6 5; animation: twSchFlow 0.9s linear infinite; }
.tw-sch .hd.on{ fill: var(--sc); }
.tw-sch .lt{ font-size: 10px; font-weight: 500; fill: rgba(255,255,255,.4); }
@keyframes twSchFlow{ to{ stroke-dashoffset: -11; } }
@media (prefers-reduced-motion: reduce){ .tw-sch .ar.on, .tw-sch .lp.on{ animation: none; } }
.tw-sch__f{ display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.tw-sch__f li{ display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.85); }
.tw-sch__f li + li::before{ content: "·"; margin-right: 4px; color: rgba(255,255,255,.3); }
.tw-sch__f .tw-tag{ font-size: 9px; }
.tw--light .tw-sch rect{ fill: rgba(0,0,0,.03); stroke: rgba(0,0,0,.15); } .tw--light .tw-sch text{ fill: #4b5563; } .tw--light .tw-sch g.on text{ fill: #0b1020; }
.tw--light .tw-sch .ar, .tw--light .tw-sch .lp{ stroke: rgba(0,0,0,.2); } .tw--light .tw-sch__f li{ color: #1f2937; }
.tw-tour__ctl .tw-tour__xp{ width: auto; margin-left: auto; padding: 0 14px; border-radius: 999px; font: 700 11.5px "Inter", system-ui, sans-serif; }
.tw-tour__ctl .tw-tour__xp + .tw-tour__stop{ margin-left: 0; }
@media (max-width: 900px){
  .tw-tour .tw-tour__facts{ display: none; }
  .tw-sch text{ font-size: 10.5px; } .tw-sch .lt{ font-size: 9.5px; }
  .tw-tour__ctl .tw-tour__xp{ padding: 0 10px; }
}

/* Energy exploration (three levels) */
.tw.is-explore .tw-tour, .tw.is-explore .tw-energy-stop{ display: none !important; }
.tw-xp__top{ position: absolute; left: 14px; right: 360px; top: 12px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; pointer-events: none; }
.tw-xp__top > *{ pointer-events: auto; }
.tw-xp__mode, .tw-xp__views{ display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(12,13,16,.86); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.08); }
.tw-xp__views{ overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tw-xp__mode button, .tw-xp__views button{ display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: rgba(255,255,255,.72); font: 600 12px "Inter", system-ui, sans-serif; white-space: nowrap; cursor: pointer; }
.tw-xp__views i{ width: 8px; height: 8px; border-radius: 50%; }
.tw-xp__mode button[aria-pressed="true"], .tw-xp__views button[aria-pressed="true"]{ background: #fff; color: #0b0c0e; }
.tw-xp__mode button:hover, .tw-xp__views button:hover{ color: #fff; } .tw-xp__views button[aria-pressed="true"]:hover{ color: #0b0c0e; }
.tw-xp__areas{ position: absolute; left: 14px; right: 360px; bottom: 14px; z-index: 6; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.tw-xp__lbl{ flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-right: 4px; }
.tw-xp__areas button{ flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(12,13,16,.86); color: rgba(255,255,255,.85); font: 600 12px "Inter", system-ui, sans-serif; cursor: pointer; backdrop-filter: blur(8px); }
.tw-xp__areas button i{ width: 8px; height: 8px; border-radius: 2px; }
.tw-xp__areas button[aria-pressed="true"]{ border-color: #fff; background: #fff; color: #0b0c0e; }
.tw-xp__panel{ position: absolute; right: 12px; top: 12px; bottom: 12px; z-index: 6; width: 330px; overflow-y: auto; padding: 12px 14px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(12,13,16,.9); color: #fff; backdrop-filter: blur(10px); font-family: "Inter", system-ui, sans-serif; scrollbar-width: thin; }
.tw .tw-xp__panel h3{ margin: 6px 0 6px; font: 600 18px/1.25 "Inter", system-ui, sans-serif; color: #fff; text-transform: none; letter-spacing: -.01em; }
.tw-xp__crumbs{ display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 11.5px; color: rgba(255,255,255,.45); }
.tw-xp__crumbs button{ padding: 0; border: 0; background: none; color: #93c5fd; font: inherit; cursor: pointer; }
.tw-xp__crumbs b{ color: #fff; font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-xp__crumbs .tw-xp__x{ margin-left: auto; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; font-size: 15px; line-height: 1; }
.tw-xp__p, .tw-xp__how{ margin: 0 0 8px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.72); }
.tw-xp__how{ padding: 8px 10px; border-left: 2px solid #3b82f6; background: rgba(59,130,246,.08); border-radius: 0 8px 8px 0; color: rgba(255,255,255,.85); }
.tw-xp__k{ margin: 14px 0 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 6px; }
.tw-xp__id{ margin: 8px 0 0; font: 600 11px ui-monospace, monospace; color: #93c5fd; }
.tw-xp__kpi{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.tw-xp__kpi li{ position: relative; padding: 8px 9px; border-radius: 10px; background: rgba(255,255,255,.05); }
.tw-xp__kpi span{ display: block; font-size: 10.5px; color: rgba(255,255,255,.55); }
.tw-xp__kpi b{ display: block; margin-top: 2px; font-size: 15px; font-weight: 700; }
.tw-xp__kpi small{ font-size: 11px; font-weight: 700; } .tw-xp__kpi small.dn{ color: #4ade80; } .tw-xp__kpi small.up{ color: #f87171; }
.tw-xp__kpi .tw-tag{ position: absolute; right: 6px; top: 6px; font-size: 8.5px; }
.tw-xp__bar{ display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 1px; }
.tw-xp__leg{ display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 11px; color: rgba(255,255,255,.7); }
.tw-xp__leg li{ display: flex; align-items: center; gap: 5px; } .tw-xp__leg i{ width: 8px; height: 8px; border-radius: 2px; flex: none; } .tw-xp__leg b{ margin-left: auto; color: #fff; font-weight: 600; }
.tw-xp__scen{ margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tw-xp__scen label{ display: flex; gap: 8px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; }
.tw-xp__scen input{ margin-top: 2px; accent-color: #22c55e; }
.tw-xp__scen b{ display: block; font-size: 12.5px; } .tw-xp__scen small{ display: block; margin-top: 2px; font-size: 11px; line-height: 1.4; color: rgba(255,255,255,.6); }
.tw-xp__sum{ margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: rgba(34,197,94,.1); font-size: 12px; color: #bbf7d0; }
.tw-xp__list, .tw-xp__conn, .tw-xp__specs{ margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.tw-xp__list button, .tw-xp__conn button{ display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 9px; border: 0; border-radius: 9px; background: rgba(255,255,255,.04); color: #fff; text-align: left; cursor: pointer; font: inherit; }
.tw-xp__list button:hover, .tw-xp__conn button:hover{ background: rgba(255,255,255,.09); }
.tw-xp__list span, .tw-xp__conn span{ min-width: 0; flex: 1; font-size: 12.5px; }
.tw-xp__list b{ display: block; font-weight: 600; } .tw-xp__list small, .tw-xp__conn small{ display: block; font-size: 10.5px; color: rgba(255,255,255,.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-xp__list em, .tw-xp__conn em{ flex: none; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.08); }
.tw-xp__list em{ background: color-mix(in srgb, var(--c) 30%, transparent); }
.tw-xp__conn i{ width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tw-xp__specs li{ display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12px; }
.tw-xp__specs span{ color: rgba(255,255,255,.55); } .tw-xp__specs b{ margin-left: auto; font-weight: 600; text-align: right; }
.tw-xp__trace{ display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.8); cursor: pointer; }
.tw-xp__note{ margin: 10px 0 0; font-size: 11px; color: rgba(255,255,255,.5); }
.tw-nets__explore{ margin-top: 6px; background: rgba(59,130,246,.16) !important; border-color: rgba(59,130,246,.5) !important; color: #bfdbfe !important; }
@media (max-width: 900px){
  .tw-xp__top{ right: 10px; left: 10px; top: 8px; }
  .tw-xp__mode button, .tw-xp__views button{ height: 28px; padding: 0 10px; font-size: 11.5px; }
  .tw-xp__panel{ left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; max-height: 46%; border-radius: 14px; }
  .tw-xp__areas{ left: 10px; right: 10px; bottom: calc(46% + 16px); }
  .tw-xp__lbl{ display: none; }
}

/* Equipment Register (Interactive Factory left panel, FactoryBuilder Equipment panel) */
.rg-head{ display: flex; align-items: center; gap: 8px; margin: 2px 0 8px; }
.rg-head h3{ margin: 0; font: 600 15px "Inter", system-ui, sans-serif; color: #fff; text-transform: none; letter-spacing: 0; }
.rg-head > span{ font-size: 11px; color: rgba(255,255,255,.5); }
.rg-head .rg-ic{ margin-left: auto; }
.rg-q{ width: 100%; height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.04); color: #fff; font: 13px "Inter", system-ui, sans-serif; }
.rg-filters{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 6px; }
.rg-filters select{ min-width: 0; height: 30px; padding: 0 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: #16171b; color: #e5e7eb; font: 11.5px "Inter", system-ui, sans-serif; }
.rg-acts{ display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 8px; }
.rg-acts button{ height: 28px; padding: 0 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: none; color: rgba(255,255,255,.8); font: 600 11px "Inter", system-ui, sans-serif; cursor: pointer; }
.rg-acts button:hover{ border-color: #3b82f6; color: #fff; }
.rg-acts [data-rg-csv]{ margin-left: auto; border-color: rgba(59,130,246,.5); color: #bfdbfe; }
.rg-dept{ border-top: 1px solid rgba(255,255,255,.07); }
.rg-dh{ display: flex; align-items: center; }
.rg-dh > button:first-child{ flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 9px 2px; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; font: inherit; }
.rg-dh i{ width: 9px; height: 9px; border-radius: 2px; flex: none; }
.rg-dh span{ flex: 1; min-width: 0; } .rg-dh b{ display: block; font-size: 12.5px; font-weight: 600; } .rg-dh small{ display: block; font-size: 10.5px; color: rgba(255,255,255,.5); }
.rg-dh svg{ color: rgba(255,255,255,.5); transition: transform .2s; } .rg-dept.is-open .rg-dh svg{ transform: rotate(180deg); }
.rg-list{ margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 4px; }
.rg-card{ border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid transparent; }
.rg-card.is-sel{ border-color: #3b82f6; background: rgba(59,130,246,.1); }
.rg-row{ display: flex; align-items: center; gap: 2px; padding-right: 4px; }
.rg-main{ flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 7px 8px; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; font: inherit; }
.rg-main span{ flex: 1; min-width: 0; } .rg-main b{ display: block; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rg-main small{ display: block; font: 600 10px ui-monospace, monospace; color: rgba(147,197,253,.8); }
.rg-fig{ flex: none; font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; }
.rg-fig--power{ background: rgba(250,204,21,.18); color: #fde68a; } .rg-fig--steam, .rg-fig--gas{ background: rgba(249,115,22,.18); color: #fed7aa; } .rg-fig--cool{ background: rgba(59,130,246,.2); color: #bfdbfe; } .rg-fig--water{ background: rgba(20,184,166,.2); color: #99f6e4; } .rg-fig--air{ background: rgba(147,197,253,.18); color: #dbeafe; }
.rg-ic{ flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: rgba(255,255,255,.65); cursor: pointer; }
.rg-ic:hover{ background: rgba(255,255,255,.1); color: #fff; }
.rg-det{ margin: 0; padding: 2px 10px 10px; list-style: none; display: grid; gap: 0; }
.rg-det li{ display: flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 11.5px; }
.rg-det li > span{ color: rgba(255,255,255,.55); } .rg-det li > b{ margin-left: auto; font-weight: 600; text-align: right; color: #fff; }
.rg-det code{ font: 600 11px ui-monospace, monospace; color: #93c5fd; }
.rg-det .rg-fn{ display: block; color: rgba(255,255,255,.75); line-height: 1.45; }
.rg-det .rg-nets{ flex-wrap: wrap; gap: 4px; border: 0; padding-top: 6px; }
.rg-nets button{ display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: none; color: rgba(255,255,255,.8); font: 600 10.5px "Inter", system-ui, sans-serif; cursor: pointer; }
.rg-nets i{ width: 7px; height: 7px; border-radius: 50%; }
.rg-det .rg-src{ display: block; border: 0; font-size: 10.5px; color: rgba(255,255,255,.45); line-height: 1.4; }
.rg-na{ color: rgba(255,255,255,.4); font-weight: 500; }
.rg-tag{ flex: none; font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 1px 5px; border-radius: 4px; }
.rg-tag--v{ background: rgba(34,197,94,.16); color: #4ade80; } .rg-tag--b{ background: rgba(59,130,246,.16); color: #93c5fd; } .rg-tag--a{ background: rgba(250,204,21,.14); color: #facc15; } .rg-tag--c{ background: rgba(168,85,247,.16); color: #d8b4fe; } .rg-tag--e{ background: rgba(148,163,184,.16); color: #cbd5e1; }
.rg-empty, .rg-foot{ margin: 10px 0 0; font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.4; }
.tw-toast{ position: absolute; left: 50%; top: 16px; z-index: 9; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px; background: rgba(12,13,16,.94); border: 1px solid rgba(250,204,21,.45); color: #fff; font: 600 13px "Inter", system-ui, sans-serif; transition: opacity .4s; }
.tw-toast.is-out{ opacity: 0; }
.tw--light .rg-head h3, .tw--light .rg-dh > button:first-child, .tw--light .rg-main, .tw--light .rg-det li > b{ color: #0b1020; }
.tw--light .rg-q, .tw--light .rg-filters select{ background: #fff; color: #0b1020; border-color: rgba(0,0,0,.15); }
.tw--light .rg-card{ background: rgba(0,0,0,.03); } .tw--light .rg-dh small, .tw--light .rg-det li > span, .tw--light .rg-head > span{ color: #6b7280; }
.tw--light .rg-acts button, .tw--light .rg-ic, .tw--light .rg-nets button{ color: #374151; border-color: rgba(0,0,0,.15); }
@media (max-width: 900px){ .tw.left-open .tw-selcard{ display: none !important; } }

/* tool cards: pictures edge to edge across the page width (proportional height), square corners, 1.5 px apart */
.ind-tools .ind-tools__grid{ width: 100vw; max-width: none; margin-left: calc(50% - 50vw); gap: 1.5px; }
.ind-tools .ind-tool__img{ border-radius: 0; box-shadow: none; }
.ind-tools .ind-tool > :not(.ind-tool__img){ padding-inline: clamp(16px, 2vw, 32px); }
@media (max-width: 1000px){ .ind-tools .ind-tools__grid{ gap: 1.5px 0; } .ind-tools .ind-tool{ padding-bottom: 28px; } }
.ind-tools .ind-tool > .ind-tool__l{ padding-left: calc(clamp(16px, 2vw, 32px) + 18px); }

/* Inside the Process */
.tw.is-inside .tw-tour, .tw.is-inside .tw-energy-stop, .tw.is-inside .tw-xp__top, .tw.is-inside .tw-xp__areas, .tw.is-inside .tw-xp__panel{ display: none !important; }
.tw-in__bar{ position: absolute; left: 14px; right: 360px; top: 12px; z-index: 7; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.tw-in__bar > *{ pointer-events: auto; }
.tw-in__ttl{ flex: none; padding: 7px 12px; border-radius: 999px; background: #22d3ee; color: #04141a; font: 700 11px "Inter", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.tw-in__chips{ display: flex; gap: 4px; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: rgba(12,13,16,.86); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.tw-in__chips button{ flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: rgba(255,255,255,.75); font: 600 12px "Inter", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.tw-in__chips button:hover{ color: #fff; }
.tw-in__chips button[aria-pressed="true"]{ background: #fff; color: #0b0c0e; }
.tw-in__chips button.is-na{ color: rgba(255,255,255,.4); font-style: italic; }
.tw-in__x{ flex: none; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(12,13,16,.86); color: #fff; font-size: 17px; cursor: pointer; }
.tw-in__panel{ position: absolute; right: 12px; top: 12px; bottom: 12px; z-index: 7; width: 330px; overflow-y: auto; padding: 14px 16px 16px; border: 1px solid rgba(34,211,238,.25); border-radius: 16px; background: rgba(10,12,16,.92); color: #fff; backdrop-filter: blur(10px); font-family: "Inter", system-ui, sans-serif; scrollbar-width: thin; }
.tw .tw-in__panel h3{ margin: 2px 0 4px; font: 600 19px/1.2 "Inter", system-ui, sans-serif; color: #fff; text-transform: none; letter-spacing: -.01em; }
.tw-in__k{ margin: 14px 0 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #67e8f9; }
.tw-in__panel > .tw-in__k:first-child{ margin-top: 0; }
.tw-in__id{ margin: 0 0 6px; font: 600 11px ui-monospace, monospace; color: rgba(147,197,253,.85); }
.tw-in__p{ margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.8); }
.tw-in__io{ display: grid; gap: 6px; }
.tw-in__io > div{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 12.5px; line-height: 1.4; }
.tw-in__io em{ flex: none; width: 46px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fbbf24; }
.tw-in__io em.out{ color: #22d3ee; } .tw-in__io .tw-in__tr{ background: rgba(34,211,238,.08); } .tw-in__io .tw-in__tr em{ color: #a5f3fc; }
.tw-in__io span{ flex: 1 1 60%; }
.tw-in__io span + span{ margin-left: 54px; }
.tw-in__kv{ margin: 0; padding: 0; list-style: none; }
.tw-in__kv li{ display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12px; }
.tw-in__kv span{ color: rgba(255,255,255,.6); } .tw-in__kv b{ margin-left: auto; font-weight: 600; text-align: right; }
.tw-in__note{ margin: 12px 0 0; font-size: 10.5px; line-height: 1.45; color: rgba(255,255,255,.45); }
.tw-in__labels{ position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.tw-in__l{ position: absolute; left: 0; top: 0; padding: 3px 8px; border-radius: 999px; font: 700 11px "Inter", system-ui, sans-serif; white-space: nowrap; background: rgba(10,12,16,.85); border: 1px solid; }
.tw-in__l--in{ color: #fde68a; border-color: rgba(251,191,36,.6); } .tw-in__l--out{ color: #a5f3fc; border-color: rgba(34,211,238,.6); } .tw-in__l--util{ color: #fed7aa; border-color: rgba(249,115,22,.6); }
.tw-nets__inside{ margin-top: 6px; background: rgba(34,211,238,.14) !important; border-color: rgba(34,211,238,.5) !important; color: #a5f3fc !important; }
.tw-xp__inside{ display: block; width: 100%; margin-top: 12px; height: 36px; border: 1px solid rgba(34,211,238,.5); border-radius: 999px; background: rgba(34,211,238,.12); color: #a5f3fc; font: 700 12px "Inter", system-ui, sans-serif; cursor: pointer; }
.tw-xp__inside:hover{ background: #22d3ee; color: #04141a; }
@media (max-width: 900px){
  .tw-in__bar{ left: 8px; right: 8px; top: 8px; flex-wrap: wrap; }
  .tw-in__ttl{ display: none; }
  .tw-in__chips{ flex: 1; min-width: 0; }
  .tw-in__panel{ left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; max-height: 44%; border-radius: 14px; }
  .tw-in__l{ font-size: 10px; padding: 2px 6px; }
}
/* original 3DNA.ES logo in the tool headers (monochrome, like the site header) */
.x-logo{ display: inline-block; width: auto; height: 15px; margin-right: 3px; vertical-align: -1px; filter: brightness(0) invert(1); }
.tw__brand .x-logo, .fb__brand .x-logo{ align-self: center; }
.tw--light .x-logo, .pc__brand .x-logo{ filter: brightness(0); }

/* section 03 · process visualisation: twelve animated equipment cards */
.ind-pv__grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; margin: 0; padding: 0; list-style: none; }
.ind-pv__card{ min-width: 0; }
.ind-pv__media{ position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #f2f3f5; }
.ind-pv__v{ display: block; width: 100%; height: 100%; object-fit: cover; }
.ind-pv__zoom{ position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #0b1020; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: background .2s, transform .2s; }
.ind-pv__zoom:hover{ background: #0b1020; color: #fff; transform: scale(1.06); }
.apage .ind-pv__t{ display: flex; align-items: baseline; gap: 10px; margin: 12px 0 4px; font: 600 16px/1.3 "Inter", system-ui, sans-serif; color: #0b1020; text-transform: none; letter-spacing: 0; }
.ind-pv__n{ flex: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #2563eb; }
.indpage .ind-pv__d{ margin: 0; font-family: var(--ff-body); font-size: 14px; line-height: 1.55; color: #4b5563; }
.ind-pv__note{ margin: 22px 0 0; font-size: 12px; color: #6b7280; }
.ind-pv__v:fullscreen{ object-fit: contain; background: #f2f3f5; }
@media (max-width: 700px){ .ind-pv__grid{ grid-template-columns: minmax(0, 1fr); gap: 26px; } }
/* longer headlines (es / ru / uk) on phones: keep the hero under the header */
@media (max-width: 600px){
  html:is([lang="ru"], [lang="uk"], [lang="es"]) .apage .ind-hero__title{ font-size: 34px; line-height: 1.04; }
  html:is([lang="ru"], [lang="uk"], [lang="es"]) .ind-hero__label{ margin-bottom: 12px; font-size: 10.5px; letter-spacing: .2em; }
}

/* process tour film (#film and /<lang>/industrial/process-tour/): caption */
.ind-tourpage{ padding-top: clamp(96px, 12vh, 132px); }
.ind-tourpage__links{ display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 30px; }
.ind-tourpage__steps{ margin-top: 34px; }
.ind-tourpage__steps ol{ margin: 8px 0 0; padding-left: 1.4em; columns: 2 260px; column-gap: 40px; font-size: 15px; line-height: 1.9; color: #3c4252; }
.ind-tourpage__back{ font-size: 14px; color: #4b5563; }

/* process film: the video edge to edge (up to the screen height); before it plays, the heading lies over the
   picture with a play button (click anywhere to start) and fades away while the film runs. Phones: heading above. */
.ind-tour.ind-film{ margin-top: clamp(56px, 8vh, 96px); }
#film{ scroll-margin-top: var(--film-top, 76px); }
.ind-tour .ind-film__frame{ width: calc(100vw - var(--sbw, 0px)); margin-left: calc(50% - 50vw + var(--sbw, 0px) / 2); height: min(calc((100vw - var(--sbw, 0px)) * .5625), calc(100vh - var(--film-top, 76px))); aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.ind-tour .ind-film__v{ object-fit: cover; }
.ind-tour__head{ position: absolute; inset: 0 0 64px 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 max(24px, calc((100vw - 1200px) / 2)); background: linear-gradient(90deg, rgba(5,8,18,.82) 0%, rgba(5,8,18,.5) 38%, rgba(5,8,18,0) 70%); color: #fff; cursor: pointer; transition: opacity .6s ease, visibility .6s; }
.ind-tour__head::after{ content: ""; position: absolute; left: 0; right: 0; bottom: -64px; height: 64px; background: linear-gradient(0deg, rgba(5,8,18,.55), rgba(5,8,18,0)); pointer-events: none; }
.ind-film__frame.is-playing .ind-tour__head{ opacity: 0; visibility: hidden; }
.ind-tour__k{ display: block; margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #9fd8ff; }
.ind-tour__t{ margin: 0; max-width: 11em; font-family: var(--ff-body); font-size: clamp(36px, 5.4vw, 78px); line-height: 1.02; font-weight: 600; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.ind-tour__t em{ display: block; font-family: "DM Serif Text", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.ind-tour__s{ display: block; margin: 18px 0 0; max-width: 30em; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.5; color: rgba(255,255,255,.9); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.ind-tour__play{ position: absolute; left: 68%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(10,12,14,.38); backdrop-filter: blur(4px); transition: transform .25s, background .25s; }
.ind-tour__play::after{ content: ""; position: absolute; left: 38px; top: 29px; border-left: 30px solid #fff; border-top: 19px solid transparent; border-bottom: 19px solid transparent; }
.ind-tour__head:hover .ind-tour__play{ transform: scale(1.06); background: rgba(34,197,94,.55); }
.ind-tourpage .ind-tour.ind-film{ margin-top: 0; }
@media (max-width: 760px){
  .ind-tour .ind-film__frame{ display: flex; flex-direction: column; height: auto; overflow: visible; background: none; }
  .ind-tour .ind-film__v{ position: relative; aspect-ratio: 16 / 9; height: auto; }
  .ind-tour .ind-film__share{ top: auto; bottom: calc(56.25vw - 54px); right: 12px; }
  .ind-tour__head{ position: static; order: -1; padding: 0 64px 20px 16px; background: none; color: inherit; cursor: default; }
  .ind-tour__head::after, .ind-tour__play{ display: none; }
  .ind-film__frame.is-playing .ind-tour__head{ opacity: 1; visibility: visible; }
  .ind-tour__k{ color: #8b9098; }
  .ind-tour__s{ margin-top: 12px; font-size: 16px; color: var(--a-text, #3c4252); text-shadow: none; }
  .ind-tour__t{ color: var(--a-ink, #0b1020); text-shadow: none; font-size: clamp(32px, 9vw, 44px); }
}
