/* Homepage hero. Loaded only on the two localized homepages. */
.hero.hero-home {
  min-height: auto;
  padding: 76px 0 0;
  background: radial-gradient(ellipse at 85% 32%, #7244c51a, transparent 48%), radial-gradient(ellipse at 8% 0%, #3652bb12, transparent 50%);
}
.hero-home-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 64px; }
.hero-intro, .hero-showcase { min-width: 0; }
.hero-featured-project, .hero-mini-project, .hero-person, .hero-bottom > a { text-decoration: none; }
.hero-home a:focus-visible { outline: 2px solid #d2b9ff; outline-offset: 5px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; font-size: .72rem; letter-spacing: .13em; }
.hero-kicker > span { font-size: 1.5rem; line-height: 1; color: #bd9cff; }
.hero-home h1 {
  margin: 0; max-width: 100%; font-size: clamp(2.8rem, 4.65vw, 4.05rem);
  font-weight: 600; line-height: 1.08; letter-spacing: -.055em;
  background: none; color: var(--text); -webkit-text-fill-color: currentColor; overflow-wrap: normal;
}
.hero-home h1 > span { display: block; color: #bb9aff; font-weight: 800; }
.hero-description { max-width: 47ch; color: #adb8ce; margin: 25px 0 28px; font-size: 1.06rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.hero-actions .button { min-height: 54px; padding-inline: 21px; gap: 20px; font-size: .88rem; border-radius: 12px; }
.hero-actions .button > span { font-size: 1.2rem; }
.hero-portfolio-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 600; font-size: .88rem; }
.hero-portfolio-link:hover { color: #cbb3ff; }
.hero-person { display: flex; align-items: center; gap: 12px; width: fit-content; margin-top: 30px; padding: 5px 0; }
.hero-person img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; border: 1px solid #726386; }
.hero-person strong, .hero-person small { display: block; }
.hero-person strong { font-size: .78rem; font-weight: 600; }
.hero-person small { margin-top: 3px; color: var(--muted); font-size: .73rem; }
.hero-person:hover strong { color: #cbb3ff; }
.hero-showcase { position: relative; }
.hero-showcase-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 13px; color: #a9a2bd; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-showcase-heading > span:last-child { white-space: nowrap; color: #d1baff; }
.hero-featured-project { display: block; border: 1px solid #403257; border-radius: 18px; background: #111326; overflow: hidden; box-shadow: 0 25px 70px #0005; }
.hero-project-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #ffffff0d; font-size: .72rem; color: #aaaec3; }
.hero-project-top > span:first-child { display: flex; align-items: center; gap: 8px; color: #fff; font-size: .85rem; font-weight: 600; }
.hero-project-top i { width: 8px; height: 8px; border-radius: 2px; background: #beef9c; }
.hero-project-image { padding: 18px 16px; background: radial-gradient(ellipse at center, #d7cbe4, #a6a3ba); }
.hero-project-image img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 779; border-radius: 7px; box-shadow: 0 12px 22px #13102435; }
.hero-project-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 20px; }
.hero-project-caption strong { display: block; font-size: .91rem; font-weight: 600; line-height: 1.5; }
.hero-project-caption small { display: block; margin-top: 5px; color: #a0abc0; font-size: .7rem; }
.hero-project-arrow { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid #524265; border-radius: 50%; color: #d2b9ff; }
.hero-featured-project:hover { border-color: #b18ae8; }
.hero-featured-project:hover .hero-project-arrow { color: #fff; background: #614087; }
.hero-more-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.hero-mini-project { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px; border: 1px solid #2f2a40; border-radius: 12px; background: #ffffff03; }
.hero-mini-project small { display: block; color: #a0abc0; font-size: .64rem; line-height: 1.5; }
.hero-mini-project strong { display: block; margin-top: 4px; font-size: .84rem; font-weight: 600; }
.hero-mini-project > span:last-child { color: #c0a2ef; }
.hero-mini-project:hover { border-color: #8d6caf; background: #b394ed0a; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 66px; padding: 24px 0; border-top: 1px solid #ffffff14; font-size: .72rem; }
.hero-bottom > span { color: #dbd6e6; font-weight: 600; }
.hero-bottom ul { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; margin: 0; color: #a0abc0; }
.hero-bottom li::before { content: '✓'; margin-right: 8px; color: #b899e8; }
.hero-bottom > a { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; color: #cbb3ff; white-space: nowrap; }
@media (max-width: 1100px) {
  .hero-home-grid { gap: 32px; }
  .hero.hero-home { padding-top: 54px; }
  .hero-actions { gap: 10px 18px; }
  .hero-bottom { flex-wrap: wrap; gap: 8px 24px; margin-top: 46px; }
}
@media (max-width: 900px) {
  .hero-home-grid { grid-template-columns: 1fr; gap: 38px; max-width: 660px; }
  .hero-home h1 { max-width: 600px; font-size: clamp(2.8rem, 7vw, 4rem); }
  .hero-description { max-width: 55ch; }
  .hero-person { margin-top: 22px; }
  .hero-showcase { width: 100%; }
  .hero-bottom { max-width: 660px; }
  .hero-bottom ul { order: 3; width: 100%; gap: 10px 18px; }
  .hero-bottom > a { margin-left: auto; }
}
@media (max-width: 620px) {
  .hero.hero-home { padding-top: 34px; }
  .hero-kicker { font-size: .62rem; letter-spacing: .1em; margin-bottom: 19px; }
  .hero-home h1 { font-size: clamp(2.35rem, 10.5vw, 3.55rem); line-height: 1.08; }
  .hero-description { font-size: .94rem; line-height: 1.65; margin: 20px 0 22px; }
  .hero-actions { gap: 6px; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .hero-portfolio-link { justify-content: center; width: 100%; }
  .hero-person { margin-top: 12px; gap: 10px; }
  .hero-person strong { font-size: .72rem; }
  .hero-person small { font-size: .68rem; }
  .hero-person img { width: 40px; height: 40px; }
  .hero-home-grid { gap: 30px; }
  .hero-showcase-heading { font-size: .6rem; letter-spacing: .06em; }
  .hero-project-top { padding: 12px 14px; }
  .hero-project-image { padding: 12px 10px; }
  .hero-project-caption { padding: 15px 14px; }
  .hero-project-caption strong { font-size: .81rem; }
  .hero-project-caption small { font-size: .64rem; }
  .hero-more-projects { gap: 8px; margin-top: 8px; }
  .hero-mini-project { padding: 12px 10px; }
  .hero-mini-project small { font-size: .62rem; }
  .hero-mini-project strong { font-size: .77rem; }
  .hero-bottom { margin-top: 32px; padding: 18px 0 25px; font-size: .67rem; }
  .hero-bottom ul { display: grid; gap: 8px; }
}
