/* ── Hero ── */
.hero {
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 3rem;
  background: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hero-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
}

.hero-text-col h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.hero-role {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 0.1rem;
}

.hero-inst {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.hero-bio {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 1.25rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-link {
  font-size: 0.8rem;
  color: var(--gray-600);
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  transition: border-color 0.2s, color 0.2s;
}

.hero-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ── Home sections ── */
.home-section {
  padding: 2.5rem 0;
}

/* ── Featured area card ── */
.area-card-featured {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}

.area-card-featured:hover { border-color: var(--border-mid); }

.area-featured-body {
  display: grid;
  grid-template-columns: 1fr 260px;
  min-height: 210px;
}

.area-featured-text {
  padding: 1.5rem;
}

.area-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.area-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gray-900);
}

.area-card-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.subtopics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}

.subtopic {
  font-size: 0.75rem;
  padding: 3px 10px;
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  color: var(--gray-600);
  background: var(--gray-50);
}

.area-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}

.area-link:hover { text-decoration: underline; }

.area-featured-img {
  background: var(--blue-light);
  border-left: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.area-featured-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.5rem;
  border-top: 1px solid var(--border);
  background: #f7f9fc;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.area-featured-footer a { color: var(--blue); text-decoration: none; }
.area-featured-footer a:hover { text-decoration: underline; }
.area-stat-sep { color: var(--gray-200); }

/* ── Past area cards — image strip on top ── */
.area-past-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.area-card-past {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}

.area-card-past:hover { border-color: var(--border-mid); }

.past-card-img {
  height: 110px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.past-card-img-cool { background: #f0f4f8; }
.past-card-img-warm { background: #f5f3f0; }

.past-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.past-card-body {
  padding: 1.1rem 1.25rem;
}

.past-card-body .area-card-header {
  margin-bottom: 0.6rem;
}

.past-card-body .area-card-title {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 5px;
}

.past-card-body .area-card-desc {
  font-size: 0.87rem;
  margin-bottom: 0.75rem;
}

/* ── Updates tone strip ── */
.tone-strip {
  background: #f7f9fc;
  border-top: 1px solid rgba(24, 95, 165, 0.08);
  border-bottom: 1px solid rgba(24, 95, 165, 0.08);
  padding: 2.5rem 0;
}

.updates-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.update-row {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: background 0.15s;
}

.update-row:last-child { border-bottom: none; }
.update-row:hover { background: var(--gray-50); }

.update-date {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
}

.update-title {
  font-size: 0.9rem;
  color: var(--gray-900);
}

.update-link { text-decoration: none; }

/* ── For students ── */
.home-section-students {
  padding: 2.5rem 0;
}

.students-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.students-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}

.students-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 0.6rem;
}

.students-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.students-card em {
  font-style: italic;
  font-family: var(--font-serif);
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-photo { width: 90px; height: 90px; }

  .hero-text-col h1 { font-size: 1.65rem; }

  .area-featured-body {
    grid-template-columns: 1fr;
  }

  .area-featured-img { display: none; }

  .area-featured-footer {
    flex-wrap: wrap;
    gap: 6px;
  }

  .area-stat-sep { display: none; }

  .area-past-row,
  .students-grid {
    grid-template-columns: 1fr;
  }

  .past-card-img {
    height: 140px;
  }

  .update-row {
    grid-template-columns: 4rem 1fr;
  }

  .update-row .update-link { display: none; }
}
