/* Shorter page heroes, plus the "View Resume" button and link.
   Loaded after components.css / work.css / home.css so it only overrides what it names. */

/* Home hero: less tall (smaller padding and artwork) */
.hero { padding: 52px 0 44px; }
.hero-art { max-width: 340px; }
.hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); max-width: 22ch; }

/* Work hero: compact, with the resume button on the right */
.hero--page { padding: 36px 0 30px; }
.hero--page h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); max-width: none; margin-bottom: 10px; }
.hero--page p.lede { margin: 0; font-size: 1.05rem; }
.hero-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.hero-bar > div { flex: 1 1 460px; }

/* Semi-transparent button for dark heroes */
.btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: var(--cream);
  background: rgba(243, 240, 232, 0.12);
  border: 1px solid rgba(243, 240, 232, 0.45);
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.btn-resume:hover,
.btn-resume:focus-visible { background: rgba(243, 240, 232, 0.24); border-color: rgba(243, 240, 232, 0.8); }
.btn-resume svg { flex: none; }

/* Resume link with PDF icon (contact page) */
.resume-link { display: inline-flex; align-items: center; gap: 8px; }
.resume-link svg { flex: none; }

/* Section heading with a link on the right (About page) */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.section-head .resume-link {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  margin-bottom: 14px;
}
.section-head .resume-link:hover { color: var(--teal); }

@media (max-width: 700px) {
  .hero { padding: 40px 0 34px; }
  .hero--page { padding: 28px 0 24px; }
}
