/* 無蓋貨車 — 메인 스타일시트.
   색·타입·간격 토큰은 tokens.css, 견사 전용 스타일은 dogs.css 에 있다. */

/* ===== Base ===== */
body {
  background-color: var(--paper);
  color: var(--ink);
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.no-drag {
  -ms-user-select: none;
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

/* 링크 기본은 잉크색. base.njk 인라인이 hover를 주황(--signal)으로 덮어쓴다. */
a:link,
a:visited,
a:hover,
a:active {
  color: var(--ink);
  text-decoration: none;
}

/* ===== Loading reveal ===== */
/* 폰트가 모두 준비될 때까지 본문을 숨겼다가 한 번에 공개(FOUT 방지).
   .fonts-pending 는 JS로만 부여되므로 JS 비활성 시엔 그냥 보인다(안전). */
html.fonts-pending #body-wrap {
  opacity: 0;
}

/* ===== Layout ===== */
#body-wrap {
  max-width: 1000px;
  padding: 0;
  transition: opacity 0.28s ease;
}
.main {
  padding-top: 170px;
  margin: 0;
}

/* ===== Header · Title · Nav ===== */
#title-wrap {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1000px;
  position: fixed;
  z-index: 10;
  justify-content: center;
  /* 페이지 이동 시 로고+nav는 그대로 둔다 — cross-doc view-transition이 이 이름을
     양쪽 문서에서 매칭해 헤더를 고정(콘텐츠만 크로스페이드). DESIGN.md §5·§6 */
  view-transition-name: site-header;
}
#title {
  font-size: 50px;
  margin: 0;
  -webkit-transform: translateZ(0);
}
#titlelogo {
  font-family: "Nanum Myeongjo", serif;
  font-weight: 600;
}
#titlelogo_img {
  width: 170px;
  height: auto;
  cursor: pointer;
}
.navbar {
  width: 1000px;
  padding: 0;
  margin: 0;
  text-indent: 0;
}
.navlogo {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 18px;
  max-width: 120px;
  font-weight: 700;
  /* 원본은 "0 atuo" 오타로 마진이 무효화돼 있었다. 현재 렌더(마진 0)를
     유지하기 위해 auto로 '고치지' 않고 0으로 명시한다. */
  margin: 0;
  padding: 0;
}

/* ===== Sidebar (날짜 목록) ===== */
.datelist {
  max-width: 200px;
  height: 1000px;
  text-align: center;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  font-family: "Jeju Myeongjo", "Nanum Myeongjo", serif;
  overflow-y: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.datelist::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.date {
  font-weight: 400;
  font-size: 0.95rem;
  text-align: center;
  vertical-align: middle;
  margin: 0px;
  height: 38px;
  line-height: 38px;
}

/* ===== Content ===== */
#content {
  padding-left: 70px;
  padding-right: 70px;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
#content::-webkit-scrollbar {
  display: none;
}
#contentvid {
  padding: 0;
  justify-content: center;
  max-width: 100%;
  min-height: 420px;
}
#prologue {
  margin: 0px;
}
/* ===== Typography (본문 클래스) ===== */
.texttext p {
  margin-bottom: 0em;
}
.texttitle {
  /* 코어 명조 목소리 = 제주명조 400. 위계는 굵기가 아니라 크기로(DESIGN.md §3). */
  font-family: "Jeju Myeongjo", "Nanum Myeongjo", serif;
  font-weight: 400;
  font-size: var(--t-title, 1.5rem);
  text-indent: 15px;
}
.texttitle_san {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 0px;
  text-align: center;
}
.textsubtitle_san {
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}
.texttext {
  font-family: "Jeju Myeongjo", "Nanum Myeongjo", serif;
  font-size: 1.1rem;
  font-weight: 400; /* 제주명조는 400만 존재 — 500 선언은 400으로 폴백돼 무의미했다. 명시 */
  line-height: 190%;
  text-indent: 15px;
  padding: 0;
}
.texttext_san {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 180%;
  text-indent: 15px;
  padding: 0;
}
.texttextsubtitle_san {
  font-weight: 700;
  line-height: 180%;
  font-size: 16px;
  text-indent: 0px;
  margin-bottom: 0px;
  padding: 0;
}
.textcit_san {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 180%;
  text-indent: 10px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 5px;
  font-size: 14.5px;
  padding: 0;
}
.gakju {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
  color: var(--signal);
}
.gakju_text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-indent: -1em;
  margin-left: 1em;
  margin-bottom: 0.2rem;
  line-height: 160%;
  color: var(--signal);
}

/* ===== Map (운행월지) ===== */
.mapPage {
  width: 100vw;
  height: 50vh;
  /* body가 1000px이며 화면 좌우를 꽉 채우기 위함 */
  margin-left: min(0px, calc(-50vw + 500px));
  margin-right: min(0px, calc(-50vw + 500px));
}
.infowindow {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 160%;
  padding: 2px;
  width: 150px;
  text-align: center;
}

/* ===== Footer ===== */
.foot {
  padding-left: 50px;
  height: 40px;
  line-height: 40px;
  font-family: "Noto Sans KR", sans-serif; /* UI 크롬 = 고딕 '제어 레일' (DESIGN §3) */
  z-index: 10;
}
.footer-deferred {
  visibility: hidden;
}
.footer-ready {
  visibility: visible;
}
.footnav {
  max-width: 50px;
  padding: 0;
  cursor: pointer;
}
/* 푸터 컨트롤 = 모노라인 SVG 아이콘. 푸터 전체(아이콘 + copyright)를 muted 톤으로 통일 —
   본문을 다 읽고 마주하는 '페이지 표시'라 본문보다 낮은 톤으로 조용히 둔다. 신호(주황)는
   의도(호버·키보드 포커스)에서만. hairline 획을 한 베이스라인에 정렬(DESIGN §3·§5). */
.foot a.footnav {
  color: var(--muted);
  text-decoration: none;
}
.foot a.footnav:hover,
.foot a.footnav:focus-visible {
  color: var(--signal);
}
.footnav .fn-ic {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footnav .fn-ic .fn-dot {
  fill: currentColor;
  stroke: none;
}
.footnav:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: var(--radius-sm, 4px);
}
#copyright {
  width: 500px;
  font-size: 14px;
  padding-right: 70px;
  text-align: right;
  color: var(--muted); /* 아이콘과 같은 muted 톤 — 푸터 한 톤 통일 */
}
#copyright_mobile {
  display: none;
  font-size: 14px;
  text-align: right;
  color: var(--muted);
}

/* ===== Dark ===== */
/* 다크 색은 tokens.css(:root[data-theme="dark"])가 담당. 이미지·영상은
   자연색을 유지하되, 검은 라인아트(워드마크)만 반전해 어두운 배경에서 보이게. */
:root[data-theme="dark"] #titlelogo_img {
  filter: invert(1);
}

/* ===== Fonts ===== */
@font-face {
  font-family: "Jeju Myeongjo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/JejuMyeongjo.subset.woff2") format("woff2");
  /* 한글·라틴·문장부호만 담당. 한자(漢字)는 제주명조에 글리프가 없으므로
     이 범위 밖으로 두어 스택의 다음 폰트(Nanum Myeongjo)로 폴백시킨다. */
  unicode-range: U+0000-00FF, U+1100-11FF, U+3130-318F, U+AC00-D7A3,
    U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+00B7,
    U+3000-3003, U+3008-300F, U+FF01-FF5E;
}
@keyframes fadeInLeft {
  0% {
    transform: translate3d(-100%, 0, 0);
  }
  to {
    transform: translateZ(0);
  }
}

/* ===== Responsive (≤768px) ===== */
@media (max-width: 768px) {

  #body-wrap {
    padding: 0;
  }

  #title-wrap {
    width: 100%;
    margin: 0;
    float: top;
  }

  #titlelogo {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #title {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
  }

  #titlelogo_img {
    margin: 0 auto;
    width: 60%;
    max-width: 170px;
    min-width: 150px;
  }

  .navlogo {
    font-size: 15px;
    max-width: 90px;
  }

  .menu-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: block !important;
    transition: all 0.5s ease;
    z-index: 20;
  }

  .menu-btn #line1,
  .menu-btn #line2 {
    position: absolute;
    top: 10px;
    left: 5px;
    width: 20px;
    height: 1px;
    background: var(--ink);
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }

  .menu-btn #line2 {
    top: 22px;
  }

  .menu-btn.clicked {
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-btn.clicked #line1 {
    -ms-transform: translate(0px, 6px) rotate(-90deg);
    -webkit-transform: translate(0px, 6px) rotate(-90deg);
    transform: translate(0px, 6px) rotate(-90deg);
  }

  .menu-btn.clicked #line2 {
    -ms-transform: translate(0px, -6px) rotate(-180deg);
    -webkit-transform: translate(0px, -6px) rotate(-180deg);
    transform: translate(0px, -6px) rotate(-180deg);
  }

  #profileimg {
    min-width: 120%;
    padding: 0;
    width: 0;
    max-width: 700px;
    height: auto;
    min-height: auto;
  }

  .main {
    max-width: 100%;
    padding: 0;
    margin: 0;
    max-height: none;
  }

  .datelist {
    max-height: none;
    max-width: 0px;
    padding-top: 120px;
  }

  .side-view {
    padding-top: 120px;
    max-width: 186px;
    display: block;
    position: fixed;
    left: 0px;
    background-color: var(--paper);
    z-index: 11;
    animation: fadeInLeft 0.5s;
  }

  #content {
    max-height: none;
    padding: 0;
    margin-top: 150px;
    margin-bottom: 50px;
  }

  #content2 {
    padding: 0 5% !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  #contentvid {
    padding: 0 !important;
    margin-top: 150px !important;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
  }

  #player {
    max-width: 100%;
  }

  .mapPage {
    height: 50vh;
    margin-bottom: 50px;
  }

  .foot {
    width: 100%;
    margin: 0;
    padding: 0 3%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    position: fixed;
    bottom: 0px;
    justify-content: center;
  }

  .footnav {
    max-width: 100px;
    margin: 0;
  }

  #copyright {
    display: none;
  }

  #copyright_mobile {
    display: none;
  }
}

/* ── 운행월지 본문 유틸 (Markdown + markdown-it-attrs) ──────────────
   정렬은 생 style이 아니라 이 축복된 클래스로만. 예: `문단 {.center}` */
.diary-wrap { width: 100%; }
.diary-body {
  max-width: var(--max-content, 1000px);
  margin: 2.5rem auto;
  padding: 0 1.25rem;
}
.diary-body .entry-title { margin: 0.2rem 0 0.1rem; }
.diary-body .entry-date { font-size: var(--t-caption, .8125rem); margin: 0 0 2rem; }
.diary-body .entry-place { margin: 0 0 0.5rem; }
.diary-body .entry-origin { margin-top: 2.5rem; font-size: var(--t-caption, .8125rem); }
.diary-body .center { text-align: center; }
.diary-body .right  { text-align: right; }
.diary-body .sep {
  text-align: center;
  color: var(--muted);
  margin: 2rem 0;
  letter-spacing: .3em;
}
.diary-body hr {
  border: 0;
  text-align: center;
  margin: 2rem 0;
}
.diary-body hr::before {
  content: "＊";
  color: var(--muted);
  letter-spacing: .3em;
}
/* 운문: 행갈이 보존 */
.diary-body .verse {
  white-space: pre-wrap;
  line-height: var(--leading-verse, 1.9);
  margin: 1.5rem 0;
}
/* 인용: 저자 규율(본문 명조 / 인용 고딕)을 사이트에서도 따른다 — 블로그 원문과 동일한 목소리 구분 */
.diary-body blockquote {
  border-left: 2px solid var(--line);
  margin: 1.5rem 0;
  padding: 0 0 0 1.25rem;
  color: var(--ink-soft);
  text-indent: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.95em;
  line-height: 1.75;
}

/* 유튜브 인라인 임베드(youtube-nocookie) — 카드와 같은 결의 조용한 틀 */
.diary-body .yt-embed {
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.diary-body .yt-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.diary-body picture,
.diary-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: var(--radius, 8px);
}
.diary-body p { margin: 0 0 0.9rem; }
.diary-body a { color: var(--signal); }

/* 조용한 링크 카드 — 링크만 있는 단락을 제목+도메인 카드로(이미지 없음) */
.diary-body .linkcard {
  display: block;
  text-indent: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius, 8px);
  padding: 0.7rem 0.95rem;
  margin: 1.5rem 0;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s;
}
.diary-body .linkcard:hover { border-color: var(--signal); }
.diary-body .lc-title { display: block; font-weight: 700; font-size: 0.95rem; line-height: 1.35; }
.diary-body .lc-domain {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: "Noto Sans KR", sans-serif;
  letter-spacing: 0.02em;
}

/* 운행일지 아카이브 목록 */
.diary-index .entry-list { list-style: none; margin: 2rem 0 0; padding: 0; text-indent: 0; }
.diary-index .entry-item { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.diary-index .entry-item a { display: inline; color: var(--ink); }
.diary-index .entry-item a:hover .el-title { color: var(--signal); }
.diary-index .el-date { font-size: var(--t-caption, .8125rem); color: var(--muted); margin-right: 0.9rem; font-family: "Noto Sans KR", sans-serif; }
.diary-index .el-title { font-weight: 700; }
.diary-index .el-lines { display: block; font-size: .75rem; color: var(--muted); margin-top: 0.2rem; font-family: "Noto Sans KR", sans-serif; }

/* ===== 문서고(시) — 랜딩=한 편의 시(제목 목차) · 개별 시편 ===== */
/* 랜딩: 대표 행들이 한 편의 시로 읽힌다. 각 연(발표연도) 첫 행 왼쪽 여백에
   그리스 고전 번역본 행수(行數) 표기처럼 작은 연도를 둔다 — 메인 페이지 표식. */
.poem-landing .pl-row {
  position: relative;
  margin: 0;
}
/* 새 연도 그룹 사이 연갈이 (첫 그룹 제외) */
.poem-landing .pl-row.year-start {
  margin-top: 1.9rem;
}
.poem-landing .pl-row:first-of-type {
  margin-top: 0;
}
/* 좌측 여백(#content 패딩)으로 삐져나온 작은 연도 — 쪽수/행수 번호 느낌.
   그룹 첫 행에만 채워지고, 절대배치라 본문 폭에 영향 없음. */
.poem-landing .pl-year {
  position: absolute;
  left: -3.4em;
  width: 3em;
  text-align: right;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  text-indent: 0;
  -webkit-user-select: none;
  user-select: none;
}
.poem-landing a.poem-repline {
  display: block;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  /* 개별 시편 본문·제목과 같은 15px 들여쓰기(.texttext 상속). */
  /* 대표행은 한 줄로 — 산문시가 목차-시를 잡아먹지 않게(넘치면 … 처리).
     rep front-matter를 손으로 지정하면 이 클램프에 안 걸린다. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poem-landing a.poem-repline:hover {
  color: var(--signal);
}
/* 개별 시편: 본문 링크(원문 🔗 등)는 잉크, 호버 신호 */
.poem-entry a {
  color: var(--ink);
}
.poem-entry a:hover {
  color: var(--signal);
}
/* breaks:true — 연 안 행갈이는 <br>(촘촘), 문단(=연) 사이는 이 간격.
   .texttext p{margin-bottom:0}을 시에서만 덮어써 연갈이를 준다. */
.poem-entry p {
  margin: 0 0 1.9rem;
  text-indent: 15px;
}
/* 각 논리 행(엔터=<br>)을 트랜스폼이 .ln 블록으로 감싼다 → text-indent(첫 줄만)가
   행마다 적용되고, 한 행이 길어 줄바꿈되면 이어지는 줄은 0(안 들여씀). text-indent 상속. */
.poem-entry .ln {
  display: block;
}
/* 본문 행별 정렬(마크다운 {.center}/{.right})·각주 — .diary-body 와 동형, poem 스코프 */
.poem-entry .center { text-align: center; text-indent: 0; }
.poem-entry .right  { text-align: right; }
.poem-entry .footnote {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.85em;
  color: var(--muted);
  text-indent: 0;
}
/* 게재지 스탬프(적하) — 고딕, 캡션 톤, 들여쓰기 없음 */
.poem-stamp {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  text-indent: 0;
  margin-top: 2.5rem;
}
/* 마지막 행과 푸터 사이 충분한 여백(데스크톱은 푸터가 흐름, 모바일은 fixed 겹침 방지). */
.poem-landing,
.poem-entry {
  padding-bottom: 6rem;
}

/* ===== 홈(프롤로그) — 정체성 이미지(무개화차) ===== */
/* 랜덤 뮤직비디오를 걷어내고, 사이트의 얼굴인 화차 사진을 건다. 클릭 = 기관실. */
.home-wagon-link {
  display: inline-block;
  line-height: 0;
}
.home-wagon {
  max-width: 100%;
  width: auto;
  max-height: 62vh;
  height: auto;
  cursor: pointer;
}
/* 홈만: 화차 사진을 헤더 아래 공간의 세로 중앙에 놓아 위쪽 쏠림·하단 공백을 없앤다.
   (옛 영상용 #contentvid min-height:420px가 이미지 아래 유령 공백을 만들었다.)
   규칙을 전부 body[data-page="index"]에 가둔다 — .main·#contentvid의 공유/모바일
   규칙은 홈 훅으로만 덮고 전역은 건드리지 않는다. 푸터는 홈에선 섹션 내비(← → ¿ ↑)가
   가리킬 대상이 없어 죽어 있으므로 통째로 감춘다. */
body[data-page="index"] #prologue {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 110px; /* 실제 고정 헤더(로고+nav)≈102px에 맞춰, 그 아래 공간에 광학 중앙 정렬
                         (--header-offset 170은 본문 여백용이라 스플래시엔 아래로 쏠린다) */
  box-sizing: border-box;
}
body[data-page="index"] #contentvid {
  min-height: 0;        /* 옛 뮤직비디오용 420px 하한 제거 — 유령 공백의 근원 */
  margin: 0 !important; /* 모바일 #contentvid margin-top:150px !important 무력화(홈 한정) */
}
body[data-page="index"] #foot {
  display: none;        /* 홈 전용: 섹션 내비가 죽어 있어 푸터를 감춘다 */
}
body[data-page="index"] .home-wagon {
  /* 이미지 상단 ~37%(152/407px)가 사이트 배경색과 같은 빈 밴드라, 상자를 정중앙에
     놓으면 실제 화차가 아래로 쏠려 보인다. 보이는 화차를 광학 중앙에 맞추려 상자
     높이의 ~18.7%(상단 밴드 절반)만큼 위로 당긴다. transform은 흐름에 영향을 주지
     않고, %라 렌더 스케일(모바일 축소/데스크톱 원본)에 자동 대응한다. */
  transform: translateY(-18.5%);
}
@media (max-width: 768px) {
  body[data-page="index"] #prologue {
    padding-top: 105px; /* 모바일 헤더≈98px */
  }
}

/* ===== 기관실(engine) — 소개 = 슬림 신원 레일(CV) + 본문 산문 ===== */
/* 왼쪽 얇은 레일에 약력·링크·연락(CV), 오른쪽에 무개화차 선언 산문(몸통).
   비대칭이 결함이 아니라 위계 — 산문이 읽는 몸통, CV는 곁의 표식.
   조판은 채록집(sound)과 같은 산세리프 결. 폭은 1000px을 다 쓰지 않고
   720px로 집약해 가운데 정렬. 모바일은 1열로 접히며 CV가 먼저. (§1·§7) */
.ea-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-12);
  align-items: start;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--header-offset) 1.25rem 6rem;
}
.ea-rail {
  padding-top: 0.2rem; /* 본문 lead 첫 줄 베이스라인에 라벨을 맞춘다 */
}
.ea-block {
  margin-bottom: 1.7rem;
}
.ea-label {
  font-family: var(--font-sans);
  font-size: var(--t-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 0.5em;
}
.ea-bio {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
.ea-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ea-list li {
  margin: 0.3em 0;
  line-height: 1.45;
}
.ea-list a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.ea-list a:hover {
  color: var(--signal);
  border-color: var(--signal);
}
/* 본문 — 산세리프(채록집 결). sans 트랙은 700 볼드 허용(§3). */
.ea-intro p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 1.1em;
}
.ea-intro p.ea-lead {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.2em;
}
.ea-intro p:last-child {
  margin-bottom: 0;
}
/* 첫 문단 '무개화차' 넉 자만 주황 — 석탄의 점화이자 유일한 신호(§석탄 온도). */
.ea-ignite {
  color: var(--signal);
}
@media (max-width: 720px) {
  .ea-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: 140px var(--space-6) 5rem;
  }
  .ea-rail {
    padding-top: 0;
  }
}

/* ===== 페이지 전환 — 내비게이션 크로스페이드(지원 브라우저) ===== */
/* 시행 클릭·시편 이동 시 무뚝뚝한 컷 대신 은은한 전환. 미지원 시 그냥 일반 이동. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.18s; /* DESIGN.md §6 --dur — 크로스페이드는 짧고 은은하게 */
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
