/* Styles for the LT panel pages (lt-panels/). Tokens and shared components match index.html. */
:root {
  --ground: #F4F4F3;
  --ink: #262626;
  --graphite: #5E605F;
  --steel: #DCDDDB;
  --line: #E2E3E1;
  --arc: #EE7D10;
  --ember: #D4531F;
  --wide: 125%;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--arc); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display {
  font-stretch: var(--wide);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--graphite); }
.nav__links a:not(.btn):hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink); color: var(--ground);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--ember); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ground); }

/* ---------- Page hero ---------- */
.phero {
  padding: clamp(104px, 14vh, 150px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px;
  align-items: end;
}
.phero--hub { grid-template-columns: 1fr; padding-top: clamp(84px, 11vh, 118px); }
.phero--hub h1 { max-width: 18ch; }
@media (min-width: 961px) {
  .phero--hub { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: start; gap: 40px 48px; }
  .phero--hub .phero__copy { align-self: center; }
  .phero.phero--hub h1 { font-size: clamp(32px, 3.3vw, 54px); }
  .no-gl .phero--hub { grid-template-columns: 1fr; }
}
.crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--graphite); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--steel); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); }
.phero h1 { font-size: clamp(38px, 5.2vw, 76px); max-width: 12ch; }
.lead { margin: 22px 0 0; max-width: 52ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--graphite); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.phero__fig { margin: 0; position: relative; isolation: isolate; padding: clamp(28px, 4vw, 48px); }
/* Blueprint grid behind the drawing: 10px minor and 50px major lines, faded out toward the edges */
.phero__fig::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: calc(-1 * clamp(40px, 7vw, 110px)) calc(-1 * clamp(16px, 3vw, 48px));
  --grid: color-mix(in srgb, #2F6FD1 14%, transparent);
  --grid-major: color-mix(in srgb, #2F6FD1 26%, transparent);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
}
.elev { display: block; width: 100%; height: auto; max-height: 420px; overflow: visible; }
.elev .ln {
  fill: none; stroke: var(--graphite); stroke-width: 1.2; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.4s cubic-bezier(.6, 0, .3, 1) forwards; animation-delay: calc(var(--i) * 22ms);
}
.elev .floor { stroke: var(--steel); }
/* Enclosure, roof and plinth are filled so the blueprint grid doesn't show through the panel */
.elev .solid { fill: var(--ground); animation: draw 1.4s cubic-bezier(.6, 0, .3, 1) forwards, fill-in .5s .3s both; }
@keyframes fill-in { from { fill-opacity: 0; } }
.elev .dims { stroke: #2F6FD1; stroke-width: .8; opacity: 0; animation: dims-in .5s 1.1s forwards; }
.elev .dims .ext { stroke-opacity: .55; }
.elev .dims .arrow { fill: #2F6FD1; stroke: none; }
.elev .dims text {
  stroke: none; fill: #2F6FD1; font: 600 calc(var(--fs, 10.5) * 1px) "Archivo", system-ui, sans-serif; text-anchor: middle;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
  paint-order: stroke; stroke: var(--ground); stroke-width: calc(var(--fs, 10.5) * .3px); stroke-linejoin: round;
}
@keyframes dims-in { to { opacity: 1; } }
.elev .lamp { fill: var(--c); opacity: 0; animation: lamp-on .4s 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lamp-on { to { opacity: 1; filter: drop-shadow(0 0 3px var(--c)); } }

.keys {
  grid-column: 1 / -1;
  margin: clamp(16px, 3vw, 32px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1.5px solid var(--ink);
}
.keys div { padding: 20px 20px 20px 0; border-right: 1px solid var(--steel); }
.keys div + div { padding-left: 20px; }
.keys div:last-child { border-right: 0; }
.keys dt { font-size: 14px; color: var(--graphite); }
.keys dd { margin: 4px 0 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

/* ---------- Content sections ---------- */
.sec {
  padding: clamp(56px, 8vw, 104px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 20px 64px;
}
.sec h2 { margin: 0; font-size: clamp(24px, 2.6vw, 36px); font-stretch: 112%; font-weight: 800; letter-spacing: -0.015em; line-height: 1.1; }
.sec--wide, .sec--others { grid-template-columns: 1fr; }
@media (min-width: 961px) { .sec h2 { position: sticky; top: 100px; align-self: start; } }
.prose p { margin: 0 0 16px; max-width: 64ch; color: var(--graphite); }
.prose p:last-child { margin-bottom: 0; }
.more { color: var(--ink); font-weight: 600; text-decoration-color: var(--arc); text-underline-offset: 4px; }
.more:hover { color: var(--ember); }

.spec { width: 100%; border-collapse: collapse; border-top: 1.5px solid var(--ink); font-size: 16px; }
.spec caption { caption-side: bottom; text-align: left; padding-top: 14px; font-size: 13px; color: var(--graphite); }
.spec th, .spec td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--steel); text-align: left; vertical-align: top; }
.spec tbody th { width: 38%; font-weight: 500; color: var(--graphite); }
.spec td { font-weight: 500; }
.spec thead th { font-size: 14px; font-weight: 600; color: var(--graphite); }
.spec--3 tbody th { width: 30%; font-weight: 600; color: var(--ink); }
.spec--3 td:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.spec a { text-decoration-color: var(--arc); text-underline-offset: 3px; }
.spec a:hover { color: var(--ember); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1.5px solid var(--ink); }
.ticks li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--steel); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; border-radius: 2px; background: var(--arc); }

.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--steel); }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; font-weight: 400; color: var(--graphite); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ember); }
.faq details p { margin: 0 0 20px; max-width: 64ch; color: var(--graphite); }

.others { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.others a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; height: 100%;
  padding: 20px; border-radius: 16px; background: #fff; text-decoration: none;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transition: box-shadow .2s, transform .2s;
}
.others a:hover { box-shadow: inset 0 0 0 1.5px var(--arc), 0 12px 28px -16px rgba(38,38,38,.35); transform: translateY(-2px); }
.others h3 { margin: 0; font-size: 19px; font-stretch: 112%; font-weight: 700; letter-spacing: -0.01em; }
.others span { font-size: 14px; font-weight: 600; color: var(--graphite); font-variant-numeric: tabular-nums; }

/* Range list (hub page), same as the homepage */
.range { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.range li {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, .6fr);
  gap: 12px 48px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--steel);
}
.range h3 { margin: 0; font-size: clamp(20px, 2vw, 26px); font-stretch: 112%; font-weight: 700; letter-spacing: -0.01em; }
.range h3 a { text-decoration: none; }
.range h3 a::after { content: ""; position: absolute; inset: 0; }
.range li:hover h3 a { color: var(--ember); }
.range h3 small { display: block; font-size: 15px; font-weight: 500; font-stretch: 100%; color: var(--graphite); letter-spacing: 0; margin-top: 4px; }
.range p { margin: 0; color: var(--graphite); max-width: 52ch; }
.range .rating { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.range .rating::after { content: " →"; color: var(--arc); }

/* ---------- Contact and footer ---------- */
.contact {
  margin: clamp(72px, 10vw, 128px) var(--gutter) var(--gutter);
  padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 88px);
  background: var(--ink); color: var(--ground);
  border-radius: 28px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px 64px; align-items: end;
}
.contact h2 { font-size: clamp(32px, 4.2vw, 60px); max-width: 16ch; }
.contact p { margin: 20px 0 0; max-width: 46ch; color: #BDBDBB; }
.contact dl { margin: 0; display: grid; gap: 18px; }
.contact dt { font-size: 14px; color: #9A9A98; }
.contact dd { margin: 2px 0 0; font-size: 20px; font-weight: 600; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { color: var(--arc); }
.contact dd.addr { font-size: 16px; font-weight: 500; line-height: 1.45; }
.contact .btn { background: var(--arc); color: #1c1c1c; margin-top: 8px; justify-self: start; }
.contact .btn:hover { background: #fff; }

footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 28px var(--gutter) 40px; font-size: 14px; color: var(--graphite);
}
footer img { height: 20px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .phero { grid-template-columns: 1fr; }
  .phero__fig { max-width: 620px; }
  .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keys div:nth-child(2) { border-right: 0; }
  .keys div:nth-child(3) { padding-left: 0; }
  .keys div:nth-child(n+3) { border-top: 1px solid var(--steel); }
  .sec { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav__links a:not(.btn) { display: none; }
  .nav__links .btn { padding: 10px 16px; font-size: 14px; }
  .nav__logo img { height: 22px; }
  .ticks { grid-template-columns: 1fr; }
  .spec tbody th { width: 42%; }
  .range li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .range .rating { text-align: left; }
  .contact { grid-template-columns: 1fr; border-radius: 20px; }
}
@media (max-width: 520px) {
  .spec tbody tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--steel); }
  .spec tbody th, .spec tbody td { display: block; width: auto; padding: 0; border: 0; }
  .spec tbody th { font-size: 14px; margin-bottom: 2px; }
  .spec--3 thead { display: none; }
  .spec--3 td:last-child { white-space: normal; }
  .keys dd { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .elev .ln { animation: none; stroke-dashoffset: 0; }
  .elev .lamp { animation: none; opacity: 1; }
  .elev .solid { animation: none; }
  .elev .dims { animation: none; opacity: 1; }
  .others a { transition: none; }
}

/* ---------- System model (hub page hero) ---------- */
.net__wrap { position: relative; }
.net__stage {
  position: relative; overflow: hidden;
  height: var(--net-fill, clamp(480px, 58vw, 780px));
  border-radius: 24px;
  background: radial-gradient(ellipse 70% 60% at 55% 45%, #FBFBFA 0%, #EEEFEC 60%, #E4E5E2 100%);
  isolation: isolate;
}
#netGl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s; touch-action: pan-y; cursor: grab; }
.net-ready #netGl { opacity: 1; }
.no-gl .net__wrap { display: none; }
.net__loading {
  position: absolute; inset: 0; margin: 0; display: grid; place-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite);
  transition: opacity .4s; pointer-events: none;
}
.net-ready .net__loading { opacity: 0; }
.net__hint { position: absolute; right: 20px; bottom: 16px; margin: 0; font-size: 13px; color: var(--graphite); pointer-events: none; }

.net__chips { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 3; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.net__chips::-webkit-scrollbar { display: none; }
.net__chips button {
  flex: none; border: 0; cursor: pointer;
  padding: 8px 14px; border-radius: 999px;
  font: 600 14px "Archivo", system-ui, sans-serif; color: var(--ink);
  background: rgba(255,255,255,.8); box-shadow: 0 1px 0 rgba(0,0,0,.05), inset 0 0 0 1px var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s, color .2s;
}
.net__chips button:hover { background: #fff; color: var(--ember); }
.net__chips button[aria-pressed="true"] { background: var(--ink); color: var(--ground); box-shadow: none; }

.net__tags { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.net__tag {
  position: absolute; left: 0; top: 0;
  padding: 5px 10px; border-radius: 999px; border: 0;
  font: 700 13px "Archivo", system-ui, sans-serif; font-stretch: 112%; white-space: nowrap;
  color: var(--ink); background: #fff;
  box-shadow: 0 6px 16px -8px rgba(38,38,38,.45), inset 0 0 0 1px var(--line);
  opacity: 0; transition: opacity .3s, background .2s, color .2s;
}
button.net__tag { cursor: pointer; }
.net__tag.is-on { opacity: 1; pointer-events: auto; }
.net__tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: var(--graphite); opacity: .5; }
.net__tag { margin-top: -14px; }
.net__tag:hover, .net__tag.is-hover { color: var(--ember); }
.net__tag.is-active { background: var(--arc); color: #1c1c1c; box-shadow: 0 8px 20px -8px rgba(212,83,31,.6); }
.net__tag--load { font-weight: 600; font-size: 12px; color: var(--graphite); background: rgba(255,255,255,.88); }
.net__tag--load.is-on { pointer-events: none; }

.net__card {
  position: absolute; left: 20px; bottom: 20px; z-index: 3;
  width: min(340px, calc(100% - 40px));
  padding: 20px 22px; border-radius: 18px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -24px rgba(38,38,38,.4), inset 0 0 0 1px var(--line);
}
.net__card h3 { margin: 0 0 8px; font-size: 21px; font-stretch: 112%; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.net__card p { margin: 0; font-size: 15px; color: var(--graphite); }
.net__card .net__code { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); }
.net__status { margin-top: 10px !important; font-weight: 600; color: var(--ink) !important; }
.net__status:empty { display: none; }
.net__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--steel); }
.net__foot span { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.net__foot a { font-weight: 600; color: var(--ink); text-decoration-color: var(--arc); text-underline-offset: 4px; }
.net__foot a:hover { color: var(--ember); }

@media (max-width: 820px) {
  .net__stage { height: min(125vw, 560px); border-radius: 20px; }
  .net__hint { display: none; }
  .net__card { position: static; width: auto; margin-top: 12px; background: #fff; }
  .net__tag { font-size: 12px; padding: 4px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  #netGl, .net__loading, .net__tag { transition: none; }
}
