/* PAGES-V1 5 · 성장스토리 전용. 공통 토큰을 사용하고 다른 페이지에 영향 없음. */
.g-story { --story-wrap:1160px; --story-anchor:116px; }
.g-story .g-bg { background:var(--bg-0); }
.g-story [data-story-member] { display:none!important; }
html.story-member .g-story [data-story-guest] { display:none!important; }
html.story-member .g-story [data-story-member] { display:block!important; }
html.story-member .g-story a.g-btn[data-story-member] { display:inline-flex!important; }
.g-story .g-nav { max-width:var(--story-wrap); }
.g-story .g-nav .g-bar { background:var(--bg-1); box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.g-story .g-nav-btns .g-btn { min-height:44px; }
.g-story .g-menu a[aria-current="page"] { color:var(--text); background:var(--bg-2); }
.g-story .g-btn { white-space:normal; text-align:center; }
.g-story main { padding:0 32px; }
.g-story .story-eyebrow { font-size:14px; font-weight:500; color:var(--gold); letter-spacing:.04em; line-height:1.5; margin:0 0 24px; }
.g-story .story-hero { max-width:920px; margin:0 auto; padding:88px 0 80px; }
.g-story .story-hero h1 { font-size:clamp(38px,4.3vw,62px); font-weight:600; line-height:1.23; letter-spacing:-.045em; text-wrap:balance; }
.g-story .story-hero h1 em { color:var(--gold); font-style:normal; font-weight:400; }
.g-story .story-hero-lead { color:var(--text-2); margin:28px 0 32px; font-size:18px; line-height:1.8; }
.g-story .story-layout { max-width:920px; margin:0 auto; border-top:1px solid var(--line-2); }
.g-story .story-body { min-width:0; }
.g-story .story-section { position:relative; padding:64px 0; border-bottom:1px solid var(--line); scroll-margin-top:var(--story-anchor); }
.g-story .story-section-head { margin-bottom:32px; }
.g-story .story-section-head .story-eyebrow { margin-bottom:16px; }
.g-story .story-section h2 { font-size:clamp(28px,2.8vw,40px); line-height:1.28; font-weight:500; letter-spacing:-.035em; }
.g-story .story-intro { font-size:17px; line-height:1.75; color:var(--text-2); max-width:42em; margin:20px 0 0; }
.g-story .g-prose { font-size:17px; }
.g-story .g-lead { font-size:16px; margin:0 0 24px; }
.g-story .g-note { font-size:14px; }
.g-story .story-era { background:var(--bg-1); border:1px solid var(--line-2); border-radius:16px; margin:0 0 12px; }
.g-story .story-era-head { display:grid; grid-template-columns:154px minmax(0,1fr); align-items:center; gap:20px; padding:24px; border-radius:16px; }
.g-story .story-era-date { font-variant-numeric:tabular-nums; font-size:24px; font-weight:300; letter-spacing:-.03em; }
.g-story .story-era-title { margin:0; font-size:18px; font-weight:500; }
.g-story .story-era-title small { display:block; font-size:14px; color:var(--text-3); font-weight:400; margin-top:4px; }
.g-story .story-era .g-timeline { margin:0 24px; padding:24px 0 8px; border-top:1px solid var(--line); }
.g-story .story-era .g-timeline::before { left:7px; top:32px; bottom:32px; }
.g-story .story-era .g-timeline li { display:grid; grid-template-columns:80px minmax(0,1fr); gap:12px; padding:0 0 24px 32px; font-size:16px; line-height:1.65; }
.g-story .story-era .g-timeline li b { font-size:15px; font-weight:500; line-height:1.65; }
.g-story .story-era .g-timeline li::before { top:8px; }
.g-story .g-nums { gap:0; border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2); margin-top:24px; }
.g-story .g-nums li { padding:24px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:var(--bg-1); font-size:15px; line-height:1.8; }
.g-story .g-nums li:nth-child(odd) { border-right:1px solid var(--line); }
.g-story .g-nums b { font-size:26px; line-height:1.45; margin:0 3px; }
.g-story .story-inline-links { display:flex; flex-wrap:wrap; gap:8px 24px; margin-top:24px; }
.g-story .story-inline-links a { display:inline-flex; align-items:center; gap:12px; min-height:44px; font-size:15px; }
.g-story .story-support { border-top:1px solid var(--line-2); padding-top:24px; min-width:0; }
.g-story .story-support h3 { font-size:20px; font-weight:500; margin-bottom:24px; }
.g-story .g-checks li { font-size:16px; padding-left:0; }
.g-story .g-checks li::before,.g-story .g-checks li::after { display:none; }
.g-story .g-quote-line { font-size:15px; color:var(--gold); }
.g-story .story-profile { border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2); margin-top:28px; padding:28px 0; }
.g-story .story-profile h3 { font-size:20px; margin:0 0 20px; }
.g-story .story-profile .g-note { margin-bottom:0; }
.g-story .g-goals { gap:0; }
.g-story .g-goals li { background:none; border:0; border-bottom:1px solid var(--line); border-radius:0; padding:22px 0 22px 48px; font-size:16px; }
.g-story .g-goals li:last-child { border-bottom:0; }
.g-story .g-goals li::before { left:0; top:22px; font-size:20px; }
.g-story .g-goals li b { font-size:17px; }
.g-story .g-ways { gap:12px; }
.g-story .g-ways li { background:var(--bg-1); }
.g-story .g-branches { grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.g-story .br { min-height:94px; padding:16px 4px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.g-story .br b { font-size:26px; }
.g-story a.br { background:var(--bg-2); }
.g-story a.br:hover { transform:none; box-shadow:none; }
.g-story .story-day { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:0; margin:32px 0; list-style:none; border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2); }
.g-story .story-day li { position:relative; padding:24px 12px; border-right:1px solid var(--line); }
.g-story .story-day li:last-child { border-right:0; }
.g-story .story-day span { font-size:17px; }
.g-story .story-day small { display:block; margin-top:8px; color:var(--text-3); font-size:14px; }
.g-story .g-faq { background:none; }
.g-story .g-faq summary { min-height:64px; font-size:17px; }
.g-story .g-faq p { font-size:16px; }
.g-story .story-contact { border-bottom:0; }
.g-story .story-contact-panel { background:var(--bg-1); border:1px solid var(--line-2); border-top-color:var(--gold); border-radius:24px; padding:40px; }
.g-story .story-contact .g-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.g-story .story-contact .g-btn--lg { font-size:16px; padding:16px 24px; }
.g-story .g-foot { border-top:1px solid var(--line); padding-top:32px; }
.g-story .g-foot a { display:inline-flex; align-items:center; min-height:44px; }
.g-story a,.g-story button,.g-story summary,.g-story [tabindex] { scroll-margin-top:var(--story-anchor); scroll-margin-bottom:112px; }
.g-story :focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.g-story .g-prose a,.g-story .g-lead a { display:inline-block; min-height:44px; padding:8px 0; }
@media (max-width:1100px) {
  .g-story .g-nav-btns { display:none; }
  .g-story .g-menu { min-width:0; overflow-x:auto; }
  .g-story .g-menu a { flex-shrink:0; white-space:nowrap; }
  .g-story .story-era-head { grid-template-columns:128px minmax(0,1fr); gap:16px; }
  .g-story .story-era-date { font-size:22px; }
  .g-story .g-branches { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .g-story { --story-anchor:148px; }
  .g-story .g-nav .g-bar { flex-wrap:wrap; border-radius:20px; }
  .g-story .g-menu { flex-basis:100%; margin-left:0; }
}
@media (max-width:800px) {
  .g-story { --story-anchor:148px; }
  .g-story main { padding:0 24px; }
  .g-story .story-hero { padding:56px 0; }
  .g-story .story-hero h1 { font-size:clamp(36px,7vw,52px); }
  .g-story .story-layout { display:block; }
  .g-story .story-section { padding:48px 0; }
}
@media (max-width:540px) {
  .g-story { --story-anchor:144px; padding-bottom:calc(96px + env(safe-area-inset-bottom)); }
  .g-story main { padding:0 20px; }
  .g-story .g-nav .g-bar { padding:6px 10px; border-radius:20px; gap:2px; }
  .g-story .g-logo { font-size:15px; }
  .g-story .g-logo .g-mark--shield { width:24px; height:28px; }
  .g-story .g-menu { gap:0; }
  .g-story .g-menu a { font-size:14px; padding:8px; }
  .g-story .g-menu .g-menu-login { margin-left:0; }
  .g-story .story-hero { padding-top:40px; }
  .g-story .story-hero .story-eyebrow { margin-bottom:20px; }
  .g-story .story-hero-lead { font-size:16px; margin-top:24px; }
  .g-story .story-era-head { grid-template-columns:1fr; gap:8px 16px; padding:20px; }
  .g-story .story-era-date { grid-column:1; font-size:24px; }
  .g-story .story-era-title { grid-row:2; font-size:17px; }
  .g-story .story-era .g-timeline { margin:0 20px; }
  .g-story .story-era .g-timeline li { display:block; padding-left:28px; }
  .g-story .story-era .g-timeline li b { margin-bottom:4px; }
  .g-story .g-nums { grid-template-columns:1fr; }
  .g-story .g-nums li { padding:24px 20px; }
  .g-story .g-nums li:nth-child(odd) { border-right:0; }
  .g-story .g-ways { grid-template-columns:1fr; }
  .g-story .g-branches { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .g-story .story-day { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .g-story .story-day li { padding:20px 12px; }
  .g-story .story-day li:nth-child(2) { border-right:0; }
  .g-story .story-day li:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .g-story .story-contact-panel { padding:28px 24px; border-radius:20px; }
  .g-story .story-contact .g-actions { align-items:stretch; flex-direction:column; }
  .g-story .story-contact .g-btn { width:100%; }
  .g-story .story-mobile-actions .g-bar { background:var(--bg-1); backdrop-filter:none; -webkit-backdrop-filter:none; border-radius:20px; box-shadow:none; }
  .g-story .story-mobile-actions .g-btn { font-size:16px; border-radius:12px; }
  .g-story .story-mobile-actions .g-btn--ghost { width:64px; }
}
@media (prefers-reduced-motion:reduce) {
  .g-story *, .g-story *::before, .g-story *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
@media print {
  .g-story .g-nav,.g-story .story-mobile-actions { display:none!important; }
  .g-story .story-layout { display:block; }
  .g-story .story-section { break-inside:avoid; }
}
