/* Inner pages, built from the blocks of the approved homepage (k2 + k4).
   Same tokens, same type scale and 6-8px corners; only the new blocks live here:
   page hero, statement, parts beside a drawing, cells, tables, specification sheet, steps, scope, chain, form. */

/* ---------- shared bits ---------- */
.rich { display: grid; gap: 16px; }
.rich p { max-width: 62ch; }
.rich strong { font-weight: 500; color: var(--cream); }
.is-light .rich strong, .paper .rich strong, .scope .rich strong { color: var(--green); }
.rich code { font-family: var(--mono); font-size: 0.86em; letter-spacing: 0; }
.rich .fine { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 80ch; }
.ticks li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line); max-width: 62ch; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; background: var(--lime); }
.is-light .ticks li::before, .paper .ticks li::before { background: #8f9c12; }
.nums { counter-reset: n; }
.nums li { counter-increment: n; position: relative; padding: 11px 0 11px 34px; border-top: 1px solid var(--line); }
.nums li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.is-deep { background: var(--deep); }

/* ---------- page hero ---------- */
.pgh { position: relative; min-height: 88vh; min-height: 88svh; display: grid; grid-template-rows: auto 1fr; padding: 58px 0 clamp(40px, 5vw, 72px); overflow: hidden; isolation: isolate; }
.pgh::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(rgba(244, 247, 213, 0.09) 1px, transparent 1.3px) 0 0 / 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 72% 52%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 55% 60% at 72% 52%, #000 25%, transparent 75%);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: var(--cream); }
.pgh__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 72px); align-items: center; padding-top: clamp(32px, 5vh, 64px); }
.pgh__eyebrow { margin-bottom: 26px; font-size: 12px; letter-spacing: 0.08em; color: var(--lime); }
.pgh__h1 { font-size: clamp(40px, 5vw, 84px); font-weight: 300; line-height: 1.0; letter-spacing: -0.05em; max-width: 13ch; }
.pgh--wide .pgh__h1 { max-width: 16ch; }
.pgh__lead { margin-top: 26px; max-width: 52ch; font-size: 18px; color: var(--muted); }
.pgh__lead + .pgh__lead { margin-top: 14px; }
.pgh .hero__cta { margin-top: 34px; }
.pgh__art { position: relative; }
.pgh__art svg { max-height: min(62vh, 620px); margin-inline: auto; }
.js .pgh__text > * { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js.is-loaded .pgh__text > * { opacity: 1; transform: none; }
.js.is-loaded .pgh__text > :nth-child(2) { transition-delay: 0.08s; }
.js.is-loaded .pgh__text > :nth-child(3) { transition-delay: 0.18s; }
.js.is-loaded .pgh__text > :nth-child(n + 4) { transition-delay: 0.28s; }

/* figures band: any count; the footnote under it */
.figband .figures { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.figband .figures dt { font-size: clamp(30px, 3vw, 64px); }
.proof__note { margin-top: 28px; font-size: 13px; line-height: 1.5; color: rgba(2, 39, 31, 0.72); max-width: 110ch; }

/* ---------- statement: headline wide, the argument in the right half ---------- */
.stmt { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: clamp(28px, 3vw, 48px); }
.stmt > h2 { grid-column: 1 / span 11; }
.stmt__h { font-size: clamp(36px, 4.8vw, 80px); font-weight: 300; line-height: 1.01; letter-spacing: -0.05em; max-width: 18ch; }
.stmt__body { grid-column: 6 / -1; font-size: 18px; color: var(--muted); }
.stmt__body > * + * { margin-top: 28px; }
.head .head__body { margin-top: 26px; font-size: 18px; color: var(--muted); }
.head .head__body p { max-width: 58ch; }

/* ---------- routes / paper cards: 2 or 3 across ---------- */
.routes { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.routes .paper { min-height: 400px; }
.routes[style*="--n:3"] .paper h3, .routes[style*="--n:4"] .paper h3 { font-size: clamp(24px, 2.1vw, 32px); }
.paper .rich { gap: 12px; color: rgba(2, 39, 31, 0.74); }
.paper .rich p { max-width: 46ch; }
.is-light .routes .paper { background: var(--sage-100); }
.after { margin-top: clamp(32px, 4vw, 56px); max-width: 62ch; font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; line-height: 1.3; letter-spacing: -0.02em; }

/* ---------- parts beside a drawing that stays in view ---------- */
.parts { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.parts__art { position: sticky; top: 64px; }
.parts__board {
  display: grid; place-items: center; min-height: min(70vh, 640px); padding: clamp(20px, 3vw, 48px);
  border: 1px solid var(--line); border-radius: 8px;
  background: radial-gradient(rgba(244, 247, 213, 0.08) 1px, transparent 1.3px) 0 0 / 24px 24px, var(--deep);
}
.is-light .parts__board { background: radial-gradient(rgba(2, 39, 31, 0.1) 1px, transparent 1.3px) 0 0 / 24px 24px, var(--sage-100); }
.parts__list { border-top: 1px solid var(--line); }
.parts__list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; row-gap: 12px; padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.parts__n { grid-row: 1 / span 2; padding-top: 8px; font-size: 13px; color: var(--lime); }
.is-light .parts__n { color: #6f7a0e; }
.parts__list h3 { font-size: clamp(24px, 2.3vw, 34px); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; }
.parts__list .rich { color: var(--muted); }

/* ---------- cells on hairlines ---------- */
.cells { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cell { display: flex; flex-direction: column; gap: 14px; padding: 30px clamp(18px, 2vw, 30px) 36px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cells { overflow: hidden; }
.cell { margin-left: -1px; }
.cell__label { font-size: 12px; letter-spacing: 0.06em; color: var(--lime); }
.is-light .cell__label { color: #6f7a0e; }
.cell__big { font-size: clamp(48px, 5.4vw, 96px); font-weight: 300; line-height: 0.95; letter-spacing: -0.06em; margin-bottom: 10px; }
.cell h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 400; line-height: 1.12; letter-spacing: -0.03em; max-width: 20ch; }
.cell .rich { color: var(--muted); font-size: 16px; }
.cell .ticks li { padding-block: 9px; }

/* ---------- table ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.tbl th, .tbl td { padding: 18px 20px 18px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { padding-top: 0; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom-color: currentColor; }
.tbl tbody th { font-weight: 500; font-size: 18px; letter-spacing: -0.015em; }
.tbl td { color: var(--muted); }
.tbl .is-num { text-align: right; }
.tbl td.is-num { color: inherit; font-size: 20px; letter-spacing: -0.02em; }
.tbl tbody tr { transition: background-color 0.2s; }
@media (hover: hover) { .tbl tbody tr:hover { background: color-mix(in srgb, currentColor 4%, transparent); } }
.tbl strong { font-weight: 500; }

/* ---------- specification sheet ---------- */
.sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); border-top: 1px solid var(--line); }
.sheet__row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sheet dt { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.sheet dd { margin: 0; font-size: 18px; line-height: 1.35; letter-spacing: -0.015em; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.steps__side { position: sticky; top: 96px; }
.steps__side h2 { font-size: clamp(34px, 3.8vw, 62px); font-weight: 300; line-height: 1.02; letter-spacing: -0.048em; }
.steps__intro { margin-top: 24px; color: var(--muted); }
.steps__list { position: relative; padding-left: 28px; }
.steps__list::before, .steps__list::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps__list::after { width: 2px; background: var(--lime); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
.is-light .steps__list::after { background: var(--green); }
.steps__list li { display: grid; grid-template-columns: clamp(64px, 7vw, 110px) minmax(0, 1fr); gap: 20px; padding: 0 0 clamp(36px, 4vw, 56px); }
.steps__n { font-size: clamp(40px, 4.6vw, 76px); font-weight: 300; line-height: 0.9; letter-spacing: -0.06em; color: rgba(244, 247, 213, 0.28); }
.is-light .steps__n { color: rgba(2, 39, 31, 0.22); }
.steps__list h3 { margin: 6px 0 10px; font-size: clamp(21px, 1.8vw, 26px); font-weight: 400; line-height: 1.15; letter-spacing: -0.025em; }
.steps__list .rich { color: var(--muted); }
.steps__after { margin-left: 28px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 60ch; font-size: 18px; color: var(--muted); }

/* ---------- scope: two lists on paper ---------- */
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); padding: clamp(28px, 4.4vw, 68px); border-radius: 8px; background: var(--cream); color: var(--green); }
.is-light .scope { background: var(--sage-100); }
.scope h3 { padding-bottom: 12px; border-bottom: 1px solid rgba(2, 39, 31, 0.35); font-size: 12px; letter-spacing: 0.08em; font-weight: 500; }
.scope li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid rgba(2, 39, 31, 0.12); font-size: 16px; line-height: 1.35; }
.scope li::before { content: ""; width: 7px; height: 7px; flex: none; transform: translateY(-1px); }
.scope .is-in li::before { background: var(--green); }
.scope .is-out li::before { box-shadow: inset 0 0 0 1.5px var(--green); }
.scope__note { grid-column: 1 / -1; max-width: 70ch; color: rgba(2, 39, 31, 0.74); }

/* ---------- chain: a flow drawn as boxes with a running pulse ---------- */
.chain { display: grid; gap: 14px; }
.chain__row { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0; }
.chain__row li { position: relative; display: flex; align-items: stretch; padding-right: 34px; }
.chain__row li:last-child { padding-right: 0; }
.chain__node {
  flex: 1; display: flex; align-items: center; min-height: 88px; padding: 16px 18px; border-radius: 6px;
  background: rgba(244, 247, 213, 0.06); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono); font-size: 13px; line-height: 1.4; letter-spacing: 0.01em;
}
.chain__row li:last-child .chain__node { background: var(--lime); color: var(--green); box-shadow: none; }
.chain__row li:not(:last-child)::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--lime) 0 40%, transparent 40%) 0 0 / 11px 2px repeat-x; animation: me-run 0.9s linear infinite;
}
.chain__row.is-sub .chain__node { min-height: 64px; background: transparent; }
.chain__row.is-sub li:last-child .chain__node { background: rgba(201, 215, 44, 0.16); color: inherit; box-shadow: inset 0 0 0 1px rgba(201, 215, 44, 0.6); }
@keyframes me-run { to { background-position: 11px 0; } }
.is-light .chain__node { background: rgba(2, 39, 31, 0.04); }
.is-light .chain__row li:not(:last-child)::after { background-image: linear-gradient(90deg, var(--green) 0 40%, transparent 40%); }

/* ---------- product panels (products overview) ---------- */
.lineup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pp { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: 8px; background: var(--deep); text-decoration: none; transition: background-color 0.4s var(--ease); }
.pp:hover { background: #062e25; }
.pp__art { padding: 12px 4% 4px; }
.pp__art svg { max-height: 260px; margin-inline: auto; }
.pp .mono { font-size: 12px; letter-spacing: 0.06em; color: var(--lime); }
.pp h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; line-height: 1.05; letter-spacing: -0.035em; max-width: 18ch; }
.pp .rich { color: var(--muted); font-size: 16px; }
.pp .link { justify-self: start; }
.pp--feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: none; align-items: center; background: var(--lime); color: var(--green); --line: rgba(2, 39, 31, 0.2); --muted: rgba(2, 39, 31, 0.74);
  --sch-line: var(--green); --sch-soft: rgba(2, 39, 31, 0.3); --sch-accent: #556010; --sch-pulse: var(--cream); --sch-label: rgba(2, 39, 31, 0.7);
  --face-top: color-mix(in srgb, var(--sch-line) 3%, transparent); --face-side: color-mix(in srgb, var(--sch-line) 8%, transparent); --face-end: color-mix(in srgb, var(--sch-line) 15%, transparent); --face-gap: color-mix(in srgb, var(--sch-line) 30%, transparent); --face-in: color-mix(in srgb, var(--sch-line) 18%, transparent); }
.pp--feature:hover { background: #d3e03a; }
.pp--feature .mono { color: rgba(2, 39, 31, 0.7); }
.pp--feature .ticks li::before { background: var(--green); }
.pp--feature .pp__art { order: 2; }
.pp__text { display: grid; gap: 18px; align-content: start; }

/* ---------- contact form ---------- */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: clamp(24px, 4vw, 56px); border-radius: 8px; background: var(--cream); color: var(--green); }
.form fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.form legend { grid-column: 1 / -1; margin-bottom: 18px; padding-bottom: 12px; width: 100%; border-bottom: 1px solid rgba(2, 39, 31, 0.3); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.form legend.sr { width: 1px; margin: 0; padding: 0; border: 0; } /* the hidden caption must not stretch the page */
.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label, .field .field__label { font-size: 14px; font-weight: 500; }
.field .opt { font-weight: 400; color: rgba(2, 39, 31, 0.6); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(2, 39, 31, 0.35); border-radius: 6px;
  background: var(--white); color: var(--green); font: inherit; font-size: 16px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--green); }
.field__help { font-size: 13px; color: rgba(2, 39, 31, 0.68); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 6px; background: rgba(2, 39, 31, 0.06); font-size: 15px; font-weight: 400; cursor: pointer; }
.choices input { width: 16px; height: 16px; min-height: 0; accent-color: var(--green); }
.choices label:has(input:checked) { background: var(--green); color: var(--lime); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.form__foot p { max-width: 60ch; font-size: 14px; color: rgba(2, 39, 31, 0.72); }
.form__done { display: none; padding: 18px 20px; border-radius: 6px; background: var(--green); color: var(--cream); }
.form.is-sent .form__done { display: block; }
.form.is-failed .form__done { display: block; background: var(--cream); color: var(--green); border: 1px solid currentColor; }
.form.is-busy button[type="submit"] { opacity: .6; pointer-events: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* trap field for bots */
/* the Contact Us form (also the short form at the end of every page) */
.cform { max-width: 1120px; margin-inline: auto; }
.cform .req { margin-left: 2px; color: #6f7a0e; }
.cform__warn { padding: 14px 16px; border-left: 2px solid var(--green); background: rgba(2, 39, 31, 0.05); font-size: 14px; line-height: 1.5; color: rgba(2, 39, 31, 0.8); }
.cform fieldset.cform__consent { grid-template-columns: 1fr; }
.cform__check { display: flex; gap: 12px; align-items: flex-start; max-width: 72ch; font-size: 15px; cursor: pointer; }
.cform__check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.cform .form__foot a { color: var(--green); }
.cform .form__foot strong { font-weight: 500; }
.form__done:focus { outline: 2px solid var(--lime); outline-offset: 2px; }
/* end of every page: the promise on the left, the short form on the right */
.final__form { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 4vw, 72px); align-items: start; padding-top: 28px; border-top: 1px solid var(--line); }
.final__form:not(:has(> p)) { grid-template-columns: minmax(0, 8fr); }   /* a closing block without a promise line */
.final__form > p { max-width: 40ch; font-size: 18px; color: var(--muted); }
.final--form .cform { max-width: none; margin: 0; }
@media (max-width: 1100px) { .final__form { grid-template-columns: minmax(0, 1fr); } }   /* 1fr: a long select option widened the page */

/* contact: direct details */
.direct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.direct > div { padding: 26px 24px 8px 0; }
.direct dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.direct dd { margin: 12px 0 0; font-size: 20px; line-height: 1.35; letter-spacing: -0.015em; }

/* ---------- spacing between blocks inside one section ---------- */
.gap-top { margin-top: clamp(48px, 6vw, 96px); }
.sec > .wrap + .wrap { margin-top: clamp(48px, 6vw, 96px); }

/* ---------- menu: product sub-links on phones ---------- */
.menu .menu__sub { padding: 10px 16px 10px 32px; font-size: 17px; background: transparent; color: var(--muted); }
.nav__cell[aria-current], .nav__drop:has([aria-current="page"]) { box-shadow: inset 0 -2px 0 var(--lime); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cells[style*="--cols:4"], .cells[style*="--cols:5"], .cells[style*="--cols:6"] { --cols: 2 !important; }
  .figband .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pgh { min-height: 0; padding-top: 64px; }
  .pgh__grid { grid-template-columns: 1fr; padding-top: 24px; }
  .pgh__h1 { font-size: clamp(36px, 10vw, 48px); }
  .pgh__art { order: 0; }
  .pgh__art svg { max-height: 300px; }
  .stmt > h2, .stmt__body { grid-column: 1 / -1; }
  .routes { grid-template-columns: 1fr; }
  .routes .paper { min-height: 0; }
  .routes .paper h3 { margin-top: 40px; }
  .parts, .steps, .lineup, .pp--feature, .scope, .sheet, .direct, .form fieldset { grid-template-columns: minmax(0, 1fr); }
  .parts__art, .steps__side { position: static; }
  .parts__board { min-height: 0; }
  .pp--feature .pp__art { order: 0; }
  .cells, .cells[style] { --cols: 1 !important; }
  .cell { border-left: 0; padding-inline: 0; }
  .figband .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figband .figures > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .chain__row { grid-template-columns: 1fr; }
  .chain__row li { padding: 0 0 26px; }
  .chain__row li:not(:last-child)::after { right: auto; left: 24px; top: auto; bottom: 6px; width: 2px; height: 16px; background: linear-gradient(180deg, var(--lime) 0 40%, transparent 40%) 0 0 / 2px 8px repeat-y; animation: none; }
  .steps__list li { grid-template-columns: 56px minmax(0, 1fr); }
  .steps__after { margin-left: 0; }
  /* tables become blocks: the column names repeat as labels */
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .tbl th, .tbl td { padding: 4px 0; border: 0; text-align: left !important; }
  .tbl tbody th { margin-bottom: 8px; }
  .tbl td::before { content: attr(data-label); display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .sheet__row { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .chain__row li::after { animation: none; } }

/* ---------- MDC2000 page bits ---------- */
.pgh__plan { position: relative; padding: clamp(18px, 2.4vw, 36px); border: 1px solid var(--line); border-radius: 8px; background: radial-gradient(rgba(244, 247, 213, 0.07) 1px, transparent 1.3px) 0 0 / 22px 22px, var(--deep); }
.pgh__plan figcaption { position: absolute; left: 16px; top: 14px; padding: 4px 8px; border-radius: 4px; background: var(--lime); color: var(--green); font-size: 11px; letter-spacing: 0.08em; }
.pgh__plan svg { max-height: none; }
.split2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: clamp(32px, 4vw, 56px); }
.split2 .cell__big { padding: clamp(22px, 3vw, 40px); border-radius: 8px; background: rgba(244, 247, 213, 0.05); box-shadow: inset 0 0 0 1px var(--line); margin: 0; font-size: clamp(56px, 7vw, 120px); }
.split2 .cell__big:first-child { background: var(--lime); color: var(--green); box-shadow: none; }
.split2 .cell__big .mono { display: block; margin-top: 22px; max-width: 34ch; font-size: 12px; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase; color: inherit; opacity: 0.75; }
.power { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.power__paths { position: sticky; top: 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.power__paths span { display: grid; place-items: end start; aspect-ratio: 1 / 2.2; padding: 14px; border-radius: 6px; background: rgba(244, 247, 213, 0.06); box-shadow: inset 0 0 0 1px var(--line); font-size: clamp(36px, 4vw, 64px); font-weight: 300; letter-spacing: -0.04em; color: var(--lime); position: relative; overflow: hidden; }
.power__paths span::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 34%; width: 2px; background: linear-gradient(var(--lime) 0 50%, transparent 50%) 0 0 / 2px 12px; animation: me-down 1.1s linear infinite; }
@keyframes me-down { to { background-position: 0 12px; } }
.power__body { margin-top: 30px; font-size: 18px; color: var(--muted); }
.spec__note { margin-top: 28px; max-width: 80ch; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .split2, .power { grid-template-columns: 1fr; }
  .power__paths { position: static; max-width: 360px; }
  .power__paths span { aspect-ratio: 1 / 1.4; }
}
@media (prefers-reduced-motion: reduce) { .power__paths span::before { animation: none; } }

/* figures band: values never break at a hyphen; five or more values get a smaller size */
.figband .figures dt { hyphens: none; }
.figband .figures[style*="--n:5"] dt, .figband .figures[style*="--n:6"] dt { font-size: clamp(28px, 2.5vw, 52px); }

/* staged form (contact page): wrappers do not break the field grid; hidden always wins over display rules */
.cform__more { display: contents; }
.form [hidden] { display: none !important; }

/* Photographs from the ModulEdge library (Photos.astro): one large frame, two stacked beside it. The pictures come
   in desaturated and take their colour as they enter, the same restraint as the homepage case photos. */
.ph { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(40px, 5vw, 80px); }
.ph--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ph__fig { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ph__fig--big { grid-row: span 2; }
.ph__fig--big { grid-row: 1 / span 2; }
.ph--flip .ph__fig--big { grid-column: 2; }
.ph--flip .ph__fig:not(.ph__fig--big) { grid-column: 1; }
.ph__fig:nth-child(2):not(.ph__fig--big) { grid-row: 1; }
.ph__fig:nth-child(3) { grid-row: 2; }
.ph__img { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 6px; background: var(--deep); }
.ph__fig:not(.ph__fig--big) .ph__img { flex: none; aspect-ratio: 3 / 2; }
.ph__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph__fig figcaption { font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.js .ph__img img { filter: grayscale(0.9) contrast(1.04); transform: scale(1.06); transition: filter 1.4s var(--ease) 0.25s, transform 1.6s var(--ease); }
.js .ph__fig.is-in .ph__img img { filter: none; transform: none; }
@media (max-width: 900px) {
  .ph, .ph--flip { grid-template-columns: 1fr 1fr; }
  .ph__fig--big, .ph--flip .ph__fig--big { grid-column: 1 / -1; grid-row: auto; }
  .ph__fig:nth-child(2):not(.ph__fig--big), .ph__fig:nth-child(3) { grid-row: auto; }
  .ph__fig--big .ph__img { flex: none; aspect-ratio: 3 / 2; }
  .ph--flip .ph__fig:not(.ph__fig--big) { grid-column: auto; }
}
@media (max-width: 560px) {
  .ph, .ph--flip { grid-template-columns: 1fr; }
}

/* inner pages: the lime band only frames a row of figures, so it is no taller than they need
   (the homepage keeps its tall band: there it is the curtain over the 3D scene) */
.figband .fly__curtain { padding: clamp(36px, 4.5vw, 64px) 0; }  /* the homepage too (decided: no tall band there either) */

/* the main offer (MDC2000) leads the product menu: a lime cell, the note in full contrast */
.nav__panel a.is-main { background: var(--lime); color: var(--green); padding: 16px 14px; }
.nav__panel a.is-main .mono { color: var(--green); }
.nav__panel a.is-main:hover { background: #d6e33a; color: var(--green); }
.menu .menu__sub.is-main { color: var(--lime); }

/* delivery steps on the homepage (MDC2000): the drawing and the factory step show the module alone;
   its outdoor plant and pipework appear on site */
.flow__art--1 :is(.sl-outdoor, .sl-pipes), .flow__art--2 :is(.sl-outdoor, .sl-pipes, .plant) { display: none; }

/* ---------- colocation (home, products, MDC2000) ---------- */
.coloc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.coloc__text .head { margin-bottom: 0; }
.coloc__cta { margin-top: 32px; }
.coloc__cta .btn { max-width: 100%; white-space: normal; text-align: left; height: auto; min-height: 48px; padding-block: 12px; }
.coloc__note { max-width: 52ch; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; letter-spacing: 0.02em; color: var(--muted); }
.coloc__art svg { width: 100%; height: auto; }
@media (max-width: 900px) { .coloc__grid { grid-template-columns: 1fr; } .coloc__art { order: -1; max-width: 560px; } }
.coloc .head h2 { font-size: clamp(32px, 3.6vw, 60px); }
.nav__soon, .menu__soon { font-style: normal; opacity: 0.7; }
.menu__soon { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
