/* ==========================================================================
   TARA YOGA 타라요가 — 브랜드 아이덴티티 케이스
   강디자인 · 2019

   읽는 사람 — 의뢰를 검토하는 사업주다. 디자이너가 아니다.
   그래서 이 지면은 이야기로 쓴다. 대비비·IoU·착지곡선 같은 실측 층은 책 원고에만 두고
   여기에는 올리지 않는다. 날짜와 개수처럼 바로 읽히는 수만 남긴다.
   (2026-08-09 개정 — 그 전 판은 승인 지면 사이의 모순을 논지로 삼았다. 정직한 재료지만
    포트폴리오에서는 스튜디오 자신을 깎는 글이 된다. 논지를 제작 과정 이야기로 바꿨다.)

   설계 근거
   - 이야기 뼈대: 11월 15일 다섯 갈래 → 11월 25일 세 갈래 → 12월 2일 첫 장으로 회귀 →
     회귀한 뒤 다시 손질 → 12월 16일 23지면 납품. 전부 파일 시각으로 확인된 사실이다.
     ※ 납품 PDF 는 31쪽이지만 24~31쪽 여덟 장이 잉크 0.00% 백지다(모든 판본이 같다).
       포트폴리오의 다른 케이스는 전부 내용 지면으로 센다 → 타라도 23이 맞다.
   - 의뢰인이 가장 보고 싶어 하는 것은 응용 지면이다. 간판·층별안내·유니폼·차량·사기·레터지
     여섯 장을 실었다. 연락처가 인쇄된 대봉투·소봉투 두 장은 뺐다.
   - 지면 #FBC707 은 04 색상규정의 「타라 YELLOW」 실측값이다(400dpi 중앙값).
     포트폴리오 안에서 겹치지 않는 색이고, 브랜드가 스스로 정한 넷 중 하나다.
   - 마크의 형태·비례·색은 건드리지 않았다. 핑크판·검정판은 05 색상활용 A 지면에서
     실물을 뽑았고, 흰 반전판은 06 지면 블랙 패널에서 뽑았다. 색을 칠해 만들지 않았다.
   - 이 브랜드의 승인 자산에는 스톡 모델 사진이 곳곳에 있다. 전부 뺐다.
     명찰·ID카드(얼굴)와 명함(실명·연락처) 지면도 뺐다.
   ========================================================================== */

body[data-tara-project='true'] { background: #fbc707; }

body[data-tara-project='true'] .case__study__slices {
  display: block; width: 100%; max-width: none; padding: 0; gap: 0;
}
body[data-tara-project='true'] .case__study__info { display: none; }

.tara-site-host { width: 100%; }

.tara-case {
  --tara-yellow: #fbc707;   /* 04 색상규정 · 타라 YELLOW · C0 M20 Y100 K0 */
  --tara-pink:   #df299d;   /* 04 색상규정 · 타라 Basic PINK · C8 M85 Y0 K0 */
  --tara-gray:   #c6cbc5;   /* 04 색상규정 · 타라 GRAY · C4 M0 Y4 K22 */
  --tara-ink:    #231f20;   /* 04 색상규정 · 타라 BLACK · C0 M0 Y0 K100 */
  --tara-forbid: #d51d97;   /* 08 사용금지 8번 바탕 실측 */
  --tara-mute:   rgb(105, 84, 6);   /* 지면 위에서 읽히는 흐린 잉크 — 옐로우에서 파생 */
  --tara-rule:   rgba(35, 31, 32, .22);

  background: var(--tara-yellow);
  color: var(--tara-ink);
  font-family: 'Helvetica Neue', Helvetica, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.tara-case * { box-sizing: border-box; }
/* 한국어는 낱말 안에서 끊지 않는다 */
.tara-case h1, .tara-case h2, .tara-case h3, .tara-case p,
.tara-case figcaption, .tara-case li, .tara-case td, .tara-case th { word-break: keep-all; }
.tara-case img, .tara-case video { display: block; max-width: 100%; height: auto; }

.tara-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* ------------------------------------------------------------------ 표제 */
.tara-hero { padding: clamp(80px, 13vw, 168px) 0 clamp(48px, 7vw, 92px); }
.tara-hero__eyebrow {
  font-size: clamp(11px, 1.1vw, 13px); letter-spacing: .26em; text-transform: uppercase;
  color: var(--tara-mute); margin: 0 0 clamp(20px, 3vw, 34px);
}
.tara-hero__title {
  font-size: clamp(29px, 4.9vw, 72px); line-height: 1.16; letter-spacing: -.02em;
  font-weight: 700; margin: 0 0 clamp(22px, 3vw, 36px);
}
/* 강조는 색이 아니라 밑줄로 준다. 노랑 위 흰 글자는 1.58:1 이고,
   그 수치가 바로 이 케이스가 다루는 대상이라 본문에 쓸 수 없다. */
.tara-hero__title em {
  font-style: normal; color: var(--tara-ink);
  box-shadow: inset 0 -.16em 0 var(--tara-pink);
}
.tara-hero__lede {
  font-size: clamp(16px, 1.7vw, 21px); max-width: 46em; margin: 0; color: #3a3233;
}
.tara-hero__meta {
  display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 44px);
  margin-top: clamp(34px, 5vw, 58px); padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--tara-rule);
  font-size: clamp(12px, 1.15vw, 14px); letter-spacing: .06em; color: var(--tara-mute);
}

/* ------------------------------------------------------------------ 구획 */
.tara-sec { padding: clamp(52px, 8vw, 108px) 0; border-top: 1px solid var(--tara-rule); }
.tara-sec--ink { background: var(--tara-ink); color: #f4f3f1; border-top: none; }
.tara-sec--ink .tara-kicker,
.tara-sec--ink .tara-note { color: #b6b1af; }
.tara-sec--paper { background: #fff; border-top: none; }

.tara-kicker {
  font-size: clamp(11px, 1.05vw, 13px); letter-spacing: .24em; text-transform: uppercase;
  color: var(--tara-mute); margin: 0 0 clamp(12px, 1.6vw, 18px);
}
.tara-h {
  font-size: clamp(24px, 3.5vw, 44px); line-height: 1.22; letter-spacing: -.015em;
  font-weight: 700; margin: 0 0 clamp(16px, 2.2vw, 26px);
}
.tara-p { font-size: clamp(15px, 1.5vw, 18px); max-width: 44em; margin: 0 0 1.1em; }
.tara-note {
  font-size: clamp(12.5px, 1.2vw, 14.5px); color: var(--tara-mute); max-width: 46em;
  margin: clamp(14px, 2vw, 22px) 0 0;
}

/* ------------------------------------------------------------------ 마크 */
.tara-mark {
  margin: clamp(28px, 4.4vw, 56px) 0 0; text-align: center;
  padding: clamp(28px, 5vw, 64px) 20px; background: #fff;
  border: 1px solid rgba(35, 31, 32, .1);
}
.tara-mark img { margin: 0 auto; width: min(340px, 62%); }
.tara-mark figcaption {
  margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(13px, 1.3vw, 15.5px); color: var(--tara-mute);
}

/* ------------------------------------------------------------------ 바뀐 것 */
.tara-changes { list-style: none; padding: 0; margin: clamp(26px, 3.6vw, 40px) 0 0; }
.tara-changes li {
  padding: clamp(14px, 1.8vw, 20px) 0; border-top: 1px solid var(--tara-rule);
  font-size: clamp(14px, 1.4vw, 16.5px); max-width: 46em; color: #4a4142;
}
.tara-changes li strong {
  display: block; color: var(--tara-ink); font-size: 1.1em; margin-bottom: 5px;
}

/* ------------------------------------------------------------------ 색 */
.tara-colours {
  list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 38px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.8vw, 22px);
}
.tara-colours li { background: #fff; border: 1px solid rgba(35, 31, 32, .1); padding-bottom: 16px; }
.tara-chip { display: block; height: clamp(74px, 9vw, 116px); }
.tara-colours strong { display: block; margin: 14px 14px 3px; font-size: clamp(13.5px, 1.35vw, 15.5px); }
.tara-colours em { display: block; margin: 0 14px 8px; font-style: normal;
  font-size: clamp(12px, 1.2vw, 13.5px); color: var(--tara-mute); }
.tara-colours code { margin: 0 14px; font-size: 11.5px; letter-spacing: .06em; color: #9a8a4e; }

/* ------------------------------------------------------------------ 쓰임 */
.tara-uses {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.2vw, 28px);
  margin-top: clamp(24px, 3.4vw, 38px);
}
.tara-uses figure { margin: 0; }
.tara-uses img { width: 100%; background: #fff; border: 1px solid rgba(35, 31, 32, .1); }
.tara-uses figcaption {
  margin-top: 11px; font-size: clamp(12.5px, 1.2vw, 14px); color: var(--tara-mute);
}
.tara-uses figcaption strong {
  display: block; color: var(--tara-ink); font-size: 1.15em; margin-bottom: 3px;
}

/* ------------------------------------------------------------------ 시안 격자 */
.tara-drafts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.8vw, 22px);
  margin-top: clamp(24px, 3.4vw, 38px);
}
.tara-drafts figure { margin: 0; background: #fff; border: 1px solid rgba(35, 31, 32, .1); }
.tara-drafts img { width: 100%; }
.tara-drafts figcaption {
  font-size: clamp(11px, 1.05vw, 12.5px); letter-spacing: .1em; color: var(--tara-mute);
  padding: 9px 11px 11px; border-top: 1px solid rgba(35, 31, 32, .08);
}

.tara-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 42px);
  align-items: end; margin-top: clamp(24px, 3.4vw, 38px);
}
.tara-pair figure { margin: 0; }
.tara-pair img { width: 100%; background: #fff; border: 1px solid rgba(35, 31, 32, .1); }
.tara-pair figcaption {
  margin-top: 12px; font-size: clamp(12.5px, 1.2vw, 14.5px); color: var(--tara-mute);
}
.tara-pair figcaption strong { color: var(--tara-ink); display: block; font-size: 1.14em; }

/* ------------------------------------------------------------------ 지면 도판 */
.tara-plate { margin: clamp(24px, 3.4vw, 40px) 0 0; }
.tara-plate img {
  width: 100%; background: #fff; border: 1px solid rgba(35, 31, 32, .12);
}
.tara-sec--ink .tara-plate img { border-color: rgba(255, 255, 255, .16); }
.tara-plate figcaption {
  margin-top: 12px; font-size: clamp(12px, 1.15vw, 14px); color: var(--tara-mute);
}
.tara-sec--ink .tara-plate figcaption { color: #b6b1af; }

.tara-plates2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.6vw, 34px);
}

/* ------------------------------------------------------------------ 모션 */
.tara-motion { margin: clamp(28px, 4vw, 52px) 0 0; }
.tara-motion video { width: 100%; background: #fff; }
.tara-motion figcaption {
  margin-top: 12px; font-size: clamp(12px, 1.15vw, 14px); color: var(--tara-mute);
}
.tara-sec--ink .tara-motion figcaption { color: #b6b1af; }

/* ------------------------------------------------------------------ 곡선 */
.tara-curve { margin-top: clamp(22px, 3vw, 34px); }
.tara-curve svg { width: 100%; height: auto; max-width: 620px; }

/* ------------------------------------------------------------------ 뺀 것 */
.tara-omit { list-style: none; padding: 0; margin: clamp(18px, 2.4vw, 26px) 0 0; }
.tara-omit li {
  padding: 11px 0 11px 26px; border-bottom: 1px solid var(--tara-rule); position: relative;
  font-size: clamp(13.5px, 1.35vw, 16px); max-width: 48em;
}
.tara-omit li::before {
  content: '—'; position: absolute; left: 0; color: var(--tara-mute);
}

/* ------------------------------------------------------------------ 등장 */
.tara-case [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .72s cubic-bezier(.16, 1, .3, 1), transform .72s cubic-bezier(.16, 1, .3, 1);
}
.tara-case [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tara-case [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1000px) {
  .tara-uses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .tara-drafts { grid-template-columns: repeat(2, 1fr); }
  .tara-colours { grid-template-columns: repeat(2, 1fr); }
  .tara-pair, .tara-plates2, .tara-uses { grid-template-columns: 1fr; }
  .tara-mark img { width: 78%; }
}

/* === 그림 자리 예약 (CLS) — 자동 생성. 없으면 지연 로딩 때 아래가 밀린다 === */
img[src$="/leaderin-case-assets-v2/symbol-final.svg"] { aspect-ratio: 37/24; }
img[src$="/tara-case-assets/mark-pink.png"] { aspect-ratio: 91/86; }
img[src$="/tara-case-assets/draft-01-r2.jpg"] { aspect-ratio: 505/493; }
img[src$="/tara-case-assets/draft-02-r2.jpg"] { aspect-ratio: 490/451; }
img[src$="/tara-case-assets/draft-03-r2.jpg"] { aspect-ratio: 245/219; }
img[src$="/tara-case-assets/draft-04-r2.jpg"] { aspect-ratio: 490/429; }
img[src$="/tara-case-assets/draft-05-r2.jpg"] { aspect-ratio: 98/75; }
img[src$="/tara-case-assets/draft-06-r2.jpg"] { aspect-ratio: 490/577; }
img[src$="/tara-case-assets/draft-07-r2.jpg"] { aspect-ratio: 490/257; }
img[src$="/tara-case-assets/draft-08-r2.jpg"] { aspect-ratio: 98/121; }
img[src$="/tara-case-assets/draft-final-r2.jpg"] { aspect-ratio: 1010/937; }
img[src$="/tara-case-assets/use-sign-r2.jpg"] { aspect-ratio: 166/119; }
img[src$="/tara-case-assets/use-plate.jpg"] { aspect-ratio: 400/297; }
img[src$="/tara-case-assets/use-uniform-r2.jpg"] { aspect-ratio: 664/381; }
img[src$="/tara-case-assets/use-vehicle-r2.jpg"] { aspect-ratio: 664/443; }
img[src$="/tara-case-assets/use-flag-r2.jpg"] { aspect-ratio: 664/447; }
img[src$="/tara-case-assets/use-letter-r2.jpg"] { aspect-ratio: 332/227; }
img[src$="/tara-case-assets/spec-02-basic.jpg"] { aspect-ratio: 170/113; }
img[src$="/tara-case-assets/spec-04-colour-r2.jpg"] { aspect-ratio: 850/601; }
img[src$="/tara-case-assets/spec-03-grid.jpg"] { aspect-ratio: 170/117; }
