/* ===== OLO-G 회사 공식 사이트 — 디자인 시스템 (goraddy-site 기반, 회사 톤) ===== */
:root {
  --sky: #c9ecf7;
  --sky-light: #e8f7fc;
  --sea: #2ba3d4;
  --sea-deep: #1b7fc4;
  --navy: #14365c;
  --yellow: #f8d86a;
  --coral: #ff8a5c;
  --text: #1d3c5e;
  --text-dim: #5b7894;
  --card: #ffffff;
  --radius: 22px;
  --maxw: 920px;
  --shadow: 0 10px 30px rgba(27, 127, 196, 0.14);
  --shadow-sm: 0 4px 14px rgba(27, 127, 196, 0.10);
}

@font-face {
  font-family: 'SeoulAlrim';
  src: url('assets/SeoulAlrim-XB.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;        /* 한국어 어절 단위 줄바꿈 */
  overflow-wrap: break-word;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

h1, h2, h3, .brand, .ver, .badge, .btn, .pill {
  font-family: 'SeoulAlrim', "Apple SD Gothic Neo", sans-serif;
  font-weight: 800;
}

/* ----- 헤더 ----- */
header.site {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.55rem 1.2rem;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 16px rgba(27, 127, 196, 0.12);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 38px; width: auto; display: block; }
nav.menu { display: flex; gap: 0.15rem; flex-wrap: nowrap; margin-left: auto; align-items: center; }
nav.menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
}
nav.menu a:hover { background: var(--sky-light); }
nav.menu a.on { background: var(--navy); color: #fff; }
nav.menu a.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  margin-left: 0.35rem;
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem 0.3rem 0.45rem;
  position: sticky;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: -10px 0 10px rgba(255, 255, 255, 0.9);
}
nav.menu a.lang .flag {
  width: 17px;
  height: 17px;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(20, 54, 92, 0.15);
}

/* ----- 본문 공통 ----- */
main { max-width: var(--maxw); margin: 0 auto; padding: 2.2rem 1.2rem 4rem; }
h1 { font-size: 1.9rem; color: var(--navy); margin-bottom: 0.4rem; }
h2 { font-size: 1.4rem; color: var(--navy); margin: 2.4rem 0 0.8rem; }
h3 { font-size: 1.08rem; color: var(--sea-deep); margin: 1.4rem 0 0.4rem; }
p.lead { color: var(--text-dim); margin-bottom: 1.6rem; }
a { color: var(--sea-deep); }
main p { margin: 0.6rem 0; }

.card {
  background: var(--card); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; margin: 1rem 0; box-shadow: var(--shadow-sm);
}
ul { padding-left: 1.2rem; }
li { margin: 0.3rem 0; }

/* ===== 히어로 (로고 중심, 차분·미니멀 — 게임 사이트와 구분) ===== */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--sky-light) 100%);
  text-align: center;
  padding: 3.8rem 1.2rem 3.2rem;
  border-bottom: 1px solid rgba(43, 163, 212, 0.14);
}
.hero .logo-big { height: 88px; width: auto; margin-bottom: 1.3rem; }
.hero h1 { color: var(--navy); font-size: 1.7rem; margin-bottom: 0.4rem; }
.hero .tagline-en {
  display: block; color: var(--sea-deep); font-size: 1.05rem; letter-spacing: 0.01em;
  margin-bottom: 1.2rem; font-family: 'SeoulAlrim', sans-serif;
}
.hero .hero-sub { color: var(--text-dim); max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* ===== 행복 3단계 / 미션 인트로 ===== */
.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0; }
.three-up .item {
  background: var(--card); border-radius: var(--radius); padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow-sm); text-align: center;
}
.three-up .item .emo { font-size: 1.8rem; display: block; margin-bottom: 0.4rem; }
.three-up .item strong { display: block; color: var(--navy); font-family: 'SeoulAlrim', sans-serif; margin-bottom: 0.3rem; }
.three-up .item p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }

/* ===== 가치 카드 (4축 / 8덕목) ===== */
/* ===== 가치 4축 ===== */
.value-axes { margin: 1rem 0; display: flex; flex-direction: column; gap: 1.7rem; }
.axis-group .axis-head { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.7rem; font-family: 'SeoulAlrim', sans-serif; color: var(--navy); font-size: 1.08rem; }
.axis-head .axis-bar { width: 28px; height: 4px; border-radius: 2px; background: var(--sea); display: inline-block; }
.value-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.value-card {
  background: var(--card); border-radius: var(--radius); padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--sea);
}
.axis-jeong .value-card { border-top-color: var(--coral); }
.axis-jeong .axis-bar { background: var(--coral); }
.axis-adventure .value-card { border-top-color: var(--sea); }
.axis-adventure .axis-bar { background: var(--sea); }
.axis-ideal .value-card { border-top-color: var(--yellow); }
.axis-ideal .axis-bar { background: var(--yellow); }
.axis-persist .value-card { border-top-color: var(--navy); }
.axis-persist .axis-bar { background: var(--navy); }
.value-card h4 { margin: 0 0 0.3rem; color: var(--navy); font-size: 1.02rem; }
.value-card p { color: var(--text-dim); font-size: 0.93rem; margin: 0; }

/* ===== ologgies 멤버십 ===== */
.member-sub {
  font-family: 'SeoulAlrim', sans-serif; color: var(--sea-deep);
  font-size: 0.95rem; margin: 1.4rem 0 0.7rem;
}
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 0.8rem; margin: 0.4rem 0 0.4rem; }
.member-card {
  background: var(--card); border-radius: 16px; padding: 1.1rem 0.9rem 1rem;
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(43, 163, 212, 0.12);
}
.member-card .m-emo { font-size: 1.9rem; display: block; line-height: 1; }
.member-card .m-name { display: block; color: var(--navy); margin: 0.4rem 0 0.15rem; font-family: 'SeoulAlrim', sans-serif; }
.member-card .m-role { display: block; color: var(--text-dim); font-size: 0.8rem; }
.member-card .m-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; justify-content: center; margin-top: 0.55rem; }
.member-card .m-tags .pill { font-size: 0.66rem; padding: 0.1rem 0.45rem; border-radius: 7px; }
.pill.pj-goraddy { background: rgba(43,163,212,0.12); color: #4aa6d6; }
.pill.pj-ppd     { background: rgba(79,176,148,0.13); color: #57b394; }
.pill.pj-ppd2    { background: rgba(128,136,207,0.14); color: #868dce; }
.pill.pj-aim     { background: rgba(224,128,104,0.13); color: #e08a72; }
.member-card.friend { background: #fbfdff; }
.badge-line { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.4rem; }

/* ===== 인용/슬로건 박스 ===== */
.quote {
  background: linear-gradient(160deg, var(--sea) 0%, var(--sea-deep) 120%);
  color: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem;
  margin: 1.4rem 0; box-shadow: var(--shadow); font-size: 1.12rem;
  font-family: 'SeoulAlrim', sans-serif; text-align: center;
}
.quote small { display: block; font-family: inherit; font-weight: 400; font-size: 0.85rem; opacity: 0.9; margin-top: 0.5rem; }

/* ===== 타임라인 ===== */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem; margin: 1.2rem 0; }
.timeline .phase {
  background: var(--card); border-radius: 18px; padding: 1.1rem 0.9rem;
  box-shadow: var(--shadow-sm); position: relative;
}
.timeline .phase .step { font-size: 0.72rem; color: var(--sea); font-family: 'SeoulAlrim', sans-serif; }
.timeline .phase h3 { font-size: 0.98rem; margin: 0.2rem 0 0.4rem; color: var(--navy); }
.timeline .phase .kind { font-size: 0.78rem; color: var(--sea-deep); font-weight: 700; margin-bottom: 0.3rem; }
.timeline .phase p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }
.timeline .phase.now { border: 2px solid var(--coral); }
.timeline .phase.now .step { color: var(--coral); }

/* ===== 게임 쇼케이스 카드 ===== */
.game-card {
  display: flex; gap: 1.3rem; align-items: center;
  background: var(--card); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; margin: 1rem 0; box-shadow: var(--shadow);
}
.game-card.flag { background: linear-gradient(160deg, #eaf7fd 0%, #d6eefb 100%); }
.game-card .thumb {
  width: 120px; height: 120px; flex: none; border-radius: 20px;
  background: var(--sky-light); display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-card .thumb .emo { font-size: 3rem; }
.game-card .meta { flex: 1; min-width: 0; }
.game-card .meta h3 { margin: 0 0 0.25rem; font-size: 1.2rem; color: var(--navy); }
.game-card .meta .tags { margin: 0.3rem 0 0.5rem; display: flex; gap: 0.35rem; flex-wrap: wrap; }
.game-card .meta p { color: var(--text-dim); font-size: 0.93rem; margin: 0 0 0.6rem; }
.pill {
  display: inline-block; font-size: 0.72rem; border-radius: 8px;
  padding: 0.12rem 0.6rem; background: var(--sky); color: var(--navy);
}
.pill.soon { background: var(--yellow); }
.pill.ghost { background: transparent; border: 1.5px dashed var(--text-dim); color: var(--text-dim); }

/* ===== 히어로 CTA 버튼 ===== */
.hero-cta { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ===== 아트 피처 (대표작 키아트 배너) ===== */
.game-feature { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 1rem 0; }
.game-feature .art { display: block; width: 100%; height: auto; background: var(--sky-light); }
.game-feature .body { padding: 1.3rem 1.5rem 1.5rem; }
.game-feature .body h3 { margin: 0 0 0.3rem; font-size: 1.3rem; color: var(--navy); }
.game-feature .body .tags { margin: 0.3rem 0 0.5rem; display: flex; gap: 0.35rem; flex-wrap: wrap; }
.game-feature .body p { color: var(--text-dim); margin: 0.4rem 0 0.9rem; }

/* ===== 스크린샷 스트립 ===== */
.shots { display: flex; gap: 0.7rem; overflow-x: auto; padding-bottom: 0.4rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shots::-webkit-scrollbar { display: none; }
.shots img { height: 210px; width: auto; border-radius: 14px; box-shadow: var(--shadow-sm); flex: none; }

/* ===== 게임 미니 그리드 (대문) ===== */
.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin: 1rem 0; }
.game-mini {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--card); border-radius: 18px; padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.game-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.game-mini .ic {
  width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--sky-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem; overflow: hidden;
}
.game-mini .ic.img { background-size: cover; background-position: center; }
.game-mini .ic.letter { font-family: 'SeoulAlrim', sans-serif; font-size: 1.25rem; color: #fff; }
.game-mini .gm-meta { min-width: 0; }
.game-mini .gm-meta strong { display: block; color: var(--navy); font-family: 'SeoulAlrim', sans-serif; font-size: 1rem; }
.game-mini .gm-meta span { font-size: 0.8rem; color: var(--text-dim); }
.game-mini.flag { background: linear-gradient(160deg, #eaf7fd 0%, #d6eefb 100%); }
.more-link { display: inline-block; margin-top: 0.5rem; font-weight: 700; }

/* ===== 버튼 / CTA ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--navy); color: #fff; font-size: 0.98rem; text-decoration: none;
  padding: 0.7rem 1.4rem; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.alt { background: var(--coral); }
.btn.sub { background: var(--sky-light); color: var(--sea-deep); box-shadow: none; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

.cta-box {
  background: linear-gradient(160deg, var(--sea) 0%, var(--sea-deep) 120%);
  color: #fff; border-radius: var(--radius); padding: 1.8rem 1.6rem;
  text-align: center; margin: 1.8rem 0; box-shadow: var(--shadow);
}
.cta-box strong { font-size: 1.1rem; font-family: 'SeoulAlrim', sans-serif; }
.cta-box .btn { background: var(--yellow); color: var(--navy); margin-top: 1rem; }

/* ===== 사업자 정보 / 연락 ===== */
.spec { display: grid; grid-template-columns: 130px 1fr; gap: 0.4rem 1rem; margin: 0.5rem 0 0; }
.spec dt { font-weight: 800; color: var(--sea-deep); font-family: 'SeoulAlrim', sans-serif; }
.spec dd { margin: 0; }
.contact-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1rem 0; }
.channel {
  background: var(--card); border-radius: var(--radius); padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm); text-align: center;
}
.channel .emo { font-size: 1.8rem; }
.channel h3 { margin: 0.4rem 0 0.3rem; }
.channel p { color: var(--text-dim); font-size: 0.9rem; margin: 0 0 0.6rem; }
.channel a.mail { font-weight: 700; word-break: break-all; }

/* 스크롤 리빌 */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== 푸터 ===== */
footer.site {
  background: var(--navy); color: rgba(255, 255, 255, 0.75); font-size: 0.85rem;
  padding: 2.8rem 1.2rem 2.2rem; text-align: center; margin-top: 2.5rem;
}
footer.site .foot-logo { height: 30px; margin-bottom: 0.7rem; opacity: 0.95; filter: brightness(0) invert(1); }
footer.site a { color: #fff; text-decoration: none; margin: 0 0.5rem; }
footer.site a:hover { text-decoration: underline; }
footer.site .biz { margin-top: 0.9rem; font-size: 0.76rem; color: rgba(255, 255, 255, 0.55); line-height: 1.6; }
footer.site .legal { margin-top: 0.7rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }

/* ===== 모바일 ===== */
@media (max-width: 620px) {
  .three-up { grid-template-columns: 1fr; }
  .value-pair { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .game-card { flex-direction: column; text-align: center; }
  .game-card .thumb { width: 100%; height: 160px; }
}
@media (max-width: 560px) {
  .brand img { height: 30px; }
  .nav-inner { flex-wrap: nowrap; gap: 0.35rem; }
  nav.menu {
    flex: 1 1 auto; min-width: 0; max-width: 100%;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  nav.menu::-webkit-scrollbar { display: none; }
  nav.menu a { font-size: 0.85rem; padding: 0.32rem 0.5rem; }
  nav.menu a.lang { font-size: 0; gap: 0; padding: 0.3rem; margin-left: 0.15rem; }
  nav.menu a.lang .flag { width: 16px; height: 16px; }
  .hero { padding: 2.6rem 1rem 2.4rem; }
  .hero .logo-big { height: 66px; }
  .hero h1 { font-size: 1.35rem; }
  .hero .tagline-en { font-size: 0.98rem; }
  .hero .hero-sub { font-size: 0.95rem; }
  main { padding: 1.6rem 1rem 3rem; }
  .spec { grid-template-columns: 100px 1fr; }
  .shots img { height: 160px; }
}

/* ===== 푸터 SNS 아이콘 ===== */
footer.site .social { display: flex; gap: 0.55rem; justify-content: center; margin: 0.2rem 0 0.7rem; }
footer.site .social a {
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; transition: background 0.15s ease;
}
footer.site .social a:hover { background: rgba(255, 255, 255, 0.26); }
footer.site .social svg { width: 17px; height: 17px; fill: currentColor; }

/* ===== 링크 리스트 (문의 페이지) ===== */
.links-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.6rem; margin: 1rem 0; }
.link-row {
  display: flex; align-items: center; gap: 0.7rem; background: var(--card);
  border-radius: 14px; padding: 0.8rem 1rem; box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--text); transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.link-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.link-row .ico { width: 36px; height: 36px; flex: none; border-radius: 11px; background: var(--sky-light); display: flex; align-items: center; justify-content: center; }
.link-row .ico svg { width: 19px; height: 19px; fill: var(--sea-deep); }
.link-row .lr-t { min-width: 0; }
.link-row strong { display: block; color: var(--navy); font-size: 0.95rem; font-family: 'SeoulAlrim', sans-serif; }
.link-row span { font-size: 0.8rem; color: var(--text-dim); }


/* ===== 멤버 모달 ===== */
.member-card.clickable { cursor: pointer; }
.member-card.clickable:hover { transform: translateY(-3px); box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.member-card .m-more { display: block; margin-top: 0.55rem; font-size: 0.66rem; color: var(--sea-deep); opacity: 0.85; }
.m-modal-bg { position: fixed; inset: 0; background: rgba(20,54,92,0.55); display: none; align-items: center; justify-content: center; padding: 1.2rem; z-index: 200; }
.m-modal-bg.open { display: flex; }
.m-modal { background: var(--card); border-radius: 20px; max-width: 460px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 1.7rem 1.5rem 1.8rem; box-shadow: 0 24px 60px rgba(20,54,92,0.35); position: relative; text-align: center; }
.m-modal .m-close { position: absolute; top: 0.7rem; right: 0.9rem; border: none; background: none; font-size: 1.5rem; line-height: 1; color: var(--text-dim); cursor: pointer; }
.m-modal .mm-emo { font-size: 2.7rem; display: block; line-height: 1; }
.m-modal .mm-name { font-family: 'SeoulAlrim', sans-serif; color: var(--navy); font-size: 1.3rem; margin: 0.4rem 0 0.1rem; }
.m-modal .mm-role { color: var(--sea-deep); font-size: 0.9rem; }
.m-modal .mm-intro { color: var(--text); margin: 1rem 0 1.1rem; font-size: 0.98rem; line-height: 1.6; }
.m-modal .mm-rows { text-align: left; }
.m-modal .mm-row { margin: 0.7rem 0; font-size: 0.9rem; color: var(--text-dim); line-height: 1.55; }
.m-modal .mm-row b { display: block; color: var(--navy); font-family: 'SeoulAlrim', sans-serif; font-weight: 400; font-size: 0.86rem; margin-bottom: 0.1rem; }
.m-modal .mm-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.2rem; }
.m-modal .mm-tags .pill { font-size: 0.7rem; padding: 0.12rem 0.5rem; border-radius: 7px; }
.m-modal .mm-mail { display: inline-block; margin-top: 1.2rem; color: var(--sea-deep); font-weight: 700; text-decoration: none; }
.m-modal .mm-mail:hover { text-decoration: underline; }
