@charset "utf-8";
/* ============================================================
   YI'ANG ENTERTAINMENT  |  editorial paper theme
   paper / ink / vermilion  |  serif display + mono meta
   ============================================================ */

:root {
  --paper: #f5f2ea;
  --paper-2: #eee8db;
  --ink: #14140f;
  --ink-2: #3b3930;
  --muted: #7b7566;
  --line: #d8d1c1;
  --line-2: #c3bba7;
  --accent: #b13c26;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
  --max: 1220px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(20, 20, 15, .045) 1px, transparent 1px);
  background-size: 4px 4px;
}

img, svg { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: min(100% - 48px, var(--max)); margin-inline: auto; }

/* ---------- head ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 242, 234, .9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: .04em; }
.brand-txt em {
  font-family: var(--mono); font-style: normal; font-size: 9px;
  letter-spacing: .22em; color: var(--muted); text-transform: uppercase; margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  position: relative; text-decoration: none; color: var(--ink);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  padding: 6px 0; transition: color .2s;
}
.nav a i {
  font-style: normal; font-size: 9px; color: var(--muted);
  display: block; letter-spacing: .16em; margin-bottom: 1px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent); transition: right .28s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--accent); }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-2);
  background: transparent; cursor: pointer; padding: 0; position: relative;
}
.burger span {
  position: absolute; left: 12px; width: 18px; height: 1px; background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 24px; }
body.menu-open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- drawer ---------- */
.drawer {
  position: fixed; inset: 74px 0 0 0; z-index: 55; background: var(--paper);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .26s ease, transform .26s ease, visibility .26s;
  overflow-y: auto;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.drawer-in { padding: 26px 24px 48px; }
.drawer a.d-link {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-family: var(--serif); font-size: 26px;
}
.drawer a.d-link i { font-family: var(--mono); font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: .16em; }
.drawer .d-note { margin-top: 28px; font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.9; letter-spacing: .06em; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.22fr .78fr; gap: 56px;
  padding: 76px 0 60px; border-bottom: 1px solid var(--line);
}
.kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 26px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.4vw, 78px); line-height: 1.04; letter-spacing: -.015em;
  margin: 0 0 26px;
}
.hero h1 .thin { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.hero h1 .em { color: var(--accent); }
.hero-lead { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); max-width: 46ch; margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-decoration: none; padding: 13px 22px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); transition: background .24s, color .24s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.spec { border-top: 1px solid var(--ink); align-self: start; }
.spec dl { margin: 0; }
.spec .row {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.spec dt { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin: 0; }
.spec dd { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.55; }
.spec .stamp {
  margin-top: 18px; display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted);
}
.dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- band ---------- */
.band { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.band-track {
  display: flex; gap: 34px; width: max-content; padding: 12px 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
  animation: slide 46s linear infinite;
}
.band-track span { display: inline-flex; align-items: center; gap: 34px; }
.band-track span::after { content: "/"; color: var(--line-2); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section ---------- */
.sec { padding: 66px 0; border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head h2 {
  font-family: var(--serif); font-weight: 400; margin: 8px 0 0;
  font-size: clamp(25px, 3vw, 40px); line-height: 1.16; letter-spacing: -.01em;
}
.eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; color: var(--accent); text-transform: uppercase; }
.more {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: border-color .2s, color .2s; white-space: nowrap;
}
.more:hover { color: var(--accent); border-color: var(--accent); }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.card {
  padding: 30px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.card:nth-child(3n) { border-right: 0; }
.card:hover { background: rgba(238, 232, 219, .75); }
.card .num { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--muted); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.35; margin: 20px 0 12px; }
.card p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 2.1; }
.card ul li::before { content: "— "; color: var(--line-2); }

/* split rows */
.split { display: grid; grid-template-columns: .62fr 1.38fr; gap: 56px; align-items: start; }
.split h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; margin: 10px 0 16px; }
.split .aside p { font-size: 14px; line-height: 1.9; color: var(--ink-2); margin: 0 0 22px; }
.steps { border-top: 1px solid var(--ink); }
.step { display: grid; grid-template-columns: 66px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step .idx { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--accent); padding-top: 4px; }
.step h4 { font-family: var(--serif); font-weight: 400; font-size: 18px; margin: 0 0 8px; line-height: 1.4; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }

/* news list */
.news { list-style: none; margin: 0; padding: 0; }
.news-row {
  display: grid; grid-template-columns: 108px 1fr 92px 22px; gap: 20px; align-items: center;
  padding: 19px 8px; border-top: 1px solid var(--line); text-decoration: none;
  transition: background .22s, color .22s, padding .22s;
}
.news-row:last-child { border-bottom: 1px solid var(--line); }
.news-row time { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.news-row h3 { font-family: var(--serif); font-weight: 400; font-size: 17.5px; line-height: 1.45; margin: 0; }
.news-row .tag { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); text-align: right; }
.news-row .arw { font-family: var(--mono); font-size: 13px; color: var(--line-2); transition: transform .22s, color .22s; }
.news-row:hover { background: var(--ink); color: var(--paper); padding-inline: 16px; }
.news-row:hover time, .news-row:hover .tag { color: rgba(245, 242, 234, .72); }
.news-row:hover .arw { color: var(--paper); transform: translateX(4px); }

/* feature notes */
.note-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.note { padding: 26px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note:last-child { border-right: 0; }
.note b { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; font-weight: 500; margin-bottom: 12px; }
.note p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ink-2); }

/* cta */
.cta { padding: 74px 0; border-bottom: 1px solid var(--line); background: var(--ink); color: var(--paper); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.16; margin: 0; max-width: 18ch; }
.cta p { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: rgba(245, 242, 234, .6); margin: 14px 0 0; }
.cta .btn { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.cta .btn:hover { background: transparent; color: var(--paper); }

/* ---------- page head ---------- */
.page-head { padding: 62px 0 46px; border-bottom: 1px solid var(--line); }
.page-head h1 {
  font-family: var(--serif); font-weight: 400; margin: 12px 0 18px;
  font-size: clamp(32px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -.015em;
}
.page-head p { margin: 0; max-width: 62ch; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.crumb { display: flex; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb span::before { content: "/"; margin-right: 10px; color: var(--line-2); }

/* ---------- article ---------- */
.post-head { padding: 52px 0 40px; border-bottom: 1px solid var(--line); }
.post-head h1 {
  font-family: var(--serif); font-weight: 400; margin: 16px 0 26px;
  font-size: clamp(27px, 4vw, 50px); line-height: 1.2; letter-spacing: -.01em; max-width: 26ch;
}
.post-meta {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted);
}
.post-meta .sep { width: 1px; height: 10px; background: var(--line-2); }

.prose { max-width: 74ch; padding: 44px 0 8px; }
.prose p { margin: 0 0 24px; font-size: 16px; line-height: 2; color: var(--ink-2); }
.prose h2 {
  font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.45;
  margin: 46px 0 18px; padding-top: 22px; border-top: 1px solid var(--line);
}
.prose blockquote {
  margin: 30px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent);
  font-family: var(--serif); font-size: 17px; line-height: 1.9; color: var(--ink);
}
.prose ul { margin: 0 0 24px; padding-left: 20px; font-size: 15px; line-height: 2; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .lede { font-family: var(--serif); font-size: 18px; line-height: 1.95; color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 44px; max-width: 74ch; }
.tags span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  border: 1px solid var(--line); padding: 6px 12px; color: var(--muted);
}

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager a { padding: 26px 8px; text-decoration: none; transition: background .22s; }
.pager a + a { border-left: 1px solid var(--line); text-align: right; }
.pager a:hover { background: var(--paper-2); }
.pager .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); display: block; margin-bottom: 10px; }
.pager .ttl { font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.pager .empty { padding: 26px 8px; font-family: var(--mono); font-size: 11px; color: var(--line-2); letter-spacing: .1em; }

/* ---------- footer ---------- */
.site-foot { padding: 58px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding-bottom: 42px; }
.foot-grid h4 { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin: 0 0 16px; font-weight: 500; }
.foot-brand .brand-txt strong { font-size: 22px; }
.foot-brand p { margin: 16px 0 0; max-width: 34ch; font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.foot-links { display: flex; flex-direction: column; gap: 9px; }
.foot-links a { font-size: 13px; text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--muted);
}

/* ---------- 404 ---------- */
.e404 { padding: 96px 0 110px; }
.e404 .big {
  font-family: var(--serif); font-size: clamp(96px, 20vw, 230px); line-height: .9;
  color: transparent; -webkit-text-stroke: 1.4px var(--ink); margin: 0; letter-spacing: -.02em;
}
.e404 h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 38px); margin: 22px 0 14px; }
.e404 p { max-width: 46ch; color: var(--ink-2); margin: 0 0 32px; }
.e404 .links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.e404 .links a { text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.e404 .links a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }

/* ---------- responsive ---------- */
@media (max-width: 1010px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 54px 0 46px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .card:nth-child(3n) { border-right: 1px solid var(--line); }
  .card:nth-child(2n) { border-right: 0; }
  .note-grid { grid-template-columns: 1fr 1fr; }
  .note:nth-child(2n) { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .nav { display: none; }
  .burger { display: block; }
  .head-in { height: 64px; }
  .drawer { inset: 64px 0 0 0; }
  .grid-3, .note-grid, .foot-grid { grid-template-columns: 1fr; }
  .card, .note { border-right: 0; }
  .sec { padding: 48px 0; }
  .news-row { grid-template-columns: 78px 1fr 18px; gap: 12px; padding: 16px 4px; }
  .news-row .tag { display: none; }
  .news-row h3 { font-size: 16px; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .post-head h1 { font-size: 27px; }
  .prose p { font-size: 15.5px; line-height: 1.95; }
  .e404 { padding: 64px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
