/* Technology page — sticky process rail + alternating process blocks. */

.techlayout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: clamp(24px, 4vw, 68px);
  padding-bottom: var(--sec-y);
}
@media (max-width: 980px) { .techlayout { grid-template-columns: 1fr; } }

.techrail { position: sticky; top: 112px; align-self: start; height: max-content; }
@media (max-width: 980px) {
  .techrail {
    position: static; margin-bottom: 30px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .techrail-list { display: flex; gap: 8px; }
  .techrail-list li { flex: 0 0 auto; }
  .techrail-list a { border-left: 0 !important; border: 1.4px solid var(--line); border-radius: 100px; padding: 8px 16px !important; }
  .techrail-list a.is-on { background: var(--navy); border-color: var(--navy); }
  .techrail-list a.is-on .techrail-txt, .techrail-list a.is-on .techrail-no { color: #fff; }
}

.techrail-label {
  display: block; font-family: var(--f-mono); font-size: .66rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--grey-2);
  margin-bottom: 16px;
}
.techrail-list { list-style: none; margin: 0; padding: 0; }
.techrail-list li { margin: 0; }
.techrail-list a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0 11px 16px; border-left: 2px solid var(--line);
  transition: border-color .35s var(--ease), padding-left .35s var(--ease-out);
}
.techrail-list a:hover { border-color: var(--green); padding-left: 22px; }
.techrail-list a.is-on { border-color: var(--green); }
.techrail-no { font-family: var(--f-mono); font-size: .68rem; color: var(--green); }
.techrail-txt {
  font-size: .92rem; font-weight: 500; color: var(--grey);
  transition: color .3s var(--ease);
}
.techrail-list a:hover .techrail-txt, .techrail-list a.is-on .techrail-txt { color: var(--navy); }

.techitem { padding-block: clamp(32px, 5vw, 62px); border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.techitem:last-child { border-bottom: 0; }

.techitem-head { display: flex; gap: clamp(14px, 2vw, 26px); align-items: flex-start; margin-bottom: clamp(20px, 3vw, 34px); }
.techitem-no {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px rgba(19,40,67,.22);
  flex: 0 0 auto; letter-spacing: -.04em;
}
.techitem-title { font-size: clamp(1.5rem, 3vw, 2.4rem); margin: 0 0 8px; }
.techitem-lead { color: var(--green-deep); font-weight: 500; margin: 0; font-size: clamp(.98rem, 1.3vw, 1.1rem); }

.techitem-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(20px, 3.4vw, 52px); align-items: start; }
@media (max-width: 820px) { .techitem-grid { grid-template-columns: 1fr; } }

/* the process artwork is square, so give it a square frame and let it fill */
.techitem-media .frame {
  background: linear-gradient(140deg, var(--paper-3), #fff 60%);
  aspect-ratio: 1 / 1;
}
.techitem-media .frame img { object-fit: contain; padding: 6%; background: transparent; }

.techspec { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.techspec:first-child { padding-top: 0; }
.techspec:last-of-type { border-bottom: 0; }
.techspec h3 {
  font-size: 1.04rem; margin: 0 0 6px; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.techspec h3::before {
  content: ''; width: 8px; height: 8px; border-radius: 2px;
  background: var(--green); flex: 0 0 auto;
  transform: rotate(45deg);
}
.techspec p { margin: 0; color: var(--grey); font-size: .95rem; }
