.tir-benefits,
.tir-sources {
  --parking-accent: #416339;
  --parking-rule: #aebda5;
  color-scheme: light;
  color: var(--ink);
  padding-block: clamp(64px, 8vw, 118px);
}

.tir-benefits { background: #e4ebda; }
.tir-sources { background: var(--paper); }

.parking-heading h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  font-weight: 560;
  line-height: 1.03;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.parking-heading h2 em {
  color: var(--parking-accent);
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

.parking-heading p {
  max-width: 37ch;
  color: #435448;
  font-size: 1rem;
  line-height: 1.5;
}

.parking-heading p:first-child { margin: 0 0 12px; }
.parking-heading h2 + p { margin: 18px 0 0; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: clamp(36px, 5vw, 70px);
  border-top: 1px solid var(--parking-rule);
}

.benefit { padding: clamp(24px, 3vw, 42px) clamp(18px, 2.8vw, 40px) 0; }
.benefit:first-child { padding-inline-start: 0; }
.benefit:last-child { padding-inline-end: 0; }
.benefit + .benefit { border-inline-start: 1px solid var(--parking-rule); }

.parking-icon, .source-icon {
  display: block;
  box-sizing: border-box;
  color: var(--parking-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.parking-icon { width: 42px; height: 42px; margin-bottom: clamp(20px, 2.2vw, 30px); }
.parking-icon svg, .source-icon svg { display: block; width: 100%; height: 100%; }

.benefit h3, .source-copy h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.benefit h3 { font-size: clamp(1.5rem, 2.15vw, 2.1rem); }
.source-copy h3 { font-size: clamp(1.3rem, 1.55vw, 1.6rem); }
.benefit p, .source-copy p {
  margin: 9px 0 0;
  color: #3f5143;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 42ch;
}

.tir-sources .tir-wrap {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.source-list { list-style: none; margin: 0; padding: 0; }
.source-list > li {
  --rail-x: 17px;
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: clamp(14px, 2vw, 28px);
  padding-bottom: 28px;
}

.source-list > li:last-child { padding-bottom: 0; }
.source-list > li:not(:last-child)::before,
.source-list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: 39px auto 3px var(--rail-x);
  width: 1px;
  background: var(--parking-rule);
}

.source-list > li:not(:last-child)::after {
  background: var(--parking-accent);
  transform: scaleY(0);
  transform-origin: top;
}

.source-icon { width: 36px; height: 36px; padding: 4px; }
.source-copy { padding-block-start: 3px; }
.source-copy p { margin-block-start: 4px; }

@keyframes tir-parking-rail {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  65% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes tir-parking-icon {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  html:not([data-tir-static]) .parking-in-view .parking-icon .icon-trace {
    stroke-dasharray: 1;
    animation: tir-parking-icon 650ms ease-out backwards;
  }
  html:not([data-tir-static]) .parking-in-view .source-list > li:not(:last-child)::after {
    animation: tir-parking-rail 860ms ease-in-out both;
  }
  html:not([data-tir-static]) .parking-in-view .benefit:nth-child(2) .icon-trace { animation-delay: 180ms; }
  html:not([data-tir-static]) .parking-in-view .benefit:nth-child(3) .icon-trace { animation-delay: 360ms; }
  html:not([data-tir-static]) .parking-in-view .source-list > li:nth-child(2)::after { animation-delay: 550ms; }
  html:not([data-tir-static]) .parking-in-view .source-list > li:nth-child(3)::after { animation-delay: 1100ms; }
}

@media (max-width: 800px) {
  .tir-sources .tir-wrap { grid-template-columns: 1fr; }
  .source-copy p { max-width: 50ch; }
}

@media (max-width: 690px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid > .benefit {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 16px;
    border-inline-start: 0;
    padding: 22px 0;
    border-bottom: 1px solid var(--parking-rule);
  }
  .benefit .parking-icon { grid-row: span 2; margin: 0; width: 34px; height: 34px; }
  .benefit p { grid-column: 2; margin-top: 5px; }
}
