/* ============================================================
   RIDGE ASSET — DESIGN SYSTEM (warm gray + soft lavender)
   ============================================================ */

:root {
  --primary-gray: #5a545e;
  --secondary-gray: #8a848e;
  --accent-line: #9a94a0;
  --accent-dot: #7a7480;
  --dark-bg: #3e3a44;
  --light-bg: #f6f3f4;
  --white: #fefcfd;

  --accent: #6b5d84;
  --accent-light: #9b8bb8;
  --accent-soft: rgba(107, 93, 132, 0.08);

  --text-primary: #2e2c38;
  --text-body: #5a545e;
  --text-muted: #8a848e;
  --text-faint: #b8b0c0;

  --section-padding: clamp(80px, 10vw, 160px);
  --container-padding: clamp(24px, 5vw, 80px);
  --header-height: 88px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans KR", sans-serif;
  background: var(--light-bg);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

.serif-en {
  font-family: "Cormorant Garamond", "Georgia", serif;
}
.serif-kr {
  font-family: "Noto Serif KR", serif;
}
.mono {
  font-family: "JetBrains Mono", monospace;
}

/* ============ ORNAMENT ============ */
.ornament {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ornament::before,
.ornament::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--accent-line);
}
.ornament-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-dot);
}
.ornament-accent::before,
.ornament-accent::after {
  background: var(--accent-light);
}
.ornament-accent .ornament-dot {
  background: var(--accent);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px var(--container-padding);
  background: rgba(246, 243, 244, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    padding 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: rgba(154, 148, 160, 0.2);
  padding: 16px var(--container-padding);
}
.site-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo-en {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--primary-gray);
}
.site-logo-kr {
  font-family: "Noto Serif KR", serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--secondary-gray);
  margin-top: 4px;
}
.site-nav {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-left: auto;
}
.site-nav a {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-gray);
  text-decoration: none;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s ease;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}
.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--primary-gray);
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============ HERO (front page) ============ */
.hero {
  min-height: 100vh;
  padding: 160px var(--container-padding) 80px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-watermark {
  position: absolute;
  right: -8%;
  bottom: -15%;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(400px, 50vw, 800px);
  line-height: 1;
  color: var(--accent-soft);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.2s forwards;
}
.hero-eyebrow .ornament {
  gap: 12px;
}
.hero-eyebrow-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  font-weight: 500;
}
.hero-title {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.4s forwards;
}
.hero-title .line-1 {
  font-weight: 300;
  color: var(--text-primary);
  display: block;
}
.hero-title .line-2 {
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}
.hero-title .accent-word {
  color: var(--accent);
  position: relative;
}
.hero-description {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}
.hero-cta-group {
  display: flex;
  gap: 32px;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 4px;
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  transform: translateX(4px);
}
.btn-primary svg {
  transition: transform 0.3s ease;
}
.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-gray);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.btn-secondary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-gray);
  transition: background 0.3s ease;
}
.btn-secondary:hover {
  color: var(--accent);
}
.btn-secondary:hover::after {
  background: var(--accent);
}

.hero-side {
  position: absolute;
  left: var(--container-padding);
  bottom: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.hero-side-line {
  width: 60px;
  height: 1px;
  background: var(--accent-line);
}
.hero-side-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}
.hero-slogan {
  position: absolute;
  right: var(--container-padding);
  bottom: 60px;
  text-align: right;
  z-index: 2;
}
.hero-slogan-en {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.hero-slogan-kr {
  font-family: "Noto Serif KR", serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  line-height: 1.7;
}

/* ============ PHILOSOPHY (Beyond the RIDGE) ============ */
.philosophy {
  padding: var(--section-padding) var(--container-padding);
  background: var(--dark-bg);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.philosophy-watermark {
  position: absolute;
  left: -5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(300px, 40vw, 560px);
  font-weight: 500;
  line-height: 1;
  color: rgba(232, 226, 236, 0.04);
  pointer-events: none;
  user-select: none;
}
.philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.philosophy-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent-light);
  margin-bottom: 32px;
  font-weight: 500;
}
.philosophy-ornament {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}
.philosophy-ornament .ornament::before,
.philosophy-ornament .ornament::after {
  background: var(--accent-light);
  width: 60px;
}
.philosophy-ornament .ornament-dot {
  background: var(--accent-light);
  width: 6px;
  height: 6px;
}
.philosophy-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 56px;
  color: #f4f2f4;
}
.philosophy-title .accent {
  color: var(--accent-light);
  font-style: italic;
}
.philosophy-quote {
  font-family: "Noto Serif KR", serif;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 2;
  color: rgba(244, 242, 244, 0.85);
  max-width: 720px;
  margin: 0 auto 24px;
  letter-spacing: 0.02em;
}
.philosophy-attribution {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--accent-light);
  letter-spacing: 0.3em;
  margin-top: 48px;
}

/* ============ SECTIONS GRID (front page) ============ */
.sections {
  padding: var(--section-padding) var(--container-padding);
  background: var(--light-bg);
}
.sections-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.sections-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 96px;
  align-items: end;
}
.sections-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sections-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.sections-title {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.sections-title strong {
  font-weight: 600;
  color: var(--accent);
}
.sections-description {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 480px;
}
.section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(154, 148, 160, 0.2);
  border: 1px solid rgba(154, 148, 160, 0.2);
}
.section-card {
  background: var(--light-bg);
  padding: 56px 40px;
  position: relative;
  cursor: pointer;
  transition: all 0.5s ease;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.section-card:hover {
  background: var(--white);
}
.section-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  margin-bottom: 40px;
  transition: color 0.3s ease;
}
.section-card:hover .section-number {
  color: var(--accent);
}
.section-card-en {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-style: italic;
  text-transform: uppercase;
}
.section-card-kr {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  transition: color 0.3s ease;
}
.section-card:hover .section-card-kr {
  color: var(--accent);
}
.section-card-desc {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: auto;
}
.section-card-arrow {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  transition: all 0.3s ease;
}
.section-card:hover .section-card-arrow {
  color: var(--accent);
  gap: 14px;
}
.section-card-arrow svg {
  transition: transform 0.3s ease;
}
.section-card:hover .section-card-arrow svg {
  transform: translateX(4px);
}

/* ============ STATS ============ */
.stats {
  padding: 120px var(--container-padding);
  background: var(--white);
  border-top: 1px solid rgba(154, 148, 160, 0.2);
  border-bottom: 1px solid rgba(154, 148, 160, 0.2);
}
.stats-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}
.stat {
  text-align: center;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(154, 148, 160, 0.3);
}
.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.stat-value {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-value .unit {
  font-size: 0.5em;
  color: var(--accent);
  margin-left: 4px;
}
/* 숫자 대신 문구가 들어가는 칸(FOCUS·APPROACH) — 모바일 .stat-value 크기 규칙보다 우선 */
.stat-value.stat-value--text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.stat-desc {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--dark-bg);
  color: rgba(244, 242, 244, 0.7);
  padding: 100px var(--container-padding) 40px;
}
.site-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.site-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(154, 148, 160, 0.2);
  margin-bottom: 40px;
}
.site-footer-brand .site-logo-en {
  color: var(--white);
  font-size: 26px;
}
.site-footer-brand .site-logo-kr {
  color: var(--accent-light);
  margin-top: 8px;
}
.site-footer-tagline {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 18px;
  color: var(--accent-light);
  margin-top: 32px;
  margin-bottom: 24px;
}
.site-footer-info {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(244, 242, 244, 0.5);
}
.site-footer-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent-light);
  margin-bottom: 24px;
  font-weight: 500;
  text-transform: uppercase;
}
.site-footer-col ul {
  list-style: none;
}
.site-footer-col li {
  margin-bottom: 12px;
}
.site-footer-col a {
  color: rgba(244, 242, 244, 0.7);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}
.site-footer-col a:hover {
  color: var(--accent-light);
}
.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(244, 242, 244, 0.4);
  letter-spacing: 0.1em;
}
.site-footer-bottom-links {
  display: flex;
  gap: 32px;
}
.site-footer-bottom-links a {
  color: rgba(244, 242, 244, 0.4);
  text-decoration: none;
}
.site-footer-bottom-links a:hover {
  color: var(--accent-light);
}

/* ============ SUBPAGE: PAGE-HERO ============ */
.page-hero {
  padding: 200px var(--container-padding) 100px;
  position: relative;
  overflow: hidden;
}
.page-hero-watermark {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-40%);
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(300px, 40vw, 600px);
  line-height: 1;
  color: var(--accent-soft);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.page-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.breadcrumb .accent {
  color: var(--accent);
}
.breadcrumb-divider {
  color: var(--text-faint);
}
.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.page-eyebrow-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  font-weight: 500;
}
.page-title-en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.page-title {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.15;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.page-title strong {
  font-weight: 600;
  color: var(--accent);
}
.sub-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(154, 148, 160, 0.3);
  margin-top: 32px;
  flex-wrap: wrap;
}
.sub-nav a {
  padding: 18px 32px 18px 0;
  margin-right: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s ease;
}
.sub-nav a.active {
  color: var(--accent);
}
.sub-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: calc(100% - 32px);
  height: 2px;
  background: var(--accent);
}
.sub-nav a:hover {
  color: var(--accent);
}

/* ============ INTRO QUOTE ============ */
.intro-quote {
  padding: 100px var(--container-padding);
  background: var(--white);
  border-top: 1px solid rgba(154, 148, 160, 0.15);
  border-bottom: 1px solid rgba(154, 148, 160, 0.15);
}
.intro-quote-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}
.intro-quote-text {
  font-family: "Noto Serif KR", serif;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.7;
  color: var(--text-primary);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 56px;
}
.intro-quote-divider {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}
.intro-quote-divider .ornament::before,
.intro-quote-divider .ornament::after {
  width: 60px;
}
.intro-quote-body {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 2;
  color: var(--text-body);
  max-width: 820px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* ============ PRINCIPLES (numbered list) ============ */
.principles {
  padding: var(--section-padding) var(--container-padding);
}
.principles-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.section-eyebrow-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  font-weight: 500;
}
.section-title-center {
  text-align: center;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 96px;
}
.section-title-center strong {
  font-weight: 600;
  color: var(--accent);
}
.principle-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.principle-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  padding: 80px 0;
  border-top: 1px solid rgba(154, 148, 160, 0.2);
  position: relative;
  transition: background 0.4s ease;
}
.principle-item:last-child {
  border-bottom: 1px solid rgba(154, 148, 160, 0.2);
}
.principle-item:hover {
  background: rgba(107, 93, 132, 0.02);
}
.principle-item:hover .principle-number {
  color: var(--accent);
}
.principle-item:hover .principle-number-line {
  width: 80px;
  background: var(--accent);
}
.principle-number-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}
.principle-number {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 500;
  line-height: 1;
  color: var(--text-faint);
  font-style: italic;
  transition: color 0.4s ease;
}
.principle-number-line {
  width: 40px;
  height: 1px;
  background: var(--accent-line);
  transition: all 0.4s ease;
}
.principle-content h3 {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.principle-content p {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 2;
  color: var(--text-body);
  letter-spacing: 0.01em;
}
.principle-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.principle-tag::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
}

/* ============ THREE PILLARS (dark band) ============ */
.pillars {
  padding: var(--section-padding) var(--container-padding);
  background: var(--dark-bg);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.pillars-watermark {
  position: absolute;
  right: -10%;
  bottom: -20%;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(300px, 35vw, 500px);
  font-weight: 500;
  line-height: 1;
  color: rgba(232, 226, 236, 0.04);
  pointer-events: none;
  user-select: none;
}
.pillars-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pillars-header {
  text-align: center;
  margin-bottom: 96px;
}
.pillars-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent-light);
  margin-bottom: 32px;
}
.pillars-divider {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.pillars-divider .ornament::before,
.pillars-divider .ornament::after {
  background: var(--accent-light);
  width: 60px;
}
.pillars-divider .ornament-dot {
  background: var(--accent-light);
}
.pillars-title {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.3;
  color: #f4f2f4;
  letter-spacing: -0.02em;
}
.pillars-title strong {
  font-weight: 600;
  color: var(--accent-light);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(155, 139, 184, 0.15);
}
.pillar {
  background: var(--dark-bg);
  padding: 64px 48px;
  text-align: center;
  transition: background 0.4s ease;
}
.pillar:hover {
  background: rgba(107, 93, 132, 0.15);
}
.pillar-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent-light);
  margin-bottom: 32px;
}
.pillar-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.pillar-subtitle {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}
.pillar-desc {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(244, 242, 244, 0.7);
  letter-spacing: 0.01em;
}

/* ============ CLOSING CTA ============ */
.closing {
  padding: var(--section-padding) var(--container-padding);
  background: var(--light-bg);
  text-align: center;
}
.closing-inner {
  max-width: 920px;
  margin: 0 auto;
}
.closing-divider {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.closing-divider .ornament::before,
.closing-divider .ornament::after {
  width: 80px;
}
.closing-title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}
.closing-text {
  font-family: "Noto Serif KR", serif;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 2.1;
  color: var(--text-body);
  letter-spacing: 0.01em;
  margin-bottom: 64px;
}
.closing-text strong {
  font-weight: 500;
  color: var(--accent);
}
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 4px;
}
.closing-cta:hover {
  background: var(--text-primary);
  transform: translateX(4px);
}
.closing-cta svg {
  transition: transform 0.3s ease;
}
.closing-cta:hover svg {
  transform: translateX(4px);
}

/* ============ BOARD / NOTICE LIST ============ */
.board-wrap {
  padding: 80px var(--container-padding) var(--section-padding);
}
.board-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.board-list {
  list-style: none;
  border-top: 1px solid rgba(154, 148, 160, 0.3);
}
.board-list li {
  border-bottom: 1px solid rgba(154, 148, 160, 0.2);
  transition: background 0.3s ease;
}
.board-list li:hover {
  background: rgba(107, 93, 132, 0.04);
}
.board-list a {
  display: grid;
  grid-template-columns: 80px 1fr 140px;
  gap: 32px;
  align-items: center;
  padding: 28px 16px;
  text-decoration: none;
  color: inherit;
}
.board-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}
.board-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.board-list a:hover .board-title {
  color: var(--accent);
}
.board-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  letter-spacing: 0.05em;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid rgba(154, 148, 160, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
}
.pagination a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.pagination .current {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.post-detail {
  padding: 60px var(--container-padding) var(--section-padding);
}
.post-detail-inner {
  max-width: 920px;
  margin: 0 auto;
}
.post-detail-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(154, 148, 160, 0.3);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.post-detail-title {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.post-detail-body {
  padding: 48px 0;
  border-top: 1px solid rgba(154, 148, 160, 0.2);
  border-bottom: 1px solid rgba(154, 148, 160, 0.2);
  font-size: 16px;
  line-height: 2;
  color: var(--text-body);
}
.post-detail-body p {
  margin-bottom: 24px;
}
.post-detail-body h2,
.post-detail-body h3 {
  margin: 32px 0 16px;
  color: var(--text-primary);
  font-weight: 600;
}
.post-detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.post-detail-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid rgba(154, 148, 160, 0.4);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--primary-gray);
  text-decoration: none;
  transition: all 0.3s ease;
}
.post-detail-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.post-detail-nav a.list-btn {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.post-detail-nav a.list-btn:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--white);
}

/* ============ ORG / TEAM ============ */
.org-section,
.team-section {
  padding: var(--section-padding) var(--container-padding);
}
.org-inner,
.team-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 60px 0;
}
.org-node {
  background: var(--white);
  border: 1px solid rgba(154, 148, 160, 0.3);
  border-radius: 6px;
  padding: 24px 48px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  min-width: 200px;
  transition: all 0.3s ease;
}
.org-node.top {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.org-node:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.org-line {
  width: 1px;
  height: 40px;
  background: rgba(154, 148, 160, 0.5);
}
.org-row {
  display: flex;
  gap: 48px;
  position: relative;
}
.org-row::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(154, 148, 160, 0.5);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(154, 148, 160, 0.2);
  border: 1px solid rgba(154, 148, 160, 0.2);
  margin-top: 60px;
}
.team-card {
  background: var(--white);
  padding: 56px 40px;
  text-align: center;
  transition: all 0.3s ease;
}
.team-card:hover {
  background: rgba(107, 93, 132, 0.04);
}
.team-card-en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.team-card-kr {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.team-card-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
}

/* ============ CONTACT / MAP ============ */
.contact-section {
  padding: var(--section-padding) var(--container-padding);
}
.contact-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info-block {
  padding: 8px 0;
}
.contact-info-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(154, 148, 160, 0.2);
}
.contact-info-row:first-child {
  border-top: 1px solid rgba(154, 148, 160, 0.2);
}
.contact-info-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 4px;
}
.contact-info-value {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.7;
}
.contact-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--white);
  border: 1px solid rgba(154, 148, 160, 0.3);
  border-radius: 8px;
  overflow: hidden;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ RECRUIT ============ */
.recruit-section {
  padding: var(--section-padding) var(--container-padding);
}
.recruit-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.recruit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.recruit-card {
  background: var(--white);
  border: 1px solid rgba(154, 148, 160, 0.2);
  border-radius: 8px;
  padding: 48px 36px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.recruit-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(107, 93, 132, 0.08);
}
.recruit-card-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.recruit-card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.recruit-card-en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.recruit-card-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 32px;
  flex-grow: 1;
}
.recruit-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  transition: gap 0.3s ease;
}
.recruit-card:hover .recruit-card-arrow {
  gap: 14px;
}

/* ============ STRATEGY (process steps) ============ */
.strategy-process {
  padding: var(--section-padding) var(--container-padding);
}
.strategy-process-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(154, 148, 160, 0.2);
  border: 1px solid rgba(154, 148, 160, 0.2);
  margin-top: 60px;
}
.process-step {
  background: var(--light-bg);
  padding: 48px 32px;
  text-align: center;
  transition: background 0.3s ease;
}
.process-step:hover {
  background: var(--white);
}
.process-step-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 16px;
}
.process-step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.process-step-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ============ POPUP (legacy WP popup CPT) ============ */
#ridge-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(46, 44, 56, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#ridge-popup-overlay.active {
  display: flex;
}
#ridge-popup-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ridge-popup {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 32px 24px;
  position: relative;
  box-shadow: 0 24px 64px rgba(46, 44, 56, 0.25);
}
.ridge-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}
.ridge-popup-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.ridge-popup-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}
.ridge-popup-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.ridge-popup-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(154, 148, 160, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}
.ridge-popup-confirm {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .stat:nth-child(2)::after {
    display: none;
  }
  .site-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .sections-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .recruit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
    --container-padding: 24px;
  }
  .site-header {
    padding: 18px 24px;
  }
  .site-header.scrolled {
    padding: 14px 24px;
  }
  .site-logo-en {
    font-size: 18px;
  }
  .site-logo-kr {
    font-size: 9px;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 40px;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -20px 0 40px rgba(58, 54, 62, 0.1);
  }
  .site-nav.active {
    right: 0;
  }
  .site-nav a {
    font-size: 18px;
    font-weight: 500;
  }
  .menu-toggle {
    display: flex;
    z-index: 101;
  }

  .hero {
    padding: 120px 24px 100px;
    min-height: auto;
  }
  .hero-watermark {
    font-size: 380px;
    right: -15%;
    bottom: -10%;
    opacity: 0.7;
  }
  .hero-eyebrow {
    margin-bottom: 32px;
  }
  .hero-title {
    font-size: 38px;
    margin-bottom: 28px;
  }
  .hero-description {
    font-size: 14px;
    margin-bottom: 40px;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .btn-primary {
    justify-content: center;
    padding: 16px 24px;
  }
  .hero-side,
  .hero-slogan {
    display: none;
  }

  .philosophy-title {
    font-size: 44px;
  }
  .philosophy-quote {
    font-size: 15px;
    line-height: 1.9;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }
  .section-card {
    min-height: 280px;
    padding: 40px 28px;
  }
  .section-card-kr {
    font-size: 24px;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .stat:not(:last-child)::after {
    display: none;
  }

  .site-footer {
    padding: 60px 24px 32px;
  }
  .site-footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .site-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .site-footer-bottom-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-hero {
    padding: 120px 24px 60px;
  }
  .page-hero-watermark {
    font-size: 280px;
    right: -20%;
    opacity: 0.6;
  }
  .page-title {
    font-size: 36px;
  }

  .sub-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sub-nav::-webkit-scrollbar {
    display: none;
  }
  .sub-nav a {
    padding: 16px 0;
    margin-right: 24px;
    white-space: nowrap;
  }
  .sub-nav a.active::after {
    width: 100%;
  }

  .intro-quote {
    padding: 60px 24px;
  }
  .quote-mark {
    font-size: 60px;
  }

  .principle-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 56px 0;
  }
  .principle-number-wrap {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .principle-number {
    font-size: 56px;
  }
  .principle-number-line {
    width: 60px;
  }

  .pillar {
    padding: 48px 32px;
  }

  .closing-title {
    font-size: 36px;
  }
  .closing-text {
    font-size: 15px;
  }

  .recruit-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }

  .board-list a {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
  .board-date {
    display: none;
  }
  .post-detail-meta {
    flex-direction: column;
    gap: 8px;
  }
  .post-detail-nav {
    justify-content: center;
  }
}

/* ===== i18n 언어 전환 ===== */
.i18n-en {
  display: none;
}
html.lang-en .i18n-ko {
  display: none;
}
html.lang-en .i18n-en {
  display: inline;
}

/* 영문 모드: 헤더 로고 하단 보조문(Asset Management)을 숨기고 RIDGE ASSET만 노출 */
html.lang-en .site-header .site-logo-kr {
  display: none;
}

/* 토글 버튼 */
.lang-toggle {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  padding: 4px 10px;
  margin-left: 18px;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.5px;
  line-height: 1;
  color: inherit;
}
.lang-toggle .lang-opt {
  opacity: 0.45;
  transition: opacity 0.15s;
}
.lang-toggle .lang-sep {
  opacity: 0.35;
  margin: 0 4px;
}
html:not(.lang-en) .lang-opt-ko,
html.lang-en .lang-opt-en {
  opacity: 1;
  font-weight: 700;
}
.lang-toggle:hover {
  border-color: rgba(0, 0, 0, 0.5);
}
