@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.hpt-section{
  position:relative;
  width:100%;
  overflow:hidden;
  padding:clamp(68px,8vw,112px) 0;
  background:var(--hpt-bg,#edf3f6);
  color:var(--hpt-ink,#17212a);
  font-family:Inter,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

.hpt-section *,
.hpt-section *::before,
.hpt-section *::after{box-sizing:border-box}

.hpt-shell{
  width:min(calc(100% - 40px),var(--hpt-max,1180px));
  margin-inline:auto;
}

.hpt-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);
  align-items:end;
  gap:clamp(40px,8vw,110px);
  margin-bottom:clamp(48px,6vw,76px);
}

.hpt-eyebrow{
  display:flex;
  align-items:center;
  gap:13px;
  margin:0 0 18px!important;
  color:var(--hpt-muted,#68747d)!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.18em!important;
  text-transform:uppercase;
}

.hpt-eyebrow::before{
  content:'';
  width:34px;
  height:2px;
  background:var(--hpt-accent,#c91f28);
}

.hpt-header h2{
  margin:0!important;
  color:var(--hpt-ink,#17212a)!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(40px,5.4vw,72px)!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:-.055em!important;
}

.hpt-intro{
  margin:0!important;
  border-top:1px solid var(--hpt-ink,#17212a);
  padding-top:22px;
  color:var(--hpt-muted,#68747d)!important;
  font-size:14px!important;
  line-height:1.75!important;
}

.hpt-timeline{position:relative}

.hpt-row{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr);
  align-items:start;
  min-height:150px;
  padding-bottom:28px;
}

.hpt-section.is-compact .hpt-row{padding-bottom:18px}
.hpt-row:last-child{padding-bottom:0}

.hpt-card{
  position:relative;
  z-index:2;
  overflow:hidden;
  background:var(--hpt-card,#fff);
  border:1px solid rgba(23,33,42,.12);
  box-shadow:0 10px 30px rgba(23,33,42,.06);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.hpt-row.is-left .hpt-card{
  grid-column:1;
  margin-right:10px;
}

.hpt-row.is-right .hpt-card{
  grid-column:3;
  margin-left:10px;
}

.hpt-row.is-left .hpt-card:hover{transform:translateX(-4px)}
.hpt-row.is-right .hpt-card:hover{transform:translateX(4px)}
.hpt-card:hover{border-color:var(--hpt-accent,#c91f28);box-shadow:0 16px 38px rgba(23,33,42,.1)}

.hpt-card.has-image{
  display:grid;
  grid-template-columns:minmax(140px,180px) minmax(0,1fr);
}

.hpt-media{min-height:150px;margin:0!important;background:#dfe5e7}
.hpt-media img{display:block;width:100%!important;height:100%!important;min-height:150px;object-fit:cover}

.hpt-content{padding:22px 24px 23px}
.hpt-year{
  margin:0 0 8px!important;
  color:var(--hpt-accent,#c91f28)!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.12em!important;
  text-transform:uppercase;
}

.hpt-content h3{
  margin:0!important;
  color:var(--hpt-ink,#17212a)!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(20px,2.1vw,27px)!important;
  font-weight:600!important;
  line-height:1.15!important;
  letter-spacing:-.035em!important;
}

.hpt-copy{margin-top:12px;color:var(--hpt-muted,#68747d);font-size:13px;line-height:1.7}
.hpt-copy p{margin:0!important;color:inherit!important;font:inherit!important}
.hpt-copy p+p{margin-top:9px!important}

.hpt-axis{
  position:absolute;
  z-index:1;
  top:0;
  left:50%;
  width:84px;
  height:100%;
  transform:translateX(-50%);
  pointer-events:none;
}

.hpt-axis::after{
  content:'';
  position:absolute;
  z-index:-1;
  top:15px;
  left:50%;
  width:2px;
  height:calc(100% + 6px);
  background:var(--hpt-line,#bcc8ce);
}

.hpt-row:last-child .hpt-axis::after{display:none}

.hpt-node{
  position:absolute;
  top:0;
  left:50%;
  width:16px;
  height:16px;
  transform:translateX(-50%) rotate(45deg);
  background:var(--hpt-card,#fff);
  border:4px solid var(--hpt-accent,#c91f28);
  box-shadow:0 0 0 5px var(--hpt-bg,#edf3f6);
}

.hpt-empty{padding:30px;background:#fff;border-left:3px solid #c91f28}

@media(max-width:900px){
  .hpt-header{grid-template-columns:1fr;gap:28px}
  .hpt-intro{max-width:620px}
  .hpt-card.has-image{grid-template-columns:135px minmax(0,1fr)}
}

@media(max-width:720px){
  .hpt-section{padding:60px 0}
  .hpt-shell{width:min(calc(100% - 32px),var(--hpt-max,1180px))}
  .hpt-header{margin-bottom:44px}
  .hpt-row{display:block;min-height:0;padding:0 0 20px 38px}
  .hpt-section.is-compact .hpt-row{padding-bottom:14px}
  .hpt-row.is-left .hpt-card,.hpt-row.is-right .hpt-card{margin:0}
  .hpt-row.is-left .hpt-card:hover,.hpt-row.is-right .hpt-card:hover{transform:translateY(-3px)}
  .hpt-axis{left:8px;width:16px;transform:none}
  .hpt-axis::after{left:7px;transform:none!important;height:calc(100% + 14px)}
  .hpt-node{left:8px;margin-left:0!important}
}

@media(max-width:480px){
  .hpt-card.has-image{display:block}
  .hpt-media,.hpt-media img{height:180px;min-height:180px}
  .hpt-content{padding:20px}
}

@media(prefers-reduced-motion:reduce){
  .hpt-section *{transition:none!important}
}
