/* ============================================
   ABOUT — refined layout (same language as the project detail page)
   1) full-screen hero, title at bottom-left
   2) editorial 2-column sections: small label left, content right
   3) no grid lines / boxes / hover fills, Medium headings, black text
   ============================================ */

/* ---------- HERO: full screen, text anchored bottom-left ---------- */
.about-hero {
  min-height: 100vh;
  padding: 0 40px;
  align-items: center;
}
.about-hero-inner { max-width: none; margin: 0; }
.about-hero-title { font-weight: 500; font-size: clamp(40px, 8vw, 140px); }
@media (min-width: 769px) {
  .about-hero-title { font-size: clamp(40px, 5.5vw, 96px); }
  .about-hero-subtitle { margin-top: 20px; }
  .about-hero-desc { margin-top: 12px; font-size: 13px; font-weight: 400; }
}
.about-hero-subtitle { margin-top: 36px; }

/* hero motion — editorial & minimal: no sliding. The title fades in with wide tracking
   that slowly tightens into place; the copy below simply fades in afterwards */
.about-hero-title .line { overflow: visible; }
.about-hero-title .word {
  transform: none;
  letter-spacing: .12em;
  animation: heroTrackIn 2.2s cubic-bezier(.16, 1, .3, 1) forwards;
}
.about-hero-title .line:nth-child(1) .word { animation-delay: .3s; }
.about-hero-title .line:nth-child(2) .word { animation-delay: .45s; }
.about-hero-subtitle,
.about-hero-desc {
  transform: none;
  animation: heroFade 1.4s ease forwards;
}
.about-hero-subtitle { animation-delay: 1.3s; }
.about-hero-desc { animation-delay: 1.5s; }
@keyframes heroTrackIn {
  0%   { opacity: 0; letter-spacing: .12em; }
  60%  { opacity: 1; }
  100% { opacity: 1; letter-spacing: -0.04em; }
}
@keyframes heroFade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .about-hero-title .word { letter-spacing: -0.04em; animation: heroFade 1s ease .2s forwards; }
}

/* ---------- 2-COLUMN EDITORIAL SECTIONS ---------- */
.about-intro,
.philosophy,
.cic-section,
.process {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr;
  column-gap: 40px;
  padding: 140px 40px 0;
  background: var(--white);
  color: var(--black);
}
.about-intro > *,
.philosophy > *,
.cic-section > *,
.process > * { grid-column: 2; min-width: 0; }

.about-page .section-head {
  grid-column: 1;
  grid-row: 1 / span 4;
  border-top: none;
  padding: 0;
}
.about-page .section-label {
  position: sticky;
  top: 100px;
  display: block;
  font-size: 12px;
  font-weight: 700;
}

/* VALUE */
.intro-inner { display: block; padding: 0; }
.intro-title { font-weight: 500; font-size: clamp(32px, 4vw, 60px); margin-bottom: 40px; }
.intro-title em { opacity: 1; }
.intro-body { max-width: 760px; gap: 18px; }

/* PHILOSOPHY */
.philosophy .section-head { border-top-color: transparent; }
.philosophy-list { border-top: none; gap: 56px 48px; }
.phi-item { border: none; padding: 0; }
.phi-item:hover { background: none; }
.phi-num { color: var(--black); font-weight: 500; }
.phi-content h3 { font-weight: 500; }
.phi-content p { opacity: 1; }

/* CIC + NUMBERS */
.cic-intro { padding: 0 0 72px; display: block; }
.cic-title { display: none; }
.cic-body { max-width: 900px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7; gap: 14px; }
.cic-em { opacity: 1; }
.numbers-grid { border-top: none; gap: 24px; }
.num-block {
  border: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 4px;
}
.num-block:hover { background: none; color: inherit; }
.num-value, .num-suffix { font-weight: 500; }
.num-value { font-size: clamp(44px, 5vw, 84px); }
.num-suffix { font-size: clamp(28px, 3vw, 52px); margin-left: 0; }
.num-label { flex-basis: 100%; margin-top: 10px; opacity: 1; font-weight: 700; }

/* PROCESS */
.process { padding-bottom: 0; }
.process-intro { padding: 0 0 64px; max-width: 900px; }
.process-intro p { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7; }
.process-flow { padding: 0; }
.proc-step { border: none; padding: 0; }
.proc-step:hover { background: none; color: inherit; }
.proc-num { opacity: 1; font-weight: 700; }
.proc-step h4 { font-weight: 500; font-size: clamp(18px, 1.8vw, 28px); white-space: nowrap; }
.proc-step p { opacity: 1; }

/* CTA: aligned with the content column, text + arrow only */
.about-cta { padding: 140px 40px 160px; }
.cta-inner { max-width: none; margin: 0; display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; column-gap: 40px; text-align: left; }
.cta-link { grid-column: 2; justify-self: start; border: none; padding: 0; font-weight: 500; transition: opacity 0.3s ease, gap 0.4s var(--transition); }
.cta-link:hover { background: none; color: var(--black); opacity: 0.5; }

@media (max-width: 900px) {
  .about-intro,
  .philosophy,
  .cic-section,
  .process { grid-template-columns: 1fr; padding: 88px 20px 0; }
  .about-intro > *,
  .philosophy > *,
  .cic-section > *,
  .process > * { grid-column: 1; }
  .about-page .section-head { grid-row: auto; margin-bottom: 24px; }
  .about-page .section-label { position: static; }
  .philosophy-list { grid-template-columns: 1fr; gap: 36px; }
  .cic-intro { padding-bottom: 48px; }
  .about-cta { padding: 88px 20px 100px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-link { grid-column: 1; }
}
@media (max-width: 768px) {
  .about-hero { min-height: 100svh; padding: 0 20px; }
  .num-block { padding: 0; }
  .cic-body, .process-intro p { font-size: 13px; line-height: 1.6; }
}

/* ---------- 01 DEFINE THE SPACE ---------- */
.dts-keywords {
  font-family: 'Swiss 721', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: -16px 0 32px;
}

/* ---------- 03 SPACE TOTAL SOLUTION : 6 steps on a thin timeline ---------- */
.stp-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
  padding: 0;
  margin: 0;
}
.stp {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stp::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
}
.stp-num { font-family: 'Swiss 721', sans-serif; font-size: 12px; font-weight: 700; }
.stp-en {
  font-family: 'Swiss 721', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 10px;
}
.stp-ko { font-family: 'Pretendard Variable', Pretendard, sans-serif; font-size: 14px; font-weight: 600; }
.stp-desc {
  font-family: 'Pretendard Variable', Pretendard, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 340px;
}

@media (max-width: 900px) {
  .stp-flow { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 600px) {
  .stp-flow { grid-template-columns: 1fr; gap: 32px; }
  .stp-desc { font-size: 13px; }
}

/* ============================================
   MOTION (driven by js/about-motion.js)
   ============================================ */
.m-ready .m-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
  transition-delay: calc(var(--i, 0) * 0.09s);
}
.m-ready .m-item.m-in { opacity: 1; transform: none; }

/* section label slides in from the left */
.m-ready .section-label.m-item { transform: translateX(-24px); }
.m-ready .section-label.m-item.m-in { transform: none; }

/* title lines rise out of a mask */
.m-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.m-line-in {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--transition);
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.intro-title.m-in .m-line-in { transform: none; }

/* keyword row: words pop in one by one */
.m-word, .m-dot {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.6s var(--transition);
}
.m-word { transition-delay: calc(0.35s + var(--i, 0) * 0.08s); }
.m-dot { margin: 0 6px; transition-delay: 0.4s; }
.dts-keywords.m-in .m-word,
.dts-keywords.m-in .m-dot { opacity: 1; transform: none; }

/* timeline: line draws left→right, dot pops, then text rises */
.stp { border-top-color: transparent; }
.stp::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--transition);
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.stp::before { transform: scale(0); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--i, 0) * 0.12s); }
.stp.m-in::after { transform: scaleX(1); }
.stp.m-in::before { transform: scale(1); }
.m-ready .stp.m-item { transform: translateY(20px); transition-delay: calc(0.15s + var(--i, 0) * 0.12s); }
.m-ready .stp.m-item.m-in { transform: none; }
.stp:hover .stp-en { transform: translateX(6px); }
.stp-en { transition: transform 0.4s var(--transition); }

/* numbers rise a bit later than the text */
.m-ready .num-block.m-item { transition-delay: calc(0.1s + var(--i, 0) * 0.1s); }

/* CTA arrow keeps nudging */
.cta-link .arrow-icon { animation: ctaNudge 1.8s var(--transition) infinite; }
@keyframes ctaNudge { 0%, 60%, 100% { transform: translateX(0); } 30% { transform: translateX(6px); } }

@media (prefers-reduced-motion: reduce) {
  .m-ready .m-item, .m-line-in, .m-word, .m-dot, .stp::after, .stp::before { transition: none !important; transform: none !important; opacity: 1 !important; }
  .cta-link .arrow-icon { animation: none; }
}

/* one shared size: 02 intro = 03 CIC text (body size) */
.process-intro p,
.cic-body {
  font-family: 'Swiss 721', 'Pretendard Variable', Pretendard, sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -0.01em;
}
.cic-body p { font-size: inherit; }
.cic-body { gap: 0.8em; max-width: 900px; }
.process-intro { max-width: 900px; }

/* 01 VALUE key phrase: Define the space. */
.intro-title {
  font-family: 'Swiss 721', 'Pretendard Variable', Pretendard, sans-serif;
  font-size: clamp(40px, 5.2vw, 84px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 56px;
}
@media (max-width: 768px) {
  .process-intro p,
  .cic-body { font-size: 14px; line-height: 1.65; }
  .intro-title { font-size: 34px; line-height: 1.12; margin-bottom: 32px; }
}

/* 01 VALUE 문구: 같은 폰트·대문자·2줄 */
.intro-title {
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  font-size: clamp(28px, 3.6vw, 56px);
}
@media (max-width: 768px) {
  .intro-title { font-size: 4.9vw; line-height: 1.15; }
}

/* ============================================
   03 SPACE TOTAL SOLUTION — 6 steps, 3 + 3 (읽는 순서 그대로)
     01  02  03
     04  05  06
   선·점 없이 블랙으로 통일. 스크롤해서 보이게 되면 01부터 한 단계씩 차례로 등장
   (js/about-motion.js가 .stp-in을 순서대로 붙임):
   번호가 튕기듯 나타나고 → 제목 → 한글명 → 설명이 이어서 올라옴.
   ============================================ */
.stp-flow {
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 40px;
}
.stp { padding-top: 0; }
.stp::before, .stp::after { display: none; }   /* 점·선 없음 */
.stp-num {
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--black);
}
.stp-en { margin-top: 14px; }
.stp-desc { max-width: 340px; }

/* 단계 안의 요소가 시차를 두고 등장 */
.stp > * {
  --t: 0s;
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.7s ease, translate 0.8s var(--transition), scale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s var(--transition);
  transition-delay: var(--t), var(--t), var(--t), 0s;
}
.stp > .stp-num { scale: 0.6; transform-origin: left bottom; }
.stp > .stp-en  { --t: 0.12s; }
.stp > .stp-ko  { --t: 0.22s; }
.stp > .stp-desc{ --t: 0.32s; }
.stp.stp-in > * { opacity: 1; translate: 0 0; scale: 1; }

@media (max-width: 900px) {
  .stp-flow { grid-template-columns: 1fr; gap: 40px; }
  .stp-desc { font-size: 14px; max-width: 520px; }
}
@media (max-width: 768px) {
  .stp-desc { font-size: 13px; }
}

/* ============================================
   ABOUT HERO — 선언문 (회사소개서 5p · 홈 로딩 화면과 같은 문장)
   로딩 화면과 같은 모션: 흐림 + 살짝 올라오며 한 줄씩 등장
   ============================================ */
.about-hero-title.about-hero-manifesto {
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.018em;
}
.about-hero-manifesto .word {
  white-space: normal;
  letter-spacing: -0.018em;
  filter: blur(8px);
  transform: translateY(0.28em);
  animation: manifestoIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.about-hero-manifesto .line:nth-child(1) .word { animation-delay: .35s; }
.about-hero-manifesto .line:nth-child(2) .word { animation-delay: .55s; }
.about-hero-manifesto .line:nth-child(3) .word { animation-delay: .75s; }
.about-hero-manifesto + .about-hero-subtitle { animation-delay: 1.5s; }
@keyframes manifestoIn { to { opacity: 1; filter: blur(0); transform: none; } }
@media (min-width: 769px) {
  .about-hero-title.about-hero-manifesto { font-size: clamp(28px, 2.9vw, 50px); }
  .about-hero-manifesto + .about-hero-subtitle { margin-top: 32px; font-size: 16px; font-weight: 400; }
}
@media (max-width: 768px) {
  .about-hero-title.about-hero-manifesto { font-size: 22px; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
  .about-hero-manifesto .word { animation: heroFade 1s ease .2s forwards; filter: none; transform: none; }
}

/* 01 — DEFINE · TRANSFORM · INTEGRATE : 3단 (근거가 된 선언문 한 줄을 키워드 아래에) */
.values .stp-basis {
  display: block;
  margin-top: 8px;
  font-family: 'Swiss 721', sans-serif;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.values .stp > .stp-basis { --t: 0.17s; }
.values .stp.stp-in > .stp-basis { opacity: 0.5; }
.values .stp-ko { display: block; margin-top: 18px; }
.values .stp-desc { margin-top: 10px; }
@media (min-width: 769px) {
  .values .stp-ko { font-size: 17px; }
  .values .stp-desc { max-width: 420px; }
}
.values .stp-ko, .values .stp-desc, .about-hero-manifesto + .about-hero-subtitle, .sv2-desc { word-break: keep-all; }
