@font-face { font-family: Oxanium; src: url('../fonts/Oxanium.ttf') format('truetype'); font-weight: 200 800; font-style: normal; font-display: swap; }
:root { color-scheme: dark; --ground: #090d29; --cream: #fff3d4; --muted: #c6c9e6; --cyan: #57f3e4; --line: #414667; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #7779ae var(--ground); scrollbar-width: thin; }
body { margin: 0; color: var(--cream); background: var(--ground); font: 400 16px/1.6 Oxanium, sans-serif; }
body::before { content: ''; position: absolute; inset: 0 0 auto; height: 1000px; background: linear-gradient(180deg, #090d2920 45%, var(--ground) 100%), url('../art/galaxy.webp') 58% top / cover; pointer-events: none; z-index: -1; }
::selection { background: var(--cream); color: var(--ground); }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; }
a:focus-visible { outline: 3px solid #f8d979; outline-offset: 6px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--cyan); color: var(--ground); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 104px; }
.brand { display: flex; gap: 16px; align-items: center; font-size: 25px; font-weight: 800; letter-spacing: .035em; }
.brand img { width: 56px; height: auto; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0 10px 20px; font-size: 14px; }
.site-header nav a:hover { text-decoration: underline; }
.hero { position: relative; min-height: 700px; height: min(800px, calc(100svh - 104px)); display: flex; align-items: center; isolation: isolate; }
.hero-copy { position: relative; z-index: 1; width: 51%; padding-bottom: 50px; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
h1 { margin: 0 0 28px; font-size: clamp(52px, 6.5vw, 94px); line-height: 1.03; letter-spacing: -.035em; }
.hero-copy > p { max-width: 36ch; margin: 0 0 32px; font-size: 18px; line-height: 1.7; color: var(--cream); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 58px; padding: 15px 26px; background: var(--cyan); color: var(--ground); font-size: 17px; font-weight: 750; border-radius: 4px; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--cream); transform: translateY(-2px); }
.play-note { display: block; margin-top: 16px; color: var(--muted); font-size: 12px; }
.hero-art { position: absolute; z-index: -1; width: 65%; height: 100%; right: 0; top: 0; overflow: clip; }
.hero-ship { position: absolute; width: 150%; max-width: none; height: auto; left: -25%; top: 50%; transform: translateY(-52%); }
.hero-caption { position: absolute; right: 3%; bottom: 50px; display: flex; flex-direction: column; text-align: right; font-size: 12px; color: var(--muted); }
.hero-caption span:first-child { font-size: 18px; font-weight: 600; color: var(--cream); }
.flocks { padding-top: 64px; padding-bottom: 72px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.15; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; }
.flock-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.flock { min-width: 0; }
.workshop { width: 100%; height: auto; aspect-ratio: 1.18; object-fit: cover; object-position: center; border-radius: 6px; }
.flock-caption { padding-top: 22px; }
.flock-title { display: flex; gap: 14px; align-items: center; }
.flock-title img { width: 38px; height: 38px; }
h3 { font-size: 28px; line-height: 1.2; margin: 0; }
.flock-caption p { margin: 9px 0 0 52px; font-size: 14px; color: var(--muted); }
.roost h3 { color: #f5949c; } .haven h3 { color: #a7cfff; } .grove h3 { color: #8edcaa; }
.gallery-note { color: var(--muted); font-size: 12px; margin: 34px 0 0; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer span:first-child { color: var(--cream); font-weight: 700; letter-spacing: .035em; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .hero-ship { animation: arrival 1.1s cubic-bezier(.16, 1, .3, 1); }
  @keyframes arrival { from { transform: translate(18px, -49%); } to { transform: translate(0, -52%); } }
}
@media(max-width:1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 660px; }
  .hero-copy { width: 57%; }
  .hero-art { width: 62%; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 14px; }
  .flock-gallery { gap: 16px; }
  .flock-caption p { margin-left: 0; }
}
@media(max-width:760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 84px; }
  .brand { gap: 10px; font-size: 20px; } .brand img { width: 42px; }
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch; padding-top: 24px; }
  .hero-copy { width: 100%; padding-bottom: 0; }
  h1 { font-size: clamp(48px, 9vw, 70px); margin-bottom: 22px; }
  .hero-copy > p { font-size: 16px; margin-bottom: 24px; }
  .button { min-height: 54px; }
  .play-note { font-size: 11px; }
  .hero-art { position: relative; width: 100%; height: auto; aspect-ratio: 1.25; margin: 8px 0 0; }
  .hero-caption { position: static; text-align: right; margin-bottom: 16px; }
  .flocks { padding-top: 40px; padding-bottom: 48px; }
  .flock-gallery { grid-template-columns: 1fr; gap: 36px; }
  .workshop { aspect-ratio: 1.6; }
  .flock-caption { padding-top: 16px; }
  .flock-caption p { margin: 10px 0 0; text-align: left; }
  h3 { font-size: 25px; }
  .flock-title { gap: 10px; }
  .flock-title img { width: 32px; height: 32px; }
  .section-heading p { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.faction-ability { margin: 12px 0 0 52px; color: var(--cream, #fff3d4); font-size: 13px; line-height: 1.6; }
.faction-ability strong { display: block; font-weight: 700; }
@media (max-width: 720px) { .faction-ability { margin-left: 0; } }
