
/* ───────────────────────────────────────────────
   styles.css L1-126 — :root 토큰 시스템
   ─────────────────────────────────────────────── */
:root {
  /* ============================================================
     Warm Neutral token system
     Brown-tinted neutrals + orange accent
     ============================================================ */

  /* ==== Warm Neutral Scale ==== */
  --ink-900: #1A1714;
  --ink-800: #2A2520;
  --ink-700: #4A423B;
  --ink-500: #6B6058;
  --ink-400: #8A7F76;
  --ink-300: #B8AFA6;
  --ink-200: #D9D2CA;
  --ink-100: #E8E2DA;
  --ink-50:  #F5F1EB;
  --paper:   #FBF8F3;
  --white:   #FFFFFF;

  /* ==== Paper Alpha ==== */
  --paper-92: rgba(251, 248, 243, 0.92);
  --paper-80: rgba(251, 248, 243, 0.80);
  --paper-70: rgba(251, 248, 243, 0.70);
  --paper-55: rgba(251, 248, 243, 0.55);
  --paper-50: rgba(251, 248, 243, 0.50);
  --paper-40: rgba(251, 248, 243, 0.40);
  --paper-15: rgba(251, 248, 243, 0.15);

  /* ==== Ink Alpha ==== */
  --ink-900-08: rgba(26, 23, 20, 0.08);
  --ink-900-10: rgba(26, 23, 20, 0.10);
  --ink-900-12: rgba(26, 23, 20, 0.12);
  --ink-900-14: rgba(26, 23, 20, 0.14);
  --ink-900-25: rgba(26, 23, 20, 0.25);
  --ink-900-40: rgba(26, 23, 20, 0.40);
  --ink-900-55: rgba(26, 23, 20, 0.55);
  --ink-900-72: rgba(26, 23, 20, 0.72);

  /* ==== On-color ==== */
  --on-primary: var(--white);
  --on-dark: var(--white);

  /* ==== Accent (blue retained for legacy interactive surfaces) ==== */
  --accent-blue:      #2563eb;
  --accent-blue-soft: #4d6fff;

  /* ==== Dark surfaces (mapped to ink scale) ==== */
  --surface-dark:          var(--ink-900);
  --surface-dark-elevated: var(--ink-800);

  /* ==== Semantic ==== */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;

  /* ==== Typography ==== */
  --font-display: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  /* Display & body scale — tuned for Korean display copy
     ch units run small in Korean; pair with em-based max-widths in components */
  --fs-display-xl: clamp(40px, 4.6vw, 64px);
  --fs-display-lg: clamp(34px, 3.6vw, 48px);
  --fs-display-md: clamp(28px, 2.8vw, 38px);
  --fs-display-sm: clamp(22px, 2.2vw, 30px);
  --fs-title-lg: clamp(22px, 1.7vw, 26px);
  --fs-title-md: 18px;
  --fs-title-sm: 16px;
  --fs-body-md: 16px;
  --fs-body-sm: 14px;
  --fs-caption: 13px;
  --fs-caption-up: 12px;
  --fs-button: 14px;
  --fs-nav: 14px;

  /* Letter spacing for displays — rounded warmth */
  --tracking-display-xl: -0.035em;
  --tracking-display-lg: -0.028em;
  --tracking-display-md: -0.02em;
  --tracking-display-sm: -0.014em;
  --tracking-title: -0.012em;
  --tracking-up: 0.12em;

  --lh-display: 1.04;
  --lh-display-md: 1.1;
  --lh-title: 1.35;
  --lh-body: 1.55;
  --lh-loose: 1.7;

  /* ==== Spacing — 4px base ==== */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-section: clamp(72px, 9vw, 120px);

  --container-max: 1280px;
  --container-pad: clamp(20px, 3.5vw, 40px);
  --header-height: 72px;

  /* ==== Radii ==== */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;
  --r-full: 9999px;

  /* ==== Motion ==== */
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 160ms;
  --dur-base: 280ms;
  --dur-slow: 520ms;

  /* ==== Elevation (very subtle — warm neutral system avoids heavy shadows) ==== */
  --shadow-soft: 0 1px 2px rgba(26, 23, 20, 0.04);
  --shadow-rise: 0 8px 24px rgba(26, 23, 20, 0.06), 0 2px 6px rgba(26, 23, 20, 0.04);
}


/* ───────────────────────────────────────────────
   styles.css L127-129 — prefers-reduced-motion 토큰 override
   ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur-base: 0ms; --dur-slow: 0ms; }
}

/* ───────────────────────────────────────────────
   styles.css L130-160 — reset + base typography
   ─────────────────────────────────────────────── */
/* ============================================================
   Reset + base typography (Clay-warm)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
html { overflow-x: clip; }
body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "kern";
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: var(--lh-title); color: var(--ink-900); }
::selection { background: var(--ink-200); color: var(--ink-900); }
::-moz-selection { background: var(--ink-200); color: var(--ink-900); }


/* ───────────────────────────────────────────────
   styles.css L161-200 — 타이포 유틸 .display-/.title-/.body-/.lead
   ─────────────────────────────────────────────── */
/* ==== Typography utilities ==== */
.display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink-900);
}
.display-xl { font-size: var(--fs-display-xl); line-height: var(--lh-display); letter-spacing: var(--tracking-display-xl); }
.display-lg { font-size: var(--fs-display-lg); line-height: var(--lh-display); letter-spacing: var(--tracking-display-lg); }
.display-md { font-size: var(--fs-display-md); line-height: var(--lh-display-md); letter-spacing: var(--tracking-display-md); }
.display-sm { font-size: var(--fs-display-sm); line-height: var(--lh-display-md); letter-spacing: var(--tracking-display-sm); }

.title-lg { font-size: var(--fs-title-lg); font-weight: 600; line-height: var(--lh-title); letter-spacing: var(--tracking-title); color: var(--ink-900); }
.title-md { font-size: var(--fs-title-md); font-weight: 600; line-height: var(--lh-title); color: var(--ink-900); }
.title-sm { font-size: var(--fs-title-sm); font-weight: 600; line-height: var(--lh-title); color: var(--ink-900); }

.body-md { font-size: var(--fs-body-md); line-height: var(--lh-body); color: var(--ink-700); }
.body-sm { font-size: var(--fs-body-sm); line-height: var(--lh-body); color: var(--ink-700); }
.body-strong { color: var(--ink-800); }
.muted { color: var(--ink-500); }
.muted-soft { color: var(--ink-400); }

.caption { font-size: var(--fs-caption); font-weight: 500; line-height: 1.4; color: var(--ink-500); }
.caption-up {
  display: inline-block;
  font-size: var(--fs-caption-up);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: var(--tracking-up);
  text-transform: uppercase;
  color: var(--ink-500);
}

.lead {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: var(--lh-loose);
  color: var(--ink-800);
  max-width: 56ch;
  font-weight: 400;
}


/* ───────────────────────────────────────────────
   styles.css L201-250 — 레이아웃 .container/.section/[data-reveal]/focus/유틸/:lang(ko)
   ─────────────────────────────────────────────── */
/* ==== Layout ==== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section {
  padding-block: var(--space-section);
  position: relative;
}
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--soft { background: var(--ink-50); }
.section--strong { background: var(--ink-200); }

.divider { height: 1px; background: var(--ink-300); border: 0; }

/* ==== Reveal ==== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out-soft),
              transform var(--dur-slow) var(--ease-out-soft);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* ==== Focus ==== */
:focus-visible {
  outline: 2px solid var(--ink-900);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==== Utility ==== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.no-scroll { overflow: hidden; }
.text-center { text-align: center; }
.flex-row { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* Korean language hint — slightly reduce weight bombast on display */
:lang(ko) .display-xl,
:lang(ko) .display-lg,
:lang(ko) .display-md,
:lang(ko) .display-sm {
  font-weight: 600;
}

/* ───────────────────────────────────────────────
   styles.css L251-315 — shared components 섹션 헤더 + 버튼 .btn*
   ─────────────────────────────────────────────── */
/* ============================================================
   Shared header / footer / buttons / cards
   Cream-throughout system. Header AND footer stay warm-light.
   ============================================================ */

/* ==== Buttons ==== */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--on-primary);
  --btn-bd: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  height: 44px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-md);
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out-soft),
              background var(--dur-fast) var(--ease-out-soft),
              color var(--dur-fast) var(--ease-out-soft),
              border-color var(--dur-fast) var(--ease-out-soft);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--secondary {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink-900);
  --btn-bd: var(--ink-300);
}
.btn--secondary:hover { --btn-bd: var(--ink-900); }

.btn--on-color {
  --btn-bg: var(--white);
  --btn-fg: var(--ink-900);
  --btn-bd: var(--white);
}

.btn--text {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  --btn-bd: transparent;
  padding: 0 8px;
  height: auto;
}

.btn--lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }

.btn .arrow { transition: transform var(--dur-fast) var(--ease-out-soft); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  color: var(--ink-900);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* ───────────────────────────────────────────────
   styles.css L645-687 — .sect-head 공용 섹션헤더
   ─────────────────────────────────────────────── */
/* ==== Section header ==== */
.sect-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 560px;
  margin-bottom: var(--space-lg);
}
.sect-head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
  max-width: 720px;
}
.sect-head--wide { max-width: 760px; }
.sect-head__label {
  font-size: var(--fs-caption-up);
  font-weight: 600;
  letter-spacing: var(--tracking-up);
  text-transform: uppercase;
  color: var(--ink-500);
}
.sect-head__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-display-lg);
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display-lg);
  color: var(--ink-900);
}
.sect-head__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--orange-700);
}
.sect-head__lead {
  font-size: 17px;
  color: var(--ink-800);
  line-height: var(--lh-loose);
  max-width: 56ch;
  margin-top: var(--space-sm);
}


/* ───────────────────────────────────────────────
   styles.css L688-706 — .trust-bar 공용 로고바
   ─────────────────────────────────────────────── */
/* ==== Trust bar (logos) ==== */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: center;
  gap: var(--space-md) var(--space-2xl);
  padding-block: var(--space-xl);
  border-block: 1px solid var(--ink-300);
}
.trust-logo {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-500);
  text-align: center;
  letter-spacing: -0.005em;
  transition: color var(--dur-fast) var(--ease-out-soft);
}
.trust-logo:hover { color: var(--ink-900); }


/* ───────────────────────────────────────────────
   styles.css L707-788 — .stat-grid/.stat/.stat__num + 슬롯머신 reel (공유 stats 컴포넌트)
   ─────────────────────────────────────────────── */
/* ==== Stat band ==== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.stat {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.stat__num small {
  font-size: 0.45em;
  vertical-align: 0.6em;
  font-weight: 600;
  margin-left: 0.18em;
  margin-right: 0.12em;
}

/* Slot-machine number reel (data-count) */
.slot-num {
  display: inline-flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.slot-digit {
  display: inline-block;
  height: 1.15em;
  width: 0.62em;
  padding-right: 0.07em;
  overflow: hidden;
  position: relative;
  vertical-align: top;
  box-sizing: content-box;
  margin-right: -0.08em;
}
.slot-strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 1.8s cubic-bezier(0.18, 0.7, 0.2, 1);
  will-change: transform;
}
.slot-strip > span {
  display: block;
  height: 1em;
  line-height: 1;
  text-align: left;
  padding-right: 0.07em;
}
.slot-sep {
  display: inline-block;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .slot-strip { transition: none; }
}
.stat__label {
  font-size: var(--fs-body-md);
  color: var(--ink-800);
  font-weight: 500;
  margin-top: var(--space-xs);
}
.stat__desc {
  font-size: var(--fs-body-sm);
  color: var(--ink-500);
}


/* ───────────────────────────────────────────────
   styles.css L789-842 — .feature-card 시스템 (공용 카드)
   ─────────────────────────────────────────────── */
/* ==== Feature card system (saturated single-color) ==== */
.feature-card {
  --fc-bg: var(--ink-100);
  --fc-fg: var(--ink-900);
  --fc-fg-soft: var(--ink-900-72);
  background: var(--fc-bg);
  color: var(--fc-fg);
  border-radius: var(--r-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  transition: transform var(--dur-base) var(--ease-out-soft);
}
.feature-card:hover { transform: translateY(-3px); }
.feature-card--pink     { --fc-bg: var(--orange-500); --fc-fg: var(--white); --fc-fg-soft: rgba(255,255,255,0.82); }
.feature-card--teal     { --fc-bg: var(--ink-900); --fc-fg: var(--white); --fc-fg-soft: rgba(255,255,255,0.78); }
.feature-card--lavender { --fc-bg: var(--ink-200); --fc-fg: var(--ink-900); --fc-fg-soft: rgba(26, 23, 20,0.72); }
.feature-card--peach    { --fc-bg: var(--orange-300); --fc-fg: var(--ink-900); --fc-fg-soft: rgba(26, 23, 20,0.72); }
.feature-card--ochre    { --fc-bg: var(--orange-500); --fc-fg: var(--ink-900); --fc-fg-soft: rgba(26, 23, 20,0.72); }
.feature-card--cream    { --fc-bg: var(--ink-100); --fc-fg: var(--ink-900); }
.feature-card--coral    { --fc-bg: var(--orange-700); --fc-fg: var(--white); --fc-fg-soft: rgba(255,255,255,0.82); }

.feature-card .label {
  font-size: var(--fs-caption-up);
  font-weight: 600;
  letter-spacing: var(--tracking-up);
  text-transform: uppercase;
  color: var(--fc-fg-soft);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-display-sm);
  line-height: var(--lh-display-md);
  letter-spacing: var(--tracking-display-sm);
  color: var(--fc-fg);
}
.feature-card p {
  font-size: var(--fs-body-md);
  line-height: var(--lh-loose);
  color: var(--fc-fg-soft);
}
.feature-card .price-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--fc-fg);
}


/* ───────────────────────────────────────────────
   styles.css L843-887 — .product-frag (feature-card 내부 UI)
   ─────────────────────────────────────────────── */
/* Product UI fragment inside feature card */
.product-frag {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-900);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  font-size: var(--fs-body-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.feature-card--cream .product-frag {
  background: var(--paper);
  border: 1px solid var(--ink-300);
}
.product-frag__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-900);
}
.product-frag__row.success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  padding: 6px 8px;
  border-radius: var(--r-sm);
}
.product-frag__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  display: inline-block;
}
.product-frag__title {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-900);
}
.product-frag__meta {
  font-size: 12px;
  color: var(--ink-500);
}


/* ───────────────────────────────────────────────
   styles.css L888-924 — .cta-band 공용 일러스트 밴드 + .clay-blob
   ─────────────────────────────────────────────── */
/* ==== CTA band (illustrated cream) ==== */
.cta-band {
  background: var(--ink-50);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-display-md);
  line-height: var(--lh-display-md);
  letter-spacing: var(--tracking-display-md);
  color: var(--ink-900);
  max-width: 18ch;
}
.cta-band__title em { color: var(--orange-700); font-style: italic; font-weight: 500; }
.cta-band__sub {
  margin-top: var(--space-sm);
  color: var(--ink-800);
  max-width: 44ch;
}
.cta-band__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* Decorative claymation blob (pure CSS) */
.clay-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  pointer-events: none;
}


/* ───────────────────────────────────────────────
   styles.css L925-940 — shared components 반응형 미디어쿼리
   ─────────────────────────────────────────────── */
/* ==== Responsive ==== */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .site-nav, .header-cta { display: none; }
  .menu-trigger { display: inline-flex; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-header .brand .division-switcher { display: none; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
}

/* ───────────────────────────────────────────────
   styles.css L1233-1239 — .service-grid 3-up (공용 그리드 유틸)
   ─────────────────────────────────────────────── */
/* ==== Service cards (3-up rotating colors) ==== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}


/* ───────────────────────────────────────────────
   styles.css L1275-1281 — .work-tile .client letter-spacing — layout 타이포(L1628, 0.04em)가 이기도록 base(layout보다 먼저)로. block에 두면 typography에 짐
   ─────────────────────────────────────────────── */
.work-tile .client {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.018em;
  margin-bottom: 2px;
}

/* ───────────────────────────────────────────────
   styles.css L1436-1561 — .wf-grid/.wf-card/.wf-form/.post-list 서브페이지 와이어프레임 유틸
   ─────────────────────────────────────────────── */
.wf-grid {
  display: grid;
  gap: var(--space-md);
}
.wf-grid--2 { grid-template-columns: repeat(2, 1fr); }
.wf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wf-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .wf-grid--3, .wf-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wf-grid--2, .wf-grid--3, .wf-grid--4 { grid-template-columns: 1fr; }
}
.wf-card {
  background: var(--paper);
  border: 1px solid var(--ink-300);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.wf-card__label {
  font-size: var(--fs-caption-up);
  font-weight: 600;
  letter-spacing: var(--tracking-up);
  text-transform: uppercase;
  color: var(--ink-500);
}
.wf-card h3, .wf-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-title-md);
  letter-spacing: -0.012em;
  color: var(--ink-900);
}
.wf-card p {
  font-size: var(--fs-body-sm);
  color: var(--ink-500);
  line-height: var(--lh-loose);
}
.wf-thumb {
  aspect-ratio: 16 / 9;
  background: var(--ink-100);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-400);
  font-size: var(--fs-caption);
  letter-spacing: var(--tracking-up);
  text-transform: uppercase;
  font-weight: 600;
}
.wf-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 640px;
}
.wf-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wf-form__row > label {
  font-size: var(--fs-caption-up);
  font-weight: 600;
  letter-spacing: var(--tracking-up);
  text-transform: uppercase;
  color: var(--ink-500);
}
.wf-form input, .wf-form textarea, .wf-form select {
  padding: 12px 14px;
  border: 1px solid var(--ink-300);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink-900);
  font-size: var(--fs-body-md);
  transition: border-color var(--dur-fast) var(--ease-out-soft);
}
.wf-form input:focus, .wf-form textarea:focus, .wf-form select:focus {
  outline: none;
  border-color: var(--ink-900);
}
.wf-form textarea { min-height: 140px; resize: vertical; }
.wf-form__row--inline { flex-direction: row; gap: var(--space-md); flex-wrap: wrap; }
.wf-form__row--inline > * { flex: 1; min-width: 220px; }

.post-list { display: flex; flex-direction: column; gap: var(--space-md); }
.post-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: var(--space-lg);
  padding: var(--space-md);
  background: var(--paper);
  border: 1px solid var(--ink-300);
  border-radius: var(--r-lg);
  align-items: center;
  transition: border-color var(--dur-fast) var(--ease-out-soft);
}
.post-row:hover { border-color: var(--ink-900); }
.post-row .wf-thumb { aspect-ratio: 16 / 10; }
.post-row__body h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-title-md);
  color: var(--ink-900);
  margin-bottom: 4px;
}
.post-row__body p {
  font-size: var(--fs-body-sm);
  color: var(--ink-500);
  line-height: var(--lh-loose);
}
.post-row__meta {
  font-size: var(--fs-caption);
  color: var(--ink-400);
  text-align: right;
}
@media (max-width: 720px) {
  .post-row { grid-template-columns: 1fr; }
  .post-row .wf-thumb { aspect-ratio: 16 / 9; }
  .post-row__meta { text-align: left; }
}


/* ───────────────────────────────────────────────
   styles.css L2040-2041 — :root --cta-blue 정의 — 공용 폼(.field) 토큰이라 base로 (contact/request 모두 .field 사용)
   ─────────────────────────────────────────────── */
:root { --cta-blue: #E8642C; }


/* ───────────────────────────────────────────────
   styles.css L2092-2122 — .form-grid/.field 공용 폼 컴포넌트 (contact_form + request_form 2블록 사용) → base
   ─────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-kr);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-900);
}
.field .req { color: var(--cta-blue); margin-left: 2px; }
.field input, .field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--ink-300);
  border-radius: 8px;
  background: var(--paper);
  font-family: var(--font-kr);
  font-size: 14.5px;
  color: var(--ink-900);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cta-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

/* ───────────────────────────────────────────────
   styles.css L2192-2202 — .btn--cta-dark 공용 제출 버튼 (contact_form submit + request 사용) → base
   ─────────────────────────────────────────────── */
.btn--cta-dark {
  background: var(--ink-900);
  color: var(--white);
  border-color: var(--ink-900);
  padding: 0 28px;
  height: 48px;
  font-size: 15px;
  font-weight: 700;
}
.btn--cta-dark:hover { background: var(--ink-800); border-color: var(--ink-800); }


/* ───────────────────────────────────────────────
   styles.css L2555-2558 — .section 패딩 축소 전역 override (block 패딩 variant보다 먼저 로드돼야 함 → base)
   ─────────────────────────────────────────────── */
/* Section padding — slightly reduced */
.section { padding-block: clamp(48px, 6vw, 80px); }
.section--tight { padding-block: clamp(36px, 4.5vw, 64px); }


/* ───────────────────────────────────────────────
   styles.css L3173-3177 — :root --accent 전역 정의
   ─────────────────────────────────────────────── */
/* Accent point color — global override */
:root {
  --accent: #de6528;
}


/* ───────────────────────────────────────────────
   styles.css L3284-3297 — :root 오렌지 팔레트 전역 정의
   ─────────────────────────────────────────────── */
/* Orange palette — global brand accent system */
:root {
  --orange-900: #B8431C;
  --orange-700: #E8642C;   /* main point color */
  --orange-500: #F08755;
  --orange-300: #F4A582;
  --orange-200: #F8C5A8;
  --orange-100: #FCE5DC;
  --orange-50:  #FDF4EE;

  /* Accent alias */
  --accent: var(--orange-700);
}


/* ───────────────────────────────────────────────
   styles.css L3351-3383 — hi-ai-display/hi-ai-cross/sect-head--hixai 공용(15블록 사용) → base. 고-specificity block override(manifesto/quadrant)가 여전히 이김
   ─────────────────────────────────────────────── */
/* HI x AI manifesto — bold English display */
.hi-ai-display {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(42px, 6.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink-900);
  margin: 0 0 28px;
}
.hi-ai-cross {
  color: var(--orange-700, #E8642C);
  font-weight: 800;
}
.sect-head--hixai .sect-head__title {
  font-size: clamp(28px, 3vw, 40px);
}

/* HI x AI display — desaturate to near-background tone */
.hi-ai-display,
.hi-ai-cross {
  color: rgba(26, 23, 20, 0.07) !important;
}

/* HI x AI display — single line */
.hi-ai-display {
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  font-size: clamp(28px, 4.6vw, 64px) !important;
  overflow: hidden;
}


/* ───────────────────────────────────────────────
   styles.css L3387-3394 — hi-ai-display 단일행/줄바꿈 반복 override (공용) → base
   ─────────────────────────────────────────────── */
/* HI x AI display — single line, no truncation */
.hi-ai-display {
  white-space: nowrap !important;
  font-size: clamp(20px, 4.2vw, 56px) !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: none !important;
}

/* ───────────────────────────────────────────────
   styles.css L3397-3421 — hi-ai-display wrap/nowrap 반복 + hixai 줄높이 override (공용) → base
   ─────────────────────────────────────────────── */
/* HI x AI — restore wrap (two lines, larger again) */
.hi-ai-display {
  white-space: normal !important;
  font-size: clamp(42px, 6.5vw, 96px) !important;
}

/* HI x AI display — single line, smaller font (revert wrap+enlarge) */
.hi-ai-display {
  white-space: nowrap !important;
  font-size: clamp(20px, 4vw, 56px) !important;
  overflow: visible !important;
}

/* HI x AI — back to two lines (smaller font preserved) */
.hi-ai-display { white-space: normal !important; }

/* Force nowrap on hi-ai-display */
.hi-ai-display { white-space: nowrap !important; }

/* Hixai sub-title — looser line-height */
.sect-head--hixai .sect-head__title { line-height: 1.45 !important; }

/* Hixai sub-title — slightly tighter line-height */
.sect-head--hixai .sect-head__title { line-height: 1.32 !important; }


/* ───────────────────────────────────────────────
   styles.css L3714-3728 — .review-section__sub(+em) 공용 섹션 서브라인 (10+블록 사용) → base
   ─────────────────────────────────────────────── */
/* Custom property used by the left-border treatment block far below */
/* Review section — small sub-line under the main heading */
.review-section__sub {
  margin: 16px 0 0;
  font-family: var(--font-kr);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-500);
  line-height: 1.6;
}
.review-section__sub em {
  font-style: normal !important;
  color: var(--orange-700, #E8642C);
  font-weight: 700;
}

/* ───────────────────────────────────────────────
   styles.css L3740-3744 — .review-section__sub(bigger) override — 공용 패밀리 co-locate → base
   ─────────────────────────────────────────────── */
.review-section__sub {
  font-size: 18px !important;
  margin: 0 0 12px !important;
  font-weight: 600 !important;
}

/* ───────────────────────────────────────────────
   styles.css L3760-3767 — .review-section__sub(medium) 최종 override — 공용 패밀리 co-locate → base (L3761이 마지막에 이김)
   ─────────────────────────────────────────────── */
/* Review sub — below the heading again, medium size */
.review-section__sub {
  margin: 16px 0 0 !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: var(--ink-700) !important;
  line-height: 1.7;
}

/* ───────────────────────────────────────────────
   styles.css L4018-4035 — .sect-head--manifesto .hi-ai-display/.sect-head__title override — cta + message 2블록 공용 → base (hi-ai-display 패밀리와 동일 배치)
   ─────────────────────────────────────────────── */
/* Manifesto head — compact (SADARI AI STUDIO + 사다리 그 이름의 이유 + quote) */
.sect-head--manifesto .hi-ai-display {
  margin: 0 !important;
  font-size: clamp(16px, 2.6vw, 32px) !important;
  line-height: 1 !important;
}
.sect-head--manifesto .sect-head__title {
  margin-top: 6px !important;
  font-size: clamp(22px, 2.4vw, 32px) !important;
  line-height: 1.3 !important;
}
.sect-head--manifesto + .manifesto { margin-top: 18px !important; }
.sect-head--manifesto + .manifesto .manifesto__quote {
  margin: 0 0 18px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}


/* ───────────────────────────────────────────────
   styles.css L5253-5257 — .service-grid--static hover 비활성 (공용 그리드)
   ─────────────────────────────────────────────── */
/* Service grid — static (no hover lift) */
.service-grid--static .feature-card { transition: none; }
.service-grid--static .feature-card:hover { transform: none; }

/* ============================================================
   Browse bar — "제목 + 메뉴" 공통 컴포넌트
   코스(course_browse) · 스토어(store_browse) · 블로그(blog-head)가 공유.
   좌측: 제목 라벨 + 구분선 + 텍스트 탭(활성 = 오렌지 언더라인).
   우측(선택): 정렬 등 페이지 고유 요소.
   JS 훅(.block_*__tab 등)은 각 블록 마크업에 병기 — 여기서는 시각만 담당.
   정책: :hover 시각 변화 없음.
   ============================================================ */
.browse-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  min-height: 48px;
  border-bottom: 1px solid var(--ink-100);
  margin-bottom: var(--space-lg);
}
/* 제목 + 탭을 한 덩어리로 묶는 좌측 그룹 */
.browse-bar__group {
  display: flex;
  align-items: flex-end;
  gap: var(--space-md);
  min-width: 0;
}
/* 제목 라벨 — 탭과 같은 폰트 크기, 굵기/색으로 구분 + 우측 구분선 */
.browse-bar__label {
  flex: none;
  margin: 0;
  padding: 0 var(--space-md) var(--space-sm) 0;
  border-right: 1px solid var(--ink-100);
  font-family: inherit;
  font-size: var(--fs-title-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink-900);
  white-space: nowrap;
}
/* 탭 묶음 */
.browse-bar__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
/* 개별 탭 — button(코스/스토어) · a(블로그) 공용 */
.browse-bar__tab {
  position: relative;
  padding: 0 0 var(--space-sm);
  font-size: var(--fs-title-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink-500);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
/* 활성 탭 — .is-active(JS 토글) / [aria-current](블로그 링크) 공용 */
.browse-bar__tab.is-active,
.browse-bar__tab[aria-current] {
  color: var(--orange-700);
}
.browse-bar__tab.is-active::after,
.browse-bar__tab[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--orange-700);
  border-radius: var(--r-pill);
}
@media (max-width: 560px) {
  .browse-bar { align-items: flex-start; }
}



/* ============================================================
   Page dots — 페이지 우측 스크롤 인디케이터 (REFERENCE studio side dot indicator)
   마크업: page-indicator.php(footer) / 스크롤스파이: sadari-blocks.js
   ============================================================ */
.page-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 50;
  pointer-events: auto;
}
.page-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 6px 8px 28px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.page-dot__mark {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-200);
  transition: background 0.25s var(--ease-out-soft, ease),
              transform 0.25s var(--ease-out-soft, ease);
}
.page-dot.is-active .page-dot__mark {
  background: var(--orange-700);
  transform: scale(1.2);
}
.page-dot__label {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-200);
  white-space: nowrap;
  pointer-events: none;
  transition: color 0.25s var(--ease-out-soft, ease);
}
.page-dot.is-active .page-dot__label {
  color: var(--ink-900);
}
@media (max-width: 900px) {
  .page-dots { display: none; }
}
