/* liyuz.com — amber phosphor on warm dark.
   Rule of the system: content you wrote is serif; the filesystem talking is mono. */
:root{
  --bg: #161109;
  --bg-raised: #1f1810;
  --bg-inset: #120d07;
  --line: rgba(232, 195, 122, 0.10);
  --line-strong: rgba(232, 195, 122, 0.22);
  --text: #ece2cf;
  --text-dim: #9d8f76;
  --text-faint: #6b604c;
  --amber: #e8a33d;
  --amber-bright: #ffc163;
  --amber-glow: rgba(232, 163, 61, 0.16);
  --serif-display: "Fraunces", Georgia, serif;
  --serif-body: "Newsreader", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ethiopic: "Noto Serif Ethiopic", serif;
  --measure: 64ch;
}
*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a{ color: var(--amber); text-decoration: none; }
a:hover{ color: var(--amber-bright); }
::selection{ background: var(--amber-glow); }

.site-top{
  display:flex; justify-content:space-between; align-items:baseline;
  max-width: 880px; margin: 0 auto; padding: 26px 28px 0;
  font-family: var(--mono); font-size: 13px;
}
.site-top a{ color: var(--text-dim); }
.site-top a:hover{ color: var(--amber); }
.site-top .host{ color: var(--text-faint); letter-spacing: .04em; }
.wrap{ max-width: 880px; margin: 0 auto; padding: 0 28px 90px; }

/* ---- home ---- */
.hero{ padding: 84px 0 64px; position: relative; }
.hero .fidel-mark{
  position:absolute; right: -10px; top: 30px;
  font-family: var(--ethiopic);
  font-size: 200px; line-height: 1;
  color: var(--amber);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}
.hero h1{
  font-family: var(--serif-display);
  font-weight: 420;
  font-size: clamp(40px, 6.4vw, 62px);
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  line-height: 1.05;
}
.hero .amh{
  font-family: var(--ethiopic);
  color: var(--amber);
  font-size: 19px;
  letter-spacing: .12em;
  margin: 0 0 30px;
}
.hero .role{
  font-family: var(--mono);
  color: var(--text-faint);
  font-size: 13px;
  margin: -18px 0 24px;
}
.hero .manifesto{
  font-style: italic;
  font-size: 21px;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0;
}
.hero .manifesto .cursor{
  display:inline-block; width: 9px; height: 1.05em;
  background: var(--amber);
  vertical-align: text-bottom;
  margin-left: 7px;
  animation: blink 1.15s steps(1) infinite;
  opacity:.85;
}
@keyframes blink{ 50%{ opacity:0; } }
@media (prefers-reduced-motion: reduce){
  .hero .manifesto .cursor{ animation: none; }
}

.tree{ margin-top: 8px; }
.dir{ margin: 0 0 44px; }
.dir-head{
  display:flex; justify-content:space-between; align-items:baseline;
  font-family: var(--mono);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 9px; margin-bottom: 6px;
}
.dir-head .path{ color: var(--amber); font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.dir-head a.path:hover{ color: var(--amber-bright); }
.dir-head .count{ color: var(--text-faint); font-size: 12.5px; }
.entry{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 18px; align-items: baseline;
  padding: 11px 10px 11px 14px;
  margin-left: 2px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  transition: background .14s ease, border-color .14s ease;
}
.entry:hover{
  background: linear-gradient(90deg, var(--amber-glow), transparent 70%);
  border-left-color: var(--amber);
}
.entry .t{ font-size: 18.5px; color: var(--text); }
.entry:hover .t{ color: var(--amber-bright); }
.entry .sub{
  display:block; font-size: 14.5px;
  color: var(--text-dim); font-style: italic; margin-top: 1px;
}
.entry .meta{
  font-family: var(--mono); font-size: 12.5px;
  color: var(--text-faint); white-space: nowrap;
}
.dir .more{
  display:inline-block;
  font-family: var(--mono); font-size: 13px;
  color: var(--text-dim);
  margin: 8px 0 0 16px;
}
.dir .more:hover{ color: var(--amber); }

.about-strip{
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  margin: 20px 0 44px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 28px;
  align-items: center;
}
.about-strip .about-kicker{
  font-family: var(--mono);
  color: var(--amber);
  font-size: 13px;
  margin-bottom: 8px;
}
.about-strip p{
  margin: 0;
  max-width: 58ch;
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.65;
}
.about-strip img{
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
}

.site-foot{
  margin-top: 30px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px;
  color: var(--text-faint);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}
.site-foot .amh{ font-family: var(--ethiopic); color: var(--text-dim); }

/* ---- section + page ---- */
.page-head{ padding: 58px 0 8px; }
.page-head .path{
  font-family: var(--mono); font-size: 15px;
  color: var(--amber); font-weight: 500;
}
.page-head p.tagline{
  color: var(--text-dim); font-style: italic;
  max-width: 52ch; margin: 14px 0 34px; font-size: 17.5px;
}
.crumb{
  font-family: var(--mono); font-size: 13px;
  color: var(--text-faint);
  margin: 58px 0 30px;
}
.crumb a{ color: var(--text-dim); }
.crumb a:hover{ color: var(--amber); }
.crumb .here{ color: var(--amber); }

.essay{ max-width: var(--measure); }
.essay h1.title{
  font-family: var(--serif-display);
  font-weight: 440;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
}
.essay .dateline{
  font-family: var(--mono); font-size: 13px;
  color: var(--text-faint); margin-bottom: 44px;
}
.prose p{ font-size: 19px; line-height: 1.78; margin: 0 0 26px; font-weight: 380; }
.prose > p:first-of-type::first-letter{
  font-family: var(--serif-display);
  font-size: 3.05em; line-height: .82;
  float: left; padding: 6px 10px 0 0;
  color: var(--amber); font-weight: 400;
}
.prose h2{
  font-family: var(--serif-display); font-weight: 460;
  font-size: 26px; margin: 40px 0 14px; line-height: 1.2;
}
.prose h3{
  font-family: var(--serif-display); font-weight: 480;
  font-size: 21px; margin: 32px 0 10px;
}
.prose blockquote{
  margin: 34px 0; padding: 4px 0 4px 24px;
  border-left: 2px solid var(--amber);
  font-style: italic; color: var(--text-dim); font-size: 19px;
}
.prose blockquote p{ margin: 0; color: inherit; font-size: inherit; }
.prose code{
  font-family: var(--mono); font-size: .85em;
  background: rgba(232,163,61,.08);
  border: 1px solid var(--line);
  border-radius: 4px; padding: 1px 6px;
  color: var(--amber-bright);
}
.prose pre{
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0 0 26px;
}
.prose pre code{ background: none; border: none; padding: 0; color: var(--text); font-size: 14px; line-height: 1.7; }
.prose img{
  max-width: 100%; border-radius: 10px;
  border: 1px solid var(--line);
  display: block; margin: 30px 0;
}
.prose ul, .prose ol{ padding-left: 26px; margin: 0 0 26px; }
.prose li{ font-size: 19px; line-height: 1.7; margin: 8px 0; font-weight: 380; }
.prose hr{ border: none; border-top: 1px solid var(--line-strong); margin: 40px 0; }
.prose table{ border-collapse: collapse; margin: 0 0 26px; font-size: 16px; }
.prose th, .prose td{ border: 1px solid var(--line); padding: 8px 14px; text-align: left; }
.prose th{ font-family: var(--mono); font-size: 13px; color: var(--text-dim); font-weight: 500; }
.essay .endmark{
  font-family: var(--mono); color: var(--amber);
  margin-top: 44px; font-size: 14px;
}
.backlink{
  display:inline-block;
  font-family: var(--mono); font-size: 13.5px;
  margin-top: 36px; color: var(--text-dim);
}
.backlink:hover{ color: var(--amber); }

/* ---- video pages ---- */
.player{ max-width: 880px; margin: 0 0 34px; }
.player video{
  width: 100%; border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-inset);
  display: block;
}

/* ---- 404 ---- */
.lost{ padding: 120px 0; max-width: var(--measure); }
.lost .code{ font-family: var(--mono); color: var(--amber); font-size: 15px; margin-bottom: 14px; }
.lost h1{ font-family: var(--serif-display); font-weight: 440; font-size: 38px; margin: 0 0 12px; }
.lost p{ color: var(--text-dim); font-style: italic; }

@media (max-width: 700px){
  .hero{ padding: 56px 0 44px; }
  .hero .fidel-mark{ font-size: 120px; right: -16px; top: 10px; }
  .entry{ grid-template-columns: 1fr; gap: 2px; }
  .entry .meta{ order: -1; }
  .about-strip{ grid-template-columns: 1fr; }
  .about-strip img{ width: 112px; height: 112px; }
  .wrap, .site-top{ padding-left: 20px; padding-right: 20px; }
}
