/* The Technology pages on the light interior standard (the Sheet, approved 2026-09-10): /technology,
   /technology/<system> and /programs. Loaded after light.css by pages that set body.tx — every rule here is
   scoped to .tx so the industry pages, which own light.css, are untouched.

   What this file adds to light.css and nothing more:
     .tx-hero-plain  the dark hero where the inventory has no picture (the index and the programs page)
     .tx-role        the system's role, under its name in the hero
     .tx-media       the capability line's own picture, at the head of its sheet, over its colour
     .tx-tags        the division's practices, as chips (not links)
     .tx-note        the line the page shows where the inventory names nothing
     .tx-sys(-grid)  the seventeen system cards
     .tx-rail-x      the rail's last entry, which jumps to the systems rather than to a sheet
   plus the light repaint of two blocks whose markup is shared with the dark pages: .applied-list and the
   field-work .btn. The sheet itself (.s3, .s3-head, .s3-row, .sol-k, .s3-content) is light.css's, unchanged:
   one label column and one content column, every label at the same x, every content block at the same x. */

/* ---- the dark hero where there is no picture to run ---- */
.tx .tx-hero-plain {
  background:
    radial-gradient(120% 88% at 16% 8%, rgba(30, 94, 255, .32), transparent 62%),
    radial-gradient(95% 80% at 88% 84%, rgba(212, 168, 67, .13), transparent 60%),
    #08090C;
}
.tx .tx-hero-plain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(78% 68% at 50% 38%, #000 0%, transparent 76%);
  mask-image: radial-gradient(78% 68% at 50% 38%, #000 0%, transparent 76%);
}

/* ---- the system's role, between its name and what it is ---- */
.tx .tx-role { margin-top: 14px; font: 500 12px/1.5 ui-monospace, Menlo, monospace; letter-spacing: .2em; text-transform: uppercase; color: #C9D3E3; }

/* ---- the sheet: the capability line's picture at its head, its colour as the signal underneath ---- */
.tx .tx-media { position: relative; display: block; background: #08090C; }
.tx .tx-media .card-img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 45%; }
.tx .tx-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sig, var(--blue)); }
@media (min-width: 880px) { .tx .tx-media .card-img { aspect-ratio: 16 / 5; } }
.tx .s3 .s-meta em { color: var(--sig, var(--blue)); }

/* ---- practices: the division's own tags, which are labels rather than links ---- */
.tx .tx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tx .tx-tags li { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font: 600 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* ---- what the page says where the inventory names nothing ---- */
.tx .tx-note { color: var(--ink-3); font-size: 15px; line-height: 1.6; max-width: 62ch; }

/* ---- the systems: seventeen cards, each under its division's colour ---- */
.tx .dx-caps h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.tx .tx-sys-grid { display: grid; gap: 14px; }
.tx .tx-sys { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); }
.tx .tx-sys:hover { border-color: var(--blue); }
.tx .tx-sys-media { display: block; background: #08090C; border-bottom: 3px solid var(--sig, var(--blue)); }
.tx .tx-sys-media .card-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tx .tx-sys-body { display: grid; gap: 8px; align-content: start; padding: 18px 20px 22px; }
.tx .tx-sys h3 { font-size: 20px; }
.tx .tx-sys-role { color: var(--blue-deep); font-size: 14px; font-weight: 600; }
.tx .tx-sys-desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
@media (min-width: 700px) { .tx .tx-sys-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tx .tx-sys-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- the rail's last entry: the systems, not a sheet ---- */
@media (min-width: 880px) { .tx .tx-rail-x { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); } }

/* ---- where a system is applied: the same markup as the dark pages, repainted ---- */
.tx .applied-list { display: grid; gap: 8px; }
.tx .applied-list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 44px; padding: 12px 14px; border-radius: 12px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent, var(--blue)); }
.tx .applied-list a:hover { border-color: var(--blue); border-left-color: var(--accent, var(--blue)); }
.tx .applied-ind { font-family: "Space Grotesk", Inter, sans-serif; font-weight: 600; font-size: 16px; color: var(--ink); }
.tx .applied-sol { font: 500 11px/1.5 ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---- the field-work links (cases.mjs emits .cta-row > .btn), repainted ---- */
.tx .field-work-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.tx .field-work-links .btn { min-height: 44px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.tx .field-work-links .btn:hover { border-color: var(--blue); background: var(--paper); color: var(--blue-deep); }

/* ---- touch: the index and the chips are the navigation, so they take a full 44px target on a phone ---- */
@media (max-width: 879px) {
  .tx .rail a { min-height: 44px; }
  .tx .built-chips a { min-height: 44px; padding: 10px 14px; }
}
