/* Emerald code field: a quiet cinematic frame for the technical library. */
#technical-resources {
  --matrix-green: #8df5ad;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 800px;
  padding: 78px 24px 88px;
  background: #000;
  border-top: 1px solid #153223;
  border-bottom: 1px solid #153223;
}
#technical-resources::before,
#technical-resources::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
#technical-resources::before {
  inset: 0;
  background: radial-gradient(ellipse 36% 48% at 50% 35%, rgba(29, 120, 57, .14), transparent 80%),
    linear-gradient(180deg, #000 0%, transparent 12%, transparent 84%, #000 100%);
}
#technical-resources::after {
  width: min(960px, 92%);
  height: 230px;
  bottom: -156px;
  left: 50%;
  transform: translateX(-50%) perspective(290px) rotateX(58deg);
  background-image: linear-gradient(rgba(115, 241, 148, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(115, 241, 148, .14) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse, #000, transparent 72%);
}
#technical-resources .matrix-code-field {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .82;
}
#technical-resources .technical-entry-shell {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 1020px;
}
#technical-resources .matrix-portrait {
  position: relative;
  flex: none;
  width: 344px;
  max-width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  background: radial-gradient(circle, rgba(35, 127, 63, .1), transparent 65%);
}
#technical-resources .matrix-portrait::before,
#technical-resources .matrix-portrait::after {
  content: "";
  position: absolute;
  inset: 13px;
  pointer-events: none;
}
#technical-resources .matrix-portrait::before {
  border: 1px solid rgba(117, 238, 151, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 15px rgba(113, 238, 145, .025), 0 0 68px rgba(75, 219, 112, .05);
}
#technical-resources .matrix-portrait::after {
  inset: 0;
  background: linear-gradient(var(--matrix-green), var(--matrix-green)) left top / 18px 1px no-repeat,
    linear-gradient(var(--matrix-green), var(--matrix-green)) left top / 1px 18px no-repeat,
    linear-gradient(var(--matrix-green), var(--matrix-green)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--matrix-green), var(--matrix-green)) right bottom / 1px 18px no-repeat;
  opacity: .42;
}
#technical-resources .technical-outline {
  width: 320px;
  height: auto;
  max-width: 100%;
  margin: 0 auto 22px;
  filter: hue-rotate(-47deg) saturate(1.3) brightness(1.13) drop-shadow(0 0 8px rgba(69, 224, 115, .17));
  mix-blend-mode: screen;
}
#technical-resources .matrix-portrait .technical-outline { margin: 0; }
#technical-resources .technical-entry-kicker {
  margin: 0 0 20px;
  color: var(--matrix-green);
  font-size: 12px;
  letter-spacing: .24em;
}
#technical-resources h2 {
  max-width: 100%;
  margin: 0;
  color: #f2fff4;
  font-size: clamp(29px, 3.65vw, 50px);
  line-height: 1.35;
  letter-spacing: -.025em;
  text-shadow: 0 0 28px rgba(129, 245, 159, .08);
}
#technical-resources .technical-entry-action { margin-top: 26px; gap: 23px; }
#technical-resources .technical-entry-action > p { color: #a4baaa; font-size: 16px; letter-spacing: .08em; }
#technical-resources .technical-entry-action a {
  border: 1px solid #62b77b;
  border-radius: 6px;
  background: rgba(24, 69, 39, .38);
  color: #b9f9cb;
  padding: 16px 29px;
  gap: 32px;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
#technical-resources .technical-entry-action a:hover {
  border-color: #a0fbc0;
  background: rgba(37, 98, 54, .55);
  box-shadow: 0 0 24px rgba(69, 210, 114, .12), inset 0 0 18px rgba(87, 228, 126, .04);
}
#technical-resources .technical-entry-action a:focus-visible { outline: 2px solid #b9f9cb; outline-offset: 6px; }
#technical-resources .technical-entry-note { color: #839b89; font-size: 12px; }
@media (max-width: 760px) {
  #technical-resources { min-height: 730px; padding: 65px 22px 70px; }
  #technical-resources .matrix-portrait { width: 282px; margin-bottom: 25px; }
  #technical-resources .technical-outline { width: 270px; max-width: 100%; }
  #technical-resources h2 { font-size: clamp(27px, 7.2vw, 36px); line-height: 1.4; }
  #technical-resources .technical-entry-kicker { font-size: 11px; letter-spacing: .18em; }
  #technical-resources .technical-entry-action { margin-top: 24px; gap: 24px; }
  #technical-resources .technical-entry-action > p { font-size: 15px; }
  #technical-resources .matrix-code-field { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  #technical-resources .technical-entry-action a { transition: none; }
}
