/* ==========================================================================
   RE:PERSONAL — Home Page
   Editorial Column Aesthetic — No emojis, typography-driven
   ========================================================================== */

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero-banner {
  background: #18181B;
  margin-top: var(--nav-h, 64px);
}

.hero-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem var(--pad);
  gap: 2.5rem;
  max-width: var(--container, 1200px);
  margin: 0 auto;
}

.hero-banner-title {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 300;
  font-size: 1.35rem;
  color: rgba(250,250,250,0.7);
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.hero-banner-title mark {
  background: none;
  font-weight: 700;
  color: #FAFAFA;
  background-image: linear-gradient(transparent 55%, #C54820 55%, #C54820 90%, transparent 90%);
}

.hero-banner-btn {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: #18181B;
  background: #FAFAFA;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.55rem 1.3rem;
  border: none;
  border-radius: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.hero-banner-btn:hover {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
}

@media (max-width: 480px) {
  .hero-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Reduce gap between banner and first content */
.hero-banner + .section {
  padding-top: var(--space-xl);
}

.hero-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  letter-spacing: 0.03em;
}

/* ── Hero Orbit — Concentric circles with colored dots ─────────────────── */

.hero-orbit {
  position: relative;
  width: clamp(220px, 28vw, 340px);
  height: clamp(220px, 28vw, 340px);
  margin: 0 auto;
}

.hero-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.hero-orbit-ring--1 { inset: 0; }
.hero-orbit-ring--2 { inset: 20%; }
.hero-orbit-ring--3 { inset: 40%; }

.hero-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color);
  top: calc(50% - 4px);
  left: calc(50% - 4px);
  transform: rotate(var(--angle)) translateX(calc(clamp(110px, 14vw, 170px) / 2));
}

@media (max-width: 767px) {
  .hero-visual {
    display: flex;
    justify-content: center;
  }
  .hero-inner {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
}

/* ── Section with top rule ─────────────────────────────────────────────── */

.section--ruled {
  border-top: 1px solid var(--border);
}

/* ── Section Header with Number ────────────────────────────────────────── */

.section-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.section-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--border);
  line-height: 1;
  user-select: none;
}

.section-heading {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.section-lead {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: var(--space-xl);
}

/* ── Problem List — Ruled rows, not cards ──────────────────────────────── */

.problem-list {
  display: flex;
  flex-direction: column;
}

.problem-item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
}

.problem-item:last-child {
  border-bottom: none;
}

.problem-item h3 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: var(--space-2xs);
}

.problem-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Pull Quote ────────────────────────────────────────────────────────── */

.section--quote {
  padding: var(--space-5xl) 0;
}

.pullquote {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--text);
  line-height: 1.7;
  text-align: center;
  position: relative;
  padding: 0 var(--space-xl);
  border: none;
  margin: 0;
}

.pullquote::before,
.pullquote::after {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 3rem;
  color: var(--border);
  line-height: 1;
}

.pullquote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 0;
}

.pullquote::after {
  content: '\201D';
}

/* ── Column Grid ───────────────────────────────────────────────────────── */

.column-grid {
  display: grid;
  gap: var(--space-xl);
}

.column-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .column-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.column-item {
  padding-top: var(--space-lg);
  border-top: 2px solid var(--border);
}

.column-item h3 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.column-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Timeline ──────────────────────────────────────────────────────────── */

.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: var(--space-3xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-step {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  position: relative;
}

.timeline-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-muted);
  position: absolute;
  left: calc(-1 * var(--space-3xl));
  width: 2.5rem;
  text-align: center;
  background: var(--bg);
  padding: 2px 0;
}

.timeline-body h3 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: var(--space-2xs);
}

.timeline-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Type List — Clean rows with colored dot ───────────────────────────── */

.type-list {
  display: flex;
  flex-direction: column;
}

.type-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
  transition: padding-left var(--ease);
}

.type-row:hover {
  padding-left: var(--space-sm);
}

.type-indicator {
  flex-shrink: 0;
  padding-top: 6px;
}

.type-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--type-clr);
}

.type-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2px;
}

.type-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.type-core {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: var(--space-2xs);
  letter-spacing: 0.02em;
}

/* ── Combo List ────────────────────────────────────────────────────────── */

.combo-list {
  display: flex;
  flex-direction: column;
}

.combo-item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
}

.combo-item:last-child {
  border-bottom: none;
}

.combo-dots {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.combo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.combo-plus {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.combo-item h3 {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 2px;
}

.combo-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.combo-example {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Report Preview Layout ─────────────────────────────────────────────── */

.report-preview-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .report-preview-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.report-preview-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.report-preview-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.7;
}

.report-preview-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Mock Report Page ──────────────────────────────────────────────────── */

.mock-page {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  overflow: hidden;
}

.mock-line {
  height: 8px;
  background: var(--bg-warm);
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

.mock-line--title {
  width: 60%;
  height: 14px;
  background: var(--border);
}

.mock-line--short { width: 40%; }
.mock-line--medium { width: 75%; }

.mock-spacer {
  height: var(--space-md);
}

.mock-chart {
  max-width: 140px;
  margin: var(--space-md) auto;
}

.mock-chart svg {
  width: 100%;
  height: auto;
}

.mock-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(250,249,246,0.95) 80%);
}

/* ── Legacy compatibility aliases ──────────────────────────────────────── */

.section-problems,
.section-philosophy,
.section-journey,
.section-types,
.section-report,
.section-combos,
.section-combinations {
  padding: var(--space-4xl) 0;
}

@media (max-width: 767px) {
  .section-problems,
  .section-philosophy,
  .section-journey,
  .section-types,
  .section-report,
  .section-combos,
  .section-combinations {
    padding: var(--space-3xl) 0;
  }
}

/* Legacy hero aliases */
.hero-headline {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-note {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  letter-spacing: 0.03em;
}

/* ── Concern Groups ────────────────────────────────────────────────────── */

.concern-group {
  padding: 2.5rem 0;
  border-bottom: 1px solid #F0F0F4;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.concern-group:first-child {
  padding-top: 2rem;
}

.concern-group:last-child {
  border-bottom: none;
}

.concern-title {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.35rem;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.concern-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1.2rem;
  letter-spacing: 0.005em;
}

.concern-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.4rem;
  border: 1px solid #E8E8EC;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 170px;
  background: #fff;
  position: relative;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #18181B;
  border-radius: 10px 10px 0 0;
  opacity: 0;
  transition: opacity 0.25s;
}

.article-card:hover {
  border-color: #D4D4D8;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.article-card:hover::before {
  opacity: 1;
}

.article-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  color: #A1A1AA;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.article-body {
  flex: 1;
}

.article-body h3 {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #18181B;
  margin-bottom: 0.45rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.article-body p {
  font-size: 0.78rem;
  color: #71717A;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
}

.article-arrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #D4D4D8;
  align-self: flex-end;
  margin-top: 1rem;
  transition: all 0.25s;
}

.article-card:hover .article-arrow {
  transform: translateX(4px);
  color: #18181B;
}

.article-card--cta {
  background: #FAFAFA;
  border-color: #F0F0F4;
}

.article-card--cta::before {
  background: #C54820;
}

.article-card--cta h3 {
  font-weight: 700;
}

@media (max-width: 640px) {
  .concern-articles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .concern-articles {
    grid-template-columns: 1fr;
  }
}

/* CTA banner */
.cta-banner-inner {
  background: var(--bg-dark, #09090B);
  border-radius: 16px;
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.cta-banner-text h3 {
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-inverse, #FAFAFA);
  margin-bottom: var(--space-xs);
  line-height: 1.5;
}

.cta-banner-text p {
  color: rgba(250,250,250,0.5);
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl);
  }
}
