/* Home-page hero: a lighter, travel-inspired study-abroad composition. */
.hero-art--journey {
  isolation: isolate;
  background:
    radial-gradient(circle at 79% 22%, rgb(255 255 255 / .32) 0 2px, transparent 2.5px),
    radial-gradient(circle at 69% 79%, rgb(255 255 255 / .24) 0 1px, transparent 1.5px),
    linear-gradient(135deg, #3db3a8, #258e91 58%, #1f707d);
}

.hero-art--journey::before,
.hero-art--journey::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-art--journey::before {
  width: 470px;
  height: 470px;
  right: -190px;
  bottom: -150px;
  background: rgb(246 200 93 / .82);
  mix-blend-mode: soft-light;
}

.hero-art--journey::after {
  width: 270px;
  height: 270px;
  left: -135px;
  top: -95px;
  border: 1px solid rgb(255 255 255 / .5);
}

.hero-art--journey .orbit { border-color: rgb(255 255 255 / .36); }
.hero-art--journey .orbit-one { width: 690px; height: 690px; right: -230px; top: -118px; }
.hero-art--journey .orbit-two { width: 430px; height: 430px; right: -72px; top: 29px; }
.hero-art--journey .orbit-dot { top: 16%; left: 18%; background: var(--yellow); box-shadow: 0 0 0 8px rgb(246 200 93 / .14); }

.hero-aura { position: absolute; z-index: 0; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-aura-one { width: 180px; height: 180px; top: 24%; left: 10%; background: rgb(255 255 255 / .13); animation: aura-drift 7s ease-in-out infinite; }
.hero-aura-two { width: 85px; height: 85px; right: 11%; bottom: 16%; background: rgb(238 113 95 / .42); animation: aura-drift 6s ease-in-out -2.4s infinite reverse; }

.hero-art--journey .hero-image {
  width: 56%;
  height: 70%;
  right: 15%;
  top: 11%;
  z-index: 3;
  border: 7px solid rgb(255 255 255 / .85);
  border-radius: 48% 48% 17% 17%;
  box-shadow: 18px 22px 0 rgb(16 40 58 / .14), 0 30px 40px rgb(14 70 77 / .22);
  animation: hero-image-drift 8s ease-in-out infinite;
}

.hero-art--journey .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgb(11 52 66 / .78));
  pointer-events: none;
}

.hero-art--journey .hero-image img { transform: scale(1.04); transition: transform 1s ease; }
.hero-art--journey:hover .hero-image img { transform: scale(1.1); }

.hero-image-label {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 14px;
  bottom: 17px;
  color: #fff;
}

.hero-image-label span,
.hero-route span,
.hero-card > div span,
.hero-stamp > span {
  font: 8px 'DM Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-image-label span { display: block; margin-bottom: 5px; color: #d2fbf5; }
.hero-image-label b { display: block; font-family: 'Playfair Display', serif; font-size: clamp(15px, 1.6vw, 23px); line-height: 1.04; }

.hero-route {
  position: absolute;
  z-index: 4;
  top: 9.5%;
  left: 9%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  white-space: nowrap;
}

.hero-route i { width: 60px; height: 1px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .95) 0 5px, transparent 5px 10px); }
.hero-route b { color: var(--yellow); font-size: 16px; animation: route-glow 2.1s ease-in-out infinite; }

.hero-flag-cloud {
  position: absolute;
  z-index: 5;
  top: 27%;
  right: 4%;
  display: grid;
  gap: 7px;
  animation: flag-cloud-drift 6s ease-in-out infinite;
}

.hero-flag-cloud span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 96px;
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / .65);
  border-radius: 99px;
  background: rgb(255 255 255 / .86);
  box-shadow: 0 9px 18px rgb(16 40 58 / .16);
  color: var(--ink);
  font: 700 8px 'DM Mono', monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-flag-cloud span:nth-child(2) { margin-left: -26px; animation: flag-nudge 5s ease-in-out infinite; }
.hero-flag-cloud span:nth-child(3) { margin-left: 8px; }
.hero-flag-cloud img { width: 16px; height: 11px; object-fit: cover; border-radius: 1px; }

.hero-art--journey .hero-card {
  left: 6%;
  bottom: 10%;
  z-index: 5;
  width: 218px;
  padding: 18px 18px 16px;
  border: 1px solid rgb(16 40 58 / .12);
  box-shadow: 10px 11px 0 rgb(16 40 58 / .14), 0 18px 28px rgb(16 40 58 / .1);
  transform: rotate(-5deg);
  animation: card-settle 7s ease-in-out infinite;
}

.hero-art--journey .hero-card p { margin: 8px 0 14px; }
.hero-art--journey .hero-card > div { display: flex; flex-wrap: wrap; gap: 5px; }
.hero-art--journey .hero-card > div span { padding: 5px 6px; border: 1px solid rgb(16 40 58 / .18); border-radius: 99px; letter-spacing: .03em; }

.hero-stamp {
  position: absolute;
  z-index: 4;
  right: 8%;
  bottom: 10%;
  width: 103px;
  height: 103px;
  display: grid;
  place-content: center;
  gap: 4px;
  border: 1px dashed rgb(255 255 255 / .86);
  border-radius: 50%;
  color: #fff;
  text-align: center;
  transform: rotate(10deg);
  animation: stamp-turn 17s linear infinite;
}

.hero-stamp b { font-family: 'Playfair Display', serif; font-size: 16px; line-height: .84; }
.hero-stamp > span { font-size: 6px; letter-spacing: .07em; }

.hero-art--journey .image-note { right: 6%; bottom: 4%; opacity: .9; }

@keyframes hero-image-drift { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-13px) rotate(.7deg); } }
@keyframes aura-drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(12px, -15px, 0) scale(1.12); } }
@keyframes flag-cloud-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes flag-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
@keyframes card-settle { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@keyframes route-glow { 50% { transform: scale(1.35); text-shadow: 0 0 14px rgb(246 200 93 / .95); } }
@keyframes stamp-turn { to { transform: rotate(370deg); } }

@media (max-width: 800px) {
  .hero-art--journey { min-height: 485px; }
  .hero-art--journey .hero-image { width: 62%; height: 73%; right: 16%; top: 8%; border-width: 5px; }
  .hero-art--journey .hero-card { left: 7%; bottom: 9%; width: 184px; padding: 14px; }
  .hero-art--journey .hero-card p { margin: 5px 0 10px; font-size: 13px; }
  .hero-art--journey .hero-card > div span { font-size: 6px; padding: 4px 5px; }
  .hero-flag-cloud { top: 23%; right: 5%; transform: scale(.9); transform-origin: top right; }
  .hero-route { top: 7%; left: 8%; }
  .hero-stamp { right: 7%; bottom: 9%; width: 82px; height: 82px; }
  .hero-stamp b { font-size: 13px; }
  .hero-art--journey .image-note { display: none; }
}

@media (max-width: 480px) {
  .hero-art--journey { min-height: 430px; }
  .hero-art--journey .hero-image { width: 61%; height: 71%; right: 17%; }
  .hero-route { display: none; }
  .hero-flag-cloud { top: 16%; right: 3%; transform: scale(.76); }
  .hero-art--journey .hero-card { bottom: 7%; left: 6%; width: 164px; }
  .hero-stamp { display: none; }
  .hero-image-label { left: 11px; bottom: 11px; }
  .hero-image-label b { font-size: 13px; }
}
