/* ============================================================
   김선미의 그림책 질문놀이 — 디자인 시스템
   따뜻함 · 지적임 · 전문성 · 여백 · 에디토리얼
   ============================================================ */

:root {
  /* Backgrounds */
  --bg: #FAF7F0;            /* 아이보리 */
  --bg-alt: #F1ECDF;        /* 미색 섹션 배경 */
  --surface: #FFFFFF;       /* 카드/서피스 */

  /* Text */
  --text: #2B2A23;          /* 본문 (따뜻한 잉크 블랙) */
  --text-muted: #5A5748;    /* 보조 텍스트 */
  --text-soft: #7A7666;     /* 캡션/메타 */

  /* Brand accents */
  --sage: #56694E;          /* 세이지그린 (진한, 대비 확보) */
  --sage-dark: #3E4E38;
  --sage-tint: #E7EBDF;     /* 세이지 연한 배경 */
  --beige: #A87B4F;         /* 따뜻한 베이지/테라코타 */
  --beige-dark: #8A6238;
  --beige-tint: #F3E6D6;

  --border: #E3DCC8;
  --border-strong: #CFC6A9;

  --success-bg: #E7EBDF;
  --focus-ring: #3E4E38;

  /* Typography */
  --font-heading: 'Noto Serif KR', 'Pretendard', serif;
  --font-body: 'Noto Sans KR', 'Pretendard', -apple-system, sans-serif;

  /* Layout */
  --container: 1120px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(43, 42, 35, 0.08);
  --shadow-md: 0 6px 24px rgba(43, 42, 35, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* 그림책의 종이질감을 유지하기 위해 다크모드에서도 톤을 과하게 반전하지 않음 */
    --bg: #201F1A;
    --bg-alt: #262419;
    --surface: #2B2A22;
    --text: #F3EFE4;
    --text-muted: #CFC9B8;
    --text-soft: #A8A18C;
    --sage: #9BB08E;
    --sage-dark: #C4D4B9;
    --sage-tint: #333B2D;
    --beige: #E0B37F;
    --beige-dark: #F0CFA0;
    --beige-tint: #3B3225;
    --border: #423F30;
    --border-strong: #55503B;
    --focus-ring: #C4D4B9;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }

a { color: var(--sage-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sage); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 0.6em;
  word-break: keep-all;
}

h1 { font-size: clamp(1.75rem, 5vw, 2.6rem); line-height: 1.35; }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}
.section--alt { background: var(--bg-alt); }
.section--sage { background: var(--sage-tint); }

.section-head {
  max-width: 760px;
  margin: 0 0 32px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--sage-dark);
  background: var(--sage-tint);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow--beige { color: var(--beige-dark); background: var(--beige-tint); }

.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sage-dark);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

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

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(32, 31, 26, 0.94); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle .bar { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.nav-toggle .bar::before, .nav-toggle .bar::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text);
}
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }

.main-nav {
  display: none;
}
.main-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 12px 16px;
}
.main-nav a {
  display: block;
  padding: 12px 12px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--sage-tint);
  color: var(--sage-dark);
}
.main-nav .cta-item a {
  background: var(--sage-dark);
  color: #fff;
  text-align: center;
  font-weight: 700;
  margin-top: 6px;
}
.main-nav .cta-item a:hover { background: var(--sage); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: block;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
  }
  .main-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
  }
  .main-nav li { flex: none; }
  .main-nav a { padding: 10px 14px; font-size: 0.95rem; white-space: nowrap; }
  .main-nav .cta-item { margin-left: 6px; }
  .main-nav .cta-item a { margin-top: 0; border-radius: 999px; padding: 10px 20px; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sage-dark); color: #fff; }
.btn-primary:hover { background: var(--sage); color: #fff; }
.btn-outline { background: transparent; border-color: var(--sage-dark); color: var(--sage-dark); }
.btn-outline:hover { background: var(--sage-tint); color: var(--sage-dark); }
.btn-beige { background: var(--beige); color: #fff; }
.btn-beige:hover { background: var(--beige-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-kakao {
  background: #FEE500;
  color: #3C1E1E;
  border-color: #FEE500;
}
.btn-kakao:hover { background: #FFEB4D; border-color: #FFEB4D; color: #3C1E1E; }
.btn-kakao svg { width: 18px; height: 18px; flex: none; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-inquiry-buttons .btn { min-width: 220px; }
@media (max-width: 480px) {
  .cta-inquiry-buttons { flex-direction: column; align-items: stretch; }
  .cta-inquiry-buttons .btn { width: 100%; min-width: 0; }
}

/* ============ Hero ============ */
.hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}
.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 10px;
}
.hero h1 {
  margin-bottom: 14px;
}
.hero .slogan {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  color: var(--sage-dark);
  margin-bottom: 20px;
  line-height: 1.5;
}
.hero p.desc { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 26px; }

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sage-tint);
  border: 1px solid var(--border);
}

/* ============ Placeholder media block ============ */
.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: var(--sage-tint);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  font-size: 0.88rem;
  text-align: center;
  padding: 32px 16px;
  min-height: 180px;
}
.media-placeholder svg { opacity: 0.55; }
.media-placeholder--tall { min-height: 320px; }
.media-placeholder--book {
  aspect-ratio: 3 / 4;
  min-height: 0;
}

/* ============ Process diagram ============ */
.process {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 32px 0;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 108px;
  text-align: center;
  font-weight: 700;
  color: var(--sage-dark);
  box-shadow: var(--shadow-sm);
}
.process-step .num {
  display: block;
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 4px;
}
.process-arrow {
  color: var(--border-strong);
  font-size: 1.3rem;
  flex: none;
}
.process-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: -12px 0 24px;
}
@media (max-width: 640px) {
  .process { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
}

/* ============ Cards / Grid ============ */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; }
.card ul { padding-left: 1.15em; color: var(--text-muted); margin: 14px 0; }
.card li { margin-bottom: 6px; }

.card--split {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--beige-tint);
  color: var(--beige-dark);
  margin: 0 6px 6px 0;
}
.tag--sage { background: var(--sage-tint); color: var(--sage-dark); }

/* ============ Lecture / curriculum block ============ */
.lecture {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--surface);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.lecture-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--beige-dark);
  font-weight: 700;
  margin-bottom: 6px;
}
.lecture h3 { margin-bottom: 14px; }
.lecture-meta {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}
@media (min-width: 700px) {
  .lecture-meta { grid-template-columns: repeat(4, 1fr); }
}
.lecture-meta dt {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 700;
  margin-bottom: 4px;
}
.lecture-meta dd { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* ============ Filters ============ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--sage-dark); color: var(--sage-dark); }
.filter-btn.is-active {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
}

/* ============ Case study card ============ */
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.case-card .media-placeholder { border-radius: 0; border-left: none; border-right: none; border-top: none; }
.case-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.case-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.case-meta { color: var(--text-soft); font-size: 0.85rem; margin-bottom: 14px; }
.case-qa { margin: 0 0 14px; font-size: 0.94rem; }
.case-qa dt { font-weight: 700; color: var(--sage-dark); margin-top: 10px; }
.case-qa dd { margin: 2px 0 0; color: var(--text-muted); }
.case-card .btn { margin-top: auto; align-self: flex-start; }

/* ============ Testimonial card ============ */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.review-card .org { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.review-card .meta { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 14px; }
.review-card dl { margin: 0; font-size: 0.94rem; }
.review-card dt { font-weight: 700; color: var(--text); margin-top: 8px; }
.review-card dd { margin: 2px 0 0; color: var(--text-muted); }

.review-quote {
  margin: 14px 0 0;
  padding: 14px 16px;
  background: var(--sage-tint);
  border-left: 3px solid var(--sage-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text);
  font-size: 0.94rem;
}
.review-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.empty-state {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-soft);
  background: var(--bg-alt);
}

/* ============ FAQ ============ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 4px 0;
}
.faq-q .icon { flex: none; color: var(--sage-dark); font-size: 1.3rem; transition: transform 0.2s ease; }
.faq-item[open] .faq-q .icon { transform: rotate(45deg); }
.faq-a { color: var(--text-muted); padding: 12px 0 4px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ============ Forms ============ */
.form-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) {
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field .req { color: var(--beige-dark); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sage-dark);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: 0.82rem; color: var(--text-soft); }

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.checkbox-field input { margin-top: 4px; }
.checkbox-field a { color: var(--sage-dark); }

.form-note {
  background: var(--sage-tint);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--sage-dark);
  margin-bottom: 24px;
}

/* ============ Course cards (전문과정) ============ */
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.course-card h3 { margin-bottom: 0; }
.course-card .course-time {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 700;
}
.course-card p { margin-bottom: 0; color: var(--text-muted); }
.course-card .btn { margin-top: auto; align-self: flex-start; }

.course-org-block { margin-bottom: 48px; }
.course-org-block:last-child { margin-bottom: 0; }
.course-org-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.course-org-head h3 { margin-bottom: 0; }

.course-org-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 28px;
  margin-bottom: 24px;
}
.course-org-group:last-child { margin-bottom: 0; }
.course-org-group .course-card {
  border-color: var(--border);
  box-shadow: none;
  background: var(--bg);
}

/* ============ Curriculum list (교육과정) ============ */
.curriculum-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.curriculum-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.curriculum-list li:last-child { border-bottom: none; }
.curriculum-list .step-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
}
.curriculum-list .step-title { font-weight: 700; padding-top: 4px; }

/* ============ Info list ============ */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.info-list li:last-child { border-bottom: none; }
.info-list .dot { color: var(--sage-dark); flex: none; }

/* ============ Contact channel cards ============ */
.channel-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 22px;
  text-align: center;
}
.channel-card .placeholder-value {
  color: var(--text-soft);
  font-style: normal;
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-block;
  margin-top: 8px;
  font-size: 0.92rem;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-soft);
  padding: 14px 0;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--sage-dark); }

/* ============ CTA band ============ */
.cta-band {
  background: var(--sage-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ============ Kakao floating button ============ */
.kakao-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FEE500;
  color: #3C1E1E;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kakao-float:hover {
  color: #3C1E1E;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(43, 42, 35, 0.2);
}
.kakao-float svg { width: 19px; height: 19px; flex: none; }
@media (max-width: 480px) {
  .kakao-float { right: 14px; bottom: 14px; padding: 11px 15px; font-size: 0.84rem; gap: 6px; }
  .kakao-float svg { width: 17px; height: 17px; }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-brand .brand-name { font-size: 1.2rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; margin-top: 10px; }
.footer-col h4 { font-size: 0.9rem; color: var(--text-soft); letter-spacing: 0.04em; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.94rem; }
.footer-col a:hover { color: var(--sage-dark); }
.footer-col--highlight a { color: var(--sage-dark); font-weight: 700; }
.footer-col--highlight a:hover { color: var(--sage); }
.social-icons { display: flex; align-items: center; gap: 18px; }
.social-icons a {
  display: inline-flex;
  width: 37px;
  height: 37px;
  border-radius: 9px;
  overflow: hidden;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.social-icons svg { width: 100%; height: 100%; display: block; }
.social-icons a:hover,
.social-icons a:focus-visible {
  transform: translateY(-2px);
  opacity: 0.85;
}
@media (max-width: 480px) {
  .social-icons a { width: 35px; height: 35px; }
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.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;
}

/* Utility */
@media (min-width: 640px) { .mobile-only { display: none; } }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.max-w-prose { max-width: 720px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
