/* ═══════════════════════════════════════════════════════════
   TRACKS   [normal scroll]
   NRI, joint development and redevelopment. These are the three
   audiences the brief asks for that get buried three clicks down
   on most developer sites — so they sit on the homepage, where
   the people they are written for will actually find them.
   ═══════════════════════════════════════════════════════════ */

.tracks {
  position: relative;
  z-index: 2;
  background: var(--kiln);
  color: var(--on-dark);
  padding: 15rem 0;
  overflow: hidden;
}
/* a course of mortar joints, barely there — the wall from scene 02
   continuing underneath the reading sections */
.tracks::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, var(--line-dark) var(--hair), transparent var(--hair)),
    linear-gradient(to right,  var(--line-dark) var(--hair), transparent var(--hair));
  background-size: 100% 3.4rem, 5rem 100%;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 82%);
  opacity: .8;
  pointer-events: none;
}
.tracks > * { position: relative; }

.tr-head {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 0 var(--gap);
  margin-bottom: 7rem;
}
.tr-head .sec-label { grid-column: 1 / 5; align-self: start; padding-top: 1.2rem; }
.tr-title { grid-column: 5 / 14; font-size: 7.4rem; color: var(--chalk); }

.tr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.tr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3.4rem 3rem 3rem;
  background: rgba(250,247,241,.035);
  border: var(--hair) solid var(--line-dark);
  transition: background .55s var(--ease), border-color .55s var(--ease), transform .7s var(--ease-arch);
}
/* the clay wash that rises on hover — the same gesture as .btn,
   so the page has one hover language rather than three */
.tr-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(168,69,44,.22), rgba(168,69,44,.05));
  opacity: 0;
  transition: opacity .55s var(--ease);
  pointer-events: none;
}

.tr-tag { color: var(--brick-lit); }

.tr-name {
  font-family: var(--font-display);
  font-weight: 400;

  font-size: 3.4rem;
  line-height: 1.02;
  letter-spacing: -.014em;
  color: var(--chalk);
}
.tr-copy { font-size: 1.58rem; color: var(--on-dark); flex: 1; }

.tr-go {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1rem;
  color: var(--on-dark-mute);
  transition: color .45s var(--ease);
}
.tr-go b { font-weight: 400; transition: transform .45s var(--ease); display: inline-block; }

@media (hover: hover) {
  .tr-card:hover { border-color: var(--line-dark-lift); transform: translateY(-.6rem); }
  .tr-card:hover::before { opacity: 1; }
  .tr-card:hover .tr-go { color: var(--chalk); }
  .tr-card:hover .tr-go b { transform: translateX(.4rem); }
}
.tr-card:focus-visible { outline: 2px solid var(--brick-lit); outline-offset: 3px; }

@media (max-width: 991px) {
  .tracks { padding: 10rem 0; }
  .tr-head { grid-template-columns: 1fr; gap: 2.6rem; margin-bottom: 4.5rem; }
  .tr-head .sec-label, .tr-title { grid-column: 1; }
  .tr-title { font-size: 5.2rem; }
  .tr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .tr-title { font-size: 3.8rem; }
  .tr-name { font-size: 2.8rem; }
}
