/* ==========================================================================
   네비드 회사소개 전용 스타일 (about.php) — 에디토리얼 v2
   nabid.css v2 토큰만 사용. 보라/파랑 그라데이션·블롭·네온 금지.
   ========================================================================== */

/* ── 히어로(2단: 카피 + 배지 패널) ──────────────────────── */
.ab-hero {
  padding: 160px 0 96px;
  border-bottom: 1px solid var(--line);
}
.ab-hero__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}
.ab-hero__copy .eyebrow { display: block; margin-bottom: 20px; }
.ab-hero__copy h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.ab-hero__lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--sub);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 36px;
}
.ab-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 회사 정보 배지 패널 */
.ab-badge {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.ab-badge__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
}
.ab-badge__val {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 5px;
  line-height: 1.45;
}
.ab-badge__token {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--forest);
  letter-spacing: 0.02em;
}
.ab-badge__sep {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

/* ── 스토리 (2단) ─────────────────────────────────────── */
.ab-story {
  max-width: 760px;
}
.ab-story__text .eyebrow { display: block; margin-bottom: 18px; }
.ab-story__text h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  margin-bottom: 22px;
}
.ab-story__text p {
  color: var(--sub);
  font-size: 16.5px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.ab-story__text p em {
  font-style: normal;
  color: var(--forest);
  font-weight: 600;
}
.ab-story__text p:last-child { margin-bottom: 0; }

/* 인용 블록 */
.ab-story__quote {
  margin: 0;
  padding: 36px 32px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  color: var(--paper);
}
.ab-story__quote p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 20px;
}
.ab-story__quote footer {
  font-size: 13.5px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── 핵심 3축 ─────────────────────────────────────────── */
.ab-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.ab-pillar {
  padding: 36px 30px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.ab-pillar:last-child { border-right: none; }
.ab-pillar:hover { background: #fff; }
.ab-pillar__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.ab-pillar__no {
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
  letter-spacing: 0.08em;
}
.ab-pillar__tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.ab-pillar h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.ab-pillar p {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.ab-pillar__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  transition: color 0.2s;
}
.ab-pillar__link:hover { color: var(--gold); }

/* ── 토큰 6종 ─────────────────────────────────────────── */
.ab-tokens {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.ab-token {
  text-align: center;
  padding: 28px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.ab-token:hover {
  border-color: var(--tc, var(--forest));
  transform: translateY(-4px);
}
.ab-token__badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--tc, var(--forest));
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.ab-token__sym {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--tc, var(--forest));
  text-transform: uppercase;
  margin-bottom: 5px;
}
.ab-token__name {
  font-size: 13px;
  color: var(--sub);
  font-weight: 500;
  word-break: keep-all;
}
.ab-tokens__cta {
  margin-top: 32px;
}

/* ── 연혁 타임라인 ─────────────────────────────────────── */
.ab-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 0 40px;
  list-style: none;
}
/* 세로 라인 — gold 단색(그라데이션 금지) */
.ab-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line-2);
}
.ab-tl {
  position: relative;
  padding: 0 0 44px 28px;
}
.ab-tl:last-child { padding-bottom: 0; }
/* 타임라인 점 */
.ab-tl::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold);
}
.ab-tl__year {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ab-tl__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.ab-tl__desc {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.7;
}

/* ── 오피스 ───────────────────────────────────────────── */
.ab-offices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.ab-office {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.3s var(--ease);
}
.ab-office:hover { border-color: var(--gold); }
.ab-office__region {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.ab-office__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.ab-office__addr {
  font-style: normal;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.8;
}
.ab-office__addr a { color: var(--forest); }
.ab-office__addr a:hover { color: var(--gold); }

/* ── 문의 폼 ──────────────────────────────────────────── */
.ab-contact {
  max-width: 680px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}
.ab-contact__note {
  font-size: 14px;
  font-weight: 600;
  color: var(--sub);
  margin: 0 0 26px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--line-2);
}
.ab-contact__note--ok {
  color: var(--forest);
  border-left-color: var(--forest);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46, 64, 52, 0.1);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.btn-block { width: 100%; margin-top: 8px; }

/* ── 공용 eyebrow (nabid.css에 없을 경우 대비) ─────────── */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.section__head.center { text-align: center; }

/* ── 반응형 ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ab-tokens { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .ab-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .ab-badge-col { display: none; }
  .ab-story { grid-template-columns: 1fr; gap: 36px; }
  .ab-pillars { grid-template-columns: 1fr; gap: 0; }
  .ab-pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .ab-pillar:last-child { border-bottom: none; }
  .ab-offices { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ab-hero { padding: 130px 0 72px; }
  .ab-tokens { grid-template-columns: repeat(2, 1fr); }
  .ab-contact { padding: 32px 22px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .ab-tokens { grid-template-columns: 1fr; }
}
