/* ==========================================================================
   Transport (campus-facilities.html, #safety only).
   Clean cream background (the old navy band and wave are removed).
   Left: kicker, heading, sub-heading, intro, handwritten quote card, CTA.
   Right: a 2 x 2 grid of white cards, each with an icon, number, title and text.
   ========================================================================== */

#safety.sf-transport {
  position: relative;
  background: #faf7f1;
  overflow: hidden;
  padding: clamp(56px, 6vw, 88px) 0;
}

/* the old navy band's wave divider is no longer needed */
#safety.sf-transport > .wave {
  display: none;
}

#safety .tr-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

/* ---------- copy ---------- */
#safety .tr-copy .kicker {
  display: inline-block;
  font-family: var(--hp-nav);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hp-orange);
  margin-bottom: 14px;
}

#safety .tr-copy .kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1.5px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--hp-orange);
}

#safety .tr-copy .h2 {
  font-family: var(--hp-serif);
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--hp-navy);
  margin: 0 0 18px;
  text-wrap: balance;
}

#safety .tr-copy .accent {
  color: var(--hp-orange);
}

#safety .tr-copy .sf-sub {
  text-align: left;
  font-family: var(--hp-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--hp-blue);
  margin: 0 0 14px;
}

#safety .tr-copy .as-intro-s {
  text-align: left;
  font-family: var(--hp-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--hp-ink);
  opacity: 1;
  margin: 0 0 28px;
  max-width: 520px;
}

#safety .tr-copy .sf-cta {
  text-align: left;
  margin: 0;
}

#safety .tr-copy .sf-cta .tr-pill {
  display: inline-flex;
}

/* quote card */
#safety .tr-quote {
  margin: 0 0 30px;
  padding: 26px 28px 22px;
  background: #fff;
  border: 1px solid #e6e2d8;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(14, 42, 71, .05);
  max-width: 560px;
}

#safety .tr-quote .sf-close {
  font-family: var(--hp-script);
  font-size: 19px;
  line-height: 1.6;
  color: var(--hp-blue);
  margin: 0 0 16px;
}

#safety .tr-quote footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 12px;
  border-top: 1px solid #eee9de;
  font-family: var(--hp-sans);
  font-size: 13px;
  color: var(--hp-navy);
}

#safety .tr-quote footer a {
  color: var(--hp-orange);
  text-decoration: none;
  font-weight: 600;
}

#safety .tr-quote footer a:hover {
  text-decoration: underline;
}

/* button: index.html pill, medium size */
#safety .tr-pill {
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

/* ---------- cards ---------- */
#safety .tr-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#safety .tr-card {
  position: relative;
  padding: 24px 24px 26px;
  background: #fff;
  border: 1px solid #e6e2d8;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(14, 42, 71, .05);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

#safety .tr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(14, 42, 71, .10);
}

#safety .tr-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #e8f0fa;
}

#safety .tr-ic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--hp-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#safety .tr-no {
  position: absolute;
  top: 24px;
  right: 22px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fdf0e7;
  font-family: var(--hp-nav);
  font-size: 12px;
  color: var(--hp-orange);
}

#safety .tr-card h4 {
  font-family: var(--hp-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--hp-navy);
  margin: 18px 0 10px;
}

#safety .tr-card p {
  font-family: var(--hp-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--hp-ink);
  margin: 0;
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  #safety .tr-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  #safety .tr-quote {
    max-width: none;
  }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  #safety.sf-transport {
    padding: 56px 0 64px;
  }
  #safety .tr-copy .h2 {
    font-size: clamp(30px, 8.8vw, 38px);
  }
  #safety .sf-sub {
    font-size: 18px;
  }
  #safety .tr-quote {
    padding: 20px 18px 18px;
  }
  #safety .tr-quote .sf-close {
    font-size: 17px;
  }
  #safety .tr-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  #safety .tr-card {
    padding: 20px 20px 22px;
    border-radius: 18px;
  }
  #safety .tr-card h4 {
    font-size: 20px;
  }
  #safety .tr-pill {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #safety .tr-card {
    transition: none;
  }
  #safety .tr-card:hover {
    transform: none;
  }
}
