
/* ==========================================================================
   2) LAYOUT (global containers, section framing)
   ========================================================================== */

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:28px 22px 80px;
}

.section{
  margin-top:46px;
  position: relative;
  padding-block: 30px; /* top + bottom */
}


.section::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: -22px; /* puts divider between sections since you use margin -- You’re using top: -24px to place the divider in the “gap” created by margin-top:46px. That’s totally fine. If it feels slightly too close/far, the “math-y” version is. or -22px depending on vibe). You can eyeball it.*/
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
  opacity: 0.65;
  filter: blur(.2px);
}


.section:first-of-type::before{
  display:none;
}

.sectionHeader{
  text-align:center;
  margin-bottom:18px;
}

.sectionKicker{
  color: var(--accent);
  font-weight: 800;
  letter-spacing:.18em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom:10px;
}

.sectionTitle{
  margin:0;
  font-size: 28px;
  letter-spacing:-.02em;
}

.sectionDesc{
  margin:10px auto 0;
  color: var(--muted);
  max-width: 70ch;
  font-size: 15px;
}

/* ==========================================================================
   10) TIMELINE (vertical)
   ========================================================================== */

.timeline{
  margin-top: 18px;
  position: relative;
  padding-left: 18px;
}

.timeline::before{
  content:"";
  position:absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(108,124,255,.55), rgba(138,91,255,.22));
  opacity: .65;
}

.tItem{
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  padding: 10px 0;
}

.tDot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,0)),
    linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(108,124,255,.10);
  margin-top: 18px;
}

.tCard{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.02);
}

.tTop{
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  gap: 12px;
}

.tRole{
  font-weight: 850;
  letter-spacing: -.01em;
}

.tCompany{
  color: var(--muted);
  margin-top: 2px;
  font-size: 14px;
}

.tDate{
  color: var(--faint);
  font-size: 13px;
  white-space: nowrap;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.02);
  padding: 6px 10px;
  border-radius: 999px;
}

.tTags{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tTag{
  font-size: 12px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 6px 10px;
  border-radius: 999px;
}

.tText{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================================================
   11) FOOTER
   ========================================================================== */

footer{
  margin-top:64px;
  padding-top:120px;
  border-top:1px solid var(--border2);
  color: var(--faint);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size: 13px;
}

.footerLinks{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* ==========================================================================
   12) RESPONSIVE
   ========================================================================== */

@media (max-width: 860px){
  .wrap{ padding-bottom:56px; }

  .hero{ grid-template-columns:1fr; }
  h1{ font-size: 38px; }

  .microRow{ grid-template-columns:1fr; }

  .steps{ grid-template-columns:1fr; }

  .grid{ grid-template-columns:1fr; }

  .tTop{ flex-direction: column; }
  .tDate{ width: fit-content; }
}


@media (max-width: 640px) {
  #reputation .logos.logos--marks {
    margin-top: 40px;
    margin-bottom: 28px;
  }
}


/* ==========================================================================
   13) MOBILE
   ========================================================================== */

.flipCard.isFlipped .flipInner {
  transform: rotateY(180deg);
}
