@font-face {
  font-family: "Barlow Condensed";
  src: url("barlow-condensed-extrabold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0a0d0b;
  --panel: #111612;
  --cream: #f8ebd2;
  --muted: #b8beb5;
  --green: #00ed76;
  --line: #343d35;
  --display: "Barlow Condensed", Impact, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--cream); font: 1rem/1.55 system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
[id] { scroll-margin-block-start: 1.6rem; }
.skip { position: absolute; z-index: 5; left: 1rem; top: -6rem; background: var(--cream); color: var(--bg); padding: .65rem 1rem; }
.skip:focus { top: .5rem; color: var(--bg); }
.wrap { width: min(1180px, 89%); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); background: #080a09; }
.top-inner, .footer-inner, .main-nav, footer nav { display: flex; align-items: center; }
.top-inner, .footer-inner { justify-content: space-between; gap: 1rem; }
.top-inner { min-height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 169px; height: auto; }
.main-nav, footer nav { gap: 2rem; }
.main-nav a, footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; text-decoration: none; font-weight: 600; }
.main-nav .channel { gap: .65rem; border: 1px solid #505a50; padding: 0 1rem; min-height: 40px; border-radius: 4px; }
.play-icon { display: inline-grid; place-items: center; background: currentColor; width: 19px; height: 13px; border-radius: 4px; }
.play-icon:after { content: ""; border-left: 6px solid var(--bg); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 24% 58%, #142319 0%, transparent 48%), #0c100d; }
.hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(2rem, 5vw, 6rem); padding-block: clamp(2.8rem, 4.5vw, 4.25rem); }
.portrait { position: relative; display: grid; place-items: center; isolation: isolate; min-width: 0; }
.portrait:before { content: ""; position: absolute; inset: -12% -10%; z-index: -2; background: radial-gradient(#45664e 1px, transparent 1.5px) 0 0/16px 16px; mask-image: radial-gradient(ellipse at center, #000 32%, transparent 73%); }
.traces { position: absolute; width: 135%; height: 115%; z-index: -1; color: #336c49; }
.portrait-frame { position: relative; width: min(91%, 428px); aspect-ratio: 1; display: grid; place-items: center; }
.portrait-frame:before, .portrait-frame:after { content: ""; position: absolute; inset: 0; border: 1px dashed #42614b; border-radius: 50%; z-index: -1; }
.portrait-frame:after { inset: 3%; border: 1px solid #253d2c; }
.portrait-frame img { width: 95%; height: auto; }
.cross { position: absolute; width: 12px; height: 12px; background: linear-gradient(#6e9378,#6e9378) center/1px 100% no-repeat, linear-gradient(#6e9378,#6e9378) center/100% 1px no-repeat; }
.tl, .bl { left: 2%; }.tr, .br { right: 2%; }.tl, .tr { top: 4%; }.bl, .br { bottom: 4%; }
.eyebrow, .episode-meta { display: flex; align-items: center; gap: .75rem; color: var(--green); font: 600 .78rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.eyebrow { margin: 0 0 1rem; }
.short-rule { width: 27px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; }
h1 { margin-bottom: 0; }
.hero h1 { font-size: clamp(3.35rem, 5.85vw, 5.65rem); text-transform: uppercase; line-height: .94; letter-spacing: -.015em; }
h1 em { color: var(--green); font-style: normal; }
.intro { max-width: 31rem; color: #c2c7be; line-height: 1.55; margin: 1.2rem 0 1.45rem; }
.button { display: inline-flex; gap: .65rem; min-height: 46px; align-items: center; padding: .72rem 1.15rem; font-weight: 700; border-radius: 3px; font-size: .95rem; text-decoration: none; }
.primary { background: var(--green); color: #07160d; }
.primary:hover { background: #78ffae; color: #07160d; }
.folder-icon { width: 17px; height: 12px; border: 1.7px solid; border-radius: 2px; position: relative; margin-top: 2px; }
.folder-icon:before { content: ""; position: absolute; left: -1.7px; top: -5px; width: 7px; height: 3px; border: 1.7px solid; border-bottom: 0; border-radius: 2px 2px 0 0; }
.projects, .method, .about-note { padding-block: clamp(2.2rem, 4vw, 4rem); }
.section-title, .about-note h2 { font-size: clamp(2.1rem, 3.1vw, 3.1rem); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 1.35rem; }
.section-title { display: flex; align-items: center; gap: 1.5rem; }
.section-title:after { content: ""; height: 1px; background: var(--line); flex: 1; }
.episode-card { background: var(--panel); border: 1px solid var(--line); border-radius: 5px; display: grid; grid-template-columns: .86fr 1.14fr; overflow: hidden; }
.episode-card + .episode-card { margin-top: 1.1rem; }
.episode-art { width: 100%; height: 100%; object-fit: cover; border-right: 1px solid var(--line); }
.episode-info { align-self: center; padding: clamp(1.3rem, 2.8vw, 2.65rem); }
.episode-meta { gap: .8rem; }
.status { display: inline-flex; align-items: center; gap: .4rem; padding-left: .8rem; border-left: 1px solid #546052; letter-spacing: .03em; color: #c0cabb; text-transform: none; font-weight: 400; }
.status:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.episode-info h3 { font-size: clamp(1.85rem, 2.8vw, 2.8rem); line-height: 1.06; margin: .65rem 0; }
.episode-info h3 a { text-decoration: none; }
.episode-info p, .steps p, .about-note p { color: var(--muted); margin-bottom: 0; }
.episode-links { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: .6rem; }
.text-link, .back, .contents a { color: var(--green); font-weight: 650; font-size: .93rem; display: inline-flex; align-items: center; min-height: 44px; }
.quiet, .contents a { color: var(--cream); }
.method { border-block: 1px solid var(--line); background: #0e120f; }
.steps { padding: 0; margin: 2rem 0 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { padding: 0 1.5rem; border-left: 1px solid var(--line); }
.steps li:first-child { padding-left: 0; border: 0; }
.steps h3 { font-size: 2rem; line-height: 1; margin: 0 0 .65rem; }
.steps b { color: var(--green); }
.about-note { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; }
.about-note p { max-width: 56ch; }
footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 1.4rem; }
footer .brand img { width: 126px; }
footer nav a { color: var(--muted); }
.reading { max-width: 760px; padding-block: clamp(2.6rem, 6vw, 5.5rem); min-height: 65vh; }
.reading h1 { font-size: clamp(3.25rem, 6.5vw, 5.9rem); line-height: .97; margin-block: .7rem 1.25rem; }
.reading h2 { font-size: 2.2rem; line-height: 1.1; margin: 2.25rem 0 .8rem; }
.reading h3 { font-size: 1.55rem; margin: 1.65rem 0 .6rem; }
.reading p:not(.eyebrow) { color: var(--muted); }
.reading .lede { font-size: 1.25rem; max-width: 52ch; }
.back { margin-bottom: 1.6rem; }
.contents { display: flex; gap: 1.5rem; border-block: 1px solid var(--line); padding-block: .5rem; }
.slash { color: #819486; }
blockquote { margin: 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--green); background: var(--panel); color: #e1e7da; font: 1rem/1.65 var(--mono); }
.small-note { margin-top: 1rem; font-size: .9rem; }
@media(max-width: 800px) {
  .main-nav { gap: 1.25rem; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 0; }
  .steps li:nth-child(odd) { border: 0; padding-left: 0; }
}
@media(max-width: 700px) {
  .wrap { width: min(91%, 540px); }
  .top-inner { min-height: 64px; }
  .brand img { width: clamp(98px, 26vw, 138px); }
  .main-nav { gap: clamp(.65rem, 2.8vw, 1.25rem); }
  .main-nav a { font-size: .85rem; }
  .main-nav .channel { min-height: 44px; padding: 0; border: 0; gap: .35rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.35rem; padding-block: 1.35rem 2.3rem; }
  .portrait-frame { width: min(48vw, 212px); }
  .traces { height: 120%; width: 100%; }
  .portrait:before { inset: -12% 0; }
  .hero h1 { font-size: clamp(3rem, 11vw, 4.3rem); }
  .hero-copy { width: 100%; }
  .intro { margin-block: .85rem 1.05rem; }
  .eyebrow { margin-bottom: .65rem; }
  .episode-card { grid-template-columns: 1fr; }
  .episode-art { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 2.3; }
  .about-note { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding-inline: .9rem; }
  footer nav { gap: 1.25rem; }
}
