/* Beamline Works — site visual from 유진 mockup v1.1 */
:root {
  --navy: #13356c;
  --deep: #081426;
  --hero-top: #0b1c36;
  --ink: #f4f6fa;
  --muted: #8fa1bc;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #d9c36a;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: dark; }

body {
  min-height: 100vh;
  background: var(--deep);
  color: var(--ink);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Top bar */
.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 28px clamp(20px, 5vw, 64px);
}

.home .site-header {
  position: absolute;
  inset: 0 0 auto 0;
}

.brand {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: 0.28em;
  font-size: 12px;
  color: var(--ink);
  opacity: 0.9;
  text-decoration: none;
}

.nav-top {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 40px);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-top a { color: var(--muted); text-decoration: none; }
.nav-top a:hover,
.nav-top a[aria-current="page"] { color: #fff; }

/* Hero */
.hero {
  position: relative;
  height: min(100svh, 920px);
  min-height: 600px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 50% 42%, rgba(19, 53, 108, 0.9), transparent 70%),
    linear-gradient(180deg, #0b1c36 0%, #081426 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.beam {
  position: absolute;
  left: 46%;
  top: 22%;
  width: 140vw;
  height: 60vw;
  transform-origin: 0 50%;
  transform: translateY(-50%) rotate(-31deg);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0) 80%);
  clip-path: polygon(0 49%, 100% 30%, 100% 70%, 0 51%);
  filter: blur(6px);
}

.hero-logo {
  margin: 0;
  line-height: 0;
}

.hero-logo img {
  width: clamp(220px, 30vw, 400px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.45));
}

.hero-tag {
  margin: 40px 0 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--muted), transparent);
  z-index: 2;
}

/* Sections */
.section {
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 64px);
}

.section-label,
.eyebrow {
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}

.featured-wrap .section-label {
  max-width: 1280px;
  margin: 0 auto 28px;
}

/* Smoky Sky feature card */
.feature {
  position: relative;
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  min-height: 420px;
  overflow: hidden;
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
}

.feature-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 14, 28, 0.92) 0%, rgba(6, 14, 28, 0.6) 40%, rgba(6, 14, 28, 0) 75%);
  pointer-events: none;
}

.feature-copy {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(420px, calc(100% - 48px));
}

.feature-copy .game-logo {
  width: min(360px, 70vw);
  height: auto;
}

.feature-copy p {
  color: #c9d3e3;
  line-height: 1.8;
  font-size: 15px;
  margin: 24px 0 32px;
  overflow-wrap: anywhere;
}

.placeholder-copy {
  color: #c9d3e3;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
}

.btn:hover { background: #fff; color: var(--deep); }

/* About */
.about {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}

.about p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  overflow-wrap: anywhere;
}

/* Inner pages */
.page-main {
  padding: 48px clamp(20px, 5vw, 64px) 120px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-main h1 {
  margin: 0 0 1rem;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.page-main h2 {
  margin: 0 0 0.6rem;
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 42rem;
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.beam-rule {
  display: block;
  width: 6rem;
  height: 1px;
  margin: 1.15rem 0 1.5rem;
  background: linear-gradient(90deg, var(--gold), transparent);
  border: 0;
}

.note, .placeholder-box {
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(11, 28, 54, 0.45);
  overflow-wrap: anywhere;
}

.placeholder-box strong { display: block; margin-bottom: 0.35rem; }

.meta-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 40rem;
}

.meta-list li {
  display: grid;
  grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.meta-list li:last-child { border-bottom: 1px solid var(--line); }
.meta-list li span:first-child { color: var(--muted); }

.game-hero {
  margin: 0 0 2rem;
  border: 1px solid var(--line);
  background: #071224;
  overflow: hidden;
}

.game-hero .hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.game-logo-wrap {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 0.25rem;
}

.page-main .game-logo-wrap .game-logo {
  width: min(28rem, 100%);
  height: auto;
}

.stills-block { margin: 2.4rem 0 0.5rem; }
.stills-block .lead { margin-bottom: 1.2rem; font-size: 1rem; }

.stills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.stills figure { margin: 0; }
.stills img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #071224;
  border: 1px solid var(--line);
}
.stills figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px clamp(20px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 11px;
  font-family: Montserrat, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (min-width: 64rem) {
  .stills { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 700px) {
  .nav-top { display: none; }
  .hero { height: min(100svh, 760px); }
  .feature {
    aspect-ratio: auto;
    min-height: 620px;
  }
  .feature-bg { object-position: 30% center; }
  .feature::after {
    background: linear-gradient(0deg, rgba(6, 14, 28, 0.95) 35%, rgba(6, 14, 28, 0.2) 75%);
  }
  .feature-copy {
    top: auto;
    bottom: 32px;
    transform: none;
    right: 24px;
  }
}

@media (max-width: 36rem) {
  .meta-list li { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* Official game copy blocks */
.headline {
  max-width: 42rem;
  margin: 0 0 1rem;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.copy-block {
  margin: 0 0 2.4rem;
  max-width: 42rem;
}

.copy-block h2 {
  margin: 0 0 0.75rem;
}

.feature-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-points li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.feature-points li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-points p {
  margin: 0;
  overflow-wrap: anywhere;
}

.copy-block .lead {
  margin-bottom: 0;
}
