/* Noon Games Studios — static one-page site (from Figma-exported PDF) */

:root{
  --bg: #140312;
  --bg2: #1b051a;
  --text: #ffffd1;
  --muted: rgba(255,255,209,0.75);
  --muted2: rgba(255,255,209,0.55);
  --divider: rgba(98, 91, 109, 0.55);
  --btn: #950007;
  --btnHover: #b0000a;
  --shadow: rgba(0,0,0,0.45);
  --radius: 14px;
  --container: 980px;
  --font-sans: "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, "MS PGothic", "Segoe UI", Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ height: 100%; }
body{ min-height: 100%; }
body{
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 800px at 50% -120px, rgba(255,255,209,0.08), transparent 60%),
    radial-gradient(900px 700px at 50% 40%, rgba(255,255,209,0.04), transparent 65%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 28px);
}

.divider{
  border: 0;
  height: 1px;
  margin: 0;
  background: var(--divider);
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: clamp(18px, 2.8vw, 28px) 0;
  background: rgba(20, 3, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}

.hero{
  padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 5vw, 62px);
}

.header-inner{
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.brand{
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  line-height: 0.9;
  user-select: none;
}

.brand-line{
  display: block;
  font-size: clamp(44px, 4.7vw, 60px);
}

.site-nav{
  position: absolute;
  right: clamp(18px, 3vw, 28px);
  top: 6px;
  display: flex;
  gap: 22px;
  font-weight: 600;
  font-size: 14px;
}

.site-nav a{
  opacity: 0.9;
}
.site-nav a:hover,
.site-nav a:focus-visible{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-toggle{
  display: none;
  position: absolute;
  right: clamp(18px, 3vw, 28px);
  top: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle:focus-visible{
  outline: 2px solid rgba(255,255,209,0.6);
  outline-offset: 2px;
}
.nav-toggle__bar{
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
}

.hero-copy{
  text-align: center;
  margin-top: clamp(34px, 4vw, 46px);
  font-size: clamp(14px, 1.4vw, 16px);
}

.hero-copy p{
  margin: 0;
}

.hero-copy__strong{
  margin-top: 10px;
  font-weight: 700;
}

/* Sections */
.section{
  padding: clamp(62px, 7vw, 88px) 0;
}
.section.game{
  padding: clamp(40px, 5vw, 60px) 0;
}

.section-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kicker{
  margin: 0 0 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 14px;
}

.game-logo{
  width: min(680px, 92vw);
  height: auto;
  margin: 0 auto 18px;
}
.game-logo--tofu{
  width: min(520px, 92vw);
}

.game-logo--wyw{
  width: min(560px, 92vw);
}

.body{
  max-width: 820px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 16px);
}

.body--narrow{
  max-width: 780px;
}

.screenshot{
  width: min(720px, 92vw);
  height: auto;
  margin: 0 auto 28px;
  border-radius: 2px;
}

/* Buttons */
.button-stack{
  display: grid;
  gap: 18px;
  width: min(520px, 92vw);
  margin-top: 8px;
}
.section.game .button-stack{
  margin-bottom: 24px;
}

.btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 18px;
  border-radius: 2px;
  background: var(--btn);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.btn--spaced{
  margin-top: 12px;
}

.btn:hover{
  background: var(--btnHover);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.42);
}
.btn:active{ transform: translateY(0); }
.btn:focus-visible{
  outline: 2px solid rgba(255,255,209,0.6);
  outline-offset: 3px;
}

/* About */
.about-title{
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 40px);
}

.team{
  width: 100%;
  margin-top: clamp(32px, 5vw, 54px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3.2vw, 40px);
  align-items: start;
}

.team-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar{
  width: min(260px, 64vw);
  image-rendering: pixelated;
}

.person{
  margin: 18px 0 6px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
}

.role{
  margin: 0;
  color: var(--muted2);
  font-size: 13px;
  font-weight: 600;
}

/* Footer */
.site-footer{
  padding: clamp(56px, 6.5vw, 74px) 0;
}

.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-contact{
  display: grid;
  gap: 6px;
  text-align: center;
}
.footer-title{
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted2);
}
.footer-email{
  font-weight: 600;
  color: var(--text);
}
.footer-email:hover,
.footer-email:focus-visible{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.social{
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
}

.social-link{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  opacity: 0.92;
  transition: transform 160ms ease, opacity 160ms ease;
}
.social-link svg{
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.social-link img{
  width: 26px;
  height: 26px;
  display: block;
}
.social-link:hover{
  opacity: 1;
  transform: translateY(-1px);
}
.social-link:focus-visible{
  outline: 2px solid rgba(255,255,209,0.6);
  outline-offset: 2px;
}

.copyright{
  margin: 0;
  color: rgba(255,255,209,0.35);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 760px){
  .header-inner{
    justify-content: flex-start;
  }
  .brand{
    text-align: left;
  }
  .site-nav{
    position: absolute;
    top: 54px;
    right: clamp(18px, 3vw, 28px);
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    padding: 14px 14px;
    border-radius: var(--radius);
    background: rgba(20, 3, 18, 0.75);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.5);
    display: none;
  }
  .site-nav[data-open="true"]{
    display: flex;
  }
  .nav-toggle{ display: inline-block; }
  .team{
    grid-template-columns: 1fr;
  }
  .avatar{
    width: min(260px, 78vw);
  }
}

/* Motion safety */
@media (prefers-reduced-motion: reduce){
  .btn, .social-link{ transition: none; }
  .btn:hover, .social-link:hover{ transform: none; }
}
