@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@400;500&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #f4f5f7;
  color: #1a1a1a;
  padding: 2rem 1rem;
  min-height: 100vh;
}

.gip-root {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

/* ── Header ── */
.gip-header {
  background: #1a2540;
  border-radius: 14px;
  padding: 2rem 2rem 1.5rem;
  margin-bottom: 1.25rem;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1rem;
}

.gip-school-badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa8d8;
  margin-bottom: 0.5rem;
}

.gip-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.gip-subtitle {
  font-size: 13px;
  color: #8fa8d8;
  margin: 0 0 1rem;
}

.gip-meta-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gip-meta-chip {
  font-size: 11px;
  background: #2d3f6a;
  border-radius: 6px;
  padding: 4px 10px;
  color: #8fa8d8;
  border: 0.5px solid #3d5080;
}

.gip-pill {
  background: #2d3f6a;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 11px;
  color: #a8c0e8;
  white-space: nowrap;
  border: 0.5px solid #3d5080;
  text-align: center;
}

.gip-pill strong {
  display: block;
  font-size: 13px;
  color: #d0e0f8;
  font-weight: 500;
  margin-bottom: 2px;
}

/* ── Stat row ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stat-card {
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: 400;
  color: #1a2540;
  line-height: 1;
  margin-bottom: 6px;
  font-family: 'DM Serif Display', serif;
}

.stat-label {
  font-size: 11px;
  color: #777;
  line-height: 1.4;
}

/* ── Section grid ── */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-card {
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: 14px;
  padding: 1.25rem;
}

.section-card.full {
  grid-column: 1 / -1;
}

.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a2540;
  background: #e6edf8;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.section-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
}

/* ── Specs list ── */
.specs-list {
  list-style: none;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 0.5px solid #ebebeb;
  gap: 1rem;
}

.specs-list li:last-child {
  border-bottom: none;
}

.specs-key {
  color: #777;
  flex-shrink: 0;
}

.specs-val {
  font-weight: 500;
  text-align: right;
  color: #1a1a1a;
}

/* ── Timeline ── */
.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a2540;
  flex-shrink: 0;
}

.timeline-line {
  width: 1px;
  flex: 1;
  background: #e0e0e0;
  min-height: 20px;
  margin-top: 4px;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-content h4 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 2px;
  color: #1a1a1a;
}

.timeline-content p {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}

/* ── Footer ── */
.footer-row {
  background: #fff;
  border-radius: 14px;
  border: 0.5px solid #e0e0e0;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-people {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.person-block {
  font-size: 12px;
}

.person-role {
  color: #777;
  margin-bottom: 1px;
}

.person-name {
  font-weight: 500;
  color: #1a1a1a;
}

.person-name a {
  text-decoration: none;
  color: inherit;
}

.person-name a:hover {
  color: #8fa8d8
}

/* ── Responsive ── */
@media (max-width: 560px) {
  .gip-header {
    grid-template-columns: 1fr;
  }

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

  .section-card.full {
    grid-column: 1;
  }

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