.tr-page { color: var(--ink, #20262d); background: var(--paper, #f5f3ee); }
.tr-hero { padding-block: 22px clamp(54px, 6vw, 100px); }
.tr-back, .tr-link, .tr-services {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}
.tr-back { font-size: .92rem; margin-bottom: clamp(28px, 4vw, 64px); }
.tr-back span, .tr-services span, .tr-link span { font-size: 1.2em; }
.tr-back:hover, .tr-services:hover, .tr-link:hover { color: var(--red, #b73b23); }
.tr-intro-grid { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(200px, .85fr); gap: clamp(30px, 8vw, 145px); align-items: end; }
.tr-hero h1 { margin: .15em 0 .24em; font-size: clamp(3.3rem, 7.5vw, 8rem); line-height: .96; letter-spacing: -.065em; text-wrap: initial; }
.tr-lede { max-width: 56ch; font-size: clamp(1.12rem, 1.45vw, 1.5rem); line-height: 1.48; }
.tr-meta { border-top: 2px solid currentColor; }
.tr-meta > div { padding-block: 16px; border-bottom: 1px solid var(--line, #c9cac1); }
.tr-meta dt, .tr-authors dt { margin-bottom: .42em; color: var(--muted, #505956); font-size: .76rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.tr-meta dd { font-weight: 700; line-height: 1.35; }
.tr-meta dd span { display: block; margin-top: 2px; color: var(--muted, #505956); font-weight: 400; }
.tr-model { background-color: #212c2b; color: #f7f5ec; padding-block: clamp(48px, 5.1vw, 84px); }
.tr-model .overline::before { background: #ed8d70; }
.tr-model h2, .tr-people h2 { margin-top: .3em; font-size: clamp(2.13rem, 4vw, 4.6rem); line-height: 1.02; letter-spacing: -.052em; }
.tr-system { margin: clamp(27px, 4.2vw, 65px) 0 0; }
.tr-diagram { display: grid; grid-template-columns: minmax(0, 1fr) minmax(30px, .47fr) minmax(0, .85fr) minmax(30px, .47fr) minmax(0, 1.1fr); align-items: center; border-block: 1px solid #65706a; padding: 58px clamp(0px, 2vw, 30px) 24px; }
.tr-group { position: relative; }
.tr-label { position: absolute; bottom: calc(100% + 8px); color: #c4cfc5; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.tr-group ul { min-height: 192px; margin: 0; padding: 0; list-style: none; display: grid; grid-auto-rows: 1fr; }
.tr-group li { display: flex; gap: .6em; align-items: center; font-weight: 700; border-top: 1px solid #485550; }
.tr-group li:last-child { border-bottom: 1px solid #485550; }
.tr-sources li::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #c1cabe; flex: none; }
.tr-uses li span { color: #f1a38e; min-width: 1.7em; font-variant-numeric: tabular-nums; }
.tr-connect { width: 100%; height: 192px; }
.tr-connect path { fill: none; stroke: #a1b0a5; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.tr-out path { stroke: #dc9a83; }
.tr-node { align-self: center; display: grid; justify-items: center; row-gap: 15px; text-align: center; border: 1px solid #a6b3a8; border-radius: 2px; padding: 20px 10px; background: #2f3d38; }
.tr-node strong { font: 700 clamp(1.02rem, 1.6vw, 1.65rem)/1.15 var(--display); letter-spacing: -.025em; }
.tr-layers { width: clamp(68px, 8vw, 108px); height: auto; }
.tr-system figcaption { color: #c6cfc8; margin-top: 12px; font-size: .84rem; }
.tr-note { width: min(100%, 68ch); margin-top: clamp(24px, 3.2vw, 48px); font-size: clamp(1.06rem, 1.38vw, 1.36rem); line-height: 1.5; }
.tr-people { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(28px, 7vw, 120px); padding-block: clamp(55px, 7vw, 118px); }
.tr-people h2 { max-width: 12ch; }
.tr-authors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 52px); padding-block: 18px 25px; border-top: 2px solid currentColor; }
.tr-authors strong { display: block; margin-bottom: .35em; font: 700 clamp(1.25rem, 2vw, 1.9rem)/1.15 var(--display); letter-spacing: -.03em; }
.tr-authors p { color: var(--muted, #505956); }
.tr-reference { border-block: 1px solid var(--line, #c9cac1); padding-block: 24px 16px; }
.tr-reference h3 { font: 700 clamp(1.45rem, 2.3vw, 2.15rem)/1.14 var(--display); letter-spacing: -.035em; }
.tr-reference p { margin-block: .55em .6em; color: var(--muted, #505956); }
.tr-services { margin-top: 12px; }
@media (max-width: 760px) {
  .tr-intro-grid, .tr-people { grid-template-columns: 1fr; gap: 30px; }
  .tr-meta { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .tr-authors { gap: 18px; }
  .tr-people h2 { max-width: 18ch; }
}
@media (max-width: 620px) {
  .tr-diagram { grid-template-columns: 1fr; padding: 19px 0; }
  .tr-label { position: static; margin-bottom: 10px; }
  .tr-group ul { min-height: 0; }
  .tr-sources ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .tr-sources li:nth-last-child(2) { border-bottom: 1px solid #485550; }
  .tr-group li { min-height: 42px; }
  .tr-sources li::after { display: none; }
  .tr-connect { width: 1px; height: 26px; justify-self: center; background: #a1b0a5; }
  .tr-connect path { display: none; }
  .tr-out { background: #dc9a83; }
  .tr-node { display: flex; justify-content: center; align-items: center; gap: 15px; }
  .tr-layers { width: 64px; }
  .tr-node strong { font-size: 1.35rem; }
}
@media (max-width: 395px) {
  .tr-hero h1 { font-size: 3.05rem; }
  .tr-meta, .tr-authors { grid-template-columns: 1fr; }
}
@media print {
  .tr-model { background: white; color: black; }
  .tr-model .tr-label, .tr-model figcaption, .tr-uses li span { color: #303c36; }
  .tr-node { color: black; background: #eceee8; }
  .tr-system, .tr-reference { break-inside: avoid; }
}
