﻿/* ==========================================================================
   王健康 · AIGC 影像作品集
   Design system: ink & vermilion — a film-editorial take on a Chinese personal site.
   ========================================================================== */

:root {
  --ink-0: #0a0908;
  --ink-1: #100f0d;
  --ink-2: #171512;
  --ink-3: #1f1c18;
  --paper: #efe7d8;
  --paper-2: #f8f3e7;
  --ink-text: #1b1814;

  --text: #ece5d8;
  --muted: #c3b8a8;
  --dim: #9e9486;
  --vermilion: #bf4a33;
  --vermilion-soft: #d6705a;
  --gold: #b49366;
  --jade: #7d9a92;

  --line: rgba(236, 229, 216, .13);
  --line-strong: rgba(236, 229, 216, .26);
  --line-ink: rgba(27, 24, 20, .16);

  --serif: "Songti SC", "STZhongsong", "华文中宋", "Source Han Serif SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --kai: "STKaiti", "KaiTi", "Kaiti SC", "楷体", "STSong", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;

  --pad: clamp(20px, 4.6vw, 60px);
  --maxw: 1300px;
  --ease: cubic-bezier(.22, .68, .28, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font: 15px/1.85 var(--sans);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { border: 0; padding: 0; background: none; cursor: pointer; }
button, a, input, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
::selection { background: var(--vermilion); color: #fff7ee; }

:focus-visible { outline: 2px solid var(--vermilion-soft); outline-offset: 4px; border-radius: 2px; }

/* film grain over the whole page ------------------------------------------------ */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink-text);
  font-size: 12px;
  border-radius: 3px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

.wrap { width: min(var(--maxw), 100% - var(--pad) * 2); margin-inline: auto; }

/* type --------------------------------------------------------------------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.kicker .rule { width: 26px; height: 1px; background: var(--vermilion); display: inline-block; }
.kicker.dark { color: #6f665a; }
.kicker .num { font-family: var(--serif); letter-spacing: .12em; color: var(--vermilion-soft); }

h1, h2, .display { font-family: var(--serif); font-weight: 500; letter-spacing: .015em; line-height: 1.24; }

/* buttons ------------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-height: 50px;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: .08em;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn .arrow { font-size: 16px; line-height: 1; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn-solid { background: var(--paper); color: var(--ink-text); }
.btn-solid:hover { background: #fffaf0; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .09); }
.btn-ink { background: var(--ink-text); color: var(--paper); }
.btn-ink:hover { background: #2b251e; }
.btn-flat { border-color: var(--line-ink); color: var(--ink-text); }
.btn-flat:hover { border-color: var(--ink-text); }

/* seal --------------------------------------------------------------------- */
.seal {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--vermilion);
  color: #fdf3e6;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 240, 220, .38), 0 2px 10px rgba(0, 0, 0, .28);
  letter-spacing: 0;
}
.seal.tall { font-size: 15px; line-height: 1.15; text-align: center; padding: 3px; }

/* header ------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 max(var(--pad), calc((100vw - var(--maxw)) / 2));
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease), color .4s var(--ease);
}
.site-header.is-stuck {
  height: 68px;
  background: rgba(10, 9, 8, .78);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.site-header.is-light {
  background: rgba(239, 231, 216, .86);
  color: var(--ink-text);
  border-bottom-color: var(--line-ink);
}
.site-header.is-light .brand small { color: #6f665a; }
.site-header.is-light .nav a { color: #4c453b; }
.site-header.is-light .nav a:hover,
.site-header.is-light .nav a.current { color: var(--ink-text); }
.site-header.is-light .status { border-color: var(--line-ink); color: #4c453b; }

.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .14em; }
.brand-text small { font-size: 9px; letter-spacing: .3em; color: var(--muted); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 16px;
  font-size: 13px;
  color: #cbc2b4;
  border-radius: 3px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav a em { font-family: var(--serif); font-style: normal; font-size: 10px; color: var(--dim); letter-spacing: .06em; }
.nav a:hover, .nav a.current { color: var(--text); }
.nav a.current em { color: var(--vermilion-soft); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: .12em;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  color: #d8cfc1;
  white-space: nowrap;
  transition: border-color .3s, color .3s;
}
.status i { width: 5px; height: 5px; border-radius: 50%; background: var(--vermilion-soft); box-shadow: 0 0 0 0 rgba(214, 112, 90, .6); animation: pulse 2.6s infinite; }
.status:hover { border-color: var(--paper); color: var(--text); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214, 112, 90, .55); }
  70% { box-shadow: 0 0 0 8px rgba(214, 112, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 112, 90, 0); }
}

.menu-toggle { display: none; }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(8, 7, 6, .97);
  backdrop-filter: blur(14px);
  padding: 100px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer a {
  font-family: var(--serif);
  font-size: 30px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.drawer a small { font-family: var(--sans); font-size: 10px; letter-spacing: .3em; color: var(--dim); }
.drawer .drawer-foot { margin-top: auto; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }

/* hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(880px, 92svh);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 14%, rgba(126, 58, 40, .30), transparent 55%),
    radial-gradient(ellipse at 8% 92%, rgba(38, 46, 56, .38), transparent 60%),
    var(--ink-0);
}
.hero-canvas { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-glyph {
  position: absolute;
  right: clamp(-60px, 1vw, 40px);
  top: 46%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(300px, 40vw, 600px);
  line-height: .82;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 229, 216, .11);
  letter-spacing: -.04em;
  user-select: none;
}
.hero-rule {
  position: absolute;
  top: 0;
  bottom: 0;
  right: clamp(48px, 12vw, 180px);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(236, 229, 216, .16) 25%, rgba(236, 229, 216, .16) 75%, transparent);
}
.hero-inner {
  position: relative;
  width: min(var(--maxw), 100% - var(--pad) * 2);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 128px 0 30px;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(236, 229, 216, .6);
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(236, 229, 216, .12);
}
.hero-topline b { font-weight: 500; color: var(--vermilion-soft); }

.hero-body { margin-top: auto; padding: clamp(40px, 7vh, 84px) 0 clamp(28px, 4vh, 48px); max-width: 760px; }
.hero-title {
  font-size: clamp(54px, 7.2vw, 108px);
  line-height: 1.14;
  letter-spacing: .015em;
  margin: 24px 0 28px;
}
.hero-title .accent { color: var(--vermilion-soft); position: relative; }
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -2%;
  bottom: .02em;
  height: 2px;
  background: linear-gradient(90deg, var(--vermilion), transparent 92%);
  opacity: .65;
}
.hero-sub { font-size: clamp(13px, 1.2vw, 15px); line-height: 2.1; color: #cfc6b8; max-width: 470px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: .14em;
  color: #c9c0b3;
}
.hero-note i { width: 5px; height: 5px; border-radius: 50%; background: var(--vermilion-soft); }

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(236, 229, 216, .16);
}
.hero-facts { display: flex; gap: clamp(28px, 5vw, 64px); }
.hero-facts div { font-size: 10px; letter-spacing: .18em; color: #8f877b; }
.hero-facts strong { display: block; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: .02em; color: var(--text); font-weight: 500; line-height: 1.2; margin-bottom: 2px; }
.hero-facts .unit { font-size: 14px; color: var(--muted); margin-left: 2px; }
.hero-scroll { font-size: 10px; letter-spacing: .22em; color: #8f877b; display: inline-flex; align-items: center; gap: 10px; }
.hero-scroll i { display: block; width: 28px; height: 1px; background: var(--vermilion); }
.hero-vertical { display: none; }

/* marquee ------------------------------------------------------------------ */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink-0);
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .3em;
  color: #8d8478;
  white-space: nowrap;
}
.marquee span i { font-style: normal; color: var(--vermilion); font-size: 11px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* section shell ------------------------------------------------------------ */
.section { padding: clamp(78px, 10vw, 140px) 0; position: relative; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 5vw, 70px);
}
.section-head h2 { font-size: clamp(34px, 4.1vw, 60px); line-height: 1.3; margin-top: 18px; }
.section-head h2 em { font-style: normal; color: var(--muted); }
.section-aside { max-width: 290px; font-size: 12px; line-height: 2; color: var(--muted); text-align: right; padding-bottom: 6px; }
.section-aside b { color: var(--text); font-weight: 500; }

/* works -------------------------------------------------------------------- */
.work {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-bottom: clamp(70px, 9vw, 130px);
}
.work:last-of-type { padding-bottom: 0; }
.work.flip .work-media { order: 2; }

.work-media {
  position: relative;
  padding: 10px;
  background: linear-gradient(160deg, rgba(236, 229, 216, .07), rgba(236, 229, 216, .01));
  border: 1px solid var(--line);
  border-radius: 4px;
}
.work-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(0, 0, 0, .35);
  border-radius: 2px;
  pointer-events: none;
}
.work-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: #050505;
  display: grid;
  grid-template-areas: "stack";
}
.work-cover > .cover-btn,
.work-cover > .inline-slot { grid-area: stack; min-width: 0; min-height: 0; }
.work-cover > .cover-btn { position: relative; inset: auto; display: block; width: 100%; height: 100%; text-align: left; }
.work-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.work-media:hover .work-cover img { transform: scale(1.035); }
.cover-shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6, 5, 4, .88) 0%, rgba(6, 5, 4, .18) 46%, rgba(6, 5, 4, .34) 100%);
}
.cover-tag {
  position: absolute; top: 18px; left: 18px;
  font-size: 9px; letter-spacing: .26em; color: rgba(236, 229, 216, .78);
  padding: 5px 9px; border: 1px solid rgba(236, 229, 216, .3); border-radius: 2px;
  backdrop-filter: blur(4px);
}
.cover-num {
  position: absolute; top: 10px; right: 16px;
  font-family: var(--serif); font-size: 54px; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(236, 229, 216, .45);
}
.cover-bottom { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cover-bottom strong { font-family: var(--serif); font-size: clamp(19px, 2vw, 26px); font-weight: 500; letter-spacing: .04em; }
.cover-bottom small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .14em; color: rgba(236, 229, 216, .68); margin-top: 4px; }
.play-orb {
  width: 58px; height: 58px; flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 246, 232, .55);
  background: rgba(20, 18, 16, .35);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding-left: 3px;
  font-size: 15px;
  transition: background .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.cover-btn:hover .play-orb { background: var(--vermilion); border-color: var(--vermilion); transform: scale(1.05); }
.cover-time { position: absolute; right: 20px; top: 18px; font-size: 10px; letter-spacing: .12em; color: rgba(236, 229, 216, .7); font-variant-numeric: tabular-nums; }

.inline-slot { position: relative; inset: auto; background: #000; z-index: 2; display: flex; }
.inline-slot .cp { height: 100%; width: 100%; }
.inline-slot .cp-stage { height: 100%; aspect-ratio: auto; flex: 1; }
.inline-slot .cp-dm-input { display: none; }

.work-info { min-width: 0; }
.work-index {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--vermilion-soft);
  margin-bottom: 16px;
}
.work-info h3 { font-family: var(--serif); font-size: clamp(29px, 3.1vw, 42px); font-weight: 500; line-height: 1.35; letter-spacing: .02em; }
.work-info h3 span { font-family: var(--sans); font-size: 11px; color: var(--dim); letter-spacing: .16em; margin-left: 10px; vertical-align: middle; }
.work-desc { margin: 18px 0 24px; font-size: 13.5px; line-height: 2.05; color: var(--muted); }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.specs dt { color: var(--dim); letter-spacing: .1em; white-space: nowrap; }
.specs dd { color: #d8d0c2; text-align: right; }

.work-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
.work-tags span { font-size: 10px; letter-spacing: .1em; padding: 5px 10px; border: 1px solid var(--line); border-radius: 40px; color: var(--muted); }

.work-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.work-actions .btn { flex: 1 1 auto; justify-content: center; min-height: 46px; font-size: 12px; }

.scene-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.scene-row button { position: relative; overflow: hidden; border-radius: 2px; border: 1px solid transparent; transition: border-color .3s; }
.scene-row button img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; opacity: .66; transition: opacity .35s, transform .8s var(--ease); }
.scene-row button span {
  position: absolute; left: 7px; bottom: 6px;
  font-size: 8px; letter-spacing: .1em; color: #efe8db;
  text-shadow: 0 1px 4px #000;
}
.scene-row button:hover img, .scene-row button.is-active img { opacity: 1; transform: scale(1.04); }
.scene-row button.is-active { border-color: var(--vermilion); }

.works-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px; line-height: 1.9; color: var(--dim);
}
.works-note b { color: var(--muted); font-weight: 500; }

/* résumé / paper ----------------------------------------------------------- */
.paper {
  background: var(--paper);
  color: var(--ink-text);
  position: relative;
  isolation: isolate;
}
.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 252, 245, .9), transparent 55%),
    radial-gradient(ellipse at 88% 100%, rgba(206, 194, 172, .5), transparent 50%);
}
.paper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23p)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.paper .section-head { border-bottom-color: var(--line-ink); }
.paper .kicker { color: #6f665a; }
.paper .kicker .num,
.paper .kicker .rule { color: var(--vermilion); background-color: var(--vermilion); }
.paper .section-aside { color: #6b6255; }
.paper .section-aside b { color: var(--ink-text); }

.resume-grid {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: clamp(30px, 4vw, 66px);
  align-items: start;
}
.portrait-card { position: sticky; top: 96px; }
.portrait-frame {
  padding: 12px 12px 0;
  background: #fbf7ee;
  border: 1px solid var(--line-ink);
  box-shadow: 0 24px 50px -30px rgba(40, 32, 22, .5);
}
.portrait-frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 46%; }
.portrait-meta { display: flex; align-items: center; gap: 12px; padding: 14px 2px 14px; }
.portrait-meta .seal { width: 46px; height: 46px; font-size: 15px; line-height: 1.05; text-align: center; }
.portrait-meta p { font-size: 9px; letter-spacing: .24em; color: #6f665a; line-height: 1.7; }

.resume-lead h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: .03em; }
.resume-role { font-size: 12px; letter-spacing: .18em; color: #7a7062; margin-top: 8px; }
.resume-intro { font-size: 14px; line-height: 2.1; color: #4d463c; margin-top: 20px; max-width: 620px; }

.contact-chips { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 26px 0 0; padding: 20px 0; border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); }
.contact-chips a, .contact-chips span { display: flex; align-items: baseline; gap: 9px; font-size: 13px; color: #332d25; }
.contact-chips a:hover { color: var(--vermilion); }
.contact-chips em { font-style: normal; font-size: 9px; letter-spacing: .22em; color: #8a8072; }

.timeline { margin-top: 8px; }.tl {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-ink);
}
.tl-date { font-family: var(--serif); font-size: 13px; letter-spacing: .06em; color: #5a5347; line-height: 1.7; }
.tl-date span { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .22em; color: var(--vermilion); margin-top: 4px; }
.tl-body h4 { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .02em; }
.tl-role { font-size: 12px; color: var(--vermilion); letter-spacing: .06em; margin-top: 5px; }
.tl-body p.body { font-size: 13.5px; line-height: 2.05; color: #4d463c; margin-top: 12px; }
.tl-metrics { display: flex; gap: clamp(20px, 4vw, 54px); margin-top: 20px; padding-top: 18px; border-top: 1px dashed rgba(27, 24, 20, .2); }
.tl-metrics strong { display: block; font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1; letter-spacing: .01em; }
.tl-metrics strong small { font-size: 13px; margin-left: 2px; }
.tl-metrics p { font-size: 10px; letter-spacing: .1em; color: #7a7163; margin-top: 8px; }
.tl-footnote { font-size: 10px; color: #8a8072; margin-top: 14px; line-height: 1.8; }
.tl-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tl-tools span { font-size: 10px; padding: 4px 9px; border: 1px solid var(--line-ink); border-radius: 40px; color: #5a5347; }

/* job-seeking block, personal note, signature ------------------------------- */
.job-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
  margin-bottom: clamp(30px, 4vw, 52px);
}
.job-strip div { padding: 18px 22px 20px 0; border-right: 1px solid var(--line-ink); }
.job-strip div:last-child { border-right: 0; }
.job-strip em { display: block; font-style: normal; font-size: 9px; letter-spacing: .26em; color: #8a8072; margin-bottom: 7px; }
.job-strip strong { font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .02em; color: #2b251e; }

.personal-quote {
  font-family: var(--kai);
  font-size: 19px;
  line-height: 2;
  color: #40382e;
  border-left: 2px solid var(--vermilion);
  padding: 4px 0 4px 16px;
  margin: 24px 0 0;
}
.personal-quote span { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; color: #8a8072; margin-top: 6px; }

.signature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0 8px;
  font-family: var(--kai);
  font-size: 30px;
  letter-spacing: .1em;
  color: #2f2820;
  transform: rotate(-5deg);
}
.signature i { width: 6px; height: 6px; border-radius: 50%; background: var(--vermilion); }

.keywords { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.keywords span { font-size: 10px; padding: 4px 9px; border: 1px solid var(--line-ink); border-radius: 40px; color: #5a5347; }

.advantages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0 4px;
  padding: 26px 0;
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
}
.advantages em { font-style: normal; font-family: var(--serif); font-size: 11px; letter-spacing: .2em; color: var(--vermilion); }
.advantages h4 { font-family: var(--serif); font-size: 16px; font-weight: 600; margin: 9px 0 8px; color: #241f19; }
.advantages p { font-size: 12px; line-height: 1.95; color: #564e42; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: .14em;
  color: #c9c0b3;
}
.hero-note i { width: 5px; height: 5px; border-radius: 50%; background: var(--vermilion-soft); }

.ep-ranges { display: flex; gap: 6px; margin-top: 12px; }
.ep-ranges button {
  flex: 1;
  padding: 7px 4px;
  font-size: 10px;
  letter-spacing: .04em;
  color: #a79e91;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  transition: color .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.ep-ranges button:hover { border-color: var(--line-strong); color: var(--text); }
.ep-ranges button.is-active { color: #171512; background: var(--paper); border-color: var(--paper); }

@media (max-width: 760px) {
  .job-strip { grid-template-columns: 1fr 1fr; }
  .job-strip div { padding: 14px 14px 15px 0; }
  .job-strip div:nth-child(2n) { border-right: 0; }
  .job-strip strong { font-size: 13px; }
  .advantages { grid-template-columns: 1fr; gap: 18px; padding: 22px 0; }
  .personal-quote { font-size: 17px; }
  .signature { font-size: 26px; }
}

/* craft -------------------------------------------------------------------- */
.craft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.craft-card {
  position: relative;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(165deg, rgba(236, 229, 216, .05), rgba(236, 229, 216, .012));
  transition: border-color .4s var(--ease), transform .5s var(--ease), background .5s var(--ease);
  overflow: hidden;
}
.craft-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(191, 74, 51, .16), transparent 55%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.craft-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.craft-card:hover::before { opacity: 1; }
.craft-num { font-family: var(--serif); font-size: 12px; letter-spacing: .24em; color: var(--dim); }
.craft-glyph { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--vermilion-soft); margin: 26px 0 20px; }
.craft-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: .03em; }
.craft-card p { font-size: 12.5px; line-height: 2; color: var(--muted); margin-top: 12px; min-height: 76px; }
.craft-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.craft-tools span { font-size: 10px; color: #b7aea0; border: 1px solid var(--line); padding: 4px 9px; border-radius: 40px; }

.process { margin-top: 22px; padding: 34px 32px; border: 1px solid var(--line); border-radius: 4px; }
.process-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.process-head h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; margin-top: 10px; }
.process ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
.process li { position: relative; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: #d3cabc; letter-spacing: .05em; }
.process li::before { content: ""; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--vermilion); }
.process li span { display: block; font-family: var(--serif); font-size: 10px; letter-spacing: .2em; color: var(--dim); margin-bottom: 6px; }

/* contact ------------------------------------------------------------------ */
.contact { position: relative; padding: clamp(80px, 10vw, 140px) 0 0; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 82% 8%, rgba(150, 48, 30, .38), transparent 55%),
    radial-gradient(ellipse at 8% 88%, rgba(52, 44, 34, .5), transparent 55%);
  pointer-events: none;
}
.contact-inner { position: relative; }
.contact h2 {
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1.18;
  letter-spacing: .01em;
  margin: 34px 0 0;
}
.contact h2 .accent { color: var(--vermilion-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-top: clamp(44px, 6vw, 74px);
  padding-bottom: 46px;
}
.contact-lines p { font-size: 11px; letter-spacing: .2em; color: var(--dim); }
.contact-lines strong { display: block; margin-top: 8px; font-family: var(--serif); font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; letter-spacing: .04em; color: #ddd4c5; }
.contact-lines-note { margin-top: 10px !important; font-size: 10px !important; letter-spacing: .12em; color: var(--dim) !important; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.contact-cards a {
  padding: 26px 4px 30px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .35s var(--ease);
}
.contact-cards a:last-child { border-right: 0; }
.contact-cards a:hover { background: rgba(236, 229, 216, .04); }
.contact-cards em { font-style: normal; font-size: 9px; letter-spacing: .3em; color: var(--dim); }
.contact-cards span { font-family: var(--serif); font-size: clamp(15px, 1.7vw, 20px); letter-spacing: .03em; color: #e6ded0; }
.contact-cards small { font-size: 10px; color: var(--dim); letter-spacing: .08em; }

/* footer ------------------------------------------------------------------- */
.site-footer { padding: 34px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .seal { width: 30px; height: 30px; font-size: 14px; }
.footer-brand p { font-family: var(--serif); font-size: 14px; letter-spacing: .1em; }
.footer-brand small { font-size: 8px; letter-spacing: .26em; color: var(--dim); margin-left: 6px; }
.footer-links { display: flex; gap: 22px; font-size: 11px; color: var(--dim); }
.footer-links a:hover { color: var(--text); }
.footer-meta { font-size: 10px; letter-spacing: .1em; color: #968c7e; text-align: right; line-height: 1.9; }

/* toast -------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 80;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  padding: 13px 22px;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink-text);
  font-size: 12px;
  letter-spacing: .06em;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll --------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Chinese-style streaming player
   ========================================================================== */
.cp {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--sans);
  --cp-accent: #d6705a;
}
.cp-stage { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.cp video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  -webkit-user-select: none;
  user-select: none;
}
.cp video::-webkit-media-controls-enclosure { display: none !important; }

.cp-danmaku { position: absolute; inset: 0 0 78px; overflow: hidden; pointer-events: none; z-index: 2; }
.cp-dm {
  position: absolute;
  left: 100%;
  white-space: nowrap;
  font-size: clamp(14px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 12px rgba(0, 0, 0, .55);
  will-change: transform;
}
.cp-dm.is-note { color: #ffd9c4; }
.cp-dm.is-self { color: #ffe9a8; }

.cp-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 22%, transparent 66%, rgba(0, 0, 0, .78));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.cp.is-awake .cp-shade, .cp.is-paused .cp-shade { opacity: 1; }

.cp-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.cp.is-awake .cp-top, .cp.is-paused .cp-top { opacity: 1; transform: none; }
.cp-title { font-size: 13px; letter-spacing: .04em; text-shadow: 0 1px 6px #000; }
.cp-title small { display: block; font-size: 10px; letter-spacing: .18em; color: rgba(255, 255, 255, .78); margin-top: 3px; }
.cp-quality {
  flex: none;
  font-size: 10px;
  letter-spacing: .12em;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 2px;
  background: rgba(0, 0, 0, .3);
  backdrop-filter: blur(4px);
}

.cp-big {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .16);
  transition: opacity .35s var(--ease);
}
.cp-big span {
  width: clamp(58px, 6vw, 78px);
  height: clamp(58px, 6vw, 78px);
  border-radius: 50%;
  border: 1px solid rgba(255, 246, 232, .7);
  background: rgba(18, 16, 14, .42);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding-left: 4px;
  font-size: 17px;
  transition: background .3s, transform .3s, border-color .3s;
}
.cp-big small {
  position: absolute;
  bottom: 26%;
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .72);
}
.cp-big:hover span { background: var(--cp-accent); border-color: var(--cp-accent); transform: scale(1.04); }
.cp.is-paused .cp-big { opacity: 1; pointer-events: auto; }
.cp:not(.is-paused) .cp-big { opacity: 0; pointer-events: none; }

.cp-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 6;
  padding: 0 14px 10px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .42) 62%, transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.cp.is-awake .cp-controls, .cp.is-paused .cp-controls { opacity: 1; transform: none; pointer-events: auto; }

.cp-progress {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.cp-track { position: relative; width: 100%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .22); transition: height .2s var(--ease); }
.cp-progress:hover .cp-track, .cp-progress.is-drag .cp-track { height: 5px; }
.cp-buffer { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 255, 255, .3); border-radius: 2px; }
.cp-played { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--cp-accent); border-radius: 2px; }
.cp-knob {
  position: absolute;
  top: 50%; right: 0;
  width: 11px; height: 11px;
  margin: -5.5px -5.5px 0 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .25);
  transform: scale(.4);
  opacity: 0;
  transition: transform .2s var(--ease), opacity .2s;
}
.cp-progress:hover .cp-knob, .cp.is-paused .cp-knob, .cp-progress.is-drag .cp-knob { opacity: 1; transform: scale(1); }
.cp-tip {
  position: absolute;
  bottom: 22px;
  left: 0;
  transform: translateX(-50%);
  padding: 3px 7px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  background: rgba(10, 9, 8, .86);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.cp-progress:hover .cp-tip { opacity: 1; }

.cp-row { display: flex; align-items: center; gap: 2px; height: 40px; margin-top: 2px; }
.cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 34px;
  height: 32px;
  padding: 0 7px;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .92);
  border-radius: 3px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.cp-btn:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.cp-btn svg { width: 17px; height: 17px; display: block; }
.cp-btn-label { font-size: 10px; letter-spacing: .06em; }
.cp-btn[aria-pressed="true"] { color: var(--cp-accent); }
.cp-time { font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: rgba(255, 255, 255, .88); padding: 0 8px; white-space: nowrap; }
.cp-time b { font-weight: 500; }
.cp-time i { font-style: normal; margin: 0 4px; color: rgba(255, 255, 255, .4); }
.cp-time span { color: rgba(255, 255, 255, .72); }
.cp-spacer { flex: 1; }

.cp-vol { display: flex; align-items: center; }
.cp-vol input {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 3px;
  background: rgba(255, 255, 255, .3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  transition: width .25s var(--ease);
}
.cp-vol:hover input, .cp-vol input:focus-visible { width: 62px; margin-right: 6px; }
.cp-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.cp-vol input::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #fff; }

.cp-dm-input { display: flex; align-items: center; gap: 6px; margin-right: 4px; }
.cp-dm-input input {
  width: 148px;
  height: 28px;
  padding: 0 10px;
  font-size: 11px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  outline: none;
  transition: width .3s var(--ease), border-color .2s, background .2s;
}
.cp-dm-input input::placeholder { color: rgba(255, 255, 255, .62); }
.cp-dm-input input:focus { width: 180px; background: rgba(255, 255, 255, .16); border-color: var(--cp-accent); }
.cp-dm-input button {
  height: 28px;
  padding: 0 12px;
  font-size: 11px;
  border-radius: 20px;
  background: var(--cp-accent);
  color: #211110;
  transition: filter .2s;
}
.cp-dm-input button:hover { filter: brightness(1.08); }

.cp-menu-wrap { position: relative; }
.cp-menu {
  position: absolute;
  right: 0;
  bottom: 38px;
  min-width: 96px;
  padding: 6px;
  background: rgba(16, 14, 12, .94);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  backdrop-filter: blur(12px);
  display: none;
  z-index: 10;
  box-shadow: 0 16px 34px -18px #000;
}
.cp-menu.is-open { display: block; }
.cp-menu button {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 7px 10px;
  font-size: 11px;
  border-radius: 3px;
  color: rgba(255, 255, 255, .8);
  white-space: nowrap;
}
.cp-menu button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cp-menu button[aria-checked="true"] { color: var(--cp-accent); }

.cp-nextup {
  position: absolute;
  right: 18px;
  bottom: 74px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(16, 14, 12, .9);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 3px;
  backdrop-filter: blur(10px);
  font-size: 12px;
  animation: rise .4s var(--ease);
}
.cp-nextup b { font-family: var(--serif); font-size: 15px; color: #fff; }
.cp-nextup button { font-size: 11px; color: rgba(255, 255, 255, .78); padding: 4px 8px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 2px; }
.cp-nextup button:hover { color: #fff; border-color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.cp-buffer-spin {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.cp.is-buffering .cp-buffer-spin { opacity: 1; }
.cp-buffer-spin i {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .2);
  border-top-color: var(--cp-accent);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cp-error {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: rgba(8, 7, 6, .9);
  font-size: 13px;
  color: #e8e0d2;
}
.cp-error button { padding: 8px 16px; background: var(--paper); color: var(--ink-text); border-radius: 2px; font-size: 12px; }
.cp-resume {
  position: absolute;
  left: 18px;
  bottom: 76px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(16, 14, 12, .88);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 3px;
  font-size: 11px;
  color: rgba(255, 255, 255, .78);
  backdrop-filter: blur(8px);
}
.cp-resume button { font-size: 11px; color: var(--cp-accent); }
.cp-resume button + button { color: rgba(255, 255, 255, .5); }

/* theater mode ------------------------------------------------------------- */
.cp.is-theater {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #030303;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp.is-theater .cp-stage { width: 100%; max-height: 100svh; aspect-ratio: 16 / 9; }
.cp:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.cp:fullscreen .cp-stage { flex: 1; aspect-ratio: auto; height: 100%; }

/* ==========================================================================
   Watch / screening pages
   ========================================================================== */
.watch-page { background: var(--ink-0); }
.watch-shell { width: min(var(--maxw), 100% - var(--pad) * 2); margin: 0 auto; padding-top: 108px; }

.crumbs { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .08em; color: var(--dim); margin-bottom: 26px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs span.sep { color: #4b453d; }
.crumbs b { font-weight: 400; color: var(--muted); }

.watch-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.watch-head h1 { font-size: clamp(32px, 4.4vw, 56px); margin-top: 14px; }
.watch-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.watch-tags span { font-size: 10px; letter-spacing: .12em; padding: 4px 10px; border: 1px solid var(--line); border-radius: 40px; color: var(--muted); }
.watch-side { text-align: right; flex: none; }
.creator-chip { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); padding: 7px 12px; border: 1px solid var(--line); border-radius: 40px; }
.creator-chip .seal { width: 22px; height: 22px; font-size: 11px; border-radius: 2px; }
.creator-chip b { color: var(--text); font-weight: 500; }
.creator-chip:hover { border-color: var(--line-strong); }
.watch-note { font-size: 10px; color: var(--dim); margin-top: 10px; letter-spacing: .06em; }

.watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 22px;
  align-items: start;
}
.stage {
  border: 1px solid var(--line);
  background: #060505;
  border-radius: 5px;
  overflow: hidden;
}
.stage .cp { border-radius: 0; }
.stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-top: 1px solid var(--line); }
.ep-now small { font-size: 9px; letter-spacing: .26em; color: var(--dim); display: block; }
.ep-now h2 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-top: 5px; letter-spacing: .04em; }
.ep-now p { font-size: 10px; color: var(--muted); margin-top: 4px; letter-spacing: .08em; }
.ep-nav { display: flex; gap: 8px; }
.ep-nav button {
  min-height: 38px;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: .06em;
  color: #d5ccbd;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  transition: border-color .3s, background .3s, color .3s;
}
.ep-nav button:hover:enabled { border-color: var(--text); background: rgba(236, 229, 216, .08); color: #fff; }
.ep-nav button:disabled { opacity: .3; cursor: not-allowed; }

.stage-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px 18px;
  flex-wrap: wrap;
}
.switch { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i { width: 32px; height: 18px; border-radius: 20px; background: #2a2621; border: 1px solid var(--line-strong); position: relative; transition: background .25s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #8c8376; transition: transform .25s var(--ease), background .25s; }
.switch input:checked + i { background: rgba(191, 74, 51, .35); border-color: var(--vermilion); }
.switch input:checked + i::after { transform: translateX(14px); background: var(--vermilion-soft); }
.switch input:focus-visible + i { outline: 2px solid var(--vermilion-soft); outline-offset: 3px; }
.keys { font-size: 10px; color: #a2988a; letter-spacing: .04em; }

.episodes {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(170deg, rgba(236, 229, 216, .045), rgba(236, 229, 216, .012));
  padding: 20px 18px 18px;
  position: sticky;
  top: 90px;
}
.episodes-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.episodes-head h2 { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: .06em; }
.episodes-head span { font-family: var(--serif); font-size: 13px; color: var(--vermilion-soft); font-variant-numeric: tabular-nums; }
.episodes-sub { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--dim); letter-spacing: .08em; margin-top: 6px; }
.episodes-sub span { color: #8a8175; }
.ep-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  max-height: min(520px, 56vh);
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #3d3831 transparent;
}
.ep-list::-webkit-scrollbar { width: 5px; }
.ep-list::-webkit-scrollbar-thumb { background: #3d3831; border-radius: 4px; }
.ep {
  position: relative;
  display: block;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 4px;
  transition: background .25s, border-color .25s;
}
.ep:hover { background: rgba(236, 229, 216, .07); }
.ep.is-active { border-color: var(--vermilion); background: rgba(191, 74, 51, .14); }
.ep-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: #0d0c0b; }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s; }
.ep.is-active .ep-thumb img, .ep:hover .ep-thumb img { opacity: 1; }
.ep-thumb b {
  position: absolute;
  left: 4px; bottom: 3px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 4px #000;
  letter-spacing: .02em;
}
.ep-thumb em {
  position: absolute;
  right: 4px; bottom: 4px;
  font-style: normal;
  font-size: 9px;
  color: rgba(255, 255, 255, .78);
  text-shadow: 0 1px 3px #000;
  font-variant-numeric: tabular-nums;
}
.ep-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(0, 0, 0, .4); }
.ep-progress i { display: block; height: 100%; background: var(--vermilion-soft); }
.ep.is-playing .ep-thumb::after {
  content: "播放中";
  position: absolute;
  top: 4px; left: 4px;
  font-size: 8px;
  letter-spacing: .1em;
  padding: 2px 5px;
  background: var(--vermilion);
  color: #fff5e9;
  border-radius: 2px;
}
.ep-meta { display: flex; justify-content: space-between; gap: 8px; padding: 6px 2px 2px; font-size: 10px; color: #bcb2a3; }
.ep.is-active .ep-meta { color: #f0e5d4; }

.ep-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10px; color: var(--dim); line-height: 1.8; display: flex; gap: 8px; align-items: baseline; }
.ep-foot i { width: 5px; height: 5px; border-radius: 50%; background: var(--vermilion); flex: none; }
.other-work {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.other-work small { font-size: 9px; letter-spacing: .22em; color: var(--dim); }
.other-work strong { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 6px; font-family: var(--serif); font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.other-work strong i { font-style: normal; color: var(--vermilion-soft); }
.other-work:hover strong { color: #fff; }

.about-work {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  margin-top: 26px;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(165deg, rgba(236, 229, 216, .04), transparent 60%);
}
.about-work h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 12px 0 16px; }
.about-work p { font-size: 13.5px; line-height: 2.1; color: var(--muted); }
.about-work p.about-look { margin-top: 14px; padding-left: 14px; border-left: 1px solid var(--line-strong); }
.about-work p + p { margin-top: 14px; }
.about-work dl { margin: 0; align-self: center; }
.about-work dl > div { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.about-work dl > div:last-child { border-bottom: 0; }
.about-work dt { min-width: 74px; color: var(--dim); letter-spacing: .1em; }
.about-work dd { color: #d6cdbe; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .work { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 34px; }
  .resume-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 34px; }
  .watch-grid { grid-template-columns: minmax(0, 1fr) 310px; }
  .nav a { padding: 10px 11px; }
  .hero-facts { display: none; }
}

@media (max-width: 980px) {
  .site-header { height: 70px; }
  .nav, .status { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 40px;
    font-size: 11px;
    letter-spacing: .16em;
  }
  .section-head { display: block; }
  .section-aside { text-align: left; margin-top: 18px; max-width: 480px; }
  .work { grid-template-columns: 1fr; gap: 30px; }
  .work.flip .work-media { order: 0; }
  .work-media { padding: 8px; }
  .work-desc { min-height: 0; }
  .resume-grid { grid-template-columns: 1fr; }
  .portrait-card { position: static; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: end; }
  .craft-grid { grid-template-columns: 1fr; }
  .watch-grid { grid-template-columns: 1fr; }
  .episodes { position: static; }
  .ep-list { max-height: none; grid-template-columns: repeat(3, 1fr); }
  .about-work { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-cards a { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 2px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }
  body { font-size: 14px; }
  .hero { min-height: 100svh; }
  .hero-inner { padding-top: 96px; padding-bottom: 22px; }
  .hero-topline { font-size: 8px; letter-spacing: .22em; padding-bottom: 18px; gap: 12px; }
  .hero-topline span:last-child { display: none; }
  .hero-body { padding: 30px 0 26px; }
  .hero-title { font-size: clamp(46px, 12.4vw, 66px); margin: 20px 0 22px; }
  .hero-sub { font-size: 12.5px; line-height: 2; }
  .hero-actions { margin-top: 26px; gap: 8px; }
  .btn { min-height: 46px; padding: 10px 16px; font-size: 12px; gap: 18px; }
  .hero-foot { display: block; padding-top: 20px; }
  .chapter-switch { gap: 8px; }
  .chapter-switch button { width: auto; flex: 1; gap: 8px; padding: 7px; }
  .chapter-switch button img { width: 46px; height: 34px; }
  .chapter-switch button span { font-size: 10px; white-space: normal; line-height: 1.4; }
  .chapter-switch button small { font-size: 7.5px; letter-spacing: .1em; }
  .hero-vertical { display: none; }
  .hero-veil { background: linear-gradient(180deg, rgba(9, 8, 7, .78) 0%, rgba(9, 8, 7, .16) 26%, rgba(9, 8, 7, .46) 58%, rgba(9, 8, 7, .97) 100%), linear-gradient(90deg, rgba(9, 8, 7, .76), rgba(9, 8, 7, .12)); }

  .marquee { padding: 13px 0; }
  .marquee span { font-size: 10px; letter-spacing: .2em; gap: 20px; padding-right: 20px; }

  .section-head h2 { font-size: clamp(28px, 8vw, 36px); }
  .kicker { font-size: 9.5px; letter-spacing: .18em; }
  .work-info h3 { font-size: 26px; }
  .specs { grid-template-columns: 1fr; }
  .cover-bottom strong { font-size: 17px; }
  .play-orb { width: 44px; height: 44px; font-size: 12px; }
  .work-cover .cover-tag { font-size: 8px; top: 12px; left: 12px; }
  .cover-num { font-size: 40px; top: 6px; right: 12px; }

  .film-row figure { width: 220px; }
  .film-row figcaption { font-size: 8px; }

  .portrait-card { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 300px; }
  .resume-lead h3 { font-size: 24px; }
  .resume-intro { font-size: 13px; }
  .contact-chips { gap: 10px 18px; }
  .tl { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .tl-date { display: flex; align-items: baseline; gap: 10px; }
  .tl-date span { margin-top: 0; }
  .tl-body h4 { font-size: 18px; }
  .tl-body p.body { font-size: 12.5px; }
  .tl-metrics { gap: 22px; flex-wrap: wrap; }

  .craft-card { padding: 24px 20px; }
  .craft-card p { min-height: 0; font-size: 12px; }
  .craft-glyph { font-size: 36px; margin: 18px 0 14px; }
  .process { padding: 24px 20px; }
  .process ol { grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }

  .contact-grid { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .contact-actions { justify-content: flex-start; }
  .footer-grid { gap: 14px; }
  .footer-meta { text-align: left; }

  .watch-shell { padding-top: 86px; }
  .watch-head { display: block; }
  .watch-side { text-align: left; margin-top: 18px; }
  .watch-head h1 { font-size: 30px; }
  .stage-bar { display: block; padding: 16px; }
  .ep-nav { margin-top: 12px; justify-content: flex-end; }
  .stage-options { padding: 0 16px 16px; }
  .keys { display: none; }
  .episodes { padding: 18px 14px; }
  .ep-list { grid-template-columns: 1fr 1fr; max-height: none; }
  .about-work { padding: 22px; }

  .cp-controls { padding: 0 8px 6px; }
  .cp-row { height: 36px; gap: 0; }
  .cp-btn { min-width: 28px; height: 30px; padding: 0 5px; font-size: 10px; }
  .cp-btn svg { width: 15px; height: 15px; }
  .cp-time { font-size: 10px; padding: 0 5px; }
  .cp-vol, .cp-dm-input { display: none; }
  .cp-danmaku { inset: 0 0 60px; }
  .cp-nextup { right: 10px; bottom: 58px; left: 10px; justify-content: space-between; }
  .cp-resume { left: 10px; right: 10px; bottom: 58px; justify-content: space-between; flex-wrap: wrap; }
  .cp-big small { display: none; }
  .hero-frame { object-position: 13% center; }
}

@media (max-width: 460px) {
  .hero-title { font-size: 44px; }
  .chapter-switch button small { display: none; }
  .ep-list { grid-template-columns: 1fr 1fr; }
  .work-actions { flex-direction: column; }
  .cp-btn.cp-theater { display: none; }
  .cp-time span, .cp-time i { display: none; }
  .cp-btn-label { display: none; }
}

/* misc additions ----------------------------------------------------------- */
.hero-facts .unit { font-size: 14px; color: var(--muted); margin-left: 2px; }
.aside-action { margin-top: 18px; }
.inline-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 6;
  padding: 7px 11px;
  font-size: 10px;
  letter-spacing: .08em;
  color: #f2e9dc;
  background: rgba(10, 9, 8, .72);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 2px;
  backdrop-filter: blur(6px);
  transition: border-color .2s, background .2s;
}
.inline-close:hover { border-color: #fff; background: rgba(10, 9, 8, .92); }
.back-link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: .08em;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color .3s, color .3s;
}
.back-link:hover { border-color: var(--text); color: var(--text); }
.site-header.is-light .back-link { border-color: var(--line-ink); color: #4c453b; }

@media (max-width: 980px) {
  .back-link { height: 32px; padding: 0 11px; font-size: 10px; }
}
@media (max-width: 760px) {
  .inline-close { top: 14px; right: 14px; padding: 6px 9px; font-size: 9px; }
  .back-link { font-size: 9px; padding: 0 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track, .film-row { animation: none; }
}



/* cinematic backdrop behind the works band -------------------------------- */
.works-band { position: relative; isolation: isolate; }
.works-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/stills/wedding-18.webp") center 32% / cover no-repeat;
  opacity: .17;
  filter: brightness(.55) saturate(.85);
}
.works-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--ink-0) 0%, rgba(10, 9, 8, .3) 16%, rgba(10, 9, 8, .55) 52%, rgba(10, 9, 8, .3) 84%, var(--ink-0) 100%);
}
@media (min-width: 1024px) {
  .works-band::before { background-attachment: fixed; }
}

/* one-glance profile ------------------------------------------------------ */
.profile-card {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 46px);
  align-items: start;
  padding: clamp(22px, 3vw, 34px);
  background: #fbf7ee;
  border: 1px solid var(--line-ink);
  border-radius: 4px;
  box-shadow: 0 30px 60px -46px rgba(40, 32, 22, .55);
}
.profile-photo { position: relative; }
.profile-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line-ink); }
.profile-photo .seal {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 52px;
  height: 52px;
  font-size: 15px;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-4deg);
}
.profile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.profile-head h3 { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; letter-spacing: .06em; color: #201c17; }
.profile-head h3 span { font-family: var(--sans); font-size: 10px; letter-spacing: .24em; color: #8a8072; margin-left: 10px; vertical-align: middle; }
.profile-role { font-size: 12px; letter-spacing: .12em; color: #6b6153; margin-top: 8px; }
.profile-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--vermilion);
  border: 1px solid rgba(191, 74, 51, .35);
  border-radius: 40px;
  padding: 6px 11px;
  white-space: nowrap;
}
.profile-state::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--vermilion); }
.profile-line { font-size: 14.5px; line-height: 2; color: #423a30; margin-top: 16px; max-width: 640px; }
.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
}
.profile-facts dt { font-size: 9px; letter-spacing: .22em; color: #8a8072; }
.profile-facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 15px; color: #2b251e; letter-spacing: .02em; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.profile-tags span { font-size: 10px; padding: 4px 9px; border: 1px solid var(--line-ink); border-radius: 40px; color: #5a5347; }
.profile-contact { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; font-size: 12.5px; color: #332d25; }
.profile-contact a:hover { color: var(--vermilion); }
.profile-contact span { color: #6b6153; }

.resume-timeline { margin-top: clamp(26px, 3.4vw, 40px); border-top: 1px solid var(--line-ink); }
.rt {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-ink);
}
.rt time { font-family: var(--serif); font-size: 12.5px; color: #5a5347; letter-spacing: .04em; }
.rt h4 { font-family: var(--serif); font-size: 17px; font-weight: 600; color: #241f19; display: inline; }
.rt p { display: inline; font-size: 12.5px; color: #615848; }
.rt p::before { content: " · "; color: #a4977f; }

@media (max-width: 760px) {
  .profile-card { grid-template-columns: 1fr; }
  .profile-photo { max-width: 210px; }
  .profile-head h3 { font-size: 25px; }
  .profile-facts { grid-template-columns: 1fr 1fr; }
  .profile-line { font-size: 13.5px; }
  .rt { grid-template-columns: 1fr; gap: 4px; }
  .hero-facts { gap: 22px; }
  .hero-scroll { display: none; }
  .hero { min-height: 88svh; }
}


/* mobile title page polish ------------------------------------------------- */
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 96px 0 24px; }
  .hero-body { margin-top: 0; padding: 28px 0 24px; }
  .hero-title { font-size: clamp(42px, 11.4vw, 58px); }
  .hero-sub { font-size: 12.5px; line-height: 2; }
  .hero-glyph { font-size: 240px; right: -34px; top: 36%; }
  .hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  .hero-facts strong { font-size: 24px; }
  .hero-actions { margin-top: 24px; }
  .hero-note { font-size: 10px; letter-spacing: .1em; }
  .profile-photo { max-width: 190px; }
  .profile-card { padding: 20px; }
}


/* résumé-first landing ---------------------------------------------------- */
.intro {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-inner {
  width: min(var(--maxw), 100% - var(--pad) * 2);
  margin: 0 auto;
  padding: 104px 0 34px;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 26px);
}
.intro-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.intro-name {
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.2;
  color: #1d1915;
  margin: 10px 0 4px;
}
.intro-name span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  color: #8a8072;
  margin-left: 14px;
  vertical-align: middle;
}
.intro-tagline {
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: .06em;
  color: #6b6153;
}
.intro-state {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--vermilion);
  text-align: right;
  padding-bottom: 6px;
}
.intro-state i {
  display: none;
}
.intro-state small { font-size: 10px; letter-spacing: .1em; color: #8a8072; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.intro-actions .btn { min-height: 46px; font-size: 12px; }

.intro .profile-card { padding: clamp(18px, 2.2vw, 28px); }
.intro .profile-photo img { aspect-ratio: 1 / 1; }
.intro .profile-facts { padding: 12px 0; margin-top: 14px; }
.intro .profile-line { margin-top: 12px; font-size: 14px; }
.intro .resume-timeline { margin-top: 0; }
.intro .rt { padding: 13px 0; }

@media (max-width: 980px) {
  .intro { min-height: auto; }
  .intro-inner { padding: 96px 0 30px; }
  .intro-state { text-align: left; }
}
@media (max-width: 760px) {
  .intro-inner { padding: 90px 0 26px; gap: 16px; }
  .intro-name { font-size: 38px; }
  .intro-name span { display: block; margin: 6px 0 0; }
  .intro .profile-card { padding: 18px; }
  .intro .profile-photo { max-width: 168px; }
  .intro-state { font-size: 10px; }
  .intro-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* explicit light-header colors (avoid transition from the dark header) ----- */
.brand-text strong { color: var(--text); }
.site-header.is-light .brand-text strong { color: var(--ink-text); }
.site-header.is-light .status { color: #4c453b; border-color: var(--line-ink); }
.site-header.is-light .nav a em { color: #a4977f; }
.site-header.is-light .back-link { color: #4c453b; }

/* compact résumé on phones so the first screen still reads as a CV -------- */
@media (max-width: 760px) {
  .intro-inner { padding: 84px 0 20px; gap: 14px; }
  .intro-name { font-size: 34px; }
  .intro-name span { margin-top: 4px; }
  .intro-tagline { font-size: 14px; }
  .profile-card { grid-template-columns: 108px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .profile-photo { max-width: none; }
  .profile-photo .seal { width: 40px; height: 40px; font-size: 11px; right: -8px; bottom: -8px; }
  .profile-role { font-size: 11px; }
  .profile-line { font-size: 12.5px; line-height: 1.9; margin-top: 8px; }
  .profile-facts { grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 10px 0; margin-top: 10px; }
  .profile-facts dt { font-size: 8.5px; letter-spacing: .16em; }
  .profile-facts dd { font-size: 12px; margin-top: 3px; }
  .profile-tags { display: none; }
  .profile-contact { font-size: 11px; gap: 4px 12px; margin-top: 8px; }
  .rt { padding: 11px 0; }
  .rt time { font-size: 11px; }
  .rt h4 { font-size: 15px; }
  .rt p { font-size: 11.5px; }
  .intro-actions .btn { min-height: 42px; font-size: 11px; }
}


/* résumé card on a cinematic backdrop ------------------------------------- */
.intro {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-0);
}
.intro-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/hero/wedding-hero.webp") center 42% / cover no-repeat;
  opacity: .32;
  filter: brightness(.5) saturate(.8);
}
.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 9, 8, .96) 0%, rgba(10, 9, 8, .62) 38%, rgba(10, 9, 8, .72) 70%, var(--ink-0) 100%);
}
.intro-inner { width: min(var(--maxw), 100% - var(--pad) * 2); margin: 0 auto; padding: 104px 0 32px; }
.intro-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: clamp(18px, 2.4vw, 28px); }
.intro-head h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.3; margin-top: 12px; }
.intro-head .section-aside { color: var(--muted); }

.cv-card {
  position: relative;
  background: var(--paper);
  color: var(--ink-text);
  border: 1px solid rgba(236, 229, 216, .22);
  border-radius: 6px;
  padding: clamp(20px, 2.4vw, 32px);
  box-shadow: 0 44px 90px -55px rgba(0, 0, 0, .9);
  isolation: isolate;
}
.cv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(255, 252, 245, .85), transparent 55%),
    radial-gradient(ellipse at 92% 100%, rgba(206, 194, 172, .45), transparent 55%);
}
.cv-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line-ink); }
.cv-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cv-photo { position: relative; flex: none; }
.cv-photo img { width: 76px; height: 76px; object-fit: cover; border: 1px solid var(--line-ink); }
.cv-photo .seal { position: absolute; right: -9px; bottom: -9px; width: 34px; height: 34px; font-size: 10px; line-height: 1.05; border-radius: 3px; }
.cv-id h3 { font-family: var(--serif); font-size: clamp(23px, 2.3vw, 31px); font-weight: 600; letter-spacing: .06em; color: #201c17; line-height: 1.2; }
.cv-id h3 span { font-family: var(--sans); font-size: 9px; letter-spacing: .24em; color: #8a8072; margin-left: 10px; vertical-align: middle; white-space: nowrap; }
.cv-role { font-size: 12px; letter-spacing: .1em; color: #6b6153; margin-top: 6px; }
.cv-state { font-size: 10px; letter-spacing: .12em; color: var(--vermilion); border: 1px solid rgba(191, 74, 51, .35); border-radius: 40px; padding: 6px 11px; white-space: nowrap; }
.cv-line { font-size: 13.5px; line-height: 1.95; color: #423a30; margin-top: 14px; max-width: none; }
.cv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 14px 0 0; padding: 13px 0; border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); }
.cv-facts dt { font-size: 8.5px; letter-spacing: .2em; color: #8a8072; }
.cv-facts dd { margin: 5px 0 0; font-family: var(--serif); font-size: 14.5px; color: #2b251e; letter-spacing: .02em; }
.cv-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 12px; }
.cv-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.cv-tags span { font-size: 9.5px; padding: 3px 8px; border: 1px solid var(--line-ink); border-radius: 40px; color: #5a5347; }
.cv-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 11.5px; color: #4d463c; }
.cv-contact a:hover { color: var(--vermilion); }
.cv-timeline { margin-top: 14px; border-top: 1px solid var(--line-ink); }
.cv-timeline .rt { grid-template-columns: 132px minmax(0, 1fr); padding: 9px 0; gap: 18px; }
.cv-timeline .rt time { font-size: 11.5px; }
.cv-timeline .rt h4 { font-size: 15px; }
.cv-timeline .rt p { font-size: 11.5px; }
.cv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cv-actions .btn { min-height: 42px; font-size: 11.5px; }

@media (max-width: 980px) {
  .intro { min-height: auto; }
  .intro-inner { padding: 92px 0 28px; }
  .intro-head { display: block; }
  .intro-head .section-aside { text-align: left; margin-top: 12px; }
  .cv-meta { display: block; }
  .cv-contact { margin-top: 8px; }
}
@media (max-width: 760px) {
  .intro-inner { padding: 84px 0 22px; }
  .cv-card { padding: 16px; }
  .cv-top { display: block; padding-bottom: 12px; }
  .cv-state { display: inline-block; margin-top: 10px; }
  .cv-photo img { width: 64px; height: 64px; }
  .cv-id h3 { font-size: 22px; }
  .cv-id h3 span { display: block; margin: 4px 0 0; }
  .cv-line { font-size: 12.5px; line-height: 1.9; margin-top: 12px; }
  .cv-facts { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .cv-facts dd { font-size: 12.5px; }
  .cv-tags { display: none; }
  .cv-timeline .rt { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
  .cv-actions { margin-top: 12px; }
  .cv-actions .btn { flex: 1 1 auto; justify-content: center; }
}


/* résumé card: editorial details + motion --------------------------------- */
.cv-card {
  --mx: 50%;
  --my: 40%;
  box-shadow:
    0 46px 90px -58px rgba(0, 0, 0, .95),
    16px 16px 0 -1px rgba(239, 231, 216, .05),
    16px 16px 0 0 rgba(239, 231, 216, .16);
}
.cv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 252, 244, .75), transparent 62%);
  mix-blend-mode: soft-light;
}
.cv-card:hover::after { opacity: 1; }

.cv-rail {
  position: absolute;
  right: -30px;
  top: 34px;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: .38em;
  color: rgba(236, 229, 216, .45);
  pointer-events: none;
}

.cv-photo .seal { transform: rotate(-4deg); transition: transform .4s var(--ease); }
.cv-photo .seal:hover { transform: rotate(0) scale(1.04); }
@keyframes seal-stamp {
  from { opacity: 0; transform: scale(1.7) rotate(-16deg); }
  to { opacity: 1; transform: scale(1) rotate(-4deg); }
}

.cv-facts dd { display: flex; align-items: baseline; gap: 5px; margin: 4px 0 0; }
.cv-facts dd b {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 33px);
  font-weight: 500;
  line-height: 1;
  color: #1f1b16;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.cv-facts dd i { font-style: normal; font-family: var(--serif); font-size: 13px; color: var(--vermilion); }
.cv-facts dd span { font-size: 10px; letter-spacing: .04em; color: #6b6153; }

.cv-timeline { position: relative; padding-left: 16px; }
.cv-timeline::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(27, 24, 20, .22) 12%, rgba(27, 24, 20, .22) 88%, transparent);
}
.cv-timeline .rt { position: relative; transition: background .3s var(--ease); }
.cv-timeline .rt::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 0 3px rgba(191, 74, 51, .12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cv-timeline .rt:hover { background: rgba(27, 24, 20, .035); }
.cv-timeline .rt:hover::before { transform: scale(1.5); box-shadow: 0 0 0 5px rgba(191, 74, 51, .18); }

.cv-tags span { transition: transform .25s var(--ease), border-color .25s, color .25s; }
.cv-tags span:hover { transform: translateY(-2px); border-color: rgba(191, 74, 51, .45); color: var(--vermilion); }

.cv-contact a { position: relative; }
.cv-contact a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.cv-contact a:hover::after { transform: scaleX(1); }

.cv-actions .btn .arrow { transition: transform .3s var(--ease); }
.cv-actions .btn:hover .arrow { transform: translateY(2px); }

@media (max-width: 1180px) {
  .cv-rail { display: none; }
}
@media (max-width: 760px) {
  .cv-facts dd b { font-size: 24px; }
  .cv-facts dd span { display: block; }
  .cv-facts dd { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-card { animation: none; }
  .cv-photo .seal { animation: none; }
}


