/* ====================================================================
   Technical — landing hub.
   Two emphasized feature cards (Technical Manual, Voxel Engineering)
   sit above a quieter "notes & writing" list (Field Notes, Lab Notes).
   Pure black/white house style, building on dept-page.css.
   ==================================================================== */

/* ===== Primary: two big feature cards ================================= */
.tech-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0 3.5rem;
}
/* Card chrome (border + hover lift) comes from style.css's .lift-card. */
.tech-feature {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.75rem 1.5rem;
  text-decoration: none !important;
}
.tech-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin: 0 0 1rem;
}
.tech-feature h2 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.85rem;
}
.tech-feature p {
  font-family: var(--font-text);
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
}
.tech-go {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-top: auto;
}
.tech-feature:hover .tech-go {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

/* ===== Secondary: quieter notes list ================================= */
.tech-secondary-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin: 0 0 0.5rem;
}
.tech-secondary { border-top: 2px solid #000; }
/* Space between stacked secondary sections (e.g. Guest Essays / Notes & References). */
.tech-secondary + .tech-secondary-label { margin-top: 2.5rem; }
.tech-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 0;
  border-bottom: 1.5px solid #000;
  text-decoration: none !important;
}
/* Title + description stack vertically so a long title never competes with
   the description for one line. */
.tech-link-main { min-width: 0; }
.tech-link-title {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}
.tech-link-desc {
  display: block;
  font-family: var(--font-text);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}
.tech-arrow {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--ink);
  flex-shrink: 0;
}
.tech-link:hover .tech-link-title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

/* ===== Responsive ===================================================== */
@media (max-width: 700px) {
  .tech-primary { grid-template-columns: 1fr; }
}
