:root { --aisl-ink: #303ccb; }
html:has(.aisl-home) { scroll-behavior: smooth; }
.aisl-home { background: #fff; }
.aisl-first-screen, .aisl-first-screen * { box-sizing: border-box; }
.aisl-first-screen { height: 100vh; height: 100svh; min-height: 540px; display: flex; flex-direction: column; padding: 0 24px; color: var(--aisl-ink); background: #fff; }
.aisl-header { flex: 0 0 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-bottom: 1px solid #7882e6; position: relative; z-index: 20; font-family: 'Instrument Serif', 'Noto Serif KR', Georgia, serif; font-size: 22px; }
.aisl-header a { color: var(--aisl-ink); }
.aisl-brand { justify-self: start; white-space: nowrap; }
.aisl-navigation { display: flex; gap: clamp(18px, 2.7vw, 48px); align-items: center; height: 100%; }
.aisl-navigation > a, .aisl-nav-group > a { padding: 18px 0; display: block; }
.aisl-header a:hover { text-decoration: underline; text-underline-offset: 5px; }
.aisl-nav-group { position: relative; }
.aisl-submenu { position: absolute; top: 100%; left: -16px; display: none; min-width: 140px; padding: 8px 16px; border: 1px solid #d8dcf5; background: #fff; }
.aisl-submenu a { display: block; padding: 8px 0; font-size: 20px; }
.aisl-nav-group:hover .aisl-submenu, .aisl-nav-group:focus-within .aisl-submenu { display: block; }
.aisl-language { justify-self: end; font-size: 27px; }
.aisl-menu-toggle { display: none; }
.aisl-hero { flex: 1; min-height: 0; display: grid; grid-template-rows: 35% minmax(0, 1fr) 34px; position: relative; }
.aisl-title-area { display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 10px; }
.aisl-title-area h1 { margin: 0; color: var(--aisl-ink); background: none; font-family: 'Instrument Serif', 'Noto Serif KR', Georgia, serif; font-weight: 400; font-size: min(36vw, 37svh); line-height: .87; letter-spacing: -.025em; word-break: normal; transform: scaleX(1.27); }
.aisl-universe { position: relative; overflow: hidden; isolation: isolate; width: 100%; min-height: 0; }
.aisl-galaxy { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.aisl-universe.is-3d-ready .aisl-vehicle { visibility: hidden; }
.aisl-vehicle { position: absolute; left: 0; top: 0; pointer-events: none; mix-blend-mode: multiply; overflow: hidden; will-change: transform; }
.aisl-vehicle img { position: absolute; margin: 0; max-width: none; display: block; user-select: none; }
/* Crop only the surrounding paper with CSS; keep the supplied drawings intact. */
.aisl-rocket { aspect-ratio: 300 / 1020; }
.aisl-rocket img { width: 480%; height: auto; left: -190%; top: -3%; }
.aisl-uam { aspect-ratio: 1340 / 890; }
.aisl-uam img { width: 108.06%; height: auto; left: -3.73%; top: -14.6%; }
.aisl-robot { aspect-ratio: 570 / 1480; }
.aisl-robot img { width: 179.65%; height: auto; left: -32.46%; top: -2.7%; }
.aisl-hero-bottom { display: flex; align-items: center; justify-content: space-between; font-family: 'Instrument Serif', 'Noto Serif KR', Georgia, serif; font-size: 17px; padding-bottom: 10px; }
.aisl-scroll { display: inline-flex; gap: 15px; align-items: center; color: var(--aisl-ink); }
.aisl-motion { font: inherit; color: var(--aisl-ink); border: 0; background: transparent; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; padding: 5px 0 5px 12px; }
.aisl-motion-symbol { font-family: Arial, sans-serif; font-size: 12px; width: 12px; }
.aisl-first-screen a:focus-visible, .aisl-first-screen button:focus-visible { outline: 2px solid var(--aisl-ink); outline-offset: 5px; }
.aisl-home #home-content { padding-top: 60px; border-top: 1px solid #e7e9f8; outline: none; }
.aisl-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.aisl-skip { position: fixed; left: 20px; top: -70px; z-index: 100; background: #fff; color: var(--aisl-ink); padding: 12px; }
.aisl-skip:focus { top: 12px; }
@media (max-width: 1250px) {
  .aisl-header { grid-template-columns: auto 1fr auto; gap: 24px; font-size: 19px; }
  .aisl-navigation { justify-content: center; gap: 23px; }
}
@media (max-width: 960px) {
  .aisl-first-screen { padding: 0 18px; }
  .aisl-header { grid-template-columns: 1fr auto auto; flex-basis: 62px; gap: 20px; }
  .aisl-brand { white-space: normal; max-width: 290px; font-size: 21px; line-height: 1.1; }
  .aisl-language { font-size: 23px; }
  .aisl-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 28px; height: 36px; padding: 0; border: none; background: transparent; color: var(--aisl-ink); cursor: pointer; }
  .aisl-menu-toggle span { display: block; height: 1px; width: 25px; background: currentColor; }
  .aisl-navigation { display: none; position: absolute; left: 0; right: 0; top: 61px; height: auto; background: #fff; border-bottom: 1px solid #7882e6; padding: 20px 4px; flex-wrap: wrap; justify-content: flex-start; gap: 12px 28px; }
  .aisl-navigation.is-open { display: flex; }
  .aisl-navigation > a, .aisl-nav-group > a { padding: 8px 0; }
  .aisl-submenu { z-index: 2; }
  .aisl-title-area h1 { font-size: min(39vw, 37svh); }
}
@media (max-width: 600px) {
  .aisl-first-screen { min-height: 560px; padding: 0 14px; }
  .aisl-header { gap: 14px; }
  .aisl-brand { font-size: 18px; max-width: 220px; }
  .aisl-hero { grid-template-rows: 30% minmax(0, 1fr) 40px; }
  .aisl-title-area { align-items: flex-end; padding: 0 0 15px; }
  .aisl-title-area h1 { font-size: 41vw; transform: scaleX(1.15); }
  .aisl-hero-bottom { font-size: 16px; }
  .aisl-home #home-content { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.aisl-home) { scroll-behavior: auto; }
}
