/* Home page sketch layer: painted line art over the Liftoff ground.
   Everything here is visible at rest; motion is added by sketch.js. */

.sk { position: relative; display: block; }
.sk img { display: block; width: 100%; height: auto; }
.sk .sk-glow { position: absolute; inset: 0; filter: drop-shadow(0 0 5px var(--spark)) drop-shadow(0 0 14px var(--spark)); animation: sk-flicker 5.5s infinite; }

/* Hero: stars and launch clouds behind the insignia */
.sk-stars, .sk-clouds { position: absolute; z-index: -1; max-width: none; pointer-events: none; }
.sk-stars { width: 560px; top: 96px; right: -30px; }
.sk-clouds { width: 760px; right: -170px; bottom: -70px; opacity: .9;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 100%); }

/* Story: route across three continents */
.sk-map { grid-column: 4 / span 9; position: relative; margin-top: 44px; aspect-ratio: 996 / 618; max-width: 860px; }
.sk-map img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.sk-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sk-route { fill: none; stroke: var(--soft); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 3 13; }
.sk-dot { fill: var(--spark); transform-box: fill-box; transform-origin: center; }
.sk-ring { fill: none; stroke: var(--spark); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: sk-ping 2.6s ease-out infinite; }

/* Cards: one spot sketch each, coral lights up on hover */
.sk-card { position: absolute; top: 22px; right: 20px; width: clamp(130px, 30%, 210px); pointer-events: none; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.sk-card .sk-glow { opacity: 0; animation: none; transition: opacity .35s; }
.card:hover .sk-card, .card:focus-visible .sk-card { transform: translateY(-6px) rotate(-2deg); }
.card:hover .sk-card .sk-glow, .card:focus-visible .sk-card .sk-glow { opacity: 1; animation: sk-flicker 2.8s infinite; }
.card-edu .sk-card { opacity: .9; }
.card-ventures .sk-card { width: 104px; top: 14px; }

/* Motto: harbour skyline with a junk that sails back and forth */
.motto.has-sky { padding-bottom: 0; }
.sk-sky { position: relative; max-width: 1100px; margin: 84px auto 0; padding: 0 24px 30px; }
.sk-boat { position: absolute; top: 65.3%; left: 20.8%; width: 26.7%; animation: sk-sail 48s linear infinite; }
.sk-boat img { animation: sk-bob 4.2s ease-in-out infinite alternate; transform-origin: 50% 90%; }

@keyframes sk-flicker { 0%, 100% { opacity: 1; } 7% { opacity: .35; } 9% { opacity: .95; } 41% { opacity: .8; } 43% { opacity: .25; } 46% { opacity: 1; } 78% { opacity: .7; } }
@keyframes sk-ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes sk-sail { 0% { left: 1%; transform: scaleX(1); animation-timing-function: ease-in-out; } 48% { left: 72%; transform: scaleX(1); } 50% { left: 72%; transform: scaleX(-1); animation-timing-function: ease-in-out; } 98% { left: 1%; transform: scaleX(-1); } 100% { left: 1%; transform: scaleX(1); } }
@keyframes sk-bob { from { transform: translateY(-1.5%) rotate(-1.2deg); } to { transform: translateY(1.5%) rotate(1.2deg); } }
@keyframes sk-wipe-up { from { clip-path: inset(100% 0 0 0); opacity: .2; } to { clip-path: inset(0); opacity: 1; } }
@keyframes sk-wipe-right { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0); opacity: 1; } }
@keyframes sk-wipe-left { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes sk-rise { from { transform: translateY(26px); opacity: 0; } to { transform: none; } }
@keyframes sk-pop { from { transform: scale(0); } to { transform: scale(1); } }

.sk-in.sk-wipe-up { animation: sk-wipe-up 1.9s cubic-bezier(.3, .6, .2, 1) backwards; }
.sk-in.sk-wipe-right { animation: sk-wipe-right 2.4s cubic-bezier(.3, .6, .2, 1) both; }
.sk-in.sk-wipe-left { animation: sk-wipe-left 2.6s .5s cubic-bezier(.4, .5, .2, 1) both; }
.sk-in.sk-rise { animation: sk-rise 1.4s .5s cubic-bezier(.2, .7, .2, 1) backwards; }
.sk-in .sk-dot { animation: sk-pop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.sk-in .sk-d1 { animation-delay: .5s; }
.sk-in .sk-d2 { animation-delay: 1.7s; }
.sk-in .sk-d3 { animation-delay: 2.7s; }

@media (max-width: 860px) {
  .sk-stars { width: 380px; top: 70px; right: -60px; opacity: .8; }
  .sk-clouds { width: 520px; right: -220px; bottom: -40px; opacity: .6; }
  .sk-map { margin-top: 30px; }
  .sk-card, .card-ventures .sk-card { top: auto; bottom: 18px; right: 16px; width: 104px; }
  .sk-sky { margin-top: 52px; padding: 0 12px 26px; }
}
