/* ============================================================
   mickyyang.com v2 - dark cinematic / kinetic type / gold accent
   Theme: locked dark (mixing-stage language)
   Type:  Clash Display (display) + Switzer (body) + system CJK
   ============================================================ */

:root {
  --bg: #0b0a09;            /* warm near-black, never pure #000 */
  --bg-2: #12100e;
  --surface: #171412;
  --fg: #ece7df;            /* warm off-white */
  --fg-dim: #a89f92;
  --muted: #8a8175;
  --line: rgba(236, 231, 223, 0.10);
  --gold: #c9a24b;          /* Golden Melody 金 */
  --gold-soft: rgba(201, 162, 75, 0.14);
  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 2px;            /* sharp system, near-square everywhere */
  --display: "Clash Display", "PingFang TC", "Noto Sans TC", sans-serif;
  --body: "Switzer", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* aliases so ported page scripts (inline var() strings) keep working */
  --text2: var(--fg-dim);
  --accent: var(--gold);
  --border: var(--line);
  --surface-2: #1a1714;
  --bg2: var(--bg-2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--gold); color: #0b0a09; }

/* ---------------- NAV ---------------- */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: 0 var(--pad);
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
nav .nav-links { margin-left: auto; }
nav.scrolled {
  background: rgba(11, 10, 9, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-dim);
}
.nav-links a { transition: color 0.25s ease; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
}
.nav-burger { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.nav-burger span { width: 22px; height: 1.5px; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.3s; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#domeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(52px, 9.5vw, 138px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .word { display: inline-block; }
.hero-title .accent-line { color: var(--fg-dim); }
.hero-tagline {
  margin-top: 30px;
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--fg-dim);
}
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22vh;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

/* ---------------- SECTIONS ---------------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 170px) var(--pad);
}

/* Statement + stats */
.statement-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 14em;
}
.statement-title em {
  font-style: normal;
  color: var(--gold);
}
.stats-grid {
  margin-top: clamp(56px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 4vw, 56px);
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 5.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------------- ATMOS HORIZONTAL PAN ---------------- */
.atmos-pan {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.atmos-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.5vw, 64px);
  height: 100dvh;
  padding: 0 var(--pad);
  width: max-content;
}
.atmos-intro { flex: 0 0 auto; width: min(520px, 72vw); }
.atmos-intro h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.atmos-intro p {
  margin-top: 24px;
  color: var(--fg-dim);
  max-width: 34ch;
}
.pan-card {
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 430px);
  transition: transform 0.5s var(--ease);
}
.pan-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.92);
  transition: filter 0.5s ease, transform 0.6s var(--ease);
}
.pan-card:hover img { filter: saturate(1.05); transform: scale(1.02); }
.pan-meta { margin-top: 16px; display: flex; align-items: baseline; gap: 14px; }
.pan-meta h3 { font-family: var(--display); font-weight: 600; font-size: 22px; }
.pan-meta p { color: var(--muted); font-size: 14px; }
.atmos-outro { flex: 0 0 auto; padding-right: clamp(40px, 8vw, 140px); }

/* mobile fallback: native horizontal scroll-snap */
@media (max-width: 767px) {
  .atmos-track {
    height: auto;
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--pad);
    padding: 72px var(--pad);
    -webkit-overflow-scrolling: touch;
  }
  .atmos-intro, .pan-card, .atmos-outro { scroll-snap-align: start; }
}

/* ---------------- NOTES SPLIT ---------------- */
.notes-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 90px);
  align-items: center;
}
.notes-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.9) contrast(1.02);
}
.notes-body h2, .games-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.notes-copy, .games-copy {
  margin-top: 16px;
  color: var(--fg-dim);
  max-width: 46ch;
}
.note-feature {
  margin-top: 38px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.note-feature time { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.note-feature h3 {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
}
.note-feature h3 a { transition: color 0.25s ease; }
.note-feature h3 a:hover { color: var(--gold); }
.note-feature p { margin-top: 10px; color: var(--fg-dim); font-size: 15px; max-width: 52ch; }
.link-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.link-line:hover { color: var(--gold); border-color: var(--gold); }

/* ---------------- GAME BENTO ---------------- */
.games .link-line { margin-top: 40px; }
.game-bento {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 300px 300px;
  gap: 14px;
}
.cell { position: relative; overflow: hidden; border-radius: var(--radius); }
.cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.7s var(--ease), filter 0.5s ease;
}
.cell:hover img { transform: scale(1.045); filter: saturate(1.05); }
.cell figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 18px 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  background: linear-gradient(180deg, transparent, rgba(11, 10, 9, 0.88));
}
.cell-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.cell-b { grid-column: 3 / 4; grid-row: 1; }
.cell-c { grid-column: 4 / 5; grid-row: 1; }
.cell-d { grid-column: 3 / 4; grid-row: 2; }
.cell-e { grid-column: 4 / 5; grid-row: 2; }

/* ---------------- FINAL CTA ---------------- */
.final-cta {
  text-align: center;
  padding-top: clamp(110px, 14vw, 200px);
  padding-bottom: clamp(110px, 14vw, 200px);
}
.final-cta h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 92px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.btn-major {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 34px;
  border: 1px solid var(--fg);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.15s ease;
}
.btn-major:hover { background: var(--fg); color: var(--bg); }
.btn-major:active { transform: scale(0.98); }
.btn-gold {
  margin-top: 44px;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-gold:hover { background: var(--gold); color: #0b0a09; }
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn-major:hover .btn-arrow, .link-line:hover .btn-arrow { transform: translateX(5px); }

/* ---------------- FOOTER ---------------- */
footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { transition: color 0.25s ease; }
.footer-links a:hover { color: var(--fg); }

/* ---------------- REVEAL (JS adds .in) ---------------- */
.reveal > * { opacity: 0; transform: translateY(36px); }
.reveal.in > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal.in > *:nth-child(4) { transition-delay: 0.24s; }

/* ---------------- MOBILE ---------------- */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #0e0c0b;
    border-bottom: 1px solid var(--line);
    padding: 10px 0 18px;
    display: none;
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px var(--pad); font-size: 16px; }
  .nav-links a.active::after { display: none; }
  .nav-burger { display: flex; }
  .nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .notes-split { grid-template-columns: 1fr; }
  .game-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .cell { aspect-ratio: 4 / 3; }
  .cell-a { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 16 / 10; }
  .cell-b, .cell-c, .cell-d, .cell-e { grid-column: auto; grid-row: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------------- REDUCED MOTION ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal > * { opacity: 1; transform: none; transition: none; }
  .cell img, .pan-card img { transition: none; }
}

/* ============================================================
   PAGE COMPONENTS (inner pages)
   ============================================================ */

/* ---------------- LANG PICKER ---------------- */
.lang-picker { position: relative; }
.lang-picker-btn {
  min-width: 44px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.lang-picker-btn::before { content: attr(data-current); }
.lang-picker-btn:hover { color: var(--fg); border-color: var(--fg-dim); }
.lang-picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  list-style: none;
  background: #14110f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 96px;
  padding: 6px 0;
  display: none;
  z-index: 120;
}
.lang-picker.open .lang-picker-menu { display: block; }
.lang-picker-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  font-size: 13.5px;
  color: var(--fg-dim);
  transition: color 0.2s ease, background 0.2s ease;
}
.lang-picker-menu button:hover { color: var(--fg); background: rgba(236, 231, 223, 0.05); }
.lang-picker-menu button.active { color: var(--gold); }

/* ---------------- PAGE HEAD ---------------- */
.page-main { padding-top: 68px; }
.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 130px) var(--pad) clamp(36px, 4.5vw, 64px);
}
.eyebrow {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.page-head .lede {
  margin-top: 22px;
  color: var(--fg-dim);
  max-width: 62ch;
  font-size: clamp(15px, 1.4vw, 17px);
}
.page-head h1 .h1-sub {
  display: block;
  margin-top: 10px;
  font-size: 0.42em;
  font-weight: 500;
  color: var(--fg-dim);
  letter-spacing: 0;
}

/* section wrapper for inner pages */
.page-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(70px, 9vw, 130px);
}

/* ---------------- TAXONOMY STRIP ---------------- */
.taxonomy-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin: 34px 0 44px;
}
.taxonomy-strip > div { display: flex; flex-direction: column; gap: 4px; }
.taxonomy-strip span {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.taxonomy-strip strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.taxonomy-strip small { font-size: 13px; color: var(--fg-dim); }

/* ---------------- TOOLBAR / SEARCH / PILLS ---------------- */
.data-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 26px 0 18px;
}
.data-toolbar p { color: var(--fg-dim); font-size: 14.5px; }
.toolbar-note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.search-bar {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg);
  padding: 12px 16px;
  min-width: min(340px, 100%);
  font-size: 14.5px;
  transition: border-color 0.25s ease;
}
.search-bar::placeholder { color: var(--muted); }
.search-bar:focus { outline: none; border-color: var(--gold); }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.filter-pill {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-dim);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.filter-pill:hover { color: var(--fg); border-color: var(--fg-dim); }
.filter-pill.active { color: #0b0a09; background: var(--gold); border-color: var(--gold); }

/* ---------------- WORK GRIDS (atmos + credits) ---------------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 26px 20px;
  padding: 26px 0 8px;
}
.work-list-card { display: block; }
.work-list-card .work-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.92);
  transition: transform 0.5s var(--ease), filter 0.4s ease;
}
.work-list-card:hover .work-cover { transform: translateY(-4px); filter: saturate(1.05); }
.work-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.work-placeholder span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  color: var(--fg-dim);
}
.work-placeholder small {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.work-list-copy { padding-top: 12px; }
.work-list-copy h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.3;
}
.work-list-copy p { color: var(--fg-dim); font-size: 13.5px; margin-top: 3px; }
.work-list-copy small { display: none; }
.atmos-date-lines { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.atmos-date-lines span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.credit-work-copy small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.credit-work-copy .toolbar-note { color: var(--gold); font-size: 12px; margin-top: 8px; }

/* ---------------- YEAR / CATEGORY GROUPS ---------------- */
.year-group, .credit-category-group { margin-top: 34px; }
.year-head, .credit-category-head {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  transition: color 0.25s ease;
}
.year-head span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.year-head strong { font-size: 13px; font-weight: 500; color: var(--muted); }
.year-head:hover span, .credit-category-head:hover h3 { color: var(--gold); }
.credit-category-head span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
}
.credit-category-head h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  transition: color 0.25s ease;
}
.year-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 10px;
  padding-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.year-more:hover { color: var(--gold); border-color: var(--gold); }

/* ---------------- TOOL BANNER (atmos visualizer) ---------------- */
.tool-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin: 10px 0 8px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.tool-banner:hover { border-color: var(--gold); background: rgba(201, 162, 75, 0.05); }
.tool-banner-copy { flex: 1; min-width: 200px; }
.tool-banner-copy h3 { font-family: var(--display); font-weight: 600; font-size: 19px; }
.tool-banner-copy p { color: var(--fg-dim); font-size: 13.5px; margin-top: 5px; line-height: 1.55; }
.tool-banner .btn-major { flex: none; margin-left: auto; padding: 13px 24px; font-size: 14.5px; }

/* ---------------- BLOG / JOURNAL ---------------- */
.journal-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.journal-index {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 2.5vw, 40px);
}
.journal-index span {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.journal-index strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  margin-top: 4px;
}
.journal-index small { display: block; color: var(--fg-dim); font-size: 13px; margin-top: 3px; }
.featured-note {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(26px, 3.5vw, 56px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.featured-note:hover { border-color: var(--gold); }
.featured-note-media { height: 100%; min-height: 280px; }
.featured-note-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }
.featured-note-media.no-image { display: flex; align-items: center; justify-content: center; background: var(--surface); }
.featured-note-copy { padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0; }
.featured-note-copy > span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.featured-note-copy h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
  margin-top: 12px;
}
.featured-note-copy p { color: var(--fg-dim); margin-top: 12px; font-size: 15px; }
.featured-note-copy small { display: block; margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.journal-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.4s var(--ease);
}
.journal-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.journal-card.wide { grid-column: span 2; }
.journal-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 18px;
}
.journal-card-top span { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.journal-card-top small { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.journal-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.92); }
.journal-card-copy { padding: 16px 18px 20px; }
.journal-card-copy h3 { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.journal-card-copy p {
  color: var(--fg-dim);
  font-size: 14px;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.journal-card-copy small { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.mini-module, .note-module {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 26px;
  background: var(--surface);
  aspect-ratio: 16 / 9;
}
.mini-module i, .note-module span { background: rgba(236, 231, 223, 0.07); border-radius: var(--radius); }

/* ---------------- BLOG POST (article) ---------------- */
.post-wrap { max-width: 800px; margin: 0 auto; padding: 0 var(--pad) clamp(70px, 9vw, 120px); }
.back-line {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: clamp(50px, 6vw, 80px) 0 40px;
  transition: color 0.25s ease;
}
.back-line:hover { color: var(--gold); }
.post-date { font-family: var(--mono); font-size: 13px; color: var(--gold); letter-spacing: 0.12em; margin-bottom: 16px; }
.post-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: clamp(30px, 4vw, 52px);
}
#postContent img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.4rem 0; }
#postContent h2, #postContent h3, #postContent h4 {
  font-family: var(--display);
  font-weight: 600;
  margin: 2.2rem 0 1rem;
  color: var(--fg);
  line-height: 1.3;
}
#postContent p { color: var(--fg-dim); line-height: 2; font-size: 15.5px; margin-bottom: 1.1rem; }
#postContent figure { margin: 1.6rem 0; }
#postContent figcaption { font-size: 13px; color: var(--muted); margin-top: 0.5rem; }
#postContent a { color: var(--gold); border-bottom: 1px solid rgba(201, 162, 75, 0.35); }
#postContent ul, #postContent ol { color: var(--fg-dim); line-height: 2; font-size: 15.5px; padding-left: 1.5rem; margin-bottom: 1.1rem; }
#postContent blockquote { border-left: 2px solid var(--gold); padding-left: 1.1rem; margin: 1.6rem 0; color: var(--fg-dim); }
#postContent pre, #postContent code { background: var(--surface); padding: 0.2em 0.45em; border-radius: var(--radius); font-size: 13.5px; font-family: var(--mono); }
#postContent pre { padding: 1rem; overflow-x: auto; margin: 1.1rem 0; }
#postContent hr { border: none; border-top: 1px solid var(--line); margin: 2.2rem 0; }
#postContent iframe { max-width: 100%; }

/* ---------------- SPLIT + EDGE LISTS (about / contact) ---------------- */
.split-section {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 5vw, 90px);
  margin-top: clamp(30px, 4vw, 56px);
}
.split-section .bio p { color: var(--fg-dim); line-height: 1.95; font-size: 15.5px; }
.split-section .bio p + p { margin-top: 1.4rem; }
.side-label {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}
.edge-list { display: flex; flex-direction: column; gap: 22px; }
.edge-item { border-left: 2px solid var(--gold); padding-left: 18px; }
.edge-item .edge-year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 4px;
}
.edge-item .edge-title { font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.edge-item .edge-sub { font-size: 13.5px; color: var(--fg-dim); margin-top: 3px; }

/* photo grid (about) */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(30px, 4vw, 50px);
}
.craft-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.9);
  transition: filter 0.4s ease;
}
.craft-grid img:hover { filter: saturate(1.05); }

/* contact card */
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 20px;
}
.contact-card .card-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-card a.card-mail {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px);
  display: block;
  word-break: break-all;
  transition: color 0.25s ease;
}
.contact-card a.card-mail:hover { color: var(--gold); }
.contact-card .card-note { font-size: 14px; color: var(--fg-dim); margin-top: 8px; }

/* centered CTA panel (contact) */
.panel-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 48px);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.panel-cta h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
}
.panel-cta > p { color: var(--fg-dim); margin: 16px auto 30px; max-width: 52ch; font-size: 15px; }

/* ---------------- INNER-PAGE MOBILE ---------------- */
@media (max-width: 860px) {
  .taxonomy-strip { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .journal-hero { grid-template-columns: 1fr; }
  .journal-index { flex-direction: row; gap: 40px; border-left: none; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .featured-note { grid-template-columns: 1fr; }
  .featured-note-copy { padding: 22px; }
  .journal-card.wide { grid-column: auto; }
  .split-section { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; }
  .tool-banner .btn-major { margin-left: 0; }
  .lang-picker { margin-left: auto; }
  nav .nav-links { margin-left: 0; }
}
