/* ==========================================================================
   TS 전략그룹 — Design tokens
   ========================================================================== */
:root {
  /* Color */
  --ink:        #0F1418;
  --ink-2:      #18212A;
  --ink-3:      #0A0E11;
  --paper:      #F7F5F0;
  --paper-2:    #EFEBE3;
  --white:      #FFFFFF;
  --key-color:  #052041;

  --line:       #DDD7CC;
  --line-2:     #E2DCD1;
  --line-3:     #C9C2B4;
  --line-4:     #DFD9CE;
  --line-dark:  rgba(247, 245, 240, 0.14);

  --text:       #0F1418;
  --text-2:     #3A444D;
  --text-3:     #4A545D;
  --muted:      #56606A;

  --on-dark:      #F7F5F0;
  --on-dark-2:    rgba(247, 245, 240, 0.78);
  --on-dark-3:    rgba(247, 245, 240, 0.62);

  --accent:       #B2643A;
  --accent-deep:  #8F4C27;
  --accent-light: #E2A87E;

  /* Type */
  --font-display: 'Pretendard', system-ui, -apple-system, sans-serif;
  --font-body:    'Pretendard', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw:      1280px;
  --maxw-wide: 1440px;
  --gutter:    clamp(24px, 5vw, 72px);
  --section-y: clamp(84px, 9vw, 126px);
  --header-h:  78px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, figure, blockquote { margin: 0; }
img, svg { display: block; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .18s ease;
}
a:hover { opacity: .62; }

button {
  font-family: inherit;
  cursor: pointer;
  transition: opacity .18s ease, border-color .18s ease, background-color .18s ease;
}
button:hover { opacity: .85; }

input, textarea, select { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.wrap      { max-width: var(--maxw); margin: 0 auto; }
.wrap--wide{ max-width: var(--maxw-wide); margin: 0 auto; }

.section          { padding: var(--section-y) var(--gutter); }
.section--paper   { background: var(--white); }
.section--paper2  { background: var(--white); border-top: 1px solid #E5E5E5; }
.section--dark    { background: var(--ink); color: var(--on-dark); }

#ceo {
  background: #0D0E10;
  color: var(--on-dark);
}

#ceo .eyebrow { color: var(--accent-light); }
#ceo .display { color: var(--white); }
#ceo .lede { color: var(--on-dark-2); }
#ceo .ceo__quote { color: var(--white); }
#ceo .ceo__body { color: var(--on-dark-2); }
#ceo .factbar__label { color: var(--on-dark-3); }
#ceo .factbar__value { color: var(--white); }
#ceo .updating__overlay { color: var(--white); }
#ceo .updating__text { color: var(--on-dark-2); }
#ceo .timeline__row { border-color: var(--line-dark); }
#ceo .timeline__year { color: var(--accent-light); }
#ceo .timeline__text { color: var(--on-dark-2); }
#ceo .ceo__body strong { color: var(--white); }
#ceo .factbar, #ceo .factbar__item + .factbar__item { border-color: var(--line-dark); }

#urban { background: var(--white); color: var(--text); }
#urban .eyebrow-num__no { color: var(--accent); }
#urban .eyebrow-num__label { color: var(--text-2); }
#urban .display { color: var(--ink); }
#urban .lede { color: var(--text-2); }
#urban .card--dark { background: var(--paper-2); color: var(--text); }
#urban .card--dark .card__no   { color: var(--accent-deep); }
#urban .card--dark .card__text { color: var(--text-3); }
#urban .card--dark .card__meta { color: var(--muted); }
#urban .card--dark:hover,
#urban .card--dark:focus-within { border-color: #B1883E; }
@media (hover: hover) and (pointer: fine) {
  #urban .card--dark:hover,
  #urban .card--dark:focus-within {
    box-shadow:
      0 22px 44px rgba(15, 20, 24, 0.14),
      0 0 0 1px rgba(177, 136, 62, 0.45),
      0 0 24px rgba(177, 136, 62, 0.22);
  }
  #urban .card--dark:hover .card__title,
  #urban .card--dark:focus-within .card__title { color: var(--accent-deep); }
  #urban .card--dark:hover .card__text,
  #urban .card--dark:focus-within .card__text { color: var(--text-2); }
}

#contact { background: #0D0E10; color: var(--on-dark); }
#contact .eyebrow,
#contact .eyebrow--on-dark { color: var(--accent-light); }
#contact .display { color: var(--white); }
#contact .lede { color: var(--on-dark-2); }
#contact .deflist__key { color: var(--on-dark-3); }
#contact .deflist__val { color: var(--white); }
.section--tight   { padding-block: clamp(72px, 8vw, 110px); }

/* 웰니스 – 교육 – 도시기획: 세 섹션 사이 여백은 절반, 구분선 없음 */
#wellness  { padding-bottom: calc(var(--section-y) / 2); border-top: 1px solid #ECE9E3; }   /* WORK 인트로와의 연한 구분선 */
#education { padding-block: calc(var(--section-y) / 2); border-top: none; }
#urban     { padding-top: calc(var(--section-y) / 2); }

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }

.stack       { display: flex; flex-direction: column; }
.items-end   { align-items: end; }
.items-start { align-items: start; }
.items-center{ align-items: center; }

/* ==========================================================================
   Shared type elements
   ========================================================================== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--on-dark { color: var(--accent-light); }

.eyebrow-num {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.eyebrow-num__no {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
}
.eyebrow-num__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--muted);
}
.section--dark .eyebrow-num__no    { color: var(--accent-light); }
.section--dark .eyebrow-num__label { color: rgba(247, 245, 240, 0.7); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.34;
}
.display--xl { font-size: clamp(42px, 4.6vw, 68px); line-height: 1.24; letter-spacing: -0.025em; }
.display--lg { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.32; letter-spacing: -0.024em; }
.display--md { font-size: clamp(32px, 3.4vw, 46px); }
.display--sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.36; }
.display--bold { font-weight: 700; }
.display__sub  { font-weight: 500; }   /* 굵은 제목 안의 보조 줄: 미디엄 */

.lede {
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
  color: var(--text-2);
  max-width: 560px;
}
.lede--hero { font-size: 17px; line-height: 1.95; color: var(--on-dark-2); }
.section--dark .lede { color: var(--on-dark-2); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn--light   { background: var(--paper); color: var(--ink); }
.btn--ghost   { background: transparent; color: var(--on-dark); border-color: rgba(247, 245, 240, 0.4); font-weight: 500; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); font-size: 14.5px; }
.btn--solid   { background: var(--ink); color: var(--paper); border: none; height: 60px; font-size: 16px; }
.btn--sm      { height: 52px; padding: 0 28px; font-size: 14.5px; }

.link-arrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid #E5E5E5;
}

.nav {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--ink);
}
.brand__logo {
  display: block;
  height: 40px;
  width: auto;
}

.nav__menu,
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.nav__foot { display: none; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--key-color);
}
.nav__cta {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  background: var(--key-color);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
}

/* 하위 메뉴: 데스크톱은 호버/포커스 드롭다운 */
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
}
.nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 150px;
  padding: 10px 0;
  background: var(--white);
  border: 1px solid #E5E5E5;
  border-top: 2px solid var(--accent);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--text-2);
  transition: color .15s ease;
}
.nav__sub a:hover { color: var(--accent); }
.nav__badge {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border: 1px solid rgba(5, 32, 65, 0.24);
  color: var(--muted);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid #E5E5E5;
  color: var(--key-color);
}
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: calc(100vh - var(--header-h));
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(48px, 6vw, 96px) var(--gutter) 0;
}
@supports (min-height: 100svh) {
  .hero { min-height: calc(100svh - var(--header-h)); }
}

/* 배경 사진: 아래 오버레이가 문구 대비를 확보 */
.hero__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-zoom 18s ease-out both;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 17, 0.86) 0%, rgba(10, 14, 17, 0.62) 42%, rgba(10, 14, 17, 0.28) 72%, rgba(10, 14, 17, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 14, 17, 0.35) 0%, rgba(10, 14, 17, 0) 30%, rgba(10, 14, 17, 0.1) 62%, rgba(10, 14, 17, 0.88) 100%);
}
@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.hero__inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 5vw, 72px);
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 680px;
}
.hero__copy .display { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); word-break: keep-all; }
.hero .eyebrow {
  color: #B1883E;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.hero .eyebrow::before { display: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* 사진의 세 구간과 같은 폭으로 3등분 */
.hero__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(247, 245, 240, 0.22);
}
.hero__pillar {
  display: block;
  padding: 22px 28px 30px;
  border-right: 1px solid rgba(247, 245, 240, 0.16);
  color: var(--on-dark);
  transition: background-color 0.25s ease;
}
.hero__pillar:first-child { padding-left: 0; }
.hero__pillar:last-child  { border-right: none; }
.hero__pillar:hover { background-color: rgba(247, 245, 240, 0.06); }
.hero__pillar-no {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent-light);
}
.hero__pillar-name { margin-top: 8px; font-size: 17px; font-weight: 600; }
.hero__pillar-desc { margin-top: 4px; font-size: 13px; color: var(--on-dark-2); }

/* ==========================================================================
   Photo placeholders
   ========================================================================== */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}
.photo--16x9 { aspect-ratio: 16 / 9; }
.photo--4x3  { aspect-ratio: 4 / 3; }
.photo--4x5  { aspect-ratio: 4 / 5; }
.photo--bordered { border: 1px solid rgba(247, 245, 240, 0.12); }
.photo > svg,
.photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.photo__img { object-fit: cover; object-position: center; display: block; }
.photo__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  border: 1px solid rgba(247, 245, 240, 0.4);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(247, 245, 240, 0.88);
}
.photo__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  background: rgba(15, 20, 24, 0.82);
  color: var(--on-dark);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ==========================================================================
   CEO
   ========================================================================== */
.ceo__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.ceo__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 2.05;
  color: var(--text-2);
}
.ceo__body strong { font-weight: 600; color: var(--ink); }

.factbar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.factbar__item + .factbar__item {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.factbar__label { font-size: 12px; letter-spacing: 0.18em; color: var(--muted); }
.factbar__value {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}
.factbar__value--plain {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

/* CEO 블록 — 준비 중 상태 (블러 + UPDATING 오버레이) */
.ceo-block { display: flex; flex-direction: column; gap: 22px; scroll-margin-top: calc(var(--header-h) + 24px); }
/* 소개 + 연혁을 한 블록에 */
.ceo-merged { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }
.ceo-history {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line-dark);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.updating {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.updating__content {
  padding: clamp(24px, 3vw, 40px);
  filter: blur(8px);
  opacity: 0.6;
  user-select: none;
  pointer-events: none;
}
.updating__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: rgba(247, 245, 240, 0.35);
}
.updating__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
}
.updating__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: updating-pulse 1.6s ease-in-out infinite;
}
.updating__text { font-size: 15px; font-weight: 500; color: var(--text-2); }
@keyframes updating-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.7); }
}

.timeline { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.timeline__row {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.timeline__row:last-child { border-bottom: none; }
.timeline__year {
  flex-shrink: 0;
  width: 72px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent-deep);
}
.timeline__text { font-size: 16px; line-height: 1.7; color: var(--text-2); }

/* ==========================================================================
   Work — tag row & cards
   ========================================================================== */
.tagrow { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 9px 16px;
  border: 1px solid var(--line-3);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.pillar { display: flex; flex-direction: column; gap: clamp(40px, 4.5vw, 64px); }
.pillar__head { align-items: end; }
.pillar__copy { display: flex; flex-direction: column; gap: 22px; }
.pillar__copy .lede { max-width: 520px; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
/* 카드가 2개인 섹션(도시기획): 두 칸으로 넓게 */
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--2 .card { padding: 34px 32px 30px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 26px 28px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  transform-origin: 50% 50%;
  transition: border-color .28s ease, transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s ease;
}
.card:hover,
.card:focus-within {
  z-index: 2;
  border-color: #B1883E;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(177, 136, 62, 0.25);
}
/* 마우스가 있는 기기에서만 박스와 글자를 함께 키운다 (터치 기기는 들썩이지 않게) */
@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .card:focus-within {
    transform: translateY(-6px) scale(1.055);
    box-shadow:
      0 22px 44px rgba(15, 20, 24, 0.14),
      0 0 0 1px rgba(177, 136, 62, 0.45),
      0 0 24px rgba(177, 136, 62, 0.22);
  }
  .card:hover .card__title,
  .card:focus-within .card__title {
    transform: scale(1.04);
    color: var(--accent-deep);
  }
  .card:hover .card__text,
  .card:focus-within .card__text {
    transform: scale(1.02);
    color: var(--text-2);
  }
  .card:hover .card__no,
  .card:focus-within .card__no { letter-spacing: 0.22em; color: var(--accent); }
  .card--dark:hover .card__title,
  .card--dark:focus-within .card__title { color: var(--accent-light); }
  .card--dark:hover .card__text,
  .card--dark:focus-within .card__text { color: rgba(247, 245, 240, 0.9); }
  .card--dark:hover,
  .card--dark:focus-within {
    box-shadow:
      0 22px 44px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(226, 168, 126, 0.5),
      0 0 24px rgba(178, 100, 58, 0.3);
  }
}
.card__no {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  transition: letter-spacing .32s ease, color .28s ease;
}
.card__title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  transform-origin: 0 50%;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), color .28s ease;
}
.card__text {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-3);
  transform-origin: 0 0;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), color .28s ease;
}
.card__meta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.card--dark {
  background: var(--ink-2);
  border-color: var(--line-dark);
}
.card--dark:hover { border-color: rgba(247, 245, 240, 0.4); }
.card--dark .card__no    { color: var(--accent-light); }
.card--dark .card__text  { color: rgba(247, 245, 240, 0.72); }
.card--dark .card__meta  { color: rgba(247, 245, 240, 0.58); }

/* ==========================================================================
   Insight
   ========================================================================== */
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}
.section-head--ruled {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-head__copy { display: flex; flex-direction: column; gap: 18px; }
.section-head__note {
  max-width: 460px;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 2;
  color: var(--text-2);
}

.chip {
  padding: 5px 11px;
  background: var(--ink);
  color: var(--paper);
  letter-spacing: 0.08em;
}

/* 언론 · 칼럼 — insight-data.js 를 최신순으로 렌더 */
.insight { display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 24px); }
.insight__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}
.insight__title { font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.insight__en { font-size: 12px; font-weight: 600; letter-spacing: 0.26em; color: var(--muted); }
.insight__list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.insight__link > *,
.insight__body > * { margin: 0; }
.insight__link.has-thumb { flex-direction: row; align-items: flex-start; gap: 22px; }
.insight__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.insight__thumb {
  flex-shrink: 0;
  width: 148px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.insight__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
a.insight__link:hover .insight__thumb img { transform: scale(1.04); }
.insight__item { border-bottom: 1px solid var(--line); }
.insight__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 0;
}
a.insight__link:hover .insight__item-title { color: var(--accent-deep); }
.insight__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.insight__item-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  transition: color .15s ease;
}
.insight__item-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-3);
  /* 요약은 최대 3줄, 넘치면 … */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.insight__empty { padding: 26px 0; font-size: 14.5px; color: var(--muted); }
.insight__more { margin-top: 26px; align-self: flex-start; }

/* ==========================================================================
   Activity gallery
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { position: relative; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contact__inner { position: relative; align-items: start; }
.contact__copy { display: flex; flex-direction: column; gap: 28px; }
.contact__copy .lede { max-width: 420px; }

.deflist {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  border-top: 1px solid rgba(247, 245, 240, 0.16);
}
.deflist__row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(247, 245, 240, 0.16);
}
.deflist__row:last-child { border-bottom: none; }
.deflist__key {
  width: 92px;
  flex-shrink: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(247, 245, 240, 0.58);
}
.deflist__val { font-size: 15.5px; font-weight: 500; line-height: 1.7; }

.formcard {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(32px, 3.4vw, 48px);
}

.form { display: flex; flex-direction: column; gap: 26px; }
.form__group { display: flex; flex-direction: column; gap: 14px; }
.form__legend { font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; }
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 13.5px; font-weight: 600; }
.field__optional { font-weight: 400; color: var(--muted); }
.field__input,
.field__textarea {
  border: 1px solid var(--line-3);
  background: var(--white);
  font-size: 15px;
  color: var(--ink);
}
.field__input { height: 52px; padding: 0 16px; }
.field__textarea { padding: 14px 16px; line-height: 1.8; resize: vertical; }
.field__input::placeholder,
.field__textarea::placeholder { color: #9AA1A8; }

.pillset { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; display: inline-flex; }
.pill input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.pill span {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line-3);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pill input:checked ~ span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.pill input:focus-visible ~ span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--ink);
}

/* 필수 항목 안내 */
.field__error {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #C0392B;
}
.field.is-invalid .field__input,
.field.is-invalid .field__textarea {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.consent { flex-wrap: wrap; }
.consent.is-invalid input { outline: 2px solid #C0392B; outline-offset: 2px; }
.consent .field__error { flex-basis: 100%; margin-left: 32px; }
.form__group .field__error { margin-top: -4px; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 40px 0;
}
.form-success__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.45;
}
.form-success__text {
  max-width: 440px;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--text-2);
}
.formcard.is-sent .form         { display: none; }
.formcard.is-sent .form-success { display: flex; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0D0E10;
  color: rgba(247, 245, 240, 0.72);
  padding: clamp(40px, 6vw, 60px) var(--gutter);
  border-top: 1px solid var(--line-dark);
}
.footer__inner { display: flex; flex-direction: column; gap: 32px; }

.footer__top {
  display: flex;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__link-item {
  font-size: 14px;
  color: rgba(247, 245, 240, 0.78);
  transition: color .2s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.footer__link-item:hover { color: var(--accent-light); }

.footer__content {
  display: flex;
  gap: clamp(40px, 8vw, 80px);
  align-items: flex-start;
}
.footer__brand-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.footer__logo {
  width: 200px;
  height: auto;
}
.footer__logo-img {
  width: 100%;
  height: auto;
  display: block;
}
.footer__brand-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--on-dark);
  margin: 0;
}

.footer__info-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__info-row {
  display: flex;
  gap: 16px;
  font-size: 13.5px;
  line-height: 1.6;
}
.footer__info-label {
  min-width: 140px;
  color: rgba(247, 245, 240, 0.6);
}
.footer__info-value {
  color: rgba(247, 245, 240, 0.78);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__address-item {
  display: block;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
  color: rgba(247, 245, 240, 0.5);
}

/* ==========================================================================
   Scroll reveal (progressive enhancement)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover,
  .card:focus-within { transform: none; }
  .card:hover .card__title,
  .card:hover .card__text { transform: none; }
  .allist__panel { transition: none; }
  .nav__menu, .nav__item, .nav__foot { transition: none; }
  .hero__img { animation: none; }
  .updating__dot { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__content { flex-direction: column; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .nav__toggle { display: inline-flex; }

  /* 메뉴가 열리면 본문 스크롤 잠금 */
  body.nav-open { overflow: hidden; }

  /* 전체 화면 패널: 헤더 아래에서 어두운 배경으로 부드럽게 내려온다 */
  .nav__menu {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 59;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    padding: 20px var(--gutter) max(28px, env(safe-area-inset-bottom));
    background: var(--ink);
    color: var(--on-dark);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .32s ease, transform .4s cubic-bezier(.2, .8, .2, 1), visibility .4s;
  }
  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list { display: flex; flex-direction: column; align-items: stretch; gap: 0; counter-reset: navi; }

  /* 항목: 번호 + 큰 제목, 아래로 하위 메뉴 */
  .nav__item {
    display: block;
    height: auto;
    counter-increment: navi;
    border-bottom: 1px solid var(--line-dark);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
  }
  .nav__menu.is-open .nav__item { opacity: 1; transform: none; }
  .nav__menu.is-open .nav__item:nth-child(1) { transition-delay: .05s; }
  .nav__menu.is-open .nav__item:nth-child(2) { transition-delay: .10s; }
  .nav__menu.is-open .nav__item:nth-child(3) { transition-delay: .15s; }
  .nav__menu.is-open .nav__item:nth-child(4) { transition-delay: .20s; }
  .nav__menu.is-open .nav__item:nth-child(5) { transition-delay: .25s; }

  .nav__item .nav__link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 22px 0 12px;
    border-bottom: none;
    font-family: var(--font-display);
    font-size: clamp(26px, 7vw, 32px);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.1;
    color: var(--on-dark);
  }
  .nav__item .nav__link::before {
    content: counter(navi, decimal-leading-zero);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--accent-light);
  }
  .nav__item:last-child .nav__link { padding-bottom: 22px; }

  .nav__sub {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    min-width: 0;
    padding: 0 0 20px 31px;   /* 번호 폭만큼 들여쓰기 */
    background: none;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__sub a {
    padding: 4px 0;
    font-size: 14.5px;
    color: var(--on-dark-3);
  }
  .nav__sub a:hover,
  .nav__sub a:focus-visible { color: var(--on-dark); }
  .nav__sub:empty { display: none; }
  .nav__badge { border-color: rgba(247, 245, 240, 0.28); color: var(--on-dark-3); }

  /* 패널 하단: 의뢰 버튼 + 연락처 */
  .nav__foot {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 28px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s ease .3s, transform .5s cubic-bezier(.2, .8, .2, 1) .3s;
  }
  .nav__menu.is-open .nav__foot { opacity: 1; transform: none; }
  .nav__foot .btn { width: 100%; }
  .nav__foot-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    font-size: 13.5px;
    color: var(--on-dark-3);
  }
  .nav__foot-info a { color: inherit; }
  .nav__foot-info a:hover { color: var(--on-dark); }

  /* 토글 버튼: 열리면 어두운 배경으로 반전 */
  .nav__toggle {
    border-color: #E5E5E5;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  }
  .nav__toggle[aria-expanded="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }

  .grid12 { grid-template-columns: 1fr; gap: 40px; }
  .grid12 > * { grid-column: 1 / -1 !important; }

  .hero { padding-top: clamp(56px, 10vw, 84px); }
  .hero__inner { gap: 48px; }
  .brand__logo { height: 30px; }

  .pillar__head { gap: 36px; }

  /* 교육 섹션: 모바일에서 사진이 글 아래로 */
  .pillar__head--flip .pillar__copy { order: -1; }

  /* 대표 소개: 준비 중인 동안 모바일에서는 짧게 (블러 내용은 잘라서 보여주고 안내만 가운데) */
  #ceo .wrap.stack { gap: 28px; }
  #ceo .updating { max-height: 260px; }
  #ceo .updating__content { padding: 20px; }
}

@media (max-width: 720px) {
  :root { --section-y: clamp(64px, 12vw, 88px); }

  .form__row { grid-template-columns: 1fr; }
  .factbar__item + .factbar__item { padding-left: 0; border-left: none; }
  .factbar { gap: 22px 32px; }
  .hero__img { object-position: 30% center; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(10, 14, 17, 0.72) 0%, rgba(10, 14, 17, 0.6) 50%, rgba(10, 14, 17, 0.9) 100%);
  }
  .hero__pillars { grid-template-columns: 1fr; }
  .hero__pillar { padding: 18px 0; border-right: none; border-bottom: 1px solid rgba(247, 245, 240, 0.16); }
  .hero__pillar:last-child { border-bottom: none; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .footer__brand        { grid-column: span 2; }
  .footer__col--menu,
  .footer__col--work,
  .footer__col--contact { grid-column: span 1; }
}

@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand,
  .footer__col--menu,
  .footer__col--work,
  .footer__col--contact { grid-column: span 1; }

  .cards   { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cards--2 { grid-template-columns: 1fr; }
  .cards--2 .card { padding: 20px 16px 18px; }
  .card    { padding: 20px 16px 18px; gap: 10px; }
  .card__title { font-size: 16px; }
  .card__text  { font-size: 13px; line-height: 1.7; }
  .card__meta  { padding-top: 10px; font-size: 11px; }
  .gallery { grid-template-columns: 1fr; }
  .timeline__year { width: 56px; font-size: 18px; }
  .insight__link.has-thumb { flex-direction: row; gap: 16px; align-items: flex-start; }
  .insight__thumb { width: 35%; aspect-ratio: 4 / 3; flex-shrink: 0; }
  .btn { width: 100%; }
  .hero__actions .btn { width: 100%; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .header, .nav__toggle, .form, .hero__media, .contact__bg { display: none !important; }
  body { background: #fff; }
  .section--dark, .hero, .footer { background: #fff !important; color: #000 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Column Detail Modal
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 17, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal__container {
  position: relative;
  z-index: 1;
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  overflow-y: auto;
  padding: 36px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  outline: none;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f2f0eb;
  color: var(--text-2, #525866);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
  background: #e2ded5;
  color: #111;
}

.modal__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 32px;
}

.modal__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal__date {
  font-size: 14px;
  color: var(--text-3, #868c98);
}

.modal__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-1, #0a0e11);
  margin: 0;
  word-break: keep-all;
}

.modal__thumb {
  margin: 12px 0 16px 0;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-height: 400px;
  background: #f5f4f0;
}

.modal__thumb[hidden] {
  display: none !important;
}

.modal__thumb img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.modal__body {
  margin-top: 4px;
}

.modal__content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2, #333842);
  white-space: pre-line;
  word-break: break-word;
  margin: 0;
}

.insight__link.is-column {
  cursor: pointer;
}

@media (max-width: 600px) {
  .modal__container {
    padding: 28px 20px;
    max-height: 90vh;
    border-radius: 16px;
  }
  .modal__title {
    font-size: 19px;
  }
  .modal__content {
    font-size: 15px;
  }
}


/* ==========================================================================
   Insight — 전체 목록 페이지 (insight.html, 언론 · 칼럼)
   제목을 누르면 내용이 펼쳐지고, 원문 링크 버튼이 함께 나타난다.
   ========================================================================== */
.allpage__inner { display: flex; flex-direction: column; gap: 28px; max-width: 880px; }
.allpage__crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.allpage__crumbs a { color: inherit; text-decoration: none; }
.allpage__crumbs a:hover { color: var(--accent-deep); }
.allpage__count { margin-left: 10px; font-weight: 400; letter-spacing: 0; color: var(--muted); }

.allpage__tabs { display: flex; gap: 8px; }
.allpage__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  line-height: 1;
  border: 1px solid var(--line-3);
  background: var(--white);
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.allpage__tab .insight__en { font-size: 10.5px; line-height: 1; color: inherit; opacity: .6; }
.allpage__tab:hover { border-color: var(--ink); color: var(--ink); }
.allpage__tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.allpage__foot { padding-top: 12px; }

.insight__more-arrow { margin-left: 4px; font-size: 13px; }

.allist { margin: 0; padding: 0; list-style: none; }
.allist--page { border-top: 2px solid var(--ink); }
.allist__item { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.allist__item:last-child { border-bottom: none; }

.allist__toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "meta chev" "title chev";
  column-gap: 18px;
  row-gap: 8px;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  margin: 0;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.allist__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.allist__meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.allist__meta .chip { font-size: 11.5px; }
.allist__title {
  grid-area: title;
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.55;
  word-break: keep-all;
  transition: color .18s ease;
}
.allist__toggle:hover .allist__title,
.allist__item.is-open .allist__title { color: var(--accent-deep); }
.allist__chevron {
  grid-area: chev;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), color .18s ease;
}
.allist__item.is-open .allist__chevron { transform: rotate(180deg); color: var(--accent-deep); }

/* 펼침 애니메이션: grid row 0fr → 1fr */
.allist__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .36s cubic-bezier(.2, .8, .2, 1);
}
.allist__item.is-open .allist__panel { grid-template-rows: 1fr; }
.allist__panel-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease .05s, transform .36s cubic-bezier(.2, .8, .2, 1);
}
.allist__item.is-open .allist__panel-inner { opacity: 1; transform: none; }
.allist__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 2px 0 28px;
}
.allist__thumb {
  margin: 0;
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  background: var(--paper-2);
}
.allist__thumb img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; display: block; }
.allist__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-2);
  white-space: pre-line;
  word-break: keep-all;
}
.allist__text:empty { display: none; }
.allist__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  font-size: 14px;
  text-decoration: none;
}
.allist__link svg { width: 15px; height: 15px; }
.allist__link:hover { background: var(--ink); color: var(--paper); }
.allist__empty { padding: 26px 0; font-size: 14.5px; color: var(--muted); }

@media (max-width: 600px) {
  .allist__title { font-size: 16px; }
  .allist__text { font-size: 14.5px; }
  .allist__link { width: auto; }
  .allpage__tabs { flex-wrap: wrap; }
  .allpage__tab { height: 42px; padding: 0 16px; }
  .allpage__foot .btn { width: 100%; }
}

/* ==========================================================================
   조회수 (눈 아이콘 + 숫자) — 홈 목록 · 칼럼 팝업 · 전체 목록 페이지
   ========================================================================== */
.views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  white-space: nowrap;
}
.views svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .8; }
.modal__meta .views { font-size: 13px; }
