/* ARMY TRAINING — modular training architecture */

.tr-hero { background: var(--ivory); padding-block: clamp(2rem, 4vw, 3.2rem) clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid var(--rule); }
.tr-hero .crumbs { margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.tr-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.8rem 5rem; }
.tr-hero h1 { max-width: 14ch; }
.tr-hero .lead { max-width: 54ch; }
.tr-hero__fig { max-width: 500px; }
@media (min-width: 1200px) { .tr-hero__grid { grid-template-columns: minmax(0, 1fr) 500px; align-items: center; } }
.tr-stmt { margin: clamp(2.6rem, 5vw, 4rem) 0 0; padding: 22px 0 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 40px; font: 500 clamp(1.1rem, .95rem + .7vw, 1.5rem)/1.4 var(--f-display); color: var(--fg); max-width: 1100px; }
.tr-stmt .mono { color: var(--acc); padding-top: .35em; }
@media (min-width: 800px) { .tr-stmt { grid-template-columns: 180px minmax(0, 1fr); } }

/* Stack */
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
.stack__axis { display: none; }
@media (min-width: 900px) {
  .stack { grid-template-columns: 56px minmax(0, 1fr); }
  .stack__axis { display: flex; align-items: center; justify-content: center; position: relative; }
  .stack__axis::before { content: ""; position: absolute; top: 6px; bottom: 0; left: 50%; width: 1px; background: linear-gradient(var(--copper), var(--rule-2)); }
  .stack__axis::after { content: ""; position: absolute; top: 0; left: 50%; width: 10px; height: 10px; border-left: 1.5px solid var(--copper); border-top: 1.5px solid var(--copper); transform: translateX(-50%) rotate(45deg); }
  .stack__axis span { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 .66rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--acc); background: var(--paper); padding: 12px 0; position: relative; }
}
.stack__tiers { display: grid; gap: 10px; }
.tier { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 40px; padding: 28px clamp(20px, 3vw, 36px); border: 1px solid var(--rule-2); position: relative; }
.tier--1 { background: var(--abyss); color: var(--on-dark); border-color: var(--abyss); --fg: var(--on-dark); --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3); --rule-2: var(--line-d2); --acc: var(--copper-lt); }
.tier--2 { background: var(--bone); }
.tier--3 { background: var(--paper); }
@media (min-width: 900px) {
  .tier--3 { margin-inline: 12%; }
  .tier--2 { margin-inline: 6%; }
}
.tier__k { font: 500 .68rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--acc); }
.tier__t { margin: 10px 0 .4rem; font: 700 clamp(1.2rem, 1rem + .7vw, 1.6rem)/1.1 var(--f-display); font-stretch: 112%; text-transform: uppercase; color: var(--fg); }
.tier__head p { margin: 0; color: var(--fg-2); font-size: .98rem; }
.tier__mods { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.tier__mods li { padding: 9px 13px; border: 1px solid var(--rule-2); font: 500 .74rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg); background: transparent; transition: background-color .25s, border-color .25s; }
.tier__mods li:hover { border-color: var(--copper); }
@media (min-width: 1100px) { .tier { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; } }

/* Lifecycle */
.lifecycle { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.lifecycle li { position: relative; padding: 0 0 2rem 40px; }
.lifecycle li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 1px; background: var(--rule-2); }
.lifecycle li:last-child::before { display: none; }
.lifecycle__dot { position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border: 1.5px solid var(--copper); background: var(--ivory); border-radius: 50%; }
.lifecycle li:nth-child(-n+4) .lifecycle__dot { background: var(--copper); }
.lifecycle__k { margin: 0 0 .3rem; font: 400 .7rem/1.4 var(--f-mono); color: var(--acc); }
.lifecycle h3 { margin-bottom: .35rem; }
.lifecycle p:last-child { color: var(--fg-2); font-size: .94rem; }
@media (min-width: 1000px) {
  .lifecycle { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 24px; }
  .lifecycle li { padding: 36px 0 0; }
  .lifecycle li::before { left: 0; right: -24px; top: 7px; bottom: auto; width: auto; height: 1px; }
  .lifecycle li:last-child::before { display: block; right: 0; }
  .lifecycle__dot { top: 0; }
}

.scope { max-width: 900px; }
.scope p { color: var(--fg-2); margin-bottom: 1.6rem; }
