/* Sub-pages (services / location / contact / legal): same tokens and components as the main page
   (renewal.css), plus the shared header, hero and footer. Hero backgrounds are frames of the main
   page's own 3D sphere scene (assets/sub-sphere-*.webp). */

/* ---------- shared header ---------- */
.g-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: 75px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 40px;
  background: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.35)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--g-font);
}
.g-header-logo img { display: block; width: 150px; height: auto; }
.g-header-right { display: flex; align-items: center; gap: 40px; }
.g-header .g-nav { display: flex; align-items: center; gap: 40px; }
.g-header .g-contact-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 174px; height: 42px; box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 12px; color: #fff; text-decoration: none; font-size: 16px; font-weight: 500;
  transition: background .2s ease, border-color .2s ease;
}
.g-header .g-contact-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* nav (also used inside the main page header, see renewal.css) */
.g-nav-link, .g-nav-trigger {
  appearance: none; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font: 500 16px/1 var(--g-font); color: #fff; text-decoration: none; white-space: nowrap;
}
.g-nav-link:hover, .g-nav-trigger:hover, .g-nav-link[aria-current="page"], .g-nav-item.is-current > .g-nav-trigger { color: var(--g-glow); }
.g-nav-trigger::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.g-nav-item { position: relative; }
.g-nav-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -6px); min-width: 200px; padding: 8px;
  border-radius: 14px; background: rgba(16, 14, 22, 0.96); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: grid; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.g-nav-menu::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; } /* hover bridge */
.g-nav-item:hover .g-nav-menu, .g-nav-item:focus-within .g-nav-menu, .g-nav-item.is-open .g-nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.g-nav-menu a { display: block; padding: 12px 14px; border-radius: 10px; color: #fff; text-decoration: none; font-size: 15px; white-space: nowrap; }
.g-nav-menu a small { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.g-nav-menu a:hover, .g-nav-menu a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); }

/* mobile menu */
.g-burger { display: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; position: relative; }
.g-burger span, .g-burger::before, .g-burger::after { content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: #000; transition: transform .2s ease, opacity .2s ease; }
.g-burger::before { top: 13px; } .g-burger span { top: 17.5px; } .g-burger::after { top: 22px; }
body.g-menu-open .g-burger::before { transform: translateY(4.5px) rotate(45deg); }
body.g-menu-open .g-burger::after { transform: translateY(-4.5px) rotate(-45deg); }
body.g-menu-open .g-burger span { opacity: 0; }
.g-mnav { display: none; }

@media (max-width: 900px) {
  .g-header { padding: 0 24px; height: 75px; }
  .g-header-logo img { width: 120px; }
  .g-header-right { display: none; }
  .g-burger { display: block; }
  .g-mnav {
    position: fixed; inset: 75px 0 auto 0; z-index: 999; display: grid; padding: 8px 24px 24px; background: #fff;
    font-family: var(--g-font); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }
  body.g-menu-open .g-mnav { opacity: 1; visibility: visible; transform: none; }
}
/* mobile list (shared with the main page's white menu panel) */
.g-mnav a, .g-mnav-group > span { display: block; padding: 14px 0; color: #0b0b10; text-decoration: none; font-size: 16px; font-weight: 500; border-bottom: 1px solid rgba(11, 11, 16, 0.08); }
.g-mnav-group > span { color: #7a7a88; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; padding-bottom: 6px; border-bottom: 0; }
.g-mnav-group a { padding: 10px 0 10px 14px; font-size: 15px; border-bottom: 0; }
.g-mnav-group { border-bottom: 1px solid rgba(11, 11, 16, 0.08); padding-bottom: 8px; }
.g-mnav a[aria-current="page"] { color: var(--g-accent); }
.g-mnav .g-mnav-cta { margin-top: 16px; text-align: center; border: 1px solid rgba(11, 11, 16, 0.2); border-radius: 12px; }

/* ---------- page shell ---------- */
body.g-page { margin: 0; background: #000; color: #fff; font-family: var(--g-font); word-break: keep-all; overflow-wrap: anywhere; -webkit-text-size-adjust: 100%; }
body.g-page a:focus-visible, body.g-page button:focus-visible { outline: 2px solid var(--g-glow); outline-offset: 3px; border-radius: 4px; }
.g-skip { position: absolute; left: -9999px; }
.g-skip:focus { left: 16px; top: 16px; z-index: 2000; background: #fff; color: #000; padding: 8px 12px; }

/* ---------- hero ---------- */
.g-hero {
  position: relative; min-height: 100svh; box-sizing: border-box; display: flex; align-items: center;
  padding: 140px 40px 120px; background: #000 var(--hero-bg) no-repeat; background-size: cover; overflow: hidden;
}
.g-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(rgba(0, 0, 0, 0), #000); pointer-events: none; }
.g-hero--left { background-position: left center; }
.g-hero--left .g-hero-inner { margin-left: auto; margin-right: max(0px, calc((100vw - 1200px) / 2)); max-width: 640px; }
.g-hero--center { background-position: center; }
.g-hero--center::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.65)); }
.g-hero--center .g-hero-inner { margin: 0 auto; max-width: 820px; text-align: center; }
.g-hero-inner { position: relative; z-index: 1; width: 100%; }
.g-hero .g-label { color: rgba(255, 255, 255, 0.7); }
.g-hero--center .g-label { justify-content: center; }
.g-hero--center .g-label::after { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.g-hero h1 { margin: 22px 0 0; font-size: clamp(36px, 5.2vw, 72px); font-weight: 500; line-height: 1.15; letter-spacing: -0.04em; }
.g-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--g-glow), var(--g-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-hero-lead { margin: 26px 0 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.8; color: rgba(255, 255, 255, 0.78); }
.g-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.g-hero--center .g-hero-actions { justify-content: center; }
.g-btn-solid {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; box-sizing: border-box; border-radius: 12px;
  background: #fff; color: #0a0810; text-decoration: none; font-size: 16px; font-weight: 600; white-space: nowrap;
}
.g-btn-solid img { width: 14px; height: 14px; }
.g-hero .g-btn-ghost { height: 52px; }

/* ---------- white content area (same look as the main page's white zone) ---------- */
.g-body { background: #fff; color: var(--g-ink); padding-bottom: 140px; }
.g-body .g-sec { padding-top: 120px; }
.g-body .g-sec > .g-label { justify-content: center; }
.g-body .g-sec > .g-label::after { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.g-body .g-sec > .g-h2 { text-align: center; }
.g-body .g-sec > .g-lead { text-align: center; margin-left: auto; margin-right: auto; }

.g-qgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 40px auto 0; max-width: 900px; padding: 0; list-style: none; }
.g-qgrid li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 16px; background: var(--g-card); font-size: 17px; font-weight: 500; }
.g-qgrid li::before { content: "?"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--g-glow), var(--g-accent)); color: #fff; font-size: 13px; font-weight: 800; }

.g-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; margin-top: 48px; }
.g-split .g-viz-wrap { border-radius: 24px; background: var(--g-dark); overflow: hidden; min-height: 360px; display: grid; }
.g-split .g-viz-wrap .g-viz-svc { min-height: 360px; }
.g-lenses { display: grid; gap: 14px; align-content: center; }
.g-lens { padding: 24px 26px; border-radius: 18px; background: var(--g-card); }
.g-lens .g-step-en { margin-top: 0; }
.g-lens strong { display: block; margin-top: 6px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.g-lens p { margin: 8px 0 0; font-size: 15px; line-height: 1.7; color: var(--g-ink-2); }

.g-principles-sm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.g-principles-sm article { padding: 26px 22px 28px; border-radius: 18px; background: var(--g-card); }
.g-principles-sm h3 { margin: 12px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.g-principles-sm p { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: var(--g-ink-2); }

.g-others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
.g-other { display: block; padding: 30px 30px 32px; border-radius: 20px; background: var(--g-dark); color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.g-other::after { content: ""; position: absolute; right: -40px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 92, 255, 0.45), transparent); }
.g-other .g-svc-name { color: var(--g-glow); }
.g-other strong { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.4; }
.g-other span.g-go { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; }

/* ---------- dark CTA band ---------- */
.g-band { position: relative; padding: 120px 24px; text-align: center; background: #000; overflow: hidden; }
.g-band::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(139, 92, 255, 0.28), transparent); }
.g-band > * { position: relative; }
.g-band h2 { margin: 18px 0 0; font-size: clamp(28px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.3; }
.g-band .g-label { justify-content: center; color: rgba(255, 255, 255, 0.6); }
.g-band .g-label::after { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.g-band p { margin: 18px auto 0; max-width: 620px; color: rgba(255, 255, 255, 0.72); line-height: 1.8; }
.g-band .g-hero-actions { justify-content: center; }

/* ---------- location ---------- */
.g-loc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-top: 48px; }
.g-loc-map { position: relative; min-height: 380px; border-radius: 24px; background: var(--g-dark); overflow: hidden; display: grid; place-items: center; color: #fff; }
.g-loc-map .g-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); }
.g-loc-map .g-pin { margin-top: -60px; }
.g-loc-map-actions { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 20px; }
.g-loc-map-actions a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 12px; background: #fff; color: #0a0810; text-decoration: none; font-size: 15px; font-weight: 600; }
.g-loc-map-actions a.g-alt { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.g-loc-info { border-radius: 24px; background: var(--g-card); padding: 12px 30px; }
.g-loc-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--g-line); align-items: start; }
.g-loc-row:last-child { border-bottom: 0; }
.g-loc-row dt { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--g-accent); padding-top: 3px; }
.g-loc-row dd { margin: 0; font-size: 17px; line-height: 1.6; color: var(--g-ink); }
.g-loc-row dd a { color: var(--g-ink); }
.g-copy { margin-top: 10px; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--g-line); background: #fff; font: 600 13px var(--g-font); cursor: pointer; color: var(--g-ink); }
.g-copy.is-done { color: var(--g-accent); border-color: var(--g-accent); }
.g-notice { margin: 24px auto 0; max-width: 900px; padding: 22px 26px; border-radius: 16px; border: 1px dashed rgba(91, 61, 245, 0.35); color: var(--g-ink-2); font-size: 15px; line-height: 1.7; text-align: center; }

/* ---------- shared footer ---------- */
.g-footer { background: #000; color: rgba(255, 255, 255, 0.6); font-family: var(--g-font); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.g-footer-inner { max-width: 1200px; margin: 0 auto; padding: 48px 24px 40px; display: grid; gap: 22px; }
.g-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.g-footer-top img { width: 130px; height: auto; display: block; }
.g-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.g-footer-links a { color: #fff; text-decoration: none; font-size: 14px; }
.g-footer-links a.g-strong { font-weight: 700; }
.g-footer-info p { margin: 2px 0; font-size: 13px; line-height: 1.7; }
.g-footer-brand-line { font-size: 13px; }
.g-footer-brand-line b { color: #fff; letter-spacing: 0.08em; margin-right: 6px; }

/* legal / contact pages keep pages.css body styles but take the shared header/footer */
body.g-legal main { padding-top: 120px; }

/* ---------- responsive ---------- */
@media (max-width: 992px) {
  .g-split, .g-loc { grid-template-columns: 1fr; }
  .g-principles-sm { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .g-hero { padding: 120px 20px 96px; min-height: 92svh; align-items: flex-end; }
  .g-hero--left { background-position: 30% center; }
  .g-hero--left::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.75) 60%); }
  .g-hero--left .g-hero-inner { margin: 0; }
  .g-hero-actions { flex-direction: column; align-items: stretch; }
  .g-hero-actions a { justify-content: center; }
  .g-body .g-sec { padding-top: 72px; }
  .g-body { padding-bottom: 80px; }
  .g-qgrid, .g-others, .g-principles-sm { grid-template-columns: 1fr; }
  .g-qgrid li { font-size: 16px; padding: 16px 18px; }
  .g-split .g-viz-wrap, .g-split .g-viz-wrap .g-viz-svc { min-height: 280px; }
  .g-band { padding: 80px 20px; }
  .g-loc-map { min-height: 320px; }
  .g-loc-info { padding: 6px 20px; }
  .g-loc-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .g-footer-top { flex-direction: column; align-items: flex-start; }
}
.g-nav { display: flex; align-items: center; gap: 40px; }
.g-hero--left .g-hero-inner { max-width: 720px; }
.g-hero h1 { font-size: clamp(34px, 4.4vw, 64px); }
.g-hero--center h1, .g-hero--center .g-hero-lead, .g-hero--center .g-label { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.6); }
.g-hero--center .g-hero-lead { color: #fff; font-weight: 500; }

/* "준비중" badge next to each service in the header menus */
.g-soon { display: inline-flex; align-items: center; height: 20px; margin-left: 8px; padding: 0 8px; border-radius: 999px; vertical-align: 2px;
  font: 700 11px/1 var(--g-font); letter-spacing: 0.02em; color: #0a0810; background: linear-gradient(135deg, var(--g-glow), var(--g-accent-2)); }
.g-soon::before { content: "준비중"; }
html[data-lang="en"] .g-soon::before { content: "Coming soon"; }
.g-mnav .g-soon { color: #fff; background: var(--g-accent); }

/* ===== 찾아오는 길 hero: living background (the main page's sphere frame slowly turns and breathes,
   pink ripples leave its surface) ===== */
.g-hero--live { background: #000; }
.g-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.g-hb-img { position: absolute; inset: -6%; background: url('/assets/sub-sphere-center.webp') 51.5% 60% / cover no-repeat;
  transform-origin: 51.5% 60%; animation: g-hb-turn 40s linear infinite, g-hb-breathe 9s ease-in-out infinite; }
@keyframes g-hb-turn { to { rotate: 360deg; } }
@keyframes g-hb-breathe { 0%, 100% { scale: 1; filter: brightness(.95); } 50% { scale: 1.06; filter: brightness(1.15); } }
.g-hb-ring { position: absolute; left: 51.5%; top: 59%; width: 62vh; height: 62vh; translate: -50% -50%; border-radius: 50%;
  border: 2px solid rgba(247, 176, 255, 0.6); box-shadow: 0 0 24px rgba(247, 176, 255, 0.35); opacity: 0; animation: g-hb-ring 6s ease-out infinite; }
.g-hb-ring.r2 { animation-delay: 2s; }
.g-hb-ring.r3 { animation-delay: 4s; }
@keyframes g-hb-ring { 0% { opacity: .8; scale: .95; } 100% { opacity: 0; scale: 1.7; } }
.g-hero--live::before { z-index: 0; }
.g-hero--live .g-hero-inner { z-index: 2; }
.g-hero--live::after { z-index: 1; }
@media (max-width: 640px) { .g-hb-img { background-position: 55% 60%; transform-origin: 55% 60%; } .g-hb-ring { left: 55.5%; width: 56vh; height: 56vh; } }
@media (prefers-reduced-motion: reduce) { .g-hb-img, .g-hb-ring { animation: none !important; } }
/* v2: gentle sway instead of a full turn (no exposed corners), darker centre for legibility */
.g-hb-img { inset: -14%; animation: g-hb-sway 14s ease-in-out infinite, g-hb-breathe 9s ease-in-out infinite; }
@keyframes g-hb-sway { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
@keyframes g-hb-breathe { 0%, 100% { scale: 1; filter: brightness(.8); } 50% { scale: 1.04; filter: brightness(.95); } }
.g-hero--live::before { z-index: 1; background: radial-gradient(55% 55% at 50% 50%, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.72)); }
@media (max-width: 640px) { .g-hb-img { inset: -30%; } }

/* ---------- 회사소개 (/about) ---------- */
html:has(.g-about) { scroll-padding-top: 96px; }
.g-about-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 22px 16px; background: #fff; border-bottom: 1px solid var(--g-line); }
.g-about-tabs a { padding: 10px 20px; border-radius: 999px; background: var(--g-card); color: var(--g-ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.g-about-tabs a:hover, .g-about-tabs a:focus-visible { background: var(--g-accent); color: #fff; }
.g-about-intro { max-width: 880px; margin: 40px auto 0; }
.g-about-intro p { margin: 0 0 16px; font-size: 18px; line-height: 1.8; color: var(--g-ink-2); word-break: keep-all; }
.g-about-intro strong { color: var(--g-ink); font-weight: 700; }
.g-about-intro em { font-style: normal; font-weight: 600; color: var(--g-accent); }
.g-about-facts { max-width: 880px; margin: 32px auto 0; box-sizing: border-box; }
.g-about-facts .g-loc-row { grid-template-columns: 132px 1fr; }
.g-about-more { margin-left: 8px; font-size: 14px; font-weight: 600; color: var(--g-accent) !important; text-decoration: none; white-space: nowrap; }
.g-ceo { max-width: 880px; margin: 40px auto 0; }
.g-ceo .g-notice { margin-top: 0; text-align: center; }
.g-ceo-sign { margin: 22px 0 0; text-align: right; font-size: 16px; color: var(--g-ink-2); }
.g-ceo-sign strong { margin-left: 6px; font-size: 20px; color: var(--g-ink); }
.g-about-vision { max-width: 880px; margin: 32px auto 0; }
.g-about .g-statement { margin: 48px auto 0; max-width: 880px; }
.g-about .g-label.g-about-sub { justify-content: center; margin-top: 88px; }
.g-about .g-label.g-about-sub::after { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.g-about-promise { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin-left: auto; margin-right: auto; }
#history .g-notice { max-width: 880px; text-align: center; }
@media (max-width: 992px) {
  .g-about-promise { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .g-about-tabs { gap: 6px; padding: 16px 12px; }
  .g-about-tabs a { padding: 8px 14px; font-size: 14px; }
  .g-about-intro p { font-size: 16px; }
  .g-about-facts .g-loc-row { grid-template-columns: 1fr; gap: 6px; }
  .g-about .g-label.g-about-sub { margin-top: 64px; }
}
.g-body .g-sec > .g-more { margin: 28px 0 0; text-align: center; }
.g-more a { font-size: 15px; font-weight: 600; color: var(--g-accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.g-about-facts dd a { color: var(--g-ink); text-decoration: underline; text-underline-offset: 3px; }
.g-404-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.g-404-links a { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); color: inherit; font-size: 15px; text-decoration: none; }
.g-404-links a:hover, .g-404-links a:focus-visible { border-color: currentColor; }
.g-hero-status { margin: 14px 0 0; max-width: 640px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }
.g-hero-status a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.g-hero--center .g-hero-status { margin-left: auto; margin-right: auto; }
.g-ceo > p:not(.g-ceo-sign):not(.g-notice) { margin: 0 0 18px; font-size: 17px; line-height: 1.85; color: var(--g-ink-2); word-break: keep-all; }
.g-ceo > p:first-child { font-weight: 600; color: var(--g-ink); }
@media (max-width: 767px) { .g-ceo > p:not(.g-ceo-sign):not(.g-notice) { font-size: 16px; } }
/* 회사소개 sub-pages */
.g-about-tabs a[aria-current="page"] { background: var(--g-ink); color: #fff; }
.g-about .g-sec > .g-h2:first-child { margin-top: 0; }
.g-about-next { margin: 96px auto 0; max-width: 880px; text-align: right; }
.g-about-next a { font-size: 17px; font-weight: 600; color: var(--g-accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.g-about-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 1000px; margin: 44px auto 0; }
.g-about-principles article { padding: 30px 28px 32px; border-radius: 20px; background: var(--g-card); }
.g-about-principles h3 { margin: 12px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.g-about-principles p { margin: 10px 0 0; font-size: 15px; line-height: 1.75; color: var(--g-ink-2); word-break: keep-all; }
.g-about-principles .g-about-principle-sub { font-size: 16px; font-weight: 600; color: var(--g-ink); }
.g-about-steps { list-style: none; padding: 0; max-width: 880px; margin: 44px auto 0; display: grid; gap: 10px; }
.g-about-steps li { display: grid; grid-template-columns: 44px 112px 1fr; gap: 6px 16px; align-items: baseline; padding: 20px 24px; border-radius: 16px; background: var(--g-card); }
.g-about-steps .g-step-en { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--g-accent); }
.g-about-steps strong { font-size: 17px; }
.g-about-steps p { grid-column: 3; margin: 0; font-size: 15px; line-height: 1.7; color: var(--g-ink-2); }
.g-about-steps li strong { grid-column: 3; grid-row: 1; }
.g-about-steps li .g-step-en { grid-column: 2; grid-row: 1 / span 2; }
.g-about-steps li .g-num { grid-row: 1 / span 2; }
@media (max-width: 767px) {
  .g-about-principles { grid-template-columns: 1fr; }
  .g-about-steps li { grid-template-columns: 36px 1fr; }
  .g-about-steps li .g-step-en { grid-column: 2; grid-row: 1; }
  .g-about-steps li strong { grid-column: 2; grid-row: 2; }
  .g-about-steps p { grid-column: 2; }
  .g-about-next { margin-top: 64px; text-align: center; }
}
