/* =========================================================
   AI메트로 (AI METRO) — Editorial webzine stylesheet
   ========================================================= */

:root {
  --ink: #0f1a2b;
  --ink-soft: #1f2b40;
  --muted: #5b6576;
  --muted-2: #8a92a0;
  --line: #e4e1d7;
  --line-strong: #cfcbbd;
  --paper: #f7f3ea;
  --paper-2: #efe9dc;
  --white: #ffffff;
  --accent: #b8874e;
  --accent-ink: #6d4d23;
  --serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  --sans: "Noto Sans KR", "Pretendard", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Inter", ui-monospace, monospace;
  --shadow-sm: 0 1px 2px rgba(15, 26, 43, .04), 0 2px 8px rgba(15, 26, 43, .05);
  --shadow-md: 0 4px 20px rgba(15, 26, 43, .08);
  --container: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: var(--accent-ink); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
em { font-style: normal; color: var(--accent-ink); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid transparent; border-radius: 2px;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #1c2a3f; color: var(--white); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); transform: translateY(-1px); }
.btn-light-outline { border-color: var(--paper); color: var(--paper); }
.btn-light-outline:hover { background: var(--paper); color: var(--ink); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.icon-btn:hover { background: rgba(15, 26, 43, .06); }
.icon-btn svg { width: 20px; height: 20px; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 234, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(15,26,43,.06); }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex; align-items: center; gap: 0;
  height: 18px;
}
.brand-mark .metro-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink);
  display: inline-block;
}
.brand-mark .metro-line {
  width: 22px; height: 2px; background: var(--ink);
  display: inline-block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; color: var(--muted); margin-top: 3px; letter-spacing: 0.02em; }

.top-nav ul {
  display: flex; flex-wrap: wrap; gap: 4px;
  justify-content: center;
}
.top-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 2px;
  position: relative;
}
.top-nav a:hover { color: var(--ink); }
.top-nav a.active { color: var(--ink); }
.top-nav a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; background: var(--accent);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }

.search-drawer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  animation: slideDown .2s ease;
}
.search-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 16px 32px;
}
.search-inner form { display: flex; gap: 12px; }
.search-inner input {
  flex: 1; padding: 14px 18px; font-size: 16px;
  border: 1px solid var(--line-strong); background: var(--white);
  border-radius: 2px; font-family: var(--sans); color: var(--ink);
  outline: none;
}
.search-inner input:focus { border-color: var(--ink); }

@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ========== Hero ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(184,135,78,.10), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(15,26,43,.08), transparent 50%),
    var(--paper);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-metro {
  width: 100%; height: 100%;
}
.hero-inner {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--accent-ink);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-title {
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal; color: var(--accent);
  position: relative;
  padding: 0 6px;
}
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px;
  height: 10px; background: rgba(184,135,78,.18);
  z-index: -1;
}
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 16px; color: var(--muted);
  max-width: 620px; margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-desc strong { color: var(--ink); font-weight: 700; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.br-md { display: none; }
@media (min-width: 700px) { .br-md { display: inline; } }

/* ========== Most Read ribbon ========== */
.most-read {
  padding: 56px 0 40px;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line);
}
.most-read-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px;
  margin-bottom: 26px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(247,243,234,.15);
  flex-wrap: wrap;
}
.most-read-head h2 {
  color: var(--paper);
  font-size: 28px;
  margin-top: 8px;
  letter-spacing: -0.02em;
}
.most-read-head .section-num { color: var(--accent); }
.most-read-head .section-more {
  color: var(--paper);
  border-bottom-color: rgba(247,243,234,.5);
}
.most-read-head .section-more:hover { color: var(--accent); border-color: var(--accent); }

.most-read-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  counter-reset: mr;
}
.most-read-list li {
  position: relative;
  padding: 18px 22px;
  border-left: 1px solid rgba(247,243,234,.12);
  min-height: 120px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .18s ease;
}
.most-read-list li:first-child { border-left: 0; }
.most-read-list li:hover { background: rgba(247,243,234,.04); }
.mr-rank {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.mr-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.most-read-list a { color: inherit; }
.most-read-list a:hover .mr-title { color: var(--accent); }
.mr-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(247,243,234,.5);
  margin-top: auto;
}
.mr-skeleton .mr-title { opacity: .3; }

@media (max-width: 900px) {
  .most-read-list { grid-template-columns: repeat(2, 1fr); }
  .most-read-list li:nth-child(odd) { border-left: 0; }
}
@media (max-width: 500px) {
  .most-read-list { grid-template-columns: 1fr; }
  .most-read-list li { border-left: 0; border-top: 1px solid rgba(247,243,234,.12); min-height: auto; }
  .most-read-list li:first-child { border-top: 0; }
}

/* ========== Authors section ========== */
.section-authors { background: var(--paper); }
.authors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.author-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 26px;
  border-radius: 2px;
  transition: transform .2s ease, border-color .2s ease;
  display: flex; flex-direction: column; gap: 12px;
}
.author-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.author-card-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.author-card-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.author-card-role {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.author-card-quote {
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-style: italic;
}
@media (max-width: 900px) { .authors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .authors-grid { grid-template-columns: 1fr; } }

/* ========== Section scaffolding ========== */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.section-news { background: var(--white); }
.section-insight { background: var(--paper); }
.section-column { background: var(--white); }
.section-report { background: var(--paper-2); }
.section-usage { background: var(--white); }
.section-aeri { background: var(--paper); }
.section-cta { background: var(--ink); color: var(--paper); border-top: 0; padding: 80px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-head-left { display: flex; flex-direction: column; gap: 10px; }
.section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-ink);
}
.section-title {
  font-size: clamp(32px, 4.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-desc {
  font-family: var(--serif);
  font-size: 17px; color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
}
.section-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
}
.section-more:hover { color: var(--accent-ink); border-color: var(--accent-ink); }

/* ========== News grid ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-card-inner { display: flex; flex-direction: column; height: 100%; }
.news-thumb {
  position: relative; margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.thumb-placeholder {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg,
      hsl(var(--hue, 218), 24%, 28%),
      hsl(var(--hue, 218), 18%, 52%));
  position: relative;
}
.thumb-placeholder[data-hue="28"]  { --hue: 28; }
.thumb-placeholder[data-hue="218"] { --hue: 218; }
.thumb-placeholder[data-hue="340"] { --hue: 340; }
.thumb-placeholder[data-hue="160"] { --hue: 160; }
.thumb-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 12px);
}
.thumb-placeholder::after {
  content: "AI METRO"; position: absolute; right: 12px; bottom: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  color: rgba(255,255,255,.55);
}
.tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 2px;
  background: var(--white); color: var(--ink);
}
.tag-tech { background: #dde6f5; color: #1a3a6b; }
.tag-industry { background: #f5e9d5; color: #7a4f12; }
.tag-policy { background: #f3d8de; color: #7a1c33; }
.tag-social { background: #d6ecdf; color: #1f5f3e; }
.news-body { padding: 20px 22px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.news-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.news-card:hover .news-title { color: var(--accent-ink); }
.news-excerpt {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  flex: 1;
}
.news-meta {
  display: flex; gap: 6px; font-size: 12px; color: var(--muted-2);
  font-family: var(--mono);
  margin-top: 8px;
}

/* ========== Insight list ========== */
.insight-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.insight-item {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.insight-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.insight-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.insight-title a { border-bottom: 0; }
.insight-title a:hover { color: var(--accent-ink); }
.insight-excerpt {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.insight-meta {
  display: flex; gap: 6px; font-size: 12px;
  font-family: var(--mono); color: var(--muted-2);
}

/* ========== Column list ========== */
.column-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.column-item {
  background: var(--paper);
  padding: 32px 28px;
  border-radius: 2px;
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .25s ease;
}
.column-item:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.column-author {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-weight: 700; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.author-name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.author-role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.column-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 14px;
}
.column-title a:hover { color: var(--accent-ink); }
.column-excerpt {
  color: var(--muted); font-size: 14.5px; line-height: 1.75;
}

/* ========== Usage videos (AI 활용법 영상 카드) ========== */
.usage-videos {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.usage-videos-head {
  margin-bottom: 24px;
  text-align: center;
}
.usage-videos-head h3 {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 8px 0 8px;
}
.usage-videos-head p {
  color: var(--muted);
  font-size: 14px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.video-thumb {
  position: relative; margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.03); }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 0, 0, .9);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  padding-left: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform .2s ease;
}
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-body { padding: 16px 18px 18px; }
.video-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #b00;
  margin-bottom: 6px;
}
.video-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}
.video-card:hover .video-title { color: var(--accent-ink); }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

/* 칼럼 더보기 리스트 (나머지 4편) */
.column-more-list {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--paper);
  border-radius: 2px;
}
.column-more-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  padding: 18px 22px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  align-items: center;
  transition: background .15s ease;
}
.column-more-item:hover { background: var(--white); }
.column-more-item:nth-child(odd) { border-left: 0; }
.column-more-item:nth-child(-n+2) { border-top: 0; }
.cm-author {
  font-family: var(--serif); font-weight: 700;
  font-size: 14px; color: var(--accent-ink);
}
.cm-title {
  font-family: var(--serif); font-weight: 600;
  font-size: 15px; color: var(--ink); line-height: 1.45;
}
.column-more-item:hover .cm-title { color: var(--accent-ink); }
.cm-meta {
  font-size: 12px; color: var(--muted-2);
  font-family: var(--mono); white-space: nowrap;
}
@media (max-width: 760px) {
  .column-more-list { grid-template-columns: 1fr; }
  .column-more-item { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: 1fr; }
  .column-more-item:first-child { border-top: 0; }
  .cm-meta { white-space: normal; }
}

/* ========== Report grid ========== */
.report-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
}
.report-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 40px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .2s ease;
}
.report-card:hover { border-color: var(--ink); }
.report-card-lead {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.report-card-lead .report-title a { color: var(--paper); }
.report-card-lead .report-title a:hover { color: var(--accent); }
.report-card-lead .report-excerpt { color: rgba(247,243,234,.75); }
.report-card-lead .report-meta { color: rgba(247,243,234,.55); }
.report-card-lead .report-tags li { background: rgba(247,243,234,.1); color: var(--paper); border-color: rgba(247,243,234,.15); }
.report-badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.report-badge-alt { color: var(--accent-ink); }
.report-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.report-card-lead .report-title { font-size: 30px; }
.report-excerpt {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}
.report-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.report-tags li {
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-soft);
}
.report-meta {
  display: flex; gap: 6px; font-size: 12px;
  font-family: var(--mono); color: var(--muted-2);
  margin-top: auto;
}

/* ========== Usage grid ========== */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usage-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 32px 28px;
  border-radius: 2px;
  transition: transform .2s ease, border-color .2s ease;
}
.usage-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.usage-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  padding: 4px 10px;
  background: var(--ink); color: var(--paper);
  border-radius: 2px;
  margin-bottom: 20px;
}
.usage-title {
  font-family: var(--serif);
  font-size: 20px; line-height: 1.4;
  margin-bottom: 14px;
}
.usage-title a:hover { color: var(--accent-ink); }
.usage-excerpt {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ========== AERI card ========== */
.aeri-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  position: relative;
}
.aeri-card::before {
  content: ""; position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,135,78,.15), transparent 70%);
  pointer-events: none;
}
.aeri-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.aeri-title {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--paper);
}
.aeri-lead {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  color: var(--paper);
  margin-bottom: 20px;
}
.aeri-lead strong { color: var(--accent); font-weight: 700; }
.aeri-desc {
  color: rgba(247,243,234,.72);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 32px;
}
.aeri-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.aeri-ctas .btn-dark { background: var(--paper); color: var(--ink); }
.aeri-ctas .btn-dark:hover { background: var(--white); }
.aeri-ctas .btn-outline { border-color: rgba(247,243,234,.4); color: var(--paper); }
.aeri-ctas .btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.aeri-card-right { display: flex; justify-content: center; align-items: center; }
.aeri-diagram { max-width: 320px; width: 100%; }
.aeri-diagram circle[fill="#0f1a2b"] { fill: var(--paper); }
.aeri-diagram circle[stroke="#0f1a2b"] { stroke: rgba(247,243,234,.4); }
.aeri-diagram circle[fill="#c2945f"] { fill: var(--accent); }
.aeri-diagram text { fill: var(--paper) !important; }
.aeri-diagram text:last-of-type { fill: var(--ink) !important; }

/* ========== CTA (footer pre) ========== */
.cta-block { text-align: center; max-width: 820px; margin: 0 auto; }
.cta-eyebrow {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--accent);
  display: block; margin-bottom: 20px;
}
.cta-title {
  font-size: clamp(32px, 4.4vw, 44px);
  color: var(--paper);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cta-desc {
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(247,243,234,.75);
  line-height: 1.8;
  margin-bottom: 36px;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-divider {
  width: 60px; height: 1px; background: rgba(247,243,234,.25);
  margin: 60px auto;
}
.cta-newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  text-align: left;
  padding: 32px 40px;
  background: rgba(247,243,234,.04);
  border: 1px solid rgba(247,243,234,.1);
  border-radius: 4px;
}
.cta-newsletter h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--paper);
  margin-bottom: 6px;
}
.cta-newsletter p {
  color: rgba(247,243,234,.65);
  font-size: 14px; line-height: 1.7;
}
.cta-newsletter-form { position: relative; display: flex; gap: 8px; flex-wrap: wrap; }
.cta-newsletter-form input {
  flex: 1; min-width: 180px;
  padding: 12px 16px;
  font-family: var(--sans); font-size: 15px;
  background: rgba(247,243,234,.08);
  border: 1px solid rgba(247,243,234,.2);
  border-radius: 2px;
  color: var(--paper);
  outline: none;
}
.cta-newsletter-form input::placeholder { color: rgba(247,243,234,.4); }
.cta-newsletter-form input:focus { border-color: var(--accent); }
.nl-msg {
  width: 100%; font-size: 13px; color: var(--accent); margin-top: 8px;
}

/* ========== Footer ========== */
.site-footer {
  background: #0a1221;
  color: rgba(247,243,234,.7);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247,243,234,.1);
}
.footer-brand {
  display: flex; gap: 14px; align-items: center;
}
.site-footer .brand-mark .metro-dot,
.site-footer .brand-mark .metro-line { background: var(--paper); }
.footer-brand-name { font-family: var(--serif); font-weight: 900; font-size: 22px; color: var(--paper); letter-spacing: -0.02em; }
.footer-brand-sub { font-size: 12px; color: rgba(247,243,234,.5); margin-top: 3px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(247,243,234,.6); }
.footer-col a:hover { color: var(--accent); }
.footer-legal {
  padding: 28px 0 24px;
  border-top: 1px solid rgba(247,243,234,.08);
}
.footer-legal .legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 28px;
  margin-bottom: 18px;
  font-size: 12px;
}
.footer-legal .legal-grid > div {
  display: flex; gap: 10px; align-items: baseline;
  padding: 6px 0;
}
.legal-k {
  color: rgba(247,243,234,.5);
  min-width: 110px;
  letter-spacing: 0.04em;
  font-family: var(--sans);
}
.legal-v {
  color: rgba(247,243,234,.82);
  word-break: keep-all;
}
.legal-v a { color: var(--accent); border-bottom: 1px solid rgba(184,135,78,.4); }
.legal-v a:hover { color: var(--paper); }
.legal-note {
  font-size: 11.5px;
  color: rgba(247,243,234,.4);
  line-height: 1.7;
  padding-top: 14px;
  border-top: 1px dashed rgba(247,243,234,.1);
}
@media (max-width: 800px) {
  .footer-legal .legal-grid { grid-template-columns: 1fr; gap: 2px; }
  .legal-k { min-width: 100px; }
}

.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 12px;
  color: rgba(247,243,234,.5);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.footer-onelinetag {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0;
  color: rgba(247,243,234,.4);
}

/* ========== Pages: about / contact / category / article ========== */
.page-hero {
  padding: 100px 0 60px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-hero p {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 680px; margin: 0 auto;
}

.page-body { padding: 80px 0; background: var(--white); }

/* about blocks */
.about-section {
  border-top: 1px solid var(--line);
  padding: 60px 0;
}
.about-section:first-child { border-top: 0; padding-top: 0; }
.about-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
.about-kicker {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.2em;
  color: var(--accent-ink);
}
.about-h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin-top: 8px;
  letter-spacing: -0.02em;
}
.about-body p {
  font-size: 16px; color: var(--ink-soft);
  line-height: 1.9; margin-bottom: 16px;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body ul {
  margin: 12px 0;
}
.about-body ul li {
  position: relative;
  padding-left: 20px;
  font-size: 16px; color: var(--ink-soft);
  line-height: 1.9; margin-bottom: 8px;
}
.about-body ul li::before {
  content: ""; position: absolute;
  left: 0; top: 14px; width: 10px; height: 1px; background: var(--accent);
}
.about-body blockquote {
  margin: 24px 0;
  padding: 20px 28px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.8;
}
.about-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.about-area-card {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 2px;
  background: var(--paper);
}
.about-area-card h4 {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 10px;
}
.about-area-card p {
  font-size: 14px; color: var(--muted); line-height: 1.75;
}

/* contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
}
.contact-info h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--muted); line-height: 1.85; font-size: 15px; margin-bottom: 16px;
}
.contact-info ul li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.contact-info ul li strong { display: block; color: var(--ink); margin-bottom: 4px; }
.contact-info ul li span { color: var(--muted); }
.contact-form {
  background: var(--paper);
  padding: 40px;
  border-radius: 2px;
  border: 1px solid var(--line);
}
.contact-form .tabs {
  display: flex; gap: 4px; margin-bottom: 28px;
  border: 1px solid var(--line);
  padding: 4px; border-radius: 2px;
  background: var(--white);
}
.contact-form .tabs button {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 2px;
}
.contact-form .tabs button.active {
  background: var(--ink); color: var(--paper);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--sans); font-size: 15px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink); outline: none;
  transition: border-color .15s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--ink); }
.form-row textarea { min-height: 140px; resize: vertical; font-family: var(--sans); }
.form-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* category */
.cat-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 40px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.cat-head h2 { font-size: 28px; }
.cat-sort select {
  padding: 8px 12px; font-size: 14px;
  border: 1px solid var(--line-strong); background: var(--white);
  font-family: var(--sans); border-radius: 2px;
}

.cat-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.cat-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cat-item-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.cat-item-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.cat-item-body h3 a:hover { color: var(--accent-ink); }
.cat-item-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.cat-item-meta {
  display: flex; gap: 10px; font-size: 12px;
  font-family: var(--mono); color: var(--muted-2);
}

.pagination {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  font-size: 14px; color: var(--ink);
  border-radius: 2px;
}
.pagination a:hover { background: var(--paper); }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* breadcrumb */
.breadcrumb {
  max-width: 1100px; margin: 0 auto 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* article shell: 2-column with sidebar */
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.article-layout {
  max-width: 100%;
}

/* sidebar */
.article-sidebar {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 16px;
}
.sb-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px 22px;
  border-radius: 2px;
}
.sb-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.sb-list { display: flex; flex-direction: column; gap: 14px; }
.sb-list a {
  display: block;
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -12px;
  transition: border-color .15s ease;
}
.sb-list a:hover { border-left-color: var(--accent); }
.sb-item-title {
  display: block;
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 4px;
}
.sb-list a:hover .sb-item-title { color: var(--accent-ink); }
.sb-item-meta {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
}
.sb-empty { color: var(--muted-2); font-size: 13px; }

.sb-aeri { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sb-aeri-eyebrow {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sb-aeri-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--paper);
  margin-bottom: 10px;
}
.sb-aeri-desc {
  font-size: 13px;
  color: rgba(247,243,234,.72);
  line-height: 1.7;
  margin-bottom: 14px;
}
.sb-aeri-ctas { display: flex; flex-direction: column; gap: 6px; }
.sb-aeri-ctas .btn-outline { border-color: rgba(247,243,234,.4); color: var(--paper); }
.sb-aeri-ctas .btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sb-aeri-ctas .btn-dark { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.sb-aeri-ctas .btn-dark:hover { background: var(--paper); color: var(--ink); }

.sb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: 12px;
}
.sb-share-btns { display: flex; flex-direction: column; gap: 6px; }

/* article lead (AEO 답변형 리드) */
.article-lead {
  margin: 24px 0 32px;
  padding: 20px 24px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
}
.article-lead-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-ink);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.article-lead p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 1000px) {
  .article-shell { grid-template-columns: 1fr; gap: 28px; }
  .article-sidebar { position: static; order: 2; }
}
.article-head { text-align: center; margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.article-category {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.article-title {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.article-sub {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  display: flex; justify-content: center; gap: 12px;
}
.article-body {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-soft);
}
.article-body p { margin-bottom: 20px; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 40px 0 16px;
}
.article-body blockquote {
  margin: 28px 0;
  padding: 16px 0 16px 28px;
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.7;
}
.article-body a { color: var(--accent-ink); border-bottom: 1px solid currentColor; }

.article-mini-aeri {
  margin: 56px auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 2px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.article-mini-aeri h4 {
  font-family: var(--serif); font-size: 18px; margin-bottom: 6px;
}
.article-mini-aeri p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Related */
.related {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.related h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 20px;
}
.related-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.related-list a {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 15px;
  font-family: var(--serif);
  line-height: 1.5;
}
.related-list a:hover { border-color: var(--ink); }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .header-inner { grid-template-columns: auto auto; }
  .top-nav { display: none; }
  .top-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-top: 1px solid var(--line);
    animation: slideDown .2s ease;
  }
  .top-nav.open ul { flex-direction: column; padding: 16px; gap: 0; }
  .top-nav.open li { border-bottom: 1px solid var(--line); }
  .top-nav.open a { padding: 14px 8px; }
  .top-nav.open a.active::after { display: none; }
  .menu-btn { display: inline-flex; }
  .hide-sm { display: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-list { grid-template-columns: 1fr; gap: 32px; }
  .column-list { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: 1fr; }
  .usage-grid { grid-template-columns: 1fr; }
  .aeri-card { grid-template-columns: 1fr; padding: 48px 36px; }
  .aeri-card-right { display: none; }
  .cta-newsletter { grid-template-columns: 1fr; padding: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-areas { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
  .cat-item { grid-template-columns: 1fr; }
  .cat-item-thumb { aspect-ratio: 16 / 9; }
  .article-mini-aeri { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 12px 20px; }
  .brand-sub { display: none; }
  .hero { padding: 80px 0 100px; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .section-more { justify-self: start; }
  .news-grid { grid-template-columns: 1fr; }
  .column-list { grid-template-columns: 1fr; }
  .report-card { padding: 28px; }
  .report-card-lead .report-title { font-size: 24px; }
  .aeri-title { font-size: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .form-row-grid { grid-template-columns: 1fr; }
}
