/* GNBS — Page Styles
   페이지별 컴포넌트 스타일.
   토큰만 참조 (tokens.css).
*/

/* ─────────────────────────────────────────
   Home — Solution
───────────────────────────────────────── */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}
.solution-headline {
  font-size: var(--t-h1);
  font-weight: 500;
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-sm);
}
.solution-sub {
  font-size: var(--t-base);
  color: var(--text-sub);
  line-height: var(--lh-normal);
}
.solution-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.solution-card {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  cursor: pointer;
  transition: background var(--duration-mid);
}
.solution-card:hover { background: var(--c-light-grey); }
.solution-card-tag {
  font-size: var(--t-xs);
  color: var(--text-sub);
  text-transform: uppercase;
  margin-bottom: var(--sp-2xs);
}
.solution-card-title {
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--sp-xs);
}
.solution-card-body {
  font-size: var(--t-sm);
  color: var(--text-sub);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-sm);
}
.solution-card-cta {
  font-size: var(--t-sm);
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 0.4em;
}

/* ─────────────────────────────────────────
   Home — Partnership
───────────────────────────────────────── */
.marquee-outer {
  overflow: hidden;
  padding: var(--sp-xs) 0;
  margin: var(--sp-xs) 0 var(--sp-xl);
}
.marquee-track {
  display: flex;
  gap: var(--sp-lg);
  width: max-content;
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}
.marquee-logo {
  height: 2.4vw;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1);
}
.marquee-sep {
  width: 1px;
  height: 1.4vw;
  background: var(--border);
  flex-shrink: 0;
}
.marquee-name {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text-sub);
  opacity: 0.5;
  white-space: nowrap;
}
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-sm);
}
.advisor-card { display: flex; flex-direction: column; gap: 0.6vw; }
.advisor-avatar {
  width: 100%;
  aspect-ratio: 1021 / 1540;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  overflow: hidden;
}
.advisor-name {
  font-size: var(--t-sm);
  font-weight: 600;
}
.advisor-role {
  font-size: var(--t-xs);
  color: var(--text-sub);
  line-height: 1.4;
}
.advisor-bio {
  font-size: var(--t-xs);
  color: var(--c-grey);
  line-height: 1.4;
  margin-top: 0.3vw;
}

/* ─────────────────────────────────────────
   Home — Company
───────────────────────────────────────── */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}
.company-headline {
  font-size: var(--t-h1);
  font-weight: 500;
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-sm);
}
.company-manifesto {
  font-size: var(--t-base);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}
.stat-cards { display: flex; flex-direction: column; gap: var(--sp-xs); }
.stat-card {
  background: var(--bg-alt);
  border-radius: var(--r-md);
  padding: var(--sp-sm) var(--sp-md);
  display: flex;
  align-items: baseline;
  gap: 1.2vw;
}
.stat-number {
  font-size: var(--t-h1);
  font-weight: 500;
  line-height: 1;
}
.stat-label {
  font-size: var(--t-xs);
  color: var(--text-sub);
}

/* ─────────────────────────────────────────
   Company — CEO
───────────────────────────────────────── */
.ceo-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}
.ceo-p {
  font-size: var(--t-h4);
  line-height: 1.7;
  color: var(--text);
  margin-bottom: var(--sp-sm);
}
.ceo-p--sub  { color: var(--text-sub); }
.ceo-name    { font-size: var(--t-h4); font-weight: 600; margin-top: var(--sp-sm); }
.ceo-title   { font-weight: 400; color: var(--text-sub); font-size: var(--t-sm); }
.ceo-photo   { border-radius: var(--r-lg); overflow: hidden; }

/* ─────────────────────────────────────────
   Company — History
───────────────────────────────────────── */
.history-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
  align-items: start;
}
.history-title {
  font-size: var(--t-h1);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}
.history-desc {
  margin-top: var(--sp-sm);
  font-size: var(--t-sm);
  color: var(--text-sub);
  line-height: 1.7;
}
.timeline-item {
  display: grid;
  grid-template-columns: 6.5vw 1fr;
  gap: var(--sp-sm);
  padding: 0.8vw 0;
  border-top: 1px solid var(--border);
  font-size: var(--t-sm);
  align-items: center;
}
.timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
}
.timeline-date {
  color: var(--text-sub);
  flex-shrink: 0;
}
.timeline-last { border-bottom: 1px solid var(--border); }
.cert-img {
  height: 3.6vw;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  object-fit: cover;
  object-position: top center;
  cursor: zoom-in;
  transition: opacity var(--duration-fast);
}
.cert-img:hover { opacity: 0.75; }
.cert-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}
.cert-lightbox-img {
  max-height: 88vh;
  max-width: 52vw;
  border-radius: var(--r-md);
  box-shadow: 0 2vw 6vw rgba(0,0,0,0.6);
  cursor: default;
}

/* ─────────────────────────────────────────
   Company — Brand Lineup
───────────────────────────────────────── */
.brand-lineup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
.brand-card {
  background: var(--c-almost-black);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.brand-card-cat {
  font-size: var(--t-xs);
  color: var(--c-grey);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brand-card-title {
  font-size: var(--t-h1);
  font-weight: 500;
  color: white;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  white-space: pre-line;
}
.brand-card-desc {
  font-size: var(--t-sm);
  color: var(--c-grey);
  line-height: 1.6;
}
.brand-card-cta {
  margin-top: auto;
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.brand-lineup-panel { padding-top: var(--sp-sm); }
.brand-lineup-group { margin-bottom: var(--sp-sm); }
.brand-lineup-label {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--text);
  padding: 0.4vw 0;
}
.brand-product-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35vw 0;
  border-bottom: 1px solid var(--border);
}
.brand-product-name { font-size: var(--t-sm); }
.brand-product-note {
  font-size: var(--t-xs);
  color: var(--text-sub);
  margin-left: 0.6em;
}
.brand-roadmap {
  margin-top: var(--sp-sm);
  padding: var(--sp-xs) var(--sp-sm);
  background: var(--bg);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  font-size: var(--t-xs);
  color: var(--text-sub);
  line-height: 1.6;
}
.brand-roadmap-label {
  color: var(--c-grey);
  letter-spacing: 0.06em;
  margin-bottom: 0.3em;
}

/* ─────────────────────────────────────────
   Company — Partners / Advisors
───────────────────────────────────────── */
.partners-lead {
  font-size: var(--t-h4);
  line-height: var(--lh-normal);
  color: var(--text-sub);
  max-width: 55vw;
  margin-bottom: var(--sp-lg);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
}
.partner-card {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
}
.partner-logo-box {
  flex: 1;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--t-xs);
  color: var(--text-sub);
  overflow: hidden;
  margin-bottom: var(--sp-sm);
}
.partner-name {
  font-size: var(--t-sm);
  font-weight: 600;
  margin-top: var(--sp-sm);
  margin-bottom: 0.3vw;
}
.partner-desc {
  font-size: var(--t-xs);
  color: var(--text-sub);
  line-height: 1.5;
}

/* ─────────────────────────────────────────
   Company — Tech & Contracts
───────────────────────────────────────── */
.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}
.tech-headline {
  font-size: var(--t-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--sp-md);
}
.tech-item {
  display: grid;
  grid-template-columns: 3.5vw 1fr;
  gap: var(--sp-sm);
  padding: var(--sp-sm) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.tech-num {
  font-size: var(--t-xs);
  color: var(--text-sub);
  padding-top: 0.2vw;
}
.tech-name {
  font-size: var(--t-h4);
  font-weight: 500;
  margin-bottom: 0.3vw;
}
.tech-desc {
  font-size: var(--t-sm);
  color: var(--text-sub);
}
.invest-card {
  background: var(--bg-inv);
  color: var(--text-inv);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  margin-top: var(--sp-md);
}
.invest-label {
  font-size: var(--t-xs);
  color: var(--c-grey);
  margin-bottom: var(--sp-xs);
}
.invest-amount {
  font-size: var(--t-h1);
  font-weight: 500;
  line-height: 1;
}
.invest-detail {
  font-size: var(--t-sm);
  color: var(--c-grey);
  margin-top: 0.4vw;
}

/* ─────────────────────────────────────────
   Brand — Narrative
───────────────────────────────────────── */
.narrative-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}
.narrative-logo {
  height: 2.4vw;
  display: block;
  margin-bottom: var(--sp-md);
}
.narrative-heading {
  font-size: var(--t-h1);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-lg);
}
.narrative-p {
  font-size: var(--t-h4);
  line-height: 1.7;
  color: var(--text-sub);
  margin-bottom: var(--sp-sm);
}
.narrative-p--first { color: var(--text); }
.narrative-p--last  { font-weight: 500; }

/* ─────────────────────────────────────────
   Brand — Stats
───────────────────────────────────────── */
.stats-lead {
  font-size: var(--t-h3);
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: var(--sp-lg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-sm);
}
.stat-big-card {
  background: var(--c-almost-black);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-md);
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.stat-big-num {
  font-size: var(--t-h0);
  font-weight: 500;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-big-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.stat-big-label {
  font-size: var(--t-base);
  color: rgba(255,255,255,0.55);
}
.stat-big-note {
  font-size: var(--t-xs);
  color: rgba(255,255,255,0.25);
  text-align: right;
}

/* ─────────────────────────────────────────
   Brand — SAGX Feature (BESTRONG373)
───────────────────────────────────────── */
.sagx-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
  align-items: start;
  margin-bottom: var(--sp-lg);
}
.sagx-title {
  font-size: var(--t-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: white;
}
.sagx-desc {
  font-size: var(--t-sm);
  color: var(--c-grey);
  line-height: 1.7;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
}
.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
}
.feature-card-idx {
  font-size: var(--t-xs);
  color: var(--c-grey);
  letter-spacing: 0.06em;
}
.feature-card-name {
  font-size: var(--t-h4);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  white-space: pre-line;
}
.feature-card-sep {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.5vw;
}
.feature-card-ingredient {
  font-size: var(--t-xs);
  color: rgba(255,255,255,0.5);
}
.feature-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.2vw;
}
.feature-card-dose {
  font-size: var(--t-sm);
  color: white;
  font-weight: 500;
}
.feature-card-note {
  font-size: var(--t-xs);
  color: var(--c-grey);
}

/* ─────────────────────────────────────────
   Brand — Tech Platform (MICRO MIRACLE)
───────────────────────────────────────── */
.tech-platform-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
  align-items: start;
  margin-bottom: var(--sp-lg);
}
.tech-platform-title {
  font-size: var(--t-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.tech-platform-desc {
  font-size: var(--t-sm);
  color: var(--text-sub);
  line-height: 1.7;
}
.tech-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
}
.tech-platform-card {
  background: var(--c-almost-black);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
}
.tech-platform-card-idx {
  font-size: var(--t-xs);
  color: var(--c-grey);
  letter-spacing: 0.06em;
}
.tech-platform-card-name {
  font-size: var(--t-h4);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  white-space: pre-line;
}
.tech-platform-card-desc {
  font-size: var(--t-sm);
  color: var(--c-grey);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.5vw;
}
.tech-platform-card-badge {
  font-size: var(--t-xs);
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-sm);
  padding: 0.2vw 0.6vw;
  align-self: flex-start;
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────
   Brand — Values
───────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}
.values-card-media {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: var(--sp-sm);
  background: var(--c-almost-black);
}
.values-card-media video,
.values-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.values-card-body  { border-top: 1px solid var(--border); padding-top: var(--sp-sm); }
.values-card-idx   { font-size: var(--t-xs); color: var(--c-grey); margin-bottom: 0.5vw; }
.values-card-title {
  font-size: var(--t-h4);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--sp-sm);
  white-space: pre-line;
}
.values-card-desc  { font-size: var(--t-sm); color: var(--text-sub); line-height: 1.7; }

/* ─────────────────────────────────────────
   Brand — Lineup Cards
───────────────────────────────────────── */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm);
}
.lineup-card {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.lineup-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: var(--bg);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--t-xs);
  color: var(--text-sub);
}
.lineup-name {
  font-size: var(--t-h4);
  font-weight: 600;
}
.lineup-slogan {
  font-size: var(--t-sm);
  color: var(--text-sub);
}
.lineup-launch {
  font-size: var(--t-xs);
  color: var(--c-grey);
}

/* ─────────────────────────────────────────
   Culture — Value Accordion
───────────────────────────────────────── */
.value-item {
  border-top: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}
.value-item:last-of-type { border-bottom: 1px solid var(--border); }
.value-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-sm) 0;
}
.value-header-left {
  display: flex;
  align-items: baseline;
  gap: 2vw;
}
.value-num {
  font-size: var(--t-xs);
  color: var(--text-sub);
  width: 2.5vw;
  flex-shrink: 0;
}
.value-en {
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1;
}
.value-toggle {
  font-size: var(--t-h3);
  font-weight: 300;
  color: var(--text-sub);
  flex-shrink: 0;
}
.value-body {
  padding: 0 0 var(--sp-md) 4.5vw;
  font-size: var(--t-h4);
  color: var(--text-sub);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   Jobs — Board
───────────────────────────────────────── */
.board-filters {
  display: flex;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}
.board-row {
  display: grid;
  grid-template-columns: 6vw 5.5vw 1fr auto;
  gap: var(--sp-sm);
  align-items: center;
  padding: var(--sp-sm) 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
  transition: opacity var(--duration-mid);
}
.board-row:hover { opacity: 0.7; }
.board-row:last-child { border-bottom: 1px solid var(--border); }
.board-cat {
  font-size: var(--t-xs);
  color: var(--text-sub);
}
.board-date {
  font-size: var(--t-xs);
  color: var(--text-sub);
}
.board-title {
  font-size: var(--t-h4);
  font-weight: 500;
  margin-bottom: 0.25vw;
}
.board-summary {
  font-size: var(--t-sm);
  color: var(--text-sub);
}
.board-arrow { font-size: var(--t-h4); color: var(--text-sub); }
.board-empty {
  padding: var(--sp-xl) 0;
  text-align: center;
  color: var(--text-sub);
  font-size: var(--t-sm);
}

/* ─────────────────────────────────────────
   Jobs — Open Application Card
───────────────────────────────────────── */
.open-app-card {
  margin-top: var(--sp-xl);
  padding: var(--sp-md);
  background: var(--bg-alt);
  border-radius: var(--r-md);
  text-align: center;
}
.open-app-title {
  font-size: var(--t-h4);
  font-weight: 500;
  margin-bottom: var(--sp-xs);
}
.open-app-desc {
  font-size: var(--t-sm);
  color: var(--text-sub);
  margin-bottom: var(--sp-sm);
}
